
img {
  
   height: auto;
   width: auto\9; /* ie8 */ 
   max-width: 100%;
   }

/* 2 col */
@media screen and (max-width: 850px) {

#wrap {width: 100%;padding: 2%;}
#header {height: 201px;}

#icons {position: absolute;top: 25px;left: 340px;float: right;}
.search_form {position: relative;top: -58px;left: -163px;}

#contacts {position: absolute;top: 136px;left: 0px;}
#opros{top: 76px;left: 268px;  position: absolute;}

#comm {position: static;width: 30%;margin-bottom: 4%;}
#tabs {width: 285px;}

#window {width: 68,4%;float: left;margin-bottom: 2%;}

#left {position: static;height: auto;float: none;margin-bottom: 2%;padding-top: 180px;}
   
#find {float: right;clear: none;position: absolute;top: 450px;left: 370px;}

#content {float:left;}

#buttons {width: 90%;}
   
#manager {margin: 0 0 20px 15px;}
#copyright {padding: 20px 15px;}
#konkurs {left: 64%;}
#author {margin: 0 0 25px 15px;}
  
}

/* 1 col - m */
@media screen and (max-width: 600px) {

#wrap {width: 100%;padding: 2%;}
#header {height: 201px;}
#teaser_block {display: none; height: 100px; margin-bottom: 22px;}
#opros{top: 108%; left: 0px;  position: absolute;}
#contacts {position: absolute; display: block; padding-bottom: 10px; padding-top: 10px;left: 0px; top: 130px;}
#contacts #link {margin-bottom: 7px;}

#icons {position: absolute;float: none;display: block; padding-bottom: 7px;left: 0px;top: 240px;}
.search_form {position: relative;display: block; top: 50px; left: -332px;}

#menu .open .dropdown {top: 20px;}

#comm {display: none;}
#tabs {display: none;}

#window {display: none;}
 
#left {position: static;height: auto;float: none;margin-bottom: 2%;margin-left: 2%; width: 95%; text-align: center;padding-top: 80px;}
   
#find {display: none;}
  
#main_actions {float: none; padding-bottom: 30px; padding-top: 30px;text-align: center;width: 95%;}
#main_actions .main_action_teaser {width: 100%;text-align: center;}
#main_actions .main_action_teaser .text {float: none;border-left: none;border-top: solid 1px #e7e8e9; margin-top: 5px; padding-top: 5px;width: 90%}
#main_actions .main_action_teaser .date {float: none;width: 40%;}
#main_news {float: none; width: 90%; padding-top: 20px;}
#main_news a span {display: none;}

#content {float:left; width: 100%;text-align: center;}

#buttons {width: 100%;}
   
#manager {margin: 0 0 20px 15px;}
#copyright {padding: 20px 15px;}
#konkurs {display: none;}
#update {position: absolute; top: 10px; right: 40px;}
#author {margin: 0 0 25px 15px;}
#top100 {position: static; display: inline;}
#mailru {position: static; display: inline;}

}