


.md-search-overlay {
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.28) 23%, rgba(0,0,0,0.28) 27%, rgba(0,0,0,0.31) 53%, rgba(0,0,0,0.34) 73%, rgba(0,0,0,0.68) 100%);
  z-index: 99;
}
.md-search-overlay-overlay {
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.28) 23%, rgba(0,0,0,0.28) 27%, rgba(0,0,0,0.31) 53%, rgba(0,0,0,0.34) 73%, rgba(0,0,0,0.68) 100%);
  z-index: 99;
}

  .md-search-inner {
    display: flex;
    box-shadow: 0px 6px 20px 0px rgba(0,0,0,0.1);
    background-color: #f8f8f8;
    z-index: 100;
    position: relative;
    padding: 10px;
  }

  .md-search-category {
width: 35%;
  }


.md-search-products {
  width: 65%;
  }


	.searchfield{
	  width: 640px;
	  margin: 0 auto;
		margin-top: 50px;
    position: relative;


	}

 
	input#md_search {
    z-index: 200;
    position: relative;
    background: #ffffff;
    background-clip: padding-box;
    border: 0px solid #eeeeee;
    border-radius: 1px;
    font-family: 'Pill Gothic 600mg Rg', 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    height: 32px;
    line-height: 1.42857143;
    padding: 0 9px;
    vertical-align: baseline;
    width: 100%;
    box-sizing: border-box;
	  height: 54px;
    left: 0 !important;
  }

  .md-searchicon {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    z-index: 201;
  }
  .md-closeicon {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    z-index: 201;
    cursor: pointer;
  }
  .md-spinnericon {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    z-index: 201;
    cursor: pointer;
  }

  input:focus{
	outline: none;
  }

  #md_search_results{
    position: absolute;
    z-index: 999;
    left: auto;
    right: 60px;
    width: auto;
    top: 70px;
    min-width: 750px;
    max-width: 750px;
  }
  #md_search_results header{
	  padding-top: 15px;
	  padding-bottom: 8px;
	  padding-left: 6px;
	  transition: all 0.4s;
  }
  #md_search_results header span{
    letter-spacing: 1px;
    text-transform: uppercase;
	  color: #000;
	  font-size: 16px;
	  font-family: 'Pill Gothic 400mg Rg', 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }	
  #md_search_results ul{
    margin: 0;
	padding: 0;
	border-bottom: 0;
padding-bottom: 15px;
  }


  #md_search_results ul li{
    margin: 0;
	  padding: 0;
	  list-style: none;
	  padding-top: 5px;
	  padding-bottom: 5px;
	  padding-left: 10px;
	  padding-right: 10px;
	  opacity: 0.95;
	  transition: all 0.4s;
  }	

  #md_search_results .md-search-category ul li {
padding-top: 20px;
padding-bottom: 10px;
  }

  #md_search_results .md-search-category ul li {
padding-top: 20px;
padding-bottom: 10px;
  }
  #md_search_results ul li >div{
    display: table;
  }
  #md_search_results ul li >div a{
	width: 100%;
	height: auto;
	display: table-row;
	text-decoration: none;
  }	
  #md_search_results .md-search-category ul li >div  {
display: block;
}

  #md_search_results .md-search-category ul li >div a {
    flex-direction: row;
    justify-content: space-between;
    display: flex;
}
  #md_search_results ul li >div a >div{
    display: table-cell;  
	vertical-align: middle;
  }
  #md_search_results ul li >div a >div.image{
    width: 90px;
    height: 90px;
    background: #fff;
    transition: all 0.2s;
  }
  #md_search_results ul li >div a >div.image img{
    width: 100%;
    height: auto;
    object-fit: contain;
	  transition: all 0.4s;
    min-width: 90px;
  }
  #md_search_results .md-search-products ul li >div a >div.text{
  	padding-left: 10px;
	  padding-right: 10px;
  }

  .cat-resultcount {
    font-size: 15px;
	  font-family: 'Pill Gothic 600mg Rg', 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #999999;
    font-weight: 300;
    padding-left: 10px;
  }



  .md-search-category ul li div.text{
    font-size: 15px;
    color: #555;    
	  font-family: 'Pill Gothic 400mg Rg', 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	  transition: all 0.4s;
    text-transform: uppercase;
    transition: all 0.2s;
  }


  #md_search_results ul li div.text {
  }
  #md_search_results ul li div.text div{
    font-size: 15px;
    color: #333;    
	  font-family: 'Pill Gothic 400mg Rg', 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	  transition: all 0.4s;
    margin-top: 5px;
    margin-bottom: 5px;
    text-transform: uppercase;
    transition: all 0.2s;
  }

  #md_search_results ul li div.text p{
    font-size: 13px;
    color: #999999;    
	  font-family: 'Pill Gothic 600mg Rg', 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	  transition: all 0.4s;
    font-weight: 300;
    margin-top: 5px;
    margin-bottom: 5px;
    text-transform: uppercase;
    transition: all 0.2s;
  }
  #md_search_results ul li div.text b{
    text-transform: uppercase;
    color: #e30018;
    font-weight: normal;
    transition: all 0.2s;
  }
  #md_search_results ul li div.price{
    color: #333;
    font-family: 'Pill Gothic 600mg Rg', 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
	  font-size: 12px;
	  transition: all 0.4s;
    text-align: left;
    transition: all 0.2s;
  }
  #md_search_results ul li div.price b {
    margin-right: 5px;
    transition: all 0.2s;
    font-size: 11px;    
  }




  #md_search_results footer{
	  background: #e30018;
	  padding-top: 8px;
	  padding-bottom: 8px;
	  padding-left: 6px;
	  text-align: center;
	  transition: all 0.4s;
    z-index: 100;
    position: relative;
    transition: all 0.2s;
    cursor: pointer;
  }
  #md_search_results footer a{
	  color: #fefefe;
	  text-decoration: none;
	  font-size: 14px;
	  font-family: 'Pill Gothic 600mg Rg', 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: all 0.2s;
    display: block;
    width: 100%;
    height: 100%;
  }	
  #md_search_results footer a strong{
	  color: #fff;
    transition: all 0.2s;
  }	
  #md_search_results footer:hover{
	  background: #c01221;
  }
  #md_search_results footer:hover a{
	  color: #fff;
  }
  #md_search_results footer:hover a strong{
	  color: #fff;
  }

	




  .md-search-category ul li div a:hover .text{
    color: #000;
  }
  #md_search_results ul li:hover{
	  opacity: 1;
  }	
  #md_search_results ul li:hover .image{
	  transform: scale(1.1);
  }	
  #md_search_results ul li:hover .text div{
	  color: #000;
  }
  #md_search_results ul li:hover .text p{
	  color: #000;
  }
  #md_search_results ul li:hover .price span{
	  color: #000;
  }
	
	





@media screen and (max-width: 899px) {      


  .md-search-overlay-desktop{
    display: none !important;
  }

  .minisearch .field.search .controll{
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
  }

  #md_search_results{
    min-width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    width: 100%;
    top: 134px;
  }

  .searchfield{
    width: 100% !important;
  }

  .md-search-inner {
    display: flex;
    flex-direction: column-reverse;
  }

  #md_search_results ul li >div {
    width: 100%;
  }

  .md-search-category {
    width: 100%;
  }

  .cat-resultcount {
    margin-left: 6px;
  }

  .md-search-category ul {
    display: flex; 
    flex-direction: row;
    flex-wrap: wrap;
  }

  .md-search-products {
    width: 100%;
  }

}

