/****** FILE: millerstn/css/map.css *****/
#form-container
{
    clear: left;
    float: left;
    margin: 0 0 15px;
    width: 100%;
}

form#user-location {
    width: 100%;
    max-width: 960px;
}

#loading-map,
#map-container
{
    clear: left;
    margin-top: 27px;
    height: 530px;
}

#map-container a
{
    color: #e76737;
    text-decoration: none;
}

#map-container a:hover, #map-container a:active
{
    text-decoration: underline;
}

#map-container .custom-marker
{
    width: 32px;
    height: 37px;
    color: #fff;
    background: url(../images/custom-marker.png) no-repeat;
    padding: 3px;
    cursor: pointer;
}

#map-container .sidebar {
    display: block;
    margin-top: 0;
}
#map-container .content-container {
    width: 75%;
}

#loc-list
{
    float: left;
    height: 530px;
    width: 25%;
    overflow: auto;
}

#loc-list ul
{
    display: block;
    clear: left;
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#loc-list .list-label
{
    float: left;
    margin: 10px 0 0 6px;
    padding: 2px 3px;
    width: 17px;
    text-align: center;
    background: #451400;
    color: #fff;
    font-weight: bold;
}

#loc-list .list-details
{
    float: left;
    margin-left: 6px;
    width: 165px;
}

#loc-list .list-content
{
    padding: 10px;
}

#loc-list .loc-dist
{
    font-weight: bold;
    font-style: italic;
    color: #8e8e8e;
}

#loc-list li
{
    display: block;
    clear: left;
    float: left;
    margin: 6px 0;
    /*margin: 6px 10px;*/
    cursor: pointer;
    width: 99%;
    border: 1px solid #fff; /* Adding this to prevent moving li elements when adding the list-focus class*/
}

#loc-list li:first-child {margin-top: 0px;}


#loc-list .list-focus
{
    border: 1px solid rgba(82,168,236,0.9);
    -moz-box-shadow: 0 0 8px rgba(82,168,236,0.7);
    -webkit-box-shadow: 0 0 8px rgba(82,168,236,0.7);
    box-shadow: 0 0 8px rgba(82,168,236,0.7);
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}

#map-container .loc-name
{
    color: #AD2118;
    font-weight: bold;
}

#search-form
{
    clear: left;
    float: left;
    height: 60px;
}

#form-input
{
    float: left;
    margin-top: 3px;
}

#form-input label
{
    font-weight: bold;
}

#form-input select {
    width: 100px;
}

#form-input .field {
    float: left;
    margin-right: 20px;
}

.field {margin-bottom: 10px;}
#form-input {margin-bottom: 10px;}
#category {width: 100px !important;}
label {width: 165px !important;}
#address
{
    margin: 0 0 0 10px;
    width: 330px !important;
}

#submit-btn
{
    float: left;
    cursor: pointer;
}

#loading-map
{
    float: left;
    margin: 4px 0 0 10px;
    width: 16px;
    height: 16px;
    background: url(../images/ajax-loader.gif) no-repeat;
}

#map
{
    float: right;
    width: 74%;
    height: 530px;
    display: block !important;
}
#int-map{ position: relative; }
.int-map-back-link{ width: 105px; height: 69px; background-image: url('../images/nav-back-sprite.png'); display: block; zoom: 1; }
.usMap .int-map-back-link{ position: absolute; top: 0px; right: 0px; z-index: 3 }
#to-world{ float: right; }
.us-back-shift{  float: right; }

#to-world{ background-position: -105px 0px; }
#to-us{ background-position: 0px 0px; }

/* Modal window */

#overlay
{
    position: fixed;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    z-index: 10000;
    background: url(../images/overlay-bg.png) repeat;
}

#modal-window
{
    position: absolute;
    left: 50%;
    margin-left: -460px; /* width divided by 2 */
    margin-top: 60px;
    width: 920px;
    height: 590px;
    z-index: 10010;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px #656565;
}

#modal-content
{
    float: left;
    padding: 0 22px; /* there's already a margin on the top of the map-container div */
}

#close-icon
{
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    background: #2c2c2c url(../images/close-icon.png) 3px 3px no-repeat;
    border: 1px solid #000;
    border-radius: 3px;
    box-shadow: 0 0 3px #656565;
}


/* The following is for the geocode page and not the store locator */

#geocode-result
{
    clear: left;
    float: left;
    margin-top: 30px;
    width: 100%;
}
.static-map-image{ display: none; }

@media only screen and (max-width: 1000px){
    .static-map-image{ display: block; }
    #int-map{
        display: none;
    }

}


/* responsive for Simple theme */

/* BREAKPOINT 960px */

@media only screen and (max-width: 960px) {

    #loc-list {

    }

    #map {

    }

}
/* #Tablet (Portrait)
================================================== */

/* Note: Design for a width of 768px */

@media only screen and (min-width: 641px) and (max-width: 959px) {

    #loc-list .list-label{
        margin-left: 0px;
    }

    #loc-list .list-content {
        padding: 10px 0px;
    }

    #loc-list .list-details {
        width: 140px;
    }

}
/* BREAKPOINT 640px */

@media only screen and (max-width: 640px) {

    #loc-list {
        width: 100%;
        height: auto;
    }

    #map {
        width: 100%;
        float: left;
    }

    input.text, label {
        display: block;

    }

    #form-input {
        float: none;

    }

    #address {
        margin-left: 0;
        width: 100%;
    }

    #submit-btn {
        margin-left: 0;
        margin-top: 5px;
        float: none;
    }

}
.fix{
    clear: both;
    height: 1px;
    margin: -1px 0 0;
    overflow: hidden
}

#address,
#submit{ display: none; }

