﻿.shipping-country-popup {
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    -webkit-transition: all .2s ease-in-out;
    align-items: center;
    background-color: rgba(0, 0, 0, .7);
    display: none;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    transition: all .2s ease-in-out;
    width: 100%;
    z-index: 10000;
}

.shipping-country-popup.show { display: block; }

.shipping-country-popup-container {
    align-items: center;
    background: #fff;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
    margin: 0 auto;
    max-width: 30rem;
    padding: 1.5rem;
    position: relative;
    top: calc(50% - 10rem);
    width: auto;
}

.shipping-country-popup-title {
    color: #0a0a0a;
    font-size: 1.5rem;
    text-align: center;
    white-space: nowrap;
}

.shipping-country-popup-button {
    align-items: center;
    display: flex;
    justify-content: center;
}

.shipping-country-popup-button button {
    align-items: center;
    background-color: #ff6900;
    border: none;
    border-radius: .25rem;
    color: #fff;
    font-size: 15px;
    min-width: 140px;
    padding: 10px 30px;
    text-align: center;
    text-transform: uppercase;
}

.shipping-country-popup-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0;
}

.shipping-country-option {
    line-height: 1.2;
    margin: 0.5rem;
    min-width: 140px;
    position: relative;
}

.shipping-country-option-value {
    align-items: center;
    background-color: #fff;
    border: 0.0625rem solid hsla(0, 0%, 53%, .333);
    border-radius: .25rem;
    display: flex;
    height: 100%;
    padding: 1rem;
    user-select: none;
}

.shipping-country-option-value:hover {
    border-color: hsla(0, 0%, 53%, .667);
    cursor: pointer;
}

.shipping-country-option-value img {
    height: 1.25rem;
    margin-right: .625rem;
    margin-top: -3px;
    width: 1.25rem;
}

.shipping-country-option-input { display: none; }

.shipping-country-option-input:checked ~ .shipping-country-option-value { border-color: #ff6900; }

.shipping-country-link img {
    border: 2px solid #fafafa;
    border-radius: 50em;
    box-sizing: content-box;
    display: inline-block;
    height: 1.25rem;
    margin: -0.25rem 0 0 0.5rem;
    width: 1.25rem;
}

@media only screen and (max-width: 64rem) {
    .shipping-country-popup-container { max-width: 35rem; }
}

@media only screen and (max-width: 50rem) {
    .shipping-country-popup-container { max-width: 25rem; }
}

@media only screen and (max-width: 45rem) {
    .shipping-country-popup-container { max-width: 30rem; }
}

@media only screen and (max-width: 30rem) {
    .shipping-country-popup-container { max-width: 90vw; }

    .shipping-country-link img { display: none; }
}