/*.firm-cat-wrap{
	overflow: scroll;
}*/
.sort_display{margin-left: 10px}
.sort_display a, .sort_display a i {display: inline-block;height: 13px;width: 13px;line-height: 20px;}
.sort_display a i {background: url(/upload/sort_icons.png) 0 0 no-repeat;}
.sort_display a.list-block i {background-position: -19px -41px;}
.sort_display a.list-table i {background-position: -37px -41px;}
.sort_display a.list-block:hover i {background-position: -19px -23px;}
.sort_display a.list-table:hover i {background-position: -37px -23px;}
.ques-list{
    color: red !important;
    font-size: 1.5em !important;
    text-decoration: none !important;
    width: 20px;
    height: 20px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}
.ques-win-list{
	background: #fef6c0;
	position: absolute;
	z-index: 1000;
	padding: 5px 8px;
	text-align: left !important;
	border-radius: 5px;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: bold;
    color: #000 !important;
    box-shadow: 1px 1px 3px #000;
}
.firm-cat-wrap .firm-list{
	width: 1024px;
}
.firm-list{
    position: relative;
}

.firm-list table{
    width: 100%;
    border: 1px solid #ccc;
}
.firm-list table th, .firm-list table td{
    border: 1px solid #ccc
}
.firm-list thead tr{
    background-color: #444DA0;
}
.firm-list table th{
    padding: 5px 7px;
    color: #fff;
    text-align: center;
}
.firm-list table th:nth-of-type(11), .firm-list table td:nth-of-type(11){
    width: 120px;
}
.firm-list table tbody tr a:hover{color: #7c83ca}
.firm-list table tbody tr{
    cursor:default;
}
/*
.firm-list table tbody tr:hover{
    background: #eee;
}
*/
.firm-list table td{
    max-width: 200px;
    padding: 5px 7px;
    text-align: center;
}
.firm-list table td:nth-of-type(2) span{
    color: #444DA0;
    text-decoration: underline;
}

.firm-card .title{
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}
.firm-card table{
    width: 100%;
  	max-width: 400px;
    border: 1px solid #ccc;
}
.firm-card table td{
    padding: 5px 7px;
  	font: 14px Tahoma, Arial;
}
.firm-card table td:first-child{
    background: #eee;
}
.firm-card table tr.wbg td:first-child{
    text-align: left;
}

.card-table-wrap{
    width: 45%;
    float: left;
}
.order-form{
    width: 50%;
    margin-top: 46px;
    float: right;
}
.order-form button{
    display: none;
}
.order-form textarea{
    resize: none;
}

.sort-block{
    margin-bottom: 15px;
    text-align: right;
}
.sort-block label{
    margin-right: 20px;
}
.sort-block a + a{
    margin-left: 5px;
}
.sort-block a i{
    margin-left: 3px;
}
.sort-block-active{
    text-decoration: underline;
}

.firm-name{
    margin-bottom: 10px;
    font-size: 20px;
}
.bx-filter .bx-filter-parameters-box.bx-active .bx-filter-parameters-box-title{
    font-weight: bold;
}
.bx-filter.bx-filter-horizontal .bx-filter-parameters-box{
    padding: 3px 7px !important;
}
.bx-filter .bx-filter-popup-result{
    background: none !important;
}
.bx-filter.bx-blue .bx-filter-section{
    background: #eeeeef !important;
}
.bx-filter-horizontal .bx-filter-popup-result{
    top: 10px;
}
.bx-filter-parameters-box-container{
    min-height: 135px;
    max-height: 158px;
}
.bx-filter.bx-filter-horizontal .bx-filter-button-box{
    margin-top: 25px;
}
.bx-filter-parameters-box:last-child .bx-filter-parameters-box-container{
    min-height: auto;
} 

.cal-wrap{
    width: 65%;
}
.cal-wrap:first-child{
    margin-right: 5%;
}
.cal-wrap:last-child{
    margin-bottom: -10px;
}
.bx-filter .bx-filter-input-container input{
    font-size: 13px !important;
}

.popup-window{
    margin-top: 9px;
    margin-left: -88px;
}

.bx-left .bx-filter-input-container, .bx-right .bx-filter-input-container{width: 65%;}

.firm-card .title{
	position: relative;
}
.auction-icon {
  	display: inline-block;
  	margin-right: 5px;
    padding: 5px 10px;
    font-weight: normal;
    color: #fff;
    font-size: 14px;
  	vertical-align: top;
}  
.icon-stop{background-color: red;}
.icon-quick{background-color: yellow;color: #000;}
.icon-auc{background-color: #fc2cff;}
.icon-book{background-color: #75f9fb;color: #000;}
.icon-rezerv{background-color: lime;color: #000;}
.auc-line td span{color: red;}
.add-note{max-width: 400px;margin: 20px 0;color: red;text-align: justify;}
td.old-price{text-decoration: line-through;}

.list-name{position: relative;}
.list-icon-wrap{margin-top: 5px;}
.list-icon{
  	display: inline-block;
  	margin-right: 3px;
  	margin-bottom: 3px;
    padding: 2px 5px;
    font-weight: normal;
    color: #fff;
    font-size: 12px;
}
.list-icon.icon-rezerv{
	background-color: lime;color: #000;
}
.list-icon.icon-book{
	background-color: #75f9fb;color: #000;
}
.list-icon.icon-auc{
  	background-color: #fc2cff;
}
.list-icon.icon-quick{
  	background-color: yellow;color: #000;
}
.list-icon.icon-stop{
  	background-color: red;
}

.firm-list span.new-price{display: block;color: red;text-align: center;}
.firm-list span.old-price{display: block;text-decoration: line-through;text-align: center;}

.add-slim{
    height: 150px;
}
.firm-list table tbody tr a.bot-pod{
	background: #444DA0;
	color: #fff;
	text-decoration: none;
	padding: 2px 10px;
	display: block;
	border: 1px solid #444DA0
}
.firm-list table tbody tr a.bot-pod:hover{
	background: #fff;
	color: red;
	border: 1px solid red
}
.price-tab{min-width: 70px}.ques-table{
	position: absolute;
    display: block;
    top: 2px;
    right: 2px;
    background: #fef6c0;
    border-radius: 20px;
    width: 14px;
    height: 14px;
    font-size: 10px;
    cursor: pointer;
    color: red
}
.ques-win{
	display: none;
	background: #fef6c0;
	padding: 5px 8px;
	border-radius: 5px;
	position: absolute;
	font-size: 12px;
    top: 0;
    left: 12px;
    color: #000;
    box-shadow: 1px 1px 3px #000;
}
@media (max-width: 1120px) {
	.cal-wrap{width: 75%;margin-right: 0;}
	.bx-filter .bx-filter-parameters-box-title{height: 47px;}
}
@media (max-width: 1023px) {
    .firm-list{max-width: 100%;overflow-x: scroll;-webkit-overflow-scrolling: auto;padding-bottom: 20px;}
/*     .firm-list table{width: 1024px;} */
}    
@media (max-width: 1000px) {
    .bx-filter.bx-filter-horizontal .bx-filter-parameters-box{display: inline-block;width: 32%;vertical-align: top;}
    .cal-wrap{display: block;width: 100%;margin-right: 0;}
  	.bx-filter-calendar-container img{right: 24px !important;}
    .slimScrollDiv{width: 100% !important;}
    
    .sort-block{font-size: 12px;text-align: left;}
}
@media (max-width: 639px) {
    .bx-filter-parameters-box:nth-of-type(7) .bx-filter-parameters-box-container{min-height: auto;}
    .bx-filter.bx-filter-horizontal .bx-filter-parameters-box{width: 100%;padding: 15px 7px 0 !important;}
    .cal-wrap{display: inline-block;width: 45%;}
    
    .bx-left .bx-filter-input-container, .bx-right .bx-filter-input-container{width: 80%;}
    
    .card-table-wrap, .order-form{width: 100%;float: none;}
  
    .bx-filter .bx-filter-parameters-box-title{height: auto;padding-bottom: 0;}
}
@media (max-width: 400px) {
    .sort-block label{display: block;}
  
  	.firm-card table td{font: 12px Tahoma, Arial;}
}