﻿html {
    box-sizing: border-box;
}

    html *, html *:before, html *:after {
        box-sizing: inherit;
    }

body {
    margin: 0px;
}

indent {
    padding-left: 30px;
}

/* #region loading */
.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ripple div {
        position: absolute;
        /*border: 4px solid #fff;*/
        border: 4px solid #001E32;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .lds-ripple div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

.app-loading {
    background-color: rgba(255, 255, 255, .75);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: fixed;
}
/* #endregion loading */

/* fixed height layout */
html, body, form, .content, .container {
    height: 100%;
}


/* #region LIMS style overrides */
/*dbpanel*/
.dbpanel > p,
.plcdbpanel > p {
    padding: 0px;
    margin: 0px;
}

/*panels*/
.dbpanel > hr,
.plcbuttonpanel > hr {
    background-color: #001e32;
    height: 1px;
    border: none;
}

/*grid*/
.panel-body .plcdbgrid {
    margin-bottom: 5px;
}
/* #endregion LIMS style overrides */


.section-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #001E32;
    border-radius: 5px;
    margin-bottom: 5px;
}

.panel-header {
    padding: 3px;
    height: 30px;
    text-align: center;
    color: #FFF;
    background-color: #001E32;
}

.panel-body {
    padding: 3px;
    overflow: auto;
}

.panel-footer {
    border-top: 1px solid #001E32;
    padding: 10px;
}


/* #region Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.login-image {
    max-width: 400px;
    margin-right: 10px;
}

    .login-image img {
        width: 100%;
    }

.login-form {
    background: #E6E6E6;
    overflow: auto;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

    .login-form .login-banner {
        width: 100%;
        margin: 0px auto;
        text-align: center;
        position: relative;
    }

        .login-form .login-banner .login-banner-text {
            position: absolute;
            bottom: 10px;
            right: 16px;
            color: rgba(255, 255, 255, 0.6);
            font-size: x-large;
            font-weight: lighter;
        }

    .login-form .login-content {
        padding: 20px 2px;
        border: 3px solid #001E32;
    }

        .login-form .login-content .field {
            margin-bottom: 5px;
            padding: 0px 18px;
        }

            .login-form .login-content .field.login-user input {
                text-transform: uppercase;
            }

            .login-form .login-content .field * {
                display: inline-block;
            }

            .login-form .login-content .field label {
                width: 25%;
            }

            .login-form .login-content .field input,
            .login-form .login-content .field select {
                width: 72%;
                height: 2em;
            }

            .login-form .login-content .field [type=submit] {
                width: 100px;
            }

            .login-form .login-content .field.field-center {
                text-align: center;
            }

            .login-form .login-content .field.field-message {
                font-size: small;
                text-align: center;
            }

        .login-form .login-content hr.field {
            margin: 0px 0px 20px;
        }
/* #endregion Login */

/* #region ChangePassword */
.change-password.login-form .login-content .field label {
    width: 35%;
}

.change-password.login-form .login-content .field input,
.change-password.login-form .login-content .field select {
    width: 62%;
}

.change-password.login-form .login-content .field [type=submit] {
    width: 100px;
}
/* #endregion ChangePassword */
/* #region layout */
.container {
    display: flex;
}

    .container > .page {
        width: 100%;
        padding: 10px;
    }

.fixed {
    position: fixed;
    z-index: 1;
}

.left-menu.fixed + .page {
    margin-left: 300px;
    min-width: 700px;
}
/* #endregion layout */

/* #region banner */
.banner {
    width: 100%;
    height: 100px;
    background-color: #001E32;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

    .banner .logo {
        width: 400px;
        height: 100px;
    }

    .banner .banner-text {
        position: absolute;
        bottom: 10px;
        left: 170px;
        color: rgba(255, 255, 255, 0.6);
        font-size: x-large;
        font-weight: lighter;
    }

    .banner .banner-content {
        color: #FFFFFF;
        padding: 10px;
    }

        .banner .banner-content .app-info {
            text-align: right;
            font-size: small;
        }
/* #endregion banner */

/* #region left menu with banner */
.left-menu {
    background-color: #FFF;
    border-right: 1px solid #001E32;
    height: 100%;
}

.left-menu .banner .logo {
    width: 300px;
}

.left-menu .banner .banner-text {
    left: auto;
    right: 10px;
    text-align: right;
}

.left-menu .banner .banner-content {
    padding-right: 0px;
}

.left-menu .app-menu-static {
    width: 300px;
}
/* #endregion left menu with banner */

/* #region copyright */
.sitecolor.copyright {
    background-color: #001e32;
    color: #fff;
    border-radius: 5px;
}

    .sitecolor.copyright .statusbar {
        border-radius: 3px 3px 0px 0px;
    }

        .sitecolor.copyright .statusbar span {
            padding: 2px;
        }
/* #endregion copyright */

div.commonpopup {
    display: none;
    font-size: 1.5em;
    border: 2px solid DarkGray;
    padding: 10px 10px;
    margin: 0;
    background-color: LightGrey;
    width: 350px;
    z-index: 99999;
    text-align: center;
}

    div.commonpopup p {
        padding-bottom: 10px;
        width: 300px;
        margin: 0 25px;
        margin-left: 25px;
    }

    div.commonpopup img {
        display: inline;
    }

    div.commonpopup div#commonpopupdlg_btnrow {
        text-align: center;
    }

    div.commonpopup input {
        width: 50px;
        margin-left: 10px;
        margin-right: 10px;
    }

.offline-msg h3 {
    margin: 0px;
    margin-top: 5px;
}