﻿
body {
    margin-top: 0px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    font-size: 15px;
    overflow: scroll;
}

html, body {
    height: 100%;
}

#maskPage {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: #ccc;
    opacity: 0.8;
    z-index: 1000;
    display: none;
}

#wait {
    position: absolute;
    font-size: 2em;
    color: red;
    margin-top: 25%;
    left: 0px;
    width: 100%;
    display: none;
    background-color: #fff;
    z-index: 1002;
    padding-left: 40%;
}

.mainmenu, .customerMenu {
    width: 100%;
    background-color: cornflowerblue;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
}

    .mainmenu a, .customerMenu a {
        color: White;
        font-weight: 500;
        text-decoration: none;
        margin-right: 2em;
        font-size: 1.1em;
        white-space: nowrap;
    }

        .mainmenu a:hover, .customerMenu a:hover {
            color: black;
        }


.contentbody {
}

.mainheader {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1.5em;
}

.err {
    margin-top:20px;
    margin: 11px;
    color: Red;
    font-family: Verdana;
    font-weight: bold;
    padding: 10px;

}
.info {
    margin-top: 20px;
    margin: 11px;
    color: dodgerblue;
    font-family: Verdana;
    font-weight: bold;
    padding: 10px;
}
.backlink {
    margin-top: 20px;
    margin: 11px;
    font-family: Verdana;
    font-weight: bold;
    padding: 10px;
}
#customerlist div {
    margin: 8px;
}

.money {
    font-family: consolas;
    font-size: 14px;
    text-align: right;
}

.filterChk {
    margin-right: 1em;
    margin-top: 1em;
}

.datagrid {
    border-top: solid 1px #ccc;
    border-right: solid 1px #ccc;
    border-spacing: 0px;
    margin-right: 10px;
    margin-bottom: 10px;
}

    .datagrid th {
        background-color: #eeeeee;
        white-space: nowrap;
    }

    .datagrid th, .datagrid td {
        border-bottom: solid 1px #ccc;
        border-left: solid 1px #ccc;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-top: 10px;
        font-size: 0.8em;
    }

.appinstances td, .licenses td {
    white-space: nowrap;
}

.datagrid tbody tr:nth-child(even) {
    background-color: #eeeeee;
}

.sortedcolumn a {
    text-decoration: none;
    color: darkorange;
}

.sortedcolumn.sorted a {
    color: red;
    font-weight: bolder;
}

.customerInformationForm {
    border-spacing: 0px;
}

    .customerInformationForm td {
        padding: 8px;
    }


.licenseInfoDisplayOnly {
    font-size: 0.9em;
    border: solid 1px gray;
    margin-top: 4px;
    margin-bottom: 4px;
}

    .licenseInfoDisplayOnly td {
        padding: 4px;
    }

    .licenseInfoDisplayOnly tbody tr:nth-child(even) {
        background-color: #eeeeee;
    }




.frmLayoutGrid {
    border-spacing: 0px;
}

    .frmLayoutGrid td {
        padding: 8px;
    }

.frmlabel {
    white-space: nowrap;
    padding-right: 10px;
    vertical-align: top;
}


/* Style inputs, select elements and textareas */
input[type=text], input[type="password"], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}



/* Style the label to display next to the inputs */
label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

/* Style the submit button */
input[type=submit], input[type=button] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    min-width: 120px;
    margin: 10px;
}


/* Style the container */
.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 16px;
    margin: 10px;
    border: 3px solid #f1f1f1;
    max-width: 1200px;
}

/* Floating column for labels: 25% width */
.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

.small-button {
    margin: 10px;
    border: solid 1px darkOrange;
    background-color: orange;
    padding: 5px;
    float: left;
    border-radius: 4px;
    color: black;
    text-decoration: none;
}

    .small-button:hover {
        border: solid 1px red;
        color: white;
    }


/* Responsive layout - when the screen is less than 600px wide, 
    make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 700px) {
    .col-25, .col-75 
    {
        width: 100%;
        margin-top: 0;
    }

    input[type=submit], input[type=button] {
        width: 90%;
        margin-top: 20px;
    }
}
