.bg-primary{
    background-color: var(--color-primary) !important;
}

.bg-opaque {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85),  /* solid at the top */
        rgba(0, 0, 0, 0.65) 40%, /* slow fade starts */
        rgba(0, 0, 0, 0.4) 70%,  /* more transparent */
        rgba(0, 0, 0, 0.15) 85%, /* almost gone */
        rgba(0, 0, 0, 0) 100%    /* fully transparent at bottom */
    ) !important;
}
.btn-primary{
    background-color: var(--color-primary);
    border: var(--color-primary);
    color: #eee !important;
}

.btn-primary:hover{
    background-color: var(--color-light);
    color: var(--color-primary) !important;
}
.btnblack .btn-text span input[type="submit"]{
    color: unset !important;
}

.btnblack .btn-text{
    cursor: pointer;
    margin-left: 18px;
}
.gutter{
    padding: 85px 0;
}

.month-card {
    padding: 20px;
    text-align: center;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #888;
}

.month-card:hover,
.month-card.active {
    background: var(--color-primary);
    color: #fff;
}

.fc-col-header-cell-cushion {
    font-size: 22px;
    font-weight: 400;
    text-transform: capitalize;
    color: #212529;
    padding: 18px 4px !important;
}

.fc-daygrid-day {
    border: 1px solid #dee2e6;
}

.fc-daygrid-day-number {
    display: block;
    width: 100%;
    color: #212529;
    font-size: 16px;
    font-weight: 400;
    background: #eee;
    text-align: center;
    padding: 11px 0 !important;
}

.fc-day-sat, .fc-day-sun {
    background-color: #f8f9fa;
}

.fc-daygrid-day:hover {
    background-color: #ffe5e5;
    cursor: pointer;
}

.fc-day-today {
    background-color: #eee;
    border: 1px solid #dc3545;
}

.fc .fc-scrollgrid-section > td {
    padding: 0;
}



.fc-col-header-cell-cushion {
    padding: 10px 0;
}

.fc-h-event .fc-event-main {
    color: #212529;
    padding: 3px;
}

.fc-h-event {
    background-color: unset;
    border: unset;
    display: block;
}


.fc-event-main div, .fc-event-main span {
    white-space: normal;
    word-wrap: break-word;
}

.desc-event{
    position: relative;
    padding-left: 12px;
}

.desc-event::before {
    content: "";
    height: 100%;
    width: 4px;
    background: #ea505359;
    top: 0;
    left: 4px;
    position: absolute;
    border-radius: 6px;
    padding-right: 2px;
}

#calendar {
    width: 100%;
}

.fc-event {
    transition: all 0.2s ease;
}

.fc-event:hover {
    background-color: #eee !important;
    border-color: none !important;
    color: #fff !important;
    cursor: pointer;
}


.fc-daygrid-day:hover {
    background-color: inherit !important;
}

.fc-daygrid-day:focus,
.fc-daygrid-day.fc-day-today {
    box-shadow: none;
}



/* Contact */
.rs-contact.main-home .contact-address {
  background-image:unset;
  padding: unset;
}

.sec-title2 .title2,.rs-contact.main-home .contact-address .address-item .address-text, .rs-contact.main-home .contact-address .address-item .address-text .label,.rs-contact.main-home .contact-address .address-item .address-text a,.rs-contact.main-home .contact-address .footer-social li a i{
    color: unset;
}

.contact-socials{
    font-size: 18px;
    border: 1.5px solid #b6b6b6;
    padding: 5px 10px;
    border-radius: 6px;
    background: #d9d9d9ad;
    color: #333333;
}

.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before{
    font-weight: 700 !important;
}
.rs-contact.main-home .contact-address .footer-social li{
    margin-right: 10px;
}



/* Nav */

.full-width-header .rs-header .menu-area .row-table .col-cell.header-logo .logo-area a{
    background: none !important;
    padding: 0 !important;
}

.full-width-header .rs-header .menu-area{
        background: transparent;
}

.contact-socials-parent{
    display: flex;
    column-gap: 10px;
}


#rs-slider:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    background-image: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.bar i:before{
    font-weight: 100 !important;
}
.full-width-header .rs-header .expand-btn-inner ul .humburger .nav-expander .bar {
    background: none;
    padding: unset;
    width: unset;
    height: unset;
}

.rs-slider .nivo-directionNav > a.nivo-nextNav:before {
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.rs-slider .nivo-directionNav > a.nivo-prevNav:before{
    content: "\f105" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.rs-header .menu-area.menu-sticky.sticky a i::before {
    color: rgb(18, 18, 18) !important;
}

/* Default state */
.logo-sticky {
    display: none;
}

/* Sticky state */
.rs-header .menu-area.sticky .logo-default {
    display: none;
}

.rs-header .menu-area.sticky .logo-sticky {
    display: inline-block;
}

.full-width-header .rs-header .menu-area.sticky .expand-btn-inner ul .contact-phone {
        border-right: 1px solid #212121;
    padding-right: 41px;
    padding-top: 7px;
    padding-bottom: 7px;
    display: flex;
    align-items: center;
}
.full-width-header .rs-header .menu-area.sticky .expand-btn-inner ul .contact-phone a,.full-width-header .rs-header .menu-area.sticky .expand-btn-inner ul .contact-phone i:before{
    color: #212529;
}

.full-width-header .rs-header .menu-area.sticky .expand-btn-inner ul .contact-phone i:before{
    border: 2px solid #212529;
}

.full-width-header .rs-header .menu-area.sticky .expand-btn-inner ul .search-parent{
    display: block;
}


.full-width-header .rs-header .menu-area.menu-sticky.sticky .expand-btn-inner ul .humburger .nav-expander .bar{
         border-left: unset!important;

}

.full-width-header .rs-header .menu-area.sticky .expand-btn-inner ul .humburger .nav-expander .bar{
    padding: 0 !important;
}

.fc-list-event-time, .fc-list-event-graphic{
    display: none;
}



/* Calendar single */

.calendar-single-figure > figcaption, figure > figcaption{
    font-weight: 300;
    font-style: italic;
}

span.calendar-single-time {
    font-size: 15px;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: #8888883b;
    margin: 50px 0;
}

.text-primary{
    color: var(--color-primary) !important;
}


footer#rs-footer:before {
    background-color: rgb(19 19 19 / 98%);
}

.rs-footer.style1 .footer-bottom {
    border-top: 1.5px solid #ea5053 !important
}

.rs-header .menu-area .logo-area .logo-default {
    margin-top: 10px;
}

.rs-header .menu-area .logo-area .logo-sticky {
    margin-top: 3px;
}




/* Home cafeteria and shop section  */

.card-link {
  text-decoration: none;
  position: relative;
}

.image-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
}

/* Dark overlay initially */
.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: opacity 0.4s ease;
}

/* Title */
.card-title {
  position: relative;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover effects */
.image-card:hover::before {
  opacity: 0;
}

.image-card:hover .card-title {
  transform: translateY(40px);
  opacity: 0;
}

/* Background images */
.cafeteria {
  background-image: url('../images/gallery/cafeteria-cinema-rif-tanger.jpeg');
}

.shop {
  background-image: url('../images/gallery/boutique-cinema-rif-tanger.jpg');
}



a.card-link:before {
    content: "";
    /* border-top: 33px solid #ea5053a3; */
    position: absolute;
    top: -27px;
    left: -31px;
    height: 100%;
    background: #ea5053;
    width: 100%;
    display: block;
}


.card-title:after {
    position: absolute;
    bottom: -5px;
    left: 0;
    display: block;
    width: 49%;
    height: 2px;
    content: '';
    transition: all .25s ease-in-out;
    background: #eb4e54;
}


.full-width-header .rs-header .expand-btn-inner ul .contact-phone a i:before {
        width: 35px;
    height: 35px;
    display: inline-block;
    border: 2px solid #fff;
    color: #ffffff;
    border-radius: 50%;
    line-height: 32px;
    text-align: center;
    margin-right: 10px;
    font-size: 19px !important;
}


/* Shop */

.shop-item img {
    transition: opacity 0.2s ease;
}

.shop-item:hover img {
    opacity: 0.8;
}


/* Cafeteria  */
.cafe-menu {
    max-width: 320px;
    font-size: 0.95rem;
}

.menu-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.item-name,
.item-price {
    white-space: nowrap;
    /* font-weight: 700; */
}

.item-name{
    font-style: italic;
}
.item-price{
    font-weight: 700;
}

.dots {
    flex: 1;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.4);
    margin: 0 0.5rem;
    transform: translateY(-2px);
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    max-width: 320px;
    padding: 0.25rem 0;
}

.opening-hours span:last-child {
    white-space: nowrap;
}

.custom-title,.custom-title-rtl, .custom-title-lg{
    position: relative;
}
.custom-title::after{
    position: absolute;
    bottom: -5px;
    left: 0;
    display: block;
    width: 7%;
    height: 2px;
    content: '';
    transition: all .25s ease-in-out;
    background: #eb4e54;
}
.custom-title-rtl::after{
    position: absolute;
    bottom: -5px;
    right: 0;
    display: block;
    width: 7%;
    height: 2px;
    content: '';
    transition: all .25s ease-in-out;
    background: #eb4e54;
}
.custom-title-lg::after{
    position: absolute;
    bottom: -5px;
    left: 0;
    display: block;
    width: 20%;
    height: 2px;
    content: '';
    transition: all .25s ease-in-out;
    background: #eb4e54;
}

.custom-container, .custom-card{
    position: relative;
}


.custom-container:before{
        width: 100px;
    height: 100px;
    content: "";
    position: absolute;
    background: #ea5053;
    right: -19px;
    top: -23px;
    z-index: -1;
}
.custom-container:after{
    width: 100px;
    height: 100px;
    content: "";
    position: absolute;
    background: #181818;
    left: -19px;
    bottom: -23px;
    z-index: -1;
}

.custom-card:before{
        width: 100px;
    height: 100px;
    content: "";
    position: absolute;
    background: #ea5053;
    right: -13px;
    top: -13px;
    z-index: -1;
    border-top-right-radius: 6px;
}

.card, .rs-team.style1 .team-item-wrap .images-wrap a img,.rs-portfolio-details .project-gallery .file-list-image .img-part img{
    border-radius: unset !important;
}


.rs-portfolio-details .project-gallery .file-list-image .img-part img {
    transition: 0.3s all ease;
    height: 250px;
    border-radius: 5px;
    object-fit: cover;
    width: 100%;
}

.full-width-header .rs-header .expand-btn-inner ul .humburger .nav-expander .bar {
    background: unset;
    padding: unset;
    width: unset;
    height: unset;
    overflow: unset;
    display: unset;
    justify-content: unset;
    align-items: unset;
}


.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a{
    font-size: 13px !important;
}


.rs-project.style1 .slick-arrow {
    right: 36% !important;
    z-index: 997;
    top: 115% !important;
}

.rs-project.style1 .slick-arrow.slick-next {
    left: 64%;
    background: var(--color-primary);
}


.fc-list-day-cushion.fc-cell-shaded {
    justify-content: center;
    display: flex;
    column-gap: 4px;
    flex-direction: row-reverse;
}

.fc-list-day-text {
    color: black;
    text-transform: capitalize;
}

a.fc-list-day-side-text {
    color: black;
    text-transform: capitalize;
}


/* Event cinema affich detail page card */
.program-card figcaption {
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    margin-bottom: 14px;
    color: #000000bf;
}

.program-card figcaption:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    background-color: #ea50535e;
    height: 100%;
}


.rs-team.style1 .team-item-wrap .images-wrap:before {
    height: 110%;
}


.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.page-link, .page-link:hover {
    color:var(--color-primary);
}

#langDropdown {
    position: relative;
}

#langMenu {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: #fff;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border: 1px solid #ddd;
    z-index: 9999;
    width: 60px;
}

#langMenu li a {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
    color: #000;
}


.tabs_calendar .nav-tabs {
    border-bottom: 1.5px solid #33333336;
}


.btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    border-color: var(--color-primary) !important;
     outline: none !important;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}
.btn-primary:hover {
    outline: none !important;
    color: white !important;
}