#hsrchbox {
  width: 100%;
}

input[type="submit"].azsrchbar:hover { 
  background-color: #FCCC4A;
}

input[type="submit"].azsrchbar {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #DDDDDD;
  border-radius: 10px;
  background-color: #F6BC21;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #FFFFFF;
  height: 35px;
}

input.azsrchbar,
select.azsrchbar {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #DDDDDD;
  border-radius: 10px;
  background-color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  height: 35px;
  padding: 0px 5px 0px;
}

select.azsrchbar {
  overflow: hidden;
  white-space: nowrap;
  padding-right: 17px;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, white 50%, black 50%), linear-gradient(135deg, black 50%, white 50%),
  linear-gradient(to right, #FFF, #FFF);
  background-position: calc(100% - 13px) calc(0.5em + 13px), calc(100% - 8px) calc(0.5em + 13px), calc(100% - 2.5em) 0.5em;
  background-size: 8px 7px, 5px 8px, 1px 1.5em;
  background-repeat: no-repeat;
}

select.azsrchbar::-ms-expand {
  display: none;
}

.right {
  float: right;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

/* Removable Properties start */

.azsrchbar {
  border: 1px solid #C0C0C0 !important;  
}

/* Removable Properties end */

.az-miles-container {
  float: left;
  box-sizing: border-box;
  padding: 0 7.5px !important;
}


.az-miles-selectbox {
  border-radius: 8px !important;      
  padding: 0 15px !important;
  width: 100% !important;
  font-size: 16px !important;
  font-weight: normal !important;     
  height: 50px !important;
}

.az-zip-container {
  float: left;
  box-sizing: border-box;
  position: relative;
  padding: 0 7.5px !important;
}

.az-zip-textbox {
  border-radius: 8px !important;
  height: 50px !important;
  padding-left: 10px !important;
  border: 1px solid #C0C0C0;
  font-size: 16px !important;
  width: 100% !important;
  color: #707070 !important;
}

.az-category-textbox {
  width: 100% !important;
  margin: 0 !important;
  height: 50px !important;
  border-radius: 8px !important;
  padding-left: 10px !important;
  font-size: 16px !important;
  font-weight: normal !important;
  padding: 0 15px !important;
}

.az-category-container {
  float: left;
  box-sizing: border-box;
  padding: 0 7.5px !important;
}


.az-keywords-container {
  float: left;
  box-sizing: border-box;
  padding: 0 7.5px 0 0 !important;
}


.az-keyword-textbox {
  border-radius: 8px !important;
  height: 50px !important;
  padding-left: 10px !important;
  border: 1px solid #C0C0C0;
  font-size: 16px !important;
  color: #707070 !important;
  width: 100% !important;
  margin: 0 !important;
}

.az-search-auction-button {
  box-sizing: border-box !important;
  border-radius: 8px !important;
  background-color: #D8262D !important;
  height: 50px !important;
  border: none !important;
  width: 113px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  cursor: pointer;
  padding-left: 30px !important;
} 

.az-nav-img {
  position: absolute;
  right: 18.5px;
  top: 16px;
}

.dropdown {
  display: inline-block;
}

#body #bodyInner {
  /* position: relative; */
  /* overflow: hidden; */
}

.hsrchbox-container {
  width: 100%;
  margin: 0 auto !important;
 /* max-width: 1000px;*/
  display: flex;
  align-self: center;
}

.searchbarSubmit {
  border-radius: 8px;
  background-color: #d8262d;
  padding: 15px !important;
  color: #fff !important;
  height: 50px;
  line-height: initial;
  box-shadow: 0 2px 4px 0 rgba(51,51,51,0.5);
  border: 2px solid #3377BB !important;
  font-weight: 700 !important;
  width: 100%;
}

.header-menu-item {
  color: #333333 !important;
  display: block;
  padding: 7px !important;
}

#mlogIn > .dropdown .dropdown-menu {
  left: -50px !important;
}

.dropdown-menu > p {
  padding-left: 7px !important;
}

.no-underline {
	text-decoration: none!important;
}

.dropdown-divider {
  border-top: 1px solid #dbdbdb!important;
}

#hlogIn  {
  display: none;
}

.dropdown-menu {
	min-width: 7rem!important;
}

.dropdown-menu.show {
	box-shadow: 5px 8px 15px -2px #333333;
	border-radius: 0!important;
}

.dropdown-menu a {
	transition: 0.2s;
}

.dropdown-menu a:hover {
	background-color: #dbdbdb!important;
}

.dropdown-menu a:active {
	// background-color: #707070!important;
	background-color: #3377BB!important;
}

.dropdown-menu a:active div {
	color: white!important;
}

.dropdown-header {
	display: flex;
  align-items: center;
}

.dropdown-header > *{
	font-size: 14px!important;
  font-weight: 600!important;
  color: #3377BB!important;
}

.az-header-block > .mobile-menu-container > .dropdown-menu.show {
  left: 6px !important;

}

/* START Sliding mobile header */

#hsrchbarbox {
  padding: 20px 0 !important;
  background-color: #3377BB;
  box-sizing: border-box;
  margin-top: 0 !important;
}

#sidenav {
  display: none;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

#sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

#sidenav a:hover {
  color: #f1f1f1;
}

#sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}


@media only screen and (max-width: 575px) {
  .az-zip-container {
    margin-top: 8px;
  }

  #hsrchbarbox {
    /* height: 320px; */
    /* Height of the search bar 320 - 100 from the #top header */
    top: -331px !important;
  }
}

@media only screen and (max-width: 991px) {
  .az-category-textbox {
    margin: 0 !important;
    width: 100% !important;
  }

  .az-miles-container {
    margin-top: 10px;
    padding: 0 7.5px !important;
  }

  .az-category-container {
    margin-top: 10px;
  }
  
  .az-keywords-container {
    padding: 0 7.5px !important;
  }

  .az-keyword-textbox {
    margin: 0 !important;
    width: 100% !important;
  }

  .hsrchbox-container {
    padding: 0 10px;
  }

  .searchbarSubmit {
    margin-left: 0px !important;
  }

  .searchbarSubmit-container {
  	 padding: 9px 6.5px !important;
  }

  .az-miles-selectbox {
    width: 100% !important;
  }

  .stickySearchBar {
    position: sticky !important;
    top: 100px !important;
  }

  .hsrchbox-container {
    width: 100%;
    margin: 0 auto !important;
    max-width: 1000px;
    display: flex;
    align-self: center;
  }

  #hsrchbarbox {
    margin: 0;
    position: absolute;
    top: -214px;
    width: 100%;
    z-index: 80;
    padding: 20px 0px !important;
  }

  #sidenav {
    display: block;
  }

  #sidenav.sideNavOpen {
    width: 250px;
  }
}

@media screen and (max-height: 450px) {
  #sidenav {padding-top: 15px;}
  #sidenav a {font-size: 18px;}

  .az-header-logo-container {
    min-height: 85px;
  }

  #hsrchbarbox {
    top: -228px !important;
  }
}
/* END Sliding mobile header */