#flights .btn-warning {
    border-radius: 44px !important;
    background-color: #0b8c93 !important;
    border: none !important;
    height: 60px !important;
    font-weight: 700 !important;
    color: #fff !important;
    font-size: 16px;
    box-shadow: 2px 2px 5px #00000029;
    transition: background-color 0.3s ease;
    width: 100%;
    line-height: 60px;
    padding: 0 20px !important;
    text-transform: uppercase;
}
#flights .btn-warning:hover,
#flights .btn-warning:focus,
#flights .btn-warning:active {
    background-color: #067a80 !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
}

/* Flight form icon positioning - vertically centered */
#flights .form-group-icon-left .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #008C93;
    font-size: 18px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #e8f4f5;
    border-radius: 50%;
    pointer-events: none;
}

/* Flight form Select2 styling - proper text padding */
#flights .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 10px !important;
    line-height: 60px !important;
    color: #055c61 !important;
}

/* ============================================================
   ZZZ_Theme Header Styles - MapoYes
   Last Updated: 01/03/2026
   ============================================================ */

/* Base Typography & Colors */
body {
    font-family: 'Work Sans', sans-serif;
    color: #055c61;
    padding-top: 76px;
}

/* Header container - relative positioning so hero section scrolls */
header#main-header {
    position: relative !important;
    top: auto !important;
    background-color: transparent !important;
}

/* ============================================================
   HEADER STYLES - Only top nav bar is fixed
   ============================================================ */
.header.navbar-fixed-top {
    box-shadow: rgba(0, 0, 0, 0.08) 0 1px 12px !important;
    background-color: #fff;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Hero/search section scrolls with page */
.frm-ricerca {
    position: relative;
}

/* Container widths matching Bootstrap 3 breakpoints */


.header .container {
    padding-left: 15px;
    padding-right: 15px;
}

.header nav,
.header .navbar-default {
    background-color: #fff;
    border: none;
    margin-bottom: 0;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Remove BS3 clearfix pseudo-elements that act as extra flex items */
.header .navbar-default::before,
.header .navbar-default::after {
    display: none;
}

.header .navbar {
    padding: 0;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}

/* Navbar Brand/Logo */
.navbar-brand {
    padding: 13px 15px 13px 0;
    float: left;
    height: auto;
    line-height: normal;
}

.logodesk {
    max-width: 250px;
    height: auto;
    display: block;
}

.logomob {
    display: none !important;
    max-width: 160px;
}

/* Desktop/Mobile Visibility - Hide mobile elements by default on desktop */
.hidden-desk {
    display: none;
}

.display-mob {
    display: none;
}

/* Desktop Navigation - Show and align right on desktop */
.hidden-mob {
    display: block;
    float: right;
}

/* Navbar text wrapper for desktop nav */
.header .navbar-text {
    float: right;
    margin: 0;
    padding: 0;
}

.header .navbar-text.hidden-mob {
    display: block;
}

/* Navigation Items - Match ZZZ_Theme spacing */
.navbar-nav {
    display: inline-flex;
    flex-direction: row;
    padding-left: 0;
    margin: 0;
    list-style: none;
    align-items: center;
    float: none;
}

.navbar-nav > li {
    float: left;
    display: inline-block;
    margin-right: 12px;
}

.navbar-nav > li:last-child {
    margin-right: 0;
}

.navbar-nav > li > a,
.navbar-nav > li > a.nav-link {
    text-align: left;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0;
    color: #055c61;
    padding: 15px 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #008c93;
    background: transparent;
}

/* Bootstrap 3: Reset default navbar-default styles */
.navbar-default .navbar-nav > li > a {
    color: #055c61;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #008c93;
    background: transparent;
}

/* Font Weight Bold */
.fwb {
    font-weight: 700;
}

/* Icon styling - Exact ZZZ_Theme styles */
.icon i.fa {
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: .5em .6em;
    color: #aecb4b;
    margin-left: 5px;
}

/* Navbar icon styling for consistency */
.navbar-nav .icon {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

.navbar-nav .icon i.fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: .5em .6em;
    color: #aecb4b;
    margin-left: 0;
}

/* Mobile toggle - hidden by default on desktop */
.navbar-toggle {
    display: none;
}

/* Mobile collapse menu - hidden by default on desktop */
/* Needs high specificity to override BS3's .navbar-collapse.collapse { display: block !important } */
.d-md-none,
.header .navbar-collapse.collapse.d-md-none {
    display: none !important;
}

/* Desktop/Mobile Visibility */
.hidden-desk {
    display: none !important;
}

.display-desk {
    display: block;
}

/* Note: .hidden-mob desktop display is set above, removed duplicate */

.display-mob {
    display: none;
}

/* Navbar Toggler (Mobile) */
.navbar-toggler {
    padding: 0 !important;
    border: none !important;
    outline: 0 !important;
    background: transparent;
    cursor: pointer;
}

.navbar-toggler:focus {
    outline: 0 !important;
    box-shadow: none;
}

.navbar-toggler-icon {
    height: auto !important;
}

.navbar-toggler-icon .fa {
    color: #aecb4b;
    font-size: 24px;
}

/* Language Selector */
.selLang {
    display: flex;
    align-items: center;
}

.selLang .btn {
    background: transparent;
    border: none;
    font-size: 14px;
    color: #055c61;
    padding: 5px 10px;
}

.selLang .btn:hover,
.selLang .btn:focus {
    background: transparent;
    color: #055c61;
}

.selLang .dropdown-menu {
    min-width: 140px;
}

.selLang .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
}

.selLangimg {
    margin-right: 5px;
    width: 16px;
    height: auto;
}

/* Language Flag Images - Constrain SVG sizes */
.selLang img,
.dropdown-menu img[src*="lang/"] {
    width: 16px;
    height: auto;
    vertical-align: middle;
}

.dropdown-menu .dropdown-item img,
.dropdown-menu li a img {
    width: 25px;
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
}

/* ============================================================
   SEARCH FORM SECTION
   ============================================================ */
.frm-ricerca {
    padding: 30px 0 0px 0;
    background-color: #bfde50;
}

.frm-ricerca h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.top_description {
    color: #055c61;
    font-size: 16px;
}

/* Hide default MotoreRicerca labels and badges in search form */
.frm-ricerca .form-group > label,
.frm-ricerca .form-group-lg > label,
.frm-ricerca .label.label-success,
.frm-ricerca .pull-right .label {
    display: none !important;
}

/* Remove form-group styling conflicts */
.frm-ricerca .form-group,
.frm-ricerca .form-group-lg,
.frm-ricerca .form-group-icon-left {
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Override form-group-icon-left icon positioning */
.frm-ricerca .form-group-icon-left .input-icon,
.frm-ricerca .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #008c93;
    font-size: 20px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #e8f4f5;
    border-radius: 50%;
}

.frm-ricerca .form-group-icon-left .input-icon::before,
.frm-ricerca .input-icon::before {
    color: #008c93;
}

/* Style default template inputs to match MapoYes rounded design */
.frm-ricerca .form-group .form-control,
.frm-ricerca .form-group-lg .form-control {
    border-radius: 44px !important;
    border: 0 !important;
    height: 60px !important;
    line-height: 60px !important;
    padding-left: 60px !important;
    box-shadow: 2px 2px 5px #00000029 !important;
    font-size: 14px;
    color: #055c61;
    background-color: #fff !important;
}

.frm-ricerca .form-group,
.frm-ricerca .form-group-lg {
    position: relative;
}

/* Style Select2 container in search form */
.frm-ricerca .select2-container {
    width: 100% !important;
}

.frm-ricerca .select2-container .select2-selection--single {
    border-radius: 44px !important;
    border: 0 !important;
    height: 60px !important;
    box-shadow: 2px 2px 5px #00000029 !important;
    background-color: #fff !important;
    padding-left: 60px;
}

.frm-ricerca .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 60px !important;
    padding-left: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    color: #055c61;
    display: flex;
    align-items: center;
    height: 100%;
}

.frm-ricerca .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 60px !important;
    right: 15px;
}

/* Search button in default template */
.frm-ricerca .btn-ricerca {
    border-radius: 44px !important;
    background-color: #0b8c93 !important;
    border: none !important;
    height: 60px !important;
    font-weight: 700;
}

/* Input group icons styling for MapoYes */
.frm-ricerca .input-group .input-group-addon {
    background-color: transparent;
    border: 0;
    padding: 0 5px 0 15px;
    display: flex;
    align-items: center;
    border-radius: 44px 0 0 44px;
}

.frm-ricerca .input-group .input-group-addon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Fix for input-group icon images */
.frm-ricerca .input-group .input-group-addon i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8f4f5;
    border-radius: 50%;
    color: #008c93;
    font-size: 16px;
}

/* Input Groups - Rounded Style */
.input-group {
    box-shadow: 2px 2px 5px #00000029;
    border-radius: 44px !important;
    background-color: #fff;
    display: flex;
    flex-wrap: nowrap;
}

/* Bootstrap 3 input-group-addon styling */
.input-group .input-group-addon {
    background-color: transparent;
    border: 0;
    padding: 0 10px 0 20px;
    display: flex;
    align-items: center;
    border-radius: 44px 0 0 44px;
}

.input-group .input-group-addon img {
    max-height: 30px;
    width: auto;
}

/* Also support Bootstrap 4 style classes if used */
.input-group-prepend {
    margin-left: 0;
    display: flex;
    align-items: center;
}

.input-group .input-group-text {
    background-color: transparent;
    border: 0;
    padding: 0 10px 0 20px;
    display: flex;
    align-items: center;
}

.input-group .input-group-text img {
    max-height: 30px;
    width: auto;
}

.input-group .input-group-text .icnneg,
.input-group .input-group-addon .icnneg {
    margin-left: -25px;
}

.input-group .form-control {
    border-radius: 0 44px 44px 0 !important;
    border: 0;
    height: 60px;
    line-height: 60px;
    outline: 0 !important;
    padding-left: 0;
    box-shadow: none !important;
    font-size: 14px;
    color: #055c61;
}

.input-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

.frm-ricerca .form-control[readonly] {
    background-color: #fff;
    cursor: pointer;
}

/* Search Button */
.search {
    box-shadow: 2px 2px 5px #00000029;
    border-radius: 44px !important;
    background-color: #0b8c93 !important;
    color: #fff !important;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0 !important;
}

.search:hover {
    background-color: #067a80 !important;
    color: #fff !important;
}

/* Override .btn-warning search button to match theme */
.frm-ricerca .btn-warning {
    border-radius: 44px !important;
    background-color: #008c93 !important;
    border: none !important;
    height: 60px !important;
    line-height: 60px !important;
    font-weight: 700 !important;
    color: #fff !important;
    font-size: 18px !important;
    box-shadow: 2px 2px 5px #00000029;
    transition: background-color 0.3s ease;
    padding: 0 40px !important;
    text-transform: capitalize !important;
    font-variant: normal;
    cursor: pointer;
    width: auto !important;
    min-width: 180px;
}

.frm-ricerca .btn-warning:hover,
.frm-ricerca .btn-warning:focus,
.frm-ricerca .btn-warning:active {
    background-color: #067a80 !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
}

/* ============================================================
   MAPOYES SEARCH FORM - Matching ZZZ_Theme Design Exactly
   ============================================================ */

/* Screen reader only class for accessibility labels */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Input Group - Main wrapper for search fields */
.frm-ricerca .input-group {
    box-shadow: 2px 2px 5px #00000029;
    border-radius: 44px !important;
    background-color: #fff;
}

.frm-ricerca .input-group .input-group-prepend {
    margin-left: 0;
}

.frm-ricerca .input-group .input-group-text {
    background-color: transparent;
    border: 0;
    padding: 0 8px 0 15px;
    display: flex;
    align-items: center;
}

.frm-ricerca .input-group .input-group-text img {
    max-height: 24px;
    width: auto;
}

.frm-ricerca .input-group .input-group-text .icnneg {
    margin-left: -25px;
}

.frm-ricerca .input-group .form-control,
.frm-ricerca .input-group .form-control-lg {
    border-radius: 44px !important;
    border: 0;
    height: 60px;
    line-height: 60px;
    outline: 0 !important;
    padding-left: 0;
    box-shadow: none !important;
    font-size: 13px;
    color: #055c61;
    background-color: #fff;
}

.frm-ricerca .input-group .form-control:focus,
.frm-ricerca .input-group .form-control-lg:focus {
    outline: none;
    box-shadow: none;
}

.frm-ricerca .input-group .form-control[readonly],
.frm-ricerca .input-group .form-control-lg[readonly] {
    background-color: #fff;
    cursor: pointer;
}

/* Select2 styling for mapoyes search */
.frm-ricerca .input-group .select2-container {
    flex: 1;
}

.frm-ricerca .input-group .select2-container .select2-selection--single {
    border-radius: 44px !important;
    border: 0 !important;
    height: 60px !important;
    box-shadow: none !important;
    background-color: #fff !important;
    padding-left: 0;
}

.frm-ricerca .input-group .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px !important;
    padding-left: 0;
    color: #055c61;
    font-size: 13px;
}

.frm-ricerca .input-group .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 60px !important;
    right: 15px;
}

/* Search Row alignment */
.search-row-mapoyes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Fix Select2 alignment in search form - proper height and flex */
.search-row-mapoyes .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    height: 60px !important;
}

.search-row-mapoyes .input-group .select2-container {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 60px !important;
}

.search-row-mapoyes .input-group .select2-container .select2-selection--single {
    border: none !important;
    border-radius: 0 44px 44px 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
}

.search-row-mapoyes .input-group .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 60px !important;
    padding-left: 5px;
    color: #055c61;
}

.search-row-mapoyes .input-group .select2-container .select2-selection--single .select2-selection__arrow {
    height: 60px !important;
    right: 15px;
    top: 0 !important;
}

/* Fix input-group icons alignment */
.search-row-mapoyes .input-group .input-group-prepend {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    height: 60px !important;
}

.search-row-mapoyes .input-group-prepend .input-group-text {
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
}

.search-row-mapoyes .input-group-prepend .input-group-text img {
    margin-left: 0;
}

.search-row-mapoyes .input-group-prepend .input-group-text img.icnneg {
    margin-left: 0;
}

/* Fix form-control styling in search row */
.search-row-mapoyes .input-group .form-control {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    height: 60px !important;
    line-height: 60px !important;
    padding-left: 10px;
    flex: 1 1 auto !important;
}

/* Search button wrapper alignment */
.search-btn-wrapper {
    display: flex;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
}

.search-btn-wrapper .search {
    width: 100%;
    display: block;
    font-size: 1.25rem;
}

/* Placeholder styling */
.frm-ricerca ::-webkit-input-placeholder {
    font-size: 13px !important;
    color: #055c61;
}

.frm-ricerca :-moz-placeholder {
    font-size: 13px !important;
    color: #055c61;
}

.frm-ricerca ::-moz-placeholder {
    font-size: 13px !important;
    color: #055c61;
}

.frm-ricerca :-ms-input-placeholder {
    font-size: 13px !important;
    color: #055c61;
}

/* Tab Navigation for MapoYes */
.nav-tabs-mapoyes {
    border-bottom: none;
    text-align: center;
    margin-bottom: 20px;
}

.nav-tabs-mapoyes > li {
    float: none;
    display: inline-block;
    margin-bottom: 0;
    background-color: transparent !important;
}

.nav-tabs-mapoyes > li > a {
    background-color: transparent;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 16px;
    color: #055c61;
    font-weight: 600;
    font-size: 12px;
    margin: 0 5px;
}

.nav-tabs-mapoyes > li > a:hover,
.nav-tabs-mapoyes > li > a:focus {
    background-color: rgba(255, 255, 255, 0.3);
    border: none !important;
    color: #055c61;
}

.nav-tabs-mapoyes > li.active > a,
.nav-tabs-mapoyes > li.active > a:hover,
.nav-tabs-mapoyes > li.active > a:focus {
    background-color: #008c93;
    border: none !important;
    color: #fff;
}

.tab-content-mapoyes {
    background-color: transparent;
    padding: 0;
    margin-top: 3rem;
}

.tab-content-mapoyes > .tab-pane {
    padding: 0;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.bg-green {
    background-color: #bfde50;
}

.bg-water {
    background-color: #008c93;
}

.white_h{color:#fff!important;}
.white_h:hover{color:#fff!important; text-decoration:underline;}

.colbase {
    color: #055c61;
}

/* Spacing */
.sectpad {
    padding-top: 60px;
    padding-bottom: 60px;
}

.sectpad-2 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.sectpad-3 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.mb-sec {
    margin-bottom: 32px;
}

.mb-sec-desk {
    margin-bottom: 32px;
}

.mb-sec-banner-desk {
    margin-bottom: 16px;
}

.marbotmob-10 {
    margin-bottom: 0;
}

.marbotmob {
    margin-bottom: 0;
}

/* Tracciato/Wave Image */
.tracciato {
    vertical-align: top;
    width: 100%;
    display: block;
    margin-top: -2px;
    background-color: #fff;
}

/* Image Fluid */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Newsletter Section Styling */
.inpround {
    border-radius: 25px !important;
}
.bg-green .form-control.inpround {
    height: 50px;
    padding: 10px 20px;
    border: none;
    font-size: 14px;
}
.bg-green .btn.inpround {
    height: 50px;
    background-color: #0070b8;
    color: #fff;
    border: none;
    font-weight: 600;
}
.bg-green .btn.inpround:hover {
    background-color: #005a94;
}
.cta-f {
    background-color: #0070b8 !important;
    color: #fff !important;
}

/* Newsletter Model 20 - Input Group Fix */
.newsletter .input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    padding: 5px;
}
.newsletter .input-group .form-control {
    border: none !important;
    box-shadow: none !important;
    height: 40px;
    flex: 1;
    border-radius: 25px 0 0 25px;
}
.newsletter .input-group .form-control:focus {
    outline: none;
    box-shadow: none;
}
.newsletter .input-group .btn {
    position: relative !important;
    border-radius: 25px !important;
    height: 40px;
    padding: 0 25px;
    margin: 0;
}
.newsletter__text .h4 {
    color: #fff;
    font-weight: 700;
}
.newsletter__lbl {
    color: #fff;
}

/* ============================================================
   MODAL STYLES (PAX/ROOMS)
   ============================================================ */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

#modal_Pax .modal-content {
    border-radius: 20px;
    border: none;
}

#modal_Pax .modal-header {
    border-bottom: none;
    padding: 15px 20px 0;
}

#modal_Pax .modal-body {
    padding: 20px;
}

#modal_Pax .modal-footer {
    border-top: none;
    padding: 0 20px 20px;
}

.gest_cam {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.camerabox {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.increment {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #bfde50;
    background-color: #fff;
    color: #bfde50;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

/* ============================================================
   RIC_CAMERE Modal Styles - Exact ZZZ_Theme Match
   ============================================================ */

/* Modal Pax - No backdrop mode, modal provides its own overlay */
#modal_Pax {
    z-index: 1050 !important;
    background: rgba(0, 0, 0, 0.5);
}

#modal_Pax.in .modal-dialog {
    margin-top: 50px;
}

#modal_Pax .modal-dialog {
    width: 500px;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1061 !important;
}

#modal_Pax .modal-content {
    position: relative;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    z-index: 1062 !important;
    background: #fff;
}

/* Ensure modal content is clickable */
#modal_Pax .modal-dialog,
#modal_Pax .modal-content,
#modal_Pax .modal-body,
#modal_Pax .modal-footer,
#modal_Pax .modal-footer button {
    position: relative;
    pointer-events: auto !important;
}

#modal_Pax .modal-footer .search {
    background-color: #008c93;
    border-color: #008c93;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    color: #fff;
}

#modal_Pax .modal-footer .search:hover {
    background-color: #055c61;
    border-color: #055c61;
}

#modal_Pax .close {
    font-size: 28px;
    opacity: 0.5;
    float: right;
}

#modal_Pax .close:hover {
    opacity: 1;
}

/* Modal Pax specific fixes */
#modal_Pax {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

#modal_Pax .modal-dialog {
    margin: 30px auto;
    width: 400px;
}

#modal_Pax .modal-content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Pax Modal - Simple Bootstrap 3 Styles */
.btn-increment {
    width: 32px;
    height: 32px;
    border: 2px solid #bfde50;
    color: #bfde50;
    background: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    padding: 0;
    line-height: 28px;
}

.btn-increment:hover {
    background: #bfde50;
    color: #fff;
}

#modal_Pax .camerabox {
    background: #f5f5f5;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

#modal_Pax .bambino-row {
    background: #fff;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 5px;
}

#modal_Pax .bambino-row input[type="number"] {
    width: 60px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* ============================================================
   RESPONSIVE STYLES - Match ZZZ_Theme exactly
   ============================================================ */
@media only screen and (max-width: 991px) {
    .navbar-nav > li {
        margin-right: 8px;
    }

    .navbar-nav > li > a {
        font-size: 13px;
        padding: 15px 0.4rem;
    }
}

@media only screen and (max-width: 767px) {
    body {
        padding-top: 52px;
    }

    /* Show mobile elements */
    .display-mob {
        display: block !important;
    }

    .hidden-desk {
        display: block !important;
    }

    /* Hide desktop elements */
    .hidden-mob {
        display: none !important;
    }

    .logodesk {
        display: none !important;
    }

    .logomob {
        display: block !important;
        max-width: 160px;
    }

    .header nav,
    .header .navbar-default {
        min-height: auto;
        padding: 0 1rem;
    }

    .header .navbar {
        padding: 0 1rem;
    }

    .navbar-text {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        float: none;
        display: inline-block;
    }

    .navbar-brand {
        padding-top: 0 !important;
        padding: 5px 0;
        float: left;
    }

    /* Show mobile toggle button */
    .navbar-toggle {
        display: block;
        float: right;
        padding: 9px 10px;
        margin-top: 8px;
        margin-bottom: 8px;
        background-color: transparent;
        border: none;
    }

    .navbar-toggle:focus {
        outline: none;
    }

    .navbar-toggler-icon .fa {
        color: #aecb4b;
        font-size: 24px;
    }

    /* Show mobile collapse menu */
    .d-md-none {
        display: none !important;
    }

    .d-md-none.in,
    .d-md-none.collapse.in {
        display: block !important;
    }

    .sectpad {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .sectpad-1 {
        padding-top: 0;
        padding-bottom: 60px;
    }

    .mb-sec {
        margin-bottom: 16px;
    }

    .mb-sec-desk {
        margin-bottom: 0;
    }

    .marbotmob {
        margin-bottom: 20px;
    }

    .marbotmob-10 {
        margin-bottom: 10px;
    }

    .text-center-only-mob {
        text-align: center;
    }

    h2 {
        font-size: 20px !important;
        line-height: 27px !important;
    }

    .frm-ricerca {
        padding: 20px 0 70px 0;
    }

    .frm-ricerca .search-btn-wrapper {
        padding: 0 15px !important;
        margin-bottom: 10px;
    }

    /* Mobile Navigation Collapse - Bootstrap 3 */
    .navbar-collapse.collapsing .navbar-nav {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -45%;
        transition: all 0.2s ease;
    }

    .navbar-collapse.in .navbar-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        flex-direction: column;
        height: auto;
        width: 96%;
        transition: left 0.15s ease;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.9);
        background-color: #fff;
        z-index: 1050;
        padding: 20px;
        overflow-y: auto;
    }

    .navbar-collapse.in {
        display: block;
    }

    #mainNav .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    #mainNav .navbar-nav > li {
        width: 100%;
        margin-right: 0;
        border-bottom: 1px solid #eee;
    }

    #mainNav .navbar-nav > li > a {
        padding: 15px 0;
        display: block;
    }

    .nav-link-border-mob {
        border-bottom: 1px solid #eee;
    }

    /* Mobile close button */
    .header .navbar-collapse.collapse.d-md-none.in .close.float-right {
        position: fixed !important;
        top: 12px !important;
        right: 16px !important;
        font-size: 36px !important;
        line-height: 1;
        opacity: 1;
        z-index: 1060;
        background: transparent;
        border: none;
        color: #055c61 !important;
        padding: 4px 10px;
        font-weight: 700;
        text-shadow: none !important;
        cursor: pointer;
    }

    /* Override custom.css mobile header height + body offset to match actual mobile bar */
    header#main-header {
        height: 0px !important;
        min-height: 0 !important;
    }

    body {
        padding-top: 50px !important;
    }

    .header-top {
        height: auto !important;
        max-height: none !important;
    }

    /* Mobile header layout fix - prevent overflow */
    .header .navbar-default {
        flex-wrap: nowrap;
        padding: 0 8px;
        justify-content: flex-start;
    }

    .header .navbar {
        padding: 0;
    }

    .navbar-brand {
        padding: 5px 4px 5px 0 !important;
        margin-right: auto;
        flex-shrink: 0;
    }

    .logomob {
        max-width: 120px !important;
    }

    .header .navbar-text.display-mob {
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .header .display-mob .navbar-nav > li {
        margin-right: 0;
    }

    .header .display-mob {
        margin-left: 8px;
    }

    .header .display-mob .navbar-nav > li > a.nav-link {
        padding: 6px 8px;
    }

    .header .display-mob .navbar-nav .icon {
        margin-left: 0;
    }

    .header .display-mob .navbar-nav .icon i.fa,
    .header .display-mob .navbar-nav .icon i.far {
        padding: .35em .45em;
        font-size: 14px;
    }

    .header .shoppingcart .badge {
        font-size: 10px;
        padding: 2px 5px;
        position: absolute;
        top: -4px;
        right: -4px;
    }

    .navbar-toggle {
        padding: 6px 8px !important;
        margin: 4px 0 4px 16px !important;
        flex-shrink: 0;
    }

    .navbar-toggler-icon .fa {
        font-size: 22px;
    }

    /* Mobile menu open state - higher specificity to beat desktop hide rule */
    .header .navbar-collapse.collapse.d-md-none.in,
    .header .navbar-collapse.collapsing.d-md-none {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 1050;
        background-color: #fff;
        overflow-y: auto;
        padding: 60px 20px 20px !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    }

    .header .navbar-collapse.collapse.d-md-none.in .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        position: static;
        height: auto;
        box-shadow: none;
        padding: 0;
    }

    .header .navbar-collapse.collapse.d-md-none.in .navbar-nav > li {
        width: 100%;
        margin-right: 0;
        border-bottom: 1px solid #eee;
    }

    .header .navbar-collapse.collapse.d-md-none.in .navbar-nav > li > a,
    .header .navbar-collapse.collapse.d-md-none.in .navbar-nav > li .nav-link {
        padding: 14px 4px;
        display: block;
    }
}

/* ============================================================
   THEME COLOR VARIABLES (Dynamic)
   ============================================================ */
.bg-primary-theme {
    background-color: #008c93 !important;
    color: #fff;
}

.bg-secondary-theme {
    background-color: #bfde50 !important;
    color: #fff;
}

.text-primary-theme {
    color: #008c93 !important;
}

.text-secondary-theme {
    color: #bfde50 !important;
}

.btn-primary-theme {
    background-color: #008c93;
    border-color: #008c93;
    color: #fff;
}

.btn-primary-theme:hover {
    background-color: #bfde50;
    border-color: #bfde50;
    color: #fff;
}

.btn-secondary-theme {
    background-color: #bfde50;
    border-color: #bfde50;
    color: #fff;
}

.btn-secondary-theme:hover {
    background-color: #008c93;
    border-color: #008c93;
    color: #fff;
}

/* Footer Specifics */
#main-footer {
    background-color: #008c93 !important;
    color: #fff;
    padding: 18px 0;
}
#main-footer .container > .row {
    align-items: center;
}
#main-footer .copy {
    top: 0 !important;
}

#main-footer h4,
#main-footer h5,
#main-footer a {
    color: #fff;
}

#main-footer a:hover {
    color: #bfde50;
    text-decoration: none;
}

.footer-copy {
    background-color: #222;
    padding: 20px 0;
    border-top: 3px solid #bfde50;
    color: #aaa;
    overflow-x: hidden;
}

.footer-copy > .row {
    margin-left: 0;
    margin-right: 0;
}

.footer-copy a {
    color: #fff;
}

/* Desktop footer menu (yesvacanze.com parity) */
#main-footer .footmenu-col .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}
#main-footer .footmenu-col .nav-item {
    list-style: none;
}
#main-footer .footmenu-col .nav-item .nav-link {
    color: #fff;
    font-weight: 700;
    padding: 4px 0;
    border-bottom: 2px solid rgba(255,255,255,0.7);
}
#main-footer .footmenu-col .nav-item .nav-link:hover {
    color: #bfde50;
    border-bottom-color: #bfde50;
}
#main-footer .social img[alt="logo Welfare Edenred"] {
    background: #fff;
    padding: 6px;
    border-radius: 4px;
}
#main-footer .social a i {
    color: #bfde50;
}

/* Mobile footer layout (yesvacanze.com parity) */
@media (max-width: 991px) {
    #main-footer .container > .row {
        display: flex;
        flex-direction: column;
    }
    #main-footer .footer-logo { order: 1; }
    #main-footer .footer-seguici { order: 2; }
    #main-footer .footmenu-col { order: 3; }
    #main-footer .copy { order: 4; }
    #main-footer .row > div {
        text-align: center;
        margin-bottom: 15px;
    }
    #main-footer .social img[alt="logo Welfare Edenred"] {
        width: auto !important;
        max-width: 40%;
        background: #fff;
        padding: 8px;
        border-radius: 4px;
    }
    #main-footer .nav {
        flex-direction: column;
        align-items: center;
    }
    #main-footer .nav-item .nav-link {
        font-weight: 700;
        padding: 2px 0;
        color: #fff;
    }
    #main-footer .footmenu-col {
        border-top: 1px solid rgba(255,255,255,0.4);
        padding-top: 20px;
        margin-top: 10px;
    }
    #main-footer .copy {
        border-top: 1px solid rgba(255,255,255,0.4);
        padding-top: 20px;
        margin-top: 10px;
        top: 0 !important;
    }
    #main-footer .social a i {
        color: #bfde50;
    }
    #main-footer .social a {
        margin: 0 8px;
    }
}

/* Decoration line */
.decoration-line {
    width: 100%;
    height: 5px;
    background: #bfde50;
}

/* Placeholder Styling */
::-webkit-input-placeholder {
    font-size: 13px !important;
    color: #055c61;
}

:-moz-placeholder {
    font-size: 13px !important;
    color: #055c61;
}

::-moz-placeholder {
    font-size: 13px !important;
    color: #055c61;
}

:-ms-input-placeholder {
    font-size: 13px !important;
    color: #055c61;
}

::placeholder {
    font-size: 13px !important;
    color: #055c61;
}

/* CTA Button */
.cta-f {
    background-color: #0b8c93;
    color: #fff;
    border: 0;
    font-weight: 700;
}

.cta-f:hover {
    background-color: #0b8c93;
    color: #fff;
    cursor: pointer;
}

/* General Button Override */
.btn {
    font-weight: 700 !important;
}

/* H2 Styling */
h2 {
    font-size: 24px !important;
    line-height: 33px !important;
    font-weight: 700 !important;
}

/* ============================================================
   SEARCH TABS - MapoYes Tabbed Interface
   ============================================================ */
.theme-search-area-tabs {
    margin-top: 10px;
}

.theme-search-area-tabs .tabbable {
    background-color: transparent;
}

/* Tab Navigation */
.nav-tabs-mapoyes {
    border-bottom: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 8px;
}

.nav-tabs-mapoyes > li {
    float: none;
    display: inline-block;
    margin-bottom: 0;
    background-color: transparent !important;
}

.nav-tabs-mapoyes > li > a {
    background-color: rgba(255, 255, 255, 0.85);
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 16px;
    color: #055c61;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-tabs-mapoyes > li > a:hover,
.nav-tabs-mapoyes > li > a:focus {
    background-color: rgba(255, 255, 255, 1);
    border: none;
    color: #008c93;
}

.nav-tabs-mapoyes > li.active > a,
.nav-tabs-mapoyes > li.active > a:hover,
.nav-tabs-mapoyes > li.active > a:focus {
    background-color: #008c93;
    border: none !important;
    color: #fff;
}

.nav-tabs-mapoyes > li > a i {
    font-size: 13px;
}

/* Tab Content */
.tab-content-mapoyes {
    background-color: transparent;
    padding: 0;
}

.tab-content-mapoyes > .tab-pane {
    padding: 0;
}

.theme-search-area {
    padding: 0;
}

.theme-search-area-form {
    padding: 0;
}

/* Package Type Radio Buttons */
.searcher-multi-pak__top {
    margin-bottom: 15px;
}

.searcher-multi-pak__radio-button {
    display: inline-block;
}

.radio-button__input {
    display: none;
}

.radio-button__label {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    color: #055c61;
    transition: all 0.3s ease;
    display: inline-block;
}

.radio-button__input:checked + .radio-button__label {
    background-color: #fff;
    color: #008c93;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.radio-button__label:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Mobile Responsive for Tabs */
@media only screen and (max-width: 767px) {
    .nav-tabs-mapoyes {
        flex-wrap: wrap;
        gap: 6px;
    }

    .nav-tabs-mapoyes > li > a {
        padding: 6px 12px;
        font-size: 11px;
    }

    .nav-tabs-mapoyes > li > a span {
        display: none;
    }

    .nav-tabs-mapoyes > li > a i {
        margin: 0;
        font-size: 12px;
    }

    .searcher-multi-pak__top {
        gap: 8px !important;
    }

    .radio-button__label {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* NOTE: Parking CSS moved to /themes/MapoYes/css/modules/routers.php */
/* NOTE: Flight CSS moved to /themes/MapoYes/css/modules/flights.php */

/* ============================================================
   HOME MODELS — RICERCA LINK TABS (model_20)
   ============================================================ */

.region-sub {
    color: #999;
    font-size: 14px;
}

/* ============================================================
   HOME MODELS — OWL CAROUSEL SECTIONS (model_13 / model_16 / model_18)
   ============================================================ */

.btn-full {
    box-shadow: 2px 2px 5px #00000029;
    background-color: #0B8C93;
    border: 1px solid #0B8C93;
    border-radius: 44px;
    color: #FFF;
    font-weight: 700;
    padding: 12px 24px;
    display: inline-block;
}

.badge.badge-evidence-img {
    position: absolute;
    left: 29px;
    padding: 8px;
    border-radius: 44px;
    z-index: 2;
}

.badge.badge-evidence-img.top {
    top: 15px;
    background-color: #BFDE50;
    color: #055C61;
}

.item-loc {
    border-radius: 30px;
    background-color: #FFF;
    box-shadow: 0 -1px 6px #00000029;
    overflow: hidden;
}

.item-loc img {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.item-loc .info {
    padding: 16px;
}

.item-loc .info h3 {
    margin-left: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 17px;
    line-height: 20px;
    color: #055C61;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.item-loc a,
.item-loc a:hover,
.item-loc a:active,
.item-loc a:visited {
    text-decoration: none;
}

.item-loc:hover,
.item-loc:active {
    box-shadow: 0 4px 10px 0 rgba(50, 50, 50, 0.56);
}

.b-rad-l-t {
    border-top-left-radius: 30px;
}





@media only screen and (max-width: 767px) {
    .item-loc {
        border-radius: 18px;
        margin-bottom: 30px;
    }
    .item-loc img {
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
    }
    .item-loc .info {
        padding: 6px;
    }
    .item-loc .info h3 {
        font-size: 16px;
        line-height: 19px;
    }
}

/* Assicuriamoci che il contenitore dell'immagine esista e sia visibile */
.hotel-card-fig {
    display: block !important;
    width: 100%;
    height: 200px; /* Altezza fissa fondamentale */
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f0f0f0; /* Grigio chiaro se l'img manca */
}

.hotel-card-fig img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Questo evita che l'immagine si schiacci */
    display: block;
}

/* Sistema il badge che ora copre tutto */
.badge-evidence-img {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d4e157;
    z-index: 5;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #333;
    width: 100px;
}

/* Stile della Card */
.card.item-loc {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    margin: 10px; /* Spazio tra le card */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Uniforma l'altezza delle card-body per allineare i pulsanti */
.card-body.info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px; 
}

/* Forza la larghezza degli item per avere esattamente 4 colonne (100% / 4) */
#owlBanners13 .owl-item {
    width: 320px !important; /* Questo garantisce che ne entrino solo 4 */
}
/* 2. Allontana le frecce dal bordo delle immagini */
#owlBanners13 .owl-buttons .owl-prev {
    left: -45px !important; /* Sposta la freccia sinistra verso l'esterno */
}

#owlBanners13 .owl-buttons .owl-next {
    right: -45px !important; /* Sposta la freccia destra verso l'esterno */
}
/* Sistema l'immagine che nello screenshot appare "rotta" o mancante in alcune card */
#owlBanners13 .hotel-card-fig, 
#owlBanners13 figure {
    width: 100%;
    height: 180px; /* Altezza fissa per uniformare tutto */
    margin: 0;
    background-color: #4a9094; /* Colore di backup se manca l'immagine */
    overflow: hidden;
}

#owlBanners13 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Sistema il badge "In evidenza" che nello screenshot copre il titolo */
#owlBanners13 .badge-evidence-img {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: #d4e157;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    color: #333;
}
