#btn-search {
  float: right;
  margin: 18px 0 0;
  position: static;
  text-align: center;
  width: 40px;
  z-index: 2;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease; }
  @media (max-width: 767px) {
    #btn-search {
      float: none;
      display: inline-block;
      margin: 20px 15px 10px; } }
  @media (max-width: 479px) {
    #btn-search {
      margin: 0;
      padding: 10px 8px 8px;
      width: auto; } }

#search_but_id {
  background: #fff;
  border-bottom: none;
  border: 1px solid #fff;
  color: #fff;
  cursor: pointer;
  display: block;
  position: relative;
  text-align: center;
  z-index: 3;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  /*@media (max-width: $screen-xs-max) { // max 767px
  	display:none;
  }*/ }
  #search_but_id.current.active {
    z-index: 3; }

#search_but_id i {
  color: #b4b4b4;
  font-size: 14px;
  line-height: 20px;
  padding-bottom: 2px;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease; }

#search_but_id:hover i,
#search_but_id.hover-search i {
  color: #00796b; }

#search_but_id:hover i,
#search_but_id.hover-search i,
#search_but_id.active i {
  color: #00796b; }

#tmsearch {
  background: none;
  border: none;
  display: none;
  margin: 0px;
  padding: 0 15px;
  position: absolute;
  right: 0;
  top: 71px;
  width: 100%;
  z-index: 3;
  /*@media (max-width: $screen-xs-max) { // max 767px
  	clear: left;
  	display: block !important;
  	left: 0;
  	opacity:1 !important;
  	position: relative;
  	top: 0;
  }*/ }
  @media (max-width: 767px) {
    #tmsearch {
      top: 130px; } }
  @media (max-width: 479px) {
    #tmsearch {
      top: 110px; } }
  #tmsearch #tmsearchbox {
    background: #fff;
    border: 1px solid #f1f1f0;
    position: relative;
    width: 100%; }
  #tmsearch .btn.button-search {
    background: none;
    border-left: 1px solid #f1f1f0;
    border: none;
    color: #333;
    display: block;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease; }
    #tmsearch .btn.button-search span {
      display: none; }
    #tmsearch .btn.button-search:after {
      content: "\f105";
      display: block;
      font-family: "FontAwesome";
      font-size: 20px;
      line-height: 45px;
      text-align: center;
      width: 100%; }
    #tmsearch .btn.button-search:hover {
      background: #ccc;
      color: #fff; }
  #tmsearch #tm_search_query {
    display: block;
    padding: 12px 0 13px 13px;
    height: 45px;
    border: none;
    background: none;
    border-right: 60px solid rgba(255, 255, 255, 0); }

body .ac_results {
  background: white;
  border: 1px solid #d6d4d4;
  width: 1140px !important;
  margin-top: 0; }
  @media (max-width: 1199px) {
    body .ac_results {
      width: 500px !important; } }
  @media (max-width: 767px) {
    body .ac_results {
      width: 290px !important; } }
  body .ac_results li {
    padding: 5px;
    font-weight: normal;
    color: #686666;
    font-size: 13px;
    line-height: 22px;
    cursor: pointer; }
    body .ac_results li.ac_odd {
      background: white; }
    body .ac_results li:hover, body .ac_results li.ac_over {
      background: #fbfbfb; }
  body .ac_results .pull-left {
    margin-right: 20px; }
  body .ac_results .content {
    overflow: hidden; }
  body .ac_results span.reference, body .ac_results span.manufacturer {
    display: block;
    margin: 0 0 5px;
    font-size: 12px;
    color: #3a3939;
    line-height: 15px;
    font-style: italic; }
  body .ac_results span.product-name {
    font-size: 13px;
    line-height: 19px;
    display: inline-block;
    font-weight: 600; }
  body .ac_results strong {
    color: #f00; }
  body .ac_results .description {
    font-size: 11px;
    line-height: 15px; }
  body .ac_results .price {
    padding-right: 5px; }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    body .ac_results .content {
      clear: both;
      float: left; } }

form#tmsearchbox {
  position: relative; }
  form#tmsearchbox label {
    color: #333333; }
  form#tmsearchbox input#search_query_block {
    margin-right: 10px;
    max-width: 222px;
    margin-bottom: 10px;
    display: inline-block;
    float: left; }
  form#tmsearchbox .btn.btn-sm {
    float: left; }
    form#tmsearchbox .btn.btn-sm i {
      margin-right: 0; }

/*#tmsearch {
  	padding-top: 20px;
	#tmsearchbox {
		float: left;
		width: 100%;
		border: none;
		position: relative;
		background: #fbfbfb;
		@include box-shadow(inset 0 0 0 1px #ccc);
	}
	.btn.button-search {
		background: #333333;
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		border: none;
		color: white;
		width: 50px;
		text-align: center;
		padding: 10px 0 11px 0;
		span {
      		display: none;
		}
		&:before {
			content: "\f002";
			display: block;
			font-family: "FontAwesome";
			font-size: 17px;
			width: 100%;
			text-align: center;
		}
		&:hover {
      		color: #6f6f6f;
		}
	}
	#tm_search_query {
		display: block;
		padding: 12px 0 13px 13px;
		height: 45px;
		border: none;
		background: none;
		border-right:60px solid rgba(#fff, 0);
	}
}

body .ac_results {
	background: white;
	border: 1px solid #d6d4d4;
	width: 271px;
	margin-top: -1px;
		li {
			padding: 5px;
			font-weight: normal;
			color: #686666;
			font-size: 13px;
			line-height: 22px;
			cursor:pointer;
			&.ac_odd {
				background: white;
			}
   			&:hover, &.ac_over {
      			background: #fbfbfb;
			}
		}
	  	.pull-left {
			margin-right:20px;
		}
		.content {
			overflow:hidden;	
		}
	  	span.reference, span.manufacturer {
			display:block;
			margin:0 0 5px;
			font-size:12px;
			color:#3a3939;
			line-height:15px;
			font-style:italic;	
		}
		span.product-name {
			font-size:13px;
			line-height:19px;
			display:inline-block;
			font-weight:600;
		}
		strong {
			color:#f00;
		}
		.description {
			font-size:11px;
			line-height:15px;	
		}
		.price {
			padding-right:5px;
		}
		@media only screen and (min-width:768px) and (max-width:991px) {
			.content {
				float:left;
				clear:both;	
			}
		}
}

form#tmsearchbox {
	position: relative;
	label {
		color: #333333; 
	}
	input#search_query_block {
		margin-right: 10px;
		max-width: 222px;
		margin-bottom: 10px;
		display: inline-block;
		float: left; 
	}
	.btn.btn-sm {
    	float: left;
		i {
      		margin-right: 0; 
		}
	}
}*/
/*#btn-search{	
	float: right;
	height: 42px;  
	margin: 11px 0 0 0;
	position: static;
	z-index: 20;
    width: 40px;
    @include transition(all 0.3s ease);	
	@media (max-width: $screen-xs-max) { // max 767px
		clear: right;		
		height: auto;  
	    width: auto;
	}	
}

#search_but_id{
	background:#fff;
	border-bottom: none;
	border: 1px solid #fff;
	color: #fff;
	cursor: pointer;
	display: block;
	position:relative;
	text-align: center;
	z-index:10;
    @include transition(all 0.3s ease);	
	&.current.active{
		border: 1px solid #f1f1f0;
		border-bottom:none;
		z-index: 100
	}	
	@media (max-width: $screen-xs-max) { // max 767px
		display:none			
	}	
}

#search_but_id i {
	color:#b4b4b4;
	font-size:14px;
	line-height:40px;
	padding-bottom:2px;
	@include transition(all 0.3s ease);
}
	
#search_but_id:hover,
#search_but_id.hover-search {		
	i{color:#00796b}		
}
		
#search_but_id:hover i,
#search_but_id.hover-search i,
#search_but_id.active i
	{color: #00796b;}

#tmsearch {
  	position: absolute;	
	right: 0;
	margin: 0px;
	top: 71px;
    z-index: 10;
	display:none;
	padding:0 15px;
	width:100%;
	background:none;
	z-index:60;
	border:none;
	@media (max-width: $screen-xs-max) { // max 767px
		display:block !important;	
		position:relative;
		top:0;
		left:0;
		clear: left;	
	    opacity:1 !important;		
	}
	#tmsearchbox {
		width: 100%;
		border: 1px solid #f1f1f0;
		position:relative;
		background:#fff;
		padding-right:50px;
	}
	.btn.button-search {
		background: none;
		display: block;
		position: absolute;
		border: none;
		border-left:$main_border;
		top: 0;
		right: 0;
		color:#333;
		width: 50px;
		text-align: center;
		padding: 0;
		@include transition(all 0.3s ease);
		span {
      		display: none;
		}
		&:after {
			content: "\f002";
			display: block;
			font-family: $font-icon;
			font-size: 20px;
			line-height:43px;
			width: 100%;
			text-align: center;
		}
		&:hover {
			color: #fff;
			background:#ccc;
		}
	}
	#tm_search_query {
		display: inline-block;
		padding: 12px 10px 13px 13px;
		height: 43px;
		border:none;
		background:none;
	}
}

body .ac_results {
	background: white;
	border: 1px solid #d6d4d4;
	width: 271px;
	margin-top: -1px;
		li {
			padding: 5px;
			font-weight: normal;
			color: #686666;
			font-size: 13px;
			line-height: 22px;
			cursor:pointer;
			&.ac_odd {
				background: white;
			}
   			&:hover, &.ac_over {
      			background: #fbfbfb;
			}
		}
	  	.pull-left {
			margin-right:20px;
		}
		.content {
			overflow:hidden;	
		}
	  	span.reference, span.manufacturer {
			display:block;
			margin:0 0 5px;
			font-size:12px;
			color:#3a3939;
			line-height:15px;
			font-style:italic;	
		}
		span.product-name {
			font-size:13px;
			line-height:19px;
			display:inline-block;
			font-weight:600;
		}
		strong {
			color:#f00;
		}
		.description {
			font-size:11px;
			line-height:15px;	
		}
		.price {
			padding-right:5px;
		}
		@media only screen and (min-width:768px) and (max-width:991px) {
			.content {
				float:left;
				clear:both;	
			}
		}
}

form#tmsearchbox {
	position: relative;
	label {
		color: #333333; 
	}
	input#search_query_block {
		margin-right: 10px;
		max-width: 222px;
		margin-bottom: 10px;
		display: inline-block;
		float: left; 
	}
	.btn.btn-sm {
    	float: left;
		i {
      		margin-right: 0; 
		}
	}
}*/
