/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.1.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Temp fix for Elementor shenanigans */
body .elementor-widget-heading .elementor-heading-title {
	text-transform: none;

}
body .elementor-kit-9601 {
	--e-global-typography-primary-text-transform: none;
}

body .elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title,
body .elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title {
    text-transform: none;
}
/* END: Temp fix for Elementor shenanigans */


/*
mec events stylesheet puts a 'all: unset' on these elements (why???)
this breaks styling so is reverted here.
don't know if this is recent update in mec events,
or somethig with elementor styling has changed.
*/
body .mec-wrap .elementor-widget-container p,
body .mec-wrap .et_pb_module p {
    all: revert;
}

/* 'Boat Details' extracted tab styling */
.rdv-boat-details {
    max-width: fit-content;
    /* background-color: #f9f9f9; */
}

.rdv-boat-details header {
    padding: 24px;
    background-color: #013557;
    color: #fff;
}

.rdv-boat-details header h2 {
    margin: 0;
	font-size: 26px;
}
.rdv-boat-details .body {
    padding: 24px;
    border: 1px solid #013557;
}

.rdv-boat-details ul {
    list-style: none;
	font-size: 0.9em;
    padding-inline-start: 0;
}

.rdv-boat-details li {
    display: flex;
    margin-bottom: 16px;
}

.rdv-boat-details li:last-child {
    margin-bottom: 0;
}

.rdv-boat-details li span:first-child {
    display: inline-block;
    width: 14ch;
	flex: 0 0 auto;
	padding-right: 2ch;
    line-height: 1.2;
    font-weight: bold;
    color: var(--e-global-color-secondary);
    opacity: 0.8;
}

.rdv-boat-details li span:last-child {
    font-weight: bold;
    /* color: var(--e-global-color-primary); */
    /* color: #013557; */

}
/* eof: 'Boat Details' extracted tab styling */


/* force boat details information within shortcode 'rdv-boat-details-tab'
to inherit color from parent element */
.rdv-boat-details span[style] {
	color: inherit !important;
}

/* override MEC Events plugin's styling for elementor widgets*/
.mec-wrap .elementor-widget p {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

/* improve styling of 'Attributes Shortcode' */
ul.product-attributes {
	padding-inline-start: 0;
	line-height: 1.5;
}

ul.product-attributes > li {
	margin-bottom: 16px;
}

ul.product-attributes > li > .attribute_label b {
	display: inline-block;
	min-width: 140px;
}
/* eof: improve styling of 'Attributes Shortcode' */

/* improve styling of BeRocket filters */
.bapf_head {
	display: flex;
	height: 68px;
}

div.bapf_sfilter {
    padding: 0 !important;
}

.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_body {
    display: flex;
    align-items: center;
    top: 0 !important;
    min-height: 100% !important;
}

.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_body>form {
    width: 100%;
}

.bapf_sfilter.divi_slider_class .bapf_body .bapf_slidr_all {
    margin-bottom: 0;
    width: 100%;
    padding: 0 10px;
}

.bapf_sfilter.button>.bapf_body>.bapf_button {
    padding: 20px 25px;
}

.bapf_form>button[type="submit"] {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_body {
    padding: 0 5px !important;
}

.bapf_sfilter .bapf_hascolarr {
    border: 0;
}

.bapf_sfilter .bapf_body>ul {
    padding: 10px !important;
}

/* end of: improve styling of BeRocket filters */

/* custom styling for berocket slider filter (LOA) */
.berocket_single_filter_widget_23584.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_left .bapf_sfilter.bapf_ccolaps .bapf_body,
.berocket_single_filter_widget_23584.berocket_single_filter_widget.berocket_hidden_clickable.berocket_hidden_clickable_right .bapf_sfilter.bapf_ccolaps .bapf_body,
.berocket_single_filter_widget_23584.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter .bapf_body .bapf_body {
    width: auto !important;
    left: 50px !important;
    right: 0 !important;
    border-left-width: 0 !important;
    background-color: transparent !important;
    
    container-type: inline-size;
}

.berocket_single_filter_widget_23584.berocket_single_filter_widget.berocket_hidden_clickable .bapf_sfilter.bapf_ccolaps .bapf_head {
    background-color: #fff !important;
}

.berocket_single_filter_widget_23584 .divi_slider_class .bapf_slidr_all .bapf_from,
.berocket_single_filter_widget_23584 .divi_slider_class .bapf_slidr_all .bapf_to {
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}

@container (min-width: 200px) {
    .berocket_single_filter_widget_23584 .divi_slider_class .bapf_slidr_all .bapf_from,
    .berocket_single_filter_widget_23584 .divi_slider_class .bapf_slidr_all .bapf_to {
        font-size: min(15px, 6cqw);
    }
}
/* end of: custom styling for berocket slider filter (LOA) */

/* Add dummy image to post listings without featured image */
.elementor-posts-container.elementor-grid>.elementor-post.elementor-grid-item:not(.has-post-thumbnail) .elementor-post__title>a::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1.5;
    margin-bottom: 20px;

    background-color: var(--e-global-color-primary);
    opacity: 0.075;
}

/* Availabilty tab formatting */
@media (max-width: 1024px) {
    .elementor-grid-tablet-2 .elementor-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.tab-availability-loop .mec-events.e-loop-item>section {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* end of: Availabilty tab formatting */

/* fix berocket search filters z-index issues */
.elementor-products-grid .berocket_element_above_products,
.elementor-products-grid .berocket_element_above_products_after,
.elementor-products-grid .woocommerce-notices-wrapper,
.elementor-products-grid .woocommerce-result-count {
    position: relative;
    z-index: 20;
}

.elementor-products-grid ul.products {
    position: relative;
    z-index: 10;
}

.berocket_inline_clickable .bapf_sfilter {
    z-index: auto;
}

/* endof: fix berocket search filters z-index issues */

/* make search/filter boxes consistent */
.bapf_sfilter.bapf_srch.bapf_button_icon .bapf_input {
    height: 39px;
    line-height: 39px;
    font-size: 16px;
    font-weight: 400;

    padding: 0 5px;
    border: 1px solid #aaa;
    border-radius: 4px;
    border-width: 1px !important;
}

.bapf_sfilter.bapf_srch.bapf_button_icon .bapf_input:active,
.bapf_sfilter.bapf_srch.bapf_button_icon .bapf_input:focus {
    border-color: #000;
}

.bapf_sfilter.bapf_srch .bapf_current_suggest .bapf_suggest_element {
    padding: 6px;
    font-weight: 400;
    font-size: 100%;
    line-height: 1.5;
    color: #000;
}

/* endof: make search/filter boxes consistent */

.bapf_sfilter.bapf_srch .bapf_current_suggest .bapf_suggest_element:hover {
    color: #33acff;
    background-color: transparent;
}

.bapf_sfilter.bapf_srch .bapf_form .bapf_search {
    border: 0;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid black 2px;
}

/* migrated from theme customizer */

.yachtcharterhome span.select2-selection.select2-selection--multiple, input, li {
    background-color: transparent !important;
    border-color: white;
    border-radius: 0px 0px 0px 0px;
}

.yachtcharterhome .filteryachtsforcharter div button {
    vertical-align: middle;
}

div.yachtcharterhome h3 {
    color: white;
}

div.yachtcharterhome div.ui-slider-range.ui-corner-all.ui-widget-header {
    background: white;
}

span.select2-dropdown {
    background-color: #ffffff;
    padding: 3%;
    border-color: transparent;
}

.yachtcharterhome {
    z-index: 1;
}

div.yachtcharterhome, span.select2-dropdown.select2-dropdown--below {
    color: black;
}

.select2-results__option.select2-results__option--highlighted {
    color: #33acff !important;
}

div.berocket_inline_filters.berocket_inline_filters_count_5.berocket_single_filter_widget.berocket_single_filter_widget_9037.yachtcharterhome.berocket_inline_filters_rewidth {
    padding-top: 2%
}

li.product .button.product_type_variable {
    display: none;
}

/* checkout page */

table td, table th, table tr {
    border: 0px solid #ebe9eb;
    background-color: transparent !important;
}


.woocommerce table.shop_table {
    border: 0px solid #ebe9eb
}

.woocommerce a.button.alt {
    background-color: #33acff
}

.woocommerce a.button.alt:hover {
    background-color: #39FF54
}





/* Coding for yacht charter filters layout */

.bapf_sfilter {
    margin-bottom: 10px;
    z-index: 0;
    position: relative;
}

.poa {
    font-size: 16pt;
    font-weight: 600;
    padding-bottom: 30px;
}

.woocommerce-result-count, .orderby {
    display: none;
}

/* MEC Events Coding */
div.mec-related-events img {
    height: 100px;
    object-fit: contain;
}

.mec-events-event-image img {
    object-fit: contain;
}

.mec-img-organizer {
    object-fit: contain;
    width: 100%;
    max-height: 100px;
}

.mec-single-event-additional-organizers {
    background-color: #cccccc !important;
}

.mec-single-event-additional-organizers .mec-events-single-section-title {
    color: #fff !important;
}

.mec-event-grid-clean .event-grid-t2-head .mec-categories li a {
    color: #fff !important;
}

li.mec-category {
    display: inline;
    padding: 0 5px 0 0;
}

/* Woocommerce product grid */

.woocommerce ul.products li.product .button {
    display: none;
}

@media (max-width: 767px) {

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100% !important;
    }

}

.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    width: 100% !important;
}

.mec-event-article.mec-clear .mec-event-image img {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.mec-single-event-date dd {
    margin: 0px;
}



div.woocommerce-variation-price {
    text-align: center;
    font-weight: 600;
}

div.star-rating {
    display: none !important;
}

/* Variations price */

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--e-global-color-primary) !important;
    font-family: "Open Sans", Sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.e1120-2.x-container, .e1120-10.x-container {
    clear: both;
}

/* Change the font family to Barlow Semi Condensed */
woocommerce-product-attributes-item__value a {
    font-family: 'Barlow Semi Condensed', sans-serif;
}

/* Change the font family to Barlow Semi Condensed */
woocommerce-product-details_short-description {
    font-family: 'Barlow Semi Condensed', sans-serif;
}

/* Hide Bullet point on Attribute list shortcode */

.bullet-arrow {
    list-style-type: none;
}

/*
 * Set body paragraph text to standard.
 */
body,
body p,
body.elementor-kit-9601 {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* Set standard header text */
header,
elementor.header {
    font-family: 'Barlow Semi Condensed', Sans-serif;
}

/* end of: migrated from theme customizer */

/* hide Individual Berths option on BeRocket filter for Opportunity Type on Combined Crew Spaces page */
.elementor-element-d7f6457 input[data-name="Individual Berths"],
.elementor-element-d7f6457 input[data-name="Individual Berths"] + label {
  display: none !important;
}

/* fix padding on BeRocket filters Yacht Name search box on crew-spaces page */
span.select2-dropdown.select2-dropdown--below {
  padding: 6px;
}
