/*

	!COLOURS
    Green: rgba(178, 207, 194, 1.0)
*/


/*

	!GLOBAL

*/

* {
    box-sizing: border-box;
}

html {
	-webkit-font-smoothing: antialiased; /* Fixes font thinning with sliders. Source: http://stackoverflow.com/questions/9049524/safari-rendering-page-fonts-thinner-with-jquery-slider-on-page */
}

html.sb-init {
    margin-top: 0 !important;
    /* padding-top: 32px; */
}

.wf-loading #sb-site {
  opacity: 0;
  -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
          transform: translateY(-20px);
}

#svgloader {
  display: none;
}

.wf-loading #svgloader {
    display: block;
    text-align: center;
    margin-top: 25%;
}


body,
.pure-g [class *= "pure-u"],
.pure-g-r [class *= "pure-u"] {
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
	color: #FFF;
	font-size: 1em;
	line-height: 1.7;
	background-color: #046C7B;
}

.wrap {
	max-width: 62.5em;
	margin: 0 auto;
	position: relative;
}

.wrapper {
    width: 90%;
    margin: auto;
    max-width: 67.5em; /* 1080px */
}

main {
    margin: 6em 0 3em 0;
    color: #333;
    background: #eee;
}

body.home main {
    margin: 0;
}

.inner {
	padding: 1em;
}

header.banner {
    padding: 2em 2em 4em 2em;
}

blockquote {
    padding: 2em 3em;
    margin: 3em -3em;
    display: block;
    background-color: rgba(200, 232, 173, 1.0);
}

blockquote p {
    font-size: 1.25em;
    line-height: 1.4;
	color: #046C7B;
    font-weight: 700;
    margin-bottom: 0;
}

cite {
    font-style: normal;
	color: #046C7B;
}

blockquote.display-right {
    position: absolute;
    top: 5em;
    right: 2em;
    z-index: 2;
    text-align: right;
    width: 45%;
    font-size: 2.25em;
    line-height: 1.3;
    color: #fff;
    font-style: normal;
    padding: 0;
    margin: 0;
    border: none;
}

blockquote.display-right p.attribution {
    margin-top: 0.75em;
    font-size: 60%;
}

article {
    margin: 0 1em 0 0;
}

.content {
    padding: 3em;
    margin: 5em 5%;
    font-size: 1.25em;
    background: #fff;
    border-radius: 8px;
}

.post-meta {
    margin: 0 0 1em 0;
}

.post-meta-content {
    display: table-cell;
    height: 1em;
    line-height: 1em;
}

.post-meta time {
    vertical-align: middle;
    padding-left: 1.75em;
    background: url(../img/time.svg) no-repeat center left;
}

.pure-button-large {
    font-size: 1.5em;
    margin: 0.75em 0; 
}

.pure-button:hover,
.pure-button-large:hover {
    transition: background-color 0.4s ease;
    filter: none;
    background-image: none;
    box-shadow: none;
}

.pure-button:focus,
.pure-button-large:focus,
.pure-button:active,
.pure-button-large:active {
    filter: none;
    background-image: none;
    box-shadow: none;
}

.hidden-button {
    visibility: hidden;
}

.green-button {
    color: #046C7B;
    background-color: rgba(178, 207, 194, 1.0);
}

.green-button:hover {
    color: #FFF;
    background-color: rgba(178, 207, 194, 0.5);
}

.teal-button {
    color: #FFF;
    background-color: #046C7B;
}

.teal-button:hover {
    color: #046C7B;
    background-color: #FFF;
}

.white-button {
    color: #046C7B;
    background-color: rgba(255, 1255, 255, 1.0);
}

.white-button:hover {
    color: #046C7B;
    background-color: rgba(255, 1255, 255, 0.5);
}

.grey-button {
    color: #fff;
    background-color: #444;
}

a {
    color: #FFF;
    font-family: futura-pt, sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-bottom: solid 1px rgba(255, 255, 255, 0.5);
}

.content a {
    color: #046C7B;
    border-bottom: solid 1px #B7EB9F;
}

a:hover {
    border-bottom: none;
}

.band {
    position: relative;
    padding: 1em 0 2em 0;
}

.band.content-band {
    padding: 1em 0 0 0;
}

.grey-band {
    background: #F5F5F5;
}

.band-green {
    background: #B7EB9F;
}

.blue-band {
    background: #BAE2EC;
    background: #8EB2E1;
    background: #87A4E4;
}

.band-white {
    color: #046C7B;
    background: rgba(255, 255, 255, 1.0);
}

.band-green {
    color: #046C7B;
    background: #B7EB9F;

}

.band-rotate-left:before {
    transform: scale(1.25) rotate(-3deg);
    position: absolute;
    content: '';
    background: rgba(255, 255, 255, 1.0);
    left: -10vw;
    right: -10vw;
    height: 20vw;
    z-index: 0;
    top: 0;
    background: inherit;
}

.white-diagonal {
    background: url(../img/white-diagonal.svg) no-repeat center left;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
    height: 6em;
}

.white-diagonal-alt {
    background: url(../img/white-diagonal-alt.svg) no-repeat center left;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
    height: 6em;
}

.features-row .slate  {
    text-align: center;
}

.features-row  {
    margin: 0;
    padding: 3em 0;
}

.features-row .slate .excerpt {
    color: #fff;
    padding: 0;
    font-size: 1em;
    background-color: transparent;
}

.features-row .slate h3 {
    color: #fff;
    margin-top: 0.25em;
    padding-bottom: 0.5em;
    border-bottom: solid 1px #fff;
}

.features-row .slate .background-image {
    width: auto;
    height: 4em;
    text-align: center;
}

.highlight {
    font-size: 1.125em;
    line-height: 1.5;
}

.short-bar {
    text-align: center;
    width: 12em;
    margin: 1.5em auto;
}

.short-bar hr {
    border: none;
    border-top: 0.3em solid rgba(178, 207, 194, 1.0);
}

.wavy-bar {
    text-align: left;
    width: 10em;
    height: 1em;
    margin: 1.5em auto;
    background: url(../img/wavy-line.svg) no-repeat center left;
}

.panel {
    padding: 0 1.5em 0 0;
}

.band-teachers h2,
.band-green h3,
.band-white h3 {
    color: #046C7B;
}

.band-teachers h2 {
    margin-top: 0.25em;
}

.content .wp-block-gallery {
    padding: 2em 3em;
    margin: 3em -3em;
    background-color: rgba(0, 0, 0, 0.1);
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
}

.content .wp-block-gallery li:before {
    background-image: none;
}

.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure {
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
}

.social-media {
    font-size: 1.5em;
    margin-top: 1em;
}

a.linkedin {
    display: inline-block;
    background: url(../img/linkedin-lucy.svg) no-repeat center left;
    width: 2em;
    height: 2em;
    border: none;
    text-indent: -999em;
    margin: 0 0.5em 0 0;
}

a.twitter {
    display: inline-block;
    background: url(../img/twitter-lucy.svg) no-repeat center left;
    width: 2em;
    height: 2em;
    border: none;
    text-indent: -999em;
    margin: 0 0.5em 0 0;
}


/*

	!TYPOGRAPHY

*/


header[role="banner"] {
	padding: 1em 0;
}

header[role="banner"] h2 {
 	font-size: 1em;   
}

#site-description {
	font-size: 1em;
	text-indent: -999em;
}

#site-logo a {
	position: absolute;
	font-size: 1em;
    top: -1em;
	left: 1em;
	width: 20em;
	height: 12em;
	border: none;
	text-decoration: none;
	z-index: 99;
}

#site-logo-footer {
	font-size: 1em;
	width: 10em;
	height: 7.5em;
	border: none;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #FFF;
    line-height: 1.3;
	margin: 1.25em 0 0.5em 0;
    font-style: normal;
    font-family: futura-pt, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	color: #046C7B;
}

.content > h2:first-child,
.content > h3:first-child,
.content > h4:first-child,
.content > h5:first-child{
    margin-top: 0;
}

.content ul {
    list-style: none;
}

.content ul li {
    position: relative;
}

.content li:before {
    content: ' '; 
    height: 1em; 
    width: 1em; 
    background-image: url('../img/tick.svg'); 
    background-repeat: no-repeat; 
    position: absolute;
    top: 0.5em;
    left: -1.5em;
    
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: #FFF;
	border: none;
    text-decoration: none;
}

h1 {
	font-size: 3em;
    padding: 0 0 0.25em 0;
    margin: 0.75em 0 0 0;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.75em;
}

h4 {
	font-size: 1.5em;
}

h5, h6 {
	font-size: 1.25em;
}


p {
	margin: 0 0 1em 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

.content ul,
.content ol {
	margin: 0 0 1em 1.75em;
}
.proposition {
    margin: 2em 0 3em 0;
}

.proposition h2,
.title {
    font-family: "effra",sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 3em;
    line-height: 1.2;
    color: rgba(134, 180, 227, 1.0);
    margin-top: 1em;
}

body.home .title {
    margin-top: 2em;
}

.title-white {
    color: #fff;
}

.proposition p {
   font-size: 1.5em; 
    line-height: 1.3;
}

.smaller-grey {
    font-size: 80%;
    color: #777;
    padding-right: 0.5em;
}

.light {
    font-weight: normal;
}


/*

    !HERO

*/

.hero {
    position: relative;
    min-height: 30vh;
    margin-bottom: 3vh;
}

body.home .hero-image {
    padding-right: 10%;
    margin-left: -10%;
    text-align: left;
    position: static;
}

.hero-image {
    padding-left: 10%;
    margin-right: 0;
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
    width: 47vw;
    max-width: 36em;
}

.hero-image svg {
    width: 100%;
}

.hero-content {
    margin-top: 4em;
}

.hero-content p {
    font-size: 1.5em;
    line-height: 1.5;
}

.teachers-image {
    text-align: right;
    position: absolute;
    bottom: -0.5em;
    right: 0;
    width: 47vw;
    max-width: 40em;
}

.teachers-image svg {
}

.hero .background-image {
    width: 100%;
    height: 100%;
}

.band .background-image {
    width: 100%;
    height: 20em;
}

.title-image {
    text-align: right;
}


/*

    !FORMS

*/

.pure-form label {
    margin: 1em 0 0.25em 0;
    font-weight: bold;
    display: block;
    font-size: 1.125em;
}

.pure-form label .required {
    font-weight: normal;
    font-style: normal;
}

.counter .pure-button {
    padding: 0.75em 1em;
    font-size: 1.125em;
}

.counter .counter_box {
    width: 3.5em;
    text-align: center
}

.counter:first-child>.pure-button {
    margin-right: -3px;
}

.counter:last-child>.pure-button {
    margin-left: -3px;
}

.label-message {
    font-weight: normal;
    color: #888;
}

label.error,
p.error,
.error {
    color: #d72c19;
    background-color: #FFE7EF;
    margin: 0.25em 0;
    padding: 0.2em 0.4em;
    font-weight: normal;
    border-left: solid 0.25em #CD1C1F;
    display: block;
}

.instruction {
    font-weight: normal;
}

#status {
    display: none;
    font-size: 1.5em;
    margin: 1em 0;
    padding: 0.2em 0.4em;
    background-color: #FFFAE0;
    border-left: solid 0.25em #FFB268;
}



/*

	!NAVIGATION

*/

li {
	margin: 0;
	padding: 0;
}

.pure-menu.pure-menu-open {
	border: none;
}

#mainmenu {
    font-size: 1.125em;
    text-align: right;
}

#mainmenu li a,
#footermenu li a {
	color: #FFF;
	padding: 0.35em 0.75em 0.5em 0.75em;
    margin-right: 0.75em;
    display: inline-block;
    /* text-transform: uppercase;
    letter-spacing: 0.1em; */
}

#footermenu li a {
	color: #FFF;
	padding: 0;
    margin: 1em 0.75em 0.5em 0;
    display: inline-block;
    border: none;
    /* text-transform: uppercase;
    letter-spacing: 0.1em; */
}

#footermenu li a:hover {
	color: #FFF;
    background-color: transparent;
}

#mainmenu li.bookings a {
	color: #FFF;
    display: inline-block;
    background-color: rgba(134, 180, 227, 1.0);
 /* text-transform: uppercase;
    letter-spacing: 0.1em; */
}

#mainmenu li a:hover,
#mainmenu li.active a,
#secondarymenu li a:hover,
#secondarymenu li.active a,
#mobilemenu-primary  li a:hover,
#mobilemenu-secondary li.active a,
#mobilemenu-primary  li.active a,
#mobilemenu-secondary li a:hover {
    transition: background-color 0.4s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

#mainmenu li.bookings a:hover {
    color: #444;
    background-color: rgba(183, 235, 159, 1.0);
}


/*

	!PAGINATION
	
*/

.pagination {
	margin: 2em 0 1em 0;
}

.page-numbers {
	padding: 0.2em 0.5em;
	background-color: #eee;
	border-bottom: solid 0.0625em #888;
}

span.current {
	color: #fff;
	background-color: #333;
}



/*

	!FOOTER

*/

footer {
	margin: 1em 0 5em 0;
    padding: 2em 0;
}



/*

	!HELPERS

*/

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

.round img,
img.round {
    border-radius: 50%;
    opacity: 0.8;
}

.portrait {
    width: 10em;
    height: 10em;
}

.centre {
    text-align: center;
}


/*

    !TABLES

*/

.pure-table {
    width: 100%;
    margin-bottom: 4em;
}

.pure-table td:first-child {
    width: 50%;
}

.pure-table thead {
    color: #fff;
    background-color: #FFF;
}

.pure-table th {
    font-style: normal;
    font-weight: 400;
    font-size: 1.25em;
}

.pure-table th {
    border-left: 1px solid #FFF;
    border-width: 0 0 0 1px;
}

.pure-table td {
    vertical-align: top;
    padding: 1em 1.25em;
}

tr.available td {
    background-color: rgba(176, 216, 39, 0.2);
}

tr.booked td,
tr.pending td {
    color: #999;
    /* background-color: rgba(241, 35, 8, 0.1); */
}

.pure-form input[type=text],
.pure-form input[type=password],
.pure-form input[type=email],
.pure-form input[type=url],
.pure-form input[type=date],
.pure-form input[type=month],
.pure-form input[type=time], 
.pure-form input[type=datetime],
.pure-form input[type=datetime-local],
.pure-form input[type=week],
.pure-form input[type=number],
.pure-form input[type=search],
.pure-form input[type=tel],
.pure-form input[type=color],
.pure-form select,
.pure-form textarea {
    padding: .75em 1em;
    border: 1px solid #ccc;
    box-shadow: none;
    border-radius: 0;
    font-family: "effra", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.125em;
    color: #444;
}


/*

    !GUTENBERG BLOCKS

*/

.work-example-block {
	color: #046C7B;
    text-align: center;
    /* background-color: rgba(200, 232, 173, 1.0); */
    padding: 1em;
}

.work-example-block a {
    display: block;
    border: none;
    text-decoration: none;
    font-style: normal;
    font-weight: 400;
}

.work-example-block .icon {
    width: 8em;
    height: auto;
    display: block;
    margin: 0 auto;
}

.work-example-block h3 {
    color: #046C7B;
    margin: 0.75em 0 0 0;
    font-size: 1em;
}

.work-example-block p {
	font-size: 0.875em;
    line-height: 1.4;
	color: #222;
}


.button-container {
    display: none;   
}

.button-container.active {
    display: block;   
}

.button-container {
  position: fixed;
  top: 1.5em;
  right: 2em;
  height: 1.75em;
  width: 2.25em;
  cursor: pointer;
  z-index: 101;
  transition: opacity .25s ease;
}

.button-container:hover {
    opacity: 0.7;
  }
  
.button-container.active .top {
      transform: translateY(11px) translateX(0) rotate(45deg);
      background: #fff;
}
    
.button-container.active .middle {
      opacity: 0;
      background: #fff;
}
    
.button-container.active .bottom {
      transform: translateY(-11px) translateX(0) rotate(-45deg);
      background: #fff;
}
  
.button-container span {
  background: #fff;
  border: none;
  height: 4px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition:  all .35s ease;
  cursor: pointer;
}

.button-container .top {
      top: 0x;
}
    
.button-container .middle {
      top: 11px;
}
    
.button-container .bottom {
      top: 22px;
}

.overlay {
  position: fixed;
  background: #B7EB9F;
  background: #046C7B;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  z-index: 100;
}

.overlay.open {
  opacity: 0.95;
  visibility: visible;
  height: 100%;
}

.overlay.open li {
    -webkit-animation: fadeInRight .5s ease forwards;
    animation: fadeInRight .5s ease forwards;
    -webkit-animation-delay: .35s;
    animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
    -webkit-animation-delay: .45s;
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
    -webkit-animation-delay: .50s;
    animation-delay: .50s;
}

.overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 400;
    text-align: center;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 4);
    min-height: 50px;
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #FFF;
    text-decoration: none;
    overflow: hidden;
    border: none;
}

.overlay-menu .pure-menu li a:hover {
    color: #B7EB9F;
    background: transparent;
}

/*
.overlay ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 3px;
    background: #FFF;
    transition: .35s;
}
*/

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}


/*

    !MEDIA QUERIES

*/

/* Below 1024 (laptop below) */

@media only screen and (max-width: 63.9em) {

     .teachers-image {
        width: 90vw;
        max-width: 100%;
        position: static;
        display: inline-block;
        text-align: right;
   }
    
     .band-teachers {
        text-align: right;
        margin-bottom: -3em;
    }
        
    .band-teachers .wrapper {
        width: 100%;
    }
   
}


/* Below 768 (iPad portrait and below) */

@media only screen and (max-width: 48em) {
        
    .button-container {
        display: block;
    }
    
    #mainmenu {
        display: none;   
    }
    
    .wrapper {
        width: 100%;    
    }
    
     body.home .hero-image {
        padding-right: 0;
        margin-left: 2%;
        padding-top: 20%;
    }

    .hero-content {
       padding: 0 2em; 
    }
    
    .content {
        padding: 1em;
    }
    
    .highlight,
    .band.content-band {
        padding-left: 1em;
        padding-right: 1em;
    }
    
    
    h1 {
        font-size: 2.75em;
    }
    
   .hero-image {
        padding-left: 0;
    }
    
    blockquote,
    .content .wp-block-gallery ]{
        margin: 3em -1em;
    }
    
   .hero-image {
        width: 95vw;
        position: static;
    }
        
}

@media only screen and (max-width: 35em) {
            
    #site-logo a {
        top: -1em;
        left: 0;
        width: 12em;
        height: 4em;
    }
    
     body.home .hero-image {
        padding-right: 0;
        margin-left: 0;
    }
    
   .hero-image {
        width: 95vw;
        max-width: 35em;
        position: static;
    }
            
    .content-band .pure-button {
        margin-bottom: 2em;
    }
    
    .content {
        padding: 3em 1em;
        margin: 0;
    }
    
    
    .wp-block-gallery .blocks-gallery-image,
    .wp-block-gallery .blocks-gallery-item {
        /* width: 100%; */
    }
    
}
