.cms-tabs .tabset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tabs-wrap:after, .cms-tabs .tabset-holder:after, .cms-tabs .content-area:after {
    content: '';
    display: block;
    clear: both;
}

/* tabs wrap styles */
.tabs-wrap {
    padding: 20px 0;
}



    

@media (min-width: 768px) {

}

@media (min-width: 1200px) {
    .cms-tabs.tabs-toggle {
        padding-top: 106px;
        padding-bottom: 75px;
    }
}

.tabs-wrap.tabs-toggle h5, .tabs-wrap.tabs-toggle .h5 {
    margin: 0 0 25px;
}

@media (max-width: 767px) {
    .tabs-wrap.tabs-toggle {
        padding-bottom: 10px;
    }
}

.cms-tabs.tabs-toggle .tab {
    opacity: 0;
    -webkit-transition: opacity .8s ease;
    transition: opacity .8s ease;
}

    .cms-tabs.tabs-toggle .tab.active {
        opacity: 1;
    }

/* tabs styles */
.cms-tabs {
    position: relative;
}

    .cms-tabs .js-tab-hidden {
        display: block !important;
        left: -9999px !important;
        position: absolute !important;
        top: -9999px !important;
    }

    .cms-tabs .tabset-holder {
        position: relative;
        z-index: 50;
    }

        .cms-tabs .tabset-holder .opener {
            height: 50px;
            display: block;
        }

@media (min-width: 768px) {
    .cms-tabs .tabset-holder .opener {
        display: none;
    }
}

@media (max-width: 767px) {
    .cms-tabs .tabset-holder.tab-active .tabset {
        border-color: #ddd;
    }

        .cms-tabs .tabset-holder.tab-active .tabset li:not(.active) {
            display: block;
        }

        .cms-tabs .tabset-holder.tab-active .tabset li.active > a:after {
            -webkit-transform: translateY(-50%) rotate(180deg);
            -ms-transform: translateY(-50%) rotate(180deg);
            transform: translateY(-50%) rotate(180deg);
        }
}

.cms-tabs .tabset {
    font-size: 16px;
    line-height: 18px;
}

@media (min-width: 768px) {
    .cms-tabs .tabset {
        text-transform: uppercase;
        text-align: center;
        font-weight: 600;
        font-size: 14px;
        line-height: 1.4285714286;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 0 0 15px;
    }
}

@media (min-width: 1024px) {
    .cms-tabs .tabset {
        margin: 0 0 23px;
    }
}

@media (max-width: 767px) {
    .cms-tabs .tabset {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        font-size: 14px;
        line-height: 1.2857142857;
        border-radius: 8px;
        background: #fff;
        border: solid 1px transparent;
    }
}

@media (min-width: 768px) {
    .cms-tabs .tabset li {
        border-bottom: solid 2px #ddd;
    }
}

@media (max-width: 767px) {
    .cms-tabs .tabset li {
        font-size: 12px;
        line-height: 1.6666666667;
        display: block;
    }

        .cms-tabs .tabset li:not(.active) {
            display: none;
        }

        .cms-tabs .tabset li > a {
            display: block;
            font-size: 14px;
            line-height: 18px;
            padding: 8px 10px;
            position: relative;
            border-radius: 8px;
            color: #888a8c;
            text-transform: none;
        }

            .cms-tabs .tabset li > a:hover, .cms-tabs .tabset li > a:focus {
                background: #ddd;
                color: #2d4668;
                z-index: 1;
            }
}

@media (min-width: 768px) {
    .cms-tabs .tabset li.active a {
        background: #f79e00;
        border-color: #f79e00;
        color: #fff;
    }
}

@media (max-width: 767px) {
    .cms-tabs .tabset li.active {
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

        .cms-tabs .tabset li.active > a {
            color: #2d4668;
            position: relative;
            display: block;
            font-size: 16px;
            line-height: 18px;
            padding: 15px 40px 15px 15px;
            background: none;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

            .cms-tabs .tabset li.active > a:after {
                content: "";
                position: absolute;
                top: 50%;
                right: 12px;
                width: 12px;
                height: 18px;
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%232d4668' viewBox='0 0 12 7'%3e%3cpath d='M11.663 1.95L7.05 6.525a1.473 1.473 0 0 1-.187.262c-.226.226-.514.338-.863.338-.326 0-.6-.112-.825-.338a1.473 1.473 0 0 1-.187-.262L.338 1.95A1.1 1.1 0 0 1 0 1.144C0 .832.112.564.338.338.562.112.831 0 1.143 0c.313 0 .582.112.806.338L6 4.35 10.05.338c.224-.226.493-.338.806-.338.312 0 .581.112.807.338.224.225.337.494.337.806 0 .312-.113.58-.337.806z'/%3e%3c/svg%3e");
                background-size: 100% 100%;
                -webkit-transform: translateY(-50%) rotate(0);
                -ms-transform: translateY(-50%) rotate(0);
                transform: translateY(-50%) rotate(0);
            }
}

@media (min-width: 768px) {
    .cms-tabs .tabset li a {
        display: inline-block;
        vertical-align: top;
        position: relative;
        border: solid 2px #ddd;
        border-bottom: 0;
        border-radius: 12px 12px 0 0;
        padding: 13px 35px 11px;
        color: #888a8c;
        -webkit-transition: background linear 0.3s, border-color linear 0.3s, color linear 0.3s;
        transition: background linear 0.3s, border-color linear 0.3s, color linear 0.3s;
    }
}

@media (min-width: 768px) {
    .cms-tabs .tabset li a:hover, .cms-tabs .tabset li a:focus {
        background: #de8e00;
        border-color: #de8e00;
        color: #fff;
    }
}

.cms-tabs .content-area {
    position: relative;
    padding: 18px 0 0;
}

@media (min-width: 768px) {
    .cms-tabs .content-area {
        padding: 15px 0 0;
    }
}

@media (min-width: 768px) {
    .cms-tabs.tabs-vertical {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
    }
}

@media (min-width: 768px) {
    .cms-tabs.tabs-vertical .tabset {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        width: 268px;
        margin: 2px 21px 0 0;
        border-right: 2px solid #d4d4d4;
    }
}

@media (min-width: 768px) {
    .cms-tabs.tabs-vertical .tabset li {
        border: 0;
        width: 100%;
        margin: 0 0 5px 0;
    }
}

.cms-tabs.tabs-vertical .tabset li:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .cms-tabs.tabs-vertical .tabset a {
        display: block;
        padding: 13px 30px;
        border: solid 1px #ddd;
        border-radius: 16px 0 0 16px;
        margin-right: -1px;
    }
}

@media (min-width: 768px) {
    .cms-tabs.tabs-vertical .content-area {
        padding: 0;
    }
}

@media (min-width: 768px) {
    .cms-tabs.tabs-toggle .tabset-holder {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .cms-tabs.tabs-toggle .tabset {
        margin-bottom: 11px;
        overflow: hidden;
        border-radius: 20px;
        background: #e9e9e9;
    }

        .cms-tabs.tabs-toggle .tabset > li {
            border-bottom: 0;
            padding: 3px;
        }

            .cms-tabs.tabs-toggle .tabset > li:nth-child(1), .cms-tabs.tabs-toggle .tabset > li:last-child {
                border-radius: 20px;
            }

    .cms-tabs.tabs-toggle .tabset > li > a {
        border: 0;
        border-radius: 20px;
        text-transform: none;
        color: #2d4668;
        padding: 7px 18px;
        min-width: 131px;
        font-size: 16px;
        line-height: 21px;
    }

    .cms-tabs.tabs-toggle .tabset > li > a:hover,  .cms-tabs.tabs-toggle .tabset > li > a:focus {
        color: #fff;
        background: #2d4668;
    }

   .cms-tabs.tabs-toggle .tabset > li.active a {
        color: #fff;
        background: #2d4668;
    }
}
