.BsDialogMaximized.ui-dialog {
	max-width: 100% !important;
	max-height: 100% !important;
}

/*********** Body *************/
body {
	color: #546E7A;
	OFF_font-size: 14px;
	OFF_background-color: #F5F5F5;
	background-color: #F4F4F4;
}

/******* CheckBox *************/
body .ui-chkbox .ui-chkbox-box.ui-state-active {
	border: 1px solid #546E7A;
	background-color: white;
}

body .ui-chkbox .ui-chkbox-box .ui-chkbox-icon {
	color: #546E7A;
	font-weight: bolder;
}

.card h2, h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: #475f72;
	font-weight: bold;
	font-size: large;
	-webkit-font-smoothing: antialiased;
}

/******** hover link **********/
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
	color: #ffffff;
	text-decoration: none;
}

.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
	opacity: 0.9;
}

/********* inputField ********/
body .ui-inputfield {
	background-color: #F5F5F5;
}

/********* dataTable ********/
body .ui-datatable .ui-datatable-data>tr.ui-state-highlight {
	background-color: #dce0e2;
	color: inherit;
	border-color: #C1D5DF;
}

body .ui-datatable-header {
	background-color: #D9E3E8;
	font-weight: normal;
}

body .ui-datatable table thead tr th, body .ui-datatable table tfoot tr td, body .ui-datatable table thead tr th {
	color: #546E7A;
	background-color: #D9E3E8;
	border: solid 1px #C1D5DF;
	outline: none;
	padding: 10px;
	font-weight: normal;
}

body .ui-datatable table tfoot tr td, .ui-datatable table tfoot tr td, .ui-datatable table thead tr th, .ui-datatable table tbody tr td {
	font-size: small !important;
}

body .ui-datatable .ui-datatable-data>tr td {
	padding: 2px;
}

/********* topbar ********/
.layout-wrapper .topbar {
	background-color: transparent;
	background-image: none;
}

/********* panel ********/
body .ui-panel .ui-panel-titlebar {
	border-bottom: none;
	background-color: #3d8dc2;
}

body .ui-panel .ui-panel-content {
	padding: 4px;
}

/********* dataGrid ********/
body .ui-datagrid-content {
	overflow: auto;
}

/********* Footer ********/
.layout-wrapper .layout-footer {
	padding: 5px;
	position: fixed;
	bottom: 0px;
	right: 0px;
	width: 40%;
	opacity: 0.6;
}

/******* card ************/
.card {
	-webkit-box-shadow: 0px 1px 2px 0px rgba(43, 59, 93, 0.4);
	-moz-box-shadow: 0px 1px 2px 0px rgba(43, 59, 93, 0.4);
	box-shadow: 0px 1px 2px 0px rgba(43, 59, 93, 0.4);
	padding: 10px;
	margin-bottom: 0;
	background-color: #FFFFFF;
}

@media screen and (min-width: 0\0) {
	.card {
		box-shadow: 0px 0px 8px 0px rgba(43, 59, 93, 0.4);
	}
}

/******* dialogs *********/
body .ui-dialog {
	border: 2px solid #516975;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	font-size: small;
	max-width: 90%;
}

/******* confirm-dialog *********/
body .ui-confirm-dialog {
	border: 2px solid #546E7A;
}

body .ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close {
	color: white;
}

body .ui-dialog .ui-dialog-titlebar {
	background-color: #546E7A;
	color: white;
}

.ui-confirm-dialog .ui-icon-alert {
	color: #E53935 !important;
	padding: 8px;
	font-size: large !important;
}

body .ui-dialog-buttonpane {
	background-color: #F3F5F7;
}

.mpp-dialog .ui-dialog-content {
	padding: 0 0 12px 0 !important;
	overflow: auto;
	background-color: #ECEFF1 !important;
}

.mpp-dialog .ui-dialog-titlebar {
	padding: 4px 4px 0 0 !important;
	background-color: #43A047;
}

.mpp-dialog .ui-dialog-titlebar-icon {
	color: white !important;
}

body .ui-dialog.mpp-dialog-EXPERIMENTAL {
	position: absolute;
	overflow: auto;
	width: 100% !important;
	box-sizing: border-box !important;
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
}

/******* overlay-panel *********/
body .ui-overlaypanel {
	border: 2px solid #43A047;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

/********** Panel ***********/
.BSPanel .ui-panel-titlebar, body .ui-panel .ui-panel-titlebar, body .ui-panel .ui-panel-titlebar .ui-panel-titlebar-icon {
	padding: 2px 12px;
}

body .ui-panel .ui-panel-titlebar .ui-panel-titlebar-icon.ui-state-hover {
	color: white;
}

body .ui-panel .ui-panel-titlebar .ui-panel-titlebar-icon {
	color: white !important;
	float: left;
}

/*********** MenuBar *************/
body .ui-menu.ui-menubar {
	background-color: inherit !important;
	border: 0px solid;
}

/********* Fix ui-checkbox-label **/
body .ui-chkbox {
	width: auto;
}

body .ui-chkbox-box {
	display: inline-block;
}

body .ui-chkbox-label {
	vertical-align: middle;
	margin-top: 0;
}

.ui-chkbox .ui-chkbox-label {
	margin-left: 6px;
}

/********* others  **/
body .ui-menu.ui-menubar>.ui-menu-list>.ui-menuitem>.ui-menuitem-link {
	color: white;
}

body .ui-menu.ui-menubar>.ui-menu-list>.ui-menuitem>.ui-menuitem-link .ui-menuitem-icon {
	color: white;
}

body .ui-menubar .ui-menu-child .ui-menuitem {
	font-size: inherit;
}

body .ui-menu .ui-menu-parent .ui-menu-child {
	width: 15em;
}

.BsNotificationGlobal {
	height: 200px !important;
}

.BsAlignMiddleBlock {
	margin: 0 auto;
}

.BsAlignRightBlock {
	margin-right: 0;
	margin-left: auto;
}

.BsAlignMiddle, .BsAlignMiddle td {
	vertical-align: middle !important;
}

.BsAlignTopHint {
	vertical-align: top;
}

.BsAlignTop, .BsAlignTop td {
	vertical-align: top !important;
}

.BsPositionBottom {
	position: fixed;
	bottom: 0px;
	z-index: 99999999999999;
	display: block;
	width: 100%;
	padding-bottom: 0px !important;
}

.BsAlignBottom, .Bottom td {
	vertical-align: bottom !important;
}

.BsTexUnderline, .BsTexUnderline>.ui-chkbox-label {
	text-decoration: underline;
}

.BsTexStrike, .BsTexStrike>.ui-chkbox-label {
	text-decoration: line-through;
}

.BsTexOverline, .BsTexOverline>.ui-chkbox-label {
	text-decoration: overline;
}

.BsTextVertical {
	-moz-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
	-webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
	transform: translateX(-50%) translateY(-50%) rotate(-90deg);
	position: absolute;
	top: 50%;
	left: 50%;
}

.BsTexBreak {
	word-break: normal;
}

.BsTexBreakAll {
	word-break: break-all;
}

.BsTexAlCenter {
	text-align: center !important;
	margin: 0 auto;
}

.BsTexAlJustify {
	text-align: justify;
	text-justify: inter-word;
}

/* supplement inline with WIDTH attribute !!! */
.BsTexOvlEllipsis {
	overflow: hidden;
	display: inline-block;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.UxGrayBack {
	background-color: #fafbfc !important;
}

.BsWhiteBack {
	background: none repeat scroll 0 0 #FFFFFF;
}

.BsWhite {
	color: white !important;
}

.BsBoldGray {
	color: #546E7A !important;
}

.BsWhite {
	color: white !important;
}

.BsBlackBack {
	background-color: black;
}

.BsSoftBlueBack2 {
	background-color: #DAE8EF;
}

.BsBlueBackTheme {
	background-color: #164474 !important;
}

.BsGreenBackTheme {
	background-color: #2B6D2E !important;
}

.BsPurpleBackTheme {
	background-color: #621874 !important;
}

.BsOrangeBackTheme {
	background-color: #EA5B00 !important;
}

.BsMenuConfirmation {
	text-align: right;
	position: relative !important;
	bottom: 28px !important;
}

/* Chrome Bugfix https://stackoverflow.com/questions/45435196 */
.BsHei100BugFix {
	height: 1px;
}

.BsHei45p {
	height: 45px;
}

.BsHei170p {
	height: 170px;
}

.BsHei28p {
	height: 28px;
}

.BsWidAuto {
	width: auto !important;
}

.BsWid5 {
	width: 5%;
}

.BsWid15 {
	width: 15%;
}

.BsWid95 {
	width: 95%;
}

/* Fix problem with oversized components by width=100% */
.BsBoxBorderBox {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.BsWid100Box {
	width: 100% !important;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.BsHei100Box {
	height: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

/* OutputLabel with bold fonts*/
.BsOutputLabelBold * .ui-outputlabel, .BsOutputLabelBold {
	font-weight: bold !important;
	font-size: small;
}

.BsFontBold * .ui-outputlabel, .BsFontBold {
	font-weight: bold !important;
}

.BsFsNormal {
	font-weight: normal !important;
}

.BsFsMedium {
	font-size: medium !important;
}

/* BsFsSmall + components */
.BsFsSmall, .BsFsSmall.ui-datatable table tfoot tr td, .BsFsSmall.ui-datatable table tfoot tr td, .BsFsSmall.ui-datatable table thead tr th {
	font-size: small !important;
}

.BsFsSmaller {
	font-size: smaller !important;
}

.BsFsXSmall {
	font-size: x-small !important;
}

.BsFsXXSmall {
	font-size: xx-small !important;
}

.BsFsLarge {
	font-size: large !important;
}

.BsFsMedium {
	font-size: medium !important;
}

.BsFsXLarge {
	font-size: x-large !important;
}

.BsFsXXLarge {
	font-size: xx-large !important;
}

.BsFsSmall>.ui-chkbox-label {
	font-size: small;
}

.BsRed * .ui-outputlabel, .BsRed>.ui-chkbox-label {
	color: red !important;
}

.BsWid6p {
	width: 6px;
}

.BsWid10p {
	width: 10px;
}

.BsWid15p {
	width: 15px;
}

.BsWid20p {
	width: 20px !important;
}

.BsWid25p {
	width: 25px !important;
}

.BsWid30p {
	width: 30px;
}

.BsWid40p {
	width: 40px;
}

.BsWid45p {
	width: 45px;
}

.BsWid50p {
	width: 50px;
}

.BsWid60p {
	width: 60px;
}

.BsWid70p {
	width: 70px;
}

.BsWid80p {
	width: 80px;
}

.BsWid90p {
	width: 90px;
}

.BsWid100p {
	width: 100px;
}

.BsWid110p {
	width: 110px;
}

.BsWid120p {
	width: 120px;
}

.BsWid130p {
	width: 130px;
}

.BsWid140p {
	width: 140px;
}

.BsWid160p {
	width: 160px !important;
}

.BsWid170p {
	width: 170px !important;
}

.BsWid200p {
	width: 200px !important;
}

.BsWid220p {
	width: 220px !important;
}

.BsWid290p {
	width: 290px;
}

.BsWid300p {
	width: 300px;
}

.BsWid350p {
	width: 350px;
}

.BsWid400p {
	width: 400px;
}

.BsWid500p {
	width: 500px;
}

.BsWid600p {
	width: 600px !important;
}

.BsWid700p {
	width: 700px;
}

.BsWid750p {
	width: 750px;
}

.BsWid800p {
	width: 800px;
}

.BsWidPrintLandscape {
	width: 1400px;
}

.BsWidPrintPortrait {
	width: 990px;
}

/* Application left menu on Mobile */
@media ( max-width : 960px) {
	.BsMobileMenuButton, .BsMobileMenuButton>.ui-button {
		width: 100%;
		float: left;
		text-align: left;
	}
}

@media print {
	/* Hide element when printing in Html Browser */
	.no-print, .no-print * {
		display: none !important;
	}

	/* Avoid page break inside datatable */
	.ui-datatable {
		page-break-inside: avoid;
		page-break-after: auto;
	}
	.BsPrintSmall, .BsPrintSmall * {
		font-size: x-small !important;
	}
	.BsPrintLink a {
		text-decoration: none;
		color: #546E7A !important;
	}
	.BsPrintLink a[href^=http]:after {
		content: " <" attr(href) "> ";
	}
}

.BsBlack, .BsBlack * .ui-outputlabel {
	color: black !important;
}

.BsHeiAuto {
	height: auto !important;
}

.BsHei100 {
	height: 100% !important;
}

.BsBordAll {
	border: solid 1px #C6D6DF !important;
}

.BsBordNone .ui-datagrid-content, .BsBordNone .ui-datatable thead th, .ui-datatable tbody td, .ui-datatable tfoot td, .ui-datatable tfoot th {
	border: none !important;
}

.BsDialogTransparent.ui-dialog, .BsDialogTransparent>.ui-dialog-content, .ui-widget-overlay.ui-dialog-mask {
	background-color: transparent !important;
	border: none !important;
	border-style: none !important;
	box-shadow: none !important;
	border: none !important;
	overflow: inherit;
}

.ui-icon-language-de {
	background-image: url("/skitas/javax.faces.resource/skitas/images/icons/flag_de.png.xhtml") !important;
}

.ui-icon-language-en {
	background-image: url("/skitas/javax.faces.resource/skitas/images/icons/flag_en.png.xhtml") !important;
}

.ui-icon-language-pl {
	background-image: url("/skitas/javax.faces.resource/skitas/images/icons/flag_pl.png.xhtml") !important;
}

.BsHoverYellow:HOVER {
	background: #FFF280;
}

.BsRotate {
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; /* IE8 */
	-moz-transform: rotate(-90.0deg); /* FF3.5+ */
	-ms-transform: rotate(-90.0deg); /* IE9+ */
	-o-transform: rotate(-90.0deg); /* Opera 10.5 */
	-webkit-transform: rotate(-90.0deg); /* Safari 3.1+, Chrome */
	transform: rotate(-90.0deg); /* Standard */
}

/* MESSAGES */
.BsMessages .ui-messages-info, .BsMessages .ui-messages-warn, .BsMessages .ui-messages-error {
	background-color: #CE2246 !important;
	color: white !important;
	border-width: 0px !important;
	border-radius: inherit !important;
	padding: 5px 0px 25px 5px !important;
	margin: 0px !important;
	font-style: normal !important;;
	font-size: small !important;
	margin: 0px !important;
}

.BsMessages .ui-messages-warn {
	background-color: #CE2246 !important;
	color: white !important;
	border-width: 0px !important;
	border-radius: inherit !important;
	padding: 5px 0px 25px 5px !important;
	margin: 0px !important;
	margin: 0px !important;
	font-style: normal !important;;
	font-size: small !important;
	margin: 0px !important;
}

.BsMessages .ui-messages-error {
	background-color: red !important;
	color: white !important;
	border-width: 0px !important;
	border-radius: inherit !important;
	padding: 5px 0px 25px 5px !important;
	margin: 0px !important;
	margin: 0px !important;
	font-style: normal !important;;
	font-size: small !important;
	margin: 0px !important;
}

.BsMessages .ui-messages-info {
	background-color: #0288D1 !important;
	color: white !important;
	border-width: 0px !important;
	border-radius: inherit !important;
	padding: 5px 0px 25px 5px !important;
	margin: 0px !important;
	margin: 0px !important;
	font-style: normal !important;;
	font-size: small !important;
	margin: 0px !important;
}

.BsMessages {
	position: fixed;
	bottom: 0px;
	z-index: 99999999999999;
	display: block;
	width: 100%;
	padding-bottom: 0px !important;
}

.BsMessages.ui-messages ul {
	margin-left: inherit !important;
	margin-top: inherit !important;
}

.BsBigCalendar.ui-calendar .ui-inputfield {
	width: 210px;
}

.BsMiddleCalendar.ui-calendar .ui-inputfield {	width: 70px; }
.BsStandardCalendar.ui-calendar .ui-inputfield {	width: 90px; }


.mp-monday, .mp-monday>.ui-widget-header {
	background-color: #c2caea !important;
}

.mp-placeholder {
	border-radius: 0.9em !important;
	padding: 8px !important;
}

.mp-placeholder>.ui-panel-titlebar {
	border-bottom: 1px solid #ECEFF1 !important;
}

.mp-placeholder-s {
	border-radius: 5px !important;
	padding: 1px !important;
}

.mp-placeholder-s>.ui-panel-content {
	padding: 2px !important;
}

.mp-placeholder-s>.ui-panel-titlebar {
	padding: 2px !important;
}

.mp-hover:hover {
	background-color: #FDD120 !important;
}

.mp-selected-placeholder {
	background-color: #FDD120 !important;
	animation: blinker 1.0s cubic-bezier(.8, 0.5, 1, 1) infinite alternate;
}

@keyframes blinker {to { opacity:0.5;
	
}

}
.mp-fieldset {
	background: inherit !important;
}

.mp-fieldset.ui-panel {
	border: 0px !important;
	border-top: 1px solid #90A4AE !important;
}

.mp-fieldset>.ui-panel-content {
	padding: 15px !important;
}

ul.BsUl {
	display: table;
	border: 1px solid #000;
	padding-left: 5px;
}

ul.BsUl li {
	display: table-cell;
	list-style-type: none;
	margin: 5px;
}

body .BsTableNoPadding.ui-datatable .ui-datatable-data>tr td {
	padding: 0 !important;
}

.BsPanelNoPadding.ui-panelgrid .ui-panelgrid-cell {
	padding: 0 !important;
}

body .ui-button.yellow-btn {
	background-color: #F7D100;
}

.BsDialogWarn.ui-dialog>.ui-dialog-titlebar {
	background-color: #FB8C00;
	color: white;
}

.BsDialogError.ui-dialog>.ui-dialog-titlebar {
	background-color: #E53935;
	color: white;
}

.mppi-card {
	-webkit-box-shadow: 0px 1px 2px 0px rgba(43, 59, 93, 0.4);
	-moz-box-shadow: 0px 1px 2px 0px rgba(43, 59, 93, 0.4);
	box-shadow: 0px 1px 2px 0px rgba(43, 59, 93, 0.4);
	border: solid 1px #546E7A;
	background-color: #FFFFFF;
}

.mppi-cardin {
	border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	border-bottom: solid 1px #546E7A;
	padding: 3px;
}


/* Red Inputs */
.BsRedInput .ui-state-active {
	border: 1px solid #E53935 !important;
}

.BsRedInput.ui-chkbox .ui-chkbox-box .ui-chkbox-icon {
	color: #E53935;
}

.BsRedInput.ui-calendar .ui-inputfield {
	border: 1px solid #E53935 !important;
	color: #E53935;
}

.BsRedInput.ui-inputfield {
	color: #E53935 !important;
}

.BsRedInput.ui-inputnumber {
	color: #E53935 !important;
}

/*  Small inputs */
.ui-inputnumber.BsSmallerInput>.ui-inputtext {
	font-size: x-small;
}

.ui-inputtext.BsSmallerInput {
	font-size: x-small;
}

.ui-selectonemenu.BsSmallerInput>* {
	font-size: smaller;
}

.ui-selectmanycheckbox.BsSmallerInput>* {
	font-size: smaller;
}

.ui-calendar.BsSmallerInput>* {
	font-size: smaller;
}

.ui-inputnumber.BsSmallInput>.ui-inputtext {
	font-size: x-small;
}

.ui-inputtext.BsSmallInput {
	font-size: small;
}

.ui-spinner.BsSmallInput>.ui-spinner-input.ui-inputfield {
	font-size: small !important;
}

.ui-selectonemenu.BsSmallInput>* {
	font-size: small;
}

.ui-selectmanycheckbox.BsSmallInput>* {
	font-size: small;
}

.ui-calendar.BsSmallInput>* {
	font-size: small;
}

/** Datatable-->Panel master details coloring */
body .BsMasterTable.ui-datatable .ui-datatable-data>tr.ui-state-highlight {
	background-color: #43A047 !important;
	color: white;
	border-color: #C1D5DF;
}

body .BsDetailTable.ui-datatable .ui-datatable-header {
	background-color: #43A047 !important;
	color: white;
}

body .BsDetailTable.ui-panel>.ui-panel-titlebar {
	background-color: #43A047;
	color: white;
}

body .BsDetailTable.ui-panel .ui-panel-titlebar .ui-panel-titlebar-icon {
	color: white;
}

body .BsRedTable.ui-datatable .ui-datatable-header {
	background-color: #E53935 !important;
	color: white;
}

body .BsRedTable.ui-datatable .ui-datatable-data>tr {
	background-color: #EF9A9A !important;
}

body .BsRedTable.ui-panel>.ui-panel-titlebar {
	background-color: #E53935;
	color: white;
}

body .BsRedTable.ui-panel .ui-panel-titlebar .ui-panel-titlebar-icon {
	color: white;
}

.BsRowGray1Back {
	background: none repeat scroll 0 0 #cbd5da !important;
}

/** Workaround to prevent remove-icon on disabled primefaces-chips */
.ui-chips.BsChipsDisabled>.ui-state-disabled .ui-chips-token-icon {
	display: none;
}

.BsHelpIcon {
	font-size: 2rem;
}

/** Smaller DataTable */
.BsSmallerDataTable .ui-inputtext {	font-size: x-small; }
.BsSmallerDataTable .ui-datatable-tablewrapper { border: 0px none !important; } 
.BsSmallerDataTable.ui-datatable table thead tr th { font-size: smaller !important; padding: 2px;} 
.BsSmallerDataTable.ui-datatable table tbody tr td { font-size: smaller !important; }
.BsSmallerDataTable .ui-radiobutton .ui-radiobutton-box  { width: 12px !important; height: 12px !important;}
.BsSmallerDataTable .ui-selectoneradio label { margin: 0 0 0 2px;}
.BsSmallerDataTable .ui-selectonemenu>* {	font-size: x-small;}
.BsSmallerDataTable .ui-selectoneradio>* { font-size: small !important;}
.BsSmallerDataTable .ui-calendar>* { font-size: x-small;}
.BsSmallerDataTable .ui-button .ui-button-text { font-size: x-small; }
body .BsSmallerDataTable.ui-datatable .ui-paginator  { font-size: small; padding: 0; }

.d-flex 		{ display: flex; flex-wrap: wrap; flex-direction: row; align-items: center; align-content: center;}
.d-col { flex-grow: 1; flex-basis: 0; -webkit-box-flex: 1; -ms-flex-positive: 1; -ms-flex-preferred-size: 0; }

.ui-datalist-data{
	list-style-type: none;
}

tr.thickBorderTopLine{
	border-top-width: 3px;
}
