/*

Email page styles

Author:		Jay Dobson <jdobson@esolutionsgroup.ca>
Date:		October 14, 2008

*/

*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	padding: 0px;
	margin: 0px;
	font: 12px/15px "Helvetica Neue", Arial, Helvetica, sans-serif;
}

a, a:active, a:visited {
	color: #00539b;
	text-decoration: none;
}

a:hover, a:focus {
	color: #d89738;
	text-decoration: none;
}

#header {
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-repeat: repeat-x;
	position: relative;
}

#header #logo {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: center;
	padding: 20px 0;
	margin-left: 20px;
	overflow: hidden;
}

#header #logo img {
	flex: 1 1 auto;
	width: 100%;
	max-width: 100%;
}
#header #logo img:first-of-type {
	max-width: 130px;
}

#logo .banner {
	width: 100%;
	max-width: 445px !important;
	vertical-align: bottom;
}

.closeButton {
	display: inline-block;
	text-align: center;
	padding: 3px 5px;
	width: 100px;
	border: solid 1px #ccc;
	border-radius: 3px;
	font-size: .9em;
	margin: 10px 20px
}

.closeButton:hover,
.closeButton:active,
.closeButton:focus {
	color: #00539b;
	background: #f1f1f1;
}

#title {
	height: auto;
	background-color: #005A9B;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 12px;
	padding: 10px 20px 10px 20px;
}

.formArea {
	padding: 20px;
}

.textbox {
	font-size: 11px;
	padding: 2px;
	background: #FFFFFF;
	width: 95%;
}

.textboxfocus {
	font-size: 11px;
	padding: 2px;
	background: #f0f4fb;
	width: 95%;
}

span.required {
	color: #990000;
	padding: 0px 0px 0px 5px;
}

div.datarow {
	clear: both;
	width: 100%;
	max-width: 600px;
	position: relative;
	padding-left: 140px;
	margin-bottom: 10px;
}

div.datalabel {
	position: absolute;
	width: 130px;
	left: 0;
	top: 2px;
	line-height: 16px;
}

div.datavalue {
	width: 100%;
}

.datavalue input[type="text"] {
	height: 34px;
	padding: 3px 5px;
	width: 100%;
	font-size: 16px;
}

.datavalue textarea {
	height: 80px;
	padding: 3px 5px;
	width: 100%;
	max-width: 100%;
	font-size: 16px;
}

#errorlabel {
	color: #990000 !important;
	font-size: 13px;
	line-height: 15px;
	margin-top: 10px;
}

@media only screen and (max-width : 480px) {
	div.datarow {
		clear: both;
		width: 100%;
		max-width: 600px;
		position: relative;
		padding-left: 0;
		margin-bottom: 10px;
	}

	div.datalabel {
		position: relative;
		width: 100%;
		left: auto;
		top: auto;
		line-height: 16px;
	}

	div.datavalue {
		width: 100%;
	}
}

@media screen and (max-width: 620px) {
	#header #logo {
		Margin: 0 20px;
	}

	#header #logo img[src*=”logo.png”] {
		Display: block;
		Margin: 0 auto;
		Margin-bottom: 15px;
		Max-width: 85px;
	}

	#logo .banner {
		Max-width: none !important;

	}
}

@media screen and (max-width: 520px) {
	#header #logo img[src*="logo.png"] {
		max-width: 85px;
	}
}