@import url("//fonts.googleapis.com/css?family=Cairo:300,400,700");

.container {
    position: relative;
}

.maxwidth {
    max-width: 74rem;
    width: 100%;
    margin: 0 auto;
}

.ux-text h2 {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: .6rem;
    color: #444;
}

.ux-text h3 {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #a0b101;
}

.ux-text p {
    color: #666;
    line-height: 1.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.ux-text p:last-child {
    margin: 0;
}

.ux-vertical-tabs {
    position: relative;
    display: flex;
    background: linear-gradient(to bottom, #eee, #fff 200px);
}

.ux-vertical-tabs .tabs {
    width: 20rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.ux-vertical-tabs .tabs button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 1.2rem;
    width: 100%;
    outline: none;
    text-align: left;
    cursor: pointer;
    border: 0;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    font-size: .85rem;
    color: #666;
    text-transform: uppercase;
    transition: background 250ms ease;
}

.ux-vertical-tabs .tabs button:first-child {
    border-top: 1px solid #ddd;
}

.ux-vertical-tabs .tabs button:hover {
    background: #edf0d0;
}

.ux-vertical-tabs .tabs button.active {
    background: transparent;
    border-right: 0;
    color: #222;
}

.ux-vertical-tabs .tabs button.empty {
    flex: 1;
    border: 0;
    border-right: 1px solid #ddd;
    pointer-events: none;
}

.ux-vertical-tabs .tabs button:hover.empty {
    background: none;
}

.ux-vertical-tabs .tabs button span {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #ccc;
    transform: translateX(1rem);
    opacity: 0;
    transition: all 350ms ease;
}

.ux-vertical-tabs .tabs button:hover span {
    transform: translateX(0);
    opacity: 1;
}

.ux-vertical-tabs .tabs button.active span {
    transform: translateX(0);
    border-left: 6px solid #a0b101;
    opacity: 1;
}

.ux-vertical-tabs .maincontent {
    flex: 1;
    border: 1px solid #ddd;
    border-left: 0;
    padding: 2rem;
    overflow: hidden;
}

.ux-vertical-tabs .maincontent .tabcontent {
    display: none;
}

.ux-vertical-tabs .maincontent .tabcontent.active {
    display: flex;
    flex: 1;
    position: relative;
}

@media (max-width: 50rem) {
    .ux-vertical-tabs {
        flex-direction: column;
        background: none;
    }

    .ux-vertical-tabs .tabs {
        width: 100%;
    }

    .ux-vertical-tabs .tabs button.empty {
        display: none;
    }

    .ux-vertical-tabs .maincontent {
        border: 1px solid #ccc;
        border-top: 0;
        background: linear-gradient(to bottom, #eee, #fff 200px);
    }

    .ux-vertical-tabs .tabs button {
        padding: 1rem;
    }

    .ux-vertical-tabs .tabs button.active {
        background: #eee;
    }

    .ux-vertical-tabs .tabs button span {
        transform: rotate(90deg);
    }

    .ux-vertical-tabs .tabs button:hover span {
        transform: rotate(90deg);
    }

    .ux-vertical-tabs .tabs button.active span {
        transform: rotate(90deg);
    }

    .ux-vertical-tabs .maincontent {
        padding: 1rem;
    }
}


ul.a {
    list-style-position: outside;
    list-style-type: disc;
}

h1 {
    margin: 0;
    line-height: 2;
    text-align: center;
}

h2 {
    margin: 0 0 .5em;
    font-weight: normal;
}

input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.row {
    display: -webkit-box;
    display: flex;
}
.row .col {
    -webkit-box-flex: 1;
    flex: 1;
}
.row .col:last-child {
    margin-left: 1em;
}

/* Accordion styles */
.tabs {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.tab {
    width: 100%;
    color: white;
    overflow: hidden;
}
.tab-label {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 1em;
    background: #2c3e50;
    font-weight: bold;
    cursor: pointer;
    /* Icon */
}
.tab-label:hover {
    background: #1a252f;
}
.tab-label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    -webkit-transition: all .35s;
    transition: all .35s;
}
.tab-content {
    max-height: 0;
    padding: 0 1em;
    color: #2c3e50;
    background: white;
    -webkit-transition: all .35s;
    transition: all .35s;
}
.tab-close {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: #2c3e50;
    cursor: pointer;
}
.tab-close:hover {
    background: #1a252f;
}

input:checked + .tab-label {
    background: #1a252f;
}
input:checked + .tab-label::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
input:checked ~ .tab-content {
    max-height: 100vh;
    padding: 1em;
}