html { height: 100%; }
body {
    background: url(/images/background.jpg) #e8e9ea;
    font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 13px; line-height: 18px; color: #000;
    margin: 0 auto; min-width: 1259px;
}
h1, h2, h3 { color: #8d0100 }
h1 > a, h2 > a, h3 > a { color: #8d0100 !important; text-decoration: none !important; }
h1 { margin-bottom: 20px; font-size: 20px; font-weight: normal; text-decoration: underline ; }
h2 { font-size: 18px; font-weight: normal; }
h3 { font-size: 16px; font-weight: normal; }
#products a, a:link { color: #00508e; text-decoration: underline; cursor: pointer; }
a:visited { color: #00508e; text-decoration: underline; }
a:hover { color: #00508e; text-decoration: none; }
a:active { color: #00508e; text-decoration: underline; }
img { width: auto; height: auto; max-width: 100%; max-height: 100%; border: 0; }
::-webkit-input-placeholder { color: #aaa4a4; font-style: italic; }
::-moz-placeholder { color: #aaa4a4; font-style: italic; }
:-ms-input-placeholder { color: #aaa4a4; font-style: italic; }
.container { margin: 0 auto; width: 1259px; }
.row::after { content: ''; display: table; clear: both; }
.row > .column { float: left; }
.content { padding-left: 28px; padding-right: 28px; }
.table { display: table; width: 100%; }
.table > .column { display: table-cell; text-align: left; vertical-align: top; }
.border-box > * { box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
.valign-parent::before { content: ''; display: inline-block !important; height: 100%; vertical-align: middle; }
.valign { display: inline-block !important; vertical-align: middle; }
.clear { display: table; clear: both; }
.centered-parent { text-align: center; }
.centered-parent::before { content: ''; display: inline-block !important; height: 100%; vertical-align: middle; }
.centered { display: inline-block !important; vertical-align: middle; }
.menu-horizontal { display: table; padding: 0; margin: 0; list-style: none; }
.menu-horizontal > li { display: table-cell; vertical-align: middle; }
.menu-horizontal > li:first-child { padding-left: 0; }
.menu-horizontal > li:last-child { padding-right: 0; }
.menu-horizontal a { text-decoration: none; }
.menu-horizontal p { margin: 0; }

/* sticky footer */
body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
     -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
}
#top, #footer {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none
}
#main {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}
/* sticky footer */

#header { position: relative; padding: 31px 31px 0; }
#header::before {
    content: ''; position: absolute; left: 0; top: 0; z-index: -1; width: 100%; height: 66px;
    background: linear-gradient(#fafafa, rgba(255,255,255,0))
}
#header > .container { width: 1197px; }

#header .left { width: 400px; }
#header .logo { text-decoration: none;  }
#header .logo + p { margin-top: 5px; color: #31302f; font-size: 16px; }

#header .center { width: 520px; }
#header .phones { float: right; position: relative; font-weight: bold; left: -208px;}
#header .phones::after {
    content: ''; display: block; width: 75px; height: 75px;
    position: absolute; left: -108px; top: 0;
    background: url(/images/icons/phone.png);
}
#header .phones p { margin-top: 0px; font-size:20px;}

#header .right { width: 390px; float:right; margin:-95px -30px 0 0;}
#header .address { float: right;  position: relative; font-weight: bold;}
#header .address::after {
    content: ''; display: block; width: 75px; height: 75px;
    position: absolute; left: -100px; top: 0;
    background: url(/images/icons/address.png);
}
#header .address p { margin:0 0 6px; padding:0;}

#menu-top { margin-top: 22px; font-size: 18px; font-weight: bold; font-family: Arial, sans-serif; border-bottom: 7px solid #a10201; }
#menu-top .menu-horizontal { width: 100%; table-layout: fixed; }
#menu-top a { display: block; position: relative; margin-right: 8px; height: 45px; background: url(/images/menu-item-bg.png); color: #fff; text-align: center; }
#menu-top a::before, #menu-top a::after { content: ''; position:absolute; top: 0; width: 8px; height: 45px; }
#menu-top a::before { left:0; background: url(/images/menu-item-bg-left.png); }
#menu-top a::after { right: -8px; background: url(/images/menu-item-bg-right.png); }
#menu-top p { position: relative; top: 15px; }
#menu-top li.active a, #menu-top li:hover a { background: url(/images/menu-item-active-bg.png);  }
#menu-top li.active a::before, #menu-top li:hover a::before { background: url(/images/menu-item-active-bg-left.png); }
#menu-top li.active a::after, #menu-top li:hover a::after { background: url(/images/menu-item-active-bg-right.png); }

#image-top { position: relative; z-index: 0; overflow: hidden; background: #979898;  }
#image-top::before {
    content: ''; position: absolute; top: 0; left: 50%; margin-left: -1376.5px; z-index: -1;
    height: 271px; width: 2753px; background: url(/images/image-top-bg.jpg);
}
#image-top::after { content: ''; position: absolute; left: 0; bottom: 0; display: block; width: 100%; height: 7px; background: #a10201; }
#image-top img { width: 1259px; height: 271px; }

#main > .container { background: #fff; }
#main > .container > .row > .left { width: 1010px; padding: 20px 30px; }
#main > .container > .row > .right { width: 231px; padding-bottom: 15px; background: #e8e9ea; }
#main > .container > .row > .right > .header { position: relative; margin-top: 0; height: 45px; background: url(/images/menu-header-bg.png); }
#main > .container > .row > .right > .header { width: 222px; color: #fff; text-align: center; font-weight: bold; font-size: 18px; }
#main > .container > .row > .right > .header > span { position: relative; top: 12px; }
#main > .container > .row > .right > .header::before, #main .right > .header::after { content: ''; position:absolute; top: 0; width: 8px; height: 45px; }
#main > .container > .row > .right > .header::before { left:0; background: url(/images/menu-header-bg-left.png); }
#main > .container > .row > .right > .header::after { right: -8px; background: url(/images/menu-header-bg-right.png);  }

#menu-catalog, #menu-catalog ul { list-style: none; }
#menu-catalog { padding: 0 10px; }
#menu-catalog ul { padding-left: 23px; }
#menu-catalog > li > a { text-decoration: none; color: #000; }
#menu-catalog > li > a > p { padding-left: 30px; font-size: 15px; background: url(/images/icons/bolt.png) no-repeat; }
#menu-catalog ul p { padding-left: 8px; background: url(/images/icons/triangle.png) no-repeat 0 5px; }
#menu-catalog li.active > a >  p { font-weight: bold; }

#footer { height: 136px; }
#footer > .container { height: 106px; padding-top: 30px; background: url(/images/footer-bg.png); }
#footer .left { padding-left: 32px; width: 750px; }
#footer .right { width: 445px; padding-right: 32px; }
#menu-bottom { position: relative; left: -37px; text-align: center; }
#menu-bottom > ul { width: 100%; table-layout: fixed; }
#menu-bottom a { color: #fff; text-decoration: underline; font-weight: bold; }
#menu-bottom li.active p { font-style: italic; }
#counters { margin-top: 30px; }

#footer .phones { float: right; }
#footer .phones p { margin-top: 0; color: #fff; }

#breadcrumbs { position: relative; padding: 0 0 0 10px; float: left; font-size: 12px; list-style: none; }
#breadcrumbs::before { content: ''; position: absolute; left: 0; top: 7px; display: block; width: 4px; height: 5px; background: url('/images/icons/triangle.png') }
#breadcrumbs::after { content: ''; display: table; clear: both; }
#breadcrumbs li { font-weight: bold; }
#breadcrumbs a { text-decoration: none; font-weight: normal; color: #000; }
#breadcrumbs a:hover { text-decoration: underline; }
#breadcrumbs > li { position: relative; float: left; margin-right: 12px; }
#breadcrumbs > li:not(:last-of-type)::after { content: '-'; display: block; position: absolute; right: -7px; top: 0; }
#breadcrumbs > li:first-of-type { text-decoration: underline; }

.card-full { width: 100%; padding: 15px 20px; border: 2px solid #878787; border-radius: 10px; }
.card-full + .card-full { margin-top: 20px; }
.card-full h2 { margin-top: 0; }
.card-full .column:not(:first-of-type) { padding-left: 20px; }
.card-full .left { width: 120px; }
.card-full .center { width: 646px; }
.card-full .right { width: 140px}
.card-full a { width: 116px; height: 136px; }
.card-full .price > span { display: block; margin-top: 5px;font-size: 20px; color: #8d0100; }
.card-full .details { display: block; width: 99px; height: 31px; margin-top: 20px; background: url(/images/btns/details.png); }

.subgroup-links { 
   display: -webkit-box;
   display: -webkit-flex;
   display: -ms-flexbox;
   display: flex; 
}
.subgroup-links + .subgroup-links { margin-top: 10px; }
.subgroup-links > a { width: auto; height: auto; }
.subgroup-links > a+a { padding-left: 6px; border-left: 1px solid #000; }
.subgroup-links > a:not(:last-child) { padding-right: 6px; }

.card { float: left; position: relative; height: auto; border: 2px solid #878787; border-radius: 10px; background: #ffffff; }
.card * { overflow: hidden; }
.card .image { margin-bottom: 5px; text-align: center; }
.card .image img { width: 145px; }
.card .name { height: 40px; padding: 0 10px; margin-bottom: 10px; font-weight: bold; font-size: 12px; text-align: center; }
.card .name > a { color: inherit; text-decoration: inherit; }
.card .price { padding: 10px 20px;}
.card .price > span { display: block; margin-top: 5px; height: 20px; font-size: 20px; color: #8d0100; }

.card .price::after { display: table; content: ''; clear: both; }
.col-4 > .card { width: 23.5%; margin: 1%; padding-top: 1.5%; padding-bottom: 1.5%; height: 264px; }
.col-4 > .card:first-of-type { margin-left: 0; }
.col-4 > .card:last-of-type { margin-right: 0; }

#products { width: 100%; margin-top: 20px;border-collapse: collapse; }
#products, #products tr, #products td { border: 1px solid #909090; }
#products td { padding: 5px;}
#products th { padding: 10px 0; background: #286ea1; font-size: 14px; color: #fff; }
#products .header { background: #e8e9ea; }
#products tr td:last-child { text-align: center; }
#products tr td:last-child a.product-opener { 
    display: inline-block; width: 99px; height: 31px;
    background: url(/images/btns/details.png); text-indent: -9999px; 
}

#bb_img { float: left; width: 315px; height: 315px; border: 1px solid #000; }
.s_img { float: left; width: 70px; height: 70px; border: 1px solid #878787; margin: 0 6px; }
.modif { width: 100%; margin: 0 0 15px; }
.tab_top td { background: #666; color: #fff; border: 0; }
.modif td { border-bottom: 1px dashed #666; }
.card_txt p { margin: 10px 0 0; }
.card_img_t { float: left; width: 147px; height: 200px; margin: 2px 0 0 0; text-align: center; }
.card_img_t img { padding: 1px; border: 1px solid #878787; border-radius: 5px; }
.card_txt_t { float: right; height: 147px; width: 760px; margin: 2px 0 0 0; text-align: left; }

.product-card { padding: 10px 20px; min-width: 370px; }
.product-card .right { padding-left: 20px; }
.product-card .row { margin-bottom: 20px; }
.product-card .name { margin-bottom: 10px; font-size: 16px; color: #00508e; }
.product-card .price { padding: 10px 0; }
.product-card .price > span { display: block; margin-top: 5px;font-size: 20px; color: #8d0100; }

#order td { vertical-align: top; }

#basic-modal-content { display: none; }
#simplemodal-overlay { background-color: #000000; cursor: wait; }
#simplemodal-container { color: #000000; background-color: #ffffff; padding: 8px; border: 3px #286EA1 solid; }
#simplemodal-container .simplemodal-data { padding: 8px; }
#simplemodal-container a { color: #000000; }
#simplemodal-container a.modalCloseImg { background: url(/images/btns/close.png) no-repeat; width: 25px; height: 29px; display: inline; z-index: 3200; position: absolute; top: -15px; right: -16px; cursor: pointer; }

.form_header{ color: #8d0100; font-size:22px; padding:0; margin:0;}
.form_input{border: 1px #999999 solid; height: 25px; width: 230px; line-height: 1.8; background-color: #F6F6F6;}
.form_textarea{border: 1px #999999 solid; height: 55px; width: 230px; background-color: #F6F6F6;}
.ftb{border: 1px #999999 solid; height: 155px; width: 230px; background-color: #F6F6F6;}

.opera-old #image-top::before { margin-left: -1377px; }
*:focus { outline: 0; }

a[rel^="gal"] > img:hover { cursor: url("/images/cursor_zoom.png"), url("/images/cursor_zoom.cur"), pointer; }
#toTop { width:66px; height:66px; padding: 5px; position: fixed; cursor: pointer; bottom: 50px; right: 90px;}
.price-list-downloader { display: inline-block; height: 33px; margin-top: 10px; padding: 0 10px; background: url(/images/btn-gradient.png); border-radius: 7px; }
.price-list-downloader > span { position: relative; top: 8px; color: #fff; text-decoration: none; text-transform: uppercase; }
#email {float:left; margin:0px 0 0; font-size:19px;}
#email a {color:#a10201; text-decoration:none;}
#email a:hover {text-decoration:underline;}
.line1 {float:left; width:100%; height:12px; border-bottom:2px dashed #a10201; margin:0 0 20px 0;}
.bottom_ban {float:left; margin:0 15px 0 0;}
.bottom_ban1 {float:left; margin:-110px 0 0 750px;}
.bottom_ban2 {float:left; margin:-70px 0 0 230px;}