body{

    font-family: Arial, Helvetica, sans-serif;
    margin: 0 ;
    background: #fff;
    overscroll-behavior-y: contain;
}


.smap img { max-width: none; }

@media only screen and (max-width: 768px) {
    .foxismpw-layout-panel{
        flex-direction: column-reverse !important;
        height: 100vh;
    }

    .foxismpw-main-map {
        height: calc(100% - 72px); 
        width:100% !important;
        overscroll-behavior: contain;
        touch-action: none;
    }

    .foxismpw-main-panel {
        width: 100% !important;
        max-height: 72px; 
        display: flex;
        flex-direction: column;
        background-color: white;
    }

    .foxismpw-loader {
        margin-top: 200px !important;
        width: 80px;
        height: 80px;
        border: 10px solid #f3f3f3;
    }

    .foxismpw-search-textbox{
        width: 90% !important;
        touch-action: none;
    } 
    
    .foxismpw-close-button-search{
        display: block !important;
    }

    .foxismpw-close-button-map{
        display: none !important;
    }

    .foxismpw-search-control{
        margin: 10px 70px 0px 20px !important; 
    }

    .foxismpw-full{
        height: 100vh !important;
        max-height: 100vh !important;
        top: 0;
        left: 0;
        z-index: 10000000000;
        position: absolute;
    }

    .foxismpw-close-button-search{
        top: 12px !important;
        right: 20px !important;
    } 

    .foxismpw-places-list{
        display: none;
    }
}

.foxismpw-layout-panel{
    display: flex;
    flex-direction: row;
    overflow-y: hidden;
}

.foxismpw-main-map {
    width:calc(100% - 420px);
    flex: 1 1 0%;
    overflow-y: hidden;
}

.foxismpw-main-panel {
    width: 420px;
    height: 100vh; 
    display: flex;
    flex-direction: column;
}

.foxismpw-places-panel{
    overflow-y: scroll;
}

.foxismpw-places-list{
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 0px;
    padding-inline-start: 0px !important;
}

.foxismpw-places-list ul{
    padding-inline-start: 10px;
    padding: 10px;
    border-bottom: 2px solid gainsboro;
    cursor:pointer;
    min-height: 46px;
}

.foxismpw-place-header{
    font-size: 16px;
    font-weight:normal;
    text-transform: uppercase;
}

.foxismpw-place-info{
    color: #444;
    font-size: 14px;
    margin-top: 5px;
}

.foxismpw-more-info{
    display: none;
}

.foxismpw-search-control{
    display: flex;
    flex-flow: row;  
    margin: 20px 40px 20px 20px; 
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #eee;
}

.foxismpw-search-textbox{
    padding: 10px;
    width: 310px;
    font-size: 15px;
    margin-right: 5px;
    border:none;
    outline: none;
    background: none;
}

.foxismpw-search-textbox-button{
    cursor: pointer;
    background: none;
    border: none;
}

.shippingpoint-openhourse-detail{
    display: flex;
    flex-direction: column;
    color: #444;
    font-size: 14px;
}

.shippingpoint-openhourse-detail{
    margin-left: 15px;
}

.shippingpoint-openhourse-detail-header{
    font-size: 14px;
    font-weight: normal;
    margin-top:30px;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: #444;
}


.foxismpw-select-button{
    border: none;
    color: white;
    font-size: 16px;
    margin-top: 30px;
    padding: 10px;
    cursor:pointer !important;
    width: 100%;
}

.foxismpw-loader {
    margin: auto;
    margin-top: 300px;
    border: 16px solid #f3f3f3; /* Light grey */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    border-top: 16px solid gray;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.smap-defaults .compass {
    top: 120px !important;
}

.smap-defaults .zoom {
    top: 77px !important;
}

.foxismpw-close-button-map{
    border: 2px solid rgb(0 0 0 / 30%);
    background-color: white;
    width: 32px;
    height: 32px;
    position: absolute;
    top:10px;
    right: 17px;
    z-index: 1000000000;
}

.foxismpw-close-button-search{
    border: 2px solid rgb(0 0 0 / 30%);
    background-color: white;
    width: 32px;
    height: 32px;
    position: absolute;
    top:21px;
    right: 10px;
    z-index: 1000000000;
    display: none;
}

.foxismpw-close {
    position: absolute;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    z-index: 1000000010;
    border-radius: 4px;
  }
  .foxismpw-close:hover {
    opacity: 1;
  }

  .foxismpw-close:before, .foxismpw-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #6b7580;
  }

  .foxismpw-close:before {
    transform: rotate(45deg);
  }
  .foxismpw-close:after {
    transform: rotate(-45deg);
  }