body {
    background: #f8f8f8;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

a.zielony {
color: #3072a6;
text-decoration:none;
}

a.action {
    color: #3072a6; /*zielony*/
    text-decoration: none;
}

.container {
    width: 848px;
    margin: auto;
}

.header {
	height: 120px;
    background: url('../img/header.png') no-repeat top center;
    position: relative;
	margin-bottom: 30px;
	margin-top: 30px;
}

.header .menu {
    position: absolute;
    bottom: 5px;
    right: 15px;
    color: #3072a6; /*zielony*/
    font-size: 15px;
}

.header .menu a {
    text-decoration: none;
    color: #3072a6; /*zielony*/
}

.boxTitle {
    height: 38px;
    line-height: 38px;
    position: relative;
    top: -7px;
    left: 10px;
	z-index: 1;
}

.boxTitle div {
    height: 38px;
    margin: 0;
    float: left;
}

.boxTitle .lh {
    background: url('../img/hl.png') no-repeat top right;
    width: 40px;
}

.boxTitle .rh {
    background: url('../img/hr.png') no-repeat top left;
    width: 40px;
}

.boxTitle .ch {
    background: url('../img/hc.png') repeat-x top left;
    color: white;
    padding: 0 10px;
    font-weight: bold;
}

.panel {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #3072a6;
    margin-top: 20px;
    padding: 0 10px 20px 10px;
    float: left;
}

.panel.small {
    width: 392px;
    margin-right: 20px;
}

.panel.small.nomargin {
    margin-right: 0px;
}

.panel.big {
    width: 826px;
}

.green {
    color: #3072a6; /*zielony*/
}

.button {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 4px 4px 4px 4px;
    color: #3072a6; /*zielony*/
    text-decoration: none;
    border: 1px solid #3072a6; /*zielony*/
    margin: 5px;
}

.button.plus {
    padding-left: 30px;
    padding-right: 20px;
    background: url('../img/plus.png') #ffffff no-repeat 7px 5px;
}

.button.edit {
    padding-left: 30px;
    padding-right: 20px;
    background: url('../img/recycle.png') #ffffff no-repeat 7px 3px;
}

.button.send {
    padding-left: 30px;
    padding-right: 20px;
    background: url('../img/send.png') #ffffff no-repeat 7px 2px;
}

.button.login {
    padding-left: 30px;
    padding-right: 20px;
    background: url('../img/login.png') #ffffff no-repeat 7px 2px;
}

.button.passforget {
    padding-left: 30px;
    padding-right: 20px;
    background: url('../img/passforget.png') #ffffff no-repeat 7px 2px;
}

.button.sendWarning {
    padding-left: 30px;
    padding-right: 20px;
    background: url('../img/envelope.png') #ffffff no-repeat 7px 3px;
    color: #b30000;
    border-color: #b30000;
}

table.grid {
    width: 100%;
    border-style: solid;
    border-color: #eeeeee;
}

table.grid th {
    text-align: left;
    color: #3072a6; /*zielony*/
}
table.grid td {
    background-color: #ffffff;
    
}

table.grid td a.item {
    color: #3072a6;
    text-decoration: none;
}

table.grid td a.item:hover {
    text-decoration: underline;
}

table.grid th, table.grid td {
    border: 1px solid #eeeeee;
    border-collapse: collapse;
}

.statusActive {
    color: #3072a6; /*zielony*/
    text-decoration: none;
}

.statusInactive {
    color: #aaaaaa;
    text-decoration: none;
}

.statusNormal {
    color: #000000;
    text-decoration: none;
}

.statusWarning {
    color: #b30000;
    text-decoration: none;
}

form.dataForm th, form.dataForm td {
    vertical-align: top;
}

form.dataForm th {
    text-align: right;
    width: 200px;
}

form.dataForm input , form.dataForm textarea {
    width: 100%;
}



table.frontTable th {
    text-align:  left;
}

div.errorBox {
    width: 100%;
    height: 200px;
    overflow: scroll;
    background-color: #ffffff;
    border: 1px solid #aaaaaa;
}

td.bar, table.grid td.bar {
    height: 1px;
    background-color: #3072a6;
    padding: 0;
}

div#overlayContainer div.panel {
    margin: auto;
    float: none;
}

a.page {
    text-decoration: none;
    background-color: #3072a6;
    color: #eeeeee;
    padding: 3px 5px;
	display: inline-block;
	margin-bottom: 4px;
}

a.page.selected {
    background-color: #eeeeee;
    color: #3072a6;
    border: 1px solid #3072a6;
    text-decoration: underline;
}

img.warning {
    vertical-align: middle;
}

.kontakt {
    color: #3072a6; /*zielony*/
    text-decoration: none;
}

.helpLeft {
    width: 390px;
    float: left;
}

.helpRight {
    width: 390px;
    float: left;
    border-left: 1px solid #3072a6;
    padding-left: 10px;
}

.helpRight p {
    margin-top: 0;
    font-weight: bold;
}

.helpLeft p {
    font-weight: bold;
}

.helpRight form {
    margin-left: 10px;
}

.helpRight form input, .helpRight form textarea {
    border: 1px solid #3072a6;
    border-radius: 4px;
    padding: 4px;
    width: 365px;
    margin: 5px 0;
}

textarea {
    font-family: Arial;
    font-size: 12px;
}

a.logo {
    position: absolute;
    display: block;
    top: 10px;
    left: 10px;
    height: 82px;
    width: 100%;
}

.footer p a span {
    color: #000000;
}

.footer p a:hover span {
    text-decoration: underline;
}

p.errorMessage {
    color: #b30000;
    font-weight: bolder;
}

div.marginContainer {
    margin: 0 20px;
}

div.marginContainer h1 {
    margin: 0;
    font-size: 20px;
}

div.marginContainer p {
    margin: 0;
}

div.marginContainer p.green {
    margin-top: 20px; 
}

div.loginForm {
    border-top: 1px solid #3072a6;
    border-bottom: 1px solid #3072a6;
	padding: 40px 0;
    position: relative;
    margin-left: auto;
	margin-right: auto;
	text-align: center;
	
}

div.loginForm input[name='login'], input[name='password'] {width: 275px; height: 20px; padding: 5px; border-radius: 5px; border: 1px solid #b3b3b3;}

.partialOverlay {
	background: url('../img/ajax-loader.gif') no-repeat center center;
	background-color: #FFFFFF;
	z-index: 90;
	
}

table.calendar {
	margin: auto;
}

.calendarDay {
	width: 80px;
	height: 50px;
	background-color: #ffffff;
	border: 1px solid #000000;
	vertical-align: top;
	cursor: pointer;
}

.calendarDay label {
	display: block;
	border-bottom: 1px solid black;
	background-color: #fafafa;
}

.calendarDay.selected {
	background-color: #3072a6;
}

.calendar .controllers a {
	color: #000000;
	font-size: 24px;
	text-decoration: none;
	margin: 20px;
}

span.alert.nxtInv {
	font-weight: bold;
	color: #ff0000;
	font-size: 17px;
}

span.nxtInvTd.alert {
	font-weight: bold;
	color: #ff0000;
}

span.nxtInv {
	line-height: 40px;
}

span.weekday {
	font-size: 10px;
}

.calendar tr:hover td {
	background-color: #dddddd;
}

@media screen and (max-width: 800px) {

.container { width: 90%;}
.panel.big { width: 95%; min-width:275px;}
.panel.small { width: 95%;}
.helpLeft { width: 95%;}
.helpRight { width: 95%;}
.helpRight form input, .helpRight form textarea { width: 95%; }
.footer {margin-bottom: 50px;}

}

@media screen and (max-width: 735px) {
.header { height: 160px; margin-bottom: 10px;}
}

@media screen and (max-width: 400px) {
.button.passforget {float: left; margin-top: 10px;}
}