#main-content.search-content{ z-index: 1; } 
.emptyresults{ text-align: center; color: #202020; }
.list-items{ position: relative; z-index: 0; }
.search-box{ margin-bottom: 30px; padding: 15px 20px; background: rgba(255,255,255,.9); }
.search-box, .search-box *{ 
    -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.search-box:after, .sell-box .b-items:after{ content: ''; display: block; width: 100%; height: 1px;  overflow: hidden; }
.search-box .title{
    display: block; float: left; width: 300px; margin-right: 20px;
    padding-left: 64px; line-height: 64px; font-size: 1.1em;
    color: #202020; font-family: 'Cuprum', sans-serif; font-weight: 800;
    background: url(/themes/default/images/ibsb.png) left center no-repeat;
}
.search-box .select-box{ display: block; float: left; width: 350px; position: relative; z-index: 0;  margin-right: 20px; }
.search-box .select-box ul{
    display: block; width: 100%; list-style-type: none; padding: 0; margin: 0;
    background: #fff; z-index: 1000; /*max-height: 200px; overflow-y: auto;*/
    position: absolute; top: 63px; left: 0;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(35,31,32,0.1);
    -moz-box-shadow: 2px 2px 5px 0px rgba(35,31,32,0.1);
    box-shadow: 2px 2px 5px 0px rgba(35,31,32,0.1);
}
.search-box .select-box ul:before, .search-box .select-box ul:after{ 
    content: ''; display: block; width: 100%; height: 0; 
    -webkit-transition: height 100ms ease-in-out;
	-moz-transition: height 100ms ease-in-out;
	-ms-transition: height 100ms ease-in-out;
	-o-transition: height 100ms ease-in-out;
	transition: height 100ms ease-in-out;
}
.search-box .select-box ul li{ 
    display: block; padding: 0 10px; margin: 0; cursor: pointer;
    font-size: .95em; color: #202020; line-height: 28px; height: 0; overflow: hidden; white-space: nowrap;
    -webkit-transition: background,height 100ms ease-in-out;
	-moz-transition: background,height 100ms ease-in-out;
	-ms-transition: background,height 100ms ease-in-out;
	-o-transition: background,height 100ms ease-in-out;
	transition: background,height 100ms ease-in-out;
}
.search-box .select-box.open{ z-index: 10; }
.search-box .select-box.open ul li{ height: 28px; }
.search-box .select-box.open ul:before, .search-box .select-box.open ul:after{ height: 10px; }
.search-box .select-box ul li:hover{ background: #e1e1e1; }
.search-box .select-box ul li.selected{ background: #202020; color: #fff; }
.search-box .select-box .txt{ display: block; font-family: 'Cuprum', sans-serif; color: #a5a5a5; line-height: 32px; }
.search-box .select-box .input{ 
    cursor: pointer; display: block; height: 32px; line-height: 32px; color: #202020; width: 100%; background: #f6f6f6;
    overflow: hidden; border-bottom: 1px solid #e1e1e1; white-space: nowrap; position: relative; z-index: 0; 
}
.search-box .select-box .input:before{
    content: ''; display: block; width: 32px; height: 32px; background: #f6f6f6;
    position: absolute; top: 0; right: 0; z-index: 0;
}
.search-box .select-box .input:after{
    content: ''; display: block; width: 16px; height: 16px;
    border-left: 1px solid #202020; border-top: 1px solid #202020;
    position: absolute;     
    top: 3px; right: 7px; z-index: 1;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -webkit-transition: all 100ms ease-in-out;
	-moz-transition: all 100ms ease-in-out;
	-ms-transition: all 100ms ease-in-out;
	-o-transition: all 100ms ease-in-out;
	transition: all 100ms ease-in-out;
}
.search-box .select-box.open .input:after{ 
    top: 13px; right: 7px; z-index: 1;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg); 
}
.search-box .btn-search{ 
	display: block; float: right; text-align: center; padding: 0 30px; margin-top: 16px;
	font-size: .95em; line-height: 32px; text-transform: uppercase; color: #1f1f1f;
	border: 1px solid #1f1f1f;
}
.search-box .btn-search:hover{ color: #fff; background: #1f1f1f; text-decoration: none; }
.search-box .results{ display: block; float: left; width: 150px; position: relative; margin-right: 20px; }
.search-box .results .txt{ display: block; font-family: 'Cuprum', sans-serif; color: #a5a5a5; line-height: 32px; text-align: center; }
.search-box .results .input{ display: block; font-size: 32px; line-height: 32px; color: #202020; font-weight: 600; text-align: center;  }

.search-box.dark-theme{ background: #202020; }
.search-box.dark-theme .title{ color: #fff; background-image: url(/themes/default/images/ibsw.png); }
.search-box.dark-theme .results .input{ color: #fff; }
.search-box.dark-theme .btn-search{ border-color: #fff; color: #fff; }
.search-box.dark-theme .btn-search:hover{ border-color: #fff; background: #fff; color: #202020; }
.search-box.dark-theme .select-box .input, .search-box.dark-theme .select-box .input:before{ background: #202020; color: #fff; }
.search-box.dark-theme .select-box .input:after{ border-color: #fff; }

.sell-box .b-items{ margin-bottom: 20px; }
.sell-box .b-title{ font-family: 'Open Sans', sans-serif; font-size: 36px; padding: 20px 0; line-height: 50px; font-weight: 800; color: #202020; text-align: center; }
.sell-box .b-title img{ width: auto; height: 50px; }
.sell-box .b-items, .sell-box .b-title{ display: block; width: 100%; clear: both; }
.sell-box .b-items article{ width: 24.5%; }
.sell-box .b-items .article:nth-of-type(3n+1){ clear: none; }
.sell-box .b-items .article:nth-of-type(3n){ margin-right: 0.5%; } 
.sell-box .b-items .article:nth-of-type(4n+1){ clear: both; }
.sell-box .b-items .article:nth-of-type(4n){ margin-right: 0; }
.sell-box .b-items .article .img{ padding-top: 100%; }
.sell-box .b-items .article{ text-align: left; color: #202020; }
.sell-box .b-items .article p{ color: #202020; font-weight: 600; }
.sell-box .b-items .article p.price{ font-size: 20px; color: #ef4036; }
.sell-box .b-items .article p span{ font-size: 15px; color: #525252; font-weight: 400; }

.search-button{ 
    position: absolute; bottom: 0; left: 50%; margin: 0 0 0 -100px; z-index: 998; padding: 0; 
    width: 220px; overflow: hidden; height: 64px; }
.search-button .title{ white-space: nowrap; background-size: auto 90%; }
.search-button .close{ display: block; width: 100%; height: 100%; position: absolute; top: 0; right: 0; z-index: 100; cursor: pointer; }
.search-button.opened{ width: 100%; height: 94px;  left: 0; margin-left: 0; padding: 15px 20px; padding-right: 60px; overflow: visible; }
.search-button.opened .close{ width: 50px; }
.search-button.opened .close:after, .search-button.opened .close:before{ content: ''; display: block; width: 30px; height: 0; position: absolute; top: 46px;  left: 0; border-top: 1px solid #202020; }
.search-button.dark-theme .close:after, .search-button.opened.dark-theme .close:before{ border-color: #fff; }
.search-button .close:after{ transform: rotate(45deg); -webkit-transform: rotate(45deg); } 
.search-button .close:before{ transform: rotate(135deg); -webkit-transform: rotate(135deg); } 
.search-button .select-box ul{ top: auto; bottom: 0; }

.sell-box .article .desc{ margin: 15px 0; padding: 0 30px; height: 150px; overflow: hidden; }
.sell-box .b-items .article .desc p{ padding: 0; margin: 0; }


@media screen and (max-width:1500px),screen and (max-device-width:1500px){
	.search-box .title{ width: 220px; }
	 .search-box .select-box{ width: 280px; }
}

@media screen and (max-width:1280px),screen and (max-device-width:1280px){
	.search-box{ padding-left: 10px; padding-right: 10px; }
	.search-box .select-box, .search-box .results, .search-box .title{ margin-right: 10px; }
	.search-box .title{ width: 0; overflow: hidden; height: 64px; }	
	.search-box.search-button .title{ width: 220px; }
	.search-box.search-button.opened .title{ width: 0; }
	.sell-box .b-items article{ width: 33%; }
	.sell-box .b-items .article:nth-of-type(4n+1){ clear: none; }
	.sell-box .b-items .article:nth-of-type(4n){ margin-right: 0.5%; }
	.sell-box .b-items .article:nth-of-type(3n+1){ clear: both; }
	.sell-box .b-items .article:nth-of-type(3n){ margin-right: 0; }
	
	.sell-box .article .desc{ line-height: 25px; } 
}

@media screen and (max-width:1100px),screen and (max-device-width:1100px){	
	.search-button.opened{ height: 160px; } 
	.search-button{ text-align: right; }
	.search-button *{ text-align: left; }
	.search-button .results{ clear: both; float: none; display: inline-block; }
	.search-button .btn-search{ clear: none; }	
	.search-button .title{ margin-right: 0; }
	.search-button .select-box{ width: calc((100% - 94px) / 3); margin-right: 0; margin-left: 10px; margin-bottom: 20px; }
}
@media screen and (max-width:1024px),screen and (max-device-width:1024px){
	.search-box .results{  }
	.search-box .btn-search{ clear: both; }		
	.search-box .select-box{ width: 250px; }	
	.search-box{ text-align: right; }
	.search-box *{ text-align: left; }
	.search-box .results{ float: right; margin-right: 0; }
	.search-box .btn-search{ clear: both; float: right; width: 150px; }	
	.search-box .title{ margin-right: 0; }
	.search-box .select-box{ width: 33%; margin-right: 0; margin-left: 10px; margin-bottom: 10px; }
	.sell-box .article .desc,
	.sell-box .b-items .article h3.title, .sell-box .b-items .article p.price{ padding-left: 20px; padding-right: 20px; } 
}
@media screen and (max-width:900px),screen and (max-device-width:900px){
	
	.sell-box .b-items article{ width: 49.5%; }
	.sell-box .b-items .article:nth-of-type(3n+1){ clear: none; }
	.sell-box .b-items .article:nth-of-type(3n){ margin-right: 0.5%; }
	.sell-box .b-items .article:nth-of-type(2n+1){ clear: both; }
	.sell-box .b-items .article:nth-of-type(2n){ margin-right: 0; }
}
@media screen and (max-width:768px),screen and (max-device-width:768px){	
	.sell-box .article .desc{ padding-left: 10px; padding-right: 10px; } 
	.sell-box .b-items .article .desc, .sell-box .b-items .article h3.title, .sell-box .b-items .article p.price{ padding-left: 20px; padding-right: 20px; }
	.search-box .select-box{ width: calc((100% - 100px) / 2); }
	.search-box .results{ clear: both; float: none; margin-right: 10px; display: inline-block; vertical-align: middle; }
	.search-box .btn-search{ float: none; display: inline-block; }	
}

@media screen and (max-width:640px),screen and (max-device-width:640px){
	.search-box .select-box{ width: 48%; margin-right: 0; }
	.search-box .select-box:nth-child(3){ float: right; }
	.search-box .select-box:first-of-type{ margin-left: 0; }
	.search-box .title{ position: absolute; bottom: 10px; left: 0; }
	.search-box.search-button .title{ position: static; }
	.search-box.search-button.opened .title{  position: absolute; bottom: 20px; left: 0; width: 220px; }
	.search-button .select-box{ margin-bottom: 10px; }
	.search-box .select-box .txt{ line-height: 20px; }
	.sell-box .b-items article{ width: 100%; margin-right: 0; }
	.sell-box .b-title img{ height: auto; width: 300px; }
	.sell-box .article .desc{ height: auto; } 
	.search-box .select-box ul{ top: 51px; }
}
@media screen and (max-width:500px),screen and (max-device-width:500px){
	.search-box .title{ position: static; bottom: auto; left: 0; width: 100%; margin-bottom: 10px;}
	.search-box .select-box{ width: 100%; margin-left: 0; }
	.search-box.search-button.opened .title{ display: none; }
	.search-button.opened{ height: 275px; padding-left: 10px; padding-right: 40px; } 
	.search-button.opened .close:after, .search-button.opened .close:before{ left: 15px; width: 25px; }
	.sell-box .b-items .article .desc, .sell-box .b-items .article h3.title, .sell-box .b-items .article p.price{ padding-left: 10px; padding-right: 10px; }
	.search-box .results, .search-box .btn-search{  width: auto; }	
}