@media (max-width:500px) , (max-device-width:500px){
/**mobile menu fixed**/
    #content {
    	padding-bottom:20px; /* Height of the footer element */
    }
	#leos {
		padding-bottom:50px;
        position:static;
	}
	footer {
		position:static;
	}
    .container {
        width:100%;
    }
    .nomobile {
        display:none;
    }
	.mobile-footer {
	    background:#ff0131;
		display:block;
		width:100%;
		position:fixed;
		bottom:0;
		right:0;
		height:auto;
		z-index:99999;
        text-align:center;
        border-top:1px solid white;
		font-size: 0;
	}
	.mobile-footer div {
		display:inline-block;
        vertical-align:top;
		width:32%;
		border-left:1px solid white;
		height:40px;
        padding: 5px 0;
	}
	.mobile-footer div:last-of-type {
		border-left:0;
	}
	.logo a img {
		width:100%;
		height:auto;
	}
	nav {
		background:#FFFFFF;
		position:fixed;
		height:auto;
		width:100%;
		z-index:999;
		bottom:51px;
		border:1px solid #ff0131;
		border-right:0;
		text-align: center;
	}
	nav.inlinem {
		display:none;
	}
    nav ul ,
	nav ul li ,
	nav ul li a {
		display:block;
		color:#fff;
        width:100%;
        margin:0;
	}
	nav ul li {
		padding:0 !important;
		margin:0 !important;
	}
	nav  ul.menu li a {
		padding:10px 0;
		width:100%;
		display: block;
	}
	nav ul li:after {
		display:none;
	}
	nav .menu li > a:after {
		border-radius: 0;
		border: none;
		background: #ff0131;
		z-index: -1;
	}
	nav .menu li.current_page_item > a,
	nav .menu li.current-menu-item > a,
	nav .menu li:hover > a {
		color: #FFFFFF;
	}
    .mobile-footer div a {
        display:block;
        width:100%;
        height:100%;
    }
	.mobile-menu {
		background:url(../images/icons/mm-menu-w.png) no-repeat center center;
		background-size: auto 80%;
	}
	.firstz {
		background:url(../images/icons/mm-home-w.png) no-repeat center center;
		background-size: auto 80%;
	}
	.second {
		background:url(../images/icons/mm-info-w.png) no-repeat center center;
		background-size: auto 80%;
	}
	.third {
		background:url(../images/icons/mm-phone-w.png) no-repeat center center;
		background-size: auto 80%;
	}
    .sidebar {
        display: block;
        position: fixed;
        top:0;
        right:-100%;
        width:70%;
        max-width:715px;
        background:#ccc;
        overflow-x: hidden;
        overflow-y: scroll;
        height:91%;
        z-index: 998;
        transition:all .5s ease;
    }
    #sidebar {
        width: 82%;
        margin: 0 auto;
    }
    .sidebararrow {
        background: #fff url(../images/arrow.png) no-repeat;
        z-index:997;
        display:block;
        width:21px;
        height:23px;
        position:fixed;
        top:50%;
        margin-top:-10.5px;
        right:0;
        -webkit-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.75);
        -webkit-border-top-left-radius: 6px;
        -webkit-border-bottom-left-radius: 6px;
        -moz-border-radius-topleft: 6px;
        -moz-border-radius-bottomleft: 6px;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }
}