﻿/* GENERAL
----------------------------------------------------------*/

@media screen {
    BODY {
        background: #ccc;
        font: 12px Arial;
    }

    /* LAYOUT
----------------------------------------------------------*/

    DIV.headwrapper {
        display: block;
        height: 90px;
        width: 100%;
        position: absolute;
        left: 0px;
        top: 0px;
        /*background: #808080 url(Images/topbg.jpg) repeat-y left top;*/
        background-color: white;
        border-bottom: solid 5px black;
        z-index: 5;
    }

        DIV.headwrapper DIV.logo {
            padding: 7px 0 0 20px;
            float: left;
            display: block;
            width: 500px;
            /*height: 60px;*/
        }

        DIV.headwrapper DIV.loginstatus {
            float: right;
            display: block;
            width: 500px;
            /*height: 60px;*/
            font: bold 14px Arial;
            color: #fff;
        }

    DIV.navbg {
        margin: 0;
        padding: 0;
        position: absolute;
        float: left;
        background: #2F2F2F url(Images/leftbg.png) no-repeat left bottom;
        display: block;
        width: 200px;
        height: 100%;
        left: 0px;
        top: 90px;
        z-index: 100;
        border: solid 0px red;
    }

    DIV.navwrapper {
        padding: 0;
        margin: 0;
        position: absolute;
        float: left;
        display: block;
        width: 220px;
        left: 0px;
        top: 170px;
        z-index: 101;
    }

    #main {
        margin: 0;
        padding: 0;
        position: absolute;
        float: left;
        background: #FFF;
        display: block;
        width: 82%;
        min-height: 630px;
        left: 200px;
        top: 90px;
        /*box-shadow: 0px 0px 20px #000;*/
        /* overflow: no-display; */
    }

    DIV.loginstatus {
        padding-top: 50px;
    }

        DIV.loginstatus A {
            color: #900;
        }

    /* MISC
----------------------------------------------------------*/

    .float-left {
        float: left;
    }

    .float-right {
        float: right;
    }

    .clear-fix:after {
        content: ".";
        clear: both;
        display: block;
        height: 0;
        visibility: hidden;
    }

    H1 {
        /*background:#777 url(Images/headbg.jpg) repeat-x left bottom;*/
        background-color: white;
        font: bold 20px Arial;
        color: #E2003C;
        padding: 5px 0 5px 40px;
    }

    H2 {
        background: url(Images/theadbg.jpg) repeat-x left top;
        font: bold 16px Arial;
        color: #333;
        height: 20px;
        padding: 2px 5px 2px 5px;
        text-align: left;
    }

    HR {
        border-top: 1px solid #fff;
        border-bottom: 1px solid #444;
    }

    .padded {
        padding: 0 10px 40px 40px;
    }

    DIV.caption {
        font: normal 14px Arial;
        color: #444;
        border-top: 2px solid #fff;
        clear: both;
        float: left;
        display: block;
        width: 150px;
        height: 30px;
        padding: 5px 15px 5px 0;
    }

    DIV.field {
        border-top: 2px solid #fff;
        background: #ecf7fe;
        float: right;
        width: 800px;
        padding: 5px;
        min-height: 30px;
        display: block;
    }

    DIV.command {
        border-top: 2px solid #ccc;
        padding: 5px 30px 0px 0px;
        display: block;
        width: 950px;
        clear: both;
    }

    /* MENU
----------------------------------------------------------*/

    #menu {
        width: 220px;
        margin: 0;
        padding: 0;
    }


    .accordionButton {
        float: left;
        font: bold 14px Arial;
        padding: 5px;
        display: block;
        color: #fff;
        border-bottom: 3px solid #fff;
        width: 210px;
        height: 19px;
        background: url(Images/menuitem.jpg) no-repeat left top;
        cursor: pointer;
    }

    .accordionContent {
        width: 220px;
        border-bottom: 3px solid #fff;
        float: left;
        _float: none;
    }

        .accordionContent A {
            padding: 10px 0 0 10px;
            background: url(Images/submenuitem.jpg) repeat-y left top;
            display: block;
            font: normal 11px Arial;
            color: #eee;
            width: 190px;
            border-bottom: 1px solid #a61a1d;
            height: 20px;
            text-decoration: none;
        }

            .accordionContent A.selected,
            .accordionContent A:HOVER {
                background: url(Images/submenuitem_s.jpg) repeat-y left top;
            }

    .on {
        background: url(Images/menuitem_s.jpg) no-repeat left top;
    }

    .over {
        background: url(Images/menuitem_s.jpg) no-repeat left top;
    }

    /* CONTROLS
----------------------------------------------------------*/

    .grid {
        border: 1px solid #e0f6fc;
    }

        .grid TR TD {
            border: 0;
        }

        .grid TR.alter TD {
            background: #ecf7fe;
        }

        .grid TR.header TH {
            /*background: #808080 url(Images/theadbg.jpg) repeat-x left top;*/
            background-color: #0F3F70;
            background-color: black;
            font: normal 12px Arial;
            color: #FFF;
            height: 20px;
            padding: 2px 5px 2px 5px;
            text-align: left;
        }

            .grid TR.header TH a {
                text-decoration: underline;
                color: #FFF;
            }

        .grid TR.pager TD {
            padding: 10px 0 5px 0;
        }

        .grid TR.pager SPAN,
        .grid TR.pager A {
            font: bold 12px Arial;
            color: #000;
            text-decoration: none;
            padding: 3px 6px 3px 6px;
            border-bottom: 1px solid #ccc;
            border-right: 1px solid #ccc;
        }

            .grid TR.pager A:HOVER {
                background-color: #ecf7fe;
            }

        .grid TR.pager SPAN {
            color: #f00;
        }

    .plain {
        border: none;
    }

        .plain TR TD {
            padding: 3px;
            border: 1px solid #a4d8fa;
            color: #666;
        }

        .plain TR.header TH {
            border: 1px solid #a4d8fa;
            font: bold 12px Arial;
            color: #333;
            height: 20px;
            padding: 2px 5px 2px 5px;
            text-align: left;
        }

    /* FORMS */

    TABLE.login INPUT,
    .form {
        border: 1px solid #444;
        padding: 2px;
        color: #0c4b80;
        font: 11px Arial;
        background: #fff;
    }

   TABLE.login input[type=text] {     
        font-size:12px;
        border-radius: 5px;
        margin-top:10px;  
    }
   
   TABLE.login input[type=password] {     
        font-size:12px;
        border-radius: 5px;
        /*margin-top:5px;*/
        margin-bottom:10px;
    }

    TABLE.login input[type=submit] {
        background-color:  #E2003C;
        color: #fff;
        font-size:12px;
        border: silver;
        border-radius: 5px;
 
        padding:5px;
    }

    TABLE.login TR TD {
        padding: 5px;
    }

    /* HERO */

    TABLE.heroitems TR.header TH {
        background: url(Images/theadbg.jpg) repeat-x left top;
        font: bold 16px Arial;
        color: #333;
        height: 20px;
        padding: 2px 5px 2px 5px;
        text-align: left;
    }

    TABLE.heroitems TR TD {
        padding: 10px;
        background: #ecf7fe;
        margin: 5px;
    }

        TABLE.heroitems TR TD A {
            border: 0;
            color: #999;
            text-decoration: none;
            font: bold 14px Arial;
        }

            TABLE.heroitems TR TD A:HOVER {
                color: #000;
            }

            TABLE.heroitems TR TD A IMG {
                border: 0;
                vertical-align: middle;
            }

    /* LOGIN */

    DIV.login {
        background: #fff;
        text-align: center;
        margin: auto;
        margin-top:10px;
        display: block;
        top: 200px;
        width: 430px;
        padding:20px;
       
        border-radius: 3px;
        box-shadow:  5px 5px 20px #555;
    }

    A.mi_home,
    A.mi_print,
    A.mi_exit {
        display: block;
        width: 30px;
        height: 30px;
    }

    A.mi_home {
        background: url(Images/MasterIcons/home.png) no-repeat center center;
    }

    A.mi_print {
        background: url(Images/MasterIcons/print.png) no-repeat center center;
    }

        A.mi_print:HOVER {
            cursor: pointer;
        }

    A.mi_exit {
        background: url(Images/MasterIcons/exit.png) no-repeat center center;
    }

    TABLE.login {
        width: 100%;
        background: #fff;
    }

    .form-row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -5px;
        margin-left: -5px;
    }

    .form-group {
        margin-bottom: 0.5rem;
        color: #444;
    }



        .form-group label {
            font: normal 12px Arial;
            color: #444;
            border-top: 0px solid #fff;
            clear: both;
            float: left;
            margin: 5px;
        }

        .form-group span {
            font: normal 12px Arial;
            clear: both;
            margin: 5px;
            display: block;
        }

    .decreasing {
        color: #d10505;
        background: #ffb3b3;
        text-align: center;
        font-weight: bold;
    }

    .increasing {
        color: #000000;
        background: #C4D79B;
        text-align: center;
        font-weight: bold;
    }

    .font-red {
        color: #ff0000;
    }

    .form-group label {
        font-weight: bold !important;
    }

    .form-group .error {
        color: #ff0000;
        font-size: 12px;
    }

    .form-group A.action {
        margin: 0px !important;
        padding-top: 5px !important;
    }


    .form-group table td, .form-group tr.header th {
        padding: 5px;
    }

    .text-left {
        text-align: left !important;
    }

    .text-right {
        text-align: right !important;
    }

    .text-center {
        text-align: center !important;
    }

    .font-weight-bold {
        font-weight: bold !important;
    }



    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
    .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
    .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
    .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
    .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
    .col-xl-auto {
        position: relative;
        width: 100%;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .col {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    .col-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-10 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-11 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pt-7 {
        padding-top: 7px !important;
    }

    .modal {
        position: fixed;
        top: 0;
        left: 0;
        background-color: black;
        z-index: 99;
        opacity: 0.8;
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        min-height: 100%;
        width: 100%;
    }

    .loading {
        font-family: Arial;
        font-size: 10pt;
        border: 5px solid #67CFF5;
        width: 200px;
        height: 100px;
        display: none;
        position: fixed;
        background-color: White;
        z-index: 999;
    }
}
