/*
HTML 5 Template Name: Basic 79
File: Layout CSS
Author: OS Templates
Author URI: http://www.os-templates.com/
Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>
*/

html{overflow-y:scroll;} /* Forces a scrollbar when the viewport is larger than the websites content - CSS3 */

body{
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #979797;
	background-color: #FFFFFF;
	min-width: 1024px;
	border: 2px;
}

.clear:after{content:"."; display:block; height:0; clear:both; visibility:hidden; line-height:0;}
.clear{display:block; clear:both;}
html[xmlns] .clear{display:block;}
* html .clear{height:1%;}

a{outline:none; text-decoration:none;}

code{font-weight:normal; font-style:normal; font-family:Georgia, "Times New Roman", Times, serif;}

.fl_left{float:left;}
.fl_right{float:right;}

img{
	margin: 0;
	padding: 0;
	border: thin solid #000;
	line-height: normal;
	vertical-align: middle;
	float: none;
}
.imgholder, .imgl, .imgr{padding:4px; border:1px solid #D6D6D6; text-align:center;}
.imgl{float:left; margin:0 15px 15px 0; clear:left;}
.imgr{float:right; margin:0 0 15px 15px; clear:right;}

/*----------------------------------------------HTML 5 Overrides-------------------------------------*/

address, article, aside, figcaption, figure, footer, header, nav, section{display:block; margin:0; padding:0;}

q{display:block; padding:0 10px 8px 10px; color:#979797; background-color:#ECECEC; font-style:italic; line-height:normal;}
q:before{content:'“ '; font-size:26px;}
q:after{content:' „'; font-size:26px; line-height:0;}

/* ----------------------------------------------Wrapper-------------------------------------*/

div.wrapper{
	display: block;
	width: 960px;
	text-align: center;
	border: thin solid #000;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-right: 3%;
	padding-left: 3%;
}

.row1, .row1 a{color:#979797; background-color:#FFFFFF;}
.row2{color:#979797; background-color:#FFFFFF;}
.row2 a{color:#FF9900; background-color:#FFFFFF;}
.row3{border-top:1px solid #DEDEDE;}
.row3, .row3 a{color:#979797; background-color:#FFFFFF;}

/*----------------------------------------------Generalise-------------------------------------*/

#header, #container, #footer{
	display: block;
	width: 960px;
}

nav ul{
	margin: 0;
	list-style: none;
	padding-top: 1%;
	padding-right: 0;
	padding-bottom: 1%;
	padding-left: 0;
}

h1, h2, h3, h4, h5, h6{
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: bold;
	font-style: normal;
	line-height: normal;
	text-transform: none;
}

address{font-style:normal;}

blockquote, q{display:block; padding:8px 10px; color:#979797; background-color:#ECECEC; font-style:italic; line-height:normal;}
blockquote:before, q:before{content:'“ '; font-size:26px;}
blockquote:after, q:after{content:' „'; font-size:26px; line-height:0;}

.one_third, .two_third, .three_third{display:block; float:left; margin:0 30px 0 0;}
.one_third{width:300px;}
.two_third{width:630px;}
.three_third{width:960px; float:none; margin-right:0; clear:both;}
.lastbox{margin-right:0;}

/*----------------------------------------------Header-------------------------------------*/

#header{}

#header #hgroup{
	float: none;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 20px;
	padding-left: 0;
}
#header #hgroup h1, #header #hgroup h2{font-weight:normal; text-transform:none;}
#header #hgroup h1{font-size:36px;}
#header #hgroup h2{font-size:13px;}

#header nav{
	display: block;
	float: none;
	border: thin solid #000;
	margin-top: 20px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 20px;
	padding-left: 0;
}
#header nav ul{}
#header nav li{
	display: inline;
	margin-right: 25px;
	text-transform: none;
}
#header nav li.last{margin-right:0;}
#header nav li a{
	color: #FFFFFF;
	background-color: #336600;
	padding-top: 5px;
	padding-right: 8px;
	padding-bottom: 5px;
	padding-left: 8px;
}
#header nav li a:hover{color:#FF9900; background-color:#FFFFFF;}

/*----------------------------------------------Content Area-------------------------------------*/

#container{padding:30px 0;}
#container section{
	display: block;
	width: 100%;
	padding: 0;
	margin-top: 20px;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 20px;
}
#container .last{
	margin: 0;
	border: thin solid #000;
}
#container .more{text-align:right;}

/* ------Shout-----*/

#container #shout{margin-bottom:50px; padding:30px 0; border-top:1px solid #DEDEDE; border-bottom:1px solid #DEDEDE;}
#container #shout h1{font-size:56px; font-weight:normal; font-style:italic; text-transform:uppercase; text-align:center;}
#container #shout p{
	font-size: 12px;
	margin-bottom: 0;
	padding-bottom: 0;
	line-height: 1.8 em;
}

/* ------services-----*/

#container #services{
	line-height: 1.6em;
	border: thin solid #000;
}
#container #services article{}
#container #services article h2{
	font-size: 14px;
	margin-bottom: 15px;
}
#container #services article p{margin:0; padding:0;}
#container #services article img{
	float: left;
	padding: 4px;
	border: 1px solid #DEDEDE;
	height: auto;
	margin-top: 0;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 0;
}
#container #services article footer{margin:10px 0 0 0;}

/*----------------------------------------------Footer-------------------------------------*/

#footer{padding:20px 0;}
#footer p{margin:0; padding:0;}
}
.wrapper.row1 #header #hgroup h1 a {
	text-transform: none;
	color: #000;
	text-decoration: underline;
}
.wrapper.row1 #header #hgroup h1 a {
	text-decoration: underline;
	color: #000;
}

#footer nav{
	display: block;
	float: none;
	border: thin solid #000;
	margin-top: 20px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	padding-top: 20px;
	padding-right: 0;
	padding-bottom: 20px;
	padding-left: 0;
}
#footer nav ul{}
#footer nav li{display:inline; margin-right:25px; text-transform:uppercase;}
#footer nav li.last{margin-right:0;}
#footer nav li a{
	padding: 5px 8px;
	color: #FFFFFF;
	background-color: #336600;
}
#footer nav li a:hover{color:#FF9900; background-color:#FFFFFF;}
.wrapper.row2 #container .last.clear .one_third.lastbox img {
	margin: 2px;
	padding: 2px;
	float: none;
	height: auto;
	width: 50%;
}
.wrapper.row2 #container #services article img {
	height: 50%;
	width: auto;
}
.wrapper.row2 #container #services #web_content {
	text-align: left;
}
.wrapper.row2 #container #services #web_content h2 {
	text-align: center;
	text-decoration: underline;
}
.wrapper.row2 #container #header #content_anchor {
}
.wrapper.row2 #container #header #content_anchor ul li a {
	color: #FF9900;
}
.wrapper.row2 #container #header #content_anchor ul li a {
	background-color: #000;
}
.wrapper.row2 #container #services article #researchmap #map {
	height: 100%;
	float: none;
}
.wrapper.row2 #container #services article #centerimg {
	float: none;
	width: 800px;
}
.wrapper.row1 #header .navsplit {
}
.wrapper.row1 #header #apply nav ul li a {
	background-color: #0CF;
	font-size: 18px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.wrapper.row1 #header #parents nav ul li a {
	background-color: #000;
	font-size: 36px;
	border-top-style: none;
	border-right-style: none; 
	border-bottom-style: none;
	border-left-style: none;
	color: #FF9900;
}
.wrapper.row1 #header #apply nav {
	margin-top: 5px;
	margin-bottom: 5px;
}
.wrapper.row2 #container #services #web_content form {
	 /* Just to center the form on the page */
    margin: 0 auto;
    width: 400px;
    /* To see the outline of the form */
    padding: 1em;
    border: 1px solid #CCC;
    border-radius: 1em;
}
.wrapper.row2 #container #services #web_content form div + div {
	margin-top: 1em;
}
.wrapper.row2 #container #services #web_content label {
	display: inline-block;
    width: 90px;
    text-align: right;
}
.wrapper.row2 #container #services #web_content input, textarea {
	/* To make sure that all text fields have the same font settings
       By default, textareas have a monospace font */
    font: 1em sans-serif;

    /* To give the same size to all text field */
    width: 300px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* To harmonize the look & feel of text field border */
    border: 1px solid #999;
}
.wrapper.row2 #container #services #web_content input:focus, textarea:focus {
	/* To give a little highlight on active elements */
    border-color: #000;
}
.wrapper.row2 #container #services #web_content textarea {
	/* To properly align multiline text fields with their labels */
    vertical-align: top;

    /* To give enough room to type some text */
    height: 5em;

    /* To allow users to resize any textarea vertically
       It does not work on every browsers */
    resize: vertical;
}
.wrapper.row2 #container #services #web_content .button {
	    /* To position the buttons to the same position of the text fields */
    padding-left: 30px; /* same size as the label elements */
}
.wrapper.row2 #container #services #web_content button {
	    /* This extra margin represent roughly the same space as the space
       between the labels and their text fields */
    margin-left: .5em;
}