/*
Theme Name: HotelRev Fly Cruise
Template: hotelrev-custom
Description: fly-cruise-greece.gr on Elementor (HotelRev 2026-12-02), converted from Yacht Charter 1.5.2 + WPBakery. Old theme CSS in legacy/legacy.css.
Version: 1.0.0
Author: HotelRev
Text Domain: hotelrev-flycruise
*/

/* ---- base: WPBakery row width of the old theme (rows 1140px, columns padded 15px) ---- */
:root { --hr-row-w: 1140px; }
@media (max-width: 1200px) { .elementor .e-con.hr-vc-boxed { width: 100% !important; } } /* responsive.css: .content-wrapper width 100% below 1200px */
body { line-height: 1; } /* old reset (Hello sets 1.5) */
/* the old theme has no border-box reset (Hello has): content-box inside the converted html / shortcode / text widgets and the header / footer markup */
.elementor-widget-html *, .elementor-widget-html *::before, .elementor-widget-html *::after,
.elementor-widget-shortcode *, .elementor-widget-shortcode *::before, .elementor-widget-shortcode *::after,
.elementor-widget-text-editor *, .elementor-widget-text-editor *::before, .elementor-widget-text-editor *::after { box-sizing: content-box; }
.elementor .e-con.hr-main { --padding-top: 0px; }
.elementor .e-con.content-wrapper { margin: 0; }
/* column containers never need to wrap; with wrap, Chrome gives the aspect-ratio hero sliders (hr-hero) 0 height on mobile and the text runs over them */
.elementor .e-con.hr-main, .elementor .e-con.vc_column_container { --flex-wrap: nowrap; flex-wrap: nowrap; }
.elementor-widget-html .elementor-widget-container > :last-child,
.elementor-widget-shortcode .elementor-shortcode > :last-child { margin-bottom: inherit; }
.content-wrapper h2.hr-h2-as-h1 { font-size: 32px; } /* second H1 of a page, demoted to H2: keeps the H1 look */
.hr-yc-title + .elementor-widget, .hr-yc-title { margin-block-end: 0; }
/* Hello / hotelrev-custom form + button styles: back to the old theme look */
.elementor-widget-shortcode button, .elementor-widget-html button { white-space: normal; }
[type=button], [type=submit], button { border-radius: 0; }
input, textarea, select, button { line-height: normal; } /* Hello: 1.5 */
.elementor-widget-shortcode [type=submit], .elementor-widget-shortcode [type=button], .elementor-widget-shortcode button,
.elementor-widget-shortcode select, .elementor-widget-html select,
.elementor-widget-html [type=submit], .elementor-widget-html button { box-sizing: border-box; } /* browser default of buttons */
input.wpcf7-submit:hover, form button:hover { background-color: #4ec8ce; color: #fff; }
a { color: inherit; }

/* ---- header ([hr_fc_header] = old header-style-1) ---- */
.elementor-location-header .e-con, .elementor-location-header .elementor-widget-shortcode { --padding-top: 0px; --padding-bottom: 0px; }
.hr-fc-header .header-wrapper { z-index: 50; }
.hr-fc-header .top-right-button { white-space: nowrap; color: #fff; }
.hr-fc-header .logo img { width: auto; height: auto; max-width: 220px; }
.hr-fc-header .navigation ul { margin: 0; padding: 0; }
.hr-fc-header .fixed-navigation-show { z-index: 999; }
.admin-bar .hr-fc-header .fixed-navigation-show { top: 32px; }
.hr-fc-header #mobile-navigation a { background: none; }
@media (max-width: 1020px) {
	.hr-fc-header .header-inner-wrapper { display: flex; align-items: center; flex-wrap: wrap; }
	.hr-fc-header .logo { order: 1; margin-right: auto; }
	.hr-fc-header #mobile-navigation { order: 2; margin: 0 !important; float: none; }
	.hr-fc-header .header-inner-wrapper > .top-right-button { order: 3; float: none; }
	.hr-fc-header .clearboth { display: none; }
	.hr-fc-header .mobile-navigation-wrapper { order: 4; flex: 0 0 100%; }
}
@media (max-width: 550px) {
	.hr-fc-header .header-inner-wrapper > .top-right-button { display: block !important; margin-left: 10px !important; }
	.hr-fc-header .logo { width: auto !important; max-width: 40%; margin-top: 0; }
	.hr-fc-header .logo img { width: 100% !important; max-width: 150px; }
}

/* ---- footer ---- */
.elementor-location-footer .footer { margin: 0; }
.elementor-location-footer .footer-message { padding: 10px; }

/* ---- page header (#page-header with the H1) ---- */
.hr-yc-ptb #page-header { margin: 0 0 5px; }

/* ---- accordion (vc_tta_accordion -> <details>, look of the old theme + WPBakery "modern grey") ---- */
.hr-accordion { padding: 0; }
.hr-accordion .hr-acc-panel { background: #f8f8f8; border: solid #f0f0f0; border-width: 0 1px; margin: -1px 0 0; } /* WPBakery: heading + body borders overlap by 1px, so no top/bottom border here */
.hr-accordion .hr-acc-panel:first-child { margin-top: 0; }
.hr-accordion summary.vc_tta-panel-heading { display: block; list-style: none; position: relative; padding: 30px 0 30px 45px; cursor: pointer; font-family: Montserrat, sans-serif; font-size: 20px; line-height: 20px; color: #666; }
.hr-accordion summary::-webkit-details-marker { display: none; }
.hr-accordion summary.vc_tta-panel-heading:before { font-family: FontAwesome; content: "\f067"; font-weight: bold; font-size: 14px; color: #fff; background: #4ec8ce; width: 30px; height: 23px; padding: 7px 0 0; line-height: 1.1em; display: block; text-align: center; border-radius: 100%; position: absolute; top: 25px; left: 0; }
.hr-accordion details[open] > summary.vc_tta-panel-heading:before { content: "\f068"; }
.hr-accordion .vc_tta-title-text { font-size: 16px !important; color: #424242 !important; }
.hr-accordion .vc_tta-panel-body { padding: 0 0 30px 45px; line-height: 1; }
.hr-accordion .vc_tta-panel-body .wpb_text_column { margin-bottom: 0; }
.hr-accordion table { width: 100%; }

/* ---- galleries ([gallery] markup, Elementor lightbox) ---- */
.hr-yc-gallery .gallery-icon a { display: block; }
.hr-yc-gallery .gallery-item img { width: 100%; height: auto; display: block; }

/* ---- WPBakery vc_cta (home "Request Booking") ---- */
.elementor .elementor-widget.hr-yc-cta.wpb_content_element { margin-bottom: 0; } /* the vc_cta3-container has its own 35px */

/* ---- mobile: no 100vh rows, no entrance animations ---- */
@media (max-width: 767px) {
	.elementor .e-con.hr-vc-fullh { --min-height: 0 !important; min-height: 0 !important; }
	.elementor-invisible { visibility: visible !important; }
	.animated { animation: none !important; }
}

/* HotelRev 2026-12-02: wide spec tables on yacht pages scroll inside, no page overflow on mobile */
@media (max-width:767px){.single-yacht_charter .table-wrapper,.single-yacht_sales .table-wrapper{max-width:100%;overflow-x:auto}}
