.auxillis-header {
    max-width: 460px;
    max-height: 81px;
    display: inherit;
    position: fixed;
    left: 0;    
    z-index: 1111;
    margin: 15px;
    padding:15px;
    transition: top 0.3s linear;
    -moz-transition: top 0.3s linear;
    -webkit-transition: top 0.3s linear;
}

/*#nav-aux-serv-logo {
    max-height: 56px;
}*/

#colouroverlay {
    background-color: black;
    opacity: 0;
    height: 100%;
    width: 0%;
    position: fixed;
    z-index: 11;
    transition: opacity .3s ease-out;
    -moz-transition: opacity .3s ease-out;
    -webkit-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
}

.mobileauxillislogin {
    font-weight: 700;
    font-size: 1.5rem !important;
    border: none;
    background-color: #3AAA35;
    color: white;
    height: 30px;
    width: 140px;
    position: fixed;
    right: 55px;
    margin-top: 25px;
    text-align: center;
    z-index: 14;
    cursor: pointer;
    padding: 4px;
}

/* Button to show the side navigation */
#nav-showbtn {
    border: none;
    background-color: transparent;
    height: 50px;
    width: 50px;
    position: fixed;
    right: 0px;
    margin-top: 15px;
    z-index: 16;
    cursor: pointer;
    transition: top 0.3s linear;
    -moz-transition: top 0.3s linear;
    -webkit-transition: top 0.3s linear;
}

    #nav-showbtn:focus {
        outline: 0;
    }

#burger-bar1,
#burger-bar2,
#burger-bar3 {
    width: 30px;
    height: 3px;
    background-color: #312783;
    margin: 6px 0;
    transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    -webkit-transition: 0.4s linear;
}

.change #burger-bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.change #burger-bar2 {
    opacity: 0;
}

.change #burger-bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -6px);
    transform: rotate(45deg) translate(-6px, -6px);
}

.sidenavbg {
    z-index: 10;
    height: 80px;
    width: 100%;
    position: fixed;
    overflow-x: inherit;
    padding: 25px 110px 10px 110px;
    margin-bottom: 0px;
    background-color: white;
    opacity: 1.0;
    transition: top 0.3s, opacity 0.3s linear;
    -moz-transition: top 0.3s, opacity 0.3s linear;
    -webkit-transition: top 0.3s, opacity 0.3s linear;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 15; /* Stay on top */
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 120px;
    transition: width 0.3s linear; /* 0.3 second transition effect to slide in the sidenav */
    -moz-transition: width 0.3s linear;
    -webkit-transition: width 0.3s linear;
}

    /* The navigation menu links */
    .sidenav li {
        display: block;
    }

    /* Position and style the close button (top right corner) */
    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        color: #312783;
        height: 25px;
        width: 25px;
        font-size: 50px;
        font-weight: 600;
    }

.navbar-nav {
    margin: 0;
    width: 100%;
}

    .navbar-nav a {
        color: #312783;
        font-weight: 700;
    }

    .navbar-nav > li {
        float: none;
        position: static;
        padding-left: 10%;
        padding-right: 10%;
    }
        /* .dropbtn */
        .navbar-nav > li > a {
            font-size: 2.3rem;
            padding: 15px 0;
            border-bottom: 1px solid #312783;
        }
        /* .navdropbox > a */
        .navbar-nav > li > ul > li > a {
            font-size: 1.6rem;
            padding: 5px 0;
        }

.dropdown-content {
    display: none;
    position: inherit;
    background-color: #fff;
    border-bottom: 1px solid #312783;
    list-style-type: none;
}

    .dropdown-content a {
        display: block;
    }

.dropbtn.open ~ .dropdown-content,
.dropbtn.open ~ .dropdown-content-bg,
.dropdown:hover .dropdown-content,
.dropdown:hover .dropdown-content-bg {
    display: block;
}

div.socialholder-nav {
    width: 220px;
    display: block;
}

div.socialbtn-nav {
    width: 40px;
    height: 40px;
    margin: 10px 0 0 0;
    float: left;
    color: #fff;
    font-weight: 600;
    text-align: left;
    margin-right: 5px;
}

.menubtn {
    background-color: #3AAA35;
    font-weight: 600;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    line-height: 40px;
    min-height: 43px;
    max-width: 160px;
    min-width: 160px;
    width: 160px;
    padding: 1%;
    position: absolute;
    top: 20px;
    left: 10%;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

div.menubtn:hover {
    background-color: #1D561A;
    color: #F9F9F9;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

div.menubtn div.personico img {
    width: 17px;
    height: 17px;
    float: left;
    margin-top: 12px;
    margin-left: 5px;
}

/* Tweaks to display correctly on iPhone5 */
@media only screen and (max-width: 374px) {
    div.menubtn {
        min-width: 80%;
        margin-top: 50px;
    }

        div.menubtn div.personico img {
            margin-top: 5px;
            margin-left: 4px;
            width: 30px;
            height: 30px;
        }

    div.socialbtn-nav {
        margin-right: 10px;
    }
}

@media (min-width: 767px) {
    /* #nav-aux-logo {
        max-width:400px;
        max-height: 81px;
        padding:15px;
    }*/

    #nav-aux-serv-logo {
        max-width: 206px;
        max-height: 77px;
    }
    /* Button to show the side navigation */
    #nav-showbtn {
        height: 50px;
        width: 50px;
        right: 20px;
        margin-top: 20px;
    }

    #burger-bar1,
    #burger-bar2,
    #burger-bar3 {
        width: 35px;
        height: 5px;
        background-color: #312783;
        margin: 6px 0;
        -moz-transition: 0.4s;
        -o-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }

    .change #burger-bar1 {
        -webkit-transform: rotate(-45deg) translate(-9px, 6px);
        transform: rotate(-45deg) translate(-9px, 6px);
    }

    .change #burger-bar3 {
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        transform: rotate(45deg) translate(-8px, -8px);
    }

    .sidenavbg {
        height: 100px;
        opacity: 0.9;
    }

    .navbar-nav > li > a {
        padding: 30px 0;
    }

    .navbar-nav > li > ul > li > a {
        font-size: 2.0rem;
    }
}

/*Customer Login Button Controls*/
@media (min-width:270px) and (max-width: 999px) {
    .mobileauxillislogin {
        display: block !important;
    }
}

@media (min-width:270px) and (max-width: 370px) {
    .mobileauxillislogin {
        font-weight: 600;
        font-size: 1.1rem !important;
        height: 37px;
        width: 59px;
        margin-top: 22px;
        padding: 2px;
    }
}

@media (min-width:767px) and (max-width: 999px) {
    .mobileauxillislogin {
        height: 45px;
        right: 75px;
        padding-top: 12px;
    }
}


@media (min-width: 1105px) {
     

    .mobileauxillislogin {
        display: none;
    }

    /*.auxillis-header {
        margin: 15px 0px 0px 110px;
        z-index: 1100;
    }*/

    .sidenav,
    .sidenavbg {
        height: auto;
        width: 100%;
        position: fixed;
        background: none;
        overflow-x: inherit;
        padding: 15px 15px 0px 15px;
        margin-bottom: 0px;
        transition: top 0.3s, opacity 0.3s linear;
        -moz-transition: top 0.3s, opacity 0.3s linear;
        -webkit-transition: top 0.3s linear, opacity 0.3s linear;
        display: inline;
    }

    .sidenavbg {
        height: 103px;
        z-index: 10;
        background-color: white;
        opacity: 0.9;
    }

    .sidenav:hover + .sidenavbg {
        opacity: 1;
    }

    .sidenav ul.nav {
        float: right;
        position: relative;
    }

    /* Navbar */
    .navbar-nav {
        width: auto;
    }

        .navbar-nav > li {
            padding-left: 0;
            padding-right: 0;
        }

    ul.nav li {
        margin: 10px;
        float: left;
    }

        ul.nav li.dropdown:hover a.dropbtn {
            background-color: transparent;
            color: #3aaa35;
            border-bottom: 2px solid #3aaa35;
        }

        ul.nav li.navdropbox a:hover {
            color: #3aaa35;
        }

    .sidenav > .navbar-nav > li > a {
        padding:20px 5px 0px 5px;
        border-bottom: 0px;
    }

    .sidenav .navbar-nav li a {
        text-decoration: none;
        font-size: .9em;
        font-weight: bold;
        color: #312783;
        width: 100%;
    }

    .sidenav li {
        display: inline-block;
    }

        .sidenav li.dropdown {
            position: static;
        }

    .dropbtn.open ~ .dropdown-content,
    .dropbtn.open ~ .dropdown-content-bg,
    .dropdown:hover .dropdown-content,
    .dropdown:hover .dropdown-content-bg {
        display: block;
    }

    ul.dropdown-content {
        display: block;
        position: absolute;
        top: inherit;
        left: 0;
        background: none;
        width: 100%;
        height: 0;
        padding: 0;
        border: 0px;
        margin-top: 0;
        opacity: 0;
        z-index: 0;
    }

    .dropdown:hover .dropdown-content {
        display: block;
        height: initial;
        opacity: 1;
        padding: 15px;
        margin-top: 0;
        z-index: 1;
        -moz-transition: opacity 0.3s ease 0.5s;
        -webkit-transition: opacity 0.3s ease 0.5s;
        -o-transition: opacity 0.3s ease 0.5s;
        -ms-transition: opacity 0.3s ease 0.5s;
        transition: opacity 0.3s ease 0.5s;
    }

    div.dropdown-content-bg {
        display: block;
        position: fixed;
        top: inherit;
        left: 0;
        background-color: #fff;
        width: 100%;
        height: 0;
        opacity: 0;
        -moz-transition: height 0.2s, opacity 0.2s ease;
        -webkit-transition: height 0.2s, opacity 0.2s ease;
        -o-transition: height 0.2s, opacity 0.2s ease;
        -ms-transition: height 0.2s, opacity 0.2s ease;
        transition: height 0.2s, opacity 0.2s ease;
    }

    .dropdown:hover .dropdown-content-bg {
        display: block;
        height: 60px;
        opacity: 0.8;
        -moz-transition: height 0.5s, opacity 0.5s ease;
        -webkit-transition: height 0.5s, opacity 0.5s ease;
        -o-transition: height 0.5s, opacity 0.5s ease;
        -ms-transition: height 0.5s, opacity 0.5s ease;
        transition: height 0.5s, opacity 0.5s ease;
    }

    ul.dropdown-content a {
        color: black;
        display: block;
        width: 100%;
        height: 100%;
    }

    ul.nav li.navdropbox {
        display: none;
        margin-left: 1%;
        margin-right: 11%;
    }

    .dropdown:hover .dropdown-content .navdropbox {
        display: block;
    }

    .navdropbox a {
        overflow: hidden;
        text-align: left;
    }

    .navdropbox h2 {
        font-size: 21px;
    }

    li.navdropbox:hover a {
        color: #3aaa35;
    }

    .navdropbox p {
        font-size: 13px;
        color: #9F9F9F;
        line-height: 15px;
        white-space: normal;
    }

    .navbuttonholder {
        position: relative;
        top: -30px;
    }

    div.socialholder-nav {
        width: 164px;
        display: block;       
              
    }

    div.socialbtn-nav {
        width: 30px;
        height: 30px;
        margin-top: 2px;
        margin-bottom: 2px;
        margin-right: 0px;
    }

        div.socialbtn-nav > .socialicon {
            width: 25px;
            height: 25px;
            margin: 0px;
            margin-top: 5px;
        }


    div.menubtn {
        position: inherit;
        float: left;
    }

    /* Class to hide something on mobile */
    .mobilebtn {
        display: none;
    }

   

}

/* Adjust spacing on thinner displays to prevent items stacking */
@media (min-width: 1105px) and (max-width: 1105px) {



    /*.auxillis-header {
        margin: 25px 20px;
        width: 15%;
    }*/

    .sidenav {
        padding: 25px 2px 0px 2px;
    }

    .sidenavbg {
        height: 100px;
    }

    ul.nav li {
        margin: 5px 2px;
    }

        ul.nav li a.dropbtn {
            padding: 15px 10px 15px 10px;
        }
}

@media (min-width: 1105px) and (max-width: 1450px) {
    .auxillis-header {
        max-width: 300px;
        max-height: 81px;
        display: inherit;
        position: fixed;
        left: 0;
        z-index: 1111;
        margin: 15px;
        padding: 25px;
        transition: top 0.3s linear;
        -moz-transition: top 0.3s linear;
        -webkit-transition: top 0.3s linear;
    }
}
    /* Adjust spacing on thinner displays to prevent items stacking */
    @media (min-width: 1105px) and (max-width: 1450px) {
        /* .auxillis-header {
        margin: 25px 20px;
        width: 15%;
    }*/

        .sidenav {
            padding: 25px 20px 10px 20px;
        }

        ul.nav li {
            margin: 10px 2px;
        }
    }

    /* classes for moving the nav offscreen. */
    .default {
        top: 0;
    }

    .fixed {
        top: -130px;
    }

    /* Prevent a element scrolling */
    .noscroll {
        overflow: hidden;
    }



    @media(max-width:767px) {
        .auxillis-header {
            max-width: 180px;
            max-height: 81px;
            display: inherit;
            position: fixed;
            left: 0;
            z-index: 1111;
            margin: 5px 0px 0px 5px;
            padding: 0px 0px 0px 0px;
            transition: top 0.3s linear;
            -moz-transition: top 0.3s linear;
            -webkit-transition: top 0.3s linear;
        }
    }