/*
Theme Name: Foton Child
Theme URI: https://foton.qodeinteractive.com/
Description: A child theme of Foton Theme
Author: Mikado Themes
Author URI: http://themeforest.net/user/mikado-themes
Version: 1.0.2
Text Domain: foton
Template: foton
*/

.mkdf-triple-frame-image-highlight .mkdf-tfih-top-bar {
    height: 0px;
    display: none;
}

.mkdf-triple-frame-image-highlight .mkdf-tfih-frame {
    top: 0%;
    height: 100%;
    background-color: transparent;
    border: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.mkdf-fi-main-image,
.mkdf-fi-aux-image {
    box-shadow: none !important;
}


/* Container for the two columns */
.cf7-brasserio-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Space between columns */
}

/* Column Settings */
.cf7-column {
  flex: 1 1 45%; /* Grow to fill, but basis is 45% width */
  min-width: 300px; /* Force stacking on small screens */
}

/* Input and Select Field Styling */
.cf7-brasserio-container label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
}

.cf7-brasserio-container input[type="text"],
.cf7-brasserio-container input[type="email"],
.cf7-brasserio-container input[type="tel"],
.cf7-brasserio-container select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Ensures padding doesn't break width */
}

/* Submit Button Container */
.cf7-submit-wrap {
  margin-top: 20px;
  text-align: center; 
  align-items: center;
  justify-content: center;/* Center the button */
}

/* Submit Button Styling */
.cf7-submit-wrap input[type="submit"] {
  background-color: #333; /* Change to your brand color */
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cf7-submit-wrap input[type="submit"]:hover {
  background-color: #555; /* Hover color */
}

.mkdf-price-table .mkdf-pt-inner:hover {
    -webkit-box-shadow: 0 2px 5px 5px #B2DAFF;
    box-shadow: 0 2px 5px 5px #B2DAFF;
    border-radius: 8px;
}

.mkdf-price-table.mkdf-pt-active-item .mkdf-pt-inner {
    -webkit-box-shadow: 0 2px 5px 5px #B2DAFF;
    box-shadow: 0 2px 5px 5px #B2DAFF;
    border-radius: 8px;
}

/* Price Item */
.mkdf-price-table .mkdf-pt-inner ul li.mkdf-pt-prices {
    /* position: absolute; */
    width: 100%;
    padding: 50px 20px 0px 0px ;
    text-align: center;
    top: 0;
    left: 0;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.mkdf-price-table .mkdf-pt-inner ul li.mkdf-pt-content-holder {
    padding: 150px 10px 20px 10px;
}

.mkdf-price-table .mkdf-pt-inner ul li.mkdf-pt-content-holder .mkdf-pt-title-holder .mkdf-pt-title {
    text-align: center;
}


.mkdf-price-table .mkdf-pt-inner ul li {
    margin: 0px;
}

.mkdf-price-table .mkdf-pt-inner ul li.mkdf-pt-content-holder .mkdf-pt-button {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.mkdf-accordion-holder .mkdf-accordion-title .mkdf-tab-title h4 {
    color: #1B3C57;
}
.mkdf-accordion-holder.mkdf-ac-boxed .mkdf-accordion-title.ui-state-active, .mkdf-accordion-holder.mkdf-ac-boxed .mkdf-accordion-title.ui-state-hover {
    color: #1B3C57;
}

.mkdf-accordion-holder .mkdf-accordion-content p {
    color: #555555;
}

.br-title-primary {
    color: #1B3C57;
}


.mkdf-iwt {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 8px;
    background-color: #f8f9fa !important;
}

.mkdf-iwt: hover {
    -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    background-color: #f8f9fa !important;
}

.mkdf-iwt:hover .mkdf-iwt-inner {
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    -webkit-transform: none;
    transform: none;
}

/*
 * Global Form Styles to match Brasserio Booking Form
 * Add this to your child theme's style.css file.
 */

/* 1. Define the color and style variables */
:root {
    --br-primary: #1B3C57;
    --br-surface: #ffffff;
    --br-on-surface: #1B3C57;
    --br-outline: #E5E7EB;
    --br-radius: 12px;
    --br-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Style for standard form elements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
    /* Base styles */
    width: 100%;
    padding: 16px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: var(--br-on-surface);
    background-color: var(--br-surface);
    border: 2px solid var(--br-outline);
    border-radius: var(--br-radius);
    transition: var(--br-transition);
    box-sizing: border-box; /* Ensures padding and border don't add to the width */
    /* Appearance reset for select on some browsers */
    text-transform: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* 3. Style for the focus state (when a user clicks into the field) */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none; /* Remove the default browser outline */
    border-color: var(--br-primary);
    box-shadow: 0 0 0 3px rgba(27, 60, 87, 0.1);
}

/* 4. Specific style for textareas */
textarea {
    resize: vertical;
    min-height: 80px;
}

/* 5. Add a dropdown arrow to native select elements */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.7rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem; /* Make space for the arrow */
}

.mkdf-main-menu>ul>li>a {
    color: #707070;
    font-weight: 500;
}
.mkdf-main-menu>ul>li>a:hover {
    color: #1b3c57;
}

.mkdf-dark-header .mkdf-page-header > div:not(.fixed):not(.mkdf-sticky-header).mkdf-menu-area .mkdf-main-menu > ul > li > a {
    color: #707070 !important;
    font-weight: 500 !important;
}
.mkdf-dark-header .mkdf-page-header > div:not(.fixed):not(.mkdf-sticky-header).mkdf-menu-area .mkdf-main-menu > ul > li > a:hover {
    color: #1b3c57 !important;
}

.mkdf-mobile-header .mkdf-mobile-nav ul li a {
    color: #707070 !important;
    font-weight: 500 !important;
}
.mkdf-mobile-header .mkdf-mobile-nav ul li a:hover,
.mkdf-mobile-header .mkdf-mobile-nav ul li.current-menu-item > a {
    color: #1b3c57 !important;
}


@media (max-width: 768px) {

    .mkdf-iwt {
        margin-bottom: 40px !important;
    }
    .mkdf-price-table .mkdf-pt-inner ul li.mkdf-pt-content-holder .mkdf-pt-button {
        padding: 0 0 20px 0;
    }
    .mkdf-accordion-holder mkdf-ac-default mkdf-toggle mkdf-ac-boxed clearfix accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset {
        margin-top: 20px !important;
    }
}




/* =========================================================
   CF7 Premium Styling (Resources Page)
   Targets: .cf7_custom_style_3
   ========================================================= */

.br-resources-page .cf7_custom_style_3 {
  --cf7-bg: rgba(255, 255, 255, 0.92);
  --cf7-border: rgba(18, 56, 91, 0.12);
  --cf7-text: #102033;
  --cf7-muted: #5D6C7C;
  --cf7-blue: #12385B;
  --cf7-blue-dark: #0B2740;
  --cf7-gold: #C7A86A;
  --cf7-shadow: 0 18px 48px rgba(10, 31, 51, 0.10);
  --cf7-shadow-strong: 0 28px 80px rgba(10, 31, 51, 0.16);
  --cf7-radius: 18px;
  --cf7-radius-sm: 14px;
}

/* Form container */
.br-resources-page .cf7_custom_style_3 form.wpcf7-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,254,0.98) 100%);
  border: 1px solid var(--cf7-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--cf7-shadow);
  position: relative;
  overflow: hidden;
}

/* Top accent line */
.br-resources-page .cf7_custom_style_3 form.wpcf7-form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--cf7-blue) 0%, var(--cf7-gold) 100%);
}

/* Base typography */
.br-resources-page .cf7_custom_style_3 .wpcf7-form-control-wrap,
.br-resources-page .cf7_custom_style_3 label,
.br-resources-page .cf7_custom_style_3 .wpcf7-list-item-label {
  color: var(--cf7-text);
  font-weight: 700;
}

.br-resources-page .cf7_custom_style_3 label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(16, 32, 51, 0.78);
}

/* Inputs */
.br-resources-page .cf7_custom_style_3 input[type="text"],
.br-resources-page .cf7_custom_style_3 input[type="email"],
.br-resources-page .cf7_custom_style_3 input[type="tel"],
.br-resources-page .cf7_custom_style_3 input[type="url"],
.br-resources-page .cf7_custom_style_3 input[type="number"],
.br-resources-page .cf7_custom_style_3 select,
.br-resources-page .cf7_custom_style_3 textarea {
  width: 100%;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(18, 56, 91, 0.14);
  border-radius: var(--cf7-radius);
  padding: 14px 14px;
  font-size: 16px;
  color: var(--cf7-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.br-resources-page .cf7_custom_style_3 textarea {
  min-height: 140px;
  resize: vertical;
}

/* Placeholders */
.br-resources-page .cf7_custom_style_3 input::placeholder,
.br-resources-page .cf7_custom_style_3 textarea::placeholder {
  color: rgba(93, 108, 124, 0.85);
}

/* Focus state */
.br-resources-page .cf7_custom_style_3 input:focus,
.br-resources-page .cf7_custom_style_3 select:focus,
.br-resources-page .cf7_custom_style_3 textarea:focus {
  border-color: rgba(199, 168, 106, 0.55);
  box-shadow: 0 0 0 4px rgba(199, 168, 106, 0.18);
  transform: translateY(-1px);
}

/* Spacing between fields */
.br-resources-page .cf7_custom_style_3 .wpcf7-form p {
  margin: 0 0 16px;
}

.br-resources-page .cf7_custom_style_3 .wpcf7-form p:last-of-type {
  margin-bottom: 0;
}

/* Two-column grid (optional markup uses these classes) */
.br-resources-page .cf7_custom_style_3 .br-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.br-resources-page .cf7_custom_style_3 .br-cf7-grid-1 {
  grid-column: 1 / -1;
}

/* Helper text */
.br-resources-page .cf7_custom_style_3 .br-cf7-help {
  margin-top: 8px;
  color: var(--cf7-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Checkbox / acceptance */
.br-resources-page .cf7_custom_style_3 input[type="checkbox"] {
  transform: translateY(1px);
}

.br-resources-page .cf7_custom_style_3 .wpcf7-acceptance label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--cf7-muted);
}

/* Submit button */
.br-resources-page .cf7_custom_style_3 input[type="submit"],
.br-resources-page .cf7_custom_style_3 button,
.br-resources-page .cf7_custom_style_3 .wpcf7-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #184B74 0%, #12385B 100%);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 42px rgba(18, 56, 91, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.br-resources-page .cf7_custom_style_3 input[type="submit"]:hover,
.br-resources-page .cf7_custom_style_3 .wpcf7-submit:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #1A547F 0%, #0F304D 100%);
  box-shadow: 0 22px 52px rgba(18, 56, 91, 0.28);
}

/* Loading spinner overlay (when CF7 adds .submitting) */
.br-resources-page .cf7_custom_style_3 form.wpcf7-form.submitting {
  opacity: 0.92;
}

.br-resources-page .cf7_custom_style_3 form.wpcf7-form.submitting::after {
  content: "Sending…";
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(16, 32, 51, 0.66);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(18, 56, 91, 0.10);
  border-radius: 999px;
  padding: 8px 12px;
}

/* CF7 validation messages */
.br-resources-page .cf7_custom_style_3 .wpcf7-response-output {
  margin: 18px 0 0;
  border-radius: 16px;
  border: 1px solid rgba(18, 56, 91, 0.10);
  box-shadow: var(--cf7-shadow);
  padding: 14px 14px;
  color: var(--cf7-text);
  background: rgba(255,255,255,0.92);
}

.br-resources-page .cf7_custom_style_3 .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #B42318;
}

/* Make invalid fields look premium but clear */
.br-resources-page .cf7_custom_style_3 .wpcf7-not-valid {
  border-color: rgba(180, 35, 24, 0.35) !important;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12) !important;
}

/* Mobile */
@media (max-width: 767px) {
  .br-resources-page .cf7_custom_style_3 form.wpcf7-form {
    padding: 18px;
    border-radius: 20px;
  }

  .br-resources-page .cf7_custom_style_3 .br-cf7-grid {
    grid-template-columns: 1fr;
  }
}