html,
body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0;
    padding: 0;

}

html {
    font-size: 14px;
}

body {
    background-image: url("/img/cloud.png");
    background-size: cover;
}

.hide {
    display: none !important;
}

#mainbody {
    min-height: 100vh !important;

}

#language {
    position: relative;
    top: -50px;
    max-width: 80px;
    transition: top 0.5s;
    -moz-transition: top 0.5s;
    -webkit-transition: top 0.5s;
    -o-transition: top 0.5s;

}

#language.visible {
    top: 10px;
}

#language .img-thumbnail {
    padding: 0 !important;
    border: none !important;
}


/*---------------------------Navigation menu-------------------------*/

#menu-nav {
    background-color: rgba(181, 211, 231, 1);
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    overflow-x: hidden;

}


#menu-nav .list-group-item {
    background-color: rgba(181, 211, 231, 0.7);
    font: 0.9rem 'Pacifico', Helvetica, sans-serif;
    font-weight: bold;
    color: #2b2b2b;
    text-decoration: none;
    border: none;
    padding: 0.75rem 0.75rem !important;
    text-align: center;
}

#menu-nav .list-group-item span {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
}



/*------End of navbar------*/

#revcarriage {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

#maincontent {
    background: rgba(255, 255, 255, 0.91);
    padding-bottom: 80px !important;
    min-height: 100% !important;
}

h1 {
    color: #d54d7b;
    font: 0.9rem 'Great Vibes', Helvetica, bold, sans-serif;
    text-shadow: 0 1px 15px #ccc;
    text-align: center;

}

/*------Home Carousel------*/

.home-carousel .carousel-inner {
    max-width: 90%;
    margin: auto;
    border: 0.4rem;
    border-radius: 10px;
    border-color: #EAD9B9;
    border-style: solid;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

.home-carousel .carousel-indicators {
    margin-bottom: 0.55rem;
}

.home-carousel .carousel-indicators li {
    border: none;
}


.home-carousel .carousel-caption {
    background: rgba(0, 0, 0, 0.35);
    max-width: 100%;
    width: 100%;
    left: 0;
    padding: 1px;
    text-align: center;
    font-size: 0.6rem;
    font-weight: bold;
    position: absolute;
    bottom: 0.65rem;

}

.home-carousel .carousel-indicators .active {
    background-color: rgba(255, 255, 255, 2);

}




/*------End of Home Carousel------*/

#intro,
#testimonialstemp,
#aboutmecontent,
#childmindercontent,
#policiescontent,
#activitiescontent,
#contactcontent {
    text-shadow: 0 1px 1px #aaa;
    font-family: "Open Sans";
    font-size: 0.7rem;
    font-style: normal;
    text-align: justify;
}

#activitieslist {
    text-shadow: 0 1px 1px #aaa;
    font-family: "Open Sans";
    font-size: 0.7rem;
    font-style: normal;
    text-align: left;
}

#feescontent{
    padding-left: 1rem;
    text-shadow: 0 1px 1px #aaa;
    font-family: "Open Sans";
    font-size: 0.7rem;
    font-style: normal;
    text-align: left;
}

#feescontentsublist{
    padding-left: 1rem;
    text-shadow: 0 1px 1px #aaa;
    font-family: "Open Sans";
    font-size: 0.7rem;
    font-style: normal;
    text-align: left;
}

#contactform {
    font-family: "Open Sans" !important;
    font-size: 0.7rem !important;
    
}
/*------ Images ------*/

#hinapicture,
#contactpicture {
    max-height: 720px !important;
    max-width: 40% !important;
    border: 0.3rem;
    padding: 0;
    border-radius: 10px;
    border-color: #EAD9B9;
    border-style: solid;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#aboutbottompic1,
#aboutbottompic2,
#activitiesbottompic1,
#activitiesbottompic2,
#activitiesbottompic3,
#activitiesbottompic4,
#feesbottompic1,
#feesbottompic2 {
    max-height: 400px !important;
    padding: 0;
    border: 0.3rem;
    border-radius: 10px;
    border-color: #EAD9B9;
    border-style: solid;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

hr {
    clear: both;
}

#pianopicture{
    max-height: 960px !important;
    max-width: 40% !important;
    border: 0.3rem;
    padding: 0;
    border-radius: 10px;
    border-color: #EAD9B9;
    border-style: solid;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/*------ Modal Review form------*/


.modal-title {
    font-family: "Pacifico";
    color: white;
    margin: auto;
    font-size: 1.2rem;
}

.modal-header {
    background-color: #33b5e5 !important;
}

.modal-body {
    font-family: "Open Sans" !important;
    font-size: 0.9rem !important;
}

.form-control {
    font-family: "Open Sans" !important;
    font-size: 0.9rem !important;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    opacity: 1;
    font-size: 2rem;
}

.btn-info {
    background-color: #33b5e5;
    font-family: "Open Sans";
    font-size: 1.2rem;
    text-transform: uppercase;
    border: 2px solid #33b5e5;
}

.btn-outline-info {
    background-color: rgba(0, 0, 0, 0);
    color: #33b5e5;
    border: 2px solid #33b5e5;
    font-family: "Open Sans";
    font-size: 1.2rem;
    text-transform: uppercase;
}



/*------ Page footer------*/

footer {
    position: fixed;
    z-index: 15;
    bottom: 0;
    width: 100%;
    font-family: "Pacifico";
    background-color: #323b40;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}

footer span {
    font-size: 0.8rem;
    color: white;
    word-break: keep-all;
}

footer a {
    text-decoration: none !important;
}

.footer-copyright {
    font-family: "Open Sans";
    font-size: 0.6rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.9);
}

.fa-phone {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.modal-open footer {
    display: none;
}


/*------ End of Page footer------*/


@media screen and (max-device-width: 575px) and (orientation : landscape) {


    .modal-open footer {
        display: none;
    }

}

@media screen and (min-device-width: 576px) and (max-device-width: 970px) and (orientation : landscape) {


    .modal-open footer {
        display: none;
    }

    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 576px) and (max-width: 767px) {

    html {
        font-size: 16px;
    }

    #menu-nav .list-group-item {
        padding: 10px auto !important;

    }

    #language {
        position: relative;
        top: -70px;
        max-width: 100px;
        transition: top 0.5s;
        -moz-transition: top 0.5s;
        -webkit-transition: top 0.5s;
        -o-transition: top 0.5s;
    }

}

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

    html {
        font-size: 20px;
    }

    #menu-nav {

        border-top-left-radius: 15px !important;
        border-top-right-radius: 15px !important;

    }

    #menu-nav .list-group-item {
        padding-top: 15px;
        padding-bottom: 15px;
        padding-right: 20px;
        padding-left: 20px;

    }

    .home-carousel .carousel-caption {
        padding: 15px;
    }


    #language {
        position: relative;
        top: -90px;
        max-width: 120px;
        transition: top 0.5s;
        -moz-transition: top 0.5s;
        -webkit-transition: top 0.5s;
        -o-transition: top 0.5s;
    }

    .home-carousel .carousel-inner {
        max-width: 70% !important;
    }

    #maincontent {
        padding-bottom: 120px !important;

    }

    #intro {
        padding-top: 15px;
    }


}


@media screen and (min-width: 993px) and (max-width: 1199px) {

    html {
        font-size: 20px;
    }

    #menu-nav {

        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;

    }

    #menu-nav .list-group-item {
        padding-top: 15px;
        padding-bottom: 15px;
        padding-right: 20px;
        padding-left: 20px;

    }

    .home-carousel .carousel-caption {
        padding: 15px !important;
    }

    #language {
        position: relative;
        top: -90px;
        max-width: 120px;
        transition: top 0.5s;
        -moz-transition: top 0.5s;
        -webkit-transition: top 0.5s;
        -o-transition: top 0.5s;
    }

    .home-carousel .carousel-inner {
        max-width: 70% !important;
    }


    #intro {
        padding-top: 20px;
    }

    #maincontent {
        padding-bottom: 130px !important;
    }

}

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

    html {
        font-size: 24px;
    }

    #language {
        position: relative;
        top: -120px;
        max-width: 140px;
        transition: top 0.5s;
        -moz-transition: top 0.5s;
        -webkit-transition: top 0.5s;
        -o-transition: top 0.5s;
    }

    #menu-nav {

        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;

    }

    #menu-nav .list-group-item {
        padding-top: 15px;
        padding-bottom: 15px;
        padding-right: 20px;
        padding-left: 20px;

    }


    .home-carousel .carousel-caption {
        padding: 15px;
    }

    .home-carousel .carousel-inner {
        max-width: 70% !important;
    }


    #menu-nav .list-group-item:hover a::before {
        right: 0;
        left: 0;
    }

    #menu-nav a:hover {
        color: darkblue;
    }

    #menu-nav a::before {
        content: "";
        transition: all 0.4s ease-in-out;
        position: absolute;
        right: 50%;
        left: 50%;
        bottom: 0;
        height: 2px;
        background-color: darkblue;

    }

    #menu-nav a:hover::before {
        right: 0;
        left: 0;
    }

    h1 {
        font: 1.5rem 'Great Vibes', Helvetica, bold, sans-serif;
    }


    #intro {
        padding-top: 20px;
    }

    #hinapicture,
    #contactpicture {
        max-width: 30% !important;

    }


    footer {
        position: relative;
        top: 0 !important;
    }

    footer .row {
        padding-bottom: 15px !important;
        padding-top: 0 !important;
        max-width: 1140px !important;
        margin: auto !important;
    }

    footer span {
        font-size: 0.6rem;
        color: white;
    }

    .footer-copyright {
        margin-top: 0 !important;
        font-size: 0.4rem;

    }

    .modal-open .modal-dialog {
        margin-top: 10px;

    }

    .modal-body {
        font-family: "Open Sans" !important;
        font-size: 0.7rem !important;
    }

    .form-control {
        font-family: "Open Sans" !important;
        font-size: 0.7rem !important;


    }

    .btn-info {
        font-size: 1rem;
    }

    .btn-outline-info {
        font-size: 1rem;
    }
}
