/*
 * Version: 2.1
 * File Description: Place here your custom CSS styles
 */

body, h1, h2, h3, h4, h5, h6 {
    color: #063a5b;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.page-loader-1 .pace .pace-progress {
    background: #063a5b;
}

.page-loader-1 .pace {
    border: 1px solid #063a5b;
}

.main-container .main {
    min-height: 700px;
}

a {
    color: #ea1d2c;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #063a5b;
}

h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus, h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover  {
    color: #ea1d2c;
}

.media-body .date {
    color: #ea1d2c;
}

a.btn-link {
    color: #063a5b;
}

a.btn-link:focus, a.btn-link:active, a.btn-link:hover {
    color: #ea1d2c;
}

.main-container {
    padding-bottom: 0;
}

.light-bg {
    background: rgba(255,255,255,0.9);
}

.page-wrapper {
    background: url(../images/bg-lines.png) no-repeat bottom left;
    background-size: 15%;
}

.header.fixed, .header.fixed.object-visible {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 22;
}

.header {
    border-top: 1px solid #063a5b;
    border-bottom: 0px;
    background-color: transparent;
}

.header.object-visible .navbar-nav li .nav-link {
    color: #333;
}

.header-first {
    padding: 0 15px 15px 15px;
    background-color: #063a5b;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.object-visible .header-first {
    background-color: transparent;
}



#logo {
    
}

.header-top.colored {
    background-color: #063a5b;
    border-bottom: 1px solid #063a5b;
}

.header .navbar-nav li {
    cursor: pointer;
}

.header .navbar-nav li .nav-link {      
    color: white;
    cursor: pointer;
    border:none;
}

.btn-default {
    background-color: #1f395b;
    border-color: #23455b;
}

.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .show > .dropdown-toggle.btn-default {

    background-color: #23455b;
    border-color: #1f395b;
}
.tp-bannertimer {
    background-color: rgba(31, 57, 91, 0.8);
}

.block .media .d-flex.pr-2 {
    width: 35%;
}

.footer-content .media img, .block .media img {
    max-width: 100%;
    width: auto;
}

.fixed-header-on .header.fixed.object-visible #logo {
    width: 50px;
}

.fixed-header-on .header.fixed.object-visible .navbar-collapse {
    margin-top: 0;
}

.space-top {
    padding-top: 20px;
}

footer .btn-animated {
    margin: 1px 0;
    padding-right: 20px !important;
}

footer .social-links {
    margin-top:0;
    margin-bottom: 0;
}

.dark .social-links li a {
    border: 1px solid rgb(255, 255, 255);
    color: #ffffff;

}

footer .social-links a {
    width: 24px;
    height: 24px;
    font-size: 13px;
}

footer .social-links li a i{
    line-height: 24px;
}


.header .navbar-nav li ul {
   
}

.header .navbar-nav li li a {
    padding: 7px 20px;
    display: block;
    font-size: 13px;
    color: #063a5b;
}

.header.object-visible .navbar-nav li .nav-link {
    color: #063a5b;
}

.scrollToTop {
    background: #063a5bcc;
}

.scrollToTop:hover {
    background: #063a5b;
}

.overlay-link, .mfp-bg {
    background-color: #063a5bcc;

}


.header .navbar-nav li a{
    letter-spacing: 0px;
    text-transform: capitalize;
}

.header .navbar-nav li .nav-link:focus, .header .navbar-nav li .nav-link:hover, .header .navbar-nav .show > .nav-link, .header .navbar-nav li .nav-link.show, .header .navbar-nav .active.show > .nav-link, .header .navbar-nav li.show .nav-link.active {
    background: transparent;
    border: none;
    border-bottom: 0px solid transparent;
    border-right: 0px solid transparent;
    border-left: 0px solid transparent;
    letter-spacing: 0px;

}


.search-area .btn-search {
    margin: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #1e395a;
    border-radius: 0;
}

.search-area input.transparent {
    background: transparent;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #1e395a;
    border-radius: 0;
}

.social-links-container, .search-area, #logo {
    -webkit-transition:0.5s;
    -moz-transition:0.5s;
    -o-transition:0.5s;
    transition:0.5s;
}

.header.fixed, .header.fixed:not(.object-visible) {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#063a5b+0,063a5b+50&1+0,0+50 */
    background: -moz-linear-gradient(top, rgba(6,58,91,1) 0%, rgba(6,58,91,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(6,58,91,1) 0%,rgba(6,58,91,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(6,58,91,1) 0%,rgba(6,58,91,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#063a5b', endColorstr='#00063a5b',GradientType=0 ); /* IE6-9 */
}


.header.fixed, .header.fixed.object-visible {
    background: white;
}

.hebe.tparrows, .hebe.tparrows:before {
    background: rgba(6,58,91,0.6);
    color: #ffffffcc;
}

.tparrows:hover {
    background: #063a5b;
    color: #FFFFFF;
}

.hebe .tp-title-wrap {
    background: #063a5b;
    color: #FFFFFF;
}

.sticky-wrapper {
    height: auto !important;
}

.object-visible .social-links-container, .object-visible .search-area {
    display: none
}

.main-navigation {
    margin-top: 45px;
}

.lang_bar {
    position: absolute;
    top: 5px;
    right: 35px;
}

.lang_bar li {
    color: white;
    display: inline-block;
    cursor: pointer;
}

.lang_bar li:hover:not(.seperator) {
    color: #ea1d2c;
    font-weight:bold;
}

.object-visible .lang_bar {
    display: none;
}

.object-visible .main-navigation {
    margin-top: 0;
}

.header.object-visible .navbar-nav li .nav-link {
    margin-top: 0;
}


.header .navbar-nav li.dropdown li .dropdown-toggle::after {
    top: 50%;
}

.header.object-visible .navbar-nav .dropdown-toggle::after {
    top: 50%;
}

.feature-box-2, .feature-box {
    padding: 9px 15px;
    margin-bottom: 0;
}

.blocks .icon {
    height: auto;
}

.feature-box-2 .icon i {
    font-size: 3.5rem;
}

.feature-box-2 .body {
    margin-left: 70px;
}
.feature-box-2 .body p {
    margin-bottom: 10px;
}

.service-blocks .col-lg-3 {
    padding: 15px;
}

.feature-box-2 .title {
    margin-bottom: 2px;
}

.object-visible-img {
    display: block;
}
.object-hidden-img {
    display: none;
}
.object-visible .object-visible-img {
    display: none;
}
.object-visible .object-hidden-img {
    display: block;
}

.rev_slider .tp-mask-wrap .tp-caption {
    background-color: rgba(255,255,255,0.68) !important;
    border-radius: 5px 0 0 5px;
}
.tp-caption.light-translucent-bg h2 {
    margin-bottom: 10px;
    line-height:30px;
}
.tp-caption.light-translucent-bg a {
    color: #ea1d2c;
    font-weight: bold;
}

.tp-caption .separator-2 {
    display: none;
}

.padding-left-0 {
    padding-left: 0;
}

@media (min-width: 1200px) {
    .container {
        /*max-width: 85%;*/
    }
}

.default-translucent-bg .title, .edge-block .title {
    font-weight: bold;
    text-transform: uppercase;
}

.edge-block .body p {
    color: white;
}

.edge-block {
    background: #063a5b;
}

.default-translucent-bg .title, .edge-block .title {
    color: white;
}
.default-translucent-bg .read-more {
    color: #063a5b !important;
    font-weight: bold;
}

.edge-block .read-more {
    color: #ea1d2c !important;
    font-weight: bold;
}


.default-translucent-bg:after {
    background: #ea1d2c;
}

.feature-box-2 .icon.without-bg {
    width: 75px;
    height: 75px;
}

.fa-kindergarten {
    content: url("../images/kindergarten_fa.png");
    max-width: 100%;

}
.fa-primary_level {
    content: url("../images/primary_level.png");
    max-width: 100%;
}
.fa-upper_level {
    content: url("../images/upper.png");
    max-width: 100%;
}
.fa-secondary_level {
    content: url("../images/secondary_level.png");
    max-width: 100%;
}

.about-block .title {
    font-weight: bold;
    color: #063a5b;
}

.about-block .body p {
    font-size: 95%;
    font-weight: normal;
    color: #063a5b;
}

.about-block .read-more {
    color: #ea1d2c;
    font-weight: bold;
}

.blocks .block {
    margin-bottom: 0;
}



.blocks .col-lg-4 div:first-child {
    background: #063a5b;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.subfooter {
    border-top: none;
    padding: 15px 0;
}

.dark .subfooter {
    line-height: 24px;
    background: #063a5b;
}

.fixed-header-on .main-navigation.animated .navbar-nav > li > a:active,  .fixed-header-on .main-navigation.animated .navbar-nav > li > a:focus, .fixed-header-on .main-navigation.animated .navbar-nav > li > a:hover {
      color: #ea1d2c;
}

.main-navigation.animated .navbar-nav > li > a:active, .main-navigation.animated .navbar-nav > li > a:focus, .main-navigation.animated .navbar-nav > li > a:hover {
      color: #fff;
}

.header .navbar-nav li .nav-link:focus, .header .navbar-nav li .nav-link:hover, .nav.flex-column > li .nav-link.active, .nav.flex-column > li .nav-link.active:hover, .nav.flex-column > li .nav-link.active:focus, .nav.flex-column > li .nav-link:hover, .nav.flex-column > li .nav-link:focus, .nav.flex-column:not(.list-style-icons) > li .nav-link.active:hover:after, .nav.flex-column:not(.list-style-icons) > li .nav-link.active:focus:after, .nav.flex-column:not(.list-style-icons) > li .nav-link:hover:after, .nav.flex-column:not(.list-style-icons) > li .nav-link:focus:after {
    color: #063a5b;
}

.header .navbar-nav li li a:focus, .header .navbar-nav li li a:hover, .header .navbar-nav li .show > a, .header .navbar-nav li li a.show, .header .navbar-nav li .active > a, .header .navbar-nav li li a.active {
    color: #063a5b;   
}

.dark .subfooter p {
    color: white;
}

.block-icon {
    width: 50%;
    margin: auto;
    padding: 35px;
    height: 9rem;
}

.block-icon.british {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    width: 100%;
    margin: auto;
}
.block-icon.british .icon {
    content: url(../images/logo-cambrige.png);
    display: block;
    direction: ltr;
    width: 85%;
    margin: 0 auto;
}
.block-icon.important-dates .icon {
    content: url("../images/important-dates.png");
    width: 85px;
    height: 85px;
    margin: 0 auto;
}
.block-icon.clubs .icon {
    content: url("../images/clubs.png");
    width: 85px;
    height: 85px;
    margin: 0 auto;
}

.blocks .white {
    color: white;
}
.blocks h4 {
    font-weight: bold;
}

.blocks .read-more {
    color: #ea1d2c;
}

footer .copyright {
    color: white;
}

.footer-links {
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    display: inline-block;
}

.footer-links li:not(:last-child):after{
  content: "|";
  position: relative;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0 5px;
}

.footer-links li a {
    color: white;
}

.scrollToTop {
    bottom: 15px;
    left: 15px;
    width: 32px;
    height: 32px;
}

.scrollToTop i {
    line-height: 1;
    font-size: 28px;
}
.tp-bullets.preview4 .bullet, .tp-bullets.preview2 .bullet, .tp-bullets.horizontal .tp-bullet {
    background: #063a5b !important;
}


.tp-bullets.preview4 .bullet:hover, .tp-bullets.preview4 .bullet.selected, .tp-bullets.preview2 .bullet:hover, .tp-bullets.preview2 .bullet.selected, .tp-bullets.horizontal .tp-bullet:hover, .tp-bullets.horizontal .tp-bullet.selected {
    background: #ea1d2c !important;
}

.service-blocks .col-lg-3 {
    padding: 15px;
}

.blocks  .block-height {
    height: 60px;
}

.main-color {
    color: #063a5b !important;
}

ul.pagination,
ul.pager {
  margin: 20px 0 40px;
  text-align: left;
}

ul.pagination li {
  padding: 0;
  margin: 0 10px 0 0;
  border-bottom: none;
  display: inline-block;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

ul.pagination li:last-child {
  margin: 0;
}

ul.pagination li,
.pagination li:first-child,
.pagination li:last-child{
  text-align: center;
  padding: 0;
  height: 40px;
  width: 40px;
  border: 1px solid #777777;
  line-height: 39px;
  background-color: #777777;
  color: #ffffff;
  display: inline-block;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
}

ul.pagination li:hover,
ul.pagination li:focus {
  background-color: #1a375b;
  color: #ffffff;
}

ul.pagination li.active,
li.active:hover,
li.active:focus {
  color: #ffffff;
}

ul.pagination li a{
    display: block;
    color: #fff;   
    text-decoration: none;
}


.blogpost ul li,.blogpost ol li{
    padding: 5px 0;
}

b, strong {
    font-weight: bold;
}

.close{
    color: #fff;
}

.close:hover, .close:focus{
    color: #fff;
}

.min-height-100{
    min-height: 100px;
}

.min-height-90{
    min-height: 90px;
}



/**********************************/
/*********** Responsive ***********/
/**********************************/




@media screen and (max-width: 996px) {

    h1 {
        font-size: 115%;
    }

    .header .navbar-nav li .nav-link {
        color: #063a5b;
    }
    .header.fixed, .header.fixed.object-visible {
        position: relative;
    }
    .header .navbar-brand {
        width: 50px;
    }

    .block-icon .icon {       
        margin: 0 auto;
    }

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

    .blocks .col-lg-4 {
        margin-bottom: 30px;
    }

    .blocks .col-lg-4 div:first-child {
        border-radius: 5px;
    }

    .subfooter-inner .col-md-3 {
        text-align: center !important;
    }

    .feature-box-2 {
        text-align: center;
    }

    .feature-box-2 .icon {
        position: relative;
    }

    .feature-box-2 .body {
        margin: 0;
    }
}


@media screen and (max-width:  768px) {
    
    .header .navbar-nav li .nav-link:focus, .header .navbar-nav li .nav-link:hover, .header .navbar-nav .show > .nav-link, .header .navbar-nav li .nav-link.show, .header .navbar-nav .active.show > .nav-link, .header .navbar-nav li.show .nav-link.active {
        background: #ea1d2c;
    
    }

    .main-navigation {
        margin-top: 5px;
    }

    .home-banner{
        min-height: auto;
    }

    .fa-kindergarten {
    content: url("../images/kindergarten_fa.png");
    max-width: 70%;
    }
    .fa-primary_level {
        content: url("../images/primary_level.png");
        max-width: 70%;
    }
    .fa-upper_level {
        content: url("../images/upper.png");
        max-width: 70%;
    }
    .fa-secondary_level {
        content: url("../images/secondary_level.png");
        max-width: 70%;
    }

    h3 {
        font-size: 20px;
    }

    .page-wrapper {
        background: none;
    }

    .header.fixed, .header.fixed:not(.object-visible) {
        background: #f2f2f2;
   
     }


}


@media screen and (max-width:  992px) {
  
    .main-navigation {
        margin-top: 5px;
    }

    .header.fixed, .header.fixed:not(.object-visible) {
        background: #f2f2f2;
   
     }
}

.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error .append-icon {
    color: #e9573f;
}

.has-error .form-control {
    border-color: #ee7f6d;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}


.has-error .form-check-label{
    color:#ee7f6d;
}

.date{
    font-weight:bold;
}