﻿
.ctbtopnav {
    width:100%;
    overflow: hidden;
    background-color: #98B9D8;
}

    .ctbtopnav a {
        float: left;
        display: block;
        color: black;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        background-color: #98B9D8;
    }

    /*.ctbtopnav .active {
        background-color: #FFBC00;
        color: black;
    }*/

.ctbtopnav .icon {
    display: none;
}
   


.dropdown {
    float: left;
    overflow: hidden;
}


    .dropdown .dropbtn {
        font-size: 17px;
        font-weight: bold;
        outline: none;
        border: 0;
        padding: 14px 16px;
        background-color: #98B9D8;
        font-family: inherit;
        margin: 0;
    }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #98B9D8;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
}

    .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

.ctbtopnav a:hover, .dropdown:hover .dropbtn {
    background-color: #FFBC00;
    color: black;
}

.dropdown-content a:hover {
    background-color: #FFBC00;
    color: black;
}

.dropdown:hover .dropdown-content {
    position:relative;
    display: block;
}

@media screen and (max-width: 600px) {
    .ctbtopnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }

    .ctbtopnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .ctbtopnav.responsive {
        position: relative;
    }

        .ctbtopnav.responsive .icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .ctbtopnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }

        .ctbtopnav.responsive .dropdown {
            float: none;
        }

        .ctbtopnav.responsive .dropdown-content {
            position: relative;
        }

        .ctbtopnav.responsive .dropdown .dropbtn {
            display: block;
            width: 100%;
            text-align: left;
        }
}
