/*
 * tags
 */

body {
  font-family: "Dejavu Sans", "Helvetica Neue", Helvetica, sans;
  font-size: 8pt;
  padding-top: 70px;
  padding-bottom: 30px;
}

body.popup {
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
}

h1 {
    font-size: 2em;
}


a img {
    border: none;
}

a {
    color: #f00;
    font-weight: 700;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/*
 * areas
 */
#maintitle {
    height: 50px;
    background-color: white;
    border-bottom: 1px solid white;
}

#maintitle img {
    margin-right: 20px;
}

#mainbar {
    background-color: #949ec4;
    color: #fff;
    padding: 3px 0px;
    text-align: right;
    margin-bottom: 1px;
}

#mainbar .mainbaritem {
    border-left: 1px solid #fff;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 700;
}

#footer {
    clear: both;
    font-weight: 700;
    margin: 2em auto 1em auto;
    padding: 1em 10em;
    color: #bbb;
    border-top: #ccc 2px solid;
}

#mainmenu {
    background-color: #949ec4;
    padding: 10px;
    font-weight: 700;
    width: 150px;
    float: right;
}

#mainmenu .menutitle {
    text-align: center;
    border-bottom: 1px dotted black;
    padding-bottom: 1px;
    margin-top: 1em;
}

#mainmenu .menutitle:first-child {
    margin-top: 0;
}

#mainmenu .menuitem a {
    display: block;
    border: 1px solid transparent;
    border-left: 1em solid transparent;
    padding: 0 0.5em;
    text-decoration: none;
    color: #111;

}

#mainmenu .menuitem a:hover {
    border: 1px solid white;
    border-left: 1em solid white;
    color: white;
}

#maincontent {
    margin-top: 10px;
    margin-right: 180px;
}

/*
 * common classes
 */

.info {
    box-sizing: border-box;
    width: 100%;
    margin: 1em auto;
    padding: 2em 4em;
    background-color: #ff9;
    border: 1px dotted #000;
    font-weight: 700;
}

.help {
    padding: 5px 10px;
    background-color: #ccf;
    border: 1px dotted #000;
}

.tip {
    font-style: italic;
    font-size: 7pt;
}

/*
 * forms (winform)
 */


table.winform {
    border: 1px solid #2473d0;
    margin-bottom: 5px;
}

table.winform td {
    padding: 2px 1px;
    vertical-align: middle;
}

table.winform td.caption {
    font-weight: 700;
    background-color: #949ec4;
    color: #fff;
    text-align: right;
    padding: 5px;
}

table.winform .inbox {
    width: 100%;
}

.inputbox {
    width: 100%;
}
.inputboxbasic {
}
.inputboxnumber {
    text-align: right;
}
.inputboxdate,
.inputboxcenter {
    text-align: center;
}
table.winform td.label,
table.winform td.labelr {
    display: table-cell;
}

table.winform .label,
table.winform .labelr {
    color: #000;
    font-size: 100%;
    text-align: right;
    white-space: nowrap;
    padding: 5px;
    font-weight: inherit;
}

table.winform .label label,
table.winform .labelr label {
    font-weight: inherit;
    margin: 0px;
}

table.winform .labelr {
    font-weight: 700;

}

.buttonsbar {
    text-align: right;
}

table.winform .fixed {
    font-weight: 700;
}

/*
** tablas de datos (dataviews)
*/

table.dataview {
    border: 1px solid #2473d0;
    margin: 0px;
    margin-bottom: 5px;
}

table.dataview td,
table.dataview th {
	padding: 1px;
}

table.dataview img {
	border: 0px;
	vertical-align: middle;
}

table.dataview td.title {
    font-weight: 700;
    background-color: #949ec4;
    color: #fff;
    text-align: right;
    padding: 5px;
}

table.dataview tr.header th {
	border-bottom: dotted 1px #999;
    white-space: nowrap;
	font-weight: 700;
	text-align: center;
    padding: 3px;
}

table.dataview td.toolbar {
    background-color: #e4e5fb;
    text-align: right;
	padding: 3px;
}

table.dataview td.toolbar .tool {
	margin-left: 5px;
	padding-left: 10px;
	border-left: #999999 solid 1px;
}
table.dataview td.toolbar .tool img {
    vertical-align: middle;
}

/*
table.dataview td.toolbar .tool a {
    color: #c40000;
}

table.dataview td.toolbar .tool a:hover {
    color: #f40000;
}
*/

table.dataview td.toolbar span.pagertext {
	font-weight: 700;
}

table.dataview td.toolbar input.pagertextbox {
	border: none;
	text-align: center;
	vertical-align: middle;
	font-size: 90%;
}

table.dataview tr.normal td,
table.dataview tr.zebra:nth-of-type(even) td {
	background-color: #ffffff;
}

table.dataview tr.shadow td,
table.dataview tr.zebra:nth-of-type(odd) td {
	background-color: #e4e5fb;
}

table.dataview tr.hover td,
table.dataview tr.zebra:hover td {
	background-color: #bbf;
}

table.dataview td.footer {
	padding: 5px;
	text-align: right;
	font-style: italic;
}

table.dataview td div.spaced {
    margin-left: 10px;
    margin-right: 5px;
    white-space: nowrap;
    text-align: right;
}

.alert a {
    color: inherit;
}

/*
 * no print
 */
.printbar {
    background-color: #ccf;
    border: 1px solid black;
    padding: 10px;
}

@media print {
    .noprint {
        display: none;
    }

    body {
        padding: 0;
    }

    body > .container {
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
    }
}
