@charset "ISO-8859-1";

#postsModal {
    padding: 0 !important;
    border-radius: 0 !important;
}

#postsModal .modal-dialog {
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 100%;
    margin: 0;
}

#postsModal .modal-content {
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
}

.offer-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    margin: 0;
    padding: 0;
    height: 100%;

}

.offer-carousel .offer-card-section {
    position: relative;
    z-index: 1;
    -webkit-transform: scale(0.6) translateY(-2rem);
    transform: scale(0.6) translateY(-2rem);
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
    background: white;
    transition: 1s;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;

}

.offer-carousel .offer-card-section .offer-card {
    width: 100%;
}

.offer-carousel .offer-card-section:after {
    content: '';
    position: absolute;
    height: 2px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    bottom: -5rem;
    -webkit-filter: blur(4px);
    filter: blur(4px);

}

.offer-carousel .offer-card-section:before {
    content: '';
    position: absolute;
    height: 2px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    bottom: -5rem;
    -webkit-filter: blur(4px);
    filter: blur(4px);

}

.offer-carousel .offer-card-section.active {
    position: center;
    z-index: 3;
    -webkit-transform: scale(1) translateY(0) translateX(0);
    transform: scale(1) translateY(0) translateX(0);
    opacity: 1;
    pointer-events: auto;
    transition: 1s;

}

.offer-carousel .offer-card-section.prev {
    z-index: 2;
    -webkit-transform: scale(0.8) translateY(-1rem);
    transform: scale(0.8) translateY(-1rem) translateX(10%);
    opacity: 1;
    pointer-events: auto;
    transition: 1s;

}

.offer-carousel .offer-card-section.next {
    z-index: 2;
    -webkit-transform: scale(0.8) translateY(-1rem);
    transform: scale(0.8) translateY(-1rem) translateX(-10%);
    opacity: 1;
    pointer-events: auto;
    transition: 1s;

}

.offer-card .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.offer-card .card-img-top {
    width: 100%;
    max-height: 512px;
    min-width: 250px;
    object-fit: cover;
}

.offer-card .card-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 10px 10px;
}

.offer-card .card-text {
    color: var(--allzin-main-color);

}

.offer-card .button-section {
    background-color: var(--allzin-main-color);
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-radius: 4px;
}


.offer-card .close-btn {
    background-color: white;
    color: black;
    margin: 2%;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: none;
}

.offer-card .details-btn {
    background-color: white;
    color: var(--allzin-main-color);
    margin: 2%;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: none;
}

.offer-card .details-btn .details-text {
    color: var(--allzin-main-color) !important;
}

.offer-card .card .card-body a {
    color: inherit !important;
}

.offer-card .card .card-text {
    font-size: 12px !important;
}

.offer-card .card .card-text:first-of-type {
    margin-top: 0.5rem !important;
    margin-bottom: -0.5rem;
} 

.modal-content section {
	background-color: rgba(0,0,0,0);
	overflow: hidden;
	height: 100%;
	position: relative;
}