/** {
    padding: 0;
    margin: 0;
}*/

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

.BCS-info {
    margin: auto;
    width: 90%;
    text-align: center;
    position: absolute;
    bottom: 0;
}

footer {
    align-self: flex-end;
    -ms-flex: 0 0 20px;
    -webkit-flex: 0 0 20px;
    flex: 0 0 20px;
    width: 100%;
}

    footer > p {
        padding-left: 10px;
    }

.hr-separator {
    margin-bottom: 5px;
}

/*Absolute position*/

/*footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5%;
    display: table-cell;
    vertical-align: middle;
    min-height: 1em;
}*/

/*footer > p {
        position: absolute;
        margin: 0;
        top: 50%;
        margin-top: -5px;
        padding-left: 10px;
    }*/

.body-content {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -ms-flex: 1 1;
    -webkit-flex: 1 1;
    flex: 1 1;
    min-height: 300px;
    /*height:95%;*/
    position: relative;
    /* Set padding to keep content from hitting the edges */
    /*padding-top: 15px !important;*/
}

/*.body-content > .jqGrid-holder{
    margin-top: 15px;
}*/

.BCS-info {
    margin: auto;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 15px;
}

.logo-about {
    width: 40%;
}

.navbar.navbar-inverse.navbar-fixed-top {
    align-self: flex-start;
    -ms-flex: 0 0 20px;
    -webkit-flex: 0 0 20px;
    flex: 0 0 20px;
    width: 100%;
}

#RememberMe {
    margin-left: 0;
}

.container {
    width: 100%;
    padding: 0 40px;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.dialog-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    min-height: 350px;
}

.navbar-collapse.collapse.navbar-collapse-custom {
    display: none !important;
}

@media (max-width: 700px) {
    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

        .navbar-collapse.collapse {
            display: none !important;
        }

    .navbar-nav > li {
        float: none;
    }

        .navbar-nav > li > a {
            padding-top: 10px;
            padding-bottom: 10px;
        }

    .navbar-text {
        float: none;
        margin: 15px 0;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .collapsing {
        overflow: hidden !important;
    }
}

/* Front page hero layout */
.front-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(246, 248, 252, 0.9), rgba(235, 242, 252, 0.9));
    border-radius: 12px;
}

.front-hero__text {
    max-width: 640px;
}

.front-hero img.logo-about {
    max-width: 40%;
    height: auto;
    margin-left: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .front-hero {
        flex-direction: column-reverse;
        align-items: center;
    }

    .front-hero img.logo-about {
        max-width: 100%;
        margin: 0 0 12px 0;
    }
}

/* Typography enhancements for hero */
.front-hero__text h2 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    line-height: 1.2;
    margin: 0 0 0.25rem 0;
}

.front-hero__text p {
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    line-height: 1.5;
    margin: 0.1rem 0;
    color: #333;
}

/* Navbar portal buttons */
.navbar-nav li.nav-btn-li {
    display: flex;
    align-items: center;
    height: 50px;
}

.navbar-nav .nav-btn {
    display: inline-block;
    margin: 7px 0 7px 4px;
    padding: 5px 14px;
    border-radius: 5px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.navbar-nav .nav-btn--kids {
    border-color: #5b9bd5;
    color: #5b9bd5 !important;
}

.navbar-nav .nav-btn--kids:hover,
.navbar-nav .nav-btn--kids:focus {
    background: #5b9bd5;
    color: #fff !important;
    text-decoration: none;
}

.navbar-nav .nav-btn--parents {
    border-color: #16a34a;
    color: #16a34a !important;
}

.navbar-nav .nav-btn--parents:hover,
.navbar-nav .nav-btn--parents:focus {
    background: #16a34a;
    color: #fff !important;
    text-decoration: none;
}