@media (min-width:768px) {

    .sort-menu.collapse:not(.show),
    header>div:first-of-type.collapse:not(.show) {
        display: block;
    }

    .login-page-tab {
        right: 129px !important;
        bottom: 100%
    }

    .sign-up-page-tab {
        right: 7px !important;
        bottom: 100%
    }

    /* ---------------20240525 */
    .admin-login>article>.row>.col {
        height: 100vh;
    }

}

@media (min-width:992px) {

    .login .position-absolute.login-img,
    .position-absolute.sign-img,
    .position-absolute.be-seller-sign-up-img {
        position: static !important;
    }

    .coupon .owl-carousel .owl-dots.disabled,
    .coupon .owl-carousel .owl-dots {
        top: -57px;
        right: 0;
    }

}

@media (min-width:1200px) {
    .owl-dots {
        display: none;
    }

    .carousel-custom .owl-nav.disabled,
    .carousel-custom .owl-nav {
        display: inline-block;
    }

    .login-page-tab {
        right: 129px !important;
        bottom: 100%
    }

    /* 20250126 ↓↓↓-------------------------- */
	 main div:not(.les-offres div)>.row.g-4 {
        flex-wrap: nowrap;
    }


    main.coupon .row.g-4>.col-xl-5:nth-of-type(1) {
        flex: 0 0 33.33333333%;
    }

    main.coupon .row.g-4>.col-xl-5:nth-of-type(2) {
        flex: 0 0 48%;
    }

    main.coupon .row.g-4>.col-xl-2,
    .personal-data article>div .col-xxl-10,
    .pro-aside article>div .col-xxl-10,
    .my-information article>div .col-xxl-10,
    .my-pro-coupons article>div .col-xxl-10,
    .faq .box-page>.d-flex.align-items-stretch.px-xxl-5>.col-md-10 {
        flex: 1 1 auto !important;
    }

    .personal-data article>div .col-xxl-2,
    .pro-aside article>div .col-xxl-2 {
        flex: 0 0 25%;
    }
	
    .personal-data article>div .col-xxl-10,
    .pro-aside article>div .col-xxl-10 {
        width: 75% !important;
    }

    .my-information article>div .col-xxl-2,
    .my-coupons article>div .col-xxl-2,
    .my-pro-coupons article>div .col-xxl-2,
    .faq .box-page>.d-flex.align-items-stretch.px-xxl-5>.col-md-2 {
        flex: 0 0 20%;
    }
    
    /* 20250126 ↑↑↑-------------------------- */
}

@media (min-width:1279.5px) {
    #sort-menu.navbar-collapse {
        overflow-x: auto;
        overflow-y: hidden;
    }

}

@media (min-width:1400px) {
    button[aria-controls="sort-menu"] {
        display: none !important;
    }
}

@media (min-width: 1512px) {
    .box {
        max-width: 1460px;
    }
}

@media (min-width:1600px) {
    .container {
        max-width: 1400px
    }
}

@media (min-width: 1728px) {
    .box {
        max-width: 1660px;
    }
}

@media (min-width: 1900px) {
    .box {
        max-width: 1830px;
    }

    .box-page {
        max-width: 1638px;
    }
}

@media (min-width: 2160px) {
    .box {
        max-width: 2000px;
    }

    .box-page {
        max-width: 1638px;
    }
}

@media (max-width:1399px) {
    .sort-menu h2+button[aria-expanded="true"] .icon-menu:before {
        content: "\e957";
    }

    @page {
        width: 1240px !important;
        height: 1754px !important;
    }
}

@media (max-width:1366px) {
    header.box.container {
        width: 100% !important;
        max-width: 1366px;
    }

    .pro-aside aside li a span:nth-of-type(2) {
        white-space: nowrap
    }

    .company-logo {
        top: -65px;
    }
}

@media (max-width:1279px) {
    .sort-menu .navbar-collapse .navbar-nav {
        flex-wrap: wrap;
    }

    #carousel-ads .owl-nav,
    .carousel-custom .owl-nav {
        display: none;
    }
}

@media (min-width:768px) and (max-width:1199px) {
    aside li.active span.d-xl-inline-block {
        display: inline-block !important;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .offres .row-cols-md-2>* {
        min-height: 180px;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .offres .row-cols-md-2>* {
        min-height: 250px;
    }
}


@media (max-width:1199px) {
    .bg-img.square {
        padding-bottom: calc(100% - 5px);
    }

    .member-avatar .dropdown-toggle {
        border: none !important;
    }

    .search-area {
        height: 500px;
    }

    #map {
        position: absolute !important;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }

    aside.personal ul li a {
        background-color: #f2f2f2;
        border-right: 1px solid rgba(0, 31, 66, 0.529);
        border-left: 1px solid rgba(0, 31, 66, 0.529);
    }

    .coupon .carousel-custom .owl-dots button.owl-dot:first-of-type span {
        width: 130px !important;
        height: 25px;
    }

    .coupon .carousel-custom .owl-dots button.owl-dot:first-of-type~* {
        display: none;
    }

    /* 20250126  ↓↓↓-------------------------- */
    .offres .card-footer.position-absolute {
        bottom: -38px !important;
        right: 0 !important;
    }

    .my-pro-coupons article>div>.col-xxl-10 section>.bg-info .col-xl-3 {
        width: 25%;
    }

    /* 20250126 ↑↑↑-------------------------- */
}

@media (max-width:991px) {
    .card-img-overlay .card-text {
        font-size: 0.875rem !important;
    }

    .card-img-overlay .card-title {
        font-size: 1.2rem !important;
    }

    #carousel-ads .owl-dots .owl-dot span,
    .carousel-custom .owl-dots .owl-dot span {
        width: 7px;
        height: 7px;
        margin: 0 3px;
        background-color: #001F42;
    }

    #carousel-ads .owl-dots .owl-dot.active span {
        background: #ffffff;
        width: 20px;
    }

    #carousel-ads .owl-dots .owl-dot.active span,
    .carousel-custom .owl-dots .owl-dot.active span {
        width: 30px !important;
    }

    #carousel-ads .owl-dots {
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

    .go-top {
        left: auto;
        right: -30px !important;
    }


    .all-coupons .offcanvas-lg {
        overflow-y: scroll;
    }

    .login .position-absolute.sign-img {
        right: 4px
    }

    .for-table thead {
        display: none;
    }

    .for-table tbody tr {
        display: block;
        margin: 10px 0;
    }


    .for-table tbody th {
        display: block;
        text-align: left;
        color: #0C2C40;
        border: none;
    }

    .for-table td:nth-of-type(n)::before {
        content: attr(m-show);
        color: #49607F;
        display: block;
        white-space: nowrap !important;
        padding-right: 0.5rem;
    }

    .for-table td:nth-of-type(n) {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        /* justify-content: center; */
        flex: 0 0 auto;
        width: 100%;
    }

    .for-table [id*="-area"] td:nth-of-type(1) {
        display: flex;
        flex: 0 0 auto;
        width: 80%;
    }

    .for-table [id*="-area"] td:nth-of-type(2) {
        display: flex;
        flex: 0 0 auto;
        width: 20%;
    }

    .for-table tbody td {
        display: inline-block;
        text-align: left;
        color: #0C2C40;
    }

    .for-table tbody tr {
        display: flex;
        align-items: start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .for-table tbody th {
        flex: 0 0 auto;
        width: 100%;
        background-color: #f2f2f2;
    }

    .for-table td {
        border: none !important;
    }

    .for-table tr.show {
        top: -113px;
    }

    .choose-day button {
        width: 33px;
        height: 33px;
    }

    .coupon .owl-carousel .owl-dots {
        top: -54px;
        left: 109px;
    }

    .company-logo {
        top: -85px;
        left: 0;
    }

    .page-pro #pro-carousel .f-carousel__slide {
        max-height: 300px !important;
    }

    .les-offres a .card-footer,
    .all-coupons a .card-footer {
        flex-wrap: wrap;
    }

    .les-offres a .card-footer span:last-of-type,
    .all-coupons a .card-footer span:last-of-type {
        /* margin-left: auto; */
        flex: 0 0 100%;
        text-align: center;
    }

    .contact form>.d-inline-block.col-md-7 {
        display: block !important;
        text-align: end;
        margin-top: 2rem;
        width: 100%;
    }

}

@media (max-width:830.5px) {
    .page-pro-banner>img {
        object-fit: cover !important;
    }
}

@media (max-width:767px) {
    #sort-menu.collapse {
        display: block !important;
    }

    .for-device ul:not(.member-avatar ul) {
        position: absolute;
        z-index: 2;
    }

    #pro .sort-menu,
    .home .sort-menu {
        margin-top: 4.5rem;
    }

    header {
        background-color: #001F42;
    }

    .for-device .box>div>div.collapse:not(.show) {
        display: none !important;
    }

    .cell-show {
        width: 100%;
    }

    header>div:first-of-type.show+.top.for-device:not(.home .top.for-device) {
        margin: 3.5rem 0 0.75rem 0;
    }


    .login .position-absolute.login-img {
        right: 0
    }

    .login article,
    .be-seller article {
        border-radius: 30px 30px 0 0;
        box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.3);
    }

    .company-logo {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -75%);
    }

    .cell-show>li[aria-expanded="true"] .icon-menu::before {
        content: "\e957";
        font-size: 2.5rem;
        background-color: #f0f8ff69;
        border-radius: 30px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        display: inline-block;
        color: #add;
    }

    /* 20250126 ↓↓↓-------------------------- */
    .my-pro-coupons article>div>.col-xxl-10 section>.bg-info .col-xl-3 {
        width: auto;
    }

    /* 20250126 ↑↑↑-------------------------- */
}

@media (max-width:575px) {
    .page-item {
        width: 48%;
        text-align: center;
    }

    .page-item .page-link {
        border-radius: 8px !important;
    }

    .page-item:first-of-type .page-link {
        background-color: rgba(241, 243, 248, 0.5);
        border: 1px solid rgba(0, 31, 66, 0.5) !important;
    }

    .page-item:last-of-type .page-link {
        border: 1px solid #001F42 !important;
        background-color: #F1F3F8;
        margin-left: 0 !important;
    }

    .go-top {
        position: fixed !important;
        right: 0 !important;
        bottom: 10%;
        top: auto !important
    }

    header>div:first-of-type.show+.top.for-device:not(.home .top.for-device) {
        margin: 5rem 0 0;
    }


    .member-avatar .custom-dropdown.dropdown-toggle::after {
        content: "";
    }

    .logo+.for-login-cell {
        margin-left: 0.8rem;
    }

    header .cell-show .icon {
        width: 30px;
    }

    .logo+.for-logout-cell {
        margin-left: 1rem;
    }

    .contact form.border-end {
        border: none !important
    }


    header>.for-device:not(.home .for-device) {
        margin-bottom: 40px;
    }

    html#pro header>.for-device {
        /* margin-bottom: 20px; */
        padding: 1rem 0;
    }

    .choose-day button {
        width: 40px;
        height: 40px;
    }

    .my-pro-coupons .page-item {
        width: 100%;
    }

    .coupon .owl-carousel .owl-dots {
        top: -54px;
        left: 109px;
    }

    html#pro .member-avatar .dropdown-menu.show {
        transform: translate(0px, 57px) !important;
    }

    #add-area .delete-btn::after {
        left: 0px;
        top: -7px;
        padding: 0.5rem 0.8rem;
    }

    .social-media-icon a span {
        font-size: 1.8rem !important;
    }

    .add-date .choose-day+div,
    .add-date .del-date-btn {
        position: absolute;
        right: -10px;
        bottom: 5px;
    }

    html#pro body:not(.home) header:not(.home-page) #for-device.show {
        padding: 5rem 0 0;
    }

    .for-device {
        padding: 1rem 0;
    }

    .order-1.for-device {
        order: 2 !important;
    }

    .order-1.for-device #for-device.show {
        padding-top: 0 !important;
    }

    /* 20260126 ↓↓↓------------ */
    [for="Type-news"]+div>div:nth-of-type(1)>div:nth-of-type(2) {
        flex-wrap: wrap;
    }

    [for="Type-news"]+div>div:nth-of-type(1)>div:nth-of-type(2)>* {
        width: 50%;
        margin-bottom: 1rem;
    }
    /* 20260126 ↑↑↑-------------*/
	
	aside.personal>ul>li a.py-3.px-4{
        padding: 0 1.5rem !important;
        height:60px
    }

}

@media (max-width:390px) {
    #add-area .delete-btn::after {
        top: 4px;
    }
}