﻿/*styles for find nearby dispensary listings */

html {
    height: 100%;
}

body {
    height: 100%;
}

@media (min-width: 992px) {
    body {
        height: 100%;
        padding-bottom: 96px;
    }
}

.wrapper {
    position: relative;
    height: 100vh;
}

.fn-wrapper, .fn-map-wrapper {
    position: relative;
    padding: 0;
}

.fn-footer {
    display: none;
}

@media (min-width: 992px) {
    .fn-footer {
        display: block;
        width: 100%;
        flex: 0 0 96px;
    }
}

.fn-wrapper .breadcrumbs > div.container > h1 {
    font-size: 16px;
}

@media (min-width: 992px) {
    .fn-wrapper .breadcrumbs > div.container > h1 {
        font-size: 22px;
    }
}

#fn-btn-toggle {
    display: block;
    width: 100%;
    height: 32px;
}

@media (min-width: 992px) {
    #fn-btn-toggle {
        display: none;
    }
}
.fn-basic-listing {
    border-bottom: solid 2px #ccc;
    padding-top: 5px;
}

.fn-plus-listing {
    background-color: #f0f8ff;
}

.fn-featured-store {
    font-weight: bold;
    background-color: #fff8dc;
}

.fn-store-address {
    font-size: 13px;
    font-family: Verdana;
    color: #666;
}



.fn-featured-store {
    font-weight: bold;   
    background-color: #fff9e8;
   
}

.fn-featured-label {
    position: relative;
    margin: 10px auto 5px auto;
    font-size: 11px;
    font-weight: normal;
    font-style: italic;
    color: #404040;
  
}

.fn-open-now-label {
    color: #588033;
    margin-top: 5px;
    font-weight: 600;
}

    .fn-open-now-label.closed {
        color: #d52d2d;
    }

#find-nearby-map {
    position: relative;
    width: 100%;
    min-height: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

    #find-nearby-map img {
        max-width: none;
        min-height: 100%;
        width: auto;
        display: inline;
    }


.panToLocationButton {
    background-color: #fff;
    border: none;
    outline: none;
    width: 28px;
    height: 28px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    margin: 0 10px 0 0;
    padding: 0;
}

.panToLocationDiv {
    margin: 5px;
    width: 18px;
    height: 18px;
    background: url('/images/pantomylocation.png') no-repeat;
    background-size: 180px 18px;
}

    .panToLocationDiv.centered {
        background-position: -144px 0;
    }

    .panToLocationDiv.notCentered {
        background-position: 0 0;
    }


.fn-list-wrapper { 
    overflow-y:scroll; 
    overflow-x:hidden; 
    min-height:200px; 
    padding:0;
    background: white;
    z-index: 11;
}

.fn-touchBar-wrapper {
    position: sticky;
    top: 0;
    background: white;
    width: 100%;
    z-index: 13;
    padding-top: 10px;
}

.fn-touchBar {
    padding-top: 10px;
    border-top: 3px solid #dedede;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.map-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(238, 238, 238, .5)
}

.wrapper {
    display: flex;
    flex-direction: column
}

.header {
    flex: 0 1 auto;
    background: white;        
}

.tt-suggestion.tt-selectable {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.tt-suggestion.tt-selectable:hover {
    background-color: #eee;
    cursor: pointer;
}

.twitter-typeahead {
    width: 100%;
}

.twitter-typeahead input {
    font-size: 18px;
}

.city-list-wrapper {
    display: flex;
    flex-direction: column;
}

.city-list-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    color: unset;
}

    .city-list-item:hover {
        background-color: #eee;
        color: unset;
        text-decoration: unset;
    }

.fn-use-current-location {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    margin: auto;
    border-left: 1px solid #eee;
    padding: 3px 10px 3px 10px;
    font-size: 18px;
    height: 33px;
    width: 50px;
}
    .fn-use-current-location .geolocation-icon {
        display: block;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: 50%;

        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")
    }

/* filter styles */

.store-filter-wrap {
    margin: 0px 15px 5px;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
}

.store-filter-item {
    padding: 10px;
    border: solid 1px #ddd;
    border-radius: 25px;
    margin: 5px;
    width: fit-content;
    flex-shrink: 0;
    flex-grow: 0;
}

.store-filter-item:hover {
    background: #eee;
}

.store-filter-item.active {
    background: #eee;
}

@media (max-width: 991px) {
    .fn-wrapper {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        overflow: auto;
        height: 100%;
    }

    #fn-btn-toggle {
        flex: 0 0 32px
    }

    .fn-list-wrapper {
        flex: 1;
        position: absolute;
        width: 100%;
    }

    .fn-map-wrapper {
        height: 100%;
    }    
}

@media (min-width: 992px) {
    .fn-wrapper {
        flex: 1 1 auto;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        overflow: auto;
    }

    .fn-list-wrapper {
        height: 100% !important;
        transform: unset !important;
    }

    .fn-touchBar-wrapper {
        display: none;
    }
}

@media (max-width: 767px) {
    .breadcrumb-container {
        margin-left: unset; /*Bootstrap/flexbox workaround*/
    }
}