/* 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 {
    width: 100%;
    border-radius: 7px;
    background: #fff;
    border: none;
    line-height: 40px;
    padding: 0 10px;
}

.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 input[type="submit"] {
    color: #fff;
    border-radius: 7px;
    width: 295px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d0d0d0;
    font-weight: 800;
    line-height: 1;
    border: none;
    transition: all 0.4s;
    margin-right: 24px;
}
.callback-modal input[type="submit"]:hover {
    background: #d38d31;
}

.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;
}

@media screen and (max-width:1199px) {
.callback-modal{
    padding: 35px 15px 30px;
}
}

@media screen and (max-width:640px) {
    .callback-modal .name{
        font-size: 20px;
        margin-bottom: 20px;
    }
.callback-modal .wrapInputs{
    display: block;
}
.callback-modal input{
    margin-bottom: 10px;
}
.sendLine{
    flex-direction: column-reverse;

}
.sendLine .wrapLabel{
    margin-bottom: 15px;
}
.callback-modal input[type="submit"]{
    margin-right: 0;
}
}