/* Style the tab */
.tab {
    /*overflow: hidden;*/
    border: 2px solid #767676;
    border-bottom: 0;
    background-color: #f6f6ff;
    border-radius: 10px 10px 0 0;
    position: relative;
    bottom: -2px;
    /*z-index: 100;*/
    margin-top: auto;
	width: auto;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 10px;
    transition: 0.3s;
    font-size: 18px;
    min-width: 70px;
    box-sizing: border-box;
}

#areaClear.btn-outline-secondary {
    z-index: unset;
}


/* Create an active/current tablink class */
.tab button.active {
    background-color: #29596f;
    font-weight: bold;
    text-shadow: 1px 1px 3px #000000;
    color: #ffffff;
}

/* Change background color of buttons on hover */
.tab button.tablinks:hover,
button.tablinks:focus {

    z-index: 999;
    position: relative;
    color: white;
    text-shadow: 1px 1px 3px #000000;
    outline: 1px solid #5897fb;
    -webkit-box-shadow: inset 0 -3.25em 0 0 #357b9b, 0 0 5px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 -3.25em 0 0 #357b9b, 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Style the tab content */
.tabcontent {
    display: none;
    border: 2px inset #cdcdcd;
    border-radius: 0 0 5px 5px;
}

.tablinks:first-child {
    border-top-left-radius: 8px;
}

.tablinks:last-child {
    border-top-right-radius: 8px;
}