

body, html{
  margin: 0;
  background: white;
  font-family: 'Arial', sans-serif;
}
h1{
  text-align: center;
  color: #00639b;
  font-size: calc(1em + 3vmin);
}
.container-all{
  width: fit-content;
  margin: 20px auto;
  height: auto;
}
.container{
  width: calc(33.3333% - 13px);
  /*height: calc(attr(width)/1.5);*/
  overflow:hidden;
  height: fit-content;
  margin:3px;
  padding: 0;
  display:block;
  position:relative;
  float:left;
  /*border: 1px solid white;*/
}


img{
  width: 100%;
  height: auto;
  transition-duration: .3s;
  max-width: 100%;
  display:block;
  overflow:hidden;
  /*cursor:pointer;*/
}
.title{
  position:absolute;
  display:block;
  /*cursor:pointer;*/
  top: 35%;
  display: none;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  background: #00639b;
  color: white;
  padding: 10px;
  font-size: calc(0.8em + 0.5vmax);
  /*text-shadow: 1px 5px 10px black;*/
  border: none;
  border-radius: 5px;
  transition-duration: .3s;
}
.text{
  position:absolute;
  top: 70%;
  /*cursor:pointer;*/
  max-width: 80%;
  text-align:center;
  left: 50%;
  text-shadow: 1px 5px 10px black;
  font-size: 1em;
  display:none;
  margin-right: -50%;
  transition-duration: .3s;
  transform: translate(-50%, -50%) 
}
.container:hover img{
  transform: scale(1.2);
  transition-duration: .3s;
  filter: grayscale(50%);
  opacity: .7;
}
.container:hover span .btn-primary{
  color:white;
  display: block;
  transition-duration: .3s;
}

.container:hover #button2{
  color:white;
  display: block;
  transition-duration: .3s;
}


.container:hover .title2{
	/*background-color: white;
	color: white; */
}

@media only screen and (max-width: 1200px) {
    .container {
        width: calc(50% - 16px);
    }
	.container:hover .btn-primary {
		font-size: 1em;
	}
	span.title2 {
		font-size: 1.2em;
	}
}

@media only screen and (max-width: 650px) {
	span.title2 {
		font-size: 1.1em;
	}
}


@media only screen and (max-width: 500px) {
    .container {
        width: calc(100% - 26px);
    }
	span.title2 {
		font-size: 1em;
	}
}



.mainmenu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  text-align: center;
  justify-content: space-between;
  /*align-items: center;*/
  overflow: hidden;
  width: 100%;
  /*border: 1px solid red;*/
}

.nav {
  width: auto;
  /*border: 1px solid green;*/
  
}


div.nav2 {
  background-color: white;
  color: #00639b;
  border-radius: 15px 15px 0px 0px;
    margin: 0;
}

div.nav2 a {
  display: flex;
  color: #00639b;
  text-decoration: none;
  padding: 15px;
  /*border-radius: 5px 5px 0px 0px;*/
    margin: 0;
}



div.nav2 a:hover {
  background-color: #eee;
  color: #00639b;
}

div.nav2 a.active {
  background-color: #00639b;
  color: white;
}



.nav1 {
  width: 70%;
  /*border: 1px solid green;*/
  display: flex; 
}


#logo > img:nth-child(1) {
  width: 200px;
  padding-top: 5px;
  padding-right: 10px;
  margin-right: 10px;
}


.cta {
  padding: 0 5px;
  white-space: nowrap;
  float: right;
  /*border: 1px solid blue;*/
  text-align: end;
}

@media screen and (max-width:768px) {
  .mainmenu .nav {
	width: 100%;
    order: 2;
  }
  .mainmenu .cta {
	  width:100%;
	  float: right;
    order: 1;
  }
  

  #logo > img:nth-child(1) {
	  display: inline-block;
    order: 1;
  }
  
  .mainmenu .nav1 {
	  flex-direction: column;
	  width:100%;
    order: 2;
  } 
  div.nav2 a{
	  /*width:90%;*/
	  width: 100%;
	  display: inline-block;
	  text-align:center;
	  /*border: 1px solid #00639b;*/
	  /*margin: 3px 35px 0px 20px;*/
	  /*border-radius: 5px;*/
  }
  
 /* div.nav2 a:hover {
	background-color: #00639b;
	color: white;
  }*/

  div.nav2:nth-child(1) {
	display: none;
}

  
}




body {
	margin-right: -20px;
}




h2 {
	color: #00639b;
	font-weight: bold;
	padding: 10px 100px 10px 100px;
}


@media screen and (max-width: 650px) {
	h2 {
		font-size: 1.2em;
		padding: 10px 50px 10px 50px;
	}
}


.InfoA {
	color: black;
	padding: 10px 50px 10px 50px;
	font-size: 1.1em;
	font-weight: normal;
}

@media screen and (max-width: 650px) {
	.InfoB {
		padding: 10px 50px 10px 50px;
	}
}


.featurette-divider {
  color: #00639b;
}

.title2 {
	text-align: center;
	color: white;
	background-color: #00639b;
	width: 100%;
	display: inline-block;
	padding: 10px 0;
	/*font-size: calc(0.8em + 0.5vmax);*/
	font-size: 1.3em;
	position: relative;
	z-index: 100;
	/*font-weight: bold;*/
}



.container .btn-primary {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: #009037;
  color: white;
  /*font-size: calc(0.8em + 0.5vmax);*/
  font-size: 1.2em;
  padding: 10px 15px 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  transition-duration: .3s;
  display: none;
  margin-top: 15px;
}

.container:hover a{
  color:white;
  display: block;
  transition-duration: .3s;
}

#button2 {
	background-color: #444444;
	cursor: not-allowed;
}

.header, .footer {
  text-align: center;
}

.footer {
  display: flex;
  flex-direction: column;
  width: 100%
}

.fa {
  color: #00639b;
}


.header i.fa, .footer i.fa {
  font-size: 4em;
}


.my-fa-icon {
  width: 4rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}


.header .bounce, .footer .bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}
.header .animated, .footer .animated {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}



.featurette-divider {
width: 100%;
display block;
}

.footer > section:nth-child(1) > h3:nth-child(2) {
  text-align: center;
  font-size: 1em;
  font-weight: normal;
  color: #00639b;
}


.footer > section:nth-child(1) > h3:nth-child(2) {
  margin-bottom: 50px;
}


#footend > div:nth-child(1) > a:nth-child(1) {
  color: white;
  padding: 10px;
}



#footend > div:nth-child(1) {
  padding: 10px;
}



#footend > div:nth-child(1) {
  display: flex;
  justify-content: center;
}

#footend > div:nth-child(1) > a:nth-child(3) {
  color: white;
  padding: 10px;
}




#footend {
	color: white;
	background-color: #00639b;
	border-top: 2px solid #00639b;
	margin-top: 30px;
}


#footend > div {
  padding: 0 10px 10px 10px;
  font-weight: normal;
  font-size: 0.8em;
}


@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-20px);
  }
  60% {
    -webkit-transform: translateY(-10px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}