
:root {
  --primary: #11402B;
  --secondary: #6BB845;
  --light: #CDE0BD; 
  --blue: #D4EBE1; 
  --orange: #F47846; 
  --white: #FFFFFF; 
  --black: #000000; 
}


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

body{
  font-size: 1rem;
  line-height: 1.5;
  font-family: "Mulish", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-image: url('/images/bg-topo.svg');
  background-size: 100% auto; 
  background-attachment: fixed;
}

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{
  color: var(--secondary); 
  transition:.3s color, .3s background-color, .3s opacity;
}

h2{
  font-size: 3.3rem;
  line-height: 1;
  font-weight: 900;
}


h3{
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700; 
  margin-top: 40px;
  margin-bottom: 10px;
}

h3.underline{
  color: var(--primary);
  border-bottom: 2px solid #78BE9A; 
  padding-bottom: 10px;
}


h4{
  font-size: 1.2rem;
  font-weight: 800;
  margin: 30px 0 5px 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;
}

.large{
  font-size: 1.2rem;
}
.small{
  font-size: 0.8rem;
}

.light{
  font-weight:300;
}
.semi{
  font-weight: 600;
}

.clear{ clear: both; }

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

.w-restrict{
  max-width: 300px; 
}

.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-6{
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 20px; 
}

.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-tight{
  gap: 10px; 
}
.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: 100px auto;
}
.margined-small{
  margin: 30px auto;
}
.margined-med{
  margin: 50px auto; 
}

.topmargin{
  margin-top: 100px;
}
.bottommargin{
  margin-bottom: 100px;
}
.topmargin-med{
  margin-top: 50px; 
}
.topmargin-small{
  margin-top: 30px; 
}

.padded{
  padding: 50px;
}
.padded-small{
  padding: 30px;
}

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

.empty-gone:empty{
  display: none; 
}
.left{
  text-align:left;
}
.center{
  text-align:center;
}
.right{
  text-align:right;
}

.relative{
  position:relative;
}

.button{
  display: inline-block;
  border-radius: 10px;
  background-color: var(--primary);
  color:var(--white);
  padding: 8px 15px !important;
  font-size: 0.9rem;
  font-weight: 700; 
  transition:.7s background-color !important;
}
.button:hover{
  background-color: var(--secondary);
  color:var(--white) !important;
  transition:.3s background-color !important;
}

.outline-button{
  display: block;
  text-align:center;
  border: 2px solid var(--white);
  border-radius: 12px; 
  padding: 10px;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 600; 
  font-size: 1.2rem;
}
.outline-button:hover{
  background-color:var(--primary); 
  color: var(--white);   
}

.green-outline-button{
  text-align:center;
  border: 2px solid #76A952;
  border-radius: 12px; 
  padding: 5px 30px;
  color: #76A952;
  font-weight: 600; 
  font-size: 1.1rem;
  background-color: var(--white); 
}
.green-outline-button:hover{
  background-color:var(--light); 
  color: #76A952;
}


.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; }

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

.aspect-square{ aspect-ratio: 1/1; }
.aspect-video{ aspect-ratio: 16/9; }
.aspect-photo{ aspect-ratio: 4/3; }

.bg-primary{ background-color: var(--primary); }
.bg-secondary{ background-color: var(--secondary); }
.bg-light{ background-color: var(--light); }
.bg-blue{ background-color: var(--blue); }
.bg-orange{ background-color: var(--orange); }
.bg-gradient{ background: #284E4E; background: linear-gradient(90deg, rgba(40, 78, 78, 1) 0%, rgba(114, 180, 144, 1) 100%); } 
.bg-white{ background-color: var(--white); }

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


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






.emergency-alert{
  z-index: 99; 
  background-color: var(--orange);
  color: var(--white);
  text-align:center;
  padding: 15px; 
  margin-top: -25px; 
  margin-bottom: 15px; 
  transition: .5s margin, .5s padding;
}
.emergency-alert img{
  height: 1.2rem;
  vertical-align:text-bottom;
  animation: shake-rotate 1s ease-in-out infinite;
}
header.scroll .emergency-alert{
  margin-top: -12px; 
  padding: 5px 15px; 
}



header{
  position:fixed;
  z-index: 99;
  top:0;
  left:0;
  width: 100%; 
  background-color: rgba(0,0,0,.4); 
  padding: 25px 0;
  transition: 1.5s background-color, .5s padding; 
}

header.scroll{
  padding: 12px 0;
  background-color: rgba(17,64,43,.7);   
}
header:hover{
  background-color: rgba(0,0,0,.8); 
}

.header{
  color: #FFF;
  text-transform: uppercase;
  font-weight: 700; 
  font-size: 14px;
}
.header a{
  color: #FFF;
}
.header h1 img{
  display: block; 
  width: 200px;
  transition: .5s width; 
}
header.scroll .header h1 img{
  width: 120px;
  transition: .5s width; 
}

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


.header .has-sub .arrow{
  width: 10px; 
  margin-left: 5px; 
  vertical-align: middle;
  filter: brightness(0) invert(1);
  transition: .3s filter, .3s transform; 
}
.header .has-sub:hover .arrow{
  transform: rotate(180deg);
  filter: none; 
  transition: .3s filter, .3s transform; 
}
.header .has-sub.current .arrow{
  filter: none; 
}


.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: #000; 
  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; 
}
.header .has-sub .submenu .sublink .sublink-intro{
  display: block;
  font-size: 11px;
  line-height: 11px; 
  font-weight: 400; 
  color: var(--black);
}

.header .button{
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.hero-title{
  position: absolute;
  bottom: 50px;
  left: 0;
  color: var(--white); 
}

.hero-image{
  aspect-ratio: 16/10;
  max-height: 90vh; 
}

.hero-title .header-title{
  background-color: var(--primary);
  color: var(--white);
  border-radius: 10px; 
  padding: 10px 15px; 
}

.hero-title .breadcrumbs{
  display: inline-block; 
  background-color: var(--secondary);
  padding: 5px 15px;
  color: #FFF;
  margin-bottom: 4px; 
  border-radius: 10px; 
  text-transform: lowercase;
}
.hero-title .breadcrumbs a{
  display: inline-block;
  color: #FFF;
  font-weight: 600; 
  transition: transform 0.2s ease;
}

.hero-title .breadcrumbs a:hover{
  transform: translateY(-2px);
}
.hero-title .breadcrumbs img{
  transform: rotate(-90deg);
  width: 10px; 
  vertical-align: middle;
  margin: 0 5px; 
}

.lead-content p:first-child{
  font-size: 1.25rem;
  line-height: 1.3;
}



footer {
  background: url('/images/footer-gradient.svg') no-repeat center center;
  background-size: cover;
}

footer .footer-circles{
  background-image: url('/images/circle-white.svg');
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right bottom;
}

footer a{
  color: #FFF;
}
footer a:hover{
  color: #FFF; 
  opacity: .7;
}

footer .footer-logo{
  width: 250px; 
} 

footer .large-link{
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 900;
  color: var(--white); 
}

.link-icon{
  height: 25px; 
  vertical-align: middle; 
  transition:.3s opacity; 
}

footer nav{
  columns: 2; 
  column-gap: 50px; 
  font-size: 0.9rem;
}

footer nav .nav-group{
  break-inside:avoid;
  margin-bottom: 25px; 
}
footer nav .footer-page{
  display: block;
  color: var(--light);
  font-weight: 900;
  border-bottom: 2px solid var(--light);
  padding-bottom: 5px;
  margin-bottom: 5px;
}
footer nav .footer-subpage{
  display: block;
  color: #fff;
  margin-top: 5px; 
}

footer .copy a{
  border-right: 1px solid #FFF;
  padding-right: 5px;
  margin-right: 5px; 
}
footer .copy a:last-child{
  border:none;
  padding:0;
  margin:0;
}

.round{
  border-radius: 15px; 
  overflow: hidden; 
}
.shadow{
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

a.alert:hover{
  opacity: .9;
  color: var(--primary);
}
a.alert.bg-orange:hover{
  color: var(--white); 
}

a.alert:hover img {
  animation: shake-rotate 0.5s ease-in-out;
}

@keyframes shake-rotate {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-4deg); }
  30%  { transform: rotate(4deg); }
  45%  { transform: rotate(-3deg); }
  60%  { transform: rotate(3deg); }
  75%  { transform: rotate(-2deg); }
  90%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.bar{
  height: 30px; 
}

.heading-primary h1, .heading-primary h2, .heading-primary h3, .heading-primary h4{
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
}


.risk{
  overflow:hidden;
}

#risk-arrow{
  position: absolute;
  width: 36px;
  bottom: -115px;
  left: calc(50% - 18px);
  --angle: 0deg;
  transform: rotate(var(--angle));
  animation: risk-bounce 1.8s ease-in-out infinite;
}

#risk-arrow.risk-Low{ --angle: -75deg; }
#risk-arrow.risk-Moderate{ --angle: -35deg; }
#risk-arrow.risk-High{ --angle: 0deg; }
#risk-arrow.risk-VeryHigh{ --angle: 35deg; }
#risk-arrow.risk-Extreme{ --angle: 75deg; }

@keyframes risk-bounce {
  0%, 100% { transform: rotate(var(--angle)); }
  40% { transform: rotate(calc(var(--angle) - 2deg)); }
  70% { transform: rotate(calc(var(--angle) + 2deg)); }
}

