.pops-container,
.pops-container * {
    box-sizing: border-box;
}

.pops-container {
    padding: 1rem;
    background-color: transparent
}

.pops-container:not(.banner) {
    height: auto;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    right: 0;
}

.pops {
    padding: 1.5rem;
    background: #fff;
    position: relative;
    margin: 0 auto;
}

.pops-content {
    max-height: 680px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 3;
}

.pops.has-image {
    padding: 0;
    display: flex;
}

.pops.has-image .pops-content {
    padding: 1.5rem;
}

.pops.has-image .pops-image {
    flex: 2;
}

.pops.has-image .pops-image img {
    object-fit: cover;
    height: 100%;
    max-width: 100%;
    display: block;
    max-height: 600px;
}

.pops.has-image.img-right .pops-image {
    order: 1;
}

.pops-content::-webkit-scrollbar {
    width: 8px;
}

.pops-content::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #eee;
}

.pops-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    cursor: pointer;
    width: 8px;
    cursor: pointer
}

.pops-content::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.pops-content > a {
    display: block;
    color: inherit;
    margin: 0;
}

.pops-content > a:hover {
    color: inherit;
}

.pops button.pops-close {
    position: absolute;
    z-index: 100;
    top: 12px;
    right: 12px;
    cursor: pointer;
    border-radius: 50%;
    background: #eee;
    padding: 5px;
    border: none;
    width: 34px;
    height: 34px;
}

.pops-container:not(.banner) button.pops-close {
    top: -16px;
    right: -16px;
}

.pops button.pops-close:hover {
    background: #000;
}

.pops button.pops-close svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: #000;
}

.pops button.pops-close:after {
    content: none;
}

@media only screen and (max-width: 767px) {
    .pops-container {
        padding: 0.5rem;
    }

    .pops.has-image .pops-image {
        display: none;
    }

    .pops-container:not(.banner) button.pops-close {
        right: 0px;
    }
}