.loading-spinner {
    width: 48px;
    height: 48px;
    margin-left: calc(50% - 24px);
    border: 5px solid black;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.sarno-store-locator {    
    height: 700px;
}

#search-container {
    width: 260px;
    position: absolute;
    top: 10px;
    margin-left: 10px;
    z-index: 5;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#location-search {
    width: 250px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.sarno-store-locator-map {
    height: 100%;
}

.sarno-store-locator-sidebar {
    padding: 0px !important;
    height: 100%;
    overflow: scroll;
}

#sarno-store-locator-sidebar .store-item {
    display: block;
    position: relative;
    float: left;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #efefef;
  }
  @media screen and (min-width: 320px) {
    #sarno-store-locator-sidebar .store-item {
      padding: 30px 45px 50px 45px;
    }
  }
  @media screen and (min-width: 920px) {
    #sarno-store-locator-sidebar .store-item {
      float: none;
      padding: 30px 30px 50px 30px;
    }
  }
  #sarno-store-locator-sidebar .store-item:nth-child(2n) {
    background-color: #ffffff;
  }
  #sarno-store-locator-sidebar .store-item h1 {
    font-size: 14px;
    margin: -15px -15px 10px -15px;
    padding: 10px 15px 0 15px;
    font-weight: bold;
  }
  #sarno-store-locator-sidebar .store-item p {
    margin: 0;
    font-size: 14px;
    line-height: 18px;
  }
  #sarno-store-locator-sidebar .store-item .sc-item {
    display: block;
  }
  #sarno-store-locator-sidebar .store-item .sc-item .d-name {
    display: inline-block;
    font-weight: bold;
    margin-right: 5px;
    min-width: 30px;
  }
  #sarno-store-locator-sidebar .store-item p.address {
    margin-bottom: 10px;
  }
  #sarno-store-locator-sidebar .store-item p.phone {
    font-weight: bold;
    color: #0590d8;
    letter-spacing: 1px;
    text-decoration: none;
    margin: 10px 0;
  }
  #sarno-store-locator-sidebar .store-item p.phone span {
    color: #0590d8;
    text-decoration: none;
  }
  #sarno-store-locator-sidebar .store-item p.phone a {
    color: #0590d8;
    text-decoration: none;
  }
  #sarno-store-locator-sidebar .store-item p.phone:before {
    content: "";
    font-family: "FontAwesome";
    margin-right: 5px;
  }
  #sarno-store-locator-sidebar .store-item p.hours-notice {
      color: #d21010;
      margin: 10px 0;
  }
  #sarno-store-locator-sidebar .store-item p.email {
    font-weight: bold;
    color: #0590d8;
    letter-spacing: 1px;
    text-decoration: none;
    margin: 10px 0;
  }
  #sarno-store-locator-sidebar .store-item p.email span {
    color: #0590d8;
    text-decoration: none;
  }
  #sarno-store-locator-sidebar .store-item p.email a {
    color: #0590d8;
    text-decoration: none;
  }
  #sarno-store-locator-sidebar .store-item p.email:before {
    content: "";
    font-family: "FontAwesome";
    margin-right: 5px;
  }
  #sarno-store-locator-sidebar .store-item .link-buttons {
    font-size: 13px;
    line-height: 30px;
    height: auto;
    padding: 0 15px;
    background-color: #5f5f5f;
    margin-bottom: 10px;
    display: inline-block;
    color: #fff;
  }
  #sarno-store-locator-sidebar .store-item .link-buttons span {
    display: inline-block;
    margin-right: 5px;
  }
  #sarno-store-locator-sidebar .store-item .link-buttons:hover {
    background-color: #333333;
  }
  #sarno-store-locator-sidebar .store-item .res-footer {
    border: 1px solid #dcdcdc;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #sarno-store-locator-sidebar .store-item .res-footer a {
    float: left;
    width: 50%;
    position: relative;
    line-height: 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    -webkit-transition: background-color ease 0.3s, color ease 0.3s;
    -moz-transition: background-color ease 0.3s, color ease 0.3s;
    transition: background-color ease 0.3s, color ease 0.3s;
  }
  #sarno-store-locator-sidebar .store-item .res-footer a:hover {
    background-color: #333333;
    color: #efefef;
  }
  #sarno-store-locator-sidebar .store-item .res-footer a:nth-child(2) {
    border-left: 1px solid #dcdcdc;
  }
  #sarno-store-locator-sidebar .store-item .res-footer a:only-child {
    width: 100%;
  }
  #sarno-store-locator-sidebar .store-item.selected {
    background-color: #454545;
  }
  #sarno-store-locator-sidebar .store-item.selected p {
    color: #efefef;
  }
  #sarno-store-locator-sidebar .store-item.selected p.phone {
    color: #ffffff;
  }
  #sarno-store-locator-sidebar .store-item.selected p.phone a {
    color: #ffffff;
  }
  #sarno-store-locator-sidebar .store-item.selected p.email {
    color: #ffffff;
  }
  #sarno-store-locator-sidebar .store-item.selected p.email a {
    color: #ffffff;
  }
  #sarno-store-locator-sidebar .store-item.selected h1 {
    color: #ffffff;
  }
  #sarno-store-locator-sidebar .store-item.selected .res-footer {
    border-color: #222222;
    border-width: 1px 0px 0px 0px;
  }
  #sarno-store-locator-sidebar .store-item.selected .res-footer a {
    background-color: #333333;
    border-color: #222222;
    color: #ffffff;
  }
  #sarno-store-locator-sidebar .store-item.selected .res-footer a:hover {
    background-color: #333333;
    color: #efefef;
  }
