/*
 Theme Name:   Industrial Child
 Theme URI:    http://industrial.bold-themes.com
 Description:  Industrial Child Theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     industrial
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  industrial-child
*/


/* Theme customization starts here
-------------------------------------------------------------- */


.location {
    position: absolute;
    top: 30px;
    margin-top: 10px;
    text-align: left;
    font-size: 18px;
    color: #333;
    line-height: normal;
    display: inline-block;
}

.location__current {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
}

.location__current::after {
    width: 0;
    height: 0;
    margin-left: 10px;
    border: 5px solid transparent;
    border-top-color: #333;
    border-bottom-width: 0;
    content: "";
}

.location__current-icon {
    margin-right: 15px;
    fill: #289b37;
}

.location__popup {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #f9f9f9;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    transform-origin: 0 0;
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    -o-transition: transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
}

.location__popup--open {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.location__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid #343434;
    color: #333;
    text-decoration: none;
}

.location__link:last-child {
    border-bottom: none;
}

.location__link:hover {
    background-color: rgba(255, 255, 255, .1);
}

.location__link-selected {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 15px;
}

@media (max-width: 980px) {
    .location {
        top: 0;
    }
}

@media (max-width: 580px) {
    .location {

    }
    .location__popup {
        position: relative;
        right: -12px;
        top: 10px;
        left: auto;
        font-size: 14px;
        grid-template-columns: 1fr;
        max-width: 50vw;
    }
    .location__link {
        padding: 10px 20px;
    }
    .location__current-name {
        font-size: 14px;
    }
    
}