.tabs {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin: 0 0 40px 0;
    padding: 0;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

/* Tabs v2 */
/* via https://github.com/robiveli/tabsy-css */

@-webkit-keyframes showTab {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes showTab {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

.tabs > button {
    width: 100%;
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    outline: 0;
    border: 0;
    vertical-align: baseline;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: transparent
}

.tabs > .tab-button {
    position: relative;
    float: left;
    display: block;
    margin: 0 15px 0 0;
    padding: 15px 20px;
    background: #f4f4f4;
    font-weight: 600;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    cursor: pointer
}

.tabs > .tab-button:hover {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 255, 167, 1);
}

.tabs > input {
    display: none
}

.tabs > input:checked + label,
.tabs > input:checked + .tab-button:hover {
    background: #fff;
    color: rgba(0, 0, 0, 1);
    z-index: 1;
}

.tabs > .tab {
    float: left;
    width: 100%;
    background: #fff;
    padding: 5%;
    margin: 0;
    font-size: 1em;
    line-height: 1.6em;
    display: none;
    -webkit-animation: fadeEffect 1s;
    -moz-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
    position: relative;
    -webkit-box-shadow: 0 25px 35px -10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 25px 35px -10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 25px 35px -10px rgba(0, 0, 0, 0.1);
    display: none;
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    /*overflow-x: scroll;*/
}

.tabs > input:checked + label + .tab {
    display: block;
}

.tabs > input:checked + label + .tab > .meta {
    -webkit-animation: showTab 250ms ease-in-out;
    animation: showTab 250ms ease-in-out;
}

/* Meta info */
.tab .meta {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tabs > .tab p {
    font-size: 1em;
    margin: 0 0 1em;
}

.tabs > .tab ul + p {
    margin: 20px 0 1em 0;
}

.tabs > .tab p:last-of-type {
    margin: 0;
}

.tabs > .tab ul + p:last-of-type {
    margin: 20px 0 0 0;
}

.tab .meta ul.half {
    width: 48%;
    width: calc(50% - 40px);
    margin: 0;
}


.tabs.accordion {
    -webkit-box-shadow: -20px -5px 60px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: -20px -5px 60px rgba(0, 0, 0, 0.06);
    box-shadow: -20px -5px 60px rgba(0, 0, 0, 0.06);
}

.tabs.accordion > .tab {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.tabs.accordion > .tab,
.tabs.accordion > .tab-button {
    -webkit-order: inherit;
    -ms-flex-order: inherit;
    order: inherit;
    padding: 40px;
}

.tabs.accordion > .tab-button {
    width: 100%;
    margin: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.06);
}

.tabs.accordion > .tab-button:first-of-type {
    border-top: 2px solid rgba(0, 0, 0, 0);
}

.tabs.accordion > .tab-button:after {
    content: "+";
    position: absolute;
    right: 40px;
    top: 0;
    font-size: 28px;
    font-weight: 500;
    line-height: 100px;
    padding: 0;
    color: #9CCB3B;
}

.tabs.accordion > input:checked + label.tab-button:after {
    transform: rotate(45deg);
    color: #FFC909;
}




/*
@media screen and (max-width: 767px) {
*/


.tabs {
    /*
        -webkit-box-shadow: -20px -5px 60px rgba(0, 0, 0, 0.06);
        -moz-box-shadow: -20px -5px 60px rgba(0, 0, 0, 0.06);
        box-shadow: -20px -5px 60px rgba(0, 0, 0, 0.06);
        */
}

.tabs > .tab {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.tabs > .tab,
.tabs > .tab-button {
    -webkit-order: inherit;
    -ms-flex-order: inherit;
    order: inherit;
    padding: 20px;
}

.tabs > .tab-button {
    width: 100%;
    margin: 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.tabs > input:checked + label.tab-button {
    border-bottom: 2px solid #f0f;
}

.tabs > .tab-button:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    padding: 20px 0;
    color: #00ffa7;
}

.tabs > input:hover + label.tab-button:after,
.tabs > input:checked + label.tab-button:after {
    color: #f0f;
}

.tabs > input:checked + label.tab-button:after {
    transform: rotate(45deg);
}


/*
}

*/


.subnav .tabs > .tab,
.subnav .tabs > .tab-button,
.tabs > input:checked .tab-button {
    padding: 0;
    background: none;
    border: none !important;
    margin: 0;
}

.subnav .tabs > .tab {
    margin: 20px 0 0 0;
}

.subnav .tabs > .tab-button:after {
    right: 0;
    top: 4px;
    padding: 0;
}


.subnav .tabs h1,
.subnav .tabs h2,
.subnav .tabs h3,
.subnav .tabs h4,
.subnav .tabs h5,
.subnav .tabs h6 {
    margin: 0;
    padding: 4px 0;
}

.subnav.left .tabs .facetwp-facet, .subnav.right .tabs .facetwp-facet {
    padding: 0;
}
