/* The navigation menu */
.navbar {
    overflow: visible;
    /*background-color: white !important;*/
    /*margin-bottom: 65px;*/
    align-items: inherit !important;
}

.number-class {
    padding-left: 200px;
    display: inline-grid;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: 14px;
    color: black !important;
    margin-top: auto;
    margin-bottom: auto;
}

/*.number-class:hover {
        color: black;
        background-color: white !important;

    }*/

.header {
    display: none;
}

.fixed-header {
    /*box-shadow: 0px 0.5px !important;*/
    box-shadow: 0px 1px 3.96px 0.04px rgba(0, 0, 0, 0.68);
}
/*.secondnavbar {
    display: none;
    overflow: visible;
     align-items: inherit !important;
    justify-content: flex-end;
    padding: 0rem 0rem;
}*/
.subnavmargin {
    margin-right: 100px;
}

.navbar a {
    float: right;
    font-size: 14px;
    color: white;
    text-align: right;
    padding: 21px 16px;
    text-decoration: none;
}

/*.mainSub > .subnav-content a:hover {
    border-bottom: 8px solid black !important;
}*/


.logo-img {
    position: absolute;
    margin-top: 0px;
    left: 0;
    padding-left: 20px;
    padding-right: 20px;
    padding: 18px 16px !important;
}

    .logo-img:hover {
        background-color: transparent !important;
        background: none;
    }

.navbar {
    justify-content: flex-end;
    padding: 0rem 0rem;
}

.subnav-content a:first-child {
    margin-right: 10%;
}

.subnav {
    float: right;
    overflow: hidden;
    text-transform: uppercase;
}

#staticButton {
    border-bottom: 8.5px solid white !important;
}

    #staticButton:hover {
        border-bottom: 8.5px solid black !important;
    }


.subnav .subnavbtn {
    font-size: 14px;
    /*border: none;*/
    outline: none;
    color: black;
    padding: 20.5px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    text-transform: uppercase;
}

.navbar a:hover {
    background-color: black;
    color: white;
    cursor: pointer;
}

.navbar a:hover, .subnav:hover .subnavbtn {
    background-color: black;
    border-bottom: #c20e1a;
    border-radius: 1px;
    color: white;
    cursor: pointer;
}

.subnav .subnavbtn:hover {
    border-bottom: 8px solid black !important;
}


/*.subnavbtn > subnav-content:hover {
    border-bottom: 8px solid black !important;
}*/

/*.subnavbtn{
        border-bottom: 8px solid white !important;
    }*/



/*.subnavbtn:hover {
    border-bottom: 8px #2c2c2c !important;
}*/

/*.login-button:hover {
    background-color: black !important;
    border-bottom: black !important;
    border-radius: 1px !important;
    color: white !important;
    cursor: pointer !important;
}*/

/*.login-button {
    background-color: #c20e1a !important;
    border-bottom: #c20e1a !important;
    border-radius: 1px !important;
    color: white !important;
    cursor: pointer !important;
    width: 107px !important;
    margin-left: 30px;
    height: 70px;
}*/
.pre_registration {
    font-weight: bold;
    padding-right: 29px !important;
    padding-left: 29px !important;
    background-color: #c20e1a;
    border-bottom: 8px solid #c20e1a;
}

    .pre_registration:hover {
        background-color: black;
        color: black;
        border-bottom: 8px solid black !important;
    }



.subnav:hover .subnavbtn {
    background-color: black;
    border-bottom: 8px solid black;
    border-radius: 1px;
    color: white;
    cursor: pointer;
}


.subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #2c2c2c;
    opacity: 0.8;
    width: 100%;
    z-index: 1;
}

    .subnav-content a {
        margin-right: 20px;
        color: white;
        text-decoration: none;
    }

        .subnav-content a:hover {
            background-color: black;
            color: white;
        }



.subnav:hover .subnav-content {
    display: block;
}

.nav-active {
    border-bottom: 8px solid #c20e1a !important;
    color: #c20e1a !important;
}

    .nav-active:hover {
        color: white !important;
    }

.navbar a:hover, .subnav:hover .nav-active {
    color: white !important;
}
/*.navbar a:hover, .subnav:hover .subnav a {
    
    border-bottom: 8px solid white !important;
}*/

logo-imge {
    margin-top: 10px;
}
@media only screen and (max-width: 1300px) {
    .number-class {
        display: none;
    }
}

@media only screen and (min-width: 1179px) {
    .navbar a {
        float: right;
        font-size: 14px;
        color: white;
        text-align: right;
        /*padding: 21px 14px;*/
        padding: 20px 14px;
        text-decoration: none;
    }
}

@media only screen and (max-width: 1178px) {
    .subnav-content a:first-child {
        margin-right: 0%;
    }

    .subnav-content a {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 1162px) {

    .subnav-content a {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 1014px) {
    navbar a {
        padding: 26.3px 16px !important;
    }
}

@media only screen and (max-width: 1000px) {
    .logo-img {
        max-width: 140px;
        /*margin-top: 27px;*/
    }
}

@media only screen and (max-width: 922px) {

    .navbar a {
        font-size: 12px;
        padding: 22px 16px !important
    }

    .subnavbtn {
        font-size: 12px !important;
        padding: 22px 16px !important;
    }
}

@media only screen and (max-width: 912px) {
    navbar a {
        padding: 26.5px 16px !important;
    }
}

@media only screen and (max-width: 860px) {
    navbar a {
        padding: 24.4px 16px !important;
    }
}

@media only screen and (max-width: 835px) {
    /*.secondnavar {
        display: block !important;
    }*/
    .secondnavbar {
        display: block !important;
    }
}



@media only screen and (max-width: 829px) {

    .navbar a {
        font-size: 11px;
        padding: 22.5px 16px !important;
    }

    .subnavbtn {
        font-size: 11px !important;
        padding: 23px 16px !important;
    }
}

@media only screen and (max-width: 783px) {

    .navbar a {
        font-size: 10px;
        padding: 23px 16px !important;
    }

    .subnavbtn {
        font-size: 10px !important;
    }
}

@media only screen and (max-width: 760px) {
    /*.logo-img {
        display: none;
    }

    .navbar {
        display: none;
    }

    /*.secondnavar {
        display: block !important;
    }*/


    /*.navbar a {
        padding: 25px 16px;
        display: none;
    }
    .fixed-header {
        height: 44px;
    }*/

    /*.header {
        display: block;
    }*/

    /*//changed content 23-April*/
    .header {
        display: block !important;
    }
    /*//end*/
    .fixed-header {
        display: none;
    }

    .login-btn {
        position: absolute !important;
    }

    .brand img {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 479px) {
    .fixed-header {
        height: 44px;
    }

    .navbar a {
        padding: 12px 16px;
    }

    .brand {
        padding-left: 0px;
    }

        .brand img {
            max-width: 77px;
        }
}

@media only screen and (max-width: 400px) {

    .brand img {
        max-width: 77px;
    }
}

@media only screen and (max-width: 300px) {

    .brand img {
        max-width: 49px;
    }
}
