/* 
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.2
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
*/

:root {
  --primary-color: #044264;
  --secondary-color: #07aedf;
  --accent-color: #bed0dc;
  --text-color: #000000;
  --main-font: "Raleway", sans-serif;
  --white-color: #ffffff;
  --font-size: 16px;
  --line-height: 22px;
  --font-weight-bold: 700;
  --font-weight-normal: 400;
  --border-color: #d9d9d9;
}
.crate-theme .entry-content a {
  word-break: break-all;
}
.mobile-search-widget {
  padding: 10px 15px;
  width: 100%;
}

.mobile-search-form {
  display: flex;
  width: 100%;
  padding: 12px 20px;
}

.mobile-search-field {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fff;
}

.mobile-search-submit {
  padding: 10px 15px;
  background-color: #044264;
  color: white;
  border: none;
  cursor: pointer;
}

/* Improve the appearance on iOS devices */
.mobile-search-field {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.gform-body table th,
.gform-body table td {
  padding: 5px;
}

body #primary .ginput_container_list table.gfield_list tbody tr td.gfield_list_icons img {
  width: 25px !important;
  height: 25px !important;
}

header #main-menu-search.menu-search-widget .elementor-search-form__container {
  overflow: hidden;
  transition: width 0.3s ease-in-out;
}

header #main-menu-search.menu-search-widget .elementor-search-form__input {
  width: 0;
  padding: 0;
  transition: width 0.3s ease-in-out, padding 0.3s ease-in-out;
}

header #main-menu-search.menu-search-widget.input-visible .elementor-search-form__input {
  width: 250px;
  padding: 5px 0px 5px 5px;
  background-color: #fff;
}

header #main-menu-search.menu-search-widget.input-visible button.elementor-search-form__submit {
  background-color: var(--secondary-color);
}
header #main-menu-search.menu-search-widget button.elementor-search-form__submit svg:hover {
  fill: var(--secondary-color);
}
header #main-menu-search.menu-search-widget.input-visible button.elementor-search-form__submit svg:hover {
  fill: #fff;
}

.mega-menu-wrap ul.mega-menu li:last-child {
  margin: 0 0 0 0 !important;
}

/* Add your custom styles here */

/* ! Global Styles 
    General styles, variables, and common elements used across the site.
    Include styles that need to be available regardless of whether a specific page or component is loaded.
*/

body.search-results.publications-group #filter-content-container {
  display: none;
}

body.search-results.publications-group #results-container,
body.search-results.publications-group #results-container > div.elementor-element {
  width: 100%;
}

body.search-results.publications-group #results-container #search-results-widget .custom-post-layout .left-column {
  flex: 0 0 22%;
}

body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

body > .page,
#primary {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

div.elementor-element .gform_wrapper,
div.elementor-element .gform_wrapper .gfield_description {
  font-family: var(--main-font);
}

div.elementor-element .gform_wrapper .gform-field-label {
  font-weight: 600;
}

div.elementor-element .gform_wrapper .gform_button:hover {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
}

div.elementor-element .gform_wrapper .gfield_checkbox li input {
  margin-top: 0px !important;
}

/* * Header Section - start */

/* top banner expands larger than main header */
header.elementor > div > div.e-con-inner:has(.elementor-social-icons-wrapper) {
  max-width: 1500px;
}

/* add chevron to the desktop menu item on hover */
header.elementor #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
  position: relative !important;
}

header.elementor #mega-menu-menu-1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link::before {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 43% !important;
  transform: translateX(-50%) !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 10px solid transparent !important;
  border-right: 10px solid transparent !important;
  border-bottom: 10px solid var(--secondary-color);
  z-index: 9999 !important;
}

header #mega-menu-wrap-menu-1 #mega-menu-menu-1 p {
  margin-bottom: 0px !important;
}

header a.mega-menu-link-custom {
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: normal;
  text-align: left;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  vertical-align: top;
  border: 0;
}

header a.mega-menu-link-custom:hover {
  color: var(--secondary-color);
}

header .custom.mega-block-title a {
  color: #fff;
}

header .custom.mega-block-title a:hover,
header h4.custom.mega-block-title:hover {
  color: var(--secondary-color) !important;
}

.main-header-container-desktop .header-logo-text-container .header-text h3 {
  font-size: 20px;
  line-height: 24px;
  color: var(--primary-color);
  font-style: italic;
  margin: 0px;
}

.main-header-container-desktop .elementor-container-buttons a,
.main-header-container-mobile .elementor-container-buttons a {
  width: 100% !important;
}

.main-header-container-desktop .elementor-container-buttons {
  max-width: 234px !important;
}
.main-header-container-desktop .elementor-container-buttons .elementor-button {
  padding: 12px 12px;
}

.elementor .single-hero-background {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

header .menu-container .mega-menu-wrap ul > li.mega-menu-item > a:first-child {
  padding-left: 0px !important;
}

#mobile-btn-container.main-header-container-mobile {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
}

#mobile-btn-container.main-header-container-mobile > div {
  flex-grow: 1;
}

.members-only-message .elementor-button {
  background-color: #ffffff !important;
}
.members-only-message .elementor-button .elementor-button-text {
  font-weight: 500;
}

.break-words {
  word-break: break-word;
}

.event-info a {
  color: var(--secondary-color) !important;
}

/* * Mobile menu */

/* Initial state for the chevron */
.main-header-container-mobile .elementor-nav-menu .sub-arrow svg {
  fill: #fff;
}

.main-header-container-mobile .elementor-nav-menu--dropdown li a.elementor-item {
  font-weight: 700;
  font-size: 20px;
  line-height: 23.48px;
  padding: 12px 20px;
}

.main-header-container-mobile .elementor-nav-menu--dropdown ul.sub-menu,
.main-header-container-mobile .elementor-nav-menu--dropdown ul.sub-menu a.elementor-sub-item {
  background-color: var(--accent-color) !important;
  color: var(--text-color);
  font-weight: 400;
  font-size: 16px;
  line-height: 18.78px;
}

.main-header-container-mobile .elementor-nav-menu--dropdown ul.sub-menu li.menu-item,
.main-header-container-mobile .elementor-nav-menu--dropdown li:last-child {
  border: none !important;
}

.main-header-container-mobile .elementor-nav-menu--dropdown li span.first-submenu-item {
  font-weight: 700;
  font-size: 20px;
  line-height: 23.48px;
  border-bottom: 1px solid var(--text-color);
  width: 100%;
  padding: 10px 0px;
}

.main-header-container-mobile ul.elementor-nav-menu--dropdown {
  padding-bottom: 15px;
}

/* initial state for the chevron */
.elementor-item.has-submenu .e-font-icon-svg {
  transition: transform 0.3s ease;
}

/* rotated state for the chevron when the parent has the highlighted class */
.elementor-item.has-submenu.highlighted .e-font-icon-svg {
  transform: rotate(90deg);
}

li.submenu-open svg.e-font-icon-svg {
  transform: rotate(90deg);
}

.main-header-container-mobile .elementor-nav-menu--dropdown .elementor-item:focus {
  background-color: var(--primary-color);
}

.main-header-container-mobile
  .mobile-menu-inner-container
  .mobile-menu
  .elementor-nav-menu--dropdown.elementor-nav-menu__container {
  top: 35px !important;
}
.mobile-header-image.elementor-widget-image {
  margin-right: 20px;
  margin-left: auto;
}

/* Make buttons take up the entire height and have equal width */
#mobile-btn-container.main-header-container-mobile .elementor-button-wrapper,
#mobile-btn-container.main-header-container-mobile .elementor-widget-container {
  display: flex;
  flex-grow: 1;
}

#mobile-btn-container.main-header-container-mobile .elementor-button {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
}

.main-header-container-mobile .mobile-menu-inner-container .mobile-menu li > a {
  justify-content: space-between;
}

.main-header-container-mobile .mobile-menu-inner-container .elementor-menu-toggle {
  padding: 0px;
}

/* Mega Menu Section */
/* mega-toggle-on */
/*  add this class to the mega menu li to keep it open during development. */
header #menu-container.menu-container #desktop-mega-menu-shortcode.desktop-mega-menu li.custom-mega-menu {
  min-height: 300px;
}

/* Style the social icons wrapper */
.main-header-container-mobile .elementor-social-icons-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 5px 0px;
}

/* Style each social icon */
.main-header-container-mobile .elementor-social-icons-wrapper .elementor-grid-item {
  margin: 0 10px;
}

.main-header-container-mobile .elementor-social-icons-wrapper .elementor-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s;
}

.main-header-container-mobile .elementor-social-icons-wrapper .elementor-icon:hover {
  background-color: var(--secondary-color);
}

/*  *Footer Section - start */
.oea-main-footer-container .footer-oea-address-text {
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
}
.oea-main-footer-container .footer-oea-address-text p {
  margin-block-end: 0px;
  margin-bottom: 0px;
}

.oea-main-footer-container .footer-links-container {
  align-items: center;
}
.oea-main-footer-container .footer-links-container .footer-links .footer-nav-links p,
.oea-main-footer-container .footer-links-container .footer-links .footer-nav-links a {
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
}

.oea-main-footer-container .footer-links-container .footer-links .footer-nav-links p {
  margin-bottom: 5px;
}
.oea-main-footer-container .footer-links-container .footer-links .footer-nav-links a:hover {
  color: var(--secondary-color);
}
.oea-main-footer-container .footer-links-container .footer-links .footer-nav-links,
.oea-main-footer-container .footer-links-container .footer-links .footer-nav-links ul {
  color: var(--white-color);
}

.oea-main-footer-container .footer-links-container .footer-links .footer-nav-links ul {
  padding-left: 24px;
}

.oea-main-footer-container .footer-keep-in-touch-container .footer-keep-in-touch-title,
.oea-main-footer-container .footer-keep-in-touch-container .footer-keep-in-touch-text {
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
}
.oea-main-footer-container .footer-keep-in-touch-container .footer-keep-in-touch-text {
  font-weight: var(--font-weight-normal);
}

.oea-main-footer-container .footer-btn a {
  width: 100%;
  max-width: 181px;
}

/* Buttons */
.custom-btn .elementor-button {
  width: 100% !important;
}

.elementor-widget-container > ul > li,
.elementor-widget-container > ol > li {
  margin-bottom: 2px;
}

/* Custom Divider */
.elementor-element.custom-divider-element {
  --divider-border-style: none !important;
  --divider-color: transparent !important;
  --divider-border-width: 2px !important;
}

.custom-divider-element .elementor-divider-separator {
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

.custom-divider-element .elementor-divider {
  padding-block-start: 15px;
  padding-block-end: 15px;
}

.elementor-widget-text-editor > .elementor-widget-container > ul,
.elementor-widget-text-editor > .elementor-widget-container > ol {
  margin-bottom: 14.4px;
  /* padding-inline-start: 20px; */
}

.center-p {
  text-align: center;
}

.divisions-accordion details.e-n-accordion-item {
  border-top: 1px solid #bed0dc;
}

/* * Footer Section - end */

.media-contact-box {
  padding: 20px 30px;
}

.media-contact-box p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.media-contact-box a {
  color: #044264;
  text-decoration: none;
  font-weight: bold;
}

.media-contact-box a:hover {
  text-decoration: underline;
}

.deadline-note {
  font-style: italic;
  border-top: 1px solid #e0e0e0;
  padding-top: 10px;
  margin-top: 10px;
}

div.page ul:not(.elementor-icon-list-items) > li:before {
  display: inline-block;
 width: 15px;
 color: var(--e-global-color-primary);
 content: "• ";
 vertical-align: middle;
 font-size: 55px;
 }

 li.elementor-icon-list-item span.elementor-icon-list-icon svg.e-font-icon-svg {
  margin-right: 20px;
 }

 div.page ul {
  list-style-type: none;
 }

 div.page ul li {
  margin: 0.6em 0;
  padding-left: 1.5em;
  text-indent: -0.8em;
  line-height: 1.1em;
}

@media (max-width: 767px) {
  .oea-main-footer-container .footer-links-container {
    align-items: flex-start;
  }
}

/* Resources search results */
#category-search-container {
  margin-bottom: 20px;
}

/* #category-dropdown,
#post-search {
  margin-right: 10px;
  padding: 5px;
} */

#search-results {
  margin-top: 20px;
}

.media-contact-box {
  padding: 10px;
}

.search-result {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

/* global buttons */
button.custom-btn {
  font-family: "Raleway", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 18.78px;
  color: #ffffff !important;
  background-color: var(--secondary-color);
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: var(--secondary-color);
  border-radius: 5px 5px 5px 5px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 5px;
  width: 208px;
  padding: 12px 24px;
  text-transform: uppercase;
}

button.custom-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* used on Resources page */
form.search-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form > select {
  color: #757575;
}

form.search-form input[type="search"],
form.search-form input[type="text"],
form.search-form input[type="date"],
form.search-form input[type="email"],
form.search-form input[type="number"],
form.search-form input[type="password"],
form.search-form input[type="search"],
form.search-form input[type="tel"],
form.search-form input[type="url"],
form.search-form select,
form.search-form textarea {
  border: solid 1px var(--border-color);
}

form.search-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  padding-right: 30px;
  position: relative;
}

form.search-form .select-wrapper {
  position: relative;
  display: inline-block;
}

form.search-form .select-wrapper::after {
  content: "\f078"; /* Font Awesome chevron-down icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /*  clicks pass through to the select element */
  color: #000000;
}

.crate-theme .container {
  margin-left: inherit !important;
  margin-right: inherit !important;
  max-width: 100% !important;
}

.crate-theme .accordion-container .accordion {
  text-wrap: balance;
}

.crate-theme .elementor-widget-container.last-elementor-widget {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  padding: 30px;
  margin-top: 10px;
  margin-bottom: 30px;
}

/* Single Events page - Elementor theme builder template */
.p-no-margin p {
  margin: 0;
}

.single-events-container .tec-events-elementor-event-widget__venue-map {
  height: 100% !important;
}

.single-events-container .tec-events-elementor-event-widget__venue-container {
  margin: 0 !important;
}

.single-events-container h5.tec-events-elementor-event-widget__related-header {
  font-family: "Raleway", Sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 28.18px;
  margin-bottom: 10px;
}

.members-only-message.elementor {
  background: #fff;
  padding: 20px;
  margin: 30px 0;
  border: 1px solid #d9d9d9;
}

.members-only-message.elementor a {
  font-weight: 700;
}
