/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    opacity: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    /*-webkit-transition: opacity .3s cubic-bezier(.38,.41,.27,1);
    -moz-transition: opacity .3s cubic-bezier(.38,.41,.27,1);
    transition: opacity .3s cubic-bezier(.38,.41,.27,1);*/
    animation: visible 0.7s;
}

@keyframes visible {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #e1e1e1;
    text-decoration: none;
    cursor: pointer;
    text-decoration: none;
    transform: scale(1.05);
}

.modal-video-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }

.modal-video-inner {
    z-index: 2;
    height: 100vh;
    border: 0;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

}

.modal-video-movie-wrap {
    padding: 10rem 0!important;
    box-sizing: border-box;
    height: calc(100vh - 20rem);
    display: flex;
    align-items: center;
    vertical-align: middle;
    max-width: 100%;
}

@media (orientation: landscape) {
    .modal-video-close-btn {
        top: 0;
        right: 0;
    }
}

@media (orientation: landscape) {
    .modal-video-inner {
      padding: 10px 60px;
      box-sizing: border-box;
    }
}


.ytp-right-controls .ytp-subtitles-button {
    display: none,
}

.video-overlay {
    position: absolute;
    height: 340px;
    width: 100%;
    overflow: hidden;
    background-position: center;
}

.video-overlay img {
    max-width: 100%;
}

.section-video {
    position: relative;
    margin: 50px 0 0;
    z-index: 99;
}

.video-container {
    width: 100%;
    height: 340px;
    margin-bottom: 20px;
    -webkit-background-size: cover;
    background-size: cover;
    color: white;
    text-align: center;
}

.video-banner-content {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    height: 340px;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.video-banner-content h2 {
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.video-banner-content p {
    color: white;
    text-align: center;
    font-size: 14px;
    max-width: 750px;
}

.video-banner-content button.open-video {
    margin: 25px 0 35px;
    background-color: white;
    padding: 12px 20px 10px;
    border: none;
    display: flex;
    font-weight: 700;
    align-items: center;
    border-radius: 32px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .video-banner-content {
        padding: 0px 30px;
    }

    .video-banner-content h2 {
        font-size: 20px;
    }
    
    .video-banner-content p,
    .video-banner-content button.open-video {
        font-size: 12px;
    }
}

.arrow-icon-right {
    margin-right: 10px;
    margin-top: -2px;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 11px solid black;
}