* {margin: 0px;padding: 0px;}
body {text-align: left;font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 12px;color: #666666;background: #31756f;background-repeat: repeat;background-position-x: left;background-position-y: top;}
a {color: #9f1400;}
h1 {font-weight: normal;padding-bottom: 16px;padding-top: 5px;color: #000;font-size: 22px;}
h2 {font-weight: normal;padding-bottom: 12px;font-size: 18px;}
p {padding-bottom: 12px;}
img {border: none;}
.clr {clear: both;}
a:hover {text-decoration: none;}
#wrapper {width: expression((documentElement.clientWidth||document.body.clientWidth)<999?'1000px':'');min-width: 1000px;background: #31756f;}
#wrapper1 {border-style: solid;border-width: 1px;border-color: #d6e1e0;margin: 8px 12px 0 12px;}
#wrapper2 {border-style: solid;border-width: 1px;border-color: #afc4c2;background-color: #d6e1e0;padding: 4px 8px;background-repeat: repeat;background-position-x: left;background-position-y: top;}
.container {width: 100%;}
.content {width: 100%;float: left;}
.text {margin: 0 193px 0 195px;}
.left {float: left;width: 187px;margin-left: -100%;padding: 0 8px 0 0;}
.right {float: left;width: 187px;margin-left: -193px;padding: 0 0 0 6px;}
#bottom {background: #31756f;height: 41px;line-height: 41px;width: 800px;margin: 0 auto;text-align: center;color: #9fd1cd;background-repeat: repeat;background-position-x: left;background-position-y: top;}
#hat {background: url(/images/head_bg.jpg) top left repeat-x;border: 1px #afc4c2 solid;overflow: hidden;background-repeat: repeat;background-position-x: left;background-position-y: top;background-image: url('/images/hat_bg.jpg');}
#hat_block {position: absolute;right: 20px;padding: 8px 50px 0 0;font-size: 13px;font-family: Arial, Helvetica, sans-serif;color: #fff;}
#top_menu {background-image: url(/images/tm_bg.jpg);background-repeat: repeat-x;overflow: hidden;background-position-x: left;background-position-y: top;}
#top_menu ul {list-style: none;}
#top_menu ul li {display: block;float: left;padding: 0 30px 0 0;line-height: 44px;font-family: Arial, Helvetica, sans-serif;font-size: 15px;}
#top_menu a {color: #dee9e8;text-decoration: none;}
#top_menu a:hover {color: #dee9e8;text-decoration: underline;}
.tm_l {float: left;margin: 0 10px 0 0;}
.tm_r {float: right;margin: 0 0 0 10px;}
.block_header {background: url(/images/h2.jpg) top left repeat-x;line-height: 34px;font-family: Arial, Helvetica, sans-serif;font-size: 18px;padding: 0 0 0 12px;color: #000;background-repeat: repeat;background-position-x: left;background-position-y: top;}
.block {border: 1px #bac9c8 solid;background: #fff;margin-bottom: 5px;background-repeat: repeat;background-position-x: left;background-position-y: top;}
.block_cont {border: 1px #bac9c8 solid;background: #fff;margin: 1px;padding: 12px 12px 5px 12px;}
.block_cont ul {list-style: none;}
.block_cont ul li {font-size: 13px;padding: 0 0 12px 0;font-weight: bold;}
.block_cont ul li a {color: #9f1400;}
.block_cont ul.subcategories {padding-top: 6px;}
.block_cont ul.subcategories li {font-size: 11px;font-weight: normal;background: url(/images/sub.jpg) left no-repeat;padding: 4px 0 4px 12px;}
.block_cont ul.subcategories li a {color: #6c6c6c;}

.block_cont select {max-width:160px;}

.news_block_header {font-weight: bold;}
.articles_header {font-weight: bold;}
.news_block_date {font-weight: bold;}
.search input {width: 90px;}
.search input.search_button {width: auto;padding: 0 10px;font-size: 11px;overflow:visible;}
.l_cont {border: 1px #bac9c8 solid;background: #fff;padding: 1px;margin-bottom: 5px;}
.l_cont1 {border: 1px #dce4e3 solid;background: #fff;}
.l_cont1 ul {list-style: none;padding: 8px 10px 15px 17px;}
.l_cont1 ul li {line-height: 29px;font-size: 13px;font-weight: bold;}
.l_cont1 ul li.sub {line-height: 18px;font-size: 11px;font-weight: normal;background: url(/images/sub.jpg) left no-repeat;padding: 0 0 0 12px;}
.l_cont1 ul li a {color: #9f1400;}
.l_cont1 ul li.sub a {color: #6c6c6c;}
#contents {border: 1px #bac9c8 solid;background: #fff;padding: 5px 10px 20px 10px;background-repeat: repeat;background-position-x: left;background-position-y: top;}
#status {border: 1px #bac9c8 solid;background: #fff;padding: 5px 10px;margin-bottom: 5px;background-repeat: repeat;background-position-x: left;background-position-y: top;}
.inp_line1 {height: 27px;padding: 0px 0 0 4px;}
.inp_line {height: 27px;padding: 0 0 0 4px;}
.label {float: left;width: 70px;line-height: 22px;font-size: 13px;color: #6c6c6c;}
.input {float: left;width: 74px;}
.input input {border: 1px #c8c8c8 solid;width: 72px;height: 20px;font-size: 13px;color: #000;}
.subline {margin: 6px 0 0 0;padding: 0 0 12px 4px;width: 155px;height: 26px;line-height: 26px;}
.subline a {color: #9f1400;}
.cont {border: 1px #bac9c8 solid;background: #fff;padding: 5px 10px;}
#logo {position: absolute;z-index: 10;padding: 7px 0 0 49px;}
#status a {color: #666666;}
.button {padding: 0 10px;overflow:visible;}
#hat_text {text-align: center;padding: 10px 0 12px 0;font-weight: bold;}
#hat_phone {text-align: center;font-size: 22px;}
#message_box table td {padding: 0 20px 15px 0;}
#close_message {float:right;margin:-10px -10px 0 0;}
.ajax-only {display: none;}
#message_box .ajax-only {display: block;}
#close_message a {color:#333;text-decoration:none;font-size:20px;}
#message_box {position:absolute;z-index:1000;left:15%;right:15%;display:none;padding: 15px;border: 7px solid #dadbe0;background-color: #FFF;}
#message_box table.basket {background-color:#cccccc;min-width:100%;width:100%;}
#message_box table.basket td {padding:8px;background-color:#fff;}
#message_box table.basket tr.head td {font-weight:bold;background-color:#f1f1f1;font-size:11px;}
#message_box h1 {padding: 0 0 12px 0;margin:0;}

#curtain {width: 100%;height: 100%;position: fixed;display: none;z-index: 100;background-color: #000;opacity: 0.5;}
#logo_img {margin-left: 0px;margin-right: 0px;margin-top: 0px;margin-bottom: 0px;}
#hat_img {margin-left: 0px;margin-right: 0px;margin-top: 0px;margin-bottom: 0px;}
#tm_img_l {margin-left: 0px;margin-right: 0px;margin-top: 0px;margin-bottom: 0px;}
#tm_img_r {margin-left: 0px;margin-right: 0px;margin-top: 0px;margin-bottom: 0px;}

/* стили оформления контента */

#contents table.categories {width:100%;}
#contents table.categories td {padding:10px;width:25%;border:solid 1px #dadbe0;color:#666;}
#contents table.categories td .img_prew {float:left;margin:0 20px 20px 0;}
#contents table.categories .title a {font-size:14px;font-weight:bold;}
#contents div.subcat_list {padding:5px;display:table;}
#contents div.subcat_list a {color:#000;font-size:11px;}
#contents div.subcat_list p {padding-bottom:3px;}
#contents table.items {width:100%;}
#contents table.items td {padding:10px;width:25%;border:solid 1px #dadbe0;color:#666;font-size:11px;text-align:center;}
#contents table.items td p {padding-bottom:6px;}
#contents table.items td .title a {color:#000;font-weight:bold;}
#contents #search_form {border:solid 1px #dadbe0;padding:10px;margin:0 3px;}
.price {font-size:18px;line-height:28px;color:#000;}

#contents #item_photos {float:right;margin:0 10px 20px 20px;}
#contents #main_photo {border:solid 1px #e2e2e2;padding:1px;text-align:center;}
#contents #add_photos_list {overflow:hidden; width:250px;}
#contents #add_photos_list div {float:left;margin:3px 3px 0 0;border:solid 1px #e2e2e2;padding:1px;}
#contents div.properties_list {background-color:#f1f1f1;border:solid 1px #cccccc;padding:5px;display:table;margin-bottom:12px;}

#contents table.add2basket_options {margin-bottom:12px;}
#contents table.add2basket_options td {padding: 0 5px 5px 0;}

#contents table.basket {background-color:#cccccc;min-width:100%;}
#contents table.basket td {padding:8px;background-color:#fff;}
#contents table.basket tr.head td {font-weight:bold;background-color:#f1f1f1;font-size:11px;}

#contents table.form td {padding:5px;vertical-align:top;}
#contents table.form input.button {padding: 0 10px;width:auto;}
#contents table.form input {width:300px;}
#contents table.form textarea {width:320px;height:90px;}

#contents table.photos {width:100%;}
#contents table.photos td {padding:10px;width:25%;border:solid 1px #dadbe0;color:#666;font-size:11px;text-align:center;}
#contents table.photos td p {padding-bottom:6px;}
#message_box table.form td {padding:0 15px 15px 0;vertical-align:top;}
#message_box table.form input.button {padding: 0 10px;width:auto;}
#message_box table.form input {width:350px;font-size:16px; }
#message_box table.form textarea {width:350px;height:90px;}

.articles_list_announce {overflow:hidden;margin:0 0 12px 0;}
.articles_list_announce img {float:left;margin:0 20px 20px 0;}
.articles_list_announce div {overflow:hidden;}
.articles_header {font-weight:bold;}
.basket_add_num {width:30px;}
form {padding:0 !important;margin:0 !important;}

#contents table.compare {background-color:#dcdfea;min-width:100%;border-radius:10px; overflow:hidden;}
#contents table.compare td {padding:8px;background-color:#fff;color:#000;}
#contents table.compare td a {color:#000;}
#contents table.compare tr.head td {font-weight:bold;background-color:#f6f6f9;font-size:11px;color:#000;}
#contents table.compare td.head {font-weight:bold;background-color:#f6f6f9;font-size:11px;color:#000;}

.loupe { background-color:#555; background:rgba(0, 0, 0, 0.25); border:5px solid rgba(0, 0, 0, 0); cursor:url(blank.png), url(blank.cur), none; }
.country_flag {background:url('http://www.alltrades.ru/img/flags.png') no-repeat; width:16px; height:11px; position:absolute;}

#printversion{float:right;line-height:20px;overflow:hidden;}
#printversion img {float:left;margin: 0 5px 0 0;width:20px;}
#printversion a {color:#bbb;}
			
div.form {width:100%;max-width:700px;overflow:hidden;}
div.form .field {overflow:hidden;padding-bottom:5px;}
div.form .field_name {float:left;width:200px;line-height:22px;}
div.form .field_name .required {font-weight:bold;}
div.form .field_value {max-width:400px;display:inline-block;width:100%;}
div.form .field_value input[type=text], .form .field_value input[type=password] {max-width:400px;width:100%;line-height:22px;} 
div.form .field_value textarea {max-width:400px;width:100%;line-height:22px;height:150px;} 
div.form .empty {height:1px;}

select {max-width:250px;}
.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"] {position: static;display:inline;margin: 0;vertical-align: bottom;width:20px !important;height:20px !important; line-height:auto;}
		
.img-opt-selector {overflow:hidden;}
.img-opt-selector .img-opt-selector-opt {display:inline-block;float:left;margin:0 20px 20px 0;text-align:center;color:#272727;cursor:pointer;}
.img-opt-container {position:relative;display:inline-block;}
.img-opt-zoom-in {display:none;position:absolute;right:0;top:0;}
.img-opt-zoom-in a {background:#cacaca;color:#000;opacity:0.7;padding:2px;font-size:12px;}
.img-opt-selector div img {max-width:60px;max-height:60px;margin-bottom:8px;box-sizing:content-box;}
.img-opt-selector div.selected img {border:solid 5px #cacaca;}
.comments_error {color:red;padding-bottom:15px;font-style:italic;}
.comments_field .col {padding-bottom:15px;}
.comments_hd {display:none;}
.comments_value .star-mark, .comments_value .star-mark:hover {color:#f5c505;font-size:20px;text-decoration:none;cursor:pointer;}
.comments_value input[type=text] {width:100%;}
.comments_value textarea {min-height:120px;width:100%;}
.comment {overflow:hidden;margin-bottom:10px;}
.comment-avatar {float:left;padding: 0 15px 15px 0;width:60px;box-sizing:content-box;}
.comment-avatar img {width:100%;max-width:60px;max-height:60px;border:solid 1px #e2e2e2;}
.comment-txt {overflow:hidden;}
.comment-answers {display:none;padding:10px 0 0 20px;clear:both;}
.comment-mark {color:#f5c505;font-size:12px;}
#comments_add_main_comment_link {display:none;}
#comments-rating-total {margin-bottom:20px;}
.rank-star {display:inline-block;margin:0 2px 0 0;width:20px;height:20px;background:url('https://www.alltrades.ru/img/rank-star.png');background-size:cover;}
.rank-star-empty {display:inline-block;margin:0 2px 0 0;width:20px;height:20px;background:url('https://www.alltrades.ru/img/rank-star-empty.png');background-size:cover;}
.rank-star-sm {margin:0 2px 0 0;width:12px;height:12px;}
#comments_form {max-width:800px;}

.schema-org {padding:0 !important; margin:0 !important;}
#items_loader {text-align:center;overflow:hidden;}
#items_loader img {margin:10px 0;}
#items_load_more {cursor:pointer;color:#fff;background-color:#ccc;padding:6px;text-align:center;font-size:14px;border:solid 1px #ccc;margin-top:10px;width:100%;}
#items_load_more:hover {color:#888;background-color:#f5f5f5;border:solid 1px #e6e6e6;}