@import 'https://fonts.googleapis.com/css?family=Arimo';



body {
	background-color: #FFFFFF;
	margin: 0px;
	font-family: Arimo, Arial, Helvetica, sans-serif; 
}
img {
	max-width: 100%;
	border: 0; 
}
h1 {
	font-size: 28px;
	font-weight: 400;
	letter-spacing: 1px; 
}
h2 {
	font-size: 20px;
	font-weight: 400;

}
table {
	width: 100%; 
	border-collapse: collapse: 
	border: 0;
}
td {
	vertical-align: top;
	padding: 5px 30px 5px 5px;
	border-bottom: 1px #999 dashed;
}


.header {
	background-image: url('images/blue.png');
	background-repeat: repeat-x;
	height: 180px; 
	text-align: right;
	padding: 0 5vw;
	margin-top: 10px; 
}
.header2 {
	text-align: right;
	padding: 0 5vw;
	max-width: 1200px;
	margin: auto; 
}
.nav{
	padding: 0 12vw 0 0;
	text-align: right; 
	line-height: 55px; 
	position: sticky;
	top: 0; 
	z-index: 100; 
}
.nav a{
	background-color: #00AEEF;
	padding: 16px 20px; 
	border-radius: 0 0 10px 10px;
	text-decoration:none;
	white-space:nowrap;
	color: #fff; 
	border-top: 3px #4C4C4C solid;
}
.nav a:hover{
	background-color: #4C4C4C;
}
.grid {
	display: block;
	margin:auto;
	text-align: center; 
	}
.grid div:nth-child(2) {
	width: calc( 34%  );
}
.grid div {
	display: inline-block;
	width: calc( 33%  );
	height:  calc( 40vh );
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0; 
}
.grid div img {
	width: 100%;
	height: 100%;
}
.social{
	background-color: #00aeef;
	text-align: center; 
	padding: 1vw;
} 
.social img{
	margin: 10px; 
}
blockquote{
	background-color: #00BEFF;
	color: #fff; 
	padding: 1rem; 
	margin: 1rem auto;
	border-radius: 10px;
}




@supports (display: grid) {
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	grid-auto-rows: 50vh;
	grid-auto-flow: row dense;

}
.grid div:nth-child(2) {
	width: auto;
}
.grid div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  color: #fff;
  grid-column-start: auto;
  grid-row-start: auto;
  color: #fff;
  counter-increment: item-counter;

	width: auto;
	height: auto;
	background-size: cover;
	background-position: center;
  }
  }
.green{
	background-color: #eee;
}
.maintext {
	max-width: 1000px; 
	padding: 2vw 5vw;
	font-size: 17px; 
	line-height: 180%;
	color: #4C4C4C; 
	margin: auto;
}
.maintext a{
	text-decoration: none;
	color: #4c4c4c;
	border-bottom: 1px #999 dashed;
}
.maintext a:hover{
	color: #000;
	border-bottom: 1px #000 solid;
}
.logo {
	text-align: center;
	max-width: 1200px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: row wrap;
	padding: 20px; 
}
.logo div{
	vertical-align:middle; 
	flex: 1 1 auto;
	width: 160px;
}
.logo img {
	max-width: 160px; 
}
.footer {
	background-color:#4C4C4C;
	color: #fff;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	padding: 4vw 2vw;
	line-height: 180%; 
}
.footer > div {
	width: 300px; 
	padding: 20px; 
}
.footer a {
	text-decoration:none;
	color: #fff; 
}
.footer a:hover {
	color: #00AEEF; 
}
.iw {
	font-size: 10px;
	padding: 10px 5vw;
	text-align: right;
	background-color:#00AEEF;

} 
.iw a{
	color: #fff;
	text-decoration: none;

}
.fullscreen {
	display: none; 
}
.flexpics { 
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  -ms-flex-direction: column;
  -webkit-flex-flow: row wrap; 
  flex-flow: row wrap; 
  display: -webkit-box;
  display: flex;
  justify-content: center;
	color: #666;
	padding: 10px;
	max-width: 1400px; 
	margin: auto; 
	padding-bottom: 4vw;
}
.flexpics img {
	max-width: 100%;
	margin: auto;
	text-align: center; 
} 
.flexpics a{
	color: #333;
	text-decoration: none; 
}

.flexpics a:hover{
	color: #000;
	text-decoration: underline; 
}

.flexpics > div { 
 flex: 1 1 auto;
  width: 270px; 
  position:relative;
	margin: 10px;
	padding: 20px; 
	border-radius: 10px; 
	background-color:#fff;
  
}
.flexpics p{
	font-size: 16px; 
}
.flexpics2 { 
  font-size: 0;
  display: -ms-flexbox;
  -ms-flex-direction: column;  
  -ms-flex-wrap: wrap;
  -webkit-flex-flow: row wrap; 
  flex-flow: row wrap;  
  display: -webkit-box;
  display: flex;
  justify-content: center;
line-height: 100%;
	max-width: 1400px; 
	margin: auto; 
	padding-bottom: 4vw;
}
.flexpics2 > div { 
 flex: 1 1 auto;
  width: 300px; 
  max-width: 500px;
  position:relative;
  border: 5px solid white; 
margin: 5px; 
}
.flexpics2 > div img { 
  width: 100%; 
  height: auto; 
	cursor: zoom-in;
}
.flexpics2 a{
	border-bottom: 0;
}
.singleheader {
	text-align: center;
}
@supports (object-fit: contain) {
.objectfit img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}
.singleheader img {
    object-fit: contain;
    width: 100%;
    height: 50vh;
}
.flexpics2 > div img { 
    object-fit: cover;
    width: 100%;
    height: 300px;
}
}

@media only screen and ( max-width: 1024px ) {
.header {
	padding: 0;
	text-align:center;
}
.nav {
	padding: 0;
	text-align:center; 
}
.footer, footer > div {
	display: block;
}
.maintext {
	font-size: 18px; 
}
.flexpics > div { 
  width:100%; 
}
.grid div:nth-child(4) {
	display: none; 
}
.nav{
	position: relative;
}
}


@media only screen and ( max-width: 715px ) {
.header {
	background-image: none;
	padding: 0;
	height: auto; 
	text-align:center;
}
.fullscreen {
	display: none !important; 
}
.grid div,  .flexpics2, .flexpics2 > div {
	display: block; 
	width: auto; 
	max-width: none; 
}
.nav a{
	display: block;
	border-radius: 0; 
}
.nav {
	line-height: normal; 
}
table {
	width: auto; 
}
td {
	display: block; 
}

.logo, .logo div, .footer > div {
	display: block; 
	width: auto; 
}
}