/*!
Theme Name: may
Theme URI: 
Author: IM
Author URI: 
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: may
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

may is based on Underscores (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal 
*/
body {
    font-family: Arial,sans-serif;
}
body {
	background: url(/wp-content/themes/may/img/bg.jpg)repeat;
}
a {
    color: #e31e24;
}
a:hover {
    color: #e31e24;
}
#slider .slide_top_li {
	height: 360px;
	position: relative;
}
#slider .slide_top_li a {
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
}
#slider .slide_top_li .text_slider  {
    position: absolute;
    right: 0;
    padding: 10px 90px;
    background: rgba(255, 255, 255, 0.6);
	background: linear-gradient(to right, rgba(255, 255, 255, 0.6), #ffffff);
    top: 10%;
    font-size: 58px;
    text-transform: uppercase;
    color: #e31e24;
    font-weight: 600;
}
#slider .slide_top_li .text_slider span {
	display: inline-block;
	vertical-align: middle;
}
.dot_slider_text {
    margin-top: -5px;
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #999;
    border-radius: 50px;
	vertical-align: middle;
	margin-right: 20px;
}
.col_address {
    text-align: right;
}
.logo {
    display: block;
    width: 100%;
    max-width: 150px;
}
.logo img {
    max-width: 100%;
    height: auto;
}
#masthead {
    padding: 14px 0 20px 0;
	background: #fff;
}
.col_menu {
    margin-top: 34px;
	border-left: 1px dotted #bbb;
    border-right: 1px dotted #bbb;
}
.navbar {
    margin-bottom: 0;
}
.contacts_head__phone {
    font-size: 28.6px;
    font-weight: bold;
	color: #333 !important;
    text-decoration: none !important;
}
.contacts_head__phone span {
    color: #999999;
}
.contacts_head__address {
    font-weight: bold;
    color: #999;
}
.contacts_head {
    padding: 26px 0 0px 0;
}
#primary-menu.nav-justified > li > a {
    color: #333;
    text-transform: lowercase;
    font-size: 16px;
    font-weight: bold;
	padding: 10px 0;
}
#primary-menu.nav-justified > li.current-menu-item > a {
    background-color: #eee;
}
#primary-menu.nav-justified > li.current-page-ancestor > a {
    background-color: #eee;
}
#slider  {
	overflow: hidden;
	background: transparent;
	margin-bottom: 30px;
}
.flexslider {
    padding: 0 0 40px;
}
.flexslider {
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.flex-control-nav {
    bottom: 0;
}
.flex-direction-nav a:before {
    font-size: 30px;
	color: rgb(227, 30, 36);
}
.flexslider:hover .flex-direction-nav .flex-next {
    right: 5%;
}
.flexslider:hover .flex-direction-nav .flex-prev {
    left: 5%;
}
.flex-direction-nav a {
    text-shadow: none;
}
.flex-control-paging li a {
    background: #999;
}
.flex-control-paging li a.flex-active, .flex-control-paging li a:hover {
    background: rgb(227, 30, 36);
    border: 0;
}
.card_body {
    display: block;
    height: 280px;
    margin-bottom: 30px;
    width: 100%;
	position: relative;
	transition: 0.7s;
	overflow: hidden;
}
.card_body .card_text {
	position: absolute;
    bottom: 0;
    width: 100%;
    display: block;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    color: #70181B;
    font-weight: bold;
    font-size: 14px;
	transition: 0.7s;
}
.card_body:hover .card_text {
    padding-top: 100%;
	background: rgba(255, 255, 255, 0);
}
.title_section {
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    font-size: 38px;
}
.title_content {
    margin-bottom: 16px;
    text-align: left;
    font-size: 38px;
    color: #e31e24;
}
.content_site p {
    margin: 0 0 10px;
    font-size: 16px;
    text-align: justify;
    color: #000;
}
.call_me_block {
	background: url(/wp-content/themes/may/img/bg_footer.jpg)no-repeat 50% 50% / cover;
	padding-top: 20px;
	margin-top: 20px;
}
#carousel.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    float: none !important;
    display: inline-block !important;
    vertical-align: middle;
}
#carousel {
    background: transparent;
	padding-bottom: 0;
    margin-bottom: 0;
}
.clients_block {
	padding: 40px 0 40px 0;
	background: #f4f4f4;
}
.call_me_block img{
    max-width: 100%;
}
#carousel.flexslider .slides img {
    height: auto;
    -moz-user-select: none;
    width: auto;
    max-width: 70%;
	margin: 0 auto;
}
.p0 {
	padding: 0;
}
#carousel.flexslider:hover .flex-direction-nav .flex-next {
    right: 1%;
}
#carousel.flexslider:hover .flex-direction-nav .flex-prev {
    left: 1%;
}
.flex-direction-nav a:before {
    text-shadow: none;
}
#primary-menu .sub-menu {
    width: 100%;
    background: #fff;
    padding: 15px;
    position: absolute;
    left: 0;
    z-index: 99;
    box-shadow: 0 8px 15px #bbb;
	display: none;
}
#primary-menu .sub-menu {
    width: 100%;
    background: #fff;
    padding: 15px;
    position: absolute;
    left: 0;
    z-index: 99;
    box-shadow: 0 8px 15px #bbb;
	display: none;
	min-width: 210px;
}
#primary-menu .sub-menu li {
    list-style: none;
}
#primary-menu .sub-menu li a {
    color: #333;
    text-align: center;
    display: block;
	padding: 8px 0;
}
#primary-menu .menu-item:hover .sub-menu {
	display: block;
}
.footer_bottom {
    background: #fff;
    padding: 30px 0;
}
.footer_information__title {
    text-transform: uppercase;
    font-weight: bold;
    color: #666;
    margin-bottom: 8px;
}
.footer_information_li {
    padding-left: 14px;
    position: relative;
}
.footer_information_li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -2px;
	width: 4px;
	height: 4px;
	background: #bbb;
}
.soc_block {
    text-align: right;
    padding-top: 44px;
}
.soc_block_link.inst{
    display: inline-block;
    width: 60px;
    height: 60px;
    background: url(/wp-content/themes/may/img/soc_sprite.png)no-repeat -5px -5px;
}
.soc_block_link.fb{
    display: inline-block;
    width: 60px;
    height: 60px;
    background: url(/wp-content/themes/may/img/soc_sprite.png)no-repeat -70px -5px;
}
.soc_block_link.vk{
    display: inline-block;
    width: 60px;
    height: 60px;
    background: url(/wp-content/themes/may/img/soc_sprite.png)no-repeat -137px -5px;
}
@media (max-width: 768px) {
	#slider .slide_top_li .text_slider {
		font-size: 16px;
		padding: 10px 44px;
	}
	#slider .slide_top_li {
		height: 90px;
	}
	#slider {
		margin-bottom: 10px;
	}
	.title_section {
		margin-bottom: 20px;
		font-size: 28px;
	}
	.title_content {
		font-size: 28px;
	}
	.content_site p {
		font-size: 14px;
	}
	.col_logo {
		width: 50%;
	}
	.call_me_block img {
		display: none;
	}
	.col_menu {
		margin-top: 10px;
		border-left: 0;
		border-right: 0;
	}
	.navbar {
		min-height: 0;
	}
	.contacts_head {
		padding: 0px 0 0px 0;
		text-align: left;
	}
	.navbar-toggle {
		background-color: #eee;
		margin-right: 0;
	}
	.navbar-toggle .icon-bar {
		background: #999;
	}
	.logo img {
		max-height: 50px;
	}
	#primary-menu .sub-menu {
		display: none !important;
	}
}
.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 99999;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.popup, .popup2, .popup3{
    display: inline-block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    position: fixed;
    text-align: justify;
    visibility: hidden;
    z-index: 999999;
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
	padding: 20px;
    background-color: #fff;
    border: 0;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    width: 100%;
    width: 368px;
    height: 440px;
}

.popup2 .window {
    padding: 0;
    width: 100%;
    padding: 25px;
    color: #000;
    text-align: left;
}
.popup .close_modal,
.popup2 .close_modal, .popup3 .close_modal {
    position: absolute;
    padding: 4px 10px 4px 10px;
    top: -15px;
    right: -15px;
    cursor: pointer;
    color: #fff;
    background: #a7acaf;
    text-align: center;
	border-radius: 50px;
    width: 30px;
    height: 30px;
	font-size: 15px;
}

.complect-placeholder {
    border: 3px solid #fff;
    -webkit-border-radius: 19px;
    border-radius: 19px;
    background: 0 0;
    height: 36px;
    padding: 5px 19px;
    width: 100%;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    margin-bottom: 10px;
	color: #fff;
}
.complect-placeholder option {
    color: #333;
}
.fofm h5, .fotr h5 {
    font-size: 24px;
    font-weight: bold;
	margin: 0;
	margin-bottom: 20px;
}
.fofm p {
    font-size: 16px;
	margin-bottom: 20px;
}
.fofm input {
    width: 100%;
    padding: 10px;
    margin-bottom: 11px;
}
.fofm input {
    border: 1px solid #bbb;
}
.fofm input.btn {
	border: 1px solid transparent;
}
.fofm  textarea {
	width: 100%;
    padding: 10px;
	border: 1px solid #bbb;
}
.fofm .checkbox input[type=checkbox], .fofm .checkbox-inline input[type=checkbox], .fofm .radio input[type=radio], .fofm .radio-inline input[type=radio] {
    display: block;
    width: 16px;
    margin-top: 3px;
}

@media(max-width: 450px) {
	.popup, .popup2, .popup3{
    width: 100%;
    height: auto;
	}
	.popup .close_modal, .popup2 .close_modal, .popup3 .close_modal {
		right: 8px;
	}
}
.popup2 p {
    font-size: 18px;
    line-height: 1.4;
}
.popup2  h5 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
}
.head_block_footer {
	padding: 0;
    padding-top: 15px;
}
.callback-order-form.fofm {
    padding: 25px 25px 35px 25px;
    background: rgba(0, 0, 0, 0.55);
    max-width: 320px;
    /* margin: 0 auto; */
}
.callback-order-form.fofm h5 {
    color: #fff;
    text-align: center;
}
.btn-yellow.btn.btn-price {
    margin-top: 10px;
    border-radius: 0;
    background: #e31e24;
    color: #fff;
    text-transform: uppercase;
    padding: 10px;
    font-weight: bold;
}
.visible_medium {
	display: none;
}
@media (min-width:768px) and (max-width: 1200px) {
	.contacts_head__phone {
		font-size: 26.6px;
		font-weight: bold;
	}
	.contacts_head__address {
		font-weight: bold;
		color: #999;
		font-size: 13px;
	}
	.visible_medium {
		display: block !important;
	}
	.hidden_medium {
		display: none !important;
	}
	.col_menu {
		margin-top: 15px;
		border-left: 0;
		border-right: 0;
	}
	#masthead {
		padding: 14px 0 10px 0;
		background: #fff;
	}
	.logo {
		max-width: 120px;
	}
}

.call_me_form .callback-order-form.fofm {
    max-width: 100%;
	padding: 14px 10px 14px 20px;
    border-radius: 50px;
    margin-top: 270px;
}
.col_1, .col_2, .col_3 {
    width: 31%;
    display: inline-block;
	vertical-align: middle;
	margin-right: 1%;
}
.col_2 {
    width: 37%;
}
.call_me_form .callback-order-form-group__input.telephone.phoner {
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    margin: 0;
    border-radius: 50px;
}
.call_me_form input.callback-order-form-group__input::placeholder {
	color: #fff;
}
.col_1 {
    color: #fff;
	width: 27%;
}
.call_me_form .btn-mini {
    color: #fff;
    background: #e31e24;
    border-radius: 50px;
    padding: 10px;
    border: 2px solid #e31e24;
    font-size: 14px;
}
.call_me_block .container {
    width: 100%;
    max-width: 1300px;
}
.call_me_form  {
    position: relative;
}
.call_me_form:before {
	content: '';
	position: absolute;
	left: -10px;
	top: -10px;
	width: 30px;
	height: 30px;
	background: url(/wp-content/themes/may/img/close.svg)no-repeat 50% 50% / contain;
}
.call_me_form:after {
	content: '';
	position: absolute;
	right: 0;
    top: -68px;
    width: 60px;
    height: 60px;
	background: url(/wp-content/themes/may/img/fly.svg)no-repeat 50% 50% / contain;
}
.popup2 .insText {
    text-align: center;
}
@media (max-width: 1200px) {
	.call_me_block .container {
		width: 970px;
		max-width: 1300px;
	}
	.col-md-6.col-lg-3 .callback-order-form.fofm {
		width: 100%;
		max-width: 100%;
	}
}
@media (max-width: 998px) {
	.call_me_block .container {
		width: 100%;
	}
	.call_me_block .p0 {
		padding: 0 15px;
	}
	.call_me_form .callback-order-form.fofm {
		margin-top: 70px;
		margin-bottom: 40px;
	}
}
@media (max-width: 570px) {
	.col_1, .col_2, .col_3 {
		width: 100%;
		margin-right: 0;
		margin-bottom: 15px;
		text-align: center;
	}
	.col_3 {
		margin-bottom: 0;
	}
	.call_me_form .callback-order-form.fofm {
		max-width: 100%;
		padding: 14px 20px 24px 20px;
		border-radius: 8px;
	}
}
.owl-carousel .owl-item img {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}
.owl-dots {
    display: none;
}
.owl-carousel.owl-loaded {
    padding: 0;
}
.owl-nav {
    position: absolute;
    top: 50%;
    margin-top: -20px;
	width: 100%;
	display: block !important;
}
.owl-carousel .owl-nav button.owl-next {
    right: 0;
    position: absolute;
    font-size: 30px;
    color: #e31e24;
}
.owl-carousel .owl-nav button.owl-prev {
    left: 0;
    position: absolute;
    font-size: 30px;
    color: #e31e24;
}
.footer_information_li br {
  display: none;
}
@media (max-width: 600px) {
  .footer_information_li br {
    display: initial;
  }
}
.soc_block_contacts {
text-align: left;
padding: 20px 0;
}
.soc_block_contacts .soc_block_link.inst {
display: inline-block;
width: 50px;
height: 50px;
background: url(/wp-content/themes/may/img/soc_sprite.png)no-repeat -5px -5px;
background-size: 164px;
border-radius: 8px;
}
.soc_block_contacts .soc_block_link.fb {
display: inline-block;
width: 50px;
height: 50px;
background: url(/wp-content/themes/may/img/soc_sprite.png)no-repeat -60px -5px;
background-size: 164px;
border-radius: 8px;
margin-left: 6px;
}
.soc_block_contacts .soc_block_link.vk {
display: inline-block;
width: 50px;
height: 50px;
background: url(/wp-content/themes/may/img/soc_sprite.png)no-repeat -115px -5px;
background-size: 164px;
border-radius: 8px;
margin-left: 6px;
}