/*-------------------------------------*/
/* Forms                               */
/*-------------------------------------*/

.form-section {
    display: block;
    position: relative;
    box-sizing: border-box;
}

.form-section__title {
    display: block;
    position: relative;
    color: #000;
    font-size: 24px;
    text-align: center;
    padding-bottom: 15px;
}

.form-section__description {
    display: block;
    position: relative;
    color: #000;
    font-size: 90%;
    text-align: center;
    padding-bottom: 15px;
}

.form-section__area {
    display: flex;
    position: relative;
    box-sizing: border-box;  
    justify-content: space-between;
    height: 105px;
    max-width: 700px;
    margin-top: 70px;
}

.form-section__item {
    width: 50%;
}

.form-section__area input {
    width: 330px;
    height: 100%;
    background: #fff;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 18px;
}

.form-section__fields {
    display: block;
    position: relative;
	margin: 10px 0 40px 0;
}

.form-section__fields.hidden {
    display: none;
}

.form-section__fields input {
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    color: #000;
    background: #fff;
    border: none;
    outline: none;
}

.modal-body .form-section__fields input {
    margin-bottom: 10px;
}

.modal-body .form-section__fields input {
    border: 1px solid #ECEDF0;
    border-radius: 4px;
}

.form-section__area input {
    background: #F9FAFB;
}

.form-section__area .form-section__fields {
    margin: 0;
    max-width: 337px;
}

.form-section__fields input.error {
    border: 1px solid #aa0000;
    box-shadow: 0 0 6px #aa0000;
}

.form-section__control {
    display: block;
    position: relative;
}


.form-section__area .form-section__control {
    display: block;
    position: relative;
}


.form-section__area .form-section__control:after {
    content: "";
    background: url(/images/btn-text.png) center no-repeat;
    display: block;
    position: absolute;
    top: -33px;
    width: 100%;
    height: 75px;
    z-index: 1;
}

.form-section__submit {
    margin: 0 auto;
    max-width: 100%;
}

.form__header { 
    display: block; 
    position: relative;
    text-align: left;
	padding: 40px 25px 0;
}

.form__header > span {
	font-size: 32px;
}

.form__ttl {
    display: block; 
    position: relative;
	font-weight: bold;
    text-align: left;
}

.form__descr {
    display: block; 
    position: relative;
    padding: 20px 0 20px 0;
    text-align: left;
}

.form__action {
    display: block; 
    position: relative;
    padding: 0 30px 30px;
    text-align: left;
}

.form-section__submit.disabled {
    background: #aaa!important;
    border-bottom: 4px solid #888;
    cursor: auto;
}

.form-section__submit.disabled:hover {
    margin-top: 0;
}

.form-section__submit.disabled:before {
    border: 1px solid gray;
}

.form-section__confirm {
    display: flex;
    position: relative;
}

.form-section__checkbox {
    display: none;
    position: relative;
    margin-right: 15px;
}

.form-section__checkbox span {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px #ccc inset;
    background-color: #fff!important;
}

.form-section__confirm.checked .form-section__checkbox span {
    background: url(/images/icons/ic-check.png) no-repeat center;
}

.form-section__privacy {
    display: block;
    position: relative;
	width: 100%;
    font-size: 12px;
    color: #787D91;
	text-align: center;
}

.form-section__privacy a {
    text-decoration: none;
}

.form-section__privacy a:hover {
    text-decoration: underline;
}

.form-section__system {
    display: block;
    position: relative;
    padding: 5px 0;
}

.form-section__progress {
    display: none;
    position: relative;
    animation: anim-progress 0.5s linear infinite;
    margin: 0 auto;
    width: 60%;
    height: 10px;
    background: url(../images/obj-pbar.png) #87d339 0 0;
    border-radius: 10px;
    transition: 0.3s;
}

@keyframes anim-progress {
    0% { background-position: 0 0; }
    100% { background-position: 13px 0; }
}

.form-section__progress.active {
    display: block;
}

.form-section__alert {
    display: block;
    position: relative;
    padding: 5px 0;
}

.form-section__alert .alert {
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 5px 10px;
    font-size: 90%;
    color: #fff;
    text-align: center;
    background: #aaa;
    border-radius: 4px;
}

.form-section__alert .alert-danger {
    background: #cc0000;
}

.form-section__alert .alert-success {
    background: #00aa00;
}

@media (max-width: 991px) {
    .form-section {
        width: 100%;
    }
    .form-section__area {
        flex-wrap: wrap;
    }
	.form-section__privacy {
		background: #fff;
		border-radius: 4px;
		padding: 5px 10px;
	}
}

@media (max-width: 767px) {
    .form-section__fields {
        margin-bottom: 20px;
    }
    .form-section__fields input {
        font-size: 100%;
        border: 1px solid #efefef;
    }
	.form__action {
		padding: 0 20px 30px;
	}
    .form-section__submit {
        font-size: 90%;
    }
	.form-section__item {
		margin: 30px 15px 0 15px !important;
	}
    .form-section__control {
        width: 100%;
    }
    .form-section__area {
        height: auto;
    }
    .form-section__area .form-section__fields {
		margin: 0 auto;
        width: 100%;
    } 
    .form__descr br {
        display: none;
    }
}

/*-------------------------------------*/
/* Modal                               */
/*-------------------------------------*/

.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 8999;
    padding: 5px;
    box-sizing: border-box;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.75);
    text-align: center;
}

.blocker:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}

.blocker.behind {
    background-color: transparent;
}

.modal {
    display: none;
    vertical-align: middle;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    z-index: 9999;
	overflow: hidden;
}

.modal-form {
    display: none;
	position: relative;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    max-width: 525px;
    border: 5px solid #555; 
}

.modal-body {
    display: block;
    position: relative;
    box-sizing: border-box;
    max-width: 500px;
    margin: 0 auto;
}

#modal_callback {
	max-width: 1100px;
}

.modal a.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    transition: 0.2s;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8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U5ErkJggg==');
}

.modal a.close-modal:hover {
    filter: invert(1);
}

.modal-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 12px 16px;
    border-radius: 5px;
    background-color: #111;
    height: 20px;
}

.modal-spinner > div {
    border-radius: 100px;
    background-color: #fff;
    height: 20px;
    width: 2px;
    margin: 0 1px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.modal-spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.modal-spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.5)
    }
    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.5);
        -webkit-transform: scaleY(0.5);
    }
    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

@media (max-width: 767px) {
    .modal-form {
        padding: 40px 30px 30px;
    }
}


.callback-form {
    display: block;
    position: relative;
}

#modal_callback {
	padding: 0;
}

.callback-form__flex {
    display: flex;
    position: relative;
    box-sizing: border-box;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.callback-form__item {
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 15px;
}

.callback-form__item_left {
    width: 40%;
	padding: 0;
}

.callback-form__item_left img {
	height: 100%;
}

.callback-form__item_right {
	width: 60%;
    padding: 70px 40px 50px 25px;
}

.callback-form__header {
    display: block;
    position: relative;
    font-size: 160%;
    line-height: 1.3;
    padding-bottom: 15px;
}

.callback-form__header .string-themecolor {
    font-family: Playfair Display;
    font-size: 50px;
    text-transform: uppercase;
    color: #4190FF;
}

.callback-form__header .string-thin {
    font-weight: 300;
}

.callback-form__descr {
    display: block;
    position: relative;
    padding-bottom: 30px;
}

@media (max-width: 991px) {
    .callback-form__item_left {
        display: none;
    }
    .callback-form__item_right {
        width: 100%;
		padding: 0px;
    }
}

@media (max-width: 767px) {
    .modal {
        padding: 20px 10px;
    }
    .form-section__privacy {
        font-size: 9px
    }   
    .form-section__privacy br {
        display: none;
    }
    .form__descr {
        padding: 25px 0 0px 0;
    }
}

 
/* button */
.form-section__submit {
    display: flex;
    position: relative;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    height: 55px;
    max-width: 260px;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    background: #FFA04A;
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
    transition: all .2s ease-in-out;
    outline: none !important;
    outline-offset: 0 !important;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
}

.modal-form .form-section__submit { 
    max-width: 300px;
}

.form-section__submit:not(.disabled):hover {
    transform: translateY(-2px);
}


