/* 
@font-face { font-family: "Avenir Next"; src: url(fonts/483d8937-5e17-4378-9c51-aa91a3d9e1eb.eot); src: url(fonts/483d8937-5e17-4378-9c51-aa91a3d9e1eb.eot?#iefix) format("eot"); font-weight: 400; font-style: normal; }

@font-face { font-family: "Avenir Next"; src: url(fonts/ed4b9060-b5ab-4379-8840-0b50a15258b7.woff2) format("woff2"), url(fonts/9b47db0b-77fb-4bb0-b5c2-3c131a36fc4d.woff) format("woff"), url(fonts/9c8b7e5f-b3ca-435d-a197-b3dfeae277a1.ttf) format("truetype"), url(fonts/0f72ee75-31c8-42ba-b262-3e13b83a8fdf.svg#0f72ee75-31c8-42ba-b262-3e13b83a8fdf) format("svg"); font-weight: 400; font-style: normal; }

@font-face { font-family: "Avenir Next"; src: url(fonts/930383e5-36a7-4f9b-ba93-91da56426238.eot); src: url(fonts/930383e5-36a7-4f9b-ba93-91da56426238.eot?#iefix) format("eot"); font-weight: 500; font-style: normal; }

@font-face { font-family: "Avenir Next"; src: url(fonts/91e99835-1d11-4c71-af9b-aed2a94329e7.woff2) format("woff2"), url(fonts/4952d2e1-e0c0-46ca-b32e-c24a5882c471.woff) format("woff"), url(fonts/55e40b4b-6742-4cea-b87c-382b0c65d12d.ttf) format("truetype"), url(fonts/6b307c95-616f-4c40-a4f9-ec7f15fe23c1.svg#6b307c95-616f-4c40-a4f9-ec7f15fe23c1) format("svg"); font-weight: 500; font-style: normal; }

@font-face { font-family: "Avenir Next"; src: url(fonts/6ff8ab07-ccb4-4a91-8f0f-2bd4367902e8.eot); src: url(fonts/6ff8ab07-ccb4-4a91-8f0f-2bd4367902e8.eot?#iefix) format("eot"); font-weight: 700; font-style: normal; }

@font-face { font-family: "Avenir Next"; src: url(fonts/91799b0e-0ef8-446e-b274-5509412e1242.woff2) format("woff2"), url(fonts/97fb5311-bdbd-46bc-bf69-3bcf8c744cda.woff) format("woff"), url(fonts/88093bd3-b377-4278-8abe-8460dd24d0e8.ttf) format("truetype"), url(fonts/0fde1539-69df-4e3d-83ef-ae23d10dd2a5.svg#0fde1539-69df-4e3d-83ef-ae23d10dd2a5) format("svg"); font-weight: 700; font-style: normal; }
 */


@font-face { 
    font-family: "Avenir Next"; 
    src: url(fonts/AvenirNextLTW05-Bold.woff); 
    font-weight: 700;
    font-style: bold; 
}

@font-face { 
    font-family: "Avenir Next"; 
    src: url(fonts/AvenirNextLTW05-Medium.woff); 
    font-weight: 400;
    font-style: normal; 
}

@font-face { 
    font-family: "Avenir Next Light"; 
    src: url(fonts/AvenirNextLTW05-Regular.woff); 
    font-weight: 200;
    font-style: italic; 
}


 html,body, .noscrollbar{
    font-family:"Avenir Next";
    color:rgb(61,57,53);
    font-size: 13px;
    line-height: 1.3;
    -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  
}

body {
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 40px;
}

i,.gm-style-iw table{
    font-family: 'Avenir Next Light';
}

/* .gm-style-iw table{
   font-size: 12px;
   font-weight: 400 !important;

} */

h1, h2, h3, h4, h5, h6 {
    clear: both;
    color: #3D3935;
    /*font-weight: bold;*/
    line-height: 1em;
    margin: 0 0 15px;
}
.info b, .noscrollbar b {font-family:"Avenir Next";font-weight: 700;}
h2 {
    font-family: "Avenir Next",sans-serif;
    color: #3D3935;
    font-weight: bold;
}
b, strong {
    font-family:"Avenir Next",sans-serif;
    color: #3D3935;
    font-weight: 700;
}

a, a:link, a:visited, a:hover, a:active, a:focus, a > b {
    font-family:"Avenir Next";
    color: #3D3935;
    text-decoration: none;
}

.country_style_label {
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.298);
    cursor: pointer;
    direction: ltr;
    /*font-family: Roboto,Arial,sans-serif;*/
    font-size: 12px !important;
    font-weight: 500;
    min-width: 23px;
    overflow: hidden;
    padding: 1px 6px;
    position: relative;
    text-align: center;
    margin:4px;
}



/* #search {
    width: 100%;
    font-size: 100%;
    padding:4px;
    margin: 0px 0px 0px 0px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
        -ms-border-radius: 3px;
         -o-border-radius: 3px;
            border-radius: 3px;
    border: 1px solid #3D3935;    
} */

/* .shop_search {
    display: flex;
    flex-direction: row;
    flex-wrap: warp;
    justify-content: flex-start;
    align-items: baseline;
    height: auto;
    min-height: 52px;
    width: 100%;
    margin-top: 10px;
    align-items: stretch;
} */


.search {
    position:relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    padding: 14px 42px;
    background: url(img/pin_locate.svg) no-repeat #F7F6F5;
    background-size: 18px 20px;
    background-position: 15px 16px; 
    border: 1px solid #B3AEAA;
    box-sizing: border-box;
    border-radius: 4px;

}

/* 
.pin_locate {
    display:block;
    position:absolute;
    top: 26px;
    left: 20px;
    width:18px;
    height:20px;
    background: url(img/pin_locate.svg) center no-repeat;
    background-size: contain;
} */


#message {
    text-align: right;    
} 
/* get rid of those system borders being generated for A tags */
a:active {
    outline:none;
}

:focus {
    -moz-outline-style:none;
}

/* #div-google-map-container {
    border: 1px solid #E6E3DF;    
} */
/* #google-map-container {
    border: 19px solid #E6E3DF;
    position:relative;
    top:0px;
    left:0px;
   
} */


#google-map-container {
    position:relative;
    top:0px;
    left:0px;
   
}


#lyrnonvisible {
    color: #E6E3DF;
}

#searchnearest-result {
    width: 300px;
    height: auto;
    z-index: 99999999;
    display: none;
    padding: 0px;
    overflow:auto;
}
#div-searchnearest-result {
    width: 300px;
    height: auto; 
    background: #fff;
    z-index: 99999999;
    display: none;
    position: absolute;
    right: 28px;
    top: 152px !important;
    border: 2px solid #3D3935;

}
#div-searchnearest-result b{
    font-family:"Avenir Next",sans-serif;
    font-weight: 800;
    font-size: 14px;
}
#searchnearest-result table{
    margin-bottom: 10px;
}

.nearest_title {
    color: #72123D;
    font-size:14px;
    font-weight:bold;
}

.nearest_row {
    cursor: pointer;    
}

.ui-widget-header {
    background: url("") repeat-x scroll 50% 50% #FFFFFF !important;
    border: none;
    color: #3D3935 !important;
    font-weight: bold;
}
.ui-dialog .ui-dialog-titlebar {
    padding: 0.4em 1em;
    position: relative;
}

.ui-corner-all {border: none !important;}
.ui-dialog-title {
    font-family: "Avenir Next",sans-serif;
    color: #3D3935;
    font-weight: 500;
    margin: 0 0 15px;
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}
.ui-state-default .ui-icon {
    background: url("img/x.gif") top left no-repeat #FFFFFF !important;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: none !important;
    border: none !important;
    color: #3D3935;
    font-weight: normal;
}



.shop_cat {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: auto;
    min-height: 6vh;
    width: 100%;
    margin-top: 10px;
}


input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    font-weight: bold;
}
.sunshop, .partnershop, .premshop, .partshop, .sunshop_upc, .partshop_upc {margin-right: 20px;}

.sunshop input[type="checkbox"] + label{
    background: url(img/icon-sunrise-shop.svg) 0 0 no-repeat;
    
}
.partnershop input[type="checkbox"] + label{
    background: url(img/icon-sunrise-partnershop.svg) 0 0 no-repeat;
    
}
.premshop input[type="checkbox"] + label{
    background: url(img/icon-sunrise-premium.svg) 0 0 no-repeat;
    
}
.partshop input[type="checkbox"] + label{
    background: url(img/icon-sunrise-partner.svg) 0 0 no-repeat;
    
}
.sunshop_upc input[type="checkbox"] + label{
    background: url(img/icon-upc-shop.svg) 0 0 no-repeat;
    
}
.partshop_upc input[type="checkbox"] + label{
    background: url(img/icon-upc-partner.svg) 0 0 no-repeat;
}

.shop_cat input[type="checkbox"] + label{
    background-size: 24px 24px;
    display: inline-block;
    height: 36px;
    padding-left: 28px;
    filter: grayscale(0);
    opacity: 1;
    cursor:pointer;
}

@media (orientation: portrait) {
    body {
        padding-top: 14px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .shop_cat {
        flex-direction: column;
        align-content: flex-start;
        align-items: flex-start;
        height:auto;
        min-height: 25vh;
        justify-content: space-evenly;
    }

    #div-searchnearest-result {
        position:absolute;
        top: 80px !important;
        right: 20px !important;
        opacity: 0.9;
    }
}
@media (orientation: portrait) and (max-device-width: 413px) {
     #div-searchnearest-result {
        position:absolute;
        top: 10px !important;
        left: 10px !important;
        opacity: 0.9;
    }
    .noscrollbar {
        width:auto !important;
        padding-right: 10px !important;
        padding-bottom: 10px !important;
        font-size: 11px;
   }
   h2 {
       font-size: small;
   }
}
@media (orientation: landscape) and (max-device-width: 1024px) {

    #div-searchnearest-result {
        position:absolute;
        top: 10px !important;
        left: 10px !important;
        width: 95% !important;
        opacity: 0.9;
        overflow-y: auto;
    }

    #searchnearest-result  {
         width:100% !important;
         max-height: 90vh;
    }
     .noscrollbar {
         width:auto !important;
         font-size: 11px;
         padding: 10px !important;
    }
    h2 {
        font-size: small;
    }
}
