:root {
	--h20-blue: #3b64aa;
	      --map-bg: #f4f6f8;
      --brand-primary: #1f6f5c;
      --brand-accent: #f2b705;
}

html {
  scroll-padding-top: 4.5rem;
}

body {
  position: relative;
    font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    color: #555;
}

p {
  line-height: 1.75;
}

.blue-text {
  color: var(--h20-blue);
}

.headline-type {
    font-family: "Roboto Slab" ;
}

h1, h2, h3 {
  font-family: "Roboto Slab" ;
  font-weight: 700;
  color: var(--h20-blue);
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

li a {
  text-decoration: none;
}

.btn-social {
  height: 2.5rem;
  width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 100%;
}




#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: var(--h20-blue);
}

#mainNav a.active{
  font-weight: 700;
}

#mainNav .navbar-toggler {
  padding: 0.75rem;
  font-size: 0.75rem;

  text-transform: uppercase;
  font-weight: 700;
}
#mainNav .navbar-brand {
  color: #ffc800;

  font-weight: 700;
  letter-spacing: 0.0625em;
  text-transform: uppercase;
}
#mainNav .navbar-brand img {
  height: 3.2rem;
}
#mainNav .navbar-nav .nav-item .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.0625em;
  opacity: .85;
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  opacity: 1;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(125, 185, 232, 0) 100%);
    transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
  }
  #mainNav .navbar-brand {
    font-size: 1.5em;
    transition: font-size 0.3s ease-in-out;
  }
  #mainNav .navbar-brand img {
   transition: height 0.3s ease-in-out;
  }
  #mainNav.navbar-shrink {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: var(--h20-blue);
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
  }
  #mainNav.navbar-shrink .navbar-brand svg,
  #mainNav.navbar-shrink .navbar-brand img {
    height: 2rem;
  }
  #mainNav .navbar-nav .nav-item {
    margin-right: 1rem;
  }
  #mainNav .navbar-nav .nav-item:last-child {
    margin-right: 0;
  }
}


.masthead {
  position: relative;
  overflow: auto;
  min-height: 260px;
  min-width: auto;
}

@media (min-width: 776px) {
  .masthead {
  aspect-ratio: 1500/380;
  min-height: auto;
}
}

.masthead img.waves {
  position:absolute;
  bottom: 0;
  width: 100%;
}

.masthead img.header-bk {
  position: fixed;
  width: 100%;
  object-fit: cover;
    min-height: 260px;
  z-index: -1;
}


/*** slide stuff ***/

.slider {
  margin: 20px -5px 0 -10px;
}

.slick-prev, .slick-next {
  height: 30px;
  width: 30px;
}

.slick-prev:before, .slick-next:before {
  color: var(--h20-blue);
}

.slick-track {
  /* margin: 0 -10px; */
  display: flex !important;
  align-items: center; /* This vertically centers the slides within the track */
  height: 100%;
}

.slick-slide {
  display: flex !important;
  /* height: 100% !important; */
  align-items: center; /* This vertically centers the content (images) within each slide */
  justify-content: center; /* Optional: This horizontally centers the content within each slide */
  padding: 45px;
  margin: 10px;
  background-color: #fff;
}


.slick-slide img {
  vertical-align: middle; /* Ensures image itself is vertically aligned */
  display: inline-block; /* Essential for vertical-align to work on images */
  max-width: 100%;
}

#portfolio, .staff {
 background-color: #f5f3ed;
}

#portfolio .portfolio-item {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  height: 100%;
  position: relative;
  z-index: 1;
}
#portfolio .portfolio-item a {
  position: relative;
  display: block;
  margin: 0 auto;
  text-decoration: none;
  height: 100%;
  z-index: 1;
    font-size: 110px;
    color: #fff;
}
#portfolio .portfolio-item a:hover::after {
  content: '\F64D';
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 100, 170, 0.85);
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.25s;
  z-index: 10;
  color: #fff;
  font-family: "bootstrap-icons";
}

#portfolio .portfolio-item .portfolio-link:hover .portfolio-hover {
  opacity: 1;
}

#portfolio .portfolio-item .img-fluid {
  aspect-ratio: 600/450;
  overflow: hidden;
}

#portfolio .portfolio-item .portfolio-caption {
  padding: 1.5rem;
  text-align: center;
  z-index: 1;
  font-size: 14px;
  text-transform: uppercase;
  color: #555;
}
#portfolio .portfolio-item .portfolio-caption .portfolio-caption-heading {
  font-size: 1.5rem;
      font-family: "Roboto Slab" ;
      line-height: 1.25em;
  font-weight: 700;
  margin-bottom: 0;
  z-index: 20;
  text-transform: capitalize;
}

#portfolio .portfolio-item a:hover .portfolio-caption {
  color: #fff !important;
  z-index: 100;
  position: relative;
}

#portfolio .portfolio-item .portfolio-caption a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .9rem;
}
#portfolio .portfolio-item .portfolio-caption .portfolio-caption-subheading {
  font-style: italic;

}




.img-brand {
  height: 2.75rem;
}

section#contact {
  background-color: #212529;
  background-image: url("../assets/img/slough-bk.jpg");
  background-position: center;
  background-size: cover;
}

section#contact form#contactForm .form-group {
  margin-bottom: 1.5rem;
}
section#contact form#contactForm .form-group input,
section#contact form#contactForm .form-group textarea {
  padding: 1.25rem;
}
section#contact form#contactForm .form-group input.form-control {
  height: auto;
}
section#contact form#contactForm .form-group-textarea {
  height: 100%;
}
section#contact form#contactForm .form-group-textarea textarea {
  height: 100%;
  min-height: 10rem;
}
section#contact form#contactForm p.help-block {
  margin: 0;
}
section#contact form#contactForm .form-control:focus {
  border-color: #ffc800;
  box-shadow: none;
}
section#contact form#contactForm ::-webkit-input-placeholder {
  font-weight: 700;
  color: #999;
}
section#contact form#contactForm :-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
}
section#contact form#contactForm ::-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
}
section#contact form#contactForm :-ms-input-placeholder {
  font-weight: 700;
  color: #ced4da;
}



/**** custom lightbox ****/
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: rgba(0,0,0,0.4);
  border: none;
  padding: .5rem 1rem;
  border-radius: .5rem;
  cursor: pointer;
  z-index: 20;
  line-height: 1;
}
.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }

.fade-image {
  opacity: 0;
  transition: opacity .25s ease-in-out;
}
.fade-image.showing {
  opacity: 1;
}

#lightboxModal .modal-dialog {
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;          /* ensures proper vertical centering */
    pointer-events: none;   /* prevents dialog pushing mouse events incorrectly */
}

#lightboxModal .modal-content {
    background: #111;
    background: none;
    width: auto;              /* let content define width */
    display: inline-block;    /* shrink to fit image */
    transition: width 1s ease, height 1s ease;
    border: none;
}

#lightboxModal .modal-body {
     /* padding: 0;              remove extra padding */
    display: flex;
    justify-content: center;
}

#lightboxImage {
    max-width: 90vw;         /* never exceed viewport width */
    max-height: 90vh;        /* never exceed viewport height */
    width: auto;
    height: auto;
    margin: auto;
}

#lightboxWrapper {
    position: relative;
    display: inline-block;
    transition: width 1s ease, height 1s ease;
    border: 2px solid #fff;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.7);
    background-color: #000;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.55); /* slightly transparent */
    text-align: left;
    box-sizing: border-box;
    max-height: 40%;        /* prevents covering whole image */
    overflow-y: auto;       /* scroll if needed */
}

#lightboxTitleText {
    font-weight: 600;
    margin-bottom: .25rem;
}

.btn-close {
  opacity: .9;
}

/**** Map stuff *****/
    #map-wrapper {
      background: var(--map-bg);
      padding: 1rem;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      max-width: 1100px;
      margin: 2rem auto;
    }


    #map {
      width: 100%;
      height: 600px;
      overflow: hidden;
    }
  
	/**** box ****/
    .gm-style .gm-style-iw-c { 
      border-radius: 12px !important;
      padding: 12px !important;
    }
    
    /*** box content area ****/
    .gm-style .gm-style-iw-d {
	    padding: 6px 2px;
    }
    
    button.gm-ui-hover-effect {
	    height: auto !important;
	    width: auto !important;
    }
    
    button.gm-ui-hover-effect>span {
	    width: 18px !important;
height: 18px !important;
margin: 0 !important;
    }

    .infowindow h3 {
      margin: 0 0 4px;
      font-size: 15px;
      color: var(--brand-primary);
    }

    .infowindow p {
      margin: 0;
      font-size: 13px;
      color: #555;
    }

/*** contact Page ****/
.contact-info i {
color: #fff;
height: 20px;
width: 20px;
line-height: 20px;
background-color: var(--h20-blue);
border: 8px solid var(--h20-blue);
box-sizing: content-box;
text-align: center;
font-size: 1.1rem;
}