/*
Theme Name: Svaimatic Child
Theme URI: https://svaimatic.ru/
Template: astra
Author: Lisovenko Aleksandr +7-952-912-30-69
Author URI:
Version: 1.0
Updated: 2018-12-18 21:04:46

*/

.compensate-for-scrollbar {margin-right: 0 !important;}
.uael-img-gallery-wrap .uael-grid-img-thumbnail {border: solid 5px #ffffff; border-radius: 5px;}
a.numtel {font-size:20px; font-weight: 700;} 
a.numtel:hover {color:#333333 !important;} 
a.numtel i {color:#df3b2c; position:relative; top:2px; margin-right:10px;}

.header-main-layout-1 .ast-main-header-bar-alignment {margin-right: auto;}

/*.main-header-bar .ast-masthead-custom-menu-items {float:right !important;}*/


/* ФОРМЫ КОНТАКТОВ */
#form1 .uael-cf7-loader-active, #form1 .wpcf7-not-valid-tip, 
#form2 .uael-cf7-loader-active, #form2 .wpcf7-not-valid-tip,
#form1 div.wpcf7-validation-errors, #form1 .wpcf7-mail-sent-ok, 
#form2 div.wpcf7-validation-errors, #form2 .wpcf7-mail-sent-ok {display:none !important;}
#form1 .wpcf7-list-item, #form2 .wpcf7-list-item, #modalModal .wpcf7-list-item {margin-bottom:0; line-height:12px;}
#form1 span.wpcf7-list-item-label, #form2 span.wpcf7-list-item-label {font-size:11px;} 
#form1 .wpcf7-acceptance input[type="checkbox"] + span:before, 
#form2 .wpcf7-acceptance input[type="checkbox"] + span:before {border-radius:0 !important; -webkit-transform: -ms-transform: scale(0.8); /* IE */ -moz-transform: scale(0.8); /* FF */ -webkit-transform: scale(0.8); /* Safari and Chrome */ -o-transform: scale(0.8); /* Opera */ color:#333333;}

/* МОДАЛЬНЫЕ ОКНА */

/* #modalModal */
#modalModal.fancybox-content {max-width: 350px !important;}
#modalModal .wpcf7-list-item {margin:0;}
#modalModal input[type="submit"]:hover, 
#modalModal input[type="submit"]:active {background-color:rgba(221,24,6,0.94);}
#modalModal input[type="text"].wpcf7-not-valid {border: 1px solid #ff0000 !important;}
#modalModal  input.wpcf7-form-control.wpcf7-submit {-webkit-box-pack: center; -ms-flex-pack: center;-webkit-justify-content: center; -moz-box-pack: center; justify-content: center; width: 100%;}
#modalModal input[type="submit"] {background-color: #df3b2c; border-radius: 5px 5px 5px 5px;}
#modalModal {max-width: 350px; border-radius:10px !important;}
#modalModal .ajax-loader {display: none;}
#modalModal div.wpcf7-validation-errors, #modalModal .wpcf7-mail-sent-ok,
#modalModal .uael-cf7-loader-active, #modalModal .wpcf7-not-valid-tip {display:none !important;}
#modalModal span.wpcf7-list-item-label {font-size:11px;}
#modalModal input[type="checkbox"] {border-radius:0 !important; -webkit-transform: -ms-transform: scale(0.8); /* IE */ -moz-transform: scale(0.8); /* FF */ -webkit-transform: scale(0.8); /* Safari and Chrome */ -o-transform: scale(0.8); /* Opera */ color:#333333;}

/* #modalSuccess */
#modalSuccess.fancybox-content {max-width:600px !important;}
#modalSuccess.fancybox-content {border-radius:5px;}
#modalSuccess button:hover, .fancybox-slide--html #modalModal button:hover {color:#3a3a3a; background-color:transparent;}

/********************************/
/**** Кнопка обратного звонка ***/
/********************************/

.messangers-block .head-callback {line-height: 18px !important; font-size: 16px;}
.messangers-block .head-callback p {margin-top: 10px; font-size: 14px;}	
.arcontactus-widget .messangers-block {width: 270px !important;}
.arcontactus-message-button .static svg {display: none !important;}
.arcontactus-message-button .static p {margin-top: 8px; font-size: 11px !important;}
.callback-countdown-block-phone p {font-size: 16px !important; color: #000000; font-weight:700; line-height: 20px;}
.callback-countdown-block-sorry p {font-size: 16px !important; color: #000000;}
.arcontactus-widget .callback-countdown-block .callback-countdown-block-phone .callback-countdown-block-form-group input[type=submit] {padding: 5px 5px 9px !important;}

/* Защита от спама в Contact Form 7 */
.agree {display:none;}

@media only screen and (max-width: 767px) {
	.ast-header-break-point .ast-mobile-header-stack .site-branding {padding-bottom:0;}
	.ast-site-identity {padding:0;}
	.elementor-8 .elementor-element.elementor-element-3f187bf .uael-cf7-style input[type="submit"] {margin-bottom: 10px;}
		
	/* Кнопка обратного звонка */
	.arcontactus-widget .callback-countdown-block {height: 170px !important; padding-top: 15px !important;} 
}
	
@media only screen and (min-width: 768px) and (max-width: 1024px){
	/*.main-header-bar .ast-masthead-custom-menu-items {position: absolute; margin-left:40%;}*/
	.main-header-bar {padding-top: 1.5em; padding-bottom: 1.5em;}
	.ast-site-identity {padding:0;}
	.ast-header-break-point .ast-mobile-header-stack .site-branding {padding-bottom:0;}
}
