﻿.tabs {
    max-width: 99%;
    float: none;
    list-style: none;
    padding: 0;
  
    border-bottom: 4px solid #ccc;
}

    .tabs:after {
        content: '';
        display: table;
        clear: both;
    }

    .tabs input[type=radio] {
        display: none;
    }

    .tabs label {
        
        background-color: var(--PrimaryColor);
        float: left;
        width: 25%;
        margin: 0px;
        padding: 10px 0 10px 0;
        font-size: 160%;
        font-weight: normal;
        text-decoration: none;
        text-align: center;
        line-height: 2;
        cursor: pointer;
        box-shadow: inset 0 4px #ccc;
        border-bottom: 4px solid #ccc;
    }
        /*
.tabs label span {
    display: none;
}
*/
        .tabs label i {
            padding: 5px;
            margin-right: 0;
        }

        .tabs label:hover {
            color: var(--SecondaryColor);
            box-shadow: inset 0 4px var(--SecondaryColor);
            border-bottom: 4px solid var(--SecondaryColor);
        }

.tab-contents {
    color: var(--SecondaryColor);
    width: 100%;
    float: left;
    padding: 15px;
    box-sizing: border-box;
    background-color: var(--NeutralColor);
}

    .tab-contents * {
        -webkit-animation: scale 0.7s ease-in-out;
        -moz-animation: scale 0.7s ease-in-out;
        animation: scale 0.7s ease-in-out;
    }
/*
.tabs label {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
@keyframes scale {
  0% {
    transform: scale(0.9);
    opacity: 0;
    }
  50% {
    transform: scale(1.01);
    opacity: 0.5;
    }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
*/

/*.tabs [id^="tab"]:checked + label {
    background: var(--PrimaryColor);
    box-shadow: inset 0 4px var(--SecondaryColor);
    border-bottom: 4px solid var(--SecondaryColor);
    color: var(--NeutralColor);
}*/

#tab1:checked ~ #tab-contents1,
#tab2:checked ~ #tab-contents2,
#tab3:checked ~ #tab-contents3,
#tab4:checked ~ #tab-contents4 {
    display: block;
}

/*@media (min-width: 768px) {
    .tabs i {
        padding: 5px;
        margin-right: 10px;
    }

    .tabs label span {
        display: inline-block;
    }

    .tabs {
        max-width: 750px;
        margin: 50px auto;
    }
}*/
/* Style the tab content */
