@media screen and (max-width: 1200px) {
#main-menu a {
    font-size: 13px;
    padding: 10px 3px;
 }
}

@media screen and (max-width: 1152px) {
#main-menu a {
    color: #fff;
    display: block;
    font-size: 13px;
    line-height: 100%;
    padding: 10px 3px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
}
@media screen and (max-width: 1050px) {
#main-menu a {
 font-size: 13px;
    line-height: 100%;
    padding: 4px 3px;
}
}
@media screen and (max-width: 960px) {
  
  body aside,
  body #content,
  #top-area .column,
  #footer-area .column{
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    clear: both;
  }

  #footer,
  #page-wrap{
    padding: 0 15px;
  }

  #page-wrap {
  	box-shadow: none;
  	border: 0;
	margin-top: -10%;
  }

  .top_right .region-search{ float: none; }

  .social-icons,
  .footer_credit .copyright{
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  .region-search{
    margin: 10px auto;
    width: 200px;
    float: none;
    clear: both;
  }

  .nivo-caption {
  	display: none !important;
  }

  .front #page-wrap{
  	top: 0;
  	box-shadow: none;
  }

  .theme-default .nivo-controlNav {
  	bottom: 10px;
  }
#main-menu a {
    color: #fff;
    display: block;
    font-size: 13px;
    line-height: 100%;
    padding: 10px 3px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
}


@media screen and (max-width: 1152px) {

#page-wrap {
	margin-top: 0px;
}
    #container .container-wrap {
      display: flex;
	  flex-direction: column;
       /*display: -webkit-flex; 

       display: flex;
       -webkit-flex-wrap: nowrap; 

       flex-wrap: nowrap;*/
}
#content-sidebar1 { order: 1; flex-basis: 100%; /*align-content: stretch;*/ width: 100%; }
#sidebar-first { order: 2; flex-basis: 100%; width: 100% !important; }
#sidebar-second { order: 3; flex-basis: 100%; width: 100% !important; }
#content div { width: auto; }
.smiinformer10237 {  clear: both;}
}

	.front .slideshow {
       min-height: 150px !important;
    }

@media screen and (max-width: 640px) {
	.region-kurs { display: none !important; }
	#block-block-7 { display: none !important; }
	.social { display: none !important; }
	#block-search-form { display: none !important; }
	#breadcrumbs { display: none !important; }
	#logo { display: none !important; }
	#main-menu { float: left; }
	.nav-toggle { float: left; }
	
	#logo1 {
    background-color: #fff;
    float: right;
    height: 45px;
    margin-left: 50px;
    padding-left: 3%;
    position: absolute;
    width: auto;
	display: block;
	border: none;
}
	#logo1 a {
		border: none;
		height: 45px  !important;
	}
	#logo1 a img {
	}
	#main-menu a {
		border: none !important;
	}
	#pp table tr {
		float: left;
	}
	
	#pp table tr td {
		width: 100%;
		float: left;
	}
	
  #page-wrap {
  	margin-top: -2%;
  }
  #top-area {
    padding: 10px 0;
    margin-top: -30%;
}
.slideshow {
	/*display: none;*/
}

  #logo,
  #site-title{
    display: inline-block;
    text-align: center;
    float: none;
    vertical-align: top;
  }

  .menu-wrap{  
    background: #333;
    overflow: hidden;
  }

  #main-menu ul {
    display: none;
  }

  #main-menu li ul {
    position: static;
    border: 0;
  }

  #main-menu li ul ul {
    margin: 0 !important;
    border: 0;
  }

  #main-menu ul,
  #main-menu li {
    float: none;
    width: 100%;
  }
  .region-kurs {
	  display: none;
  }
  #main-menu {
    border: 0;
    float: none;
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    right: 0;
  }

  #main-menu a {
    width: 100%;
    padding: 7px 0;
    color: #fff;
    border-radius: 0;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #181818;
  }

  #main-menu li li a {
    text-align: center;
    font-size: 13px;
    background: #0D0D0D;
    border-bottom: 1px solid #1B1B1B;
    color: #989898;
    padding: 6px 0;
  }

  #main-menu li a.active{
    border-bottom: 1px solid #181818; 
  }

  #main-menu li:hover > ul,
  #main-menu li li:hover > ul,
  #main-menu li li li:hover > ul {
    display: none;
  }

  .drop-down-toggle {
    display: block;
  }

  #main-menu .nav-toggle {
    display: block;
    font-size: 15px;
    font-weight: normal;
    background: #18222B;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    text-align: center;
    background: url(../images/mobile-menu.png) right 14px #18222B no-repeat;
    padding: 15px;
    width: 50px;
    font-size: 0;
    height: 45px;  
  }

  #main-menu li li.expanded > a {
    background: none;
  }

  #main-menu ul.menu li {
    margin: 0;
    width: 100%;
  }

  #header{
  	margin-top: 25px;
  }

  #top-area .column img,
  #footer-area .column img{
  	width: 100%;
  }

  .top_right .region-user-menu ul.menu{
  	float: none;
  	text-align: center;
  }

  .top_left, .top_right{
  display: none;
  }

  .page-gallery .region-content .view-gallery .views-row{
  	width: 50%;
  }
   .content-sidebar-wrap {
	   width: 100% !important;
   }
   #logo img {
	   width: 300px !important;
   }
   #rr_mat {
    float: left;
    height: auto;
	margin: 2% 0;
    width: 100%;
} 
#one_col {
	display: none;
}
#sidebar-first {
	display: none;
}
 
#yandex_ad {
    height: auto !important;
    width: auto !important;
}

/*sf*/

.region-kurs {
    display: block;
    float: left;
    width: 100%;
}


#block-block-7 {
    float: left;
    display: block;
    margin-top: -18%;
}
.social {
    width: 100% !important;
}
#block-block-7 ul li:nth-child(1) {
	display: none;
}


.social {
    color: #000;
    display: block;
    float: left;
    font-weight: bold;
    list-style-type: none;
    margin: 3% 0 0 0 !important;
    padding-left: 25px;
    position: absolute;
    width: 100%;
}


#block-vneshpol-blocks-vneshpol-blocks-kurs {
    display: none;
    float: left;
    margin: 3% 0 0;
    max-width: 100%;
}


#block-search-form {
   float: left;
    height: 45px;
    margin: 5% 0;
    width: 100%;
}
/*sf*/
	.front .slideshow {
       min-height: 120px !important;
    }
}

@media all and (orientation:landscape) {
	#logo1 a {
		padding: 0 !important;
	}
	.front .slideshow {
       min-height: 120px;
    }
}
@media screen and (max-width: 440px) {

}