/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    /*z-index: 10; !* Sit on top *!*/
    /*padding-top: 30px; !* Location of the box *!*/
    /*left: 0;*/
    /*top: 0;*/
    /*width: 100%; !* Full width *!*/
    /*height: 100%; !* Full height *!*/
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-close-d {
    width: 80%;
    margin: auto;
    position: relative;
    margin-top: 10px;
}

.modal-close-d .modal-close {
    color: white;
    font-size: 34px;
    line-height: 24px;
    position: absolute;
    width: 24px;
    height: 24px;
    right: 0;
    top: 0;
}
/* Modal Content */
.modal-content {
    position: relative;
    margin: auto;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    padding: 60px 50px;
    margin-top: 40px;
    max-height: calc(100% - 40px);
    overflow-x: hidden;
    background-color: #fff;
    border-radius: 0;
}

.modal-content h2 {
    color: #111;
    letter-spacing: -1px;
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 34px;
    line-height: 42px;
}

.modal-main:after {
    content: '';
    display: block;
    width: 96px;
    height: 70%;
    background-color: #ffab30;
    position: absolute;
    bottom: 0;
    right: -96px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */


.modal-close:hover,
.modal-close:focus {
    text-decoration: none;
    cursor: pointer;
    color: #ffab30;
}

.form_custom .input-wrap {
    display: flex;
    justify-content: space-between
}

.form_custom .input-field {
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.form_custom .input-wrap .input-field_half {
    width: 48%;
}

.form_custom .checkbox-wrap span,
.form_custom .checkbox-wrap span a,
.form_custom .input-field label {
    font-size: 18px;
    letter-spacing: .4px;
    line-height: 24px;
}

.form_custom .input-field input {
    color: #111;
    font-size: 22px;
    letter-spacing: -.2px;
    line-height: 32px;
    border: none;
    border-bottom: 2px solid #e0dfe0!important;
    margin-bottom: 0;
    padding: 4px 0 12px 0;
    background-color: transparent;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    height: 3rem;
    width: 100%;
    box-shadow: none;
    box-sizing: content-box;
    transition: all .3s;
}

.form_custom .input-field label {
    color: #111;
    font-size: 14px;
    text-transform: uppercase;
    transform: translateY(0) scale(1)!important;
    position: relative;
    left: 0;
}

.form_custom .select2-container--default .select2-selection--single {
    color: #111;
    font-size: 22px;
    letter-spacing: -.2px;
    line-height: 32px;
    border: none;
    border-bottom: 2px solid #e0dfe0!important;
    margin-bottom: 0;
    padding: 4px 0 12px 0;
    background-color: transparent;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    height: 3rem;
    width: 100%;
    box-shadow: none;
    box-sizing: content-box;
    transition: all .3s;
}
.form_custom .select2-container--default {
    width: 100%;
}

.form_custom .select2-container--default .select2-selection--single>span {
    padding: 0;
}
/*.form_custom .select2-results__option {*/
/*    font-size: 16px;*/
/*    line-height: 24px;*/
/*}*/
.form_custom .input-field textarea {
    resize: vertical;
    padding: 4px 0 12px 0;
    margin-bottom: 0;
    height: 144px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #111;
    font-size: 22px;
    letter-spacing: -.2px;
    line-height: 32px;
    border: 0;
    border-bottom: 2px solid #e0dfe0;
    border-radius: 0;
}

.form_custom .input-field textarea:hover {
    background-color:inherit;
}

.form_custom .checkbox-wrap {
    margin: 8px 0 24px;
}

.form_custom .checkbox-wrap input{
    -webkit-appearance: none;
    border-radius: 0;
    display: none;
}

.form_custom .checkbox-wrap span {
    color: #a0a0a0;
    height: auto;
    padding-left: 40px;
    font-size: 18px;
    letter-spacing: .4px;
    line-height: 24px;
}

.form_custom .checkbox-wrap span,
.form_custom .checkbox-wrap span a,
.form_custom .input-field label {
    font-size: 18px;
    letter-spacing: .4px;
    line-height: 24px;
}

.form_custom [type=checkbox]:not(:checked)+span:not(.lever):before {
    background-color: transparent;
    margin-top: 0;
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    transform: rotateZ(37deg);
    transform-origin: 100% 100%;
}

.form_custom [type="checkbox"].filled-in+span:not(.lever):before,
.form_custom [type="checkbox"].filled-in+span:not(.lever):after {
    content: '';
    left: 0;
    position: absolute;
    transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    z-index: 1;
}



.form_custom [type=checkbox]:not(:checked)+span:not(.lever):after {
    -webkit-transform: none!important;
    transform: none!important;
    margin-top: 0!important
}

.form_custom [type=checkbox]:not(:checked)+span:not(.lever):before {
    background-color: transparent!important;
    margin-top: 0!important
}

.form_custom [type=checkbox]:checked+span:not(.lever):after {
    background-color: #111;
    border: 2px solid #111!important;
    -webkit-transform: none!important;
    transform: none!important;
    margin-top: 0!important
}

.form_custom [type=checkbox]:checked+span:not(.lever):before {
    width: 8px;
    height: 13px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    z-index: 2;
    transform: rotateZ(37deg);
    transform-origin: 100% 100%;
}

.form_custom .checkbox-wrap {
    margin: 8px 0 24px;
    position: relative
}

.form_custom .checkbox-wrap .form-error {
    top: auto;
    bottom: -16px
}

.form_custom .checkbox-wrap [type=checkbox].filled-in.invalid+span:not(.lever):after {
    border: 2px solid #d51716!important
}

.form_custom .checkbox-wrap [type=checkbox].filled-in:checked+span:not(.lever):after {
    border: 2px solid #111!important;
    background-color: #111
}

.form_custom .checkbox-wrap [type=checkbox].filled-in:checked+span:not(.lever) {
    color: #111
}

.form_custom .checkbox-wrap span {
    color: #a0a0a0;
    height: auto;
    padding-left: 40px
}

.form_custom .checkbox-wrap span,.form_custom .checkbox-wrap span a,.form_custom .input-field label {
    font-size: 18px;
    letter-spacing: .4px;
    line-height: 24px
}

.form_custom .checkbox-wrap span:before {
    top: 1px!important;
    left: 3px!important
}

.form_custom .checkbox-wrap span:after {
    border: 2px solid #e0dfe0!important;
    border-radius: 0!important;
    height: 24px!important;
    width: 24px!important
}

.form_custom .textarea-wrap .input-field {
    margin-bottom: 40px
}

@media only screen and (max-width: 600px) {
    .form_custom .textarea-wrap .input-field {
        margin-bottom:24px
    }
}

.form_custom .input-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

@media only screen and (max-width: 600px) {
    .form_custom .input-wrap {
        -ms-flex-wrap:wrap;
        flex-wrap: wrap
    }
}

.form_custom .input-wrap .input-field {
    width: 100%
}

.form_custom .input-wrap .input-field_half {
    width: 48%
}

@media only screen and (max-width: 600px) {
    .form_custom .input-wrap .input-field_half {
        width:100%
    }
}

.form_custom .input-field {
    margin-top: 0;
    margin-bottom: 40px;
    position: relative
}

@media only screen and (max-width: 991px) {
    .form_custom .input-field {
        margin-bottom:32px
    }
}

.form_custom .input-field label {
    color: #111;
    font-family: 'circular-nova-bold',Sans-Serif;
    font-size: 14px;
    text-transform: uppercase;
    -webkit-transform: translateY(0) scale(1)!important;
    transform: translateY(0) scale(1)!important;
    position: relative;
    left: 0
}

.form_custom .input-field .select-wrapper {
    position: static
}

.form_custom .input-field .select-wrapper:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #111;
    border-bottom: 2px solid #111;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    right: 20px;
    bottom: 28px
}

.form_custom .input-field .select-wrapper input {
    color: rgba(17,17,17,.3);
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 40px;
    height: 50px
}

@media only screen and (max-width: 991px) {
    .form_custom .input-field .select-wrapper input {
        height:46px
    }
}

.form_custom .input-field .select-wrapper input[type=checkbox] {
    padding: 0;
    height: 0
}

.form_custom .input-field .select-wrapper [type=checkbox]:checked+span:not(.lever):before {
    left: 0;
    top: 0
}

.form_custom .input-field .select-wrapper [type=checkbox]+span:not(.lever):before,.form_custom .input-field .select-wrapper [type=checkbox]:not(.filled-in)+span:not(.lever):after {
    top: 2px
}

.form_custom .input-field .select-wrapper .disabled.selected span,.modal.modal-search .modal-content form .search-field input {
    color: gray
}

.form_custom .input-field .select-wrapper .dropdown-content li>a,.form_custom .input-field .select-wrapper .dropdown-content li>span,.timecalc-inputs .input-field .select-dropdown>li span {
    color: #111
}

.form_custom .input-field textarea {
    resize: vertical;
    border-bottom: 2px solid #e0dfe0!important;
    padding-bottom: 12px;
    margin-bottom: 0;
    padding-top: 4px;
    height: 144px;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    color: #111;
    font-size: 22px;
    letter-spacing: -.2px;
    line-height: 32px
}

@media only screen and (max-width: 991px) {
    .form_custom .input-field textarea {
        font-size:18px;
        letter-spacing: -.16px;
        line-height: 24px;
        padding-top: 8px
    }
}

.form_custom .input-field input::-webkit-input-placeholder,.form_custom .input-field textarea::-webkit-input-placeholder {
    color: rgba(17,17,17,.3)
}

.form_custom .input-field input::-moz-placeholder,.form_custom .input-field textarea::-moz-placeholder {
    color: rgba(17,17,17,.3)
}

.form_custom .input-field textarea:-ms-input-placeholder,.form_custom .input-field textarea::-ms-input-placeholder {
    color: rgba(17,17,17,.3)
}

.form_custom .input-field textarea::placeholder {
    color: rgba(17,17,17,.3)
}

.form_custom .input-field input {
    color: #111;
    font-size: 22px;
    letter-spacing: -.2px;
    line-height: 32px;
    border-bottom: 2px solid #e0dfe0!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    height: auto;
    padding-bottom: 12px;
    margin-bottom: 0;
    padding-top: 4px
}

@media only screen and (max-width: 991px) {
    .form_custom .input-field input {
        font-size:18px;
        letter-spacing: -.16px;
        line-height: 24px;
        padding-top: 8px
    }
}

.form_custom .input-field input.invalid {
    border-bottom: 2px solid #d51716!important
}

.form_custom .input-field input.valid {
    border-bottom: 2px solid #05c18a!important
}

.form_custom .input-field input:focus {
    border-bottom: 2px solid #111!important
}

.form_custom .input-field input:focus.invalid {
    border-bottom: 2px solid #d51716!important
}

.form_custom .input-field input:-ms-input-placeholder,.form_custom .input-field input::-ms-input-placeholder {
    color: rgba(17,17,17,.3)
}

.form_custom .input-field input::placeholder {
    color: rgba(17,17,17,.3)
}

.s-contact__about-wrap .s-contact__about-img {
    margin-bottom: 56px;
    width: 256px;
}

.s-contact__about-wrap .s-contact__about-name {
    color: #111;
    font-size: 22px;
    letter-spacing: -.1px;
    line-height: 32px;
    margin-bottom: 0;
    font-weight: 600;
}

.s-contact__about-wrap .s-contact__about-position {
    color: #111;
    font-size: 22px;
    letter-spacing: -.1px;
    line-height: 32px;
    margin-bottom: 32px;
}

.s-contact__about-wrap .s-contact__about-mail,
.s-contact__about-wrap .s-contact__about-tel {
    color: #5a3cc5;
    font-size: 22px;
    letter-spacing: -.2px;
    line-height: 32px;
    display: block;
}

.s-contact__about-wrap .s-contact__about-place {
    color: #111;
    font-size: 22px;
    letter-spacing: -.2px;
    line-height: 32px;
    margin-top: 32px;
    max-width: 255px;
}

.form_custom.form-email-domain-validation {
    position: relative
}

.form_custom.form-email-domain-validation .form-email-error {
    display: none;
    position: absolute;
    bottom: -12px;
    top: unset;
    line-height: 12px;
    color: #d51716;
    font-size: 14px
}

.form-error {
    position: absolute;
    top: 78px;
    line-height: 12px!important;
    left: 0;
    color: #d51716!important;
    font-size: 14px!important;
    letter-spacing: -.03rem
}

.btn_purple {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #5a3cc5!important;
}

.btn_purple, .btn_purple:focus, .btn_purple:hover {
    border: none;
    outline: none;
}

.btn__wrap,
.btn__wrap a,
.btn__wrap button {
    position: relative;
    z-index: 2;
    margin: 0;
    display: inline-flex;
}

.btn__wrap button {
    min-width: 193px;
    padding: 20px 46px;
    transition: transform .2s ease;
}

.btn_purple span {
    color: #fff;
    font-size: 20px;
    line-height: 32px;
}

.btn__wrap:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ffab30;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.btn__wrap {
    position: relative;
    z-index: 2;
    margin-bottom: 4px;
    margin-right: 4px;
    margin-top: 16px
}

.btn__wrap a,.btn__wrap button,.btn__wrap:after {
    -webkit-transition: -webkit-transform .2s ease;
    transition: transform .2s ease;
    transition: transform .2s ease,-webkit-transform .2s ease
}

.btn__wrap a,.btn__wrap button {
    padding: 20px 46px
}

@media only screen and (max-width: 767px) {
    .btn__wrap a,.btn__wrap button {
        padding:20px 44px
    }
}

@media only screen and (max-width: 400px) {
    .btn__wrap a,.btn__wrap button {
        width:100%;
        max-width: inherit!important;
        min-width: 100%
    }
}

.btn__wrap .btn__image {
    margin-left: 13px
}

@media only screen and (max-width: 400px) {
    .btn__wrap {
        width:100%;
        margin-right: 0!important
    }
}

.btn__wrap:hover a, .btn__wrap:hover button {
    -webkit-transform: translateX(-4px) translateY(-4px);
    transform: translateX(-4px) translateY(-4px)
}

.btn__wrap:hover:after {
    transform: translateX(4px) translateY(4px)
}

@media only screen and (max-width: 500px) {
    .btn__wrap:hover:after {
        display:none
    }
}

.btn_purple span {
    color: #fff;
}

@media only screen and (max-width: 991px) {
    .btn_purple span {
        font-size:18px;
        line-height: 24px
    }
}