.tab {
    overflow: hidden;
    background-color: white;
    border-radius: 10px;
}

.insightTab {
    display: flex;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.insightTab .tablinks.active {
    background-color: #DC8419;
    color: white;
        font-weight: bold;
}

.insightTab button:focus {
    border: none;
    outline: none;
}

.insightTab button {
    padding: 11px 19px;
    background-color: white;
    border: none;
    font-family: 'Calibri',sans-serif!important;
    font-size: 20px;
    font-weight: 400;
    flex: 1;
    color: #212529;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #DC8419;
    color: white;
    
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #DC8419;
    color: white;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}


/* Fade in tabs */
@-webkit-keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



@media only screen and (max-width:770px) {
    .insightTab .tablinks.active {
        font-weight: normal;
    }

    .insightTab .tablinks {
        background-color: transparent;
        padding: 4px 6px;
    }
    .insightTab {
        gap: 10px;
    }
    .insightTab .tablinks.active {
        border-bottom: 1px solid #DC8419;
        color: #DC8419;
        background-color: transparent;
    }

    .insightTab button {
        flex: unset;
    }
    .tab {
        display: flex;
    }
    .tab button {
        padding: 10px;
        font-size: 14px;
    }
}

@media only screen and (max-width:450px) {
    .insightTab {
        gap: 0px;
    }
    .insightTab .tablinks {
        font-size: 18px;
    }
}
@media only screen and (max-width:400px) {
    .insightTab {
        gap: 0px;
    }

        .insightTab .tablinks {
            font-size: 18px;
        }
}
@media only screen and (max-width:330px) {
   .insightTab .tablinks {
        font-size: 15px;
    }
}