/**
	base_popup_form
	popup_result
	review_popup
*/

/** base_popup_form **************/
.base_popup_form{
	max-width: 650px;
	margin: 0 auto;
	background-color: #FFF;
	padding: 95px 30px 30px 30px;
	position: relative;
	width: 100%;
	display: -webkit-flex !important;
	display: flex !important;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.base_popup_form h4{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 15px;
    margin: 0;
	text-align: center;
	border-bottom: 1px solid #fece0a;
	font-family: 'Museo Sans',Arial;
	font-weight: bold;
	font-size: 20px;
}
.base_popup_form > div{
	width: 45%;
}
.base_popup_form .popup_text{}
.base_popup_form .popup_text p{
	margin : 0;
    font-size: 16px;
}
.base_popup_form .mfp-close-btn-in .mfp-close {
	color: #d17b11;
	width: 55px;
	height: 52px;
}
.base_popup_form form{
	text-align : center;
}
.base_popup_form form p{
	margin : 0;
}
.base_popup_form form br{
	display : none;
}
.base_popup_form form input[type="tel"],
.base_popup_form form input[type="text"]{
	background: #FFF;
	max-width: 250px;
    height: 46px;
    text-align: center;
    letter-spacing: 2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
}

.base_popup_form form input[type="submit"]{
    width: 100%;
	max-width: 250px;
    height: 46px;
    margin-top: 16px;
}

.base_popup_form .mfp-close {
	color: #ce7200;
    width: 58px;
    height: 58px;
}
.base_popup_form .wpcf7-response-output{
	margin-top : 0;
}

.base_popup_form._sms-check {
    max-width: 400px;
}

/* Не используется на старом дизайне. */
.base_popup_form._sms-check .popup__close {
    display: none;
}

.base_popup_form._sms-check .popup__container {
    width: 100%;
}

.base_popup_form._sms-check .popup__heading {
    width: 100%;
}

.base_popup_form._sms-check .popup__sms-check-message {
    width: 100%;
    font-size: 16px;
    margin-top: 16px;
}

.base_popup_form._sms-check .popup__input-container {
    width: 100%;
    margin-top: 20px;
}

.base_popup_form._sms-check .pupup__submit-container {
    width: 100%;
    margin-top: 20px;
}

.base_popup_form._sms-check .popup__input {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.base_popup_form._sms-check .popup__submit {
    width: 100px;
    max-width: 100%;
}

@media screen and (max-width: 900px){
    .base_popup_form{
        min-height: 100%;
        max-height: 100%;
        height: auto;
        max-width: 100%;
        -webkit-align-content: -webkit-flex-start;
        align-content: flex-start;
    }
}
@media screen and (max-width: 767px){
	.base_popup_form{
		max-height: 100%;
		height: auto;
		-webkit-align-content: -webkit-flex-start;
		align-content: flex-start;
	}
	.base_popup_form > div{
		width : 100%;
		margin-bottom: 35px;
	}
}

/** popup_result **************/
.popup_result{
    max-width: 300px;
    margin: 0 auto;
    background-color: #059baf;
    padding: 28px;
    position: relative;
    width: 100%;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.popup_result p{
	color : #FFF;
}
.popup_result p span{
	display : block;
}
.popup_result .heading{
	font-size: 16px;
    line-height: 1;
    white-space: nowrap;
}
.popup_result .call{
	margin-top: 5px;
}
.popup_result .call a{
	color: #FFF;
    text-decoration: none;
}
.popup_result .msg{
	margin-top : 15px;
}
.popup_result .smile{
	font-size: 47px;
    font-weight: 900;
    color: #f7c734;
    transition: .4s;
    position: relative;
    padding: 0 20px 0 0;
    white-space: nowrap;
}
.popup_result .mfp-close{
	color : #FFF;
}
