@font-face {
    font-family: "Idealist Sans";
    src: url('../fonts/Idealist.ttf') format('truetype');
}
@font-face {
    font-family: IdealistSans-Light;
    src: url('../fonts/Idealist-Light.ttf') format('truetype');
}
@font-face {
    font-family: "Idealist Sans Light";
    src: url('../fonts/Idealist-Light.ttf') format('truetype');
}
@font-face {
    font-family: "Roboto Medium";
    src: url('../fonts/robotomedium.ttf') format('truetype');
}
#container_menu{
    max-width: 1280px;
}
#site_container_menu{
    min-width: 100%;
}
#header, #head_line_count{
    max-width: 1280px;
}


/**
Иконки тел, почта
 */
#site_email_img, #site_email_img_f{
    position: relative;
    left: 15px;
    top: 10px;
}
#site_email_header, #site_email_footer{
    float: right;
}
#site_phone_img, #site_phone_img_f, #site_phone_img2, #site_phone_img_f2{
    position: relative;
    left: 30px;
    top: 10px;
}
#site_phone_header, #site_phone_footer, #site_phone_header2, #site_phone_footer2{
    float:right;
}

#site_email_cont_h, #site_phone_cont_h, #site_email_cont_f, #site_phone_cont_f, #site_phone_cont_h2, #site_phone_cont_f2,  #site_phone_cont_f3{
    max-width: 250px;
    float: right;
}



/**
Прикольная кнопка
 */
.button_m {


    border-radius: 3px;
    background: #A4461C;
    box-shadow: 0 -3px #A4461C inset;
    transition: 0.2s;
}
.button_m:hover { background: #A4461C; }
.button_m:active {
    background: #A4461C;
    box-shadow: 0 3px #A4461C inset;
}

.button_m:active, .button_m:focus {
    outline: none;
}
.button_m::-moz-focus-inner {
    border: 0;
}
/**
Другие стили
 */
#catalog_cont{
    max-width: 1280px;
}
.line_block{
    width: 100%;
    height: 1px;
    background-color: #808080;
}
#title_form, #form_gl_container, #form_bott, #zad_title, #zad_block1, #catalog_cont, #zad_block2, #main_footer{
    max-width: 1280px;
}

#block_h1 .row {
    background-color: #DCDCDC;
    padding: 20px;
    /*min-height: 200px;*/
}

#block_h2 .row {
    background-color: #DCDCDC;
    padding: 20px;
    /*min-height: 200px;*/
}



/**
Иконка меню
 */
#menu-icon {
    display: block;
    left: 17px;
    position: absolute;
    top: 14px;
}
#menu-icon span {
    background-color: #fff;
    color: #fff;
    display: block;
    height: 4px;
    margin-top: 4px;
    width: 24px;
}
/**
Кнопка закрыть на модалке
 */

#modal_window .close {
    -webkit-appearance: none;
    background: 0 0;
    border: 0;
    color: #85092D;
    cursor: pointer;
    /*filter: alpha(opacity=99);*/
    float: right;
    font-size: 41px;
    font-weight: 700;
    line-height: 1;
    margin-top: -10px;
    opacity: 1;
    padding: 15px 15px 0px 0px;
    text-shadow: 0px 0px 0px #fff;
}
#modal_line{
    height: 0px;
}


#modal_window .modal-body {
    max-width: 100%;

}

#modal_window .modal-dialog {
    max-width: 100%;
}

#modal_window2 .modal-body {
    max-width: 100%;

}

#modal_window2 .modal-dialog {
    max-width: 100%;
}


/*мобилы*/
@media (max-width: 1023px) {

    #modal_window .modal-body  {
        padding-bottom: 70px;

    }

    #modal_window2 .modal-body  {
        padding-bottom: 160px;

    }
    #mod_cont, #mod_cont2 {

        padding: 0px 10px 0px 10px;
    }
    #mod_cont2 .row .col-1 {
        padding: 0px 10px 0px 10px;
    }
    #header .col-4 {
        float: none;
        text-align: center;
    }

}

/* Модальное окно прокрутка */
.modal{
    overflow:auto !important;
}

/**
Вверх
 */
#toTop {
    position: fixed;
    bottom: 0;
    right: 30px;
    border-radius: 8px 8px 0 0;
    display:none;

}

#block_h1, #block_h2{
    max-width: 1280px;
}