﻿@media only screen and (max-width: 480px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

.hide-it {
  display: none;
}

.float-right {
  float: right;
}

.leaflet-container {
  background: white !important;
}

.leaflet-popup-content {
  width: 250px !important;
}

@media only screen and (max-width: 480px) {
  .breadcrumb {
    margin: 10px !important;
  }
}

@media only screen and (max-width: 480px) {
  .leaflet-popup-pane {
    display: none !important;
  }

  .master-wrapper-page .center-1 {
    margin: 10px 0;
  }

    .master-wrapper-page > div.master-wrapper-content {
      display: block;
      width: 100%;
    }

  .master-wrapper-page .master-wrapper-content .master-column-wrapper .breadcrumb {
    display: none;
  }

  .master-wrapper-page .master-wrapper-content .master-column-wrapper .page-view-plan {
    top: 0;
    left: 0;
    background-color: white;
    width: 100%;
    height: 100%;
    z-index: 9999;
    padding: 10px;
  }
}

.page-view-plan .leaflet-marker-icon {
  background: url("../leaflet/images/marker-icon.png") no-repeat 0 0 !important;
}

.page-view-plan .title {
  font-size: 22px;
  text-align: left;
  color: black;
  font-weight: 600;
  margin-bottom: 16px;
}


.page-view-plan .marker-popup a {
  display: table;
}

  .page-view-plan .marker-popup a img {
    display: table-cell;
    width: 70px;
    vertical-align: top;
  }

  .page-view-plan .marker-popup a .marker-popup-right-side {
    display: table-cell;
    width: 200px;
    vertical-align: top;
  }

    .page-view-plan .marker-popup a .marker-popup-right-side .marker-popup-name,
    .page-view-plan .marker-popup a .marker-popup-right-side .marker-popup-price {
      font-weight: bold;
      font-size: 17px;
      line-height: 20px;
      color: black;
      padding: 0 8px 11px 19px;
    }

.page-view-plan .marker-on-map {
  position: relative;
  top: -3px;
  background: #313131;
  border-radius: 5px;
  left: -5px;
  width: auto;
  display: inline-block;
  padding: 13px 8px;
  -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.75);
  color: white;
  font-weight: bold;
  white-space: nowrap;
}

.page-view-plan #map .marker-on-map {
  position: relative;
  top: -10px;
  background: #313131;
  border-radius: 5px;
  left: 16px;
  width: auto;
  display: inline-block;
  padding: 1px 5px;
  -webkit-box-shadow: 0 2px 6px 0 rgb(0 0 0 / 75%);
  -moz-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 0 2px 6px 0 rgb(0 0 0 / 75%);
  color: white;
  font-weight: bold;
  white-space: nowrap;
}

  .page-view-plan #map .marker-on-map:hover {
    background: #89c441 !important;
    box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 75%);
  }

.page-view-plan .map-details {
  display: table;
}

  .page-view-plan .map-details #store-logo {
    display: none;
  }

  .page-view-plan .map-details .breadcrumb {
    display: none;
  }

@media only screen and (max-width: 480px) {
  .page-view-plan .map-details {
    display: inline-block;
    width: 100%;
    height: 100%;
  }

    .page-view-plan .map-details .breadcrumb {
      margin: 0 !important;
      padding: 0 5px !important;
      display: block !important;
    }

      .page-view-plan .map-details .breadcrumb a,
      .page-view-plan .map-details .breadcrumb strong,
      .page-view-plan .map-details .breadcrumb span {
        font-size: 13px !important;
        line-height: 20px !important;
        margin: 0 1px !important;
      }

    .page-view-plan .map-details #store-logo {
      max-width: 100%;
      max-height: 100px;
      margin: auto;
      padding: 0 5px 5px 5px;
    }
}

.page-view-plan .map-details #map {
  display: table-cell;
  width: 100%;
  border: 1px solid #f2ebeb;
}



.page-view-plan .map-details .map-product-details .close-button {
  display: none;
  text-align: right;
  padding: 3px 10px 0 0;
  font-weight: bold;
}

.page-view-plan .map-details .map-product-details .show-when-small {
  display: none;
}

.page-view-plan .map-details .map-product-details .map-product-details-product-buttons {
  padding: 0 5px;
  position: absolute;
  width: 269px;
  bottom: 10px;
  margin: 0 auto;
  display: block;
  left: 0;
  right: 0;
}


.page-view-plan .map-details #map-product-list,
.page-view-plan .map-details .map-product-details {
  overflow-y: auto;
  width: 280px;
  border: none;
  -webkit-box-shadow: 5px 5px 14px 0 #948e94;
  -moz-box-shadow: 5px 5px 14px 0 #948e94;
  box-shadow: 5px 5px 14px 0 #948e94;
  border-radius: 10px;
  padding: 10px;
  height: 500px;
  margin-left: 20px;
  margin-right: 10px;
  margin-bottom: 0px;
}

  .page-view-plan .map-details #map-product-list .map-product-details-close,
  .page-view-plan .map-details .map-product-details .map-product-details-close {
    width: 100%;
    display: block;
    text-align: right;
    cursor: pointer;
    padding-right: 10px;
    font-weight: bold;
  }

  .page-view-plan .map-details #map-product-list .map-product-details-product-image img,
  .page-view-plan .map-details .map-product-details .map-product-details-product-image img {
    max-width: 100%;
    max-height: 200px;
    width: 100%;
  }

  .page-view-plan .map-details #map-product-list .map-product-details-product-name, .page-view-plan .map-details .map-product-details .map-product-details-product-name {
    font-weight: bold;
    font-size: 22px;
    padding: 5px 0px;
    overflow: hidden;
    margin-top: 10px;
  }

  .page-view-plan .map-details #map-product-list .map-product-details-product-price,
  .page-view-plan .map-details .map-product-details .map-product-details-product-price {
    padding: 20px 0px;
    font-size: 18px;
    color: black;
    font-weight: bold;
  }

  .page-view-plan .map-details #map-product-list .map-product-details-product-desc,
  .page-view-plan .map-details .map-product-details .map-product-details-product-desc {
    padding: 0 10px 0px 0;
    color: black;
    font-size: 13px;
    height: 106px;
    overflow-y: auto;
    margin-bottom: 5px;
  }

  .page-view-plan .map-details #map-product-list .marker,
  .page-view-plan .map-details .map-product-details .marker {
    margin: 10px 0;
    display: table;
    width: 100%;
    cursor: pointer;
  }

    .page-view-plan .map-details #map-product-list .marker .marker-product-image,
    .page-view-plan .map-details .map-product-details .marker .marker-product-image {
      width: 70px;
      height: 70px;
      display: table-cell;
    }

      .page-view-plan .map-details #map-product-list .marker .marker-product-image img,
      .page-view-plan .map-details .map-product-details .marker .marker-product-image img {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
      }


    .page-view-plan .map-details #map-product-list .marker .marker-product-name, .page-view-plan .map-details .map-product-details .marker .marker-product-name {
      display: table-cell;
      vertical-align: top;
      padding: 0px 5px 0 10px;
      color: black;
      line-height: 22px;
      font-size: 15px;
    }

    .page-view-plan .map-details #map-product-list .marker .marker-product-desc,
    .page-view-plan .map-details .map-product-details .marker .marker-product-desc,
    .page-view-plan .map-details #map-product-list .marker .marker-product-price,
    .page-view-plan .map-details .map-product-details .marker .marker-product-price {
      display: none;
    }

.map-product-details-product-name {
  font-size: 17px !important;
  color: #000;
}

@media only screen and (max-width: 768px) {
  .page-view-plan .map-details .map-product-details .map-product-details-product-buttons {
    position: relative;
    width: 100%;
    padding: 0;
    bottom: 0;
    margin: 0;
  }

  .page-view-plan .map-details .map-product-details .close-button {
    display: block;
    padding: 3px 6px 8px;
  }

  .page-view-plan .map-details #map {
    display: block;
    height: 400px;
    margin-bottom: 20px;
  }

  .page-view-plan .map-details #map-product-list .map-product-details-product-image img, .page-view-plan .map-details .map-product-details .map-product-details-product-image img {
    width: auto;
  }

  .page-view-plan .map-details {
    display: block;
  }

    .div-product-list, .page-view-plan .map-details #map-product-list, .page-view-plan .map-details .map-product-details {
      width: 100% !important;
      margin-left: 0px !important;
      margin-bottom: 20px;
      height: auto;
    }
}


@media only screen and (max-width: 480px) {
  .page-view-plan .map-details .map-product-details {
    width: 100% !important;
    z-index: 9999;
    background-color: white;
    margin-bottom: 20px;
    height: auto;
    margin-right: 0;
  }




    .page-view-plan .map-details .map-product-details .show-when-small {
      display: none;
    }

      .page-view-plan .map-details .map-product-details .show-when-small .map-product-details-product-image {
        display: inline-block;
        width: 145px !important;
        margin: 0 auto;
      }

      .page-view-plan .map-details .map-product-details .show-when-small .map-product-details-product-name {
        display: block;
        font-size: 16px;
        overflow: hidden;
      }

      .page-view-plan .map-details .map-product-details .show-when-small .map-product-details-product-buttons {
        display: inline;
        position: relative;
        width: 100%;
      }

        .page-view-plan .map-details .map-product-details .show-when-small .map-product-details-product-buttons .product-box-add-to-cart-button {
          width: 120px !important;
        }

        .page-view-plan .map-details .map-product-details .show-when-small .map-product-details-product-buttons .add-to-wishlist-button {
          width: 35px !important;
        }
}
