.tab-wrapper {
    display: flex;
    flex-direction: column;
}
.tab-wrapper .tab-headers {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}
@media(max-width: 574px) {
    .tab-wrapper .tab-headers {
        flex-direction: column;
        border-bottom: none;
    }
}
.tab-wrapper .tab-headers > li {
    font-weight: bold;
    border: 1px solid #f39200;
    border-bottom: none;
    cursor: pointer;
    display: block;
    padding: 1.3rem 2rem;
    
    -webkit-border-top-left-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-topright: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    line-height: 1;
    background: #f6ab38;
}
@media(max-width: 574px) {
    .tab-wrapper .tab-headers > li {
        border-radius: 0!important;
        border: 1px solid #f39200!important;
        border-top: 1px solid #f39200!important;
    }
}
.tab-wrapper .tab-headers > li.active {
    background: none;
    border-width: 2px;
    border-color: #f39200;
    border-bottom: none;
    background-color: #fff;
    position: relative;
    border-left-width: 1px!important;
    border-right-width: 1px!important;
}
.tab-wrapper .tab-headers > li:first-child {
    border-left-width: 2px!important;
}
.tab-wrapper .tab-headers > li:last-child {
    border-right-width: 2px!important;
}
.tab-wrapper .tab-headers > li.with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.tab-wrapper .tab-headers > li.with-icon svg {
    height: 30px;
    width: auto;
}
.tab-wrapper .tab-headers > li.with-icon svg path {
    fill: #3c3c3c;
}
.tab-wrapper .tab-headers > li.active:after {
    content: "";
    position: absolute;
    bottom: -2px;
    background-color: #fff;
    left: 0;
    right: 0;
    height: 2px;
}
@media(max-width: 574px) {
    .tab-wrapper .tab-headers > li.active {
        border: 2px solid #f39200!important;
    }
}
.tab-wrapper .tab-bodies {
    list-style-type: none;
    padding: 20px;
    border: 2px solid #f39200;
    margin-top: 0;
    background-color: #fff;
}
.tab-wrapper .tab-bodies table tr {
    border: none;
}
.tab-wrapper .tab-bodies table tr td {
    vertical-align: top;
    padding: 10px 24px;
}

.tab-wrapper .tab-bodies section {
    background: none;
}

.tab-wrapper .tab-bodies > li .m-text-media + .m-text-media {
    padding-top: 0;
}
