/*
Theme Name: Gintarelis
Theme URI: https://www.gintarelis.co.uk/
Author: TOMOSOLUTIONS
Author URI: https://www.tomosolutions.co.uk/
Version: v1.0;
Text Domain: t
*/

/* Reset CSS
 * --------------------------------------- */
blockquote,body,dd,div,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0}a,a:focus{text-decoration:none}table{border-spacing:0}abbr,acronym,fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-weight:400;font-style:normal}strong{font-weight:700}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:100%}q:after,q:before{content:''}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

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

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    max-width: 96%; 
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* columns of same height styles */
.row-height {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}
.col-height {
  display: table-cell;
  float: none;
  height: 100%;
}
.col-top {
  vertical-align: top;
}
.col-middle {
  vertical-align: middle;
}
.col-bottom {
  vertical-align: bottom;
}

@media (min-width: 480px) {
  .row-xs-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-xs-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-xs-top {
    vertical-align: top;
  }
  .col-xs-middle {
    vertical-align: middle;
  }
  .col-xs-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 768px) {
  .row-sm-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-sm-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-sm-top {
    vertical-align: top;
  }
  .col-sm-middle {
    vertical-align: middle;
  }
  .col-sm-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 992px) {
  .row-md-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-md-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-md-top {
    vertical-align: top;
  }
  .col-md-middle {
    vertical-align: middle;
  }
  .col-md-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 1200px) {
  .row-lg-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-lg-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-lg-top {
    vertical-align: top;
  }
  .col-lg-middle {
    vertical-align: middle;
  }
  .col-lg-bottom {
    vertical-align: bottom;
  }
}
/* Custom Icon font*/
@font-face {
  font-family: 'gintarelis';
  src:  url('assets/fonts/gintarelis.eot?8688qk');
  src:  url('assets/fonts/gintarelis.eot?8688qk#iefix') format('embedded-opentype'),
    url('assets/fonts/gintarelis.ttf?8688qk') format('truetype'),
    url('assets/fonts/gintarelis.woff?8688qk') format('woff'),
    url('assets/fonts/gintarelis.svg?8688qk#gintarelis') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'gintarelis' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-mail:before {
  content: "\e90d";
}
.icon-facebook:before {
  content: "\e90e";
}
.icon-clock:before {
  content: "\e900";
}
.icon-game:before {
  content: "\e901";
}
.icon-horse:before {
  content: "\e902";
}
.icon-left-arrow:before {
  content: "\e903";
}
.icon-paper-plane:before {
  content: "\e904";
}
.icon-placeholder:before {
  content: "\e905";
}
.icon-right-arrow:before {
  content: "\e906";
}
.icon-right-arrow-circle:before {
  content: "\e907";
}
.icon-round-add-button:before {
  content: "\e908";
}
.icon-smartphone:before {
  content: "\e909";
}
.icon-triangle-left:before {
  content: "\e90a";
}
.icon-triangle-right:before {
  content: "\e90b";
}
.icon-up-arrow:before {
  content: "\e90c";
}

/* Custom font*/

@font-face {
    font-family: "Comic Sans MS";
    src: url("assets/fonts/81d64ec3675c4adc14e9ad2c5c8103a7.eot");
    src: url("assets/fonts/81d64ec3675c4adc14e9ad2c5c8103a7.eot?#iefix") format("embedded-opentype"),
    url("assets/fonts/81d64ec3675c4adc14e9ad2c5c8103a7.woff2") format("woff2"),
    url("assets/fonts/81d64ec3675c4adc14e9ad2c5c8103a7.woff") format("woff"),
    url("assets/fonts/81d64ec3675c4adc14e9ad2c5c8103a7.ttf") format("truetype"),
    url("assets/fonts/81d64ec3675c4adc14e9ad2c5c8103a7.svg#Comic Sans MS") format("svg");
}

/* Custom CSS
 * --------------------------------------- */
html{font-size:1em;} 
body{
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  color: #434a54;
  /*padding-top: 90px;*/
}
p{ margin-bottom: 20px;}
em, em strong{font-style:italic}
b, strong{font-weight:bold;}

h1,h2,h3{
  font-family: "Comic Sans MS";
  text-transform: uppercase;
}
h1{
  font-size: 45px;
  text-align: center;
  color: #434a54;
  margin-bottom: 45px;
}
h2{
  font-size: 26px;
  color:#fff;
  margin-bottom: 40px;
}
h3{  
  font-size: 22px;
  color:#fff;
}

h1.white{
  color:#fff;
}
h1.decorate{
  margin-bottom: 40px; 
}
h1.decorate:after{
  content: "";
  background: url(assets/img/after_heading.png) no-repeat;
  width: 127px;
  height: 12px;
  display: block;
  margin: 35px auto 0;
}

.subheading{
  font-family: "Comic Sans MS";
  font-size: 27px;
  margin-bottom: 60px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

img{
   max-width: 100%;
   height:auto;
}

section{
  padding: 80px 0;
}

.owl-theme .owl-controls .owl-nav [class*=owl-] {
  color: #454a4c;
  font-size: 14px;
  margin: 5px;
  background: #c3c3c3;
  display: inline-block;
  cursor: pointer;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.owl-theme .owl-controls .owl-nav .owl-next{
  padding: 12px 12px 10px 16px;
}
.owl-theme .owl-controls .owl-nav .owl-prev{
  padding: 12px 15px 10px 13px;
}
.owl-theme .owl-controls .owl-nav [class*=owl-]:hover {
  background: #fb6b47;
}
.advices-carousel.owl-theme .owl-controls .owl-nav [class*=owl-] {
  background: #fff;
}
.advices-carousel.owl-theme .owl-controls .owl-nav [class*=owl-]:hover {
  background: #abcd52;
}

/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#fff;}
#colorbox{outline:0;}
#cboxContent{margin-top:32px; overflow:visible; background:transparent;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{background:transparent; padding:1px;}
#cboxLoadingGraphic{background:url(assets/img/loading.gif) no-repeat center center;}
#cboxLoadingOverlay{background:#fff;}
#cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(assets/img/controls.png) no-repeat 0 0;}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

#cboxPrevious{background-position:0px 0px; right:44px;}
#cboxPrevious:hover{background-position:0px -25px;}
#cboxNext{background-position:-25px 0px; right:22px;}
#cboxNext:hover{background-position:-25px -25px;}
#cboxClose{background-position:-50px 0px; right:0;}
#cboxClose:hover{background-position:-50px -25px;}
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}


#cboxLoadedContent .alert{
  margin-bottom: 0;
}

.shedule_list{
  font-family: "Comic Sans MS";
  color: #fefeff;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 36px;
}

.advice-text{
  color:#fefeff;
  text-align: center;
}

.box{
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    z-index: 1;
    background: #fff;
}

.box-image {
    display: block;
    width: 100%;
    padding-bottom: 64.6%;
    min-width: 100%;
    overflow: hidden;
    height: 0;
    position: relative;
}

.box-desc {
    position: relative;
    padding: 25px 30px 75px 30px;
    background-color: #634c7a; 
}
.box-desc.color1 {
  background-color: #634c7a;
}
.box-desc.color2 {
  background-color: #ffa41b;
}
.box-desc.color3 {
  background-color: #abcd52;
}
.box-desc.color4 {
  background-color: #fb6b47;
}
.box-desc.color5 {
  background-color: #ffcc00;
}
.box-desc.color6 {
  background-color: #5bc4db;
}

.box-about{
  background-position: center;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  z-index: 1;
  background-color: #efefef;
}

.box.col-md-6 .box-about{
  background-image: none !important;
}

.box-inner{
  width: 50%;
  padding: 50px 50px 80px 50px;
  float: right;
  color: #fff;
  background: rgba(0,112,151,0.3);
}

.box-inner .more, .box-inner .more:visited {
    bottom: 35px;
}
.box.col-md-6:nth-child(3) .box-inner{
    background: rgba(192,40,63,0.68);
}
.box-inner.other-blocks{
  width: 100%;
  float: none;
}
.modal-content{
  /*background:#abcd52; */
      background-image: url(assets/img/info_parents.png);
    background-position: center center;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto;
}
.modal-image{
    width: 100%;
    height: 215px;
    background-size: cover;
    background-position: center;
    -webkit-border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.modal-body {
    padding: 50px;
    color:#434a54;
}
.modal-body h4{
  text-transform: uppercase;
  margin-bottom: 40px;
  font-family: "Comic Sans MS";
  font-size: 20px;
}

button.close{
  padding: 25px;
  position: relative;
  z-index: 2;
}
.close {
    font-size: 35px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 1px 0 #000;
    filter: alpha(opacity=100);
    opacity: 1;
  }
.close:focus, .close:hover {
    color: #fff;
    outline: none;
}

@media (min-width: 992px){
  .modal-dialog {
    width: 900px;
    }
}

.more,
.more:visited{
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  position: absolute;
  bottom: 20px;
}
.more:hover{
  text-decoration: none;
  color: #fff;
  opacity: 0.8;
}
.more:focus, 
.more:active{
  outline: none;
}
.more:before{
  content: "\e908";
  font-family: 'Gintarelis';
  font-size: 28px;
  padding-right: 10px;
  vertical-align: -5px;
}

.modal-open #owl-demo {width:100%!important;}
.modal-open #owl-demo .item {width:100%!important;}


.pricelist ul li{
  font-family: "Comic Sans MS";
  color: #fefeff; 
  text-transform: uppercase;
  padding-bottom:30px; 
  padding-left: 50px;
  position: relative;
}

.pricelist ul li:before{
  content: "\e907";
  font-family: 'gintarelis';
  font-size: 34px;
  position: absolute;
  left: 0;
  top: -11px;
}
.pricelist h2{
  text-align: center;
  text-shadow: 0px 1px 0px rgba(6, 6, 6, 1);
  margin-top: -75px;
  margin-bottom: 55px;
}

.zigzag{
  padding: 10px;
  position: relative;
}
.zigzag:after{
    content: '';
    background-size: 14px 100%;
    height: 16px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    top: 100%;
    bottom: auto;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    background-image: -webkit-linear-gradient(135deg, #ffffff 25%, transparent 25%), -webkit-linear-gradient(45deg, #ffffff 25%, transparent 25%);
    background-image: -moz-linear-gradient(135deg, #ffffff 25%, transparent 25%), -moz-linear-gradient(45deg, #ffffff 25%, transparent 25%);
    background-image: -ms-linear-gradient(135deg, #ffffff 25%, transparent 25%), -ms-linear-gradient(45deg, #ffffff 25%, transparent 25%);
    background-image: -o-linear-gradient(135deg, #ffffff 25%, transparent 25%), -o-linear-gradient(45deg, #ffffff 25%, transparent 25%);
    background-image: linear-gradient(315deg, #ffffff 25%, transparent 25%), linear-gradient(45deg, #ffffff 25%, transparent 25%);
}

.grey{
    background:#f9fafb;
}
.grey:after{
    background-image: -webkit-linear-gradient(135deg, #f9fafb 25%, transparent 25%), -webkit-linear-gradient(45deg, #f9fafb 25%, transparent 25%);
    background-image: -moz-linear-gradient(135deg, #f9fafb 25%, transparent 25%), -moz-linear-gradient(45deg, #f9fafb 25%, transparent 25%);
    background-image: -ms-linear-gradient(135deg, #f9fafb 25%, transparent 25%), -ms-linear-gradient(45deg, #f9fafb 25%, transparent 25%);
    background-image: -o-linear-gradient(135deg, #f9fafb 25%, transparent 25%), -o-linear-gradient(45deg, #f9fafb 25%, transparent 25%);
    background-image: linear-gradient(315deg, #f9fafb 25%, transparent 25%), linear-gradient(45deg, #f9fafb 25%, transparent 25%);
}

.shedule{
    background-image: url(assets/img/shedule.png);
    background-position: top center;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto;
}

    .shedule:before{
    content: '';
    background-size: 14px 100%;
    height: 16px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 100%;
    z-index: 1;
    }

.advices{
    background-image: url(assets/img/owls.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    position: static;
  }
  .news-block,
.info_parents{
  background-image: url(assets/img/info_parents.png);
    background-position: center center;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto;
  }
.gallery_bg{
      background-color: #f66946;
    background-image: url(assets/img/pattern.jpg);
    background-position: top center;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto;
}
#contact-block{
  background: #634c7a;
  color: #fff;
  padding: 80px 0 60px;
  clear:both;
}
.contact-info{
  font-size: 20px;
}
.contact-info div.facebook a{
  color:#fff;
}
.contact-info div.facebook a:hover{
  text-decoration: none;
}
.contact-info i{
  position: absolute;
  left:0;
  font-size: 30px;
}

.contact-info div{
  position: relative;
  padding-left:50px; 
  margin-bottom: 25px;
}
input, textarea{
  width: 100%;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 10px 15px;
  margin-bottom: 30px;
  border: 0;
  font-size: 18px;
  color: #333;
}
#special-logo{
    display: none;
  }
textarea{
  margin-bottom: 25px;
}
input[type="submit"], button{
  background: #ffa41b;
}
button.submit{
  background-color:#ffa41b;
  color:#fff;
  border:none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-size: 18px;
    padding: 10px 15px;
    height:auto;
}

#footer{
  position: relative;
  padding: 21px 0 13px 0;
  font-size: 15px;
  }    
#footer:before
{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 16px;
    top: 0;
    background-size: 14px 100%;
    background-position: 50%;
  background-image: -webkit-gradient(linear, 0 0, 300% 100%, color-stop(0.25, #634c7a), color-stop(0.25, #634c7a));
  background-image: linear-gradient(135deg, #634c7a 25%, transparent 25%), linear-gradient(225deg, #634c7a 25%, transparent 25%);
  }

  .acf-map {
  width: 100%;
  height: 400px;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}
.navbar-toggle .icon-bar{
      background-color: #fb6b47
    }
#jws_theme_back_to_top {
  bottom:-80px;
  cursor:pointer;
  height:auto;
  margin:0;
  position:fixed;
  right:30px;
  transition:all .3s;
  z-index:999;
  -webkit-transition:all 0.7s;
  -moz-transition:all 0.7s;
  -o-transition:all 0.7s;
  transition:all 0.7s;
}
#jws_theme_back_to_top.active {
  bottom:80px !important;
  display:block !important;
  opacity:1 !important;
}
#jws_theme_back_to_top.active:hover i {
  margin-top:-3px;
  opacity:1;
}
#jws_theme_back_to_top span {
  position:relative;
  font-size:18px;
  display:inline-block;
  text-align:center;
  width:38px;
  height:38px;
  line-height:38px;
}
#jws_theme_back_to_top span:before, #jws_theme_back_to_top span:after {
  -webkit-transition:all 0.4s;
  -moz-transition:all 0.4s;
  -o-transition:all 0.4s;
  transition:all 0.4s;
  top:0;
  left:0;
  width:100%;
  height:100%;
  position:absolute;
  content:"";
  border:1px solid #1faceb;
  -webkit-transform:rotate(45deg);
  transform:rotate(45deg);
}
#jws_theme_back_to_top span:after {
  width:75%;
  height:75%;
  top:12.5%;
  left:12.5%;
  border-color:#1faceb;
  z-index:-1;
}
#jws_theme_back_to_top span:hover { color:#fff; }
#jws_theme_back_to_top span:hover:before, #jws_theme_back_to_top span:hover:after { border-color:#1faceb; }
#jws_theme_back_to_top span:hover:after { background-color:#1faceb; }
#jws_theme_back_to_top span:after { background-color:#1faceb; }
#jws_theme_back_to_top span i {
  color:#634c7a;
  display:block;
  line-height:200%;
  opacity:0.8;
  -webkit-transition:all 0.4s;
  -moz-transition:all 0.4s;
  -o-transition:all 0.4s;
  transition:all 0.4s;
  position:relative;
}

.logo{
      display: none;
    } 


.flag-uk{
  background:url('assets/img/flag-uk.png') no-repeat;
  background-size:contain;
  text-indent:-9999px;
  display: inline-block;
  width:30px;
  height:30px;
  -webkit-border-radius:50%;
  -moz-border-radius:50%;
  -o-border-radius:50%;
  -ms-border-radius:50%;
  border-radius: 50%;
  border: 2px solid #fff;
  top: -6px;
  position: relative;
}

@media(min-width:1200px) {
    .navbar {
        /*padding: 20px 0;*/
        background: #fff;
        border-bottom: 0;

    }
    
    /*.top-nav-collapse {
        padding: 0;
    }*/
    .navbar .navbar-nav>li>a {
        padding-top: 35px;
        padding-bottom: 35px;
                -webkit-transition: padding .5s ease-in-out;
            -moz-transition: padding .5s ease-in-out;
            transition: padding .5s ease-in-out;
    }

    .navbar.top-nav-collapse .navbar-nav>li>a {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .navbar:before{
        content: '';
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        height: 16px;
        top: 100%;
        background-size: 14px 100%;
        background-position: 50%;
        z-index: 2;
        background-image: -webkit-gradient(linear, 0 0, 300% 100%, color-stop(0.25, #ffffff), color-stop(0.25, #ffffff));
        background-image: linear-gradient(135deg, #ffffff 25%, transparent 25%), linear-gradient(225deg, #ffffff 25%, transparent 25%);
    }
    .navbar:after{
        content: '';
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        height: 24px;
        top: 100%;
        background-size: 14px 100%;
        background-position: 50%;
        z-index: 1;
        background-image: -webkit-gradient(linear, 0 0, 300% 100%, color-stop(0.25, #eaeaea), color-stop(0.25, #eaeaea));
        background-image: linear-gradient(135deg, #eaeaea 25%, transparent 25%), linear-gradient(225deg, #eaeaea 25%, transparent 25%);
    }
    .navbar-nav>li>a {
      font-family: "Comic Sans MS";
      text-transform: uppercase;
      font-size: 16px;
    }
    .navbar-nav>li:nth-child(1)>a {
      color: #fb6b47;
    }
    .navbar-nav>li:nth-child(2)>a {
      color: #ffc000;
    }
    .navbar-nav>li:nth-child(3)>a {
      color: #a7c850;
    }
    .navbar-nav>li:nth-child(4)>a {
      color: #5bc4db;
    }
    .navbar-nav>li:nth-child(5)>a {
      color: #7a8ed9;
    }
    .navbar-nav>li:nth-child(6)>a {
      color: #a671be;
    }
    .navbar-nav>li:nth-child(7)>a {
      color: #fb6b47;
    }
    .navbar-nav>li:nth-child(8)>a {
      color: #f96c7e;
    }
	.nav>li>a:focus, .nav>li>a:hover{
		background-color: transparent;
	}
    .navbar-nav>li.active>a,
    .nav>li>a:hover {
      color:#fff;
    }
    .navbar-nav>li.active > a:after,
    .nav>li>a:hover:after {
      content: '';
      height: 34px;
      width: 100%;
      position: absolute;
      left: 0;
      bottom: -20px;
      z-index: 3;
      border-radius: 0 0 50% 50% / 17px 17px 17px 17px;
      -moz-border-radius: 0 0 50% 50% / 17px 17px 17px 17px;
      -webkit-border-radius: 0 0 50% 50% / 17px 17px 17px 17px; 
    }

    .navbar-nav>li.active:nth-child(1)>a ,
    .nav>li:nth-child(1)>a:hover {
      background-color: #fb6b47;
    }
    .navbar-nav>li.active:nth-child(2)>a,
    .nav>li:nth-child(2)>a:hover {
      background-color: #ffc000;
    }
    .navbar-nav>li.active:nth-child(3)>a,
    .nav>li:nth-child(3)>a:hover {
      background-color: #a7c850;
    }
    .navbar-nav>li.active:nth-child(4)>a,
    .nav>li:nth-child(4)>a:hover {
      background-color: #5bc4db;
    }
    .navbar-nav>li.active:nth-child(5)>a,
    .nav>li:nth-child(5)>a:hover {
      background-color: #7a8ed9;
    }
    .navbar-nav>li.active:nth-child(6)>a,
    .nav>li:nth-child(6)>a:hover {
      background-color: #a671be;
    }
    .navbar-nav>li.active:nth-child(7)>a,
    .nav>li:nth-child(7)>a:hover {
      background-color: #fb6b47;
    }
    .navbar-nav>li.active:nth-child(8)>a,
    .nav>li:nth-child(8)>a:hover {
      background-color: #f96c7e;
    }

    .navbar-nav>li.active:nth-child(1)>a:after,
    .nav>li:nth-child(1)>a:hover:after {
      background-color: #fb6b47;
    }
    .navbar-nav>li.active:nth-child(2)>a:after,
    .nav>li:nth-child(2)>a:hover:after {
      background-color: #ffc000;
    }
    .navbar-nav>li.active:nth-child(3)>a:after,
    .nav>li:nth-child(3)>a:hover:after {
      background-color: #a7c850;
    }
    .navbar-nav>li.active:nth-child(4)>a:after,
    .nav>li:nth-child(4)>a:hover:after {
       background-color: #5bc4db;
    }
    .navbar-nav>li.active:nth-child(5)>a:after,
    .nav>li:nth-child(5)>a:hover:after {
      background-color: #7a8ed9;
    }
    .navbar-nav>li.active:nth-child(6)>a:after,
    .nav>li:nth-child(6)>a:hover:after {
      background-color: #a671be;
    }
    .navbar-nav>li.active:nth-child(7)>a:after,
    .nav>li:nth-child(7)>a:hover:after {
      background-color: #fb6b47;
    }
    .navbar-nav>li.active:nth-child(8)>a:after,
    .nav>li:nth-child(8)>a:hover:after {
      background-color: #f96c7e;
    }
}
@media(max-width:1200px)  {
    .logo{
      display: block;
      opacity: 0;
      -webkit-transition: opacity .5s; /* Safari */
      transition: opacity .5s;
    }
    .logo.affix{
      opacity: 1;
      position: initial;
    }
    .navbar-header{
      width: 100%;
    }
    .navbar-toggle {
        display: block;
        position: relative;
        float: right;
        padding: 9px 10px;
        margin-top: 8px;
        margin-right: 15px;
        margin-bottom: 8px;
        background-color: transparent;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
    }
    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse {
        overflow-x: visible !important;
    }

    .navbar-collapse.in {
      overflow-y: auto !important;
      clear: both;
    }

    .collapse.in {
      display: block !important;
    }

    .logo img{
          max-height: 138px;
          position: absolute;
          padding: 16px;
          z-index: 20;
    }

    .navbar {
        /*padding: 20px 0;*/
        background: #fff;
        border-bottom: 0;

    }
    
    .navbar .navbar-nav>li>a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
  .navbar:before{
        content: '';
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        height: 16px;
        top: 100%;
        background-size: 14px 100%;
        background-position: 50%;
        z-index: 2;
        background-image: -webkit-gradient(linear, 0 0, 300% 100%, color-stop(0.25, #ffffff), color-stop(0.25, #ffffff));
        background-image: linear-gradient(135deg, #ffffff 25%, transparent 25%), linear-gradient(225deg, #ffffff 25%, transparent 25%);
    }
    .navbar:after{
        content: '';
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        height: 24px;
        top: 100%;
        background-size: 14px 100%;
        background-position: 50%;
        z-index: 1;
        background-image: -webkit-gradient(linear, 0 0, 300% 100%, color-stop(0.25, #eaeaea), color-stop(0.25, #eaeaea));
        background-image: linear-gradient(135deg, #eaeaea 25%, transparent 25%), linear-gradient(225deg, #eaeaea 25%, transparent 25%);
    }

    .box-inner{
      width: 100%;
    }
    .navbar-nav {
        margin: 0;
        padding-top: 59px;
        text-align: center;
        text-transform: uppercase;
        font-weight: bold;
        font-family: "Comic Sans MS";
        text-transform: uppercase;
        font-size: 16px;
    }
    .navbar-nav>li:nth-child(1)>a {
      color: #fb6b47;
    }
    .navbar-nav>li:nth-child(2)>a {
      color: #ffc000;
    }
    .navbar-nav>li:nth-child(3)>a {
      color: #a7c850;
    }
    .navbar-nav>li:nth-child(4)>a {
      color: #5bc4db;
    }
    .navbar-nav>li:nth-child(5)>a {
      color: #7a8ed9;
    }
    .navbar-nav>li:nth-child(6)>a {
      color: #a671be;
    }
    .navbar-nav>li:nth-child(7)>a {
      color: #fb6b47;
    }
    .navbar-nav>li:nth-child(8)>a {
      color: #f96c7e;
    }

    #shedule-block .col-xs-12.text-right{
      text-align: left;
    } 
    #msform.contact-info div{
        padding-left: 0;
        margin-left: 0;
        margin-bottom: 15px;
    }
    input, textarea {
      margin-bottom: 0;
    }
    .nav>li {
        position: relative;
        display: block;

    }
    .navbar-nav>li,
    .navbar-nav{
      float: initial;
    }
}
@media(max-width:766px){
  #special-logo{
    display: block;
  }
  .forcefullwidth_wrapper_tp_banner{
        margin-top: 52px;
  }
  section {
      padding: 40px 0;
  }
  h1{
        margin-bottom: 25px;
  }
  #slide-2-layer-3,
  #slide-5-layer-3,
  #slide-4-layer-3{
    display: none;
  }
  #special-logo{
    padding-top: 52px;
    padding-bottom: 30px;
        background-image: url(assets/img/info_parents.png);
        background-position: center center;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto;
    display: none;
  }
  input, textarea {
    margin-bottom: 10px;
  }
}