html {
  font-family: Helvetica, Arial, sans-serif;
}

body {
  background-color: #eaeaea;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.menu {
  width: 25%;
  float: left;
}

.main {
  width: 100%;
  float: left;
  padding-left: 2.5em;
  padding-right: 2.5em;
  padding-top: 1.5em;
  margin-top: 1.5em;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
    transition: margin-left .5s;
    line-height: 1.25;

} 
.main a:link {
	text-decoration: none;
	color: #336699;
	}

.main a:hover{
	text-decoration: underline;
	color: #dfc043;
	}
	
.main a:visited {
	text-decoration: none;
	color: #666666;
	}
	
.main a:active {
	text-decoration: underline;
	color: #6dab28;
	}

@media only screen and (max-width: 599px) {
	
	.main {
		padding-left:0.5em;
	padding-right: 0.5em;
	margin-top: 0.1em;
		
	}
	

}

.footer {
  width: 100%;
  float: left;
  text-align: center;
  color: #999999;
  font-size: 0.8em;
  margin-top: 15px;
  margin-bottom: 15px;

} 

@media only screen and (max-width: 599px) {
	
	.header {
		margin-top:1.5em;
	}
}

.header {
  background-color: #eaeaea;
  color: #ffffff;
  padding: .5em;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  margin-bottom: 7px;
  background-color :#c2eeff;

  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.menu li:hover {
  background-color: #0099cc;
}

* {
  box-sizing: border-box;
}
@media only screen and (max-width: 599px) {
 /* For mobile phones: */
[class*="col-"] {
  width: 100%;
  margin-left: 0;
	margin-right: 0;
}
}
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
} 

 [class*="col-"] {
  /*float: left;*/
  padding: 1.5em;
  border: 0;
  margin-left: auto;
  margin-right: auto;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}
.topnav {
  overflow: hidden;
  background-color: #7c7c7c;
  /*margin-left: 25px;
  margin-right: 25px;*/
    border: 2px solid #e1e1e1;
  border-radius: 9px;

}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #dfc043;
  color: #626262;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  
 @media screen and (max-width: 600px) {
	 #overlay
	 {display: none;}
 }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.verify {
	display: none;
	}
	
/*	label
{
width: 15%;
float: left;
text-align: right;
margin-right: 0.8em;
display: block;
padding: 0.5em;
}*/

textarea
{
width: 70%;
color: #333333;
background: #f8f8f8;
border: 1px solid #c9c9c9;
border-radius: 7px;
padding: 1em;
}

.checkbox
{
margin-left: 8em;
margin-right: 2em;
display: block;
}

.optionbox
{
padding-left: 1em;
}

optionlabel
{
padding-left: 10px;
}
boxlabel
{
width: 30px;
margin-right: 2em;
display: inline;
}

formlabel
{
text-align: right;
margin-left: 1em;
margin-right: 1em;
display: inline;
}
.formleft
{
width: 15%;
float: left;
text-align: right;
margin-right: 0.8em;
display: block;
padding: 0.5em;
}

@media screen and (max-width: 598px) {
		
.formleft
{
width: 80%;
text-align: left;

}

textarea
{
width: 100%;}
}
.formright
{
text-align: right;
margin-right: 10px;
float: right;
}

.smbutton
{width:auto;
height:26px;
font-family:Tahoma, arial, sans-serif;
font-size:100%;
font-weight:500;
color:#333333;
border:1px solid #94a5b5;
-moz-border-radius: .4em;
-webkit-border-radius: .4em;
-khtml-border-radius: .4em; 
border-radius: .4em;
padding-left: 1.5em;
padding-right: 1.5em;
padding-bottom:3px;
background:#f8f8f8;
}


.smrefresh
{width:auto;
height:26px;
font-family:Tahoma, arial, sans-serif;
font-size:100%;
font-weight:500;
color:#626262;
border:1px solid #94a5b5;
-moz-border-radius: .4em;
-webkit-border-radius: .4em;
-khtml-border-radius: .4em; 
border-radius: .4em;
padding-left: 1.5em;
padding-right: 1.5em;
padding-bottom:3px;
background:#dfc043;
}


input[type="submit"]:hover, input[type="button"]:hover
{width:auto;
height:26px;
font-family:Tahoma, arial, sans-serif;
font-size:100%;
font-weight:300;
color:#ffffff;
/*border-collapse: collapse;*/
border:2px groove #a1a1a1;
-moz-border-radius: .4em;
-webkit-border-radius: .4em;
-khtml-border-radius: .4em; 
border-radius: .4em;
padding-left: 1.5em;
padding-right: 1.5em;
padding-bottom:3px;
background:#339b2a;
}

input[type=text]
{width:200px}

.submitinput
{
margin-left: 8em;
margin-bottom: 5px;
}
.boxinput
{
width: 130px;
margin-left: 0px;
}

.forminput
{
color: #333333;
background: #f8f8f8;
border: 1px solid #c9c9c9;
border-radius: 7px;
padding: 0.5em;
}

.imgtext {
	font-family:  Arial, Helvetica, Sans Serif;
	font-size: 0.7em;
	font-weight: normal;
	color: #333333;
	padding: 0px;
	display: block;
	text-align: center;
}

@media only screen and (max-width: 599px) {

	.imgleft{
	float: none !important;
	text-align: center;
	}
}
.imgleft {
	float: left;
	margin-left: 0px;
	margin-right: 10px;

}
.imgalone {
	float: none;
	margin-left: 0px;
	margin-top: 10px;
	margin-bottom: 15px;
	text-align: center;


}

.boldcentre {
	font-family: "Trebuchet MS", Arial, "Microsoft Sans Serif", "MS Sans Serif";
	font-size: 1.1em;
	font-style: normal;
	font-weight: bold;
	color: #7e7e7e;
	display: block;
	text-align: center;
}
#overlay {
  position: relative; /* Sit on top of the page content */
float: right;
 /* width: 100%; /* Full width (cover the whole page) 
  height: 100%; /* Full height (cover the whole page) */
  top: 148px;
  left: 0;
  right: 5px;
  bottom: 0;

  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */

}
h1 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	font-weight: bold;
	color: #666666;
	left: 10px;
	margin-bottom: 1em;
}

h2 
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	color: #666666;
	left: 10px;
	margin-bottom: 1em;
}

h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	color: #666666;
	text-decoration: none;
	text-align: justify;
	margin-bottom: 1em;
}

.italic {
	font-style: italic;
	color: #4c4c4c;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #7c7c7c;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 1.5em;
  color: #ffffff;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav a.active {
  background-color: #dfc043;
  color: #626262;
}


.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 2em;
  margin-left: 50px;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

.sntitle {font-size:24px;
	color: #666666;
	cursor:pointer;
	margin-top: .5em;}

@media screen and (min-width: 601px) {
  .sntitle {display: none;}
}


@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
