/*Below is the styling for the validator*/
.qtip-custom {
    background-color:#fff;
    border-color:red;
    border-width:2px;
    color:#000;
}
input.parsley-error, input:not([type="radio"]).parsley-error, select.parsley-error, textarea.parsley-error {
    color: #D8000C !important;
    background-color: #FFBABA !important;
    border: 1px solid #D8000C !important;
    -webkit-text-fill-color: red !important;
    box-shadow: 0 0 0px 1000px #FFBABA inset;
    -webkit-box-shadow: 0 0 0px 1000px #FFBABA inset;
}
input.parsley-error {
    color: #D8000C !important;
    background-color: #FFBABA !important;
    border:1px solid #D8000C !important;
    -webkit-text-fill-color: red !important;
    box-shadow: 0 0 0px 1000px #FFBABA inset !important;
    -webkit-box-shadow: 0 0 0px 1000px #FFBABA inset !important;


}

/*This style is required for parsley*/
  .parsley-errors-list {
      margin: 0;
      padding: 0;
      list-style-type: none;
      opacity: 0;
      font-size: 0;
      display:none !important;
  }


  /*CONTACT - form*/
.form {
        background: #f6f6f6;
    padding: 55px 55px 55px 25px;
}

.form__title{
    color: var(--text-color);
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 10px;
    margin-bottom: 30px;
}

.form__input__row{
    margin-bottom: 25px;
    margin-bottom: 35px;
    position: relative;
}

.form__input {
    display: block;
    width: 100%;
    /*height: calc(1.5em + 0.75rem + 2px);*/
    padding: 13px 0 13px 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,
                box-shadow .15s ease-in-out;
    margin-bottom: 25px;
}

.form__input.error{
    border: 1px solid #ff0000;
}

.form__input:placeholder{
    color: #aab8c7;
}

.form textarea {
    resize: none;
    outline: none;
}

.form__btn{
    /*background: #ff4f5b;*/
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 250px;
    padding: 22px 0;
    border: none;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

/*.placeholder{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    color: #989898;
    transition: top .3s ease-in-out;
    -webkit-transition: top .3s ease-in-out;
    -moz-transition: top .3s ease-in-out;
    -o-transition: top .3s ease-in-out;
}

.placeholder:last-of-type{
    top: 22px;
    transform: none;
}

.placeholder.focused{
    top: -24px;
    transform: none; 
    left: 20px;
}*/

/*MODAL*/
.scroll__lock{
    overflow-y: auto;
    overflow: hidden;
    margin-right: 0px;

    /*width: calc( 100% );
    max-width: calc( 100vw - 1em )*/
}

.overlay{
    background: rgba(17, 49, 96, 0.65);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;

    display: flex;
    flex-direction: column;
    justify-content: center;
    display: none;
}

.modal_success{
    position: relative;
    width: 100%;
    max-width: 482px;
    /*height: 300px;*/
    min-height: 190px;
    background: #fff;
    border-radius: 5px;
    align-self: center;

    display: flex;
    flex-direction: column;
    justify-content: center;

    display: none;
}


.modal__close {
    cursor: pointer;
    position: absolute;
    top: 4px;
    right: 3px;
}

.modal__text{
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #113160;
}





.loader{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}