/*
Store Locator
==================================================== */
#location-section {
	background: #fff;
	/* display: flex; */
	/* flex: column; */
	/* height: 100%; */
	/* min-height: 300px; */
	/* height: 100vh; */
	position: relative;
	width: 100%;
}
#top .main_color#location-section .flex_cell.av_one_half,
#top .main_color#location-section .flex_cell.av_one_half.avia-builder-el-first {
}

#top .main_color#location-section .flex_cell {
    padding: 150px 20px 80px;
}
@media only screen and (min-width: 768px) {
    #top .main_color#location-section .flex_cell {
        padding: 150px 80px 80px;
    }
}
#top .main_color#location-section .flex_cell h2 {
    line-height: 1.125;
    margin-bottom: 0;
    text-align: center;
}
#top .main_color#location-section .flex_cell p {
    color: rgba(150, 215, 255, 1);
    margin-top: 0;
    text-align: center;
}
#top .main_color#location-section .flex_cell a {
    color: #fff;
    font-size: 1em;
}
#top .main_color#location-section .flex_cell ul {
    /* columns: 2 400px; */
    /* -moz-columns: 2 400px; */
    /* -webkit-columns: 2 400px; */
    /* list-style: none; */
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row wrap;
}
#top .main_color#location-section .flex_cell ul li {
    /* display: block; */
    /* flex: 1; */
    list-style: none;
    display: inline-block;
    width: calc(100% / 2);
    margin: 0;
    padding: 8px;
}
@media only screen and (min-width: 768px) {
    width: calc(100% / 3);
}
#top .main_color#location-section .flex_cell ul li a {
    background: rgba(0, 0, 0, .1) url('../images/pelican-bullet.png') no-repeat -60px center;
    background-size: 40px;
    border-radius: 8px;
    color: rgba(150, 215, 255, 1);
    display: block;
    font-size: 20px;
    font-weight: 300;
    line-height: 40px;
    padding: 8px;
    text-align: center;
    width: 100%;
    -webkit-transition: all 500ms cubic-bezier(0.55, 0.085, 0.41, 0.99);
    -moz-transition: all 500ms cubic-bezier(0.55, 0.085, 0.41, 0.99);
    -o-transition: all 500ms cubic-bezier(0.55, 0.085, 0.41, 0.99);
    transition: all 500ms cubic-bezier(0.55, 0.085, 0.41, 0.99);
}
#top .main_color#location-section .flex_cell ul li.location a {
    line-height: 22px;
    min-height: 60px;
}
#top .main_color#location-section .flex_cell ul li.location.empty a {
    line-height: 44px;
}
#top .main_color#location-section .flex_cell ul li a:hover {
    background: rgba(0, 0, 0, .15) url('../images/pelican-bullet.png') no-repeat 10px center;
    background-size: 40px;
    text-decoration: none;
    color: #fff;
}
#top .main_color#location-section .flex_cell ul li a span {
    opacity: 0.5;
}
#top .main_color#location-section .flex_cell ul li a span.street-address {
    opacity: 0.5;
    font-size: .7em;
    display: block;
}


    #top .main_color#location-profile {
        /* padding: 150px 100px; */
        position: relative;
        background: url(../images/flower-pattern.png);
        background-size: 40px;
        /* display: flex; */
        /* flex: column; */
        /* height: 100%; */
        /* min-height: 300px; */
        /* height: 100vh; */
        position: relative;
        width: 100%;
    }

    #top .main_color#location-profile div.flex_cell.av_one_half {
        padding: 100px 80px 20px;
    }

    #top #location-profile h1 {
        font-size: 32px;
        padding: 0 16px 0 28px;
        top: 40px;
    }
    #top #location-profile h1:after {
        height: 25px;
        right: -13px;
        top: 5px;
        width: 26px;
    }

    #top .main_color#location-profile #formAndResults {
        position: relative;
        overflow: hidden;
        width: 50%;
    }

    #top #wrap_all .main_color#location-profile * {
        text-shadow: none !important;
        text-align: center;
    }

    #top #wrap_all #location-profile h2 {
        color: #222;
        font-size: 32px;
        line-height: 32px;
        margin: 10px 0 20px;
        text-align: center;
    }

    #top #wrap_all #location-profile h2 {
        /* font-size: 48px; */
        /* line-height: 1; */
        /* text-align: center; */
        /* margin: 0; */
    }

    #top #wrap_all .main_color#franchise-profile-link-bar div.flex_cell.av_one_half,
    #top #wrap_all .main_color#franchise-profile-link-bar .flex_cell_inner {
        padding: 0;
    }
    #top #wrap_all .main_color#franchise-profile-link-bar a .avia_iconbox_title {
        font-family: 'Kumiz FY';
        font-weight: normal;
        font-size: 20px;
        line-height: 40px;
    }

    #top #wrap_all #location-profile #formAndResults .current-bar {
        border-bottom: 1px solid #ccc;
        color: #999;
        margin: 0 0 30px;
    }

    #top #wrap_all #location-profile p {
        color: #3d446c;
        font-size: 16px;
        font-style: normal;
        line-height: 1.25em;
        margin: 8px 0 28px;
        margin: 0 0 20px;
        max-width: 100%;
        text-align: center;
    }
    #top #wrap_all #location-profile p.magic-box {
        border-top: 4px solid #8bb4d5;
        border-bottom: 4px solid #8bb4d5;
        color: #b93d6c;
        font-style: italic;
        margin: 0 auto 20px;
        padding: 8px 0;
        width: 400px;
    }

    #top #wrap_all #location-profile p a {
        color: #8a49af;
    }

    #top #wrap_all #location-profile p .bullet,
    #top #wrap_all #location-profile p .distance {
        /* color: #b1b1b1; */
        /* color: #6fc6ea; */
        color: #88b2c3;
    }

    #top #wrap_all #location-profile #first-location p.subAddress .bullet {
        padding: 0 6px;
    }

    #top #wrap_all #location-profile ul {
        color: #777;
        font-size: 16px;
        line-height: 1.4;
        list-style: none;
        /* margin: 28px 0 42px; */
        /* margin: 8px 0 28px; */
        margin: -20px 0 28px;
    }

    #top #wrap_all #location-profile ul li {
        padding: 0;
        margin: 0;
    }

    #top #wrap_all #location-profile ul li strong {
        /* color: #222; */
        /* color: #6fc6ea; */
        color: #88b2c3;
        padding-right: 4px;
    }

    #top #wrap_all #location-profile #first-location p.aux {
        color: #777;
        font-size: 28px;
        line-height: 32px;
    }

    #top #wrap_all #location-profile #first-location p.aux span {
        padding: 0 10px;
    }

    #top #wrap_all #location-profile #first-location p.aux a.textLink {
        color: #3d446c;
        font-size: 18px;
    }

    #top #wrap_all #location-profile p.buttons {
        /* line-height: 50px; */
    }
    #top #wrap_all #location-profile p a.button {
        color: #fff;
        display: inline-block;
        font-size: 14px;
        margin: 8px 4px 0 0;
        padding: 8px 12px;
        white-space: nowrap;
    }

    #top #wrap_all #location-profile h4#more-label {
        color: #ee217c;
        font-size: 16px;
        margin: 60px 0 10px;
        text-transform: uppercase;
    }

    #top #wrap_all #location-profile #more-locations {
        margin: 0;
        overflow: auto;
        /* position: absolute; */
        /* top: 432px; */
        /* bottom: 0; */
        /* padding-right: 20px; */
        /* right: 80px; */
        /* left: 100px; */
    }

    #top #wrap_all #location-profile #more-locations li {
        background: #faf1f1;
        border: 1px solid #eddede;
        border-radius: 4px;
        margin: 8px 0;
        display: block;
        /* height: 90px; */
        position: relative;
        /* padding: 20px 12px; */
        /* padding: 20px 100px 20px 12px; */
        padding: 12px 100px 10px 12px;
        /* border-top: 1px solid #efefef; */
    }

    #top #wrap_all #location-profile #more-locations li:hover {
      background: #e8d9f2;
      cursor: pointer;
    }

    #top #wrap_all #location-profile #more-locations li .main-details {}

    #top #wrap_all #location-profile #more-locations li .actions {
        position: absolute;
        top: 8px;
        right: 6px;
        text-align: right;
        width: 30%;
    }

    #top #wrap_all #location-profile #more-locations li h3 {
        color: #222;
        font-size: 16px;
        font-style: normal;
        line-height: 1;
        margin: 0;
    }

    #top #wrap_all #location-profile #more-locations p {
        color: #777;
        font-size: 13px;
        font-style: normal;
        line-height: 1.5;
        margin: 0;
    }

    #top #wrap_all #location-profile #more-locations li .actions {
        color: #777;
        font-size: 14px;
        font-style: normal;
        margin: 0;
    }

    #top #wrap_all #location-profile #more-locations li .actions a {
        color: #3d446c;
        display: block;
        font-size: 13px;
        line-height: 1.5;
    }

    #top #wrap_all #location-profile #more-locations li .actions span {
        display: none;
    }

    #top #wrap_all #location-profile #more-locations li .actions a.button {
        box-shadow: none;
        color: #fff;
        display: inline-block;
        font-size: inherit;
        padding: 2px 8px;
        font-size: 12px;
        height: auto;
        padding: 2px 8px;
        line-height: 1.5;
        border-radius: 20px;
    }

    #top #wrap_all #location-profile .twitter {
        background: url(../images/t.png) no-repeat center;
    }

    #top #wrap_all #location-profile .instagram {
        background: url(../images/i.png) no-repeat center;
    }

    #top #wrap_all #location-profile .facebook {
        background: url(../images/f.png) no-repeat center;
    }

    #top #wrap_all #location-profile .social-link {
        height: 32px;
        margin: 0 8px 0 0;
        width: 32px;
        /* padding: 100px; */
        overflow: hidden;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        display: inline-block;
        transform: translateY(4px);
    }

    #top #wrap_all #location-profile #more-locations li .social-link {
        height: 20px;
        margin: 6px 4px 0 0;
        width: 20px;
        /* padding: 100px; */
        overflow: hidden;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        display: inline-block;
        transform: translateY(0);
    }

    #top #wrap_all #location-profile .twitter {
        background-size: 32px;
    }

    #top #wrap_all #location-profile .instagram {
        background-size: 32px;
    }

    #top #wrap_all #location-profile .facebook {
        background-size: 32px;
    }

    #top #wrap_all #location-profile #more-locations li .twitter {
        background-size: 20px;
    }

    #top #wrap_all #location-profile #more-locations li .instagram {
        background-size: 20px;
    }

    #top #wrap_all #location-profile #more-locations li .facebook {
        background-size: 20px;
    }


    /* PORTRAIT */
    @media only screen and (max-width: 767px) and (min-height: 501px) {
        /* Gallery */
        #top #wrap_all #main #menu-section .avia-gallery-thumb a {
            width: 100%;
        }
        #top #wrap_all #main #menu-section .avia-gallery-thumb a:nth-child(2):after {
            border: 8px solid #fff;
            border-top: none;
            border-bottom: none;
        }
        #top #wrap_all #main #menu-section .avia-gallery-thumb a h2 {
            font-size: 46px;
        }
        #top #wrap_all #main #menu-section .avia-gallery-thumb a:nth-child(2) h2 {
            font-size: 80px;
        }

    }

    /* LANDSCAPE */
    @media only screen and (max-width: 767px) {
        /* Map */

        #location-profile {
            display: block;
            height: auto;
            min-height: 750px;
        }

        #location-profile #formAndResults {
            height: auto;
            padding: 150px 20px 12px;
            width: 100%;
        }

        #top #wrap_all #location-profile #locator-form input {
            position: static;
            width: 100%;
        }

        #top #wrap_all #location-profile #more-locations {
            position: static;
        }

        #top #wrap_all #location-profile #more-locations li {
            /* display: none; */
        }

        #top #wrap_all #location-profile #more-locations li:nth-child(-n-3) {
            display: block;
        }

        #top #wrap_all #location-profile h4#more-label {
            /* visibility: hidden; */
        }

        #location-profile #mapLocation {
            display: block;
            width: 100%;
        }
    }

    /* #652d8e */

    /* OLD */
    #store-locator {
        background: #fff;
        display: flex;
        flex: column;
        height: 100%;
        min-height: 300px;
        height: 100vh;
        position: relative;
        width: 100%;
    }

    #store-locator #formAndResults {
        position: relative;
        overflow: hidden;
        width: 50%;
    }

    #store-locator #formAndResults #locator-queryNOUSE {
        background: #fef;
        /* background: none; */
        /* border-bottom: blue dotted 1px; */
        border-radius: 0;
        /* box-shadow: none; */
        transform: rotate(-3deg);
        width: 110%;
        position: absolute;
        top: -60px;
        /* left: 0; */
        right: 0;
        text-align: right;
        height: auto;
        padding: 200px 20px 20px 0;
        font-family: 'Kumiz FY';
        font-weight: normal;
        font-size: 26px;
        width: 120%;
        position: absolute;
        top: -60px;
        /* left: 0; */
        right: -5px;
        text-align: right;
        height: auto;
        padding: 121px 32px 36px 0;
        font-family: 'Kumiz FY';
        font-weight: normal;
        font-size: 42px;
        box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.25);
    }

    #store-locator #formAndResults #loader {
        background: rgba(255, 255, 255, 0.75);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        -webkit-transition: all 300ms cubic-bezier(0.55, 0.085, 0.41, 0.99);
        -moz-transition: all 300ms cubic-bezier(0.55, 0.085, 0.41, 0.99);
        -o-transition: all 300ms cubic-bezier(0.55, 0.085, 0.41, 0.99);
        transition: all 300ms cubic-bezier(0.55, 0.085, 0.41, 0.99);
    }

    #store-locator #formAndResults #loader #spinner {
        border: 16px solid #f3f3f3;
        /* Light grey */
        border-top: 16px solid #3498db;
        /* Blue */
        border-radius: 50%;
        width: 120px;
        height: 120px;
        animation: spin 1s linear infinite;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -60px;
        margin-top: -60px;
    }

    #store-locator.loading #formAndResults #loader {
        visibility: visible;
        opacity: 1;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

    #store-locator #mapLocation {
        background: #fff;
        width: 50%;
    }

    #store-locator #formAndResults {
        padding: 150px 100px;
        position: relative;
        background: url(../images/flower-pattern.png);
        background-size: 40px;
    }

    /* #store-locator #formAndResults.empty::after {
      background: url(../images/mardi-flag.png) no-repeat bottom center;
      content: '';
      display: block;
      width: 100%;
      height: 100%;
      background-size: 80%;
      position: absolute;
      bottom: -5px;
      left: 0;
      right: 0;
    } */

    #store-locator #formAndResults .mardi {
        background: url(../images/mardi-flag-circle.png) no-repeat bottom center;
        content: '';
        display: block;
        max-width: 100%;
        width: 350px;
        height: 275px;
        background-size: 100%;
        margin: auto auto 50px;
    }

    #store-locator #formAndResults.empty #locator-form {
        display: block;
    }

    #top #wrap_all #store-locator * {
        text-shadow: none !important;
    }

    #top #wrap_all #store-locator #locator-form {
        display: block;
        margin-top: 28px;
        position: relative;
        z-index: 1;
    }

    #top #wrap_all #store-locator #locator-form input {
        background: #fef;
        /* background: none; */
        /* border-bottom: blue dotted 1px; */
        /* border-radius: 0; */
        /* box-shadow: none; */
        /* transform: rotate(-3deg); */
        /* width: 200px; */
        /* position: absolute; */
        /* top: 20px; */
        /* right: 20px; */
        margin: auto;
        width: 200px;
        /* top: 80px; */
        /* left: 370px; */
    }

    #top #wrap_all #store-locator #first-location {
        margin-top: 10px;
        position: relative;
        z-index: 10;
    }

    #top #wrap_all #store-locator #first-location h2 {
        color: #222;
        font-size: 32px;
        line-height: 32px;
        margin: 10px 0 0;
    }

    #top #wrap_all #store-locator #first-location.empty h2 {
        font-size: 48px;
        line-height: 1;
        text-align: center;
        margin: 0;
    }

    #top #wrap_all #store-locator #first-location.empty p {
        display: none;
    }

    #top #wrap_all #store-locator #formAndResults .current-bar {
        border-bottom: 1px solid #ccc;
        color: #999;
        margin: 0 0 30px;
    }

    #top #wrap_all #store-locator #first-location p.subAddress {
        color: #3d446c;
        font-size: 18px;
        font-style: normal;
        line-height: 1.2em;
        margin: 8px 0 28px;
    }

    #top #wrap_all #store-locator #first-location p.subAddress a {
        color: #8a49af;
    }

    #top #wrap_all #store-locator #first-location p.subAddress .bullet,
    #top #wrap_all #store-locator #first-location p.subAddress .distance {
        /* color: #b1b1b1; */
        /* color: #6fc6ea; */
        color: #88b2c3;
    }

    #top #wrap_all #store-locator #first-location p.subAddress .bullet {
        padding: 0 6px;
    }

    #top #wrap_all #store-locator #first-location p.hours {
        color: #777;
        font-size: 16px;
        line-height: 1.4;
        margin: 28px 0 28px;
    }

    #top #wrap_all #store-locator #first-location p.hours strong {
        /* color: #222; */
        /* color: #6fc6ea; */
        color: #88b2c3;
        padding-right: 4px;
    }

    #top #wrap_all #store-locator #first-location p.aux {
        color: #777;
        font-size: 28px;
        line-height: 32px;
    }

    #top #wrap_all #store-locator #first-location p.aux span {
        padding: 0 10px;
    }

    #top #wrap_all #store-locator #first-location p.aux a.textLink {
        color: #3d446c;
        font-size: 18px;
    }

    #top #wrap_all #store-locator #first-location p.aux a.button {
        font-size: 18px;
        margin-right: 16px;
    }

    #top #wrap_all #store-locator h4#more-label {
        color: #ee217c;
        font-size: 16px;
        margin: 60px 0 10px;
        text-transform: uppercase;
    }

    #top #wrap_all #store-locator #more-locations {
        margin: 0;
        overflow: auto;
        /* position: absolute; */
        /* top: 432px; */
        /* bottom: 0; */
        /* padding-right: 20px; */
        /* right: 80px; */
        /* left: 100px; */
    }

    #top #wrap_all #store-locator #more-locations li {
        background: #faf1f1;
        border: 1px solid #eddede;
        border-radius: 4px;
        margin: 8px 0;
        display: block;
        /* height: 90px; */
        position: relative;
        /* padding: 20px 12px; */
        /* padding: 20px 100px 20px 12px; */
        padding: 12px 100px 10px 12px;
        /* border-top: 1px solid #efefef; */
    }

    #top #wrap_all #store-locator #more-locations li:hover {
      background: #e8d9f2;
      cursor: pointer;
    }

    #top #wrap_all #store-locator #more-locations li .main-details {}

    #top #wrap_all #store-locator #more-locations li .actions {
        position: absolute;
        top: 8px;
        right: 6px;
        text-align: right;
        width: 30%;
    }

    #top #wrap_all #store-locator #more-locations li h3 {
        color: #222;
        font-size: 16px;
        font-style: normal;
        line-height: 1;
        margin: 0;
    }

    #top #wrap_all #store-locator #more-locations p {
        color: #777;
        font-size: 13px;
        font-style: normal;
        line-height: 1.5;
        margin: 0;
    }

    #top #wrap_all #store-locator #more-locations li .actions {
        color: #777;
        font-size: 14px;
        font-style: normal;
        margin: 0;
    }

    #top #wrap_all #store-locator #more-locations li .actions a {
        color: #3d446c;
        display: block;
        font-size: 13px;
        line-height: 1.5;
    }

    #top #wrap_all #store-locator #more-locations li .actions span {
        display: none;
    }

    #top #wrap_all #store-locator #more-locations li .actions a.button {
        box-shadow: none;
        color: #fff;
        display: inline-block;
        font-size: inherit;
        padding: 2px 8px;
        font-size: 12px;
        height: auto;
        padding: 2px 8px;
        line-height: 1.5;
        border-radius: 20px;
    }

    #top #wrap_all #store-locator .twitter {
        background: url(../images/t.png) no-repeat center;
    }

    #top #wrap_all #store-locator .instagram {
        background: url(../images/i.png) no-repeat center;
    }

    #top #wrap_all #store-locator .facebook {
        background: url(../images/f.png) no-repeat center;
    }

    #top #wrap_all #store-locator .social-link {
        height: 32px;
        margin: 0 8px 0 0;
        width: 32px;
        /* padding: 100px; */
        overflow: hidden;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        display: inline-block;
        transform: translateY(4px);
    }

    #top #wrap_all #store-locator #more-locations li .social-link {
        height: 20px;
        margin: 6px 4px 0 0;
        width: 20px;
        /* padding: 100px; */
        overflow: hidden;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        display: inline-block;
        transform: translateY(0);
    }

    #top #wrap_all #store-locator .twitter {
        background-size: 32px;
    }

    #top #wrap_all #store-locator .instagram {
        background-size: 32px;
    }

    #top #wrap_all #store-locator .facebook {
        background-size: 32px;
    }

    #top #wrap_all #store-locator #more-locations li .twitter {
        background-size: 20px;
    }

    #top #wrap_all #store-locator #more-locations li .instagram {
        background-size: 20px;
    }

    #top #wrap_all #store-locator #more-locations li .facebook {
        background-size: 20px;
    }


    /* PORTRAIT */
    @media only screen and (max-width: 767px) and (min-height: 501px) {
        /* Gallery */
        #top #wrap_all #main #menu-section .avia-gallery-thumb a {
            width: 100%;
        }
        #top #wrap_all #main #menu-section .avia-gallery-thumb a:nth-child(2):after {
            border: 8px solid #fff;
            border-top: none;
            border-bottom: none;
        }
        #top #wrap_all #main #menu-section .avia-gallery-thumb a h2 {
            font-size: 46px;
        }
        #top #wrap_all #main #menu-section .avia-gallery-thumb a:nth-child(2) h2 {
            font-size: 80px;
        }

    }

    /* LANDSCAPE */
    @media only screen and (max-width: 767px) {
        /* Map */

        #store-locator {
            display: block;
            height: auto;
            min-height: 750px;
        }

        #store-locator #formAndResults {
            height: auto;
            padding: 150px 20px 12px;
            width: 100%;
        }

        #top #wrap_all #store-locator #locator-form input {
            position: static;
            width: 100%;
        }

        #top #wrap_all #store-locator #more-locations {
            position: static;
        }

        #top #wrap_all #store-locator #more-locations li {
            /* display: none; */
        }

        #top #wrap_all #store-locator #more-locations li:nth-child(-n-3) {
            display: block;
        }

        #top #wrap_all #store-locator h4#more-label {
            /* visibility: hidden; */
        }

        #store-locator #mapLocation {
            display: block;
            width: 100%;
        }
    }
