/*! HTML5 Boilerplate v5.1.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;
}

/*
 * 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: 'AvantGardeGothicITCW01Bk';src: url('webfonts/2B4A9A_0_0.eot');src: url('webfonts/2B4A9A_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/2B4A9A_0_0.woff') format('woff'),url('webfonts/2B4A9A_0_0.ttf') format('truetype');}
 
@font-face {font-family: 'AvantGardeGothicITCW01BkObl';src: url('webfonts/2B4A9A_1_0.eot');src: url('webfonts/2B4A9A_1_0.eot?#iefix') format('embedded-opentype'),url('webfonts/2B4A9A_1_0.woff') format('woff'),url('webfonts/2B4A9A_1_0.ttf') format('truetype');}
 
@font-face {font-family: 'AvantGardeGothicITCW02Dm';src: url('webfonts/2B4A9A_2_0.eot');src: url('webfonts/2B4A9A_2_0.eot?#iefix') format('embedded-opentype'),url('webfonts/2B4A9A_2_0.woff') format('woff'),url('webfonts/2B4A9A_2_0.ttf') format('truetype');}

@font-face {font-family: 'robotoregular';src: url('webfonts/Roboto-Regular-webfont.eot');src: url('webfonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),url('webfonts/Roboto-Regular-webfont.woff2') format('woff2'),url('webfonts/Roboto-Regular-webfont.woff') format('woff'),url('webfonts/Roboto-Regular-webfont.ttf') format('truetype'),url('webfonts/Roboto-Regular-webfont.svg#robotoregular') format('svg');}
 

body {
    color: #acadb0;
    font-family: 'AvantGardeGothicITCW01Bk';
    font-size: 16px;
    padding-bottom: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /* show vertical scrollbars constantly */
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

a {
    color: #64b1b4;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

#container {
    margin: 0 auto;
    position: relative;
    width: 910px;
}

header {
    background: #ffffff;
    position: fixed;
    top: 0;
    width: 910px;
    z-index: 800;
}

header #logo {
    background: url('../img/logo.png') no-repeat 0 0;
    float: right;
    height: 49px;
    margin: 28px 0 30px;
    text-indent: -9999px;
    width: 302px;
}

nav {
    clear: both;
    font-family: 'AvantGardeGothicITCW02Dm';
    font-size: 1.125em;
}

nav ul {
    border-top: 1px solid #bcbcbf;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    border-bottom: 1px solid #bcbcbf;
    color: #acadb0;
    display: block;
    height: 36px;
    line-height: 36px;
    /*transition: color 0.5s ease;*/
}

nav ul li.current a, nav ul li a:hover {
    color: #64b1b4;
}

#content {
    margin-top: 256px;
    padding: 36px 0 0;
    position: relative;
}

#content img { max-width: 100%; }

.homepage #content h1 {
    font-family: 'AvantGardeGothicITCW01Bk';
    font-size: 2em;
    font-weight: normal;
    left: 35px;
    line-height: 1.2;
    position: absolute;
    top: 150px;
}

.homepage .copyright {
    top: 5px;
    color: #64b1b4;
    font-family: arial;
    font-size: 0.625em;
    position: relative;
}

.column {
    float: left;
    margin-left: 20px;
    width: 290px;
}

.column.double {
    width: 290px;
}

.column.triple {
    width: 600px;
}

.column.first {
    margin-left: 0;
}

.column img {
    max-width: 100%;
    width: 100%;
}

.column p {
    font-family: 'robotoregular';
    font-size: 0.875em;
    margin-top: 0;
}

.column p strong {
    color: #64b1b4;
    font-weight: normal;
}

.user .column p strong {
    font-weight: bold;
}

h1, h2, h3 {
    color: #64b1b4;
    font-family: 'AvantGardeGothicITCW02Dm';
    font-size: 1.125em;
    font-weight: normal;
    margin: 0;
}

#who-we-are-slider {
    clear: left;
    float: right;
    margin-right: -49px;
}

.find-out-more .column p {
    color: #64b1b4;
    font-family: 'AvantGardeGothicITCW01Bk';
    font-size: 1.125em;
    margin-top: 0;
}

.find-out-more .column p.intro {
    color: #acadb0;
    font-family: 'AvantGardeGothicITCW02Dm';
}

.find-out-more #content {
    position: relative;
}

.find-out-more .column p.copyright {
    bottom: 0;
    font-family: arial;
    font-size: 0.625em;
    left: 0;
    margin: 0;
    position: absolute;
}

.find-out-more .column.first {
    padding-bottom: 40px;
}

.colours {
    list-style-type: none;
    margin: 0 0 12px;
    padding: 0
}

.colours li {
    border: 1px solid #f7f7f7;
    color: #ffffff;
    display: block;
    float: left;
    height: 48px;
    margin: 0;
    position: relative;
    width: 48px;
}

.colours li a {
    color: #ffffff;
    display: block;
    float: left;
    height: 48px;
    width: 48px;
}

.colours li.white {
    background-color: #f7f7f7;
    color: #000000;
}

.colours li.white a { color: #000000; }

.colours li.teal {
    border-color: #69b4b7;
    background-color: #69b4b7;
}

.colours li.sky {
    border-color: #6d9ac3;
    background-color: #6d9ac3;
}

.colours li.black {
    border-color: #231f20;
    background-color: #231f20;
    clear: left;
}

.colours li.plum {
    border-color: #834a79;
    background-color: #834a79;
}

.colours li.coral {
    border-color: #da464a;
    background-color: #da464a;
}

.colours li span {
    bottom: 2px;
    font-family: 'robotoregular';
    font-size: 0.625em;
    font-weight: bold;
    left: 4px;
    line-height: 1;
    position: absolute;
}

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

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

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {        

    header #logo {
        background-image: url('../img/logo_x2.png');
        background-size: 302px 49px;
    }

}

@media only screen and (min-width: 1240px) {

    #container, header {
        width: 1220px;
    }

    .column {
        width: 290px;
    }

    .column.double {
        width: 600px;
    }

    .column.triple {
        width: 910px;
    }

    .homepage #content h1 {
        font-size: 2.875em;
        left: 44px;
        top: 210px;
    }

}

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

    header #logo { float: left; }

    #container, header {
        width: 90%;
    }

    .column {
        margin: 0;
        width: 100%;
    }

    .column.double {
        width: 100%;
    }

    .column.triple {
        width: 100%;
    }

    #who-we-are-slider {
        margin: 0;
    }

    .find-out-more .column.first {
        padding-bottom: 0;
    }

    .find-out-more #content {
        padding-bottom: 45px;
    }

    .homepage #content h1 {
        font-size: 1.25em;
        left: 20px;
        top: 60px;
    }

}

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

@media print {
    *,
    *:before,
    *:after {
        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;
    }
}
/* ==========================================================================
Site CSS below here
   ========================================================================== */
div.langbuttons {
background: #ffffff;
position:absolute;
left:0px;
height:20px;
width: 15%;
border-style:solid;
border-width:10px 0px 10px 0px;
border-color:#ffffff;
}
.flag {
float:left;
height:100%;
border-style:solid;
border-width:0px 5px 0px 5px;
border-color:#ffffff;
}
div.banner {
background: #ffffff;
position:relative;
height:20px;
width:80%;
}
div.demo {
background: #b6c9d9;
position:absolute;
height:100px;
width:50%;
}

