@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif !important;
}

.img-fluid {
    width: 50px;
}

.contact-page-block{
    display: flex;
    justify-content: space-between;
}

.contact-item:first-child{
    width: 42%;
}

.contact-item{
    width: 28%;
}

.google-map{
    /*border: 3px solid #ED3237;*/
    padding: 20px 0 14px;
    position: relative;
    height: 500px;
}
.black-block{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40%;
    height: 65%;
    background-color: black;
    z-index: -1;
}

.contacts-block-item{
    width: calc(100% / 1 - 30px);
    /*box-shadow: 0 6px 13px rgb(0 0 0 / 16%);*/
    padding: 5px 20px;
    text-decoration: none;
    /*height: 180px;*/
}
.contact-item p{
    font-weight: 400;
    font-size: 16px;
    color: rgba(118, 118, 118, 1);


}

.contact-item form{
    box-shadow: 0px 8px 14px 0px rgba(142, 142, 142, 0.16);
    padding: 20px;

}
.darkblue-block{
    height: 46px;
    width: 46px;
    background-color: #222831;
}
.contacts-block-content{
    font-size: 15px;
    font-weight: 400;
    color: black;
    text-decoration: none;
}
.contacts-block-content:hover{
    color: black;
}
.contacts-section{
    margin-top: 130px;
    margin-bottom: 60px;
}
.sendto-btn{
    color: rgba(194, 116, 59, 1);
    border: 1px solid rgba(194, 116, 59, 1);
    background-color: white;
   padding: 10px 40px;
    margin: 0 0 0 auto;
    display: block;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif !important;
    transition: color 0.5s ease-out, background-color 0.5s ease-out;
}
.sendto-btn:hover{
    background-color: rgba(194, 116, 59, 1);
    color: white;
}
.form{
    margin-bottom: 60px;
    /*margin-top: 50px;*/
}

.contacts-blocks{
    display: flex;
    flex-direction: column;
}
.message-block{
    margin: 15px 0;
}
#contactsmessage{
    height: 170px;
}
.contacts-inputs{
    border: 0;
    border: 1px solid rgba(224, 224, 224, 1);
    outline: none;
    font-size: 15px;
    padding: 15px;
    margin-bottom: 19px;
}
.contacts-labels{
    color: #666761;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 10px !important;
}
.contacts-labels span{
    color: red;
}

label.error{
    color: #ED3237;
    font-size: 14px;
    text-align: right;
    margin-top: 15px;
}
.text-spacing{
    margin-top: 10px;
}
@media only screen and (max-width: 1200px) {
    .contacts-block-item {
        width: calc(100% / 2 - 15px);
    }
    .contact-page-block{
        flex-wrap: wrap;
    }
    .contact-item:last-child{
        width: 100%;
    }

    .contact-item{
        width: 50%;
    }

    .google-map{
        padding: 10px 0 5px;
    }
    .black-block{
        top: 5px;
        right: 5px;
    }
    .contacts-blocks div {
        /*width: calc(100% / 2 - 30px);*/
        margin-bottom: 55px;
    }
    .message-block {
        margin: 5px 0 45px;
    }
    .form {
        margin-bottom: 50px;
    }
    .contacts-block {
        margin: 25px 0 0;
    }
    .contacts-section {
        margin-top: 50px;
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 740px) {
    .contacts-blocks div {
        width: 100%;
        margin-bottom: 0;
    }
    .form {
        margin-bottom: 45px;
        margin-top: 40px;
    }
    .contacts-section {
        margin-top: 35px;
        margin-bottom: 25px;
    }

        /*.contacts-block-item{*/
        /*    width: 100%;*/
        /*    height: 65px;*/
        /*    margin-bottom: 10px;*/
        /*    display: flex;*/
        /*    align-items: center;*/
        /*}*/
    .darkblue-block {
        height: 27px;
        width: 27px;
    }
    .darkblue-block img{
        width: 12px;
        height: 12px;
    }
    .contacts-block-content{
        margin-bottom: 0;
        font-size: 16px;
        margin-top: 0;
        display: flex;
        width: 100%;
    }
    .text-spacing{
        margin-top: 0;
    }
    .sendto-btn{
        font-size: 11px;
    }
    label.error{
        font-size: 12px;
    }
    .contact-item{
        width: 100%;
    }
    .contact-item:first-child {
        width: 100%;
    }
}
