a:link {text-decoration: underline; color: black}
a:visited {text-decoration: underline; color: black}
a:active {text-decoration: none; color: black}
a:hover {text-decoration: none; color: red}

body{
	margin: 0;
	padding: 0;
	font-size: 10px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-weight: normal;
	background-image: url(../images/bg.body.gif);
}

caption {
	text-align: left;
	font-size: 14px;
	font-weight: bold;
	margin-top: 12px;
	margin-bottom: 3px;
	margin-left: 3px;
	font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
	color: #AC0000;
}

.align_center
{
	text-align: center;
}

.align_right
{
	text-align: right;
}

.align_left
{
	text-align: left;
}

div.form
{
	padding: 3px 0;
}

.redStar {
	font-size: 13px;
	font-weight: bold;
	color: #e00;
	padding-left: 3px;
	font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif;
}

table {
    border: 0;
}

td {
	vertical-align : top;
}

th {
	font-size: 11px;
	font-family:  Arial, Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
	vertical-align: top;
	text-align: center;
	color: #3f3f3f;
	background-image: url(../images/bg.th.gif);
	background-position: bottom;
	background-repeat: repeat-x;	
	background-color: #F8F7F7;
}

.error-box {
	width: auto;
	padding: 11px 15px 11px 15px;
	font-size: 12px;
	font-weight: bold;
	border: 1px solid #e15939;
	margin: 5px 5px 15px 5px;
	line-height: 130%;
	background-color: #e99;
	color: #000;
	text-shadow: 1px 1px 0 #FFD8D8;
}


.message-box {
	width: auto;
	padding: 11px 15px 11px 15px;
	font-size: 12px;
	font-weight: bold;
	border: 1px solid #e1d97c;
	margin: 5px 5px 15px 5px;
	line-height: 130%;
	background-color: #fff8a7;
	color: #333;
}

.stdTable {
	/*background-color: #D9CAB9;*/
	background-color: #BCCBDE;
}

.searchTable {
}

.searchTable td {
	border-bottom: 1px solid #cddcef;
}

.lightTable {
	background-color: #CCCCCC;
}

.stdTr {
	background-color: #ffffff;
	background-image: url(../images/bg.tr.gif);
	background-position: bottom;
	background-repeat: repeat-x;	
}

.lightTr {
	background-color: #FFD8D8;
	background-image: url(../images/bg.tr.gif);
	background-position: bottom;
	background-repeat: repeat-x;
}

.darkTr {
	background-color: #FF8A8A;
	background-image: url(../images/bg.tr.gif);
	background-position: bottom;
	background-repeat: repeat-x;
}

.sumaTd {
    padding: 0;
}

.title {
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 16px;
	color: white;
}


input, select {
	font-size: 11px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}


.suma {
	background-color : gray;
	color: white;
	font-weight : bold;
	text-align: right;
}

img {
	border: 0;
}

.szary {
	background-color : gray;
	color: white;
}

.zielony {
	background-color : #3399CC;
	color: white;
}

.menuhor {
	border-bottom: 1px solid #6C0001;
	background-color: #E7E3DA;
	height: 21px;
	width: 100%;
}

.menuhor td {
	font-size: 11px;
}

form {
    margin: 0;
	 padding: 0;
}

textarea {
	font-size: 10px;
	font-family:  Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-weight: normal;
}

.greenbutton {
	background-color : #55ee55;
}

.bluebutton {
	background-color : #99CCFF;
}

.yellowbutton {
	background-color : #ece767;
}

.redbutton {
	background-color : #FF3300;
	font-weight: bold;
}

.green {
	background-color : #d3ffd3;
	color: #000;
}

.blue {
	background-color : #c0e0ff;
	color: #000;
}

.small {
	font-size: 9px;
	font-family:  Arial, Geneva, Verdana, Helvetica, sans-serif;
}


div {
	padding: 0;
	margin: 0;
}


fieldset {
	border: 1px solid #708090;
	padding: 4px;
}

fieldset.white
{
	background: #fafaf8;
	border: 1px solid #708090;
	border-radius: 3px;
	margin-bottom: 5px;
	padding: 5px 7px 2px 7px;
}
	
	fieldset.white legend
	{
		font-size: 14px;
		color : #AC0000;
	}

fieldset.colorBg {
	background-color: #f0f0f0;
}

	fieldset.colorBg legend
	{
		font-size: 11px;
		color: #000;
	}


.imieniny {
    color: #ffffff;
    font-weight: bold;
    padding: 0;
    margin: 0;
	text-align: right;
}

#topTable {
    background-image: url(../images/bg.top.gif);
}

#logoCell {
    /* ustawiane w indywidualnych arkuszasz css  */
}

#menu1Container, #menu2Container, #menu3Container, #menu4Container, #menu5Container, #menu6Container, #menu7Container, #menu8Container, #menu9Container, #menu10Container {
    display: none;
}


p {
    padding: 0;
    margin: 0;
    margin-bottom: 7px;
}

.calHist
{
    background-color: #77C363;
    height: 6px;
    overflow: hidden;
    cursor: pointer;
    width: 16px;
    margin-bottom: 1px;
}

.calHistKlient
{
    background-color: #63A353;
    height: 6px;
    overflow: hidden;
    cursor: pointer;
    width: 10px;
    margin-bottom: 1px;
}

.calPlan
{
    background-color: #DA856E;
    height: 6px;
    overflow: hidden;
    cursor: pointer;
    width: 16px;
}

.calPlanKlient
{
    background-color: #B86C58;
    height: 6px;
    overflow: hidden;
    cursor: pointer;
    width: 10px;
}

.tdLine {
    width: 1px;
    height: 1px;
}

.calTd {
    vertical-align: bottom;
    border-bottom: 1px solid #BCCBDE;
    border-right: 1px solid #BCCBDE;
    background-color: #fff;
    width: 27px;
}

.badDayTd {
    background-color: transparent;
    border-bottom: 1px solid #BCCBDE;
    width: 27px;
}

.todayTd {
    vertical-align: bottom;
    background-color: #D6E4F6;
    border-bottom: 1px solid #BCCBDE;
    border-right: 1px solid #BCCBDE;
    width: 27px;
}

.holyTd {
    vertical-align: bottom;
    background-color: #FBE5E5;
    border-bottom: 1px solid #BCCBDE;
    border-right: 1px solid #BCCBDE;
}


.calDodPlan {
    padding-top: 7px;
    cursor: pointer;
    width: 6px;
}

.calDodHist {
    padding-top: 7px;
    cursor: pointer;
    width: 21px;
}




h1{
	font-weight: bold;
	font-size: 22px;
}

h2 {
	background-color: #F8F7F2;
	color: #AC0000;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	font-weight: bold;
	font-size: 13px;
	margin: 0px 0px 3px 0px;
	padding: 5px;
}

h3 {
	color : #AC0000;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 3px;
	margin-top: 7px;
	display: block;
}

h4 {
	color : #AC0000;
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 5px;
	margin-top: 5px;
	display: block;
}

h5 {
	color : #AC0000;
	font-weight: bold;
	font-size: 112px;
	font-style: normal;
	margin-bottom: 5px;
	margin-top: 5px;
	display: block;
}

h6 {
	color : #333;
	font-weight: bold;
	font-size: 12px;
	font-style: normal;
	margin-bottom: 5px;
	margin-top: 5px;
	margin-left: 3px;
	display: block;
}


.actionButton {
    cursor: pointer;
    margin-right: 5px;
}


.error{
	font-size: 14px;
	font-family:  Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: Red;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.info {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}



form label {
    display: block;
    float: left;
    width: 130px;
    clear: both;
    margin: 0;
    padding: 0;
}

form input {
    margin: 0;
    margin-bottom: 2px;
}

*html form input {
    margin-bottom: 0px;
}

legend {
	font-weight: bold;
	font-size: 11px;
}

legend span {
    float: left;
    margin-right: 5px;
    padding-top: 1px;
}

div.breaker {
	border: 0;
	display: block;
	height: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	overflow: hidden;
	clear: both;
}

.clear {
	clear: both;
}

.alignRight {
	text-align: right;
}

.alignCenter {
	text-align: center;
}

.readonlyFiled {
	background-color: #e0e0e0;
	border: 0;
	padding: 2px;
	color: #666;
}

.dateField {
	width: 75px;
}








/*CSS for pop up hint box */
#hintbox{ 
	position:absolute;
	top: 0;
	background-color: lightyellow;
	width: 150px; /*Default width of hint.*/
	padding: 1px;
	border:1px solid black;
	font-size: 10px;
	z-index:100;
	visibility: hidden;
}


.topSearchBox {
	margin: 5px;
	margin-bottom: 9px;
	padding: 5px;
	padding-bottom: 3px;
	border: 1px solid #708090;
	background-color: #BCCBDE;
}

td.emptycell {
	padding: 0;
	padding-top: 1px;
}

.bold {
	font-weight: bold;
}


/* definicje tabel standardowych */
.stdTable2 {
	background-color: #BCCBDE;
	padding: 0;
	margin: 0;
	border-collapse: collapse;
}

.stdTr2 {
	background-color: #ffffff;
	background-image: url(../images/bg.tr.gif);
	background-position: bottom;
	background-repeat: repeat-x;	
}

.stdTd2, .stdTh2 {
	padding: 4px;
	border: 1px solid #BCCBDE;
}

.disabled {
	background-color: #e9e9e9;
	color: #333;
	border: 1px solid #ccc;
}



/* MEGAFORM STYLES */

button.megaform_megabutton {
	background-color: #cfcfcf;
	float: left;
	width: auto;
	height: 27px;
	border: 1px solid #f6f6f6;
	border-bottom: 1px solid #aaa;
	border-right: 1px solid #aaa;
	padding: 0 7px 0 7px !important;
	margin: 2px 2px 2px 0 !important;
	cursor: pointer;
	overflow: visible;
	white-space: nowrap;
}

button.megaform_megabutton:hover {
	border: 1px solid #aaa;
	border-bottom: 1px solid #666;
	border-right: 1px solid #666;
	padding: 0 8px 2px 6px;
	line-height: 22px;
}


button.megaform_megabutton img {
	padding: 0 6px 0 0 !important;
	float: none;
	display: inline;
	vertical-align: top;
}

button.megaform_megabutton span {
	float: none;
	display: inline;
	padding: 0 !important;
	line-height: 20px;
	font-size: 11px;
	color: #000;
	font-weight: normal;
}

fieldset.spaw-wrapper {
	margin-bottom: 10px;
	display: block;
	padding: 10px 3px;
	background: #fff;	
}

.calendar, .datepicker
{
	width: 70px;
}