
body {
    font-family: Arial, sans-serif;
    /*margin: 0px;*/
}

div.logon {
    margin-top: 60px;
    margin-bottom: 60px;
}

table.logon {
    background-color: transparent;
    border: 0;
    margin: auto; /* to center the table inside */
    border-spacing: 10px; /* replacement for cell padding */
    border-collapse: separate; /* replacement for cell padding */
}

fieldset, fieldset.logon {
    border: 5px solid #1F497D;
    border-radius: 10px;
    padding-top: 30px;
    /*background: #ddd;*/
    background-color: #f7f9fe;
    width: 400px;
    margin: auto;
}

fieldset legend, fieldset.logon legend {
    background: #1F497D;
    color: #fff;
    padding: 5px 10px;
    font-size: 32px;
    border-radius: 5px;
    box-shadow: 0 0 0 5px #ddd;
    text-align: center;
    /*margin-left: 20px;*/
}

fieldset fieldset {
    border: 2px solid #1F497D;
    padding-top: 5px;
}

fieldset fieldset legend {
    font-size: 12px;
    text-align: left;
    margin-left: 20px;
}

input.logon {
    width: 100%;
    /*border: 1px solid lightblue;*/
    /*padding: 2px;*/
}

input[type="text"], input[type="password"], textarea, select {
    border: 1px solid lightblue;
    padding: 2px;
}

input[readonly] {
    background-color: transparent;
}

table#logonhelp {
    margin: auto;
}

/* due to inheritance problems in IE, let's define common font size here */
body, th, td {
    font-size: 80%;
}

/* default, not visited link */
a:link {
    color: #0000aa;
}

/* visited link (most of links on a daily site use */
/* it's made just a bit darker than the default one */
a:link:visited {
    color: #000080;
}

/* for selecting links with keyboard for example */
a:active {
    color: #a0a000;
}

/* when mouse cursor is over the link */
a:hover {
    color: #ff0000;
}

/* Headers */
h1, h2 {
    color: #0f40aa;
}

h3, h4 {
    color: #f26835;
}

h5 {
    color: #10AF10;
}

/* text input box will be all cell wide */
input.filter {
    width: 100%;
}

/* don't add spacing below a form */
form {
    margin-bottom: 0;
}

/* general table properties */
table {
    background-color: #ffffff;
    border-collapse: collapse;
    border-style: solid;
}

table.page {
    width: 100%;
    height: 100%;
    border-color: red;
}

div.header {
    text-align: center;
}

table.header {
    width: 100%;
    background-color: #F0F0F0;
    border-color: #E0E0E0;
    margin-top: 5px;
    margin-bottom: 5px
}

td.header-logo {
    width: 2px;
    height: 50px;
    text-align: left;
}

td.header-mid {
    text-align: center;
}

td.header-app {
    width: 250px;
    text-align: right;
}

td.header-separator {
    height: 1px;
}

td.main {
}

td.footer {
    height: 30px;
    text-align: right;
}

div.currentproject {
    background-color: #FFFFDD;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid khaki;
}

span.current-project {
    background-color: lightgray;
}

/* row header */
td.title {
    font-weight: bold;
    background-color: #E0E0E0;
}

caption {
    font-style: italic;
    color: #10AF10;
}

table.list {
    background-color: #E0E0E0;
}

table.tool {
    background-color: #DCE6FB;
}

/* Header row has a different background */
th {
    /*background-color: #3568F2;*/
    /*background-color: #1F497D;*/
    background-color: #205081;
    font-weight: bold;
    color: #FFFFFF;
}

th a:link {
    color: white;
}

th a:link:visited {
    color: white;
}

th a:link:hover {
    color: blue;
}

td.imp {
    font-weight: bold;
}

td.name {
	background-color: #EEEEEE;
    width: 15%;
}

/* for even rows ?? */
td.list {
    background-color: #F0F0F0;
}

/* For example logon table */
td.tool {
    background-color: #DCE6FB;
    font-weight: bold;
}

td.title {
    color: #000050;
    font-weight: bold;
}

/* Table filter */
td.filter {
    background-color: #FFFF00;
}

div#main {
    background-color: #DCE6FB;
    height: 100%;
}

div#main-center, h1.error-workaround {
    background-color: #f0f0f0;
}

h1.error-workaround {
    color: #f0f0f0;
    font-size: 1px;
    padding: 0;
    margin: 0;
}

div#error, div.error {
    background-color: #ff0000;
    color: yellow;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px;
}

div#message, div.message {
    color: green;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    /* removing padding, because it makes even empty div to take some space */
    /* padding: 1em; */
}

div#debug, div.debug {
    border: 1px dotted;
    position: absolute;
    width: 150px;
    height: 200px;
    left: 0;
    top: 85px;
    /*padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; */
    background-color: #FFE1FF;
}

tr.hidden, table.hidden {
	display: none;
}

tr.highlight {
    background-color: #EEEEFF;
}

img {
	vertical-align: bottom;
    border: 0;
}

img.header {
    max-width: 800px;
    height: 80px;
}

div.logo {
    text-align: left;
    background-color: #5236ab;
}

footer#footer {
    color: #707070;
    margin: 20px 0;
    padding: 0 0 40px 0;
    text-align: center;
    background: #f5f5f5;
}

footer a, footer a:link {
    color: #707070;
}

footer a:default {
    text-decoration: none;
}

div.footer {
    text-align: center;
}

span.mandatory {
	color: red;
}

div#advancedbox {
	background-color: #fbfbed;
	border: 1px solid #CCCC88;
	padding: 10px;
	display: none;
	margin-bottom: 10px;
}

div.showadvanced {
	text-align: right;
}

.width100px {
	width: 100px;
}

.per100width, .full-width {
	width: 100%;
}

.per80width {
	width: 80%;
}

.per90width {
	width: 90%;
}

.per95width {
	width: 95%;
}

div.main-action {

}

fieldset.action {
	width: 80%;
}

div.advanced-note {
	width: 100%;
	text-align: right;
	color: #a77a75;
}

textarea.comment {
	white-space: pre;
	width: 100%;
}

input.button {
	width: 100px;
}

.advanced {
    display: none;
}

table.main {
    border: 1px solid lightgray;
    width: 100%;
}

td.projects {
    background-color: #EEEEFF;
    width: 30%;
    vertical-align: top;
    height: 300px;
}

table.projects {
    background-color: #EEEEFF;
    width: 100%;
    border: 0 solid activecaption;
}

table.projects tr:hover {
    background-color: #DCE6FB;
}

td.files {
    vertical-align: top;
}

table.files {
    width: 100%;
    border: solid #EEEEFF;
    border-width: 0 0 1px 0;
}

table.files tr:nth-child(even) {
    background: #FAFAFA;
}

table.files tr:hover {
    background-color: #EEEEEE;
}

table.actions {
    width: 100%;
    border: 0;
}

td a {
    display: block;
    text-decoration: none;
}

table.filedetails {
    width: 100%;
    border: 1px solid #EEEEFF;
}

table.filedetails tr:hover {
    background-color: #DCE6FB;
}

table.filedetails td {
    border: 1px dotted #DCE6FB;
}

table.filehistory {
    width: 100%;
    border: 1px solid #EEEEFF;
}

table.filehistory tr:hover {
    background-color: #DCE6FB;
}
