/* Add a "granite" color background color to the top navigation */
.topnav {
  background-color: #8197b1;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 4px 17px;
  text-decoration: none;
  font-size: 10pt;
  background-color: #8197b1;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #8197b1;
  color: #3a4b5f;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav [More]*/
.dropdown .dropbtn {
  font-size: 10pt; 
  border: none;
  outline: none;
  color: white;
  /*padding: 14px 16px;*/
  padding: 4px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) [on mouseover]*/
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #e6e6e6;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  font-color: #3a4b5f;

}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none; 
  /*color: #3a4b5f;*/  
  color: #ffffff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #e6e6e6;
  color: #3a4b5f;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #e6e6e6;  
  color: #3a4b5f;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}



/* **** Start animated text  **** */
.wrapper{
  display: flex;
}
.wrapper .static-txt{
  color: #000000;
  font-size: 25px;
  font-weight: 400;
}
.wrapper .dynamic-txts{
  margin-left: 15px;
  height: 90px;
  line-height: 95px;
  overflow: hidden;
}
.dynamic-txts li{
  list-style: none;
  color: #3a4b5f;
  font-size: 30px;
  font-weight: 500;
  position: relative;
  top: 0;
  animation: slide 12s steps(4) infinite;
}
@keyframes slide {
  100%{
    top: -360px;
  }
}
.dynamic-txts li span{
  position: relative;
  margin: 5px 0;
  line-height: 90px;
}
.dynamic-txts li span::after{
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background: #e6e6e6;
  border-left: 2px solid #e6e6e6;
  animation: typing 3s steps(10) infinite;
}
@keyframes typing {
  40%, 60%{
    left: calc(100% + 30px);
  }
  100%{
    left: 0;
  }
}
/* **** End animated text **** */



/* **** Start carousel css *** */

* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1200px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #000000;
  font-size: 16px;
  padding: 18px 12px;
  /* position: absolute; */
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 7px;
  width: 7px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 3s;
}

@keyframes fade {
  /*from {opacity: .4}*/
  from {opacity: 0} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media screen and (max-width: 600px) {
  .text {font-size: 16px}
}

/* **** End carousel css **** */



/* **** Start custom responsive layout row style (div class) for the Home page. **** */

.flexcontainer
{
	align-content: space-around;
	background-color: #e6e6e6;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 20px 0px;
}

/* The following must remain, even with no properties cited. */

.flexcontainer div:a
{
	
}

/* Hovering over link divs will apply the following properties. */

.flexcontainer div:hover
{
	box-shadow: 10px 10px 10px #888888;
	transition: all 1s cubic-bezier(.25,.8,.25,1);
}

/* Link text with no underline */

.flextext
{
	text-decoration: none;
}

/* Hovering over link text will change color. */

.flextext:hover
{
	color: #8197b1;
}

/* **** End custom responsive layout row style (div class) for the Home page. **** */



.active a
{
color: #3a4b5f;
}

a:hover
{
color: #8197b1;
}

body 
{
margin-left: 10%; 
margin-right: 10%; 
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
background: #e6e6e6;
scroll-behavior: smooth;
}

em
{
font-style: italic;
}

h1
{
margin-left: -8%;
font-weight: normal;
}

h2,h3,h4,h5,h6
{
margin-left: -4%;
font-weight: normal;
}

img
{
border: 0;
}

/*p
{
margin-left: 10%;
margin-right: 10%;
}*/

strong
{
font-weight: bold;
}


.caption
{
font-size: 90%;
padding-left: 1em;
}

.captionr1
{
font-size: 90%;
position: absolute;
right: 35%
}

.captionr2
{
font-size: 90%;
position: absolute;
right: 20%
}

.center
{
margin-left: 0%;
text-align: center;
}

.clearfix::after 
{
  content: "";
  clear: both;
  display: table;
}

.imgfloat
{
border: 0;
float: right;
margin-left: 24px;
}

.pad0
{
position: absolute;
left: 25%
}

.pad0i
{
padding-left: 1.25em;
}

.pad1
{
padding-left: 2.5em;
}

.pad1i
{
padding-left: 3.75em;
}

.pad2
{
padding-left: 5em;
}

.pad3
{
padding-left: 7.5em;
}

.shaded
{
background-color: #d9d9d9;
border-style: solid;
border-width: 1px;
border-color: #7c9ab6;
padding: 35px;
}

.shadow
{
box-shadow:10px 10px 10px #888888;
}

.superh
{
font-size: 50%;
vertical-align: super;
}

.superp
{
font-size: 65%;
vertical-align: super;
}


form
{
font-size: 90%;
}

form fieldset
{
padding: 15px 30px;
}

.red
{
color: #ff0000;
}


<!--.picsmall
{
text-align: center;
width: 330px;
height: 440px;
}

.piclarge
{
text-align: center;
width: 990px;
height: 743px;
}


/* tablet */

@media screen and (max-width: 1279px)

.picsmall
{
text-align: center;
width: 290px;
height: 387px;
}

.piclarge
{
text-align: center;
width: 880px;
height: 660px;
}


/* phone */

@media screen and (max-width: 767px)

.picsmall
{
width: 175px;
height: 233px; 
}

.piclarge
{
width: 525px; 
height: 394px;
}
