/** RESPONSIVE IFRAMES **/
.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/** TEMPLATE FIXES **/

.article-details .pull-center img {
  display: initial;
}

.article-details img {
  display: initial !important;
}

.lnee .active {
  opacity: 1.0 !important;
}

.lnee .innernews {
  padding: 0 !important;
}

.lnee .newstitle {
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
}

#sp-main-body {
  padding: 50px 0;
}

#sp-bottom .sp-module .sp-module-title {
  margin: 0 0 20px;
}

#sp-footer, #sp-bottom {
    background: #e9ecef;
    color: #666666;
}

#sp-footer a, #sp-bottom a {
    color: #4d4d4d;
}

#sp-footer a:hover, #sp-bottom a:hover {
    color: #2196F3;
}

/** SOCIAL ICONS  **/

.social-icons {
  font-size: 20px;
}

.social-icons ul {
  margin-left: -5px;
}

.social-icons li {
  padding: 5px;
}


/** MAIN MENU **/

.sp-dropdown-items .sp-menu-item span {
  display: inline !important;
}


/** JUMBOTRON / HERO IMAGES  **/

.jumbotron {
  height: 350px;
  margin-bottom: 0;
  position: relative;
  
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left top;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

.jumbotron .position-middle {
  top: 50%;
  position: absolute;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.jumbotron .position-bottom {
  bottom: 0;
  position: absolute;
}

.jumbotron .blockquote {
  color: #ffffff;
  font-size: 1.5rem;
  text-shadow: 3px 3px 4px #a4a4a4;
}

.jumbotron .blockquote-footer {
  color: #ffffff;
  text-shadow: 3px 3px 4px #a4a4a4;
}

.jumbotron-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
  background-color: rgba(0,0,0,0.6);
}

.jumbotron-overlay .display-4 {
  font-size: 3.0rem;
}

.jumbotron-overlay hr {
  background-color: #cccccc;
}

.jumbotron-home {
  height: 500px;
  background-image: url('/images/headers/avaleht_1200x675.jpg');
  /*background-image: url('/images/headers/18_september_ZOOMis_esilehele.png');*/
  background-position: right top;
}

.jumbotron-montessori {
  background-image: url('/images/headers/montessori.jpg');
}

.jumbotron-association {
  background-image: url('/images/headers/uhing.jpg');
}

.jumbotron-blog {
  background-image: url('/images/headers/blogi.jpg');
  background-position: right top;
}

.jumbotron-materials {
  background-image: url('/images/headers/materjalid.jpg');
  background-position: center top;
}

.jumbotron-events {
  background-image: url('/images/headers/sundmused.jpg');
}

.jumbotron-contact {
  background-image: url('/images/headers/kontakt.jpg');
  background-position: center top;
}


/** BOX IMAGES **/

.box-container {
  width: 100%;
  position: relative;
  border: 1px solid #f5f5f5;
  margin-bottom: 30px;
  transition: box-shadow .3s;
}

.box-container:hover {
  box-shadow: 0 1rem 3rem rgba(33,33,33,.3)!important;
}

.box-image-container {
  width: 100%;
  position: relative;
}

.box-image {
  width: 100%;
}

.box-title {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, 0%);

  color: #ffffff;
  font-size: 150%;
  font-weight: normal;
  text-align: center;
  text-shadow: 3px 3px 6px #262626;
  
  width: 100%;
  padding: 15px;
}

.box-title::after {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translate(-50%, 0%);
  
  display: block;
  content: '';
  width: 20%;
  height: 2px;
  background-color: #ffffff;
}

.box-description {
  width: 100%;
  padding: 10px;
  text-align: center;
}


/** BREADCRUMB, PAGINATION **/

.breadcrumb, .pagination-wrapper {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-style: normal;
  margin-bottom: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
  display: inline-block;
  padding-right: .5rem;
  color: #6c757d;
  font-family: "FontAwesome";
  content: "\f105";
}

.tags, .pager {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-style: normal;
}


/** SUB MENU **/

.menu-right li {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-style: normal;
}

.menu-right li.current a {
  color: #03A9F4;
}

.menu-right li.current a::before {
  display: block;
  font-family: "FontAwesome";
  content: "\f105";
  position: absolute;
  left: 30px;
}


/** OFF-CANVAS MENU **/

.offcanvas-menu .close-offcanvas {
  display: none;
}

.offcanvas-menu .menu li a, .offcanvas-menu .offcanvas-inner .sp-module ul > li ul li a {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-style: normal;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent > a > .menu-toggler:after, .offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent > .menu-separator > .menu-toggler:after {
  content: "\f0d7";
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent.menu-parent-open > a > .menu-toggler:after, .offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent.menu-parent-open > .menu-separator > .menu-toggler:after {
  content: "\f0d9";
  padding-right: 30%;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li a, .offcanvas-menu .offcanvas-inner .sp-module ul > li span {
  padding: 0.25rem 0;
}


/** EVENTS **/

.events .article-list .article .article-intro-image {
  float: left;
  margin: -20px 20px 20px -20px;
}