/*Синий #2467B4*/
/*Зелёный #34b424*/
/*Красный #b42424*/


*{box-sizing: border-box}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    /*font-family: 'Open Sans', sans-serif;*/
    vertical-align: baseline;
    outline: none;
}
html { height: 100%; overflow-y: scroll; } /* always display scrollbars */
body { 
    line-height: 1.5;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    min-height: 100%;
}

h1{
    font-size: 40px;

}
h2{
    font-size: 32px;
}
h3{
    font-size: 22px;
}
h4{
    font-size: 18px;
}
h2,h3,h4{
    margin: 30px 0;
}
p{
    margin: 20px 0;
}
a{
    transition: .3s all;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ul { 
    list-style: none; 
}
ol{
    padding: 0 40px;
}
blockquote, q {
    quotes: none; 
}
blockquote:before, blockquote:after, q:before, q:after { 
    content: ''; content: none;
}
strong {
    font-weight: bold; 
} 

input { 
    outline: none;
}

table { 
    border-collapse: collapse; border-spacing: 0;
}
img { 
    border: 0; max-width: 100%;
}

a { 
    color: #000;
    text-decoration: none;
}
a:hover { 
    color: #1369D3;
}

#menu, .hamburger_wrap{
    display: none;
}

html.popup_open{
    overflow: hidden;
    margin-right: 15px;
}

#wrapper{
    min-height: 100%;
    padding-bottom: 45px;

}
.block, section{
    width: 100%;
    min-width: 1200px;
}
.inner{
    width: 1170px;
    margin: 0 auto;
    position: relative;
}
section{
    padding-bottom: 65px;
    padding-top: 60px;
}


.btn{
    box-shadow: 1px 5px 11px rgba(36, 103, 180, 0.25);
    border-radius: 5px;
    padding: 9px 31px;
    transition: .3s all;
    border: 1px solid transparent;
    width: fit-content;
    cursor: pointer;
}
.btn.blue{
    background: #2467B4;
    color: #fff;

}
.btn.blue:hover:not(.lock){
    background: #fff;
    color: #2467B4;
    border: 1px solid #2467B4;
}
.btn.white{
    background: #fff;
    color: #2467B4;
}
.btn.white:hover:not(.lock){
    background: #2467B4;
    color: #fff;
    border: 1px solid transparent;
}

.btn.lock{
    opacity: .5;
    cursor: auto;
}

/*HEADER*/
#top-header{
    padding: 17px 0;
    background-color: #F5F6F8;
}
#top-header .inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main-header{
    /*padding: 22px 0 26px 0;*/
    border-bottom: 1px solid #E0E0E0;
}
/*#main-header .inner{
    display: flex;
    align-items: center;
}*/
#main-header .inner .catalog_list{
    display: flex;
    height: 76px;
    justify-content: space-between;
    align-items: center;
}

#main-header ul a{
    padding: 5px 0;
    border: 1px solid transparent;
    transition: all .2s ease;
    font-weight: normal;
    font-size: 15px;
    color: #111111;
}

#main-header ul a:hover, #main-header ul li.current a{
    border-bottom-color: #2467b4;
    color: #2467b4;
}
#main-header ul li.current a{
    font-weight: 600;
}
.logo-block{
    display: flex;
    align-items: center;
}
.logo{
    background-image: url(/i/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 75px;
    height: 52px;
    content: '';
    margin-right: 47px;
}

.header-mail{
    font-weight: normal;
    font-size: 16px;
    color: #333333;
    display: flex;
    align-items: center;
}
.header-phone{
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    color: #333333;
    display: flex;
    align-items: center;
}
.logo-text{
    font-weight: 300;
    font-size: 14px;
    color: #333333;
}
.header-mail:before{
    content: '';
    width: 19px;
    height: 19px;
    background-image: url(/i/mail.png);
    background-size: cover;
    margin-right: 10px;
}
.header-phone:before{
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(/i/phone-call.png);
    background-size: cover;
    margin-right: 10px;

}
/* END HEADER*/


/*ARTICLE*/
.is_article #page{
    max-width: 860px;
    font-size: 18px;
    /*margin: 0 auto;*/  
}
.is_article #page .gallery_item_wrap {
    position: relative;
    width: 31%;
}

.is_article #content{
    min-height: 0;
}

.is_article #page_top {
    margin-bottom: 25px;
}
/*END ARTICLE*/



.content_wrapper{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

/*FOOTER*/
footer{
    background-color: #F5F6F8;
    padding: 40px 0;
}
.footer-menus{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.column-title{
    font-weight: 300;
    font-size: 20px;
    color: #111111;
    margin-bottom: 5px;
}

.footer-column ul li{
    font-weight: 300;
    font-size: 16px;
    color: #000000;
    margin-bottom: 10px;
}
.copitight{
    font-weight: 300;
    font-size: 14px;
    color: #000000;
}
.copitight a{
    font-weight: 300;
    font-size: 14px;
    color: #000000;
}
/*END FOOTER*/



#content{
    min-height: 600px;
}

#page_top{
    margin-bottom: 55px;
}
#bread_crumbs{
    margin-top: 27px;
    margin-bottom: 20px;
}

#bread_crumbs>a{
    color: #2467B4;
    font-weight: 300;
    font-size: 16px;
}
#bread_crumbs>span>span{
    color: #2467B4;
    font-weight: 300;
    font-size: 16px;
    margin: 0 3px;
}

#page_top h1{
    font-family: Rubik;
    font-style: normal;
    font-weight: 300;
    font-size: 30px;
    color: #111111;
    margin-top: 40px;
}
/*КАТАЛОГ*/

#catalog{
    display: flex;
    flex-wrap: wrap;
}

.catalog_item
{
    display: flex;
    width: 47.5%;
    flex-direction: column;
    height: 270px;
    justify-content: flex-end;
    margin-bottom: 30px;
    /*border: 1px solid #eee;*/
    /*background: url(i/)*/
}
.catalog_item a{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
}
.catalog_item .catalog_img{
    background-size: 30%;
    background-position: center;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    transition: .1s all;
}
.catalog_item:hover .catalog_img{
    background-size: 35%;

}
.catalog_item:hover .catalog_text{
    background: rgba(34, 101, 179, 0.9);
}
.catalog_item{
    position: relative;
    width: 32%;
    margin-right: 15px;
    border: 1px solid #6191c7;
}
.catalog_text{
    font-size: 20px;
    color: #fff;
    padding: 7px 10px;
    transition: .3s all;
    background: rgba(34, 101, 179, 0.7);
}
/* КОНЕЦ КАТАЛОГ*/

#content a{
    color: #1369D3;
    border-bottom: 1px solid transparent;
    text-decoration: none !important;
    transition: .3s all;
}
#content a:hover{
    border-bottom: 1px solid #1369D3;
}
#content ul li{
    list-style: disc;
    margin-left: 30px;
}

label sup{
    font-size: 120%;
    color: #b42424;
}

/*Magic Happens Here*/ 
.label_magic input:placeholder-shown + label, .label_magic textarea:placeholder-shown + label  {
    opacity:0;
    transform: translateY(100%);
}
.label_magic .group {
    position: relative;
}
.label_magic input + label, .label_magic textarea + label {
    position: absolute;
    top: -17px;
    left: 20px;
    transition: all 0.1s;
    opacity: 1;
    background: white;
    border: 2px solid;
    border-width: 0 2px 0 2px;
    padding: 0 5px;
    line-height: 1;
    font-size: 12px;
    transform: translateY(calc(50% + 5px));
}


.label_magic input:focus + label, .label_magic textarea:focus + label  {
    border-color:#2467B4;
}
/*END Magic Happens Here*/ 


#show_success_modal, #show_fail_modal{
    position: fixed;
    display: none;
    top: 30%;
    margin-top: 0;
    padding: 9px 60px;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
    box-shadow: 2px 2px 3px -2px rgba(0,0,0,.5);
    border: none;
    box-shadow: 4px 4px 6px -4px rgba(0,0,0,.5);
    z-index: 90000;
    cursor: pointer;
    left: 50%;
    color: #fff;
    transform: translateX(-50%);
}
#show_success_modal{
    background-color: #34b424;
}
#show_fail_modal{
    /*    background-color: #fff;
        color: #b42424;
        border: 2px solid #b42424;*/

    background-color: #b42424;
    color: #fff;
}

#show_success_modal i, #show_fail_modal i{
    font-size: 120%;
}


.agreement .btn.blue{
    width: 265px;
    height: 59px;
    box-shadow: 1px 5px 11px rgba(36, 103, 180, 0.25);
    border-radius: 5px;
    font-size: 18px;
}
.agreement .agreement_accept{
    text-transform: inherit;
    font-size: 14px;
    color: #393939;
    position: relative;
    padding-left: 40px;
}
.agreement .agreement_accept a{
    color: rgb(19,105,211);
}
.agreement .agreement_accept:before{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(/i/icons/square.png);
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
}
.agreement .agreement_accept .check_icon{
    display: block;
    width: 14.5px;
    height: 10px;
    background-image: url(/i/icons/check.png);
    background-size: cover;
    position: absolute;
    top: 4px;
    left: 3px;
}


.hs{
    cursor: zoom-in;
}

.footer-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}