.blog .nav-primary, .sticky{box-shadow: 0 0 14px rgba(0,0,0,.3);}
.nav-primary{z-index: 9999;}

.modal{top:150px;}

@media only screen and (max-width : 993px) {
  .sticky .stickyLogo, .stickyHeader_interior .stickyLogo{
    position: absolute;
    background-color: transparent;
    background-size: contain;
    width: 30%;
    background-image: url(../../dist/images/montessori_Logo_white.png);
  }
  .nav-primary.active {
    background: #59702d;
    height: inherit;
  }
  .white .hamburger-inner, .white .hamburger-inner:after, .white .hamburger-inner:before{background-color: #000;}
  .white #menu-main-nav li a {color: white;}
  .white .active .hamburger-inner, .white .active .hamburger-inner:after, .white .active .hamburger-inner:before{background-color: #fff;}

  .white .stickyLogo {background-size: contain;}
  .white .active .stickyLogo {background-image: url(../../dist/images/montessori_Logo_white.png); background-color: transparent;}
}

ul .second-nav-contain {
  background: #ffffff;
  border-top: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  list-style: none !important;
}



.second-nav {
  font-weight: 500 !important;
  margin-bottom: 0px !important;
  width: 100% !important;
  padding: 0px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  list-style: none !important;
  border-top: 0px !important;

    display: block;
}

.second-nav li {
  font-weight: 500 !important;
  color: #988078;
  font-size: 1.05rem;
  padding-left: 0px !important;
  padding-right: 0px !important;
  border-top: 0px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  padding-top: 15px;
  width: 100% !important;
  height: 80px;
  padding-bottom: 0px !important;
    display: inline-block !important;
  text-align: center;
  margin-left: -3px !important;
  margin-right: -3px !important;

}

.sec-link {
  border-right: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;

  width: 100% !important;
  display: inline-block !important;
}
.sec-link:hover {
  border-right: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  background: #eb802e;
}

.second-nav li:hover {
  border-top: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  margin-left: -3px !important;
  margin-right: -3px !important;
  -webkit-transition: all .3s ease-in-out;
       -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
         -o-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
}
/*.second-nav li:hover {
  border-top: 0px !important;
  background: #eb802e;
  width: 100% !important;
  font-weight: 500 !important;
  color: #ffffff;
  border: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  -webkit-transition: all .3s ease-in-out;
       -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
         -o-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
}

.second-nav .last-item {
border-top: 0px !important;
letter-spacing: 1px;
  border-right: 2px solid #e6e6e6 !important;
}

.second-nav .last-item:hover {
  background: #eb802e;
  width: 100% !important;
  letter-spacing: 1px;
border-top: 0px !important;
  font-weight: 500 !important;
  border-right: 2px solid #e6e6e6 !important;
}

.second-nav .first-item {
  letter-spacing: 1px;
border-top: 0px !important;
  border-left: 2px solid #e6e6e6 !important;
}

.second-nav .first-item:hover {
  letter-spacing: 1px;
    font-weight: 500 !important;
border-top: 0px !important;
  border-left: 2px solid #e6e6e6 !important;
}
*/
.day-in-life-header {
  background: url('../images/greenRepeatingBG.jpg') repeat top left;
  padding-top: 150px;
  height: 450px;
  text-align: center;
}

.day-in-life-header h1 {
  color: #ffffff;
  font-weight: 200;
}

.lower-section {
  margin-top: 200px;
  background: url('../images/toddler-section-bg.png') no-repeat center bottom;
  height: 602px;
  background-size: cover;
}

.age12-15-sect {
  margin-top: 200px;
  background: url('../images/age12-15-section-bg.png') no-repeat center bottom;
  height: 602px;
  background-size: cover;
}



.after-school-section {
  margin-top: 150px;
  background: url('../images/tan-pinch-bg.png') no-repeat center top;
  height: 468px;
  background-size: cover;
}

.after-school-content {
  padding: 0px 25px;
  padding-bottom: 110px;
  background: #e2dccc;
}

.badge-bg {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 125px;
  margin-bottom: 60px;
  background: url('../images/in-the-life-badge.png') no-repeat center center;
  width: 317px;
  height: 317px;
}



.badge-bg h2 {
  letter-spacing: 1px;
  font-size: 45px !important;
  padding-top: 100px;
  width: 175px;
  margin: auto;
  text-align: center;
  color: #ffffff;
}

.badge-bg-lined {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: -120px;
  padding-top: 275px;
  margin-bottom: 60px;
  line-height: normal;
  background: url('../images/in-the-life-badge-lined.png') no-repeat center center;
  width: 317px;
  height: 502px;
}
.badge-bg-lined h2 {
  letter-spacing: 2px;
  font-size: 65px !important;
  width: 175px;
  line-height: 66px;
  margin: auto;
  text-align: center;
  color: #ffffff;
}
.badge-bg-lined h4 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 28px;
font-weight: 100 !important;

padding-bottom: 0px;
margin-bottom: 0px;
  text-align: center;
  color: #ffffff;
}

.badge-bg-lined2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: -120px;
  margin-bottom: 60px;
  background: url('../images/in-the-life-badge-lined2.png') no-repeat center center;
  width: 317px;
  height: 550px;
}

.badge-bg-lined2 h2 {
  letter-spacing: 1px;
  padding-top: 325px;
  font-size: 45px !important;
  width: 175px;
  margin: auto;
  text-align: center;
  color: #ffffff;
}

.tour-button {
  display: block;
  margin-top: 50px;
  width: 200px;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  color: #988078;
}

.tour-button:hover {
  font-weight: normal !important;
  color: #988078;
  opacity: 0.8;
}

.section-spacer {
  padding: 5px 25px 50px 25px;
  margin-top: 100px;
}

.img-respond {
  width: 100%;
  /*height: 60%;*/
}

.img-pad-xy {
  padding-top: 10px;
  padding-bottom: 10px;
}

.row-div {
  padding-top: 50px;
  padding-bottom: 30px;
}

.buttons-box .pad-above {
  padding-top: 10px;
}

.buttons-box a {
  font-size: 0.95em;
}

.buttons-box a:hover, .foot-links a:hover {
  font-weight: normal;
  opacity: 0.8;
}

.inspired-bg {
  background: url('../images/inspired-space-bg.jpg') no-repeat top right;
  height: 555px;
  padding-top:100px;
  background-size: cover;
}

.testimonials {
  padding-top: 30px;
  padding-bottom: 30px;
}


.life-list li {
  padding-bottom: 15px;
}

/*
.interior{margin-bottom:200px}
.blog .content.row{margin-left:autp; margin-right: auto;}
.blog .content.row main{max-width:50%;margin-left:10%;-webkit-box-flex:50%;-ms-flex:50%;flex:50%}

.blog .content.row main{max-width:auto;margin-left:0px;-webkit-box-flex:none;;-ms-flex:none;flex:none}*/




.box-card {
  background: #ece8db;
  padding: 28px;
  border: 6px dashed #e1dccc;
  border-radius: 10px;
  box-shadow: 0px 8px 18px rgba(0,0,0,0.1);
/*  outline: 4px dashed #e1dccc;  /* inner stroke */
 /*outline-offset: 2px;  /* negative border width + outline width */
}

.box-card-green {
  background: #7f8e41;
  padding: 28px;
  border: 7px dashed #677c30;
  border-radius: 10px;
  box-shadow: 0px 8px 18px rgba(0,0,0,0.1);
/*  outline: 4px dashed #e1dccc;  /* inner stroke */
 /*outline-offset: 2px;  /* negative border width + outline width */
}

.box-card-green p {
  color: #ece8db;
}
.box-card-green h2 {
  color:#ffffff;
}

.companySummary {
  padding-right: 10px;
}
.companySummary a:hover  {
  color: #eb802e;
  opacity: 0.8;
  font-weight: normal;
}

h4 .age {
  font-size: 24px;
  text-transform: uppercase !important;
  font-weight: 100 !important;
}


.green-card {
  padding-top: 15%;
  padding-bottom: 15%;

  min-height: 350px;
  color: #ffffff !important;
  background: url('../images/greenRepeatingBG.jpg') repeat;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
}

.green-card h3 {
  font-size: 38px;
  line-height: 48px;
  padding-bottom: 5px;
}

.green-card h3, .green-card p{
  color: #ffffff;
  padding-left: 30px;
  padding-right: 30px;
}

.no-bold:hover {
  font-size: inherit;
  font-weight: normal;
}

.trans-link:hover {
  font-weight: normal;
  opacity: 0.8;
}

body {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.sidebar-recents a:hover {
  font-weight: normal;
  opacity: 0.7;
}

.startTourContainer {
  background-size: cover;
}

.rounded {
  border-radius: 20px;
}

.link-fix {

}

.link-fix-o:hover {
  color:#bfbfbf;
  font-weight: normal;
}

.qouteBlock {
  padding: 75px 25px;
}

.location-offset:before {
	display: block;
 	content: " ";
  	height: 50px;      /* Give height of your fixed element */
        margin-top: -50px; /* Give negative margin of your fixed element */
        visibility: hidden;
}


.testimonialContainer {
  margin-top: 100px;
  padding-bottom: 50px;
}

.dl-icon {
  margin-top:40px !important;
  height: 35px;
  width: 35px;
}

.dl-icon .brown {
  font-weight: bold !important;
  padding-left: 10px;
}


.single-post-container {
  margin-bottom: 150px;
}

.sidebar {
  -webkit-transform: translateZ(0);
  position: fixed;
  right: 100px;

}

.fixed_side{
display: none;
}


.small_image .backgroundHeader img{
 position: absolute;
 object-fit: inherit;
}
.small_image .backgroundHeader h1, .pattern .backgroundHeader h1{
 top: 150px;
 width: 100%;
 z-index: 999;
}
.small_image .backgroundHeader, .pattern .backgroundHeader{
 justify-content: inherit;
 background-repeat: no-repeat;
background-size: cover;
}
.small_image .backgroundHeader{
   background-repeat: no-repeat;
   background-size: cover;
 }

article .article-prev {
  width: 100%;
}




  .page-template-testimonials-page .backgroundHeader h1{margin-top: 0;}
  .page-template-testimonials-page .wrap{margin-top: -50px; overflow: initial;}

  .page-template-parentsResources-page .wrap {
    margin-top: -100px;
}


/*   Testimonal slider mobile styling */
@media only screen and (max-width : 600px) {
  .nextBTN{right: 12%; top: 50%;}
  .previousBTN{left: 12%; top: 50%;}
  .testimonialContainer{min-height: 700px}
  }
@media all and (max-width: 993px) and (min-width: 601px) {
  .nextBTN{right: 12%; top: 70%;}
  .previousBTN{left: 12%; top: 70%;}
  .testimonialContainer{min-height: 500px}
  }
  .testimonials .current_item .photo{background-color: black;}
  .testimonials .current_item .photo:hover img{opacity: .8;}
  .testimonials .current_item .photo:hover::after{
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-image: url(../images/videoPlay_hover.png);
    width: 100%;
    height: 100%;
    /*background-color: rgba(0,0,0,.2);*/
    background-size: 10%;
    background-repeat: no-repeat;
    background-position: 50% 19%;
    cursor: pointer;
  }





  .rounded-box {
    width: 90%;
    margin-top: -65px;
    min-height: 450px;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
    overflow: hidden;
    border-radius: 25px;
  }

  .testimonialsVid {

    position: relative;
    margin-top: -50px;

    border-radius: 25px;
  }
  /* VIDEO COVER EFFECT*/
  .vid-contain {
      position: relative;
      background-color:#000;
      border-radius: 25px;
  }

  .vid-poster {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
  }

  .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);}
    .middle a {
      color: red;
      text-decoration: none;
    }


  .vid-contain:hover .vid-poster {
    opacity: 0.7;
  }

  .vid-contain .middle {
    opacity: 1;

  }

  .vid-hover-text {
    background-color: #e0802f;
    height: 100px;
    width: 100px;
    color: white;
    font-size: 16px;
    border-radius: 100px;
    text-align: center;
    transition: .5s ease;
  }
    .vid-hover-text i {
      padding-top: 22%;
      font-size: 3.2rem;
      padding-left: 10px;
    }


  .vid-hover-text:hover {
  /*  opacity: 0.7;*/
  }

  /*END VIDEO COVER*/


  /* VIDEO POPUP */
  #closer_videopopup{
      position: absolute;
      display: table-cell;
      right: 2%;
      top: 2%;
      font-size: 32px;
      text-align: center;
      vertical-align: middle;
      padding: auto;
      cursor: default;
      background: none;
      border: none;
      color: #ffffff;
      z-index: 100004;
  }
  #opct{
    position: fixed;
    z-index: 100000;
    width: 100%;
    height: 100%;
    top: 0;
    left:0;
    bottom: 0;
    right: 0;
    filter: alpha(opacity=90);
    -moz-opacity: 0.90;
    opacity: 0.9;
}
#videCont{
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin: auto;
    max-width: 720px;
    height: 0;
    height: auto !important;
}
video{
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    opacity: 1 !important;

}
#myModal1 video{top:0;}
#video1{
    cursor: pointer; cursor: hand;
}



/* END VIDEO POPUP */



/***GALLERY STYLING ****/
.gallery-row > .gallery-col {
  padding: 0px;
  background: none;
}

.gallery-row:after {
  content: "";
  display: table;
  clear: both;
}

.gallery-col {
  float: left;
  width: 100%;
}

/* The Modal (background) */
.gallery-modal {
  text-align: center;
  display: none;
  position: fixed;
  z-index: 999999999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}
.gallery-modal img {
    max-height: 500px !important;
  }


/* Modal Content */
.gallery-modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.gallery-close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.callery-close:hover,
.gallery-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer !important;
}

.gallery-slides {
  display: none;
}

/* Next & previous buttons */
.gallery-prev,
.gallery-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.gallery-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.gallery-prev {
  left: 0;
}

/* On hover, add a black background color with a little bit see-through */
.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.gallery-demo {
  opacity: 0.6;
}



img.gallery-hover-shadow {
  transition: 0.3s
}

.gallery-hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}



.gallery-modal-thumb {
    width: 100%;
    max-height: 150px;
    overflow: hidden;}
.gallery-modal-thumb img {
      opacity: 0.5;
      width: auto;
      min-height: 150px;
      overflow: hidden;


    }

.gallery-modal-thumb img:hover {
      cursor: pointer;
      opacity: 0.9;
    }

.gallery-modal-thumb .selected {
    border:2px solid red;
    opacity: 1;
  }
  .gallery-modal-thumb .selected  a {overflow: hidden;}



.gallery-active, .gallery-demo:hover {opacity: 1 !important;}


/**end gallery styling **/


footer .foot-lower .foot-links li a {
    font-size: 1.5em;
}


a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover{color:#ffffff;}
