/* Global CSS */
/* Header fixes */

#visual-portal-wrapper {
    width: 100% !important;
    min-width: 0 !important;
}


.fbi-nav-logo {
    z-index: -1000;
}

header.main-header .social>li 
.navbar-form button svg {
    max-height: 15px;
    max-width: 15px;
    width: 100%;
    height: auto;
}

header.main-header .social>li .navbar-form input {
    font-size: 13px;
    width: 78%;
    padding-right: 0;
}

.navbar-default .navbar-collapse, 
.navbar-default .navbar-form {
    margin-right: 0;
    padding-right: 5px;
}

@media (max-width: 940px) {
    .main-header .navbar-right {
        display: none;
    }

    .main-wrapper.container {
      width: 100% !important;
      min-width: 0 !important;
      padding-left: 5px !important;
      padding-right: 5px !important;
    }
}

header.main-header 
.top-navigation-container 
.navbar-nav>li>a {
    padding: 0;
    margin: 5px;
}

ul.navbar-right li {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 5px;
}
    

@media (max-width: 991px) {
    body:not(.section-front-page) .fbi-nav-logo {
        width: 100%;
    }
}

/* Footer fixes */
.main-footer .footer-custom 
.footer-links-middle-wrapper 
.footer-links-middle-content 
.left .brand-icon a img {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin: 0 10px;
}

.footer-links-middle-content .agency {
    display: none !important;
}

/* Magnify Glass Search */
.magnifier-search {
    float: right !important;
    margin-right: 0;
}

.magnifier-search {
  display: none;
}

@media (max-width: 939px) {
  .magnifier-search {
    display: block; /* or flex, inline-block, etc., depending on your layout */
  }
}

.magnifier-search .magnifier-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
    margin: 5px;
    display: block;
    line-height: 16px;
}


.magnifier-search .magnifier-link {
  cursor: pointer; /* Makes the pointer a hand/finger */
}

.magnifier-search .magnifier-link:hover {
  text-decoration: underline; /* adds underline on hover */
}

.magnifier-search .magnifier-link svg {
  transition: fill 0.2s ease-in-out; /* Optional smooth transition */
}

.magnifier-search .magnifier-link:hover svg {
  fill: yellow;
}

.magnifier-search .magnifier-link svg {
  width: 24px;
  height: 24px;
  fill: white; /* Ensures the magnifier is white */
  vertical-align: middle;
}



/* Date Selection Styles */ 
.field.ArchetypesCalendarWidget .plone_jscalendar { 
  white-space: nowrap; 
  font-size: 0; 
  margin-bottom: 20px; 
} 

.field.ArchetypesCalendarWidget .plone_jscalendar select { 
  display: inline-block; 
  vertical-align: middle; 
  width: 120px; 
  margin: 0 5px 0 0; 
  font-size: 14px; 
  box-sizing: border-box; 
} 

.field.ArchetypesCalendarWidget .plone_jscalendar span, 
.field.ArchetypesCalendarWidget .plone_jscalendar label { 
  display: inline-block; 
  vertical-align: middle; 
  font-size: 14px; 
} 

.field.ArchetypesCalendarWidget .plone_jscalendar span:has(> select) + span { 
  margin: 0 5px 0 0; 
} 

.field.ArchetypesCalendarWidget .plone_jscalendar span:not(:has(select)) { 
  font-size: 16px; 
  line-height: 1; 
  margin: 0 2px; 
} 

/* Date and Time */ 
.field.ArchetypesCalendarWidget .plone_jscalendar { 
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  row-gap: 10px; 
  column-gap: 5px; 
  font-size: 0; 
  margin-bottom: 20px; 
  max-width: 600px; 
} 

.field.ArchetypesCalendarWidget .plone_jscalendar select { 
  display: inline-block; 
  vertical-align: middle; 
  width: 120px; 
  margin: 0; 
  font-size: 14px; 
  box-sizing: border-box; 
} 

.field.ArchetypesCalendarWidget .plone_jscalendar span, 
.field.ArchetypesCalendarWidget .plone_jscalendar label { 
  display: inline-block; 
  vertical-align: middle; 
  font-size: 14px; 
} 

.field.ArchetypesCalendarWidget .plone_jscalendar span:has(> select) + span { 
  margin: 0 5px 0 0; 
} 

.field.ArchetypesCalendarWidget .plone_jscalendar span:not(:has(select)) { 
  display: inline-block; 
  vertical-align: middle; 
  font-size: 16px; 
  line-height: 1; 
  margin: 0 2px; 
}
