/* basic elements and widgets */

body {
	background-color: white;
	margin: 5px;
	padding: 10px;
	font-family : "Liberation Sans", Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 9pt;
	width: 85%;
}

a {
	color: #0088bf;
	font-weight: bold;
}

#acl a {
	color: #888;
	font-weight: normal;
}

table {
	font-size: 9pt;
	border-color: #306ac4;
	border-spacing: 0px;
	border-collapse: collapse;
}

#main table {
	margin: 0;
	margin-bottom: 0;
}

th {
	padding: 0px 7px 3px 0px;
}

/*tr:nth-child(even) {background: #eaecf2}
tr:nth-child(odd) {background: #FFF}*/

tr {
	vertical-align: top;
}

hr {
	border: none;
	border-top: 1px solid #415E6F;;
}

h1 {
	text-align: center;
	margin: 0px;
	color: black;
}

h2 {
	color: black;
}

h3 {
	color: black;
}


textarea, select, input.text {
	
	/*border: 1px solid #e2e6eb; #MIDDLE_LABELS_HEX@;*/ /*FIX NEEDED!!!!!*/

	font-size: 9pt;
	margin: 0px 5px 1px 5px;
	padding: 2px 4px;
	border: 1px solid #c4c4c4;
	background-color: white;
	vertical-align: middle;
}

select {
	background-color: #e6e6e6;
}

fieldset {
	border: 1px solid #c4c4c4;
	margin-bottom: 6px;
}

input.text[disabled], select[disabled]{
	background-color: #e2e6eb;
}

.disabled{
	color:#666666;
}

small {
	margin-left: 5px;
	margin-bottom: 3px;
}

.btn, button {
	color: black;
	background-color: #dbeef6;
	border: 1px solid #36a1cc;
	
	cursor: pointer;
	font-size: 9pt;
	font-weight: bold;
	padding: 2.5px 10px;
	vertical-align: middle;
}

.btn:hover, button:hover, #main .btn, .box .btn {
	font-weight: bold;
	color: #FFFFFF;
	background-color: #455a85;
	border: 1px solid #1b2575;
	margin: 2px;
}

#main .btn:hover, .box .btn:hover {
        background-color: #5b76af;
}

div#top .btn {
	width: 7em;
}

.box {
    position: relative;
    width: 780px;
    margin-top: 10px;

    padding: 10px 20px;
    padding-top: 10px;
    background-color: #dbeef6;
    border: 1px solid #36a1cc;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.next-page-button,.prev-page-button,.first-page-button,.last-page-button {
    width: 31px;
    height: 25px;
    vertical-align:middle;
    cursor: pointer;
}

.next-page-button {
    background: url(/design/images/next-page-button.png) no-repeat;
}

.prev-page-button {
    background: url(/design/images/prev-page-button.png) no-repeat;
}

.first-page-button {
    background: url(/design/images/first-page-button.png) no-repeat;
}

.last-page-button {
    background: url(/design/images/last-page-button.png) no-repeat;
}

.close-dialog-button {
	width: 27px;
	height: 27px;
	border: 0px;
	cursor: pointer;
	background: url(/design/images/close-dialog-button.png) no-repeat;
}

/* messages */

.alterator-information-message {
    font-style:italic;
    font-size: 9pt;
    padding-top:3px;
    padding-bottom:3px;
}

.alterator-information-message img {
    vertical-align:middle;
}

.alterator-attention-message {
    color: darkred;
    border-color: #cf7878;
    border-width: 5px;
    border-style: solid;
    background-color: #e8cfcf;
    padding: 14px;
    margin: 4px;
    margin-bottom: 10px;

    min-width:10px;

    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
}

.alterator-attention-message a {
    color: darkred;
}

.alterator-attention-message img {
    vertical-align:middle;
}

/* clock and timeedit */

canvas.alterator-clock {
    background: url(/design/images/clock-face.png) no-repeat;
}

/* calendar and dateedit */

.year {
	font-weight: bold;
	color: black;
	font-size: 10pt;
	vertical-align: middle;
}

.month {
	font-weight:bold;
	color: black;
	font-size: 10pt;
	vertical-align: middle;
}

.week {
	border-style:solid;
	border-width:1px;
	background-color: white;
}

.today {
	border: 1px solid #242a60;
	cursor: pointer;

	background-image: url(/design/images/button-passive.png);
	background-repeat:repeat-x;
	color: #FFFFFF;

}

.day {
	border-style:solid;
	border-width:1px;
	background-color: #FFFFFF;
	cursor: pointer;
}

.day:hover {
	background-color: #306ac4;
}

.alterator-dateedit-calendar table {
	width: 100%;
	text-align: center;
	background-color: #ebebeb;
	margin-top: 10px;
/*	background-image: url(/design/images/table-header.png);
	background-repeat:repeat-x;*/

/*	-webkit-border-top-left-radius: 0.7em;
	-webkit-border-top-right-radius: 0.7em;
	-moz-border-radius-topleft: 0.7em;
	-moz-border-radius-topright: 0.7em;
	border-top-left-radius: 0.7em;
	border-top-right-radius: 0.7em;*/
	/*border: 2px solid #242a60;*/
	border: 2px solid #c4c4c4;
	border-collapse: collapse;

/*
        -moz-border-radius-topright: 0.7em;
        -webkit-border-top-right-radius: 0.7em;
        -khtml-border-radius-topright: 0.7em;
        border-top-right-radius: 0.7em;
	-webkit-border-top-right-radius: 4px;
*/

/*	-moz-box-shadow: 0 0 8px 0.2em #a6a6a6;
	-webkit-box-shadow: 0 0 8px 0.2em #a6a6a6;
	box-shadow: 0 0 8px 0.2em #a6a6a6;*/
}

.alterator-dateedit-calendar td {
	padding: 3px;
}

.alterator-dateedit-button {
	vertical-align:middle;
	cursor:pointer;
	width: 15px;
	height: 16px;

}

/* main menu */

#main, #box {
	margin-top: 14px;
	padding: 10px 20px;
	padding-top: 10px;

	background-color: #dbeef6;
	border: 1px solid #36a1cc;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

#main-td {
	width: 100%;
	padding-top: 10px;
}

#menu-td {
	padding-top: 10px;
}

#menu {
	padding: 0;
	margin-right: 10px;
}

.menu-item-normal a {
	font-weight: normal;
	text-decoration: none;
	color: black;
}

.menu-item-selected a {
	font-weight: bold;
	text-decoration: none;
	color: #0088bf;
	padding-top: 10px;
	margin-top: 10px;
}

.menu-item-normal {
	padding-left: 10px;
	width: 100%;
	padding-right: 4px;
	margin-top: 3px;
	margin-bottom: 2px;
}

.menu-item-selected {
	color: #0088bf;
	background-color: #dbeef6;
	padding-left: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-right: 3px;
	margin-top: 3px;
	margin-bottom: 2px;
	margin-right: 10px;

}
.menu-item-normal a:hover {
	color: #0088bf;
}

.menu-group-name  {
	width: 224px;
	color: #0088bf;
	height: 16px;
	background: url(/design/images/section.png) no-repeat 0px 23px;
	font-size: 10pt;
	
	padding-top: 3px;
	padding-bottom: 10px;
	padding-right: 4px;
	padding-left: 10px;
	margin-top: 10px;
	margin-bottom: 8px;
	margin-right: 10px;
	font-weight: bold;
}

/* tables */

table.alterator-listbox {
	font-family:arial;
	/*margin:10px 0pt 15px;*/
	font-size: 8pt;
	width: 100%;
	text-align: left;
	border: 1px solid #808080;
	border-spacing: 0;
}

table.alterator-listbox thead tr th, table.alterator-listbox tfoot tr th {

	/*border-collapse: separate;
	border: solid 1px;
	border-right-color:#242a60;
	border-right: 1px solid #242a60;*/
	font-size: 8pt;
	margin: 0px;
	padding: 4px;
	color: black;
	background-color: #e6e6e6;
	border: 1px solid #808080;
	vertical-align: middle;
}

table.alterator-listbox thead tr th:hover, table.alterator-listbox tfoot tr th:hover {
	background-color: #d6d6d6;
}

table.alterator-listbox thead tr .header {
	background-image: url(/design/images/asc-desc.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
	padding-right: 24px;
}

table.alterator-listbox tbody td {
	color: #001056;
	padding: 4px;
	background-color: #FFFFFF;
	vertical-align: top;
	/*border-left: solid 1px;
	border-right: solid 1px;
	border:none;*/
	border-right: 1px solid #808080;
}

table.alterator-listbox tbody tr.odd td {
	background-color:#f0f0f0;
	/*border:none;*/
}

table.alterator-listbox tbody tr.selected td, table.alterator-listbox tbody tr.odd.selected td {
	background-color: #D0E1FF;
	/*border-top:  #ffffff solid 1px; WTF??*/
}

table.alterator-listbox tbody tr.error td {
	background-color: #e6999b;
	font-weight: bold;
}

table.alterator-listbox tbody tr.odd.error td {
	background-color: #e68b8d;
	font-weight: bold;
}

table.alterator-listbox tbody tr.working td {
	background-color: #f2ecbd;
}

table.alterator-listbox tbody tr.odd.working td {
	background-color: #f2e88f;
}

table.alterator-listbox thead tr .headerSortUp {
	background-image: url(/design/images/asc.gif);
}

table.alterator-listbox thead tr .headerSortDown {
	background-image: url(/design/images/desc.gif);
}

table.alterator-listbox thead tr .headerSortDown, table.alterator-listbox thead tr .headerSortUp {
	background-color: #d6d6d6;
}

/* states */

.ui-state-disabled {
	cursor: default !important;
	color: #c3c7cb;
	/*background-color: #e2e6eb;*/
}

.btn.ui-state-disabled {
	color: #415E6F;
	background-color: #E2E6EB;
}

.btn.ui-state-disabled:hover {
	background-color: #E2E6EB;
}

/* progressbar */

.ui-progressbar {
    height:20px;
    text-align: left;
}
.ui-progressbar .ui-progressbar-value {
    height:100%;
}

/* states */

.ui-state-disabled {
	cursor: default !important;
	color: #c3c7cb;
/*	background-color: #F5F5F5;*/
}

#main .btn.ui-state-disabled, #main .btn.ui-state-disabled:hover {
	cursor: default !important;
	color: #c3c7cb;
	background-color: #E2E6EB;
	border: 1px solid #c0c0c0;
}

/* progressbar */

.ui-progressbar {
    height:20px;
    text-align: left;
}
.ui-progressbar .ui-progressbar-value {
    height:100%;
}

/* accordion */

div.alterator-accordion h3 {
	background-color:  #DBEEF6;
	font-size: 9pt;

	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 24px;

	margin: 0px;
	border-top: 1px solid #36A1CC;
	border-left: 1px solid #36A1CC;
	border-right: 1px solid #36A1CC;

	background-image: url(/design/images/right.gif);
	background-repeat: no-repeat;
	background-position: center left;
	cursor: pointer;
	outline: none;
}

div.alterator-accordion h3.ui-state-active {
	color: #0088bf;
	background-image: url(/design/images/bottom.gif);
	background-repeat: no-repeat;
	background-position: center left;
	cursor: pointer;
}

/* TODO: don't work */
div.alterator-accordion .btn {
	font-weight: bold;
        color: black;
        background-color: #dbeef6;
        border: 1px solid #36a1cc;
}

div.alterator-accordion div {
	padding: 10px 10px 5px 15px;
	border-top: 1px solid #36A1CC;
	border-left: 1px solid #36A1CC;
	border-right: 1px solid #36A1CC;
}

div.alterator-accordion td {
	white-space: nowrap;
}

div.alterator-accordion {
	border-bottom: 1px solid #36A1CC;
}

/* resizeable */

.ui-resizable-s {
    cursor: s-resize;
    height: 7px;
    width: 100%;
    bottom: 0px;
    left: 0px;
    background:#E2E6EB url(/design/images/hgrabber.gif) no-repeat scroll 45%;
}

.ui-resizable-s:hover {
	background-color: #1B3664;
}


/* corner radius */

.ui-corner-tl {
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
}

.ui-corner-tr {
	-moz-border-radius-topright: 0px;
	-webkit-border-top-right-radius: 0px;
}

.ui-corner-bl {
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-bottom-left-radius: 0px;
}

.ui-corner-br {
	-moz-border-radius-bottomright: 0px;
	-webkit-border-bottom-right-radius: 0px;
}

.ui-corner-top {
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-topright: 0px;
	-webkit-border-top-right-radius: 0px;
}

.ui-corner-bottom {
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	-webkit-border-bottom-right-radius: 0px;
}

.ui-corner-right {
	-moz-border-radius-topright: 0px;
	-webkit-border-top-right-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	-webkit-border-bottom-right-radius: 0px;
}

.ui-corner-left {
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-bottom-left-radius: 0px;
}

.ui-corner-all {
	/*-moz-border-radius: 0.8em;
	-webkit-border-radius: 0.8em;*/
}

/* overlays */

.ui-widget-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #aaaaaa;
	opacity: .3;
	filter:Alpha(Opacity=30);
}

/* dialog */

.ui-widget-content {
	background-color: #FFFFFF;
}

.ui-widget-header {
	color: #EAEDEF;
	background-color: #306ac4;
	font-weight: bold;
}

.ui-dialog {
	border: 2px solid #c4c4c4;
}

.ui-dialog .ui-dialog-title {
    float: left;
    margin: .1em 0 .2em;
}

.ui-dialog .ui-dialog-titlebar {
    padding: .5em .3em .3em 1em;
}


.ui-dialog .ui-dialog-titlebar-close {
    float:right;
}

.ui-dialog .ui-dialog-titlebar-close span {
    display: block;
    margin: 1px;
}

.ui-dialog .ui-dialog-content {
    border: 0;
    padding: .5em 1em;
    background: none;
    overflow: auto;
}

.ui-dialog .ui-dialog-buttonpane {
	text-align: left;
	border-width: 1px 0 0 0;
	background-image: none;
	margin: .5em 0 0 0;
	padding: .3em 1em .5em .4em;
}

.ui-dialog .ui-dialog-buttonpane button {
	float: right;
	margin: .5em .4em .5em 0;
	width:auto;
	overflow:visible;
	font-weight: bold;
	color: #FFFFFF;
	background-color: #455a85;
	border: 1px solid #1b2575;
}

.ui-icon-closethick {
    width: 27px;
    height: 27px;
    text-indent: -99999px;
    overflow: hidden;
    background: url(/design/images/close-dialog-button.png) no-repeat;
}

/* layout helpers */

.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */

/* help button */

.ui-help-button {
	background-color: #FFFFFF;
	margin-bottom: 10px;
	padding-top: 7px;

	border: 1px solid #c1c3cb;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
}

.ui-help-button-content {
	padding-left: 10px;
	padding-right: 30px;
}

/* top line */

#top {
	text-align:left;
	padding: 0em;
	margin-bottom: 0px;
	border-bottom: 1px solid #ebebeb;
}

#product-logo {
	background: url(/design/images/product-logo.png) no-repeat;
	width: 238px;
	height: 52px;
	border: 0px;
	padding: 0px;
	margin: 0px;
}

#title {
	padding-left: 1em;
	padding-right: 1em;
	text-align: left;

	color: black;
	font-family: "DejaVu Sans",Verdana,Tahoma,Helvetica;
	font-weight: bold;
	text-decoration: none;
	font-size:large;
	text-transform: uppercase;
}

.top-button {
        padding-left: 10px;
}


/* deprecated */

.error-message {
	background-color: #efc9d3;
	border: 1px solid #f81751;
	padding-left:10px;
	padding-right:10px;
	margin-bottom:10px;
}

#help-popup {
	padding-left: 10px;
	padding-right: -30px;
	background-color: #FFFFFF;

        border: 1px solid #c1c3cb;
        -moz-border-radius: 0.5em;
        -webkit-border-radius: 0.5em;
        -khtml-border-radius: 0.5em;
        border-radius: 0.5em;
}

.hresizeable {
	width: 100%;
	height: 7px;
	background:#001056 url(/design/images/hgrabber.gif) no-repeat scroll 45%;
	cursor: s-resize;
}

.hresizeable:hover {
	background-color: #306ac4;
}
