
/*
branding color: #006583
branding color bright: #077a9c
'warm' colour: ##F9F8F4

todo: credit boilerplate,typeface,myself

*/
/* RESET + BASE-------------------------------------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure,  footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  background:transparent;
  border:0;
  font-size:100%;
  margin:0;
  outline:0;
  padding:0;
  vertical-align:baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display:block;
}
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,q:before, q:after { content:''; content:none; }
a { background:transparent; font-size:100%; margin:0; padding:0; vertical-align:baseline; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { border:0; border-top:1px solid #ccc; display:block; height:1px; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

body { font:13px/1.231 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
html { overflow-y: scroll; }

nav ul, nav li, form li { list-style-type: none; margin: 0; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; }
sub { font-size: smaller; vertical-align: sub; }
sup { font-size: smaller; vertical-align: super; }
pre {  padding: 15px;  white-space: pre;  white-space: pre-wrap;  white-space: pre-line;  word-wrap: break-word; }

textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px;  box-shadow: 0px 0px 5px red;  -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }

::-moz-selection{ background: #eff76f; color:#000; text-shadow: none; }
::selection { background:#eff76f; color:#000; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #eff76f; }

button { overflow: visible;  width: auto; }
.ie7 img { -ms-interpolation-mode: bicubic; }

.ir { background-repeat: no-repeat; direction: ltr; display: block; overflow: hidden; text-align: left; text-indent: -999em; }
.hidden { display: none; visibility: hidden; }
.visuallyhidden { clip: rect(1px 1px 1px 1px);  clip: rect(1px, 1px, 1px, 1px); position: absolute !important; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after {  content: "\0020"; display: block; height: 0; visibility: hidden;	 }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* TYPOGRAPHY -------------------------------------------------------------- */

body {
	background: #E4E3D3 url('../img/body.jpg');
}

article {
	color: #444;
	font-size: 123.1%;
	line-height: 182%;
	font-family: 'Cambria', 'Georgia';
	text-shadow:0 1px 0 #e6e9ef;
}

h2 {
	font-size:197%;
	padding-bottom: 20px;
	font-family: 'Droid Serif', arial, serif;
	font-weight: bold;
	color: #006583;
	text-shadow:0 1px 0 #fff;
}

h3 {
	font-family: 'Droid Serif', arial, serif;
	padding-top: 5px;
	line-height: 197%;
	font-weight: bold;
	font-style: italic;
	color: #222;
	text-shadow:0 1px 0 #fff;
}
a, a:visited {
	color: #000;
	background: url('../img/link-line-bg.png') repeat-x bottom center;
	border-bottom: 1px solid #fff;
	text-decoration: none;
	-moz-transition: color 0.3s linear;
	-o-transition: color 0.3s linear;
	-webkit-transition: color 0.3s linear;
	transition: color 0.3s linear;
}
a:hover {
	background: url('../img/link-line-bg-hover.png') repeat-x bottom center;
	color: #077a9c;
	outline: none;
}
a:active {
	margin-top: 1px;
}

/* CONTENT GENERIC -------------------------------------------------------------- */

#wrapper {
	margin: 0 0 0 0;
	width: 85%;
	min-width: 200px;
	max-width: 1100px;
}
#page {
	padding: 0 6%;
	margin-right: 150px; /* must match the width of <nav> */
	border-right: 2px solid #ccc;
	border-right: 2px solid rgba(100,100,190,0.5);
	-moz-box-shadow: 5px -5px 5px rgba(0,0,0,.25);
	-webkit-box-shadow: 5px -5px 5px rgba(0,0,0,.25);
	box-shadow: 5px -5px 5px rgba(0,0,0,.25);
	background-image: -moz-linear-gradient(right top, rgb(245,245,245), rgb(255,255,255));
	background-image: -webkit-gradient(linear, right top, left bottom, from(rgb(255,255,255)), to(rgb(255,250,255)));
	background-image: linear-gradient(right top, rgb(245,245,245), 	rgb(255,250,255));
	background: url('../img/page.jpg') repeat;
}
	.no-cssgradients #page {
		background: #fff;
	}
section {
	padding: 6% 0% 8% 0%;
	background: url('../img/etched-line-bg.png') repeat-x bottom center;
	opacity: 1;
	overflow: hidden;
	-moz-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	-webkit-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
}
section:last-child {
	border-bottom: none;
	background: none;
}

section.selected {
	opacity: 1.0;
}

.leftcol {
	width: 46%;
	float: left;
	margin-right: 8%;
}

.rightcol {
	width: 46%;
	display: inline-block;
	margin-top: -3px;
	margin-bottom: 20px;
}

.shadow {
	border: 1px solid #ccc;
	-moz-box-shadow: 2px 2px 5px rgba(0,0,0,.15);
	-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,.15);
	box-shadow: 2px 2px 5px rgba(0,0,0,.15);
	margin-right: 5px;
}

p {
	margin: 0px 0px 10px 2px;
}
figure {
	padding: 5px;
	width: 30%;
	float: right;
	margin: -5px 10px 25px 8%;
}
	figure img {
		max-width: 100%;
		margin-bottom: -10px;
		padding: 5px;
	}
	figcaption {

	}

/* NAVIGATION  -------------------------------------------------------------- */

/* menu */

nav {
	margin: 175px 0 0 0;
	float: right;
	position: relative;
	width: 175px;
	z-index: 10;
}
	nav ul {
		position: fixed;
		width: 175px;
		overflow: hidden;
	}
	nav li {
		background-color: #b8b8b8;
		background-color: RGBa(0,0,0,.25);
		-moz-box-shadow: 0 2px 5px rgba(0,0,0,.5);
		-webkit-box-shadow: 0 2px 5px rgba(0,0,0,.5);
		box-shadow: 0 2px 5px rgba(0,0,0,.5);
		margin: 0px 0px 25px 0px;
		float: right;
		width: 150px;
		-moz-transition: all .25s .0s linear
		-o-transition: all .25s .0s linear
		-webkit-transition: all .25s .0s linear
		transition: all .25s .0s linear
	}
		nav li a, nav li a:visited {
			text-transform: uppercase;
			padding: 12px 12px 12px 12px;
			border: none;
			background: none;
			color: RGBa(255,255,255,0.75);
			font-size: 108%;
			font-weight: bold;
			width: 120px;
			float: right;
		}
			nav li:hover a {
				color: RGBa(255,255,255,1);
				background: none;
			}
	nav li.selected {
		width: 170px;
		background-color: RGBa(0,0,0,.55);
	}
	nav li.selected a {
		color: RGBa(255,255,255,1);
	}

/* CONTENT SPECIFIC -------------------------------------------------------------- */

/* about us */

h1 {
	width: 100%;
	height: 133px;
	background:  url('../img/logo.png') no-repeat top center;
	background-size: contain;
	margin-bottom: 20px;
	text-indent: -10000px;
}

/* vcard */

.value, .email {
    font-weight: bold;
}

/* gmap */

#map {
	height: 275px;
}

#map a , #map span, #map .gmnoprint, #map div div a div img {
	display: none;
}

/* FORMALIZE CSS  ------------------------------------------- */

/* Added via JS to <textarea> and class="input_full". Applies to IE6, IE7. Other browsers don't need it. */

.input_full_wrap {
	display: block;
	padding-right: 8px;
}

/* UI Consistency */

::-moz-focus-inner {
	border: 0;
}
input[type="search"]::-webkit-search-decoration {
	display: none;
}
input,button,select,textarea {
	margin: 0;
	vertical-align: middle;
}
button,input[type="reset"],input[type="submit"],input[type="button"] {
	-webkit-appearance: none;
	-moz-border-radius: 11px;
	-webkit-border-radius: 11px;
	border-radius: 11px;
	background: #ddd url(../img/button.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
	background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
	border: 1px solid;
	border-color: #ddd #bbb #999;
	cursor: pointer;
	color: #333;
	font: bold 12px/1.2 Arial, sans-serif;
	outline: 0;
	overflow: visible;
	padding: 3px 10px 4px;
	text-shadow: #fff 0 1px 1px;
	width: auto;
	/* IE7 */
	*padding-top: 2px;
	*padding-bottom: 0px;
}
button {
	/* IE7 */
	*padding-top: 1px;
	*padding-bottom: 1px;
}
button[disabled],input[type="reset"][disabled],input[type="submit"][disabled],input[type="button"][disabled] {
	color: #888;
}
textarea,select,input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="email"], input[type="month"],input[type="number"],input[type="password"],input[type="search"],input[type="tel"], input[type="text"],input[type="time"],input[type="url"],input[type="week"] {
	-webkit-appearance: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #fff;
	border: 1px solid;
	border-color: #848484 #c1c1c1 #e1e1e1;
	color: #000;
	outline: 0;
	padding: 2px 3px;
	font-size: 13px;
	font-family: Arial, sans-serif;
	height: 1.8em;
	/* IE7 */
	*padding-top: 2px;
	*padding-bottom: 1px;
	*height: auto;
}

/* Separate rule for Firefox.	Cannot stack with WebKit's. */
input.placeholder_text,textarea.placeholder_text {
	color: #888;
}
::-webkit-input-placeholder {
	color: #888;
}
textarea[disabled],select[disabled],input[type="date"][disabled],input[type="datetime"][disabled],
input[type="datetime-local"][disabled],input[type="email"][disabled],input[type="month"][disabled],input[type="number"][disabled],input[type="password"][disabled],input[type="search"][disabled],input[type="tel"][disabled],input[type="text"][disabled],input[type="time"][disabled],input[type="url"][disabled],input[type="week"][disabled] {
	background-color: #eee;
	color: #888;
}
button:focus,button:active,input:focus,input:active,select:focus,select:active,textarea:focus,textarea:active {
	-moz-box-shadow: #06f 0 0 7px;
	-webkit-box-shadow: #06f 0 0 7px;
	box-shadow: #06f 0 0 7px;
	/* for Opera */
	z-index: 1;
}
.is_webkit select {
	/* Tweaks for Safari + Chrome. */
	background-image: url(../img/select_arrow.gif);
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 20px;
}
textarea,select[multiple] {
	height: auto;
}
select[multiple],.is_webkit select[multiple] {
	background-image: none;
	padding: 0;
}
textarea {
	overflow: auto;
	resize: vertical;
	width: 100%;
}
optgroup {
	color: #000;
	font-style: normal;
	font-weight: normal;
}

/* IE6 - [] delete if not supported */
.ie6_button,
* html button {
	background: #ddd url(../img/button.png) repeat-x;
	border: 1px solid;
	border-color: #ddd #bbb #999;
	cursor: pointer;
	color: #333;
	font: bold 12px/1.2 Arial, sans-serif;
	padding: 2px 10px 0px;
	overflow: visible;
	width: auto;
}
* html button {
	padding-top: 1px;
	padding-bottom: 1px;
}
.ie6_input,* html textarea,* html select {
	background: #fff;
	border: 1px solid;
	border-color: #848484 #c1c1c1 #e1e1e1;
	color: #000;
	padding: 2px 3px 1px;
	font-size: 13px;
	font-family: Arial, sans-serif;
	vertical-align: top;
}
* html select {
	margin-top: 1px;
}
.placeholder_text,.ie6_input_disabled,.ie6_button_disabled {
	color: #888;
}
.ie6_input_disabled {
	background: #eee;
}

/* FORM -------------------------------------------------------------- */

form {

}
form li {
 margin: 0px 0px 10px 0px;

}
form label, p.validation01 {
	display: none;
}

form input, form textarea {
	width: 90%;
}
form textarea {
	height: 100px;
	margin-top: 5px;
}
/* PRINT -------------------------------------------------------------- */

@media print {

	* { background: transparent !important; color: #444 !important; text-shadow: none; }
	a, a:visited { color: #444 !important; text-decoration: underline; }
	a:after { content: " (" attr(href) ")"; }
	abbr:after { content: " (" attr(title) ")"; }
	.ir a:after { content: ""; }  /* Don't show links for images */
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	img { page-break-inside: avoid; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3{ page-break-after: avoid; }

}


/* MOBILE -------------------------------------------------------------- */


@media screen and (max-device-width: 480px) {
	/* Prevent iOS, WinMobile from adjusting font size */
	html { -ms-text-size-adjust:none; -webkit-text-size-adjust:none; }
}
@media screen and (max-width: 800px) {
	#wrapper { width: 95%; }
	#page {
		margin-right: 0px;
		padding: 0 4%;
	}
	nav { display: none; }
	.leftcol {
		width: auto;
		display: block;
		float: none;
		margin: 0px 0px 25px 0px;
	}
	.rightcol {
		width: 100%;
		display: block;
		margin: 0px 0px 0px 0px;
	}
	figure {
		width: 90%;
		display: block;
		float: none;
		margin: 25px auto;
	}
}

