/********** Template CSS **********/

/*
    $primary: #2E3092;
    $secondary: #F29F80;
    $light: #efefef;
    $dark: #333;

    --jl_blue: #2E3092;
    --jl_blue_desaturated: #1b1c45;
    --jl_orange: #F26E20;
    --secondary / light_orange: #F29F80;
    --light_pale_orange: #F2E4DC;
    --light_blue:#5C5DE4;
    --light_blue_desaturated: #91A2D0;
    --dark: #333;
    --light / offwhite: #efefef;
*/

:root {
    /* --primary: #2E3092;
    --secondary: #F29F80;
    --light: #efefef;
    --dark: #333; */

    --primary: #F26E20;
    --secondary: #F29F80;
    --light: #efefef;
    --dark: #333;
    /*fifi coming to the rescue
        F29F80
    */
    --jl_orange: #F26E20;
    --jl_pale_orange: #F2E4DC;
    --jl_blue: #2E3092;
    --jl_blue_desaturated: #1b1c45;
    --ff-primary: "Noto Sans Arabic", sans-serif;
    --ff-headings: 'Noto Serif', serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
}
 
.py-6 {
    padding-top: 1rem; 
    padding-bottom: 3rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.img-fluid{
    max-height: 1080px;
    object-fit: cover;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 35px 15px;
    color: var(--light);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.fixed-top {
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .3);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

}

/*small view on desktop + mobile view*/
@media (max-width: 767px){

    .f-locations-borders{
        border: none !important;
    }

}

@media (max-width: 576px){
    
    .f-shrink-text-mobile{
        font-size: 1.15rem !important;
    }
}

@media (max-width: 400px){
    .f-shrink-text-mobile{
        font-size: 0.9rem !important;
    }
}



@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 600px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .f-extra-title-word{
        display: none !important;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-nav {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -40px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-carousel .owl-nav::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transform: rotate(45deg);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: relative;
    font-size: 40px;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.page-header {
    margin-bottom: 6rem;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** About ***/
.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;

    border: 10px double var(--jl_orange);
    border-radius: 3%;

    /* background: var(--secondary);
    border: 25px solid var(--jl_pale_orange);
    border-radius: 6px; */
    z-index: -1;
}


    /* background-image: url("../img/jawhara.png"); */


/*** Product ***/
.product-item {
    transition: .5s;
}

.product-item:hover {
    background: var(--primary) !important;
}

.product-item:hover * {
    color: var(--light);
}

.product-item:hover .border-primary {
    border-color: var(--light) !important;
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .product-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-item .team-text {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light);
    transition: .5s;
}

.team-item:hover .team-title {
    top: -100px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-item h5.mb-1{
    color: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--jl_blue_desaturated) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--jl_blue_desaturated);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

/* .footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
} */

/* .footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
} */

.copyright {
    background: #111111;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/* _____________________________________________________________________________________________________________________
FIFI STYLES
________________________________________________________________________________________________________________________*/

/* .container{
    padding: 5% 2%;
} */

/* .f-card{
    max-height: 750px;
    overflow: hidden;
} */

.owl-carousel-item{
    max-height: 92vh;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-14850px);
    }
}

.f-slider {
    background: white;
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.125);
    height: 32vh;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.f-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.f-slider::before {
    left: 0;
    top: 0;
}

.f-slider .f-slide-track {
    width: 100vw;
    animation: scroll 225s linear infinite;
    padding: 1vh 0;
}

.f-slide img{
    max-height: 30vh;
}

.f-prod-list{
    font-size: 1.3em;
    font-weight: 700;
    background-size: cover;
    /* min-height: 20vh; */
    /* text-align: center; */
    /* box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5); */
}

.f-width-50{
    width: 50%;
}

.f-logo-img{
    min-width: 25px;
    max-width: 40px;
    width: 10%;
    vertical-align: middle;
}

.f-expanded-text, .f-show-less{
    display: none;
}

.f-show-more,
.f-show-less{
    color: var(--primary);
    font-weight: 700;
}

.f-show-more:hover,
.f-show-less:hover{
    color: var(--jl_blue);
    cursor: pointer;
}

.f-card p{
    color: var(--light);
}

.f-card-subtitle{
    font-weight: 700;
}

.f-card-ingredients{
    font-size: 0.8em;
    font-weight: 200;
}

.f-card h2{
    color: var(--primary);
}

.f-overlay{
    background-color: rgba(0, 0, 0, 0.5);
}

h1{
    padding: 5% 2%;
}

.f-rounded-container{
    border-radius: 15px;
}

.team-row{
    margin-top: 2%;
}

.team-catchy-text{
    color:var(--light);
    padding: 2% 1%;
}

.hacheling{
    color: var(--primary)
}

.f-branch-btn::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.footer-branch-expand{
    display: none;
}

.f-branch-table td{
    color: var(--light);
}

.f-branch-name-cell{
    border-bottom: none;
}

.f-table-phone{
    text-align: right;
}

td.f-td-pad{
    padding-top: 5%;
}

.f-table-times{
    border-top: none;
    font-size: 0.9em;
    font-weight: 200;
    color: var(--secondary);
}

.f-about-number {
    font-size: 15vh;
    font-family: var(--ff-headings);
}

/*
    style="max-width: 500px;
*/
.media-scroller {
    display: grid;
    gap: 5px;
    grid-auto-flow: column;
    grid-auto-columns: 270px;
    overflow-x: scroll;
    overscroll-behavior-inline: contain;
}

.snaps-inline{
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 1rem;
}

.snaps-inline > *{
    scroll-snap-align: start;
}

.f-btn-row{
    justify-content: space-between;
    align-content: baseline;

}

.f-location-btn{
    padding: 1%;
    align-items: flex-start;
}

.f-location-with-graphic-container p {
    margin: 1% 0;
}

.f-location-btn p.f-location-btn-name{
    margin: 0 0 5% 0;
    padding:0;
    font-size: 1.08em;
    font-weight: 500;
}

.f-location-with-graphic-container p:last-child{
    text-align: left;
}

.f-location-with-graphic-container{
    display:inline-flex;
    align-items: baseline;
}

/* MAKE PARSLEY PRETTY*/

.parsley-errors-list{
    list-style: none;
    color: var(--primary);
    padding: 0.5em 0;
}
