/* ==========================================================================
   Fayrouz base layer for the public pages, loaded before custom.css (which holds the design itself).
   It holds only what the pages use: a small element reset, the layout helpers and the default look of form fields
   and buttons. It replaces the stylesheet of the free template the site started from (theme.min.css, 47 KB).
   The reset and the layout helpers follow Bootstrap 4 (MIT licence, (c) The Bootstrap Authors).
   ========================================================================== */

/* --- Element reset ------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: "Poppins", "Poppins Fallback", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 2;
    color: #666;
    text-align: left;
    background: #fff;
}

[hidden] {
    display: none !important;
}

/* A focus ring for the keyboard only: a mouse click or a tap leaves no ring, keyboard users always see where they are. */
:focus:not(:focus-visible) {
    outline: 0;
}

h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol, ul, dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

dt { font-weight: 700; }

dd {
    margin-bottom: 0.5rem;
    margin-left: 0;
}

b, strong { font-weight: bolder; }

small, .small {
    font-size: 80%;
    font-weight: 400;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

a {
    color: #c8a97e;
    text-decoration: none;
    background-color: transparent;
    transition: all 0.3s ease;
}

a:hover,
a:focus {
    color: #c8a97e;
    text-decoration: none;
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none;
}

img {
    vertical-align: middle;
    border-style: none;
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

summary {
    display: list-item;
    cursor: pointer;
}

/* --- Form elements --------------------------------------------------------- */
label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

input, button, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button, input { overflow: visible; }
button, select { text-transform: none; }
select { word-wrap: normal; }
button { border-radius: 0; }

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
    cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

textarea {
    overflow: auto;
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

/* Text fields: white, a fine grey line, square corners; black line on focus, red line when the value is refused. */
.form-control {
    display: block;
    width: 100%;
    height: 52px !important;
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000 !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    box-shadow: none !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-control:active {
    border-color: #000;
    outline: 0;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
    opacity: 1;
}

textarea.form-control {
    height: inherit !important;
}

.form-control.is-invalid,
.form-control.is-invalid:focus {
    border-color: #dc3545;
}

.form-control.is-invalid {
    padding-right: calc(1.5em + 0.75rem);
}

/* Buttons: the base the site's own button styles build on. */
.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.1);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    color: #212529;
    text-decoration: none;
}

.btn:hover,
.btn:active,
.btn:focus {
    outline: none;
}

.btn:focus,
.btn.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn.disabled,
.btn:disabled {
    opacity: 0.65;
}

/* A visitor who asked their device for less motion: fields and buttons change at once, without a fade. */
@media (prefers-reduced-motion: reduce) {
    .form-control,
    .btn {
        transition: none;
    }
}

/* Printing: no shadows, a picture never split between two sheets, a heading never alone at the foot of a sheet. */
@media print {
    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }

    img,
    tr {
        break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        break-after: avoid;
    }
}

/* --- The restaurant's phone number ------------------------------------------ */
/* Its one look everywhere (App\Support\RestaurantPhone, <x-public.phone />): on one line, the digits standing on the
   line (the serif's old-style figures made "07 83 45 37 13" jump up and down) and its own steady spacing, even inside
   letter-spaced capitals. dir="ltr" on the element keeps it in order inside an Arabic sentence. */
.phone-number {
    white-space: nowrap;
    font-variant-numeric: lining-nums;
    letter-spacing: 0.03em;
}

/* --- Layout helpers -------------------------------------------------------- */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col, .col-sm-12, .col-md, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-12, .col-lg-4, .col-lg-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-8 {
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.justify-content-center { justify-content: center !important; }
.text-center { text-align: center !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Section headings: a large gold script word set behind the title --------- */
.heading-section {
    position: relative;
}

.heading-section .subheading {
    position: absolute;
    top: -50px;
    right: 0;
    left: 0;
    z-index: -1;
    display: block;
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: 100px;
    font-weight: normal;
    line-height: 1;
    color: #c8a97e;
}

@media (max-width: 767.98px) {
    .heading-section .subheading {
        top: -40px;
        font-size: 90px;
    }
}
