/* --------------------------------- generic objects definition --------------------------------- */

html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
}

body {
	font-family: Arial, Helvetica, Sans-serif;
	font-size: 12px;
	line-height: 17px;
}

div {
	position: relative;
}

/* a cure for disappearing content in IE7 ;-) */
/* TODO search for disappearing elements, and move this cure to its css definition */
/* http://stackoverflow.com/questions/151528/totally-lost-textarea-in-ie7-disappears-when-i-mouse-over */
/* http://haslayout.net/haslayout */
/* http://haslayout.net/css/nocontent */
* { zoom: 1; }

/* --------------------------------- generic containers --------------------------------- */

div#page-container-main {
	width: 990px;
	margin: 0px auto;
	border: #E5E5E5 1px solid;
	background-color: #f5f6e8;
}

div#banner-main {
	width: 970px;
	height: 67px;
	margin: 0 10px 0 10px;
	background: transparent url(img/banner_main_background.gif) no-repeat top left;
}

div#banner-main div {
	width: 152px;
	height: 67px;
	float: right;
}

div#banner-main div#version-info-main {
	width: 200px;
	height: 59px;
	margin: 0 150px 0 0;
	padding: 6px 0 0 0;
	color: #f5f6e8;
	font-weight: bold;
	text-align: right;
}

div#data-holder-main {
	width: 970px;
	margin: 5px 10px 20px 10px;
	min-height: 700px;
	float: left;
}

div#footer-main {
	width: 970px;
	height: 25px;
	background: transparent url(img/footer_main_background.gif) no-repeat top left;
	margin: 0px 10px 0px 10px;
	font-weight: bold;
	padding: 7px 0 0 0;
	color: #f5f6e8;
	text-align: center;
	clear: both;
}

div#version-info-main  a {
	vertical-align: bottom;
}

.spacer_h5 {
	height: 5px;
}

.spacer_h15 {
	height: 15px;
}

/*
table.form_std td {
	border: #E5E5E5 1px solid;
}
*/



/* --------------------------------- error handling (list) --------------------------------- */
div.feedback ul  {
	margin: 10px 20px 10px 10px;
	padding-left: 30px;
	text-align: left;
	list-style-image: url(img/bullet_error.gif);
}

div.feedback ul li {
	margin: 3px 0 3px 0;
    font-weight: bold;
}




/* --------------------------------- reject reason (list) --------------------------------- */
div.exclusionInfo {
	margin: 0;
	padding: 0;
}

div.exclusionInfo ul  {
	text-align: left;
}

div.exclusionInfo ul li {
	list-style-type: none;
	background: url(img/ico_error.png) no-repeat top left;
	padding-left: 22px;
	margin: 0 0 5px 0;
}

div.exclusionInfo ul li  a, div.exclusionInfo ul li  a:link, div.exclusionInfo ul li  a:visited {
	margin: 0;
	text-decoration: none;

}

div.exclusionInfo ul li  a:hover
{
	text-decoration: underline;
}



/* --------------------------------- search results tables --------------------------------- */

table.search_result1 {
	width: 959px;
	border: #accbb5 1px solid;
	border-spacing: 0px;
	padding: 0;
	margin: 0 0 0 5px;
	text-align: left;
}

table.search_result1 tr th {
	color: #000000;
	background-color: #b1ccb2;
	border-top: 1px solid #e7efe7;
	border-left: 1px solid #e7efe7;
	border-bottom: 1px solid #5e8f61;
	border-right: 1px solid #5e8f61;
	padding: 2px 7px 2px 7px;
	height: 14px;
	text-align: left;
	cursor: pointer;
}

table.search_result1 tr td {
	padding: 1px 5px 1px 1px;
}

table.search_result1 tr.row_c1 td, table.search_result1 tr.row_c2 td {
	padding: 2px 7px 2px 7px;
}





table.search_result2 {
	width: 514px;
	border: #b8bed4 1px solid;
	border-spacing: 0px;
	padding: 0px;
	margin: 0 0 0 0px;
	text-align: left;
}

table.search_result2 tr th {
	color: #000000;
	background-color: #acbecb;
	border-top: 1px solid #e7ebef;
	border-left: 1px solid #e7ebef;
	border-bottom: 1px solid #5e6a8f;
	border-right: 1px solid #5e6a8f;
	padding: 2px 7px 2px 7px;
	height: 14px;
	text-align: left;
	cursor: pointer;
}

table.search_result2 tr td {
	padding: 1px 5px 1px 1px;
}

table.search_result2 tr.rowOdd td, table.search_result2 tr.rowEven td,
table.search_result2 tr.odd td, table.search_result2 tr.even td {
	padding: 2px 7px 2px 7px;
}

table.search_result2 tr.rowOdd td.td_r0, table.search_result2 tr.rowEven td.td_r0,
table.search_result2 tr.odd td.td_r0, table.search_result2 tr.even td.td_r0{
	text-align: right;
	width: 14px;
	padding: 0px;
}





table.search_result3 {
	margin: 0 0 0 5px;
	width: 759px;
}






.row_c1 {
	vertical-align: top;
	background-color: #FEFEFE;
	cursor: pointer;
}

.row_c2 {
	vertical-align: top;
	background-color: #dcede1;
	cursor: pointer;
}

.rowOdd, .odd {
	vertical-align: top;
	background-color: #FEFEFE;
}

.rowEven, .even {
	vertical-align: top;
	background-color: #e6ebef;
}

tr.row_ovr {
	vertical-align: top;
	background-color: #C7D3F3;
	cursor: pointer;
}

/* --------------------------------- colourfull frames --------------------------------- */

div#frame-grp-simple {
	width: 970px;
	margin: 5px 0 15px 0;
	background-color: #b1b190;
}

div#frame-grp-simple-inner {
	width: 964px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}

div#frame-grp-params1 {
	width: 580px;
	margin: 5px 0 15px 0;
	background-color: #cbacc2;
}

div#frame-grp-params1-inner {
	width: 574px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}

div#frame-grp-result1 {
	float: left;
	width: 970px;
	margin: 5px 0 50px 0;
	background-color: #accbb5;
}

div#frame-grp-result1-inner {
	width: 959px;
	margin: 5px 0px 5px 5px;
	background-color: #ffffff;
}

div.table_header_std {
	color: #ffffff;
	font-weight: bold;
	margin: -2px 0 7px 5px;
	padding: 0 0 0 20px;
}

div.hdr_dane_pacjenta {
	background: url(img/ico_user_suit.gif) no-repeat top left;
}

div.hdr_hospitalizacja {
	background: url(img/ico_folder_page_white.gif) no-repeat top left;
}

div.hdr_oddzial {
	background: url(img/ico_folder_table.gif) no-repeat top left;
}

div.hdr_error {
	background: url(img/ico_error.png) no-repeat top left;
}

div.hdr_grupowanie1 {
	background: url(img/sitemap_color.png) no-repeat top left;
}

div#frame-danepac1 {
	margin-top: 0px;
	width: 770px;
	margin: 5px 0 15px 0;
	background-color: #becbac;
}

div#frame-danepac1-inner {
	width: 764px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}

div#frame-grp-hospit1 {
	margin-top: 0px;
	width: 770px;
	margin: 5px 0 15px 0;
	background-color: #cbacc2;
}

div#frame-grp-hospit1-inner {
	width: 764px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}

div#frame-grp-oddzial1 {
	margin-top: 0px;
	width: 770px;
	margin: 5px 0 15px 0;
	background-color: #accbb5;
}

div#frame-grp-oddzial1-inner {
	width: 764px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}


div.frame-grp-rozpproc1 {
	margin-top: 0px;
	width: 770px;
	margin: 5px 0 15px 0;
	background-color: #acbecb;
}

div.frame-grp-rozpproc1-inner {
	width: 764px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}


div.frame-grp-grupuj1 {
	float: left;
	margin-top: 0px;
	width: 770px;
	margin: 5px 0 15px 0;
	background-color: #db8c79;
}

div.frame-grp-grupuj1-inner {
	width: 764px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}

div.frame-grp-error1 {
	margin-top: 0px;
	width: 770px;
	margin: 5px 0 15px 0;
	background-color: #d24646;
}

div.frame-grp-error1-inner {
	width: 764px;
	margin: -3px 0px 5px 3px;
	background-color: #f4efbe;
}

div.frame-grp-result1 {
	float: left;
	margin-top: 0px;
	width: 770px;
	margin: 5px 0 15px 0;
	background-color: #accbb5;
}

div.frame-grp-result1-inner {
	width: 764px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}



div.frame-grp-bestmatch1-inner {
	width: 764px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}

div.frame-grp-rozpproc2 {
	margin-top: 0px;
	width: 970px;
	margin: 5px 0 15px 0;
	background-color: #acbecb;
}

div.frame-grp-rozpproc2-inner {
	width: 964px;
	margin: -3px 0px 5px 3px;
	background-color: #ffffff;
}



/* --------------------------------- tab panels --------------------------------- */

div.groupingResults {
    clear: both;
}

div.tabpanel div.tab-row
{
	/*float: left;*/
	width: 100%;
	line-height: normal;
}

div.tabpanel_float div.tab-row
{
    float: left;
	width: 100%;
	line-height: normal;
}

div.tabpanel div.tab-row ul {
	margin: 0pt;
	padding: 10px 10px 0px;
	list-style-type: none;
	list-style-image: none;
	list-style-position: outside;
}

div.tabpanel div.tab-row li {
	margin: 0;
	padding: 0pt 0pt 0pt 9px;
	background: transparent url(img/img_tab_left_1.gif) no-repeat scroll left top;
	float: left;
}

div.tabpanel div.tab-row a {
	padding: 5px 15px 4px 6px;
	background: transparent url(img/img_tab_right_1.gif) no-repeat scroll right top;
	display: block;
	text-decoration: none;
	font-weight: bold;
	white-space: nowrap;
	color: #314b5d;
}

div.tab-panel {
	float: left;
}

div.tabpanel div.tab-row a:hover {
	color: #ffffff;
}

div.tabpanel div.tab-row li.selected {
	background-image: url(img/img_tab_left_1_on.gif);
}

div.tabpanel div.tab-row li.selected a {
	background-image: url(img/img_tab_right_1_on.gif);
	padding-bottom: 4px;
}



/* --------------------------------- buttons --------------------------------- */


input[type=button]#btn_date_selector {
	width: 32px;
	height: 24px;
	background-color: #ffffff;
	background-image: url(img/btn_date_sel1.gif);
	cursor: pointer;
	border: 0;
}

input[type=button]#btn_date_selector._over {
	background-image: url(img/btn_date_sel1_over.gif);
}

div.delete_item {
	width: 12px;
	height: 12px;
	margin: 3px 0 0 0;
	background-image: url(img/mini_red_ross.png);
}

/* --------------------------------- login form --------------------------------- */

div#login-container-outer-background {
	width: 802px;
	height: 533px;
	margin: 90px 0 0 84px;
	background: transparent url(img/login_background.jpg) no-repeat top left;
	float: left;
}

div#login-container-main {
	width: 440px;
	height: 300px;
	margin: 120px 0 0 181px;
	background: transparent url(img/login_window_background.png) no-repeat top left;
	float: left;
	float: left;
}

div#login_form {
	width: 350px;
	height: 160px;
	margin: 90px 0 0 45px;
}

div#remember_pass {
	width: 400px;
	height: 20px;
	margin: 30px 0 0 15px;
	padding: 0 5px 0 0;
	text-align: right;
}

div#login-container-main table {
	border-spacing: 3px;
	padding: 3px;
}

/*
div#login-container-main table td {
	border-spacing: 3px;
	border: #E5E5E5 1px solid;
}
*/


/* --------------------------------- widgets - login-form specific styles --------------------------------- */
input[type=text], input[type=password] {
	width: 140px;
}

fieldset {
	width: 140px;
}

.td_r0 {
	text-align: right;
	padding: 0;
}

.td_r5 {
	text-align: right;
	padding: 0 5px 0 5px;
}

.td_r25 {
	text-align: right;
	padding: 0 5px 0 5px;
	width: 25px;
}

.td_r30 {
	text-align: right;
	padding: 0 5px 0 5px;
	width: 30px;
}

.td_r40 {
	text-align: right;
	padding: 0 5px 0 40px;
	width: 40px;
}

.td_r50 {
	text-align: right;
	padding: 0 5px 0 5px;
	width: 50px;
}

.td_r60 {
	text-align: right;
	padding: 0 5px 0 5px;
	width: 60px;
}

.td_r50p {
	text-align: right;
	padding: 0 50px 0 5px;
}

.td_r110 {
	text-align: right;
	padding: 0 5px 0 5px;
	width: 110px;
}

.td_r160 {
	text-align: right;
	padding: 0 5px 0 5px;
	width: 160px;
}

.td_r240 {
	text-align: right;
	padding: 0 5px 0 5px;
	width: 240px;
}

.td_r215 {
	text-align: right;
	padding: 0 5px 0 5px;
	width: 215px;
}

.td_240 {
	text-align: left;
	padding: 0 5px 0 5px;
	width: 240px;
}

.td_l130 {
	text-align: left;
	padding: 0;
	width: 130px;
}

.td_l120 {
	text-align: left;
	padding: 0;
	width: 120px;
}

.td_l140 {
	text-align: left;
	padding: 0;
	width: 140px;
}

.td_l0 {
	text-align: left;
	padding: 0;
}

.td_l5 {
	text-align: left;
	padding: 0 5px 0 5px;
}

.td_l70 {
	text-align: left;
	padding: 0;
}

.td_winner_l2 {
	text-align: left;
}

.td_winner_r2 {
	width: 110px;
	text-align: right;
	padding-left: 5px;
}


hr {
	border: 1px solid #deedc9;
	height: 1px;
	background-color: #deedc9;
}

hr.blue1 {
	border: 1px solid #798ea1;
	height: 3px;
	background-color: #798ea1;
}

a.remember_pass:link, a.remember_pass:visited {
	font-family: Arial, Helvetica, Sans-serif;
	color: #4c5829;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
}

a.remember_pass:hover {
	text-decoration: underline;
}

input[type=submit]#btn_login {
	width: 92px;
	height: 24px;
	background-color: #ffffff;
	background-image: url(img/btn_log_in.gif);
	cursor: pointer;
	border: 0;
}

input[type=submit]#btn_login._over {
	background-image: url(img/btn_log_in_over.gif);
}

input[type=submit]#btnLoginClear, #btnUserClear, #btnWardClear {
	width: 92px;
	height: 24px;
	background-color: #ffffff;
	background-image: url(img/btn_clear1.gif);
	cursor: pointer;
	border: 0;
}

input[type=submit]#btnLoginClear._over, #btnUserClear._over, #btnWardClear._over {
	background-image: url(img/btn_clear1_over.gif);
}




/* --------------------------------- widgets - form generic styles --------------------------------- */

input[type=text], input[type=password], select, fieldset, textarea {
	border: 3px solid #deedc9;
	color : Black;
	padding: 1px;
}

input[type=text]._sel, input[type=password]._sel, select._sel {
	border: 3px solid #889f35;
}

input[type=text]._over, input[type=password]._over, select._over  {
	border: 3px solid #ac4b28;
}

fieldset._sel {
	border: 3px solid #889f35;
}

fieldset._over {
	border: 3px solid #ac4b28;
}

fieldset#myfield2._over {
	border: 3px solid #deedc9;
}

fieldset#myfield2._over {
	border: 3px solid #deedc9;
}

div.wicket-aa {
    font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana;
    font-size: 12px;
    background-color: white;
    border-width: 1px;
    border-color: #cccccc;
    border-style: solid;
    padding: 2px;
    margin: 1px 0 0 0;
    text-align:left;
}

div.wicket-aa-container {
    height: 200px;
    max-height:200px;
    z-index: 2001;
}

div.wicket-aa ul { list-style:none; padding: 2px; margin:0; }
div.wicket-aa ul li.selected { background-color: #99CCFF; padding: 2px; margin:0; }

span.icdCode{
    padding:2px;
    font-weight:bold;
}

span.icdName{
    padding:2px;
    font-style:italic;
}

span.procedure input
{
    width:400px;
}

span.diagnosis input
{
    width:400px;
}

div#rejectedGroupsGrid div.name{
    white-space:normal;
}

div#rejectedGroupsGrid div.exclusionInfo{
    white-space:normal;
}

a.linkAsPlainText:hover, a.linkAsPlainText:link, a.linkAsPlainText:active, a.linkAsPlainText:visited{
    text-decoration:none !important;
    cursor:default !important;
    color:black;
}


.confirmationButtons{
    text-align:center;
}

.confirmationQuestion{
    text-align:center;
}

span.wrongTextValue{
    color:red;
    font-weight:bold;
}

div#browserGridContainer{
    padding: 0 5px 5px 5px;
}

div#foundGridContainer, div#baseListContainer{
    padding: 0 5px 5px 5px;
}

.base_error_msg ul {
	width: 95%;
	text-align: center;
	padding: 7px 5px 7px 5px;
	margin: 5px 0 0 0;
	border: 3px solid #ffc18f;
	font-weight: bold;
	color: #af1515;
	background-color: #ffffdf;
}

.base_error_msg li{
    list-style-type: none;
}

.base_error_msg.login_error_msg ul {

}

.base_error_msg.admin_error_msg ul {
    text-align: left;
}


.select_142{
    width:142px;
}

.select_142_over{
    width:142px;
}

div#browserGridContainer th{
    !important
    color: #315d58;
	background-color: #b1ccb2;
	border-top: 1px solid #e7efe7;
	border-left: 1px solid #e7efe7;
	border-bottom: 1px solid #5e8f61;
	border-right: 1px solid #5e8f61;
	padding: 1px 0px 1px 0px;
	height: 12px;
	text-align: left;
	cursor: pointer;
    font-weight:bold;
}

div#foundGridContainer th, div#baseListContainer th{
    color: #314b5d;
	background-color: #acbecb;
	border-top: 1px solid #e7ebef;
	border-left: 1px solid #e7ebef;
	border-bottom: 1px solid #5e6a8f;
	border-right: 1px solid #5e6a8f;
	padding: 2px 0px 2px 0px;
	height: 12px;
	text-align: left;
	cursor: pointer;
    font-weight:bold;
}

div#baseListContainer th{
    padding: 2px 5px 2px 5px;
}

div#baseListContainer th.wicket_orderUp a,
    div#baseListContainer th.wicket_orderUp a:link,
    div#baseListContainer th.wicket_orderUp a:visited,
    div#baseListContainer th.wicket_orderUp a:hover {
    color: #314b5d;
    text-decoration: underline;
}

div#baseListContainer th.wicket_orderDown a,
    div#baseListContainer th.wicket_orderDown a:link,
    div#baseListContainer th.wicket_orderDown a:visited,
    div#baseListContainer th.wicket_orderDown a:hover {
    color: #314b5d;
    text-decoration: underline;
}

div#baseListContainer th.wicket_orderNone a,
    div#baseListContainer th.wicket_orderNone a:link,
    div#baseListContainer th.wicket_orderNone a:visited,
    div#baseListContainer th.wicket_orderNone a:hover {
    color: #314b5d;
    text-decoration: underline;
}

div#procedureResolverPanel{
    padding:15px;
}

div#diagnosisResolverPanel{
    padding:15px;
}

/*input[type=button].btnOk {
	width: 92px;
	height: 24px;
	background-color: #ffffff;
	background-image: url(img/btn_ok1.gif);
	cursor: pointer;
	border: 0;
}

input[type=button].btnCancel {
    width: 92px;
	height: 24px;
	background-color: #ffffff;
	background-image: url(img/btn_cancel1.gif);
	cursor: pointer;
	border: 0;

}*/

input[type=button].btnYes {
	width: 92px;
	height: 24px;
	background-color: #ffffff;
	background-image: url(img/btn_yes.gif);
	cursor: pointer;
	border: 0;
}

input[type=button].btnNo {
	width: 92px;
	height: 24px;
	background-color: #ffffff;
	background-image: url(img/btn_no.gif);
	cursor: pointer;
	border: 0;
}

input[type=button].btnCancel {
	width: 92px;
	height: 24px;
	background-color: #ffffff;
	background-image: url(img/btn_cancel.gif);
	cursor: pointer;
	border: 0;
}


div#stayRemoveConfirmationWindow{
    padding:15px;
}

div.deletePanelConfirmationWindow{
    padding:15px;
}

div.confirmationQuestion{
    padding: 0 0 15px 0;
}

div.confirmationButtons{

}

div#baseListContainer div.baseListDeleteButton a,
    div#baseListContainer div.baseListDeleteButton a:link,
    div#baseListContainer div.baseListDeleteButton a:visited,
    div#baseListContainer div.baseListDeleteButton a:hover {
    font-weight: bold;
    color: #673e3e;
    text-decoration: underline;
}

div#baseListContainer span.baseListPasswordShadow {
    color: #314b5d;
}

div#baseListRowsPerPage {
    margin-bottom: 5px;
}

div#baseListContainer tr.navigation a,
    div#baseListContainer tr.navigation a:visited,
    div#baseListContainer tr.navigation a:link,
    div#baseListContainer tr.navigation a:hover {
    color: #314b5d;
    font-weight: bold;
}

/*this is propoably not needed after this whoel layout design is refactored */
span.yui-calcontainer{
    width:170px !important;
}


/********************************SWEET TILES************************************************/
/* Fading Tooltips By Dustin Diaz*/
body div#toolTip { position:absolute;z-index:1000;width:220px;background:#dfdbd1;border:2px double #afaca4;text-align:left;padding:5px;min-height:1em; }
body div#toolTip p { margin:0;padding:0;color:#1f1f1f;font:11px/12px verdana,arial,sans-serif; }
body div#toolTip p em { display:block;margin-top:3px;color:#f60;font-style:normal;font-weight:bold; }
body div#toolTip p em span { font-weight:bold;color:#1f1f1f; }

/********************************SWEET TILES END************************************************/

