/*
Theme Name: Itbutik3
Author: It-Butik
Author URI: https://it-butik.ru
Version: 1.0
 */

img {
    height: auto;
    max-width: 100%
}
a, a:hover, a:active, a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.site-header {
	position: absolute;
    left: 0px;
    right: 0px;
    z-index: 10;
	background-color:#fff;
}
.site-logo {
    display: inline-block;
    max-width: 100%;
	margin-right:15px;
}
.site-logo img {
	max-height:55px;
}
.naming-wrap {
	display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
}
.naming-wrap h1 {
	font-size: 30px;
	font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}
.naming-wrap h4 {
	margin-top:0;
	margin-bottom:0;
	line-height: 26px;
}
.naming-wrap a {
	color:inherit;
}
.foot_list ul.menu {
	list-style-type: none;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.foot_list ul.menu li {
	margin-right:0;
	margin-left:0;
}
#next .content-blocks .content_block:nth-child(2n+1) .content_img {
	float: right;
    margin-left: 50px;
    padding-right: 30px;
}
#next .content-blocks .content_block:nth-child(2n) .content_img {
	float: left;
    margin-right: 50px;
    padding-left: 30px;
}
#next .content-blocks .content_block:nth-child(2n+1) .content_img img {
	box-shadow: 30px 30px 0 #ecf1f9;
}
#next .content-blocks .content_block:nth-child(2n) .content_img img {
	box-shadow: -30px 30px 0 #ecf1f9;
}

.proj_fon .cat_name {
	margin-top: 250px;
}
section {
	overflow:hidden;
}
section.first {
	padding-top:100px;
}
.pagi_line {
	position:relative;
}
.pag_left, .pag_right {
	text-indent:100000;
}
.pag_left {
	position: absolute;
    left: -15px;
    top: 9px;
}
.pag_right {
	position: absolute;
    right: -15px;
    top: 9px;
}
.main-menu .menu-item-has-children {
	padding-right: 20px;
    background: url(/wp-content/themes/itbutik/img/arr.svg) no-repeat;
    background-position: right 55%;
}
.main-menu .sub-menu {
	list-style-type: none;
	position: absolute;
	width: 100%;
	left: -20px;
	top: 22px;
	list-style-type: none;
	z-index: 10;
}

.main-menu .sub-menu li {
	overflow: hidden;
	width: 250px;
	height: 0px;
	background: #fff;
	margin: 1px 0;
  font-size: 17px;
  font-weight: 600;
	transition: 0.3s ease all;
	padding: 0 10px ;
}

.main-menu .menu li:hover .sub-menu li {
	padding: 10px;
	height: 40px;
}

.main-menu .sub-menu li:hover {
	color: #fff;
}
.pol_row .wpcf7-checkbox .wpcf7-list-item-label {
	margin: 0 0 0 0;
	font-size: 10px;
}
.form_col input.wpcf7-submit {
    color: #fff;
    margin-top: 13px;
    padding: 16px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    width: 100%;
}
.form_col .ajax-loader {
	width:16px;
	height:16px;
}
.about_cif span {
	font-size: 75px;
}
.spoiler-head {
	display:block;
} 
.spoiler-head.folded .spoiler-body {
	display:block!important;
}
.spoiler-head.folded .spoiler-body > .menu {
	display:block!important;
	
}
.spoiler-head.folded .spoiler-body > .menu li {
	margin: 1px 0;
}
.sidebar .usl_col {
	width:100%;
}
.usl_img_wrap {
	position: absolute;
    left: -10%;
    bottom: 25px;
    width: 38%;
    border-radius: 11px;
    min-height: 164px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.usl_block img {
    max-width: 100%;
    max-height: 100%;
    max-width: none;
    min-width: auto;
    min-height: auto;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cont_row {
	justify-content: center;
}
.cont_row > div:nth-child(2) {
	margin-left:2%;
}
.services-wrap .cpt-alm-item {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-ms-align-items: stretch;
		align-items: stretch;
		justify-content: space-between;
		margin-bottom: 80px;
}

.services-wrap .cpt-alm-item:nth-child(2n) {
	-webkit-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}
.services-wrap .cpt-alm-item:nth-child(2n) .service_imgs:after {
    left: auto;
    right: 100%;
}
.port_row .cpt-alm-item {
	width: 31%;
	margin-left:1%;
	margin-right:1%;
    height: 244px;
    margin-bottom: 25px;
    position: relative;
}
.port_row .cpt-alm-item:hover .port_vn {
	opacity:1;
}
ul.post-categories {
	list-style:none;
}
.news_block .cpt-alm-item {
	position: relative;
    padding-top: 25px;
    padding-left: 25px;
    width: 48%;
    margin-bottom: 50px;
}
.bottom-form-wrap p {
	display: flex;
    justify-content: space-between;
    align-items: center;
	flex-wrap:wrap;
}
.bottom-form-wrap .ajax-loader, .wpcf7-spinner {
	display:none;
}

form .form_vn p {
	display: flex; 
	align-items: center;
    justify-content: space-between;
}

.wpcf7-spinner {
	display:none;
}


	.wpcf7 .ajax-loader {
		width:0!important;
		margin:0!important;
	}

.wpcf7 form .wpcf7-response-output {
    margin-bottom: 5em;
}

@media screen and (max-width: 991px){
	.services-wrap .cpt-alm-item, .services-wrap .cpt-alm-item:nth-child(2n) {
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
		margin-bottom: 50px;
	}
	.port_row .cpt-alm-item {
		width: 48%;
	}
	.news_block .cpt-alm-item {
		width:98%;
	}
}

@media screen and (max-width: 767px){
	.port_row .cpt-alm-item {
		width: 100%;
    	height: auto;
	}
	form .form_vn p {
		flex-direction:column;
	}
}

@media screen and (max-width: 576px){
	.bottom-form-wrap p {
   flex-direction:column;
	}
}
