/*!
Theme Name: Wilmington Air Park
Theme URI: http://thinkpatented.com
Version: 4.27.4
Description: A custom theme developed 
Author: John Johnson
Author URI: http://thinkpatented.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/

/* Typography */

h3 {
  margin: 15px 0;
}

a {
    color: #1B429A;
}

/* Fullscreen Menu */
/* Menu */

body.no-scroll {
  overflow: hidden;
}

.no-collapse .et_mobile_nav_menu {
    display: none !important;
}

.et_pb_menu .et_pb_menu__menu {
    display: flex !important;
}

html .modal-nav .et_pb_menu__wrap {
    justify-content: flex-start !important;
}

.main-menu {
  z-index: 1001;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li a, .et_pb_text_2_tb_header h2 {
  line-height: 1em;
}

.modal-nav .et_pb_menu__menu>nav>ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: start;
    flex-direction: column;
}

.et_pb_module.et_pb_menu.et_pb_menu_0_tb_header.modal-nav.no-collapse.et_pb_bg_layout_light.et_pb_text_align_left.et_dropdown_animation_fade.et_pb_menu--without-logo.et_pb_menu--style-left_aligned {
    background: none;
}

/* #fullscreen-menu {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #3498db;
  color: white;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: none;
}

#fullscreen-menu.open {
  display: flex;
} */

.logo svg#Layer_1 {
    height: 30px;
    max-width: 100%;
}

#menu-button {
  cursor: pointer;
}

/* Start */

/* Styles for the menu button */
/* #menu-button {
    z-index: 1001;
    transition: transform 0.3s ease-in-out;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: 0;
    color: #fff;
    margin-bottom: 5px;
    margin-left: auto;
} */

/* Icon styles */
#menu-button .fa-bars,
#menu-button .fa-times {
    position: absolute;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-size: 30px;
}

#menu-button .fa-times {
    opacity: 0;
    transform: rotate(-90deg);
}

#menu-button.open .fa-bars {
    opacity: 0;
    transform: rotate(90deg);
}

#menu-button.open .fa-times {
    opacity: 1;
    transform: rotate(0deg);
}

/* Styles for the fullscreen menu */
html #fullscreen-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    /* display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column; */
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;

    overflow-y: auto;
    
    /* Smooth transition for appearing/disappearing */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 998;
    padding-top: 150px;
}

.et_pb_row.et_pb_row_0_tb_header.main-menu {
    z-index: 1000;
    background: linear-gradient(to bottom, #0E2355 0%, transparent 100%);
}

.dipl_lottie_wrapper svg g path {
    fill: #fff;
    stroke: #fff;
}

/* When the menu has the .open class, make it visible */
#fullscreen-menu.open {
    opacity: 1;
    visibility: visible;
}

.et_pb_module.et_pb_menu.et_pb_menu_0_tb_header.modal-nav.no-collapse.et_pb_bg_layout_light.et_pb_text_align_left.et_dropdown_animation_fade.et_pb_menu--without-logo.et_pb_menu--style-left_aligned {
    background: transparent !important;
}

/* Styling for the links inside the menu */
#fullscreen-menu a {
    /* color: white; */
    text-decoration: none;
    margin: 0rem 0;
    transition: color 0.2s;
}

#fullscreen-menu a:hover {
    color: #000;
}

.external-link::after {
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  content: "\f35d"; 
  font-size: 0.8em; 
  margin-left: 6px; 
  display: inline-block; 
  vertical-align: middle;
  color: #000;
}

#fullscreen-menu h3 {
    color: #000;
}

#fullscreen-menu .email a {
    color: #000;
}

#fullscreen-menu h3.outline {
    display: none;
}

@media (max-width: 980px) {
    .main-menu .et_pb_column {
        width: 50% !important;
    }

    .et-db #et-boc .et-l .main-menu .et_pb_column {
        width: 50% !important;
    }
}

@media (max-width: 479px) {
    .main-menu .et_pb_column {
        width: 50% !important;
    }


    .et-db #et-boc .et-l .main-menu .et_pb_column {
        width: 50% !important;
    }

}

div#texture img {
    opacity: 0.4 !important;
}

/* Starter CSS for the WP Go Maps Legend */
.wpgmza-legend-sidebar {
    background-color: #f4f4f4;
    border: 2px solid #005a9e;
    border-radius: 8px;
    padding: 20px;
}

.wpgmza-legend-sidebar ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.wpgmza-legend-sidebar .legend-category-list > li {
    margin-bottom: 15px;
}

.wpgmza-legend-sidebar .legend-category-item > strong {
    font-family: Arial, sans-serif;
    font-size: 1.1em;
    color: #c00; /* Example color for category title */
    margin-bottom: 5px;
    display: block;
}

.wpgmza-legend-sidebar .legend-marker-list {
    list-style-type: disc; /* Use bullets for markers */
    padding-left: 25px; /* Indent marker items */
}

.wimg-legend-sidebar .legend-marker-list li {
    font-size: 1.0em;
    color: #008000; /* Example color for marker title */
    padding-bottom: 5px;
}

.wpgmza-legend-sidebar .legend-marker-list li a {
    text-decoration: none;
    color: inherit; /* Inherit color from the list item */
}

.wpgmza-legend-sidebar .legend-marker-list li a:hover {
    text-decoration: underline;
}

/* Slant */
.slant img {
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

.reverse-slant img {
    clip-path: polygon(0 0, 97% 0%, 100% 100%, 3% 100%);
}

.reverse-slant video {
    clip-path: polygon(0 0, 97% 0%, 100% 100%, 3% 100%);
}

.slant-box {
    clip-path: polygon(1.5% 0, 100% 0, 98.5% 100%, 0 100%);
}

.et_pb_de_mach_gallery_item.et_pb_gallery_item.et_pb_grid_item.et_pb_bg_layout_light.first_in_row {
    padding: 0;
    margin: 0;
}

.gallery-slant img {
    clip-path: polygon(0 0, 97% 0%, 100% 100%, 3% 100%);
}

/* CTA */
.footer-lease-cta {
    transform: skew(-3deg);
}

.footer-lease-cta .et_pb_column {
    transform: skew(3deg);
}

/* Misc. */
video {
    box-shadow: 0px 12px 30px 10px rgba(0, 0, 0, 0.2);
}

.card-arrow {
    position: absolute;
    bottom: -10px;
    right: 10px;
}

.card-arrow .arrow-right:after {
    font-family: 'ETMODULES';
    content: '\26';
    font-size: 22px;
    margin-right: 7px;
    vertical-align: top;
    text-align: right;
    background: #1B429A;
    padding: 10px 20px;
    z-index: 1000;
    border-radius: 100px;
}

.slanted-card {
    transform: skew(-3deg);
}

.slanted-card .et_pb_module {
    transform: skew(3deg);
}

.slanted-card .et_pb_module_heading {
    margin-left: -5px;
}

/* Menu */
html .main-menu-parent {
    font-family: 'HK Grotesk Wide', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    font-size: 30px;
}

html .main-menu-last {
    margin-bottom: 15px !important;
}

/* Specialize In */
/* This is the main container for the layout */
.icon-text-block {
    display: flex;
    align-items: center; /* Vertically centers the icon with the text */
    gap: 20px;           /* Creates space between the icon and text */
    margin: 20px;        /* Optional: adds space around the block */
    padding: 20px;       /* Optional: padding inside the block */
    border-radius: 8px;     /* Optional: rounded corners */
}

/* This styles the icon's background circle */
.icon-left {
    background-color: #fff; /* Dark gray background like the image */
    border-radius: 50%;         /* Makes it a perfect circle */
    width: 70px;                /* Size of the circle */
    height: 70px;
    
    /* These lines center the icon *inside* the circle */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Prevents the circle from shrinking */
    flex-shrink: 0;
}

/* This styles the Font Awesome icon itself */
.icon-left i {
    color: #1B429A;           /* White icon color */
    font-size: 30px;          /* Size of the icon */
}

/* This tells the text block to take up the remaining space */
.text-right {
    flex: 1;
    color: #fff;
}

/* This styles the second <p> tag (the body text) */
.text-right p:last-child {
    margin-top: 5px; /* Adds a small space between heading and text */
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .main-menu .et_pb_column {
        width: 50% !important;
    }

    .et-db #et-boc .et-l .main-menu .et_pb_column {
        width: 50% !important;
    }

    .et_pb_section_2_tb_header.et_pb_section h3 {
        font-size: 14px !important;
    }

    .et_pb_section_2_tb_header.et_pb_section .et_pb_text_inner {
        font-size: 12px !important;
        line-height: 16px;
    }
}

/* Featured Partners */
/* Basic styling for the partner grid */
.featured-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Space between logos */
    padding: 20px 0;
    margin: 0;
    list-style: none;
}

.featured-partners-grid li {
    flex: 1 1 180px; /* Grow, shrink, base width */
    max-width: 220px; /* Max width for each logo */
    text-align: center;
    list-style: none;
}

.featured-partners-grid img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.featured-partners-grid a:hover img {
    opacity: 1;
}

/* Specialize Section */
/* Basic styling for the "We Specialize In" section */
.specialize-headline {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 10px;
}
.specialize-blurb {
    text-align: center;
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px auto;
}
.specialize-grid {
    display: grid;
    /* Create 3 columns by default */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.icon-text-block {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* Space between icon and text */
}
.icon-left {
    font-size: 2.5em; /* Make icon larger */
    text-align: center;
    /* You can add a default color if you want */
    /* color: #007bff; */
}
.text-right {
    flex: 1;
}
.text-right p {
    margin: 0;
    padding: 0;
}
.text-right strong {
    font-size: 1.2em;
    margin-bottom: 5px;
    display: block;
}

/* All Partners */
.all-partners-container {
    display: grid;
    /* Create 3 columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Space between cards */
    padding: 20px 0;
}

.partner-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.partner-card-logo {
    width: 100%;
    max-width: 250px; /* Max logo width */
    height: auto;
    margin-bottom: 15px;
    padding: 30px;
    align-self: center; /* Center the logo */
}

.partner-card-name {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.partner-card-info {
    font-size: 0.95em;
    flex-grow: 1; /* Makes info block fill space */
}

.partner-card-info p:first-child {
    margin-top: 0;
}
.partner-card-info p:last-child {
    margin-bottom: 0;
}

.partner-card-website {
    margin-top: 15px; /* Pushes to the bottom */
    font-weight: bold;
}

/* Meeting Minutes Buttons */

html .page-id-150 #divi_filter span.et_pb_contact_field_options_title {
    display: none !important;
}

/* Target the wrapper for the radio button list */
.et_pb_contact_field_options_list {
    display: flex; /* Arrange items in a row */
    align-items: center; /* Vertically align items */
    gap: 8px; /* Space between the button-like labels */
    padding: 10px 0; /* Add some vertical padding */

    /* Enable horizontal scrolling for the list */
    overflow-x: auto; 
    overflow-y: hidden;
    white-space: nowrap; /* Prevent labels from wrapping to the next line */

    /* Optional: Hide scrollbar but keep scroll functionality (for Chrome, Safari, Edge) */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Webkit browsers */
.et_pb_contact_field_options_list::-webkit-scrollbar {
    display: none;
}

/* Ensure the wrapper for each radio option flows in the flex container */
.et_pb_contact_field_radio {
    /* Required to contain the button-like label */
    display: inline-block; 
}

/* --- Hiding Default Radio Input --- */

/* Hide the actual radio button input element */
.et_pb_contact_field_radio input[type="radio"] {
    position: absolute; /* Take it out of the normal flow */
    opacity: 0; /* Make it invisible */
    pointer-events: none; /* Make sure it doesn't interfere with clicks on the label */
}

/* Target the label (the "button") for general styling */
.et_pb_contact_field_radio .radio-label {
    /* General button appearance */
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px; /* Highly rounded corners */
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    user-select: none; /* Prevent text selection */

    /* Color scheme for UNCHECKED/default state (light gray/sage green) */
    background-color: #A9BCA3; /* The lighter, default gray-green color */
    color: #4C594A; /* Darker text for contrast */
}

/* Hide the unnecessary <i> tag which is usually for a custom checkmark */
.et_pb_contact_field_radio .radio-label i {
    display: none;
}

/* When the radio input is CHECKED, apply styles to its sibling label */
.et_pb_contact_field_radio input[type="radio"]:checked + .radio-label {
    /* Color scheme for CHECKED/active state (dark green) */
    background-color: #5BA040; /* The darker, active green color */
    color: #FFFFFF; /* White text for contrast */
}

/* Meeting Minutes Cards */
.meeting-card {
    /* Dimensions and Layout */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes links to the bottom */
    padding: 20px;
    margin: 10px; /* Space between cards in the grid */
    min-height: 250px; /* Adjust as needed */
    /* clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%); */
    /* Colors and Appearance */
    background-color: #2F4288; /* Dark Navy Blue background */
    color: #FFFFFF; /* White text */
    border: 3px solid transparent; /* Default border is transparent */
    transition: border-color 0.2s;
    box-shadow: 0px 12px 30px 10px rgba(0, 0, 0, 0.2);
}

/* Active State (the blue border on the first card) */
.meeting-card.is-selected {
    border-color: #5D85FB; /* Bright Blue border for selected/active state */
}

.meeting-headline {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 5px;
    color: #fff;
}

.meeting-date {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7); /* Slightly lighter date text */
    margin-bottom: 15px;
}

.meeting-blurb {
    font-size: 1em;
    line-height: 1.5;
}

.meeting-card-links {
    margin-top: auto; /* Pushes the link block to the bottom */
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
    display: flex;
    gap: 15px;
}

.meeting-card-links a {
    color: #ffffff; /* Bright Blue link color */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}

/* Style for the icons (using dashicons for this example) */
.meeting-card-links a span {
    margin-right: 8px;
    font-size: 1.1em;
    background: #fff;
    color: #000;
    border-radius: 100px;
    padding: 5px 8px;
    text-align: center;
    height: auto !important;
    width: auto !important;
}

/* --- Mobile Responsiveness (Ensuring Scrollability) --- */
@media (max-width: 767px) {
    /* On small screens, ensure the labels are displayed inline to force horizontal flow */
    .et_pb_contact_field_radio {
        flex-shrink: 0; /* Prevents items from shrinking */
    }
}

/* Responsive: Stack on small screens */
@media (max-width: 768px) {
    .all-partners-container {
        /* 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .all-partners-container {
        /* 1 column on mobile */
        grid-template-columns: 1fr;
    }
}

/* Responsive: Stack on small screens */
@media (max-width: 981px) {
    .specialize-grid {
        /* Change to 1 column on tablets and mobile */
        grid-template-columns: 1fr;
    }
}

/* Responsive: On smaller screens, stack them or show fewer per row */
@media (max-width: 768px) {
    .featured-partners-grid li {
        flex-basis: 33.33%; /* 3 per row on medium screens */
        max-width: 33.33%;
    }
}

@media (max-width: 480px) {
    .featured-partners-grid li {
        flex-basis: 50%; /* 2 per row on small screens */
        max-width: 50%;
    }
}

/* Responsive: On smaller screens, stack them or show fewer per row */
@media (max-width: 768px) {
    .featured-partners-grid li {
        flex-basis: 33.33%; /* 3 per row on medium screens */
        max-width: 33.33%;
    }
}

@media (max-width: 480px) {
    .featured-partners-grid li {
        flex-basis: 50%; /* 2 per row on small screens */
        max-width: 50%;
    }
}

@media (max-width: 479px) {
    .main-menu .et_pb_column {
        width: 50% !important;
    }


    .et-db #et-boc .et-l .main-menu .et_pb_column {
        width: 50% !important;
    }

}