/*----- MAIN ELEMENT TYPES -----*/

body {
	padding:0;
	margin:0;
	font-family:sans-serif;
}

h1 {
	margin:3px;
	color:#555;
	font-size:3em;
	text-shadow: 1px 1px 1px #666;
}

h2 {
	margin: 15px 0 15px 0;
	color:#555;
	font-size:1.6em;
	font-weight:100;
}

h3 {
	margin:8px 0 8px 0;
	color:#999;
	font-size:1.3em;
	font-weight:100;
}

p {
	margin:10px;
	color:#606060;
}

iframe {
	border:none;
	height:60vh;
}
/*----- GENERAL CLASSES, e.g. color, float center, clear -----*/

.colorText {
	color:#09F;
}
.error {
	color:#C00;
	font-size:12px;
}
.floatright{
	float:right;
}
.floatleft{
	float:left;
}
'centerme{
	margin-right:auto;
	margin-left:auto;
}
.clearboth{
	clear:both;
}
.borderless{
	margin:0;
	padding:0;
}

/*----- FORM STYLES -----*/

input,select,textarea {
	box-sizing:border-box; /* accounts for padding when sizing */
	max-width:100%;
	height:45px;
	border-radius:30px;
	margin: 3px 0 3px 0;
}

input[type=radio],input[type=checkbox] {
	height:16px;
	width:16px;
	border-radius:0px;
}

textarea {
	width:385px;
	height:125px;
	padding:10px;
	border: 1px solid #000;
}

input[type=text],input[type=password],input[type=email],select {
	width:385px;
	border: 1px solid #000;
	padding-left:15px;
	font-size:18px;
}

input[type=submit] {
	width:402px;
	border:none;
	background:#09f;
	font-size: 24px;
	font-weight:bold;
	color:#FFF;
}

input[type=submit]:hover {
	background:#0CF;
	cursor:pointer;
}

button {
	box-sizing:border-box;
	max-width:100%;
	height:45px;
	border-radius:30px;
	margin:3px;
	border:none;
	font-size:18px;
	font-weight:bold;
}
.button {
	/* forced button (e.g. turning a link int a button) */
	box-sizing:border-box;
	max-width:100%;
	display:inline-flex;
	padding: 10px;
	border-radius:30px;
	margin:10px 3px 10px 3px;
	border:none;
	font-size:24px;
	color:#FFF;
	background:#09F;
	text-decoration:none;
	font-weight:bold;
}

.barbutton{
	
	box-sizing:border-box;
	width:100%;
	display:block;
	padding: 10px;
	margin:2px 0 2px 0;
	border:none;
	font-size:16px;
	color:#FFF;
	background:#09F;
	text-decoration:none;
	font-weight:bold;
	
}

.button:hover, .barbutton:hover {
	background:#0CF;
	cursor:pointer;
}

.lilbutton{
	font-size:12px;
	padding:3px;
	margin: 3px;
}

.btnYes {
	background:#3C3;
	color:#FFF;
}
.btnYes:hover {
	background:#3F3;
	cursor:pointer;
}

.btnNo {
	background:#e00;
	color:#FFF;
}
.btnNo:hover {
	background:#F00;
	cursor:pointer;
}

/*----- PAGE AREAS -----*/

#popup, .popup {
	box-sizing:border-box;
	z-index:2;
	display:none;
	position:fixed;
	top:10%;
	left:10%;
	width:80%;
	max-width:100%;
	max-height:90%;
	overflow-y:auto;
	overflow-x:hidden;
	margin:0 auto 0 auto;
}

#exit:hover {
	cursor:pointer;
}

#shade {
	z-index:1;
	display:none;
	position:fixed;
	width:100%;
	height:100%;
	background:#000;
	opacity:0.3;
}

#header {
	background:#09F;
	padding: 5px;
	color:#FFF;
}

#headerWrap {
	margin: 0px auto 0px auto;
	padding: 0;
	overflow:hidden;
	width: 800px;
	max-width: 100%;
}

#header h2{
	color:#FFF;
	font-weight:bold;
}

#logo {
	float:left;
	width:200px;
	max-width:100%;
}

#logo img {
	margin:0 auto 0 auto;
	display:block;
}

#topMenu {
	display:inline-flex;
	float:right;
}

#topMenu ul {
	padding:0;
	margin: 6px auto 0 auto;
}

#topMenu li {
	float: left;
	text-decoration:none;
	list-style-type:none;
	text-indent:0px;
}

#topMenu a {
	display:inline-flex;
	color:#FFF;
	text-decoration:none;
	text-align:center;
	padding: 5px 8px 5px 8px;
}

#topMenu a:hover {
	background:#0CF;
	cursor:pointer;
}

#mainContent {
	padding:1px 0px 380px 0px;
	background:#f8f8f8;
	overflow:hidden;
}

#footer {
	background:#FFF;
	padding: 5px;
}

.termsbox {
	font-size:12px;
}
.termsbox a{
	color:#09F;
	text-decoration:none;
}
.termsbox a:hover {
	cursor:pointer;
}

.credits {
	font-size:0.8em;
	text-align:center;
}

/*----- BOX CLASSES -----*/

.genDiv {
	box-sizing:border-box;
	width:100%;
	padding:5px;
}

.roundHolder {
	box-sizing:border-box;
	margin: 0px auto 0px auto;
	padding: 0;
	overflow:hidden;
	width: 800px;
	background:#FFF;
	border-radius: 10px;
	box-shadow: 0px 0px 5px grey;
	max-width: 100%;
}
.formoption{ /* for pagemaker etc */
	display:none;
}
.formending{
	display:none;
}

/*--------- MOBILE SETTINGS ----------*/

#btnMenu {
	width:40px;
	position:absolute;
	top:25px;
	left:10px;
}
#btnMenu:hover{
	cursor:pointer;
}

#headerMob {
	background:#09F;
	padding: 5px;
	max-width:100%;
	color:#FFF;
	display:none;
}
#headerMob h2{
	color:#FFF;
	font-weight:bold;
}
#topMenuMob {
	display:none;
}
#topMenuMob ul {
	clear:both;
	list-style-type:none;
	padding:0;
}
#topMenuMob a {
	display:block;
	color:#FFF;
	text-decoration:none;
	text-align:center;
	padding: 5px 0 5px 0;
}

#topMenuMob a:hover {
	background:#0CF;
	cursor:pointer;
}
/* Add media queries for responsiveness - when the screen is 800px wide or less, change the settings */ 
@media screen and (max-width: 800px) {
	h1 {
		font-size:2.4em;
	}
	#popup, .popup {
		top:0%;
		left:0%;
		width:100%;
		max-width:100%;
		max-height:100%;
		overflow-y:scroll;
		overflow-x:hidden;
		margin:0 auto 0 auto;
	}
	#logo {
		width:calc(100% - 65px);
		margin-right:5px;
		float:right;
	}
	#logo img{
		min-height: 80px;
	}
	#topMenu {
		width:100%;
	}
	#topMenu ul {
		margin-top:0;
	}
	#mainContent {
		padding-bottom:20px;
	}
	
}

@media screen and (max-width: 600px) {
	#header {
		display:none;
	}
	#headerMob {
		display:block;
		position:fixed;
	}
	#mainContent {
		padding-top:100px;
	}
}