/* Společný styl pro XForms formuláře v ERMA2 */

body { font-family: Verdana,lucida,sans-serif; font-size: 75%; line-height: 1.5em; color: #333333; }

body .ui-widget { font-size: 1.1em; }

td.xforms-value, input.xforms-value, textarea.xforms-value, select.xforms-value, .xforms-output span.xforms-value {
	box-sizing: border-box;
	border: 1px solid #C6D392;
	background: white;
	font-family: Verdana,lucida,sans-serif;
	width: 100%;
	margin-bottom: .3em;
	margin-top: .3em;
}
.xforms-output span.xforms-value {
	display: inline-block;
	margin: .3em 0;
	padding: 1px 3px;
	text-align: left;
	background: #E5EBCE;
}
.right .xforms-output span.xforms-value, .right { text-align: right; }
.xforms-output span.xforms-value::after { content: "\00A0"; }
.xforms-focus input.xforms-value, .xforms-repeat-item-selected .xforms-focus input.xforms-value { background: #FFFFB7; }

.xforms-repeat-item-selected td, .xforms-repeat-item-selected input.xforms-value { background: #eaf4e7; }

.xf-pds-bold { font-weight: bold; }
.xf-pds-head-line1 { width: 99%; }
.xf-pds-title-center { display: block; text-align: center; margin-top: 1px; }
.xf-pds-title-center span.xforms-value { display: inline !important; }
.xf-pds-title-left { float: left; }
.center { text-align: center; }

.head-cell
{
border: 1px solid;
height: 8em;
text-align: left;
}

.head-textarea,
.head-textarea textarea
{
	height: 8em;
}

.space-after { margin: 0 0 2em 0; }
.soucet { width: 65%;}
.left { text-align: left; }
.right { text-align: right; }
.empty-box { padding: 10em 0 0 10em; }
.margin-top { margin: 1em 0 0 0; }
.head-title { margin: 2em 0 0 0; }
.title { text-align: left; }
.block-title { text-align: left; margin: 1.5em 0 1em 1%; }
.first-line { margin: 1.5em 1% 0 1%; }
.first-block { margin-top: 0 !important; }
.footer { margin-top: 1em; text-align: left; }

dt { float: left; clear: left; width: 2em; text-align: left; }
dd { margin: 0 0 0 2.5em; }

/* Priloha tabulka */
.xf-pds-table th.xf-pds-width-5 { width: 5%; }
.xf-pds-table th.xf-pds-width-10 { width: 10%; }
.xf-pds-table th.xf-pds-width-15 { width: 15%; }
.xf-pds-table th.xf-pds-width-20 { width: 20%; }
.xf-pds-table th.xf-pds-width-25 { width: 25%; }
.xf-pds-table th.xf-pds-width-30 { width: 30%; }
.xf-pds-table th.xf-pds-width-45 { width: 45%; }
.xf-pds-table th.xf-pds-col-trigger { width: 20px; }

.xf-pds-table { border: 2px solid #333333; border-collapse: collapse; width: 100%; margin-bottom: .2em; }
.xf-pds-table tr.xf-pds-table-thin-border { border: 1px solid #333333; }
.xf-pds-table thead tr { border-bottom: 2px solid #333333; }
.xf-pds-table thead th { border-right: 1px solid #333333; }
.xf-pds-table thead th sup { font-weight: normal; }
.xf-pds-table tfoot { border-top: 2px solid #333333; }
.xf-pds-table tbody td, .xf-pds-table tfoot td { border: 1px solid #333333; vertical-align: top; }
.xf-pds-table input, .xf-pds-table textarea, .xf-pds-table select
{
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	width: 100%;
}
.xf-pds-table.xf-pds-table-gridnav input, .xf-pds-table.xf-pds-table-gridnav select, .xf-pds-table.xf-pds-table-gridnav .xforms-output span.xforms-value
{
	border: none;
	height: 100%;
	padding: 3px;
	background: transparent;
}
.xf-pds-trigger-add { float: left; margin-bottom: 1.5em; }
.xf-pds-output-value { text-align: right; padding-right: .3em; }
.xf-pds-table-datetime input { width: 10em; }

.xf-pds-vysvetlivky { width: 75%; }
.xf-pds-vysvetlivky-nazev { width: 40%; }

#xf-pds-table-dodavatel, #xf-pds-table-popis { table-layout: fixed; }
#xf-pds-table-dodavatel tbody th, #xf-pds-table-popis tbody th { text-align: left; padding: 5px 3px 0 3px; border-bottom: 1px solid #333333; }
#xf-pds-table-dodavatel tbody td, #xf-pds-table-popis tbody td { border: 0; padding: 3px; }

#xf-pds-table-skolky { width: auto; }

/* Styly pro taby */
#xf-pds-tab-menu span.xf-pds-tab
{
	float: left; margin-right: .2em;
	border-bottom: none;
	margin-top: 1px;
}
#xf-pds-tab-menu span.xf-pds-tab a
{
	text-decoration: none;
	display: block;
	padding: 0.5em 1em;
	font-weight: normal;
}
#xf-pds-tab-menu span.xf-pds-tab a:hover
{
	color: white;
}
#xf-pds-tab-menu span.xf-pds-tab-selected {
	border: 1px solid #D4CCB0;
	border-bottom: none;
	margin-bottom: -1px;
	padding-bottom: 1px;
	background: #fafaf4 url("../../Scripts/jquery-ui-1.11.4/css/eagri-uhul/images/ui-bg_highlight-hard_100_fafaf4_1x100.png") repeat-x scroll 50% 50%;
}
#xf-pds-tab-menu span.xf-pds-tab-selected a, #xf-pds-tab-menu span.xf-pds-tab-selected a:hover
{
	color: #005127;
}

#xf-pds-tab-content { clear: both; padding: 1em; }

.np-wrong-value input, .np-wrong-value .xforms-output .xforms-value { color: #EA1105; }
.np-wrong-input input, .np-wrong-input iframe, .np-wrong-input select, .np-wrong-input span.xforms-value, .np-wrong-input span.xforms-input {
	background: #FFCCCC !important;
}
.hpo-wrong-value input, .hpo-wrong-value select { color: #EA1105; }
.hpo-wrong-input input, .hpo-wrong-input input.xforms-value { background: #FFCCCC; }

.grid-select { text-align: left; }
.grid-select select { width: 100%; }

div.cke { height: 100%; }
div.cke_inner { height: 100%; }
.textarea-inform { height: 6em; margin-bottom: 5px; }
.cke_chrome { border: 1px solid #C6D392 !important; box-shadow: none !important; }
.pds-cke-textarea { overflow: hidden !important; padding: 2px 0; }


.pds-dblclick-ciselnik input.xforms-value{
	border: 1px solid #17613a;
}

.xf-pds-table.xf-pds-hlaseni.xf-pds-table-gridnav tbody tr td:first-child .xforms-value,
.xf-pds-table.xf-pds-hlaseni.xf-pds-table-gridnav tbody tr td:last-child .xforms-trigger {
	display: inline-block;
	margin-top: .3em;
}


/* Zarovnání ikony reprezentující chybu ve formuláří */
.xforms-invalid input.xforms-value, .xforms-invalid textarea.xforms-value, .xforms-invalid select.xforms-value
{
	width: calc(100% - 26px);
}

span.xforms-required-icon, span.xforms-alert, span.xforms-help, span.xforms-hint
{
	vertical-align: text-top;
	margin-left: 2px;
}
/* Zarování ikony - konec */

.pds-dreviny-seznam
{
	text-align: left;
}

.pds-dreviny-seznam .xforms-repeat-item
{
	position: relative;
}

.pds-dreviny-seznam select.xforms-value
{
	width: calc(100% - 40px);
}

.pds-dreviny-seznam div div .xforms-trigger
{
	position: absolute;
	right: 0;
	top: 0;
}

.xforms-alert-value
{
	z-index: 1000;
	text-align: left;
}

.xforms-readonly input.xforms-value
{
	background: #E5EBCE;
	cursor: default;
}

.alert-msg {
	position: relative;
	height: 2em;
}

.alert-msg > div {
	position: absolute;
}

.alert-msg > div > div {
	background: white;
	height: 2em;
	border-top: black 1px solid;
	border-bottom: black 1px solid;
	box-sizing: border-box;
	text-align: right;
	color: red;
	padding-right: .5em;
	margin-right: 4px; /* kompenzace šířky rámečku */
}

.alert-msg-gz {
	background: white;
	border-top: black 1px solid;
	box-sizing: border-box;
	text-align: right;
	color: red;
	padding-right: .5em;
	margin-right: 4px; /* kompenzace šířky rámečku */
}

