/*
 _   _  ____  __  __          _____  
| \ | |/ __ \|  \/  |   /\   |  __ \ 
|  \| | |  | | \  / |  /  \  | |  | |
| . ` | |  | | |\/| | / /\ \ | |  | |
| |\  | |__| | |  | |/ ____ \| |__| |
|_| \_|\____/|_|  |_/_/    \_\_____/ 

Website Developed by: Nomad Digital Media, LLC
Senior Front-End Engineer & Chief Freelancer: Jonathan Hazelwood
Site Created: August 2025
Launched: September 2025

*/

/* Site Colors*/
:root {
  --darkblue: #0D3D60;
  --blue: #2057AC;
  --lightblue: #1FC4F4;
}

/* Global Styles */
html {
	scroll-behavior:smooth;
}

body, p, h1, h2, h3, h4, h5, h6, ul, li {
	font-family: 'Raleway', sans-serif !important;
	color: var(--blue);
}

p {
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600 !important;
	color: var(--blue) !important;
}

a:hover {
    color: var(--lightblue) !important;
}

.scale {
    transition: transform .4s;
}

.scale:hover {
    transform: scale(1.04);
}

.brand-button {
		background-color: var(--blue) !important;
		padding: 10px 40px !important;
		font-size: 1em !important;
		font-weight: 600;
		color: white !important;
}

.brand-button:hover {
		background-color: var(--lightblue) !important;
		color: white !important;
		cursor: pointer;
}

.brand-button-dark {
		background-color: var(--darkblue) !important;
		padding: 10px 40px !important;
		font-size: 1em !important;
		font-weight: 600;
		color: white !important;
}

.brand-button-dark:hover {
		background-color: var(--lightblue) !important;
		color: white !important;
		cursor: pointer;
}

.darkbluebk {
    background-color: var(--darkblue);
    padding: 60px 0;
}

.darkbluebk h1, .darkbluebk h2, .darkbluebk h3, .darkbluebk h4, .darkbluebk p, .darkbluebk ul li {
    color: white !important;
}

.spacer {
    margin: 60px 0;
    width: 100%;
}

  /* Base Form Styles */
  form {
    border: solid 1px #EFEFEF;
    background-color: white;
    padding: 20px !important;
  }
  .form-error-message {
    font-size: .8em;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    margin-bottom: 1rem;
    padding: .25rem .5rem;
  }
  .form-error-message:empty {
    display: none;
  }
  .form-success-message {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: .75rem;
  }
  .form-success-message p {
    margin-bottom: 0;
  }
  .form-column {
    padding: .5rem;
  }
  .form-label {
    font-weight: bold;
	color: var(--blue);
  }
  .form-label em[aria-hidden="true"] {
    color: red;
    font-size: 1.2em;
    font-weight: bold;
  }
  input[type=text], input[type=email] {
    color: var(--blue);
	border: 1px solid #EFEFEF;
	background-color: #E8F0FE;
    padding: 12px;
    margin: 10px 0;
    box-sizing: border-box;
    box-shadow: none;
  }
  input[type=text]:focus, input[type=email]:focus {
    border: 1px solid var(--blue);
	background-color: #E8F0FE;
    box-shadow: none;
  }
   [type=checkbox]+label[for], [type=radio]+label[for] {
	color: var(--blue);
  }
  textarea {
	color: var(--blue) !important;
    border: 1px solid #EFEFEF !important;
	background-color: #E8F0FE !important;
    padding: 12px !important;
    margin: 10px 0 !important;
    box-sizing: border-box;
    box-shadow: none !important;
	min-height: 125px !important;
  }
  textarea:focus {
    border: 1px solid var(--blue) !important;
    box-shadow: none !important;
  }
  .cf-turnstile {
    margin-bottom: 1.5rem !important;
  }

#headerWrapper {
	padding: 20px 0;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

#logo {
	display: flex;
    align-items: center;
    justify-content: center;
}

#navSection {
    padding: 1em 0;
}

#azure_link_wrapper {
    display: relative;
	width: 100%;
	float: left;
}

#azure_link {
    background-color: var(--lightblue);
	color: white;
	float: right;
}

#azure_link:hover {
    background-color: var(--blue);
}

#azure_link a {
	display: block;
	padding: .25rem 1.5rem;
	color: white;
}

#azure_link a:hover {
	color: white !important;
}

.title-bar {
	background: var(--blue) !important;
}

#navSection .menu {
		white-space: nowrap;
}

#mobileNav, #mobileNav .menu {
    background: var(--blue);
}

.menu li {
		text-align: center;
}

.menu li a {
		color: white;
		font-weight: 600;
		padding: 1rem .8rem !important;
}

.menu li a:hover {
	color: var(--lightblue);
}

.submenuitem {
    background: white;
}

.submenuitem a {
    text-align: left;
    color: var(--blue) !important;
    font-weight: 300 !important;
}

.submenuitem a:hover {
    color: var(--lightblue) !important;
}

.dropdown.menu>li.is-active>a {
    color: var(--lightblue) !important;
}

.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    border-color: white transparent transparent !important;
    right: 1px !important;
}

#videoWrapper {
    position: relative;
    max-height: 580px;
    overflow: hidden;
}

#videoWrapper video {
    object-fit: cover;
    width: 100%;
}

#videoBanner {
    background: rgba(13,61,96,0.6);
    position: absolute;
    width: 100%;
    top: 140px;
    padding: 62px 0;
}

#videoBanner h1 {
    font-size: 4.5em;
    color: white !important;
}

#videoBanner h3 {
    font-size: 3em;
    color: var(--lightblue) !important;
}

#slideshow_wrapper {
    padding: 4rem 0;
	background-color: var(--lightblue);
}

#slideshow_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

#slideshow_wrapper .slide-text h2, #slideshow_wrapper .slide-text p {
	color: white !important; 
}

#literature_heading {
	margin-top: 4rem;
}

#literature_slider {
  position: relative;
  margin-top: 4rem;
  margin-bottom: 4rem;
  max-height: 320px;
}

.literature-slide {
    position: relative;
    margin: 1rem;
    padding: 1rem;
	max-height: 320px;
	background: #E8F0FE;
}

.literature-slide-link {
	max-height: 320px;
}

.literature-slide:hover {
    background: var(--blue);
    cursor: pointer;
}

.literature-slide:hover .literature-title {
    color: white;
}

.literature-slide img {
    width: 60%;
    display: block;
    margin: 0 auto;
}

.literature-title {
  font-size: 1em;
  font-weight: bold;
  color: var(--blue);
  text-align: center;
  margin: 2rem 0 0;
}

/* custom arrow buttons */
.custom-slide-prev-btn,
.custom-slide-next-btn {
  position: absolute;
  display: flex !important;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue);
  color: white;
  border: none;
  padding: .6rem 0.8rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease;
}

.custom-slide-prev-btn:hover,
.custom-slide-next-btn:hover {
  background: var(--lightblue);
  color: white !important;
}

.custom-slide-prev-btn { left: -25px; border-radius: 100%; }
.custom-slide-next-btn { right: -25px; border-radius: 100%; }

#ctaArea {
    margin: 5em 0;
}

.cta {
		background: var(--blue);
		padding: 25px;
		z-index: 1;
		color: white !important;
}

.cta p {
		color: white;
}

.cta i {
		font-size: 3em;
		padding: 1em 0;
}

.cta-link {
    background-color: #E8F0FE;
    padding: 1rem;
    text-align: center;
}

.cta-link:hover {
    background-color: var(--blue);
}

.cta-link:hover .cta-heading h3 {
	color: white !important;
}

.cta-heading h3 {
    font-size: 1em;
	margin-top: .5rem;
}

#aboutUs {
    margin-bottom: 60px;
	padding: 60px 0;
	background-color: var(--blue);
	color: white;
}

#aboutUs h2, #aboutUs h4, #aboutUs p {
	color: white !important;
}

.sectionTitle {
		text-transform: uppercase;
		font-size: 4em;
		margin-bottom: 40px;
}

#contactUs {
	background: var(--darkblue);
	padding: 60px 0;
}

.darksectionHeader{
		color: white;
}

.pageTitle {
	font-size: 4.5em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--blue) !important;
	margin: 80px 0;
}

.pageTitle:after {
	display: block;
	clear: both;
	content : "";
	position: relative;
	max-width: 110px;
	width   : 8%;
	border-bottom: 7px solid var(--blue);
	margin: 0 auto;
}

#leadership {
	background: #dbf7ff;
	padding-top: 100px;
}

#leadershipWrapper {
	background: white;
	margin: 20px 0 60px 0;
	padding: 40px;
}
.pageHeading {
	font-size: 4.5em;
	font-weight: 500;
	color: var(--blue) !important;
}

.pageHeading:after {
	display: block;
	clear: both;
	content : "";
	position: relative;
	max-width: 110px;
	width   : 8%;
	border-bottom: 7px solid var(--blue);
	margin: 0 auto;
}

#aboutAreaOne {
		padding-bottom: 60px;
}

.heroWrapper {
		min-height: 300px;
		background-repeat: no-repeat;
		background-size: cover;
}


.pageHero {
		display: block;
		width: 600px;
		max-width: 100%;
		text-align: center;
		background: rgba(255,255,255,0.8);
		margin: 100px auto 100px auto;
		padding: 20px;
}

.pageheroTitle {
	font-size: 4.5em;
	color: var(--blue);
}

.pageheroDescription {
	font-size: 2em;
	color: var(--blue);
}

#contentWrapper, #contentCallout {
	margin: 20px 0;
}

.content {
	margin-bottom: 30px;
}

.imageMargin {
	margin: 40px 0;
}

.interior .block-type-image {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 1rem;
    border: 4px solid #fefefe;
    border-radius: 0;
    -webkit-box-shadow: 0 0 0 1px rgba(10, 10, 10, .2);
    box-shadow: 0 0 0 1px rgba(10, 10, 10, .2);
    line-height: 0;

}

.interior #footerWrapper {
	margin-top: 4rem;
}

#footerWrapper {
	background: var(--blue);
}

#footerWrapper a {
		color: white;
}

#footerWrapper a:hover {
		color: var(--lightblue);
}

#footerLogo, #footerAddress {
	margin-top: 80px;
}

#footerAddress p {
	color: white;
}

#footerNav {
		margin-top: 20px;
}

#copyright {
		font-size: 14px;
		color: white;
		margin-bottom: 20px;
}

#copyright img {
    width: 125px;
}

/* Laptop */
@media screen and (max-width: 1024px) {
  .menu li a {
    padding: 1rem .3rem !important;
  }
  
  .slick-arrow {
    display: none !important;
  }
}

/* Tablet */
@media screen and (max-width: 768px) {
  .medium-only-unexpanded {
    max-width: 90%; /* The default row max-width */
    margin: 0 auto;
  }
  .slick-arrow {
    display: none !important;
  }
}


/* Small only */
@media screen and (max-width: 39.9375em) {
	#headerWrapper {
        padding: 0;
    }
    
	#headerWrapper #logo {
			text-align: center;
	}
	
	#ctaArea {
        margin: 2em 0;
    }
	
	.pageTitle {
        font-size: 3em;
        margin: 20px 0;
	}
	
	.sectionTitle {
        font-size: 3em;
    }
	
	#mobileNav, #mobileNav .menu {
		background: var(--blue);
	}
	
	.submenuitem a {
	    color: white !important;
	}
	
	.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle)>a::after {
        border-color: white transparent transparent !important;
    }
	
	#navSection .menu li {
		display: contents;
		text-align: center;
	}
	
	.menu li a {
		width: 100%;
	}
	
	.menu li a:hover {
		color: var(--lightblue);
	}
	
	#videoWrapper {
			max-height: 178px;
	}
	
	#videoBanner {
			position: absolute;
			top: 24px;
			padding: 20px 0;
	}
	
	#videoBanner h1 {
			font-size: 2em;
	}
	
	#videoBanner h3 {
			font-size: 1.4em;
	}
	
	.cta {
			margin-top: 1em;
	}
	
	#contactForm #submitButton {
        margin-top: 1em;
    }
	
	.thumbnail {
			width: 100%;
	}
	
	#CLInfo h3 {
		color: white !important;
		padding-left: 10px;
	}
	
	#CLInfo p {
		color: white;
		padding: 0 10px;
	}
	
	#contactBubbles, #equipImage, #CLImage, #waterMascot {
		float: none !important;
		display: block;
		margin: 0 auto;
	}
	
	#jamestownContact, #jamestownContactOther, #waterInfo {
			text-align: center;
	}
	
	
    .slick-slide img {
        margin: 0 auto;
    }
	
	#footerWrapper {
			text-align: center;
	}
}

@media screen and (max-width: 425px) {
    .cta-link {
        margin-bottom: 1rem;
    }
}


@media screen and (max-width: 375px) {
    #videoBanner {
		position: absolute;
		top: -10px;
		padding: 15px 0;
    }
    
    #videoWrapper video {
        margin-top: -1em;
    }
}