@keyframes fade {
    0% {
        opacity: 0;
        transform: translate(0, 3rem);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .in-view {
        animation: fade 0.6s 0.5s both;
    }

    .not-in-view {
        opacity: 0;
    }
}
/* stores_css */
.card-hafsa:hover .card-body {
    background: #2F2F2F !important;
    box-shadow: 0px 10px 20px #2F2F2F;
}
.card-hafsa .card-body{
    padding-left:1rem !important;
}
.card-hafsa:hover .card-body h4,
.card-hafsa:hover .card-body p{
    color:#fff !important;
}
.card-hafsa .card-body {
    background-color: #fff;
}
.heading_wraps-card{
    height:unset !important;
}


/* stores_css */



p.percent_off {
    font-size: 23px;
    font-family: "proxima-nova-bold";
    color: #464646;
    opacity: 0.6;
}

.heading_wraps-card h4 {
    padding-top: 0px;
}

.heading_wraps-card {
    height: 130px;
}

a.store_details-link {
    padding-left: 10px;
}

a.store_details-link img {
    width: 22px;
}

.all_stores-dropdown {
    margin-bottom: 50px;
}

button.btn.btn-primary.dropdown-toggle {
    color: #000;
    border: 1px solid #C3C3C3;
    border-radius: 5px;
    font-size: 21px;
    font-family: "proxima-nova";
    padding-left: 0px;
    padding-right: 0px;
    width: 180px;
    background: #fff;
    height: 55px;
}

.card-hafsa:hover .card-body p.percent_off {
    color: #fff;
    opacity: 0.8;
}

.hover_display_link:hover .dropdown-content {
    display: block !important;
}

.offers_imgs {
    filter: none;
}

.bg-image:after {
    background: #00000017 !important;
}

img.banner.offers_imgs {
    height: 275px;
    object-fit: cover;
}



.bg-text {
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.bg-image.img_offers {
    margin-top: -1px;
}

.dropdown.stores button.dropdown-toggle {
    position: relative;
}

.dropdown.stores button.dropdown-toggle::after {
    border: 0px;
    background: url(../images/arrow_down.png);
    background-size: contain;
    width: 20px;
    height: 20px;
    position: relative;
    top: 9px;
}

.dropdown.stores button.dropdown-toggle.show:after {
    rotate: 180deg;
}

.for_mobile-offer-pic {
    display: none;
}

@media only screen and (min-width: 280px) and (max-width: 767px) {

    .bac-text-1 {
        font-size: 44px;
    }

    .for_mobile-offer-pic {
        height: auto !important;
    }

    .for_mobile-offer-pic {
        display: block;
    }

    .for_desktop-offer-pic {
        display: none;
    }

    .all_stores-dropdown {
        position: relative;
        width: 100%;
    }

    .dropdown.stores {
        float: right;
    }

    .all_stores-dropdown {
        margin-bottom: 36px;
    }

    .second_sections-wraps {
        padding-top: 35px !important;
    }

    .dropdown.stores ul.dropdown-menu {
        background: #fff;
    }
}

@media only screen and (min-width: 280px) and (max-width: 399px) {
    .bac-text-2 {
        font-size: 18px;
        padding: 0 25px;
    }
}

@media only screen and (min-width: 400px) and (max-width: 767px) {
    .bac-text-2 {
        font-size: 18px;
        padding: 0 40px;
    }
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    .bac-text-2 {
        padding: 0px 40px;
    }
}

@media screen and (min-width: 1300px) {
    .bac-text-2 {
        padding: 0px 60px;
    }
}

@media screen and (min-width: 1400px) {
    img.banner.offers_imgs {
        height: 280px;
        object-fit: cover;
    }
}

@media screen and (min-width: 1500px) {
    img.banner.offers_imgs {
        height: 350px;
        object-fit: cover;
    }
}

@media screen and (min-width: 1600px) {
    img.banner.offers_imgs {
        height: 370px;
        object-fit: cover;
    }
}

.card-hafsa .card {
    border-radius: 0px;
}

@media screen and (min-width: 1400px) {
    .newsletter_footer-for_mobile.hide_mobile-newslttr {
        margin-bottom: 1.4rem;
    }
}

@media screen and (min-width: 1900px) {
    .newsletter_footer-for_mobile.hide_mobile-newslttr {
        margin-bottom: 1.4rem;
    }
}

button.submit_wraps {
    transition: all .2s ease-in-out;
}

button.submit_wraps:hover {
    transform: scale(1.1);
}

/* for fade after search */
.modal.fade.show {
    background: #000000c9 !important;
}

@media only screen and (min-width: 280px) and (max-width: 767px) {
    .second_sections-wraps .row {
        clear: both;
        padding-top: 10px;
        width: auto !important;
    }

    .bg-image:after {
        background: transparent !important;
    }
}

.second_sections-wraps .row {
    clear: both;
    width: 100%;
}

p.card-para-2 svg {
    width: 20px;
    margin-left: 14px;
    margin-bottom: -21px;
}

.bg-image.img_offers img.banner.offers_imgs {
    height: auto;
}

.bg-image.img_offers .bg-text {
    transform: translate(-30%, -50%) !important;
}

.bg-image.img_offers .bg-text p {
    font-size: 16px
}

@media (max-width:767px) {
    .bg-image.img_offers img.banner.offers_imgs {
        height: 300px !important;
    }

    .bg-image.img_offers .bg-text {
        transform: translate(-50%, -50%) !important;
    }

    .bg-image.img_offers .bg-text p {
        font-size: 16px;
    }

    .bg-image.img_offers img.banner.offers_imgs {
        height: auto !important;
    }

    .bg-image.img_offers:after {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(27, 25, 25, 0.3) !important;
        z-index: 2;
    }

    .bg-image.img_offers .bg-text {
        z-index: 3;
        transform: translate(-50%, -150%) !important;
    }
}

.card-hafsa .card-body {
    background-color: transparent !important;
}

.card-hafsa .card {
    background: transparent;
}

.card-hafsa:hover .card-body {
    background: transparent;
    box-shadow: none;
}

.card-hafsa:hover .card-body h4.card-title {
    color: #000;
}

.card-hafsa .card-body {
    padding-left: 0;
    transition: 0.3s all ease-in-out;
}

.in-view {
    animation: none !important
}

.card-hafsa img.card-img-top {
    height: auto;
}

.card-hafsa.mantr p.card-para-2.in-view path {
   fill: #c5a47e !important;
}
