/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */




  .serach-stockist-address {
    display: inline-block;
    width: 66%;
    margin-bottom: 10px;
  }

  .serach-stockist-distance{
    display: inline-block;
    width: 33%;
    height: 25px;
    vertical-align: bottom;
    margin: 0;
    margin-bottom: 10px;
  }

  .serach-stockist-size,
  .serach-stockist-colour {
    display: inline-block;
    width: 25%;
    height: 25px;
    vertical-align: bottom;
    margin: 0;
    margin-bottom: 10px;
  }

  .search-stockist-button {
    display: inline-block;
    text-align: center;
    height: 25px;
    vertical-align: super;
    margin: 0;
    margin-bottom: 10px;
    border: 1px solid grey;
    padding: 3px 10px;
  }

  .stockist-search-results-notice {
    margin: 0;
    padding: 2rem 0;
  }

  .stockist-search-row h5{
    background-color: #ccc;
    font-size: 2rem;
    padding: 5px;
    margin: 0;
    margin-bottom: 5px;
  }

.displayResults{
  padding-top: 10px;
}

  .stockist-search-row p,
    .displayResults p{
    color: #000000;
    font-size: 14px;
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    line-height: 20px;
    font-weight: normal;
  }

  .stockist-search-row {
    border-radius: 2px;
    border: 1px solid #ccc;
    padding: 5px;
    margin-bottom: 5px;
  }

  .stockist-search-row  span > a{
    padding-left: 5px;
    text-decoration: underline;
    color: grey;
    font-size: 12px;

  }

  .stockist-search-row hr {
    margin: 5px;
  }

  .stockist-search-row i{
    color: grey;
    margin-right: 5px;
  }

  .stockist-search-sizes {
    margin-right: 4px;
  }





  .modal {
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 999999;
    width: 560px;
    margin-left: -280px;
    background-color: #fff;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,0.3);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 7px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 3px 7px rgba(0,0,0,0.3);
    box-shadow: 0 3px 7px rgba(0,0,0,0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    display: none;
}





  .modal-header {
      padding: 9px 15px;
      background: #f3f3f3;
      min-height: 30px;
      -webkit-border-radius: 6px 6px 0 0;
      -moz-border-radius: 6px 6px 0 0;
      border-radius: 6px 6px 0 0;
  }

  .modal-body {
        min-height: 370px;
        max-height: 480px;
    overflow-y: scroll;
    height: -webkit-fill-available;
    position: relative;
max-height: 400px;
padding: 15px;
overflow-y: auto;
margin-bottom: 5px;
  }



  .modal-backdrop {
    position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
}


.product-search-fields {
  display: inline-block;
width: 100%;
padding: 0;
padding: 5px 10px;

}

.product-search-fields.product-search-reset {
  padding-top: 2rem;
  margin-left: 5%;
}

.product-search-fields span{
   background: #454545;
    height: 40px;
    line-height: 40px;
    width: 10%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    display: block;
    float: left;
    border-radius: 2px 0 0 2px;
    -webkit-border-radius: 2px 0 0 2px;
    -moz-border-radius: 2px 0 0 2px;
 }

 .product-search-fields select {
   width: 90%;
    display: inline-block;
    height: 40px;
    box-shadow: 0 0 0;
    border-radius: 0px 2px 2px 0px;
    -webkit-border-radius: 0px 2px 2px 0px;
    -moz-border-radius: 0px 2px 2px 0px;
    background-color: white;
 }

  .product-search-fields input,
  .product-search-fields button {
    width: 90%;
    display: inline-block;
    height: 40px;
    box-shadow: 0 0 0;
    border-radius: 0px 2px 2px 0px;
    -webkit-border-radius: 0px 2px 2px 0px;
    -moz-border-radius: 0px 2px 2px 0px;
    background-color: white;
    border: 1px solid rgb(169, 169, 169);
    padding-left: 5px;
  }

  .stockist-search-distance{
    float: right;
  }

  .stockist-body{
    margin-top: 5px;
  }

  .search-radius-title{
    display: inline-block;
margin: 0;
height: 25px;
padding-top: 4px;
margin-bottom: 10px;
margin-right: 15px;
margin-top: 15px;
padding-left: 15px;
  }

.show-stockist-button {
background-color: rgba(255, 199, 91, 1);
border: 0;
padding: 1rem 2rem;
margin-bottom: 3rem;
text-transform: uppercase;
font-size: 15px;
font-weight: 600;
-o-transition:.2s;
 -ms-transition:.2s;
 -moz-transition:.2s;
 -webkit-transition:.2s;
 transition:.2s;
}

.show-stockist-button:hover,
.show-stockist-button:active,
.show-stockist-button::after,
.show-stockist-button:focus {
  border: 0;
  background-color: rgba(255, 199, 91, 0.5);
  outline: none!important;
}

.btn:focus {
  outline: none;
}

.search-stockist-button-distance-changed{
  background-color: rgba(255, 199, 91, 1);
  padding: 2px 10px;
  margin-top: -5px;
  margin-left: 7px;
  text-transform: uppercase;
}

.stockist-search-results-header{
  margin: 0;
  text-align: center;
  font-size: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}

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

    .displayResults{
      padding-bottom: 2rem;
    }

    .stockist-search-results-header{

      padding-bottom: 0px;
    }


    .modal {
      top: 0%;
      left: 0;
      width: 100vw;
      margin-left: 0;
      height: 100%;
    }

    .modal-body {
      min-height: 100vh;
      max-height: 100vh;
      padding-bottom: 5rem;
    }

    .product-search-fields.product-search-search {
    /*  margin-bottom: 4rem;*/
    }

    .stockist-search-results{
    /*  margin-top: -30px;*/
    }



    .search-stockist-button-distance-changed{
      margin-top: 14px;
      margin-right: 10px;
      float: right;
      margin-left: 0;
    }
  }
