.nav-button, #nav-top .logo, .mobile-footer { 
    display: none; 
} 

.nav-bar {
    height: 100%;
	display: inline-block;
}

@media only screen and (min-width: 0px) and (max-width: 1101px) {

	
    
    .nav-bar {
        position: absolute;
        bottom: 0;
        height: 100%;
        left: 0;
		top: 0;
        z-index: 5;
		display: flex;
		align-items: center;
    }
    
	.nav-button {
		
        display: inline-block;
        position: relative;
        vertical-align: top;
        top: 0;
		
		left: 7px;
		width: 40px;
		height: 26px;
		
        
        background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
        color: #FFF;
        
		cursor: pointer;
		border: 0 none;
		border-bottom: 1px solid rgba(255,255,255,.1);
		box-shadow: 0 0 4px rgba(0,0,0,.7) inset;
		border-radius: 5px;
		
        
        transition: background 0.3s;
	}
    .nav-button span {
        text-indent: -9999px;
        position: absolute;
    }
    .nav-button::after {
        width: 100%;
        height: 100%;
        position: absolute;
        content: "\f0c9";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 22px;
        line-height: 1;
        color: #FFF;
        top: 0;
        left: 0;
        padding: 2px 0;
    }
	.nav-button:hover { 
		background-color: rgba(0,0,0,0.8); 
	}
	.nav-button.open, #nav-top.open .nav-button {
		
        background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
	}
    #nav-top.open .nav-button::after {
        content: "\f00d";
    }
    #nav-top.open .nav-button {
        float: right;
        left: 0;
        right: 0;
        top: 10px;
        margin-right: 10px;
        background-color: #333;
        transition: all 0.3s;
    }
    #nav-top.open .nav-button:hover {
        background-color: #666;
    }
	
	

	
	
	#nav {
		height: 50px;
	}
	
	#nav-top {
		width: 100%;
		float: none;
		height: 50px;
		margin: 0;
		padding: 0;
		overflow: hidden;
		box-shadow: 0 1px 2px rgba(0,0,0,.6);
		position: relative;
		top: 0px;
		left: 0px;
		z-index: 998;
		clear: both;
        display: none;
	}
	#nav-top li {
		width: 100%;
		font-family: Arial;
		
	}
	#nav-top.open li a, #nav-top.open li .a {
		display: block;
		width: 100%;
		padding: 10px 5%;
		font-size: 14px;
		font-weight: bold;
		text-shadow: -1px -1px 0 rgba(0,0,0,.15);
		color: white;
		text-decoration: none;
		cursor: pointer;
	}
    #nav-top.open ul.root-menu > li a, #nav-top.open ul.root-menu > li .a {
		border-bottom: 1px solid rgba(255,255,255,0.2); 
	}
	#nav-top li a:hover, #nav-top li .a:hover {
		background-color: rgba(0,0,0,.5);
		border-top-color: transparent;
	}
	#nav-top > li:first-child {
		border-top: 1px solid rgba(0,0,0,.2);
	}

	
    
    #nav.open .nav-bar .nav-button {
        display: none;
    }
	#nav-top.open { 
        display: block;
		height: 100%; 
		
        box-shadow: 0 50px 50px 20px #000;
		position: fixed;
        z-index: 100;
		left: 0;
		top: 0;
		max-width: 500px;
		background: rgba(51,51,51,0.98);
        overflow-y: auto;
		text-align: left;
	}
    #nav-top .logo {
        display: block;
        margin: 10px auto;
        width: 90%;
        max-width: 250px;
    }
    #nav-top.open > ul.root-menu {
        clear: both;
        margin-top: 30px;
    }
    #nav-top.open ul.root-menu, #nav-top.open ul.root-menu ul {
        width: 100%;
        position: relative;
        left: 0;
    }
	#nav-top.open li { 
		display: block; 
        width: 100% !important;
        margin-left: 0;
	}
    #nav-top.open ul.root-menu > li a, #nav-top.open ul.root-menu > li .a {
        padding-left: 15px !important;
    }
	.home #nav ul li.parent::after {
		display: none;
	}
    .home #nav.open ul li.parent:first-child {
        margin-left: 0;
    }
	

	#nav-top > li:hover > a {
		background: rgba(0,0,0,.5);
		border-bottom-color: transparent;
	}
	#nav-top li.parent > a:after, #nav-top li.parent > .a:after {
		content: "▼";
		color: rgba(255,255,255,.5);
		float: right;
	}
	#nav-top li.parent > a:hover {
		background: rgba(0,0,0,.75);
	}
    #nav-top.open ul ul li a {
        width: Calc(100% - 20px);
        display: inline-block;
        margin-left: 10px;
    }
    #nav-top.open ul ul li:before {
        content: "> ";
        display: inline-block;
    }
	#nav-top.open li ul {
		display: none;
		
		border-top: 0 none;
		padding: 0;
        left: 30px !important;
        width: Calc(100% - 30px) !important;
	}
    #nav.open li:hover li {
        background: none;
        border: 0;
        box-shadow: none;
    }
    #nav-top.open li ul ul {
        display: none !important;
    }
	#nav-top li ul a {
		border: 0 none;
		font-size: 12px;
		padding: 10px 5%;
		font-weight: normal;
	}
	#nav-top li:hover > ul, #nav-top li.active > ul {
		display: block !important;
		border-top: 0 none;
	}

	#nav-top li li li {
		margin: 0 0 0 20px;	
	}
    #nav-top.open .mobile-footer {
        display: block;
    }
    #nav-top.open li li:hover a.lv1a::after, #nav-top.open li li:hover .a.lv1a::after {
        content: none;
    }
    .mobile-footer {
        margin-top: 30px;
        text-align: center;
    }
    .mobile-footer .quick-links {
        margin-top: 30px;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-footer .quick-links li {
        display: block;
        margin: 0 0 3px 0 !important;
    }
    .mobile-footer .quick-links li a {
        color: #FFF;
        display: inline-block;
        padding: 5px !important;
        border: 0 none !important;
        font-weight: 400 !important;
    }
	
	.kb.full-width .use-sidebar #sidebar {
		display: none;
	}
	.kb.full-width .use-sidebar #content {
		width: 100%;
		margin-left: 0;
	}
} 
