/* normalize.css v1.1.1 | MIT License | git.io/normalize */
/* ========================================================================== HTML5 display definitions ========================================================================== */
/** Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }

/** Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. */
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }

/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
audio:not([controls]) { display: none; height: 0; }

/** Address styling not present in IE 7/8/9, Firefox 3, and Safari 4. Known issue: no IE 6 support. */
[hidden] { display: none; }

/* ========================================================================== Base ========================================================================== */
/** 1. Prevent system color scheme's background color being used in Firefox, IE, and Opera. 2. Prevent system color scheme's text color being used in Firefox, IE, and Opera. 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using `em` units. 4. Prevent iOS text size adjust after orientation change, without disabling user zoom. */
html { background: #fff; /* 1 */ color: #000; /* 2 */ font-size: 100%; /* 3 */ -webkit-text-size-adjust: 100%; /* 4 */ -ms-text-size-adjust: 100%; /* 4 */ }

/** Address `font-family` inconsistency between `textarea` and other form elements. */
html, button, input, select, textarea { font-family: sans-serif; }

/** Address margins handled incorrectly in IE 6/7. */
body { margin: 0; }

/* ========================================================================== Links ========================================================================== */
/** Address `outline` inconsistency between Chrome and other browsers. */
a:focus { outline: thin dotted; }

/** Improve readability when focused and also mouse hovered in all browsers. */
a:active, a:hover { outline: 0; }

/* ========================================================================== Typography ========================================================================== */
/** Address font sizes and margins set differently in IE 6/7. Address font sizes within `section` and `article` in Firefox 4+, Safari 5, and Chrome. */
h1 { font-size: 2em; margin: 0.67em 0; }

h2 { font-size: 1.5em; margin: 0.83em 0; }

h3 { font-size: 1.17em; margin: 1em 0; }

h4 { font-size: 1em; margin: 1.33em 0; }

h5 { font-size: 0.83em; margin: 1.67em 0; }

h6 { font-size: 0.67em; margin: 2.33em 0; }

/** Address styling not present in IE 7/8/9, Safari 5, and Chrome. */
abbr[title] { border-bottom: 1px dotted; }

/** Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. */
b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

/** Address styling not present in Safari 5 and Chrome. */
dfn { font-style: italic; }

/** Address differences between Firefox and other browsers. Known issue: no IE 6/7 normalization. */
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }

/** Address styling not present in IE 6/7/8/9. */
mark { background: #ff0; color: #000; }

/** Address margins set differently in IE 6/7. */
p, pre { margin: 1em 0; }

/** Correct font family set oddly in IE 6, Safari 4/5, and Chrome. */
code, kbd, pre, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/** Improve readability of pre-formatted text in all browsers. */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

/** Address CSS quotes not supported in IE 6/7. */
q { quotes: none; }

/** Address `quotes` property not supported in Safari 4. */
q:before, q:after { content: ''; content: none; }

/** Address inconsistent and variable font size in all browsers. */
small { font-size: 80%; }

/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }

sup { top: -0.5em; }

sub { bottom: -0.25em; }

/* ========================================================================== Lists ========================================================================== */
/** Address margins set differently in IE 6/7. */
dl, menu, ol, ul { margin: 1em 0; }

dd { margin: 0 0 0 40px; }

/** Address paddings set differently in IE 6/7. */
menu, ol, ul { padding: 0 0 0 40px; }

/** Correct list images handled incorrectly in IE 7. */
nav ul, nav ol { list-style: none; list-style-image: none; }

/* ========================================================================== Embedded content ========================================================================== */
/** 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3. 2. Improve image quality when scaled in IE 7. */
img { border: 0; /* 1 */ -ms-interpolation-mode: bicubic; /* 2 */ }

/** Correct overflow displayed oddly in IE 9. */
svg:not(:root) { overflow: hidden; }

/* ========================================================================== Figures ========================================================================== */
/** Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. */
figure { margin: 0; }

/* ========================================================================== Forms ========================================================================== */
/** Correct margin displayed oddly in IE 6/7. */
form { margin: 0; }

/** Define consistent border, margin, and padding. */
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }

/** 1. Correct color not being inherited in IE 6/7/8/9. 2. Correct text not wrapping in Firefox 3. 3. Correct alignment displayed oddly in IE 6/7. */
legend { border: 0; /* 1 */ padding: 0; white-space: normal; /* 2 */ *margin-left: -7px; /* 3 */ }

/** 1. Correct font size not being inherited in all browsers. 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, and Chrome. 3. Improve appearance and consistency in all browsers. */
button, input, select, textarea { font-size: 100%; /* 1 */ margin: 0; /* 2 */ vertical-align: baseline; /* 3 */ *vertical-align: middle; /* 3 */ }

/** Address Firefox 3+ setting `line-height` on `input` using `!important` in the UA stylesheet. */
button, input { line-height: normal; }

/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+. Correct `select` style inheritance in Firefox 4+ and Opera. */
button, select { text-transform: none; }

/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. 4. Remove inner spacing in IE 7 without affecting normal text inputs. Known issue: inner spacing remains in IE 6. */
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ *overflow: visible; /* 4 */ }

/** Re-set default cursor for disabled elements. */
button[disabled], html input[disabled] { cursor: default; }

/** 1. Address box sizing set to content-box in IE 8/9. 2. Remove excess padding in IE 8/9. 3. Remove excess padding in IE 7. Known issue: excess padding remains in IE 6. */
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ *height: 13px; /* 3 */ *width: 13px; /* 3 */ }

/** 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome (include `-moz` to future-proof). */
input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box; }

/** Remove inner padding and search cancel button in Safari 5 and Chrome on OS X. */
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/** Remove inner padding and border in Firefox 3+. */
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/** 1. Remove default vertical scrollbar in IE 6/7/8/9. 2. Improve readability and alignment in all browsers. */
textarea { overflow: auto; /* 1 */ vertical-align: top; /* 2 */ }

/* ========================================================================== Tables ========================================================================== */
/** Remove most spacing between table cells. */
table { border-collapse: collapse; border-spacing: 0; }

body { width: 100%; *zoom: 1; }
body:before, body:after { content: ""; display: table; }
body:after { clear: both; }

/* Masni's Responsive Menu  	Modified from: http://osvaldas.info/drop-down-navigation-responsive-and-touch-friendly 	 	Usage: @include responsiveMenu() on your menu element TWICE: 		once in the base styles (with responsive: false) 		once in the responsive styles (with responsive: true)  	Also include this basic javascript somewhere:  		$("#nav").click(function(e){ e.preventDefault(); $(this).toggleClass("open", "closed"); });  	(This menu works without javascript, but will jump the page to the anchor link)  */
/* ========================================================================== Colours ========================================================================== */
/* ========================================================================== Base styles: opinionated defaults ========================================================================== */
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

html { color: white; }

button, input, select, textarea { color: #333; }

body { font-size: 62.5%; line-height: 1.5; }

::-moz-selection { background: #b3d4fc; text-shadow: none; }

::selection { background: #b3d4fc; text-shadow: none; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

img { vertical-align: middle; }

fieldset { border: 0; margin: 0; padding: 0; }

textarea { resize: vertical; }

/* ========================================================================== Fonts ========================================================================== */
@font-face { font-family: 'Open Sans Light'; src: url("../fonts/opensans-light-webfont.eot"); src: url("../fonts/opensans-light-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/opensans-light-webfont.woff") format("woff"), url("../fonts/opensans-light-webfont.ttf") format("truetype"); font-weight: 300; font-style: normal; }

@font-face { font-family: 'LearningCurveDashed'; src: url("../fonts/learningcurvedashed_ot-webfont.eot"); src: url("../fonts/learningcurvedashed_ot-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/learningcurvedashed_ot-webfont.woff") format("woff"), url("../fonts/learningcurvedashed_ot-webfont.ttf") format("truetype"); font-weight: normal; font-style: italic; }

/* ========================================================================== Typography ========================================================================== */
h1, h2, h3, h4, h5 { font-family: Georgia, Times, "Times New Roman", serif; font-style: italic; font-weight: normal; line-height: 1.2; margin: 0 0 1em 0; }

body { font-family: 'Open Sans', Myriad, 'Droid Sans', Calibri, Helvetica, Arial, sans-serif; font-weight: 400; font-size: 62.5%; -webkit-font-smoothing: antialiased; background-color: #637aa8; color: white; }

p, li, th, td { margin: 0 0 1.5em 0; font-size: 1.5em; }

dd, dt { font-size: 1.5em; }

li li, td td, th th { font-size: inherit; }

b, strong { font-weight: 600; }

h1 { font-family: 'Open Sans', Myriad, 'Droid Sans', Calibri, Helvetica, Arial, sans-serif; font-weight: 400; font-size: 2em; font-weight: 300; font-style: normal; }
h1 a { color: white; text-decoration: none; }

h2 { font-size: 3.8em; }

h3 { font-family: 'Open Sans', Myriad, 'Droid Sans', Calibri, Helvetica, Arial, sans-serif; font-weight: 400; letter-spacing: -1px; font-size: 2.4em; font-weight: 600; font-style: normal; color: #b9c6e3; }

h4 { font-size: 1.8em; margin-bottom: 1.5em; }

h3:first-child { margin-top: 0; }

a { -webkit-transition: color, 0.25s, background-color, 0.25s; -moz-transition: color, 0.25s, background-color, 0.25s; -ms-transition: color, 0.25s, background-color, 0.25s; -o-transition: color, 0.25s, background-color, 0.25s; transition: color, 0.25s, background-color, 0.25s; color: #d9c972; text-decoration: none; }
section a:hover { border-bottom: 1px solid #b2a456; }

#main-navigation { font-family: Georgia, Times, "Times New Roman", serif; font-style: italic; -webkit-font-smoothing: antialiased; }
#main-navigation li a { background-color: #df4444; color: white; }
#main-navigation li a:hover { background-color: #b2a456; }

ol { list-style-type: none; counter-reset: numbered-list-counter; margin: 1em 0 2em 0; padding: 0; }
ol li { position: relative; padding-left: 2em; margin-bottom: 0.5em; }
ol li:before { font-family: Georgia, Times, "Times New Roman", serif; font-style: italic; position: absolute; top: -0.15em; left: 0; width: 1em; content: counter(numbered-list-counter); counter-increment: numbered-list-counter; color: #b9c6e3; font-size: 1.1em; text-align: center; }
.ie8 ol li:before { font-size: 1.6em; }
.no-generatedcontent ol { padding-left: 2.5em; }
.no-generatedcontent ol li { list-style-type: decimal; padding-left: 0; }

.button { font-family: Georgia, Times, "Times New Roman", serif; font-style: italic; display: inline-block; padding: 2%; padding-right: 4%; background-color: #df4444; color: white; font-size: 1.4em; }
.button:hover { background-color: #b2a456; border-bottom: 0; }
.button i, .button em { font-family: 'Open Sans', Myriad, 'Droid Sans', Calibri, Helvetica, Arial, sans-serif; font-weight: 400; display: block; font-size: 0.7em; font-style: normal; opacity: 0.8; }

.animated-header-message { position: absolute; width: 80%; top: 30%; left: 50%; margin-left: -40%; text-align: center; }
.animated-header-message #intro { display: none; font-family: Georgia, Times, "Times New Roman", serif; font-style: italic; font-size: 3em; color: #566d9b; }
.animated-header-message .messages { position: relative; padding: 0; margin: 0; list-style-type: none; font-family: 'Open Sans', Myriad, 'Droid Sans', Calibri, Helvetica, Arial, sans-serif; font-weight: 400; font-size: 3.5em; color: #566d9b; }
.animated-header-message .messages li { margin: 0; padding: 0; }
.animated-header-message .messages li { display: none; position: absolute; top: 0; left: 0; margin-top: 0.1em; width: 100%; }
.animated-header-message .messages li.knowledge { font-family: "Open Sans Light", "Open Sans", Myriad, "Droid Sans", Calibri, Helvetica, Arial, sans-serif; font-weight: 300; font-size: 1.35em; letter-spacing: -0.01em; }
.animated-header-message .messages li.knowledge span { color: #7a8eb5; }
.animated-header-message .messages li.stylish { text-shadow: 0px 0px 60px rgba(101, 137, 184, 0.8); filter: dropshadow(color=#8099ba, offx=0, offy=0); margin-top: -0.05em; font-family: "Open Sans Light", "Open Sans", Myriad, "Droid Sans", Calibri, Helvetica, Arial, sans-serif; font-size: 1.8em; font-style: normal; font-weight: 300; text-transform: uppercase; letter-spacing: 0.2em; color: white; }
.animated-header-message .messages li.inspiration { margin-top: -0.2em; font-size: 2.1em; font-family: "LearningCurveDashed", Georgia, Times, "Times New Roman", serif; font-style: italic; color: #df4444; }

/* ========================================================================== Structure ========================================================================== */
header[role="banner"], #header { background: url(../img/header_bg.jpg) center center no-repeat; background-size: cover; }

#logo img { max-width: 360px; width: 90%; height: auto; }
.lt-ie9 #logo img { width: auto; }

section { *zoom: 1; position: relative; }
section:before, section:after { content: ""; display: table; }
section:after { clear: both; }

.site-nav { *zoom: 1; }
.site-nav ul, .site-nav li { padding: 0; margin: 0; list-style-type: none; }
.site-nav:before, .site-nav:after { content: ""; display: table; }
.site-nav:after { clear: both; }
.site-nav li { float: left; }
.site-nav li a { display: block; text-decoration: none; }

.content-container { padding: 0 2%; }

.site-footer { padding: 5% 0; background-color: #3b5384; }
.site-footer .top-link { margin-bottom: 0; text-align: center; }
.site-footer .top-link a { font-family: Georgia, Times, "Times New Roman", serif; font-style: italic; color: #b9c6e3; text-decoration: none; }
.site-footer .top-link a:hover { color: white; }
.site-footer .top-link a:before { -webkit-transition: opacity, 0.5s; -moz-transition: opacity, 0.5s; -ms-transition: opacity, 0.5s; -o-transition: opacity, 0.5s; transition: opacity, 0.5s; display: block; width: 18px; height: 30px; margin: auto; content: url(../img/floral_top.png); opacity: 0.55; }
.site-footer .top-link a:hover:before { opacity: 1; }

/* ========================================================================== WordPress Features ========================================================================== */
/* ========================================================================== Components ========================================================================== */

.project-photos img { width: 100%; height: auto; max-width: 100%; padding: 3px; border: 1px solid #566d9b; }
.project-photos .col { display: inline; float: left; width: 48%; margin: 0 1%; }

#photo-credit { position: absolute; bottom: 0; right: 15%; }
#photo-credit p { color: white; font-size: 1.3em; }
#photo-credit span, #photo-credit a { opacity: 0.7; }
#photo-credit a { color: white; }
#photo-credit a:hover { text-decoration: underline; opacity: 1; }

.desktop-only, .tablet-only { display: none; }

.contact-details dt { display: inline; float: left; clear: left; min-width: 5.5em; }
.contact-details dd { float: left; margin-left: 1em; }

/* ========================================================================== Responsive ========================================================================== */
@media only screen and (max-width: 799px) { h2 { font-size: 2.5em; }
  h3 { font-size: 1.7em; -webkit-font-smoothing: subpixel-antialiased; letter-spacing: normal; }
  h4 { font-size: 1.6em; }
  p, li { font-size: 1.4em; }
  .site-footer { margin-top: 2%; }
  .top-link a { display: block; }
  header[role="banner"], #header { padding: 5% 0 0 0; margin-bottom: 2%; } }
@media only screen and (max-width: 1023px) { .animated-header-message { display: none; }
  #main-navigation li { font-size: 1.6em; width: 50%; }
  #main-navigation a { padding: 1em; margin-right: 0.5em; }
  #main-navigation li:last-child a { margin-right: 0; }
  #main-navigation .menu { margin-top: 0.6em; }
  section { padding: 2% 0; }
  .project-photos { max-width: 500px; margin: auto; }
  #photo-credit { right: 2.5%; } }
@media only screen and (min-width: 800px) { .tablet-only { display: block; }
  span.tablet-only { display: inline; }
  header[role="banner"], #header { position: relative; padding-top: 35px; height: 200px; }
  #logo { float: left; width: 40%; }
  #logo h1 { margin: 0; }
  #logo a { display: block; margin-top: 0.25em; }
  #main-navigation { float: right; width: 50%; }
  #main-navigation .menu { float: right; }
  #main-navigation .menu li { width: 180px; font-size: 1.8em; line-height: 1.15; }
  #main-navigation .menu a { padding: 0.35em 0.8em 0.45em 0.8em; }
  #main-navigation .menu span { display: block; } }
@media only screen and (min-width: 800px) { header[role="banner"], #header, #main-navigation, section, .site-footer { *zoom: 1; }
  header[role="banner"]:before, header[role="banner"]:after, #header:before, #header:after, #main-navigation:before, #main-navigation:after, section:before, section:after, .site-footer:before, .site-footer:after { content: ""; display: table; }
  header[role="banner"]:after, #header:after, #main-navigation:after, section:after, .site-footer:after { clear: both; }
  section { *zoom: 1; clear: both; padding: 0; }
  section:before, section:after { content: ""; display: table; }
  section:after { clear: both; }
  header[role="banner"], #header { padding-top: 65px; height: 728px; }
  #logo { display: inline; float: left; width: 43.58974%; margin: 0 3.20513%; }
  #logo img { width: auto; max-width: none; }
  .content-box, .content-box-full { *zoom: 1; padding: 3.20513% 0; }
  .content-box:before, .content-box:after, .content-box-full:before, .content-box-full:after { content: ""; display: table; }
  .content-box:after, .content-box-full:after { clear: both; }
  .content-box { display: inline; float: left; width: 43.58974%; margin: 0 3.20513%; }
  .content-box-full { display: inline; float: left; width: 93.58974%; margin: 0 3.20513%; padding-bottom: 0; }
  .button { padding: 3.20513%; padding-right: 6.41026%; }
  #about, #apply { padding: 3.20513% 0; }
  #about { background: url(../img/map_bg.jpg) center center no-repeat; background-size: cover; }
  #study-in-france { float: right; }
  #study-in-france p { font-family: Georgia, Times, "Times New Roman", serif; font-style: italic; width: 88%; font-size: 2.4em; color: #b9c6e3; }

  #projects { *zoom: 1; margin-bottom: 3.20513%; clear: both; background: url(../img/map_gold_bg.jpg) 51% 81% no-repeat; background-size: inherit; background-color: #b2a456; }
  
  #projects:before, #projects:after { content: ""; display: table; }
  #projects:after { clear: both; }
  #projects h2, #projects h3 { color: white; }
  #projects a { color: white; }
  .project-photos { margin-top: 6em; }
  .project-photos img { margin-bottom: 0.5em; border: 1px solid #a4964b; }
  .project-photos .col { width: 48%; margin: 0 1%; }
  #submissions { box-sizing: content-box; float: right; background-color: #566d9b; margin: 0 1.60256%; padding: 3.20513% 1.60256%; }
  .divider { position: relative; display: block; clear: left; content: ""; width: 100%; height: 1px; margin: auto; margin-bottom: 3.20513%; border-bottom: 1px solid white; }
  .divider:before, .divider:after { position: absolute; top: -12.5px; left: 50%; }
  .divider:before { content: url(../img/floral_left.png); left: 46.5%; margin-left: -25px; }
  .divider:after { content: url(../img/floral_right.png); left: 53.5%; }
  .no-generatedcontent .divider { border-bottom-color: #8496ba; }
  .site-footer { padding: 3.20513%; }
  .site-footer a { font-size: 1.4em; } }
@media only screen and (min-width: 1024px) { .desktop-only { display: block; }
  span.desktop-only { display: inline; }
  .content-container, .divider { width: 1000px; }
  .content-container { margin: auto; padding: 0; }
  #main-navigation { display: inline; float: left; width: 43.58974%; margin: 0 3.20513%; }
  #main-navigation .menu li { width: 180px; margin-left: 30px; font-size: 2.4em; } }
@media only screen and (min-width: 1200px) { .content-container, .divider { width: 1200px; }
  .project-photos img { margin-bottom: 1em; } }
/* ========================================================================== Helper classes ========================================================================== */
.ir { background-color: transparent; border: 0; overflow: hidden; /* IE 6/7 fallback */ *text-indent: -9999px; }

.ir:before { content: ""; display: block; width: 0; height: 150%; }

.hidden { display: none !important; visibility: hidden; }

.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

.invisible { visibility: hidden; }

.clearfix:before, .clearfix:after { content: " "; /* 1 */ display: table; /* 2 */ }

.clearfix:after { clear: both; }

.clearfix { *zoom: 1; }

.no-js .js { display: none; }

/* ========================================================================== Print styles. Inlined to avoid required HTTP connection: h5bp.com/r ========================================================================== */
@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  /* Don't show links for images, or javascript/internal links */
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; /* h5bp.com/t */ }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; } }
