/* CSS Document */ /* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

.bar-top p {
  font-size: 0.9em !important;
}

@media screen and (max-width: 480px) {
  .bar-top p {
    font-size: 0.6em !important;
    line-height: 20px !important;
  }
}
nav {
  display: flex;
}
nav .logo {
  margin-left: 2rem;
  width: 180px;
  margin-right: auto;
}
nav .logo img {
  width: 100%;
}
nav .navbar {
  display: flex;
  align-items: center;
  margin-left: 1rem;
  margin-right: 2rem;
}
nav .navbar .fa-times, nav .navbar .fa-bars {
  display: none;
  font-size: 2em;
  z-index: 1000;
}
nav .navbar .links {
  display: flex;
}
nav .navbar .links a {
  text-decoration: none;
  white-space: nowrap;
  font-family: "Comic Sans MS", cursive;
  padding: 14px;
}

@media screen and (max-width: 820px) {
  nav .logo {
    margin-left: 1rem;
  }
  nav .navbar {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  nav .navbar .links a {
    padding: 6px;
  }
}
@media screen and (max-width: 768px) {
  nav .logo {
    margin-left: 2rem;
    width: 120px;
  }
  nav .burger-btn {
    margin-left: 6rem;
  }
  nav .navbar {
    margin-right: 2rem;
    opacity: 0.94;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  nav .navbar .fa-bars {
    display: block;
  }
  nav .navbar .fa-times {
    display: block;
  }
  nav .navbar .nav-links {
    display: block;
    width: 100%;
    background-color: #70a7bc;
    position: fixed;
    top: 0;
    left: -100%;
    transition: all 0.5s ease-in-out;
    z-index: 1000;
    text-align: center;
  }
  nav .navbar .nav-links .links {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
  nav .navbar .nav-links .links li {
    display: block;
    padding: 1.5rem 0;
  }
  nav .navbar .nav-links .links li .sub-menu {
    position: relative;
    top: 0px;
    padding-left: 10px;
    font-size: 2em;
    background-color: #908F8F;
    margin-top: 20px;
  }
}
.parallax-window {
  height: 500px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero {
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.43);
  max-width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}
.hero h2 {
  padding-bottom: 10px;
  border-bottom-style: solid;
  border-bottom-width: 3.1px;
  width: fit-content;
  font-size: 1.5em;
  margin: auto;
}
.hero h1 {
  font-size: 2.2em;
  line-height: 70px;
  padding-bottom: 20px;
}
.hero p {
  font-size: 1.3em;
}

@media screen and (max-width: 768px) {
  .hero h2 {
    font-size: 1.2em;
  }
  .hero h1 {
    font-size: 2em;
    line-height: 50px;
    padding-bottom: 10px;
  }
  .hero p {
    font-size: 1em;
  }
}
@media screen and (max-width: 480px) {
  .hero {
    max-width: 60%;
  }
  .hero h2 {
    font-size: 1em;
  }
  .hero h1 {
    font-size: 1.6em;
    line-height: 30px;
    padding-bottom: 10px;
  }
  .hero p {
    font-size: 0.9em;
  }
}
/*======HOME=======*/
@media screen and (min-width: 1024px) {
  section.home1 aside {
    margin: 0;
  }
}
@media screen and (min-width: 768px) {
  section.home1 {
    position: relative;
    padding-bottom: 10px;
  }
  section.home1 h2 {
    font-size: 2.5em !important;
  }
  section.home1 aside img {
    width: 60%;
    padding-bottom: 10px;
  }
}
section.home1 h2 {
  font-size: 2em !important;
  margin-bottom: 3rem;
}
section.home1 aside {
  text-align: center;
  padding-bottom: 4rem;
}
section.home1 aside img {
  width: 40%;
  padding-bottom: 2rem;
  margin: 0 2rem;
}
section.home1 aside h3 {
  margin-bottom: 6px;
}

/*----------home-2--------*/
@media screen and (min-width: 768px) {
  .home-2 .g3 {
    display: grid;
  }
  .home-2 .g3 img {
    width: 90%;
    border-radius: 50%;
  }
  .bg {
    background-image: url("../imgs/art/bg-sml.jpg");
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}
.home-2 .g3 aside {
  display: grid;
}
.home-2 .g3 aside img {
  width: 70%;
  border-radius: 50%;
  margin: 2rem auto;
  align-self: center;
}

.bg {
  background-image: url("../imgs/art/bg-sml.jpg");
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*----------home-4-5--------*/
.bg-gradient {
  background-image: linear-gradient(#E4CFBF, #FFF);
}

@media screen and (min-width: 768px) {
  .home4-deco {
    height: 60px;
    width: 50%;
    background-color: #f97338;
  }
  .home4 {
    max-width: 1250px;
    margin: 0 auto;
    padding-top: 2rem;
  }
  .home4 .home4-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    text-align: center;
  }
  .home4 .home4-container .home4-img {
    height: auto;
    margin-bottom: 0rem;
  }
  .home4 .home4-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .home4 .home4-container .home4-text {
    background-color: #FFF;
  }
}
.home4 .home4-container .home4-img {
  margin-bottom: 2rem;
  width: 100%;
}
.home4 .home4-container .home4-img img {
  width: 100%;
  object-fit: cover;
}
.home4 .home4-container .home4-text {
  padding: 30px 15px;
}

/*------------------*/
.home5 {
  background-color: #FFF;
}

/*------------------*/
.home6 .mason-container {
  display: grid;
  grid-auto-rows: minmax(30vw, 260px);
  grid-gap: 1rem;
}
.home6 .mason-container .mason-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 600px) {
  .home6 .mason-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .home6 .mason-container {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(30vw, 160px);
  }
  .home6 .mason-container .mason-item:nth-child(5) {
    grid-column: 2/4;
  }
}
/*======ABOUT US=======*/
.founders .g2 img {
  width: 50%;
  border-radius: 50%;
}

.management-team .grid3-item {
  display: grid;
  margin-top: 3rem;
  text-align: center;
}
.management-team .grid3-item .staff-img {
  width: 50%;
  border-radius: 50%;
  justify-self: center;
}
.management-team .grid3-item h2 {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1em;
  padding-bottom: 0;
}
.management-team .grid3-item h3 {
  margin-top: 1rem;
}
.management-team .grid3-item h4 {
  margin-top: 1rem;
}

@media screen and (min-width: 768px) {
  .about4 .team-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    padding: 0 10px;
  }
  .about4 .team-container .team-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: #E4CFBF;
    object-fit: cover;
  }
  .about4 .team-container .team-item img {
    width: 100%;
  }
  .about4 .team-container .team-item .team-text {
    padding-top: 30px;
  }
  .about4 .team-container .team-item .team-text h3 {
    font-weight: bold;
    padding-top: 10px;
  }
}
.team-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background-color: #E4CFBF;
  margin-bottom: 20px;
}
.team-item img {
  width: 100%;
}
.team-item .team-text {
  padding-top: 30px;
}
.team-item .team-text h3 {
  font-weight: bold;
  padding-top: 10px;
}

/*======ROOMS=======*/
.rooms .rooms-container {
  display: grid;
  grid-template-columns: 1fr;
}
.rooms .rooms-container .rooms-item-top:nth-child(2) {
  grid-row: 1/2;
}
.rooms .rooms-container .rooms-item .img-left {
  width: 100%;
}
.rooms .rooms-container .rooms-item .img-right {
  width: 100%;
}
.rooms .rooms-container .rooms-item .rooms-icon {
  width: 30%;
  margin-top: 2rem;
}
.rooms .rooms-container .rooms-item h2 {
  line-height: 10px;
}
.rooms .rooms-container .rooms-item p {
  padding: 0 2rem;
}
.rooms .rooms-container .rooms-item p strong {
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .rooms {
    max-width: 1250px;
    padding: 0 2rem;
    margin: 2em auto;
    border-bottom: 1px solid;
  }
  .rooms .rooms-container {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 3rem;
  }
  .rooms .rooms-container .rooms-item-top:nth-child(2) {
    grid-column: 2/3;
  }
  .rooms .rooms-container .rooms-item {
    position: relative;
  }
  .rooms .rooms-container .rooms-item .img-left {
    width: 80%;
    height: 80%;
    margin-top: 5rem;
    object-fit: cover;
    justify-self: start;
  }
  .rooms .rooms-container .rooms-item .img-right {
    width: 80%;
    height: 80%;
    margin-top: 5rem;
    object-fit: cover;
    justify-self: end;
    position: absolute;
    right: 0;
  }
  .rooms .rooms-container .rooms-item .rooms-icon {
    width: 17%;
    margin-top: 2rem;
  }
}
/*----------FOOTER----------*/
footer {
  height: auto;
  text-align: center;
  background-color: #E4CFBF;
  padding: 10px;
}
footer .footer-container {
  background-color: #FFF;
  line-height: 30px;
  padding: 10px 0 10px;
}
footer .footer-container a {
  color: #541578;
  text-decoration: underline;
}

/* Vanilla Slider */
.container {
  margin: 0 auto;
  width: 60%;
  height: 400px;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-bottom: 4rem;
}

.slides {
  display: flex;
  height: 100%;
  width: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
  text-align: center;
}
.slide p {
  width: 50%;
  margin: 0 auto;
  font-size: 1.52em;
  line-height: 40px;
}

.slide-controls {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#next-btn, #prev-btn {
  cursor: pointer;
  background: transparent;
  font-size: 30px;
  border: none;
  padding: 10px;
  color: #000;
}

#next-btn:focus, #prev-btn:focus {
  outline: none;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  font-size: 30px;
  color: #FFF;
}

@media screen and (max-width: 768px) {
  .container {
    width: 80%;
  }
  .slide p {
    width: 70%;
  }
}
/*======PROGRAMS=======*/
.programs-container {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.programs-container .programs-items {
  padding-top: 6rem;
}
.programs-container .programs-items img {
  width: 80px;
  padding-bottom: 0rem;
}
.programs-container .programs-items h3 {
  padding: 2rem 0;
}
.programs-container .programs-items p {
  padding-top: 0rem;
}

.special-programs-items {
  display: grid;
  margin: 20px auto;
}
.special-programs-items img {
  grid-column: 1;
  grid-row: 1;
  max-width: 100%;
  display: block;
}
.special-programs-items .program-text {
  align-self: end;
  grid-column: 1;
  grid-row: 1;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

/*======EVENT/GALLERY=======*/
.admissions p {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.admissions ul {
  margin-bottom: 1rem;
}
.admissions ul li {
  padding: 0.7rem;
}
.admissions ul li img {
  width: 30px;
  padding-right: 10px;
  color: #541578;
}
.admissions ul li a {
  font-size: 1.3rem;
  text-decoration: underline;
}

/* event calender css */
.event-container {
  font-family: "Roboto", sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.event-container h3.year {
  font-size: 40px;
  text-align: center;
  border-bottom: 1px solid #b1b1b1;
}

.event-container .event {
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.4);
  display: flex;
  border-radius: 8px;
  margin: 32px 0;
}

.event .event-left {
  background-color: #222;
  min-width: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eee;
  padding: 8px 48px;
  font-weight: bold;
  text-align: center;
  border-radius: 8px 0 0 8px;
}

.event .event-left .date {
  font-size: 56px;
}

.event .event-left .month {
  font-size: 16px;
  font-weight: normal;
}

.event-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
}

.event .event-right h3.event-title {
  font-size: 24px;
  margin: 24px 0 10px 0;
  color: #218bbb;
  text-transform: uppercase;
}

.event .event-right .event-timing {
  background-color: #fff8ba;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  padding: 8px;
  border-radius: 16px;
  margin: 24px 0;
  font-size: 14px;
}

.event .event-right .event-timing img {
  height: 20px;
  padding-right: 8px;
}

/*======ADMISSIONS FAQS=======*/
.accordion {
  font-family: "Comic Sans MS", cursive;
  background-color: #eee;
  color: #541578 !important;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 20px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}

/*======CONTACT FORM=======*/
.contact-form {
  font-family: "Comic Sans MS", cursive;
  padding: 0 40px;
  color: #541578 !important;
}

div.input-fields {
  margin-bottom: 1.5em;
}

input[type=text], select, textarea {
  width: 100%;
  resize: vertical;
  border: none;
  border-bottom: 1px solid #541578;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
  background: none;
  font-size: 1.2em;
  height: 45px;
  font-family: "Comic Sans MS", cursive;
  color: #541578 !important;
}

input[type=submit] {
  background-color: #541578 !important;
  color: #FFF;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #383838;
}

.form-control:active, .form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #000;
}

label.error {
  font-size: 12px;
  color: red;
}

#message {
  resize: vertical;
}

#form-message-warning, #form-message-success {
  display: none;
}

#form-message-warning {
  color: #B90B0B;
}

#form-message-success {
  color: #55A44E;
  font-size: 18px;
  font-weight: bold;
}

.submitting {
  float: left;
  width: 100%;
  padding: 10px 0;
  display: none;
  font-weight: bold;
  font-size: 12px;
  color: #000;
}

@media (max-width: 550px) {
  .event {
    flex-direction: column;
  }
  .event .event-left {
    padding: 0;
    border-radius: 8px 8px 0 0;
  }
  .event .event-left .event-date .date,
  .event .event-left .event-date .month {
    display: inline-block;
    font-size: 24px;
  }
  .event .event-left .event-date {
    padding: 10px 0;
  }
}
.events-gallery .mason-container {
  display: grid;
  grid-auto-rows: minmax(30vw, 260px);
  grid-gap: 1rem;
}
.events-gallery .mason-container .mason-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 600px) {
  .events-gallery .mason-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .events-gallery .mason-container {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(15vw, 160px);
  }
  .events-gallery .mason-container .mason-item:nth-child(1) {
    grid-row: 1/3;
  }
  .events-gallery .mason-container .mason-item:nth-child(13) {
    grid-row: 5/7;
  }
}
/*======COMMUNITY=======*/
.community1 h3 {
  font-size: 2em !important;
}
.community1 img {
  width: 90%;
  float: right;
}

/*Responsive table*/
table {
  width: 100%;
  border-collapse: collapse;
  background: #70a7bc;
  color: #f3f3f3;
}

td, th {
  padding: 1em;
  text-align: left;
}

/* Zebra striping */
tr:nth-of-type(odd) {
  background: #1e5c73;
}

th {
  background: #541578;
  font-weight: bold;
}

h3 {
  font-size: 1.3rem;
}

.video-youtube {
  background-color: #BDBDBD;
}
.video-youtube .video-container {
  width: 100%;
  height: 300px;
}

.video {
  border: 8px solid #565555;
  height: 320px;
}

@font-face {
  font-family: "Comic Sans MS";
  src: url("https://youngtalentsnurseryschool.com/Assets/fonts/comic-sans-ms/COMIC.TTF");
}
body {
  font-family: "Comic Sans MS", cursive, Helvetica;
  color: #541578;
  width: 100%;
  height: 100%;
}

.container-lg {
  max-width: 1250px;
  margin: 0 auto;
}

.container-md {
  max-width: 900px;
  margin: 0 auto;
}

.container-sml {
  max-width: 768px;
  margin: 0 auto;
}

@media screen and (max-width: 1200px) {
  .container-lg, .container-md {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media screen and (max-width: 768px) {
  .container-sml {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
h2 {
  font-size: 2em;
  line-height: 50px;
}

p {
  font-size: 1.2em;
  line-height: 35px;
}

@media screen and (max-width: 768px) {
  p {
    font-size: 1.2em;
  }
}
/*====================GRID 2 COLUMNS===================*/
.g2 {
  padding: 2rem;
}
.g2 img {
  width: 100%;
}
.g2 .img-left {
  display: grid;
}
.g2 .img-right {
  display: grid;
  margin-top: 3rem;
}
.g2 p {
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  .g2 {
    display: grid;
    grid-gap: 3rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .img-left {
    display: grid;
    margin-top: 0;
  }
  .img-left img {
    width: 70%;
    justify-self: start;
  }
  .img-right {
    display: grid;
    margin-top: 0;
  }
  .img-right img {
    width: 70%;
    justify-self: end;
  }
}
@media screen and (min-width: 768px) {
  .g3 {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1250px;
  }
  .g4 {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1250px;
  }
}
@media screen and (min-width: 1024px) {
  .g5 {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1250px;
  }
}
.button {
  background-color: #4CAF50;
  border: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.05em;
  margin: 4px 2px;
  cursor: pointer;
}

.button1 {
  background-color: #FFF;
  border: 2px solid #4CAF50;
}

.button1:hover {
  background-color: #4CAF50;
}

a {
  text-decoration: none;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.border-bottom {
  border-bottom: 1px solid #541578;
}

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

.under-line {
  display: inline;
  border-bottom: 2px solid;
  padding-bottom: 5px !important;
}

.fade-in-text {
  animation: fadeIn 3s;
}

.pt1 {
  padding-top: 1em;
}

.pt2 {
  padding-top: 2em;
}

.pt3 {
  padding-top: 3em;
}

.pt4 {
  padding-top: 4em;
}

.pt5 {
  padding-top: 5em;
}

.pb1 {
  padding-bottom: 1em;
}

.pb2 {
  padding-bottom: 2em;
}

.pb3 {
  padding-bottom: 3em;
}

.pb4 {
  padding-bottom: 4em;
}

.pb5 {
  padding-bottom: 5em;
}

.mt1-2 {
  margin-top: 0.5em;
}

.mt1 {
  margin-top: 1em;
}

.mt2 {
  margin-top: 2em;
}

.mt3 {
  margin-top: 3em;
}

.mt4 {
  margin-top: 4em;
}

.mt5 {
  margin-top: 5em;
}

.mb1 {
  margin-bottom: 1em;
}

.mb2 {
  margin-bottom: 2em;
}

.mb3 {
  margin-bottom: 3em;
}

.mb4 {
  margin-bottom: 4em;
}

.mb5 {
  margin-bottom: 5em;
}

.bar-top p {
  font-size: 0.9em !important;
  margin: 0.5em 0;
}

@media screen and (max-width: 480px) {
  .bar-top p {
    font-size: 0.6em !important;
    line-height: 20px !important;
  }
}
#back2Top {
  overflow: hidden;
  z-index: 999;
  display: none;
  cursor: pointer;
  position: fixed;
  bottom: 50px;
  right: 15px;
  text-decoration: none;
}

a img.scroll-img {
  width: 42px !important;
}