video {
    display: initial !important;
    max-width: initial !important;
}

.vto-render {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: #333;
    z-index: 100000;
}

.vto-render.embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: #333;
    z-index: 100;
}

.vto-render.open {
    display: block;
}

.vto-render .vto-action .escape-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #eee;
    z-index: 100004 !important;
    width: 40px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 40px;
}

.vto-render .vto-action .background-btn {
    position: absolute;
    top: 55px;
    right: 10px;
    background-color: #eee;
    z-index: 100014 !important;
    width: 40px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 40px;
}

.vto-render .vto-overlay {
    z-index: 10000;
    width: 100%;
    height: 100%;
    position: relative;
}

.vto-render .vto-overlay .loader {
    position: absolute;
    top: 6rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.4rem;
}

.vto-render .vto-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vto-render .vto-scene .scene {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
}

.vto-action .similiar-action .card {
    overflow: auto;
    width: 100%;
    max-height: 25vh;
    position: absolute;
    bottom: 0;
    left: 0px;
    z-index: 1000001 !important;
    padding: 16px !important;
}

.vto-action .card-body {
    padding: 4px;
}

.vto-action .similiar-action .card .similar-collapse {
     position: absolute;
     cursor: pointer;
     right: 24px;
     top: 24px;
 }

.vto-action .similiar-action .card .similar-title {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.vto-action .similiar-action .card .similar-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    max-height: 13vh;
}

.vto-action .similiar-action .card .similar-container .similar-item {
    border: 1px solid #dfdfdf;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 16px;
    cursor: pointer;
    min-width: 80px;
    flex: 1;
}

.vto-action .similiar-action .card .similar-container .similar-item p {
    text-align: center;
    padding: 2px 2px;
    font-weight: bold;
    font-size: 10px;
}

.vto-action .similiar-action .card .similar-container .similar-item img {
    width: 100%;
    object-fit: cover;
    width: 100%;
    height: 3.5rem;
}

.vto-action .background-action .card {
    overflow: auto;
    width: 100%;
    max-height: 25vh;
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 1000001 !important;
    padding: 16px !important;
}

.vto-action .card-body {
    padding: 4px;
}

.vto-action .background-action .card .background-collapse {
     position: absolute;
     cursor: pointer;
     right: 24px;
     top: 24px;
 }

.vto-action .background-action .card .background-title {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.vto-action .background-action .card .background-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    max-height: 13vh;
}

.vto-action .background-action .card .background-container .background-item {
    border: 1px solid #dfdfdf;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 16px;
    cursor: pointer;
    min-width: 80px;
    flex: 1;
}

.vto-action .background-action .card .background-container .background-item p {
    text-align: center;
    padding: 2px 2px;
    font-weight: bold;
    font-size: 10px;
}

.vto-action .background-action .card .background-container .background-item img {
    width: 100%;
    object-fit: cover;
    width: 100%;
    height: 3.5rem;
}

@media screen and (min-width: 390px) {

    .vto-action .similiar-action .card .similar-container .similar-item {
        min-width: 110px;
    }

    .vto-action .background-action .card .background-container .background-item {
        min-width: 110px;
    }

    .vto-action .similiar-action .card .similar-container .similar-item img {
        height: 5rem;
    }

    .vto-action .background-action .card .background-container .background-item img {
        height: 5rem;
    }
}


@media screen and (min-width: 800px) {
    .vto-render .vto-overlay .loader {
        font-size: 2rem;
    }
    .vto-action .similiar-action .card {
        width: 180px;
        max-width: 180px;
        height: 80%;
        max-height: 80vh;
        top: 50%;
        left: 30px;
        transform: translateY(-50%);
    }

    .vto-action .card-body {
        padding: 4px;
    }

    .vto-action .similiar-action .card .similar-collapse {
        display: none;
     }

    .vto-action .similiar-action .card .similar-title {
        font-size: 12px;
    }

    .vto-action .similiar-action .card .similar-container {
        display: block;
        max-height: 100%;
    }

    .vto-action .similiar-action .card .similar-container .similar-item {
        margin-right: 0px;
        margin-bottom: 16px;
        min-width: 100%;
        width: 100%;
    }

    .vto-action .background-action .card {
        width: 180px;
        max-width: 180px;
        height: 80%;
        max-height: 80vh;
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
    }

    .vto-action .card-body {
        padding: 4px;
    }

    .vto-action .background-action .card .background-collapse {
        display: none;
     }

    .vto-action .background-action .card .background-title {
        font-size: 12px;
    }

    .vto-action .background-action .card .background-container {
        display: block;
        max-height: 100%;
    }

    .vto-action .background-action .card .background-container .background-item {
        margin-right: 0px;
        margin-bottom: 16px;
        min-width: 100%;
        width: 100%;
    }
}
