@import url('https://fonts.googleapis.com/css?family=Fira+Sans:400,500&subset=cyrillic');



body {
    background: #fff;
    font: 15px/21px Arial, sans-serif;
}

a {
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 102, 204, 0.4);
    color: #1b6dca;
    outline: none;
}
/*a:visited {
    color: #68d2ee;
    border-bottom: 1px solid #8BDFF5;
}*/
a:hover,
a:active {
    color: #d83b48;
    border-bottom: 1px solid #ec8a92;
}
a.flink {
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: #00AEDD;
}
a.flink:hover { 
    color: #d83b48; 
    border-bottom-color: #d83b48;
}

a.blackLink {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #9e9e9e;
}
a.blackLink:hover { 
    color: #19a5c4;
    border-color: #68c1d5;
}

a.fblackLink {
    color: #000;
    text-decoration: none;
    border-bottom: 1px dashed #6e6e6e
}
a.fblackLink:hover { 
    color: #19a5c4;
    border-color: #19a5c4;
}
a.fwhiteLink {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dashed #6e6e6e
}
a.fwhiteLink:hover { 
    color: #19a5c4;
    border-color: #19a5c4;
}

a.external {font-size: 14px;}

a.x {
    background: url(/i/x.png) no-repeat 0 0;
    height: 17px;
    width: 16px;
}
a.x:hover { background-position: 0 -17px }
a.x:active { background-position: 0 -34px }
.red-link
{
color: #d83b48;
border-bottom: 1px solid #d83b48;
}

/* no border a */
#logo, 
.shelf_item_href, 
.price_list_href,
.login a,
a.x {
    border-bottom: none !important;
}

h1, h2 {
    font-family: 'Fira Sans', 'Myriad Pro', sans-serif;
    font-weight: 400;
    line-height: 1.2em;
    color: #d83b48;
    margin: 20px 0 10px;
}
h1 { font-size: 38px }
h2 { font-size: 21px }

h3, .item_descr h2 {
    font: bold 17px Arial,sans-serif;
    margin: 10px 0 5px;
    color: #000;
}
h1.bigger { font-size: 39px }
#menu h2 { font-size: 37px }

.separator {
    background: none repeat scroll 0 0 #E4E4E4;
    border-radius: 3px;
    height: 2px;
    margin-bottom: 28px;
}
.separate {
    border-top: 2px solid #e4e4e4;
    padding-top: 20px;
}
.note {
    color: #959595;
    font-size: 13px;
}
.left {
    float: left;
}
.right {
    float: right;
}
.center_align{
    text-align: center;
}
.clear {
    clear: both;
}
.small {
    font-size: .85em !important;
}

.breadcrumb div {
    display: inline-block;
    color: #999;
    margin-right: 3px;
}
.breadcrumb a {
    border: none;
    color: #999;
}

.msg-ok,
.msg-err {
    position: relative;
    border-radius: 10px;
    margin: 20px;
    padding: 10px 15px 15px;
    z-index: 2;
    /*text-align: center;*/
}
.msg-ok:after,
.msg-err:after {
    -moz-border-radius-topleft: 20px 10px;
    border-top-left-radius: 20px 10px;
    
    -moz-border-radius-topright: 10px 20px;
    border-top-right-radius: 10px 20px;
    
    -moz-border-radius-bottomleft: 20px 10px;
    border-bottom-left-radius: 20px 10px;
    
    -moz-border-radius-bottomright: 10px 20px;
    border-bottom-right-radius: 10px 20px;
    
    content: "";
    position: absolute;
    left: 3px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -2;
}
.msg-ok {
    background: none repeat scroll 0 0 #efe;
    color: #3ba848;
    
    -webkit-box-shadow:  0 0 5px 3px #eff inset;
    -moz-box-shadow:  0 0 5px 3px #eff inset;
    box-shadow: 0 0 5px 3px #eff inset;
}
.msg-ok:after {
    -webkit-box-shadow:  0 0 5px 3px #f5ffee;
    -moz-box-shadow:  0 0 5px 3px #f5ffee;
    box-shadow: 0 0 5px 3px #f5ffee;
}
.msg-err {
    background: none repeat scroll 0 0 #fee;
    color: #d83b48;
    
    -webkit-box-shadow:  0 0 5px 3px #fef inset;
    -moz-box-shadow:  0 0 5px 3px #fef inset;
    box-shadow: 0 0 5px 3px #fef inset;
}
.msg-err:after {
    -webkit-box-shadow:  0 0 5px 3px #fff5ee;
    -moz-box-shadow:  0 0 5px 3px #fff5ee;
    box-shadow: 0 0 5px 3px #fff5ee;
}

#fader {
    background: url(/i/black-bg.png);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 10;
}
#popup_close {
    position: absolute;
    top: 10px;
    right: -30px;
}
#spin {
    position: absolute;
    width: 30%;
    height: 50%;
    left:35%;
    bottom: -50%;
    z-index: -10;
}
#item_spin {
    background: rgba(255,255,255,0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;        
}
/* элементы форм
----------------------------------------------------------------------------*/
input, 
textarea {
    font: 17px/21px Arial, sans-serif;
    outline: none;
}
textarea {
    resize: none;
    overflow: auto;
}
input[type=text], 
input[type=password],
input[type=tel],
input[type=email],
textarea {
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    height: 37px;
    /*line-height: 37px;*/
    padding: 0 10px;
}
input[type=text]:focus, 
input[type=password]:focus, 
input[type=tel]:focus,
input[type=email]:focus,
textarea:focus,
input.error:focus{
    border: 1px solid #9dd7e7;
    box-shadow: 0 0 0 1px #9dd7e7;
}
input[type=text].error,
input[type=tel].error,
input[type=email].error {
    border: 1px solid #f05a5a;
    box-shadow: 0 0 0 1px #f05a5a;
}

button::-moz-focus-inner, 
input[type=submit]::-moz-focus-inner,
.button::-moz-focus-inner { 
    border: 0;
    padding: 0;
}
input[type=submit], 
button, 
.button {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    padding: 10px 20px;
      
    background: #30cbf5;
    box-shadow: 0 1px 1px rgba(0,0,0,0.21), 
                inset 0 -2px 0px #00aedd;
}
input[type=submit]:hover, 
button:hover, 
.button:hover {
    background: #57d6f8;
    box-shadow: 0 1px 1px rgba(0,0,0,0.21), 
                inset 0 -2px 0px rgba(0,174,221,0.69);
}
input[type=submit]:active, 
button:active, 
.button:active {
    background: #21bfe9;
    box-shadow: 0 1px 1px rgba(0,0,0,0.10), 
                inset 0 -1px 0px #00aedd;
}
input[type=submit]:disabled,
button:disabled, 
.button:disabled {
    background: #30cbf5 !important;
    opacity: .5 !important;
    cursor: default;
}

input[type=radio],
input[type=checkbox] {
    margin: 10px 10px 10px 0;
}

form .error_text, 
form .note {
    bottom: 0;
    font-size: 12px;
    font-style: italic;
    position: absolute;
    left: 27%;
}
form .error_text { color: #da3838; }

label.label_select {
    padding: 15px 0;
}
.label_select select {
    float: right;
    margin-right: 43.6% !important;
    width: 30% !important;
}
.title_checks:after {
    clear: both;
    content: '';
    display: block;
}
label.label_checks {
    padding: 0 0 15px !important;
    width: auto !important;
    margin-right: 15px;
}
label.label_checks input {
    position: relative;
    top: 2px;
}
/* Header
----------------------------------------------------------------------------*/
header { 
    width: 100%;
    margin-bottom: 30px;

    background: transparent url(/i/bg.png) no-repeat center top;
    background-attachment: fixed;
    background-size: 100% auto;

    -webkit-font-smoothing: subpixel-antialiased;
}
.layout {
    _width: 970px;
    max-width: 1200px;
    min-width: 970px;
    margin: 0 auto;
    padding: 0 10px;
}
header .layout {
    padding: 20px 10px 25px;
    /*height: 60px;*/
    position: relative;
}
header .left { width: 70% }
header .right { width: 23% }

header a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5) }

.header-brands
    {
    margin-top: 60px;
    }
.header-brands h1
    {
    color: #fff;
    max-width: 650px;
    margin: 0 auto;
    }

#logo {
    float: left;
    width: 188px;
}
#header_menu {
    list-style: none;
    float: left;
    margin: 14px 0 0 15px;
}
#header_menu li {
    display: inline-block;
    padding: 6px 15px;
}
#header_menu li.active {
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px 14px;
    color: #fff;
    background: rgba(255,255,255,.15)
}

.exclusive_distributor {
    color: #adc7ea;
    float: right;
    font-size: 15px;
    left: 66%;
    line-height: 21px;
    padding-top: 3px;
    position: absolute;
    top: 37px;
    width: 130px;
}
.exclusive_distributor a {
    color: #adc7ea;
    border: 0;
}
.exclusive_distributor img {
    float: right;
    position: relative;
    top: -3px;
}
.exclusive_distributor.centered { left:68%; top: 37px; }

.login{
    float: right;
    margin: 6px 0 0;
    padding: 13px 30px 17px 22px;
    /*background:#d5f6ff;*/
    /*border-radius: 10px;*/
}
.login a span {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255, .5);
}
.login a:hover span { 
    color: #19a5c4;
    color: #d83b48;
    border-color: #ec8a92;
}
.keyhole {
    background: url(/i/keyhole-n.png) no-repeat 0 0;
    display: inline-block;
    width: 6px;
    height: 10px;
    margin-right: 7px;
}
.login a:hover .keyhole { background-position: 0 -10px }

.basket {
    float: right;
    margin: 6px 0 0;
    background: url(/i/basket.png) no-repeat 21px 16px;
    padding: 13px 22px 0 52px;
    border-radius: 10px;
    color: #fff;
}
.logout {
    float: right;
    margin: 30px 0 0 -10px;
}
.logout a {
    border: 0;
}

/* Footer
----------------------------------------------------------------------------*/
footer {
    width: 100%;
    line-height: 21px;
}
footer .layout {
    height: 80px;
    padding-bottom: 30px;
}
footer address {
    width: 60%;
}
footer address p {
    width: 50%;
    float: left;
}
.made_in {
    float: right;
    width: 356px;
}
.made_in img {
    float: left;
    margin: 4px 18px 0;
    width: 112px;
    height: 39px;
}

/* --------------------------- SECTION ------------------------------*/
section {
    margin-top: 45px;
}

/* About
----------------------------------------------------------------------------*/
#about {
    margin: 45px auto 55px;
    padding: 0;
    text-align: center;
}
.about_details {
    margin-top: 30px;
    background: url(/i/clouds.png) no-repeat center 0;
    width: 990px;
    height: 194px;
    margin: 26px auto;
    padding: 20px 0;
}
.about_details_block {
    float: left;
    text-align: left;
    width: 27%;
    margin-left: 5%;
}
.about_details_block h2 { margin: 17px 0; }
.about_details_block:first-child p, .about_details_block:last-child p {
    padding-right: 10px;
}

/* MENU
----------------------------------------------------------------------------*/
#menu {
    text-align: center;
    margin-top: 45px;
    position: relative;
}
#menu li {
    display: inline-block;
    padding: 5px 12px;
}
#menu li.active {
    border: 1px solid #d83b48;
    border-radius: 5px;
    padding: 4px 11px;
}
#menu li.active a {
    color: #d83b48;
    border: none;
}
.menu_main {
    font-family: 'Fira Sans', 'Myriad Pro', sans-serif;
    font-size: 20px;
    margin-top: 20px;

    -webkit-font-smoothing: subpixel-antialiased;
}
.menu_main li {
    margin-bottom: 17px;
}
#menu .separate {
    font-size: 13px;
}
.menu_sort {
    display: inline-block;
    margin-left: 12px;
}
#menu h1 .gray,
#menu h2 .gray,
#menu h3 .gray
    {
    font-size: .55em !important;
    font-weight: normal;
    color: #ccc;
    position: relative;
    top: -10px;
    }

/* Shelf - Полка
----------------------------------------------------------------------------*/
.shelf {
    margin: 25px auto 60px;
}
.shelf_item {
    display: inline-block;
    vertical-align: top;
    width: 20%;
    margin-left: 4%;
}
a.shelf_item_href {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 255px;
    overflow: hidden;
    position: relative;
}
a.shelf_item_href span {
    border-bottom: 1px solid rgba(0, 102, 204, 0.4);
}
a.shelf_item_href:hover span {
    border-bottom: 1px solid #ec8a92;
}
img.shelf_item_img {
    max-width: 200px;
    max-height: 200px;
    position: absolute;
    left:0;
    bottom: 55px;
}
img.shelf_item_img.nophoto {bottom: 80px;}
div.shelf_item_name {
    position: absolute;
    left:0;
    bottom: 0;
    overflow: hidden;
    height: 45px;
}
.shelf_item_name_hider {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 23px;
    
    background: rgba(255, 255, 255, 0);
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #fff 80%, #fff 100%);
    background: -webkit-gradient(linear, left center, right center, color-stop(0%,rgba(255, 255, 255, 0)), color-stop(80%,#fff), color-stop(100%,#fff));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #fff 80%, #fff 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #fff 80%, #fff 100%);
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #fff 80%, #fff 100%);
    background: linear-gradient(left, rgba(255, 255, 255, 0) 0%, #fff 80%, #fff 100%);
}
span.shelf_item_price {
    display: block;
    margin: 0 auto;
    width: 200px;
    font-size: 17px;
    padding-top: 5px;
    }
.shelf_item #item_order
    {
    width: 200px;
    height: 30px;
    margin: 20px auto 0;
    background: 0;
    padding: 0;
    }
.shelf_item #item_order .counter
    {
    margin-left: 0;
    margin-right: 13px;
    }
.shelf_item .added, .shelf_item .not_added
    {
    left: 205px;
    top: 0;
    }

/* Обертка для описания товара на главной
 * @TODO: сделать лучше
----------------------------------------------------------------------------*/
#item_page {
    padding-top: 12px;
    overflow: hidden;
    background: url(/i/item_page_shadow_bottom.png) repeat-x 0 bottom;
}
.item_page_wrapper {
    background: url(/i/item_page_shadow_top.png) repeat-x 0 0;
    position: relative;
    padding-top: 30px;
    
/*    margin-left: -50px;
    padding: 30px 50px;
    width: 100%;
    
    border-bottom: 2px solid #00aedd;
    border-top: 2px solid #00aedd;
    -moz-box-shadow: inset 0 0 38px #cad3dc;
    -webkit-box-shadow: inset 0 0 38px #cad3dc;
    box-shadow: inset 0 0 38px #cad3dc;*/
}
.item_page_wrapper .layout {
    position: relative;
}
.item_pointer {
    background: url(/i/item_pointer.png) no-repeat 0 0;
    position: absolute;
    top: -42px;
    height: 16px;
    width: 36px;
    left: 12%;
}
.item_pointer.item_pos_2 { left: 37%; }
.item_pointer.item_pos_3 { left: 61%; }
.item_pointer.item_pos_4 { left: 84%; }

.item_page_closer {
    position: absolute;
    top: 24px;
    right: 10px;
    z-index: 100;
}

/* Страница товара
----------------------------------------------------------------------------*/
article {
/*    background: #fff;
    margin-bottom: 30px;*/
}
.item {
    padding-bottom: 30px;
    
}
.item h1 {
    margin-right: 30px;
    text-align: center;
    line-height: 1.2em;
}
#item_code {
    text-align: center;
}
.foto {
    width: 48%;
    margin: 30px 0;
} 
.item_descr {
    width: 45%;
    margin: 30px 0;
}
.item_descr li {
    background: url(/i/check.png) no-repeat 0 9px;
    padding: 5px 0 0 20px;
    margin-left: -20px;
}
.item_descr h3 {
    color: #111;
    margin: 20px 0 7px;
}
.item_descr p {
    line-height: 23px;
    margin: 5px 0;
}
.fotorama {
    /*float: right;*/
}
.fotorama > .fotorama__wrap {
    margin: 0 auto;
}
.fotorama a {border: none !important;}
body .fotorama__thumb-border {
    background: transparent;
    border-color: #e2f1f3;
    border-radius: 5px;
}
#item_order {
    background: url(/i/blue_bg_small.png) no-repeat 0 0;
    width : 360px;
    height: 73px;
    margin: 20px 0;
    padding: 20px 51px 20px 40px;
    position: relative;
}
#item_price {
    display: inline-block;
    font-family: 'Fira Sans', 'Myriad Pro', sans-serif;
    font-size: 30px;
    vertical-align: middle;
}
#item_order input[type=submit] {
    display: inline-block;
    padding: 8px 13px 9px 38px;
    height: 40px;
    vertical-align: middle;

    background: url(/i/basket_wh.png) no-repeat 13px 12px #30cbf5;
}
.shelf_item #item_order input[type=submit],
.shelf_item #item_order input[type=submit]:hover
    {
    background-image: none;
    padding: 8px 13px;
    }
#item_order input[type=submit]:hover{
    background: url(/i/basket_wh.png) no-repeat 13px 12px #57d6f8;
}
#item_order input[type=submit]:active {
    background: url(/i/basket_wh.png) no-repeat 13px 12px #21bfe9;
}
.added, 
.not_added {
    background: url(/i/check.png) no-repeat 0 0;
    display: block;
    opacity: 0;
    height: 13px;
    left: 400px;
    margin: 13px 0 0 5px;
    position: absolute;
    top: 30px;
    vertical-align: top;
    width: 16px;
}
.not_added {background: url(/i/fail.png) no-repeat 0 0; height: 16px;}
/* счетчик количества товара
----------------------------------------------------------------------------*/
.counter {
    margin: 2px 20px 0 30px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    height: 38px;
    width: 86px;
}
.quantity {
    width: 34px;
    height: 32px !important;
    line-height: 32px;
    padding: 2px !important;
    text-align: center;
    position: absolute;
    left: 23px;
}
.plus, .minus {
    position: absolute;
    top: 0;
    height: 38px;
    border: none;
    background: #BBD5D9;
    box-shadow: 0 0 2px;
    display: block;
    color: #fff;
    font: bold 17px/40px Arial, sans-serif;
    cursor: pointer;
    padding: 0 0 0 8px;
}
.plus {
    right: 0;
    box-shadow: 2px 0 1px rgba(0,0,0,0.17),
                inset -1px 0 0px rgba(255,255,255,0.33);;
    width: 18px;
    border-radius: 0 5px 5px 0;
    
    background: -moz-linear-gradient(right, #cee5e9 0%, #bbd5d9 100%);
    background: -webkit-gradient(linear, left center, right center, color-stop(0%,#cee5e9), color-stop(100%, #bbd5d9));
    background: -webkit-linear-gradient(right, #cee5e9 0%, #bbd5d9 100%);
    background: -o-linear-gradient(right, #cee5e9 0%, #bbd5d9 100%);
    background: -ms-linear-gradient(right, #cee5e9 0%, #bbd5d9 100%);
    background: linear-gradient(right, #cee5e9 0%, #bbd5d9 100%);
}
.minus {
    left: 0;
    box-shadow: -2px 0 1px rgba(0,0,0,0.17), 
                inset 1px 0 0px rgba(255,255,255,0.33);
    width: 20px;
    border-radius: 5px 0 0 5px;
    
    background: -moz-linear-gradient(left, #cee5e9 0%, #bbd5d9 100%);
    background: -webkit-gradient(linear, left center, right center, color-stop(0%, #cee5e9), color-stop(100%, #bbd5d9));
    background: -webkit-linear-gradient(left, #cee5e9 0%, #bbd5d9 100%);
    background: -o-linear-gradient(left, #cee5e9 0%, #bbd5d9 100%);
    background: -ms-linear-gradient(left, #cee5e9 0%, #bbd5d9 100%);
    background: linear-gradient(left, #cee5e9 0%, #bbd5d9 100%);
}
.plus:hover, .minus:hover {
    opacity: 0.75;
}
.plus:active, .minus:active {
    background: #BBD5D9;
    box-shadow: 1px 0 1px rgba(0,0,0,0.17);
}

/* Прайс-лист
----------------------------------------------------------------------------*/
.price_list {
    border-top: 1px solid #e4e4e4;
    text-align: center;
    padding: 15px 0 28px;
}
.price_list_href span {
    color: #000;
    border-bottom: 1px solid #9e9e9e;
    margin-right: 5px;
}
.price_list_href:hover span{
    color: #d83b48;
    border-bottom: 1px solid #ec8a92;
}
.price_list_href img {
    position: relative;
    top: 8px;
    margin-right: 10px;
}


/* Корзина
----------------------------------------------------------------------------*/
.cart {
    margin-bottom: 60px;
}
.cart h1 {
    text-align: center;
}
.cart_form_blank {
    border: none;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 24px rgba(121, 142, 148, 0.26);
    width: 80%;
    padding: 10px 10%;
    margin-top: 40px;
}
.cart_form_blank_scraps {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    background: url(/i/scraps.png) repeat-x 0 0
}

table.cart_form_table {
    width: 100%;
    border-bottom: 1px solid #e7e7e7;
}
.cart_form_table thead {
    font: 14px Arial, sans-serif;
    border-bottom: 1px solid #e7e7e7;
    color: #959595;
}
.cart_form_table thead td {
    padding-top: 12px;
    padding-bottom: 18px;
}
.cart_form_table tr:first-child,
.cart_form_table tr:last-child {
    height: 25px;
}
.cart_form_table td {
    vertical-align: top;
}

.cart_form_table_img {
    padding: 7px 10px;
    text-align: right;
    width: 80px;
}
.cart_form_table_img img {
    width: 80px;
}
.cart_form_table_item_name {
    color: #959595;
    padding: 9px 20px 0;
    min-width: 200px;
}
.cart_form_table_item_name .item_code {
    font-size: 13px;
    line-height: 30px;
}
.cart_form_table_price, .cart_form_table_summary {
    text-align: right;
    padding: 10px 40px 0 0;
    width: 100px;
}
.cart_form_table_quantity {
    width: 100px;
}
.cart_form_table_quantity .counter {
    margin: 0;
}
.cart_form_table_del {
    text-align: right;
    width: 35px;
}
.cart_form_table_del a {
    display: block;
    margin: 10px;
}

table.cart_form_summary {
    float: right;
    margin: 15px 7px;
    text-align: right;
}
.cart_form_summary tr:last-child {
    font-size: 17px;
    font-weight: bold;
}
.cart_form_summary td {
    min-width: 60px;
    padding: 3px;
}
.cart_form_summary td:first-child,
.cart_form_summary td:last-child {
    text-align: left;
}
.cart_form_summary td:last-child {
    font-size: 15px;
    font-weight: normal;
}

.cart_delivery, .cart_payment {
    width: 33%;
    padding-right: 2%;
    margin-top: 30px;
}
.cart_payment { width: 23%; margin-right: 4%; }

.cart_comment {
    margin: 30px 20px 0 0;
    width: 33%;
}
.cart_comment textarea {
    padding: 10px;
    font: 15px Arial, sans-serif;
    width: 100%;
    min-height: 135px;
}

.submit_order {
    background: url(/i/blue_bg_big.png) no-repeat 0 0;
    -webkit-background-size: 100% 85px;
    -o-background-size: 100% 85px;
    -moz-background-size: 100% 85px;
    background-size: 100% 85px;
    width: 100%;
    height: 85px;
    margin: 30px auto 0;
    text-align: center;
}
.submit_order input[type=submit] {
    padding: 15px 25px;
    height: 51px;
    margin-top: 17px;
}

/* Текстовые страницы
----------------------------------------------------------------------------*/
#company {
    padding: 0;
}
#company h1, #partnership h1 {
    text-align: center;
}
.slogan_bg {
    background: url(/i/slogan_bg.png) no-repeat 0 0;
    width: 987px;
    height: 323px;
    margin: 35px auto 25px;
}
.podarok_bg {
    position: relative;
    background: url(/i/podarok.png) no-repeat 0 0;
    width: 987px;
    height: 323px;
    margin: 35px auto 25px;
}
#podarok-nuk {
    position: absolute;
    top: -30px;
    left: 30px;
}
.slogan {
    width: 42%;
    margin-left: 53%;
    padding-top: 95px;
    font: 26px/31px 'Fira Sans', 'Myriad Pro', sans-serif;
    color: #fff;
}
.text_wrap, #contacts {
    line-height: 24px;
    padding: 0 20%;
    margin-top: 30px;
}
.text_wrap p {
    margin-bottom: 10px;
}
.text_wrap ul, .text_wrap ol {
    padding-left: 30px;
    margin: 10px 0 30px;
}
.text_wrap ul li {
    background: url(/i/check.png) no-repeat 0 9px;
    padding: 5px 0 0 25px;
}
.text_wrap ol li {
    list-style: decimal;
}
.text_wrap ul ul li {list-style: circle; }
.text_wrap ul ul li,
.text_wrap ol ol li {
    padding-left: 15px;
    margin-left: 30px;
    background: none; 
}
.text_wrap ol ol li {
    list-style: lower-latin;
}
.text_wrap blockquote {
    margin: 0 10%;
    color: #656565;
    font-style: italic;
}
.text_wrap b, .text_wrap strong {
    font-weight: bold;
}
#contacts {
    margin: 30px 0 70px;
}
#map {
    width: 100%;
    height: 319px;
}

.map_wrap {
    width: 104%;
    height: 319px;
    position: relative;
    margin: 20px 0 20px -2%;
}
.frame {
    background: url(/i/frame.png) no-repeat 0 0;
    position: absolute;
    z-index: 100;
}
/* убираю рамку вокруг карты для огромных экранов (fullHD) */
@media 
/* возможно вместо высоты стоит ориентироваться на плотность пикселей
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5)*/
only screen and (min-height : 1079px) {
    .frame{display: none;}
}
.frame.top-left {
    background-position: 0 0;
    width: 130px;
    height: 15px;
    top: -1px;
    left:0;
}
.frame.center-left {
    background-position: 0 0;
    width: 10px;
    height: 319px;
    top: 0;
    left: -1px;
}
.frame.bottom-left {
    background-position: 0 bottom;
    width: 300px;
    height: 22px;
    bottom: -1px;
    left:0;
}
.frame.top-right {
    background-position: right 0;
    width: 320px;
    height: 15px;
    top: -1px;
    right: 0;
}
.frame.center-right {
    background-position: right 0;
    width: 20px;
    height: 319px;
    top: 0;
    right: -1px;
}
.frame.bottom-right {
    background-position: right bottom;
    width: 60px;
    height: 10px;
    bottom: -1px;
    right: 0;
}

.partner_advantages
    {
    width: 100%;
    padding: 30px 20px 45px 0;
    margin-left: -20px;
    text-align: center;
    }
.partner_advantage
    {
    width: 50%;
    height: 30px;
    padding-top: 118px;
    display: inline-block;
    vertical-align: bottom;
    font-weight: bold;
    text-align: center;
    }
.partner_advantage.discount 
    {
    width: 30%;
    background: url(/i/discount.png) no-repeat center 0; 
    float: left;
    }
.partner_advantage.delivery 
    {
    background: url(/i/delivery.png) no-repeat center 0;
    }
.partner_advantage.cool 
    {
    width: 25%;
    background: url(/i/cool.png) no-repeat center 0; 
    /*float: right;*/
    }
    
.partner_form_wrap {
    width: 100%;
    height: auto;
    padding: 20px 0;
    background: url(/i/blue_bg_square.png) no-repeat 0 0;
    -webkit-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    margin: 30px 0 60px -20px;
}

#partner_form {
    margin: 0 auto;
    width: 85%;
    padding: 30px 0 0;
}
#partner_form label {
    width: 100%;
    float: left;
    padding-top: 15px;
    position: relative;
}
#partner_form input[type=text],
#partner_form input[type=tel],
#partner_form input[type=email]{
    float: right;
    /*height: 37px;*/
    /*line-height: 37px;*/
    margin: -10px 0 25px;
    /*padding: 0 10px;*/
    width: 70%;
}
#partner-phone {margin-right: 40% !important; width: 30% !important;}
#partner_form .clear {
    height: 10px;
}
#partner_form textarea{
    width: 96%;
    max-width: 590px;
    height: 97px;
    padding: 10px 11px;
    margin: 10px 0;
    float: right;
}
#partner_form input[type=submit] {
    float: right;
    margin-top: 10px;
    /*padding: 10px 20px;*/
}

/* Вход для клиентов и восстановление пароля
----------------------------------------------------------------------------*/
.login_form_wrap {
    width: 400px;
    height: auto;
    background: url(/i/blue_bg_square.png) no-repeat 0 0;
    -webkit-background-size: 420px 100%;
    -o-background-size: 420px 100%;
    -moz-background-size: 420px 100%;
    background-size: 420px 100%;
    margin: 30px auto 60px;
    padding: 15px 10px 0;
    position: relative;
}
.login_form_wrap h1 {
    font-size: 32px;
    line-height: 1.2em;
    color: #000;
    margin: 20px 0 0;
}
.login_form_wrap p {padding: 0 20px;}
.login_form {
    padding: 0 30px 30px;
    margin-top: 30px;
}
.login_form label {
    width: 100%;
    float: left;
    padding-top: 15px;
    position: relative;
}
.login_form input[type=email],
.login_form input[type=password] {
    float: right;
    margin: -10px 0 25px;
    width: 55%;
}
.login_form input[type=submit] {
    float: right;
    margin: 20px 35% 0 0;
}
#forgot_form input[type=submit] {
    margin: 3px 24.5% 0 0;
}
#forgot_change_form input[type=submit] {
    margin: 3px 6.2% 0 0;
}
#forgot_change_form input[type="password"] {
    width: 50%;
}
.login_form .error_text, 
.login_form .note {
    left: 39%;
}
.login_form .clear {height: 10px;}
.login_form_help {
    text-align: right;
}

#brandSelect
    {
    font-size: 13px;
    margin: 0 30px 0 10px;
    padding: 5px 7px;
    border: 1px solid #ccc;
    border-radius: 5px;
    }
.cabinetOrder
    {
    padding: 15px 0;
    }
.cabinetOrder:last-child
    {
    padding-bottom: 80px;
    }
.orderInfo
    {
    position: relative;
    border-bottom: 1px dashed #aaa;
    }
.orderInfo:hover .orderProds
    {
    display: block;
    }
.arrow_box {
    position: relative;
    background: #eee;
}
.arrow_box:after {
    bottom: 100%;
    left: 5%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #eee;
    border-width: 10px;
    margin-left: -10px;
}
.orderProds
    {
    padding: 30px;
    margin-top: 20px;
    border-radius: 5px;
    
    display: none;
    /*box-shadow: 0 5px 2px 3px #ccc inset;*/
    }
.orderedTable th
    {
    text-align: left;
    font-weight: bold;
    font-size: .9em;
    padding-bottom: 10px;
    padding-right: 30px;
    }
.orderedTable td
    {
    padding-bottom: 10px;
    padding-right: 30px;
    }
.cabinetOrder .button
    {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    }
.orderComment
    {
    margin: 15px 0 10px;
    }

.goOrder
    {
    float: right;
    /*margin-right: 20px;*/
    margin-top: 7px;
    border: 0 !important;
    }
.shelf_item .goOrder,
.shelf_item .goOrder:hover
    {
    display: block;
    width: 200px;
    margin: 20px auto 0;
    }
.goOrder span
    {
    border-bottom: 1px solid rgba(0, 102, 204, 0.4);
    }
.goOrder span:hover,
.goOrder span:active {
    border-bottom: 1px solid #ec8a92;
}
.itogo
    {
    font-size: 1.2em;
    font-weight: bold;
    }
.brand-col
    {
    float: left;
    width: 30%;
    /*width: 37%;*/
    margin-top: 40px;
    margin-bottom: 25px;
    color: #fff;
    margin-right: 5%;
    font-size: 15px;
    line-height: 24px;
    }
.brand-col:last-of-type
    {
    margin-right: 0;
    }
.brand-logo
    {
    height: 67px;
    margin-bottom: 15px;
    }
.brand-logo-helper
    {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    }
.brand-col img
    {
    display: inline-block;
    vertical-align: middle;
    max-height: 70px;
    }
.brand-site
    {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(11,50,102,.22);
    border-radius: 2px;
    border: 0 !important;
    margin-top: 10px;
    }
.brand-site span
    {
    border-bottom: 1px solid #fff;
    }
.brand-site:hover span { border-color: #ec8a92 }

#up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255,255,255,.8);
    border: 1px solid #1b6dca;
    border-radius: 5px;
    padding: 4px 11px;
    color: #1b6dca;
    
    display: none;
}
#up:hover {
    border: 1px solid #d83b48;
    color: #d83b48;
}