#topbar { background: #2C2C2C; border-bottom: 3px solid #AD4734; }
#topbar .categories { position: absolute; top: 5px; left: 50px; }
#topbar .categories a { margin: 0 10px; color: #bfbfbf; text-decoration: none; font-weight: bold; }
#topbar .categories a:hover { color: #fff; }
#topbar .categories form { display: inline-block; margin: 0 10px; }
#topbar .categories input[type=text] { background: #6B6B6B; color: #ddd; line-height: 30px; padding: 0 10px; margin: 0; border-radius: 3px; border: 0; width: 120px; }
#topbar .categories input[type=text]::placeholder { color: #bbb; }
#topbar .categories input[type=submit] { background: #414141; color: #fff; line-height: 30px; padding: 0 10px; margin: 0; border-radius: 3px; border: 0; }
#topbar .account_menu { background: #43474A; }
#topbar .cart_detail { position: absolute; top: 57px; background: #AD4734; padding: 10px 20px; color: #fff; font-weight: bold; }
#topbar_mobile { background: #2C2C2C; border-bottom: 3px solid #AD4734; display: none; height: 72px; }
#topbar_mobile .logo { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); }
#topbar_mobile .menu { position: absolute; top: 15px; left: 5px; cursor: pointer; }
#topbar_mobile .cart { position: absolute; top: 12px; right: 5px; cursor: pointer; width: 40px; zoom: 1.25; }
#topbar_mobile .cart a { display: block; color: #fff; line-height: 34px; background: url('icon-cart.png') center center no-repeat; text-decoration: none; }
#topbar_mobile .cart_detail { position: absolute; top: 72px; right: 0px; background: #AD4734; padding: 10px 20px; color: #fff; font-weight: bold; }
#mobile_menu { background: #2C2C2C; display: none; position: absolute; top: 75px; left: 0; width: 250px; padding: 15px 12px; z-index: 1; border-bottom: 3px solid #AD4734; border-right: 3px solid #AD4734; }
#mobile_menu .categories a { margin: 10px; color: #bfbfbf; text-decoration: none; font-weight: bold; white-space: nowrap; }
#mobile_menu .categories a:hover { color: #fff; }
#bottombar { background: #43474A; }
#account_login_form div input[type=submit] { background: #43474A; }
#unpaid_order { background: #00AB00; color: #fff; padding: 10px; line-height: 200%; }
#unpaid_order a { color: #cdc; }
#item input[type=submit] { background: #43474A; }
#cart .delivery.on>div { background: #43474A; }
#cart input[type=submit] { background: #43474A; }
#bottombar .copyright { color: rgba(255,255,255,.8); }
#bottombar .copyright a { color: #fff; font-weight: bold; text-decoration: none; }
#bottombar .copyright a:hover { text-decoration: underline; }
#footerbar { background: #43474A; color: rgba(255,255,255,.8); padding: 20px 0 0 0; border-top: 6px solid #ccc; }
#footerbar .wrap { display: flex; flex-direction: row; align-content: stretch; gap: 10px 20px; flex-wrap: wrap; } 
#footerbar .column { width: 23%; }
#footerbar h3 { padding-bottom: 10px; }
#footerbar ul { list-style: none; margin: 0; padding: 0; }
#footerbar ul li { padding-bottom: 5px; }
#footerbar a { color: #fff; text-decoration: none; }
#footerbar a:hover { text-decoration: underline; }
#footerbar div.address { padding-top: 10px; }
#footerbar div.email { padding-top: 15px; }
#footerbar div.email a { font-weight: bold; }
#footerbar div.social { padding-top: 20px; }
#footerbar div.social a { filter: brightness(80%) contrast(80%); }
#footerbar div.social a+a { margin-left: 10px; }
#footerbar div.social a:hover { text-decoration: none; filter: brightness(100%) contrast(100%); }
#footerbar div.social a span { display: inline-block; width: 41px; height: 41px; line-height: 41px; }
#footerbar div.social a span.facebook { background: url('social-facebook.png') center no-repeat; }
#footerbar div.social a span.pinterest { background: url('social-pinterest.png') center no-repeat; }
#item table { margin: 20px 0; border: 1px solid #373f50; padding: 2px; width: 100%; }
#item th { text-align: left; background: #373f50; color: #fff; padding: 5px 10px; }
#item td { vertical-align: top; border-bottom: 1px solid #373f50; padding: 5px 10px; }
#item tr:last-child td { border: 0; }
#item .cart_add { text-align: right }
#item .cart_add input[type=submit] { width: 200px; border: 1px solid #32517b; background: #337ab7; color: #fff; }
#item .item_material { color: #63676a; margin: -10px 0 20px 0; }
#item .item_material a { color: #337ab7; text-decoration: none; }
#item .item_material a:hover { color: #32517b; text-decoration: underline; }
#item .item_related a { color: #337ab7; text-decoration: none; }
#item .item_related a:hover { color: #32517b; text-decoration: underline; }
#item .item_mobile { display: none; }
#home_categories .float a div.category_thumb { background: #63676A; }
#sub_categories .float a div.category_thumb { background: #63676A; }
#category .filters { float: left; width: 230px; margin-right: 20px; padding-top: 10px; }
#category .filters span { color: #999; font-size: 80%; }
#category .filters h3 { position: relative; }
#category .filters h3 b { position: absolute; right: 0; padding: 0 5px; cursor: pointer; }
#category .filters p { padding-right: 5px; display: none; }
#category .filters_mobile { display: none; }
.after_filters { margin-left: 250px !important; }
#info { padding: 30px 0; }
#info h1 { padding-top: 5px; padding-bottom: 20px; }
#info h2 { padding-top: 20px; padding-bottom: 20px; }
#info h3 { padding-top: 10px; padding-bottom: 5px; }
#info p { padding-bottom: 10px; }
#info div.attention { background: #f5f5f5; padding: 20px 40px; font-size: 110%; margin-bottom: 20px; }
#info div.attention h1+h2 { padding-top: 0; }
#info div.attention h2 { color: #f33; }
#info div.box { background: #f5f5f5; padding: 20px 40px; margin: 10px 0 20px 0; }
#info div.box>p { padding-top: 10px; }
#info table { margin-bottom: 10px; border: 1px solid #373f50; padding: 2px; width: 100%; }
#info td { vertical-align: top; border-bottom: 1px solid #373f50; border-right: 1px solid #373f50; padding: 5px 10px; }
#info tr:last-child td { border-bottom: 0; }
#info td:last-child { border-right: 0; }
#info .credit_cards img { margin-top: 5px; margin-right: 5px; height: 100px; }
#homepage { padding: 30px 0; }
#homepage .intro .content { float: left; width: 50%; text-align: center; }
#homepage .intro .content h1 { font-size: 200%; padding-top: 40px; max-width: 600px; margin: 0 auto; }
#homepage .intro .content h2 { padding-top: 20px; max-width: 500px; margin: 0 auto; color: #666; }
#homepage .intro .content p { padding-top: 20px; max-width: 500px; margin: 0 auto; color: #666; }
#homepage .intro a { color: #337ab7; text-decoration: none; }
#homepage .intro a:hover { color: #32517b; text-decoration: underline; }
#homepage .intro .image { margin-left: 50%; text-align: center; }
#homepage .intro .image img { max-width: 80%; }
#homepage .intro .buttons a { display: inline-block; margin: 0 10px; padding: 10px 20px; border-radius: 10px; font-size: 120%; }
#homepage .intro .buttons a:hover { text-decoration: none; }
#homepage .intro .buttons a.blue { border: 1px solid #32517b; background: #337ab7; color: #fff; }
#homepage .intro .buttons a.blue:hover { background: #32517b;  }
#homepage .intro .buttons a.white { border: 1px solid #ddd; background: #fff; color: #333; }
#homepage .intro .buttons a.white:hover { background: #ddd;  }
#homepage div.box { background: #f5f5f5; padding: 20px 40px; margin: 10px 0 20px 0; text-align: center; margin-bottom: 20px; }
#homepage div.box h2 { padding: 40px 0; font-size: 160%; }
#homepage div.box p { padding: 30px 0; font-size: 130%; text-align: left; max-width: 720px; margin: 0 auto; }
#homepage div.box a { color: #337ab7; text-decoration: none; }
#homepage div.box a:hover { color: #32517b; text-decoration: underline; }
#homepage div.catalog { padding: 20px 0; }
#homepage h1 a.button { background: #ddd; border-radius: 4px; padding: 5px 10px; font-size: 50%; color: #666; text-decoration: none; margin-left: 5px; position: relative; top: -2px; }

/*
#category .flex>div { flex: 0 0 260px; border: 1px solid #eee; }
#category .flex>div a { margin: 0; padding: 30px; margin-right: -1px; margin-bottom: -1px; }
#category .flex>div a .img { margin-bottom: 10px; }
*/

#category h1 a.button { background: #ddd; border-radius: 4px; padding: 5px 10px; font-size: 50%; color: #666; text-decoration: none; margin-left: 5px; position: relative; top: -2px; }
#category .flex { grid-gap: 0; grid-template-columns: repeat(auto-fit, 260px); }
#category .flex_text { grid-gap: 0; grid-template-columns: repeat(auto-fit, 260px); }
#category .flex a { padding: 30px; border: 1px solid #eee; margin-right: -1px; margin-bottom: -1px; }

#item h1.header_related { padding-bottom: 0; }

#sub_categories .flex { grid-gap: 0; grid-template-columns: repeat(auto-fit, 260px); }
#sub_categories .flex a { padding: 30px; border: 1px solid #eee; margin-right: -1px; margin-bottom: -1px; }

.filtered_item { position: relative; }
.display_label { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: bold; min-width: 80px; text-align: center; background: #33cc99; color: #fff; padding: 5px 10px; }

#sign_up { padding: 30px 0; }
#sign_up h1 { padding: 30px; text-align: center; background: #18476B; color: #fff; }
#sign_up p { padding: 15px 0; }
#sign_up .wrap { width: 600px; }
#sign_up form { padding: 20px 40px; background: #ebeef0; }
#sign_up form label { display: inline-block; font-weight: bold; padding: 15px 0 5px 0; }
#sign_up form input { width: calc(100% - 12px); border: 1px solid #aaa; padding: 3px 5px; }
#sign_up form input[type="checkbox"] { width: initial; border: initial; padding: initial; }
#sign_up form input[type="submit"] { margin: 20px 0; padding: 10px; background: #5cb85c; border: 1px solid #5cb85c; color: #fff; }
#sign_up form select { width: 100%; border: 1px solid #aaa; padding: 3px; }
#sign_up form small { color: #737373; }

@media screen and (max-width: 1000px) {
  #footerbar .column { width: 46%; }
  #homepage .intro .content { float: none; width: auto; }
  #homepage .intro .image { margin: 0; padding: 20px 50px 0 50px; }
  #homepage .intro .image img { width: 80%; max-width: 400px; }
  #topbar { display: none; }
  #topbar_mobile { display: block; }
  #mobile_menu { font-size: 120%; line-height: 1.7; }
  #mobile_menu hr { border: 0; border-top: 1px solid #666; margin: 12px 10px; }
  #mobile_menu form { padding: 5px 0; }
  #mobile_menu input[type=text] { border: 1px solid #333; background: #666; color: #fff; margin: 0; margin-left: 5px; padding: 2px 10px; outline: none; border-radius: 10px; width: 155px; }
  #mobile_menu input[type=text]::placeholder { color: #aaa; }
  #mobile_menu input[type=submit] { border: 1px solid #32517b; background: #337ab7; color: #fff; margin: 0; margin-left: 5px; padding: 2px 0; border-radius: 10px; width: 60px; }
}

@media screen and (max-width: 700px) {
  #footerbar .column { width: 98%; }
  #footerbar .column+.column { margin-top: 10px; }
  #category .flex>div { flex: 0 0 calc(50% - 5px); }
  #category .flex_text>div { flex: 0 0 calc(50% - 5px); }
  #category .flex a { width: auto; display: block; }
  #category .flex a div.img { height: 150px; }
  #category .filters { display: none; }
  #category .filters_mobile { display: block; padding-top: 5px; padding-bottom: 30px; }
  #category .filters_mobile h3 { float: left; width: 150px; font-size: 18px; clear: both; }
  #category .filters_mobile select { float: left; max-width: calc(100% - 150px); }
  .after_filters { margin-left: 0 !important; }
  #item .header_related { display: none; }
  #item .item_related { display: none; }
  #item .item_material span:after { content: '\A'; white-space: pre; }
  #item .item_desktop { display: none; }
  #item .item_mobile { display: block; }
}

p.autoclave_suitable { background: url('autoclave.png') top left no-repeat; padding-left: 40px; line-height: 36px; margin-top: 10px; }
