/* a fix for IE6 only - see Star Hack in Stylin' with CSS to see how the comments and * html hide this hack from other browsers \*/
* html * {
	zoom:100%; 
/* triggers IE6 "haslayout" - google 'IE6 haslayout' for details*/
	}
/* without the above hack, IE6 does not draw the header until the page is resized */
/* the problem is triggered by the universal * selector below that resets the margins, but I need to do that, hence the hack */
* {
	margin:0;
	padding:0;
	}
body {
	font: 1em Arial, sans-serif; /* 1em = 16pts */
}
.float_left {float:left; margin: 0 .3em .3em 0;}      /* apply this class to any image or element with width - text will wrap it to the right */
.float_right {float:right;  margin: 0 0 .3em .3em;} /* apply this class to any image or element with width  - text will wrap it to the left */

/* DEFAULT TAG STYLES - font sizes, margins, padding, etc. */
/* NOTE: text colors follow below */
body {background-color:#FFF;}
#main_wrapper {background-color:#FFF;}
#header {background-color:#808073;}
#content {background-color:#FFFFE6;}
#promo {background-color:transparent;}

h1, h2, h3, h4, h5, h6, dl {
	font-family: Arial,  serif;
	} 
/* TEXT COLORS */
h1 {
	color:#FFF;
	}
h2, h3, h4, h5 {
	color:#808073;
	}
h6 {
	color:#000000;
	}
p {
	color:#000;
	}

#nav ul, #nav a {
	color:#79A6FF;
	}
table, form {
	color: #BFBFAC;
	}
a {
	color:#79A6FF;
	}
a:hover, #nav a:hover {
	color:#79A6FF;
	}	
#footer p {
	margin:0;
	}
	
/* CLASS:MOCHA TAG STYLES - font sizes, margins, padding, etc. */
/* NOTE: text colors follow below */
body.mocha {background-color:#FFF;}
.mocha #main_wrapper {background-color:#FFF;}
.mocha #header {background-color: rgb(158,0,50);
      /* background-image: url("../graphics/77737.jpg"); */
      border-radius: 2px 2px 2px 0px;
      }
/* .mocha #nav {background-color:#79A6FF;}  */
.mocha #content {background-color:transparent;}
.mocha #promo {background-color:#807059;}
.mocha #footer {background-color:#FFF;}


h1, h2, h3, h4, h5, h6, dl {
	font-family: Arial, serif;
	} 
/* CLASS:MOCHA TEXT COLORS */
.mocha h1 {
	color:#FFF;
	}
.mocha #header h2 {
	color: rgb(227,200,200);
	}
.mocha h2 {
	color: rgb(158,0,50);
	}
.mocha h3, .mocha h4, .mocha h5 {
	color: rgb(187,119,119);
	}
.mocha h6 {
	color:#000000;
	}
.mocha #content p {
	color:#000;
	text-align:justify;
	}
.mocha cite {
	color:#FFF;
	}
.mocha promo {
	color:#FFF;
	}
.mocha #nav ul, .mocha #nav a {
	color:rgb(158,0,50);
	text-decoration:none;
	font-family: Arial, serif;
	font-weight: 500;
	}
.mocha #nav li {	
    padding: 10px;
    font-family: Arial, serif;
	}	
.mocha table, .mocha form {
	color: #000000;
	}
.mocha a {
	color: rgb(158,0,50);
	text-decoration:none;
	font-family: Arial, serif;
	}
.mocha a:hover {
	color: rgb(249,0,81);
	text-decoration:underline;
	}
.mocha #nav a:hover {
	text-decoration:underline;
	}
.mocha #nav li:hover {	
    background-color: rgb(158,0,50);
	color: #fff;
	}
.mocha .navi_button {
	color:#FFF;
	background-color:#BF9960;
	text-decoration:none;
	padding: .1em .4em .1em .4em;
	font-weight: bold;
	}
.mocha .priority {
	background-color:#FFF97D;
	}
.mocha .left_head {
	font-weight:bold;
	}
.mocha .caution {
	margin: 0em 0em 1em 1em;
	/*border-top:1px solid #069;*/
	border-collapse:collapse;
	font-size:.8em;
	padding: 1em;
	font-weight: bold;
	text-align: center;
	color: #FF0000;
	}	
.mocha #content p.red {
	color:#FF0000;
	font-weight: bold;
	}	
.mocha span {
      font: 1em Arial, sans-serif;
}
/* FONT SIZES */
h1 {font-size:2em; /* 24pt */
	}
h2 {font-size:1.375em; /* 22pt */
	line-height:1.25;
	padding:.5em 0 0 0;	
	}
h3 {font-size:1.125em; /* 18pt */
	line-height:1.25;
	}
h4 {font-size:1.125em; /* 18pt */
	}
h5 {font-size:1em; /* 16pt */
	}
h6 {font-size:.875em; /* 14pt */
	}
p  {
	font-size:.9em; /* 12pt */
	line-height:1.25; /* on 15pt */
	margin-bottom:.75em; /* 12pts of space */
 	}
a:hover {
	text-decoration:underline;
	}
/* basic list styling - more-styled lists in list.css */
ul, dl, ol {
		margin:0 1em .75em 1em; /* lists without specific classes */
		font-size:.9em;
		line-height:1.5;}
li, dd {
		padding:0em 0; /* lists without specific classes */
		margin-left:2em;
		}
#nav ul, #nav dl, #nav ol {
		margin:.5em 1em .75em 1em; /* lists without specific classes */
		}
#nav li {
	list-style-type:none;
	margin-left:0
	}
#promo ul, #promo dl, #promo ol {
		margin:.5em 1em .75em 1em; /* lists without specific classes */
		}
#promo li {
	/*list-style-type:none; */
	margin-left:0
	}		
dt {font-weight:bold;}


code {font-size:1.25em;}
* html code {font-size:1.1em;} /* default size is smaller in IE */
	
cite {
	font-size:.85em;
	font-style:italic;
	}
blockquote {
	border-top:2px solid;
	border-bottom:2px solid;
	margin:1em 0 1em ;
	padding:.3em;
	}
blockquote p {
	margin-bottom:.1em;
	}
blockquote p:before { /* IDWIMIE 6 and 7 */
	content: open-quote;
	color:#cccc8f;
}
blockquote p:after {  /* IDWIMIE 6 and 7 */
	content: close-quote;
	color:#366;
}
blockquote cite {
	font-size:.85em;
	}
abbr, acronym {
	border-bottom:1px dashed #000;
	cursor:default;
	}
address {
	margin:0 1em .75em 1em;
	}
img {
	border:0;
	margin: 1.5em 1.5em 1.5em 1.5em;
	}

table img {
	border:0;
	margin: 0;
	}

/* basic table styling  - more-styled tables in tables.css */
table caption {
	font-weight:bold;
	font-size:1em;
	margin-top:.6em;
	}

table.metryczka {
      border-top: 0;
      border-bottom: 0;
      }

table.metryczka td {
      padding-bottom: 20px;
      }
      
table.uwaga {
      border: 1px solid red;
      box-shadow:3px 3px 6px red;
      }

table.uwaga td {
      font-weight: bold;
      color: red;
      padding-right: 2em;
      }

table.case {
      text-align: center;
      padding: 2em;
      }



/* Definicja pudełek do ustawiania rankingu */

#sortable1 li.ui-state-highlight {
      border: 1px dotted #db8e00;
      background: #fbec88;
}
#sortable1, #sortable2, #sortable0 {
      list-style-type: none;
      margin: 0;
      padding: 0;
      float: left;
      font-family: Arial;
}
#sortable1 {
      width: 60%;
}
#sortable2 {
      width: 20%
}
#sortable0 {
      width: 15%
}
#sortable2 li {
      margin: 10px;
      padding: 7px;
      font-size: 1.1em;
      height: 25px;
      border: 1px solid grey;
      border-radius: 2px;
}
#sortable1 li {
      margin: 10px;
      padding: 7px;
      font-size: 1.1em;
      height: 25px;
      width: 80%;
      color: #2e6e9e;
      border: 1px solid #79b7e7;
      background-color: #dfeffc;
      cursor: move;
      border-radius: 2px;
      box-shadow: 3px 3px 3px #79A6FF;
}

#sortable1 li:hover {
      background-color: #d0e5f5;
}

/* THE ALSETT CLEARING METHOD */
.clearfix:after {
      content: ?.?;
      display: block;
      height: 0;
      clear: both;
      visibility: hidden;
}
.clearfix {display: inline-table;}
/* backslash hack hides from IE mac \*/ LEAVE THIS COMMENT RIGHT HERE! 
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* end backslash hack */ 


.datagrid table {
      border-collapse: collapse;
      text-align: center; width: 100%;
}
.datagrid {
      font: normal 12px/150% Arial, Helvetica, sans-serif;
      background: #fff;
      overflow: hidden;
      border: 1px solid rgb(158,0,50);
      -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
      border-radius: 2px;
      margin: 20px auto;
      width: 97%;
      box-shadow: 5px 5px 5px #888888;
}
.datagrid table td, .datagrid table th { padding: 10px; }
.datagrid table thead th {
      background:-webkit-gradient( linear, left top, left bottom, color-stop(1, rgb(158,0,50)), color-stop(0.05, rgb(208,0,47)) );
      background:-moz-linear-gradient( center top, rgb(158,0,50) 100%, rgb(208,0,47) 5% );
      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');
      background-color: rgb(181,108,108);
      color:#FFFFFF;
      font-size: 1.2em;
      font-weight: bold; border-left: 1px solid #0070A8;
}
.datagrid table thead th:first-child {
      border: none;
}
.datagrid table tbody td {
      color: black;
      border-left: 1px solid #00496B;
      font-size: 1.2em;
      border-bottom: 1px solid #00496B;
      font-weight: normal;
}
.datagrid table tbody td:first-child {
      border-left: 1px solid #00496B;
}
.datagrid table tbody td.wyroznienie {
      background: rgb(227,200,200);
}
.datagrid table tbody td.nagl2
{
      background: rgb(227,200,200);
      color: black;
      font-size: 1.2em;
      font-weight: bold;
}
.datagrid thead td.nagl2
{
      background: rgb(227,200,200);
      color:rgb(79,79,79);
      font-size: 1.2em;
      font-weight: bold;
      border-left: solid 1px;
      border-bottom: solid 1px;
}
.datagrid table tbody tr:last-child td { border-bottom: none; }
.datagrid table tbody td.do_lewej {
      text-align: left;
}
.datagrid table tbody.no_border td {
      border: none;
}
.datagrid table tbody.no_border td.small {
      font-size: 1em;
}
.datagrid table tbody.no_border td.smaller {
      font-size: 0.9em;
}
.datagrid table tbody td.extra_border {
      border-top: solid 1px;
}


/* Tabela w tabeli */

table.datagrid_int {
      font: normal 11px/150% Arial, Helvetica, sans-serif;
      background: #fff;
      overflow: hidden;
      border: 1px solid #c5dbec;
      -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
      border-radius: 2px;
      margin: 0 auto;
      width: 90%;
}
table.datagrid_int td, .datagrid_int  th { padding: 10px; }
table.datagrid_int thead th {
      background: #dfeffc;
      color:#2e6e9e;
      font-size: 1.2em;
      font-weight: bold; border-left: 1px solid #c5dbec;
}
table.datagrid_int thead th:first-child {
      border: none;
}
table.datagrid_int tbody td {
      color: #00496B;
      border-left: 1px solid #c5dbec;
      font-size: 1.2em;
      border-bottom: 1px solid #c5dbec;
      font-weight: normal;
}
table.datagrid_int tbody td:first-child {
      color: #00496B;
      border-left: 1px solid #c5dbec;
}
input.wpis {
      padding:5px 5px;
      width: 90%;
	background: white;
	border: 1px double grey;
	text-align: right;
	font-size: 1.1em;
      font-weight: bold;
      color: grey;
}
input.wpis2 {
      padding:5px 5px;
	background: white;
	border: 1px double grey;
	text-align: left;
	font-size: 0.9em;
      font-weight: bold;
      color: grey;
}
.wpis2 {
	padding:5px 5px;
	background: white;
	border: 1px double grey;
	text-align: left;
	font-size: 0.9em;
	font-weight: bold;
	color: grey;
}
input.error {
	border: 1px double #cd0a0a;
	box-shadow: 0 0 1px 1px #cd0a0a;
	color: #cd0a0a;
}
.wazne {
	border: 1px double #cd0a0a;
	font-weight: bold;
	color: #cd0a0a;
}
div.small_error {
      /*border: 1px solid #cd0a0a;
	/*background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x; */
	color: #cd0a0a;
	font-size: .7em;
      /*padding: .5em; */
      margin-top: .5em;
      font-style: Arial;
}
.opis {
      border:0;
      color:#f6931f;
      font-weight:bold;
}
a.show_table {
	cursor: pointer;
}
#show_pref {
	cursor: pointer;
}
input[type=radio].css-checkbox {
      display:none;
      margin-bottom: 10px;

}
input[type=radio].css-checkbox + label.css-label {
							padding-left:27px;
							height:22px;
							display:inline-block;
							line-height:22px;
							background-repeat:no-repeat;
							background-position: 0 0;
							font-size:22px;
							vertical-align:middle;
							cursor: pointer;
                                          margin-bottom: 5px;
}
input[type=radio].css-checkbox:checked + label.css-label {
							background-position: 0 -22px;
}
input[type=checkbox].css-checkbox {
      display:none;
}
input[type=checkbox].css-checkbox + label.css-label2 {
      padding-left:23px;
      height:18px;
      display:inline-block;
      line-height:18px;
      background-repeat:no-repeat;
      background-position: 0 0;
      font-size:18px;
      vertical-align:middle;
      cursor:pointer;
      margin-bottom: 8px;
}
input[type=checkbox].css-checkbox:checked + label.css-label2 {
      background-position: 0 -18px;
}
label.css-label2 {
				background-image:url(icons/csscheckbox_c0622fedb50d99b53e60f7ea4011cc4a.png);
				-webkit-touch-callout: none;
				-webkit-user-select: none;
				-khtml-user-select: none;
				-moz-user-select: none;
				-ms-user-select: none;
				user-select: none;
			}

label.css-label {
				background-image:url(icons/csscheckbox_1ddc0b0dc8dd741d710834aa81831cfa.png);
				-webkit-touch-callout: none;
				-webkit-user-select: none;
				-khtml-user-select: none;
				-moz-user-select: none;
				-ms-user-select: none;
				user-select: none;
				vertical-align:middle;
}
.datagrid table.waska td {
      padding: 5px;
}
.datagrid table.waska td.odstep {
      padding: 5px 5px 15px 5px;
}
div.show_table {
      border: 1px solid #006699;
      -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
      margin: 10px;
      padding: 10px;
      width: 90%;
      border-radius: 2px;
      box-shadow: 2px 2px 2px 2px #79A6FF;
}
table.internaltb tbody tr td {
	border-left: 1px solid;
}
