@font-face {
    font-family: "SF Arabic"; 
    src: local('SF Arabic'), local('SFArabic'), url('https://static.papaya.com.sa/fonts/SF-Arabic.ttf') format('woff2-variations');
    font-weight: 1 1000;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://static.papaya.com.sa/fonts/Assistant-Latin-Regular.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Courgette';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://static.papaya.com.sa/fonts/Courgette-Latin-Regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.ar-text {
    direction: rtl;
}

:root {
    --default-font-stack: "Courgette", "SF Arabic", -apple-system, BlinkMacSystemFont, -system-ui, system-ui, sans-serif;
    --header-height: 70px;
    --categories-height: 60px;

    --font-size-small: 0.8rem;
    --font-size-text: 1rem;
    --font-size-title: 1.25rem;

    --font-scale-1: 1rem;
    --font-scale-2: 1.25rem;
    --font-scale-3: 1.563rem;
    --font-scale-4: 1.953rem;
    --font-scale-5: 2.441rem;

    /*--font-size-*/
    --font-size-h3: 1.563rem;
    --font-size-h2: 1.953rem;
    --font-size-h1: 2.441rem;

    --color-background-main: rgb(247, 247, 247);

    --color-primary: rgba(255, 208, 0, 1.0);
    --color-primary-transparent: rgba(255, 208, 0, 0.9);
    --color-primary-50: rgba(254, 209, 10, 0.5);
}

@media (min-width: 60em) {
    :root {
    	--header-height: 120px;
        --categories-height: 65px;
    }
}


body, h1, h2, h3, h4, h5, h6 {
    font-family: var(--default-font-stack);
}

body {
    background-color: var(--color-background-main);
}

header {
    background-color: rgba(255,255,255,0.8);
    position: relative;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.07);
    z-index: 500;
    -webkit-backdrop-filter: saturate(200%) blur(10px);
    backdrop-filter: saturate(200%) blur(10px);
}

#page_home header {
    position: sticky;
    top: 0;
    left: 0;
}

.header-proper {
    height: var(--header-height);
    display: flex;
    position: relative;
}

#site-link {
    flex: initial;
    /* vertically center content */
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 0.5rem;
}

#logo { 
	width: 64px;
}

.site-navigation {
    flex: auto;
    flex-direction: column;
    
    font-weight: 500;
    text-transform: lowercase;
    font-size: var(--font-size-text);
    
    color: rgba(255,255,255);
}

#main-navigation {
    display: none;
    position: absolute;
    top: 0;
    width: 50%;
    padding-top: 84px;
    padding-bottom: 24px;
    right: 0;
    background-color: #2da4d5;
    border-radius: 0 0 0 14px;
    border-left: 6px solid #207da4;
    border-bottom: 6px solid #207da4;
    transition: all 0.1s ease-in;
    z-index: 200;
}

#main-navigation.navigation-toggled {
    display: flex;
}

.site-navigation a {
    display: flex;
    flex: initial;
    /* center contents */
    
    justify-content: center;
    flex-direction: column;

    text-align: center;

    color: black;
    /*text-shadow: 1px 1px 0 #000;*/

    transition: all 0.05s ease;
}

#main-navigation a {
    padding: 0.75rem 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35), rgba(0, 0, 0, 0));
    background-repeat: no-repeat;
    background-size: 50% 1px;
    background-position: center 0;
}
 

#main-navigation a:first-child {
    background-image: none;
}


#main-navigation a:hover, #main-navigation a.selected {
    background: radial-gradient(circle at center center, rgba(255, 244, 169, 0.5) 0%, rgba(255, 255, 255, 0) 50%);
    /*background: linear-gradient(to top, rgb(255,231,172) 0%, rgb(255,222,142) 10%, rgba(255, 255, 255, 0) 10%);*/
    background-repeat: no-repeat;
    color: #fff;
}

#main-navigation #book-link:hover {
    background-image: none;
}

#pinned-navigation-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: auto;
}

.faux-button {
    border: 1px solid #c22329;
    border-bottom: 3px solid rgb(121, 17, 19);
    padding: 0.325rem 1.5rem 0.2rem 1.5rem;
    margin: 0 0.75rem;
    background-color: rgb(221 40 95);
    border-radius: 16px;
    box-shadow: 0 0 4px 3px rgb(162, 28, 59), 0.2;
    transition: 0.1s all ease;
    color: #fff;
    text-align: center;
    text-shadow: 0px 1px rgba(255, 255, 255, 0.3);
    margin-top: 2px;
}

a:hover .faux-button {
    background-color: rgb(177, 68, 101);
    transform: translate(0, 2px);
}

.faux-button .ar-link {
    font-size: var(--font-size-text);
    margin-bottom: 0;
}

.ar-link {
    line-height: 1.2;
    font-size: 1rem;
    direction: rtl;
    margin-bottom: 2px;
    font-weight: 500;
}

.faux-button .en-link {
    font-size: var(--font-scale-1);
    margin-top: -2px;
    text-transform: lowercase;
    text-indent: -3px;
}

.en-link {
    line-height: 1;
    font-size: var(--font-scale-1);
}

#main-carousel-container {
    margin-top: calc(-1 *  var(--header-height));
    height: 100vh;
}

#main-carousel {
    height: 100%;
}

.carousel-slide {
    height: 100%;
}

.slick-list,
.slick-track {
    height: 100%;
}

.carousel-slide .contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    padding-top: var(--header-height);

}

.carousel-slide .background {
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.carousel-slide .text {
    display: inline-block;
    font-size: var(--font-scale-4);
    font-feature-settings: "ss01";
    text-align: center;
    text-shadow: 1px 0 #000, 0 1px #000, -1px 0 #000, 0 -1px #000;
    margin: 0 1.5rem;
    color: #fff;
    line-height: 1.2;
}

.carousel-slide .contents * {
    z-index: 2;
}


#menu-toggle {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    min-width: 45px;
    height: 100%;
    vertical-align: middle;
    z-index: 250;
}

.icon-menu {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.icon-menu:before {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(0,0,0,0.8);
    box-shadow: 0 7px 0 0 rgba(0,0,0,0.8), 0 14px 0 0 rgba(0,0,0,0.8);
    content: '';
}

@media (min-width: 60em) {

    .site-navigation {
        flex-direction: row; 
    }

    #main-navigation {
        display: flex;
        position: static;
	    top: auto;
	    width: auto;
	    padding-top: 0;
        padding-bottom: 0;
	    padding-left: 2.25rem;
	    right: auto;
	    border-radius: 0;
        background-color: transparent;
        font-size: 0.8rem;
        border: 0 none;
    }

    #main-navigation.navigation-toggled {
        display: flex;
    }

    #main-navigation a {
    	padding: 0 2rem;
        background-size: 1px calc(var(--header-height) / 3);
        background-position: 0 center;
        color: rgb(40, 40, 40);
    }


    #main-navigation a:hover, #main-navigation a.selected {
        color: #000;
    }

    #logo { 
        width: 120px;
    }

    #logo:hover {
        filter: saturate(0) contrast(2);
        mix-blend-mode: multiply;
    }

    #site-link {
        /* slight adjustment because of awkward shape in logo */
        margin-top: 0.5rem;
    }

    #menu-toggle {
        display: none;
    }

    #pinned-navigation-item {
        display: flex;
	    margin-left: auto;
	}

    .faux-button {
        padding: 0.65rem 2.25rem 0.4rem 2.25rem;
    }

    .faux-button .ar-link {
        font-size: 1.2rem;
    }

    .carousel-slide .text {
        font-size: var(--font-scale-5);
    }
}

#location-container {
    background: url(https://static.papaya.com.sa/img/bg-dark.png);
    background-size: cover;
    padding: 1.5rem 0;
}


@media only screen and (max-width: 60em) {

}

.vertical-title-box {
    position: relative;
}


@media (min-width: 60em) {
    .vertical-title-box {
        display: flex;
        justify-content: center;
        flex-direction: column;
        min-height: 210px;
    }

    .vertical-title-box.rtl {
        padding-right: 2rem;   
    }

    .vertical-title-box.ltr {
        padding-left: 2rem;
    }

    .vertical-title-box h2 {
        position: absolute;
        top: 10%;
        text-shadow: -1px 0 rgba(31, 21, 15, 0.75), 0 -1px rgba(31, 21, 15, 0.75);
    }

    .vertical-title-box.rtl h2 {
        transform: rotate(90deg) translate(100%, -50%);
        transform-origin: 100% 0%;
        right: 0;
    }

    .vertical-title-box.ltr h2 {
        transform: rotate(-90deg) translate(-100%, -50%);
        transform-origin: 0% 0%;
        left: 0;
    }

}

.frosted-box {
    padding-top: 2.25rem;
    background: linear-gradient(rgba(24, 43, 64, 0.55), rgba(0, 0, 0, 0));
    backdrop-filter: blur(5px) saturate(300%);
    color: rgb(255, 255, 255);
    border-radius: 2.25rem 0 2.25rem 0;
}

    
.inner-page-contents {
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
}


.banner {
    min-height: 160px;
    width: 100%;
}


/* ICONS */

.svg-icon {
  width: 32px;
  height: 32px;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
  fill: #ccc;
}

.svg-icon:hover path,
.svg-icon:hover polygon,
.svg-icon:hover rect {
  fill: #fff;
}

.svg-icon circle {
  stroke: #ccc;
  stroke-width: 1;
}


/*
 * FOOTER
 */

footer {
    padding: 2.25rem 0.325rem;
    background: #161110;
    color: #ccc;
}

.footer-proper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: max-content;
    grid-column-gap: 3.75rem;
    grid-row-gap: 1.5rem;

    grid-template-areas: "contact" "social"  "hours" "nav" "legal";
}

footer h5 {
    color: rgb(100,100,100);
    font-variant: small-caps;
    font-feature-settings: "ss01";
}

footer .site-navigation {
    grid-area: nav;
    justify-content: flex-end;
    align-self: flex-end;
}

footer .site-navigation a {
    color: #ccc;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0.5rem;
    text-transform: none;
    font-variant: normal;
}

footer .site-navigation a:first-child {
    margin-top: 0;
}

footer a:hover, footer a:active {
    color: #fff;
}

footer .site-navigation .ar-link {
    line-height: 1;    
    order: 1;
}

footer .ar-link, footer  .en-link {
    font-size: var(--font-size-text);
}

.opening-hours {
    grid-area: hours;
    display: flex;
    justify-content: space-between;
}

.opening-hours > .ar-text, .opening-hours .en-text {
    flex: 1;
}

.contact-info {
    grid-area: contact;
    list-style-type: none;
    margin: 0;
}

.contact-info .svg-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.75rem;
}

.phone-number, .email {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: var(--font-scale-2);
    color: #ddd;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.restaurant-status {
    color: rgb(32, 131, 56);
    border: 1px solid rgb(32, 131, 56);
    border-radius: 4px;
    padding: 3px 5px 1px 5px;
    display: inline-block;
    line-height: 1;
    text-transform: uppercase;
    font-variant: small-caps;
    font-size: var(--font-size-text);
    position: relative;
    top: -0.325rem;
}

.open {
   color: rgb(32, 131, 56);
   border-color: rgb(32, 131, 56); 
}

.closed {
    color: rgb(177, 32, 32);
    border-color: rgb(177, 32, 32);
    display: none;
}


.legal {
    grid-area: legal;
    margin-top:  3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#footer-logo {
    width: 72px;
    filter: saturate(0) contrast(2);
    mix-blend-mode: difference;
    margin-bottom: 1.5rem;
}

.social-media {
    grid-area: social;
    text-align: right;   
}

.social-media a {
    display: inline-block;
    margin: 0 0.75rem;
}

.social-media a:first-child {
    margin-left: 0;
}

.restaurant-address {
    margin-top: 0.75rem;
}

.restaurant-location .ar-text, .restaurant-location .en-text {
    flex: 1;
}

@media only screen and (max-width: 59.9em) {
    .days {
        display: block;
        margin-top: 0.75rem;
    }

    .hours {
        display: block;
        line-height: 1;
    }

    .social-media {
        text-align: left;
    }
}

@media (min-width: 60em) {

    .footer-proper {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas: "hours hours contact social"
                 "legal legal nav .";
        grid-row-gap: 0;
    }

    footer h5 {
        display: inline-block;
    }

    .contact-info {
        padding: 0 0 1.5rem 0;
    }

    .restaurant-status {
        top: -1px;
    }

    .ar-text .restaurant-status {
        margin-right: 0.5rem;
    }

    .en-text .restaurant-status {
        margin-left: 0.5rem;
    }

    .hours {
        text-indent: 0.5rem;
        display: inline-block;
    }

    .legal {
        flex-direction: row;
        text-align: unset;
        align-items: normal;
    }

    #footer-logo {
        align-self: flex-start;
        margin-bottom: 0;
        margin-right: 1.5rem;
    }
}


/*
 * HOME
 */

 /* Slick Slider */
 /* kenwheeler/slick@1.8.1/slick/slick.css */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}