/*
	v6.css - core CSS for the sixth design of jmcquarrie.co.uk
	Authored by - James McQuarrie http://jmcquarrie.co.uk
	Created - 18 October 2012
	Last updated - 03 Jan 2024 
*/
@import "/assets/css/reset.css";
@font-face {
  font-family: "Generika Light";
  src: url("/assets/fonts/GenerikaWEB-Light.woff") format("woff");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Generika Regular";
  src: url("/assets/fonts/GenerikaWEB-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* Housekeeping ---------------------------------------*/
body {
  background-color: #fefefe;
  color: #666;
  font: 100 16px/1 "Merriweather", Georgia, "Times New Roman", serif;
  margin: 0;
  padding: 0;
  position: relative;
}

::selection {
  background: #e80000; /* Safari */
  color: #fff;
}

::-moz-selection {
  background: #e80000; /* Firefox */
  color: #fff;
}

.clearfix {
  display: inline-block;
}

/* start commented backslash hack for IE \*/
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* close commented backslash hack */
/* clr to clear floats if clearfix can't be used */
.clr {
  clear: both;
}

/* Baseline design for all screens ------------------*/
#fixedCol {
  display: none;
}

#container {
  margin: 0;
  padding: 0;
  position: relative;
}

#primaryContent {
  margin: 0 0 8.25%;
}

small.footnote {
  display: block;
  font-size: 0.75em;
  margin-top: 6em !important;
}

#secondaryContent {
  background: #e8e8e8;
  font: 100 1em/1 "Generika Light", "Arial Narrow", Arial, sans-serif;
  margin: 0;
  padding: 1px 8.25% 4.175%;
}

#secondaryContent h1 {
  color: #383838;
  font-weight: 100;
  margin: 1em 0;
}

#secondaryContent h1 a {
  color: #383838;
  text-decoration: none;
}

#secondaryContent h1 a:hover, #secondaryContent h1 a:focus {
  color: #000;
  outline: none;
}

#secondaryContent h1 strong {
  font-family: "Generika Regular", "Arial Narrow", Arial, sans-serif;
  font-size: 1.6em;
  font-weight: 400;
}

#secondaryContent h1 em {
  color: #e80000;
  font-style: normal;
}

#secondaryContent p {
  color: #8d8d8d;
  font-weight: 100;
  font-size: 0.9em;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin: 0 0 3em;
  text-align: justify;
}

#secondaryContent ul {
  display: block;
  list-style: none;
  margin: 2.5em 0 1.5em;
  padding: 1px;
  vertical-align: baseline;
}

#secondaryContent ul li a {
  color: #8d8d8d;
  text-decoration: none;
  padding: 0.5em 1.2em 0.5em 0;
  -moz-transition: color 100ms linear;
  -o-transition: color 100ms linear;
  -ms-transition: color 100ms linear;
  -webkit-transition: color 100ms linear;
  transition: color 100ms linear;
}

#secondaryContent ul li a:hover, #secondaryContent ul li a:focus, #secondaryContent ul li#currentGlobalNav a {
  color: #e80000;
}

#secondaryContent ul li#currentGlobalNav a:before {
  color: #8d8d8d;
  content: "/ ";
}

#globalNav li, #utilityNav li {
  float: left;
  margin: 0 0 0.8em;
  width: 30%;
}

#content {
  position: relative;
  margin-bottom: 8.25%;
  margin-top: 16.5%;
}

#content:last-child:after {
  border-bottom: 1px dotted #e8e8e8;
  clear: both;
  color: #e80000;
  content: " ";
  display: block;
  margin: 8.25% 8.25% 0;
  text-align: center;
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
  font-family: "Merriweather", "Minion Pro", Georgia, "Times New Roman", serif;
}

#content h1, #content h2, #content h3, #content p, #content ul, #content ol, #content dl, .timeslot, #supplement {
  margin-left: 8.25%;
  margin-right: 8.25%;
}

#content h1 {
  color: #333;
  font-size: 2em;
  font-weight: 100;
  line-height: 1.1;
  margin-bottom: 2em;
}

#content h2, #content h3 {
  color: #333;
  font-size: 1.25em;
  font-weight: 200;
  line-height: 1.4;
  margin-bottom: 0.4em;
  margin-top: 0.8em;
  text-align: left;
  vertical-align: baseline;
}

#content h2.intro {
  border-bottom: 1px dotted #e8e8e8;
  color: #333;
  line-height: 1.4;
  margin-bottom: 8.25%;
  margin-top: 1.2em;
  padding-bottom: 8.25%;
  text-align: left;
  vertical-align: baseline;
}

#content h2#meta {
  color: #8d8d8d;
  font-size: 0.6em;
  font-weight: 200;
  left: 8.25%;
  letter-spacing: 0.3em;
  line-height: 1;
  margin: 0;
  position: absolute;
  top: -3.5em;
}

#content ul.indexList h1, #content ul.indexList h2, #content ul.indexList p, #timeline h3, #timeline p {
  margin: 0;
}

#content p, #content ul li, #content ol li {
  color: #111;
  font-size: 0.9em;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 0.85em;
  margin-top: 0.85em;
  text-align: left;
  vertical-align: baseline;
}

div.tweet {
  margin: 1em auto;
}

#content p + p {
  /*text-indent: 1.75em;*/
}

#content em {
  font-style: italic;
}

#content ul, #content ol {
  margin-bottom: 0;
  margin-top: 0;
  padding: 0 8.25%;
}

#content ul li {
  list-style-type: square;
}

#content ol li {
  list-style-type: decimal-leading-zero;
}

#content ol li strong {
  color: #333;
  display: block;
  font-size: 1.2em;
  margin: 0 0 0.4em;
}

#content a, #footer a {
  color: #111;
  text-decoration: underline;
  -moz-transition: color 100ms linear;
  -o-transition: color 100ms linear;
  -ms-transition: color 100ms linear;
  -webkit-transition: color 100ms linear;
  transition: color 100ms linear;
}

#content a:hover, #content a:focus, #footer a:hover, #footer a:focus, #content .historical a:hover, #content .historical a:focus {
  color: #e80000;
}

#content code {
  background: #073642;
  color: #93a1a1;
  display: block;
  font-family: monospace;
  font-size: 0.8em;
  font-weight: 100;
  line-height: 1.2em;
  margin: 1em 0;
  padding: 2em 1em;
}

#content .figure {
  margin-top: 1em;
  display: block;
}

#content .figure img {
  width: 100%;
}

#content .video {
  margin: 1em auto 0;
}

#content .video iframe {
  margin: 0 2em 1em 0;
  float: left;
  max-width: 100%;
}

#content .figure small {
  color: #999;
  display: block;
  font-size: 0.7em;
  font-style: italic;
  font-weight: 100;
  letter-spacing: 0.09em;
  line-height: 1.1;
  margin: 1em 8.25% 2em;
}

#content ul.indexList {
  padding: 8.25% 0 0;
}

#content ul.indexList li {
  list-style-type: none;
  margin: 6em 0 2em 0;
  padding: 1px 0 1em;
  position: relative;
}

#content ul.indexList li a {
  border: none;
  display: block;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

#content ul.indexList li a h1 {
  display: inline;
  font-size: 2em;
  line-height: 1.4;
  margin: 0.4em 0;
  padding: 0;
}

#content ul.indexList li a:hover h1, #content ul.indexList li a:focus h1 {
  color: #e80000;
  text-decoration: underline;
  -moz-transition: color 100ms linear;
  -o-transition: color 100ms linear;
  -ms-transition: color 100ms linear;
  -webkit-transition: color 100ms linear;
  transition: color 100ms linear;
  transition: text-decortion 100ms linear;
}

#content ul.indexList li a h2#meta {
  color: #8d8d8d;
  font-size: 0.8em;
  left: 0;
  letter-spacing: 0.3em;
  margin: 0;
  position: absolute;
  top: -3em;
}

#content blockquote {
  font-style: italic;
  padding-left: 2em;
  padding-right: 2em;
}

#content blockquote p {
  color: #777;
}

#content .portfolioNav {
  display: block;
  font-family: "Generika light", "Arial Narrow", Arial, sans-serif;
  font-size: 1em;
  font-weight: 100;
  margin-top: 4em;
}

#content .portfolioNav p a {
  color: #888 !important;
  text-decoration: none !important;
}

#content .portfolioNav p a:hover, .portfolioNav p a:focus {
  color: #e80000 !important;
  text-decoration: underline !important;
}

#content .portfolioNav p a.prevNav {
  float: left;
}

#content .portfolioNav p a.nextNav {
  float: right;
}

#timeline {
  background: transparent url(https://jmcquarrie.co.uk/img/timelineBG.gif) top center repeat-y;
  text-align: center;
}

#timeline h2 {
  background: #fefefe;
  font-size: 3em;
  margin: 1em 0;
  text-align: center;
}

.timeslot {
  background-color: #fefefe;
  border: 1px solid #e8e8e8;
  margin: 1em 8.25%;
  padding: 2em 1em;
  width: auto;
}

#timeline .timeslot h3 {
  font-size: 1.2em;
  margin: 0 0 1.6em;
  text-align: center;
}

#timeline .timeslot p {
  font-size: 0.8em;
  line-height: 1.3;
  margin: 0 0.6em;
  padding: 1em 0;
  text-align: justify;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
}

#timeline .timeslot p + p {
  text-indent: 0;
}

#timeline .historical {
  border: none;
  margin: 1em auto !important;
  text-align: center;
  width: 50%;
}

#timeline .historical p {
  color: #9d9d9d;
  font-style: italic;
  font-size: 0.9em;
  line-height: 1.3;
  margin: 0.5em auto;
  padding: 0;
  text-align: center;
}

#timeline .historical h3 {
  display: none;
}

#content .historical a {
  color: #9d9d9d;
}

#peak p {
  margin: 0 auto 3em;
  text-align: center;
}

#peak p a {
  color: #e80000;
  display: block;
  padding: 0 1em 2em;
}

#footer {
  background: #e8e8e8;
  clear: both;
  font: 100 0.6em/1.4 "Merriweather", "Lucida Grande", Helvetica, Sans-serif;
  margin: 8.25% 0 0;
  padding: 8.25% 8.25%;
}

#footer p {
  margin-bottom: 0.5em;
}

/* --------------------------------------------*/
/* http://static.jmcquarrie.co.uk/img/JamesMcQuarrie.jpg */
#falseBack {
  background: #4C4C4C url(https://static.jmcquarrie.co.uk/img/jamesBG512.png) no-repeat 60% 10% fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="https://static.jmcquarrie.co.uk/img/jamesBG511.png", sizingMethod="scale");
  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.jmcquarrie.co.uk/img/jamesBG511.png', sizingMethod=" scale ")";
  -ms-behavior: url(http://www.jmcquarrie.co.uk/backgroundsize.min.htc);
  bottom: 0;
  display: block;
  right: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

#home body {
  background: transparent;
}

#homeContainer {
  background: transparent;
  margin: 0.5em 0 50% 8.25%;
  width: 56%;
}

#homeContainer h1 {
  color: #efefef;
  font: 100 1.2em/1.2 "Generika Regular", "Arial Narrow", Arial, sans-serif;
  margin-bottom: 1.2em;
  text-shadow: 0 1px 0 #383838;
}

#homeContainer h1 strong {
  font-size: 2em;
  font-weight: 400;
}

#homeContainer h1 em {
  color: #e80000;
  font-style: normal;
}

#homeContainer h2 {
  color: #efefef;
  font-weight: 300;
  font-size: 1.2em;
  line-height: 1.3;
  margin-bottom: 1em;
  text-shadow: 0 1px 0 #333;
}

#homeContainer p {
  color: #efefef;
  font-weight: 400;
  font-size: 0.9em;
  letter-spacing: 0.1em;
  line-height: 1.2em;
  text-align: left;
  text-shadow: none;
  vertical-align: baseline;
}

#homeContainer p a {
  color: #efefef;
  text-decoration: underline;
  text-shadow: none;
}

#homeContainer p a:hover, #homeContainer p a:focus {
  color: #fff;
  border-bottom: 3px solid #e80000;
  text-decoration: none;
}

/* Form ------------------------------------------*/
form {
  margin: 0;
  padding: 0;
  width: 96%;
}

#content form p + p {
  text-indent: 0;
}

form input, form textarea {
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  font-size: 1em;
  -webkit-appearance: none;
  margin: 0.2em 0 1.85em;
  padding: 0.4em;
  width: 100%;
}

form input:active, form input:focus, form textarea:active, form textarea:focus {
  border-color: #b3b3b3;
  outline: none;
}

form input.wpcf7-submit {
  background: #e80000;
  border: none;
  color: #fff;
  margin: 0 auto 2em;
  width: 50%;
}

form input.wpcf7-submit:hover, form input.wpcf7-submit:focus {
  cursor: pointer;
}

form div.wpcf7-response-output {
  border-radius: 5px;
  margin: 2em 8.25%;
  padding: 0.4em;
}

/* 768px + ---------------------------------------*/
@media screen and (min-width: 768px) {
  #secondaryContent {
    padding: 1px 16.5% 4.175%;
  }
  #content {
    font-size: 1.1em;
  }
  #content h2#meta {
    left: 16.5%;
  }
  #content h1, #content h2, #content h3, #content p, #content ul, #content ol, #content dl, .timeslot, #supplement, #content ul.indexList, form div.wpcf7-response-output {
    margin-left: 16.5%;
    margin-right: 16.5%;
  }
  #content p {
    text-align: justify;
  }
  #content .figure small {
    margin: 1em 16.5% 2em;
  }
  /*Small images*/
  #content span.s, #content div.s {
    display: block;
    float: left;
    margin: 1em 1.6em 0 2em;
    padding: 0;
    width: 20%;
  }
  #content .s + p, #content .sAlt + p {
    margin-top: 1em;
  }
  #content span.s small, #content div.s small {
    float: none;
    margin: 0.5em 1em 1em;
    width: auto;
  }
  #content span.sAlt, #content div.sAlt {
    display: block;
    float: right;
    margin: 1em 2em 0 1.6em;
    padding: 0;
    width: 20%;
  }
  #content span.sAlt small, #content div.sAlt small {
    float: none;
    margin: 0.5em 1em 1em 0;
    width: auto;
  }
  /*Medium images*/
  #content span.m, #content div.m {
    display: block;
    float: left;
    margin: 1em 1.6em 0 0;
    padding: 0;
    width: 49%;
  }
  #content .m + p, #content .mAlt + p {
    margin-top: 1em;
  }
  #content span.m small, #content div.m small {
    float: none;
    margin: 0.5em 1em 1em;
    width: auto;
  }
  #content span.mAlt, #content div.mAlt {
    display: block;
    float: right;
    margin: 1em 0 0 1.6em;
    padding: 0;
    width: 49%;
  }
  #content span.mAlt small, #content div.mAlt small {
    float: none;
    margin: 0.5em 1em 1em 0;
    width: auto;
  }
  #content:last-child:after {
    margin: 8.25% 16.5% 0;
  }
  #footer {
    font-size: 0.75em;
    padding: 8.25% 16.5%;
  }
  #homeContainer {
    margin: 2em 0 6em 8.25%;
    width: 40%;
  }
  #homeContainer h1 {
    font-size: 1.8em;
  }
  #homeContainer h1 strong {
    font-size: 1.8em;
  }
  #homeContainer h2 {
    font-size: 1.6em;
  }
  #homeContainer p {
    font-size: 1.1em;
  }
}
/* 1025px + ---------------------------------------*/
@media screen and (min-width: 1025px) {
  #peak {
    display: none;
  }
  #fixedCol {
    background: #e8e8e8;
    bottom: 0;
    display: block;
    right: 0;
    position: fixed;
    top: 0;
    width: 33%;
  }
  #container {
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 100%;
  }
  #secondaryContent {
    margin: 0;
    padding: 1em 0 0;
    width: 33%;
    position: fixed;
    right: 0;
  }
  #secondaryContent h1 {
    margin-left: 16.5%;
    margin-right: 16.5%;
    margin-bottom: 1.2em;
  }
  #secondaryContent p {
    margin: 0 16.5%;
    text-align: justify;
  }
  #secondaryContent ul {
    float: left;
    margin: 3em 16.5%;
  }
  #globalNav li, #utilityNav li {
    float: none;
    width: 100%;
  }
  #secondaryContent ul li a {
    display: block;
    padding: 0.25em 0;
  }
  #primaryContent {
    float: left;
    margin: 0 0 16.5%;
    width: 67%;
  }
  #content {
    background: transparent;
    position: relative;
    margin-top: 5em;
  }
  #timeline .timeslot p {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    -o-hyphens: none;
    hyphens: none;
  }
  .historical {
    font-size: 0.8em;
  }
  #footer {
    padding: 0;
    width: 33%;
    position: fixed;
    right: 0;
    bottom: 0;
  }
  #footer p {
    font-size: 0.8em;
    line-height: 1.4;
    margin: 0 16.5% 8% 16.5%;
  }
  #homeContainer {
    width: 40%;
    max-width: 730px;
  }
  #homeContainer h1 {
    font-size: 3em;
  }
  #homeContainer h2 {
    font-size: 2em;
  }
  #homeContainer p {
    font-size: 1.45em;
    line-height: 1.4;
  }
}
/* 1600px + ---------------------------------------*/
@media screen and (min-width: 1600px) {
  #content h1 {
    font-size: 3em;
  }
  #content h2.intro {
    font-size: 1.85em;
  }
  #content h2, #content h3 {
    font-size: 1.85em;
  }
  #content p {
    font-size: 1.275em;
    letter-spacing: 0;
    line-height: 1.6;
    margin-top: 1em;
    margin-bottom: 1em;
  }
  #content ul li, #content ol li {
    font-size: 1.275em;
  }
  #content span.m, #content div.m {
    margin: 1em 2em 0 0;
  }
  #content span.mAlt, #content div.mAlt {
    margin: 1em 0 0 2em;
  }
  #content .figure small {
    font-size: 0.8em;
    letter-spacing: 0;
  }
  #homeContainer {
    width: 40%;
    max-width: none;
  }
  #homeContainer h1 {
    margin-top: 16%;
  }
}

/*# sourceMappingURL=main.css.map */