/* Modal window */
.callback-modal {
    background: #f3f3f3;
    max-width: 1240px;
    margin: auto;
    position: relative;
    padding: 35px 105px 60px;
    border-radius: 10px;
}

.callback-modal .wrapInputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px 24px;
}

.callback-modal .wrapTextarea {
    grid-column-start: span 2;
}

.callback-modal input[type="text"],
.callback-modal input[type="email"] {   
    width: 100%;
    border: 1px solid #EAEAEA;
    font-family: Geologica;
    font-weight: 300;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: letter spacing/-0_32;
    color: #ADADAD;
    background: #fff;
    padding: 0 24px;height: 60px;
}

.callback-modal textarea {
    padding: 10px;
    line-height: 1.2;
    border-radius: 7px;
    background: #fff;
    border: none;
    min-width: 100%;
    max-width: 100%;
    min-height: 80px;
    max-height: 80px;
}



.callback-modal label,
.callback-modal label a {
    font-size: 12px;
    color: #8c8c8c;
}

.callback-modal label {
    display: block;
    font-weight: normal;
}

.callback-modal .sendLine {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
}

.callback-modal .name {
    line-height: 1;
    font-size: 25px;
    font-family: 'Montserrat-ExtraBold';
    margin-bottom: 35px;

}

.fileInputWrap {
    position: relative;
    margin-bottom: 0;
}

.fileInputWrap input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.fileInputWrap span {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d38d31;
    border-radius: 7px;
    color: #fff;
    font-weight: 800;
    line-height: 40px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Message */
.callback-modal-message {
    max-width: 350px;
    margin: auto;
    background: #fff;
    padding: 20px;
    position: relative;
    border-radius: 10px;
}

.callback-modal-message__process {
    background: url('../images/loading.gif') no-repeat center 15px;
    background-size: 50px;
    padding-top: 80px;
    display: block;
    text-align: center;
}

.callback-modal-message__success {
    background: url('../images/success.png') no-repeat center 15px;
    background-size: 50px;
    padding-top: 80px;
    display: block;
    text-align: center;
}

.callback-modal-message__error {
    background: url('../images/error.png') no-repeat center 15px;
    background-size: 50px;
    padding-top: 80px;
    display: block;
    text-align: center;
}

.modalForm {
    max-width: 776px;
    padding: 70px;
}

.modalForm .wrapFormBlock {
    flex-direction: column;
    color: #00072D;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.modalForm .wrapFormBlock form {
    width: 100%;
    max-width: 558px;
}

.modalForm .wrapFormBlock .name {
    font-family: Geologica;
    line-height: 100%;
    text-align: center;
}

.modalForm .wrapFormBlock .txt {
    max-width: 441px;
    text-align: center;
    margin-bottom: 35px;
}

.modalForm .wrapFormBlock input {
    margin-bottom: 20px;
    
}

.modalForm .wrapFormBlock input:nth-child(2) {
    margin-bottom: 30px;
}

.modalForm .wrapFormBlock .btnStyle2 {
    margin-bottom: 30px;
    height: 60px;width: 100%;
}

.agreement {
    font-family: Geologica;
    font-weight: 300;
    letter-spacing: letter spacing/-0_32;
    color: #00072D80;

}

@media screen and (max-width:1549px) {
    .modalForm{
        padding: 40px;
    }
}

@media screen and (max-width:1199px) {
.modalForm .wrapFormBlock .name{
    font-size: 30px;
    margin-bottom: 20px;
}
.modalForm .wrapFormBlock .txt{
    margin-bottom: 20px;
}
}

@media screen and (max-width: 767px) {
  .modalForm {
    padding: 20px;
    padding-top: 30px;
  }  .modalForm .wrapFormBlock .name {
    font-size: 22px;}.modalForm .wrapFormBlock input {
  margin-bottom: 10px;
  height: 45px;
  border-radius: 10px;
}.modalForm .wrapFormBlock input:nth-child(2) {
  margin-bottom: 15px;
}.modalForm .wrapFormBlock .btnStyle2{
    height: 45px;border-radius: 10px;margin-bottom: 15px;
}.agreement{
    font-size: 12px;
}
}