.aw-storelocator-search-block, .aw-storelocator-cms-block {
    margin-bottom: 20px;
}

.aw-storelocator-navigation {
    width: 100%;
    text-align: center;
}

.aw-storelocator-google-map {
    width: 100%;
    min-height: 600px;
    height: auto !important;
}

.aw-storelocator-info-window {
    width: 100%;
    height: auto !important;
    overflow: hidden;
}

.aw-storelocator-store-image {
    display: none;
    float: right;
    max-width: 40px;
}

.aw-storelocator-store-image img {
    border: none;
}

.aw-storelocator-navigation-item {
    margin: 0 0 15px;
    border: 1px solid #000;
    padding: 28px 14px 24px;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    text-align: left;
    transition: all .15s linear;
    box-sizing: border-box;
    position: relative;
    vertical-align: top;
}

.aw-storelocator-navigation-item.active,
.aw-storelocator-navigation-item:hover {
    border-color: #bb0029;
}

.aw-storelocator-navigation-item-image {
    position: absolute;
    right: 15px;
    top: 18px;
    text-align: center;
    max-width: 12%;
}

.aw-storelocator-navigation-item-image img {
    border: none;
}

.aw-storelocator-description {
    float: left;
    height: auto !important;
    word-break: normal;
    width: 100%;
    line-height: 1.6em;
}

.aw-storelocator-info-window .aw-storelocator-full-description {
    float: left;
    width: 100%;
    font-size: 0.9em;
}

.aw-storelocator-info-window .aw-storelocator-header {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.aw-storelocator-info-window .aw-storelocator-title {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #000;
}

.aw-storelocator-info-window .aw-storelocator-address {
    margin-bottom: 10px;
}

.aw-storelocator-info-window .aw-storelocator-desc {
    font-size: 13px;
}

.aw-search-form .actions-toolbar .primary .action {
    padding-left: 5px;
    padding-right: 5px;
}

.aw-storelocator-navigation-item-title {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    width: 80%;
    line-height: 1.6em;
}

.aw-storelocator-search-block .product.data.items > .item.title {
    display: none;
}

.aw-storelocator-search-block .product.data.items > #aw-address {
    display: none;
}

.aw-storelocator-search-block .product.data.items > .item.title a {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid #a1a1a1;
    background: #a1a1a1;
    padding: 5px;
    color: #fff;
    transition: all .15s linear;
    height: auto;
}

.aw-storelocator-search-block .product.data.items > .item.title a.hy-mark-inside {
    background: #bb0029;
    border-color: #bb0029;
}

.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch:active {
    padding-bottom: 5px;
}

.aw-storelocator-search-block .product.data.items > .item.title > .switch:visited {
    color: #fff;
}

.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-map-inside:focus {
    background: #a1a1a1;
}

.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-map-inside:active {
    color: #a1a1a1;
}

.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-map-inside:hover,
.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-map-inside:hover:visited {
    color: #a1a1a1;
}

.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-mark-inside:focus {
    background: #bb0029;
}

.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-mark-inside:active {
    color: #bb0029;
}

.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-mark-inside:hover,
.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-mark-inside:hover:visited {
    color: #bb0029;
}

.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-map-inside:focus:hover,
.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-map-inside:focus:active,
.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-mark-inside:focus:hover,
.aw-storelocator-search-block .product.data.items > .item.title:not(.disabled) > .switch.hy-mark-inside:focus:active {
    background: #fff;
}

.aw-storelocator-search-block .product.data.items > .item.title a:before {
    margin-right: 14px;
    font-size: 1.6rem;
    vertical-align: middle;
}

.aw-storelocator-search-block .product.data.items > .item.content {
    padding: 0;
    border: 0;
}

/* remove required field notice (region) */
.fieldset > .field.region.required > .label:after {
    display: none;
}

.aw-storelocator-search-block .field.address #aw-find-location  {
    float: left;
    width: 100%;
    height: 53px;
    line-height: 53px;
    text-align: center;
    padding: 0;
    background: #bb0029;
    border-color: #bb0029;
    font-size: 1rem;
}

.aw-storelocator-search-block .field.address #aw-find-location:hover {
    color: #bb0029;
    background: #fff;
}
.aw-storelocator-search-block .field.address #aw-find-location:focus,
.aw-storelocator-search-block .field.address #aw-find-location:active {
    color: #fff;
}
.aw-storelocator-search-block .field.address #aw-find-location:focus:hover,
.aw-storelocator-search-block .field.address #aw-find-location:active:hover {
    color: #bb0029;
}

.aw-storelocator-search-block .field.address #aw-find-location span {
    display: inline-block;
    vertical-align: top;
    margin-left: 8px;
}

.aw-storelocator-search-block .field.address #aw-find-location:before {
    font-size: 1.6rem;
}

.aw-search-form .fieldset .field,
.aw-search-form .fieldset .field input {
    margin-bottom: 0;
}

.aw-search-form .fieldset .field.region,
.aw-search-form .fieldset .field.measurement {
    display: none;
}

.aw-search-form .fieldset .field.address,
.aw-search-form .fieldset .field.radius,
.aw-search-form .fieldset .field.country,
.aw-search-form .fieldset .field.city {
    float: left;
    clear: none;
}

.aw-search-form .fieldset .field.address {
    width: 80%;
}

.aw-search-form .fieldset .field.radius {
    width: 24%;
}

.aw-search-form .fieldset .field.country,
.aw-search-form .fieldset .field.city {
    width: 50%;
}

.aw-search-form .fieldset .field.country select {
    border-right: 0;
    background-position: 93% 54%;
}

.aw-search-form .fieldset .field.radius select {
    background-position: 83% 54%;
}

.aw-search-form .fieldset .field .label {
    display: none;
}

.field.radius {
    clear: both;
}

.mage-error {
    display: block;
    padding: 15px;
    background: #fff8d6;
    color: #555555;
    font-weight: 500;
    box-sizing: border-box;
}

#aw-close-map {
    display: none;
}

.gm-style .gm-style-iw-c {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #a1a1a1;
    padding: 0;
    min-width: 250px!important;
}

.gm-style .gm-style-iw-c button.gm-ui-hover-effect {
    transform: translate(-5px, 5px);
}

.gm-style-iw-t::before {
    display: none;
}

.gm-style .gm-style-iw-t::after {
    display: none;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 35px;
}

.gm-style {
    font: 400 11px Montserrat, Arial, sans-serif;
}

.gm-style .gm-svpc > div img {
    min-height: 30px;
}

@media (max-width: 767px) {
    .gm-style .gm-style-iw-d {
        padding: 15px;
    }

    .aw-storelocator-search-block {
        margin-bottom: 0;
    }

    .aw-storelocator-search-block .product.info.detailed {
        margin-bottom: 0;
    }

    .aw-search-form .fieldset .field.address .control {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .aw-storelocator-search-block .product.data.items {
        margin-left: 0;
        margin-right: 0;
        border-bottom: 0;
    }

    .aw-storelocator-search-block .product.data.items > .item.title a {
        line-height: 1;
        margin-bottom: 1rem;
    }

    .aw-storelocator-search-block .product.data.items > .item.title.active > .switch {
        padding-bottom: 5px;
    }

    .aw-search-form select {
        height: 30px;
    }

    #aw-distance .aw-search-form .actions-toolbar {
        float: right;
        width: 66%;
        margin-top: -30px;
    }

    .aw-search-form .actions-toolbar .primary .action {
        font-size: 1rem;
        padding: 6px;
    }

    .aw-search-form .fieldset {
        margin-bottom: 0;
    }

    .aw-search-form .fieldset .field.address {
        width: 100%;
        margin-bottom: 1rem;
    }

    .aw-search-form .fieldset .field.country,
    .aw-search-form .fieldset .field.city {
        margin-bottom: 1rem;
    }

    #aw-distance .aw-search-form .fieldset .field.radius {
        margin-right: 2%;
        width: 30%;
    }

    .aw-storelocator-navigation-item {
        border-color: #d8d8d8;
        padding: 10px 14px 18px;
    }

    .aw-storelocator-navigation-item-title {
        text-transform: none;
        line-height: 1.4;
    }

    .aw-storelocator-navigation-item-image {
        max-width: 20px;
        top: 10px;
        right: 8px;
    }
    .aw-storelocator-search-block .field.address #aw-find-location {
        height: 30px;
        line-height: 30px;
        margin-bottom: 1rem;
        -webkit-order: -1;
        -ms-flex-order: -1;
        order: -1;
    }

    #aw-storelocator-google-map {
        display: none;
    }

    .map-active #aw-storelocator-google-map {
        display: block;
        position: fixed !important;
        left: 0;
        top: 0;
        width: 100%;
        height: 100% !important;
        min-height: 0;
        z-index: 9999;
    }

    #aw-close-map {
        cursor: pointer;
    }

    .map-active #aw-close-map {
        display: block;
        position: fixed;
        z-index: 10000;
        top: 10px;
        right: 10px;
        background: #fff;
        width: 39px;
        height: 39px;
        line-height: 40px;
        font-size: 18px;
    }
}

@media (min-width: 640px) {
    .aw-storelocator-navigation-item {
        width: 42%;
        margin: 15px;
        min-height: 200px;
    }

    .aw-storelocator-navigation-item-title {
        min-height: 3.2em;
    }
}

@media (min-width: 768px) {
    .aw-storelocator-navigation-item {
        width: 300px;
        min-height: 235px;
    }

    .aw-storelocator-content-block {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .aw-storelocator-navigation {
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
        margin-top: 50px;
    }

    .aw-storelocator-search-block .product.data.items > .item.title {
        display: none;
    }

    .aw-storelocator-search-block .product.data.items > .item.content {
        margin: 0;
    }

    .aw-storelocator-search-block .product.data.items > #aw-address {
        display: none;
    }

    .aw-search-form .fieldset {
        float: left;
        margin-bottom: 0;
        width: 68.5%;
        margin-right: 2%;
    }

    .aw-search-form .fieldset .field.address {
        width: 84%;
    }

    .aw-search-form .fieldset .field.address .control .input-text {
        width: 45.1%;
    }

    .aw-search-form .fieldset .field.radius {
        width: 16%;
    }

    .aw-search-form .actions-toolbar {
        float: left;
        width: 29.5%;
    }

    .aw-search-form .actions-toolbar .primary {
        display: block;
        float: none;
    }

    .aw-search-form .actions-toolbar .primary .action {
        float: none;
        display: block;
        width: 100%;
        margin: 0;
        font-size: 1.2rem;
    }

    .aw-search-form .actions-toolbar .primary .action:focus {
        background: #a1a1a1;
        color: #fff;
    }

    .aw-storelocator-search-block .product.data.items > .item.title a {
        font-size: 1.2rem;
    }

    .aw-storelocator-search-block .product.data.items > .item.title a:before {
        font-size: 2.6rem;
    }

    .aw-search-form .fieldset .field.radius select {
        border-left: 0;
    }

    .aw-storelocator-search-block .field.address #aw-find-location {
        width: 51.5%;
        margin-right: 3.4%;
        font-size: 1.4rem;
    }

    .aw-storelocator-search-block .field.address #aw-find-location span {
        margin-left: 18px;
    }

    .aw-storelocator-search-block .field.address #aw-find-location:before {
        font-size: 2.6rem;
    }
}

@media (min-width: 768px) {
    .aw-storelocator-search-block .field-wrapper {
        display: flex;
    }

    .aw-search-form .fieldset .measurement select {
        background: #fff;
        padding-right: 12px;
        width: 45px;
        min-width: 45px;
        border-left: none;
        cursor: default;
    }

    .aw-search-form .fieldset .measurement select option[value = "mi"] {
        display: none;
    }
}

@media (min-width: 1024px) {
    .aw-search-form .actions-toolbar .primary .action {
        font-size: 1.4rem;
    }

    .aw-storelocator-search-block .product.data.items > .item.title a {
        font-size: 1.4rem;
    }
}
