/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */img,legend{border:0}legend,td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
@font-face {
    font-family: 'Source Sans Pro Light';
    src: url('../fonts/sourcesanspro-light-webfont.eot');
    src: url('../fonts/sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sourcesanspro-light-webfont.woff2') format('woff2'),
         url('../fonts/sourcesanspro-light-webfont.woff') format('woff'),
         url('../fonts/sourcesanspro-light-webfont.ttf') format('truetype'),
         url('../fonts/sourcesanspro-light-webfont.svg#source_sans_prolight') format('svg');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'source_sans_proregular';
    src: url('../fonts/sourcesanspro-regular-webfont.eot');
    src: url('../fonts/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sourcesanspro-regular-webfont.woff2') format('woff2'),
         url('../fonts/sourcesanspro-regular-webfont.woff') format('woff'),
         url('../fonts/sourcesanspro-regular-webfont.ttf') format('truetype'),
         url('../fonts/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
    font-weight: 400;
    font-style: normal;

}
@font-face {
    font-family: 'Museo700Regular';
    src: url('../fonts/museo700-regular-webfont.eot');
    src: url('../fonts/museo700-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/museo700-regular-webfont.woff') format('woff'),
         url('../fonts/museo700-regular-webfont.ttf') format('truetype'),
         url('../fonts/museo700-regular-webfont.svg#Museo700Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Museo700Light';
    src: url('../fonts/museo-sans-500-webfont.eot');
    src: url('../fonts/museo-sans-500-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/museo-sans-500-webfont.woff') format('woff'),
         url('../fonts/museo-sans-500-webfont.ttf') format('truetype'),
         url('../fonts/museo-sans-500-webfont.svg#Museo700Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'museo_slab500';
    src: url('../fonts/museo_slab_500-webfont.woff2') format('woff2'),
         url('../fonts/museo_slab_500-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?27150334');
  src: url('../fonts/fontello.eot?27150334#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff2?27150334') format('woff2'),
       url('../fonts/fontello.woff?27150334') format('woff'),
       url('../fonts/fontello.ttf?27150334') format('truetype'),
       url('../fonts/fontello.svg?27150334#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

*, input[type="search"] {
    box-sizing: border-box;
	word-wrap: break-word;
}

html {
	font-family: 'Source Sans Pro Light', sans-serif;
	line-height: 1.6;
	font-size:1em;
		background-color:#02213d;
}
body {
	margin:0;
	padding:0;
	color:#f8eadc;
}

body.photo-page {
	background:url(../img/backgrounds/body-bg.png) repeat-y center top;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.1;
	letter-spacing:2px;
}
h1 {
	padding:0;
	margin: 0 0 .8em 0;
	font-family: "museo_slab500", serif;
}
h2 {
	font-size: 2.4em;
	font-family: "museo_slab500", serif;
	text-align:right;
	margin-bottom: 115px;
	line-height: 1;
	font-weight: 700;
}
h3 {
	font-size: 1.4em;
	font-family: "museo_slab500", serif;
	letter-spacing:1px;
}
a {
	color: #f8eadc;
	text-decoration:none;
	font-weight: 500;
}
main a {
	text-decoration:underline;
}
p {
	margin:0 0 1.3em 0;	
}

figure {
	margin:0;	
}
nav ul li {
	display:inline-block;	
}

a:focus,
input:focus,
textarea:focus {
    outline: thin dotted; 
}
[data-whatinput='mouse'] a:focus,
[data-whatinput='mouse'] input:focus,
[data-whatinput='mouse'] textarea:focus,
[data-whatinput='touch'] a:focus,
[data-whatinput='touch'] input:focus,
[data-whatinput='touch'] textarea:focus {
    outline: none; 
}
h2 span {
		display:block;	
	}

.wrap {
	width: 85%;
	margin:0 auto;
}
.wrap-3 {
	max-width:684px;
	margin:0 auto;
	width: 95%;
}
.wrap-4 {
	width: 85%;
	max-width:1280px;
	margin:0 auto;
}
.wrap-5 {
	width: 85%;
	max-width:1024px;
	margin:0 auto;
}
.home-page .page-header {
	display:table;
	width:100%;
	height:768px;
	background-image:url(../img/backgrounds/home-page-header.jpg);
	background-position:center top;
	background-size:cover;
	background-color:#150b02;
}
.home-page .page-header h1 {
	display:table-cell;
	vertical-align:middle;
	text-align:center;
	margin:0;
	font-family: "museo_slab500", serif;
	font-weight:300;
	
}
.learning-activies-page h1,
.thomas-annan-page h1 {
	width:50%;
	text-align:right;
	padding-right: 25px;
	
}
.home-page .page-header h1 span {
	padding:1em 2em;
	background:rgba(21,11,2,0.7);
	display: inline-block;
}
.intro {
	background-color:#150b02;	
	padding:45px 0 35px 0;
}
.intro p {	
	padding-right:25px;
}
.iframe-holder {
	width:100%;
	height:700px;
	background-color:#fff;
}

.plate-toggle-wrap {
	float: right;
margin: 0;
position: absolute;
right: 20px;
top: 0;
width: 50px;
height: 100px;
}
.plate-toggle-wrap a {
	display:block;
	background:url(../img/backgrounds/list.png) no-repeat 0 0;
	height:100px;
	text-indent:-999em;
	overflow:hidden;
}
.plate-menu {
	font-family: 'source_sans_proregular', sans-serif;
	display:none;
	position: absolute;
	right: 0;
	top: 100px;
	padding: 15px 15px 10px 20px;
	background-color: rgb(21,11,2);
}
.no-js .plate-menu {
	display:block;
}
.plate-menu ul {
	display:inline-block;
	margin:0;
	padding: 0;
}
.plate-menu p {
	display:inline-block;
	margin:0;
	position:relative;
	top:-6px;
}
.plate-menu li {
	float:left;
	margin-right:0.3em;
}
.plate-menu a {
	display:block;
	background-color: #f8eadc;
	color:#01223d;
	width:1.4em;
	height:1.4em;
	border-radius: 0.7em;
	text-decoration:none;
	text-align:center;
	line-height:1.4em;
	font-weight: 600;
}
.plate-menu a.active {
	background-color:#897d64;
	color:#fff;
}

.plate-menu a:focus {
	outline:thin dotted white;
}
[data-whatinput='mouse'] .plate-menu a:focus {
	outline:none;
}
.plate-menu li:last-child a,
.explore-page.page-2 .plate-menu li:nth-last-child(2) a{
	width:auto;
	padding:0 10px;
}
.plate-menu li:last-child a:after {
	content:" \00BB";
}
.explore-page.page-3 .plate-menu li:last-child a:after {
	content:'';
}
.explore-page.page-2 .plate-menu li:nth-last-child(2) a:before,
.explore-page.page-3 .plate-menu li:last-child a:before {
	content:"\00ab\00a0";
}
.vis-hidden {
	visibility:hidden;
}
.one-half {
	width:50%;	
}
.one-half.fl {
	background-color:#02213d;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
.main-nav {
	padding-right: 50px;
}
.site-title {
	position:fixed;
	left:0;
	top:0;
	z-index:20;
	width:100%;
	height:100px;
	background-color:#150b02;
	padding:0 30px;
}
.logo {
	float:left;
	width: 155px;
	height:100px;
	margin: 0 20px 0 0;
	padding:0;
}
.home-page .logo {
	display:none;
}
.no-js .home-page .logo a {
	display:block;
}
.logo a {
	display:block;
	width:152px;
	height:100px;
	overflow:hidden;
	background-image:url(../img/content/logo-main.png);
	background-position:left center;
	background-repeat:no-repeat;
}
.logo a span {
	display:inline-block;
	width:100%;
	height:100px;
	text-indent:-999em;
	overflow:hidden;
}
.photo figure a {
	color:#02213d;
}
.main-content {
	padding-top:160px;
}
.zoom-page .main-content {
	padding-top:0;
}
.home-page section,
.explore-page section{
	position:relative;
}
.explore-page .main-content {
	padding-top:100px;
}
.home-page .main-content {
	padding-top:0;
}
.details {
	padding-right:25px;		
}
.home-page .details p {
	max-width: 500px;
}
.zoom-page,
.zoom-page body {
	background-image:none;
	background-color:#000;
}
.zoom-photo {
	display:block;
	overflow:hidden;
	width:auto;
	margin:30px auto 20px auto;
	cursor:default;
	background-color:#323232;
	clear: right;
}
.zoom-page article {
	text-align:center;
	margin: 0 20px;
}
.popover-content a {
	color: #23527c;
text-align: center;
display: block;
text-decoration: none;
}
.popover-content img {
	height: 100px;
width: auto;
}
.popover-content strong {
	margin-bottom:1em;
	display: block;
}
.close-zoom-page {
	    float: right;
    margin: 3px 20px 0 0;
    background: url(../img/backgrounds/close-1.png) no-repeat right center;
    padding-right: 40px;
    line-height: 40px;
    display: inline-block;
    min-height: 40px
}
/*.zoomImg {display:none !important;}*/

.learning-activies-page .details,
.learning-activies-page .right-col {
	padding-bottom:25px;
	padding-top:25px;
	min-height: 230px;
	position:relative;
	}
.learning-activies-page .details:after {
	content:'';
	display: block;
	height:30px;
	width:541px;
	overflow:visible;
	background:url(../img/backgrounds/deco-3.png) no-repeat 0 0;
	position: absolute;
	bottom:0;
	right: -270px;
}
.learning-activies-page .main-content ul {
	margin:0;
	padding:0;
}
.learning-activies-page .main-content li {
	margin:0;
	padding:0;
	list-style:none;
}


.plate {
	clear:both;	
	padding-top: 0;
	position:absolute;
	left:0;
	width:100%;
	background:url(../img/backgrounds/body-bg.png) repeat-y center top;
}
.no-js .plate{
	position:static;
	padding-top:100px;
}
.fade-out img,
.fade-out h2
{
	opacity:0.2;
}
.row {
	clear:both;	
}
.container:after {
	
}
.home-page .container:first-of-type {
	background-color:#02213d;
}
.home-page .container:last-of-type {
	background-color: #f8eadc;
}
.photo {
	background-color: #f3dbc1;
	padding:25px;
}
.landscape img {
	max-width:100%;
	height:auto;
}
.right-col {
	padding:0 25px
}
.thomas-annan-page .right-col {
	border-left: 1px solid #1d384d;
}
.photo figcaption {
	color: #000;	
}
/*.is-above-fold.well-above-fold .photo {
	position:fixed;
	left:50%;
	top:100px;
}*/
.plate.pinned {
	
}
.no-js .is-above-fold.well-above-fold .photo {
	position:static;
}
.plate-1 .photo img {
	background-image:url(../img/content/PH1980_0358_0101-low-small..jpg);
	background-size:100% 100%;
}
.plate-2 .photo img {
	background-image:url(../img/content/plate-2-small.jpg);
	background-size:100% 100%;
}
.plate-3 .photo img {
	background-image:url(../img/content/plate-3-small.jpg);
	background-size:100% 100%;
}
.no-js .photo img {
	max-width:100%;
	height:auto;
}
a.disabled {
       pointer-events: none;
       cursor: default;
} 
.no-js a.disabled {
       pointer-events: auto;
       cursor: pointer;
}  

.historical-maps-page figure {
	float:left;
  height:227px;
  width:227px;
  overflow:hidden;
  position:relative;
  cursor:pointer;
  margin:0 1px 1px 0;
}
.historical-maps-page figcaption {
  position:absolute;
  top:0;
  left:0;
  width:227px;
  height:227px;
  z-index:1;
  background-color:#897d64;
  color:#02213d;
  padding:20px;
  display:none;
  line-height: 1.3;
  font-weight:600;
}
.historical-maps-page figcaption a {
	text-decoration:none;	
	color:#02213d;
	display:block;
	height:187px;
}
.historical-maps-page figcaption a strong {
	    font-family: 'museo_slab500';
    display: block;
    margin-bottom: 0.5em;
    font-size: 1.2em;
}
.historical-maps-page figure img {
  display:block;
  }
.historical-maps-page figure.portrait img {
  height:auto;
  width:100%;
}
.historical-maps-page figure.landscape img {
  height:100%;
  width:auto;
}
.view-large-map {
	text-decoration:underline;
	display:block;
	width:auto;
}

.footer {
	background-color:#150b02;	
	border-top:1px solid #897d64;
	text-align: center;
	font-size: 0.9em;
	    margin-top: 60px;
}
.home-page .footer {
	    margin-top: 0;
} 
.footer-logo {
	float: left;
}
.footer nav ul li {
	padding-right:15px;	
	padding-left:15px;	
	line-height: 1.1;
}
.footer nav ul li:first-child {
	border-right:1px solid #897d64;
}
.footer nav ul li a {

}

.responsive-menu {
		display:none;	
}
.description {
	clear:right;	
}
.thomas-annan-page .description p {
	text-align:right;
	font-size: 1.25em;
}
.learning-activies-page .description {
	text-align:right;
}
.main-menu ul {
	display: table;
padding: 0 30px;
margin: 0 auto;
}
.main-menu ul ul {
	display:block;
	position:absolute;
	z-index: 100;
	padding: 0;
	top: 100px;
	left: -9999em;
	width: 100%;
}
.edinburgh-1928-page .main-menu ul ul {

}
.main-menu li {
	display:table-cell;
	text-align:center;
	vertical-align:middle;
	width:20%;
	line-height:1.1;
	height:100px;
	position:relative;
}
.main-menu li:hover ul {
	left: 0;
}
.main-menu li li {
    display: block;
    height: auto;
    top: auto;
    background-color: #150b02;
	    width: 100%;
		padding: 10px 0;
}
.main-menu li li a {
	background-color: #150b02;
	color:  #f8eadc;
}
.main-menu li.current-item,
.main-menu li:hover,
.plates-in-view .main-menu > ul > li:first-child {
	background-color:#897d64;
}


.main-menu li a {
	display: block;
	padding: 0 22px;
	vertical-align: middle;
	font-size: 1.2em;
	font-weight: 600;
	
}
.main-menu li.current-item a,
.main-menu li:hover a,
.main-menu ul li ul li:hover a,
.plates-in-view .main-menu > ul > li:first-child a {
	color:#01223d;
	text-shadow: 1px 0 0 currentColor;

}
.main-menu li:hover ul li a {
	text-shadow:none;
}
.main-menu li.current-item li a,
.main-menu li:hover li a{
	color:  #f8eadc;
}
.main-menu li.current-item li.current-item a,
.main-menu li li:hover a{
	color:#01223d;
	font-weight:normal;
	background-color:#897d64;
}
.main-menu li a span {
	display:block;	
}
/*.file-download p {
	display:block;
	width:100px;
	height:100px;
	border:8px solid #f3dbc1;
	text-align:center;
	line-height:120px;
	margin:0;
	padding:0;
	-webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
	    position: relative;
    top: 2em;
}*/


.download {
	font-family: "museo_slab500", serif;
	font-size: 2.5em;
    font-weight: 700;
	text-decoration:none;
	 display:block;
	 width: 152px;
	 min-height:152px;
	 background:url(../img/backgrounds/icon-bg.png) no-repeat 0 0;
	 text-align: center;
	line-height: 152px;
}
.links-header {
	font-family: "museo_slab500", serif;
	font-size: 2em;
    font-weight: 700;
}
.pin-it {
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	
}
.external-links a {
	color:#e8b175;	
}
.icon-font:before,
.icon-font:after
{
	font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: none;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;	
}
.icon-down-open,
.icon-up-open {
	display:inline-block;
	width:auto;
	margin-bottom:150px;
	margin-right:20px;
}
.icon-up-open {
	margin-bottom:20px;
}
.icon-down-open:before { 
	content: '\e801';
	color: #897d64;
    font-size: 3em;
	} 
.icon-up-open:before { 
	content: '\e802'; 
	color: #897d64;
    font-size: 3em;
} 
.icon-menu:after {
	font-size: 1.8em;
}
.icon-right-open:before { 
	color: #897d64;
	font-size: 3em;
	content: '\e803';
	} 
.icon-left-open:after { 
	content: '\e804'; 
	color: #897d64;
	font-size: 3em;
} 
.icon-cancel:before { content: '\e805'; } 
.icon-menu:after { content: '\f0c9'; }
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
.tar {
	text-align:right;	
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 1470px) {
	
	h2 {
    font-size: 3em;
	}
	
	.main-menu li a {
    font-size: 1.3em;
	}
}

@media only screen and (max-width: 1400px) {
	
	.main-menu li a {
    font-size: 1em;
	}
	
}


@media only screen and (max-width: 1024px) { /* plate behaviour breakpoint */

.details {
    margin-bottom: 20px;
}

body.photo-page {
	background-image:none;
}


.plate {
	background-image:none;
}

	.learning-activies-page .details:after {
		    display: none;	
	}

	.learning-activies-page .details, .learning-activies-page .right-col {
    	min-height:0; 
	}
	.tar {
		text-align:left;	
	}
	
	.learning-activies-page h1, .thomas-annan-page h1,
	.thomas-annan-page .description p {
    width: auto;
    text-align: left;

	}
	.thomas-annan-page .right-col {
		padding-left:0;
		border:none;
	}
	.learning-activies-page .details, .learning-activies-page .right-col,
	.learning-activies-page .row-1 .details {
		background-image:none;	
	}
	.learning-activies-page .right-col {
		border-bottom: 1px solid #1d384d;
	}
	.row:last-child .right-col {
		border-bottom: none;
	}
	.links-header {
		margin-bottom:0;
	}
	.learning-activies-page .right-col {
		padding-top:0;	
	}
	.learning-activies-page .description {
    text-align: left;
	}
	
	.main-content {
    padding-top: 60px;
	}
	
	.photo {
    padding: 25px;
	}
	
	.plate {
    padding-top: 0;
	}
	
	.icon-down-open {
		display:none;
	}
	
	body.home-page {

	background-image:none;
	}
	h2 {
		text-align:left;
		margin-bottom:1em;
	}
	h2 span {
		display:inline;	
	}
	.details {
	padding-right:0;		
	}
	.is-above-fold.well-above-fold .photo {
	position:static;
	}
	.photo img {
	border:1px solid #999;
	}
	.photo img {
	max-width:100%;
	height:auto;
	}
	.one-half {
	width:100%;	
	}
	.fl,
	.fr {
		float:none;	
	}
	
	.plate {
    position: static;
}
	
	.home-page .logo a {
	display:block;
	}
	
	.site-title {
	position:static;
	height:auto;
	}
	
	.footer-logo {
    float: none;
}

.footer nav ul li:first-child {
    border-right:none;
}

}


@media only screen and (max-width: 768px) {

	
	.responsive-menu {
		display:block;	
		text-align: center;
		margin-top: 37px;
	}
	.main-menu {
		display:none;	
		position: absolute;
		z-index: 100;
		top: 100px;
		background: rgba(21,11,2,1);
		left: 0;
		width: 100%;
	}
	
	.main-menu ul ul {
	position:static;

	}
	
	.main-menu li a span {
	display:inline;	
	}
	.toggle-menu {
		display:inline-block;
	}
	
	
	.main-menu ul,
	.main-menu li,
	.main-menu li a {
		display:block;
width: 100%;
line-height: 1.4;
height: auto;
	}
		.main-menu ul {
	padding: 0;
	}
	
	.main-menu li {
	border-bottom: 1px solid #251d0b;
	padding: 0 30px;
	}
	.main-menu li li {
	border-bottom: none;
	}
	.main-menu > ul > li:first-child {
	border-top:1px solid #251d0b;
	}
	.main-menu > ul > li:last-child {
	border-bottom:none;
	padding-bottom:2em;
	}
	.main-menu > ul > li:last-child li {
		border-bottom:none;
	}
	.main-menu li a {
		padding:1em 0;
		text-align:left;
		font-size: 1.3em;
	}
	
	.main-menu li li a {
	
	padding: 0 0 0 2em;
	font-size: 1em;
	}
	
}


@media only screen and (max-width: 767px) {
	
	.plate-menu {
		left: 0;
		width:100%;
		padding-left: 30px;
	
	}
	
	.responsive-menu {
    text-align: right;
	}
	
	#sidebar {
		display:none;	
	}
}



@media only screen and (max-width: 600px) {
	
	.site-title {
    padding-left: 15px;
}
	
	.plate-menu {
    padding-left: 20px;
	}
	.plate-menu li:last-child {
		clear:left;	
		margin-top: 15px;
	}
	.page-2 .plate-menu li:last-child {
		clear:none;	
		margin-top: 15px;
	}
	.page-2 .plate-menu li:nth-last-child(2) {		
		clear:left;
		margin-top: 15px;
	}
	.plate-menu p {
    display: block;
	}
	
	.wrap,
	.wrap-3,
	.wrap-4,
	.wrap-5 {
	width:95%;
	}
	.photo {
    padding: 5px;
	}

}


@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
