﻿
.js .loading::before,
.js .loading::after {
    content: '';
    position: fixed;
    z-index: 1000;
}

.js .loading::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.js .loading::after {
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    opacity: 0.4;
    background: var(--color-link);
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5,0.5,1);
    }
}
.pageBannerItem > div > div {
    padding-right: 50%;
    margin-top: -30px;
}

.pageBannerItem {
    height: 300px;
    background-image: linear-gradient(110deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 60%), url(/Images/Home/AVEVALIVE_banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

    .pageBannerItem > div {
        display: block;
        max-width: 1380px;
        margin: auto;
        padding-top: 100px;
        padding-left: 10px;
        color: white;
    }

.video-title {
    padding: 0;
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
    text-align: left;
}

.video-desc {
    padding: 0;
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
    color: #454545;
    font-size: 12px;
    text-align: left;
}

body {
    background-color: #eee;
}

.container {
    width: 560px;
    background-color: #fff;
    margin: 0 auto;
}

#video {
    position: fixed;
    text-align: center;
    width: 700px;
    background-color: #fff;
}

#video {
    top: 50px;
}

.swal2-html-container {
    width: 719px;
}

.swal2-popup {
    width: 775px;
}

.logo {
    width: 120px;
    padding: 10px;
}

#main {
    padding: 480px 20px 10px;
    width: 100%;
}

article {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 2px solid white;
    border-radius: 8px;
    margin: 0 auto;
    width: 105%;
}

    article.videoItem:hover {
        border: 2px solid #ededed;
        cursor: pointer;
    }

.thumb {
    height: 70px;
    border-radius: 4px;
    max-width: 125px;
}

.details {
    padding: 8px 22px;
}

.grid-container {
    -moz-column-gap: 16px;
    column-gap: 16px;
    margin: 8px 16px;
}


.grid-container .item {
    background-color: #fff;
    margin: 8px 0;
    border-radius: 4px;
    padding: 21px;
    display: inline-block;
    cursor: pointer;
}

.playlist-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #222;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.video-qty {
    font-size: 1.05em;
    color: #444;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.btn {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

    .btn:focus, .btn:hover {
        text-decoration: none;
    }

    .btn:focus, .btn.focus {
        outline: 0;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    }

    .btn.disabled, .btn:disabled {
        opacity: .65;
    }

    .btn:active, .btn.active {
        background-image: none;
    }

a.btn.disabled,
fieldset[disabled] a.btn {
    pointer-events: none;
}

.btn-info {
    color: #3d1152;
    background-color: #ededed;
    border-color: #3d1152;
}

    .btn-info:hover {
        color: #fff;
        background-color: #531571;
        border-color: #1e0829;
    }

    .btn-info:focus, .btn-info.focus {
        box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5);
    }

    .btn-info.disabled, .btn-info:disabled {
        background-color: #17a2b8;
        border-color: #17a2b8;
    }

    .btn-info:active, .btn-info.active,
    .show > .btn-info.dropdown-toggle {
        background-color: #138496;
        background-image: none;
        border-color: #117a8b;
    }

#video-search {
    width: 300px;
    padding: 5px;
}

.searchwrapper {
    width: 450px;
    margin: 50px auto 10px;
}

.searchbox {
    background-color: #fff;
    padding: 2px 16px 2px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border: solid 1px rgba(0,0,0,0.20);
}

    .searchbox [class*="col-"] {
        padding: 0px;
    }

    .searchbox .col-md-5, .searchbox .col-md-2 {
        padding-top: 1px;
        padding-bottom: 1px;
        min-width: 100px;
        margin-left: -25px;
    }

    .searchbox .form-control {
        border-color: transparent;
        border-right: solid 1px rgba(0, 0, 0, 0.10);
        line-height: 1.45;
        padding-top: 0.7rem;
    }

    .searchbox select.form-control {
        border-right: solid 1px transparent;
    }

    .searchbox .form-control:focus {
        outline: 0;
    }

    .searchbox .btn {
        border-radius: 5px;
        padding: 10px 40px;
    }

@media (max-width:767px) {
    .searchbox .btn {
        width: 100%;
    }

    .searchbox {
        padding: 20px 40px;
    }

        .searchbox .form-control {
            border-color: transparent;
            border-bottom: solid 1px rgba(0,0,0,0.10);
        }

        .searchbox select.form-control {
            border-bottom: solid 1px transparent;
        }
}

.col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.container {
    margin-right: auto;
    margin-left: 0;
    padding-right: 15px;
    padding-left: 0;
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

    .form-control::-ms-expand {
        background-color: transparent;
        border: 0;
    }

    .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: none;
    }

    .form-control::placeholder {
        color: #868e96;
        opacity: 1;
    }

    .form-control:disabled, .form-control[readonly] {
        background-color: #e9ecef;
        opacity: 1;
    }

.img-stack-box {
    display: flex;
    flex-flow: column;
    gap: 0px;
    position: relative;
    z-index: 1;
    top: 7px;
    background: transparent;
    width: 315px;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    left: 5px;
}

#video iframe {
    width: 61vw;
    min-width: 500px;
    height: 400px;
    max-width: 719px;
    border-radius: 10px;
    margin-top: -21px;
    border: 3px solid #3b3b3b;
    box-shadow: 0px 7px 12px 2px #0000006b;
}

img.stack-img {
    z-index: 1;
    position: relative;
    transform: scale(1) translate(14px, 8px);
    height: 10px;
    width: 100%;
    border: 0.13em solid #000000;
    filter: contrast(0.5);
    border-radius: 4px;
    box-shadow: 0px -2px 8px 3px #00000042;
}

    img.stack-img:nth-child(1) {
        max-width: 260px;
        top: 17px;
    }

    img.stack-img:nth-child(2) {
        max-width: 277px;
        top: 8px
    }

    img.stack-img:nth-child(3) {
        max-width: 296px;
    }

span.video-qty {
    font-size: 1.05em;
    color: #3051db;
    font-weight: 400;
    margin-top: 2px;
    margin-bottom: 13px;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    top: 3px;
}


div#videoGrid {
    display: flex;
    gap: 1px;
    width: 100%;
    height: 100%;
    justify-items: center;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 142px;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 9px;
    column-gap: 21px;
    padding-bottom: 80px;
}

.frame-desc {
    text-align: left;
    width: 100%;
    margin: 5px auto;
    min-width: 705px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.hide {
    display: none;
    opacity: 0;
    transition: all 0.25s ease;
}

.show {
    display: block;
    opacity: 1;
    transition: all 0.25s ease;
    top: -9px;
}

.descToggle {
    display:none;
    font-size: 12px;
    font-weight: 600;
    color: #1c6997;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 14px;
    position: relative;
    top: 3px;
    text-transform: uppercase;
}

.fullDesc {
    background: #fff;
    position: relative;
    z-index: 9999;
    box-shadow: 0px -2px 8px 3px #00000042;
    padding: 15px;
}

div:where(.swal2-container) button:where(.swal2-close) {
    z-index: 2;
    align-items: center;
    border: 3px solid #ffffff;
    position: relative;
    justify-content: center;
    right: -21px;
    background: #fff !important;
    justify-content: center;
    border-radius: 50%;
    width: 1.3em;
    transform: scale(0.70) !important;
    height: 1.25em;
    margin-top: 0;
    margin-right: -25px;
    margin-bottom: -0.61em;
    padding-bottom: 6px !important;
    overflow: hidden;
    transition: color .25s, box-shadow .25s;
    background: rgb(255 0 0);
    color: #ffffff;
    font-family: monospace;
    font-size: 3.4em;
    cursor: pointer;
    justify-self: right;
    outline: 2px solid #000;
    box-shadow: -1px 14px 17px 2px #000000b3;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    height: 101vh !important;
}

div:where(.swal2-container) button:where(.swal2-close):focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 3px rgba(100, 150, 200, .5);
    border: 3px solid #ffffff;
}

div:where(.swal2-container) button:where(.swal2-close):hover {
    transform: none;
    background: rgb(255 255 255);
    color: #930a0a;
    border: 3px solid #930a0a !important;
}

/*IMAGE HOVER ANIMATIONS*/

/* Zoom In #1 */
.hoverZoomIn > div img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.hoverZoomIn > div:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}
.hoverZoomIn:hover p.playlist-title {
    position: relative;
    bottom: -38px;
    transition: all 0.75s ease;
}

.hoverZoomIn:hover span.video-qty {
    position: relative;
    top: -107px;
    transition: all 0.65s ease;
}

/* Zoom In #2 */
.hoverZoomIn2 > div img {
    width: 300px;
    height: auto;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.hoverZoomIn2 > div:hover img {
    width: 350px;
}

/* Zoom Out #1 */
.hoverZoomOut div img {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.hoverZoomOut div:hover img {
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* Zoom Out #2 */
.hoverZoomOut2 > div img {
    width: 400px;
    height: auto;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.hoverZoomOut2 > div:hover img {
    width: 300px;
}

/* Slide */
.hoverSlide > div img {
    margin-left: 30px;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.hoverSlide > div:hover img {
    margin-left: 0;
}

/* Rotate */
.hoverRotate > div img {
    -webkit-transform: rotate(15deg) scale(1.4);
    transform: rotate(15deg) scale(1.4);
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.hoverRotate > div:hover img {
    -webkit-transform: rotate(0) scale(1);
    transform: rotate(0) scale(1);
}

/* Blur */
.hoverBlur > div img {
    -webkit-filter: blur(3px);
    filter: blur(3px);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.hoverBlur > div:hover img {
    -webkit-filter: blur(0);
    filter: blur(0);
}

/* Gray Scale */
.hoverGrayScale > div img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.hoverGrayScale > div:hover img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

/* Sepia */
.hoverSepia > div img {
    -webkit-filter: sepia(100%);
    filter: sepia(100%);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.hoverSepia > div:hover img {
    -webkit-filter: sepia(0);
    filter: sepia(0);
}

/* Blur + Gray Scale */
.hoverBlurGray > div img {
    -webkit-filter: grayscale(0) blur(0);
    filter: grayscale(0) blur(0);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.hoverBlurGray > div:hover img {
    -webkit-filter: grayscale(100%) blur(3px);
    filter: grayscale(100%) blur(3px);
}

/* Opacity #1 */
.hoverOpacity > div img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.hoverOpacity > div:hover img {
    opacity: .5;
}

/* Opacity #2 */
.hoverOpacity2 > div {
    background: #1abc9c;
}

.hoverOpacity2 > div img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.hoverOpacity > div:hover img {
    opacity: .5;
}

/* Flashing */
.hoverFlash > div:hover img {
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
}

@-webkit-keyframes flash {
    0% {
        opacity: .4;
    }

    100% {
        opacity: 1;
    }
}

@keyframes flash {
    0% {
        opacity: .4;
    }

    100% {
        opacity: 1;
    }
}

/* Shine */
.hoverShine > div {
    position: relative;
}

    .hoverShine > div::before {
        position: absolute;
        top: 0;
        left: -75%;
        z-index: 2;
        display: block;
        content: '';
        width: 50%;
        height: 100%;
        background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
        -webkit-transform: skewX(-25deg);
        transform: skewX(-25deg);
    }

    .hoverShine > div:hover::before {
        -webkit-animation: shine .75s;
        animation: shine .75s;
    }

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

/* Circle Shine*/
.hoverCircleShine > div {
    position: relative;
}

.hoverCircleShine > div::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255,255,255,.2);
    border-radius: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.hoverCircleShine > div:hover::before {
    -webkit-animation: circle .75s;
    animation: circle .75s;
}

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}
div.multi-button {
    background: #fff;
    border: 1px none;
    padding: 5px;
    border-radius: 10px;
}

.multi-button button {
    width: 28px;
    height: 28px;
    color: #167ac6;
    background: rgb(227 227 227 / 80%);
    border-radius: 100%;
    border: 1px solid #167ac6;
    transition: 1s;
    outline: none;
    -webkit-box-shadow: 0px 3px 3px 0px rgb(92 92 92 / 35%);
    -moz-box-shadow: 0px 3px 3px 0px rgb(92 92 92 / 35%);
    box-shadow: 0px 3px 3px 0px rgb(92 92 92 / 35%);
    /* text-shadow: -2px 2px 7px #000; */
    margin: 2px;
}

.multi-button button:hover {
    background: #fff;
    transition: 0.25s;
    color: black;
    background-color: ;
    border: 1px solid black;
    -webkit-box-shadow: inset -2px 2px 10px 0px rgba(92,92,92,1);
    -moz-box-shadow: inset -2px 2px 10px 0px rgba(92,92,92,1);
    box-shadow: inset -2px 2px 10px 0px rgba(92,92,92,1);
}

.multi-button button:focus {
    color: black;
    background: #dadada;
    border: 1px solid black;
    -webkit-box-shadow: inset -2px 2px 10px 0px rgba(92,92,92,1);
    -moz-box-shadow: inset -2px 2px 10px 0px rgba(92,92,92,1);
    box-shadow: inset -2px 2px 10px 0px rgba(92,92,92,1);
}
