/*
Theme Name: kurdmemory.com
Author: Oak
Author URI: http://oakdesignstudio.com/
Version: 1.0
*/

/* ==========================================================================
   Reset
   ========================================================================== */
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,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after {
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
  -webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
  -moz-box-sizing: border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
  box-sizing: border-box;
}

body {
  background: #fff;
} /* Fallback for when there is no custom background color defined. */

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

table {
  /* tables still need 'cellspacing="0"' in the markup */
  border-collapse: separate;
  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

a img {
  border: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
html,
body {
  font-size: 100%;
  font-family: "Aller-Light", Helvetica, Arial, sans-serif;
  height: 100%;
  color: rgba(87, 87, 87, 1);
}

h1 {
  font-size: 3.6em;
  font-family: "LydianBT-Roman", "Times New Roman", Times, serif;
  padding-bottom: 35px;
  letter-spacing: 0.03em;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  h1 {
    font-size: 1.6em;
  }
}

/* Change size for single articles */
.single-post h1 {
  font-size: 3.2em;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .single-post h1 {
    font-size: 1.8em;
  }
}

h2 {
  font-size: 1.4em;
  line-height: 1.7em;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  h2 {
    font-size: 0.9em;
  }
}

/* Change size for Featured articles */
.single-post h2 {
  font-size: 1.1em;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .single-post h2 {
    font-size: 0.8em;
  }
}

h3 {
  font-size: 2em;
  font-family: "LydianBT-Roman", "Times New Roman", Times, serif;
  padding-bottom: 15px;
  letter-spacing: 0.03em;
  color: #7e775d;
}

h4 {
  font-size: 1.1em;
  color: #fff;
}

h5 {
  font-size: 1.05em;
  margin: 15px 0;
}

h6 {
  font-size: 0.75em;
  margin: 15px 0;
}

p {
  font-size: 1.05em;
  line-height: 1.6em;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  p {
    font-size: 0.95em;
    line-height: 1.4em;
  }
}

strong {
  font-family: "Aller-Regular", Helvetica, Arial, sans-serif;
  color: rgba(0, 0, 0, 1);
}

em,
i {
  font-style: italic;
}

/* ==========================================================================
   Article Styling
   ========================================================================== */
a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

a,
a:active,
a:focus {
  outline: none;
} /* Prevent dotted outline on links */

ul {
  list-style: none;
  display: inline-block;
  width: 59.6%;
  margin-right: 9.1%;
  float: right;
  margin-bottom: 20px;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  ul {
    width: 100%;
    margin-right: 0;
  }
}

li {
  display: block;
  margin-bottom: 10px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

li:before {
  content: ".";
  font-family: "LydianBT-Roman", "Times New Roman", Times, serif;
  padding-right: 10px;
  font-size: 3.5em;
  line-height: 0;
  display: inline-block;
  margin-left: -25px;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  li:before {
    margin-left: 0;
  }
}

img {
  width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

/* ==========================================================================
   Grid
   ========================================================================== */
.grid,
.unit {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.grid {
  display: block;
  clear: both;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#hero-image .grid {
  height: 100%;
}

@media only screen and (min-width: 0px) and (max-width: 1024px) {
  .grid {
    width: 90%;
  }
} /* Widen grid on smaller viewports */
@media only screen and (min-width: 1600px) {
  .grid {
    width: 70%;
  }
} /* Narrower grid on larger viewports */

.grid .unit {
  float: left;
  width: 100%;
}

.grid .unit:first-of-type {
  margin-left: 0;
}
.grid .unit:last-of-type {
  margin-right: 0;
}

.unit .grid:first-child > .unit {
  padding-top: 0;
}
.unit .grid:last-child > .unit {
  padding-bottom: 0;
}

/* 10 column grid */
.grid .one-tenth {
  width: 9.1%;
  margin-left: 1%;
}
.grid .two-tenths {
  width: 19.2%;
  margin-left: 1%;
}
.grid .three-tenths {
  width: 29.3%;
  margin-left: 1%;
}
.grid .four-tenths {
  width: 39.4%;
  margin-left: 1%;
}
.grid .one-half {
  width: 49.5%;
  margin-left: 1%;
}
.grid .six-tenths {
  width: 59.6%;
  margin-left: 1%;
}
.grid .seven-tenths {
  width: 69.7%;
  margin-left: 1%;
}
.grid .eight-tenths {
  width: 79.8%;
  margin-left: 1%;
}
.grid .nine-tenths {
  width: 89.9%;
  margin-left: 1%;
}
.grid .full-width {
  width: 100%;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  /* Stack grid items on anything smaller than iPad portrait */
  .grid .one-tenth,
  .grid .two-tenths,
  .grid .three-tenths,
  .grid .four-tenths,
  .grid .one-half,
  .grid .six-tenths,
  .grid .seven-tenths,
  .grid .eight-tenths,
  .grid .nine-tenths,
  .grid .full-width {
    width: 100%;
  }
}

/* Clearfix after every .grid */
.grid {
  *zoom: 1;
}

.grid:before,
.grid:after {
  display: table;
  content: "";
  line-height: 0;
}

.grid:after {
  clear: both;
}

/* ==========================================================================
   Body
   ========================================================================== */
body {
  background: #f7f7f7;
  width: calc(100% - 35px);
}

/* ==========================================================================
   Article
   ========================================================================== */
article a,
.page-id-11300 main a {
  color: rgba(173, 86, 41, 0.7);
}

article a:hover,
.page-id-11300 a:hover {
  color: rgba(173, 86, 41, 1);
}

article p,
.page-id-11300 p {
  width: 59.6%; /* 6 column width + gutter */
  margin-right: 9.1%;
  margin-left: 31.3%;
  margin-top: 15px;
  margin-bottom: 15px;
  display: inline-block;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  article p,
  .page-id-11300 p {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    float: none;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

.page-id-2788 p {
  /* Reset styles on film library page */
  width: 100%;
  padding-right: 40%;
  margin-left: 0;
  margin-bottom: 15px;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .page-id-2788 p {
    padding-right: 10%;
  }
}

/* Single Images */
figure {
  width: 68.7%; /* 7 column width + gutter */
  float: right;
  margin: 20px 0;
  padding: 10px 0 25px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  figure {
    width: 100%;
    float: none;
  }
}

/* Captions */
figcaption {
  color: #ad5629;
  font-size: 0.9em;
  margin: 15px 0 0 0;
}

.image-caption,
.image-description,
.image-credit,
.page-id-11300 .image-caption,
.page-id-11300 .image-description,
.page-id-11300 .image-credit {
  width: 100%;
  margin-right: 0;
  padding-right: 42.4%; /* 4 column width + gutter */
  font-size: 0.95em;
}

.image-credit {
  color: #6f757f;
  font-size: 0.75em;
  margin-bottom: 10px;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .image-caption,
  .image-description,
  .page-id-11300 .image-caption,
  .page-id-11300 .image-description {
    padding-right: 5%;
  }
}

.post-type-archive-journal .image-caption {
  font-size: 0.85em;
  line-height: 1.6em;
}

.post-type-archive-journal p.image-caption {
  font-size: 1.15em;
  line-height: 1.6em;
}

figure.alignright figcaption p,
.page-id-11300 figure.alignright figcaption p {
  padding-right: 13.2%;
} /* Less padding on right aligned images */

.archive .image-caption {
  font-size: 0.8em;
} /* Reduce on archive pages */

p.image-caption {
  margin: 0;
}

.image-description {
  font-weight: bold;
  margin-bottom: 15px;
}

/* Blockquotes */
blockquote {
  display: inline-block;
  font-size: 2.4em;
  letter-spacing: 1px;
  font-family: "LydianBT-Roman", "Times New Roman", Times, serif;
  color: #be572b;
  position: relative;
  width: 68.7%;
  margin: 60px 0 60px 0;
  padding: 0 40px;
  opacity: 0; /* Allow for animation fade */
  bottom: -30px; /* Allow for animation move up */
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  blockquote {
    width: 100%; /* 6 column width + gutter */
    margin: 25px 0;
    font-size: 1.6em;
    letter-spacing: 0.03em;
    padding: 0 25px;
  }
}

blockquote p,
.page-id-11300 blockquote p {
  /* Remove autop formatting */
  font-size: inherit;
  line-height: 1.4em;
  width: 100%;
  float: none;
  margin-bottom: 0;
  margin-left: 0;
  display: block;
}

blockquote:first-child {
  margin-top: 0;
} /* No top-margin when article begins with blockquote */

blockquote p:first-child {
  margin-bottom: 10px;
}

blockquote p:nth-child(n + 2) {
  /* Style additional <p> tags as caption */
  font-family: "Aller-Light", Helvetica, Arial, sans-serif;
  font-size: 0.4em;
  letter-spacing: 0;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  blockquote p:nth-child(n + 2) {
    font-size: 0.5em;
  }
}

blockquote p:first-child:before,
blockquote p:first-child:after {
  position: absolute;
  font-size: 3em;
  line-height: 1;
}

blockquote p:first-child:before {
  content: "\2018";
  left: 0;
}

blockquote p:first-child:after {
  content: "\2019";
  margin-right: 15px;
}

blockquote p:nth-child(n + 2):before {
  content: "\2014";
  padding-right: 5px;
}

/* Royalslider Plugin */
.royalSlider.rsWithBullets {
  margin: 50px 0 0;
}

.royalSlider.rsWithThumbs {
  margin: 50px 0 150px;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  .royalSlider.rsWithBullets {
    margin: 50px 0 0;
  }

  .royalSlider.rsWithThumbs {
    margin: 50px 0 150px;
  }
}

.rsNav.rsBullets {
  display: block;
  width: 100%;
  text-align: center;
  bottom: 30px;
  margin: 0 auto;
  position: relative;
  z-index: 9999;
}

.rsBullet {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  border: 2px solid #fff;
  display: inline-block;
  margin: 0px 5px;
  top: 95%;
}

.rsNavSelected {
  background: #fff;
}

.rsCaption {
  display: inline-block;
  width: 100%;
  height: auto;
  top: 100%;
  padding-bottom: 35px;
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc;
  color: #ad5629;
  font-size: 0.9em;
  line-height: 1.6em;
  text-align: left !important;
}

/* Diagram Gallery Specific */
.rsWithBullets .rsImg {
  margin: 0 !important;
}

/* Image Gallery Specific */
.rs-gallery-thumbs-grid .rsThumbsContainer {
  margin-left: 8px;
}

.rsNavItem.rsThumb {
  margin-right: 8px !important;
  margin-bottom: 8px !important;
}

.rsThumb.rsNavSelected {
  background-color: darkred;
}
.rsThumb.rsNavSelected img {
  opacity: 0.2;
}

.rs-gallery-thumbs-grid .rsGCaption {
  right: auto !important;
  left: 0 !important;
  font-size: inherit !important;
  padding: 0 !important;
  background: none !important;
  width: 100% !important;
  bottom: auto !important;
  top: 100% !important;
  position: static !important;
  float: left !important;
}

.rs-gallery-thumbs-grid .rsGCaption .rsCaption {
  margin-top: 20px;
}

.rsArrow {
  width: 45px;
  height: 45px;
  background: white;
  position: absolute;
  top: calc(50% - 22px);
  background-color: transparent;
  border: 2px solid #fff;
  -webkit-transition: all 0.5s ease-in-out !important;
  -moz-transition: all 0.5s ease-in-out !important;
  -ms-transition: all 0.5s ease-in-out !important;
  -o-transition: all 0.5s ease-in-out !important;
  transition: all 0.5s ease-in-out !important;
}

.rsArrow:hover {
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
  transform: scale(1.03);
}

.rsArrowIcn {
  width: 10px;
  height: 15px;
  top: 15px;
  left: 15px;
  position: absolute;
}

.rsArrowLeft {
  left: 20px;
}
.rsArrowLeft .rsArrowIcn {
  background: url(assets/images/ui-sprite.svg) no-repeat -167px 0;
  background-size: 300px;
}

.rsArrowRight {
  right: 20px;
}
.rsArrowRight .rsArrowIcn {
  background: url(assets/images/ui-sprite.svg) no-repeat -82px 0;
  background-size: 300px;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .rsNav.rsThumbs {
    display: none;
  }
}

.rsFullscreenBtn {
  width: 45px;
  height: 45px;
  position: absolute;
  left: 20px;
  top: 20px;
  cursor: pointer;
  background-color: transparent;
  border: 2px solid #fff;
  -webkit-transition: all 0.5s ease-in-out !important;
  -moz-transition: all 0.5s ease-in-out !important;
  -ms-transition: all 0.5s ease-in-out !important;
  -o-transition: all 0.5s ease-in-out !important;
  transition: all 0.5s ease-in-out !important;
}

.rsFullscreenBtn .rsFullscreenIcn {
  background: url(assets/images/ui-sprite.svg) no-repeat -111px -96px;
  background-size: 400px;
}

.rsFullscreenIcn {
  width: 15px;
  height: 15px;
  top: 14px;
  left: 14px;
  position: absolute;
}

.rsFullscreenBtn:hover {
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
  transform: scale(1.03);
}

.rsFullscreen {
  background: white;
}

/* Audio Player */
.wp-playlist {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 40px 0 !important;
  width: 70% !important;
  padding: 15px 0 !important;
  border-top: 1px solid #ccc !important;
  border-bottom: 1px solid #ccc !important;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .wp-playlist {
    width: 100% !important;
  }
}

.wp-playlist-current-item {
  height: auto !important;
}

.wp-playlist-item-artist,
.wp-playlist-item-album {
  display: none !important;
}

.wp-playlist-item-title {
  color: #ad5629 !important;
  width: 100% !important;
  margin-right: 0 !important;
  padding-right: 42.4% !important; /* 4 column width + gutter */
  font-size: 1.05em !important;
  font-weight: bold !important;
  white-space: normal !important;
}

.wp-playlist-playing {
  background: transparent !important;
  color: #ad5629 !important;
  font-weight: normal !important;
}

.wp-playlist-caption {
  white-space: normal !important;
}

.wp-playlist-item-length {
  position: initial !important;
}

.wp-playlist a,
.wp-playlist a:hover {
  padding-top: 5px !important;
  padding-bottom: 10px !important;
  border-bottom: none !important;
}

/* Player */
.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
  background: #212e37 !important;
}
.mejs-controls .mejs-time-rail .mejs-time-current {
  background: #ad5629 !important;
}
.mejs-button.mejs-volume-button.mejs-mute,
.mejs-button.mejs-volume-button.mejs-unmute {
  display: none !important;
}
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
  width: 40px !important;
  margin-left: 5px !important;
}
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  right: 10px !important;
  margin-left: 5px !important;
}

.mejs-controls .mejs-play button {
  background: url(assets/images/ui-sprite.svg) no-repeat !important;
  background-position: 5px -121px !important;
  background-size: 300px !important;
}

.mejs-controls .mejs-pause button {
  background: url(assets/images/ui-sprite.svg) no-repeat !important;
  background-position: -80px -121px !important;
  background-size: 300px !important;
}

/* ==========================================================================
   Film Library
   ========================================================================== */
.vimeography-thumbnails figure {
  /* Prevent margins on film library thumbs */
  margin: 0;
  padding: 0;
  border: none;
}

.current-post-page {
  font-weight: bold;
  color: #ad5629;
}
.page-link-number:hover {
  color: #ad5629;
}

/* ==========================================================================
   Index
   ========================================================================== */
.index {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.index h2 {
  font-weight: bold;
  padding: 15px 0;
  cursor: pointer;
  border-top: 1px solid #ccc;
}

.index h2:nth-last-child(2) {
  border-bottom: 1px solid #ccc;
}

.index h2:before {
  content: "\003E";
  color: #ccc;
  display: inline-block;
  line-height: 0.5;
  margin-right: 10px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.index h2.current {
  border-bottom: none;
}

.index h2.current:before {
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
  transform: rotate(90deg);
}

.index ul {
  float: none;
  margin-right: 0;
  width: 100%;
  margin-bottom: 40px;
}

.index li:before {
  content: none;
}

.index li {
  margin: 1px;
  color: #fff;
  width: auto;
  display: inline-block;
  float: left;
  color: #fff;
}

.index li a {
  display: inline-block;
  padding: 8px 10px 4px;
  font-size: 0.8em;
}

.index .pane.topic li {
  background: rgba(203, 149, 98, 0.8);
}
.index .pane.topic li:hover,
.index .pane.topic li:active {
  background: rgba(203, 149, 98, 1);
}

.index .pane.place li {
  background: rgba(77, 87, 94, 0.8);
}
.index .pane.place li:hover,
.index .pane.place li:active {
  background: rgba(77, 87, 94, 1);
}

.index .pane.date li {
  background: rgba(33, 46, 55, 0.8);
}
.index .pane.date li:hover,
.index .pane.date li:active {
  background: rgba(33, 46, 55, 1);
}

.index .pane.interviewee li {
  background: rgba(204, 51, 51, 0.8);
}
.index .pane.interviewee li:hover,
.index .pane.interviewee li:active {
  background: rgba(204, 51, 51, 1);
}

.index .pane.period li {
  background: rgba(173, 86, 41, 0.8);
}
.index .pane.period li:hover,
.index .pane.period li:active {
  background: rgba(173, 86, 41, 1);
}

.index .pane.a-z-index li {
  background: rgba(126, 119, 93, 0.8);
}
.index .pane.a-z-index li:hover,
.index .pane.a-z-index li:active {
  background: rgba(126, 119, 93, 1);
}

.archive figure a,
.archive figure a:hover {
  padding-bottom: 0;
  border-bottom: none;
}

/* ==========================================================================
   Journal / Education
   ========================================================================== */
.journal article,
.page-id-6673 article,
.index-term article {
  margin-top: 80px;
}
.journal article:first-child,
.page-id-6673 article:first-child,
.index-term article:first-child {
  margin-top: 0;
}

.journal p,
.index-term p {
  margin-right: 0;
  width: 100%;
  float: left;
  margin: 10px 0;
}

.page-id-6673 p {
  width: 100%;
  padding-right: 40%;
  margin-left: 0;
  margin-bottom: 15px;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .page-id-2788 p {
    padding-right: 10%;
  }
}

.page-id-6673 .vimeography-playlister {
  margin-top: 0px !important;
}

.page-id-6673 .vimeography-description {
  margin-bottom: 10px !important;
}

.read-more {
  display: none; /* Initial display before JS fires */
  margin: 0 0 10px 0;
  font-size: 0.85em;
}

.index-term p.read-more {
  display: block;
}

.post-type-archive-journal article h5,
.page-id-6673 article h5 {
  display: inline-block;
  cursor: pointer;
  color: rgba(173, 86, 41, 0.7);
  margin: 0 0 10px 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.post-type-archive-journal article h5:hover .page-id-6673 article h5:hover {
  color: rgba(173, 86, 41, 1);
}

.post-type-archive-journal figure,
.page-id-6673 figure,
.index-term figure {
  width: 100%;
  float: left;
  margin-top: 0;
}

.downloads {
  padding: 15px 0;
  margin: 10px 0;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
}

.downloads-btn {
  display: inline-block;
  border-left: 10px solid #ad5629;
  background-color: #44484f;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.downloads-btn:before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background: url(assets/images/ui-sprite.svg) no-repeat -252px 0;
  background-size: 300px;
  margin-right: 10px;
  vertical-align: middle;
}

.downloads-btn:hover {
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
  transform: scale(1.03);
}

.download-links {
  display: none; /* Initial display before JS fires */
  height: 30px;
  margin: 15px 0 0;
}

.download-file-btn {
  padding: 8px 10px 4px;
  font-size: 0.8em;
  margin: 2px;
  color: #fff !important;
  width: auto;
  display: inline-block;
  float: left;
  color: #fff;
}

.download-file-btn:nth-child(1) {
  background: rgba(203, 149, 98, 0.8);
}
.download-file-btn:nth-child(1):hover,
.download-file-btn:nth-child(1):active {
  background: rgba(203, 149, 98, 1);
}

.download-file-btn:nth-child(2) {
  background: rgba(77, 87, 94, 0.8);
}
.download-file-btndownload-file-btn:nth-child(2):hover,
.download-links:nth-child(2):active {
  background: rgba(77, 87, 94, 1);
}

.download-file-btn:nth-child(3) {
  background: rgba(204, 51, 51, 0.8);
}
.download-file-btn:nth-child(3):hover,
.download-file-btn:nth-child(3):active {
  background: rgba(204, 51, 51, 1);
}

.download-file-btn:nth-child(4) {
  background: rgba(173, 86, 41, 0.8);
}
.download-file-btn:nth-child(4):hover,
.download-file-btn:nth-child(4):active {
  background: rgba(173, 86, 41, 1);
}

.download-file-btn:nth-child(5) {
  background: rgba(33, 46, 55, 0.8);
}
.download-file-btn:nth-child(5):hover,
.download-file-btn:nth-child(5):active {
  background: rgba(33, 46, 55, 1);
}

.journal .unit,
.page-id-6673 .unit {
  margin-left: 0;
}

.pager {
  width: 100%;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin: 45px 0 75px 0;
  padding: 25px 0;
  display: inline-block;
}

.pager ul {
  width: 100%;
  margin: 0;
  float: left;
}

.pager li {
  margin: 0 1px;
  display: inline-block;
}

.pager li:before {
  content: "";
  margin-left: 0;
  padding-right: 0;
}

.prev-page:hover,
.next-page:hover,
.page-numbers.current,
.page-numbers li:hover {
  color: #ad5629;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.line {
  /* Invisible line from which to measure position of #sidebar for expand/collapse purposes */
  top: 0;
  position: absolute;
}

#sidebar {
  background: #212e37;
  color: #8b8c91;
  width: 225px;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 35px;
  margin-right: -225px; /* "#sidebar" width */
  z-index: 500;
  -webkit-overflow-scrolling: touch;
  box-shadow: none;
  overflow-y: scroll;
}

#sidebar.active {
  margin-right: 0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  #sidebar {
    width: 75%;
    margin-right: -75%;
  }
}

.sidebar-wrapper {
  min-height: 100%;
  height: auto;
  background: #212e37;
}

#sidebar header {
  font-weight: normal;
  padding: 30px 40px 50px 20px;
  border-bottom: 1px solid #8b8c91;
  color: #8b8c91;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  #sidebar header {
    padding: 20px;
  }
}

#sidebar footer {
  background: none;
  bottom: 20px;
  padding: 0 20px;
  position: relative;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  #sidebar footer {
    bottom: 0;
    margin-top: 20px;
  }
}

/* Nav */
#sidebar nav {
  width: 100%;
  margin: 20px 0 50px 0;
  display: inline-block;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  #sidebar nav {
    margin: 10px 0;
  }
}

#sidebar ul {
  width: 100%;
  margin: 0;
}

#sidebar li {
  margin-bottom: 0;
}

#sidebar li:before {
  content: none;
  padding: 0;
}

.current-menu-item {
  font-weight: bold;
  color: #fff;
}

#sidebar a:hover {
  color: #fff;
}

#sidebar nav.secondary h2 {
  font-size: inherit;
  color: #fff;
  padding: 0 20px 15px 20px;
  border-bottom: 1px solid #8b8c91;
}

#sidebar nav.primary li {
  padding: 2px 20px;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  #sidebar nav.primary li {
    padding: 5px 20px;
  }
}

#sidebar nav.secondary li {
  border-bottom: 1px solid #8b8c91;
}

#sidebar nav.secondary li a {
  display: block;
  padding: 15px 20px;
}

#sidebar nav.secondary li:hover {
  background: #1d2529;
  color: #fff;
}

/* Article Card Popout */
.article-card {
  position: absolute;
  background-color: #44484f;
  width: 225px;
  height: auto;
  right: 0;
  bottom: 0;
  padding-bottom: 20px;
  border-left: 10px solid #ad5629;
  z-index: -1;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  .article-card {
    display: none;
  }
}

.article-card:hover {
  background-color: #1d2529;
}

#sidebar nav.secondary li:hover .article-card {
  right: 225px;
}

/*.article-card:after { To create point
	content: "";
    position: absolute;
    right: 0px;
    top: 0;
    width: 0;
    border-right: 15px solid #ad5629;
    border-bottom: 15px solid transparent;
} */

.article-card h4 {
  color: #ad5629;
  font-weight: bold;
  padding: 10px;
}

.article-card h5 {
  color: #fff;
  padding: 10px;
}

/* Toggle menu bar */
.menu-link {
  position: fixed;
  display: block;
  top: 0;
  right: 0;
  background: #7e775d;
  z-index: 600;
  width: 35px;
  height: 100%;
  padding: 35px 10px;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .menu-link {
    padding: 25px 11px;
  }
}

.menu-link:hover {
  background: #1d2529;
}
/* Prevent hover color on touch devices */
.touchevents .menu-link:hover {
  background: #7e775d;
}

/* Menu Button */
.menu-button {
  width: 20px;
  height: 14px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  text-indent: -9999px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.menu-button:hover {
  opacity: 0.4;
}

.menu-button .line1,
.menu-button .line2,
.menu-button .line3 {
  position: absolute;
  display: block;
  height: 1px;
  width: 18px;
  transition: all 0.3s ease-in-out;
  backface-visibility: hidden; /* Prevent transition flicker */
}

.menu-button .line1,
.menu-button .line3 {
  background-color: #ffffff;
}

.menu-button .line2 {
  background-color: transparent;
}

.menu-button .line1 {
  top: 0;
  transform: translate(0, -50%);
}
.menu-button .line2 {
  top: 50%;
  transform: translate(0, -100%);
}
.menu-button .line3 {
  bottom: 0;
  transform: translate(0, -50%);
}

/* Active */
.menu-link.active .menu-button .line1 {
  top: 50%;
  transform: translate(0, -50%) rotate(45deg);
}
.menu-link.active .menu-button .line2 {
  background-color: transparent;
}

.menu-link.active .menu-button .line3 {
  bottom: 50%;
  transform: translate(0, 50%) rotate(-45deg);
}

/* Transition animations */
#sidebar,
.article-card {
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -ms-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
main {
  width: 100%;
  padding: 50px 0 0 0;
  height: auto;
  margin-bottom: -40px; /* Match height of footer */
}

main:after {
  /* To push down sticky footer */
  content: "";
  display: block;
  height: 40px; /* Match height of footer */
}

/* ==========================================================================
   Footer
   ========================================================================== */
.end {
  height: 240px;
  background-color: #cb9562;
}

.end #kmp-logo {
  margin-left: calc(50% - 100px);
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .end {
    height: 190px;
  }
  .end #kmp-logo {
    margin-left: calc(50% - 70px);
  }
}

/* Mailing list - Added 07/08/18 */

/* Link in sidebar */
.mailing-list-link {
  cursor: pointer;
}

form.mailing-list {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid #888d91;
  color: #fff;
  background-color: #212e37;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/* Heading */
form.mailing-list header {
  margin-bottom: 50px;
}

form.mailing-list header h2 {
  font-family: "LydianBT-Roman", "Times New Roman", Times, serif;
  font-size: 2.4em;
  letter-spacing: 1px;
}

form.mailing-list header h4 {
  color: #888d91;
}

/* Inputs */
form.mailing-list .inputs-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
}

form.mailing-list input {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: #fff;
  border-bottom: 1px solid #fff;
  margin: 0 10px 15px;
  padding-bottom: 10px;
  max-width: calc(
    33% - (150px / 2)
  ); /* One third minus button width divided between gutters */
  flex-grow: 1;
  font-size: 1.05em;
  font-family: "Aller-Light", Helvetica, Arial, sans-serif;
}

form.mailing-list input:focus {
  box-shadow: none;
  outline: none;
}

/* Placeholders */
form.mailing-list input:placeholder {
  color: #7e775d;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

/* When form is being used */
form.mailing-list:focus-within {
  background-color: #1d2529;
}

/* Button */
form.mailing-list button {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  color: #fff;
  border: 1px solid #7e775d;
  padding: 10px 30px;
  margin: 0 10px 15px;
  min-width: 150px;
  font-size: 1.05em;
  font-family: "Aller-Light", Helvetica, Arial, sans-serif;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

form.mailing-list button:hover {
  background: #7e775d;
}

/* Messages */
form.mailing-list .disclaimer,
form.mailing-list .email-octopus-success-message,
form.mailing-list .email-octopus-error-message {
  text-align: left;
  color: #888d91;
  margin: 2px 10px;
  width: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

form.mailing-list .email-octopus-success-message {
  color: #fff;
  opacity: 0;
}

form.mailing-list .email-octopus-error-message {
  color: #cc3333;
  opacity: 0;
}

/* Adjustments for responsive */
@media only screen and (max-width: 1024px) {
  form.mailing-list .inputs-wrapper {
    width: 100%;
  }

  form.mailing-list input,
  form.mailing-list button {
    width: 100%;
    max-width: calc(50% - 22px);
  }
}

@media only screen and (max-width: 414px) {
  form.mailing-list input,
  form.mailing-list button {
    width: 100%;
    max-width: none;
  }
}

/* End Mailing list */

footer {
  width: 100%;
  height: auto;
  color: #fff;
  background-color: #212e37;
  position: relative;
  z-index: 4;
}

.copyright {
  color: #888d91;
}

.bullet {
  text-align: center;
  font-family: "LydianBT-Roman", "Times New Roman", Times, serif;
  font-size: 3.5em;
  line-height: 0;
  margin: 10px 0;
}

.scroll-up {
  float: right;
  margin-right: 20px;
  cursor: pointer;
  color: #888d91;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  /* Don't stack in the footer */
  .bullet {
    display: none;
  }
  .scroll-up {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 100%;
  }

  footer .unit.four-tenths,
  footer .unit.two-tenths {
    width: 100%;
    text-align: center;
    padding-right: 0;
  }
}

/* ==========================================================================
   Hero Image
   ========================================================================== */
#hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  margin-left: 0;
  overflow: hidden;
  background-color: #1d2529;
}

#hero-image img {
  opacity: 1;
  position: absolute;
  height: auto;
  bottom: 0;
  min-height: 100%;
  height: auto;
  min-width: 100%;
  width: auto;
  left: 50%; /* Keep centred */
  transform: translateX(-50%); /* Keep centred */
  -webkit-transform: translateX(-50%); /* Keep centred */
  -moz-transform: translateX(-50%); /* Keep centred */
}

@media only screen and (max-height: 1024px) {
  #hero-image img {
    top: 0;
  }
}

#hero-video {
  width: 100%;
  height: 100%;
  z-index: 0;
  position: absolute !important;
}

#kmp-logo {
  width: 200px;
  height: 200px;
  text-indent: -9999px;
  top: 20px;
  position: absolute;
  opacity: 0; /* Hide Initially */
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  #kmp-logo {
    width: 140px;
    height: 140px;
  }
}

@media only screen and (min-width: 0px) and (max-width: 320px) {
  header #kmp-logo {
    display: none;
  }
  .page-id-2786 header #kmp-logo {
    display: block !important;
  }
}

a#kmp-logo {
  border: 0;
  padding: 0;
}

/* SVG fill colours */
header #KMP,
header #radial-top,
header #radial-bottom {
  fill: white;
}

.end #KMP,
.end #radial-top,
.end #radial-bottom {
  fill: black;
}

#hero-image footer {
  opacity: 1;
  position: absolute;
  height: auto;
  bottom: 30px;
  background: none;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  #hero-image footer {
    bottom: 0;
  }
}

#hero-image footer h2 p {
  width: 100%;
  margin-right: 0;
}

.scroll-down {
  cursor: pointer;
  border-top: 1px solid #fff;
  font-weight: bold;
  padding-top: 15px;
  margin-top: 35px;
  display: inline-block;
  opacity: 0.5;
  -webkit-transition: all 2s ease;
  -moz-transition: all 2s ease;
  -ms-transition: all 2s ease;
  -o-transition: all 2s ease;
  transition: all 2s ease;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .scroll-down {
    padding-top: 5px;
    margin-top: 20px;
  }
}

.scroll-down:before {
  content: "\003E";
  float: left;
  top: 0;
  padding: 6px 6px 0 0;
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
  transform: rotate(90deg);
}

.scroll-down:hover {
  opacity: 1;
  padding-bottom: 20px;
}

/* Gradient image overlays */
.gradient-overlay:before,
.gradient-overlay:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gradient-overlay:before {
  z-index: 2;
}
.gradient-overlay:after {
  z-index: 1;
}

.gradient-overlay:before {
  background: -moz-linear-gradient(
    bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
  background: -webkit-linear-gradient(
    bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
  background: -o-linear-gradient(
    bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
  background: -ms-linear-gradient(
    bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.gradient-overlay:after {
  background: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: -o-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: -ms-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

/* ==========================================================================
   Images
   ========================================================================== */
/* Video Thumbnails */
.aligncenter {
}

/* Small paragraph-width single images */
.alignright {
  width: 68.7%;
  float: right;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  .alignright {
    width: 100%;
  }
}

/* Large full-width single images */
.alignleft {
  width: 100%;
  float: left;
}

/* ==========================================================================
   Video
   ========================================================================== */
/* Vimeo Smart Embed */
.vimeo-wrapper {
  display: inline-block;
  position: relative;
  cursor: default;
  width: 100%;
}

.play-button {
  position: absolute;
  left: 30px;
  bottom: 30px;
  border-left: 10px solid #ad5629;
  background-color: #44484f;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

@media only screen and (min-width: 0px) and (max-width: 414px) {
  .play-button {
    left: 15px;
    bottom: 20px;
  }
}

.play-button:before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 27px;
  background: url(assets/images/ui-sprite.svg) no-repeat 0 0;
  background-size: 300px;
  margin-right: 10px;
  vertical-align: middle;
}

.play-button:after {
  content: "Play Video";
  vertical-align: baseline;
}

.play-button:hover {
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
  transform: scale(1.03);
}

/* ==========================================================================
   0.0 Map
   ========================================================================== */
.post-map {
  width: 100%;
  height: 600px;
  position: relative;
}

.pgm {
  height: 100%;
} /* Required to fill full height of .post-map */

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .pgm {
    width: 50%;
  }
}

.post-map-info {
  position: absolute;
  z-index: 1;
  background-color: #44484f;
  color: #fff;
  height: auto;
  width: 300px;
  right: 20px;
  top: 20px;
  padding: 15px;
  border-left: 10px solid #ad5629;
}

@media only screen and (min-width: 0px) and (max-width: 768px) {
  .post-map-info {
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
  }
}

/* ==========================================================================
   0.0 Selection
   ========================================================================== */
::selection {
  /* Safari */
  background: #cc3333;
  color: #ffffff;
}

::-moz-selection {
  /* Firefox */
  background: #cc3333;
  color: #ffffff;
}

* {
  /* Prevent touch actions asking for copy/paste etc */
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
