/*Import Fonts*/

@import url('https://fonts.googleapis.com/css?family=Poppins:300,300i,400,400i,500,500i,700,700i,900,900i&display=swap');

@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i&display=swap');

@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i,900,900i&display=swap');

/*Set CSS Variables*/

:root {
    --blue1: #072b3f;
    --gold1: #d7ad7b;
    --grey1: #ece8e7;
    --blue2: #001324;
    --mahogany: #ca4900;
    --serifmain: 'Playfair Display';
    --sansmain: 'Poppins';
}

/*Set Base Styles*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

/*rem will reference this*/

body {
    font-family: var(--sansmain), sans-serif;
    font-size: 1rem;
    font-weight: 300;
    overflow-x: hidden;
    /*NO Horizontal scrolling*/
    background-color: #fdfdfd;
}



ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--gold1);
}


/*============================================================================================================*/

/*Set Home Container Style - Home Container holds all content on the page except the navbar and hidden navbar

    MOBILE FIRST DESIGN */

/*============================================================================================================*/

.preloader-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 9999;

    background-color: #fefcfe;
    overflow: hidden;
}

.preloader-container > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.preload {
    height: 100vh;
    overflow: hidden;
}

.site-welcome {
    display: none;
    width: 0;
    height: 0;
}




.homecontainer {
    min-width: 100% !important;
    /*vendor pre-fixes*/
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row wrap;

}

/*Set Box Styles - These are the direct children of the Home Container*/

.headerbox,
.weareheadbox,
.weareinfobox,
.courseheadbox,
.courseinfobox,
.serviceheadbox,
.serviceinfobox,
.richheadbox,
.richinfobox,
.testiheadbox,
.testiinfobox,
.footer {
    width: 100%;
    height: 200px;
    position: relative;
    /*Delete line after all box stylings are complete*/
}

.headerbox {
    background-color: #293944;
}

.weareheadbox {
    background-color: #874284;
}

.weareinfobox {
    background-color: #864932;
}

.courseheadbox {
    background-color: #565456;
}

.courseinfobox {
    background-color: #564324;
}

.serviceheadbox {
    background-color: #645374;
}

.serviceinfobox {
    background-color: #643323;
}

.richheadbox {
    background-color: #333555;
}

.richinfobox {
    background-color: #444555;
}

.testiheadbox {
    background-color: #dddddd;
}

.testiinfobox {
    background-color: #555555;
}

.footer {
    background-color: #000000;
}


/*=================================================================================

    MAIN STYLES 

===================================================================================*/

/*SET NAVBAR STYLES*/

.mnavbox {
    min-width: 100%;
    height: 80px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row wrap;
    padding: 10px 20px;
    -webkit-box-pack: justify;
            justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

/*MAIN LOGO STYLING*/
.mnavbox > div:nth-child(1) {
    width: 180px;
    position: relative;
}

.mnavbox > div:nth-child(1) > a {
    height: 100%;
}

.mnavbox > div:nth-child(1) > a,
.mnavbox > div:nth-child(1) img {
    display: block;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 100%;
}


/*==============
NAV ON SCROLL ANIMATION
===============================*/

.nav-scroll {
    background-color: var(--blue1);
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}



/*WIDE NAV STYLES*/

/* ensuring nav for widescreens is not visible */

#widenav,
#widenav > ul,
#widenav > ul > .widenavlinks {
    width: 0 !important;
    height: 0 !important;
    visibility: hidden;
}

/*END OF WIDE NAV STYLES*/



#menuburgerbox {
    width: 50px;
    height: 50px;
    -webkit-box-align: center;
            align-items: center;
    -ms-grid-row-align: center;
        align-self: center;
    position: relative;
}

#menuburgerbox > div {
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#burgericon {
    width: 60%;
    height: 1px;
    background-color: #fdfdfd;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transition: .25s ease-out;
    transition: .25s ease-out;
}

.default-pseudos::before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #fdfdfd;
    position: absolute;
    top: -10px;
    -webkit-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.default-pseudos::after {
    content: '';
    width: 60%;
    height: 1px;
    background-color: #fdfdfd;
    position: absolute;
    top: 10px;
    -webkit-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#menuburgerbox > div:hover {
    opacity: 0.5;
} 




.a-icon {
    background: transparent !important;
}

.a-icon::before {
    top: 0;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    content: '';
    width: 100%;
    height: 1px;
    background-color: #fdfdfd;
    position: absolute;
    -webkit-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.a-icon::after {
    top=0;
    -webkit-transform: rotate(135deg);
    top=0;
            transform: rotate(135deg);
    width: 100%;
    content: '';
    height: 1px;
    background-color: #fdfdfd;
    position: absolute;
    -webkit-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.scroll-off {
    overflow: hidden;
}

/*===============================
 SET HIDDEN NAV LINKS STYLING
 ================================*/

.hiddennav {
    width: 100%;
    height: 0;
    background-color: rgba(7, 43, 63, 0.98);
    color: var(--gold1);
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;

    /*screen positioning*/
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 999;
    -webkit-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}

.shownav {
    height: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    /*overflow-y: scroll;*/
}

.hiddennav ul {
    width: 100%;
    height: 80%;
    padding: 20px;
    /*margin-top: 90px; 80px for the nav bar plus some leeway*/
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
}

.hiddennav ul > li {
    width: 100%;
    margin-top: 35px;
    text-align: center;
}

.hiddennav a {
    display: block;
    /*font-family: var(--serifmain), serif;*/
    font-family: var(--sansmain), sans-serif;
    font-weight: 300;
    font-size: 1.25rem;
    color: var(--gold1);
    width: 100%;
    letter-spacing: 0.5px;
    margin-left: 0;
    -webkit-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out;
}


#courses-link {
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
}

#services-link {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
}

#testimonials-link {
    -webkit-transform: translateY(150%);
            transform: translateY(150%);
}

#about-link {
    -webkit-transform: translateY(200%);
            transform: translateY(200%);
}

#contact-link {
    -webkit-transform: translateY(250%);
            transform: translateY(250%);
}



.h-nav-links {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.5s ease-in-out 0.5s, -webkit-transform 1.5s ease-in-out;
    transition: opacity 0.5s ease-in-out 0.5s, -webkit-transform 1.5s ease-in-out;
    transition: transform 1.5s ease-in-out, opacity 0.5s ease-in-out 0.5s;
    transition: transform 1.5s ease-in-out, opacity 0.5s ease-in-out 0.5s, -webkit-transform 1.5s ease-in-out;
}

.inplace-nav {
    -webkit-transform: translateY(0) !important;
            transform: translateY(0) !important;
    opacity: 1;
    visibility: visible;
}


/*Hover effects*/

.hiddennav a:hover {
    color: #fff;
}




/*=============================================================

PAGE CONTENT

===============================================================*/


/*=============================================================

SET HEADER STYLING

===============================================================*/

.headerbox {

    /*
    background-image: url(images/mainhero2.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
*/
    min-height: calc(95vh);
    /*change elements to have margins from the top then add min-height to containers so that they can expand in height to accommodate content and keep it from overflowing*/
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    position: relative;
}


/*header layout settings*/

.headerbox > * {
    margin-top: 1rem;
    /*    margin-bottom: 1rem;*/
}

.headerbox > :first-child:not(#hcontent) {
    margin-top: 0;
}

.headerbox >

/*:last-child:not(#std-3)*/
    {
    margin-bottom: 0;
}


/*==================================

SLIDESHOW DEFAULTS*/

.bg-img {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    background-color: var(--blue1);
    background-image: url(images/home-bg-std.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===================================================

CAROUSEL STYLES

====================================================== */



.carousel {
    width: 100%;
    height: 100%;
    /*border: 2px solid orange;*/
    border-radius: 3px;
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.slider {
    /*border: 1px solid green;*/
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    width: 400%;
    flex-shrink: 0;
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 2.5s cubic-bezier(.02, .65, .12, .96);
}

.slider > section {
    width: 25%
    flex-basis: 25%;
    flex-shrink: 0;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 85%;

    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain ;

}

.arrow {
    position: absolute;
    bottom: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.2);
}

.prev {
    left:48%;
}

.next {
    right:48%;
}


.Prince {
    background-image: url(images/slider1.png);
}

.Pareen {
    background-image: url(images/slider2.png);
}

.Ivan {
    background-image: url(images/slider3.png);
}

.Habesha {
    background-image: url(images/slider4.png);
}

.std-label {
    display: block;
    background-color: rgba(255,255,255,0.35);
    padding: 10px 15px;
    color: var(--blue1);
    width: auto;
    margin-bottom: 90px;
    margin-right: 180px;
    font-size: 1em;

    -webkit-transition: all 1.5s cubic-bezier(.02, .65, .12, .96);

    transition: all 1.5s cubic-bezier(.02, .65, .12, .96);
}

/* ==================================================================== End CAROUSEL */

/*STUDENT STYLES HERE*/

/* .student-box {
    display: none;
    position: absolute;
    right: 0;
    width: 450px;
    height: 85%;
    bottom: 0;
    z-index: 1;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    opacity: 0;
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
} */

/*
#std-1 {
    background-color: aqua;
}

#std-2 {
    background-color: indianred;
}

#std-3 {
    background-color: yellow;
}

#std-4 {
    background-color: blueviolet;
}
*/

/*.std-img {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: block;
}


.std-label {
    display: none;
    background-color: rgba(7,43,63,0.4);
    padding: 0 10px;
    color: var(--grey1);
    width: auto;
    position: absolute;
    bottom: 10%;
    left: 0;
    margin-left: 0px;
   text-align: center;
    opacity: 0;

    -webkit-transition: all 1.5s cubic-bezier(.02, .65, .12, .96);

    transition: all 1.5s cubic-bezier(.02, .65, .12, .96);
}*/



/*HEADER INFO CONTENT HERE*/


#hcontent {
    margin-top: auto;
    margin-bottom: auto;

    display: -webkit-box;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: justify;
            justify-content: flex-start;
    min-height: 250px;
    position: absolute;
    z-index: 3;
}


.headertitle {
    font-family: var(--serifmain), Serif;
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--gold1);
    width: 280px;
    text-align: center;
    margin-bottom: 15px;
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
    -webkit-transition: opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
    transition: opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
}

.headersub {
    font-family: var(--sansmain), sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #fdfdfd;
    text-align: center;
    margin-bottom: 30px;
    height: auto;
    width: 270px;
    opacity: 0;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
    -webkit-transition: opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
    transition: opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
}

.headercta-box {
    display: flex;
    flex-flow: column;

    justify-content: flex-start;
    align-items: center;

}

.headercta {
    display: block;
    color: #fdfdfd;
    width: 210px;
    height: auto;
    padding: 8px;
    border: 1px solid #fdfdfd;
    border-radius: 5px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.3px;
    font-weight: 300;
    opacity: 0;
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    -webkit-transition: opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
    transition: opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out, -webkit-transform 1s ease-in-out;
}


.courses-tab {
    margin-top: 15px;
}




/*SET ABOUT SECTION STYLES*/


.weareheadbox {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    padding: 100px 20px 20px 20px;
    -webkit-box-align: start;
            align-items: flex-start;
    background-color: transparent;
    height: auto;

    -webkit-transform: translateY(100px);

            transform: translateY(100px);
    opacity: 0;

    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);

    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);

    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);

    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);

}

#about-us > h2 {
    font-family: var(--serifmain), Serif;
    font-weight: 400;
    font-size: 1.9rem;
    color: var(--blue1);
}

.weareinfobox {
    padding: 10px 20px 20px 20px;
    background-color: transparent;
    height: auto;

    -webkit-transform: translateY(100px);

            transform: translateY(100px);
    opacity: 0;

    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);

    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);

    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);

    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);

}



.weareinfobox > p {
    font-weight: 300;
    font-size: 1rem;
    color: var(--blue2);
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

/*SET COURSES STYLING*/

.courseheadbox {
    background-color: transparent;
    height: auto;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    opacity: 0;
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
}

#courseimg {
/*
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
*/
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

#courseimg > img {
    display: block;
    height: 100%;
    z-index: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    
}

#courseimg > h3 {
    font-family: var(--serifmain), serif;
    font-weight: 400;
    font-size: 1.6rem;
    width: 250px;
    text-align: center;
    color: var(--grey1);
    padding: 10px;
    background-color: rgba(215, 173, 123, 0.8);
    margin-bottom: 30px;
    z-index: 1;
    position: absolute;
    bottom:0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

.courseinfobox {
    padding: 10px 20px 20px 20px;
    background-color: transparent;
    height: auto;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: end;
            justify-content: flex-end;

    box-shadow: 0 15px 15px -20px #dddddd;
    margin-bottom: 50px;

    -webkit-transform: translateY(100px);

            transform: translateY(100px);
    opacity: 0;
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
}

.courseinfobox > h3,
h4 {
    visibility: hidden;
}

.courseinfobox > p {
    font-weight: 300;
    font-size: 1rem;
    color: var(--blue2);
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

#bodycta {
    display: block;
    color: var(--gold1);
    width: 150px;
    height: auto;
    padding: 8px;
    border: 1px solid var(--gold1);
    border-radius: 5px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.3px;
    margin-bottom: 50px;
}

/*SET SERVICES STYLING*/

.serviceheadbox {
    padding: 10px 20px 20px 20px;
    background-color: transparent;
    height: auto;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    opacity: 0;
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
}

.serviceheadbox > h3 {
    font-family: var(--serifmain), Serif;
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--blue1);
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

#serviceimg {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
    padding: 15px 0px;
    width: auto;
}

#serviceimg > .serviceicons {
    display: inline-block;
    width: 120px;
    height: 120px;
/*    border: 1px solid var(--gold1);*/
    border-radius: 120px;

    opacity: 0;

    -webkit-transition: opacity 0.3s cubic-bezier(.02, .65, .12, .96) 0.25s, -webkit-transform 1s cubic-bezier(.02, .65, .12, .96) 0.25s;

    transition: opacity 0.3s cubic-bezier(.02, .65, .12, .96) 0.25s, -webkit-transform 1s cubic-bezier(.02, .65, .12, .96) 0.25s;

    transition: transform 1s cubic-bezier(.02, .65, .12, .96) 0.25s, opacity 0.3s cubic-bezier(.02, .65, .12, .96) 0.25s;

    transition: transform 1s cubic-bezier(.02, .65, .12, .96) 0.25s, opacity 0.3s cubic-bezier(.02, .65, .12, .96) 0.25s, -webkit-transform 1s cubic-bezier(.02, .65, .12, .96) 0.25s;
}

.serviceicons > img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-height: 100%;
    min-width: 100%;
}

.serviceicons:nth-child(1) {
    margin-right: 15px;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
}

.serviceicons:nth-child(2) {
    margin-left: 15px;
    -webkit-transform: translateX(150%);
            transform: translateX(150%);
}

#sicon {
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    visibility: hidden;

    -webkit-transform: translateX(200%);

            transform: translateX(200%);

}

/*.serviceicons:nth-child(3) {
            width: 0;
            height: 0;
            border: 0;
            visibility: hidden;
        }*/

.serviceinfobox {
    padding: 10px 20px 20px 20px;
    background-color: transparent;
    height: auto;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: end;
            justify-content: flex-end;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    opacity: 0;
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
}

.serviceinfobox > h3,
h4 {
    visibility: hidden;
    height: 0;
}

.serviceinfobox > p {
    font-weight: 300;
    font-size: 1rem;
    color: var(--blue2);
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

/*SET ENRICHMENT STYLES*/



.richheadbox {
/*    padding: 20px 20px 20px 20px;*/
    background-color: transparent;
    height: auto;
    width: 100%;

    opacity: 0;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
}

#richimg {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
}

#richimg > img {
    display: block;
    height: 100%;
    z-index: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%); 
    z-index: 0;
}

#richimg > h3 {
    font-family: var(--serifmain), serif;
    font-weight: 400;
    font-size: 1.6rem;
    width: 250px;
    text-align: center;
    color: var(--grey1);
    padding: 10px;
    background-color: rgba(215, 173, 123, 0.8);
    margin-bottom: 30px;
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

.richinfobox {
    padding: 10px 20px 20px 20px;
    background-color: transparent;
    height: auto;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: end;
            justify-content: flex-end;

    box-shadow: 0 15px 15px -20px #dddddd;
    margin-bottom: 50px;
    width: 100%;

    opacity: 0;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
}



.richinfobox > h3,
h4 {
    visibility: hidden;
}

.richinfobox > p {
    font-weight: 300;
    font-size: 1rem;
    color: var(--blue2);
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

#bodycta {
    display: block;
    color: var(--gold1);
    width: 150px;
    height: auto;
    padding: 8px;
    border: 1px solid var(--gold1);
    border-radius: 5px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.3px;
    margin-bottom: 50px;
}

/*SET TESTIMONIAL STYLING*/

#testimonials {
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    height: auto;
    -webkit-box-align: center;
            align-items: center;
}

.testiheadbox {
    padding: 10px 20px 0px 20px;
    background-color: transparent;
    height: auto;

    opacity: 0;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
}

.testiheadbox > h3 {
    font-family: var(--serifmain), Serif;
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--blue2);
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.testiinfobox {
    display: -ms-grid;
    display: grid;
    grid: auto auto / auto;
    padding: 20px;
    -webkit-box-align: center;
            align-items: center;
    justify-items: center;
    height: auto;
    background-color: transparent;

    opacity: 0;
    -webkit-transform: translateY(100px);
            transform: translateY(100px);
    -webkit-transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96);
    transition: transform 1s cubic-bezier(.02, .65, .12, .96), opacity 1s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1s cubic-bezier(.02, .65, .12, .96);
}

.testipic {
    width: 100px;
    height: 100px;
/*    border: 1px solid var(--blue1);*/
    border-radius: 1000px;
    margin: 10px 0;
    position: relative;
    
    -webkit-transition: all 0.5s ease-in-out;
    
    transition: all 0.5s ease-in-out;
}

.testipic img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    max-height: 100%;
    max-width: 100%;
    z-index: 0;
    
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    
    -webkit-transition: all 0.5s ease-in-out;
    
    transition: all 0.5s ease-in-out;

}

#real-img {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.testipic:hover #real-img {
    visibility: visible;

    opacity: 1;
}

.testitext > p {
    font-weight: 400;
    font-size: 1rem;
    color: var(--blue1);
}

.testitext > p:nth-child(2) {
    margin-top: 20px;
    font-size: 0.8rem;
    font-weight: 300;
}

.testitext {
    margin-bottom: 60px;
    text-align: center;
}

#rmore {
    display: inline-block;
    color: var(--gold1);
    font-weight: 300;
}

.testiinfobox > #bodycta {
    width: 230px;
}

.footer {
    padding: 10px 20px 20px 20px;
    background-color: var(--blue1);
    height: auto;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
            align-items: center;
    width: 100%;
}


#footerbtn {
    display: block;
    color: #fdfdfd;
    width: 150px;
    height: auto;
    padding: 8px;
    background-color: var(--mahogany);
    border-radius: 5px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.3px;
    margin: 30px 0;
}

.footerlinksbox {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row wrap;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
    width: 100%;
}

#flistbox {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
    width: 100%;
}

.footerlinks {
    color: var(--gold1);
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 10px;
    /*display: block;*/
}

.footerlinks:nth-child(8) {
    margin-bottom: 0;
}

#footerlogo {
    width: 120px;
    height: 120px;
    margin: 30px 0;
    position: relative;
}

#footerlogo > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);

}

#footericons {
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
}

.icons {
    display: inline-block;
    width: 40px;
    height: 40px;
    /*
    border: 1px solid #fdfdfd;
    border-radius: 100px;
*/
    margin: 10px;
    position: relative;
}

.icons > a,
.icons img {
    display: block;
    width: 80%;
    max-width: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transition: opacity .5s cubic-bezier(.02, .65, .12, .96);
    transition: opacity .5s cubic-bezier(.02, .65, .12, .96);

    opacity: 0.5;
}

.icons > a:hover {
    cursor: default;
}

.fb-icon img:hover {
    opacity: 0.5;
}

.fb-icon > a:hover {
    cursor: pointer;
}

.fb-icon img, .fb-icon > a {
    opacity: 1;
}




#copyright {
    text-align: center;
    color: #fdfdfd;
    font-weight: 300;
    font-size: 0.8rem;
    width: 100%;
    margin-top: 10px;

}


/*==================================================
CLASSES ADDED BY JS
==================================================*/

.inplace {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
}


#serviceimg > .inplace-1 {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
}



.inplace-2 {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    -webkit-animation-name: sliding;
            animation-name: sliding;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-timing-function: cubic-bezier(.02, .65, .12, .96);
            animation-timing-function: cubic-bezier(.02, .65, .12, .96);
    
    -webkit-transition: all 1.5s cubic-bezier(.02, .65, .12, .96);
    
    transition: all 1.5s cubic-bezier(.02, .65, .12, .96);
}

.inplace-label {
    opacity: 1;
    margin-left: -30px;
    -webkit-animation-name: label-sliding;
            animation-name: label-sliding;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
    -webkit-animation-timing-function: cubic-bezier(.02, .65, .12, .96);
            animation-timing-function: cubic-bezier(.02, .65, .12, .96);
    
    -webkit-transition: all 1.5s cubic-bezier(.02, .65, .12, .96);
    
    transition: all 1.5s cubic-bezier(.02, .65, .12, .96);
}

/*
.growing {
    transform: scale(1,1);
    animation-name: growing;
    animation-direction: 4.5s;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
}
*/

@-webkit-keyframes sliding {
    from {
        opacity: 0;
        -webkit-transform: translateX(100%);
                transform: translateX(100%);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
}

@keyframes sliding {
    from {
        opacity: 0;
        -webkit-transform: translateX(100%);
                transform: translateX(100%);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
}

@-webkit-keyframes growing {
    from {
        -webkit-transform: scale(0.85, 0.85);
                transform: scale(0.85, 0.85);
    }

    to {
        -webkit-transform: scale(1, 1);
                transform: scale(1, 1);
    }
}

@keyframes growing {
    from {
        -webkit-transform: scale(0.85, 0.85);
                transform: scale(0.85, 0.85);
    }

    to {
        -webkit-transform: scale(1, 1);
                transform: scale(1, 1);
    }
}

@-webkit-keyframes label-sliding {
    from {
        opacity: 0;
        margin-left: 100%;
    }

    to {
        opacity: 1;
        margin-left: -30px;
    }
}

@keyframes label-sliding {
    from {
        opacity: 0;
        margin-left: 100%;
    }

    to {
        opacity: 1;
        margin-left: -30px;
    }
}





/*========================================

MEDIA QUERIES

=========================================*/

@media only screen and (min-width: 600px) {

    /*Small Tablets, Extra Large Phones*/

    #logosm {
        width: 200px;
    }


    /*HEADER STYLES*/
    .headersub {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        text-align: center;
        width: 350px;
    }

    /*IMPROVING INFO LEGIBILITY*/
    .weareinfobox,
    .serviceinfobox {
        padding: 10px 50px 20px 50px;
    }

    .courseinfobox,
    .richinfobox {
        padding: 10px 50px 20px 50px;
        margin-bottom: 50px;
    }

    .testiinfobox {
        padding: 20px 60px;
    }
}

/*===========================================================
=============================================================*/

@media only screen and (min-width: 768px) {

    /*Standard Tablets to Large Tablets*/

    /*HEADER STYLES*/
    .mnavbox {
        padding: 10px 5% 10px 5%;
    }

    .headertitle {
        font-size: 2.4rem;
        margin-bottom: 20px;
        width: 350px;
    }

    .headersub {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
        margin-bottom: 30px;
    }

    .headercta-box {
        flex-flow: row;
        justify-content: center;
    }

    .headercta {
        letter-spacing: 0.4px;
    }

    .headercta:hover {
        cursor: pointer;
    }

    .consulting-tab {
        margin:0;
        margin-right: 15px;
    }

    .courses-tab {
        margin: 0;
        margin-left: 15px;
    }


    /*INFO LEGIBILITY*/

    .weareinfobox,
    .serviceinfobox {
        padding: 10px 90px 20px 90px;
    }

    .courseinfobox,
    .richinfobox {
        padding: 10px 90px 20px 90px;
        margin-bottom: 50px;
    }

    .testiinfobox {
        padding: 20px 90px;
    }

    /*ADDING SERVICES ICON*/

    #sicon {
        width: 120px !important;
        height: 120px !important;
/*        border: 1px solid var(--gold1) !important;*/
        border-radius: 120px;
        visibility: visible;
        margin-left: 15px;
    }

    .serviceicons:nth-child(2) {
        margin-right: 15px;
    }

    /*FOOTER STYLES*/

    #flistbox {
        width: auto;
        -webkit-box-align: start;
                align-items: flex-start;
    }

    .footerlinks {
        text-align: left;
        margin-bottom: 10px;
    }

    .footerlinksbox {
        -webkit-box-pack: justify;
                justify-content: space-between;
        margin: 20px 0;
        padding: 0 120px;

    }

    #footerlogo {
        width: 150px;
        height: 150px;
    }
}

/*===========================================================
=============================================================*/

@media only screen and (min-width: 1024px) {

    /*Small Laptops and Landscape View of Large Tablets*/

    /*NAV STYLES*/

    #widenav,
    #widenav > ul,
    #widenav > ul > .widenavlinks {
        visibility: visible;
    }

    #menuburgerbox,
    #menuburgerbox > a,
    #burgericon {
        visibility: hidden;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #widenav {
        width: auto !important;
        height: 60px !important;
        margin-left: auto;
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
                align-items: center;
        -webkit-box-pack: start;
                justify-content: flex-start;
    }

    #widenav > ul {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
                flex-flow: row;
        -webkit-box-pack: start;
                justify-content: flex-start;
        -webkit-box-align: center;
                align-items: center;
        width: 100% !important;
        height: auto !important;
    }

    #widenav > ul > li,
    .widenavlinks {
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
                align-items: center;
        -webkit-box-pack: center;
                justify-content: center;
        width: 100% !important;
        height: auto !important;
    }

    #widenav > ul > li {
        margin-left: 45px;
    }

    #widenav > ul > li:nth-child(1) {
        margin-left: 0;
    }

    .widenavlinks {
        height: auto !important;
        text-decoration: none;
        color: #fdfdfd;
        font-family: var(--sansmain), sans-serif;
        font-weight: 300;
        letter-spacing: 0.2px;
        font-size: 1rem;
        text-align: center;
        position: relative;
        -webkit-transition: all .5s cubic-bezier(.02, .65, .12, .96);
        transition: all .5s cubic-bezier(.02, .65, .12, .96);
    }

    .widenavlinks::after {
        content: '';
        width: 0;
        height: 1px;
        background-color: var(--gold1);
        position: absolute;
        margin: auto;
        bottom: 0;
        -webkit-transition: all .5s cubic-bezier(.02, .65, .12, .96);
        transition: all .5s cubic-bezier(.02, .65, .12, .96);
    }

    /*NAV HOVER EFFECTS*/

    .widenavlinks:hover::after {
        width: 100%;
    }

    .widenavlinks:hover {
        color: var(--gold1);
    }

    /*HEADER STYLES*/
    
    .bg-img {
        background-image: url(images/home-bg-std.jpg);
    }

    .headertitle {
        font-size: 3rem;
        width: 450px;
    }

    .headersub {
        width: 400px;
    }

    /*HEADER HOVER EFFECTS*/
    .headercta {
        -webkit-transition: border-color .1s ease-in-out, background 1s cubic-bezier(.02, .65, .12, .96), color .8s cubic-bezier(.02, .65, .12, .96), opacity 1.5s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1.5s cubic-bezier(.02, .65, .12, .96);
        transition: border-color .1s ease-in-out, background 1s cubic-bezier(.02, .65, .12, .96), color .8s cubic-bezier(.02, .65, .12, .96), opacity 1.5s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1.5s cubic-bezier(.02, .65, .12, .96);
        transition: border-color .1s ease-in-out, background 1s cubic-bezier(.02, .65, .12, .96), color .8s cubic-bezier(.02, .65, .12, .96), transform 1.5s cubic-bezier(.02, .65, .12, .96), opacity 1.5s cubic-bezier(.02, .65, .12, .96);
        transition: border-color .1s ease-in-out, background 1s cubic-bezier(.02, .65, .12, .96), color .8s cubic-bezier(.02, .65, .12, .96), transform 1.5s cubic-bezier(.02, .65, .12, .96), opacity 1.5s cubic-bezier(.02, .65, .12, .96), -webkit-transform 1.5s cubic-bezier(.02, .65, .12, .96);
    }

    .headercta:hover {
        border-color:  var(--gold1);
        background-color: var(--gold1);
        
    }

    .headercta:hover > span {

        padding-right: 8px;
        visibility: visible;
        font-size: inherit;
        width: auto;
        height: auto;
        -webkit-transition: visibility .1s ease-in-out;
        transition: visibility .1s ease-in-out;
        color: var(--gold1);
    }

    /*SLIDE SHOW STYLING*/

    .student-box {
        display: block;
    }

    .std-label {
        display: block;
    }

    /*ADJUSTING BODY CONTENT LAYOUTS*/

    /*ABOUT SECTION*/

    #about-us > h2 {
        font-size: 2.2rem;
    }

    .weareinfobox,
    .serviceinfobox {
        padding: 10px 13% 20px 13%;
    }

    .weareinfobox {
        margin-bottom: 80px;
    }

    .weareheadbox {
        margin-top: 80px;
        padding-top: 70px;
    }

    /*COURSES SECTION*/

    .courseheadbox {
        width: 45%;
        margin-left: 10%;
        margin-right: 2%;
    }

    .courseinfobox {
        width: 45%;
        margin-right: 10%;
        margin-left: 2%;
        padding-left: 20px;
        padding-right: 20px;
    }

    #courseimg > h3 {
        visibility: hidden;
    }

    /*INFO FOR WIDE SCREEN*/

    .courseinfobox {
        -webkit-box-align: start;
                align-items: flex-start;
        -webkit-box-pack: center;
                justify-content: center;
        box-shadow: none;
        margin-bottom: 0;
    }

    .courseinfobox > h3,
    .courseinfobox > h4 {
        visibility: visible;
        font-family: var(--serifmain), serif;
        font-weight: 400;
    }

    .courseinfobox > h3 {
        font-size: 1.7rem;
        color: var(--blue1);
        padding: 0;
        margin-bottom: 5px;

    }

    .courseinfobox > h4 {
        font-size: 1.1rem;
        color: var(--gold1);
        padding: 0;
        margin-bottom: 50px;
    }

    .courseinfobox > p {
        text-align: left;
    }

    #courses {
        width: 100%;
        height: calc(330px + 160px);
        margin: 0;
        padding: 0;
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
                flex-flow: row;
        -webkit-box-align: center;
                align-items: center;
        box-shadow: 0 15px 15px -20px #dddddd;
    }

    .courseinfobox > #bodycta {
        margin-bottom: 0px;
        -webkit-transition: margin-left .8s cubic-bezier(.02, .65, .12, .96), color .8s cubic-bezier(.02, .65, .12, .96), background-color .8s cubic-bezier(.02, .65, .12, .96), border-radius .8s cubic-bezier(.02, .65, .12, .96);
        transition: margin-left .8s cubic-bezier(.02, .65, .12, .96), color .8s cubic-bezier(.02, .65, .12, .96), background-color .8s cubic-bezier(.02, .65, .12, .96), border-radius .8s cubic-bezier(.02, .65, .12, .96);
    }

    /*HOVER EFFECTS*/

    .courseinfobox > #bodycta:hover {
        margin-left: 10px;
        background-color: var(--gold1);
        color: #fff;

    }

    #weare {
        width: 100%;
        box-shadow: 0 15px 15px -20px #dddddd;
    }

    /*SERVICES SECTION*/

    #services {
        width: 100%;
        padding-bottom: 50px;
        box-shadow: 0 15px 15px -20px #dddddd;
    }

    .serviceheadbox {
        margin-top: 80px;
    }

    .serviceheadbox > h3 {
        font-size: 1.7rem;
    }

    #sicon {
        width: 160px !important;
        height: 160px !important;
        border-radius: 160px;
        margin-left: 20px;
    }

    .serviceicons:nth-child(2),
    .serviceicons:nth-child(1) {
        width: 160px !important;
        height: 160px !important;
        border-radius: 160px;
        margin-right: 20px;
    }

    .serviceicons:nth-child(2) {
        margin-left: 20px
    }

    /*HOVER EFFECTS*/

    .serviceinfobox > #bodycta {
        -webkit-transition: color 1s cubic-bezier(.02, .65, .12, .96), background-color 1s cubic-bezier(.02, .65, .12, .96), border-radius 1s cubic-bezier(.02, .65, .12, .96);
        transition: color 1s cubic-bezier(.02, .65, .12, .96), background-color 1s cubic-bezier(.02, .65, .12, .96), border-radius 1s cubic-bezier(.02, .65, .12, .96);
    }

    .serviceinfobox > #bodycta:hover {
        color: #fff;
        background-color: var(--gold1);
        border-radius: transparent;
    }

    /*ENRICHMENT SECTION*/

    #enrichment {
        width: 100%;
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
                flex-flow: row;
        -webkit-box-align: center;
                align-items: center;
        height: calc(330px + 160px);
        box-shadow: 0 15px 15px -20px #dddddd;
    }


    .richheadbox {
        width: 45%;
        margin-right: 10%;
        margin-left: 2%;
        -webkit-box-ordinal-group: 2;
                order: 1;
    }

    .richinfobox {
        width: 45%;
        margin-left: 10%;
        margin-right: 2%;
        -webkit-box-ordinal-group: 1;
                order: 0;

        -webkit-box-align: start;

                align-items: flex-start;
        -webkit-box-pack: center;
                justify-content: center;
        box-shadow: none;
        margin-bottom: 0;

        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
    }

    #richimg > h3 {
        visibility: hidden;
    }

    .richinfobox > h3,
    .richinfobox > h4 {
        visibility: visible;
        font-family: var(--serifmain), serif;
        font-weight: 400;
        width: 100%;
    }

    .richinfobox > h3 {
        font-size: 1.7rem;
        color: var(--blue1);
        padding: 0;
        margin-bottom: 5px;

    }

    .richinfobox > h4 {
        font-size: 1.1rem;
        color: var(--gold1);
        padding: 0;
        margin-bottom: 50px;

    }

    .richinfobox > p {
        text-align: left;
        width: 100%;
    }

    .richinfobox > #bodycta {
        margin-bottom: 0px;
        -webkit-transition: margin-left .8s cubic-bezier(.02, .65, .12, .96), color .8s cubic-bezier(.02, .65, .12, .96), background-color .8s cubic-bezier(.02, .65, .12, .96), border-radius .8s cubic-bezier(.02, .65, .12, .96);
        transition: margin-left .8s cubic-bezier(.02, .65, .12, .96), color .8s cubic-bezier(.02, .65, .12, .96), background-color .8s cubic-bezier(.02, .65, .12, .96), border-radius .8s cubic-bezier(.02, .65, .12, .96);
    }

    .richinfobox > #bodycta:hover {
        margin-left: 10px;
        background-color: var(--gold1);
        color: #fff;
    }

    /*TESTIMONIALS SECTION*/

    #testimonials {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .testiinfobox {
        padding: 20px 15%;
    }

    .testipic {
        width: 150px;
        height: 150px;
        margin: 20px 0;
    }

    .testitext > p:nth-child(2) {
        font-size: 0.9rem;
    }

    .testiinfobox > #bodycta {
        width: 230px;
    }


    /*HOVER EFFECTS*/

    .testiinfobox > #bodycta {
        -webkit-transition: color 1s cubic-bezier(.02, .65, .12, .96), background-color 1s cubic-bezier(.02, .65, .12, .96), border-radius 1s cubic-bezier(.02, .65, .12, .96);
        transition: color 1s cubic-bezier(.02, .65, .12, .96), background-color 1s cubic-bezier(.02, .65, .12, .96), border-radius 1s cubic-bezier(.02, .65, .12, .96);
    }

    .testiinfobox > #bodycta:hover {
        color: #fff;
        background-color: var(--gold1);
        border-radius: transparent;
    }

    .footer {
        padding-top: 50px;
    }
}

/*===========================================================
=============================================================*/

@media only screen and (min-width: 1360px) {


    .headertitle {
        font-size: 3rem;
        width: 500px;
    }

    .headersub {
        width: auto;
    }


    /*SLIDESHOW STYLING*/

    .student-box {
        width: 550px;
    }


    .weareinfobox,
    .serviceinfobox {
        padding: 10px 20% 20px 20%;
    }

    .weareinfobox > p,
    serviceinfobox > p {
        font-size: 1.15rem;
    }

    .footer {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
                flex-flow: row wrap;
        -webkit-box-pack: start;
                justify-content: flex-start;
        padding: 0 10%;
    }

    #footerbtn {
        display: block;
        width: 150px;
        margin: 50px auto 20px calc(50% - 75px);
    }

    .footerlinksbox {
        padding: 0;
        width: calc(50% + 75px);
        margin: 0;
        -webkit-box-pack: justify;
                justify-content: space-between;
    }

    #flistbox {
        width: 210px;
    }

    #footericons {
        width: calc(50% - 75px);
        -webkit-box-pack: end;
                justify-content: flex-end;
    }

    #copyright {
        margin: 60px 0;
    }


}

/*===========================================================
=============================================================*/

@media only screen and (min-width: 1440px) {
    #courseimg, #richimg {
        height: 350px;
    }

}
