#mobile-menu {
    display: none;
    color: #8c0c57;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
    z-index: 8;
    cursor: pointer;
}
.nav > ul.menu.active, .nav2 > ul.menu.active {height: auto;}

@media screen and (max-width: 991px) {
	.nav, .nav2 {background: transparent !important;width: 100% !important;position: relative;}
	#mobile-menu {display: block;}
	.nav > ul.menu, .nav2 > ul.menu {
	    z-index: 5;
		margin-top: 40px;
	    overflow: hidden;
	    height: 0px;
	    background: rgba(140, 12, 87, 0.8);
	}
	.nav > ul.menu > li, .nav2 > ul.menu > li {width: 100%;}
	.child.submenu {display: none !important;}
}

@media \0screen {
  img { 
  	width: auto; /* for ie 8 */
  }
}

@media screen and (max-width: 991px) {
	.our-masters {
		height:auto !important;
		margin-bottom:0px !important;
		background:none !important
	}
	
	
	.nav ul li a, .nav2 ul li a {
		width:100% !important;
	}
	
	.nav ul li. .nav2 ul li  {
		text-align:center !important
	}
	
	
	#content {
		width: 100%!important;
		margin-bottom:0px !important
	}
	#header {
	    width: 100%!important;
	}
	
	.header-left {
		text-align:center;
		 width: 100%!important;
	}
	
	.block-logo {
		width:100% !important;
		padding-top:30px;
	}
	
	.tel {
		width:100% !important;
	}
	
	.time-block {
		display:inline-block;
		float:none !important;
	}
	
	.logo {
		text-align:center
	}
	
	.logo img {
		display:inline-block !important;
	}
	
	.tel-block {
		text-align:center;
	}
	
	.time {
		text-align:center;
		padding-left:0px !important;
	}
	
	#contentb {
		padding: 15px;
	}
	.services3 {
		width: 100%!important;
	}
	.slideshow {
		width: 100%!important;
	}
	
	.gallery-block {
		max-width:300px;
		width:100% !important;
		background-size:100% !important;
	}
	
	.our-masters-conteyner ul li {
	  /*  max-width: 205px!important;*/
		width: 100%; 
		padding-bottom:20px;
	}
	
	.masterclass li {
		float:none !important
	}
	
	.description-block{
      padding: 20px;
	}

	.time {
    padding-top: 25px!important;
}
	.logo img {
    width: 100%!important;
    height: auto;
	max-width:250px;
    }
	.services{
	width: 100%!important;
	}
	.services3{
	width: 100%!important;
	}
	.services img {
		max-width:140px;
		width: 60%!important;
		height: auto;
	}
	
	#breadcrumb {
		padding:0 15px !important;
	}
	
	.reviews {
	width: 100%!important;
	}
	.our-masters-conteyner {
    width: 100%!important;
	}
	.portfolio {
    width: 100%!important;
	}
	#content {
	width: 100%!important;	
	}
	.carousel4 {
	width: 100%!important;
}
	.portfolio3 {
    padding-top:50px!important;
	}
	.services ul li {
    float: left;
    width: 100%;
    margin-right: 80px;
    padding: 10px;
	width: 100%!important;
    height: auto!important;
    }
    .services ul {
    background:none!important;
    }
	.services ul li a {
    font-size: 26px!important;
	line-height:30px!important;
	}
	.portfolio ul li {
		width: 100%!important;
		height: auto!important;
		text-align:center
	}
	.portfolio img {
		width: 100%!important;
		height: auto!important;
		max-width:400px;
	}
	
	.portfolio h2, .portfolio3 h2, .reviews h2, .contact, .time, .tel-block, .our-masters-conteyner h2, #content h1  {
		background:none !important;
	}
	
	#wrapper2 {
		padding-top:10px !Important;
		background-size: 100% 290px !important
	}
	
	.time, .block-logo {
		padding-top:10px !important;
	}
	
	.tel-block {
		margin-bottom:10px !important;
		padding-left:0px !important;
		margin-left:0px !important;
	}
	
	.contact {
		margin-bottom:0px !important;
		padding-left:0px !important;
	}
	
	.gallery-block2 {
		margin: -47px 0 0 -25% !important;
		padding-top:0px !important;
		
	}
	
	.gallery-block2 p {
		font-size:18px !important
	}
	
	.gallery-block2 p span {
		font-size:16px !important;
	}
	
	.nav {
		height:auto !important;
		padding-bottom: 8px;
	}
	
	.nav2 {
		height:auto!important
	}
	
	.slide-block p {
		text-align: left !important;
	}
	
	.bracket, .bracket2{
		display:none !important
	}
	
	.slide-block {
		margin: 0 !important
	}
	
	.carousel4 a.btn-prev {
		margin-left:15px !important;
	}
	
	.carousel4 a.btn-next {
		margin-right:15px !important;
	}
	
	.slide-block p {
		max-width: 300px !Important;
	}
	
	#footer {
		background-size: 100% 100% !important
	}
	
	#footer-conteyner {
		width:100% !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	
	.foxcopy {
		float:left !important;
		width:100% !important
	}
	
	.price {
		width:100% !important;
	}
	
	.price-conteyner table tr td:first-child {
		width:70% !important
	}
	
	.price-conteyner table tr td:last-child {
		width:30% !important;
		padding-left:15px;
	}
	
	ul.tabset li.active a, ul.tabset a.active, ul.tabset a {
		padding-bottom: 32px !important;
	}
	
	.add {
		float: none !important;
		position: relative !important;
		top:0px !important;
		height: 60px;
		text-align:center;
	}
	
	.tel.col-xs-12 {
		text-align:center;
		background:none !important;
	}
	
	.master-info {
		width:100% !important
	}
	
	.master-info a {
		margin-left:0px !important;
	}
	
	.block-master h2 {
		text-align:center !important;
	}
	
	#contentb ul {
		text-align:center;
		padding-left:0px  !important;
	}
	
	 #contentb .catalog-section-list > ul > li {
		width:33% !important
	}
	
	#contentb .reviews-block ul li {
		margin:0px auto 15px !important;
		float:none !important;
		padding: 25px !important
	}
	
	.review-w {
		width:100% !important
	}
	
	.contacts-left {
		width:100% !important;
		max-width:300px !important;
		float:none !important
	}
	
	.contacts-right {
		width:100%;
		max-width:500px !important;
		float:none !important
	}
	
	.map {
		background:none !important
	}
	
	ul.menu li:hover .child {
		display:none !important
	}
	
	.gallery-block2 p {
		padding-top:7px;
	}
	
	#contentb ul li {
		margin:0px !important;
		width:100% !important;
	}
	
	.services3 ul li li a {
		text-align:center !important;
	}
	
	#contentb .catalog-section-list > ul > li:nth-child(4n) {
		clear:left; 
	}
	
	.services4 span {
		margin-bottom:15px !important;
	}
	
	.master-foto {
		width:100% !important
	}
	
	.master-block {
		text-align:center;
	}
	
	.services4 img {
		margin: 0 auto 10px !important;
	}
	
	.our-masters-conteyner > div {
		width:100% !important;
		text-align:center
	}
	
	#cbrc {
		margin: 15px 0;
		float:left;
	}
}

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

}

@media screen and (max-width: 580px) {
	#pole_fio_zapis_master_FID1, #pole_fio_date_zapis_FID1, #pole_fio_vr_viz_FID1, #txt_div {
		float: left !important;
	}
	
	.fancybox-inner {
		overflow-x: hidden !important;
	}
	
	#contentb .catalog-section-list > ul > li {
		width: 50% !important;
	}
	
	#contentb .catalog-section-list > ul > li:nth-child(3n) {
		clear:left; 
	}
	
	.alx_feed_back_form_item_pole {
		width:100% !important;
		margin: 0 !important;
		padding:0px !important;
		padding-top:8px !Important;
		float:none!important
	}
	
	input.alx_feed_back_form_inputtext, #error_fio_FID1 {
		width:100% !Important;
	}
	
	#EMPTY_TEXT1 {
		height: 30px !important;
	}
	
	.alx_feed_back_form_item_pole .radio {
		margin:0 !Importan
	}
	
	.sign-up-popup {
		width:100% !important
	}
	
	.gallery-block2 {
		margin: -50px 0 0 !important;
		left: 0px !important;
		padding: 0px 40px !important;
		background: #971b51 !important;
		width: 100% !important;
		max-width: 100%;
		top: 53.5% !important;
	}
}

@media screen and (max-width: 380px) {
	.slide-block p {
		max-width: 200px !Important;
		font-size: 12px !important;
	}
	
	.slide-block span {
		font-size: 12px !important;
	}
}


@media screen and (min-width: 992px) {
    .our-masters-conteyner ul li{
		max-width: 115px;
	}
	
	.contacts-right {
		width:584px !important
	}
}