/***** Start of primary nav ******/
#menu-button {
    display: none;
}

nav.mobile {
    display: none;
}

/*=======================
		  HEADER
=========================*/
.header {
    position: relative;
    background: #fff;
    height: 65px;
}

.logobox {
    position: absolute;
    top: .75em;
    left: 6em;
    z-index: 800;
}

.logobox img {
    width: 23.3vw;
    margin: 0 auto;
}

header .info {
    position: absolute;
    right: 2em;
    top: .75em;
    text-align: right;
}

.info p,
.info a {
    font-weight: bold;
}

.spacing {
    height: 30px;
}

/*=======================
	MAIN NAVIGATION
=========================*/
nav.primary {
    display: block;
    margin: 0 auto;
    width: 100%;
    z-index: 710;
    text-align: center;
    /*padding: 15px 0;*/
    top: 0;
    border-bottom: 8px solid #d21b3d;
}

.primarywidth {
    text-align: right;
    height: auto;
    float: right;
    /*width: 60%;*/
    position: relative;
    top: 8px;
    background: #d21b3d;
    border-radius: 15px 0 0 0;
    padding-right: 3em;
    padding-left: 1em;
}

nav.primary ul {
    list-style: none;
    margin: 0px 0;
    background-color: #d21b3d;
    border-radius: 10px 0 0 0;
}

nav.primary ul li {
    display: inline-block;
    position: relative;
    text-align: center;
    background: #d21b3d;
    width: auto;
    border-radius: 10px 0 0 0;
}

/*.navlink {padding: 3px 30px;}*/

nav.primary ul li a {
    color: #fff;
    font-size: max(15px, 1.02vw);
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
    -webkit-transition: .4s ease-in;
    -moz-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    transition: .2s ease-in;
    text-align: center;
    padding: 15px 15px;
}

nav.primary ul li a:hover {
    background: #93132B;
    font-weight: 400;
}

/* Appearance of the sub-level links */
nav.primary ul li li a {
    font-size: 16px;
    line-height: 16px;
    padding: 10px 0 10px 10px;
    color: #393939;
    background: #fff;
    text-align: left;
    position: relative;
    width: 200px;
    -webkit-box-shadow: 0px 15px 30px -3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 15px 30px -3px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 15px 30px -3px rgba(0, 0, 0, 0.5);
}

/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
    color: #fff;
    background: #93132B;
}

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute;

}

nav.primary ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}

nav.primary ul li:hover>ul {
    display: block;
    line-height: 18px;
    z-index: 100;
}

nav.primary ul ul li {
    float: none;
    width: 150px;
    position: relative;
    margin: 0;
    display: block;
}

/*=======================
	END OF MAIN NAVIGATION
=========================*/

/*==============================
	Mobile Nav Styles			
================================*/

@media screen and (max-width: 1550px) {
    .logobox {
        left: 3em;
        top: .25em;
    }

    nav.primary ul li a {
        font-size: 15px;
    }

    .logobox img {
        width: 90%;
    }
}

@media screen and (max-width: 1350px) {

    .navlink {
        padding: 0px .45em;
    }

    .logobox {
        left: 1em
    }

    /*nav.primary ul li a {font-size: 17px;}*/
    .logobox {
        left: auto;
        text-align: center;
    }
}

@media screen and (max-width: 1290px) {
    .primarywidth {
        margin-left: 0em;
        float: none;
        width: 100%;
    }

    .navlink {
        padding: 0 0;
    }
}

@media screen and (max-width: 1130px) {

    nav.primary {
        display: none;
    }

    .info p {
        font-size: 15px;
        position: relative;
        z-index: 300;
    }

    .header {
        height: 35px;
    }

    .logobox {
        position: relative;
        width: 100%;
        text-align: center;
        z-index: 1;
        left: 0;
        top: 0;
        background: #ffffff;
    }

    .logobox img {
        width: 350px;
        z-index: 10
    }

    .nav.primary ul li a {
        font-size: 17px;
    }

    #menu-button {
        display: block;
        font-size: 27px;
        z-index: 8500;
        background: #d21b3d;
        width: auto;
        color: #fff;
        margin: 0 0 0 0;
        top: 68px;
    }

    #menu-button a {
        color: #fff;
        text-decoration: none;
        padding-left: 5px;
        font-weight: bold;
        font-family: 'Poppins', sans-serif;
    }

    nav.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #000;
        z-index: 9000;
        /* needs to be higher than #menu-button AND sticky nav */
        overflow: auto;
        text-align: left;
    }

    /* MENU HEADER STYLES */
    nav.mobile .mobile_top {
        position: relative;
        display: block;
        padding: 0;
        margin: 15px 0 10px 0;
        color: #fff;
        font-size: 18px;
        font-weight: 400;
    }

    /* MENU CLOSE 'X' BUTTON */
    nav.mobile .menu-toggle {
        position: absolute;
        padding: 5px 7px 5px 8px;
        font-family: Arial, sans-serif;
        font-size: 24px;
        font-weight: bold;
        line-height: 1;
        background: #222;
        color: #999;
        text-decoration: none;
        right: 15px;
        z-index: 2100;

    }

    nav.mobile .menu-toggle:hover {
        color: #a2a2a2;
    }

    /* MENU LIST STYLE */
    nav.mobile ul {
        list-style: none;
        font-weight: 300;
        margin: 0;
        padding: 0;
    }

    nav.mobile ul li {
        position: relative;
    }

    /* FIRST LEVEL */
    nav.mobile ul li a {
        position: relative;
        display: block;
        font-size: 15px;
        padding: 10px;
        font-family: 'Poppins', sans-serif;
        color: #999;
        text-decoration: none;
        font-weight: 500;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    }

    nav.mobile ul li a:hover {
        background: rgba(45, 45, 45, 0.5);
        color: #fff;
        border-left: 4px #d21b3d solid;
        /* border highlight - Change to fit match site colors */
    }

    /* SECOND LEVEL */
    nav.mobile ul li li:last-child {
        border: none;
    }

    nav.mobile ul li li a {
        background: #444;
        position: relative;
        display: block;
        padding: 10px 0 10px 25px;
        color: #ccc;
        text-decoration: none;
    }

    nav.mobile ul li li a:hover {
        background: rgba(65, 65, 65, 0.5);
    }

    /* THIRD LEVEL */
    nav.mobile ul li li li:last-child {
        border: none;
    }

    nav.mobile ul li li li a {
        background: #555;
        position: relative;
        display: block;
        padding: 10px 10px 10px 25px;
        color: #ccc;
        text-decoration: none;
        border-left: 4px #555 solid;
    }

    nav.mobile ul li li li a:hover {
        background: rgba(85, 85, 85, 0.5);
    }

    nav.mobile ul li .click {
        /* dropdown menu idicator arrow be sure to include this image with your image files */
        /*position: absolute;*/
        display: block;
        cursor: pointer;
        z-index: 12399994;
        top: 0;
        right: 0;
        width: auto;
        height: auto;
        /*padding: 17px 20px;*/
        color: #999;
    }

    .nav-footer {
        color: #a2a2a2;
        position: relative;
        text-align: center;
        font-size: 13px;
        line-height: 16px;
        padding: 15px 5px;
        font-family: 'Poppins', sans-serif;
    }

    .nav-footer a:hover {
        color: #cc052e;
    }
}

@media screen and (max-width: 545px) {
    .hidden {
        left: 29%;
    }

    .logobox img {
        width: 315px;
    }

    .info {
        right: .35em;
        top: .35em;
        text-align: right;
    }
}

@media screen and (max-width: 400px) {
    .hidden {
        left: 25%;
    }
}


@media screen and (max-width: 375px) {
    .hidden {
        left: 21%;
    }
}