/* Reset
------------------------------------------------------------ */

* {
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  background: #ffffff;
  font-size: 13px;
  color: #666666;
  font-family: Arial, helvetica, sans-serif;
}

ol,
ul {
  list-style: none;
  margin: 0;
}

ul li {
  margin: 0;
  padding: 0;
}

h1 {
	margin-bottom: 5px;
	color: #C00;
	font-size: 20px;
	font-weight: bold;
}

h2 {
  color: #C00;
  font-size: 16px;
  padding: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

h3 {
	color: #FFFFFF;
	font-size: 22px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	height: auto;
	width: auto;
	text-align: center;
	vertical-align: middle;
	padding-bottom: 10px;
}

a {
	text-decoration: none;
	color:#F60;
}

A.class1 {
  outline: none;
  border: none;
  color: #C00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
}

A.class2 {
  outline: none;
  border: none;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
}

p {
  margin: 0 0 10px;
  line-height: 1.4em;
  font-size: 1.2em;
  text-align: center;
}

img {
  display: inline-block;
      border: 0px;
}
.headerimage {
   position: relative;
   top: 0px;
   left: 0px;
   
}
.headerimagelink {
   position: absolute;
   top: 220px;
   left: 90px;
}

aside {
  font-style: italic;
  font-size: 0.9em;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

* {
  box-sizing: border-box;
}


/* Structure */
/* to enforce form completion */
input:invalid {
  border: 2px dashed red;
}

input:valid {
  border: 2px solid black;
}
/* Contain1 to 4 are to prevent Cumulative Layout shift caused by the header images */
/* main image */
.contain1 {
          object-fit: cover;
          width: 100%;
          height:400px;
}
/* main image smaller */
.contain2 {
          object-fit: cover;
          width: 100%;
          height:175px;
} 
/* site logo */   
.contain3 {
          object-fit: cover;
          width: 100%;
          height:125px;
}
/* site logo smaller */
.contain4 {
          object-fit: cover;
          width: 100%;
          height:100px;
}
/* canx button */
.contain5 {
          object-fit: cover;
          width: 100%;
          height: 40px;
}
/* canx button smaller */
.contain6 {
          object-fit: cover;
          width: 80%;
          height:100px;
}
body {
  background-color: #fff;
  width: 90%;
  margin: auto;
}
.wrapper {
  max-width: 1500px;                   
	margin: auto;
	text-align: center;
	  width: 90%;
	} 

.header {
  margin: auto;
}

.header-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 37%;
  float: left;
  background-color: #fff;
}

.header-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 63%;
  background-color: #fff;
  text-align: center;
  float: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color:#003466;
  margin-top: 25px;
}
#img1 {display:block;}
#img2 {display:none;}
#img3 {display:block;}
#img4 {display:none;}
#img5 {display:block; margin:auto;}
#img6 {display:none;}
#img7 {display:block;}
#img8 {display:none;}


  .jump-to-search {
  display: none;	  
  }
  
.googlesearchboxholder {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  background-color: #f5f5f5;
  width: 100%;
}
.googlesearchbox1 {
  margin: auto;
  padding: 0px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  background-color: #f5f5f5;
	color:#2a0f7a;
  width: 35%;
}
.googlesearchbox2 {
  margin: auto;
  padding: 0px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  background-color: ##ffffcc;
	color:#4e90fe;
  width: 65%;
}

.grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  background-color: #Fff;

}
.profile-holder {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
    margin: auto;
}
.profile {
  -webkit-box-flex: 3;
  -ms-flex: 3;
  flex: 3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  text-align: center;
  background-color: #f5f5f5;
  color: #009;
  padding-top: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
  order: 1;
}
.buttons1 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #f5f5f5;
  color: #009;
  padding-top: 10px;
  padding-right: 15px;
  padding-bottom: 10px;
  padding-left: 15px;
  order: 1;
}
.buttons2 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #f5f5f5;
  color: #009;
  padding-top: 10px;
  padding-right: 15px;
  padding-bottom: 10px;
  padding-left: 15px;
  order: 1;
}
.splash-holder {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
    margin: auto;
}
.splash {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #f5f5f5;
  color: #009;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  order: 1;
}

.splash2 {
 display: none;
}

.grid_column1 {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 12px;
  order: 2;
    padding: 0px;
  padding-top: 12px;

}

.boxline1 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border-radius: 10px;
  height: 360px;
  border-right-width: 3px;
  border-bottom-width: 3px;
  border-right-style: solid;
  border-bottom-style: solid;
  border-right-color: #d6d6d6;
  border-bottom-color: #d6d6d6;
  background-color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #036;
  text-align: center;
  padding-top: 30px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
  margin: auto;
  margin: 10px;
}


.infobox {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-top: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: left;
  color: #009;
  width: 100%;
  margin: auto;
  padding: 12px;
  background-color: #ECECFF;
}

.grid_column2 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 12px;
  order: 3;
    padding: 0px;
  padding-top: 12px;

}

.grid_column3 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 12px;
  order: 4;
    padding: 0px;
  padding-top: 12px;

}

.grid_column4 {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 12px;
    order: 5;

}

.social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 90%;
}

.box_topbottom {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #FFF;
  font-weight: bold;
  background-color: #036;
  padding: 6px;
  text-align: center;
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #000099;
  border-right-color: #000099;
  border-bottom-color: #000099;
  border-left-color: #000099;
}

.splitbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #009;
  font-weight: bold;
  border-right-width: medium;
  border-left-width: medium;
  border-right-style: solid;
  border-left-style: solid;
  border-top-color: #009;
}

.box1 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #036;
  font-weight: bold;
  background-color: #F2F2F2;
  padding: 6px;
  text-align: left;
  border-top-width: thin;
  border-right-width: medium;
  border-bottom-width: thin;
  border-left-width: medium;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #ececff;
  border-right-color: #000099;
  border-bottom-color: #ececff;
  border-left-color: #000099;
}

.box2 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #036;
  font-weight: bold;
  padding: 6px;
  background-color: #F2F2F2;
  text-align: left;
  border: thin solid #ececff;

}
.box3 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #036;
  font-weight: bold;
  padding: 6px;
  background-color: #F2F2F2;
  text-align: left;
  border-right-width: medium;
  border-left-width: medium;
  border-right-style: solid;
  border-left-style: solid;
  border-right-color: #009;
  border-left-color: #009;
}
.boxbottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #FFF;
  font-weight: bold;
  background-color: #036;
  padding: 10px;
  text-align: center;
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-top-style: none;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #036;
  border-right-color: #036;
  border-bottom-color: #036;
  border-left-color: #036;
}
.top-button {
	display: none;
}
.newsletter {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-top: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: left;
  color: #009;
  width: 100%;
  margin: auto;
  padding: 12px;
  background-color: #ECECFF;
}
.detail {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-top: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: left;
  color: #009;
  width: 100%;
  margin: auto;
  padding: 12px;
  background-color:#FFFFCC;
    border-right-width: medium;
  border-left-width: medium;
  border-right-style: solid;
  border-left-style: solid;
  border-right-color: #009;
  border-left-color: #009;
}
.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  background-color: #Fff;
}
.footer-left, .footer-middle, .footer-right  {

  padding: 20px;  
  font-family: Arial, Helvetica, sans-serif;
  color: #FFF;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #036;
  width: 27%;
}
.footer-logo {

  padding: 20px;
  padding-top: 10px; 
  font-family: Arial, Helvetica, sans-serif;
  color: #FFF;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #036;
  width: 19%;
}
.footer-message  {

  padding: 10px;  
  font-family: Arial, Helvetica, sans-serif;
  color: #000099;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color:#EFEFEF;
  width: 100%;
}

/*! responsive-nav.js 1.0.39 by @viljamis */

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.nav-toggle {
  margin-bottom: 5px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media screen and (min-width: 40em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}
/*!End of responsive-nav.js 1.0.39 by @viljamis */
@media screen and (max-width: 480px) {
 
 .header {
    margin: auto;
    display: block;
    background-color: #fff;
}
 
  .header-left {
	display: block;
    width: 100%;
  }
  .header-right {
	display: block;
    width: 100%;
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #003466;
    background-color: #fff;
  }
  .jump-to-search {
	display: block;
	width: 100%;
	background-color: #fff;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color:#F90;
	font-style: italic;
}
    #img1 {display: none;}
    #img2 {display: block; margin:auto;}
    #img3 {display: none;}
    #img4 {display: block; margin:auto;}
	#img5 {display: none;}
    #img6 {display: block; margin:auto;} 
	#img7 {display: none;}

.profile-holder {
  display: block;
    margin: auto;
}

  .grid {
    display: block;
    width: 100%;
  }
  .holder {
	display: block;
    width: 100%;
  }
  .splash-holder {
  display: block;
    margin: auto;
}
  .splash {
    padding-right: 10px;
    padding-left: 10px; 
  }
 
  .grid_column1 {
    width: 100%;
	order: 2;
	  padding: 0px;
  padding-top: 12px;
  }
    .grid_column2 {
	order: 3;
	  padding: 0px;
  padding-top: 12px;
  }
    .grid_column3 {
	  padding: 0px;
  padding-top: 12px;
	order: 4;
  }
    .grid_column4 {
	order: 1;
	  padding: 0px;
  padding-top: 12px;
  }
    .top-button {
	display: block;
	width: 100%;
  }
    .buttons1 {
	display: none;
  }
    .buttons2 {
	display: block;
  }
	
  .profile {
    padding-top: 15px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
  }
  .boxline1 {
    font-size: 16px;
	height: 390px;
		  margin: 0px;
  }
  h2 {
    font-size: 20px;
  }
  h3{
    font-size: 18px;
  }
    .footer {
  	display: block;
    width: 100%;
  } 
    .footer-left, .footer-middle, .footer-right, .footer-logo {
  	display: block;
    width: 100%;
  } 
}
