.popup {
    position: fixed;
    top: unset;
    bottom: 80px;
    left: 20px;
    width: 20%;
    z-index: 99999;
    padding: 1.5rem 0;
    background-color: #5c5c5c;
    transition: transform .3s ease-in-out;
    box-shadow: -8px 8px 20px 2px rgba(0, 0, 0, 0.25098039215686274);
}

.popup .popup-close--xs {
    position: fixed;
    top: 1.5rem;
    right: 8.5%;
}

.cross {
    position: absolute;
    width: 40px;
    height: 40px;
    margin-left: 0;
    display: inline-block;
    border: none;
    right: 0;
    left: unset;
    top: 0;
    outline: 0;
    background: none;
    cursor: pointer;
    background: #5c5c5c;
}

.popup__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: unset;
    flex-direction: column;
}

.popup__text {
    margin-bottom: 0;
 
    width: 100%;
}

.popup__text p {
    color: white;
    margin-bottom: 0;
}

.popup__switch {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.popup .drpdown{
    position: relative;
    width: 100%;
    flex: none;
    min-height: 44px;
    margin-top: 30px;
    margin-right: 0;
    padding: 0.2rem 5rem .2rem 1.1rem;
    background-color: white;
}

.drpdown__active__title{
    line-height: 38px;
}
.popup .drpdown__active {
    display: flex;
    align-items: center;
}

.popup .material-icons{
    color: #5c5c5c;
    position: relative;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dropdown__items, .drpdown__items {
    max-height: 0;
    overflow: hidden;
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -ms-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
}

.popup .drpdown__items .drpdown__item:nth-last-child(1){
    padding-bottom: 10px;
}

.drpdown--active .drpdown__items{
    max-height: 1000px;
}
.popup .drpdown__items .drpdown__item {
    padding: 1rem 0 0;
    color: white;
    display: flex;
    align-items: center;
}

.popup .drpdown .arrow-down {
    transform: translate3d(-19px, 5px, 0);
    -webkit-transform: translate3d(-19px, 5px, 0);
    -moz-transform: translate3d(-19px, 5px, 0);
    -ms-transform: translate3d(-19px, 5px, 0);
    -o-transform: translate3d(-19px, 5px, 0);
}
.arrow-down {
    position: absolute;
    top: 0.7rem;
    right: 0;
    width: 1.6rem;
    height: 1rem;
}

.popup .drpdown .flag {
    width: 17px;
    height: 17px;
    margin-right: 13px;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
    background-color: #5c5c5c;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.popup .drpdown .flag.nl{
    background-image: url(/theme/assets/images/flagNL.svg);
}
.popup .drpdown .flag.es{
    background-image: url(/theme/assets/images/flagSP.svg);
}
.popup .drpdown .flag.pl{
    background-image: url(/theme/assets/images/flagPL.svg);
}
.popup .drpdown .flag.fr{
    background-image: url(/theme/assets/images/flagFR.svg);
}
.popup .drpdown .flag.en{
    background-image: url(/theme/assets/images/flagEN.svg);
}
.popup .drpdown .flag.de{
    background-image: url(/theme/assets/images/flagDE.svg);
}

.popup .submit {
    position: absolute;
    border-radius: 0;
    padding: 8px 20px;
    height: 44px;
    color: #5c5c5c;
    top: 30px;
    background-color: #dbdbdb;
    right: 0;
}

.cross::before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}
.cross::before, .cross::after {
    content: '';
    position: absolute;
    left: 13.5px;
    top: 19px;
    height: 1px;
    width: 13px;
    background-color: white;
}

.cross::after {
    transform: rotate(45deg);
}
