/* --------------------------------------------------------
*  Desktop
* -------------------------------------------------------- */

.page-template-template-our-associates .fb-interactive-video-container {
    height: 540px;
    margin-top: 40px;
}

.page-template-template-our-associates .homepage-tv-container {
    width: 1053px;
    left: 50%;
}

.our-associates-intro .main-content-container {
    padding-bottom: 0;
}

div#associates-video-container {
    margin-bottom: 10%;
    position: relative;
}

.choose-a-guide-text {
    font-size: 2vw;
}

.js--video-menu {
    width: 140px;
    height: 37px;
    left: 428px;
    top: 3px;
    display: none;
}

.js--video-menu p {
    left: 5px;
    top: 3px;
    position: relative;
}

.video-return-menu {
    display: none;
}

@media screen and (max-width:1200px) {

    .page-template-template-our-associates .homepage-tv-container {
        width: 88%;
        left: 50%;
        transform: translateX(-64%);
        margin-left: auto;
    }

    .page-template-template-our-associates .fb-interactive-video-container {
        height: 46.375vw;
        margin-top: 1.4%;
    }

    .page-template-template-our-associates .homepage-video-controls {
        top: auto !important;
        left: 50%;
        transform: translateX(-50%);
        bottom: 11.5% !important;
    }

    #fb-iv-mainvideo {
        top: 3%;
    }

    .js--video-menu {
        left: 403px;
        top: 11px;
    }

}

/* --------------------------------------------------------
* Tablet
* -------------------------------------------------------- */
@media screen and (max-width:992px) {
    #associates-video-container {
        clear: both;
        max-width: 88%;
        margin: 0 auto;
    }
    .choose-a-guide-text {
        font-size: 3vw;
    }

    .js--video-menu {
        left: 160%;
        top: 0;
        width: 120px;
    }
    .js--video-menu p {
        font-size: 13px !important;
    }

    .page-template-template-our-associates .homepage-tv-container {
        width: 100%;
        display: block;
        left: auto;
        right: auto;
        margin: 30px auto;
        transform: translateX(0);
    }
    .fb-interactive-video-container {
        margin-top: -5px;
        top: 14% !important;
    }
    .page-template-template-our-associates .homepage-video-controls {
        top: auto !important;
        bottom: 11% !important;
    }
    #fb-iv-mainvideo {
        top: 0;
    }
    .choose-a-guide-text {
        font-size: 33px;
    }
}


/* --------------------------------------------------------
*  Mobile
* -------------------------------------------------------- */
@media screen and (max-width:600px) {
    #fb-iv-mainvideo {
        top: -2%;
    }
    img#video_sound_on {
        width: 70%;
        margin-top: 9%;
    }

    .page-template-template-our-associates .homepage-video-sound-toggle,
    .page-template-template-our-associates .homepage-video-controls-base,
    .page-template-template-our-associates .vc-playhead,
    .page-template-template-our-associates .rewind-btn,
    .page-template-template-our-associates .play-pause-btn {
        visibility: hidden;
    }

    .page-template-template-our-associates .fb-interactive-video-container {
        margin-top: 2%;
    }

    .js--video-menu {
        position: absolute;
        bottom: 0 !important;
        top: 155% !important;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

.fb-interactive-video-container {
    width: 89.5%;
    height: 44.375vw;
    overflow: hidden;
    /* margin-top: 40px; */
    top: 90px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -3px;
}

.fb-interactive-video-container video {
    position: absolute;
    left: 0;
    top: 0;
}

.fb-iv-interactive-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 101;
}

.fb-iv-interactive-overlay-end {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/transparent.png);
    display: none;
    z-index: 100;
}

.end-hidden-button {
    background-image: url(../img/transparent.png);
    position: absolute;
    height: 12%;
    cursor: pointer;
    display: block;
}

#ehb-applynow {
    top: 23%;
    width: 39%;
    left: 30%;
}

#ehb-continuetour {
    top: 57%;
    width: 46%;
    left: 27%;
}

#fb-iv-mainvideo {
    width: 100%;
}

.linesleft {
    width: 2.0833333%;
    position: absolute;
    top: 10%;
}

.linesright {
    width: 2.1875%;
    position: absolute;
    right: 0;
    bottom: 0;
}

.videothumb {
    position: absolute;
    width: 19.583333%;
    cursor: pointer;
}

.videothumb-baseimage {
    width: 100%;
}

.thumbvideo-container {
    position: absolute;
    width: 64%;
    top: 25%;
    left: 20%;
    -webkit-transform: rotate(1deg);
    -ms-transform: rotate(1deg);
    transform: rotate(1deg);
}

.thumbvideo-container video {
    width: 100%;
}

.thumbvideo-container img {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#vt-millie-nikhil {
    -webkit-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    transform: rotate(-12deg);
    left: 12%;
    top: 25%;
}

#vt-ele {
    left: 40.2083335%;
    top: 20%;
}

#vt-simon {
    -webkit-transform: rotate(12deg);
    -ms-transform: rotate(12deg);
    transform: rotate(12deg);
    left: 69%;
    top: 25%;
}

#vt-millie-nikhil.vt-thumbgone, #vt-ele.vt-thumbgone, #vt-simon.vt-thumbgone{
    -webkit-transition: top 500ms cubic-bezier(0.600, 0, 0.735, 0.045); /* older webkit */
    -webkit-transition: top 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -moz-transition: top 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -o-transition: top 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    transition: top 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */

    -webkit-transition-timing-function: cubic-bezier(0.600, 0, 0.735, 0.045); /* older webkit */
    -webkit-transition-timing-function: cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -moz-transition-timing-function: cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -o-transition-timing-function: cubic-bezier(0.600, -0.280, 0.735, 0.045);
    transition-timing-function: cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */

    top: 110%;
}

#vt-millie-nikhil.vt-showagain, #vt-ele.vt-showagain, #vt-simon.vt-showagain{
    -webkit-transition: all 800ms cubic-bezier(0.175, 0.885, 0.320, 1); /* older webkit */
    -webkit-transition: all 800ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -moz-transition: all 800ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -o-transition: all 800ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
    transition: all 800ms cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */

    -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); /* older webkit */
    -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */

}

#vt-millie-nikhil.vt-thumbactive, #vt-ele.vt-thumbactive, #vt-simon.vt-thumbactive{
    -webkit-transition: all 800ms cubic-bezier(0.600, 0, 0.735, 0.045); /* older webkit */
    -webkit-transition: all 800ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -moz-transition: all 800ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -o-transition: all 800ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
    transition: all 800ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */

    -webkit-transition-timing-function: cubic-bezier(0.600, 0, 0.735, 0.045); /* older webkit */
    -webkit-transition-timing-function: cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -moz-transition-timing-function: cubic-bezier(0.600, -0.280, 0.735, 0.045);
    -o-transition-timing-function: cubic-bezier(0.600, -0.280, 0.735, 0.045);
    transition-timing-function: cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */

    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
    left: 12%;
    top: 25%;

    transition-delay: 300ms;
}

.choose-a-guide-text {
    font-family: 'rubrik',sans-serif;
    font-weight: 300;
    color: #61a321;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 79%;
    font-size: 3vw;
}

.title-image {
    width: 100%;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
}
