/**************** gmaps find a store module styles *****************/

/**** form ****/

#gmapslivesearch-buy-now-form {
  overflow: hidden;
}

#gmapslivesearch-errors {
  font-size: 20px;
  padding: 15px 0 30px;
}

#gmapslivesearch-errors div {
  font-size: 30px;
  color: #a41622;
}

@media only screen and (max-width: 767px) {
  #gmapslivesearch-errors div {
    font-size: 18px;
  }
}

div.address-field-submit-wrapper {
  float: left;
  width: 363px;
}

div.form-item-gmapslivesearch-field-address-to-search {
  float: left;
}

div.error.inline-error{
  float: right;
}

input#edit-gmapslivesearch-field-address-to-search {
  border: 1px solid #363636;
  color: #3e3e3e;
  height: 55px;
  line-height: 20px;
  font-weight: 800;
  font-size: 22px;
  width: 210px;
  padding-left: 19px;
}

div.gmapslivesearch-box input#edit-submit {  
  float: right;
  margin: 23px 5px;
  height: 41px;
  line-height: 100%;  
  cursor: pointer; 
}

div.form-item-gmapslivesearch-field-stores-content-type {
  float: left;
}

/* product selection list */
ul.select-product {
  float: left;
  width: 275px;
  border: 1px solid #CCC;
  background: #F0F0F0;
}

ul.select-product li {
  margin: 3px 0;
  padding-left: 3px;
}

ul.select-product li a {
  color: #000;
}

/* not results title */
form#gmapslivesearch-buy-now-form h3 {
  clear: left;
}

/**** end of form ****/

/**** map and stores ****/

div#gmapslivesearch-wrapper {
  position: relative;
  clear: left;
  margin: 0 0 100px;
  overflow: hidden;
}

div#gmapslivesearch-loader  {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(255,255,255,0.9);
  font-size: 25px;
  padding: 10px;
}

div#searcher { 
  display:none;
}

div#gmapslivesearch-map {
  width: 690px;
  height: 705px;
  float: left;
  margin-right: 48px;
}

div.GMap_Title {
  font-weight: bold;
}

div.GMap_Title a.centerMap {
  color: #313131;
  font-weight: 800;
  text-decoration: none;
  text-transform: capitalize;
}

.LocationFooter.list-link a.Links.mapDirections {
  color: #313131;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid #a5a5a5;
  display: inline-block;
  line-height: 16px;
}

/**** stores ****/
div#gmapslivesearch-stores {
  width: 340px !important;
  height: 705px;
  margin-left: 0;
  float: right;
  display: none;
}

div#gmapslivesearch-stores ul {
  padding: 0 10px 0 0;
}

.jspContainer {
  position: relative;
  overflow: hidden;
}

.jspPane {  
  position: absolute;
}

div.jspPane li {
  overflow: hidden;
  margin-bottom: 15px;
}

div#gmapslivesearch-stores div.GMap_Info {
  float: right;
  width: 100%;
  color: #313131;
  margin-bottom: 15px;
}

div#gmapslivesearch-stores li:last-child {
  margin-bottom: 0;
}

div#gmapslivesearch-stores li:last-child div.GMap_Info {
  margin-bottom: 0;
}

.GMap_Address_Box {
  margin: 8px 0;
}

.GMap_Address_Box a {
  color: #313131;
  text-decoration: none;
}

div#gmapslivesearch-stores a.share {
  display: inline-block;
  margin-left: 3px;
  width: 16px;
  height: 16px;
  background: url(../images/mail.png) no-repeat;
  color: transparent; 
  font-size: 0;
  line-height: 27px;
}

/* sidebar */
.jspVerticalBar {
  position: absolute;
  top: 0;
  right: 5px;
  width: 11px;
  height: 100%;
}

.jspTrack {
  position: relative;
  background: transparent url(../images/track.png) no-repeat top left;
}

.jspDrag {
  position: relative;
  top: 0;
  left: 1px;
  height: 73px !important;
  background: transparent url(../images/drag.png) no-repeat top left;
  cursor: pointer;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag {
  float: left;
  height: 100%;
}

/**** end of map and stores ****/

/****  buy online block ****/

div.buy-online-box-wrapper {
  overflow-y: hidden;
}

form#gmapslivesearch-find-online-form a.gmapslivesearch-goto-online-store {
  background: #ccc;
  display: inline-block;
  margin: 3px 0 0 14px;
  padding: 0px 10px;
  height: 18px;
  border: 1px solid;
  color: black;
  cursor: pointer;
  text-align: center;
  text-transform: capitalize;
  line-height: 20px;
}

form#gmapslivesearch-find-online-form a.gmapslivesearch-goto-online-store:hover {
  border-color: #018FE2;
  color: #018FE2;
  text-decoration: none;
}

div.form-item-gmapslivesearch-field-stores-search-find-online,
a.gmapslivesearch-goto-online-store {
  float: left;
}

/**** end of buy online block ****/

/**** generic ****/
div#gmapslivesearch-map .list-link,
div#gmapslivesearch-stores .map-link {
  display: none;
}

/* store selection and product selection combo box styles */
form#gmapslivesearch-buy-now-form select.form-select,
form#gmapslivesearch-find-online-form select.gmapslivesearch-field-stores-search {
  padding: 0;
  height: 20px;
  line-height: 15px;
}

/**** end of generic ****/

/**** others ****/
a.gmapslivesearch-printresults{
  display: block;
  clear:both;
}

#buy-now-page #buy-now-page-header h2 {
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 87px;
}
#buy-now-page #buy-now-content label {
  font-size: 22px;
  font-weight: 800;
  color: #3e3e3e;
  text-transform: uppercase;
}
#buy-now-page #buy-now-content label .form-required {
  color: #3e3e3e;
}
#gmapslivesearch-box-wrapper input[type=submit] {
  font-size: 18px;
  line-height: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  min-width: 112px;
  background: #d2202f;
  padding: 8px 20px;
  border: 2px solid transparent;
  -webkit-border-top-left-radius: 8px;
  -moz-border-top-left-radius: 8px;
  border-top-left-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-bottom-right-radius: 8px;
  border-bottom-right-radius: 8px;
  -webkit-transition: all ease-in-out 0.3s;
  -moz-transition: all ease-in-out 0.3s;
  -ms-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}

#gmapslivesearch-box-wrapper input[type=submit]:hover {
  border: 2px solid #d2202f;
  background: #fff;
  color: #d2202f;
}

#gmapslivesearch-box-wrapper .ajax-progress {
  /*display: none;*/
}

@media only screen and (max-width: 767px) {
  #buy-now-page #buy-now-page-header h2 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 27px;
  }
  #buy-now-page #buy-now-content label {
    font-size: 16px;
    font-weight: 900;
  }
  input#edit-gmapslivesearch-field-address-to-search {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    height: 41px;
    font-weight: 800;
    font-size: 18px;
    width: 100%;
  }
  div.form-item-gmapslivesearch-field-address-to-search {
    margin-bottom: 0;
    float: none;
  }
  div.gmapslivesearch-box input#edit-submit {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    float: left;
    margin: 20px 0;
    height: 41px;
    -webkit-border-radius: 8px 0 8px 0;
    -moz-border-radius: 8px 0 8px 0;
    border-radius: 8px 0 8px 0;
  }
  div#gmapslivesearch-wrapper {
    margin: 0 -20px 20px;
  }
  div#gmapslivesearch-map {
    width: 100%;
    float: none;
    margin-right: 0;
    height: 332px;
  }
  div#gmapslivesearch-stores {
    width: 85% !important;
    margin: 36px auto 0;
    float: none;
  }
  div.address-field-submit-wrapper {
    width: auto;
    float: none;
  }
}
