/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#container {position:relative; top:0px; left:0px; z-index:50; width:100%; height:100%}
#mapElement {width:100%; height:100%; background-color:#E9E9E9; z-index:50;}

#micelloMapFrame.sidenav{width:70%;float:right;}
#mapSidebar{width:30%;float:left;height:500px;}

#mapSidebar .micello-directory-container{height:100%;overflow-y:auto;box-sizing:border-box;-webkit-box-sizing: border-box;}
#mapSidebar .micello-directory-container ol.micello-list{border-color: #eee;list-style:none;padding:0;margin:0;}
.micello-directory-container li{margin:0;}
.micello-list-category > a {
    background-color: #888;
    box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.05) inset;
    color: #fff;
    display: block;
    font-size: 14px;
    line-height: 26px;
    padding: 10px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.micello-list-category > a .micello-list-count {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    float: right;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    padding: 0 6px;
    margin-left: 10px;
    text-align: center;
    margin-top: 4px;
    -webkit-transition: border-radius 0.2s;
    -moz-transition: border-radius 0.2s;
    transition: border-radius 0.2s;
}
.micello-directory-container ol {
    border-color: #eee;
    list-style: none;
    padding: 0;
    margin: 0;
}

.micello-store-location {
    border-bottom: 2px solid #eee;
    margin: 0;
}
.micello-store-location:last-child{
    border-bottom:none;
}
.micello-store-location > a {
    background-color: #fff;
    border-left: 1px solid transparent;
    display: block;
    font-size: 14px;
    padding: 10px;
    min-height: 50px;
    -webkit-transition: border 0.2s;
    -moz-transition: border 0.2s;
    transition: border 0.2s;
}
.micello-store-location h4 {
    color: #444;
    display: inline;
    font-size: 16px;
    font-weight: normal;
    margin: 4px 0 8px 0;
    text-align: left;
}
.micello-store-location span {
    color: #bbb;
    font-size: 13px;
    display: block;
    font-weight: normal;
}
.micello-not-found {
    color: #bbb;
    display: none;
    font-size: 13px;
    padding: 0 30px;
    position: absolute;
    text-align: center;
    top: 100px;
}

#search {position:absolute; top:0; right:0; z-index:1050;}
#search input {height:30px; width:200px; margin: 5px 0px;}


@media (max-width: 767px) {
    #micelloMapFrame.sidenav{width:100%;}
    #mapSidebar{width:100%;height:100%;}
}
@media(max-width:531px){
    #micelloMapFrame{height:650px;}
}





/* ==========================================================================
   custom styles
   ========================================================================== */
li.menuItem{
    display: none;
}

#directory{
    width: 200px;
    position: absolute; 
    z-index: 9999; 
    top: 0; 
    right: 0;
}
.ui-autocomplete{
    z-index: 100000;
}

.splash {position:relative; background:url(../assets/desktop/splash.jpg) 50% 0 no-repeat; width:100%; height:460px;}
.splash a.btn-start-map {position:absolute; top:380px; left:50%; margin-left:-123px; display:block; background:url(../assets/desktop/btn-next.png) 0 0 no-repeat; width:246px; height:63px;}
.splash a.btn-start-map:hover {background-position:0 -63px;}

.overlay {position:absolute; background:url(../assets/desktop/splash.jpg) 50% 0 no-repeat; width:100%; height:460px;}
.overlay a.btn-overlay-map {position:absolute; top:380px; left:50%; margin-left:-123px; display:block; background:url(../assets/desktop/btn-next.png) 0 0 no-repeat; width:246px; height:63px;}
.overlay a.btn-overlay-map:hover {background-position:0 -63px;}
 
#search .search-panel-1 {background:#fff; padding:20px 26px 12px 18px;
-webkit-box-shadow: -2px 2px 7px rgba(212, 212, 212, 0.75);
-moz-box-shadow:    -2px 2px 7px rgba(212, 212, 212, 0.75);
box-shadow:         -2px 2px 7px rgba(212, 212, 212, 0.75);}
#search .search-panel-1 .top {padding:0 0 7px 0;}
#search .search-panel-1 .top img {float:left; margin:0 12px 0 0;}
#search .search-panel-1 .top p {float:left; margin:0 40px 0 0; width:154px; font-family:Arial;}
#search .search-panel-1 .top p strong {display:block;}
#search .search-panel-1 .top a.btn-start {float:left; background:url(../assets/desktop/btn-start.png) 0 0 no-repeat; width:99px; height:41px; display:block;}
#search .search-panel-1 .top a.btn-start:hover {background-position:0 -41px;}
#search .search-panel-1 .bottom {padding:11px 0 0 0; border-top:solid 1px #f7f7f7;}
#search .search-panel-1 .bottom a.btn-map-back {color:#666666; font-size:0.9em; line-height:1;}

#search .search-panel-2 {padding:5px 20px 0 0;}
#search .search-panel-2 p {font-family:Arial; margin:0 0 8px 0; font-weight:bold; font-size:0.8em;}
#search .search-panel-2 ul {list-style:none; margin:0; padding:0;}
#search .search-panel-2 ul li {background:none; margin:0 0 8px 0; padding:0;}
#search .search-panel-2 ul li label {width:51px; line-height:24px; font-family:Arial; display:block; float:left; font-weight:bold; font-size:0.9em;}
#search .search-panel-2 ul li input {width:241px; height:24px; line-height:24px; padding:0 5px; border:none; font-family:Arial; float:left; margin:0; font-size:0.9em;}

.map-popup {position:relative; width:240px;}
.map-popup .img-container {float:left; display:block; width:85px; margin:0 5px 0 0;}
.map-popup .img-container img {margin:0 auto; display:block;width:85px;}
.map-popup .map-popup-info {float:left; width:150px;}
.map-popup .map-popup-info p {font-weight:normal; font-size:0.8em; color:#333333; line-height:1.2; margin:0 0 10px;}
.map-popup .map-popup-info p strong {display:block;}
.map-popup .map-popup-info p strong.inline {display:inline;}
.map-popup .map-popup-info a.link {display:block; color:#333; font-size:0.8em; text-decoration:underline; position:absolute; bottom:-7px; right:5px; background:url(../assets/desktop/arrow.png) right 50% no-repeat; padding:0 10px 0 0; z-index:9999; cursor:pointer;}
.map-popup .map-popup-info a.web-link {display:block; color:#333; text-decoration:underline;}


@media (max-width:500px){
      
    
        #search {
           
                position: relative;
                right: 0px; 
                overflow:visible;

            }


            a.actived-level{
                background-color: #333 !important;
            }
            a.btn-levels{
                cursor: pointer;
                text-align: center;
                background-color: #999;
                color: #fff;
                font-weight: 700;
                font-size: 16px;
            }
            #levels-container{
                width: 30px;
                position: absolute;
                top: 155px;
                left: 0;
            }
            a.actived-level{
                background-color: #333 !important;
            }
            a.btn-levels{
                cursor: pointer;
                text-align: center;
                background-color: #999;
                color: #fff;
                font-weight: 700;
                font-size: 16px;
            }
            #levels-container{
                width: 30px;
                position: absolute;
                top: 155px;
                left: 0;
            }

            .ui-button-icon-only .ui-button-text{
                padding: 0 !important;
            }
            
            .back-link{
                text-decoration: none;
                white-space: nowrap;
            }
            
            a.btn-levels{
                text-decoration: none;
                display: block;
                color: white;
            }

            .splash {width:100%; height:100%; background:url(../assets/mobile/splash.jpg) 0 0 no-repeat; background-size:100%;}
            .splash a.btn-start-map {background:none; top:0; left:0; margin:0; position:relative; width:100%; height:100%;}
            .overlay {width:100%; height:100%; background:url(../assets/mobile/splash.jpg) 0 0 no-repeat; background-size:100%;}
            .overlay a.btn-overlay-map {background:none; top:0; left:0; margin:0; position:relative; width:100%; height:100%;}
            #search .search-panel-1 {padding:22px 18px 10px;}
            #search .search-panel-1 .top p {font-size:0.9em; margin:0; float:left; width:60%;}
            #search .search-panel-1 .top p strong {display:block;}
            #search .search-panel-1 .top img{display:none;}
            #search .search-panel-1 .top a.btn-start {background:url(../assets/mobile/btn-start.png) 50% 0 no-repeat; background-size:101px 80px; height:40px; width:40%; float:right;}
            #search .search-panel-1 .top a.btn-start:hover {background-position:50% 0;}
            #search .search-panel-1 .bottom {}
            #search .search-panel-1 .bottom a.btn-map-back {color:#666666; font-size:0.9em; line-height:1;}
            #search .search-panel-2 {background-color:#727272; padding:10px 0;}
            #search .search-panel-2 p {color:#fff; width:95%; margin:0 auto 10px;}
            #search .search-panel-2 ul {width:95%; margin:0 auto;}
            #search .search-panel-2 ul li {width:100%;}
            #search .search-panel-2 ul li label {color:#fff; width:20%;}
            #search .search-panel-2 ul li input {width:74%; padding:0 3%; border-radius:13px; -webkit-border-radius:13px; font-size:0.75em; height:29px; line-height:29px;}

            .map-popup {width:100px; padding-bottom:10px;}
            .map-popup .img-container {float:none; clear:left; width:100px; margin:0 0 10px;}
            .map-popup .map-popup-info {float:none; clear:left; width:100px;}
            .map-popup .map-popup-info p {display:none;}
            .map-popup .map-popup-info p.last {display:block; text-align:center;}
    }

}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}



/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */

    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/** 20131111**/
#ui-name-text{
    color: #222222 !important;
}

input.search,button.btn-search{
    font-family: Arial;
}

#micello-map .menuTable,#micello-map .menuTitle {
        width:auto !important;
}

