@media (max-width: 987px) {


#header .profile:hover {
	padding-right:16px;
}

#homeBg, .desk {
	display:none;	
}

.mob, #mob, #header .mob {
	display:inline;	
}

#header #logo {
	position:relative;
	background-size:130px;
	margin:0;	
	top:30px;
	left:20px;
}


.weather, .date {
	float:right;	
	padding:13px 10px;
}



.weather {
	min-width:24px;
	padding-left:30px;
}

#header .addad {
	float:right;
	font-size:20px;
	padding:10px 15px 16px 15px;	
}

#header .login, #header .profile, #header .lang, .lang2 {
	min-width:auto;
	float:right;
	padding:12px 16px 18px 16px;	
}

#header .profile:active {
	padding-right:16px;	
}


#header .lang, .lang2, #header .lang:hover, .lang2:hover {
	background-position:38px 20px;
	padding:15px 31px 15px 12px;
}

#header #langa, #header #langa:hover {
	background: #484D51 url(../img/bulletUp.png) no-repeat 40px 20px;
	padding-right:31px;	
}


#header .search {
	background:#eed846 url(../img/search2.svg) no-repeat center center;
	background-size:22px;
	float:right;	
}

#login, #lang, #search {
	
	left:auto;
	top:89px;
	right:0;	
}

.lang2, .lang2:hover {
	
	width:129px;
}

.mmenu, .container {
	width:100%;
	margin:0;
	padding:0;	
}

.sf-menu {
	margin-top:95px;	
}

.sf-menu li {
	position: relative;
	width:50%;
}


#banner2 {
	display:none;	
}

#footer {
	background:none;	
}

#footer .col {
	margin-left:45px;	
}


#addad a {
	min-width:auto;
	margin-right:0;
	padding:10px 10px 10px 25px;
}


#addad #sec {
	/*top:70px;*/
	left:0;
}

#addad #sub {
	/*top:105px;*/
	left:0;
}

.sf-menu li {
	width:33.333%;
}

.swiper-button-next, .swiper-button-prev {
	display:none;	
}


#content {
	padding-top:100px;
}

#registerbox {
	width:100%;
	padding:40px 15px 35px 15px;
	box-sizing: border-box;
}


.lbox, .rbox, #registerbox .label, #registerbox .lbox input, #registerbox .lbox textarea, 
#registerbox select, #registerbox input, #registerbox textarea, #registerbox .textarea, #registerbox .place input, 
#registerbox #shipay {
	width:100%;
	box-sizing: border-box;
}


#registerbox .photo, .deletepic, .photo1, .photo2, .photo3, .photo4, .photo5, .photo6, .photo7, .photo8 {
	width:calc(25% - 4px);
	height:70px;
	background-color:#FFF;
	background-position:center;
	margin:0 2px 2px 0;
}

#shipay #ship, #shipay #pay {
	width:50%;	
}

#registerbox #shipay {
	padding:0 0 15px 0;	
}

#registerbox #shipay .title {
	font-size:18px;
	width:100%;
	text-align: left;
	margin:15px 0 10px 5px;

}

#shipay .lab {
	width:100%;
	margin-left:0;
	margin-right:5px;
}

#ads {
	padding-top:35px;
}

.profile li a {
	padding:0 6px;
}

#content h1 {
	/*margin-top:70px;*/	
}

.rbox {
	margin-top:25px;	
}

.myad {
	max-width:90%;
	margin:0 auto 15px auto;	
}


.myad .image {
	width:100%;
	float:none;

}

.myad .content {
	float:none;
	padding:0;	
}

.myad .title {
	text-align:center;
	padding:5px;	
}

.myad .price {
	margin:5px auto;	
}

.myad .text {
	width:100%;
	height:100px;
	float:none;
	padding:5px 20px;
	box-sizing:border-box;	
}

.myad .buttons {
	display:flex;
	float:none;	
	width:100%;
	margin:2px 0;
	justify-content:center;
}

#content .myad .buttons a {
	display:block;
	position:static;
	float:left;
	width:25%;
	border-right:2px solid #f2f2f2;
	box-sizing:border-box;	
}

#content .myad .buttons .deletead {
	border:none;	
}

.activity {
	width:100%;
	box-sizing:border-box;	
}

.activity span {
	padding:6px 10px 8px 10px;	
}

.activity .views {
	border-right:none;
	padding-right:0;	
}

#content p {
	padding:0 10px;	
}

#cboxContent{ padding:0; }

#ad {
padding:0 15px;

}

#ad .image {
width:100%;
float:none;
height:200px;
}

#ad .thumbs {
width:100%;	
margin-bottom:15px;
}

#ad .thumbs .image {
width:25%;
}


#ad .content {
width:100%;	
float:none;	
padding:0;
}



#ad .content .text {
height:58px;
overflow:scroll;	
}



@media (max-width: 650px) {
.sf-menu li {
	width:50%;
}

}


@media (max-width: 420px) {
.ad  {
	max-width:85%;
	margin:0 auto;	
}

.ad .image {
	height:180px;		
}



}

