/* ============================================================
   PCSS3T — Tab system (pure CSS)
   ============================================================ */

.pcss3t {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    font-size: 0;
    text-align: left;
}

.pcss3t > input {
    position: absolute;
    left: -9999px;
}

.pcss3t > label {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    cursor: pointer;
    transition: all 0.1s;
}

.pcss3t > input:checked + label {
    cursor: default;
}

.pcss3t > ul {
    list-style: none;
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    font-size: 13px;
}

.pcss3t > ul > li {
    position: absolute;
    width: 100%;
    overflow: auto;
    box-sizing: border-box;
    opacity: 0;
    transition: all 0.5s;
}

.pcss3t > .tab-content-first:checked ~ ul .tab-content-first,
.pcss3t > .tab-content-2:checked ~ ul .tab-content-2,
.pcss3t > .tab-content-3:checked ~ ul .tab-content-3,
.pcss3t > .tab-content-4:checked ~ ul .tab-content-4,
.pcss3t > .tab-content-5:checked ~ ul .tab-content-5,
.pcss3t > .tab-content-6:checked ~ ul .tab-content-6,
.pcss3t > .tab-content-7:checked ~ ul .tab-content-7,
.pcss3t > .tab-content-8:checked ~ ul .tab-content-8,
.pcss3t > .tab-content-9:checked ~ ul .tab-content-9,
.pcss3t > .tab-content-last:checked ~ ul .tab-content-last {
    z-index: 1;
    top: 0;
    left: 0;
    opacity: 1;
    -webkit-transform: scale(1, 1);
    -webkit-transform: rotate(0deg);
}

/* Auto height */

.pcss3t-height-auto > ul {
    height: auto !important;
}

.pcss3t-height-auto > ul > li {
    position: static;
    display: none;
    height: auto !important;
}

.pcss3t-height-auto > .tab-content-first:checked ~ ul .tab-content-first,
.pcss3t-height-auto > .tab-content-2:checked ~ ul .tab-content-2,
.pcss3t-height-auto > .tab-content-3:checked ~ ul .tab-content-3,
.pcss3t-height-auto > .tab-content-4:checked ~ ul .tab-content-4,
.pcss3t-height-auto > .tab-content-5:checked ~ ul .tab-content-5,
.pcss3t-height-auto > .tab-content-last:checked ~ ul .tab-content-last {
    display: block;
}

/* Grid */

.pcss3t .grid-row {
    margin-top: 20px;
}

.pcss3t .grid-row:after {
    content: '';
    display: table;
    clear: both;
}

.pcss3t .grid-row:first-child {
    margin-top: 0;
}

.pcss3t .grid-col {
    display: block;
    float: left;
    margin-left: 2%;
}

.pcss3t .grid-col:first-child {
    margin-left: 0;
}

.pcss3t .grid-col .inner {
    padding: 10px 0;
    border-radius: 5px;
    background: #f2f2f2;
    text-align: center;
}

.pcss3t .grid-col-1 { width: 15%; }
.pcss3t .grid-col-2 { width: 32%; }
.pcss3t .grid-col-3 { width: 49%; }
.pcss3t .grid-col-4 { width: 66%; }
.pcss3t .grid-col-5 { width: 83%; }

.pcss3t .grid-col-offset-1            { margin-left: 19%; }
.pcss3t .grid-col-offset-1:first-child { margin-left: 17%; }
.pcss3t .grid-col-offset-2            { margin-left: 36%; }
.pcss3t .grid-col-offset-2:first-child { margin-left: 34%; }
.pcss3t .grid-col-offset-3            { margin-left: 53%; }
.pcss3t .grid-col-offset-3:first-child { margin-left: 51%; }
.pcss3t .grid-col-offset-4            { margin-left: 70%; }
.pcss3t .grid-col-offset-4:first-child { margin-left: 68%; }
.pcss3t .grid-col-offset-5:first-child { margin-left: 85%; }

/* Steps */

.pcss3t-steps > label {
    cursor: default;
}

/* Animation effects */

.pcss3t-effect-scale > ul > li  { -webkit-transform: scale(0.1, 0.1); }
.pcss3t-effect-rotate > ul > li { -webkit-transform: rotate(180deg); }
.pcss3t-effect-slide-top > ul > li    { top: -40px; }
.pcss3t-effect-slide-right > ul > li  { left: 80px; }
.pcss3t-effect-slide-bottom > ul > li { top: 40px; }
.pcss3t-effect-slide-left > ul > li   { left: -80px; }

/* Layouts */

.pcss3t-layout-top-right  { text-align: right; }
.pcss3t-layout-top-center { text-align: center; }

.pcss3t > .right { float: right; }

/* Responsiveness */

@media screen and (max-width: 767px) {
    .pcss3t > label   { display: block; }
    .pcss3t > .right  { float: none; }
}

/* Default theme */

.pcss3t > label {
    padding: 0 20px;
    background: #e5e5e5;
    font-size: 13px;
    line-height: 49px;
}

.pcss3t > label:hover {
    background: #f2f2f2;
}

.pcss3t > input:checked + label {
    background: #fff;
}

.pcss3t > ul {
    background: #fff;
    text-align: left;
}

.pcss3t-steps > label:hover {
    background: #e5e5e5;
}

/* Theme 1 */

.pcss3t-theme-1 > label {
    margin: 0 5px 5px 0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px rgba(0, 0, 0, 0.2);
    color: #044273;
    opacity: 0.8;
}

.pcss3t-theme-1 > label:hover {
    background: #fff;
    opacity: 1;
}

.pcss3t-theme-1 > input:checked + label {
    margin-bottom: 0;
    padding-bottom: 5px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    color: #009FE3;
    opacity: 1;
}

.pcss3t-theme-1 > .tab-content-first:checked ~ ul {
    border-top-left-radius: 0;
}

@media screen and (max-width: 767px) {
    .pcss3t-theme-1 > label {
        margin-right: 0;
    }

    .pcss3t-theme-1 > input:checked + label {
        margin-bottom: 5px;
        padding-bottom: 0;
        border-radius: 5px;
    }

    .pcss3t-theme-1 > .tab-content-first:checked ~ ul {
        border-top-left-radius: 5px;
    }
}

.pcss3t iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

/* Height */

.pcss3t > ul,
.pcss3t > ul > li {
     height: auto;
    min-height: 370px;
}

