/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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.4;
}

a {
    color: #42210b !important;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

@font-face {
    font-family: Remachine;
    src: url('../fonts/remachine.ttf')
}

.header {
    background-image: url('../img/bg1.png');
    background-size: 100%;
    background-repeat: no-repeat;
}

.header .logo {
    display:flex;
    justify-content:center;
    align-items:flex-end;
    padding-top: 23%;
    margin-bottom: 10px;
}

.header .logo img {
    width: 25%;
}

.menu {
    background-image: url('../img/bg2.png');
    background-size: 100%;
    /*background-repeat: no-repeat;*/
}

.menu .rectangle {
    margin-top: 60px;
    margin-bottom: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    font-family: "Myriad Pro";
    font-size: 18px;
    color: #42210b;
}

.menu .rectangle ul {
    list-style-type: none;
    overflow: hidden;
    padding-left: 0;
}

.menu .rectangle ul li {
    float: left;
    display: block;
    width: 16.6%;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.menu .rectangle ul li img {
    width: 70px;
    padding-bottom: 30px;
}

.programme {
    background-image: url('../img/bg3.png');
    background-size: 100%;
    /*background-repeat: no-repeat;*/
}

.programme .rectangle {
    margin-top: 60px;
    margin-bottom: 100px;
    padding-bottom: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    text-align: center;
    font-family: "Myriad Pro";
    color: #42210b;
    font-size: 18px;
}

.programme .rectangle .opening-hours {
    line-height: 1.8;
}

.programme .rectangle .contact {
    line-height: 1;
}

.programme .rectangle h1 {
    font-family: Remachine;
    font-size: 60px;
    margin-top: 40px;
}

.programme .download {
    width: 45%;
    height: 220px;
    background-color: rgba(255, 255, 255, 0.7);
    /*display:flex;*/
    justify-content:center;
    align-items:flex-end;
    border-radius: 42px;
    margin-top: 30px;
    position: relative;
    font-family: "Myriad Pro";
    font-weight: bold;
}

.programme .download .button {
    background-color: rgba(51, 153, 204, 0.7);
    width: 100%;
    text-align: center;
    height: 42px;
    border-bottom-left-radius: 42px;
    border-bottom-right-radius: 42px;
    position: absolute;
    bottom: 0;
    line-height: 42px;
    color: white;
    font-family: "Myriad Pro";
    font-size: 15px;
}

.programme h2, .programme ul {
    margin-left: 18%;
    color: #42210B;
}

.programme ul {
    padding-left: 20px;
    font-size: 16px;
    /*margin-left: 0;*/
}

.footer {
    background-color: rgba(255, 255, 255, 0.7);
    line-height: 55px;
    height: 55px;
    font-family: "Myriad Pro";
}

.footer img {
    width: 28px;
    margin: 10px;
}

.header_menu {
    height: 100px;
    border-bottom: 1px solid #000000;
    line-height: 100px;
    width: 100%;
}

.header_menu .logo {
    padding-left: 40px;
}

.header_menu .logo img {
    height: 90px;
}
.header_menu .options {
    height: 100px;
}
.header_menu ul {
    list-style-type: none;
}

.header_menu ul li {
    display: inline;
    margin-right: 30px;
    font-size: 16px;
    color: #42210B;
    font-family: "Myriad Pro";
}

.banner {
    padding: 0 !important;
    position: relative;
    color: #42210B;
}

.banner h1 {
    font-size: 60px;
    margin-top: 25px;
    font-family: Remachine;
}

.banner .text {
    position: absolute;
    bottom: 0;
    height: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    text-align: center;
    padding-left: 100px;
    padding-right: 100px;
    font-family: "Myriad Pro";
    font-size: 18px;
}

.banner .subtext {
    /*display: inline-flex;*/
    /*justify-content:center;*/
    /*align-items:flex-end;*/
    height: 40%;
}

.banner .subtext span {}
.banner img {
    width: 100%;
}

.fees .bubbles {
    background-image: url('/img/bubbles_bg.png');
    background-size: cover;
}

.fees .bubbles .button {
    margin-top: 100px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.fees .bubbles .button .text {
    position: absolute;
    top: 0;
}

.healthy_eating .healthy_eating_pic {
    background-color: #FEFFC2;
}

.care-programme .care {
    background-color: #3DD8CC;
}

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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

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

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

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

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. 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: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.no-padding {
    padding: 0 !important;
}

/* ==========================================================================
   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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

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