/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.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
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.dealer-events {
  min-height: calc(100vh - 195px);
  padding-bottom: 3rem;
}

.dealer-events header {
  padding-top: 260px;
  padding-bottom: 60px;
  background: #005B94;
  color: white;
  text-align: center;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.dealer-events .container {
  max-width: 1140px;
  margin: 0 auto;
}

.dealer-events .events {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.event-image {
  width: 20%;
}

.dealer-event {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.dealer-event + .dealer-event {
  border-top: 1px solid #ddd;
  padding-top: 2rem;
}

.event-details {
  font-size: 0.85rem;
  width: 80%;
}

.event-details h2 {
  margin: 0;
}

.event-details h3 {
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
}

.event-description {
  margin-top: 1rem;
}

.event-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
}

.event-meta div {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.event-meta img {
  width: 24px;
  height: 24px;
}

.event-brands {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.pp-gf-select-custom select {
  padding: 0 8px !important;
  background: none !important;
}

.gform_footer.top_label {
  padding-top: 10px !important;
}

.gform_footer.top_label input {
  background: black !important;
}

.brand-filters-form {
  border-bottom: 1px solid #ddd;
  margin-bottom: 2rem;
}

.brand-filters.desktop {
  display: flex;
}

.brand-filters.mobile {
  display: none;
}

.brand-filters {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 2rem 1rem;
  justify-content: center;
}

.brand-filters label {
  display: flex;
  font-size: 0.9rem;
  align-items: center;
  gap: 0.5rem;
}

a.event-url {
  display: inline-block;
  padding: 0.25rem 1rem;
  font-size: 0.9rem;
  border: 2px solid #005B94;
  color: #005B94;
  transition: 300ms all;
  margin-top: 1rem;
}

a.event-url:hover {
  background: #005B94;
  color: white;
}

.event-date {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.event-date img {
  width: 30px;
  height: 30px;
}

.presenting-dealer {
  font-size: 14px;
  font-weight: 500;
  margin: 5px 0;
  text-transform: uppercase;
}

/* responsive styles */
@media only screen and (max-width: 768px) {
  .dealer-events header {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .dealer-events header h1 {
    font-size: 2rem;
  }

  .dealer-events .events {
    padding: 0 1rem 2rem;
  }
  .dealer-events .events,
  .dealer-events .events .dealer-event {
    display: block;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-image {
    min-width: 100%;
    margin-bottom: 1rem;
  }

  .event-details {
    width: 100%;
  }

  .brand-filters {
    flex-direction: column;
  }

  .brand-filters.desktop {
    display: none;
  }

  .brand-filters.mobile {
    display: flex;
  }
}

.find-your-boat .elementor-item {
  background: #005b94 !important;
}

.find-your-boat .elementor-item:hover {
  border-color: #005b94 !important;
}

.current_page_item {
  border: 1px solid #005b94 !important;
}

/*----- Resouces Styles -----*/

/*--- General ---*/
.resources-template {
  font-family: "Oswald", Sans-serif;
}

.hidden {
  display: none !important;
}

.background-white {
  background-color: #ffffff !important;
}

/*--- Header Section ---*/
.resources-template .header-background-image-container {
  height: 545px;
  background-position: center center;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resources-template .header-background-image-container .overlay {
  background-color: #535353;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .55;
}

.resources-template .header-background-image-container h1 {
  color: #ffffff;
  z-index: 9;
  margin-top: 130px;
  font-weight: 600px;
  size: 73.5px;
}

.resources-template .page-container {
  margin: 40px 138px;
}


/*--- Search Section ---*/
.resources-template .search-section-container {
  background-color: #e9e9e9;
  border: 1px solid #a3a3a3;
  border-radius: 5px;
}

.resources-template .search-container {
  width: 50vw;
  margin: 0px auto;
  display: flex;
  align-items: center;
  padding: 20px;
}

.resources-template .search-container .search-text {
  width: 15%;
  text-align: right;
  font-weight: 600;
  font-size: 21px;
  text-transform: uppercase;
  margin-right: 20px;
}

.resources-template .search-container .white-box-search-container {
  width: 85%;
  display: flex;
  border: 1px solid #a3a3a3;
  border-radius: 5px;
  align-items: center;
}

.resources-template .search-container .white-box-search-container input {
  border: none;
  height: 50px;
  border-radius: 5px;
}

.resources-template .search-container .white-box-search-container .search-button {
  background-color: #005b94;
  display: flex;
  align-items: center;
  padding: 5px;
  margin-left: -50px;
  width: 42px;
  height: 38px;
  text-align: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
}

.resources-template .search-container .white-box-search-container .search-button img {
  height: 16px;
}

/*--- Filter Section ---*/
.resources-template .filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resources-template .filter-by-boat-container {
  display: flex;
  gap: 10px;
  margin: 20px 0px;
}

.resources-template .filter-all-boats-icon-svg {
  width: 54px;
  height: 28px;
  background-color: #4a4a4a;
}

.resources-template .filter-boats-icon-svg {
  width: 85px;
  height: 30px;
  background-color: #4a4a4a;
}

.resources-template .boat-filter-option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 140px;
  height: 90px;
  border: 1px solid #a3a3a3;
  border-radius: 5px;
}

.resources-template .boat-filter-option:hover {
  background-color: #dfdfdf;
  cursor: pointer;
}

.resources-template .boat-filter-option.selected {
  background-color: #005b94;
  color: #ffffff;
  cursor: pointer;
}

.resources-template .boat-filter-option.selected .filter-all-boats-icon-svg,
.resources-template .boat-filter-option.selected .filter-boats-icon-svg {
  background-color: #ffffff;
  cursor: pointer;
}

.resources-template .boat-filter-option p {
  margin: 0px;
}

.resources-template .boat-filter-option svg {
  fill: #005b94;
}

.resources-template .filter-by-category {
  position: relative;
}

.resources-template .category-selector {
  display: flex;
  justify-content: space-between;
  margin: 20px 0px;
  border-bottom: 1px solid #a3a3a3;
  padding: 20px 0px;
  min-width: 300px;
}

.resources-template .category-selector:hover {
  background-color: #005b94;
  cursor: pointer;
  color: #ffffff;
}

.resources-template .category-selector:hover .selected-category-text {
  color: #ffffff;
}

.resources-template .selected-category-text {
  font-weight: 500;
  font-size: 24px;
  color: #afafaf;
  text-transform: uppercase;
  padding: 0px 20px;
}

.resources-template .category-dropdown-icon {
  padding: 0px 20px 0px 0px;
}

.resources-template .category-dropdown-icon .category-dropdown-icon-svg {
  height: 30px;
  width: 40px;
  background-color: #000;
}

.resources-template .category-selector:hover .category-dropdown-icon-svg {
  background-color: #fff;
}

.resources-template .category-selection-options {
  border-bottom: 1px solid #4D4D4F;
  border-top: none;
  margin-top: -21px;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
}

.resources-template .category-selector:hover + .category-selection-options {
  display: block;
}

.resources-template .category-selection-options:hover {
  display: block;
}

.resources-template .category-selection-option {
  border: 1px solid #4D4D4F;
  border-bottom: none;
  padding: 20px;
  font-weight: 500;
  font-size: 24px;
  color: #4D4D4F;
  background-color: #fff;
}

.resources-template .category-selection-option:hover {
  background-color: #005b94;
  cursor: pointer;
  color: #fff;
}

.resources-template .resource-container {
  padding-bottom: 50px;
}

.resources-template .resource-container:nth-child(even) {
  background-color: rgba(226, 226, 226, .2);
}

.resources-template .resource-container:nth-child(even).background-white {
  background-color: #ffffff;
}

.resources-template .resources-container .resources-header {
  font-weight: 600;
  font-size: 38px;
  text-align: center;
  color: #005b94;
  padding: 50px 0px;
}

.resources-template .resource-loop {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 0px 138px;
  justify-content: center;
}

.resources-template .resource {
  width: 31.25%;
  vertical-align: top;
  border: 2px solid #4D4D4F;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0px 4px 4px 0px #00000040;
  margin: 20px 1%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resources-template .resource:hover {
  background-color: rgba(226, 226, 226, .5);
}

.resources-template .resource:hover .resource-link {
  background-color: #005b94;
  color: #ffffff;
  border: 1px solid #005b94;
}

.resources-template .resource .resource-header {
  font-weight: 600;
  font-size: 24px;
  color: #4d4d4f;
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 10px;
}

.resources-template .resource .resource-body {
  font-weight: 400px;
  font-size: 16px;
  line-height: 24.5px;
  font-family: "Noto Sans", sans-serif;
}

.resources-template .resource .link-container {
  text-align: center;
  margin: 25px 0px 10px 0px;
}

.resources-template .resource .resource-link {
  border: 1px solid #000000;
  padding: 10px 15px;
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 500;
  color: #4d4d4f;
}

.empty-results {
  text-align: center;
}


@media only screen and (max-width :1024px) {
  .resources-template .page-container {
    margin: 20px;
  }

  .resources-template .filter-container {
    flex-direction: column;
  }

  .resources-template .search-container {
    flex-direction: column;
    width: 100%;
  }

  .resources-template .search-container .search-text {
    display: none;
  }

  .resources-template .search-container .white-box-search-container {
    width: 100%;
  }

  .resources-template .filter-by-boat-container {
    width: 100%;
    margin-bottom: 10px;
  }

  .resources-template .filter-by-boat-container .boat-filter-option {
    height: 75px;
  }

  .resources-template .filter-by-boat-container .boat-filter-option img {
    width: 75%;
  }

  .resources-template .category-selector {
    margin: 0px;
  }

  .resources-template .category-dropdown-icon {
    padding: 0px;
  }

  .resources-template .filter-by-category {
    width: 100%;
  }

  .resources-template .selected-category-text {
    padding: 0px;
  }

  .resources-template .category-selector {
    min-width: auto;
  }

  .resources-template .category-selection-options {
    margin-top: -1px;
  }

  .resources-template .category-selector:hover {
    background-color: #ffffff;
  }

  .resources-template .category-selector:hover .selected-category-text {
    color: #afafaf;
  }

  .resources-template .resources-container .resources-header {
    padding: 20px;
  }

  .resources-template .resource-loop {
    flex-direction: row;
    margin: 0px 20px;
  }

  .resources-template .resource {
    width: 100%;
  }

}