/* 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;
}

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

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;
}
.red {
  color: #C00;
}

* {
  box-sizing: border-box;
}


/* Structure */
/* Contain1 to 4 are to prevent Cumulative Layout shift caused by the header images */
.contain1 {
          object-fit: cover;
          width: 100%;
          height:400px;
}
.contain2 {
          object-fit: cover;
          width: 100%;
          height:175px;
}    
.contain3 {
          object-fit: cover;
          width: 100%;
          height:125px;
}
.contain4 {
          object-fit: cover;
          width: 100%;
          height:100px;
}
body {
  background-color: #ffffff;
  width: 90%;
  margin: auto;
}

.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;
}
#img3 {display:block;}
#img4 {display:none;}
#img5 {display:block;}
#img6 {display:none;}

.main_image {
  margin: auto;
}

.wrapper {
  margin: auto;
  text-align: center;
}

.profile {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #f5f5f5;
  color: #009;
  width: 93%;
  margin: auto;
  margin-top: 10px;
  padding-top: 15px;
  padding-right: 60px;
  padding-bottom: 15px;
  padding-left: 60px;
  	  border: medium solid #CCC;
	  border-bottom: none;
}

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

}
#img1 {display:block;}
#img2 {display:none;}


.grid_column4 {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;

}
.search-again {
	display: none;
}
.form1 {
		  display: block;
}
.form2 {
		  display: none;
}
.searchboxholder {
    -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
		  flex-direction: column;
		  width: 93%;
		  margin: auto;

	  border: thin solid #CCC;
}

.searchbox {
	  display: flex;
  	  background-color: #f5f5f5;
}

.paging {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  background-color: #f2f2f2;
  width: 50%;
  margin-bottom: 5px;
 
}

.pagingboxfull {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  background-color: #f2f2f2;
  color: #009;
  border: thin solid #406FB6;
  width: 100%;
  padding: 6px;
  text-align: center;

}

.pagingbox1 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  background-color: f2f2f2;
  color: #406FB6;
  border: thin solid #406FB6;
  width: 50%;
  padding: 6px;
  text-align: center;
  background-color: f2f2f2;
}

.pagingbox2 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #406FB6;
  border: thin solid #406FB6;
  width: 50%;
  padding: 6px;
  text-align: center;
}
.resultsboxholder {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
		  width: 100%;
		   margin: auto;
		   margin-top: 10px;
	  border: thin solid #CCC;
}
.resultsboxholder2 {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	width: 100%;
	margin: auto;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #CCC;
}
.results,
.results1 {
  display: flex;
  	     background-color: #FFC;

}
.line {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 5px;
  background-color: #f2f2f2;
  text-align: center;
  vertical-align: middle;
  	  border: thin solid #CCC;
	  border-bottom :none;

}
.line2, .line4 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 5px;
  background-color: #f2f2f2;
  text-align: center;
  vertical-align: middle;
  	  border: thin solid #CCC;
	  border-top :none;
}
.line3, .line3a {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 5px;
  padding-left: 1%;
  padding-right:1%;
  padding-top:10px;
  padding-bottom:10px;
  background-color: #f2f2f2;
  text-align: center;
  vertical-align: middle; 
  	  border: thin solid #CCC;
	  border-top :none;
}

.linesearch {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 10px;
  background-color: #f2f2f2;
  text-align: center;
  vertical-align: middle;
            align-items: center;
  -webkit-justify-content: center;
          justify-content: center;
  	  border: thin solid #CCC;
	  border-bottom :none;

}
.linesubmit1, .linesubmit3 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 10px;
  background-color:#F2f2f2;
  text-align: center;
  vertical-align: middle;
            align-items: center;
  -webkit-justify-content: center;
          justify-content: center;
  	  border: thin solid #CCC;
	  border-bottom :none;

}
.linesubmit2, .linesubmit4{
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 10px;
  background-color:#F2f2f2;
  text-align: center;
  vertical-align: middle;
            align-items: center;
  -webkit-justify-content: center;
          justify-content: center;
  	  border: thin solid #CCC;
	  border-bottom :none;

}

.imagesholder {
	display: flex;
	width:100%;
	margin: auto;
	border-top-width: thin;
	border-right-width: thin;
	border-left-width: thin;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-left-color: #CCC;
}
.images {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 2px;
  background-color:#f2f2f2;
  text-align: center;
  vertical-align: middle;
  padding: 10px;

}
.imagesA {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 2px;
  background-color:#f2f2f2;
  text-align: center;
  vertical-align: middle;
  padding: 10px;

}
.images1 {
	display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 2px;
  background-color: #f2f2f2;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
  -webkit-align-items: center;
          align-items: center;
  -webkit-justify-content: center;
          justify-content: center;

}
.images2 {
	display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #009;
  font-weight: bold;
  padding: 2px;
  background-color: #f2f2f2;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
  -webkit-align-items: center;
          align-items: center;
  -webkit-justify-content: center;
          justify-content: center;

}
.gap  {
	
}

.top-button {
	display: none;
}
.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%;
}

/*! 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-left {
	display: block;
    width: 100%;
  }  .header-right {
	display: block;
    width: 100%;
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #003466;
  }
    #img3 {display: none;}
  #img4 {display: block;}
  
  .profile {
    padding: 15px;
	margin-top: 10px;
    margin-bottom: 10px;
	border: none;
	width: 100%;
  }
  .search-again{
	display: none;
  }
  .grid {
	display: block;
    width: 100%;
  }
    #img1 {display: none;}
  #img2 {display: block;}  .grid_column4 {
	display: block;	  
    width: 100%;
	padding-left: 0px;
  }
.searchboxholder {
  display: block;
      width: 100%;
	  margin-top: 0px;
}

.searchbox {
  display: block;
      width: 100%;
}
.linesubmit1, .linesubmit3 {
  display: none;
  padding: 10px;
}

.linesubmit2, .linesubmit4{
  display: block;
  padding: 10px;
}

.paging {
  width: 100%;

}
.resultsboxholder {
  display: block;
        width: 100%;
		margin-top: 0px;
}
.resultsboxholder2 {
  display: block;
      width: 100%;
}
.results,
.results1 {
  display: block;
      width: 100%;
}
.line3 {
  padding: 5px;
  
} 
.line3a {
	display: none;
}
.line4 {
	display: none;
}
.imagesholder {
	display: block;
	width: 100%;
}
.images1 {
	display: none;
}
.images2 {
	display: none;
}

.gap {
	background-color:#fff;
}

.form1 {
		  display: none;
}
.form2 {
		  display: block;
}
.linesubmit {
   padding-left: 20%;
      padding-right: 20%;

}
  .search-again {
	display: block;
	  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  background-color: #ffc;
  color: #009;
  border: thin solid #CCC;
  width: 100%;
  padding: 6px;
  text-align: center;
}
  .top-button {
	display: block;
	width: 100%;
	  text-align: center;
  vertical-align: middle;
}
 .h2 {
    font-size: 20px;
  }  
  
  .footer {
  	display: block;
    width: 100%;
  } 
    .footer-left, .footer-middle, .footer-right, .footer-logo {
  	display: block;
    width: 100%;
  } 

}

