/* ========================================================================= \\
    $Asset-Video-Select-Modal
\\ ========================================================================= */

#asset-video-select-form .avsf-search-field:before {
    content: "\f002";
    width: 1em;
    height: 1.2em;
    margin-top: auto;
    margin-bottom: auto;
    font-family: "FontAwesome";
    font-size: 1.25em;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.7em;
}

#asset-video-select-form .avsf-search-field {
    position: relative;
}

#asset-video-select-form #asset-search {
    padding-left: 3.75em;
}

@media (min-width: 34em) {
    .asset-video-select.lg-modal--large .lg-modal__panel {
        padding: 3.125em;
    }
}

.asset-video-select .lg-modal__title-2 {
    margin-bottom: 2em;
}

.asset-video-select .avsf-search-field {
    margin-bottom: 2em;
}

.asset-video-select .avsf-image-matrix {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    overflow-y: auto;
    height: 17.5em;
    margin-bottom: 2em;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
@supports (display: grid) {
    .asset-video-select .avsf-image-matrix {
        display: grid;
        grid-template-columns: repeat(auto-fill, 7.1875em);
        grid-gap: 0.25em;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
}

.asset-video-select .avsfim-field {
    position: relative;
    margin-right: 0.25em;
    margin-bottom: 0.25em;
}
.asset-video-select .avsfim-field:nth-child(4n) {
    margin-right: 0;
}
@supports (display: grid) {
    .asset-video-select .avsfim-field:nth-child(n) {
        margin-right: 0;
        margin-bottom: 0;
    }
}

.avsfim-field .fa {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    border-left: 4px solid black;
    border-right: 4px solid #000;
}

.asset-video-select .avsfim-field-label-wrapper {
    display: block;
    position: relative;
}

/*.asset-video-select .avsfim-field-label-wrapper::before {
                    content: '\f144';
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    opacity: 0.8;
                    width: 100%;
                    height: 100%;
                    font-family: 'FontAwesome';
                    color: #fff;
                    font-size: 4em;
                    position: absolute;
                    top: 0;
                    left: 0;
                }*/

.asset-video-select .lgfe-input-checkbox__custom-input {
    display: none;
}
.asset-video-select
    .lgfe-input-checkbox__input:checked
    ~ .avsfim-field-label-wrapper
    .lgfe-input-checkbox__custom-input {
    display: block;
    position: absolute;
    bottom: 2px;
    left: 0;
    z-index: 100;
}

.asset-video-select .avsfim-field-label-wrapper .lgfe-field-label {
    width: 7.1875em;
    height: 7.1875em;
    background-position: 50% 50%;
    background-size: cover;
    font-size: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.asset-video-select
    .lgfe-input-checkbox__input:checked
    ~ .avsfim-field-label-wrapper
    .lgfe-field-label::before {
    content: "";
    width: 100%;
    height: 100%;
    outline: 3px solid #009fdf;
    outline-offset: -3px;
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.asset-video-select .avsfim-name {
    color: #fff;
    font-size: 3em;
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
                    $Duration
                \\ - - - - - - - - - - - - - - - - - - - - - - - */

.asset-video-select .avsfim-duration {
    font-size: 0.875em;
    font-weight: 600;
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
                        $Time
                    \\ - - - - - - - - - - - - - - - - - - - - - - - */

.asset-video-select .avsfim-duration .avsfim-duration-time {
    background-color: #fff;
    padding: 0.2em 0.3em;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
                            $Time-Unit
                        \\ - - - - - - - - - - - - - - - - - - - - - - - */
.asset-video-select .avsfim-duration-time-unit {
    z-index: 100;
    position: relative;
}

.asset-video-select .avsfim-duration-time-unit:not(:last-child)::after {
    content: ":";
    display: inline;
}
