/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


span.eael-simple-menu-toggle-text {
    display: none;
}
/* Force full width */
.elementor-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove horizontal scrollbar */
body {
    overflow-x: hidden;
}

/* Ensure full-width without overflow */
.elementor-section {
    overflow: hidden;
}


.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    justify-content: flex-end;
    padding: .5em;
}
.elementor-element.elementor-element-9c2a8ad .eael-simple-menu >li > a, .eael-simple-menu-container .eael-simple-menu-toggle-text {

    font-size: 24px;
}

.site-footer {
    padding: 40px 60px 40px 60px;
    background-color: rgb(14, 46, 84);
    padding: 20px;
    text-align: left;
}

.footer-content h2 {
    font-size: 24px;
    color: #333;
}

.footer-content p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
}
label#name {
    color: #fff;
}

span.swiper-pagination-bullet {
    border-radius: 0px;
}
span.gp-icon.icon-search {
    color: #0E2C50;

}
.gp-icon svg {
height:2em;
width:2em;
}


@media only screen and (max-width: 768px) {
    figure.swiper-slide-inner {
        display: flex!important;
        height: inherit!important;
        flex-direction: column!important;
    }
    img.swiper-slide-image {
        /* height: 470px; */
        width: 100%!important;
    }
    .elementor-11 .elementor-element.elementor-element-2a93b8b .elementor-image-carousel-caption {
        width: 100%!important;
    }

}
li#menu-item-248 {
    position: relative; /* Ensure positioning for pseudo-element */
}



/* Hide the secondary menu by default */
.secondary-mobile-menu-container {
    display: inline-block;
    position: relative;
}

.secondary-mobile-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the toggle button */
    right: 0;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 200px; /* Adjust as needed */
    padding: 10px 0;
}

/* Hamburger menu toggle button */
.secondary-mobile-menu-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Show the menu when toggle is active */
.secondary-mobile-menu[aria-expanded="true"] {
    display: block;
}

/* Style the menu items */
.secondary-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.secondary-menu-items li {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.secondary-menu-items li:last-child {
    border-bottom: none;
}

.secondary-menu-items a {
    text-decoration: none;
    color: #333;
    display: block;
}

.secondary-menu-items a:hover {
    background: #f5f5f5;
}

@media only screen and (max-width: 3000px) {
    .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal li, .hfe-nav-menu__breakpoint-tablet .hfe-nav-menu {
        width: 100%;
       
    }
   
    nav.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.menu-is-active {
        display: visible!important;
    }
}
.hfe-nav-menu__breakpoint-tablet .hfe-layout-horizontal .hfe-nav-menu__toggle, .hfe-nav-menu__breakpoint-tablet .hfe-layout-vertical .hfe-nav-menu__toggle {
    visibility: visible;
    opacity: 1;
    display: block;
}
.hfe-nav-menu__layout-horizontal {
    display: none; /* Hide the menu initially */
}

.hfe-nav-menu__layout-horizontal.active {
    display: block; /* Show the menu when active */
}

.hfe-nav-menu__toggle {
    cursor: pointer; /* Add a pointer cursor to indicate clickability */
}

.menu-with-label .elementor-menu-toggle {
    position: relative;
    display: flex;
    align-items: center;
}

.menu-with-label .elementor-menu-toggle::before {
    content: "Menu"; /* The label text */
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
    color: #000; /* Adjust color */
}



ul#menu-1-60be1d9 {
    background-color: #fff;
}

ul#menu-1-60be1d9 li {
    background-color: #fff;
    margin-right: 10em !important;
    font-size: 25px !important;
    font-weight: 900 !important;
    padding: .5em;
}
svg.e-font-icon-svg.e-fas-angle-down {
    display: none;
}


.elementor-element.elementor-element-df91948.headerunderline.elementor-widget.elementor-widget-heading a:hover {
    text-decoration: underline !important;
}

.headerunderline a:hover{

    text-decoration: underline !important;

}


/* Hide the existing Font Awesome search icon */
.hfe-search-icon-toggle i {
    display: none !important; /* Hide the default Font Awesome icon */
}

/* Add the PNG background image to the search button */
.hfe-search-icon-toggle {
    position: relative; /* Ensure correct positioning */
    cursor: pointer; /* Ensure pointer cursor for interactivity */
    background-image: url('/wp-content/uploads/2025/01/icon_search2.png'); /* Replace with the URL of your PNG image */
    background-size: contain; /* Scale the image to fit */
    background-repeat: no-repeat; /* Prevent repetition */
    background-position: center; /* Center the image */
    width: 60px; /* Set the width of your PNG image */
    height: 60px; /* Set the height of your PNG image */
    display: flex; /* Ensure the icon is centered properly within the container */
    align-items: center; /* Vertically center the icon */
    justify-content: center; /* Horizontally center the icon */
    transition: opacity 0.3s ease; /* Optional: smooth transition effect */
}

/* Ensure the icon remains visible, even when the input field expands */
.hfe-search-icon-toggle {
    visibility: visible !important; /* Ensure the icon stays visible */
}

/* When the search box is focused, keep the icon visible */
.hfe-search-form__input:focus + .hfe-search-icon-toggle {
    visibility: visible !important; /* Ensure the icon stays visible when search input is focused */
}

/* Keep the search icon always visible even when the search box is open */
.hfe-search-form__input {
    padding-right: 60px !important; /* Ensure there is space for the search icon */
}

.hfe-search-button-wrapper {
    position: relative;
}

.hfe-search-form__input {
    width: 100%; /* Ensure the search input expands properly */
    padding-left: 10px; /* Adjust left padding */
    padding-right: 10px; /* Adjust right padding */
}

.hfe-search-button-wrapper input[type="search"]:focus {
    padding-right: 60px; /* Ensure space for the icon when focused */
}



.elementor-widget-divider .elementor-divider {
    display: flex;
    justify-content: center;
}



div#elementor-tab-content-1131 {
    background-color: #3abe87;
    color: #fff;
}
div#elementor-tab-content-1132 {
    background-color: #db9309;
    color: #fff;

}

div#elementor-tab-content-1133 {
    background-color: #aec63c;
    color: #fff;

}

div#elementor-tab-content-1134 {
    background-color: #3dbdc9;
    color: #fff;

}

div#elementor-tab-content-1135 {
    background-color: #a60c33;
    color: #fff;

}

div#elementor-tab-content-1136 {
    background-color: #2472c3;
    color: #fff;

}

@media only screen and (min-width: 2500px) {

.ptemp {
    margin-right: 45em;
}

}

@media only screen and (max-width: 1380px) and (min-width: 1201px) {

    .elementor-element.elementor-element-ba51f86.e-con-full.facebook.e-flex.e-con.e-child {
        width: 20%;
    }
    .elementor-element.elementor-element-7ca56af.e-con-full.x.e-flex.e-con.e-child {
        width: 20%;
    }
    .elementor-element.elementor-element-f7cc5d2.e-con-full.printicon2.e-flex.e-con.e-child {
        width: 20%;
    }

}

@media only screen and (max-width: 1900px) and (min-width: 1750px) {

.ptemp {
margin-right: 12em;
}
}


@media only screen and (max-width: 2000px) and (min-width: 1901px) {

    .ptemp {
    margin-right: 20em;
    }
    }


    @media only screen and (max-width: 1200px) {
        .elementor-element.elementor-element-923fb5a.e-con-full.pt2.e-flex.e-con.e-parent.e-lazyloaded {
            display: flex;
            flex-direction: column;
        }
        .elementor-element.elementor-element-8bac91d.e-con-full.e-flex.e-con.e-child {
            width: 100%;
        }
        .elementor-element.elementor-element-923fb5a.e-con-full.pt2.e-flex.e-con.e-parent.e-lazyloaded {
          
            padding: 0px;
        }

    }

    @media only screen and (max-width: 1000px) {
    li#menu-item-786,
    li#menu-item-787,
    li#menu-item-788 {
        display: none;
    }
}

@media print {
    /* Hide everything by default */
    header,
    footer,
    .social * {
        display: none !important;
    }

    /* Show only the <main> container and its content */
    main, main * {
        display: block !important;
        visibility: visible !important;
    }

    /* Ensure the main container is positioned correctly */
    main {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 1200px) {

    li#menu-item-1516,
    li#menu-item-1429,
    li#menu-item-1515{

        display:none;
    }


}

@media only screen and (max-width: 1600px) {
.elementor-element.elementor-element-178d008.e-con-full.social.e-flex.e-con.e-child {
    margin-right: 5em;
}
}

/* Ensure dropdown menu items stay on one line */
.eael-simple-menu-container .eael-simple-menu.eael-simple-menu-horizontal li ul {
    width: 20em !important;
    white-space: nowrap !important;
}

/* Standard behavior: First-level dropdown opens to the right */
.eael-simple-menu-container .eael-simple-menu.eael-simple-menu-horizontal li ul {
    left: 0;
    right: auto;
}

/* Move second-tier dropdowns to the left */
.eael-simple-menu-container .eael-simple-menu.eael-simple-menu-horizontal li ul ul {
    left: auto;
    right: 100%;
}

/* Special case: Last menu item's second-tier dropdown should open to the left */
.eael-simple-menu-container .eael-simple-menu.eael-simple-menu-horizontal li:last-child ul {
    left: auto;
    right: 0;
}

/* Last menu item's second-tier dropdown also opens to the left */
.eael-simple-menu-container .eael-simple-menu.eael-simple-menu-horizontal li:last-child ul ul {
    left: auto;
    right: 100%;
}


.elementor-element.elementor-element-9e97b24.elementor-widget-divider--view-line.elementor-widget.elementor-widget-divider {

    height: 0px;
}


.ptemplate{
padding:0px;

}

.printicon2{
    padding:0px;

}

.elementor-element.elementor-element-9f6dded.social.elementor-widget.elementor-widget-hfe-breadcrumbs-widget {
    margin-top: -10px;
}


.searchnav{
padding: 1.9em;
}



.youtube-filters {
    margin-bottom: 20px;
}

.youtube-filters select, .youtube-filters input, .youtube-filters button {
    padding: 5px 10px;
    margin-right: 10px;
}

.youtube-feed .video-item {
    margin-bottom: 20px;
}

.youtube-feed .video-item img {
    max-width: 100%;
}


/* Ensures the video container is aligned in a list */
#youtube-videos .sby_video {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* Title of the video */
#youtube-videos .ytp-title {
    text-align: center;
    margin-bottom: 10px;
}

#youtube-videos .ytp-title-text a {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

/* Date styling */
#youtube-videos .ytp-title-subtext .video-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

/* Thumbnail Image */
#youtube-videos img {
    width: 100%;
    max-width: 400px; /* You can adjust the width as needed */
    height: auto;
}

p.embedpress-el-powered {
    display: none;
}

#toolbarViewerMiddle, #toolbarContainer, .viewer .toolbar {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}


div#toolbarViewer {
    display: none!important;
}

div#toolbarViewerMiddle {
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}


li#menu-item-246 ul > li > a {
    color: #004588;
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    padding:  10px 50px;
}

a.learnmore {
    color: #fff;
}
a.learnmore:hover {
    text-decoration: underline ;
}

a.learnmore2:hover {
    text-decoration: underline ;
    color:#fff;
}

.elementor-element.elementor-element-d75f99a.e-con-full.header12.e-flex.e-con.e-parent.e-lazyloaded {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}
span.wpcf7-form-control.wpcf7-checkbox {
    display: flex;
    flex-direction: column;
}
span.wpcf7-form-control.wpcf7-radio.aiopp {
    display: flex;
    flex-direction: column;
}
span.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column;
}
select.wpcf7-form-control.wpcf7-select.State, 
select.wpcf7-form-control.wpcf7-select, 
select.wpcf7-form-control.wpcf7-select
 {
    font-size: 14px;
    font-weight: 400 !important;
}