.search-page * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a.search-page-params {
	border-bottom: 1px dashed blue;
	text-decoration: none;
}
div.search-page-params {
	margin-top: 6px;
}
.search-item-rate {font-size: 11px;}

.search-page .search-title {
	font-weight: bold;
	color: #333;
}

.search-page .search-preview {
	float: left;
	margin-right: 15px;
	width: 120px;
	text-align: center;
}
.search-page .search-preview img {
	display: inline-block;
}

.search-page input[type=text] {
	background-color: #f8fafc;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #333;
	border-style: solid;
	border-width: 1px;
	border-radius: 1px;
	outline: none;
}
.search-page input[type=text]:focus {
	background-color: #fff;
}
.search-page input[type=submit] {
	border-radius: 1px;
	height: 34px;
	padding: 6px 24px;
	font-size: 14px;
	line-height: 1.42857143;
	border: 1px solid;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
}
.search-page .clear {
	clear:both;
}

.ag-spage-history {
	display: block;
	margin-bottom: 15px;
}
	.ag-spage-history a {
		color: #222;
		text-decoration: underline;
	}
	.ag-spage-history a:hover {
		text-decoration: none;
	}

.ag-spage-clarify-list {
	display: block;
	margin-bottom: 15px;
}
	.ag-spage-clarify-title {
		font-size: 15px;
		font-weight: bold;
		margin-bottom: 8px;
	}
	.ag-spage-clarify-item {
		display: inline-block;
		color: #111;
		text-decoration: none;
		border: 1px solid #111;
		padding: 4px 10px;
		border-radius: 2px;
		margin-bottom: 6px;
		margin-right: 6px;
	}
	.ag-spage-clarify-item:hover {
		text-decoration: none;
		border: 1px solid #000;
	}
	.ag-spage-clarify-item.selected {
		text-decoration: underline;
	}

@media (max-width:767px){
	.search-page form {
		display: block;
		position: relative;
	}
	.search-page input[type="text"] {
		width: 100%;
	}
	.search-page input[type="submit"] {
		position: absolute;
		top: 0;
		right: 0;
	}
}

/* blue */
.search-page.theme-blue .search-title b {
	color: #5ca6e4;
}
.search-page.theme-blue hr {
	border-color: #0083d1;
}
.search-page.theme-blue input[type=text] {
	border-color: #0083d1;
}
.search-page.theme-blue input[type=submit] {
	border-color:#0083d1;
	background-color:#0083d1;
}
.search-page.theme-blue input[type=submit]:hover {
	border-color:#5ca6e4;
	background-color:#5ca6e4;
}
.search-page.theme-blue .ag-spage-clarify-item, .search-page.theme-blue .ag-spage-clarify-item:hover {
	border-color:#5ca6e4;
}
/* black */
.search-page.theme-black .search-title b {
	color: #5c5c5c;
}
.search-page.theme-black hr {
	border-color: #333;
}
.search-page.theme-black input[type=text] {
	border-color: #333;
}
.search-page.theme-black input[type=submit] {
	border-color:#333;
	background-color:#333;
}
.search-page.theme-black input[type=submit]:hover {
	border-color:#5c5c5c;
	background-color:#5c5c5c;
}
.search-page.theme-black .ag-spage-clarify-item, .search-page.theme-black .ag-spage-clarify-item:hover {
	border-color:#5c5c5c;
}
/* green */
.search-page.theme-green .search-title b {
	color: #44b1c9;
}
.search-page.theme-green hr {
	border-color: #159ebb;
}
.search-page.theme-green input[type=text] {
	border-color: #159ebb;
}
.search-page.theme-green input[type=submit] {
	border-color:#159ebb;
	background-color:#159ebb;
}
.search-page.theme-green input[type=submit]:hover {
	border-color:#44b1c9;
	background-color:#44b1c9;
}
.search-page.theme-green .ag-spage-clarify-item, .search-page.theme-green .ag-spage-clarify-item:hover {
	border-color:#44b1c9;
}
/* red */
.search-page.theme-red .search-title b {
	color: #e95c5c;
}
.search-page.theme-red hr {
	border-color: #E22B2B;
}
.search-page.theme-red input[type=text] {
	border-color: #E22B2B;
}
.search-page.theme-red input[type=submit] {
	border-color:#E22B2B;
	background-color:#E22B2B;
}
.search-page.theme-red input[type=submit]:hover {
	border-color:#e95c5c;
	background-color:#e95c5c;
}
.search-page.theme-red .ag-spage-clarify-item, .search-page.theme-red .ag-spage-clarify-item:hover {
	border-color:#e95c5c;
}
/* yellow */
.search-page.theme-yellow .search-title b {
	color: #faba4a;
}
.search-page.theme-yellow hr {
	border-color: #F9A91D;
}
.search-page.theme-yellow input[type=text] {
	border-color: #F9A91D;
}
.search-page.theme-yellow input[type=submit] {
	border-color:#F9A91D;
	background-color:#F9A91D;
}
.search-page.theme-yellow input[type=submit]:hover {
	border-color:#faba4a;
	background-color:#faba4a;
}
.search-page.theme-yellow .ag-spage-clarify-item, .search-page.theme-yellow .ag-spage-clarify-item:hover {
	border-color:#faba4a;
}



.lm-error {
    color: red;
}

.lm-search-ctable{
    width: 100%;
}

.lm-search-ctable tr td{
    border: 1px solid #000;
}

.search-form{

}

.search-form-table{
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.lm-error {
    color: red;
}

.lm-search-ptable {
    width: 100%;
}

.lm-search-ptable tr td{
    border: 1px solid #000;
}

div.have {padding: 1px; background: #29ce00; width: 40px; color: white;}
div.nohave {padding: 1px; background: #f3031f; width: 40px; color: white;}

.contentRight {
	margin-right: 205px;
}
.section_list{
    overflow: hidden;
    padding: 5px 0 0 0px;
}
.section_list .item_section_list{
    border: 1px solid #D2D2D2;
    float: left;
    margin: 0 5px 13px 5px;
    overflow: hidden;
    width: 383px;
}
.section_list .item_section_list .bg{
    border: 4px solid #F2F2F2;
	
/*    height: 198px;*/
min-height: 125px;	
}
.section_list .stars{
    position: absolute;
    right: 5px;
    top: 3px;
}
.section_list .stars .star{
    background:url("/bitrix/templates/aga/images/stars_mini.jpg") no-repeat scroll -12px 0 rgba(0, 0, 0, 0);
    float: left;
    height: 14px;
    width: 13px;
}
.section_list .stars .star.active{
	background-position:0 0;
}

.section_list .name{
    color: #0266B4;
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 5px;
    padding-top: 2px;
}
.section_list .name a{
	text-decoration:none;
}
.section_list .main{
    background-color: #FFFFFF;
    min-height: 122px;
    position: relative;
}
.section_list .img{
    float: left;
    min-height: 95px;
    overflow: hidden;
    padding-left: 4px;
    width: 104px;
	border: 1px solid #D2D2D2;
}
.section_list .img img{
	
}
.section_list .main .text{
    color: #0266B4;
    line-height: 13px;
    padding: 1px 4px 4px;
    text-align: center;
}
.section_list .price{
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    padding: 2px 0;
    text-align: center;
}
.section_list .addtobasket_n{
   
    padding-top: 9px;
    text-align: center;
}
.section_list .addtobasket_n .addtobasket_n_button{
    background: url("/bitrix/templates/amag_new/images/addtobasketnew2.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: inline-block;
    height: 32px;
    width: 78px;
	cursor: pointer;
}
.section_list .nalichie_n{
    background: none repeat scroll 0 0 #EDEDED;
    margin: 3px 4px;
    padding: 4px 4px 3px;
}
.section_list .nalichie_n table{}
.section_list .nalichie_n table td{
    vertical-align: top;
}
.section_list .nalichie_n .text{
    font-size: 10px;
    line-height: 12px;
    padding: 0 3px;
}
.section_list .nalichie_n .text a{
	text-decoration:none;
}
.section_list .status-max{
    background: url("/bitrix/templates/amag_new/images/cnt_bar_10.gif") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 19px;
    width: 10px;
}

.section_list .status-mid{
    background: url("/bitrix/templates/amag_new/images/cnt_bar_5.gif") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 19px;
    width: 10px;
}

.section_list .status-min{
    background: url("/bitrix/templates/amag_new/images/cnt_bar_1.gif") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 19px;
    width: 10px;
}

.section_list .status-none{
    background: url("/bitrix/templates/amag_new/images/cnt_bar_0.gif") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 19px;
    width: 10px;
}

.bread_crumbs{
    padding: 0 8px 10px;
}
.bread_crumbs a{
    color: #000000;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}
.bread_crumbs span{
    font-size: 15px;
    font-weight: bold;
    padding: 0 5px;
}

.page_nav{
    padding: 10px 20px;
}
.page_nav a{
    display: inline-block;
    height: 28px;
    line-height: 28px;
    text-align: center;
    width: 28px;
	color: #37414A;
	font-size: 14px;
}

.page_nav a.active{
    background: url("/bitrix/templates/amag_new/images/pagenav.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
}
.page_nav a.left{
    background: url("/bitrix/templates/amag_new/images/pagenav_right_left.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    text-decoration: none;
	width: 26px;
	margin-right: 11px;
}
.page_nav a.right{
    background: url("/bitrix/templates/amag_new/images/pagenav_right_left.jpg") no-repeat scroll -26px 0 rgba(0, 0, 0, 0);
    text-decoration: none;
	width: 26px;
	margin-left: 11px;
}
.text a{
	text-decoration:none;
}
.text a:hover{
	text-decoration:underline;
}
.price s {
    color: #686868;
    font-size: 80%;
}
.row-xxx > .col-xxx, .col-xxx-padding {
    margin-bottom: 13px;
}




.search_header {
    font-size: 20px;
    margin-bottom: 10px;
}


/*Категории товаров*/

.columns-4 {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}

.columns-3 {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

.columns-2 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}


.search_sections_header {
    padding:5px 10px; background: #eee;
}

.sections_toggle {
    cursor: pointer;
}

.search_section_list {
    padding:0 10px;
    background: #fafafa;
    border: solid 1px #eee;
}

.search_section_list li li {
    list-style-type: disc !important;
}

.section_block {
    display: inline-block; vertical-align: top;
    list-style-type: none;
}
@media (max-width: 767px){
    .search_section_list_wrap {
        margin-bottom: 15px;
    }

    .columns-4 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .columns-3 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .columns-2 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 960px) {
    .search_section_list_wrap {margin-bottom: 20px;}
}

@media (min-width: 768px) and (max-width: 959px) {

    .search_section_list_wrap {margin-bottom: 15px;}


    .columns-4 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .columns-3 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .columns-2 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}
@media (min-width: 960px) and (max-width: 1259px) {
    .columns-4 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .columns-3 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .columns-2 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}
@media (min-width: 1260px) {

    .section_block {padding: 10px 20px 20px 0}

    .search_section_list
    {
        -webkit-column-gap: 20px;
        -moz-column-gap: 20px;
        column-gap: 20px;
    }

}




.section_block .level1 {font-weight: bold;}
/*.section_block .level1 a {color: black}*/
.section_block .level2 {font-weight: normal; /*padding-left: 10px*/}

.product_list_anchor {margin-top: -60px;}