/* CSS2 Stylesheet for Finn Framework
 * G��wny akrusz styli dla aplikacji korzystajacych z frameworka
 * $Id: main.css 13518 2009-02-11 13:18:57Z afrymarkiewicz $
 * Copyright (C) 2007 FINN Sp. z o.o. Wszelkie prawa zastrzezone.
 */

/* AppBar */

#appbarDiv {
    background-color: ButtonFace;
    text-align: left;
    width: 100%;
    border-bottom: solid 1px ButtonShadow;
}

#appbarDiv img {
    border: none;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}


#frameworkBody {
    text-align: left;
    width: 100%;
}

#frameworkBody {
    text-align: left;

}

#frameworkBody img {
    border: none;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#frameworkBody  hr {
    background-color: #a0a0a0;
    color: #a0a0a0;
    height: 2px;
    border-top:  solid 1px #a0a0a0;
    border-left: none;
    border-right: none;
    border-bottom: solid 1px ButtonHighlight;
    margin-top: 4px;
    margin-bottom: 8px;
} 

#frameworkBody  button {
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 1px;
    height : 20px;
    vertical-align: top;
    background: ButtonFace;
    color: ButtonText;
    border-width: thin;
    white-space: nowrap;
}
#frameworkBody  button[disabled="true"] {
    color: GrayText;
}

#frameworkBody  button * {
    vertical-align: middle;
}

#frameworkBody  input {
    vertical-align: top;
    margin: 0px;
    padding-left: 1px;
    padding-right: 1px;
}

#frameworkBody  select {
    vertical-align: top;
    margin: 0px;
    padding-left: 1px;
    padding-right: 1px;
}

.ch {
    background-color: transparent;
}

#frameworkBody acronym {
	border : none;
	vertical-align: middle;
}
#frameworkBody acronym.visible {
	cursor: help;
}

#frameworkBody acronym.invisible {
    cursor: default;
}

#frameworkBody acronym.visible * {
	cursor: help;
}

#frameworkBody acronym.invisible * {
	cursor: default;
}

#frameworkBody table {
    background-color: transparent;
    border-collapse : collapse;
} 

#MessagePad{
    width: 100%;
    max-height: 70px;    
    overflow: auto; 
}
.messagePad {
    border : none;
    background-color: ButtonHighlight;
} 

.messagePad table {
    width : 99%;
    border : none;
    border-collapse : collapse;
}
.messagePad td {
	border : none;
}

.popupDiv {
    background-color: ButtonHighlight;
    border: solid thin;
    border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
    visibility: hidden;
    position: absolute;
}


#masterFormLayoutTable {
    border-collapse : collapse;
    background-color: ButtonFace;
}

#masterGridLayoutTable {
    border-collapse : collapse;
    background-color: ButtonFace;
    margin-bottom: 3px;
}

#formTableCell {
    padding: 5px;
    background-color: ButtonFace;

    border-bottom: none; 
    border-right: none; 
    border-top:  none;
    border-left: none; 
}

#gridTableCell {
    background-color: ButtonHighlight;
    border-bottom: none; /* solid 1px #a0a0a0; */
    border-right: solid 1px ButtonShadow;
    border-top: solid 1px ButtonHighlight;
    border-left: solid 1px ButtonHighlight;

}

#panelSwitcherCell {
    height: 40px;
}

/*
    zakladki
*/

#tabPanel td table {
    border-width: 0px 0px 0px 0px;
}

#tabPanel td table td {
    border-width: 0px 0px 0px 0px;
    white-space:	nowrap;
}

/*
    .. gorne (nad panelami)
*/
#tabPanel.upper td.active, #tabPanel.upper td.inactive {
    cursor: default;
    font-weight: normal;
    color: ButtonText;
    text-align:	center;
    padding:	1px 5px;
    empty-cells:	show;
    border-top:		solid 1px ButtonHighlight;
    border-right:	solid 1px ButtonShadow;
    border-left:	solid 1px ButtonHighlight;
    border-bottom: 	none;    
}

#tabPanel.upper td.inactive {
    cursor: pointer;
    background-color:	ButtonShadow;
    border-bottom:	solid 1px ButtonHighlight;
}

#tabPanel.upper td.midsep {
    width:	1px;
    padding:	0px 0px 0px 0px;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom:	solid 1px ButtonHighlight;
}

#tabPanel.upper td.lastsep {
    width:	100%;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom:	solid 1px ButtonHighlight;
}

/*
    .. dolne (pod panelami)
*/
#tabPanel.lower td.active, #tabPanel.lower td.inactive {
    cursor: default;
    font-weight: normal;
    color: ButtonText;    
    text-align:	center;
    padding:	1px 5px ;
    empty-cells:	show;
    border-bottom:	solid 1px ButtonHighlight;
    border-right:	solid 1px ButtonShadow;
    border-left:	solid 1px ButtonHighlight;
    border-top: 	none;    
}

#tabPanel.lower td.midsep {
    width:	1px;
    padding:	0px 0px 0px 0px;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top:	solid 1px ButtonShadow;
}

#tabPanel.lower td.lastsep {
    width:	100%;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top:	solid 1px ButtonShadow;
}

#tabPanel.lower td.inactive {
    cursor: pointer;
    background-color:	ButtonFace;
    border-top:	solid 1px ButtonShadow;
}

/*
    zakladki ogolnie
*/
#tabPanel table {
    border-collapse: separate;
}
#tabPanel td.active  {
    font-weight: bold;
}

/*
 * grid table 
 */

#gridTable * {
    font-size : 12px;
}

#gridTable td {
    white-space:	nowrap;
    border-style:	solid;
    border-width:	1px;
    border-color:	ButtonShadow;
/*    padding:	1px; */
}
#gridTable table tr td table tr td{
    padding:	 1px;
}

#gridTable table {
    border-collapse:	collapse;
    cursor:	pointer;
}

#gridTable .header {
    cursor:	default;
}

#gridTable .header td {
    background-color: ButtonFace; 
    font-weight: bold; 
    white-space:	nowrap;
} 

#gridTable .focuson {
    background-color: #bccdee; 
}

#gridTable .focusoff {
    background-color: white; 
}

/*
 * form & nested form table 
 */
.formTable  {
    background-color: ButtonFace;
	border-bottom: solid 1px ButtonShadow;
    padding-bottom: 2px;
}

.formTable label {
    vertical-align: top;
    margin-top: 1px;
}

.formTable td {
    border-style:	solid;
    border-width:	0px;
    border-color:	ButtonFace;
    vertical-align: top;
    padding:	1px;
    z-index:	0;
    text-align: left;
}

.formTab td {
    padding:	0px 1px 1px 1px;
}

.formTable * {
    font-size : 11px; 
    border-collapse:	collapse;    
    z-index:	0;
}
.formTable .focus_error  {
    background-color: #eea3a3;
}

.formTable .focus_warn  {
    background-color: #eeeea3;
}

.formTable .focus_norm  {
    background-color: ButtonHighlight;
}

.formTable .focus_label_error  {
    color: red;
}

.formTable .focus_label_warn  {
    color: #eeeea3;
}

.formTable .focus_label_norm  {
    color: black;
}

#nestedFormTable {
    background-color:	ButtonFace;
}

#nestedFormTable td {
    border-style:	solid;
    border-width:	0px;
    border-color:	ButtonFace;
    vertical-align: 	middle;
}

#nestedFormTable > table {
    border-style:	solid;
    border-width:	1px;
    border-color:	ButtonShadow;
}

#pageFooter {
    width:	100%;
    font-size:	10pt;
}

#pageFooter table {
    width:	100%;
    padding-top:	70px;
}

#pageFooter  td {
    padding-top:	2px;
    vertical-align:	top;
    border-top-style:	solid;
    border-top-width:	1px;
    border-top-color:	ButtonShadow;
}



#titleBar {
    width:	100%;
    font-size:	10pt;
}

#titleBar table {
    width:	100%;    

}

#titleBar  td {
    vertical-align:	middle;
    padding-bottom:	70px;
}

#titleBar .schemaTitle {
    padding-top:	30px;
    font-size:	12px;
    font-weight:	bold;
}

#titleBar .appTitle {
    font-weight:	bold;
}

#titleBar .schemaTitle td {
    padding-top:	30px;
    padding-bottom:	2px;
    border-bottom-style:	solid;
    border-bottom-width:	1px;
    border-bottom-color:	ButtonShadow;
}

#DropList {
    overflow: auto;
    cursor: pointer;
    background-color: ButtonHighlight;
}

#DropList td {
    border: solid 1px ButtonFace;
}

#DropList .itemover { 
    background-color: #00266c;
    color: ButtonHighlight;
    cursor: pointer;
}

#DropList .itemout { 
    background-color: white; 
    color: black;        
}

#DropList select, button { 
    font-size : 11px;
}

/*
 * popup menu
 */

#popupMenu {
    font-size : 11px;
/*    
    position:	absolute;
    display:	none; 
    float:	none;
*/		    
    background-color: ButtonFace;
}

#popupMenu img {
    width: 16px;
    height: 16px;
    border: none;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

#popupMenu table {
    border-collapse:	collapse;
    border-spacing: 0px;
    empty-cells:	show;
    padding: 0px 0px 0px 0px;
}

#popupMenu td {
    padding: 1px 3px 1px 3px;
}

#popupMenu .separator1 td {
    height:	1px;
    max-height:	1px;
    min-height:	1px;
    padding:	0px;
    border-bottom-style:	solid;
    border-bottom-width:	1px;
    border-bottom-color:	ButtonShadow;
}

#popupMenu .separator2 td {
    height:	1px;
    max-height:	1px;
    min-height:	1px;
    padding:	0px;
    border-top-style:	solid;
    border-top-width:	1px;
    border-top-color:	ButtonShadow;
}

#popupMenu a {
    text-decoration: none;
}

#popupMenu a:link {
    text-decoration: none;
}

#popupMenu a:visited {
    text-decoration: none;
}

#popupMenu .header * {
    background-color: ButtonShadow;
    color: ButtonText;        
    font-weight: bold;
}

#popupMenu .itemeover * { 
    background-color: #00266c;
    color: ButtonHighlight;
    cursor: pointer;
}

#popupMenu .itemeout * { 
    background-color: ButtonFace; 
    color: ButtonText;        
    cursor: default;
}

#popupMenu .itemdover * {
    background-color: #00266c;
    color: gray;
    cursor: default;
}

#popupMenu .itemdout * {
    background-color: ButtonFace; 
    color: gray;
    cursor: default;
}

/*
 * kontrolka date time
 */

.cpYearNavigation,
.cpMonthNavigation { 
    background-color:#C0C0C0;
    text-align:center;
    vertical-align:middle;
    text-decoration:none;
    color:#000000;
    font-weight:bold;
}

.cpDayColumnHeader,
.cpYearNavigation,
.cpMonthNavigation,
.cpCurrentMonthDate,
.cpCurrentMonthDateDisabled,
.cpOtherMonthDate,
.cpOtherMonthDateDisabled,
.cpCurrentDate,
.cpCurrentDateDisabled,
.cpTodayText,
.cpTodayTextDisabled,
.cpText { 
    font-family:arial; 
    font-size:10px; 
}

td.cpDayColumnHeader {
    text-align:right; 
    border:solid 0px #C0C0C0;
}
.cpCurrentMonthDate, .cpOtherMonthDate, .cpCurrentDate  { text-align:right; text-decoration:none; }
.cpCurrentMonthDateDisabled, .cpOtherMonthDateDisabled, .cpCurrentDateDisabled { color:#D0D0D0; text-align:right; text-decoration:line-through; }
.cpCurrentMonthDate, .cpCurrentDate { color:#000000; }
.cpOtherMonthDate { color:#808080; }
td.cpCurrentDate { 
    color:white; background-color: #C0C0C0; 
    border-width:1px; 
    border:solid thin #800000; 
}
td.cpCurrentDateDisabled { 
    border-width:1px; 
    border:solid thin #FFAAAA; 
}
td.cpTodayText, td.cpTodayTextDisabled { 
    border-top:solid 1px #C0C0C0; 
    border-top:solid 0px #C0C0C0; 
    border-top:solid 0px #C0C0C0; 
    border-top:solid 0px #C0C0C0; 
}
a.cpTodayText, span.cpTodayTextDisabled { 
    height:20px; 
}
a.cpTodayText { color:black; }
.cpTodayTextDisabled { color:#D0D0D0; }

.cpBorder {
    border:solid thin #808080; 
}

.opacity {
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

#dekretId {
	padding: 10px 0px 20px 0px;
	white-space: nowrap;
	border-bottom: solid 1px;
}
#dekretId table {
        border-collapse: separate;
	empty-cells: show;
        border-spacing: 2px;
}
#dekretId tbody tr td {
	padding: 0px 0px 0px 0px;
	vertical-align: top;
}
#dekretId td.right {
	text-align: right;
	vertical-align: top;
}
#dekretId td.center {
	text-align: center;
	width: 20px;
	vertical-align: top;
}

.infoDiv {
    width: 100%;
    padding: 2px;
    font-size: 9px;
    text-align: right;
    color: green;
}

#infoRecDivN {
    padding: 1px;
    text-align: center;
    width: 70px;
    border: solid 1px grey;
    border-style: outset;
    background-color: red;
    color: white;
}

#infoRecDivE {
    padding: 1px;
    text-align: center;
    width: 70px;
    border: solid 1px grey;
    border-style: outset;
    background-color: blue;
    color: white;
}

.dragable_box {
	margin:0em 0em 0em 0em;
	display:block;
	cursor:move;
	padding:1em 1em 1em 1em;
	width:12em;
	height:9em;
	border:1px solid black;
	position:absolute;
	z-index:999;
}
.notclickable {
	behavior: url(#default#AnchorClick);
}

a, a:link, a:visited {
    text-decoration: none;
    color: #5048A8;
}

a:hover {
   text-decoration: underline;
   color: black;
}

#fixedbutton {
    position: fixed;
    right: 0px;
    top: 75px;
}

.btwciecie1 {
	margin-left: 20px;
    float: left;
    color: blue;
}

.btwciecie2 {
	margin-left: 0px;
    float: left;
}

.btkwtable td {
    vertical-align: top;
}
.btnumer {    
	width: 20px;
    margin-left: -20px;
    float: left;
}

#gridtable .wdtable {
    border: none;
}

#gridtable .wdtable td {
    border: none;
    vertical-align: middle;
}

#formtable .wdtable td {
    border: none;
    vertical-align: middle;
}

.gridlistahtml * {
    margin-top: 1px;
    margin-bottom: 1px;
}

.gridlistahtml ol {
    list-style-type: lower-alpha;
}

.gridlistahtml ol ol {
    list-style-type: decimal;
}

.gridlistahtml ol ol ol {
    list-style-type: lower-alpha;
}

.gridlistahtml .green {
    color: green;
}
.mknt1Edit table{
	border-width: 1px 1px 1px 1px;
	border-spacing: 0px;
	border-spacing: 0px;
	border-style: outset;
	border-color: #d0d0d0;
	border-collapse: separate;
	background-color: white;
	color:black;
}
.mknt1Edit tr {
	border-width: 1px;
	padding: 0px;
	border-style: ridge;
	border-color: #d0d0d0;
	background-color: white;
	cursor:pointer;
}
.mknt1Edit td {
	border-width: 1px;
	padding: 0px;
	border-style: ridge;
	border-color: #d0d0d0;
	background-color: white;
	cursor:pointer;
}
.mknt1Edit th {
	border-width: 1px;
	padding: 0px;
	border-style: ridge;
	border-color: #d0d0d0;
	background-color: #c0c0c0;
	cursor:auto;
}
.mknt1Edit tr a{
	color:black;
	cursor:pointer;
	text-decoration:none;
	border-style:hidden;
}

tr.mknt1EditOn td, tr.mknt1EditOn td a{
	border-width: 1px;
	padding: 0px;
	cursor:pointer;
	color:white;
	text-decoration:none;
	background-color: #000080;
}
