body {
    font-family: 'Raleway', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rasa', serif;
    color: #1d5c8d;
    font-weight: 400;
}
h1 {
    color: #fff;
}
h3 {
    font-size: 2.25rem;
    line-height: 1;
}
h5 {
    font-size: 1.5rem;
    line-height: 1.1;
}
a {
    color: #1d5c8d;
    transition: all .3s ease;
}
.text-center {
    text-align: center;
}
.mb-0 {
    margin-bottom: 0;
}
.lead {
    font-size: 1.25rem;
}

/* Navbar */
.navbar {
    background: #1d5c8d;
    position: relative;
}
.navbar:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    bottom: -5px;
    background: #1d5c8d;
    position: absolute;
    left: 0;
    z-index: 500;
}
.navbar>.container, .navbar>.container-fluid {
    display: block;
}
.navbar *,
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus,
.navbar a,
.navbar a:hover,
.navbar a:focus {
    color: #fff;
}
.navbar-brand > * {
    display: block;
    line-height: 1;
}
.navbar-brand .logo-top {
    font-family: 'Rasa', serif;
    font-size: 1.75rem;
}
.navbar-brand .logo-strapline {
    font-size: .67rem;
    font-weight: 300;
}
.nav-contactDetails {
    text-align: center;
    margin-top: .75rem;
}
.nav-contactDetails > * {
    display: block;
}
.nav-contactDetails span.fa {
    margin-right: .25rem;
}
@media only screen and (min-width: 350px) {
    .navbar-brand .logo-top {
        font-size: 2.25rem;
    }
    .navbar-brand .logo-strapline {
        font-size: .86rem;
    }
}
@media only screen and (min-width: 768px) {
    .navbar>.container, .navbar>.container-fluid {
        display: -ms-flexbox;
        display: flex;
    }
    .nav-contactDetails {
        text-align: right;
        margin-top: 0;
    }
}
@media only screen and (min-width: 992px) {
    .navbar-brand .logo-top {
        font-size: 2.5rem;
    }
    .navbar-brand .logo-strapline {
        font-size: .95rem;
    }
}


/* Form */
.form-control:focus {
    border-color: gray;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Error 404 Page */
.error404 h1 {
    text-transform: uppercase;
    font-size: 2.5rem;
    text-align: center;
}
.error404 h1 span {
    display: block;
    font-size: 5rem;
}

@media (min-width: 992px) {
    .error404 h1 {
        font-size: 5rem;
    }
    .error404 h1 span {
        font-size: 10rem;
    }
}

/*---------------------------------------*/

section {
    padding: 3.5rem 0;
}
.sectionHeader {
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
    justify-content: space-around;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 1.25rem;
}
.sectionHeader h1,
.sectionHeader h2 {
    margin: 0 auto;
    position: relative;
    font-size: 2.125rem;
    line-height: 1;
}
.sectionHeader span.headerLine {
    background: #1d5c8d;
    width: 15%;
    height: 3px;
    display: inline-block;
    position: relative;
}
.sectionHeader span.headerLine:after {
    content: '';
    width: 100%;
    background: #1d5c8d;
    left: 0;
    position: absolute;
    bottom: -4px;
    height: 1px;
}

.lightContent .sectionHeader h1,
.lightContent .sectionHeader h2,
.lightContent * {
    color: #fff;
}
.lightContent .sectionHeader span.headerLine,
.lightContent .sectionHeader span.headerLine:after {
    background: #fff;
}
@media only screen and (min-width: 992px) {
    section {
        padding: 5rem 0;
    }
    .sectionHeader {
        margin-bottom: 2.5rem;
    }
    .sectionHeader h1,
    .sectionHeader h2 {
        font-size: 3.125rem;
    }
    .sectionHeader span.headerLine {
        width: 20%;
    }
}
@media only screen and (min-width: 1200px) {
    .sectionHeader span.headerLine {
        width: 25%;
    }
}


/*---------------------------------------*/

/* Banner */
header {
    background-image: url(../img/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    color: #fff;
}
header:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.85);
}
header > * {
    position: relative;
    z-index: 5;
}
header .sectionHeader {
    margin-bottom: 2rem;
}
.header-content img {
    width: 100%;
    height: auto;
    padding-left: 3rem;
    padding-right: 3rem;
    margin-bottom: 2rem;
}
.header-content p {
    color: #fff;
    line-height: 1.4;
}
@media only screen and (min-width: 768px) {
    .header-content img {
        padding-left: 0;
        padding-right: 1rem;
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 992px) {
    header {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    header .sectionHeader {
        margin-bottom: 2.5rem;
    }
    .header-content p {
        font-size: 1.125rem;
    }
}
@media only screen and (min-width: 1025px) {
    header {
        background-attachment: fixed;
    }
}

/* USP */
#usp {
    background: #eaf6ff;
    padding: 2rem 0;
}
#usp p {
    margin-bottom: .5rem;
}
#usp p:last-child {
    margin-bottom: 0;
}
@media only screen and (min-width: 1200px) {
    #usp p {
        margin-bottom: 0;
    }
}


/* Services */
#services ul.diamondLists {
    padding: 0;
}
#services ul.diamondLists li {
    font-weight: 500;
    margin-bottom: .25rem;
    position: relative;
    list-style: none;
}
#services ul.diamondLists li:last-child {
    margin-bottom: 0;
}
#services ul.diamondLists li:before {
    content: '';
    height: .4rem;
    width: .4rem;
    background: #1d5c8d;
    left: 0;
    display: inline-block;
    transform: rotate(45deg);
    vertical-align: middle;
    margin-right: .75rem;
}
@media only screen and (min-width: 992px) {
    #services {
        font-size: 1.125rem;
    }
    #services ul.diamondLists {
        padding: 1rem 0;
    }
    #services ul.diamondLists li {
        font-size: 1.5rem;
    margin-bottom: .75rem;
    }
}

/* Services - Testimonials */
.slick-initialized  .slick-track {
    display: -ms-flexbox;
    display: flex ;
    -webkit-align-items: center;
    align-items: center;
}
.testimonialSlider {
    margin-top: 1rem;
}
.testimonialSlide {
    background: #f9f9f9;
    border: 1px solid #f1f1f1;
    box-shadow: 8px 8px 0 0 #f1f1f1;
    margin-right: 8px;
    margin-bottom: 8px;
}
.testimonialSlide:focus {
    outline: 0;
}
.testimonialSlide-text {
    font-size: .9rem;
    color: #666666;
    font-style: italic;
    padding: 2.25rem 3rem;
    position: relative;
}
.testimonialSlide-text:before,
.testimonialSlide-text:after {
    position: absolute;
    font-family: 'Rasa', serif;
    font-size: 3rem;
    color: #1d5c8d;
    font-style: normal;
    height: 0;
    line-height: 1;
}
.testimonialSlide-text:before {
    content: '\201C';
    top: 0;
    left: 0;
    padding-top: 1.5rem;
    padding-left: 1.5rem;
}
.testimonialSlide-text:after {
    content: '\201D';
    bottom: 0;
    right: 0;
    padding-bottom: 2.25rem;
    padding-right: 1.5rem;
}
.testimonialSlide-text p:last-child {
    margin-bottom: 0;
}
.slick-dots li {
    width: 9px;
    height: 9px;
    margin: 0 3px;
}
.slick-dots li button {
    width: 9px;
    height: 9px;
    padding: 0;
}
.slick-dots li button:before {
    background: #1d5c8d;
    border-radius: 50%;
    content: '';
    width: 9px;
    height: 9px;
    line-height: 9px;
}
@media only screen and (min-width: 992px) {
    .testimonialSlide-text {
        padding: 3.25rem 5rem;
        font-size: .95rem;
    }
    .testimonialSlide-text:before,
    .testimonialSlide-text:after {
        font-size: 7.5rem;
    }
    .testimonialSlide-text:after {
        padding-bottom: 4rem;
    }
}


/* Background */
#background {
    background: #eaf6ff;
}


/* Tutoring and School */
#tutoring-and-school {
    background-image: url(../img/tutoring.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
#tutoring-and-school:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(74,122,162,.9);
}
#tutoring-and-school > * {
    position: relative;
    z-index: 5;
}
@media only screen and (min-width: 1025px) {
    #tutoring-and-school {
        background-attachment: fixed;
    }
}


/* Rates and Further Information */
.rate-contact {
    text-align: center;
    margin-top: 3rem;
}
.rate-contact a {
    font-size: 1rem;
    font-weight: 500;
    display: block;
}
@media only screen and (min-width: 375px) {
    .rate-contact a {
        font-size: 1.25rem;
    }
}
@media only screen and (min-width: 768px) {
    .rate-contact a {
        font-size: 1.5rem;
    }
}
@media only screen and (min-width: 992px) {
    .rate-contact a {
        display: inline;
    }
}


/* Footer */
footer {
    background: #1d5c8d;
    text-align: center;
    font-size: .9rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
footer * {
    color: #fff;
}
footer p {
    margin: 0;
}
footer a:hover,
footer a:focus {
    color: #fff;
}
.copyright {
    text-align: center;
}
@media only screen and (min-width: 768px) {
    footer {
        text-align: left;
    }
    .copyright {
        text-align: right;
    }
}



/* contact Form */
.btn {
    outline: none;
    padding: .65rem 1.25rem;
    text-decoration: none;
    background: rgb(193, 229, 255);
    border: none;
    transition: all 0.3s ease;
    color: #17578a;
    font-weight: 900;
    border-radius: 5px;
    box-shadow: 0px 3px 4.75px 0.25px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
.btn:hover,
.btn:focus {
    background: #17578a;
    color: rgb(193, 229, 255);
}
.bg-blue, form {
    border: 1px solid rgba(74,122,162,1);
    padding: 1.5rem;
    background: rgba(74,122,162,.75);
    margin-top: 1rem;
}
.bg-blue * {
    color: #fff;
}
#contact-form .form-group {
    margin-bottom: 20px;
}
.form-group label {
    float: left;
    display: inline;
    width: 150px;
    max-width: 23%;
    margin-right: 10px;
}
#contact-form input,
#contact-form textarea {
    color: #555555;
    background-color: #ffffff;
    border-color: #cccccc;
    border-width: 1px;
    border-style: solid;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    padding: 6px 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    font-weight: normal;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    max-width: 73.5%;
}
#RecaptchaField {
    display: none;
    margin-bottom: 1rem;
}
.sendBtnArea {
    text-align: right;
}


/* Validation */
input.invalid {
    border: solid 2px rgba(216, 0, 0, 0.54) !important;
    box-shadow: 0 0 4px rgba(102, 21, 21, 0.42) !important;
}

h3.validation-message {text-align: center;margin-bottom: 70px;}

div.thankyou-message h2,
div.error-message h2 {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 0px 3%;
    color: #5f972f; 
    font-size: 5rem; 
    font-weight: bold;
}
div.thankyou-message h2 {
    color: #5f972f; 
}
div.error-message h2 {
    color: #b45454; 
}


.g-recaptcha {float: right;margin-bottom: 30px;}

.alert-contact {color: #a4403e;padding: 2% 3%;background: #F2DEDE;border: 2px solid #e78c8b;border-radius: 10px;}
.alert-contact.success {color: #3C763D;padding: 2% 3%;background: #DFF0D8;border: 2px solid #D6E9C6;border-radius: 10px;}

#RecaptchaField {
    text-align: right;
}
#RecaptchaField > *:first-child {
    display: inline;
}
.paul-img {
    margin-bottom: 1.5rem;
}
