/* Style the tab */
.tab {
    margin-bottom: -1px;
    overflow: hidden;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: #fff;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    border-top: solid 4px transparent;
    border-left: solid 1px transparent;
    border-right: solid 1px transparent;
    border-bottom: 1px solid #ccc;
    color: #bbb7b8
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    border-top: 4px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom:  solid 1px #fff;
    color: #333
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
}
.tabcontent.open{
    display: block;
}
.tabcontent {
    aanimation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
