@viewport {
    width: 640px auto;
}

:root {
  --logo-color: #004E94;
  --frames2-color: #1C486F;
  --frames-color: #3282CA;
  --dark-color: #003360;
  --light-color: #5B95CA;
}

/*:root {
  --logo-color: #4f84b3;
  --frames2-color: #4E6C86;
  --frames-color: #7EAED9;
  --dark-color: #1A4974;
  --light-color: #96B9D9;
}*/


body {
	font-family: Verdana, Tahoma, Arial;
	font-size: 10pt;
	margin: 0px;
	background-color: white;
	min-width: 1024px;
}
div {
	padding: 0px;
	margin: 0px;
	display: block;
}

a:link, a:visited {
	color: black;
	text-decoration: none;
}

a:hover {
	color: var(--logo-color);
}

.clear { clear:both;}

div#top {
	height: 50px;
	width: 100%;
	background-color: var(--light-color);
	border-bottom: 1px solid var(--frames-color);
}

nav#top_menu {
	height: 50px;
	width: 100%;
	max-width: 1280px;
	min-width: 1024px;
	padding: 0px auto;
	margin: auto;
	font-size: 0pt;
	display: table;
}

nav#top_menu * {
	font-size: 11pt;
}

div.top_menu_button:first-child {
	border-left: 1px solid var(--dark-color);
}

div.top_menu_button {
	background-color: white;
	--display: inline-block;
	float:left;
	height: 50px;
	border-right: 1px solid var(--dark-color);
	border-bottom: 1px solid var(--frames2-color);
	padding: 0px 10px;;
}

div.top_menu_button a {
	display: block;
	height: 100%;
	color: var(--frames2-color);
}
div.top_menu_button a:hover {
	color: var(--light-color);
}

div.top_menu_button:hover {
	border-bottom: 2px solid var(--logo-color);
}

div.top_menu_button.top_menu_button_selected {
	border-bottom: 1px solid white;
	border-top-right-radius: 7px;
}
div.top_menu_button_selected p.top_menu_button_name
{
	color: var(--logo-color);
}

p.top_menu_button_name {
	font-weight: bold;
	margin: 0;
	padding: 17px 0px 0px 0px;
	text-align: center;
}

p#basket.top_menu_button_name {
	padding: 3px 0px 0px 0px;
}

div.top_menu_button.basket {
	margin-left: 45px;
	border-left: 1px solid var(--dark-color);
	float: right;
}

nav#top_menu p.top_menu_button_comment {
	margin: 3px 0px;
	color: grey;
	font-size: 10pt;
}

div#header {
	display: block;
	margin: 10px auto;
	width: 100%;
	max-width: 1280px;
	min-width: 1024px;
	height:  40px;
	overflow-y: hidden;
}

div#header p {
	display: inline-block;
	vertical-align: top;
}

ul.links {
	display: inline-block;
	text-align: right;
	float: right;
}

ul.links li {
	display: inline-block;
	color: grey;
	padding: 7px 0px 7px 14px;
}

div#header ul.links li {
	text-decoration: underline;
	padding-top: 0px;
}

h1.logo {
	display: inline-block;
	font-size: 24pt;
	font-weight: bold;
	color: var(--logo-color);
	/*text-transform: uppercase;
	letter-spacing: 0px;
	font-stretch: ultra-condensed;*/
	margin: 0px 20px 0px 0px;
}

div#content {
	margin: 0px auto 50px auto;
	padding-bottom: 10px;
	max-width: 1280px;
	min-width: 1024px;
}

nav#left_menu {
	min-width: 250px;
	max-width: 350px;
	float: left;
	line-height: 35px;
	margin: 0px 15px 60px 0px;
}

p.left_menu_header {
	background-color: var(--logo-color);
	background-image: linear-gradient(to bottom,var(--logo-color) 0%,var(--frames-color) 100%);
	color: white;
	text-align: center;
	margin: 0;
	font-size: 11pt;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
p.left_menu_header>a {
	color: white;
}

ul.left_menu_list {
	box-shadow: 0 1px 2px var(--frames-color);
	list-style-type: none;
	margin: 0px; padding: 0px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	position: relative;
	height: auto;
}

ul.left_menu_list ul.left_menu_list {
	box-shadow: none;
	padding: 0px; margin: 0px;
}

ul.left_menu_list li {
	margin: 0px;
	padding: 0 10px;
	--white-space:nowrap;
	display: block;
}


ul.left_menu_list li.active>a, ul.left_menu_list li.active:hover>a {
	color: var(--dark-color);
	font-weight: bold;
}
ul.left_menu_list li a {
	width:100%;
	display: block;
	text-decoration: underline;
}

ul.left_menu_list>li  {
	background-repeat: no-repeat;
	background-position: calc(100% - 6px) 50%;
	background-image: url(../img/gt_arrow2.png);
	position: relative;
	min-height: 35px;
}
ul.left_menu_list ul.left_menu_list li {
	width: calc(100% - 10px);
}

ul.left_menu_list>li.empty, ul.left_menu_list>li.open, ul.left_menu_list>li.open:hover {
	background: none;
}

ul.left_menu_list li ul.submenu {
	box-shadow: 0 1px 2px var(--frames-color);
	background-color: #f0f0f0;
	list-style-type: none;
	margin: 0px; padding: 0px;
	position:absolute;
	top:0;
	left:100%;
	display:none;
	z-index: 3;
	min-height: 100%;
	max-height: 550px;
	height: auto;
	min-width: 400px;
	column-width: 400px;
	column-gap: 0;
	overflow: show;
	--max-width: 800px;;
}

ul.left_menu_list li:last-child>ul.submenu {
	top: auto;
	bottom: 0px;
}

ul.left_menu_list li ul.submenu li {
	background-color: #f0f0f0;
	line-height: 16pt;
}

ul.left_menu_list li:hover {
	color: var(--logo-color);
}
ul.left_menu_list>li:hover {
	background-color: var(--frames-color);
}
nav#left_menu ul.left_menu_list>li:not(.open):hover>a{
	color: white;
}

ul.left_menu_list>li:hover>ul.submenu {
	display: block;
}
ul.submenu:hover {
	display: block;
}

div#searchBox {
	height: 35px;
	display: block;
	width: 100%;
	text-align: right;
	padding-top: 7px;
}
div#searchBox form {
	font-size: 0pt;
	height: 100%;
	white-space:nowrap;
}

div#searchBox form * {
	font-size: 9pt;
	height: 100%;
}

div#searchBox input#search_txt {
	width: 25%;
	max-width: 350px;
	border: 1px solid #cccccc;
	padding: 0px 0px 0px 35px;
	background-repeat: no-repeat;
	background-position: 7px center;
	background-image: url(../img/search2.png);
}

div#rest {
	display: table;
	text-align: justify;
	min-width: calc(100% - 380px);
	background-color: #f0f0f0;
	padding-bottom: 5px;
}
div#rest>h1, div#rest>h2, div#rest>p, div#rest>form, div#rest>a,
div#rest>div:not(.catalog) {
	padding-left: 5px;
	padding-right: 5px;
}

div#bottom {
	position: fixed;
	bottom: 0px;
	right: 0px;
	height: 50px;
	width: 100%;
	min-width: 1024px;
	background-color: #333333;
}

div#footer, div#footer{
	color: #f0f0f0;
	text-align: right;
	max-width: 1280px;
	min-width: 1024px;
	margin-left: auto;
	margin-right: auto;
	line-height: 16pt;
}

div#footer p {
	display: inline-block;
	margin: 7px 0px;
	padding: 0px 7px;
	border-right: 1px solid #808080;
}
div#footer p.disclaimer {
	float: left;
	text-align: left;
	font-size: 8pt;
	height: 30px;
	padding: 2px 35px;
	line-height: 12pt;
	color: #f0f0f0;
}

div#footer p#basket {
	min-width: 400px;
	white-space: nowrap;
}

div#footer p#basket a {
	color: #f0f0f0;
}

div#footer form#feedback {
	display: inline-block;
	margin: 7px 0px;
	padding: 3px 7px;
	border-right: 1px solid #808080;
	white-space: nowrap;
	float: left;
	text-align: left;
}

span.valueBox {
	display: inline-block;
	padding: 7px 10px;
	margin-right: 10px;
	border-radius: 3px;
	background-color: var(--logo-color);
}
span.valueBox.notImportant {
	background-color: #808080;
}

nav#top_menu div.top_menu_button span.valueBox {
	padding: 1px 3px;
	margin-right: 5px;
	margin-left: 5px;
	border-radius: 15px;
	color: white;
	font-weight: normal;
	font-size: 9pt;
}

button, input[type="submit"] {
	color: #f0f0f0;
	border: none;
	border-radius: 3px;
	background-color: var(--logo-color);
	padding: 7px 7px;
	white-space: nowrap;
}

button.notImportant {
	color: black;
	background-color: #a0a0a0;
}

div.catalog {
	clear: both;
	font-size: 0pt;
}

div#rest h2, div.catalog h2 {
	color: var(--logo-color);
	font-size: 18pt;
	text-align: left;
}


div#rest h2[id], div.catalog h2[id] {
	float: left;
}


div#rest h2[id] + *:not(.pages), div.catalog h2[id] + *:not(.pages) {
	clear: both;
}


div#rest h1 {
	margin-top: 0;
	float: left;
	color: var(--logo-color);
	font-size: 22pt;
	text-align: left;
}

div#rest h1 + *:not(.pages) {
	clear:both;
}


div.catalog  div.catalog_item {
	display: block; float: left;
	width: calc((100% - 130px)/ 4);
	min-width: 170px;
	max-width: 210px;
	height: 290px;
	text-align: center;
	overflow: hide;
	padding: 15px;
	margin: 0;
	border: 1px solid #a0a0a0;
	font-size: 10pt;
}

div.catalog  div.catalog_item.category {
  width: calc((100% - 60px)/ 5);
  min-width: 150px;
  height: 250px;
  padding: 15px 5px;
}

div.catalog  div.catalog_item:hover {
	border: 1px solid var(--light-color);
}

div.catalog  div.catalog_item img.ctl_image {
	max-height: 110px;
	max-width: 150px;
	border: 1px solid #d0d0d0;
	background-color: white;
}

div.catalog  div.catalog_item.category img.ctl_image {
	max-height: 200px;
	max-width: 98%;
	margin-bottom: 5px;
}

div.catalog  div.catalog_item p.catalog_item_name {
	font-weight: bold;
	height: 80px;
	overflow: hidden;
	margin: 2px 0px;
}

div.catalog  div.catalog_item.category p.catalog_item_name {
	font-weight: 500;
	font-size: 14pt;
	height: 120px;
	vertical-align: middle;
}


div.catalog  div.catalog_item p.catalog_item_article {
	font-size: 8pt; color: #888888;
	text-align: left;
	display: inline-block;
	margin:0;
	width: 50%;
}
div.catalog  div.catalog_item p.catalog_item_presence {
	font-size: 8pt; text-align: right;
	display: inline-block;
	margin:0;
	width: 50%;
	float: right;
}
div.catalog  div.catalog_item p.catalog_item_presence.present, span.green {
	color: green;
}

div.catalog  div.catalog_item p.catalog_item_presence.not_present, span.red {
	color: var(--logo-color);
}

div.catalog  div.catalog_item p.catalog_item_price {
	font-size: 11pt;
	font-weight: bold;
	color: #888888;
	white-space: nowrap; owerflow: hide;
}

div.catalog  div.catalog_item p.catalog_item_presence.present + p.catalog_item_price {
	color: var(--dark-color);
}

/*div.catalog  div.catalog_item p.catalog_item_price::after {
  content: " руб.";
}*/

span.basket {
	display: inline-block;
	line-height: 20px;
	width: 30px;
	height: 20px;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(../img/basket.png);
}

div.top_menu_button span.basket {
	background-image: url(../img/basket_dark.png);
}

button.buy {
	padding-left: 35px;
	background-repeat: no-repeat;
	background-position: 7px center;
	background-image: url(../img/basket.png);
}

table.stardart_table, table.stardart_table table{
	width: 100%;
	border-spacing: 0;
}

table.stardart_table.bordered td {
	border: 1px solid #cccccc;
}

table.stardart_table>thead>tr>th, table.stardart_table>tbody>tr>td {
	padding: 0px 7px;
}
table.stardart_table td {
	vertical-align: top;
}

div#rest>table.stardart_table>tbody>tr>td, div#basket table.stardart_table>tbody>tr>td {
	padding: 3px 7px;
}

table.form *{
	vertical-align: top;
}

table.form input[type="text"], table.form textarea, table.form select {
	width: 400px;
}

table.form textarea {
	height: 150px;
}

table.tbin { width: 400px; font-size: 9pt; }
.tbex { width: 25%; }

table.tbin tr:nth-child(odd), table.stardart_table>tr:nth-child(odd), table.stardart_table>tbody>tr:nth-child(odd) {
	background-color: #f0f0f0;
}
table.tbin tr:nth-child(even), table.stardart_table>tr:nth-child(even), table.stardart_table>tbody>tr:nth-child(even) {
	background-color: white;
}

table.stardart_table thead.basket_header, table.stardart_table tr.basket_header {
	background-color: var(--logo-color);
	color: white;
	text-align: center;
	border-color:  var(--logo-color);
}
table.stardart_table thead.basket_header th.article {
	text-align: left;
}

table.stardart_table tbody tr {
	height: 50px;
}

table.stardart_table td.article {
	color: #888888;
	width: 60px;
	min-width: 60px;
}
table.stardart_table td.article a {
	color: #888888;
}

table.stardart_table td.btn{
	padding-right: 0;
	text-align: center;
}
table.stardart_table td.img{
	min-width: 50px;
}
table.stardart_table td.name {
	vertical-align: top;
	text-align: left;
}
table.stardart_table td.price, table.stardart_table td.sum,
table.stardart_table th.price, table.stardart_table th.sum {
	text-align: right;
	white-space: nowrap;
}

table.stardart_table td.search_stock {
	text-align: center;
}

table.stardart_table td.ammount, table.stardart_table td.edizm {
	width: 60px;
	min-width: 60px;
	text-align: center;
}

table.stardart_table td.ammount input {
	width: 50px;
	height: 30px;
	text-align: center;
}

table.stardart_table td.del {
	width: 35px;
	min-width: 35px;
	text-align: right;
}

/* on Page */
div.countOnPage {
	margin-top: 10px;
	float: left;
	font-size: 11pt;
	color: black;
}
div.countOnPage select.styleSelect {
	height: 30px;
}
/*Pages*/
div.pages {
	float:right; }
div.countOnPage + div.pages {
	margin-top: 10px;
}
ul.paginate {
	margin:0 0;
	list-style:none;
	float: right;
}
.paginate li {
	display:inline;
	font-size:12px;
	margin-right:3px;
}
.paginate li a, .paginate li span {
	display:block;
	float:left;
	width: 15px; 
	height: 15px;
	padding: 7px 10px;
	margin-left: 1px;
	text-align: center;
	vertical-align: center;
	text-decoration: none;
	border-radius: 3px;
}
.paginate li span {
	background-color: var(--logo-color);
	color: white;
}
.paginate li a {
	background-color: #a0a0a0;
}
.paginate li a:hover, .paginate li a:active {
	background-color: var(--light-color);
	color: white;
}

td div.total_price {
	font-weight: bold;
	padding: auto 0px;
}

td.total_price {
	text-align: right;
}

div.leftBlock { margin: 0 0 20px 0; clear: left; float:left; width:345px; display: table}
   .leftBlock img.gallery { border:1px solid #b3b3b3; }
   .leftBlock a { text-decoration: underline; }

div.description { float: right; width: calc(100% - 380px); }

div.description>*:first-child { margin-top:0}

div.files { float:right; width: 40%; }
.files ul.additional_files { margin:8px 15px; list-style: none; }
		.files ul.additional_files li { background:url(../img/files/unknown.png) 0 50% no-repeat; padding:5px 0 5px 30px; }

a.return_basketlink:before
{
	content: "\2190\00A0";
	color: var(--logo-color);
}
h1:first-child, h2:first-of-type {
	margin-top: 0;
}

div#CookieAknoledgement {
	height:50px;
	line-height:50px;
	width: 100%;
	background-color:var(--light-color);
	text-align:center;
	position: fixed;
	bottom: 50px;
	vertical-align:middle;
	opacity: 0.85;
	display:none;
	z-index:1;
	padding: 0;
	color: black;
}

div#CookieAknoledgement p {
	vertical-align: middle;
	white-space: nowrap;
	overflow: hidden;
	font-size: 10px;
	margin: 0;
}
div#CookieAknoledgement p a{
	color: var(--dark-color);
}

div.offers {
	width: 100%
}
div.one_offer {
	border: 1px solid #f0f0f0;
	margin: 0px 0px 10px 0px;
	padding: 5px;
}

div.one_offer p:first-child {
	font-weight: bolder;
}

div.one_offer p:first-child a::after {
	content: ' \2192';
}
button#showTopMenu {
    display:none;
}