﻿.tabhide {
    position: relative;
    margin-bottom: 1px;
    width: 100%;
    overflow: hidden;
}

.tabinput {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tablabel {
    position: relative;
    display: block;
    padding: 0 0 0 1em;
    background: #1ABC9C;
    font-weight: bold;
    line-height: 3;
    cursor: pointer;
    color: White;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    margin: 5px;
    padding: 0 22px;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    background-color: #007bff;
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    /* background: #1abc9c;*/
    -webkit-transition: max-height .35s;
    -o-transition: max-height .35s;
    transition: max-height .35s;
    padding-left: 10px;
    padding-right: 10px;
}

.tab-card {
    position: relative;
    display: -ms-flexbox;
    /*display: flex;*/
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    padding: 1.25rem;
}

    .tab-content p {
        margin: 1em;
    }
/* :checked */
input:checked ~ .tab-content {
    max-height: 10000em;
}
/* Icon */
label::after {
    position: absolute;
    right: 0px;
    top: -15px;
    display: block;
    width: 3em;
    height: 3em;
    line-height: 3;
    text-align: center;
    -webkit-transition: all .35s;
    -o-transition: all .35s;
    transition: all .35s;
    font-size: 24px;
}

input[type=checkbox] + label::after {
    content: "?";
}

input[type=radio] + label::after {
    content: "\25BC";
}

input[type=checkbox]:checked + label::after {
    transform: rotate(360deg);
}

input[type=radio]:checked + label::after {
    transform: rotateX(180deg);
}
