.body {
	font-size:12px;
	line-height:12px;
}

.magistral-logo {
	width:69px;
	height:50px;
	display:block;
	text-indent:-9000px;
	background:url(images/logo.png) 0 0 no-repeat;
	float:left;
}

.clear {
	clear:both;
}

.top-panel {
	background:url(images/topbg-red.png) #f1f1f1 left top repeat-x;
}

.logo {
	width:63px;
	height:40px;
	display:block;
	margin-top:7px;
	text-indent:-9000px;
	background:url(images/logo-mag.png) center center no-repeat;
	float:left;
}

.sep {
	width:3px;
	height:40px;
	background:#d24a43;
	margin:10px 10px 0 10px; /* 10px 30px 0 30px; */
	float:left;
}

h1 {
	border-bottom: 2px solid #D24A43;
    color: #D24A43;
    font-size: 24px;
    margin-bottom: 18px;
    margin-top: 0;
	font-size:18px !important;
}

.main-nav {
	overflow:hidden;
	float:left;
	margin-right: -10px;
}

	.main-nav  a{
	    text-indent:-9000px;
		width:44px;
		height: 40px;
		display: block;
		float: left;
		font-size: 14px;
		font-weight: bold;
		margin-top: 10px;
		text-align: center;
		text-decoration: none;
		margin-right:13px;
		background:url(images/nav-ico.png) 0 0 no-repeat;
	}
	
		
		.main-nav a {
			background-position: 0 0;
		}
		
		.main-nav a:hover.ico-1, .main-nav a.ico-1.active {
			background-position: 0 -40px;
		}
		
		.main-nav a.ico-2 {
			background-position: -44px 0;
		}
		
		.main-nav a:hover.ico-2{
			background-position: -44px -40px;
		}
		
		.main-nav a.ico-3 {
			background-position:-88px 0;
		}
		
		.main-nav a:hover.ico-3, .main-nav a.active.ico-3 {
			background-position: -88px -40px;
		}
		
		.main-nav a.ico-4 {
			background-position: -132px 0;
		}
		
		.main-nav a:hover.ico-4, .main-nav a.active.ico-4 {
			background-position: -132px -40px;
		}
		
		.main-nav a.ico-5 {
			background-position: -176px 0;
		}
		
		.main-nav a:hover.ico-5, .main-nav a.active.ico-5 {
			background-position: -176px -40px;
		}
		
		.main-nav a.ico-6 {
			background-position: -220px 0;
		}
		
		.main-nav a:hover.ico-6, .main-nav a.active.ico-6 {
			background-position: -220px -40px;
		}

.top-icons {
	overflow:hidden;
	float:left;
}

	.top-icons a {
		height:40px;
		display:block;
		float:left;
		text-indent:-9000px;
		width:40px;
		margin:10px 15px 0 0;
		background:url(images/automag-ico.png) 0 0 no-repeat;
	}

	.top-icons a.import-link {
		background-position:0 0;
	}  

	.top-icons a.ok-link {
		background-position:-40px 0;
	} 

	.top-icons a.clear-link {
		background-position:-80px 0;
	} 

	.top-icons a.refresh-link {
		
	} 
	
	.top-icons a.personal-link {
		width:44px;
		height:39px;
		background:url(images/automag-ico-2.png) 0 0 no-repeat;
	} 
	
	.top-icons a.help-link {
		width:44px;
		height:39px;
		background:url(images/automag-ico-2.png) -44px 0 no-repeat;
	} 
	
	.user-area{
		width:300px;
		float:right;
		text-align:right;
		margin-right:20px;
		line-height:13px;
		padding-top:10px;
	}
	
	.user-area a, .user-area a:active, .user-area a:hover {
		color:#4f67a4;
	}

.top-icons.right-pos {
	float:right;
}

#catalog-table-area {
	border-width:0 !important;
	padding-top:0;
	padding-bottom:0;
}

.main-center-area {
}

	.main-center-area  h1, .main-center-area  h2, .main-center-area  h3{
		font-size:14px;
	}

.baskets-wrapper {
	margin-top:0px;
	font-size:10px;
}

.baskets-wrapper  ul li{
	line-height:10px;
}

.baskets-wrapper.ui-widget-content {
	border-width:0 !important;
}

.baskets-wrapper .ui-widget-header {
	background:none !important;
	border:none !important;
}
.ui-layout-content {
	overflow:		auto; /* add scrolling to content-divs (panel-wrappers) */
	border-top:		0 !important; /* tab-buttons above this DIV already has a border-bottom */ 
}

#gbox_list b.minus, #gbox_list b.plus {
	display:block;
	width:10px;
	height:10px;
	text-indent:-9000px;
	background:url(images/q-ico.png) 0 0 no-repeat;
}

#gbox_list b.minus {
	background-position:-10px 0;
}

#add-to-basket-form {
	
}

	#add-to-basket-form #img {
		text-align:center;
		background:url(images/ajax-loader.gif) center center no-repeat;
		width:300px;
		height:300px;
		overflow:hidden;
		margin:0 auto;
	}
	
	#add-to-basket-form #title {
		font-weight:bold;
		font-size:12px;
	}
	
	#add-to-basket-form #total {
		font-weight:bold;
		font-size:16px;
	}
	
	#add-to-basket-form #price {
		font-weight:bold;
	}
	
	#add-to-basket-form  #warning {
		font-size:10px;
	}
	
	#add-to-basket-form  #warning  b{
		color:red;
	}
	
	#add-to-basket-form #need_auth, #add-to-basket-form #need_auth a {
		color:#d24a43;
		font-size:14px;
		font-weight:bold;
	}
	
#basket-ajax-loader {
	display:block;
	height:16px;
	width:16px;
	float:right;
	display:none;
	background-image: url(images/ajax-loader-sm.gif);
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
	background:#ccc;
	border-color:#ccc
}

.ui-widget-header .ui-state-hover, .ui-widget-content.jqgrow.ui-row-ltr.ui-state-hover {
	background:#eee;
}

.ui-widget {
	font-size:10px;
}

.baskets-wrapper {
	padding:10px 0 0 0;
	border:none;
}

/*
.ui-layout-content {
	padding:10px 0 0 0 !important;
}
*/

.ui-jqgrid tr.jqgrow td {
	padding:0 5px;
}

.ui-jqgrid tr.ui-row-ltr td {
	white-space:nowrap;
}

.am_has_photo, .am_has_analogs, .am_search_analogs, .am_has_eac  {
	display:block;
	height:16px;
	width:16px;
	margin:0 auto;
	text-indent:-9000px;
	background:url("images/am_has_photo.png") 0 0 no-repeat;
}

.am_has_analogs {
	background-image: url("images/am_has_analogs.png");
	cursor:pointer;
}

.am_search_analogs {
	background-image: url("images/am_search_analogs.png");
	cursor:pointer;
}

.am_has_eac {
	background-image: url("images/am_has_eac.png");
}

.buttons-block {
	display:inline-block;
	margin-left:10px;
	margin-top:2px;
}


#image-place {
	width:100%;
	height:100%;
	background:url(/upload/i/no_image_big.jpg) center center no-repeat;
	background-size:contain;
	margin:0 auto;
	background-position:center center;
	background-repeat:no-repeat;
}

.buttons-block  {
	float:right;
	margin-right:10px;
}

.buttons-block a {
	display:inline-block;
	text-decoration:none;
	width:auto;
	padding: 2px 10px;
    line-height: 14px;
}

.buttons-block  i{
	display:block;
	float:left;
	height:16px;
	width:16px;
	margin-right:2px;
	background:url('images/am-ico-small.png') 0 0 no-repeat;
}

.buttons-block .ok-link   i{
	background-position:-32px 0;
}

.buttons-block .export-link   i{
	background-position:-48px 0;
}

.buttons-block .export-link.active   i{
	background-position:-48px 0;
}

.am_delete_items {
	display:inline-block;
	width:auto;
	padding: 2px 10px;
    line-height: 14px;
}

.am_delete_items i{
	display:inline-block;
	float:left;
	height:16px;
	width:16px;
	margin-right:2px;
	background:url('images/am-ico-small.png') -16px -16px no-repeat;
}

.am_delete_items.active  i
{
	cursor:pointer;
	background-position:-16px 0;
	
}
#carts-tabs {
	float:left;
}

#progress_bar {
	margin:5px 0;
}

#notice-area {
	color:#000;
	border-left:4px solid #D24A43;
	padding-left:15px;
}

#select_par {
	position:relative;
	height:100%;
}

#tool-tip-area {
	position:absolute;
	bottom:0;
	left:0;
	border-left: 4px solid #D24A43;
    padding-left: 15px;
}

#mess_in_basket {
	font-size:10px;
	color:red;
}

a.link_element {
	display:inline-block;
	height:16px;
	width:16px;
	text-indent:-9000px;
	background:url(images/link_go.png) 0 0 no-repeat;
}

a.link_filter {
	display:inline-block;
	height:16px;
	width:16px;
	text-indent:-9000px;
	margin-right:4px;
	margin-bottom:-3px;
	background:url(images/filter.png) 0 0 no-repeat;
}

a.link_element.transit {
	margin-left:4px;
	background-image:url(images/link_go_transit.png);
}

a.link_element:focus {outline:0;}

th.colFastSearch div {
	font-weight:bold;
}

th.activeFastSearch div {
	font-weight:bold;
	color:#d24a43;
}

.inCart td {
	background-color:#ccffcc;
}
.inReserv td {
	background-color:#6699cc;
}

.inCart.inReserv  td
{
	background-color:#6699cc;
	color:#ccffcc;
}

.inWaitingList td {
	background-color:#ffffcc;
}


.deliv-nal {
	color:#337bff;
	font-weight:bold;
}

.deliv-reserved {
	color:#d21c13;
}

#top_text_info {
	max-width:240px;
	float:left;
	margin-top:10px;
	color:#337bff;
	font-weight:normal;
}

#top_text_info a {
	color:#337bff;
	text-decoration:none;
}

.dropdown-menu-automag {
	display:none;
    background-color: #fff;
    position: absolute;
    z-index: 20000000;
	padding:15px;
	width:150px;
	-webkit-box-shadow: 5px 5px 2px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow:    5px 5px 2px 0px rgba(0, 0, 0, 0.75);
	box-shadow:         5px 5px 2px 0px rgba(0, 0, 0, 0.75);
}

.dropdown-menu-automag li {
	list-style:none;
	margin:0;
	padding:0;
	text-align:right;
}

.dropdown-menu-automag li a {
	text-decoration:none;
	color:#201600;
}
.dropdown-menu-automag .divider {
	background-color: #e5e5e5;
	height: 1px;
	margin-bottom: 7.5px;
	margin-left: 0;
	margin-right: 0;
	margin-top: 7.5px;
	overflow-x: hidden;
	overflow-y: hidden;
}
.has-new-messages {
	color:#d24a43;
}

#full-search {
	width:100%;
	height:16px;
	/*border:1px solid #aaaaaa; d24a43*/
	color:#000;
	border:0;
	background:#fff;
}

#full-search:focus { outline: none; }



#clear_filter {
	display:none;
	width:16px;
	height:16px;
	background:url('images/edit_delete.png');
	right:2px;
	bottom:2px;
	cursor:pointer;
	position:absolute;
}

#toggle_autocomplete {
	display:none;
	width:16px;
	height:16px;
	background:url('images/arrow_state_grey_expanded.png');
	right:20px;
	bottom:1px;
	cursor:pointer;
	position:absolute;
}

.autocomplete-wrapper-external {
	padding:2px 80px 2px 60px;
	background:#aeaeae;
	margin-bottom:2px;
	color:#fff;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.autocomplete-wrapper-external  .label {
	position:absolute;
	left:18px;
	top:0;
	line-height:24px;
	text-transform:uppercase;
}

.autocomplete-wrapper-external  input[type=submit] {
	position:absolute;
	right:13px;
	top:2px;
	line-height:24px;
	text-transform:uppercase;
	border:0;
	display:block;
	height:18px;
	line-height:16px;
	width:70px;
	font-size:12px;
	text-align:center;
	cursor:pointer;
	background:#5c9b0f;
	color:#fff;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
.autocomplete-wrapper-external  input[type=submit]:focus {
	outline: none; 
}

.autocomplete-wrapper-external .autocomplete-wrapper {
	background:#fff;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.autocomplete-wrapper-external  input[type=text] {
	padding-left:3px;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 2px 5px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }

/*
.autocomplete-suggestions {
	background:#fff !important;
	font-size:10px;
}
*/

.has-new-mail {
	display:block;
	width:16px;
	height:16px;
	float:right;
	margin-left:4px;
	background:url(images/ico_email.png) 0 0 no-repeat;
}

a.mobDblClck {
	display:inline-block;
	width:22px;
	height:22px;
	background:url(images/dblClickMob.png) 0 0 no-repeat;
}

#cart-table .am_has_photo {
	display:inline-block;
	margin-right:4px;
}

.supplier_rate {
	display:inline-block;
	width:12px;
	height:12px;
	margin:2px 2px -2px 2px;
	background:#ccc;
	text-decoration:none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.supplier_rate.rate_4 {
	background-color:#33cc00;
}

.supplier_rate.rate_3 {
	background-color:#ffff00;
}

.supplier_rate.rate_2 {
	background-color:#ff9933;
}

.supplier_rate.rate_1 {
	background-color:#cc0000;
}

.action_bonus_ind {
	display:inline-block;
	width:12px;
	height:12px;
	margin:2px 2px -2px 2px;
	background:url(images/ico_bonus.png) 0 0 no-repeat;
	background-size: cover;
}