/* MISC  
----------------------------------------------------------*/
.error { color: Red; }
/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,.editor-label{margin:1em 0 0 0;}
.display-field,.editor-field{margin:0.5em 0 0 0;}
.text-box{width:30em;}
.text-box.multi-line{height:6.5em;}
.tri-state{width:6em;}
.display-label,.editor-label{margin: 1em 0 0 0;}
.display-field,.editor-field{margin:0.5em 0 0 0;}
.text-box{width: 30em;}
.text-box.multi-line{height:6.5em;}
.tri-state{width:6em;}

.panel-nearby-search-summary{margin:10px 0 0 10px;height:14px; padding-bottom: 45px; font-size: 80%;}
.panel-nearby-search-summary h3 { font-family: HelveticaNeueLTStd45Light, Arial, sans-serif;font-size:16px;font-weight: normal; padding-bottom: 0; margin-bottom: 0; padding-top: 10px; color: #333}

.infobox-arrow-color { background-color: #C90000;}
.pushpin_icon{cursor:pointer;}
.ambiguous-ul li { font-size: 12px; font: arial; }
.ambiguous-ul li:hover{cursor:pointer;}
.infobox-content-wrapper{position:relative;float:left;}
.search-result-container { font-size: 11px; width: 340px;}
.search-result-content { padding: 0 10px 20px 10px; line-height: 1.3em;}
.search-result-item { display:none; } 
/* clearfix */
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }
/* Mike's code for the new store locator.
----------------------------------------------------------*/
div.parsys { position: static; }
#storeLocatorHeader {
    background: #F00;
    margin:0 auto 20px;
    overflow: hidden;
	max-width:1180px;
    max-height: 315px;}
#storeLocatorHeader .panel-nearby-search {color: white; float: left; padding: 15px;width:40%; }
#NearbySearchPanel p { font-size: 16px; }
#storeLocatorHeader .panel-nearby-search #btnNearbySearch {
    background: url("/images/store-locator/search_button.png") no-repeat scroll 0 0 transparent;
    border: medium none;
    cursor: pointer;
    height: 38px;
    margin: 0;
    padding: 0;
    text-indent: -9999px;
    text-transform: capitalize;
    width: 48px;
    position: absolute;
    top: -1px;
    right: -3px;
}
#textContainer { padding-bottom: 20px; position: relative; width: 820px; }
#textContainer .divider { position: absolute; bottom: -20px; left: -15px; }
#mapContainer { margin-bottom: 40px; overflow: hidden; height: 505px; }
#mapResult { 
    margin-bottom: 15px; 
    position: relative;
    z-index: 2;
    width: 40%; 
    float: left;
}
#mapResult .search-result-single {
    cursor: pointer;
    float: left;
    height: 105px;
    padding: 10px 5%;
    width: 90%;
    border: 1px solid #ccc;
    background: #f8f8f8;
}
#mapResult .search-result-header {
    color: #333333;
    display: block;
    font-size: 18px;
    font-style: italic;
    height: auto;
    padding: 0;
}
#mapResult .search-result-header .search-result-index-inner {
    background: url("/images/store-locator/red-pin.png") no-repeat 1px 1px;
    color: white;
    display: block;
    float: left;
    font-size: 20px;
    height: 165px;
    margin-right: 10px;
    padding-top: 0;
    text-align: center;
    width: 30px;
    padding-top: 8px;
}
#mapResult .search-result-single-hover .search-result-header .search-result-index-inner { background: url('/images/store-locator/red-pin.png') 0 0 no-repeat; color: #e7e7e7; }
#mapResult .search-result-single a:hover { text-decoration: none; }
#mapResult .search-result-single-hover { background: #e4e3e3; text-decoration: none; }
#mapContent { position: relative; width: 60%; }
#mapContent .map-holder{ border: 1px solid #d0d0d0; height: 500px; margin-left: -1px; position: relative; }
#mapContent .mapTopShadow { position: absolute; top: -77px; left: -30px; z-index: 1; }
#mapContent .mapBottomShadow { position: absolute; bottom: -104px; left: -30px; }
.MicrosoftMap .OverlaysTL { border: 1px solid #D4D4D4; left: -1px !important; top: 22px !important; width: 350px; }
.MicrosoftMap .OverlaysBL { bottom: 11px !important; }
.pushpin_icon div { color: #e7e7e7 !important; font-size: 20px !important; }
.infobox { position: absolute; margin-top: 17px; margin-left: -10px; }
.infobox-content {
    background: none repeat scroll 0 0 transparent;
    border-radius: 0 0 0 0;
    height: 298px;
}
.infobox-closeBtn { background: url('/images/store-locator/close_icon.png') 0 0 no-repeat; cursor: pointer; height: 32px; position: absolute; right: -11px; top: -9px; text-indent: -9999px; z-index: 50; width: 32px; }
.infobox-content-title {
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    padding-bottom: 0;
    font-style: italic;
}
.infobox-address { padding: 0 15px 0 0; margin-bottom: 20px; }
.infobox-hours {
    float: left;
    margin-right: 20px;
}
.infobox-hours ul{
    margin: 0;
}
.infobox-hours li{
    list-style-type: none;
}
.infobox-hours span { display: inline-block; font-weight: bold; width: 40px; }
.infobox-additional { padding-top: 12px; }
.infobox-metadata {
    border-top: 1px solid #CCCCCC;
    overflow: hidden;
    padding: 10px 3%;
    -moz-box-shadow: 0 1px 1px 1px rgba(200, 200, 200, 0.8);
    -webkit-box-shadow: 0 1px 1px 1px rgba(200, 200, 200, 0.8);
    box-shadow: 0 1px 1px 1px rgba(200, 200, 200, 0.8);
}
.infobox-metadata table { border: none; border-spacing: 0; padding: 0; float: left; }
.infobox-metadata table td.infobox-content-key { font-weight: bold; padding: 0 19px 0 0; }
.infobox-metadata table td.infobox-content-value {
    font-weight: bold;
    height: 41px;
    padding: 0 0 0 51px;
    font-style: 12px;
    background: url('/images/store-locator/phone-icon.png') 0 0 no-repeat; 
    vertical-align: middle;
}
.storeLocatorContent { margin-bottom: 20px; overflow: hidden; }
.storeLocatorContent .left { float: left; }
.storeLocatorContent .right { float: right; }
.storeLocatorContent .text { width: 40%; }
/* New responsive redesign, June 2013, Grant Sykes */
#NearbySearchPanel h1 { 
    color: white; font-size: 36px; 
    line-height: 48px; 
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 0;
}
#NearbySearchPanel h2 { 
    margin-bottom: 30px;
}
#storeLocatorHeader .panel-nearby-search .search-textbox {
    border: 1px solid #FFFFFF;
    color: #333333;
    cursor: text;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 16px;
    height: 36px;
    line-height: 26px;
    margin-bottom: 0;
    padding: 4px 10px;
    vertical-align: middle;
    width: 350px;
    margin-right: -6px;
    float: left;
}
#mapResult h2 { 
    color: white; 
    background: #c70909; 
    padding: 10px 30px; 
}
#NearbyResultsPanel { }
#mapContent {
    bottom: 0;
    float: right;
    position: relative;	
    left: 2px;
}
#locatorContainer { height: auto; overflow: hidden; }
#map-info-window-static {
    background:#F8F8F8;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
    display: none;
}
#zoom-links {
    background: white;
    display: inline;
    left: 15px;
    padding: 8px;
    position: relative;
    top: 175px;
}
#map-info-window-static-container {  }
#map-info-window-static-primary {
    float: left;
    padding: 3%;
    width: 54%;
    height: 200px;
    border-right: 1px solid #ccc;
}
#map-info-window-static-secondary {     
    float: right;
    padding: 3%;
    width: 33%; 
    height: 200px;
}
#nearest-stores {
    background: none repeat scroll 0 0 #F00;
    color: white;
    font-style: italic;
    padding: 8px 20px;
    margin-bottom: 0;
    display: none;
}
#close-static-info-window { float: right; margin-right: 20px; margin-top: 10px; color: white; }
.infobox-hours h2 { font-size: 14px; font-weight: bold; }
#store-finder-banner-image { float: right;width:55%; }
#store-finder-banner-image img { max-width: 100%; }
#PopupAmbiguousLocations {}
.ui-dialog {
    display: block;
    height: auto;
    left: 50%;
    outline: 0 none;
    position: absolute;
    top: 200px;
    width: 300px;
}
#AmbiguousUL{margin: 0;}
#AmbiguousUL li
{
    list-style-type: none;
    font-size: 16px;
    color: #c60a0a;
}
#search-wrapper {
    background: #cc0a0a;
    display: inline-block;
    padding: 5px;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#tbNearbySearch
{
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
}

#tbNearbySearch:focus {
    /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 4px 4px #ac0808;*/
    box-shadow: none;
}

p.align-bottom {
    color: #CC0000;
    font-size: 15px;
    margin-top: 70px;
    padding-left: 40px;
    vertical-align: bottom;
}

#find-out
{
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Mubin Muhit Updates 26th June 2013 */

#storeLocatorHeader #search-wrapper {
    border: 4px solid #ac0808;
    padding: 0;
    position: relative;
    display: inline-block;
    overflow: hidden;
}
#mapResult .search-result-single {
    border-bottom: none;
}
#mapResult .search-result-single.last {
    border-bottom: 1px solid #ccc;
}
#mapContent .map-holder {
    border-top: none;
    border-left: none;
    left: 1px;
}
/* hiding the bing maps hover search */
#mapHolder .MicrosoftMap .OverlaysBL .LogoContainer {display: none;}
#postcode-error, #geolocation-error {
    display: none;
    color: #000;
    padding-left: 35px;
    padding-top: 8px;
    margin-top: 40px;
    background: url('/images/store-locator/exclamation.jpg') 4px 4px no-repeat;
    padding-right: 10px;
}
.lightbox-elements.no-cta .content-bottom {
    display: none;
}

/* IE Fixes */

.ie7 #mapContainer {
    position: relative;
}
.ie7  #mapContainer #mapContent {
    bottom: 64px !important;
}
.ie7 #storeLocatorHeader #search-wrapper {
    width: 292px !important;
}
.ie7 #mapContent {
    overflow: hidden !important;
}

.pushpin_icon div
{
    top: 7px !important;
    left: 0 !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 20px !important;
    font-style: italic !important;
    color: #fff !important;
    line-height: 18px !important;
    text-align:  center !important;
    vertical-align: baseline !important;
    font-weight: normal !important;
}

#geolocational-search
{
    display: none;
    text-align: center;
    font-size: 15px;
    line-height: 25px;
}

.search-result-single-address
{
    display: none;
}

.touch .search-result-single-address
{
    display: block;
}

#NearbySearchPanel h1
{
    display: block;
}

a.view-store-details, a.view-on-map
{
    display: none;
} 

.touch a.view-store-details, .touch a.view-on-map
{
    display: inline-block;
} 

.close-map
{
    display: none;
}

.distance-from-location
{
    display: none;
}

.wrapper .span16 h1 {
    padding: 15px 0;
}

.touch .infobox-content li span {
    width: 65px;
    display: inline-block;
}

.touch .store-locator .wrapper .row {
    float: left;
    margin-left: 0;
}

.touch .store-locator .wrapper .row {
    width: 100%;
}

.touch .store-locator .wrapper .span16 {
    width: 100%;
    margin-left: 0;
}



@media (min-width: 768px) {

    .touch .store-locator .outer {
        margin-top: 0;
    }

    .touch .store-locator .wrapper .row {
        margin-top: -20px;
    }

    .touch .store-locator .content.container {
        padding-top: 0;
    }

    .touch .store-locator .container.wrapper {
        padding-bottom: 0;
    }

    .touch #storeLocatorHeader .panel-nearby-search .search-textbox 
    {
        width: 100%;
    }

    .touch #storeLocatorHeader {
        margin-top: 30px;
    }

    .touch #storeLocatorHeader {
        border-radius: 5px;
    }

    .touch #storeLocatorHeader .panel-nearby-search {
        padding-bottom: 20px;
    }

    .touch #store-finder-banner-image img
    {
        height: 327px;
    }

    .touch #store-finder-banner-image img 
    {
        display: none;
    }

    .touch #storeLocatorHeader .panel-nearby-search
    {
        width: 100%;
    }

    .touch #geolocational-search 
    {
        color: #333333;
        display: block;
        float: right;
        height: 25px;
        position: relative;
        right: 7%;
        top: 3px;
        width: 43%;
    }

    .touch #storeLocatorHeader #search-wrapper
    {
        float: left;
        width: 41%;
        margin-bottom: 0;
    }

    .touch #storeLocatorHeader .panel-nearby-search .search-textbox
    {
        width: 100%;
    }

    .touch i.location-button
    {
        display: inline-block;
        background: url("/images/store-locator/target.png") no-repeat; 
        float: left;
        width: 26px;
        height: 26px;
        margin-right: 10px;
    }

    .touch #mapResult
    {
        width: 100%;
    }

    .touch .search-result-single-address
    {
        display: block;
        font-size: 18px;
        margin-left: 70px;
    }

    .touch p.align-bottom
    {
        margin-top: 0;
    }

    .touch #mapResult .search-result-single
    {
        width: 100%;
        cursor: auto;
        height: auto;
        padding: 20px;
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
        box-sizing: border-box;
    }

    .touch #locatorContainer
    {
        height: auto;
    }

    .touch #mapContent 
    {
        bottom: 0;
        float: left;
        left: 0;
        position: relative;
        width: 100%;
    }

    .touch a.view-store-details
    {
        display: inline-block;
        cursor: pointer;
        margin-left: 70px;
    } 

    .touch a.view-store-details {
        margin-left: 70px;
    }

    .touch p.view-store-details, p.view-on-map
    {
        display: none;
    }

    .touch .infobox-content
    {
        height: auto;
        min-height: 510px;
        padding: 20px;
    }

    .touch .tel
    {
        background: url("/images/store-locator/phone-icon.png") no-repeat;
        font-weight: bold;
        height: 41px;
        padding: 0 0 0 51px;
        vertical-align: middle;
        font-size: 23px;
        color: #c00;
        margin: 60px 0;
    }

    .touch #mapContainer
    {
        margin-bottom: 0;
        position: relative;
        height: auto;
    }

    .touch #map-info-window-static
    {
        position: relative;
    }

    .touch #mapHolder
    {
        display: none;
    }

    .touch .close-map
    {
        background: url("/images/store-locator/close-map.png") no-repeat;
        position: relative;
        top: 5px;
        right: 5px;
        display: none;
        width: 44px;
        height: 44px;
        text-indent: -9999px;
        cursor: pointer;
    }

    .touch #nearest-stores
    {
        display: none;
    }

    .touch .go-back
    {
        color: #fff;
        margin-bottom: 20px;
    }

    .touch .infobox-content-title
    {
        font-size: 25px;
    }

    .touch #mapResult .search-result-header .search-result-index-inner
    {
        margin-right: 40px;
        height: 40px;
        padding-top: 0;
    }

    .touch .search-result-single .distance-from-location 
    {
        clear: left;
        display: block;
        float: left;
        width: 30px;
        min-height: auto;
        margin-right: 40px;
        color: #555;
        font-size: 18px;
        line-height: 18px;
    }

    .touch .search-result-single .distance-from-location span
    {
        display: block;
    }

    .touch #mapResult .search-result-header
    {
        font-size: 23px;
        margin-bottom: 20px;
        line-height: 35px;
    }

    .touch .infobox-content .distance-from-location
    {
        font-size: 25px;
        margin-top: 60px;
    }

    .touch .infobox-content ul
    {
        margin-left: 0;
        margin-bottom: 30px;
    }

    .touch .infobox-content li
    {
        font-size: 20px;
        margin-bottom: 10px;
        list-style-type: none;
    }

    .touch .infobox-content h2.opening-times
    {
        font-size: 24px;
    }

    .touch .infobox-content .tel 
    {
        background: url("/images/store-locator/phone-large.png") no-repeat scroll 0 0 transparent;
        height: 40px;
        padding-left: 90px;
        padding-top: 20px;
        width: auto;
    }

    .touch #geolocational-search {
        font-size: 21px;
    }

    .touch #map-info-window-static .view-on-map {
        float: none;
    }

}  

/* All devices smaller than 768px  */
@media (max-width: 767px) {

    .touch .store-locator .outer {
        margin-top: 0;
    }

    .touch .store-locator .wrapper .row {
        margin-top: 0;
        width: 100%;
    }

    .touch .store-locator .content.container {
        padding-top: 0;
    }

    .touch .store-locator .container.wrapper {
        padding-bottom: 0;
    }

    .touch #storeLocatorHeader .panel-nearby-search .search-textbox 
    {
        width: 100%;
    }

    .touch #storeLocatorHeader {
        margin-top: 0;
    }

    .touch #storeLocatorHeader {
        border-radius: 0;
    }

   .touch #storeLocatorHeader
    {
        max-height: none;
    }

    .touch #storeLocatorHeader .panel-nearby-search .search-textbox 
    {
        width: 100%;
    }

    .touch #store-finder-banner-image img
    {
        height: 327px;
    }

    .touch #store-finder-banner-image img 
    {
        display: none;
    }

    .touch #storeLocatorHeader .panel-nearby-search
    {
        width: 100%;
        padding-bottom: 20px;
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
        box-sizing: border-box;
    }

    .touch #geolocational-search 
    {
        color: #333333;
        display: block;
        float: right;
        height: auto;
        position: relative;
        top: 5px;
        width: 100%;
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
        box-sizing: border-box;
    }

    .touch #storeLocatorHeader #search-wrapper
    {
        float: left;
        width: 100%;
        margin-bottom: 15px;
    }

    .touch i.location-button
    {
        display: inline-block;
        background: url("/images/store-locator/target.png") no-repeat; 
        float: left;
        width: 26px;
        height: 26px;
        margin-right: 10px;
    }

    .touch #mapResult
    {
        width: 100%;
    }

    .touch .search-result-single-address
    {
        display: block;
        font-size: 18px;
        margin-left: 70px;
    }

    .touch p.align-bottom
    {
        margin-top: 0;
    }

    .touch #mapResult .search-result-single
    {
        width: 100%;
        cursor: auto;
        height: auto;
        padding: 20px;
        box-sizing:border-box;
        -moz-box-sizing:border-box; /* Firefox */
    }

    .touch #locatorContainer
    {
        height: auto;
    }

    .touch #mapContent 
    {
        bottom: 0;
        float: left;
        left: 0;
        position: relative;
        width: 100%;
    }

    .touch a.view-store-details, a.view-on-map
    {
        display: inline-block;
        cursor: pointer;
    } 

     .touch a.view-store-details {
        margin-left: 70px;
     }

    .touch p.view-store-details, p.view-on-map
    {
        display: none;
    }

    .touch .infobox-content
    {
        height: auto;
        min-height: 510px;
        padding: 20px;
    }

    .touch .tel
    {
        background: url("/images/store-locator/phone-icon.png") no-repeat;
        font-weight: bold;
        height: 41px;
        padding: 0 0 0 51px;
        vertical-align: middle;
        font-size: 23px;
        color: #c00;
        margin: 60px 0;
    }

    .touch #mapContainer
    {
        margin-bottom: 0;
        position: relative;
        height: auto;
    }

    .touch #map-info-window-static
    {
        position: relative;
    }

    .touch #mapHolder
    {
        display: none;
    }

    .touch .close-map
    {
        background: url("/images/store-locator/close-map.png") no-repeat;
        position: relative;
        top: 5px;
        right: 5px;
        display: none;
        width: 44px;
        height: 44px;
        text-indent: -9999px;
        cursor: pointer;
    }

    .touch .close-map.fixed {
        display: block;
        position: fixed;
    }

    .touch #nearest-stores
    {
        display: none;
    }

    .touch .go-back
    {
        color: #fff;
        margin-bottom: 20px;
    }

    .touch .infobox-content-title
    {
        font-size: 25px;
    }

    .touch #mapResult .search-result-header .search-result-index-inner
    {
        margin-right: 40px;
        height: 40px;
        padding-top: 0;
    }

    .touch .search-result-single .distance-from-location 
    {
        clear: left;
        display: block;
        float: left;
        width: 30px;
        min-height: auto;
        margin-right: 40px;
        color: #555;
        font-size: 18px;
        line-height: 18px;
    }

    .touch .search-result-single .distance-from-location span
    {
        display: block;
    }

    .touch #mapResult .search-result-header
    {
        font-size: 23px;
        margin-bottom: 20px;
        line-height: 35px;
    }

    .touch .infobox-content .distance-from-location
    {
        font-size: 25px;
        margin-top: 60px;
        display: block;
    }

    .touch .infobox-content ul
    {
        margin-left: 0;
        margin-bottom: 30px;
    }

    .touch .infobox-content li
    {
        font-size: 20px;
        margin-bottom: 10px;
        list-style-type: none;
    }

    .touch .infobox-content h2.opening-times
    {
        font-size: 24px;
    }

    .touch .infobox-content .tel 
    {
        background: url("/images/store-locator/phone-large.png") no-repeat scroll 0 0 transparent;
        height: 40px;
        padding-left: 90px;
        padding-top: 20px;
        width: auto;
    }

    .touch #geolocational-search {
        font-size: 18px;
    }

    .touch #map-info-window-static .view-on-map {
        float: none;
    }

    .touch #locatorContainer.full-screen {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

}  

@media (max-width: 370px) {
    .touch #geolocational-search {
        font-size: 16px;
    }
}

@media (max-width: 340px) {
    .touch #geolocational-search {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .touch .search-result-single a.view-store-details, .touch .search-result-single a.view-on-map {
        float: left;
        margin-top: 5px;
        clear: both;
        margin-left: 70px;
    }
    .touch .search-result-single .distance-from-location {
        height: 100px;
    }

}

@media (max-width: 320px) {
    .touch .search-result-single a.view-store-details, .touch .search-result-single a.view-on-map {
        float: left;
        margin-top: 5px;
        clear: both;
        margin-left: 70px;
    }

}


/* Retina image support */
@media (-webkit-min-device-pixel-ratio: 2) { 
    .touch #mapResult .search-result-header .search-result-index-inner {
        background-image: url("/images/store-locator/red-pin-retina.png");
        background-repeat: no-repeat;
        background-size: auto 32px;
        background-position: 3px 3px;
    }
}

