/* popup */
.chrm-proposer-popup {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.50);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.chrm-proposer-popup-cnt {
    max-width: 1320px; 
    width: 100%; 

    position: relative;
    top: -300px;
}
.chrm-proposer-popup-cnt-top {
    position: relative;
    padding: 0 50px;
    min-height: 64px;
}
.chrm-proposer-popup-title {
    width: calc(100% - 44px);
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1.3;
    padding-bottom: 24px;
    font-family: var( --chrm-proposer-font-title-family);
    font-weight: var(--chrm-proposer-font-title-weight);
    text-transform: var(--chrm-proposer-font-title-style);
}
.chrm-proposer-popup-close {
    width: 24px;
    height: 32px;
    position: absolute;
    top: 6px;
    right: 50px;
    cursor: pointer;
}
.chrm-proposer-popup-close:before, .chrm-proposer-popup-close:after {
    position: absolute;
    left: 12px;
    top: 4px;
    content: ' ';
    height: 25px;
    width: 2px;
    background-color: #ffffff;
}
.chrm-proposer-popup-close:before {
    transform: rotate(45deg);
}
.chrm-proposer-popup-close:after {
    transform: rotate(-45deg);
}
.chrm-proposer-popup .chrm-proposer-glide {
    padding: 0 50px;
}
.chrm-proposer-popup.chrm-proposer-popup-active {
    display: flex;
}

.chrm-proposer-popup.chrm-proposer-popup-active .chrm-proposer-popup-cnt {
    animation-name: chrm-proposer-popup-anim;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;
    /*animation-delay: 0.5s;*/
}
@keyframes chrm-proposer-popup-anim {
    0% {
        top: -200px;
    }
    100% {
        top: 0;
    }
 }

/* */

.chrm-proposer-row {
    width: 100%;
    display: flex;
    justify-content: center;
}
.chrm-proposer-container {
    width: 100%;
    max-width: 1320px;
    position: relative;
}
.chrm-proposer-item {
    background-color: var(--chrm-proposer-item-background);
    border-top-left-radius: var(--chrm-proposer-item-rounding-top-left);
    border-top-right-radius: var(--chrm-proposer-item-rounding-top-right);
    border-bottom-left-radius: var(--chrm-proposer-item-rounding-bottom-left);
    border-bottom-right-radius: var(--chrm-proposer-item-rounding-bottom-right);
    overflow: hidden;
}
.chrm-proposer-item a {
    text-decoration: none !important;
}
.chrm-proposer-pic{
    position: relative;
    padding: var(--chrm-proposer-pic-padding);
    padding-bottom: 0;
    border-top-left-radius: var(--chrm-proposer-pic-rounding-top-left);
    border-top-right-radius: var(--chrm-proposer-pic-rounding-top-right);
    border-bottom-left-radius: var(--chrm-proposer-pic-rounding-bottom-left);
    border-bottom-right-radius: var(--chrm-proposer-pic-rounding-bottom-right);
    overflow: hidden;
}
.chrm-proposer-pic-cnt {
    width: 100%;
	height: 245px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.chrm-proposer-discount {
    position: absolute;
    bottom: 16.5%;
    right: 0;
    padding: 12px 16px;
    background-color: var(--chrm-proposer-discount-background);
    font-size: 18px;
    font-family: var( --chrm-proposer-font-content-family);
    font-weight: var(--chrm-proposer-font-title-weight);
    color: var(--chrm-proposer-color-title);
    border-top-left-radius: var(--chrm-proposer-discount-rounding);
    border-bottom-left-radius: var(--chrm-proposer-discount-rounding);
}
.chrm-proposer-text{
    padding-top: 16px;
    padding-right: var(--chrm-proposer-text-padding);
    padding-left: var(--chrm-proposer-text-padding);
    padding-bottom: 24px;
    text-align: var(--chrm-proposer-text-align);
}
.chrm-proposer-item-title {
    display: block;
    padding-bottom: 8px;
    font-size: 18px;
    font-family: var( --chrm-proposer-font-title-family);
    font-weight: var(--chrm-proposer-font-title-weight);
    color: var(--chrm-proposer-color-title);
    text-transform: var(--chrm-proposer-font-title-style);
}
.chrm-proposer-item-desc {
    display: block;
    font-size: 15px;
    font-family: var(--chrm-proposer-font-content-family);
    font-weight: var(--chrm-proposer-font-content-weight);
    color: var(--chrm-proposer-color-content);
}

/* carousel */
.chrm-proposer-container .glide__slides {
    padding: 0 !important;
    margin: 0 !important;
}
.chrm-proposer-container .glide__slide {
    height: auto;
}
.chrm-proposer-glide-bullets {
    margin-top: 25px;
    text-align: center;
  }
.chrm-proposer-glide-bullet {
    background-color: var(--chrm-proposer-color-title);
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
    opacity: 0.4;
    display: inline-block;
}
.chrm-proposer-glide-bullet:focus {
    outline: none;
}
.chrm-proposer-glide-bullet:hover, .chrm-proposer-glide-bullet:focus {
    border: none;
    background-color: var(--chrm-proposer-color-title);
}
.chrm-proposer-glide-bullet-active {
    background-color: var(--chrm-proposer-color-title);
    opacity: 1;
}
.chrm-proposer-glide-arrows {
    position: absolute;
    top: 50%;
    width: calc(100% - 100px);
    margin-top: -30px;
}
.chrm-proposer-glide-arrow  {
    width: 20px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    display: none;
}
.chrm-proposer-glide-arrow-left {
    left: -52px;
}
.chrm-proposer-glide-arrow-left:before, .chrm-proposer-glide-arrow-left:after,
.chrm-proposer-glide-arrow-right:before, .chrm-proposer-glide-arrow-right:after {
    position: absolute;
    left: 9px;
    content: ' ';
    height: 18px;
    width: 2px;
    background-color: #ffffff;
}
.chrm-proposer-glide-arrow-left:before {
    transform: rotate(45deg);
    top: 0;
}
.chrm-proposer-glide-arrow-left:after {
    transform: rotate(-45deg);
    top: 12px;
}
.chrm-proposer-glide-arrow-right {
    right: -52px;
}
.chrm-proposer-glide-arrow-right:before {
    transform: rotate(-45deg);
    top: 0;
}
.chrm-proposer-glide-arrow-right:after {
    transform: rotate(45deg);
    top: 12px;
}


/* media queries */
@media (min-width: 576px) {
    .chrm-proposer-pic-cnt {
        height: 400px;
    }
}
@media (min-width: 768px) {
    .chrm-proposer-pic-cnt {
        height: 260px;
    }
}
@media (min-width: 992px) {
    .chrm-proposer-pic-cnt {
        height: 230px;
    }
}  
@media (min-width: 1200px) {
    .chrm-proposer-popup-title {
        font-size: 28px;
    }
    .chrm-proposer-pic-cnt {
        height: 276px;
    }
}    
@media (min-width: 1400px) {
    .chrm-proposer-popup-title {
        font-size: 32px;
    }
    .chrm-proposer-glide-arrow {
        display: block;
    }
    .chrm-proposer-popup .chrm-proposer-glide-bullets {
        display: none;
    }
}    


