@font-face {
    font-family: "GothamLight";
    src: ("Gotham-Light.otf");
}
#MAKEUP-ARTIST-HEADER {
    /*background-image: url(img/banner.jpg);
    background-position: top center;
    background-repeat: no-repeat;*/
    display: flex;
    justify-content: center;
    /*align-items: flex-start;
    height: 411px;
    padding-top: 40px;
    box-sizing: border-box;*/
    margin-bottom: 50px;
    z-index: 1;
    position: relative;
}

#MAKEUP-ARTIST-HEADER p {
    color: #021d49;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    top: 78%;
    left: 25%;
    z-index: 2;
}

/*@media screen and (min-width:1250px) {
    #MAKEUP-ARTIST-HEADER {
        margin-left: -375px;
        width: 2000px
    }
}*/
@media screen and (max-width: 1023px) and (min-width: 762px) {
    #MAKEUP-ARTIST-HEADER {
        background-position: top right -500px;
        background-size: 1600px auto;
    }
}
@media screen and (max-width: 761px) {
    #MAKEUP-ARTIST-HEADER {
        padding: 0;
        background-position: top right -62vw;
        background-size: 220vw auto;
        height: auto;
        margin-bottom: 0;
        justify-content: flex-start;
    }
}

/* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
#map {
    height: 500px;
    width: 790px;
    float: right;
    /*width: 910px;
    height: 587px;
    margin-right: -140px;*/
    margin-bottom: 60px;
}

/* Optional: Makes the sample page fill the window. */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/*.storeLocator, .storeLocator table#displayRetailers {
    opacity: 0;
    transition: opacity 0.5s;
}*/

#displayRetailers {
    margin-left: -20px;
    width: 100%;
    font-size: 1.35em;
}

#displayRetailers tr {
    display: table-row !important;
}

#displayRetailers th {
    width: 30%;
    color: #be0f34;
    text-decoration: underline;
    padding: 40px;
}

/*#displayRetailers td {
    border: thin solid black;
}*/

#displayRetailers tbody tr td:nth-child(2) {
    color: #be0f34;
    font-weight: bold;
}

#displayRetailers tbody tr td:last-child {
    text-align: left;
}

#displayRetailers th,
#displayRetailers tbody {
    text-align: center;
}

.highlight {
    display: table-row !important;
    text-decoration: underline;
}

.storeLocator {
    width: 100%;
    clear: both;
    margin-top: 80px;
}

#district {
    float: left;
    width: 380px;
    /*height: 586px;*/
    height: 478px;
    border: 12px solid #e5e5e5;
    position: relative;
}

.header-text {
    text-align: center;
    color: #021d49;
    font-size: 35px;
    font-family: ClarinsRegular, Clarins;
}

.header-text2,
#emptyMessage {
    text-align: center;
    font-size: 24px;
}

#emptyMessage {
    color: #be0f34;
    clear: both;
    font-size: 20px;
}

.district-text {
    color: #be0f34;
    font-size: 30px;
    width: 380px;
    font-family: ClarinsRegular, Clarins;
    line-height: 34px;
    margin: initial;
}

#seedistrict {
    /*margin-top: 20px;
    font-size: 10px;
    padding-left: 15px;
    padding-right: 15px;*/
    transform: scale(0.9);
    margin-left: -14px;
}

#selectDistrict {
    margin-left: initial !important;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    width: 290px;
    background-color: white;
    border: 2px solid #eee;
    font-size: 14px;
    color: black;
    text-transform: uppercase;
    font-weight: bold;
}

#district .wrapper {
    margin-left: -50px;
    background-color: white;
    height: 260px;
    padding-top: 30px;
    position: absolute;
    top: 50px;
    padding-bottom: 30px;
}

#seemore {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
}

#MAKEUP-ARTIST-HEADER::before {
    content: url(img/header-blocktext.png);
    position: absolute;
    top: 53px;
    right: 20px;
}

/*#MAKEUP-ARTIST-HEADER::after {
    content: url(img/clock-icon.png);
    position: absolute;
    top: 91%;
    left: 49%;
    transform: scale(0.85);
}*/

@media screen and (max-width: 1210px) {
    #map,
    #district {
        float: none;
        margin: 0 auto;
    }
    #map {
        width: 100%;
        margin-top: 40px;
    }
}

@media screen and (max-width: 375px) {
    #MAKEUP-ARTIST-HEADER::before {
        margin-left: -18px !important;
        margin-bottom: -110px;
    }
}

@media screen and (min-device-width: 375px) and (max-device-width: 414px) {
    #MAKEUP-ARTIST-HEADER {
        margin-bottom: 80px;
    }
    #MAKEUP-ARTIST-HEADER::before {
        position: initial;
        margin-top: 250px;
        z-index: -2;
        margin-left: 2px;
        transform: scale(0.9);
    }
    #MAKEUP-ARTIST-HEADER img {
        position: absolute;
        margin-left: -760px;
        transform: scale(0.65);
    }
    #MyContent {
        margin-top: -92px;
    }
    .header-text {
        padding-left: 10px;
        padding-right: 10px;
    }
    .header-text2,
    #emptyMessage {
        font-size: 16px;
        width: 200px;
        margin: 0 auto;
    }
    #district {
        border: none;
        height: 310px;
    }
    #district .wrapper {
        margin-left: initial;
    }
    .district-text {
        font-size: 28px;
        margin-left: 11px !important;
    }
    #selectDistrict {
        margin-left: 24px !important;
    }
    #seedistrict {
        margin: 0 auto;
        display: block;
    }
    .storeLocator {
        margin-top: -50px;
    }
    #seedistricts {
        margin-left: 34px !important;
        transform: scale(1);
    }
}

@media screen and (max-device-width: 414px) and (orientation: portrait) {
    #displayRetailers {
        margin-left: 0;
    }
    #displayRetailers thead {
        display: none;
    }
    #displayRetailers tr {
        display: flex !important;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 2px solid #eee;
    }
    #displayRetailers th,
    #displayRetailers tbody {
        text-align: left;
    }
    #displayRetailers td {
        padding: 5px;
        padding-left: 15px;
    }
    /*#displayRetailers tbody td:last-child{
        margin-bottom: 20px;
    }*/
    #displayRetailers tbody {
        padding-top: 10px;
    }
    #displayRetailers td:last-child {
        font-family: GothamLight;
    }
    .slottext {
        font-size: 25px !important;
    }
    .twoslot {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 1000px !important;
    }
    .Cat2-Cspot {
        max-width: 375px !important;
        margin-bottom: 0 !important;
    }
    .Cat2-Cspot img {
        margin-left: -40px !important;
    }
    .wrapperslot {
        flex-direction: column !important;
        margin-left: 0 !important;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: portrait) {
    #MAKEUP-ARTIST-HEADER img {
        margin-left: -560px;
    }
    #MAKEUP-ARTIST-HEADER::before {
        top: 12%;
        left: 24%;
        margin-left: 6px;
    }
    #MAKEUP-ARTIST-HEADER::after {
        top: 98%;
        left: 43%;
        z-index: 2;
        margin-top: 19px;
    }
    .slottext {
        font-size: 25px !important;
    }
    .twoslot {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 1000px !important;
    }
    .Cat2-Cspot {
        max-width: 375px !important;
        margin-bottom: 0 !important;
    }
    .Cat2-Cspot img {
        margin-left: -40px !important;
    }
    .wrapperslot {
        flex-direction: column !important;
        margin-left: 0 !important;
    }
    #MAKEUP-ARTIST-HEADER p {
        top: 93%;
        left: 41%;
        z-index: 2;
    }
    /*#MAKEUP-ARTIST-HEADER::before {
        margin-left: -10px !important;
    }*/
}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {
    #MAKEUP-ARTIST-HEADER::before {
        z-index: 2;
        margin-top: 314px;
        margin: 0 auto;
        padding-left: 0% !important;
        margin-left: 136px !important;
    }
    #MAKEUP-ARTIST-HEADER::after {
        z-index: 2;
        margin-left: -16px;
        margin-top: 304px;
        padding-left: 0% !important;
    }
    .header-text {
        margin-top: 350px;
    }
    .slottext {
        font-size: 25px !important;
    }
    .twoslot {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 1000px !important;
    }
    .Cat2-Cspot {
        max-width: 375px !important;
        margin-bottom: 0 !important;
    }
    .Cat2-Cspot img {
        margin-left: -40px !important;
    }
    .wrapperslot {
        flex-direction: column !important;
        margin-left: 0 !important;
    }
    #MAKEUP-ARTIST-HEADER p {
        top: 152%;
        left: 46%;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: portrait) {
    #MAKEUP-ARTIST-HEADER img {
        margin-left: -508px;
    }
    #MAKEUP-ARTIST-HEADER::before {
        top: 12%;
        left: 24%;
        margin-bottom: -110px;
    }
    #MAKEUP-ARTIST-HEADER::after {
        top: 98%;
        font-size: 22px;
        left: 43%;
        z-index: 2;
    }
    .slottext {
        font-size: 25px !important;
    }
    .twoslot {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 1000px !important;
    }
    .Cat2-Cspot {
        max-width: 375px !important;
        margin-bottom: 0 !important;
    }
    .Cat2-Cspot img {
        margin-left: -40px !important;
    }
    .wrapperslot {
        flex-direction: column !important;
        margin-left: 0 !important;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: landscape) {
    #MAKEUP-ARTIST-HEADER img {
        margin-left: -870px;
    }
    #MAKEUP-ARTIST-HEADER::before {
        z-index: 2;
        margin-top: -10px;
        margin-left: 160px;
        padding-left: 138%;
        right: 130px;
    }
    #MAKEUP-ARTIST-HEADER::after {
        z-index: 2;
        margin-top: 48px;
        transform: scale(0.7);
        padding-left: 70%;
    }
    .header-text {
        margin-top: 60px;
    }
    .slottext {
        font-size: 25px !important;
    }
    .twoslot {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 1000px !important;
    }
    .Cat2-Cspot {
        max-width: 375px !important;
        margin-bottom: 0 !important;
    }
    .Cat2-Cspot img {
        margin-left: -40px !important;
    }
    .wrapperslot {
        flex-direction: column !important;
        margin-left: 0 !important;
    }
    .header-text {
        font-size: 30px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .slottext {
        font-size: 25px !important;
    }
    .twoslot {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 1000px !important;
    }
    .Cat2-Cspot {
        max-width: 375px !important;
        margin-bottom: 0 !important;
    }
    .Cat2-Cspot img {
        margin-left: -40px !important;
    }
    .wrapperslot {
        flex-direction: column !important;
        margin-left: 0 !important;
    }
    #MAKEUP-ARTIST-HEADER img {
        overflow-x: hidden;
        width: 100%;
    }
    #MAKEUP-ARTIST-HEADER::before{
            right: -280px !important;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) and (orientation : landscape) {
    #MAKEUP-ARTIST-HEADER::before{
            right: -450px !important;
            transform: scale(0.68);
    }
}

.twoslot {
    height: 289px;
    width: 2000px;
    background-color: #be0f34;
    margin-bottom: 400px;
    margin-left: -370px;
}

.wrapperslot {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin-left: 380px;
}

.slottext {
    font-family: ClarinsRegular, Clarins;
    font-size: 50px;
    text-align: center;
    color: white;
    padding-top: 20px;
}

.Cat2-Cspot {
    margin-top: 0px;
    text-align: center;
    max-height: 570px !important;
    margin: 0;
    padding: 0;
    margin-bottom: 60px;
    border: 2px solid #ecedee;
    overflow: hidden;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
}
.Cat2-Cspot h3 {
    margin: 0;
    vertical-align: middle;
    font-size: 33px;
    line-height: 1em;
    font-family: ClarinsRegular, Clarins;
    font-weight: 400;
    text-align: center;
    color: #000;
    padding-left: 20px;
    padding-right: 20px;
    display: inline-block;
}

.Cat2-Cspot .wrapper-V .content {
    vertical-align: middle;
    position: relative;
    display: inline-block;
    width: 100%;
}
.Cat2-Cspot p.special-mention {
    margin: 0;
    line-height: 11px;
    font-size: 11px;
    color: #be0f34;
    padding: 10px;
    font-family: "Gotham SSm medium A", "Gotham SSm medium B", Helvetica, Arial,
        sans-serif;
    text-transform: uppercase;
    display: block;
    font-weight: bold;
}
.Cat2-Cspot p.text-content {
    margin: 0;
    line-height: 18px;
    font-size: 14px;
    color: #000;
    padding: 10px;
    font-family: "Gotham SSm book A", "Gotham SSm book B", Helvetica, Arial,
        sans-serif;
    display: block;
}

.Cat2-Cspot p .btn {
    font-size: 11px;
    font-family: "Gotham SSm medium A", "Gotham SSm medium B", Helvetica, Arial,
        sans-serif;
}

@media screen and (max-width: 1023px) {
    .Cat2-Cspot {
        margin-top: 20px;
    }
    #c-spot,
    #g-spot {
        min-height: 426px;
        height: auto !important;
    }
    .Cat2-Cspot .wrapper-V {
        text-align: center;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: portrait) {
    /*#MAKEUP-ARTIST-HEADER::before {
        margin-left: -40px;
    }*/
    #MAKEUP-ARTIST-HEADER::after {
        left: 44%;
        transform: scale(0.8);
    }
    #MAKEUP-ARTIST-HEADER p {
        font-size: 22px;
        top: 93%;
        left: 41%;
    }
    #seedistricts {
        margin-left: 8px;
        transform: scale(0.85);
    }
    #selectDistrict {
        margin-left: 0px !important;
        transform: scale(0.9);
        margin-top: 3px;
        margin-bottom: 12px;
    }
    .district-text {
        font-size: 28px;
        margin-left: -19px;
        transform: scale(0.85);
    }
    .wrapperslot {
        display: block;
    }
    .wrapperslot img {
        width: 100%;
        margin-left: 0 !important;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) {
    #MAKEUP-ARTIST-HEADER::before {
        margin-left: -46px;
    }
    .header-text {
        font-size: 27px;
    }
    .header-text2,
    #emptyMessage {
        font-size: 22px;
        margin-bottom: -40px;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (max-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    .slottext {
        font-size: 25px !important;
    }
    .twoslot {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 1000px !important;
    }
    .Cat2-Cspot {
        max-width: 375px !important;
        margin-bottom: 0 !important;
    }
    .Cat2-Cspot img {
        margin-left: -40px !important;
    }
    .wrapperslot {
        flex-direction: column !important;
        margin-left: 0 !important;
    }
    #MAKEUP-ARTIST-HEADER::before {
        margin-left: -840px !important;
        right: 170px !important;
        width: auto !important;
        transform: scale(1) !important;
    }
    #MAKEUP-ARTIST-HEADER::after {
        margin-left: -450px;
        margin-top: 50px;
    }
    #MAKEUP-ARTIST-HEADER img {
        margin-left: -840px;
        margin-right: -110px;
        width: auto;
    }
}

#map button {
    right: -76px !important;
}
/*mod*/
.select2 {
    width: 200px !important;
    height: 50px !important;
    font-size: 12px;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Gotham SSm medium A", "Gotham SSm medium B", Helvetica, Arial,
        sans-serif;
    left: 50px;
}
.select2-dropdown--below {
    margin-top: -47px !important;
}

.storeLocator #selectDistrictList {
    width: 200px;
    height: 50px;
    font-size: 11px;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Gotham SSm medium A", "Gotham SSm medium B", Helvetica, Arial,
        sans-serif;
}
.select2-container--default .select2-selection--single {
    border: 2px solid #e5e5e5 !important;
    height: 50px !important;
    border-radius: 0px !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 50px !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 50px !important;
    right: 8px;
}

.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: #e5e5e5 !important;
    color: black;
}
.select2-results__option {
    line-height: 47px !important!;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 47px;
    border: none;
    border-bottom: 1px solid #aaa;
}
.select2-container--default
    .select2-search--dropdown
    .select2-search__field:focus {
    outline: none;
}
.select2-results__option {
    padding: 17px 0 17px 17px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 400;
}
.storeLocator .sbHolder {
    display:none;
}
/*DTWEdits*/
.select2 {
    top: 18px;
    left: 38px;
}
#district .wrapper {
    width: 73%;
    left: 109px;
}
#seedistricts{
    position: relative;
    top: 40px;
}
.district-text {
    width: 306px;
}
* {
    -webkit-overflow-scrolling: touch;
}
/*Ipad Air 3 Landscape*/
@media only screen and (min-device-width : 834px) and (max-device-width : 1112px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 2) {
#district .wrapper {
    left: 82px;
    text-align: center;
}
.select2 {
    left: 14px;
}
#seedistricts {
    left: 19px;
}
.wrapperslot {
    max-width: 1162px;
    margin-left: 343px;
    flex-direction: inherit!important;
}
#MAKEUP-ARTIST-HEADER img {
    overflow-x: inherit;
}
}
@media only screen
and (min-device-width : 834px)
and (max-device-width : 1112px)
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2) { 
#MAKEUP-ARTIST-HEADER img {
    overflow-x: inherit;
}
#MAKEUP-ARTIST-HEADER::before {
    top: 22px;
    left: 27px;
}
.header-text {
    width: 99%;
}
.wrapperslot {
    flex-direction: inherit!important;
}
}
/*Iphone Portrait*/
@media screen and (max-width: 761px) {
#district .wrapper {
    width: 73%;
    left: 24px;
    text-align: center;
}
.select2 {
    top: 6px;
    left: 25px;
}
#seedistricts {
    top: 20px;
    left: 9px;
}
#map {
    height: 420px;
}

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    #MAKEUP-ARTIST-HEADER::before{
        top: -67px;
        right: -10px;
        transform: scale(0.48);
        width: 100%;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    #MAKEUP-ARTIST-HEADER::before{
        top: -27px;
        right: 50px;
        transform: scale(0.62);
        width: 100%;
    }
    #main{
        overflow: hidden;
    }
} 



/*firefox media*/
@-moz-document url-prefix() {
#MAKEUP-ARTIST-HEADER {
    height: 411px;
}
}