@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@media print {
  @page {
      margin: 0.5in;
  }
  body * {
      visibility: hidden;
  }
  #divService,
  #divService * {
      visibility: visible;
  }
  #btnRelatedServices * {
      visibility: hidden;
  }
  #related_services * {
      visibility: hidden;
  }
  body {
    overflow: hidden;
      margin: 0;
      padding: 0;
  }
  #divService {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      margin: 0;
      padding: 0;
  }
  #btnReturn,
  #btnPrintPage {
      display: none !important;
  }
  .service-header {
      margin-top: 0 !important;
      padding-top: 0 !important;
  }
  .info-page {
    overflow: visible !important;
  }
  .info-page,
  .info-page * {
    visibility: visible !important;
  }
  .info-print,
  .info-print * {
    visibility: visible !important;
  }
  .info-hidden,
  .info-hidden * {
    visibility: hidden !important;
    display: none !important;
  }
}

/* GENERAL*/
:root {
    --gold: #AA8A41;
    --navy: #3E4450;
    --dark-navy: #1E222E;
    --accent-blue: #606A76;
    --light-grey: #EBE9EA;
    --red: #E14848;
    --bs-navbar-height: 35px;
    --header-curve: 30px;
    --crisis-visible-height: 60px; /* how much of the crisis bar should show under the curve */
    --small: 320px;
    --medium: 768px;
    --large: 1024px;
}
@media screen and (min-width: 320px){
  :root{
    --bs-navbar-height: 25px !important;
  }
}
@media screen and (min-width: 768px) {
  :root{
    --bs-navbar-height: 35px !important;
  }
}
@media screen and (min-width: 1024px) {
  :root{
    --bs-navbar-height: 35px !important;
  }
}
nav {
  min-height: var(--bs-navbar-height);
}
nav img {
    height: auto;
    max-width: 180px;
  }
@media screen and (min-width: 768px) {
  nav img {
    height: 40px;
  }
}
.responsive-header{
  height: 50vh;
  width: 100%;
  object-fit: cover;
}
@media screen and (min-width: 768px) {
  .responsive-header{
    height: 100vh;         /* 50% of viewport height */
    width: auto;
    object-fit: cover;
  }
}
footer {
  background-color: var(--accent-blue);
  color: white;
  padding: 50px 60px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
}
.container {
  display: flex;
  justify-content: space-between;
  max-width: 760px;
  width: 100%;
  flex-wrap: wrap;
  gap: 50px;
}
.left,
.right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 300px;
}

a {
  color: white;
  text-decoration: none;
  font-weight: 100;
}
h4 a, p a{ /*crisis, needHelp telephone links*/
  color: var(--dark-navy)
}
a:hover {
  text-decoration: underline;
}
@media (max-width: 720px) {
  footer {
    gap: 40px;
    padding: 30px 20px;
  }
  .container,
  .left,
  .right {
    flex-direction: column !important;
    max-width: 100%;
  }
}

*{
   color: var(--dark-navy);
   font-family: Inter !important;
}

/* ucdd main colors */
.gold{
    background-color: #AA8A41;
}
.navy{
    background-color: #3E4450;
}
.dark_navy{
    background-color: var(--dark-navy);
}
.accent_blue{
    background-color: #606A76;
}
.red{
    background-color: #E14848;
}
.white{
    color: #FFFFFF;
}
.clr-dark-navy {
    color: #1E222E;
}
.clr-light-grey {
    color: #EBE9EA;
}
body, html {
    /* height: 100%; */
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: white;
    color: var(--dark-navy);
    line-height: 1.5;
    overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 38px;
}
main {
    flex: 1 0 auto;
    width: 100%;
    padding-top: var(--bs-navbar-height, 71.69px);
    min-height: calc(100vh - var(--bs-navbar-height, 80px));
}

footer img {
    height: 300px;
}
.image-fade {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: top;
    position: relative;

    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
p{
  color: #000;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
}
/* USED ON MULTIPLE PAGES */
.search-input{
  font-size: clamp(1.2rem, 5vh, 1.5rem);
  color: var(--dark-navy);
} 
@media screen and (min-width: 768px) {
  .search-input{
    /* font-size: 1.2rem !important; */
    flex-grow: 1; /* stretches vertically*/
    border: 0px !important;
    outline: none !important;
    box-shadow: none !important; 
    color: var(--dark-navy);
  }
}
@media screen and (min-width: 1024px) {
  .search-input{
    font-size: 1.6rem !important;
    flex-grow: 1; /* stretches vertically*/
    border: 0px !important;
    outline: none !important;
    box-shadow: none !important; 
    color: var(--dark-navy);
  }
}
.divider-vertical {
  border-right: 2px solid var(--light-grey);
  height: 80%;
  padding: 0px !important;
}
@media screen and (min-width: 320px){
  .divider-vertical {
    display: flex;
    align-self: center;
    border-right: 2px solid var(--light-grey);
    height: 80%;

  }
}
.divider-horizontal {
  border-bottom: 2px solid var(--gold);
  width: 70%;
  padding: 0px !important;
}
/* INDEX */
#carouselExampleControls {
  position: relative;
}

/* AI CSS */
/* search bar */
.ai-search-bar .input,
.ai-search-bar .bi{
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: clamp(1rem, 3vw, 1.5rem);
}
.ai-search-bar{
  display: flex;
  align-items: stretch;
  gap: 1rem;
  background-color: #FFF;
  border: 3px solid var(--gold);
  border-radius: 30px;
  box-shadow: 0 4px 10px 0 var(--dark-navy);
}
@media screen and (min-width: 320px){
  .ai-search-bar{
    display: flex;
    align-items: center;
    justify-content: start; /* aligns  horizontally*/
    width: 100%;
    height: 50px;
    background-color: #FFF;
    border: 3px solid var(--gold);
    border-radius: 30px;
    box-shadow: 0 4px 10px 0 var(--dark-navy);
    padding: 0 10px; /* add horizontal padding */
    box-sizing: border-box;
  }
}
@media screen and (min-width: 768px) {
  .ai-search-bar{
    display: flex;
    align-items: start; /* aligns  vertically*/
    /* gap: 1rem; */
    background-color: #FFF;
    border: 3px solid var(--gold);
    border-radius: 30px;
    box-shadow: 0 4px 10px 0 var(--dark-navy);
    width: 80%;
    padding-inline: 15px;
    flex-direction: row;
    justify-content: center; /* aligns  horizontally*/
    height: 80px;
  }
}
@media screen and (min-width: 1024px) {
  .ai-search-bar{
    height: 80px;
  }
}
.ai-search-bar {
  pointer-events: auto; /* but search bar is clickable */
}
/* ai html */

/* SERVICES CSS */
/* Main container padding and max-width  */
.container-referral {
  padding: 2rem 1rem;
  max-width: 700px;
}
/* Container for Org_profilepage*/
.bg-dark-navy {
  background-color: var(--dark-navy);
  color: white;
  border-radius: 8px 8px 0 0;
  padding: 24px;
  width: 100%;
  margin: 0 auto ;
  text-align: left;
}
    
/* Services section */
.services {
  font-size: 1rem !important;         
  color: var(--accent-blue);
  margin-top: 32px;
  margin-bottom: 64px;
}
.services ul {
  list-style: none;
  padding-left: 19.2px;
  font-size: 1.2rem;
  margin: 0;
}
.services ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  
}
.services ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  font-weight: bold;
}
.tab-pane .div {
    border-width: 100px;
    border-left-color: #afbeee;
}

.background_filter_image {
  width: 100vw;
  height: 350px;
  object-fit: cover;
}
.filter{
  margin-left: 40px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: white;
}
@media (max-width: 768px) {
  .filter {
    margin-left: 25px;
  }
}
.filter button {
  background-color: white;
  color: var(--dark-navy);
  border: none;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  font-weight: 700;
  font-size: 17.6px;
  border-radius: 10px;
  cursor: pointer;
  border: 3px solid var(--light-grey);
  transition: background-color 0.3s ease;
}
.service-header {
  margin-top: 30px;
  margin-left: 120px;
  margin-right: 120px;
  background-color: white;
}
@media (max-width: 768px) {
  .service-header {
    margin-left: 25px;
    margin-right: 25px;
  }
}
.service-header .btn.btn-secondary{
  border-radius: 10px;
  padding: 8px;
  background-color: white;
  color: var(--dark-navy);
  border: 2px solid var(--dark-navy);
  font-size: 19px;
}
.service-header .btn.btn-secondary:hover {
  background-color: var(--accent-blue);
  color: white;
  border: 2px solid var(--accent-blue);
}
.service-header .btn.btn-link{
  border-radius: 10px;
  padding: 8px;
  background-color: white;
  color: var(--dark-navy);
  font-size: 19px;
}
.service-header i{
  margin-right: px;
  color: inherit;
}
.service-header .btn.btn-link:hover {
  color: var(--accent-blue);
}
.service-header i{
  margin-right: 5px;
}
.service {
  margin-left: 120px;
  margin-right: 120px;
  /* margin-bottom: 20px; */
  /* border: 2px solid #606A76; */
  padding: 20px;
  border-radius: 10px;
  background-color: #FFFFFF;
}
@media (max-width: 768px) {
  .service {
    margin-left: 25px;
    margin-right: 25px;
  }
}
.service.is-expanded {
  background-color: var(--light-grey);
}
.service hr {
  border: none;
  margin: 1rem 0;
}
.hr-gold {
  border: none;
  height: 2px;
  background-color: var(--gold);
  opacity: 1; 
}
.hr-blue {
  background-color: var(--accent-blue);
  height: 3px;
  margin-left: 120px;
  margin-right: 120px;
}
@media (max-width: 768px) {
  .hr-blue {
    margin-left: 25px;
    margin-right: 25px
  }
}
.row.with-divider {
  align-items: stretch;
  margin-top: 10px;
  margin-bottom: 10px;
}
.service-divider-vertical {
  /* width: 5px; */
  height: 100%;
  border-right: 2px solid var(--gold);
  align-self: stretch;
  min-height: 1px;
  margin: 0 auto;
}
/* .service h2{
  font-size: 26px;
} */
.service img{
  max-height: 40px;
  background-color: var(--light-grey);
  border-radius: 10px;
  padding:5px;
}
.service h3{
  font-size: 18px;
}
.service p{
  font-size: 16px;
  color: #3E4450;
  overflow-wrap: break-word;
  white-space: normal;
}
.service button{
  background-color: #1E222E;
  color: white;
  border: none;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  font-weight: 700;
  font-size: 17.6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.service button:hover {
  background-color: #444c5e;
}
.service i {
  font-size: 16px;
  font-weight: 10px;
  color: white;
  padding-left: 10px;
  padding-top: 5px;
}
.service ul {
    column-count: 2;
    column-gap: 1rem;
    padding-left: 1rem;
    margin-left: 15px;
}

.more_info{
  background-color: #FFFFFF;
  overflow-wrap: break-all;
}
.more_info i {
  font-size: 20px;
  font-weight: 10px;
  color: #3E4450;
  padding: 10px;
}
.more_info li{
  font-size: 16px;
  color: #3E4450
}
.more_info a{
  font-size: 16px;
  color: #3E4450
}
.more_info p{
  font-size: 16px;
  margin-left: 15px;
  color: #3E4450;
  overflow-wrap: break-word;
  word-break: break-all;
  white-space: normal;
}
.recomendedServices{
  margin-left: 15px;
  margin-right: 15px;
  display: flex;
  flex-direction: column;
}
.recomendedServices h6{
  margin-bottom: 10px;
  word-break: keep-all;
}
.recomendedServices i{
  color: inherit;
}
.recomendedServices button {
  border-radius: 10px;
  background-color: white;
  color: var(--dark-navy);
  border: 2px solid var(--dark-navy);
}
.recomendedServices button:hover {
  background-color: var(--accent-blue);
  color: white;
  border: 2px solid var(--accent-blue);
}
.recomendedServices hr{
  display: none;
  border: none;
  height: 2px;
  background-color: var(--gold);
  opacity: 1; 
}
@media (max-width: 768px) {
  .recomendedServices hr {
    display: block;
  }
}

/* REGISTRATION CSS */
.icon-circle {
  height: 70px;
  width: 70px;
}
.icon-circle img {
  height: 45px;
}
/* 
.banner-image {
  width: 100%;
  height: 55vh;
} */

.submit-btn {
  background-color: var(--dark-navy);
  color: white;
  border: none;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 17.6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.submit-btn:hover {
  background-color: #444c5e;
}
/* progress steps */
.progress-steps {
  width: 220px;
  margin: 48px auto 48px auto;
  justify-content: space-between;
  display: flex;
  align-items: center;
  user-select: none;
}
.progress-step {
  width: 40px;
  height: 40px;
  font-size: 16px;
  line-height: 30px;
  border-radius: 50%;
  background-color: var(--gold-light);
  color: var(--gold);
  border: 2px solid var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.progress-step.active {
  background-color: var(--gold);
  color: white;
  border-color: var(--gold);
}
.progress-step:hover,
.progress-step:focus-visible {
  box-shadow: 0 0 6px var(--gold);
  outline: none;
}
.progress-line {
  flex-grow: 1;
  max-width: 40px;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
  transition: background-color 0.3s;
}
.form-control {
  border-color: var(--dark-navy);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 4px 10px 0 var(--gold) ;
}
.custom-dark-border {
  color: var(--gold) !important;
  border-color: var(--dark-navy) !important;
  border-width: 2px !important;
  border-style: dashed !important;
}
.submit-btn {
  background-color: var(--dark-navy);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.submit-btn:hover {
  background-color: #444c5e;
}

/* PIN MAP CSS */
.county-label {
  background: transparent;
  border: none;
  box-shadow: none;
  font-weight: 600;
  font-size: 15px;
}
.map-container {
  height: 70vh;
}
.btnMap {
  height: 50px;
  width: 50px;
  z-index: 1001;
}
.mapServiceCard {
  border-color: #AA8A41 !important;
}
.map-container > .position-absolute {
  pointer-events: none;
}
#mapCollapse, .btnMap {
  pointer-events: auto;
}
#mapCollapseServices .card {
  min-width: 0;
}
#mapCollapse.show,
#mapCollapse.collapsing {
  width: auto;
}
.sidebar {
  width: 600px;
}
@media (max-width: 767px) {
  .sidebar {
    width: 100vw !important;
  }
  #mapCollapse {
    width: 100% !important;
    overflow-y: auto;
  }
  .map-container {
    height: 85vh;
  }
  #mapCollapse .card-body {
    overflow: visible !important;
    max-height: none !important;
  }
}
.sidenav {
  height: calc(100vh - 70px);
  width: 0;
  display:flex;
  flex-direction: column;
  position: fixed;
  top: 71px;
  right: 0;
  background-color: white;
  overflow-x: hidden;
  padding-top: 20px;
  transition: top 0.3s ease;
  z-index:1001;
}
.sidenav-scroll {
  flex: 1;
  overflow-y: auto;
}
.sidenav-footer {
  flex-shrink: 0;
  margin-bottom: 15px;
}
.sidenav h3 {
  margin-bottom: 0;
  padding: 5px 5px 5px 32px;
  text-decoration: none;
  font-size: 25px;
  display: block;
  transition: 0.3s;
}
.sidenav hr{
  background-color: var(--accent-blue);
  height: 3px;
  margin: 0px;
  padding: 0px;
}
.sidenav .btn.btn-link  {
  margin-left: 15px;
  font-size: 15px;
  color: var(--dark-navy)
}
.sidenav .btn.btn-primary  {
  padding: 8px;
  margin-top: 10px;
  background-color: var(--dark-navy);
  border: 2px solid var(--dark-navy);
  color: white;
  font-size: 19px;
  margin-left: 14px; 
  margin-right: 14px;
}
.sidenav .btn.btn-primary:hover {
  background-color: var(--accent-blue);
  color: white;
  border: 2px solid var(--accent-blue);
}
.sidenav .btn.btn-secondary  {
  padding: 8px;
  margin-top: 10px;
  background-color: white;
  color: var(--dark-navy);
  border: 2px solid var(--dark-navy);
  font-size: 19px;
  margin-left: 15px; 
  margin-right: 14px;
}
.sidenav .btn.btn-secondary:hover {
  background-color: var(--accent-blue);
  color: white;
  border: 2px solid var(--accent-blue);
}
.sidenav i {
  font-size: 18px;
  margin-right: 5px;
  color: inherit;
}
.stickytitle {
  position: sticky;
  top: 0;
  background-color: white;
  padding-right: 25px;
  padding-left: 2
}
.stickytitle hr{
  margin-left: 25px;
  height: 1px;
}
.sidenav a {
  position: sticky;
  top: 0;
  background-color: white;
  padding-left: 35px;
  padding-top: 5px;
  text-decoration: none;
  color: var(--dark-navy);
  font-size: 20px;
  display: block;
  transition: 0.3s;
}
.sidenav a:hover {
  color: var(--accent-blue);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 25px;
}
.checkbox input[type="checkbox"] {
  margin-top: 1px;
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--dark-navy);
  border-radius: 4px;
  cursor: pointer;
}
.checkbox input[type="checkbox"]:checked {
  background-color: var(--gold);
}
.checkbox label {
  margin-top: 5px;
  margin-bottom: 5px;
  display: block;
  font-size: 17px;
  line-height: 18px;
  color: var(--dark-navy);
  font-weight: 400;
  cursor: pointer;
}
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 375px);
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1001;
}
#overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.outer-layer {
  padding-right: 25px;
}
.outer-layer hr{
  background-color: var(--dark-navy);
  height: 1px;
  margin: 1px;
}
.card-img-top{
  height: auto;
  width: auto;
}

/*CRISIS CSS*/
.nav-link:hover  {
  color: var(--dark-navy);
  background-color: var(--light-grey);
  border-color: var(--dark-navy);
}

.nav-link.active{
  color:#FFF;
  background-color: var(--dark-navy) !important;
  border-color: var(--dark-navy);
}

/* put crisis behind header and behind the rounded corners */
.header-crisis-wrapper .crisis {
  position: absolute;
  z-index: 2; /* less than header (3) so header overlays it */
  display: flex;
  align-items: flex-end; 
  justify-content: start;
  padding-bottom: 8px;     /* moves text up/down a bit*/
  box-sizing: border-box;
} 

/*SWEET ALERT CUSTOMIZATION*/
.swal-button {
  padding: 7px 19px;
  border-radius: 3px;
  background-color: #FFFFFF;
  font-size: 12px;
  border: 2px solid var(--dark-navy);
}
.swal-button--confirm {
  padding: 7px 19px;
  border-radius: 3px;
  background-color: var(--dark-navy);
  font-size: 12px;
  text-shadow: 0px -1px 0px var(--gold);
}

/* ANALYTICS CSS */
.chart-container {
  position: relative;
  height: 40vw;
  max-height: 600px;
  min-height: 475px;
  margin-top: 20px;
  margin-left: 25px;
  margin-right: 25px;
  gap: 12px;
  display: flex;
  justify-content: center;
  align-items: center; 
}
@media (max-width: 768px) {
  .chart-container {
    margin-left: 5px;
    margin-right: 5px;
  }
}
.stats-select {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 8px;
  margin: 20px;
}
.stats-select select{
  max-width: 200px;
}
.stats-select label{
  min-width: 130px;
}
.landing-img-height{
  height:65vh;
}
.leaflet-popup-close-button {
    font-size: 28px !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
}
.iNeedHover:hover {
  background-color: var(--light-grey);
}
.card.iNeedHover.selected,
.card.iNeedHover.selected *{
  background-color: var(--gold); /*change to dark navy*/
  color: white !important;
}
/* removes scroll bar from iNeed section */
.scrollmenu {
  scrollbar-width: none;
}
.scrollmenu::-webkit-scrollbar {
  display: none;
}