/*
Theme Name: O'Shea
Theme URI: http://paraform.co.uk
Description: O'Shea Website Template
Author: Paraform (@paraform)
Author URI: http://paraform.co.uk
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: _s
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

_s is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Typography
# Elements
# Layout
# Forms
# Navigation
- Links
- Menus
# Hompage
- Hero
- About
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
- Posts and pages
- Comments
# Infinite scroll
# Media
- Captions
- Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body {
    margin: 0;
    font-size: 16px;
    line-height: normal;
    font-weight: normal;
    color: #002F87;
    position: relative;
    top: 0;
    overflow-x: hidden;
    text-rendering: optimizeLegibility -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-content-zooming: none;
    -webkit-text-size-adjust: none;
    -moz-font-feature-settings: "ss01=1, kern=1";
    -moz-font-feature-settings: "ss01", "kern";
    -ms-font-feature-settings: "ss01", "kern";
    -webkit-font-feature-settings: "ss01", "kern";
    font-feature-settings: "ss01", "kern";
}

body,
button,
input,
select,
optgroup,
textarea {
    color: #002F87;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

h1 {}

h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 32px;
    margin: 20px 40px 20px 40px;
}

h3 {
    display: inline-block;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-bottom: 1px;
}

h3 {
    display: inline-block;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-bottom: 1px;
}

h4 {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 24px;
    -webkit-margin-before: 0.8em;
    -webkit-margin-after: 0.6em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

h5 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 69px;
    color: #ffffff;
    line-height: 66px;
}

p {
    margin-bottom: 0;
}

p.two-column {
    column-count: 2;
    text-align: left;
}

p.three-column {
    column-count: 3;
    text-align: left;
}

@media only screen and (max-width: 700px) {
    p.two-column {
    column-count: 1;
    text-align: left;
    }

    p.three-column {
        column-count: 1;
        text-align: left;
    }
}

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

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

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

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

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

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

big {
    font-size: 125%;
}

@media screen and (max-width: 700px) {
    h2 {
        font-size: 22px;
        font-weight: 300;
        line-height: 27px;
        margin: 10px 10px 20px 10px;
    }
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

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

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

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

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

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

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

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

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

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

/*  SECTIONS  */

.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

.wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/*  SECTIONS  */

.row {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */

.col {
    display: block;
    float: left;
    margin: 1% 0 1% 1%;
}

.col:first-child {
    margin-left: 0;
}

/*  GROUPING  */

.group:before,
.group:after {
    content: "";
    display: table;
}

.group:after {
    clear: both;
}

.group {
    zoom: 1;
    /* For IE 6/7 */
}

/*  GRID OF TWELVE  */

.col.twelve {
    width: 100%;
}

.col.eleven {
    width: 91.58%;
}

.col.ten {
    width: 83.16%;
}

.col.nine {
    width: 74.75%;
}

.col.eight {
    width: 66.33%;
}

.col.seven {
    width: 57.91%;
}

.col.six {
    width: 49.5%;
}

.col.five {
    width: 41.08%;
}

.col.four {
    width: 32.66%;
}

.col.three {
    width: 24.25%;
}

.col.two {
    width: 15.83%;
}

.col.one {
    width: 7.416%;
}

.col.six.split {
    column-count: 2;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */

@media only screen and (max-width: 850px) {
    .col.six {
        width: 100%;
    }
}

@media only screen and (max-width: 550px) {
    .col {
        margin: 1% 0 1% 0%;
    }

    .col.one,
    .col.two,
    .col.three,
    .col.four,
    .col.five,
    .col.six,
    .col.seven,
    .col.eight,
    .col.nine,
    .col.ten,
    .col.eleven,
    .col.twelve {
        width: 100%;
    }
    
    .col.six.split {
    column-count: 1;
}
}

.nopad {
    margin: 0 !important;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

.button {
    background: none;
    display: inline-block;
    font-size: 12px;
    font-weight: 300;
    width: auto;
    padding: 12px 40px;
    color: #002F87;
    border: 1px solid #002F87;
    text-align: center;
    outline: none;
    text-decoration: none;
    text-transform: uppercase;
    margin: 1em;
    letter-spacing: 1px;
    transition: all 0.5s ease;
}

.button:hover,
.button:focus {
    color: #FFFFFF;
    background: #002F87;
    border: 1px solid #002F87;
    transition: all 0.5s ease;
}

.button:active {
    color: #002F87;
    background: none;
    border: 2px solid #002F87;
    transition: all 0.5s ease;
}

.button a {
    color: #002F87;
}

.button a:hover {
    color: #FFFFFF !important;
}

.button a:active {
    color: #002F87 !important;
}

.button.inversed {
    background: none;
    display: inline-block;
    font-size: 12px;
    font-weight: 300;
    width: auto;
    padding: 12px 40px;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    text-align: center;
    outline: none;
    text-decoration: none;
    text-transform: uppercase;
    margin: 1em;
    letter-spacing: 1px;
    transition: all 0.5s ease;
}

.button.inversed:hover,
.button.inversed:focus {
    color: #FFFFFF;
    background: #002F87;
    border: 1px solid #002F87;
    transition: all 0.5s ease;
}

.button.inversed:active {
    color: #002F87;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    transition: all 0.5s ease;
}

.button.inversed a {
    color: #FFFFFF;
}

.button.inversed a:hover {
    color: #FFFFFF !important;
}

.button.inversed a:active {
    color: #002F87 !important;
}

.more {
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    height: auto;
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--- LINKS ---*/

a {
    color: #002F87;
    text-decoration: none;
}

a:visited {
    color: #002F87;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #FFD13F;
    text-decoration: none;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

a:focus {
    outline: thin dotted;
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.header {
    z-index: 999;
    height: auto;
    width: 100%;
    top: 0;
    position: fixed;
}

.main {
    background: rgba(0, 47, 135, 1);
    height: 70px;
    position: fixed;
    top: 0;
    transition: top 0.2s ease-in-out;
    width: 100%;
    z-index: 999;
}

.main-up {
    top: -85px;
}

.main-fix {
    top: 0 !important;
}

.main-logo {
    float: left;
    position: relative;
    width: auto;
    height: 100%;
}

.main-logo img {
    height: 34px;
    float: left;
    position: relative;
    width: auto;
    margin: 18px;
}

.main-menu {
    color: #ffffff;
    height: 100%;
    float: right;
    position: relative;
    width: auto;
}

.main-menu ul {
    margin: 0;
}

.main-menu li {
    display: inline-block;
}

.menu-links {
    display: inline-block;
    line-height: 7px;
    position: relative;
    padding: 10px 20px;
    margin: 16px 0;
    height: auto;
    width: auto;
    z-index: 3;
    float: left;
}

.menu a {
    color: #FFFFFF !important;
    display: block;
    margin: 0 16px;
    padding: 6px 2px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
}

.menu a:hover {
    color: #FFD13F !important;
    text-decoration: none;
}

.menu a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.menu-toggle {
    display: block;
    position: relative;
    padding: 26px 26px;
    height: auto;
    z-index: 3;
    cursor: pointer;
    text-align: center;
    float: right;
    margin-left: 20px;
}

.toggle-active {
    background: #F7F7FA;
}

.menu-toggle .bar {
    background-color: #fff;
    display: block;
    width: 25px;
    height: 2px;
    border: 0;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
    margin-bottom: 4px;
    float: none;
}

.menu-toggle .bar.hover {
    background-color: #FFD13F;
}

.menu-toggle .bar + .bar {
    margin-top: 4px;
}

.menu-toggle .bar.middle {
    top: 11px;
}

.menu-toggle .bar.bottom {
    top: 22px;
}

.toggle-active .bar {
    background-color: #002F87;
}

.toggle-active .top {
    -webkit-transform: translateY(6px) translateX(0) rotate(45deg);
}

.toggle-active .middle {
    opacity: 0;
}

.toggle-active .bottom {
    -webkit-transform: translateY(-6px) translateX(0) rotate(-45deg);
}

.tray {
    position: fixed;
    background: #F7F7FA;
    display: flex;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 0;
    visibility: hidden;
    opacity: 0.6;
    -webkit-flex-direction: column;
    flex-direction: column;
    transition: opacity .35s;
    -webkit-transition: opacity .35s;
}

.tray-down {
    color: #fff;
    opacity: 1;
    visibility: visible;
    height: auto;
    margin-top: 70px;
    right: 0 !important;
    width: auto;
    display: inline-table;
    margin-right: 0;
    left: auto;
    padding: 20px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.tray ul {
    margin: 0;
    line-height: 7px;
    position: relative;
    padding: 0;
    margin: 0;
    height: auto;
    width: auto;
    z-index: 3;
    float: right;
    color: #002F87;
    display: inline-block;
    clear: right;
}

ul.sub-menu li {
    float: left;
    clear: left;
}

.tray li {
    display: inline-block;
    margin: 0;
    padding: 0;
    float: left;
}

.tray a:hover {
    color: #FFD13F !important;
}

.tray-menu a {
    color: #002F87 !important;
    display: block;
    margin: 0 2.6vw;
    padding: 6px 2px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
}

.tray-menu a:hover {
    color: #FFD13F !important;
    text-decoration: none;
}

.tray-menu a:visited {
    color: #002F87;
    text-decoration: none;
}

.tray-mobile ul {
    padding-top: 5vh;
}

.tray-mobile li {
    width: 100%;
    text-align: center;
    padding: 5vw;
}

.tray-mobile a {
    font-size: 8vw;
}

.planthire {
    border-bottom: 1px solid #002F87;
    border-top: 1px solid #002F87;
}

li.planthire {
    margin-top: 40px;
}

.pad {
    padding-top: 70px !important;
}

@media screen and (max-width: 700px) {

    .tray-down {
        height: 100vh;
    }

}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
    font-size: 14px;
    text-align: left;
}

.footer ul {
    padding: 0;
    margin: 0;
}

.footer li {
    list-style: none;
    font-size: 14px;
    text-decoration: underline;
    line-height: 1.5;
}

.footer a {
    margin: 0;
    padding: 0;
}

.footer-links {
    background: #002F87;
    color: #ffffff;
    padding: 20px 2%;
}

p.footer-address {
    margin: 0;
}

.footer-legal {
    background: #F3F5F9;
    color: #002F87;
    padding: 0 2%;
}

a.footer-mail {
    color: #FFFFFF;
    display: block;
}

a.footer-mail:hover {
    color: #FFD13F;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.footer-logo {
    float: left;
    position: relative;
    width: auto;
    height: 100%;
}

.footer-logo img {
    height: 34px;
    position: relative;
    width: auto;
    margin: 0;
}

.footer p.copyright {
    font-size: 12px;
}

ul.footer-certificates {
    padding-top: 7px;
    float: right;
}

li.footer-certificates {
    text-align: left;
    list-style: none;
    display: inline-block;
    width: 50px;
}

@media screen and (max-width: 850px) {
    .footer {
        text-align: center;
    }
    .footer-logo {
        float: none;
        padding-bottom: 20px;
    }
}

/*--------------------------------------------------------------
# Homepage
--------------------------------------------------------------*/

/*--- HERO ---*/

.hero {
    position: relative;
    z-index: 1;
    min-height: 450px;
}

.hero-link a {
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
}

.hero-link a:hover {
    color: #FFD13F;
    text-decoration: none;
}

.hero-link a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.hero-heading-top {
    font-size: 80px !important;
    width: 85% !important;
	text-shadow: 2px 2px 13px rgba(0,0,0,0.3);
}

@media screen and (max-width: 1150px) {
    .hero-heading-top {
        font-size: 60px !important;
        width: 85% !important;
    }
}

@media screen and (max-width: 850px) {
    .hero-heading-top {
        font-size: 50px !important;
        width: 85% !important;
    }
}

@media screen and (max-width: 550px) {
    .hero-heading-top {
        font-size: 40px !important;
        width: 85% !important;
    }
}



/*--- ABOUT ---*/

.headline {
    background: #F7F7FA;
    height: auto;
    width: 85vw;
    top: -60px;
    position: relative;
    z-index: 2;
    padding: 24px 48px;
    margin: 0 auto -60px;
    max-width: 1200px;
    text-align: center;
}

.headline-double {
    background: #f7f7fa;
    height: auto;
    width: 85vw;
    top: -60px;
    position: relative;
    z-index: 2;
    padding: 24px 48px;
    margin: 0 auto -60px;
    max-width: 1200px;
    text-align: center;
    min-height: 400px;
}

@media screen and (max-width: 850px) {
    .headline-double {
        padding: 24px 30px;
		min-height: 700px;
    }

}

.heading-line {
    height: 0px;
    border-top: 3px solid #002F87;
    width: 50px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.midline {
    background: #F7F7FA;
    height: auto;
    width: 85vw;
    position: relative;
    z-index: 2;
    padding: 24px 48px;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

@media screen and (max-width: 850px) {
    .headline {
        padding: 24px 30px;
    }

}

.about-content {
    height: auto;
    width: 85vw;
    position: relative;
    z-index: 2;
    padding: 40px 48px;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

.about-hero {
    width: 100%;
    height: 28vw;
    position: relative;
    background: rgba(0, 47, 135, 1);
    min-height: 450px;
}

.about-hero__image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    position: absolute;
    border-bottom: 5px solid #FFD13F;
}

.about-services {
    height: auto;
    width: 85vw;
    position: relative;
    z-index: 2;
    padding: 40px 0 0 0;
    margin: 20px auto 0 auto;
    max-width: 1200px;
    text-align: center;
}

.service-item {
    display: inline-grid;
    width: calc(100% - 15px);
    height: auto;
    overflow: hidden;
    position: relative;
    margin: 0 7.5px 30px 7.5px;
}

.service-item p {
    margin: 0 0 20px 0;
}

@media screen and (max-width: 600px) {
    .service-item {
        width: 100%;
        margin: 0 0px 30px 0px;
    }
}

.service-info {
    display: inline-block;
}

.service-intro {
    padding-bottom: 30px;
}

.service-row {
    position: relative;
    width: 100%;
    height: auto;
    float: left;
}

.service-list {
    text-align: center;
    position: relative;
    float: left;
    width: 50%;
    padding: 30px 0 0 0;
}

@media screen and (max-width: 850px) {
    .service-list {
        width: 100%;
    }
}

.service-list p {
    margin-bottom: 20px;
}

.service-list ul {
    display: inline-block;
    width: 100%;
    float: left;
    padding-left: 0;
    margin: 0 0 1.5em 0;
}

.service-list li {
    font-size: 0.9em;
    list-style-position: inside;
}

/*--- PROJECTS ---*/

.projects {
    height: auto;
    width: 85vw;
    z-index: 2;
    padding: 0;
    margin: 20px auto 0 auto;
    max-width: 1200px;
    text-align: center;
}

.projects-grid {
    max-width: 1200px;
}

.projects-container {
    margin: 40px -15px 0 -15px;
}

/* clear fix */

.projects-grid:after {
    content: '';
    display: block;
    clear: both;
}

.project-item {
    display: inline-block;
    width: calc(49% - 15px);
    height: 440px;
    background-color: #fefefe;
    overflow: hidden;
    position: relative;
    margin: 0 7.5px 30px 7.5px;
    border-bottom: 2px solid #002F87;
}

.project-image {
    width: 100%;
    height: 370px;
    border-bottom: 1px solid #002F87;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover !important;
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
    position: relative;
    background-size: 110%;
    -ms-transform: scale(1);
    transform: scale(1);
}

.project-image:after {
    transition: 4s;
    -webkit-transition: 4s;
    -moz-transition: 4s;
    -ms-transition: 4s;
    -o-transition: 4s;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 10;
}

.project-details {
    padding: 0;
    position: relative;
}

.project-heading {
    text-align: left;
}

.project-heading a {
    text-decoration: none;
}

.project-link {
    cursor: default;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    position: absolute;
    margin: 0 auto;
    opacity: 0;
    text-align: center;
    left: 0;
    right: 0;
    top: 38%;
    z-index: 100;
}

.project-tags {
    border-top: 1px solid #002F87;
}

.project-tags ul {
    list-style: none;
    display: inline-block;
    margin: 0;
    padding: 10px 0;
    float: left;
}

.project-tags li {
    display: inline-block;
    text-align: left;
    padding-right: 25px;
    font-size: 12px;
}

.project-item li {
    padding-top: 30px;
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
    font-size: 12px;
}

.project-item:hover .project-link {
    opacity: 1;
}

.project-item:hover li {
    padding-top: 5px;
}

.project-item:hover .project-image {
    height: 320px;
    background-size: 120%;
}

.project-item:hover .project-image:after {
    opacity: 0.8;
}

.project-item:focus .project-link {
    opacity: 1;
}

.project-item:focus li {
    padding-top: 5px;
}

.project-item:focus .project-image {
    height: 320px;
    background-size: 120%;
}

.project-item:focus .project-image:after {
    opacity: 0.8;
}

@media screen and (max-width: 1150px) {
    .project-item {
        height: 320px;
    }
    .project-image {
        height: 250px;
    }
    .project-item:hover .project-image {
        height: 200px;
    }
    .project-item:focus .project-image {
        height: 200px;
    }
    .project-link {
        top: 32%;
    }

}

@media screen and (max-width: 850px) {
    .project-item {
        height: 440px;
        width: calc(100% - 15px);
    }
    .project-image {
        height: 370px;
    }
    .project-item:hover .project-image {
        height: 320px;
    }
    .project-item:focus .project-image {
        height: 320px;
    }
    .project-link {
        top: 38%;
    }

}

@media screen and (max-width: 550px) {
    .project-item {
        height: 320px;
        width: calc(100% - 15px);
    }
    .project-image {
        height: 250px;
    }
    .project-item:hover .project-image {
        height: 200px;
    }
    .project-item:focus .project-image {
        height: 200px;
    }
    .project-link {
        top: 32%;
    }

}

.formfront {
    position: absolute;
    z-index: 999999;
}

/*--- NEWS ---*/

.news {
    height: auto;
    width: 85vw;
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 20px auto;
    max-width: 1200px;
    text-align: center;
}

.news-container {
    margin: 40px 0 20px 0;
    text-align: left;
}

@media screen and (max-width: 850px) {
    .news-container {
        text-align: center;
    }
}

.news-item {
    display: inline-block;
    height: 370px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.news-image {
    width: 100%;
    height: 370px;
    background-repeat: no-repeat;
    background-position: center !important;
    background-size: cover !important;
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
    position: relative;
    background-size: 110%;
}

.news-image:hover {
    transition: 2s;
    -webkit-transition: 2s;
    -moz-transition: 2s;
    -ms-transition: 2s;
    -o-transition: 2s;
    width: 100%;
    height: 370px;
    -ms-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
    opacity: 0.6;
}

.news-image:after {
    background-color: rgba(0, 0, 0, 1);
}

.news-text {
    font-weight: 100;
    padding-left: 10px;
}

.news-text h4 {
    margin-top: 0;
}

.news-article {
    width: 85vw;
    height: auto;
    position: relative;
    margin: 0 auto;
    text-align: center;
    max-width: 1200px;
    padding-top: 40px;
}

article {
	clear: both;
}



@media screen and (max-width: 1150px) {
    .news-item {
        height: 250px;
    }
    .news-image {
        height: 250px;
    }
    .news-image:hover {
        height: 250px;
    }
}

@media screen and (max-width: 850px) {
    .news-item {
        height: 370px;
        =
    }
    .news-image {
        height: 370px;
    }
    .news-image:hover {
        height: 370px;
    }
}

@media screen and (max-width: 550px) {
    .news-item {
        height: 250px;
        =
    }
    .news-image {
        height: 250px;
    }
    .news-image:hover {
        height: 250px;
    }
}

/*--------------------------------------------------------------
# Archive Pages
--------------------------------------------------------------*/

.projects-filter {
    margin: 40px auto;
    height: auto;
    width: 100%;
}

ul#filters {
    margin: 0;
    padding: 0;
}

.projects-filter li {
    display: inline-block;
    text-align: center;
    padding-right: 40px;
}

input[type="search"] {
    color: #002f87;
    background: none;
    border-bottom: 1px solid #002f87;
    border-radius: 0;
    padding: 8px;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    margin-bottom: 20px;
    width: 30%;
    transition: 1.4s;
    -webkit-transition: 1.4s;
    -moz-transition: 1.4s;
    -ms-transition: 1.4s;
    -o-transition: 1.4s;
}

input[type="search"]:active,
input[type="search"]:focus {
    width: 50%;
    transition: 1.4s;
    -webkit-transition: 1.4s;
    -moz-transition: 1.4s;
    -ms-transition: 1.4s;
    -o-transition: 1.4s;
}

:focus {
    outline: -webkit-focus-ring-color auto 0px;
}


@media screen and (max-width: 670px) {
    .projects-filter li {
        display: block;
        padding-right: 0;
    }

    input[type="search"] {
        width: 45%;
    }
}

/*--------------------------------------------------------------
# Single Pages
--------------------------------------------------------------*/

/*--- PROJECTS ---*/

.single-hero {
    width: 100%;
    height: 62vw;
    position: relative;
    background: rgba(0, 47, 135, 1);
    min-height: 450px;
}

.single-hero__image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    position: absolute;
    border-bottom: 5px solid #FFD13F;
}

.single-hero__header {
    top: 120px;
    left: 74.34px;
    margin: 0px;
    padding: 0px;
    font-size: 49.3071px;
    transform-origin: 50% 50% 0px;
    position: absolute;
    width: 50%;
	text-shadow: 2px 2px 13px rgba(0,0,0,0.5);
}

.single-gallery {
    height: auto;
    width: 85vw;
    z-index: 2;
    padding: 0;
    margin: 80px auto 0 auto;
    max-width: 1200px;
    text-align: center;
}

.single-item {
    display: inline-block;
    width: calc(49% - 15px);
    height: 400px;
    background-color: #fefefe;
    overflow: hidden;
    position: relative;
    margin: 0 7.5px 15px 7.5px;
}

.single-image {
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover !important;
    position: relative;
}

.single-info {
    background: #002F87;
    color: #ffffff;
    height: auto;
    width: 85vw;
    position: relative;
    z-index: 2;
    margin: 0 auto -60px;
    max-width: 1200px;
    text-align: center;
}

.single-info ul {
    margin: 0;
    padding: 0 0 0 10px;
}

.single-info__address {
    font-size: 22px;
    text-align: left;
    list-style: none;
}

.single-info__title {
    padding-top: 10px;
    font-size: 12px;
    text-align: left;
    list-style: none;
}

.single-info__details {
    font-size: 12px;
    text-align: left;
    list-style: none;
}

@media screen and (max-width: 850px) {
    .single-item {
        width: 100%;
        margin: 0 0px 30px 0px;
    }
}

@media screen and (max-width: 600px) {
    h5 {
    font-size: 50px;
    line-height: 52px;
}
    .single-hero__header {
    left: 5vw;
}
    .single-info ul {
    padding: 20px;
}
    .single-info__address {
    text-align: center;
}
    .single-info__title {
    text-align: center;
}
    .single-info__details {
    text-align: center;
}
}

/*--- POSTS ---*/

.post-item {
    display: inline-block;
    width: calc(49% - 15px);
    height: auto;
    background-color: #fefefe;
    overflow: hidden;
    position: relative;
    margin: 0 7.5px 15px 7.5px;
}

.post-image {
    width: 100%;
    height: auto;
    position: relative;
}

.post-image img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 850px) {
    .post-item {
        width: 100%;
        margin: 0 0px 30px 0px;
    }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

.contact-hero {
    width: 100%;
    height: 28vw;
    position: relative;
    background: rgba(0, 47, 135, 1);
    min-height: 450px;
}

.contact-hero.nobg {
    background: none;
}

.map-contact {
    position: absolute;
    width: 100%;
    height: 100%;
}

.contact-content {
    height: auto;
    width: 85vw;
    position: relative;
    z-index: 2;
    padding: 40px 48px;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

/*--------------------------------------------------------------
# Standards
--------------------------------------------------------------*/

.standards-content {
    width: 85vw;
    height: auto;
    position: relative;
    margin: 0 auto;
    text-align: center;
    max-width: 1200px;
    padding: 20px 0;
}

.standards-content h3 {
    padding-top: 40px;
}

.heading-line.stand {
    padding-bottom: 50px;
}

.standards-content ul {
    list-style-position: inside;
}

.standards-content ol {
    list-style-position: inside;
}

.standards-images {
    margin: 60px 0 0 0;
}

.standards-item {
    display: inline-block;
    width: calc(15% - 15px);
    height: auto;
    background-color: #fefefe;
    overflow: hidden;
    position: relative;
    margin: 0 7.5px 15px 7.5px;
}
.standards-image {
    width: 100%;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain !important;
    position: relative;
}

@media screen and (max-width: 600px) {
.standards-item {
    width: calc(30% - 15px);
    }
}

/*--------------------------------------------------------------
# Plant Hire
--------------------------------------------------------------*/


.downloads {
    height: auto;
    width: 85vw;
    position: relative;
    z-index: 2;
    padding: 0 48px;
    margin: 20px auto 0 auto;
    max-width: 1200px;
    text-align: center;
}

.downloads ul {
    margin: 0;
    padding: 0;
}

.downloads li {
    list-style: none;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

/*--------------------------------------------------------------
# WP Video
--------------------------------------------------------------*/

.wp-video {
    max-width: 100%;
    height: auto;
    margin: 40px 0;
}
.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
	width: 100% !important;
	height: 100% !important;
}
.mejs-container {
	padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
	max-width: 100% !important;
}
video.wp-video-shortcode {
	position: relative;
}
.mejs-mediaelement {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.mejs-controls {
	display: none;
}
.mejs-overlay-play {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto !important;
	height: auto !important;
}

/*--------------------------------------------------------------
# Google Maps
--------------------------------------------------------------*/

.acf-map {
    width: 100%;
    min-height: 240px;
    border: #ccc solid 1px;
    margin: 0;
    height: 100%;
}

/* fixes potential theme css conflict */

.acf-map img {
    max-width: inherit !important;
}

.map-page {
    width: 100%;
    height: 400px;
    position: relative;
}

.map-single {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-image {
    overflow: hidden;
}

.map-image img {
    width: 100%;
}

.marker {
    display: none
}

#map {
    height: 400px;
    width: 100%;
}

#legend {
    font-family: Arial, sans-serif;
    background: #fff;
    padding: 10px;
    margin: 10px;
    border: 3px solid #000;
}

#legend h3 {
    margin-top: 0;
}

#legend img {
    vertical-align: middle;
}

.map-key {
    height: 83px;
    width: 100%;
    border-top: 1px solid #dddddd;
    margin-top: 20px;
    z-index: 999;
}

.map-key.projectkey {
    margin: 0;
}

.key-item {
    width: 147px;
    height: 40px;
    padding: 0;
    margin: 0 auto;
}

.key-icon {
    width: 30px;
    margin: 0 auto;
    position: relative;
    float: left;
    padding: 19px 0;
}

.key-text {
    width: 117px;
    padding: 15px 0;
    float: left;
    margin: 0 auto;
    line-height: 0px;
    padding-left: 13px;
}

@media screen and (max-width: 550px) {
.map-key {
    height: 209px;
}
}

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

label {
    margin: 0 15px;
}

/*--------------------------------------------------------------
# Master Slider
--------------------------------------------------------------*/

.ms-container {
    background: rgba(0, 47, 135, 1);
    border-bottom: 5px solid #FFD13F;
}

.ms-bullets.ms-dir-h {
    width: 232px !important;
    bottom: 80px !important;
}

.ms-skin-default .ms-bullet {
    background-size: 152px 225px !important;
    border-bottom: 5px solid #FFD13F !important;
    width: 50px !important;
    height: 0px !important;
    margin: 4px !important;
    background-position: -34px -117px !important;
}

.ms-bullet.ms-bullet-selected {
    border-bottom: 5px solid #FFFFFF !important;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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-size: 0.875rem;
    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. */
}

/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

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

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.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;
    table-layout: fixed;
}

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
    margin: 0 0 1.5em;
    /* Make sure select elements fit in widgets. */
}

.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}

/* Make sure logo link wraps around logo image. */

.custom-logo-link {
    display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}



/*------------------------------------*\
FIX THIS
\*------------------------------------*/

/*------------------------------------*\

\*------------------------------------*/

/*------------------------------------*\

\*------------------------------------*/

/*------------------------------------*\

\*------------------------------------*/

/**
* WordPress specific base styles.
*/

.gm-style img {
    max-width: none;
}

.media img,
.media video,
.media object,
.media iframe {
    width: 100%;
    height: auto;
}

/* Make WordPress media inserted to post behave correctly */

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.alignnone {
    display: inline-block;
}

.aligncenter {
    display: block;
    margin: 20px auto;
    clear: both;
    text-align: center;
}

/* Make a 404 page look nicer and more readable */

.error404 {
    text-align: center;
}

.error404 ul {
    text-align: left;
}

.navigation.pagination {
    clear: both;
}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

.desktop {
    display: block;
}

.mobile {
    display: none;
}


/*  670px */

@media only screen and (max-width: 700px) {

    /* ---------
    Device Hide
    ----------*/
    .desktop {
        display: none !important;
    }
    .mobile {
        display: block !important;
    }

}


/*------------------------------------*\
PRINT
\*------------------------------------*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
