/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

	.headermy{
	padding-top: 15px;
	padding-bottom: 15px;
	background: url(../img/back_top_900.jpg) no-repeat top center ;
    background-size:  cover; /* Современные браузеры */
}

.text_top_m {
	padding: 20px;
background: rgba(255,255,255,0.5);
	border-radius: 15px;
}
.text_top_m span{
text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff;
font-size: 18px;
}


.bordermy{
	padding: 5px!important;
}
.phones span{
	font-size: 12px!important;
}
.phones img{
width:22px;
height:22px!important;	
}
.container {
	width: 100%;
} 
.slogan {
			font-weight: 800;
			 font-size: 25px;
			 text-transform: uppercase;
			 margin-top: auto;
			 margin-bottom: auto;
}
.phone img {
	height: 20px!important;
	float: left;
}
.logomy p{
	text-align: right;
	position: absolute!important;
	top: 14px;
	right: 10px;
	line-height: 1.3;
}

	.sell_right .button {
		margin: 15px auto;
		float: none;
		max-width: 250px;
	}
	.sell_descr {
		text-align: center;
	}

	.maian_mnu ul {
		background-color: #3797bf;
		display: none;
		position: absolute;
		width: 100%;
	}
	.maian_mnu ul li {
		display: block;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	
	.headermy{
	padding-top: 15px;
	padding-bottom: 15px;
	background: url(../img/back_top.jpg) no-repeat top center ;
    background-size:  cover; /* Современные браузеры */
}
	.thumbnail { background-color: rgba(255,255,255, 0.5);}
	
	.backmobcar { 
	
background: url(../img/back5.jpg) no-repeat top center fixed;
    -moz-background-size: 100% 100%; /* Firefox 3.6+ */
    -webkit-background-size: 100% 100%; /* Safari 3.1+ и Chrome 4.0+ */
    -o-background-size: 100% 100%; /* Opera 9.6+ */
    background-size:  100% 100%; /* Современные браузеры */
}


		.back_mob  li{ 
background: #fff;
}

	.back_mob { 
background: url(../img/back.jpeg) no-repeat top center fixed;
    -moz-background-size: 100% 100%; /* Firefox 3.6+ */
    -webkit-background-size: 100% 100%; /* Safari 3.1+ и Chrome 4.0+ */
    -o-background-size: 100% 100%; /* Opera 9.6+ */
    background-size:  100% 100%; /* Современные браузеры */
}

	.top_links {
		background-color: #585d61;
		display: none;
		margin-top: 15px;
		padding: 14px;
		position: absolute;
		vertical-align: middle;
		width: 100%;

	}

.bordermy img{
	height: 60px;
}	
.bordermy button{
	width: 90%;
}
.button.small {
font-size: 12px!important;
}	
	.slogan {
			font-weight: 800;
			 font-size: 14px;
			 text-transform: uppercase;
			 margin-top: auto;
			 margin-bottom: auto;
}
.phone img {
	height: 20px!important;
	float: left;
}
.logomy img{
	
	padding-left: 10px;
	padding-top: 10 px;
	padding-bottom: 10px;
}
.logomy p{
	text-align: right;
	position: absolute!important;
	top: 14px;
	right: 10px;
	line-height: 1.6;
}


.navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
background: #fff;
}
}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.bordermy{
	padding-top: 15px!important;
	text-align: center;
}
	
	.headermy button { max-width: 160px;}
.phones b{
	font-size: 18px;
	position: relative;
	bottom: 0px;
	right: 0px;
	color: black;
}
.modav_photo img{
	width: 90%;
}

.mytable_admin_td {width: 100%;} 

.slogan {
	font-weight: 800;
			 font-size: 16px;
			 text-transform: uppercase;
			 margin-top: auto;
			 margin-bottom: auto;
			 }
			 
			 
.logomy { width: 100%;}			 
.bordermy { width: 100%;}	
	
	.slogan {
			font-weight: 800;
			 font-size: 14px!important;
			 text-transform: uppercase;
			 margin-top: auto;
			 margin-bottom: auto;
}	
.logomy p{
	text-align: right;
	position: absolute!important;
	top: 2px;
	right: 10px;
	line-height: 1.6;
}

.phones span{
	font-size: 14px!important;
}
.phones img{
width:28px;
height:28px!important;	
}

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
	
	.text_top_m {
	padding: 5px;
background: rgba(255,255,255,0.5);
	border-radius: 15px;
	}
	.text_top_m span{
text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff;
font-size: 14px;
color: blue;
}

.slogan {
	font-weight: 800;
			 font-size: 12px;
			 text-transform: uppercase;
			 margin-top: auto;
			 margin-bottom: auto;
			 }


.phones span{
	font-size: 14px!important;
}
.phones img{
width:28px;
height:28px!important;	
}

.opc a  {
	font-size: 14px!important;
} 
.opcnav span{
 font-size: 12px!important;
 display: block-inline;
}


}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
	.fixme {
		position: fixed;
		top: 2px;
		
	}
	.top_links {
		display: inline-block !important;
	}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	.maian_mnu ul {
		display: block !important;
	}
	

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
.headermy{
	padding-top: 15px;
	padding-bottom: 15px;
	background: url(../img/back_top_1170.jpg) no-repeat top center ;
    background-size:  100% auto; /* Современные браузеры */
}
}