/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 350px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item .kidsButton {
        width: 70px;
        height: 70px;
        object-fit: cover;
        top: 0;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}
.owl-carousel-item h1.shadow{
    text-shadow: 0 0 10px #000000;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.banner-slogan-sub{
    background-color:rgb(33 74 83 / 84%);
    float:left;
    border: 2px solid #9ebcd1;
    border-radius: 8px;
    font-size: 15px;
    color: #dedede;
    padding: 10px 20px;
    z-index: 99;
    margin: 94px 0 0 14px;
}
.banner-stretcher{
    height: 390px;
    margin: 0 0 3px 0;
}
div.banner-starter{
    padding: 30px 0 0 0;
}
.why-wrap{
    padding: 35px 110px;
}
div.why-we-did-it{
    border-radius: 5px;
    border: 1px solid #535353;
    background-color: rgb(59 87 28 / 46%);
    padding: 15px 20px;
}
.signature{
    text-align: right;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}
.banner-cont-border{
    border-bottom: 1px solid #888;
}
.author-profile img{
    border-radius: 70%;
    width: 30%;
    float: left;
    margin-right: 10px;
}
.author-profile p{
    padding: 15px;
    text-align: justify;
}
.reach-out{
    border: 1px solid #dedede;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 15px;
    width: 520px;
    background-color: #f7f2ff;
}
.reach-out p{
    margin: 0 !important;
}

a.logo img{
    height: 120px;
}
a.logo{
    margin-bottom: 5px;
}
.aquatic{
    color: #959595;
    opacity: 0.5;
    padding: 20px 0 0 0;
}
.aquatic span{
    color: #b7b7b7;
}
p{
    line-height: 27px;
}
.blackboard{
    float: right; width:50%; position: relative; z-index: 2;
}
.blackboard img{
    width: 500px;
}
.blackboard_wrapper{
    padding: 23px 45px 0 42px;
}
.teddy_wrapper{
    position: relative;
}
.teddy{
    position: absolute;
    top: 5px;
    left: 20px;
    width: 300px;
    height: 300px;
}
.teddy_text_wrapper{
    padding: 12% 0 0 3%;
}

.for_kids{
    position: absolute;
    width:100px;
    z-index: 99;
    top: 60px;
    right: -38px;
}
.header-carousel .owl-carousel-item .kidsButton {
    width: 100px;
    height: 100px;
    object-fit: cover;
    top: 0;
}
.the_abcs{
    position: relative;
}
.uber-rounded button {
    background-color: #c5b238;
    color: white;
    border: none;
    padding: 1px;
    font-size: 31px;
    height: 100px;
    width: 100px;
    box-shadow: -5px 3px 10px #353535;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 70%;
}
.uber-rounded button:active {
    background-color: #e3d46e;
    box-shadow: 0 0 2px darkslategray;
    transform: translateY(2px);
}
.uber-rounded button img{
    height: 100%;
    width: 100%;
}
img.img_for_kids{
    width: 140px;position: absolute;bottom:22px;right:-96px;
}
a.mobileForParents{
    display: none;
    background-color: #e56060;
    border-color: #c74964;
    padding: 4px 6px;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
}
@media (max-width: 900px) {
    .reach-out{
        width: 85%
    }
    .blackboard{
        display: none;
    }
    div.banner-stretcher{
        height: 350px;
    }
    .safe-space{
        display: none;
    }
    .why-wrap{
        padding: 20px 0 5px 0 !important;
    }
    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }
    .header-carousel .why-wrap .banner-cont-border {
        border: none !important;
        padding: 3px !important;
    }
    .header-carousel .why-wrap p {
        font-size: 14px !important;
        padding: 10px !important;
        text-shadow: 1px 1px #636363;
    }
    .why-wrap .banner-cont-border{
        border: none !important;
        padding: 3px !important;
    }
    .why-we-did-it{
        padding: 10px 48px 0 5px !important;
    }
    .why-we-did-it p{
        font-size: 14px !important;
        padding: 5px !important;
        line-height: 20px;
        margin-bottom: 0 !important;
    }
    .signature p{
        padding: 5px !important;
    }
    .blackboardContent{
        width: 100% !important;
    }
    .abs_wrapper{
        display: none;
    }
    .teddy{
        height: 300px;
        width: 300px;
        top: 10px;
    }
    .uber-rounded button {
        height: 70px;
        width: 70px;
    }
    img.img_for_kids{
        bottom:10px;
        right:-44px;
        width: 80px !important;
        height: auto !important;
    }
    a.mobileForParents{
        display: block;
        position: absolute;
        left: 37px;
        bottom: -64px;
        width: 87px;
        padding: 10px;
    }
    .header-carousel .blackboardContent p{
        font-size: 14px !important;
        padding: 10px;
    }
    .header-carousel .blackboardContent h1{
        margin-bottom: 5px !important;
        border-bottom: 1px solid #ddd;
        padding-bottom: 5px !important;
    }
    .teddy_text_wrapper{display: none;}
    .header-carousel .owl-carousel-item .kidsButton {
        width: 70px;
        height: 70px;
    }
    .uber-rounded button {
        height: 70px;
        width: 70px;
    }
    .for_kids{
        right: 30px;
    }
    .banner-slogan-sub{
        width: 66% !important;
        margin-top: 50px !important;
        padding: 9px 12px
    }
    .blackboard_wrapper{
        padding: 10px;
    }
}

.book_wrapper{
    position: relative;
    padding-top: 30px;
}
.bookWrap{
    position: absolute;
    top: 0;
    left: 50px;
    width: 193px;
}
.header-carousel .owl-carousel-item img.bookImg {
    width: 85% !important;
    height: auto;
    object-fit: cover;
    -webkit-filter: drop-shadow(-18px 5px 14px #222);
    filter: drop-shadow(-18px 5px 14px #222);
}
.book_wrapper h1{
    margin-bottom: 10px !important;
}
.clear{
    clear: both;
    content: ' ';
}

@media (max-width: 900px) {
    .header-carousel .owl-carousel-item .teddyImg {
        width: 80% !important;
        height: auto;
        object-fit: cover;
    }
    .header-carousel .owl-carousel-item img.bookImg {
        width: 40% !important;
        height: auto;
        object-fit: cover;
    }
    .bookWrap{
        top: 10px;
        left: 14px;
        width: 380px;
    }
    .book_wrapper{
        padding-top: 10px;
    }
    .book_wrapper h1{
        font-size: 25px !important;
    }
}

/*review modal*/
.review_images a img{
    width: 175px;
    padding: 20px;
}
/* Default styles for desktop */
.modal-dialog {
    width: 65%;
    margin: auto;
}

/* Styles for devices with width up to 768px (like tablets and phones) */
@media (max-width: 768px) {
    .modal-dialog {
        width: 100%;
        margin: 0;
        max-width: none;
    }
}
