.r-tabs .r-tabs-nav {
    margin: 0;
    padding: 0;
}

.r-tabs .r-tabs-tab {
    display: inline-block;
    margin: 0;
    list-style: none;
}

.r-tabs .r-tabs-panel {
    padding: 15px 30px;
    display: none;
    border-radius: 0px;
}

.r-tabs .r-tabs-accordion-title {
    display: none;
}

.r-tabs .r-tabs-panel.r-tabs-state-active {
    display: block;
}

/* Accordion responsive breakpoint */
@media only screen and (max-width: 981px) {
    .r-tabs .r-tabs-nav {
        display: none;
    }

    .r-tabs .r-tabs-accordion-title {
        display: block;
        width: 96%;
        margin: 0 auto;
    }

}

/* ------------------ */
/* MFA customizations */
/* ------------------ */

.r-tabs {
    position: relative;

}

/* Tab element */
.r-tabs .r-tabs-nav .r-tabs-tab {
    position: relative;
    background-color: #ddd;
    border-radius: 6px 6px 0px 0px;
    min-width:80px;
    text-align:center;
    margin-right: 4px;
}

/* Tab anchor */
.r-tabs .r-tabs-nav .r-tabs-anchor {
    display: inline-block;
    padding: 10px 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    color: #666666;
}

/* Disabled tab */
.r-tabs .r-tabs-nav .r-tabs-state-disabled {
    opacity: 0.5;
}

/* Active state tab anchor */
.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
    color: white;
    text-shadow: none;
    border-radius: 6px 6px 0px 0px;
    background-color: #133b87;
    min-width: 80px;

}

.r-tabs .r-tabs-nav .r-tabs-tab:hover {
    background-color: #919191;
}
.r-tabs .r-tabs-nav .r-tabs-anchor:hover { color: white; }

/* Overriding theme styles */
#horizontalTab ul {
    margin: 0;
}


/* First h6 in the tab panel gets hidden because it's redundant, but needs to exist for the javascript to work */

.tab-content h6:first-of-type {
    display: none;
}

#horizontalTab .tab-heading-hidden {
    display: none;
}

#horizontalTab .et_pb_row.r-tabs-panel {
    padding: 18px !important;
}


@media (min-width: 981px) {
    #horizontalTab .tab-content {
        padding: 24px !important;
        margin: 0 !important;
    }

    #horizontalTab .et_pb_row {
        padding: 12px !important;
    }


}

/* Tab panel */
.r-tabs .r-tabs-panel {
    background-color: #fff;
    border-radius: none;
    border: 1px solid #ccc;
}

.r-tabs-panel ul {
    padding: .7em 0 .3em 1.143em;
}

/* Accordion anchor */
.r-tabs .r-tabs-accordion-title .r-tabs-anchor {
    display: block;
    padding: 10px;
    background-color: #f4f4f4;
    border: 1px solid #cccccc;
    color: #666666;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;

    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

/* Active accordion anchor */
.r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
    background-color: #133b87;
    color: white;
    text-shadow: none;
}

/* Disabled accordion button */
.r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
    opacity: 0.5;
}
