/* сбрасываем свойства */

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* global */
body {
  color: rgb(50,50,50);
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.3;
}



/* grid */
.row {
  display: flex;
  flex-flow: row wrap;
  margin: 0 -10px;
  margin-bottom: 10px;
}
.row:last-child {
  margin-bottom: 0;
}
[class*="col-"] {
  padding: 10px;
  width: 100%;
}

#box_dt{position:relative;width:1000px; padding-top:18px; margin:0 auto; text-align:right !important;background:transparent !important;line-height: 100% !important;}
#all_poisk{float:left;outline:none; width:312px; padding:18px 15px; text-align:left; font-size:15px; font-family:Trebuchet MS; font-style: italic;  background:transparent; border:none; color:#fff;}
#wrap_header{min-height:100px;position:relative;margin:10px 0;border-bottom:1px solid #ccc;width:100%;padding-bottom:10px;}
#box_header{width:1000px; margin:0 auto;display: flex; flex-direction: row; justify-content: space-between;}
#logotip{float:left;margin-right:20px;margin-top:20px;}
.name_site_ou{text-align:left;}
.name_site_ou_left{float:left;}
.kn_menu_m{width:45px; height:45px; padding:5px 10px; position:absolute;right:0;top:0;text-align:center;display:none;cursor:pointer;}

.wrap_menu{width:1000px;margin:0 auto;padding-bottom:10px;text-align:center !important;}
.wrap_fter{width:1000px;left:50%;margin-left:-500px;position:relative;min-height:60px;}
#img_fter3{float:right; }
#box_fter2{float:right; width:255px; min-height:45px; padding:5px 0;border-left:1px dashed #ccc;text-align:center !important;}
#box_fter1{width:640px;text-align:left;padding:4px 20px;font-size:11px !important;}
#box_submenu{width:220px;}
#box_content{width:708px;}
.nav_obg{ display: flex; flex-direction: row; justify-content: center; height:auto;}
.tab_obr{width:100%;margin:0;}
.infocoo{width:1000px; height:80px;margin:0 auto; padding:20px; color:#fff;text-shadow:0 0 3px #000;display: flex; flex-direction: row; align-items:center;justify-content: center;}
.box_infocoo{width:760px; padding:20px;color:#fff;font-size:14px !important;float:left;letter-spacing: 0 !important;}
#new_slider{background:#F4F7FB;position:relative;height:399px;margin-bottom:30px;}
.nivoSlider{z-index:1;position:relative;}
.nform{border:1px solid #ccc; border-radius:5px; padding:10px 15px; font-size:15px;width:277px;}
.box_sotrudn{ margin:15px 10px; min-height:150px; display:flex; flex-direction: row; justify-content: left;}
.foto_sotrudn{width:150px; border: 5px solid #eee; }
.box_txt_sotrudn{padding:0 0 0 15px;}



@media only screen and (max-width : 1020px) {
#dto{background: rgba(220,220,220,0.8);text-shadow:0 0 2px #fff; position: static;text-align:center;margin:23px auto 10px auto;border:none;width:210px;padding:5px 10px 8px 10px;border-radius:0 0 10px 10px;}	
.top_line{width:245px;}
#all_poisk{width:180px;}
#new_slider{height:auto; display: flex; flex-direction: row; justify-content: space-between;}
.wrap_menu{width:100%;}
#box_header{width:100%;text-align:center;flex-direction: column;}
#zag1, #zag2, #zag3{float:none;padding:0 20px;}
#zag2{font-size:23px !important;}
.name_site_ou{text-align:center;}
.name_site_ou_left{float:none;}
#logotip{float:none;margin:20px auto -20px auto;}

.wrap_fter{width:100%;margin:0;text-align:center;left:0; padding:0;}
#box_fter1, #box_fter2{float:none; width:auto;border:none;text-align:center;}
#img_fter3{float:none;}
#wrapper, #content, #box_submenu, #box_content, #box_dt{ width: auto; }
#content { padding:0 15px 38px 15px; flex-direction: column;}
.infocoo{height:auto;text-align:center;width:auto;}
.box_infocoo{padding:0;}
.blok_edit, .nav_obg, .infocoo{flex-direction: column;}
.tab_obr{font-size:8px;}
}

@media only screen and (max-width : 774px) {
	#ssil, #pob, .menugl{display:none;}
	.kn_menu_m{display:block;}
	#dto{margin:37px auto 10px auto;}
	.box_input_form, .box_sotrudn{display: flex; justify-content: center;flex-direction: column;}
	.box_sotrudn{flex-direction: column; text-align:center;}
	.box_txt_sotrudn{padding:15px 15px 0 15px;text-align:left;}
	.nform{width:auto;margin:10px 0 0 0;}
}
