#content.contacts_page {
    min-height: calc(100vh - 4.75rem);
    width: 100%;
}

.contacts_page .contacts_header {
    color: #282826;
    background-color: #BAB3A0;
    font-size: 24px;
    padding: 25px;
    text-align: center;
    text-transform: uppercase;
}

.contacts_page h1.text{
    font-size: 35px;
    margin-top: 8px;
    margin-bottom: 2px;
    line-height: 36px;
}

.contacts_page .contacts_body {
    color: #383429;
    background-color: #D4D0C5;
    padding: 60px;
    font-size: 18px;
    line-height: 27px;
    font-weight: 300;
    text-decoration: none;
    vertical-align: top;
}
.obsaz{
    max-width: 1280px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    padding-right: 5px;
    padding-left: 5px;
}

.obsaz .modal_form {
    flex-direction: row;
    flex-wrap: wrap;
}

.obsaz .form-group {
    width: 50%;
}

.obsaz .form-group.field-mailform-body {
    width: 100%;
}

.obsaz .form-group input, .obsaz .form-group textarea {
    background-color: #D4D0C5;
}

.obsaz .button_secondary {
    background-color: #E25D34;
    color: #fff;
    border: 0;
    box-shadow: none;
    padding: 1.5rem 3rem;
}

h3 {
    font-size: 30px;
    line-height: 32px;
    font-weight: 300;
    text-align: left;
    color: #282826;
    margin-bottom: 10px;
}

.contacts_item {
    width: 600px;
    height: 450px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    text-align: left;
    text-decoration: none;
    vertical-align: top;
}

.contacts_item.social_sites {
    width: 100%;
    height: 100px;
}

.contacts_item.social_sites > div {
    display: flex;
    align-items: center;
}

.contacts_item.social_sites > div img {
    transition: transform .3s;
}

.contacts_item.social_sites > div img:hover {
    transform: scale(1.2);
}

.contacts_item .social_item {
    display: flex;
    align-items: center;
}

.contacts_item .social_item:hover {
    color: #383429;
}

.contacts_item .social_item img {
    margin-right: 15px;
}

.color {
    color: #E25D34;
}

a:hover, a:focus {
    color: #fff;
    text-decoration: underline;
}

.color2 {
    color: #E25D34;
    font-weight: 700;
    font-size: 21px;
}

.link-obsaz {
    color: #383429;
    text-decoration: none;
    line-height: 30px;
    font-size: 18px;
    font-weight: 300;
}

.mapa {
    width: 100%;
    display: inline-block;
    height: 290px;
    vertical-align: top;
}


.contacts_page .contacts_send{
    color: #383429;
    background-color: #DDDAD0;
    padding: 60px;
    font-size: 18px;
    line-height: 27px;
    font-weight: 300;
    text-decoration: none;
    vertical-align: top;
    position: relative;
}

.contacts_page .contacts_send .lds-ripple {
    left: calc(50% - 40px);
    top: calc(50% - 40px);
}

.contacts_page .contacts_send .form-success {
    display: none;
    position: absolute;
    padding: 2em;
    z-index: 1000;
    box-shadow: 0 0 5px 1px rgba(0,0,0,.75);
    background-color: #eee;
    left: calc(50% - 200px);
    top: calc(50% - 50px);
}

.contacts_send table {
    background-color: transparent;
    border-spacing: 3px;
    border-collapse: separate;
}

.contacts_send td {
    padding: 3px;
}

.contacts_send .textarea-formular {
    background-color: #D4D0C5;
    padding: 2px;
    width: 100%;
    border: 1px solid #D4D0C5;
    height: 35px;
    font-size: 17px;
    font-weight: 300;
    color: #282826;
    text-decoration: none;
}

.contacts_send .textarea-formular2 {
    background-color: #D4D0C5;
    padding: 2px;
    width: 100%;
    border: 1px solid #D4D0C5;
    height: 120px;
    font-size: 17px;
    font-weight: 300;
    color: #282826;
    text-decoration: none;
}

.contacts_send .mybutton {
    background-color: #E25D34;
    text-align: center;
    padding-top: 10px;
    padding-right: 25px;
    padding-bottom: 10px;
    padding-left: 25px;
    border: 1px none #E25D34;
    margin: 20px;
    line-height: 35px;
    text-decoration: none;
    color: #FFF;
    height: 35px;
    width: 33%;
}

.contacts_send input[type=submit], .contacts_send input[type=button], button {
    margin: 0!important;
    padding: 0!important;
}
@media only screen and (max-width: 1400px){
    .contacts_item {
        width: 500px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 35px;
        display: inline-block;
        text-align: left;
        text-decoration: none;
        vertical-align: top;
    }
}

@media only screen and (max-width: 1200px){
    .contacts_item {
        width: 400px;
    }
}

@media only screen and (max-width: 992px){
    .contacts_page .contacts_send, .contacts_page .contacts_header {
        padding: 30px;
    }
    .contacts_item{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 35px;
        display: inline-block;
        text-align: left;
        text-decoration: none;
        vertical-align: top;
    }
}

@media only screen and (max-width: 768px){
    .contacts_page .contacts_send, .contacts_page .contacts_header {
        padding: 20px;
    }
    .contacts_page h1.text{
        line-height: 22px;
    }
}

@media screen and (max-width: 39.9375em) {
    .contacts_page .contacts_body {
        padding: 1.5rem .625rem;
    }

    .contacts_body .obsaz {
        flex-direction: column;
    }

    .contacts_send .obsaz .form-group {
        width: 100%;
    }

    .contacts_send .modal_form .form_buttons {
        justify-content: center;
    }
}

