/*
Theme Name: Primus Marine
Template: hello-elementor
Author: Fresh Digital Thailand
Author URI: https://freshdigital.co.th/
Description: A theme develop for Primus Marine by Fresh Digital Thailand.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 1.0.1.1768034367
Updated: 2026-01-10 08:39:27

*/

/*** Global Styles ***/
html, body {
	overflow-x: hidden;
}

.gold-text {
	color: #C7AE69;
}
.elementor-widget-image a {
	width: 100%;
}
.blocks-gallery-caption, .wp-element-caption {
    color: #FFFFFF;
}
.price_acf_format {
	font-size: 1.2em;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--e-global-color-secondary);
	text-align: right;
	text-box: auto !important;
}
.search-filter-component-range-slider__range-text {
	justify-content: space-between !important;
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
	.price_acf_format {
		text-align: left;
	}
}

/* Search & Filter Pro */
.search-filter-label__toggle-icon .search-filter-icon__svg, .search-filter-input-radio__label {
    fill: #FFF !important;
    color: #FFF !important;
}
.search-filter-label {
	border-bottom: 1px solid rgb(255, 255, 255, 0.2);
	padding-bottom: 10px;
}
.search-filter-component-combobox {
	background-color: transparent !important;
}
.search-filter-component-combobox__selection.search-filter-component-combobox__selection-placeholder span {
    opacity: 1 !important;
    color: #FFF !important;
}


/* Mega Menu */
.megamenu_grid .pa-gallery-img-container:before {
	content: "";
	background: #141517;
	background: linear-gradient(90deg,rgba(20, 21, 23, 0.8) 0%, rgba(20, 21, 23, 0) 60%);
	width: 100%;
	height: 100%;
	display: inline-block;
	position: absolute;
	z-index: 9;
}

/* Favorites */
.ccc-favorite-post-count {
	margin: 0 !important;
	display: block !important;
}
.ccc-favorite-post-count > a::before {
	/*font-size: 20px;*/
}
.ccc-favorite-post-count .num {
    font-size: 1em;
    font-weight: bold;
}
.favorite-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media(max-width:1024px){
  .favorite-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:767px){
  .favorite-grid{
    grid-template-columns: 1fr;
  }
}


/* reset counter */
#news-and-events sr7-module {
  counter-reset: sr7tab;
}

#news-and-events sr7-module sr7-tab {
  counter-increment: sr7tab;
}

#news-and-events sr7-module .sr7-tab-title {
	display: none !important;
  /*font-size: 0 !important;
  position: relative;*/
}

#news-and-events sr7-module .sr7-tab-content::before {
	content: '0' counter(sr7tab) !important;
	text-align: left;
	color: #ffffff;
	font-size: 14px;
	font-weight: 300;
	text-transform: none;
	line-height: 17px;
	display: block;
}

/* Gravity Form */
p.gform_required_legend {
    display: none !important;
}

.gform-field-label {
    color: #FFFFFF !important;
}

#gform_fields_1 {
    column-gap: 20px;
    row-gap: 25px;
}

/* Gravity Form - Sell Your Boat */
div#field_1_3, div#field_1_9 {
    padding-bottom: 0px;
    font-family: var(--e-global-typography-5d91714-font-family), Sans-serif;
    font-size: var(--e-global-typography-5d91714-font-size);
    font-weight: var(--e-global-typography-5d91714-font-weight);
    text-transform: var(--e-global-typography-5d91714-text-transform);
    line-height: var(--e-global-typography-5d91714-line-height);
}

#gfield_instruction_1_15, #gfield_upload_rules_1_16 {
    display: none !important;
}

label.gfield_label.gform-field-label {
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], textarea {
	padding: 15px 0 !important;
    color: var(--e-global-color-text) !important;
    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight: var(--e-global-typography-text-font-weight) !important;
    line-height: var(--e-global-typography-text-line-height) !important;
    letter-spacing: var(--e-global-typography-text-letter-spacing) !important;
    background-color:  var(--e-global-color-primary) !important;
    border-color: #FFFFFF33 !important;
    border-width: 0px 0px 1px 0px !important;
    border-radius: 0px 0px 0px 0px !important;
}

select {
	padding-left: 0 !important;
	color: var(--e-global-color-text) !important;
    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight: var(--e-global-typography-text-font-weight) !important;
    line-height: var(--e-global-typography-text-line-height) !important;
    letter-spacing: var(--e-global-typography-text-letter-spacing) !important;
    background-color:  var(--e-global-color-primary) !important;
    border-color: #FFFFFF33 !important;
    border-width: 0px 0px 1px 0px !important;
    border-radius: 0px 0px 0px 0px !important;
}

.gform-theme--framework select.gfield_select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' fill='white'%3E%3Cpath d='M143 352.3L7 216.3C-2.4 206.9-2.4 191.7 7 182.3l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0L160 256l96.5-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.5 9.4-24.7 9.4-34-.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.gform-theme--framework select.gfield_select,
.gform-theme--framework select.gfield_select:hover,
.gform-theme--framework select.gfield_select:focus {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' fill='white'%3E%3Cpath d='M143 352.3L7 216.3C-2.4 206.9-2.4 191.7 7 182.3l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0L160 256l96.5-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.5 9.4-24.7 9.4-34-.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

input#gform_submit_button_1, input#gform_submit_button_2 {
    font-family: var(--e-global-typography-e2f80af-font-family), Sans-serif;
    font-size: var(--e-global-typography-e2f80af-font-size);
    font-weight: var(--e-global-typography-e2f80af-font-weight);
    text-transform: var(--e-global-typography-e2f80af-text-transform);
    line-height: var(--e-global-typography-e2f80af-line-height);
    letter-spacing: var(--e-global-typography-e2f80af-letter-spacing);
    padding: 10px 70px 10px 70px;
    background-color: var(--e-global-color-accent);
	border-radius: 0;
}

div#gform_drag_drop_area_1_16 {
    padding: 0;
    text-align: left !important;
    background-color: transparent !important;
	border: none !important;
}

button#gform_browse_button_1_16 {
	font-family: var(--e-global-typography-e2f80af-font-family), Sans-serif;
    text-transform: var(--e-global-typography-e2f80af-text-transform);
    line-height: var(--e-global-typography-e2f80af-line-height);
    background-color: #FFFFFF;
	color: var(--e-global-color-primary);
	border-radius: 0;
}

span.gform_drop_instructions {
	display: none !important;
}

.gform-theme--framework .gfield:where(.gfield--type-fileupload,.gfield--input-type-fileupload,.gfield--type-post_image) .gform_drop_area::before {
	color: #FFFFFF !important;
}

/*---------- Event Form ----------*/
#gform_fields_3 {
	font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight: var(--e-global-typography-text-font-weight) !important;
    line-height: var(--e-global-typography-text-line-height) !important;
    letter-spacing: var(--e-global-typography-text-letter-spacing) !important;
}

legend.gfield_label.gform-field-label.gfield_label_before_complex {
	color: #FFFFFF !important;
	text-transform: uppercase !important;
	font-family: var(--e-global-typography-e2f80af-font-family), Sans-serif !important;
	font-weight: 700 !important;
}

.gform-field-label {
    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight: var(--e-global-typography-text-font-weight) !important;
    line-height: var(--e-global-typography-text-line-height) !important;
    letter-spacing: var(--e-global-typography-text-letter-spacing) !important;
}

input#gform_submit_button_3, input#gform_submit_button_4, input#gform_submit_button_5, input#gform_submit_button_6 {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
	text-transform: uppercase;
	background-color: var(--e-global-color-accent);
	color: #ffffff;
	border-radius: 0;
}