.fsw-flex {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.fsw-flex-column {
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -webkit-flex-direction: column !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
}

.fsw-wrap {
  -webkit-flex-wrap: wrap !important;
      -ms-flex-wrap: wrap !important;
          flex-wrap: wrap !important;
}

.fsw-nowrap {
  -webkit-flex-wrap: nowrap !important;
      -ms-flex-wrap: nowrap !important;
          flex-wrap: nowrap !important;
}

.fsw-grow-1 {
  -webkit-box-flex: 1 !important;
  -webkit-flex-grow: 1 !important;
      -ms-flex-positive: 1 !important;
          flex-grow: 1 !important;
}

.fsw-shrink-0 {
  -webkit-flex-shrink: 0 !important;
      -ms-flex-negative: 0 !important;
          flex-shrink: 0 !important;
}

.fsw-align-center {
  -webkit-box-align: center !important;
  -webkit-align-items: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
}

.fsw-content-center {
  -webkit-box-pack: center !important;
  -webkit-justify-content: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
}

.fsw-text-center {
  text-align: center !important;
}

.fsw-nocontent {
  width: 100%;
  background: #f7f7f7;
  color: #9d9d9d;
  font-weight: 500;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-flow: column;
      -ms-flex-flow: column;
          flex-flow: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
}
.fsw-nocontent .icon {
  background-image: url("../images/icon-nodata.png");
  background-repeat: no-repeat;
  background-position: center;
  width: 179px;
  height: 158px;
  margin-bottom: 20px;
}
.fsw-nocontent .text {
  font-size: 18px;
}

.fsw-search {
  padding: 10px;
  position: relative;
}
.fsw-search .search-input {
  min-width: 36px;
  position: relative;
  margin: 0;
}
.fsw-search .search-input .icon {
  position: absolute;
  top: 0;
  left: 0;
  color: #8d949f;
}
.fsw-search .search-input .icon i {
  height: 36px;
  width: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 22px;
  display: block;
}
.fsw-search .search-input input[type=search] {
  width: 100%;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  height: 36px;
  padding: 0 16px 0 36px;
  text-align: left;
  font-weight: normal;
  background-color: #f5f5f5;
  outline: none;
}
.fsw-search .search-input input[type=search]::-webkit-input-placeholder {
  color: #b799a8;
}
.fsw-search .search-input input[type=search]::-moz-placeholder {
  color: #b799a8;
}
.fsw-search .search-input input[type=search]:-ms-input-placeholder {
  color: #b799a8;
}
.fsw-search .search-input input[type=search]::-ms-input-placeholder {
  color: #b799a8;
}
.fsw-search .search-input input[type=search]::placeholder {
  color: #b799a8;
}
.fsw-search .actions {
  padding-left: 10px;
}
.fsw-search .actions .fsw-button {
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50px;
  font-size: 22px;
  background-color: #f5f5f5;
}
.fsw-search .actions .fsw-button:focus {
  color: #c4c4c4;
}

.fsw-stores {
  padding: 5px;
  max-height: 450px;
  overflow: hidden auto;
}
.fsw-stores .store-item {
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}
.fsw-stores .store-item:hover, .fsw-stores .store-item.selected {
  background-color: #f7f7f7;
}
.fsw-stores .store-item .store-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
}
.fsw-stores .store-item .store-image img {
  width: 100%;
  height: 100%;
}
.fsw-stores .store-item .store-info .name {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0;
}
.fsw-stores .store-item .store-info address {
  color: #999999;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}
.fsw-stores .no-item {
  padding: 1rem 0;
  color: #999;
  height: 100%;
  background-color: transparent !important;
}
.fsw-stores .no-item .icon {
  font-size: 4rem;
}
.fsw-stores .no-item .text {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.fsw-maps {
  position: relative;
}
.fsw-maps.loading::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff url("../images/location-marker.gif") center center no-repeat;
}
.fsw-maps .marker {
  border: none;
  cursor: pointer;
  height: 40px;
  width: 40px;
  background: url("../images/map-pin.svg") center center no-repeat;
  background-size: contain;
  background-color: rgba(0, 0, 0, 0);
}
.fsw-maps .mapboxgl-popup {
  padding-bottom: 50px;
}
.fsw-maps .mapboxgl-popup .mapboxgl-popup-close-button {
  font-size: 0;
  line-height: 28px;
  height: 30px;
  width: 30px;
  border-bottom-left-radius: 4px;
}
.fsw-maps .mapboxgl-popup .mapboxgl-popup-close-button::before {
  content: "\e91b";
  font-family: "FriendStore" !important;
  font-size: 18px;
}
.fsw-maps .mapboxgl-popup .mapboxgl-popup-content {
  border: none;
  border-radius: 4px;
  padding: 15px;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}
.fsw-maps .mapboxgl-popup .mapboxgl-popup-content p {
  margin-bottom: 0;
}
.fsw-maps .mapboxgl-popup .mapboxgl-popup-content .headline-title {
  font-size: 0.9rem;
  padding-right: 30px;
  font-weight: bold;
}
.fsw-maps .mapboxgl-ctrl-logo,
.fsw-maps .mapboxgl-ctrl-attrib-inner {
  display: none !important;
}
.fsw-maps .mapboxgl-canvas-container,
.fsw-maps .mapboxgl-canvas-container .mapboxgl-canvas {
  outline: none !important;
}

.fsw-store-maps {
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
}
.fsw-store-maps .fsw-store-list .fsw-all-stores:after,
.fsw-store-maps .fsw-store-list .fsw-search:after {
  content: "";
  height: 1px;
  position: absolute;
  background: #e0e0e0;
  left: 10px;
  right: 10px;
  bottom: 0;
}
.fsw-store-maps .fsw-store-list .fsw-all-stores {
  position: relative;
  padding: 10px;
  text-align: center;
}
.fsw-store-maps .fsw-store-list .fsw-all-stores:after {
  top: 0;
}
.fsw-store-maps .fsw-maps {
  background: #e0e0e0;
  min-height: 480px;
  border-left: 1px solid #f4f4f4;
}
@media (max-width: 767px) {
  .fsw-store-maps .fsw-store-list {
    width: 100% !important;
  }
  .fsw-store-maps .fsw-maps {
    width: 100% !important;
    border-left: none;
    border-top: 1px solid #f4f4f4;
  }
}

.img-fill {
  overflow: hidden;
  position: relative;
}
.img-fill img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
      -ms-transform: translateY(-50%) translateX(-50%);
          transform: translateY(-50%) translateX(-50%);
}

.fsw-store-details {
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
  width: 450px;
  max-width: 100%;
  position: relative;
  margin-bottom: 20px;
}
.fsw-store-details img {
  max-width: 100%;
}
.fsw-store-details.preloading:before {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 500%;
  margin-left: -250%;
  -webkit-animation: phAnimation 0.8s linear infinite;
  animation: phAnimation 0.8s linear infinite;
  background: -webkit-gradient(linear, left top, right top, color-stop(46%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.35)), color-stop(54%, rgba(255, 255, 255, 0))) 50% 50%;
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 54%) 50% 50%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 54%) 50% 50%;
}
.fsw-store-details.preloading .top .top-images .gallery {
  width: 160px;
  background: #e0e0e0;
}
.fsw-store-details.preloading .top .top-images .map {
  background: #e8e8e8;
  background-image: url("../images/grid-image.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: auto 50%;
}
.fsw-store-details.preloading .top .details h3 {
  height: 24px;
  width: 50%;
  min-width: 120px;
  background: #e8e8e8;
  border-radius: 3px;
}
.fsw-store-details.preloading .content .meta-info {
  border-radius: 3px;
  height: 18px;
  width: 50%;
  background: #ececec;
  min-width: 120px;
}
.fsw-store-details .top .top-images {
  height: 160px;
}
.fsw-store-details .top .gallery,
.fsw-store-details .top .map {
  height: 100%;
}
.fsw-store-details .top .gallery {
  background: #f2f2f2;
}
.fsw-store-details .top .gallery img {
  height: 100%;
}
.fsw-store-details .top .map img {
  max-width: none;
}
.fsw-store-details .top .map .fsw-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e8e8e8;
  background-image: url("../images/grid-image.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: auto 50%;
}
.fsw-store-details .top .map .fsw-nocontent {
  height: 100%;
}
.fsw-store-details .top .map .fsw-nocontent .icon {
  height: 120px;
  background-image: url("../images/loading-nomap.png");
  background-size: contain;
  margin-bottom: 10px;
}
.fsw-store-details .top .map .fsw-nocontent .text {
  font-size: 16px;
  margin-bottom: 0;
}
.fsw-store-details .top .details {
  margin-bottom: 0;
  padding: 12px 15px;
  position: relative;
}
.fsw-store-details .top .details h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0;
}
.fsw-store-details .content {
  border-top: solid 1px #ebebeb;
}
.fsw-store-details .content p {
  margin-bottom: 6px;
}
.fsw-store-details .content .meta-info {
  margin: 16px 15px;
}
.fsw-store-details .content .heading {
  color: #222;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 12px;
}
.fsw-store-details .content .line {
  border-top: 1px solid #eee;
  margin-bottom: 15px;
}
.fsw-store-details .opening_collapse_btn {
  cursor: pointer;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.fsw-store-details .opening_collapse_btn.active {
  display: none;
}
.fsw-store-details .opening_collapse_btn .caret {
  border-color: #1a0dab transparent;
  border-style: solid;
  border-width: 4px 4px 0;
  display: inline-block;
  height: 0;
  margin: 5px 0 5px 3px;
  vertical-align: top;
  width: 0;
}
.fsw-store-details .opening_collapse.show {
  display: inline-block;
}
.fsw-store-details .opening_collapse table {
  width: auto;
  margin-bottom: auto;
}
.fsw-store-details .opening_collapse table tr {
  background: transparent !important;
}
.fsw-store-details .opening_collapse table td {
  vertical-align: top;
  padding: 0;
  border: 0;
}
.fsw-store-details .opening_collapse table .weekday {
  white-space: nowrap;
}
.fsw-store-details .opening_collapse table .weekday span {
  margin-right: 10px;
}
.fsw-store-details .fsw-nocontent .text {
  margin-bottom: 0;
}

@-webkit-keyframes phAnimation {
  0% {
    -webkit-transform: translate3d(-30%, 0, 0);
            transform: translate3d(-30%, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(30%, 0, 0);
            transform: translate3d(30%, 0, 0);
  }
}

@keyframes phAnimation {
  0% {
    -webkit-transform: translate3d(-30%, 0, 0);
            transform: translate3d(-30%, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(30%, 0, 0);
            transform: translate3d(30%, 0, 0);
  }
}
