
:root {
  --primary: #003B5C;
  --secondary: #00B9D2;
  --green: #43B02A; 
  --yellow: #EEEC77;
  --white: #FFFFFF; 
  --black: #000000; 
  --light: #f1f1f1; 
}


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-size: 1rem;
  line-height: 1.5;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;  
  color: var(--primary);
}

img{
  border: 0;
  max-width:100%;
}

a{
  text-decoration: none;
  cursor:pointer;
  transition:.7s color, .7s background-color, .3s opacity;
  color:var(--primary);
}
a:focus{
  outline: none;
}
a:hover, .button:hover{
  transition:.3s color, .3s background-color, .3s opacity;
}

h2{
  font-size: 3rem;
  line-height: 1.2;
}


h3{
  font-size: 3rem;
  line-height: 1;
  font-weight: 700; 
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--primary);
}
h3.underline::after{
  content: ''; 
  width: 400px;
  max-width: 80%; 
  display: block;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 10px; 
}


h4{
  font-size: 1.2rem;
  font-weight: 600;
  margin: 30px 0 5px 0;
}


h5{
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 10px 0;
}

h3:first-child, h4:first-child{
  margin-top:0;
}


p{
  margin-bottom: 15px;
}
p:last-child{
  margin-bottom:0;
}

ul, ol{
  margin: 0 0 15px 30px;
}

.huge{
  font-size: 6rem; 
  font-weight: 800;
}
.larger{
  font-size: 3.1rem;
  font-weight: 800;
}
.large{
  font-size: 1.15rem;
}
.small{
  font-size: 0.8rem;
}

.light{
  font-weight:300;
}
.semi{
  font-weight: 600;
}
.bold, b, strong{
  font-weight: 700; 
}

.clear{ clear: both; }

.container{
  margin: 0 auto;
  width: 96%;
  max-width: 1600px;
  position:relative;
}
.container.narrow{
  max-width: 850px;
}

.flex{
  display:flex;
}
.flex.wrap{
  flex-wrap:wrap;
}
.flex.end{
  align-items:flex-end;
}
.flex.vert{
  align-items:center;
}
.flex .full{
  width: 100%;
}
.flex .half{
  width: 47%;
  margin-right: 6%;
}
.flex .half:nth-child(2n+2){
  margin-right:0;
}

.flex .third{
  width: 32%;
  margin-right: 2%;
}
.flex .third:nth-child(3n+3){
  margin-right:0;
}

.flex.swap{
  flex-direction: row-reverse;
}

.flex.swap .half{
  margin-right:0;
  margin-left:6%;
}
.flex.swap .half:nth-child(2n+2){
  margin-left:0;
}

.grid-5{
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px; 
}

.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-gap{
  gap: 50px !important;
}
.grid-vert{
  align-items: center; 
}

.grid-swap div:first-child{
  order: 2;
}
.grid-swap div:last-child{
  order:1;
}


.span-1 {
  grid-column: span 1;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.span-5 {
  grid-column: span 5;
}


.margined{
  margin: 75px auto;
}
.margined-small{
  margin: 20px auto;
}
.margined-med{
  margin: 50px auto;
}


.topmargin{
  margin-top: 75px;
}
.topmargin-small{
  margin-top: 30px; 
}

.bottommargin{
  margin-bottom: 75px;
}
.bottommargin-small{
  margin-bottom: 30px; 
}

.padded{
  padding: 50px;
}
.padded-small{
  padding: 25px; 
}
.padded-tiny{
  padding: 10px; 
}
.padded-inline{
  padding: 5px 15px; 
  margin-right: 15px; 
}

.vpadded-small{
  padding-top: 25px; 
  padding-bottom: 25px; 
}

.left{
  text-align:left;
}
.center{
  text-align:center;
}
.right{
  text-align:right;
}

.uppercase{
  text-transform: uppercase;
}

.relative{
  position:relative;
}

.button{
  display: inline-block;
  border-radius: 4px;
  background-color: var(--primary);
  color:var(--white);
  padding: 10px 25px;
}
.button:hover{
  background-color: var(--secondary);
  color:var(--white);
}

.inline{
  display:inline;
}

.inlineblock{
  display:inline-block;
}

.block{
  display:block;
}
img.block{
  width: 100%;
}

.bgcover{
  background-size:cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.v50{ height: 50vh; }
.v80{ height: 80vh; }
.v100{ height: 100vh; }

.aspect-square{ aspect-ratio: 1/1; }
.aspect-video{ aspect-ratio: 16/9; }
.aspect-photo{ aspect-ratio: 4/3; }
.aspect-wide{ aspect-ratio: 2.39; }
.aspect-portrait{ aspect-ratio: 100/130; }

.img-aspect{  object-fit: cover; } 

.bg-primary{ background-color: var(--primary); }
.bg-secondary{ background-color: var(--secondary); }
.bg-yellow{ background-color: var(--yellow); } 

.text-primary{ color: var(--primary); }
.text-secondary{ color: var(--secondary); }
.text-black{ color: var(--black); }
.text-white{ color: var(--white); } .text-white a{ color: var(--white); } 
.text-yellow{ color: var(--yellow); } 

.hover-bg-secondary{
  transition: .5s background-color; 
}
a:hover .hover-bg-secondary{ background-color: var(--secondary);  } 

.dev-error{
  border: 2px solid #BF312F;
  background-color: #FCDFDF;
  padding: 10px;
  margin: 20px 0;
  font-size: 13px; 
  line-height: 15px; 
}





.header{
  font-size: 0.9rem;
  font-weight: 700; 
  padding: 17px 0;
}
.header a{
  color: #FFF;
}
.header h1 img{
  display: block; 
  width: 200px;
  transition: .5s width; 
}


.header .right .nav-item{
  display: inline-block;
  margin-right: 30px; 
  cursor: pointer;
  position: relative; 
  padding: 10px 0;
  color: var(--primary);
}
.header .right .nav-item.current{
  color: var(--secondary);
  transition: .3s color; 
}
.header .right a.nav-item:hover{
  color: var(--green);
  transition: .3s color; 
}


.header .has-sub .arrow{
  width: 15px; 
  margin-left: 5px; 
  vertical-align: middle;
  transition: .3s transform; 
}
.header .has-sub:hover .arrow{
  transform: rotate(-90deg);
  transition:.3s transform; 
}



.header .has-sub .submenu{
  position: absolute;
  z-index: 9; 
  left:0;
  top: 40px; 
  text-align: left; 
  background-color:rgba(255,255,255,.95);
  padding: 8px;
  border-radius: 15px; 
  width: 230px; 
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: 
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;  
}

.header .has-sub:hover .submenu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header .has-sub .submenu .sublink{
  margin: 0;
  color: var(--primary);
  text-transform: none;
  padding: 5px 10px;
  border-radius: 7px; 
  margin-bottom: 5px;
}

.header .has-sub .submenu .sublink.current{
  color: var(--secondary);
}

.header .has-sub .submenu .sublink:last-child{
  margin-bottom:0;
}

.header .has-sub .submenu .sublink:hover{
  background-color: var(--light);
}

.header .has-sub .submenu .sublink img{
  display: block;
  max-height: 30px; 
}


.buttons a{
  display: inline-block;
  background-color: var(--primary);
  padding: 1rem 2rem; 
  border:none; 
  color: var(--white); 
  font-size: 0.85rem; 
  font-weight: 700; 
  letter-spacing: 1.3px; 
  line-height: 1; 
}
.buttons a:first-child{
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}
.buttons a:last-child{
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
.buttons a:nth-child(2n+2){
  background-color: var(--secondary); 
}
.buttons a:hover{
  opacity: .7;
}

.header .buttons a{
  padding: 1.3rem 2rem;
}

.inset-shadow{
  box-shadow: inset 0 5px 10px -6px rgba(0, 0, 0, 0.25);
}



.runner-wrapper{
  overflow:hidden;
}
.runner {
  position: relative;
  left: -150px; 
  width: 80px; 
  animation: run-across 6s linear infinite;
}
@keyframes run-across {
  from {
    left: -150px;
  }
  to {
    left: 100vw;
  }
}

.round{
  border-radius: 12px; 
  overflow: hidden; 
}





.imagelink{
  overflow:hidden;
  position: relative; 
}
.imagelink .imagelink-image{
  object-fit: cover;
  transition: .5s transform; 
}

.imagelink .fade{
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%; 
  background: #003B5C;
  background: linear-gradient(0deg, rgba(0, 59, 92, 1) 0%, rgba(0, 59, 92, 0.52) 15%, rgba(0, 59, 92, 0) 100%);
}

.imagelink-bottom{
  position: absolute;
  bottom: -50px;
  left:0;
  width: 100%; 
  text-transform: uppercase;
  font-weight: 700; 
  padding: 0 25px; 
  transition: .5s bottom; 
}
.imagelink-bottom .imagelink-heading{
  font-size: 2.25rem;
  text-transform: none;
  margin-bottom: 40px; 
}
.imagelink .imagelink-line{
  border-top: 3px solid var(--yellow);
  margin: 10px auto; 
  width: 65%; 
}
.imagelink .arrow{
  width: 40px; 
}

.imagelink:hover .imagelink-bottom{
  bottom: 40px;
}
.imagelink:hover .imagelink-image{
  transform: scale(1.15);
}


.marquees{
  overflow:hidden;
  padding-bottom: 2.25vw;
}
.marquee{
  white-space: nowrap;
  overflow-x: hidden; 
}
.marquee.rotated{
  transform: rotate(-3deg); 
  margin-top: -40px; 
  border-top: 5px solid #FFF;
  border-bottom: 5px solid #FFF;
}
.marquee-track{
  display: inline-flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-track.marquee-reverse {
  animation-direction: reverse;
}

.marquee-item {
  white-space: nowrap;
}

.marquee-icon{
  width: 40px; 
  margin: 0 20px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


footer nav a{
  display: block; 
  color: var(--black);
  margin-bottom: 20px; 
  font-weight: 600;
  font-size: 1.2; 
}
footer nav a:hover{
  color: var(--primary);
  text-decoration: underline;
}

footer nav img{
  width: 40px;
  vertical-align: middle;
  margin-right: 5px; 
  background-color: var(--yellow);
}

footer .cols{
  columns: 2;
}

.breadcrumb-line{
  background-color: var(--yellow);
  height: 3px; 
}
.breadcrumbs{
  margin-top: -0.55rem;
  line-height: 1; 
}
.breadcrumbs a, .breadcrumbs span{
  display: inline-block;
  background-color: #FFF;
  padding: 0 10px 0 0;
}
.breadcrumbs a:hover{
  color: var(--secondary);
}

.iframe{
  width: 100%;
  height: 90vh; 
  border: 2px solid var(--secondary);
}



.slider-tabs {
  display: flex;
  gap: 10px;
}
.slider-tabs button {
  position: relative;
  flex: 1;
  padding: 8px;
  background: #eee;
  border: none;
  cursor: pointer;
}
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #007bff;
  transition: width linear;
}