@media (max-width:500px) , (max-device-width:500px){
/**mobile menu fixed**/
    #content {
    	padding-bottom:190px; /* Height of the footer element */
    }
	#leos {
		bottom:52px;
	}
	footer {
		bottom:116px;
		padding-bottom: 10px;
	}
    .container {
        width:100%;
    }
	.mobile-footer {
	    background: #a5cb2f;
		display:block;
		width:100%;
		position:fixed;
		bottom:0;
		right:0;
		height:auto;
		z-index:99999;
        text-align:center;
        border-top:1px solid white;
	}
	.mobile-footer div {
		display:inline-block;
        vertical-align:top;
		width:23%;
		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;
		display:none;
		position:fixed;
		height:auto;
		width:100%;
		z-index:999;
		bottom:51px;
		border-right:0;
		border-top:1px solid #a5cb2f;
	}
    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 5px;
		width:93%;
	}
	nav ul li:after {
		display:none;
	}
    .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%;
	}
	.first {
		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%; 
	}
	.logo.inline {
		display: block;
		width: 80%;
		margin: auto;
	}
	.btncounts.inline {
		display: block;
		margin: 10px auto;
		width: 60%;
	}
	.inline.mailpoet {
		display: block;
		float: none;
		margin:auto;
	}
	header .mailpoet {
		width: 305px;
		margin: 27px 0px 0 10%;
	}
	.contacthome {
		text-align: center;
	}
	.contacthome .wpcf7 {
		width:90%;
	}
	.contacthome p {
		display: block;
		font-size: 25px;
	}
	.contacthome span {
		display: block;
		margin-bottom:10px;
	}
	.contacthome .wpcf7 input:not([type=submit]), .contacthome .wpcf7 select {
		padding: 0 25px 0 0 !important;
		width: 90%;
	}
	.contacthome .wpcf7 select {
		width: 99%;
	}
	.contacthome .wpcf7-form-control-wrap.your-name input {
		background: url(../images/user_icon.png) no-repeat 99% center rgba(0,114,188,0.3);
	}
	.contacthome .wpcf7-form-control-wrap.telephone input {
		background: url(../images/ph_icon.png) no-repeat 99% center rgba(0, 114, 188, 0.3);
	}
	.contacthome .wpcf7-form-control-wrap.email input {
		background:url(../images/mail_icon.png) no-repeat 99% center rgba(0,114,188,0.3);
	}
	.contacthome .wpcf7 select {
		background: url(../images/drop_arrow.png) no-repeat 10px center, url(../images/chat_icon.png) no-repeat 99% center rgba(0,114,188,0.3);
	}
	.halfw {
		width: 90%;
		margin: 15px 5%;
	}
	.services li.service {
		width: 95%;
	}
	.arts li {
		display: block;
		width: 85%;
		margin: 10%;
	}
	.servBtns {
		width: 22.5%;
	}
	.txtdiv {
		width: 90%;
		margin: 10px auto;
	}
	.artpost .entry {
		width: 90%;
		display: block;
		margin: auto;
	}
	.artpost .thimg {
		width: 90%;
		display: block;
		margin: 10px auto;
	}
	.imgserv {
		display: block;
		position: relative;
		width: 100%;
		margin-right: 0%;
		height: auto;
	}
	.imgserv img {
		width: 100%;
		height: auto;
		min-height: 0;
		position: inherit;
	}
	.btncountsf {
		width: 26%;
		margin: 2% 4%;
	}
	.btncountsf h3 {
		font-size: 24px;
	}
	.headserv {
		width: 90%;
		margin: 20px auto;
	}
	.arts > .headserv h2 {
		float:none;
	}
	.arts > .headserv {
		text-align: center;
	}
	.arts > .headserv h3 {
		text-align: center;
	}
	.simg {
		height: auto;
		margin: 20px 0;
	}
	.simg img, .thumbart img {
		width: 100%;
		height: auto;
		min-width: 0%;
		min-height: 0%;
		position: inherit;
		top: auto;
		left: auto;
		-webkit-transform: translate(0%, 0%);
		-moz-transform: translate(0%, 0%);
		-ms-transform: translate(0%, 0%);
		-o-transform: translate(0%, 0%);
		transform: translate(0%, 0%);
	}
	.tagthumb {
		display: inline-block;
		vertical-align: top;
		width: 90%;
		margin: 5%;
		height: auto;
		position: relative;
		overflow: auto;
	}
	.tagthumb img {
		position: inherit;
		width: 100%;
		height: auto;
		min-height: 0;
	}
	.artinfo {
		width: 90%;
	}
	.archposts .supsystic-social-sharing {
		left: 5%;
		bottom: 0;
	}
	.contactinfo {
		width: 90%;
		text-align: center;
		margin-bottom: 30px;
	}
	.contactf {
		width: 90%;
		margin-right: 5%;
	}
	.wpcf7-not-valid-tip {
		top: 0px;
	}
	.formError {
		top: -39px !important;
		left: 0 !important;
	}
	.sub-menu {
		display: none;
	}
	.menu-item-has-children:hover .sub-menu {
		visibility:hidden;
		opacity:0;
		display: none;
	}
	.imgart {
		display: inline-block;
		vertical-align: top;
		position: relative;
		width: 95%;
		border-radius: 0px;
		overflow: hidden;
		height: auto;
		margin: auto;
	}
	.imgart img {
		position: inherit;
		width: 100%;
		height: auto;
		min-height: 0%;
	}
	.arts li p {
		display: inline-block;
		width: 55%;
	}
	.arts li p {
		width: 95%;
	}
	.arts li p a {
		width: 176px;
		margin: 5px 0 0 0;
	}
	header .mailpoet .widget_wysija_cont .wysija-submit {
		position: inherit;
		border-radius: 5px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		font-size: 18px;
		cursor: pointer;
		width: 30%;
		margin: 5px auto 0;
		display: block;
	}
	header .mailpoet .wysija-input {
		width:80%;
		margin-right:4%;
	}
	header .mailpoet .wysija-paragraph {
		width: 100%;
	}
	.btns {
		width:100%;
	}
}