
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

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

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

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    padding:0;
    margin:0;
}

.contentwrap {
    max-width:1200px;
    margin: 0 auto;
    position:relative;
    padding:0 20px;
}

img {
    border:none;
    max-width:100%;
    height:auto !important;
}

hr {
    max-width:600px;
    border-top:6px solid #808080;
}
a {
    color:#808080;
    text-decoration:none;
}

/*============ header ============*/

header.top {
    padding-bottom:9px;
    position:fixed;
    z-index: 10000;
    left: 0;
    right: 0;
    top: 0;
}
header.top .logo h1 {
    margin: 0 20px;
}
nav.main-menu {
    background:#ffffff;
    line-height:60px;
    text-align:right;
}
nav.main-menu .logo {
    float:left;
    padding:10px;
    line-height:40px;
}
nav.main-menu .logo > img {
    height: 40px !important;
    width: auto;
    vertical-align:bottom;
}
nav.main-menu .item {
    display:inline-block;
    margin: 0 15px;
    color:#dbdbdb;
}
nav.main-menu .item .label {
    color:#808080;
}
nav.main-menu .item a {
    text-decoration:none;
    color:inherit;
}
.js nav.main-menu {
    height:0;
    overflow:hidden;
    transition: height 500ms ease;
}
.js nav.main-menu img {
    opacity:0;
    transition: opacity 500ms ease;
    transition-delay:350ms;
}
.js header.top.sticky nav.main-menu {
    min-height:60px;
    height:auto;
}
.js header.top.sticky nav.main-menu img {
    opacity:1;
}
/*============ footer ============*/
footer.bottom {
    background:#ffffff;
    color:#000000;
    text-align:right;
}
footer.bottom .logo {
    width:250px;
    display:inline-block;
    margin:20px;
    line-height:normal;
}
footer.bottom .logo h1 {
    margin:0;
}
/** bykeo ***/
.bykeo {
    background:#000;
    color:#fff;
    display: block;
    text-align: center;
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
.bykeo a {
    color: grey;
    text-decoration:none;
}
.bykeo img {
    vertical-align: middle;
    display: inline-block;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.bykeo a:hover img{
    transform-origin: center;
    transform: translateX(-200%) rotate(-360deg);
}
/*============ index page/section ============*/
#content.overlay {
    position:relative;
    background-size:cover;
    background-position:center;
    color:#ffffff;
}
#content.overlay::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,0.5);
}
/*============ sub pages/sections ============*/
section > img {
    width:100%;
}
.page-wrap {
    background-size:cover;
}
.contacthtml > .page-wrap {
    padding:50px;
}
.page-content {
    padding: 20px; /* This stops margins pushing out of the container. */
}
.pagehtml .page-content {
    background:rgba(0,0,0,0.5);
    color:#ffffff;
}
.graphic-wrap {
    min-height:600px;
    min-height:67vw;
    width:100%;
    background-position:center;
    background-size:cover;
    color:#ffffff;
    font-size:5vw;
    position:relative;
}
.graphic-wrap .page-content {
    display:table-cell;
    vertical-align:middle;
    text-align:center;
}
.graphic-wrap.fixed {
    background-attachment:fixed;
}
.graphic-wrap > .overlay {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}
.graphic-wrap.has-content > .overlay {
    background: rgba(0,0,0,0.25);
    color:#ffffff;
}
.graphic-wrap .alignment-wrap {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    display:table;

}

.sliderhtml > .page-wrap,
.splitview,
.panel,
.panel .content {
    min-height:85vh;
}
.sliderhtml > .page-wrap {
    position:relative;
    width: 100%;
    overflow: hidden;
    padding:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-image {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.sliderhtml .page-content {
    position: relative;
    z-index: 100;
}
.splitview {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.panel {
    position: absolute;
    width: 100vw;
    overflow: hidden;
}

.panel .content {
    position: absolute;
    width: 100vw;
    color: #FFF;
}

.panel .description {
    width: 25%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.panel img {
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.15);
    width: 35%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.sliderhtml .bottom {
    background-color: rgb(44, 44, 44);
    z-index: 1;
}


.sliderhtml .top {
    background-color: rgb(44, 44, 44);
    z-index: 2;
    width: 50vw;
}



/* Handle. */
.sliderhtml .handle {
    height: 100%;
    position: absolute;
    display: block;
    background-color: #ffffff;
    width: 5px;
    top: 0;
    left: 50%;
    z-index: 3;
}

/* Skewed. */
.skewed .handle {
    top: 50%;
    transform: rotate(10deg) translateY(-50%);
    height: 200%;
    -webkit-transform-origin: top;
    -moz-transform-origin: top;
    transform-origin: top;
}

.skewed .top {
    transform: skew(-10deg);
    margin-left: -1000px;
    width: calc(50% + 1000px);
}

.skewed .top .content {
    transform: skew(10deg);
    margin-left: 1000px;
}
.sliderhtml .static-content {
    position:relative;
    z-index:9000;
    max-width: 960px;
    margin: 0 auto;
    text-align:center;
}

/*============ contact page/section ============*/
.page-wrap > .overlay {
    border-radius:10px;
    background: rgba(255,255,255,0.25);
    color:#000000;
}
.contact-details {
    display:table;
    width:100%;
    padding:20px;
    box-sizing:border-box;
    margin:-20px 0;
    border-spacing:20px;
    border-collapse: separate;
}
.contact-details .row {
    display:table-cell;
    width:50%;
}
#contact-map {
    padding-top:50%;
}
.site-link {
    width:64px;
    display:inline-block;
    margin:16px;
}
form label {
    display:block;
}
form p {
    position:relative;
}
form .wrap-halves::after { /*There is probably a better way to get the two halves to fit exactly to the edges of the container. */
    content:"";
    clear:both;
    display:block;
}
form p.half {
    float:left;
    width:49.5%;
    margin-right:1%;
}
form p.half:last-child {
    margin-right:0;
}
form input,
form textarea {
    padding:12px;
    margin:0;
    width:100%;
    box-sizing:border-box;
}
form textarea {
    height:150px;
}
form button {
    border-radius:2px;
    padding:5px 20px;
    background-color:#808080;
    color:#000000;
    border:none;
    text-transform:uppercase;
}
form.floatlabel-active .js-float-label-wrapper > label {
    position:absolute;
    top:12px;
    left:12px;
    transition: all 0.5s ease;
}
form.floatlabel-active .js-float-label-wrapper.focused > label,
form.floatlabel-active .js-float-label-wrapper.populated > label {
    top:1px;
    left:2px;
    font-size:10px;
    color:#808080;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1500px) {

}
@media only screen and (max-width: 960px) {
    .page-wrap {
        padding:5px;
    }
    .graphic-on-side, .graphic-on-side .col, .graphic-on-side .col.half {
        display:block;
        width:auto;
    }
    .graphic-on-side .col.bg {
        padding-top:66%;
    }
    .graphic-wrap {
        /* Mobile devices don't do background attachment fixed as a general rule. */
        background-attachment:scroll;
        background-size:120%; /* oversize image for parralax effect */
    }
    .contact-details,
    .contact-details .row {
        display:block;
        width:auto;
    }
}

@media only screen and (max-width: 760px) {
    .banners-home .logo img {
        width:90%;
    }
    .graphic-on-right .col:first-child,
    .graphic-on-left .col:nth-child(2) {
        padding:0;
    }
    #content, .page-wrap {
        font-size:4vw;
    }
    a {

        /* These are technically the same, but use both */
        overflow-wrap: break-word;
        word-wrap: break-word;

        -ms-word-break: break-all;
        /* This is the dangerous one in WebKit, as it breaks things wherever */
        word-break: break-all;
        /* Instead use this non-standard one: */
        word-break: break-word;

        /* Adds a hyphen where the word breaks, if supported (No Blink) */
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;

    }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]: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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}