@media (min-width: 1000px) {  
  #maintable{
	  width: 1000px;
  }
}

@media (max-width: 800px) {  
  #maintable{
	  width: 100%;
  }
  body, td, a {
	  font-size: 16px !important;
  }
  .mini_text {
	  font-size: 13px !important;
  }
  #bot td, #bot td a {
	  font-size: 12px !important;
  }
  #bot td h4 {
	  font-size: 13px !important;
  }
  #mainmenu li a{
	  font-size: 12px !important;
	  padding-left: 0px;
	  padding-right: 3px;
  }
  #content {
	 padding: 5% !important;
  }
  #content table {
	  max-width: 280px;
	  overflow: hidden;
  }
  #content img {
	  float: none;
	  max-width: 280px;
	  height: auto;
	  overflow: hidden;
  }
  #project_block img {
	  max-width: 100%;
  }
  #content form {
	  max-width: 280px;
	  overflow: hidden;
  }
  #content form textarea, #content form input {
	  max-width: 90%;  	
  }
  .mhide {
	  display: none;
  }
  #rightblock {
    display: none;
  }
  .bot3, .bot4 {
	display: none;
  }
  .bot1, .bot2 {
	  width: 50%;
  }

  .indexpage {
	  overflow: hidden;
  }
  
  .indexpage #mainmenu li a {
	  font-size: 16px !important;	  
  }
  .indexpage #blog {
	  padding-right: 5%;
  }
  .indexpage #content table{
  	max-width: 100%;
  }
  .indexpage .gray_block {
	  padding: 5%;
  }
  .indexpage .gray_block td{
	  padding-left: 5px;
  }
  
}

@media (max-width: 700px) {
 .indexpage #mainmenu {
	  height: 90px !important;
  }
  .indexpage #mainmenu li a{
	  font-size: 20px !important;
  }
}

@media (max-width: 440px) {
  #mainmenu {
	  height: 70px !important;
	  padding-left: 5%;
	  padding-right: 5%;
  }
  #mainmenu li a{
	  font-size: 17px !important;
  }

  .indexpage #mainmenu {
	  height: 90px !important;
  }
  .indexpage #mainmenu li a{
	  font-size: 17px !important;
  }
  .indexpage #blog .anot {
  	display: none;		
  }
  .indexpage .gray_block td, .indexpage .gray_block a {
  	font-size: 12px !important;
  }

}

@media (max-width: 380px) {
  body, td, a {
	  font-size: 16px !important;
  }

  #mainmenu li a{
	  font-size: 15px !important;
  }
  .indexpage #mainmenu li a{
	  font-size: 16px !important;
  }
  .indexpage #blog h5 a {
	  font-size: 14px !important;
  }

}


a[href^="tel:"]{
	text-decoration: none;
	color: #666666;
}

.boxed-content {
	border-radius: 10px; 
	background-color: #EEE; 
	padding: 10px; 
	margin-left: 10px; 
	margin-bottom: 10px;
}


.anons {
	text-align: center;
}
.anons a {
	display: inline-block;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	background-color: #FFF284;
/* 	text-decoration: none; */
	color: #000;
}



#maintable {
	max-width: 1000px;
}

a {
   color: #31a7c1;
   font-size: 12px;
   font-family: Tahoma,Arial,sans-serif;
   text-decoration: underline;
}
a:hover{
   text-decoration: none;
}

a.dotted{
   text-decoration: none;
   border-bottom: 1px dashed #31a7c1;
}

body, td {
	font-family: Tahoma,Arial,sans-serif;
	color: #666666;
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	line-height: 1.5;

}

#mainmenu{
	height: 47px;
	background-image: url(/images/tenmenu.jpg);
	background-repeat: no-repeat;
	background-position: 250px  0px;
	background-color: #6B8E9C;
}
#mainmenu ul {
	padding: 0;
	padding-top: 10px;
	margin: 0;
	list-style: none;
}

#mainmenu li {
	display: inline;
}

#mainmenu a {
	color: #d0e1e4;
	font-size: 18px;
	font-weight: normal;
	padding-left: 10px;
	padding-right: 10px;
}

.dopmenu {
	font-size: 20px;
}

.ten{
	background-image: url(/images/bgmenu.gif);
}

#menu{
	padding: 0px;
	margin: 0px;
}

#content ul, #menu ul {
	padding: 0px;
	margin: 0px;
	margin-right: 10px;
	list-style: none;
}

#content li, #menu li, #rightmenu li li {
	list-style: none;
	float: none;
	padding-bottom: 10px;
	padding-left: 15px;
	background-image: url(/images/str.gif); 
	background-repeat: no-repeat;
	background-position: 0px 5px;
	line-height: 1.1;
}

#content ul ul {
	margin-left: 30px;
}

#menu a {
	color: #30a6c0;
	font-size: 12px;
}

#adv_block{
	width: 210px;
	background-color: #F7F7F7;
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 20px;
}

#adv_block, #adv_block a {
	color: #666666;
	font-size: 11px;
}
#adv_block b a {
	font-size: 13px;
}

#adv_block b a {
	display: block;
	margin-bottom: 5px;
}

#rightmenu{
	width: 210px;
	background-color: #F7F7F7;
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 20px;
}

#rightmenu ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
#rightmenu li {
	float: none;
	padding-bottom: 3px;
}
#rightmenu a {
	color: #30a6c0;
	font-size: 18px;
	font-weight: normal;
}

#rightmenu li ul {
	padding-left: 0px;
	padding-top: 5px;
}

#rightmenu li.selected a {
	color: #666666;
}

#rightmenu li li a {
	font-size: 12px;
}

#rightmenu li li.selected a {
	color: #BBBBBB;
	text-decoration: none;
}

#bot td {
	background-color: #5c7e87;
	color: #ffffff; 
	padding-top: 5px;
	padding-left: 20px;
	line-height: 1.2;
}
#bot td a{ 
	color: #ffffff; 
}

#bot h4 {
	font-weight: normal;
}

.bot1{
	background-image: url(/images/bot1.jpg); 
	background-repeat: no-repeat;
	background-position: right;
}
.bot2{
	background-image: url(/images/bot2.jpg); 
	background-repeat: no-repeat;
	background-position: right;   	
}

.bot3{
	background-image: url(/images/bot3.jpg); 
	background-repeat: no-repeat;
	background-position: right;
}

h1, h2, h3, h5 {
	font-weight: normal;
	color: #30a6c0;
	font-size: 24px;	
}

h1 a, h2 a, h3 a {
	font-size: 24px;
}

h4, h5 {
	font-size: 18px;
	padding: 0px;
	margin: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
}

h4 a, h5 a {
	font-size: 18px;
}


#content {
	padding: 20px;
	padding-left: 35px;
}

#content img {
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
}

#best_text {
	position: absolute;
	text-align: left;
	margin-top: 25px;
}

.top_block{
	background-image: url(/images/ten.jpg);
	background-repeat: no-repeat;
	background-position: 250px  0px;
	border-bottom: 1px dashed  #a5a5a5;
}

.main_block{
	border-bottom: 1px dashed  #a5a5a5;
}

.gray_block{
	background-color: #f6f6f6;
	padding-bottom: 20px;
	border-bottom: 1px dashed  #a5a5a5;
}

.gray_block h1, .gray_block h1 a{
	font-size: 18px;
}

#project_block{
	border: 1px dashed  #a5a5a5;
	margin-bottom: 20px;
}

#project_block h5{
	margin: 0px;
	padding: 0px;
}

.item{
	float: left;
	padding-right: 40px;
	padding-bottom: 40px;
}

.mini, .mini a{
	font-size: 10px;
	width: 100px;
}

.mini_text {
	font-size: 10px;
}

#blog{
	width: 33%;
	padding-right: 50px;
	vertical-align: top;
}

.comm {
	color: #666666;
	font-size: 10px;
	padding-left: 5px;
}

.date{
	color: #ffffff;
	font-size: 12px;
	background-color: #698b94;
	padding: 3px;
}

.date a{
	color: #ffffff;
	font-size: 12px;
}


#partners{
	padding-top: 40px;
	padding-bottom: 40px;
}
#partners span{
	padding: 12px;	
}

#sub {
	BACKGROUND-COLOR: #FF9900;
	border: 0px;
	color: #FFF;
	font-size: 18px;
	padding: 3px;
	margin-top: 5px;
	margin-bottom: 5px;
}

INPUT, TEXTAREA {
	border: 1px solid #5c7e87;
	font-size: 12px;
}


#news {
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dashed  #FFF;
}

#news .preview{float: right; padding: 20px; border: 0px;}


#table td {
	border: 1px solid rgb(204, 204, 204);
	padding: 5px;
}

#table .head{
	background: #666666;
	color: #FFFFFF;
	font-weight: bold;
	
}

#table .gray{
	background: #EEEEEE;
}

#foto {
padding: 10px;
width:655px;
border: 1px solid #CCCCCC;
font-size: 10px;
}

#foto img {
margin-bottom: 10px;
}

#portfolio {
	float: left;
	height: 150px;
	width: 150px;
}

.top_phone {
	margin-top: 5px;
	font-size: 19px;
	font-weight1: bold;
}

.top_phone span {
	color: #CCC;
	font-size: 12px;
	font-weight: normal;
}

.top_phone a{
	font-size: 19px;
	font-weight1: bold;
}

.portfolio-button {
	text-decoration:none; text-align:center; 
	padding:11px 32px; 
	border:solid 1px #ff9900; 
	-webkit-border-radius:4px;
	-moz-border-radius:4px; 
	border-radius: 4px; 
	font:15px Tahoma, Geneva, sans-serif; 
	font-weight:bold; 
	color:#ffffff; 
	background-color:#ff5100; 
	background-image: -moz-linear-gradient(top, #ff5100 0%, #ff9900 100%); 
	background-image: -webkit-linear-gradient(top, #ff5100 0%, #ff9900 100%); 
	background-image: -o-linear-gradient(top, #ff5100 0%, #ff9900 100%); 
	background-image: -ms-linear-gradient(top, #ff5100 0% ,#ff9900 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9900', endColorstr='#ff9900',GradientType=0 ); 
	background-image: linear-gradient(top, #ff5100 0% ,#ff9900 100%);   
	-webkit-box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #999999; 
	-moz-box-shadow: 0px 0px 2px #bababa,  inset 0px 0px 1px #999999;  
	box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #999999;  
}


.s_razdel {
	background-color: #6B8E9C;
	color: #FFF;
	font-size: 22px;
	text-align: center;
	margin-bottom: 0px;
	margin-top: 20px;
}

.s_item {
	border-bottom: 1px solid #CCC;
	border-left:  1px solid #CCC;
	border-right:  1px solid #CCC;
	padding: 10px;
	padding-bottom: 20px;
	clear: both;
	min-height: 85px;
}
.s_item:nth-child(1) {
	border-top: 1px solid #CCC;	
}

.s_price_block {
	text-align: right;
	width: 130px;
	float: right;
}

.s_price {
	font-size: 25px;
	margin-top: -10px;
}
.s_price:after  { content: "\20BD"  }


.s_odprice {
	display: inline-block;
	padding: 3px;
	padding-left: 5px;
	padding-right: 5px;
	margin-left: 7px;
	background-color: #EEE;
	color: #666;
	border-radius: 3px;
	font-size: 12px;
	text-decoration: line-through;	
}
.s_odprice:after  { content: "\20BD"  }

.s_odprice:empty{
	display: none;
}

.s_skidka {
	display: inline-block;
	padding: 3px;
	padding-left: 5px;
	padding-right: 5px;
	margin-left: 7px;
	background-color: #6B8E9C;
	border-radius: 3px;
	color: #FFF;
	font-size: 12px;
	font-weight: bold;	
}

.s_skidka:before  { content: "-"  }
.s_skidka:after  { content: "%"  }

.s_skidka:empty{
	display: none;
}


.s_type {
	float: left;
	width: 30px;
	height: 80px;
	padding-top: 5px;
}

.s_type span {
	display: block;
	padding: 3px;
	background-color: #EEE;
	border-radius: 50%;
	color: #6B8E9C;
	height: 18px;
	width: 18px;
	text-align: center;
}

.s_name {
	font-size: 20px;
}

.s_idn {
	color: #6B8E9C;
}

.s_gar {
	color: #999;
	font-size: 15px;
}

.s_buy .portfolio-button {
	display: block;
	margin-top: 5px;
}



