* {
  box-sizing:border-box;
  
}

.left {
  width:5px;
  
  float:left;
  /* width:20%; The width is 20%, by default */
}

.main {
  /* background-color:#f1f1f1;
  padding:20px;

  width:60%; The width is 60%, by default */
  padding-left:5px;
  padding-right:5px;
    text-align: justify;
  text-justify: inter-word;
  min-width: 800px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  color: #474747;
}

.mainpic {
  min-width: 800px;
  <!-- max-width: 1024px; -->
  margin-left: auto;
  margin-right: auto;
  display: block;
  float: top;
  position: relative;
}

img { 
	width: 100%; 
	height: 100%; 
	object-fit: contain; 
	style="margin:0 auto;
} 

.myimage {
  width: 100%;
  height: 320px;
  background-position: 50% 50%;
  /* Make the background image cover the area of the <div>, and clip the excess */
  background-size: cover;
  	object-fit: contain; 
	style="margin:0 auto;
	z-index: -1;
	position: relative;
}
.right {
  width:5px;

  float:left;
  /* width:20%; The width is 20%, by default */
}

.brand {
	display: inherit;
	margin: 0;
	padding: 30px 0 0px;
	
	text-shadow: 3px 3px 4px #b5c9e2;
/* 	text-align: center;
  min-width: 980px;
font-family: "Josefin Slab","Helvetica Neue",Helvetica,Arial,sans-serif; */
	font-size: 3em;
	font-weight: 700;
	line-height: normal;
	color: #042963;

  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.brand img {
 	height: 66px;
	width: 66px;
	z-index: -1;
	position: relative;
	vertical-align: middle;
}
.brand span {
	z-index: -1;
	position: relative;
	vertical-align: middle;
}
.brand1 {
  padding-top:25px;
  padding-left:5px;
  padding-right:5px;
  text-align: left;
  text-justify: inter-word;
  min-width: 800px;
  max-width: 1288px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  color: #474747;
}

.brand1 img {
	z-index: -1;
	position: relative;
	max-height: 48px;
}
.imglogo {
	height: 97px;
	width: 1288px;
	background-image: url(../images/logo.png);
	background-size: 100% 100%;
	z-index: -1;
	position: relative;
}
/*
.imgoverlay {
	height: 107px;
	width: 620px;
	background-color: rgba(0,0,0,0.51);
	background-size: 100% 100%;
	z-index: 0;
}
*/
.readmore:visited {
	color: #3D5D6F;
}

.readmore {
  text-decoration: none;
  color: #3D5D6F;
}

.gmaps {
	height: 320px;
}
nav {
	/* font-family: Open Sans, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: normal; */
    color: #000000;
	text-align: center;
	font-size: 125%;
}
nav select {
  display: none;
  text-align: center;
}
nav ul {
  border-top: 1px solid #a59f9f;
  <!-- border-bottom: 1px solid #a59f9f; -->
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight: 450;
  padding-inline-start: 0px;
}
nav ul .active {
  margin-top:-1px; 
  border-top: 1px solid #07357f;
  font-weight: 600;
}
nav ul li {
    display: inline-block;
    position: relative;
    margin: 0 15px;
    line-height: 1;
}
nav ul li a{
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding: 14px 0px;
  color: #000000;
  margin: 0 15px;
/*   line-height: 1; */
}
nav ul li a:hover{
  color: #00529F;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}
html,
body
{
	font-family: "Trebuchet MS","Bahnschrift","Comic Sans MS";
	font-weight: 400;
	margin: 0;
	height: 100%;
	font-size: 95%;
}
.footer {
/* 	background-color:#122954;
    vertical-align: baseline; 
	color: #4869a8;
	text-align:center;
  position: relative;
  margin-top: -50px;
  height: 50px;
  clear: both; */
     position: absolute;
   left: 0;
   bottom: 0;
   width: 100%;
   color: #D1DEEE;
   background-color: #122954;
   text-align: center;
   min-width: 800px;
   z-index: -1;
}
.footer .img_ref{
	text-align: right;
	float:right;
}
.footer .img_ref a{
	text-decoration: none;
	font-size: xx-small;
	color:#122954;
}
.wrapper {
  min-height: 100%;
  position: relative;
    padding-bottom: 60px;
}
.not_clickable {
  background: rgba(0,0,0,0.51);
  transition: opacity 500ms;
  pointer-events: none;
}

.popup { 
text-align: center;
  margin: 5% 10% 5% 10%;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 80%;
  height: auto;
  position: absolute;
  transition: all 1s ease-in-out;
  z-index: 100;
  display:none;
  overflow:overflow:hidden;
}
.popup .brand {
	display: inherit;
	margin: 0;
	padding: 0px;
	text-align: left;
	font-size: 2em;
	font-weight: 700;
	line-height: normal;
	color: #042963;
	  display:block;
  overflow:auto;
}
.popup .title {
	display: inherit;
	margin: 0;
	margin-bottom:10px;
	padding: 0px;
	text-align: left;
	font-size: 1.5em;
	font-weight: 500;
	line-height: normal;
	color: black;
	  display:block;
  overflow:auto;
}
.popup .iframe_body {
	border-top: 1px solid #a59f9f;
	border-bottom: 1px solid #a59f9f;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0px;
	  display:block;
  overflow:auto;
}
.popup .buttons {
	margin-top:10px;
	  display:block;
  overflow:auto;
}
.popup button {
	border-radius: 5px;
	padding: 5px 20px;
	background-color: #4869a8;
	color: white;
	border: none;
	font-size: 1.25em;
}
.popup button:hover {
	background-color: #81a6e2;
	color: white;
}
/* Use a media query to add a break point at 800px: */
@media screen and (max-width:800px) {
  .main {
      min-width: 450px;
      padding-left: 25px;
      padding-right: 25px;
  }
  .mainpic {
      min-width: 450px;
  }  
  .myimage {
	  height: 200px;
	}
  .brand1 {
      min-width: 450px;
  }
  .footer {
      min-width: 450px;
  }	
.gmaps {
	height: 200px;
}
	.imglogo {
		height: 80px;
		width: 465px;
	}
  nav ul {
	  min-width: 450px;
  }
 nav ul li {
    margin: 0 10px;
}
nav ul li a{
  margin: 0 10px;
/*   line-height: 1; */
}
/*   nav ul     { display: none; }
  nav select { display: inline-block; }   */
  .brand {
	font-size: 2.5em;
  }
 .brand img {
 	height: 50px;
	width: 50px;
  }
  .popup {
	padding: 7px;
  }
  .popup .brand {
	font-size: 1.25em;
  }
  .popup .title {
	font-size: 1.15em;
  }
.popup .buttons {
	margin-top:4px;
	  display:block;
  overflow:auto;
}
 .popup button {
	border-radius: 5px;
	padding: 2px 10px;
	background-color: #4869a8;
	color: white;
	border: none;
	font-size: 1.15em;
  }

  nav ul li a{
    padding: 7px 0px;
    margin: 0 5px;
  }

}
@media screen and (max-width:400px) {
  .main {
      min-width: 400px;
      padding-left: 20px;
      padding-right: 20px;
  }
  .mainpic {
      min-width: 400px;
  }  
  .myimage {
	  height: 200px;
	}
  .brand1 {
      min-width: 400px;
  }
  .footer {
      min-width: 400px;
  }
.gmaps {
	height: 200px;
}
	.imglogo {
		height: 53px;
		width: 310px;
	}
  nav ul     { display: none; }
  nav select { display: inline-block; }   
  .brand {
	font-size: 1.5em;
  }
  .brand img {
 	height: 30px;
	width: 30px;
  }
  .popup {
	padding: 7px;
  }
  .popup .brand {
	font-size: 1.25em;
  }
  .popup .title {
	font-size: 1.15em;
  }
.popup .buttons {
	margin-top:4px;
	  display:block;
  overflow:auto;
}
 .popup button {
	border-radius: 5px;
	padding: 2px 10px;
	background-color: #4869a8;
	color: white;
	border: none;
	font-size: 1.15em;
  }

  nav ul li a{
    padding: 7px 0px;
    margin: 0 5px;
  }
}