/*
Theme Name: Rainbow Nursery
Theme URI: https://www.super-digital.co.uk
Author: the Super Digital team
Author URI: https://www.super-digital.co.uk
Description: Custom Wordpress theme for Rainbow Nursery.
Version: 1.0
*/

body {
  font-size: 16px;
  font-family: 'Delius';
  text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
  color: #5d5af2;
  font-family: 'knewave';
  letter-spacing: 2;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h2 {
  color: #fff;
  font-family: 'knewave';
  letter-spacing: 2;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.7rem;
}

h3 {
  color: #fff;
  font-family: 'knewave';
  letter-spacing: 2;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
  font-size: 1.7rem; 
}

.btn {
  border: 0;
  font-weight: 600;
}

.btn-primary, .btn-primary:hover, .btn-primary:focus {
  background: #b47ee0;
  transition:0.3s all ease;
}

.btn-secondary, .btn-secondary:hover, .btn-secondary:focus {
  background: #5d5af2;
  transition:0.3s all ease;
}

.btn-default, .btn-default:hover, .btn-default:focus {
  background: #3cb878;
  transition:0.3s all ease;
  color: #fff;
}

.btn-primary:hover, .btn-secondary:hover, .btn-default:hover {
  filter: brightness(90%);
  transition:0.3s all ease;
}

.wpcf7-submit {
  float: right;
}

/* editor image align*/

.alignright {
  float: right;
  margin: 5px;
  margin-right: 0;
  margin-top: 30px;
}

.alignleft {
  float: left;
  margin: 5px;
  margin-left: 0px;
}

/* header */

header {
  padding-top: 30px;
}

.ofsted img {
  max-width: 80px;
  height: auto;
  display: inline-block;
  position: relative;
  width: 100%;
}

.ofsted p {
 position: relative;
 font-size: 0.8rem;
 word-break: normal;
 word-wrap: break-word;
 max-width: 200px;
 display: inline-block;
 margin-left: 15px;
 color: 5d5af2;
 font-family: 'Delius';
 top: 8px;
}

.logo {
 width: 200px;
}

.logo img {
 width: 100%;
 height: auto;
}

.logo {
 width: 200px;
 display: block;
 position: relative;
 margin: 0 auto;
}

/* top nav */

header {
 font-weight: 600;
}

#menu-top-sub-menu li:first-child {
  margin-right: 15px;
}

.menu, .menu li {
 padding: 0;
 margin: 0;
 list-style: none;
 display: inline-block;
}

li a {background: #b47ee0;padding: 5px;border-radius: 7px;color: #fff;font-family: 'Delius';font-weight: 500;padding-left: 15px;padding-right: 15px;top: 0;transition: 0.3s all ease;position: relative;text-transform:lowercase;-webkit-box-shadow: 7px 10px 51px -1px rgba(0,0,0,0.75);-moz-box-shadow: 7px 10px 51px -1px rgba(0,0,0,0.75);box-shadow: -2px 1px 15px -1px rgba(0,0,0,0.25);}
li:nth-child(even) a {
 background: #5d5af2;
}

a.btn {
  text-decoration: none;
}

li a:hover {
   text-decoration: none;
   color: #fff;
   filter: brightness(90%);
   transition: 0.3s all ease;
   top: -2px;
}

header span {
 color: #5d5af2;
 display: block;
 font-family: 'Delius';
}

header span a {
 color: #b47ee0;
 text-decoration:none;
}

header span a:hover {
 text-decoration: underline;
}

.contact-details {
 margin-top: 15px;
}

/* Nav */

#menu-main-menu {
 display: block;
 margin: 0 auto;
 text-align: center;
 position: relative;
 margin-top: 13px;
 z-index: 10;
 top: 10px;
}

#menu-main-menu li {
 margin-right: 15px;
}

#menu-main-menu li:last-child {
 margin-right: 0px;
}

#menu-main-menu li:nth-child(5n+1) a, .event-list .col-12:nth-child(5n+1) .date-box {
 background: #ed1c08;
}

#menu-main-menu li:nth-child(5n+2) a, .event-list .col-12:nth-child(5n+2) .date-box {
 background: #ffb800;
}

#menu-main-menu li:nth-child(5n+3) a, .event-list .col-12:nth-child(5n+3) .date-box {
 background: #3cb878;
}

#menu-main-menu li:nth-child(5n+4) a, .event-list .col-12:nth-child(5n+4) .date-box {
 background: #5d5af2;
}

#menu-main-menu li:nth-child(5n+5) a, .event-list .col-12:nth-child(5n+5) .date-box {
 background: #b47ee0;
}

/* homepage */

.featured {
 height: 600px;
 position: relative;
 display: block;
 background-size: cover !important;
    background-position: center !important;
}

.featured-text {
  position: relative;
  display: block;
  top: 50%;
  transform: translateY(-50%);
}

.featured .container, .featured .row, .featured .col-md-6 {
  height: 100%;
}

/* content */

.content {
  -webkit-box-shadow: aquamarine;
  border-radius: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 40px;
  background: #fff;
  /* color: #fff; */
  box-shadow: 0px 0px 7px 2px rgba(66,66,66,0.15);
}

.content h1 {
  color: #3cb878;
  font-size: 3rem;
  margin-bottom: 30px;
}

.side-block {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 20px;
  background: #5d5af2;
}

.side-block p, .side-block label {
  color: #fff;
}

.side-block h2 {
  color: #fff;
}

.side-block label {
  margin-top: 0.5rem;
}

.side-block .btn {
  margin-top: 15px;
}



.rooms {
  margin-bottom: 30px;
}

.rooms h2 {
  color: #3cb878;
  text-align: center;
}

.rooms p {
  text-align: center;
}

a.room {
  height: auto;
  width: 100%;
  display: block;
  background-size: cover;
  min-height: 180px;
  background-position: center;
  transition: .3s all ease;
}

.room h3 {
  font-size: 2rem;
}

.room sub {
  color: #fff;
  display: block;
  font-size: 1.2rem;
  line-height: 1.5rem;
  padding-bottom: 30px;
  top: 0px;
}
.overlay {
  padding: 15px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.red {
  background: rgba(237, 28, 8, 0.9);
  transition: 0.3s all ease;
}

.red:hover {
  background: rgba(237, 28, 8, 0.6);
  transition: 0.3s all ease;
}

.lilac {
  background: rgba(180, 126, 224, 0.9);
  transition: 0.3s all ease;
}

.lilac:hover {
  background: rgba(180, 126, 224, 0.6);
  transition: 0.3s all ease;
}


.purple {
  background: rgba(93, 90, 242, 0.9);
  transition: 0.3s all ease;
}

.purple:hover {
  background: rgba(93, 90, 242, 0.6);
  transition: 0.3s all ease;
}

.green {
  background: rgba(60, 184, 120, 0.9);
  transition: 0.3s all ease;
}

.green:hover {
  background: rgba(60, 184, 120, 0.6);
  transition: 0.3s all ease;
}

.yellow {
  background: rgba(255, 184, 0, 0.9);
  transition: 0.3s all ease;
}

.yellow:hover {
  background: rgba(255, 184, 0, 0.6);
  transition: 0.3s all ease;
}


.room-content {
  display: block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
/* footer */

footer {
  background: #3cb878;
  padding-top: 30px;
  padding-bottom: 30px;
}

.circle {
  width: 200px;
  height: 200px;
  background: #fff;
  overflow: hidden;
  border-radius: 100%;
}

.circle a {
  position: relative;
  display: block;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
}

.footer-nav li {
  display: block;
  line-height: auto;
}

.footer-nav li a {
  background: transparent;
  box-shadow: none;
  padding: 0;
  font-weight: 600;
}

footer p {
  color: #fff;
}

p.foot-note {
  text-align: Center;
  font-weight: 600;
  padding-top: 30px;
}

p.foot-note a {
  color: #fff;
  text-decoration: underline;
  width: 100%;
}

/* page layout */

.section-image {
  max-width: 80%;
  display: block;
  position: relative;
  width: 100%:;
  margin: 0 auto;
  display: block;
}

.section-image img {
  width: 100%;
  margin: 0 auto;
  display: block;
  position: relative;
}

section h2 {
  color: #3cb878;
  padding-bottom: 15px;
  padding-top: 15px;
}

section {
  padding-top: 30px;
  padding-bottom: 30px;
}

section:nth-child(even){
  background: #f6f6f6;
}

section.parallaxie {
  text-align: center;
}

.page-heading {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #f6f6f6;
  text-align: Center;
}

.page-heading h1 {
  font-size: 4rem;
}


.section-content-center {
  display: block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

section.parallaxie {
  position: relative;
  display: block;
  padding: 0;
  min-height: 350px;
}

.page-id-19 section.section-3.parallaxie {
    height: 350px;
}

section .page.overlay {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

section .overlay .col-md-8 {
  height: 100%;
}

section ul, section li {
  list-style: none;
  padding: 0;
  margin: 0;
  padding: 0;
}

section a {
  background: transparent;
  box-shadow: none;
  color: #b47ee0;
  padding: 0;
  margin: 0;
  text-decoration: underline;
}

section li:nth-child(even) a {
  background: transparent;
  padding: 0;
  margin: 0;
}

section a:hover {
  text-decoration: underline;
  filter: brightness(60%);
}

/* profiles */

.profile-image {
  width: 100%;
}

.profile-image img {
  width: 100%;
  height: auto;
}

sub {
  display: block;
  position: relative;
  botttom: auto;
  line-height: 15px;
  font-size: 0.8rem;
  padding-bottom: 15px;
}

.profile-content h2 {
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-id-29 .btn {
  margin-top: 15px;
}

.page-id-29 label {
  font-weight: 600;
  margin-top: 0.5rem;
}

.contact-details h2, .contact-details p {
  text-align: Center;
}

.contact-details h3 {
  color: #5d5af2;
  font-size: 1.4rem;
  text-align: center;
}

input.wpcf7-form-control.wpcf7-submit.btn.btn-primary.float-right {
  margin-top: 15px;
}
 
.wpcf7 label {
  margin-top: 0.5rem;
}


/* responsive nav */

.resp-nav {
  width: 100%;
  display: block;
  position: relative;
}

.nav-box {
  position: fixed;
  top: -1000px;
  bottom: auto;
  background-size: cover !important;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  transition: 0.3s all ease;
  overflow-y: scroll;
}

.nav-box.active {
  top: 0;
  bottom: 0;
  transition: 0.3s all ease;
}

.nav-box-inner {

  background: rgba(255,255,255,.8);
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.nav-box li {
    display: block;
    width: 100% !important;
    position: relative;
    margin: 15px;
    text-align: center;
}

.nav-box ul {
    display: block;
    position: relative;
    margin: 0;
    margin-right: 30px;
}

.nav-box li a {
    width: 100% !important;
    display: block;
}

.responsive-logo {
  background: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.inner-content {
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
}

.inner-content h2 {
  color: #3cb878;
}

button.btn.btn-secondary.close-me {
  margin: 0 auto;
  display: block;
  position: relative;
  font-size: 0.8rem;
  font-weight: 400;
} 


button.btn.btn-primary.resp-nav.hidden-md {
  top: 50%;
  transform: translateY(-50%);
}

.responsive-logo .logo img {
  width: 200px !important;
  margin: 0 auto;
  display: block;
}

@media ( max-width: 767px ){
  .button-bar {
    margin-top: 15px;
    margin-bottom: 15px;
}
.logo {
  width: 100% !important;
}
  .inner-parallaxie, .parallaxie {
    background-size: cover !important;
    background-position: right -123px center !important;
    background-attachment: initial !important;
}
  .hidden-xs {
      display:none !important;
  }
  body {
    font-size: 14px;
  }
  #menu-top-sub-menu li:first-child {
    margin-right: 15px;
    margin-bottom: 15px !important;
}


  .ofsted {
      margin: 0 auto;
      display: block;
      position: relative;
      text-align: center;
      margin-top: 15px;
      margin-bottom: 15px;
  }

  .button-bar {
      text-align: center;
  }

  .contact-details {
      text-align: center;
      margin-bottom: 15px;
  }

  .resp-nav {
    margin-bottom: 15px;
    padding: 0;
    padding-top: 9px;
    padding-bottom: 8px;
  }

  html {
      margin-top: 0 !important;
  }
  .alignright, .alignleft {
    width: 100%;
    height: auto;
    float: none;
}

footer {
    text-align: center;
}

.circle {
    margin: 0 auto;
    margin-bottom: 30px;
}
iframe {
  width: 100% !important;
}
.fixed-box {margin: 0; height: 100%; width: 100%; overflow: hidden}
.content h1 {
  font-size: 2rem !important;
}
.side-block h2 {
  color: #fff;
  font-size: 1.4rem !important;
}
 }
 
 @media (min-width: 768px){
     .hidden-md {
         display:none;
     }
 } 

 table {
  width: 100%;
}

.resp-nav label {
    display: inline-block;
    font-size: 0.8rem;
    padding-right: 3px;
}

button.btn.btn-primary.resp-nav.hidden-md {
    padding-bottom: 0;
}


.page-id-19 .section-3 .page.overlay {
  height: 100%;
  display: block;
  position: relative;
}
.page-id-19 .section-3 .container {
  height: 100%;
  display: block;
  position: relative;
}
.page-id-19 .section-3 .row.justify-content-md-center {
  height: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

/* events */

.date-box {
  width: 75px;
  height: 75px;
  background: red;
  padding: 4px;
  color: #fff;
}

.week-day {
  display: block;
  text-align: center;
  font-size: 2rem;
}

.month {
  text-align: center;
  margin: 0 auto;
  display: block;
  margin-top: -10px;
}

.event-details h2 {
  color: #5d5af2;
}

.date-box {
  float: left;
}

.event-download {
  float: right;
  display: block;
}

.clearfix {
  clear:both;
}

.event-details {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-bottom: 9px;
  border-bottom: 2px solid #dbd9d9;
}

.event-download {
  top: 20px;
  position: relative;
}

.event-list {
  margin-top: 30px;
}

.carousel-indicators li {
  background-color: #f6f6f6 !important;
}


.carousel-indicators li.active {
  background-color: darkgrey !important;
}
ol.carousel-indicators {
  position: relative;
}

.testimonials {
  text-align: center;
}

.testimonials .carousel-item h2 {
  margin-bottom: 30px;
  font-size: 1rem;
  color: #b47ee0;
}