@charset "utf-8";
/* CSS Document */

html {
    scroll-behavior: smooth;
}


.nav-header{
	position: fixed;
	width: 100%;
	margin: 0 auto;
	z-index: 500;	
	
}

/*i changed this to show the header nav as it was not showing

.navigation {
  height: 70px;
  background-color: rgba(255,255,255,0);
  transition: 0.5s;
  padding-right: 3%;
}*/

.navigation {
  height: 105px;
  
  transition: 0.8s;


}

.scrolled{
  background-color:rgba(250, 250, 250, 0.9);

  transition: 1s;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}


.brand {
  position: absolute;
  padding: 1em 0 0 2.5em;
  float: left;
width: 13%;
}


.nav-container {
  max-width: 100%;
  margin: 0 auto;
 
height: 90px;
	
}



nav {
  float: right;
	padding-right: 3%;
	
}

nav ul {
  list-style: none;
}

nav ul li {
  float: left;
  position: relative;

}
nav ul li a,
nav ul li a:visited {
  display: block;
  padding: 0.5em 2.8em;
  line-height: 60px;
  color: #00629B;
  text-decoration: none;
 font-weight: 400;
	font-size: 1.1em;
	margin-bottom: 0.4em;
}
/* TEST SECTIOn*/

nav ul li a:after{
  border-radius: 1em;
  border-top: 0.2em solid #00629B;
  content: "";
  position: absolute;
    right: 100%;
    bottom: 0.5em;
    left: 0;
 transition: right 1s cubic-bezier(0,.5,0,1);
	
}

nav ul li a:hover:after {
  right: 0;
}

/* TEST SECTIOn END*/

nav ul li a:hover,
nav ul li a:visited:hover {
  
  color: #424242;
  transition: .8s ease;
 
	
}
nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;
  content: ' ▾';
}
nav ul li ul li {
  min-width: 190px;
}
nav ul li ul li a {
  padding: 15px;
  line-height: 20px;
}




.nav-list .current{
	color: #00629B;
	
}

.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile navigation this is the block in the corner*/
.nav-mobile {
  display: none;
  position: absolute;
 right: 5px;
  top: 10px;
  height: 90px;
  width: 90px;
 
}


@keyframes caret {
  50% {
    border-color: transparent;
  }
}

/* On screens that are 1420px or less */

@media screen and (max-width: 1420px) {
	.brand {
width: 16%;
}	
	
}




@media only screen and (max-width: 1245px){
 

	.brand {
width: 25%;
}


nav ul li a:after{
  display: none!important;
	
}


  .nav-mobile {
    display: none !important;
	   
  }

  nav {
    width: 100%;
    padding: 70px 0 0 0;
	  background-color: #FFFFFF;
	  text-align: left;
	  height: 30px;

  }
  nav ul {
    display: none;
	  background-color:#FFFFFF;
	  padding: 2em;
  }
  nav ul li {
    float: none;
	
	
  }
  nav ul li a {
    padding: 0.5em 0 0.5em 0;
    line-height: 3em;
  }
  nav ul li ul li a {
    padding: 0px;
	  
  }
	nav ul li a:hover,
nav ul li a:visited:hover {
  
  color: #575756;
  transition: .8s ease;
 
	}
	
.nav-list .current{
	color: #575756;
	
}



.nav-dropdown {
    position: static;
  }
	
}



@media screen and (max-width: 1255px) {
	

	.brand{
		opacity: 100;
		padding-left: 4%;

	}

}


@media screen and (min-width: 1245px) {
  .nav-list {
    display: block !important;
	 
  }
	

}
@media screen and (max-width: 650px) {
.brand {
width: 50%;
}	
}
	
#nav-toggle {
  position: absolute;
  left: 18px;
  top: 22px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: #ffffff;

  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);

}
#nav-toggle.active span:after {
  transform: rotate(-45deg);

}




