﻿html, body {
    margin: 0px;
    padding: 0px;
    min-height: 100%;
    height: 100%;
}

#wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -100px; /* the bottom margin is the negative value of the footer's height */
    position: relative;
}

#wrapper:after {
    content: "";
    display: block;
    height: 100px;
}

#footer1 {
    height: 100px;
}

#logo{
    background-color:#FFF;
    width:100%;
    margin-bottom:-10px;
    
}

#footer-content {
    height: 100px; /* height + top/bottom paddding + top/bottom border must add up to footer height */
    padding: 0px;
    padding-left: 60px;
    margin-left: 140px;
}

.push {
    height: 50px;
    clear: both;
}

#header {
    display:flex;
    height: 100px;
}

#header-content {
    height: 100px; /* height + top/bottom paddding + top/bottom border must add up to footer height */
    padding: 8px;
}

#content {
    /*display:flex;*/
    height: 100%;
    transition: margin-left .5s;
}

#logo h1 {
    margin: 10px;
}

.navListItem {
    padding:0 0 0 0;
    margin:0 0 0 0;
}

.navLink {
    color:white;
    font-size:1em;
    margin-left:20px;
    padding:5px;
    
}

.navLinkSmall {
    color:white;    
    margin-left:20px;
    padding:2px;
    
}

.navList {
    padding-bottom:30px;
}

.navLink:hover {   
    color:#B3B3B3 !important;
}

.navHeading {
    color:white;
    font-size:1.4em;
    margin-left:10px;
}

#sidebar {
    width: 140px;
    position: absolute;
    left: 0;
    top: 110px;
    bottom: -20px;   
    background-color: #002868;
    border-color: #002868;
}

#sidebarSmall {
    font-size:.8em;
    overflow: visible;
    width: 140px;
    height: 100%;
    position: fixed;
    z-index: 1;
    top: 0px;
    left: 0;
    background-color: #002868;
    margin-left: -141px;
    padding-top: 60px;
    transition: 0.4s;
}

#sidebarSmall.active {
    margin-left: 0;
}

#sidebarCollapse {
    display: none;
    border: none;
    width: 40px;
    height: 40px;
    background: transparent;
}
#header .navbar.navbar-expand-lg.navbar-light{
    display:none;
}

#sidebarCollapse span {   
    margin: 5px auto;
    width: 80%;
    height: 2px;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  border:none;
}

#sidebar .dropdown-toggle::after,
#sidebarSmall .dropdown-toggle::after {
    content:none;
}

#sidebar li,
#sidebarSmall li {
    /*margin-top:10px;*/
}

#sidebar li a,
#sidebarSmall li a{
    position: relative;
    display: block;
    /*padding: 10px 15px;
    margin-top: 10px;*/
    border-left: 8px solid transparent;
    color: #fff;
    line-height: 20px;
}

#sidebar li a:hover,
#sidebarSmall li a:hover {
    text-decoration:none;
}

#sidebar li a:focus,
#sidebar li a:active,
#sidebarSmall li a:focus,
#sidebarSmall li a:active {
    border-left: 8px solid white !important;
}

#sidebar .dropdown-item,
#sidebarSmall .dropdown-item{
    padding:0px;
}

#sidebar .dropdown-item:hover, #sidebar .dropdown-item:focus,
#sidebarSmall .dropdown-item:hover, #sidebarSmall .dropdown-item:focus{
    color: #16181b;
    text-decoration: none;
    background-color: transparent; 
}

#dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    /* top right corner of the sidebar */
    top: 10px;
    right: 10px;
}

#dismiss a {
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    display: block;
    transition: 0.1s;
}

#dismiss a:hover{
    cursor:pointer;
}

#main {
    margin-left: 160px;
    margin-right: 20px;
}

#homeHelp{
    display:block;
}

.homeHelpSmall {
    display: none;
}

#btnGovDelivery {
    height: 35px;
    vertical-align: bottom;
    width: 85px;
    text-align: center;
    /*margin-left: 5px;*/

    background-color: #002868;
    /*padding: 10px 20px;*/
    border: 0px solid transparent;
    border-radius: 4px 4px 4px 4px;
    box-shadow: none;
    color: #ffffff;
}



@media (max-width: 768px){
    #homeHelp {
        display: block;
    }

    .homeHelpSmall {
        display: none;
    }

}

@media (max-width: 767px){
    #homeHelp {
        display: none;
    }

    .homeHelpSmall {
        display: block;
    }

}


/* 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: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #002868; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.4s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    display: block;
    transition: 0.1s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover,.sidenav a:focus, .offcanvas a:focus {
    color: #fff !important;
}

/*Position and style the close button (top right corner)*/
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    padding-top: 12px;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
    background-color: transparent !important;   
}

.navbar-collapse {
    padding: 0px !important;        
}

/*border-left and style for the focus of a in the navbar and sub menu */
.navbar-fixed-left .navbar-nav > li >a:focus,.dropdown-menu a:focus {       
    text-decoration: none;
    border-left: 8px solid white !important;
}

/*added so that text dont shift to left border-left and style for the focus of a in the navbar and sub menu  */
.navbar-fixed-left .navbar-nav > li >a, .dropdown-menu a{
    border-left:8px solid transparent;
}

.navbar-fixed-left .navbar-nav > li >a, .navbar-nav > li > a{
    border-left:8px solid transparent;
}
.navbar-inverse .navbar-nav > li > a:focus {       
    text-decoration: none;
    border-left: 8px solid white !important;
}

.navbar-inverse .navbar-nav > li > a:focus {
    outline-color:transparent !important;    
}

.nav > li > a:focus {
    outline-color:transparent !important;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus{
    border-color:transparent !important;
}

.closebtn a:focus{
    color:white !important;
}
.dropdown-menu > li > a:focus{
    outline-color:transparent !important;
}
