﻿.location-selector-container {
    float: right;
    height: 54px;
    right: 0;
    /*width: 290px;*/

    /* Updated width for V1*/
    width: 220px;
    border-right: 1px solid #e8e8e8;
}
.location_switcher {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 100%;
    z-index: 50;
}
.location_switcher__active__location {
    height: 54px;
    border-left: 1px solid #e8e8e8;
    padding: 0;
    text-align: left;
    color: #455764;
    /*cursor: pointer;*/   /*Disable for location hover V1*/
    font-size: 0;
    width: 100%;
}
.location_switcher__active__location .wrap {
    margin-right: 0;
    padding: 0 15px;
    transition: background-color 0.15s ease-in-out 0s;
    width: 225px;
    display: inline-block;
    font-size: 0;
    position: relative;
    vertical-align: middle;
}
.location_switcher__active__favorite {
    margin-right: 0;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
.location-switcher__active__favorite .favorite__message {
    background-color: #2672a7;
    border-radius: 50px;
    bottom: calc(100% + 8px);
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    margin-left: 8px;
    opacity: 0;
    padding: 5px 12px;
    pointer-events: none;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    transition: opacity 0.15s ease-in-out 0s;
    white-space: nowrap;
    width: auto;
    z-index: 50;
}
.location_switcher__active__favorite .favorite__message::after {
    border-color: #1b71ac transparent transparent;
    border-style: solid;
    border-width: 4px;
    content: "";
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -1px;
    position: absolute;
    top: 100%;
    width: 0;
}
.location_switcher__active__favorite .favorite__action {
    display: block;
    height: 17px;
    overflow: hidden;
    width: 17px;
}
.location_switcher__active__favorite .favorite__action a {
    color: #0b80cc;
    background-color: transparent;
}
.location_switcher__active__label {
    height: 54px;
    line-height: 54px;
    padding: 0 8px;
    width: calc(100% - 27px);
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    max-width: calc(100% - 26px);
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
    text-align: left;
}
.location_switcher.is-empty .location-switcher__active__location .arrow-wrap {
    display: none;
}
.location_switcher__active__location .arrow-wrap {
    margin-left: 0;
    height: 7px;
    vertical-align: middle;
    width: 10px;
}
.location_switcher__active__location .arrow {
    fill: #455764;
    height: 7px;
    transition: transform 0.15s ease-in-out 0s;
    width: 10px;
}
.location_switcher__active__favorite .favorite__action.is-set svg {
    fill: #ecd921;
    stroke: transparent;
    stroke-width: 0;
}
.location_switcher__active__favorite .favorite__action svg {
    height: 100%;
    transition: all 0.15s ease-in-out 0s;
    width: 100%;
}
svg:not(:root) {
    overflow: hidden;
}
.location_switcher__box {
    left: 0;
    width: 290px;
    backface-visibility: hidden;
    position: absolute;
    top: 100%;
}
.location_switcher__box__list-header {
    background-color: #344a5f;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    padding: 6px 15px;
    text-transform: uppercase;
}
.location_switcher__box__list {
    margin: 0;
}
.block_list {
    list-style-type: none;
    padding-left: 0;
}
.location_switcher__box__item {
    border-bottom: 1px solid #E8E8E8;
}
.location_switcher__box__list__li {
    display: block;
}
    .location_switcher__box__item:hover {
        cursor: pointer;
        background-color: #EDEDED;
    }
.location_switcher__box__list__li.is-active .location_switcher__box__item {
    border-left-color: #2e98e3;
}
.location_switcher__box__item {
    background-color: #f9f9f9;
    border-left: 3px solid transparent;
    display: block;
    font-size: 0;
    padding-left: 12px;
    transition: background-color 0.15s ease-in-out 0s, color 0.15s ease-in-out 0s, border-color 0.15s ease-in-out 0s;
}
.location_switcher__box__item a {
    color: #0b80cc;
}
.location-switcher__box__item__wrap::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 0;
}
.location_switcher__box__item__wrap {
    border-bottom: 0 none;
    height: 55px;
    padding-right: 0;
}
.location_switcher__box__list__li:last-child .location_switcher__box__item__wrap {
    border-bottom: 0 none;
    height: 55px;
    padding-right: 0;
}
.location_switcher__box__item__favorite {
    display: inline-block;
    margin-right: 9px;
    vertical-align: middle;
}
.location_switcher__box__item__wrap > * {
    display: inline-block;
    vertical-align: middle;
}
.favorite-icon {
    display: inline-block;
}
.favorite-icon svg {
    fill: #ecd921;
    height: 18px;
    opacity: 1;
    transition: fill 0.15s ease-in-out 0s;
    width: 18px;
}
.favorite-icon svg {
    fill: #ecd921;
}
.location_switcher__box__item__labels {
    width: calc(100% - 63px - 18px - 9px);
    display: inline-block;
    vertical-align: middle;
}

.location_switcher__box__list__li.is-active .location_switcher__box__item__labels__city {
    font-weight: 600;
}
.location_switcher__box__item__labels__city {
    color: #666;
    font-size: 14px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: font-weight 0.15s ease-in-out 0s;
    white-space: nowrap;
    width: 100%;
}
.location_switcher__active__location.opened .arrow-wrap .arrow {
    transform: rotate(180deg);
}

/*
*
*  Alert-Badge START
*
*/

.location_switcher__active__alerts-badge {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e8e8e8;
    border-image: none;
    border-style: solid;
    border-width: 0 1px;
    padding: 0;
    position: static;
    right: auto;
    top: auto;
    transition: background-color 0.15s ease-in-out 0s;
    width: auto;
}
.location_switcher__active__alerts-badge {
    display: inline-block;
    margin-left: 0;
    position: absolute;
    right: 0;
    text-align: right;
    vertical-align: middle;
}
.location_switcher__active__alerts-badge a {
    color: #0b80cc;
    background-color: transparent;
}
.alerts-badge {
    height: 54px;
    width: 63px;
    display: inline-block;
    position: relative;
}
.alerts-badge .icon, .alerts-badge .label {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background:none !important;
}
.alerts-badge .label
{
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}
.alerts-badge.is-empty .icon svg {
    fill: #2b7ab2;
}
.alerts-badge .icon svg {
    fill: #d25858;
    height: 24px;
    width: 30px;
}
svg:not(:root) {
    overflow: hidden;
}
.location_switcher__box__item__alerts-badge {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

/*
*
*  Alert-Badge END
*
*/