body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

fieldset, img {
  border: 0; }

address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
  font-weight: normal; }

ol, ul {
  list-style: none; }

caption, th {
  text-align: left; }

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal; }

q:before, q:after {
  content: ''; }

abbr, acronym {
  border: 0; }

/*end reset*/

/* Archive Retailer */
.post-type-archive-retailers, 
.post-type-archive-retailers *, 
.post-type-archive-retailers *:before, 
.post-type-archive-retailers *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Archive Page Header Fix */
.post-type-archive-retailers header:not(.sticky) {
    display: block;
    background: #fff;
    top: 0;
    left: 0;
    position: relative;
}
.post-type-archive-retailers header .q_logo img.normal,
.post-type-archive-retailers header .q_logo img.light,
.post-type-archive-retailers header .q_logo img.dark {
    display: none;
}
.post-type-archive-retailers header .q_logo img.sticky {
    height: 60px !important;
    margin-top: -7px;
    opacity: 1 !important;
}
.post-type-archive-retailers header nav.main_menu > ul > li > a,
.post-type-archive-retailers .light:not(.sticky):not(.scrolled) nav.main_menu > ul > li > a,
.post-type-archive-retailers .light:not(.sticky):not(.scrolled) nav.main_menu > ul > li > a:hover,
.post-type-archive-retailers .light:not(.sticky):not(.scrolled) nav.main_menu > ul > li.active > a {
    color: #666;
    font-size: 1.1em;
}
@media only screen and (min-width: 1000px) {
    .post-type-archive-retailers .light:not(.sticky):not(.scrolled) .side_menu_button>a,
    .post-type-archive-retailers .side_menu_button > a {
        color: #9d9d9d;
    }
}
.post-type-archive-retailers .bread-wrap {
    display: none;
}
.post-type-archive-retailers .content {
    margin-top: 0;
}

/* ----------------------------
    Retailer Map
---------------------------- */
.map-wrap {
    float: left;
    position: relative;
    width: 100%;
}
/* Search Container & Form */
#search-container {
    float: left;
    width: 400px;
    min-height: 600px;
    background: #ebebeb;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    padding: 30px;
    position: relative;
    z-index: 1;
}
#search-container h3 {
    font-size: 1.7em;
    margin-bottom: 15px;
    text-align: center;
    text-transform: none;
}
#search-container label {
    display: block;
    margin-top: 20px;
}
#search-container select {
    background: url(../images/select-arrow.png) 95% 50% no-repeat #fff;
    display: block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    border: none;
    box-shadow: 0 0 7px rgba(0,0,0,0.25);
    font-size: 16px;
    margin: 5px 0 0;
    padding: 10px;
}
#search-container input,
#directions-form input {
    background: #fff;
    display: block;
    width: 100%;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 7px rgba(0,0,0,0.25);
    font-size: 16px;
    margin: 5px 0 0;
    padding: 10px;
}
#directions-form input {
    margin: 0 0 15px;
    text-transform: capitalize;
}
/*#search-container button,*/
#directions-form button {
    background: none;
    border: solid 2px #333;
    border-radius: 5px;
    box-shadow: none;
    display: block;
    font-size: 18px;
    font-weight: 900;
    margin: 30px 0 0;
    padding: 12px;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#directions-form button {
    margin: 15px 0 0;
}
#search-container button:hover,
#directions-form button:hover {
    background: #2f8186;
    border-color: #2f8186;
    color: #fff;
}
#search-container input:focus,
#search-container select:focus,
#search-container button:focus,
#directions-form button:focus {
    outline: none;
}
#search-container button:before {
    content: '\f002';
    font-family: FontAwesome;
    margin: 0 10px 0 0;
}
#directions-form button:before {
    content: '\f041';
    font-family: FontAwesome;
    margin: 0 10px 0 0;
}
#directions-form button#closeDirections:before {
    content: '\f00d';
}
#search-container button:hover,
#directions-form button:hover {
    cursor: pointer;
}

/* Directions Form */
#directions-form,
#directions-list-container {
    display: none;
    float: left;
    position: absolute;
    width: 400px;
    min-height: 600px;
    max-height: 600px;
    background: #ebebeb;
    padding: 30px;
    overflow: scroll;
}
#directions-form {
    z-index: 2;
}
#directions-list-container {
    z-index: 3;
}

/* Select Travel Mode */
#travel-modes {
    margin-bottom: 20px;
    text-align: center;
}
.select-travel-mode {
    display: inline-block;
}
.select-travel-mode.active {
    background: #fff;
}
.travel-mode-icon {
    background-image: url(../images/directions-icons.png);
    background-size: 96px 216px;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 12px 12px 11px 13px;
    vertical-align: top;
}
#travel-mode-driving .travel-mode-icon {
    background-position: -96px -96px;
}
#travel-mode-transit .travel-mode-icon {
    background-position: -96px -120px;
}
#travel-mode-walking .travel-mode-icon {
    background-position: -96px -144px;
}
#travel-mode-bicycle .travel-mode-icon {
    background-position: -96px -168px;
}

/* Directions Listings */
#directions-list td.adp-text {
    vertical-align: middle;
}
#direction-list-actions {
    margin-bottom: 15px;
    text-align: center;
}

/* Directions List - Buttons */
.print-directions,
.close-directions {
    background: #2f8186;
    border: solid 2px #2f8186;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    padding: 2px 18px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.print-directions:hover,
.close-directions:hover {
    background: none;
}
.print-directions {
    margin-right: 10px;
}

/* Map Container */
#map-container {
    float: right;
    min-height: 600px;
    width: calc(100% - 400px);
}

/* Map Marker Info Windows */
.map-info-wrap {
    max-width: 300px;
}
.map-info-title {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
}
.map-info-content {
    border-bottom: solid 1px #ccc;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 3px;
    padding-bottom: 6px;
}
.map-links a {
    font-size: 13px;
    font-weight: bold;
}
.map-links a:not(:last-of-type) {
    margin-right: 7px;
}
.map-links a:not(:last-of-type):after {
    content: '|';
    font-weight: bold;
    margin-left: 7px;
}

/* Loading Animation */
#loading-animation {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 400px);
    height: 600px;
    background: url(../images/loading_icon.svg) center center no-repeat rgba(0,0,0,0.5);
}

/* Map Error Box */
.error-alert {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    background: red;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 30px;
    text-align: center;
    width: calc(100% - 400px);
}
.content .error-alert p {
    margin-bottom: 0;
}

/* Retailer Listings */
.retailer-list-container {
    clear: both;
}
#retailer-listings {
    clear: both;
    padding: 40px;
    text-align: center;
}
#retailer-listings h2 {
    color: #000;
    font-weight: bold;
}
#retailer-list-container {
    max-width: 1200px;
    margin: 60px auto 0;
}
.retailer {
    display: inline-block;
    max-width: 240px;
    width: 100%;
    font-size: 16px;
    margin: 0 0 45px;
    padding: 0 20px;
    vertical-align: top;
}
.retailer .retailer-title {
    font-weight: bold;
}
.retailer a {
    text-decoration: underline;
}
.retailer .map-it {
    background: none;
    border: solid 1px #333;
    border-radius: 5px;
    color: #333;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 10px auto 0;
    padding: 6px;
    text-decoration: none;
    text-transform: uppercase;
    max-width: 120px;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.retailer .map-it:before {
    content: '\f041';
    font-family: FontAwesome;
    margin: 0 5px 0 0;
}
.retailer .map-it:hover {
    background: #2f8186;
    border-color: #2f8186;
    color: #fff;
}

/* Retailer List Pagination */
#btn-prev, #btn-next {
    margin: 0 3px;
    color: #7f7d7d;
    padding: 4px 10px;
    position: relative;
    border: 0;
    font-size: .8em;
    text-transform: uppercase;
    text-align: center;
}
#btn-prev:not(.inactive):hover, #btn-next:not(.inactive):hover {
    color: #333333;
}
#btn-prev:before {
    content: '\f104';
    font-family: FontAwesome;
    margin: 0 10px 0 0;
}
#btn-next:after {
    content: '\f105';
    font-family: FontAwesome;
    margin: 0 0 0 10px;
}
#btn-prev.inactive, #btn-next.inactive {
    cursor: default;
    border-color: #7f7f7f;
    color: #7f7f7f;
}
.page-numbers {
    margin: 0 3px;
    color: #7f7d7d;
    padding: 5px 10px;
    position: relative;
    border: 0;
    font-size: .8em;
    text-transform: uppercase;
    text-align: center;
}
.page-numbers.active {
    color: #333333;
}

/* Directions Print Styles */
@media print {

    body,
    .wrapper_inner {
        font-family: sans-serif;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    header,
    #back_to_top,
    .bread-wrap,
    .title_outer,
    #search-container,
    #directions-form,
    #map-container,
    .prefooter-header,
    .prefooter,
    footer,
    .adp-list,
    #direction-list-actions,
    .retailer-list-container,
    #travel-modes,
    #direction-list-actions {
        display: none !important;
    }
    #directions-list-container {
        display: block;
        float: none;
        position: relative;
        background: #fff;
        font-family: sans-serif;
        min-height: 0;
        max-height: none;
        max-width: none;
        height: auto;
        width: auto;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    #directions-list {
        height: auto;
        width: auto;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

}

@media only screen and (max-width: 1200px) {

    /* Footer */
    .prefooter-header, .prefooter {
        padding: 0 20px;
    }

}

@media only screen and (max-width: 1000px) {

    /* Banner */
    .title_outer.with_image .title,
    .title-holder {
        display: none;
    }

    /* Search Container */
    #search-container, #directions-form, #directions-list-container {
        position: relative;
        width: 100%;
        min-height: 0;
    }
    #search-container label {
        float: left;
        width: 47%;
        margin: 0 1.5% 30px;
    }
    #search-container button {
        width: auto;
        margin: 30px auto 0;
        padding: 12px 40px;
    }

    /* Directions Form */
    #directions-form input {
        float: left;
        width: 47%;
        margin: 0 1.5% 30px;
    }
    #directions-form button {
        width: auto;
        margin: 0 auto;
        padding: 12px 40px;
    }
    #directions-form button#closeDirections {
        margin-top: 10px;
    }

    /* Map Container */
    #map-container {
        min-height: 500px;
        width: 100%;
    }

    /* Loading Animation */
    #loading-animation {
        bottom: 0;
        top: inherit;
        width: 100%;
    }

    /* Error Alerts */
    .error-alert {
        width: 100%;
    }

    /* Directions Table */
    .adp table {
        width: 100%;
    }

}

@media only screen and (max-width: 600px) {

    /* Search Container */
    #search-container label {
        width: 100%;
        margin: 0 0 20px;
    }

    #search-container button {
        float: left;
        width: 100%;
        margin: 10px 0 0;
    }

    /* Directions Form */
    #directions-form input {
        width: 100%;
        margin: 0 0 20px;
    }

    #directions-form button {
        width: 100%;
    }
}
