
.flash-message {
	border-radius: 7px;	
	position : relative;
	overflow: hidden;
	margin-bottom : 15px;
	border-style : solid;
	border-width :  1px;
}

.frame-message {
	border-radius: 0px;	
	border-style : dashed;
	border-width :  1px;
	position : relative;
	overflow: hidden;
}

.flash-gray {
	background : #f0f0f0;
	border-color : #dadada;
	color : #777;
}

.flash-success {
	background : #e0f2cb;
	border-color : #ccebac;
	color : #6DA827;
}

.flash-success hr {
	border : 0;
	border-top : 1px dotted #6DA827;
	height : 1px;
}


.flash-error {
	background : #fbd3b1;
	border-color : #f5c69a;
	color : #CE2700;
}

.flash-info {
	background : #e4edf5;
	border-color : #d8e1e9;
	color: #2e74b2;
}

.flash-content {
	padding : 10px 0px 10px 20px;
}

.frame-message .flash-content {
	padding : 10px 10px;
}

a.flash-close {
	margin : 7px 5px;
	width : 24px;
	height : 24px;
	cursor : pointer;
	display : block;
	float : right;	
}

.flash-success a.flash-close {
	background : url('/images/green-close.png') center center no-repeat;
}

.flash-error a.flash-close {
	background : url('/images/red-close.png') center center no-repeat;
}

.flash-info a.flash-close {
	background : url('/images/blue-close.png') center center no-repeat;
}

.operation-name {
	font-size : 16px;
	font-weight : bold;
	color : #777;
	margin-bottom : 10px;
}

.operation-name .time {
	color : royalblue;
}

ul.details {
	list-style : none;
	padding-left : 15px;
	margin-top : 10px;
}

ul.details li {
	margin : 7px 0;
}

table.details {
	width : auto;
}

table.details th {
	padding : 0;
	padding-bottom : 5px;
}

.no-data h2 {
	color : #888;
	text-align : center;
	margin : 20px 0;
}

.data-header {
	font-size : 15px;
	font-family: Helvetica, Arial;
	font-weight: bold;
	background : #aaa;
	padding : 7px;
	color : #fafafa;
	box-shadow: 0 2px 2px #aaa;
}

/*table.details tr {
	border : 1px solid #bababa;
}*/

/*table.details tr.light td {
	background : #efefef;
}

table.details tr.dark td {
	background : #dadada
}*/


	td.label_operation{
		cursor: pointer
	}
	td.label_operation:hover{
		text-decoration: underline
	}


table.periods th {
	padding : 0;
	padding-bottom : 5px;
}

table.periods td {
	padding : 1px 0;
}

table.periods .date {
	background : #badaff;
	padding : 5px;
}

#preloader,
.dialog-preloader {
	position : absolute;
	top : 0;
	left : 0;
	right : 0;
	bottom: 0;
	display : none;
}

#preloader .back, 
.dialog-preloader .back {
	top : 0;
	left : 0;
	right : 0;
	bottom: 0;
	background : white;
	opacity : 0.5;
	z-index : 9998;
}

#preloader .back {
	position : fixed;
}

.dialog-preloader .back {
	position : absolute;
}

#preloader .label {
	position : fixed;
	padding : 8px 10px;
	background : white;
	border : 1px solid #cacaca;
	width : 260px;
	text-align : center;
	top : 50%;
	left : 50%;
	margin-top : -34px;
	margin-left : -130px;
	z-index : 9999;
	line-height : 48px;
	font-size : 20px;
	font-weight: bold;
	color : #999;
}

#preloader .label img,
.dialog-preloader .label img {
	vertical-align: middle;
	margin-right : 5px;
}

.dialog-preloader .label {
	position : absolute;
	padding : 2px 4px;
	background : white;
	width : 160px;
	text-align : center;
	top : 50%;
	left : 50%;
	margin-top : -20px;
	margin-left : -82px;
	z-index : 9999;
	line-height : 32px;
	font-size : 14px;
	font-weight: bold;
	color : #999;
}

div.ui-datepicker, ul.ui-autocomplete{
	z-index: 99999999 !important;
}


div#filtrDiv{
	text-align: right;
	border-bottom: 1px solid #D7D7D7;
	border-top: 1px solid #D7D7D7;
	padding: 10px;
}

div#div-workingcopy-form{
	padding: 10px;
	text-align: right;
}

/** Styl dla tabeli danych **/

table.details-table {
	background: white;
	border-collapse: collapse;
	width: 100%;
	/*border: 1px #D0E3EF solid;*/
	font-family: Helvetica, Arial;
}

table.details-table th, table.details-table td
{
	font-size: 0.9em;
	border: 1px solid #d2d2d2;
	padding: 0.3em;
}

table.details-table th
{
	color: white;
	border : 0;
	border-top : 1px solid #676767;
	border-left : 1px solid #373737;
	/*border-left : 1px solid #6a6a6a;*/
	padding : 3px;
	box-shadow: inset 0 1px 0 #888;
	height : 26px;
	
	background: rgb(103,103,103); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY3Njc2NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzZjNmM2YiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(103,103,103,1) 0%, rgba(63,63,63,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(103,103,103,1)), color-stop(100%,rgba(63,63,63,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#3f3f3f',GradientType=0 ); /* IE6-8 */
	
	text-align: center;
}

table.details-table th a
{
	color: #EEE;
	font-weight: bold;
	text-decoration: none;
}

table.details-table th a:hover
{
	color: #FFF;
}

table.details-table tr.even
{
	background: white;
}

table.details-table tr.odd
{
	background: #E5F1F4;
}

table.details-table img
{
	border: 0;
}

table.details-table .button-column
{
	text-align: center;
	width: 60px;
}

table.details-table img
{
	border: 0;
}

table.details-table .checkbox-column
{
	width: 15px;
}

table.layout {
	margin : 0;
	width : auto;
	padding : 0;
}

table.layout td {
	margin : 0px;
	padding : 0;
	padding-right : 5px;
	vertical-align: middle;
}

.pager ul.yiiPager .page a,
.pager ul.yiiPager .next a,
.pager ul.yiiPager .previous a {
	padding : 5px 10px;
	
	background: rgb(103,103,103); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: -moz-linear-gradient(top,  rgba(103,103,103,1) 0%, rgba(63,63,63,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(103,103,103,1)), color-stop(100%,rgba(63,63,63,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#3f3f3f',GradientType=0 ); 

	border-radius : 3px;
	border : 1px solid #3f3f3f;
	color : #f5f5f5;
	box-shadow : 
		inset 0px 1px 0 #959595,
		0 0 7px #aaa;
	cursor : pointer;
	text-shadow : 0 1px #2f2f2f;
	font-weight : bold;	
}

.pager ul.yiiPager .page a:hover,
.pager ul.yiiPager .next a:hover,
.pager ul.yiiPager .previous a:hover {
	background: rgb(135,135,135); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(135,135,135,1) 0%, rgba(95,95,95,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(135,135,135,1)), color-stop(100%,rgba(95,95,95,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(135,135,135,1) 0%,rgba(95,95,95,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(135,135,135,1) 0%,rgba(95,95,95,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(135,135,135,1) 0%,rgba(95,95,95,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(135,135,135,1) 0%,rgba(95,95,95,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878787', endColorstr='#5f5f5f',GradientType=0 ); 
	border : 1px solid #575757;
}

.pager ul.yiiPager .page.selected a {
	background: rgb(103,103,103); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(103,103,103,1) 0%, rgba(63,63,63,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(103,103,103,1)), color-stop(100%,rgba(63,63,63,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(103,103,103,1) 0%,rgba(63,63,63,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #fafafa 0%, #cacaca 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#3f3f3f',GradientType=0 );   

	box-shadow : 
		inset 0px 1px 0 #fff,
		0 0 7px #aaa;
	color : #555;
	text-shadow : 0 1px #fafafa;
}

.pager ul.yiiPager .next.hidden a,
.pager ul.yiiPager .previous.hidden a {
	background: rgb(135,135,135); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzg3ODc4NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1ZjVmNWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(160,160,160,1) 0%, rgba(110,110,110,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(160,160,160,1)), color-stop(100%,rgba(110,110,110,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(160,160,160,1) 0%,rgba(110,110,110,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(160,160,160,1) 0%,rgba(110,110,110,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(160,160,160,1) 0%,rgba(110,110,110,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(160,160,160,1) 0%,rgba(110,110,110,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878787', endColorstr='#5f5f5f',GradientType=0 ); /* IE6-8 */
	border : 1px solid #7a7a7a;
	box-shadow : 
		inset 0px 1px 0 #bababa,
		0 0 7px #bababa;
	text-shadow : 0 1px #5f5f5f;
	cursor : default;
}



/*****************************************************************************/
/** Dodatkowe style dla strony mobilnej										 */
/*****************************************************************************/

.mobile-page .ui-tabs {
	padding : 0;
}

.ui-tabs-nav .ui-state-default {
	background: rgb(122,188,255);
	background: -moz-linear-gradient(top,  rgba(122,188,255,1) 0%, rgba(96,171,248,1) 44%, rgba(64,150,238,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(122,188,255,1)), color-stop(44%,rgba(96,171,248,1)), color-stop(100%,rgba(64,150,238,1)));
	background: -webkit-linear-gradient(top,  rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%);
	background: -o-linear-gradient(top,  rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%);
	background: -ms-linear-gradient(top,  rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%);
	background: linear-gradient(to bottom,  rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 );

	border : 1px solid #35558a;
	border-bottom : none;
	box-shadow : inset 0 1px 0 #aaccff;
}

.ui-tabs-nav .ui-state-default a {
	color : #fafafa;
}

.ui-tabs-nav .ui-state-default.ui-state-active {
	background : white;
	border : 1px solid #cadaff;
	border-bottom : none;
	box-shadow : none;
	
}

.ui-tabs-nav .ui-state-default.ui-state-active a {
	color : #222;	
}

.material-form input[type=text] {
	height : 22px;
	font-size : 12px;
	width : 60px;
}

.mobile-page .material-form input[type=text] {
	height : 32px;
	font-size : 16px;
	width : 80px;
}

/*.mobile-page .ui-widget {
	font-size : 16px;
}*/

ul.menuleft li:nth-child(even) {
	background: #e0e0e0;
	padding:2px;
}
ul.menuleft li:nth-child(odd) {
	background: #efefef;
	padding:2px;
}
ul.menuleft {
	list-style: none;
	box-shadow: inset 0 1px 0 white,
	 0 1px 5px #d5d5d5;	
	padding-left:0;
	margin-left: 10px;
	border-bottom: 1px solid #dadada;
	border-right: 1px solid #dadada;
}

/**
 * Poprawki w jqGridzie
 */
 
.ui-jqgrid.ui-corner-all,
.ui-jqgrid-titlebar.ui-corner-top {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
/*.ui-jqgrid-pager .ui-jqgrid-pager { 
	height : 30px;
}

.ui-jqgrid-pager input,
.ui-jqgrid-pager select {
	width : auto;
	height : 16px;
}*/
}

.ui-jqgrid {
	border-top : 0;
}

.ui-jqgrid-btable tr.disabled {
	background : #cacaca;	
}

