/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

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

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

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

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

.clearfix::after {
    clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

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

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

/* Setting fade transition and default settings */
body {
    color: #000;
    background-color: #fff;
    transition: background-color 1s ease;
}

header {
    background-color: #00a8e7;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
}

.header-content {
    align-items: center;
}

.header-content span {
    color: #FFF;
    display: block;
    font-family: "adelle-sans", sans-serif;
}

.header-content img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

main {
    padding-bottom: 0;
    padding-top: 0;
    min-height: 500px;
}

main p.text {
    font-family: "adelle-sans", sans-serif;
}

main p.text-left {
    text-align: left;
}

main .container {
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

/* panel styles */
.panel {
    /* min height incase content is higher than window height */
    min-height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: sans-serif;
    /* outline: 10px solid hotpink; */
    /* turn above on to see the edge of panels */
}

.panel.no-flex {
    display: block;
}

/* colours */
.color-last {
    background: #f2efe8;
}

.color-fourth {
    background: #9dbc68; /* Old browsers */
    background: -moz-linear-gradient(left, #9dbc68 28%, #1b3c1f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #9dbc68 28%, #1b3c1f 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #9dbc68 28%, #1b3c1f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dbc68', endColorstr='#1b3c1f', GradientType=1); /* IE6-9 */
}

.color-third {
    background: #519acc; /* Old browsers */
    background: -moz-linear-gradient(left, #519acc 28%, #1f4b71 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #519acc 28%, #1f4b71 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #519acc 28%, #1f4b71 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#519acc', endColorstr='#1f4b71', GradientType=1); /* IE6-9 */
}

.color-second {
    background: #d4c59e; /* Old browsers */
    background: -moz-linear-gradient(left, #d4c59e 1%, #372e21 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #d4c59e 1%, #372e21 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #d4c59e 1%, #372e21 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d4c59e', endColorstr='#372e21', GradientType=1); /* IE6-9 */
}

.color-first {
    background: #b7da7a; /* Old browsers */
    background: -moz-linear-gradient(45deg, #b7da7a 42%, #234a6b 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #b7da7a 42%, #234a6b 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, #b7da7a 42%, #234a6b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b7da7a', endColorstr='#234a6b', GradientType=1); /* IE6-9 fallback on horizontal gradient */
}


/* styling for demo, can ignore */
body {
    font-family: "adelle-sans", sans-serif;
    text-align: center;
    font-size: 120%;
    line-height: 1.4;
}

h1, h2 {
    font-size: 36px;
    font-family: "adelle-sans", sans-serif;
    line-height: 1.2;
    font-weight: 700;
    font-style: italic;
}

.pre-header {
    max-width: 350px;
    width: 100%;
    height: auto;
}

p {
    font-family: "adelle-sans", sans-serif;
    max-width: 30em;
    margin-bottom: 1.4em;
}

a {
    font-family: "adelle-sans", sans-serif;
    color: #4332CF;
}

ul, ul li {
    list-style: none;
}

header h1 {
    margin-top: 0;
    margin-bottom: 0;
    color: #FFF;
}

.panel {
    font-family: "adelle-sans", sans-serif;
    min-height: 90vh;
}

.panel h1 {
    text-align: left;
    color: #FFFFFF;
    margin-top: -50px;
    margin-bottom: 50px;
    width: 680px;
}

.panel h1 b {
    font-family: "adelle-sans", sans-serif;
}

.panel.no-flex h1 {
    width: auto;
    font-size: 62px;
    margin-top: 0;
    margin-bottom: -20px;
    text-align: center;
    color: #181511;
}

.panel hr {
    max-width: 500px;
    margin: 20px auto;
    color: #181511;
    border-color: #181511;

}

.stripe {
    background-color: #eff8fd;
    padding-top: 40px;
    padding-bottom: 30px;
    margin-bottom: 40px;
    height: 100%;
}

.stripe-bottom {
    margin-top: 60px;
    padding-top: 80px;
    padding-bottom: 50px;
    margin-bottom: 0;
}

.stripe.stripe-bottom .wrapper {
    max-width: 850px;
}

.stripe-bottom .wrapper-left {
    float: left;
    width: 28%;
    padding-right: 2%;
}

.stripe-bottom .wrapper-right {
    float: left;
    width: 55%;
    padding-left: 2%;
}

.stripe-bottom .clearfix {
    clear: both;
    display: block;
}

.stripe-bottom .left-picture {
    float: right;
    max-width: 200px;
    width: 100%;
    height: auto;
}

.stripe-header {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 0px;
}

.stripe p {
    font-family: "adelle-sans", sans-serif;
    font-weight: normal;
    text-align: left;
}

.stripe .wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 30%;
    width: 80%;
    left: 10%;
    transform: translateY(-50%);
}

.owl-carousel .owl-prev {
    left: 15%;
    background: url('../img/left.png') !important;
    position: absolute;
}

.owl-carousel .owl-next {
    right: 15%;
    background: url('../img/right.png') !important;
    position: absolute;
}

.owl-carousel .owl-prev,
.owl-carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-size: 100% !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    text-indent: -9000px;
    display: block;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.owl-carousel .owl-dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #00a7e7 !important;
    opacity: 0.2;
    margin: 0 10px;
    cursor: pointer;
}

.owl-carousel .owl-dot.active {
    background-color: #00a8e7 !important;
    opacity: 1;
}

.owl-carousel .owl-stage-outer {
    padding-bottom: 70px;
}

.owl-carousel .owl-stage h1 {
    text-align: center;
    max-width: 600px;
    padding-left: 80px;
    padding-right: 80px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

footer {
    background-color: #00a8e7;
    width: 100%;
    padding-top: 30px;
    color: #FFF;
}

.footer-header {
    max-width: 380px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 10px;
    display: block;
}

.footer-content {
    padding-bottom: 30px;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

.footer-content span {
    display: block;
    font-family: "adelle-sans", sans-serif;
}

.footer-content a {
    color: #FFF;
    text-decoration: none;
    font-family: "adelle-sans", sans-serif;
}

.footer-bottom {
    background-color: #80c8ed;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-bottom a {
    color: #FFF;
    text-decoration: none;
    font-family: "adelle-sans", sans-serif;
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    h1, h2 {
        font-size: 32px;
        font-family: "adelle-sans", sans-serif;
        line-height: 1.2;
    }

    .panel {
        padding: 30px;
    }

    .panel h1 {
        width: auto;
    }

}

.visible-xs {
    display: none;
    visibility: hidden;
}

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

    .header-content {
        padding-left: 30px;
        padding-right: 30px;
    }

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

    .visible-xs {
        display: block !important;;
        visibility: visible !important;;
    }

    .owl-carousel .owl-stage h1 {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .owl-carousel .owl-dots {
        bottom: 30px;
    }

    .owl-carousel .owl-stage h1 {
        font-size: 28px;
    }

    .stripe .wrapper {
        padding-left: 40px;
        padding-right: 40px;
    }

    .stripe-bottom .wrapper-left, .stripe-bottom .wrapper-right {
        float: none;
        padding-left: 0;
        width: 100%;
    }

    .stripe-bottom {
        margin-top: 60px;
        padding-top: 60px;
    }

    .stripe-bottom .stripe-header {
        margin: 40px auto;
    }

    .stripe-bottom .left-picture {
        float: none;
        margin: 40px auto;
        display: block;
    }

    .footer-content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .stripe p, .footer-content span {
        font-size: 90%;
    }

    .stripe-bottom {
        margin-top: 60px;
        padding-top: 20px;
    }

    main p.text-left {
        font-size: 90%;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (max-width: 480px) {
    h1, h2 {
        font-size: 18px;
        font-family: "adelle-sans", sans-serif;
        line-height: 1.2;
    }

    .owl-carousel .owl-stage h1 {
        font-size: 25px;
    }

    .owl-carousel .owl-dots {
        bottom: 20px;
    }

}


