/*-------------------------------------------------------------------*/
/*-------------------[INTERACTIVE DASHBOARD START]-------------------*/
/*-------------------------------------------------------------------*/

/* interactive dashboard middle column */
.pft_interactive_dashboard_middle_col,
.pft_interactive_dashboard_left_col,
.pft_interactive_dashboard_right_col  {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* interactive dashboard video container  */
.pft_interactive_dashboard_video_container  {
    padding-bottom: 56.25%; /* trick to always keep the 16:9 aspect ratio */
    height: 0;

    animation-name: loadingBg;
    animation-direction: alternate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* background loading animation */
@keyframes loadingBg {
    from {background-color: rgba(255, 255, 255, .1);}
    to {background-color: rgba(255, 255, 255, .2);}
}


/* interactive dashboard items (inactive) */
.pft_interactive_dashboard_video_container .pft_db_item {
    opacity: 0;
    pointer-events: none;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;

    transition: opacity .333s;
}

/* interactive dashboard items (active) */
.pft_interactive_dashboard_video_container .pft_db_item.pft_db_active_item {
    pointer-events: auto;
    opacity: 1;

    transition: opacity .333s;
}

/* need to set explicit width for images IE11 */
.pft_interactive_dashboard_video_container .pft_db_item img {
    width: 100%;
}

/* text area hover elements */
.pft_interactive_dashboard_hover_area {
    padding: 15px;
    background-color: rgba(255,255,255,.05);

    /* uncomment below for card effect */
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);

    transition: color .222s, box-shadow .222s;
}

/* active area styling */
.pft_interactive_dashboard_hover_area.pft_active_area {
    /* uncomment below for card effect */
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

/* make active area text white to, need to override DIVI here */
.pft_interactive_dashboard_hover_area.pft_active_area * {
    color: white !important;
}

/* text area hover elements */
.pft_interactive_dashboard_hover_area:hover {
    color: white;
    transition: color .3s;
    cursor: default;
}

/* text area link colors */
.pft_interactive_dashboard_hover_area a {
    color: inherit;
    transition: color .3s;
}

/* text area hover colors and prevent clicks */
.pft_interactive_dashboard_hover_area:hover a,
.pft_interactive_dashboard_hover_area:hover p {
    color: white;
    transition: color .3s;
    pointer-events: none;
}

/* mobile order column */
@media (max-width: 980px) {
    .pft_interactive_dashboard {
        display: flex;
        flex-wrap: wrap;
    }

    /* place video on top on mobile */
    .pft_interactive_dashboard_middle_col {
        order: -1;
    }

    /* place other columns in a row underneath */
    .pft_interactive_dashboard_left_col,
    .pft_interactive_dashboard_right_col {
        flex-basis: 100%;
        margin-bottom: 30px !important; /* need to override weird DIVI margin on mobile */
    }

}

/*-----------------------------------------------------------------*/
/*-------------------[INTERACTIVE DASHBOARD END]-------------------*/
/*-----------------------------------------------------------------*/