@media screen and (max-width: 590px) {
    #nav li a, #nav li a:link {
        padding: 10px 2px !important;
    }
    
	#content {
		padding:5px 7px !important;;
	}
	#sell-auto-foto a.close, #send-foto a.close {
		right: 20px !important;
		top: -15px !important;
		background-color: #fff !important;
		padding: 0px !important;
		background-color: #fff;
		padding: 0px;
	}
    #footer img,.sidebar img,#contentwrap img, .navcontainer img {max-width: 96% !important;}
    #footer img,.sidebar img,#contentwrap img, .navcontainer img {max-height: 96% !important;}
    iframe, table, span, div, textarea, input, button, submit {max-width: 100% !important;}

    #vk_comments {max-width: 96% !important;}
    #fb-comments {max-width: 96% !important;}
    #comments {max-width: 96% !important;}
    .navcontainer {
          overflow: auto;
          height:100% !important;
    }
    .span-11 {
        width:120px !important;
        overflow: hidden;
    }
    .span-11 img {
        width:248px !important;
    }
    .head-tel{
        font-stretch: condensed;
    }
    .logoimg{
        margin: 0px !important;
    }
    #nav {
        overflow: hidden;
    }
    #nav .sub{
		display:none !important;
    }

    #nav .more{
        display:block !important;
    }

    .more-hidden{
        display:none !important;
    }
    #nav .more a{
        color: #211F1F !important;
    }
    /*
        #nav:after {
            content: "���";
            color: #211F1F;
            font-size: 14px !important;
            margin: auto;
            height: 100%;
            display: inline-block;
            padding: 7px;
            background-color: #fff;
            cursor:pointer !important;
        }

        #leftColumn {display:none}
        #header>a {display:none}
        #header>div{
            margin:0 !important;
            display: block;
            overflow: left !important;
        }
        .topH{display:none}
        #header>#headerCenter {
            min-width: 600px;
        }
        #iconMenu {
            display: none !important;
        }
        #plashka>#phone>a{
            display: inline !important;
        }
        #plashka{
            min-width: 600px !important;
            max-height: 50px !important;
        }
        #phone>span>a{
            display: inline  !important;
        }
        .list-hotel-shadow-desc{
            max-width:500px !important
        }*/

}

a.button7 {
	font-weight: 700;
	color: white;
	text-decoration: none;
	padding: .8em 1em calc(.8em + 3px);
	border-radius: 3px;
	background: rgb(64,199,129);
	box-shadow: 0 -3px rgb(53,167,110) inset;
	transition: 0.2s;
}
a.button7:hover { background: rgb(53, 167, 110); }
a.button7:active {
	background: rgb(33,147,90);
	box-shadow: 0 3px rgb(33,147,90) inset;
}

/*
body {
	background: #e1e5ed url(/ini/source/background.png) top left repeat-x;
	}
*/
.send-foto-submit {
    font-size: 16px;
}

.button6 {
    min-width: 290px;
    max-width: 95%;
    position: relative;
    font-weight: bold;
    color: white !important;
    text-decoration: none !important;
    text-shadow: 0 -1px 1px #cc5500;
    user-select: none;
    padding:2px;
    /* padding: .8em 2em; */
    font-size: 16px !important;
    text-align: center;
    display: block;
    outline: none;
    border-radius: 1px;
    background: linear-gradient(to left, rgba(0,0,0,.3), rgba(0,0,0,.0) 50%, rgba(0,0,0,.3)), linear-gradient(#d77d31, #fe8417, #d77d31);
    background-size: 100% 100%, auto;
    background-position: 50% 50%;
    box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #ffbf00, #cc7722 0 0 0 1px, #000 0 10px 15px -10px;
    transition: 0.2s;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#d77d31', endColorstr='#d77d31');
    height: 1%;
    padding: 5px;
    text-align: center;
}
.stat-error{display: none}

#sell-auto-foto a.close, #send-foto a.close {
    background: url("/ini/source/close_sm.gif") no-repeat;
    position: absolute;
    right: 10px;
    top: 2px;
    width: 20px;
    height: 20px;
    cursor: pointer;
	background-color: #fff;
	padding: 0px;
	border: 1px solid #ae3737;
}

#sell-auto-foto div>input, #send-foto div>input {
    width:97%;
    font-size:12px;
    line-height: 20px;
    padding: 2px;
    margin-bottom: 2px;
}
#sell-auto-foto textarea, #send-foto textarea {
    width:97%;
    font-size:12px;
    line-height: 20px;
    padding: 2px;
}

.error-frm{
    border:1px solid red
}
#nav .more{
    float: right !important;
    font-size: 14px !important;
    display: none ;
    background-color: #fff !important;;
}

.head-tel{
    font-size: 20px;
    font-weight: 500;
    font-family: tahoma;
    color: #AB473F;
}
.head-adr{
    font-size: 13px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.overlay, #overlay {
    padding:5px 5px 5px 5px;
    display:none;
    background-color:#fff;
    border:1px solid #666;
    width:auto;
    /* CSS3 styling for latest browsers */
    -moz-box-shadow:0 0 90px 5px #000;
    -webkit-box-shadow: 0 0 90px #000;
    /*background-image:url("/_i/white.png");  */
}

a.close {
    background:url("/images/close.gif") no-repeat;
    position:absolute;
    right: -37px;
    top: 0px;
    width:35px;
    height:35px;
    cursor:pointer;
}

body {
	width: 100%;
	background:url(/ini/source/back1.jpg) top center fixed #09F;
}        
        
#wrapper {
	padding:0;
	}

#container {
	}

#contentwrap {
	background: #fff;
	}

a {
	color: #c52b40;
	}

a:hover {
	color: #df0624;
	}
/* HEADER */

#header {
	height: 88px;
	padding-top:20px;
    background: #fff url(/ini/source/header-background.png) top left repeat-x;
	}

#header h1 {
	margin-bottom: 0px !important;
	padding: 0px 0 0 15px;
	font-weight: normal;
	font-family: Georgia, Times New Roman Times, Serif;
	font-weight: bold;
	font-size: 48px;
	}

#header h1 a, #header h1 a:visited {
	color: #445969;
	text-decoration: none;
	}


#header h2 {
    padding-left: 15px;
	color: #4e4f51;
	font-size: 14px;
	line-height: 14px; 
	font-family: Arial;
	}

.logoimg {
    margin: 0 0 0 20px;
    }

.feedtwitter {
	margin-top: 28px !important;
	text-align: right;
	}
    
/* NAVIGATION MENUS */

#pagemenucontainer {
	height: 42px;
	margin-top: 36px;
	}
	
#pagemenu {
	height: 30px;
	}

#pagemenu, #pagemenu ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
#pagemenu {
	margin-bottom: 1px;
	}
	
#pagemenu ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	}
	
#pagemenu li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#pagemenu ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#pagemenu li a, #pagemenu li a:link {
	color: #fff;
	display: block;
    margin: 0px 3px 0px 3px;
	padding: 6px 12px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
    border-radius: 5px;text-shadow: 0 1px 0 #232e36;
	}
	
#pagemenu li a:hover, #pagemenu li a:active {
	background: url(/ini/source/pagenav-background.png) top left repeat-x;
	color: #c52b40;
	display: block;
	text-decoration: none;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 5px;text-shadow: 0 1px 0 #d2d3d4;
    
	}
	
#pagemenu  li.current_page_item a {
	background: url(/ini/source/pagenav-background.png) top left repeat-x;
	color: #c52b40;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 5px;text-shadow: 0 1px 0 #d2d3d4;
	}

#pagemenu li:hover, #pagemenu li.sfhover { 
	position: static;
	}
	


.navcontainer {
	height: 32px;
    background: #313e48;
    padding-left: 10px;
	}
	
#nav {
	height: 32px;
	}

#nav, #nav ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
#nav {
	margin-bottom: 1px;
	}
	
#nav ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	}
	
#nav li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav li a, #nav li a:link {
	color: #fff;
	display: block;
    margin: 0px 2px 0px 0;
	padding: 10px 5px;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
    font-family: Arial, Helvetica, Sans-serif;
	text-transform: uppercase;
	}
	
#nav li a:hover, #nav li a:active{
	background: #cd0e22 url(/ini/source/navarrow.png) center bottom no-repeat;
	color: #fff;
	display: block;
	text-decoration: none;
	}
	
#nav  li.current-cat a {
	color:#fff;
    background: #808080 url(/ini/source/navarrow.png) center bottom no-repeat;
	}

#nav li:hover, #nav li.sfhover { 
	position: static;
	}
	
/* CONTENT */

#content {
	background-color: #fff;
	padding: 15px 5px 15px 15px;
	}
	
pre { overflow: auto; 
	width: 470px; 
	}

.post {
	padding-bottom: 15px;
	margin-bottom: 15px;
    border-bottom: 1px solid #dbdfe7;
	}

.post p {
	margin-bottom: 10px;
	}

.title {
	margin: 0 0 2px 0;
	padding:0;
	line-height: 22px;
	font-family: Arial, Helvetica, Sans-serif;
	color: #c52b40;
    font-weight: bold;
	}

.title a {
	text-decoration: none;
	color: #c52b40;
	}

.title a:hover {
	text-decoration: none;
	color: #df0624;
	}

.pagetitle {
	margin-bottom: 20px;
	line-height: 22px;
	font-family: Arial, Verdana;
	text-decoration: underline;
}

.postdate {
	font-size: 14px;
	padding: 0px;
    font-family: Arial, Helvetica, Sans-serif;
    color: #999;
	}

.postmeta {
	font-size: 11px;
	padding: 2px 4px;
	font-family: Arial, Verdana;
	}
	
.postdate img, .postmeta img {
	border: none;
	vertical-align: middle;
	margin:2px;
	}
	
.entry {
	text-align: justify;
	line-height: 20px;
	padding-top: 8px;
	font-family: Arial, Verdana;
	font-size: 13px;
	}

.entry h2 {
	font-size: 16px !important;
	font-weight:700;
}
.entry h3{
	font-size: 15px !important;
	font-weight:700;
}

.navigation {
	padding: 10px 0;
	}

blockquote {
	overflow: hidden;
	padding-left: 9px;
	font-style: italic;
	color: #666;
	border-left: 3px solid #CADAE7;
	}
	
.post img {
	max-width: 680px;
	}

img.wp-smiley {
	max-height: 12px;
	margin: 0;
	padding: 0;
	border: none;
	}
	
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
	}

.alignleft {
   float: left;
	}

.alignright {
   float: right;
	}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
	}

.wp-caption1 {
   font-size:12pt !important;
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
	}

.wp-caption1 a{
   font-size:14pt !important;
   color:red !important;
   text-decoration:underline !important;
	}

.wp-caption1 a:hover{
   text-decoration:none !important
	}


        
        .wp-caption-red {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
   color:#ff3300
	}
        

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
	}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
	}
	
/* SIDEBAR(S) */

.sidebaradbox {
	margin-top: 5px; 
	text-align:center;
	}
	
.ad125 {
	margin: 10px;
	}


.sidebar {
	margin: 0 10px 10px 0;
    font-size: 13px;
	}
	
.sidebar a {
	text-decoration: none;
	color: #56646d;
	}

.sidebar a:hover {
	text-decoration: underline;
	color:#c52b40;
	}
	
.sidebar div#serv a {
            font-size:14px;
            text-decoration: underline;
            color:#c52b40;
            display:block;
            padding-left: 10px;
	    padding-top: 3px;
	    padding-bottom:3px;
            border-bottom: 1px #ccc dotted;
        }

#serv>a{
	    padding-top: 3px !important;
	    padding-bottom:3px !important;
}
        
.sidebar div#serv a:hover {            
            text-decoration: none;
            color:#666;
        }        
        
#search {
    border: 1px solid #6a7680;
    height: 30px;
    padding: 0;
    background: #56646d;
    text-align: right;
}

#search input {
	border: 0;
    background: none;
    color: #c5c7c8;
}
	
	
#s {
	width: 212px;
	padding: 4px;
    margin:3px 0 0 0;
    background: none;
}

#topsearch {
    margin-top: 28px;
    }
    
#topsearch #s {
    width: 184px;
    }
		
/* Social icons */
.addthis_toolbox {
    padding: 15px 0 0px 0;
	text-align: center;
	}
.addthis_toolbox .custom_images a
{
    width: 32px;
    height: 32px;
    margin: 0 3px 0 3px;
    padding: 0;
}

.addthis_toolbox .custom_images a:hover img
{
    opacity: 1;
}

.addthis_toolbox .custom_images a img
{
    opacity: 0.85;
}
	

	
.sidebarvideo {

	}

.sidebar h2 {
	margin: 10px 0 0 0;
	padding: 3px 0 3px 25px;
	background: #313e48 url(/ini/source/sidebar_tab3.png) left center no-repeat;
	font-size: 16px;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
	text-transform: uppercase;
    text-shadow: 0 1px 0 #102230;
	color: #fff;
	}

.sidebar ul {
	list-style-type: none;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	}
	
.sidebar ul li {
	list-style-type: none;
	margin: 0px 0px 5px 0px;
	padding: 0px;
	}

.sidebar ul ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	}
	
.sidebar ul li li {
	padding: 3px 0px 3px 15px;
	margin: 0px;
	background: url(/ini/source/bullet.gif) no-repeat top left;
	}
	
.sidebar ul li ul li {
	background: #FFFFFF url(/ini/source/bullet.gif) no-repeat top left;
	padding: 2px 0px 2px 15px;
	margin: 2px 0;
	}




/* FOOTER */

#footer {
	background: #33414c;
	padding: 22px;
	text-align: center;
	color: #fff;
	font-size: 13px;
	}

#footer a {
	color: #fff;
	} 

#footer a:hover {
	text-decoration: none;
	} 
	
#footer2 {
	color: #697782;
	font-size: 11px;
	text-align: center;
	padding: 10px;
	}
    	
#footer2 a {
	color: #697782;
    text-decoration: none;
	} 



/* commentlist with thread comment */




#pingbox {
	display: block;
	padding: 5px;
	clear: both;
	width: auto;
	margin-top: 0em;
	margin-right: auto;
	margin-bottom: 0em;
	margin-left: auto;
	height: auto;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #DBDBDB;
}



h4#pings {
	width: 100%;
	display: block;
	clear: both;
	text-transform: capitalize;
	font-size: 1.2em;
	font-weight: bold;
	color: #000000;
	height: auto;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #DBDBDB;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}





#linking {
	padding: 0%;
	width: 100%;
	list-style-type: none;
	clear: both;
	height: auto;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
	display: block;
}
#linking li {
	margin: 0px 0px 8px;
	padding: 0px;
	float: left;
	width: 100%;
	font-size: 14px;
	color: #000000;
	line-height: 26px;
	text-transform: capitalize;
	font-weight: bold;
}
#linking li a {
	color: #5D8FA8;
	text-decoration: underline;
}

#pages a{
    mARGIN-left: 2px;margin-right: 2px;
}
#pages span{
    margin-left: 2px;margin-right: 2px;
}