.elementor-ftdna-tabbed-ancestry {
    background-color: #f7f8fa;
}

.elementor-ftdna-tabbed-ancestry
.tab-bar {
    display: flex;
    justify-content: center !important;
}

.elementor-ftdna-tabbed-ancestry
.tab-bar 
.tab {
    height: 48px;
    padding: 0 24px;
    cursor: pointer;
    box-sizing: border-box;
    min-width: 160px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-family: Roboto, sans-serif;
    color: #000000de;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    text-transform: uppercase;
}

.elementor-ftdna-tabbed-ancestry
.tab-bar 
.tab.active {
    font-weight: 500;
    color: #212121;
    border-bottom: 2px solid #fa4616;
}

.elementor-ftdna-tabbed-ancestry
.tab-content {
    background-size: 1140px;
    height: 790px;
    display: none;
    transition: all 1s;
}

.elementor-ftdna-tabbed-ancestry
.tab-content.active {
    display: block;
}

.elementor-ftdna-tabbed-ancestry
.tab-content 
.inner_con {
    transition: all 1s;
}

.elementor-ftdna-tabbed-ancestry
.tab-content.active 
.inner_con {
    display: flex;
    /*align-items: center;
    justify-content: center;*/
    width: 100%;
    height: 665px;
}

.elementor-ftdna-tabbed-ancestry
.tab-content.active 
.inner_con
video {
    height: 665px;
}


.elementor-ftdna-tabbed-ancestry
.tab-content 
.persona_origins
img {
    width: 1140px;
}

.elementor-ftdna-tabbed-ancestry
.tab-content 
.persona_origins
img.mobile {
    display: none;
}

.elementor-ftdna-tabbed-ancestry
.tab-pane {
    position: relative;
}

.elementor-ftdna-tabbed-ancestry
.map-container {
    /* background-image - see dynamic styles */
    background-size: 1140px;
    background-repeat: no-repeat;
    background-position: center;
    height: 790px;
    width: 100%;   
    position: absolute;
    top: 0;
    left: 0;
}

.elementor-ftdna-tabbed-ancestry
.map-overlay {
    background-size: 1140px;
    background-repeat: no-repeat;
    background-position: center;
    height: 790px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 1s;
}

.elementor-ftdna-tabbed-ancestry
.map-overlay[data-id='persona_a'] {
    /* background-image - see dynamic styles */
}


.elementor-ftdna-tabbed-ancestry
.map-overlay[data-id='persona_b'] {
    /* background-image - see dynamic styles */
}


.elementor-ftdna-tabbed-ancestry
.map-overlay[data-id='persona_c'] {
    /* background-image - see dynamic styles */
}

.elementor-ftdna-tabbed-ancestry
.myorigins-personas {
    position: absolute;
    right: 10%;
    top: 10px;
}

.elementor-ftdna-tabbed-ancestry
.personas {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 40px 0 40px;
}

.elementor-ftdna-tabbed-ancestry
.personas .persona-icons {
    display: flex;
    margin-bottom: 7px;
}

.elementor-ftdna-tabbed-ancestry
.personas .persona-icons img {
    margin: 0 8px;
    border-radius: 50%;
    box-shadow: 0 6px 12px 0 #2121214d;
    border: 2px solid #fafafa;
    opacity: .5;
    transition: transform .3s;
    height: 70px;
    width: 70px;
    cursor: pointer;
}

.elementor-ftdna-tabbed-ancestry
.personas .persona-icons img.active {
    transform: translateY(-10px);
    border-color: #fa4616;
    opacity: 1;
}

.elementor-ftdna-tabbed-ancestry
.persona_origins {
    position: relative;
    box-shadow: 0 3px 8px 0 #21212133;
    width: 300px;
}

.elementor-ftdna-tabbed-ancestry
.ethnic-percentage { 
    position: absolute;
    width: auto;
    height: auto;
    opacity: 0;
    box-shadow: 0 3px 8px 0 #21212133;
    transition: all 1s;
}

.elementor-ftdna-tabbed-ancestry
.ethnic-percentage.active {
    display: inherit;
    opacity: 1;
}

.elementor-ftdna-tabbed-ancestry
.tab-content 
.inner_con {
    background-size: 1140px;
    background-repeat: no-repeat;
    background-position: center;
}

.elementor-ftdna-tabbed-ancestry
.tab-content 
.inner_con.paternal {
    /* background-image - see dynamic styles */
}

.elementor-ftdna-tabbed-ancestry
.tab-content 
.inner_con.maternal {
    /* background-image - see dynamic styles */
}

/* tablet */
@media (max-width: 1015px) {
    .elementor-ftdna-tabbed-ancestry {
        height: 450px;
    }

    .elementor-ftdna-tabbed-ancestry
    .tab-content
    .tab-pane
    .myorigins-personas {
        right: 5%;
        width: 145px;
    }

    .elementor-ftdna-tabbed-ancestry
    .tab-content 
    .personas {
        margin: 0;
    }

    .elementor-ftdna-tabbed-ancestry
    .tab-content 
    .persona_origins
    img {
        width: auto;
        height: 390px;
    }

    .elementor-ftdna-tabbed-ancestry
    .tab-content 
    .inner_con {
        background-size: 600px;
    }

    .elementor-ftdna-tabbed-ancestry
    .tab-content 
    .inner_con.paternal {
        /* background-image - see dynamic styles */
    }
    .elementor-ftdna-tabbed-ancestry
    .tab-content 
    .inner_con.maternal {
        /* background-image - see dynamic styles */
    }
    
    .elementor-ftdna-tabbed-ancestry
    .tab-content.active 
    .inner_con {
        height: 450px;
    }
    
    .elementor-ftdna-tabbed-ancestry
    .tab-content.active 
    .inner_con
    video {
        height: 450px;
    }

    .elementor-ftdna-tabbed-ancestry
    .map-overlay,
    .elementor-ftdna-tabbed-ancestry
    .map-container{
        height: 450px;
        background-size: 600px;
    }
    .elementor-ftdna-tabbed-ancestry
    .personas 
    .persona-icons 
    img {
        display: none;
    }
}

/* mobile */
@media (max-width: 600px) {
    .elementor-ftdna-tabbed-ancestry
    .tab-content {
        height: auto;
    }

    .elementor-ftdna-tabbed-ancestry
    .tab-content
    .tab-pane
    .myorigins-personas {
        right: 2%;
    }

    .elementor-ftdna-tabbed-ancestry 
    .tab-content.active 
    .inner_con
    video {
        display: none;
    }
    
    .elementor-ftdna-tabbed-ancestry 
    .tab-content.active 
    .inner_con {
        align-items: flex-start;
        height: 450px;
    }

    .elementor-ftdna-tabbed-ancestry
    .tab-bar 
    .tab {
        font-size: 12px;
        min-width: 0;
    }
    
    .elementor-ftdna-tabbed-ancestry
    .hide-mobile {
        display: none;
    }
}