/**
 * W tym pliku umieszczamy nasze nadpisania domyślnych stylów RichFaces, ale
 * tylko tych stylów, które przypisane są do klas "rf-*" (bo niestety RichFaces
 * zawiera również ostylowania elementów globalnych - te wrzucamy do globals.css).
 */
*[class^="rf-"],*[rf*=" rf-"],*[class^="rf-"] input[type="text"],*[rf*=" rf-"] input[type="text"],button,input[type="reset"],input[type="submit"],input[type="button"],input[type="password"]
	{
	font-family: inherit;
	font-size: 13px;
}

input[type="text"] {
	font-weight: normal;
}

*.rf-ddm-lbl.rf-ddm-dis, *.rf-ddm-lbl-dis {
	z-index: inherit;
}

*.rf-ddm-lbl,*.rf-ddm-lbl-dis {
	font-weight: normal;
}

*.rf-ddm-lbl {
	padding: 4px;
}

*.rf-ddm-sel {
	background: #e5e5e5;
	border: 1px solid #fff;
	color: #333;
}

*.rf-ddm-sep {
	font-size: 0;
	margin: 2px 5px;
}

*.rf-ddm-pos {
	left: -1px;
}

*.rf-ddm-lbl-dec {
	font-weight: normal;
}

*.rf-ddm-lst,*.rf-ctx-lst {
	border: 0;
	background: #fff;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
	font-weight: normal;
}

*.rf-ddm-lst-bg,*.rf-ctx-lst-bg {
	border: 0;
	padding: 2px 0 3px 0;
	background: transparent;
}

*.rf-ddm-itm,*.rf-ctx-itm {
	padding: 5px 36px 6px 12px;
}

*.rf-ddm-itm-unsel,*.rf-ctx-itm-unsel {
	border: 0;
	text-shadow: none;
}

*.rf-ddm-itm-sel,*.rf-ctx-itm-sel {
	border: 0;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#777777+0,505050+100 */
	background: rgb(119, 119, 119); /* Old browsers */
	background: linear-gradient(to bottom, rgba(119, 119, 119, 1) 0%, rgba(80, 80, 80, 1) 100%);
}

*.rf-ctx-itm-ic {
	display: none;
}

*.rf-ddm-itm-sel>*.rf-ddm-itm-lbl,*.rf-ctx-itm-sel>*.rf-ddm-itm-lbl,*.rf-ctx-itm-sel>*.rf-ctx-itm-lbl
	{
	color: #fff;
}

*.rf-pp-cnt {
	padding: 12px;
}

*.rf-ddm-nd {
	top: 9px;
	right: 8px;
}

*.rf-ddm-sublst {
	left: 15px;
}

.rf-ds-nmb-btn {
	width: auto;
	min-width: 2em;
}

.rf-dt {
	width: 100%;
	box-shadow: 0px 19px 17px -11px rgba(0, 0, 0, 0.09), 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
}

.rf-dt-hdr-c,.rf-dt-shdr-c,.rf-pick-hdr-c {
	background-repeat: repeat-x;
	font-weight: normal;
}

*.rf-sel-opt {
	white-space: normal;
}

*.rf-p {
	background-color: white;
}

*.rf-cal-extr td,div.rf-cal table.rf-cal-extr td.rf-cal-week {
	text-align: center;
	font-weight: normal;
}

*.rf-dt-hdr-c,*.rf-dt-shdr-c,*.rf-ds-btn,*.rf-sel-btn,*.rf-tab-hdr-inact.rf-tab-hdr-top,*.rf-tab-hdr-act.rf-tab-hdr-top,*.rf-pp-hdr,*.rf-insp-btns
	{
	background-image: none;
}

*.rf-fu {
	background-color: inherit;
}

*.rf-tab-hdr-act.rf-tab-hdr-top {
	padding: 5px 10px;
	box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.2);
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+65,dbdbdb+99 */
	background: rgb(255, 255, 255); /* Old browsers */
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 65%,
		rgba(219, 219, 219, 1) 99%);
}

*.rf-tab-hdr-dis.rf-tab-hdr-top {
	display: inline-block;
    padding: 6px 10px;
    border: 1px solid rgba(153, 153, 153, 0.3);
    color: rgba(0, 0, 0, 0.6);
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.4);
    background: linear-gradient(to bottom, rgba(155, 155, 155, 0.3) 0%, rgba(136, 136, 136, 0.3) 35%,
    rgba(111, 111, 111, 0.3) 100%);
}

*.rf-tab-hdr-inact.rf-tab-hdr-top {
	padding: 5px 10px;
	color: #fff;
	border: 1px solid #5c7049;
	text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.4);
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9bac8a+0,889f71+35,6e8658+79,869c70+100 */
	background: rgb(155, 172, 138); /* Old browsers */
	background: linear-gradient(to bottom, rgba(155, 172, 138, 1) 0%, rgba(136, 159, 113, 1) 35%,
		rgba(110, 134, 88, 1) 79%, rgba(134, 156, 112, 1) 100%);
}

*.rf-tab-hdr-inact.rf-tab-hdr-top:hover {
	padding: 5px 10px;
	color: #fff;
	border: 1px solid #5c7049;
	text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.3), inset 1px 1px 2px rgba(255, 255, 255, 0.6);
	cursor: pointer;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8c9f79+0,7a9262+35,63794f+79,798f63+100 */
	background: rgb(140, 159, 121); /* Old browsers */
	background: linear-gradient(to bottom, rgba(140, 159, 121, 1) 0%, rgba(122, 146, 98, 1) 35%,
		rgba(99, 121, 79, 1) 79%, rgba(121, 143, 99, 1) 100%);
}

*.rf-tab-hdr-tabline-vis.rf-tab-hdr-tabline-top,*.rf-fu-hdr {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#edddcf+0,e3d4c7+57,f6e2d2+100 */
	background: rgb(237, 221, 207); /* Old browsers */
	background: linear-gradient(to bottom, rgba(237, 221, 207, 1) 0%, rgba(227, 212, 199, 1) 57%,
		rgba(246, 226, 210, 1) 100%);
}

*.rf-tab-hortab-tabspcr-wdh {
	padding-left: 3px;
}

*.rf-tab-hdr-tabline-vis.rf-tab-hdr-tabline-top {
	height: 32px;
	background: transparent;
	border: 0;
}

*.rf-fu-hdr {
	border: 1px solid rgb(202, 184, 170);
}

*.rf-cal-popup {
	color: black;
}

input.rf-cal-inp {
	width: 83px !important;
}

*.rf-cal-sp-inp {
	width: 30px;
}

input.rf-insp-inp[type="text"] {
	padding: 3px 6px;
	background-image: none;
}

*.rf-insp-dec, *.rf-insp-inc, *.rf-insp-dec-dis, *.rf-insp-inc-dis {
	height: 11px;
}

/* style dla selecta, reguly placeholder nalezy wstawiac osobno,
 * poniewaz: a group of selectors containing an invalid selector is invalid. */
input.rf-sel-inp, input.rf-cal-inp, img.rf-cal-btn {
	min-height: 22px;
	font-weight: normal;
}

input[readonly]:not([disabled]).rf-sel-inp {
	color: inherit;
	cursor: inherit;
}

input[readonly]:not([disabled]).rf-sel-inp::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: inherit;
}

input[readonly]:not([disabled]).rf-sel-inp:-ms-input-placeholder { /* IE 10+ */
	color: inherit;
}

input[readonly]:not([disabled]).rf-sel-inp::-moz-placeholder { /* Firefox 19+ */
	color: inherit;
	opacity: 1; /* zmiana domyslnej wartosci FF */
}

input[readonly]:not([disabled]).rf-sel-inp:-moz-placeholder { /* Firefox 18- */
  color: inherit;
}
/* select - koniec */

*.rf-sel-btn-arrow {
	min-height: 19px;
}

*.rf-sel-shdw {
	left: -7px;
}

*.rf-sel-cntr {
	box-sizing: border-box;
}

.rf-dt-ftr-c {
	cursor: default;
	border-bottom: 1px solid #a3a3a3;
}

.rf-dt-shdr-c,.rf-pick-hdr-c {
	cursor: default;
}

div.rf-tab-hdr-brd {
	border: none;
	height: 0px;
}

td.rf-dt-c {
	word-wrap: break-word;
}

div.rf-pick {
	width: 100%;
}

div.rf-pick>table>tbody>tr>td:nth-of-type(odd) {
	width: 45%;
}

div.rf-pick>table>tbody>tr>td:nth-of-type(even) {
	width: 10%;
}

div.rf-pick>table>tbody>tr>td>table {
	width: 100%;
}

tr.rf-pick-opt {
	white-space: normal;
	vertical-align: top;
}

*.rf-tt-cntr {
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	padding: 5px 8px;
	font-size: 1.1em;
	border: 1px solid #a8a8a8;
	background: #ffffee;
	color: #4f4f4f;
	max-width: 500px;
}

*.rf-p-hdr {
	border: 0;
	font-weight: normal;
	padding: 5px 10px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	font-size: 115%;
	/**
	 * ZŁĄCZONY RĘCZNIE z dwóch gradientów:
	 * 1. http://colorzilla.com/gradient-editor/#f1b07f+0,dd8f57+100
	 * 2. http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&amp;0+0,0.33+100
	 */
	background: rgb(241, 176, 127); /* Old browsers */
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.33) 100%),
		linear-gradient(to bottom, rgba(241, 176, 127, 1) 0%, rgba(221, 143, 87, 1) 100%); /* W3C */
}

*.rf-dt-hdr-c, *.rf-cp-hdr {
	font-weight: normal;
	padding: 5px 10px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	font-size: 115%;
	border: 1px solid #6b7e5f;
	border-top: 1px solid #8da37f;
	border-left: 1px solid #8da37f;
	border-right: 1px solid #7E9073;
	text-align: left;
	box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.3);
	/**
	 * ZŁĄCZONY RĘCZNIE z dwóch gradientów:
	 * 1. http://colorzilla.com/gradient-editor/#b3caa6+0,95af85+100
	 * 2. http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&amp;0+0,0.33+100
	 */
	background: rgb(179, 202, 166); /* Old browsers */
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.33) 100%),
		linear-gradient(to bottom, rgba(179, 202, 166, 1) 0%, rgba(149, 175, 133, 1) 100%); /* W3C */
}

*.rf-dt-shdr-c, *.rf-cst-shdr-c {
	border: 1px solid #d2bfaf;
	padding: 5px 5px;
	color: rgba(0, 0, 0, 0.7);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
	font-weight: bold;
	box-shadow: inset 1px 1px 3px white;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#edddcf+0,e3d4c7+57,f6e2d2+100 */
	background: rgb(237, 221, 207); /* Old browsers */
	background: linear-gradient(to bottom, rgba(237, 221, 207, 1) 0%, rgba(227, 212, 199, 1) 57%,
		rgba(246, 226, 210, 1) 100%);
}

/** Przycisk w stanie niewciśniętym. */
*.rf-ds-btn,a.rf-ds-btn,*.rf-ds-nmb-btn,button,input[type="reset"],input[type="submit"],input[type="button"],*.rf-pick-btn
	{
	text-decoration: none;
	white-space: nowrap;
	padding: 0.6em 1.2em 0.66em 1.2em;
	border: 1px solid #5c7049;
	border-radius: 3px;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2), inset 1px 1px 2px rgba(255, 255, 255, 0.4);
	cursor: pointer;
	display: inline-block;
	text-overflow: clip;
	transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
	/* 	margin: 4px; Teoretycznie o to powinien dbać container, ale wymagałoby to zmiany setek XHTMLi. */
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9bac8a+0,889f71+35,6e8658+79,869c70+100 */
	background: rgb(155, 172, 138); /* Old browsers */
	background: linear-gradient(to bottom, rgba(155, 172, 138, 1) 0%, rgba(136, 159, 113, 1) 35%,
		rgba(110, 134, 88, 1) 79%, rgba(134, 156, 112, 1) 100%);
}

/** Przycisk w stanie hover. */
*.rf-ds-btn:hover,*.rf-ds-btn:focus,*.rf-ds-nmb-btn:hover,button:hover,input[type="reset"]:hover,input[type="submit"]:hover,input[type="button"]:hover
	{
	cursor: pointer;
	color: white;
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.3), inset 1px 1px 2px rgba(255, 255, 255, 0.6);
	transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
	border: 1px solid #5c7049;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8c9f79+0,7a9262+35,63794f+79,798f63+100 */
	background: rgb(140, 159, 121); /* Old browsers */
	background: linear-gradient(to bottom, rgba(140, 159, 121, 1) 0%, rgba(122, 146, 98, 1) 35%,
		rgba(99, 121, 79, 1) 79%, rgba(121, 143, 99, 1) 100%);
}

/** Przycisk w stanie active. */
*.rf-ds-btn:active,*.rf-ds-nmb-btn.rf-ds-act,*.rf-ds-nmb-btn:active,button:active,input[type="reset"]:active,input[type="submit"]:active,input[type="button"]:active
	{
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2) inset;
	text-shadow: none;
	transition: all 50ms cubic-bezier(0.42, 0, 0.58, 1);
	outline: 0;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a5b694+0,94aa7e+35,7c9862+79,92a77d+100 */
	background: rgb(165, 182, 148); /* Old browsers */
	background: linear-gradient(to bottom, rgba(165, 182, 148, 1) 0%, rgba(148, 170, 126, 1) 35%,
		rgba(124, 152, 98, 1) 79%, rgba(146, 167, 125, 1) 100%);
}

/** Przycisk disabled (wygląd nie zmienia się w zależności od hover). */
*.rf-ds-btn.rf-ds-dis,*.rf-ds-btn.rf-ds-dis:hover,button:disabled,input[type="reset"]:disabled,input[type="submit"]:disabled,input[type="button"]:disabled
	{
	display: inline-block;
	text-decoration: none;
	white-space: nowrap;
	padding: 8px 14px;
	border: 1px solid rgba(153, 153, 153, 0.3);
	border-radius: 3px;
	color: rgba(0, 0, 0, 0.6);
	box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.4);
	text-shadow: none;
	/* 	margin: 4px; */
	cursor: default;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9b9b9b+0,888888+35,6f6f6f+100&amp;0.3+0,0.3+100 */
	background: linear-gradient(to bottom, rgba(155, 155, 155, 0.3) 0%, rgba(136, 136, 136, 0.3) 35%,
		rgba(111, 111, 111, 0.3) 100%);
}

/** Przyciski w stopce (przewijanie stron) */
*.rf-ds-btn,a.rf-ds-btn,*.rf-ds-btn.rf-ds-dis,*.rf-ds-btn.rf-ds-dis:hover {
	margin: 3px;
}

.rf-dt-ftr .rf-ds-btn.rf-ds-dis,.rf-dt-ftr .rf-ds-btn.rf-ds-dis:hover,.rf-dt-ftr .rf-ds-btn,.rf-dt-ftr .rf-ds-btn:hover
	{
	padding: 4px 10px;
}

*.rf-ds-nmb-btn,a.rf-ds-nmb-btn {
	margin: 2px;
	padding: 2px 0;
	opacity: 0.7;
	color: white;
	box-sizing: content-box;
}

*.rf-ds-nmb-btn.rf-ds-act {
	opacity: 1.0;
}

/** Zawartość stopki */
.rf-dt-ftr-c {
	padding: 1px;
}

*.rf-pp-hdr {
	/* Skopiować z rf-dt-hdr-c, z tą tylko różnicą, że padding powinien być 5px 2px. */
	font-weight: normal;
	padding: 5px 2px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	font-size: 115%;
	border: 1px solid #6b7e5f;
	border-top: 1px solid #8da37f;
	border-left: 1px solid #8da37f;
	border-right: 1px solid #7E9073;
	text-align: left;
	box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.3);
	/**
	 * ZŁĄCZONY RĘCZNIE z dwóch gradientów:
	 * 1. http://colorzilla.com/gradient-editor/#b3caa6+0,95af85+100
	 * 2. http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&amp;0+0,0.33+100
	 */
	background: rgb(179, 202, 166); /* Old browsers */
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.33) 100%),
		linear-gradient(to bottom, rgba(179, 202, 166, 1) 0%, rgba(149, 175, 133, 1) 100%); /* W3C */
}

*.rf-pp-hdr-cnt {
	font-size: inherit;
}

*.rf-ds {
	background: transparent;
}

*.rf-sel-btn,*.rf-insp-btns {
	background-color: #eee;
}

*.rf-sel-sel {
	border: 1px solid #5c7049;
	background-color: #798f63;
	color: white;
}

*.rf-trn-sel {
	background-color: #ffd;
}

*.rf-dt-ftr-c {
	background-color: #e6e6e6;
}

*.rf-dt-nd-c {
	padding: 20px;
	text-align: center;
	font-style: italic;
	color: rgba(0, 0, 0, 0.5);
	font-size: 115%;
	background: repeating-linear-gradient(-45deg, #fff, #fff 10px, #f6f6f6 10px, #f6f6f6 20px);
	font-weight: normal !important;
	cursor: default;
}

*.rf-pick-src-cptn,*.rf-pick-tgt-cptn {
	color: #000000;
}

*.rf-pick-btn {
	text-align: center;
}

*.rf-pick-sel {
	background-color: #ffd;
	box-sizing: border-box;
}

*.rf-pick-lst-scrl {
	overflow-x: auto;
}

*.rf-csttg-colps,*.rf-csttg-exp {
	vertical-align: initial;
}

*.rf-pick-sel *.rf-pick-c {
    border-width: 1px;
    border-style: dotted;
    border-color: #000;
}
