
/*! 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;
    max-width: 100%;
}

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;
    font-size:18px;
    background:#f0f0f0;
    color:#3b424f;
}

.contentwrap {
    max-width:1600px;
    margin: 0 auto;
    position:relative;
    padding:0 20px;
}


/*============ header ============*/
header.top {
    font-size:24px;
    background:#fff;
    color:#3b424f;
    text-align:right;
}
header.top a {
    text-decoration:none;
    color:inherit;
}
.header-bar-top {
    font-size:18px;
    border-bottom:1px solid #b1b3b9;
    color:#9fa2a9;
    line-height:90px;
    padding-left:50px;
}
.header-bar-top .item {
    margin: 0 25px;
}
.header-bar-bottom {
    line-height:140px;
}
header.top .logo,
footer.bottom .logo{
    float: left;
}
header.top .logo h1,
footer.bottom .logo h1{
    margin:0;
    text-transform:uppercase;
    font-weight:normal;
}
header.top nav a {
    display:block;
    color:inherit;
    text-decoration:none;
}
header.top .main-menu ul {
    padding:0;
    list-style:none;
    margin:0;
    font-size: 18px;
}
header.top li {
    margin:0 25px;
    position:relative;
}
header.top li.depth-0 {
    vertical-align:middle;
    display: inline-block;
}
header.top .main-menu li.depth-0 > a {
    font-weight:bold;
}
header.top li > ul {
    position:absolute;
    top: 100%;
    left:0;
    background:#f6f6f6;
    color:#082133;
    z-index:10000;
    text-align: left;
    display:none;
}
header.top li:hover > ul {
    display:block;
}
header.top li:hover {
    color:#f07e77;
}
header.top li li {
    line-height: 52px;
    display: block;
    white-space: nowrap;
    margin:0;
    border-bottom:1px solid #e8e8e8;
}
header.top li li.has-sub::after {
    content:">";
    position:absolute;
    display:block;
    right:0;
    top:0;
    bottom:0;
    width:60px;
    width:60px;
    text-align:center;
}
header.top li li:hover {
    background: #3b424f;
    color: #ffffff;
}
header.top li li:hover::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    width:4px;
    background:#ff8f75;
}
header.top li li:hover::after {
    color:#ff8f75;
}
header.top li li li:hover {
    background: #ffffff;
    color:#ff8f75;
}
header.top li li a {
    padding-left:25px;
    padding-right:60px;
}
header.top li li ul {
    left:100%;
    top:0;
}
nav ul {
    padding:0;
}
header.top nav.header {
    display:inline;
}
header.top nav.header ul {
    display:inline;
}
#mobile-menu {
    display: none;
    position: absolute;
    position: fixed;
    top:10px;
    left:10px;
    background: #3b424f url(https://keo-cms.appspot.com.storage.googleapis.com/sites/armidalefutureschool/app_files/img/menu-icon.svg) center no-repeat;
    background-size: 24px;
    font-size: 24px;
    padding: 8px;
    width: 24px;
    height: 24px;
    margin: 2px;
    margin-bottom: 0;
    cursor: pointer;
    z-index:100;
}
.page-graphic {
    padding-top:44%;
    background-size:cover;
    background-position:center;
    position:relative;
}
.t-page .page-graphic {
    padding-top:40%;
}
.page-graphic.filler {
    padding:0;
    height:15vw;
}
.graphic-content {
    top:0;
    left:0;
    right:0;
    bottom:0;
    position:absolute;
    font-size:3vw;
    color:#ffffff;
    text-align:center;
    text-transform: uppercase;
    padding-top: 6vw;
}
.graphic-content p {
    margin-bottom:1%;
}
.graphic-content .tagline {
    display:inline-block;
    border-top:1px solid #fff;
    text-transform: none;
    font-size:2vw;
    margin: 0;
}
.page-graphic .hashtag {
    margin-top:0.5vw;
    color:#ffaf9e;
    font-size:1.5vw;
}
#content {
    padding: 20px 0;
    background:#fff;
}
.contentwrap.page-content, /* home pg only */
.contentwrap.post-content {
    padding:0 100px;
    margin-top: 60px;
}

/***** Slide menu ****/
.slide-menu {
    display:none;
}
.slide-menu {
	background: #ccc;
    width:240px;
    z-index:1000;
	position: fixed;
	height: 100%;
	top: 0;
	left: -240px;
	overflow-y:scroll;
}
.slide-menu-active .slide-menu {
    left: 0px;
}
.site-content-menu-slide {
    overflow-x:hidden;
    position:relative;
    left:0;
}
/* transition for menu slide */
.slide-menu,
.site-content-menu-slide,
#mobile-menu {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.slide-menu h3 {
	padding: 1em;
	color:#fff;
	background:#999;
	margin:0;
}
.slide-menu ul {
    padding:0;
    margin:0;
    list-style:none;
}
.slide-menu ul ul {
	background:#999;
}
.slide-menu ul ul ul{
	background:#666;
}
.slide-menu li {
    position:relative;
}
.slide-menu li > ul {
    display:none;
}
.slide-menu li.expand-active > ul {
    display:block;
}
.slide-menu a {
	display: block;
	color: #fff;
	font-size: 16px;
	font-weight: 300;
	border-bottom: 1px solid #666;
	padding: 18px;
	text-decoration:none;
}
.slide-menu a:hover {
	background: #ffa490;
}
.slide-menu ul .expand {
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid #030b16;
    height: 59px;
    width: 50px;
    cursor: pointer;
}
.slide-menu ul .expand i {
    content:"";
    display: block;
    height: 62px;
    width: 48px;
    background: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/armidalefutureschool/app_files/img/menu-drop.svg') no-repeat center center;
    background-size: 30%;
    -webkit-transition: -webkit-transform 500ms ease;
    transition: -webkit-transform 500ms ease;
    transition: transform 500ms ease;
    transition: transform 500ms ease, -webkit-transform 500ms ease;
}
.expand-active > .expand i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
/*============ footer ============*/
/** newsletter **/
#subscribe .contentwrap.post-content {
    margin-top: 30px;
}
#subscribe .wrapper {
    background: #FFF;
    padding: 2vw;
}
#subscribe h2,
#subscribe p {
    margin:0;
}
.text-wrap,
#subscribe form {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    box-sizing: border-box;
}
#subscribe form {
    position: relative;
    padding-right: 95px;
    max-width: none;
    float: none;
}
#subscribe form p.form-row:after {
    display: none;
}
#subscribe form button {
    position: absolute;
    top:0;
    right:0;
    padding: 15px;
    max-width: 100px;
    font-size: 16px;
}
footer.bottom {
    text-align:right;
    margin-top:40px;
    line-height:90px; 10px 0
}
.site-links {
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
}
.site-link {
    display: inline-block;
    width: 30px;
    margin: 10px 5px;
}
footer nav.main-menu {
    display: inline-block;
    vertical-align: middle;
}
footer nav.main-menu ul {
    margin:0;
}
footer.bottom li {
    display:inline-block;
    margin: 0 25px;
}
footer.bottom a {
    text-decoration:none;
    color:inherit;
    display: inline-block;
    min-height: 30px;
}
nav.footer {
    text-align:left;
    line-height:1.5;
    font-size:12px;
    margin-bottom: 20px;
}
nav.footer ul {
    margin:0;
}
/** bykeo ***/
.bykeo {
    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);
}

/***** splash page ****/
.t-home .banner .contentwrap.post-content {
    margin-top: -5vw;
    margin-bottom: 60px;
}
.contentwrap.page-content {
    margin-top: 20px;
}
nav.cta {
    margin: 1vw -2vw;
}
nav.cta ul {
    display:table;
    width:100%;
    padding:0;
    margin:0;
    border-collapse: separate;
    border-spacing: 2vw;
    font-size:17px;
    table-layout:fixed;
}
nav.cta li {
    display:table-cell;
    position: relative;
    height:100%; /* fill full height */
    width:1%; /* same width for all table cells, browser will redistribute evenly */
    background:#fff;
    padding-bottom: 1vw;
}
nav.cta li:after {
    content:"Learn More";
    display:inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    color:#ff8f75;
    border-bottom: 1px solid #ff8f75;
    margin-left: 1vw;
    margin-bottom: 1vw;
}
nav.cta li > ul {
    display:none;
}
nav.cta a {
    display:block;
    padding:1vw;
    padding-top:16vw;
    padding-bottom: 30px;
    position:relative;
    height:100%;
    color:inherit;
    text-decoration:none;
}
nav.cta .title {
    color:#ff8f75;
    display:block;
}
nav.cta .subtitle {
    display:block;
    font-size:26px;
    text-transform: uppercase;
    font-weight:bold;
}
nav.cta .menu-icon {
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:15vw;
    background-color: lightgrey;
    background-size:cover;
    background-position:center;
}
nav.cta .page-teaser {
    display:block;
    margin:1vw 0;
}
.banner-home {
    position:relative;
    padding:2vw;
    padding-right:62%;
    background:#3b424f;
    color:#ffffff;
    min-height:300px;
}
.banner-home a {
    color:inherit;
    text-decoration:none;
}
.banner-home .banner-name {
    display:block;
    color:#ffa490;
    font-size:18px;
}
.banner-home .banner-title {
    display:block;
    text-transform:uppercase;
    font-size:26px;
    margin-bottom:20px;
}
.banner-home .banner-graphic {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:60%;
    background-size:cover;
    background-position:center;
}
.banner-home .banner-caption {
    font-weight: lighter;
    display:block;
    margin-bottom:20px;
}

/***** sub page ****/
.testimonial {
    position:relative;
    z-index:50;
    max-width:1700px;
    box-sizing: border-box;
    padding: 1vw;
    margin:5vw auto;
    margin-top:-10vw;
    min-height:15vw;
    background:#ffffff;
    -webkit-box-shadow: 0px 2px 3px 2px rgba(0,0,0,0.22);
    -moz-box-shadow: 0px 2px 3px 2px rgba(0,0,0,0.22);
    box-shadow: 0px 2px 3px 2px rgba(0,0,0,0.22);
    font-weight:600;
}
.testimonial.has-graphic {
    padding-left:18vw;
}
.testimonial-graphic {
    position:absolute;
    top: 50%;
    margin-top: -6.8vw;
    left:1vw;
    width:12vw;
    height:12vw;
    border-radius:50%;
    border:10px solid #e4e4e4;
    -webkit-box-shadow: 0px 2px 3px 2px rgba(0,0,0,0.22);
    -moz-box-shadow: 0px 2px 3px 2px rgba(0,0,0,0.22);
    box-shadow: 0px 2px 3px 2px rgba(0,0,0,0.22);
    background-position:center;
    background-size:cover;
}
.testimonial-body-wrap {
    display:block;
    height:100%;
}
.testimonial-body {
    display:inline-block;
    width:90%;
    vertical-align:middle;
}
.testimonial-body-wrap::before {
    content:"";
    display:inline-block;
    width:0.5%;
    height:100%;
    vertical-align:middle;
    min-height:12vw;
}
.testimonial .name {
    display:block;
    text-transform:uppercase;
    font-size:18px;
}
.testimonial .organisation {
    display:block;
    color:#ff8f75;
    margin-bottom:1vw;
}
.testimonial .teaser {
    display:block;
    margin-bottom:1vw;
}
.testimonial a {
    color:#ff8f75;
}
/***** faqs page ****/
.faq-item {
    border-radius:1vw;
    background:#ffffff;
    padding: 0 2vw;
    margin: 2vw 0;
}
.faq-item:after {
    content:"";
    width: 100%;
    height:0;
    display: table;
    clear: both;
}
.faq-category {
    color: #ffa490;
}
.faq-item h3 {
    padding:2vw 0;
    margin:0;
}
.faq-item h3::after {
    content:"\25b6\fe0e";
    float:right;
    font-family: Arial Unicode MS, Lucida Sans Unicode, sans-serif;
}
.faq-item.active h3 {
    color:#f07e77;
}
.faq-item.active h3::after {
    content:"\25bc\fe0e";
}
.faq-item .faq-body {
    max-height:0;
    opacity:0;
    transition: all 1s ease;
    overflow:hidden;
}
.faq-item.active .faq-body {
    max-height:100vw;
    opacity:1;
    padding-bottom:2vw;
}

/***** form styles****/
form {
    width:100%;
    max-width:650px;
    float:right;
}
input, textarea, select, label {
    font-family: "open sans",sans-serif;
    font-size:18px;
    padding:10px;
}
input, textarea, select {
    -webkit-box-shadow: inset 0px 0px 2px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0px 0px 2px 0px rgba(0,0,0,0.5);
    box-shadow: inset 0px 0px 2px 0px rgba(0,0,0,0.5);
    border:1px solid #000000;
    line-height:1;
    width:100%;
    box-sizing:border-box;
}
input[type="radio"] {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    padding: 10px;
    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
    border:0;
    margin:0;
}
textarea {
    height:160px;
}
.form-row {
    position: relative;
    text-align:justify;
    margin:0;
}
.form-row::after {
    content:"";
    display:inline-block;
    width:100%;
    height:0;
    font-size:3px;
}
label {
    text-align:left;
    display:inline-block;
    max-width: 100%;
}
.form-half {
    display:inline-block;
    width:48%;
}
.infield-active label.infield {
    position:absolute;
    padding:10px;
}
/***** contact page styles****/
.contact-details a {
    color:inherit;
    text-decoration:none;
}
.contact-details h3 {
    color:#ffa490;
}
.social {
    margin: 10px 0;
    line-height: 40px;
}
.social .site-link {
    width: 40px;
}
/***** event styles****/
.event {
    display:table;
    width:100%;
    padding-bottom:20px;
    border-bottom:1px solid #cbcbcb;
    text-decoration:none;
    color:inherit;
}
.event .event-details {
    color:#f07e77;
    display:table-cell;
    padding-right:20px;
    width:200px;
}
.event .event-details .date,
.event .event-details .time {
    display:block;
}
.event .event-body {
    display:table-cell;
}
/****** survey styles ******/
.survey {
    text-align: center;
    padding: 20px 0;
}
.survey h3 {
    text-transform: capitalize;
}
.survey form {
    text-align: center;
    float: none;
    margin: 0 auto;
}
.survey .form-row {
    text-align: center;
}
.survey .form-half {
    width: 50%;
    box-sizing: border-box;
}
.survey .form-half:nth-of-type(odd){
    padding-right: 2%;
}
.survey .form-half:nth-of-type(even){
    padding-left: 2%;
}
.survey .form-half label {
    font-weight: bold;
}
.survey button {
    width: 100%;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1750px) {
    .testimonial {
        margin:5vw 50px;
        margin-top: -10vw;
    }
}
@media only screen and (max-width: 1500px){
    header.top .logo {
        font-size: 36px;
    }
}
@media only screen and (max-width: 1400px) {
    #mobile-menu {
        display:block;
    }
    header.top .logo,
    footer.bottom .logo {
        float:none;
    }
    header.top .logo {
        text-align:center;
    }
    footer.bottom .logo {
        text-align:left;
    }
    .main-menu {
        display:none;
    }
    .slide-menu {
        display:block;
    }
    .slide-menu-active .site-content-menu-slide {
        left: 240px;
    }
    .slide-menu-active #mobile-menu {
        left: 260px;
    }

    .contentwrap.page-content,
    .contentwrap.post-content {
        padding: 0 3vw;
    }
    .header-bar-top .item {
        display:inline-block;
    }
    .header-bar-top .item-hashtag {
        display:none;
    }
    .testimonial.has-graphic {
        padding-left:220px;
        min-height:220px;
    }
    .testimonial-graphic {
        width: 167px;
        height: 167px;
        margin-top:-95px;
        left:15px;
    }
    .testimonial-body-wrap::before {
        min-height:187px;
    }
}
@media only screen and (max-width: 960px) {
    .header-bar-top {
        line-height: 40px;
    }
    header.top .logo,
    footer.bottom .logo {
        font-size:3vw;
    }
    .header-bar-bottom {
        line-height:3;
    }
    #subscribe .wrapper {
        padding: 10px;
    }
    footer.bottom {
        margin-top: 20px;
        line-height: 1;
    }
    footer.bottom,
    footer.bottom .logo,
    nav.footer {
        text-align:center;
    }
    footer.bottom li {
        line-height: 30px;
    }
    footer .site-links,
    footer nav.main-menu {
        display: block;
    }
/** home **/
    .banner-home {
        padding: 10px;
    }
    .contentwrap.page-content,
    .contentwrap.post-content {
        margin-top: 40px;
    }
    nav.cta {
        margin:0;
    }
    nav.cta ul,
    nav.cta li {
        display:block;
        width:auto;
        margin: 20px 0;
    }
    nav.cta li:after {
        position: static;
        margin-left:10px;
        margin-bottom:10px;
    }
    nav.cta a {
        padding: 10px;
        padding-top: 210px;
    }
    nav.cta .subtitle,
    #subscribe h2 {
        font-size: 20px;
        line-height: 1.2;
    }
    nav.cta .menu-icon {
        height: 200px;
    }
    nav.cta
    .faq-item.active .faq-body {
        overflow-y:scroll;
    }
/** contact page **/
    form {
        float: none;
    }
    form button {
        width: 100%;
        box-sizing: border-box;
    }
}
@media only screen and (max-width: 760px) {
    .banner-home {
        padding-top:200px;
        min-height: 0;
        margin:4vw 0;
    }
    .banner-home .banner-graphic {
        width:100%;
        height:200px;
        top:0;
        bottom:auto;
        left:0;
    }
    .header-bar-top {
        line-height:1.5;
        font-size:3vw;
    }
    .graphic-content {
        display:none;
    }

    .testimonial.has-graphic {
        padding-top:220px;
        padding-left:1vw;
        margin-left: 20px;
        margin-right: 20px;
    }
    .testimonial-graphic {
        margin-top:0;
        margin-left:-95px;
        left:50%;
        top:15px;
    }
/* footer */
    .text-wrap, #subscribe form {
        width: 100%;
    }
    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;

    }
    footer nav.main-menu {
        display: none;
    }
}
@media screen and (max-width:500px){
/* newsletter */
    #subscribe form {
        padding-right:0;
    }
    #subscribe .form-half,
    #subscribe form button {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }
    .form-half,
    .survey .form-half {
        width: 100%;
        margin: 10px 0;
    }
    .survey .form-half:nth-of-type(odd),
    .survey .form-half:nth-of-type(even) {
        padding: 0;
    }
}
/* ==========================================================================
   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;
    }
}