/*
Theme Name: Elsid
Theme URI: http://www.barques.co.uk
Author: David Elliott
Author URI: http://www.barques.co.uk
Description: A theme based on barquesbase.
Version: 1.1
License: GNU General Public License
License URI: license.txt
Text Domain: bbase
Domain Path: /languages/
*/

/* =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 {
    overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
    -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/ */
}

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;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
    outline: 0;
}

a img {
    border: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.video-container iframe, .video-container object, .video-container embed, .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =Global
----------------------------------------------- */

.group:after {
    content: '';
    clear: both;
    display: table;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: sans-serif;
    font-size: 10px;
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font-size: 1.2em;
}

.page {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    clear: both;
    padding-bottom: 10px;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

/* Text elements */
h1 {
    font-size: 2.4em;
}

h2 {
    font-size: 2.0em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.6em;
}

h5 {
    font-size: 1.4em;
}

h6 {
    font-size: 1.2em;
}

p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

ul, ol {
    margin: 0 0 1.5em 3em;

}

li {
    font-size: 1.2em;
}

ul li ul li {
    font-size: 1.0em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

b, strong {
    font-weight: bold;
}

dfn, cite, em, i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
    font-size: 1.2em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code, kbd, tt, var {
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark, ins {
    background: #fff9c0;
    text-decoration: none;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

small {
    font-size: 75%;
}

big {
    font-size: 125%;
}

figure {
    margin: 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

th {
    font-weight: bold;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

.wsite-multicol {
    font-size: 14px;
}

/* Links */
a {
    color: #783918;
}

.footer a {
    color: #FFF;
}

a:hover {
    color: #A26B4F;
}

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
    margin-bottom: 30px;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
    margin-bottom: 30px;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: '';
    display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*Nav*/

.nav-toggle {
    width: 50px;
    height: 50px;
    display: block;
}

.nav-toggle-open {
    background: url("img/menu.png") center center no-repeat;
    position: absolute;
    top: 10px;
    right: 10px;
}

.nav-toggle-close {
    background: url("img/close.png") center center no-repeat;
    position: absolute;
    top: 10px;
    right: 10px;
}

@media (max-width: 767px) {

    .main-navigation,
    .page-main {
        -webkit-transition: transform 0.3s ease;
        -moz-transition: transform 0.3s ease;
        -ms-transition: transform 0.3s ease;
        -o-transition: transform 0.3s ease;
        transition: transform 0.3s ease;
    }

    .main-navigation {
        position: fixed;
        width: 80%;
        height: 100%;
        overflow: scroll;
        top: 0;
        left: 0;
        background: black;
        padding: 20px;
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .main-navigation {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }

    body.nav-open .page-main {
        -webkit-transform: translateX(80%);
        -moz-transform: translateX(80%);
        -ms-transform: translateX(80%);
        -o-transform: translateX(80%);
        transform: translateX(80%);
    }

}

@media (min-width: 768px) {

    .main-navigation {
        position: absolute;
        right: 0;
    }

    .nav-toggle {
        display: none !important;
    }

}


/*Footer*/
footer {
    background: white;
    border-top: 5px solid black;
}

.footer-box {
    padding: 33px;
}

.footer-contact h5 {
    text-transform: uppercase;
}

.footer-social a {
    margin-right: 1em;
}

@media (min-width: 768px) {

    .footer-box {
        float: left;
        width: 20%;
    }

    .footer-contact {
        width: 40%;
    }

}

/* Simple content page */
.page-content {
    font-size: 15px;
  font-family: "Arial", sans-serif;
  color: #282828;
  font-weight: bold;
  text-align: left;
  padding: 30px 40px;
  background-image: url(img/carbon-bg.jpg);
}

/*Energy Page*/
.download-link-text {
  font-size: 15px;
  font-family: "Arial", sans-serif;
  color: #282828;
  font-weight: bold;
  text-align: left;
  padding: 30px 40px;
}
.download-link-text a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.download-link-text a:hover {
    box-shadow: 0 2px 0 0 black;
  }

.download-link-text p {
  margin-bottom: 10px;
}

.download-banner {
  position: relative;
  z-index: 2;
  /*height: 83px;*/
  background-size: contain;
  background-repeat: repeat-x;
  padding-left: 20px;
}

.download-banner img {
  margin-top: -6px;
  margin-bottom: -10px;
}

.hero {
  position: relative;
}

.hero::before {
    content: '';
    display: table;
    padding-bottom: 25%;
}

.hero h1 {
  position: absolute;
  left: 10%;
  bottom: 20%;
  width: auto;
  padding: 0;
  line-height: 1;
}

@media (max-width:320px) {
  .download-banner {
    padding-left: 12px;
    padding-right: 24px;
  }
  .download-banner img {
    margin-top: -4px;
    margin-bottom: -9px;
  }
}

@media (min-width: 768px) {
  .page-content, .download-link-text {
    font-size: 16px;
    line-height: 1.5;
    padding: 70px 120px;
  }

  .download-banner {
    padding-left: 9%;
  }
  .download-banner img {
    margin-bottom: -11px;
  }
}

@media (min-width: 1024px) {
  .page-content, .download-link-text {
    font-size: 18px;
    line-height: 1.945;
    padding: 70px 180px;
  }
  .download-banner img {
    margin-bottom: -12px;
  }
}
