/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.3;
}
html ul {
	list-style: disc outside none;
	padding-left: 15px;
}
ol {
	list-style: decimal outside none;
	padding-left: 15px;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* END of CSS Reset */


body {
    padding:0;
    font-family:'Open Sans', sans-serif;
	background-color: #1F4E79;
}
p {
padding:15px 5px;
font-size: 18px;
line-height: 1.3;
color: #333;
}

.box {
background: none repeat scroll 0 0 #F4F4F4;
border: 1px solid #CCCCCC;
margin-bottom: 10px;
}

ul, ol {
margin-left:20px;
}

.content h1, .dark-content h1 {
color: #1F4E79;
font: bold 150% 'Open Sans', Sans-Serif;
margin: 5px;
}

h2 {
color: #1F4E79;
font: bold 120% 'Open Sans', Sans-Serif;
margin: 5px;
}

.content h2 {
font-size: 120%;
}

/* Links */
a {
color:#BDD7EE;
text-decoration:none;
}
a:visited {
color:#BDD7EE;
}
a:hover {
color:#BDD7EE;
text-decoration:underline;
}

.content a,.content a:visited,.content a:hover,.block-system a,.block-system a:visited,.block-system a:hover {
color:#107FB5;
}

/* Main content areas */
.header {
    border:0px solid #d9d7d2;
    color:#DEEBF7;
    background-color: #107FB5;
    margin-bottom: -5px;
    margin-left: -6%;
    margin-right: -6%;
    padding-left: 6%;
    padding-right: 6%;
    border-bottom: 12px solid rgba(0,176,240,0.5);
}

header {
	font-size: 40px;
	font-weight: lighter;
	text-transform: lowercase;
	font-family: 'Raleway', 'Open Sans', sans-serif;
}

.header h1{
	font-size: 26px;
	font-weight: bold;
	padding-top: 12px;
	font-family: 'Open Sans', sans-serif;
	color:#DEEBF7;
}
.header h1 a, .header h1 a:visited{
	color:#DEEBF7;
	text-transform: lowercase;
}
.header h1 a:hover{
	color:#DEEBF7;
}

#logo {
    float: left;
    margin-right: 10px;
}
#logo img {
    height: 50px;
}
hgroup#name-and-slogan {
    float: left;
}
nav#breadcrumb {
    margin-top: 10px;
}

small {
    font-size: 80%;
}

.dark-fill, .dark {
	background-color: #1F4E79;
	position: relative;
}
.dark-fill p {
	color: #fff;
	font-size: 14pt;
	line-height: 1.4;
	font-weight: 300;
}

.name-header {
    position: absolute;
    text-align: center;
    display: block;
    width: 62%;
    top: .7em;
    left: .5em;
}
.name-header .name {
 	max-width: 100%;
    max-height: 156px;
    width: 50%;
    float: left;
}
.main-picture {
    margin: 0;
    position: relative;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    margin-left: -15px;
    margin-right: -15px;
    min-height: 70vh;
    overflow: hidden;
}
.main-picture img {
    display: block;
    max-width: 150%;
    position: absolute;
    right: 0;
    z-index: -2;
}
.social-media {
	position: relative;
	margin-top: -32vh;
	background-color: rgba(0,176,240,0.5);
	margin-left: -15px;
    margin-right: -15px;
    padding: 0;
    text-align: center;
}
.social-media a {
	display: inline-block;
	margin-bottom: 1em;
	max-width: 20%;
}
.social-media img {
	width: 75%;
}
.social-media h2, .about-me h2 {
	color: #fff;
	font-size: 100%;
    margin-bottom: 0.5em;
	font-weight: lighter;
	text-transform: lowercase;
	font-family: 'Raleway', 'Open Sans', sans-serif;
}
.about-me {
    padding: 0 1em;
    margin-top: 15vh;
}
.about-me h2 {
	color: #BDD7EE;
}
.blank-header {
    margin: .5em 1em;
}
.blank-header img{
    max-width: 35%;
}
.blank-header .logo {
    max-width: 13%;
    margin-right: 2%;
}
.blank-header a, .blank-header a:visited {
    color: #48B2DF;
}
.dark-content {
    text-align: center;
    border-top: 1px solid #333;
    background-color: #ddd;
    margin-top: 3em;
    padding: 3em;
}
.content  {
border:1px solid #d9d7d2;
background-color:#fff;
padding:15px 0;
margin-top:0px;
margin-bottom:10px;
padding:5px 10px;
box-shadow: 0px 13px 25px -8px rgba(0,0,0,0.5);
}

.block-system {
box-shadow: 0px 13px 25px -8px rgba(0,0,0,0.5);
}
.main-region .content {
box-shadow: none;
}

.content header {
border-bottom:1px solid #ccc;
margin-bottom:3px;
}

footer {
font-size:90%;
}

/* ul li menu adapted from http://www.secondpicture.com/tutorials/web_design/css_ul_li_horizontal_css_menu.html */
.menu {
padding-top:5px;
text-transform: none;
}
.menu ul {
list-style-type: none;
height: 50px;
float:right;
}

.menu li {
float: left;
}

.menu ul a, .menu ul a:visited {
font-weight:normal;
padding-right: 32px;
padding-left: 32px;
display: block;
line-height: 50px;
text-decoration: none;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 18px;
color: #ccc;
text-shadow: 2px 2px 2px #000;
}

.menu ul a:hover {
color:#fff;
background-color:#4f627b;
}

div.codeblock {
font-family: Consolas, Courier, serif;
}


@media screen and (orientation: landscape) {
.main-picture {
    min-height: 150vh;
    overflow: hidden;
}
.social-media {
	margin-top: -60vh;
}

.about-me {
    padding: 0 1em;
    margin-top: 10vh;
}
}


/* Phablet */
@media screen and (min-width: 650px) and (orientation: landscape) {
.social-media {
	margin-top: -54vh;
}
}

/* Tablet */
@media screen and (min-width: 650px) and (orientation: portrait) {
.social-media {
	margin-top: -30vh;
}
}

/* Desktop */
@media screen and (min-width: 992px) {
.dark-fill {
	position: absolute;
    height: 100%;
	overflow-x: hidden;
max-height:100vh;
}
.dark-fill p {
	font-size: 12.5pt;
}
.name-header {
    max-width: 44%;
    height: 150px;
    right: -0.5em;
    top: 0.5em;
    padding-left: 1em;
    left: initial;
}
.last.name {
    margin-top: 1.3em;
    margin-left: -2em;
}
.main-picture {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
	background-color: #8EB3CC;
    margin: 0;
    z-index: -3;
    min-height:110%;
}
.main-picture img {
    position: absolute;
    right: 0;
    top: 0;
	max-height: 100%;
    max-width: initial;
}
.social-media {
	margin: 0;
    position: absolute;
    bottom: 0;
    top: 0;
    right: 42%;
    left: 42%;
    height: 110%;
}
.social-media a {
	display: block;
	margin-bottom: 1em;
	max-width: 100%;
}
.about-me {
	position: relative;
    left: 58%;
    right: 0;
    width: 42%;
    margin-top: 170px;
}
}

/* Extra large */
@media screen and (min-width: 1200px) {

.dark-fill p {
	font-size: 16pt;
}
.last.name {
    margin-top: 1.75em;
}
}
