/* Original CSS path: /apps/forms/common/style-20130101.css */
body {
font-family: sans-serif;
margin: 8px; 
}

.nodisplay {
display: none;          
}
          

p.forms-action-table {
  margin: 5px 0px;
} 

div.header {
  position: fixed;
  _position:absolute; /* pro IE6 */
  _top:expression(0+body.scrollTop); /* pro IE6 */  
  top: 0;
  left: 0;
  margin: 0px 8px;
  padding: 5px;
  width: 100%;
  border-bottom: solid 3px #ffcc66;
  background-color: white;
}

div.body {
  margin-top: 5em;
  
}

.readonly button { display: none; }
.readonly .xforms-help-image { display: none; }

.readonly span.xforms-textarea  {line-height: 1em; height: 100%;}
.readonly span.xforms-textarea.short-text {line-height: 1em; height: 100%;}  
.readonly .control { display: none; }
.readonly .noprint { display: none; }
.readonly .xforms-alert { display: none; }
.readonly .xforms-hint { display: none; }
.readonly .xforms-help { display: none; }
.readonly .xforms-help-image { display: none; }
.readonly .xforms-loading-loading { display: none; }
.readonly .help { display: none; }


th { text-align: left; vertical-align: top; }
td { text-align: left; vertical-align: top; }
td.right { text-align: right; vertical-align: top; }
td.group-data-column { width: 100%; padding: 0px 10px 5px 10px; }
th.group-heading-column { width: 6em; padding-left: 5px; }
td#barcode { width: 324px; text-align: center; }

#main-action-table { width: 65em; margin-top: 1em; margin-bottom: 1em; }
/*#main-action-table .forms-message-fatal { padding-left: 1em }*/  
#language-choice-td { width: 100%; text-align: right; }

.forms-errors-table { margin: 1em; padding: .5em; border: 1px dotted red; width: 60em; background: #fcc; }
.forms-errors-table .xforms-repeat-selected-item-1 { background: none; }
.forms-errors-table th { padding: 0; color: red; white-space: nowrap; }
.forms-error-actions { text-align: center; margin-bottom: .5em; }

.forms-main-table { border: solid 3px #ffcc66; border-spacing: 0em; width: 100%;  }

/*.group-heading-column p:first-child { border: solid black 1px;}*/

.forms-main-table th p { text-align: center; vertical-align: top; }
/*.forms-main-table td { white-space: nowrap }*/

/*.forms-action-table td { white-space: nowrap; vertical-align: middle }*/
.forms-action-table input { vertical-align: middle }

.forms-gridtable { border-collapse: collapse; width: 99.9%; margin-top: 0.5em; } /*margin-bottom: -3px;*/
/*margin-left: 1em; margin-right: 1em*/
 
.forms-gridtable th { background-color: #ffcc66; text-align: center; padding: .3em; border: 3px solid #f93 }
.forms-gridtable td { padding: .3em; border: 3px solid #f93; margin: 0; cursor: pointer; vertical-align: middle }
/*.forms-gridtable .xforms-label { display: none }*/

.forms-title-table { margin-bottom: 1em }
.forms-title-table td { vertical-align: middle; font-size: 16pt; font-weight: bold; font-family: verdana,sans-serif }

.forms-message-positive { color: green; }
.forms-message-negative { color: orange;}
.forms-message-fatal { color: red; padding-left: 1em; }

.forms-hr { height: 2px; border: 0; background-color: #ffcc66; color: #ffcc66 }

.xforms-label { margin-right: 0.5em; font-style: italic }
.forms-hidden { display: none }
.forms-columns > span > span { width: 12em; display: inline-block;}
.forms-lines > span > span { display: block;}
.forms-strong { font-weight: bold;}

.forms-gridtable tbody .xforms-repeat-selected-item-1 td { cursor: default; background-color: #FFFF99; }
.forms-gridtable tbody .xforms-repeat-selected-item-2 td { cursor: default; background-color: #FFFF99; }


.notselected tbody .xforms-repeat-selected-item-1 td { cursor: default; background-color: white; }
.notselected tbody .xforms-repeat-selected-item-2 td { cursor: default; background-color: white; }

.logout { float:right } 

span.bold { font-weight:bold }

.warning { font-weight:bold; color: red; }

div.repeatable { margin: 5px; padding: 10px; border-bottom: 2px solid #FF9933; border-left: 5px solid #FF9933; }

/*
.xforms-repeat-selected-item-1 { cursor: default; background-color: #FFFF99; }
.xforms-repeat-selected-item-2 { cursor: default; background-color: #FFFFCC; }
*/

/*div.xforms-repeat-selected-item-1 { cursor: default; background-color: #FFFF99; }*/

.forms-action-table .xforms-trigger { margin: 0em 0.2em; }
.forms-action-table p { margin: 0.2em }

button.xforms-repeat-selected-item-1 { background-color: ButtonFace; }

/*
.notselected .xforms-repeat-selected-item-1 { cursor: default; background-color: white; }
.notselected .xforms-repeat-selected-item-2 { cursor: default; background-color: white; }
.notselected .xforms-repeat-selected-item-3 { cursor: default; background-color: white; }
.notselected .xforms-repeat-selected-item-4 { cursor: default; background-color: white; }

#error-summary .xforms-repeat-selected-item-1 { cursor: default; background-color: #F2F2F2; }
*/

.notselected .xforms-repeat-selected-item-1 { cursor: default; background-color: transparent; }
.notselected .xforms-repeat-selected-item-2 { cursor: default; background-color: transparent; }
.notselected .xforms-repeat-selected-item-3 { cursor: default; background-color: transparent; }
.notselected .xforms-repeat-selected-item-4 { cursor: default; background-color: transparent; }

#error-summary .xforms-repeat-selected-item-1 { cursor: default; background-color: transparent; }

/*
.xforms-repeat-selected-item-1 { cursor: default; background-color: white; }
.xforms-repeat-selected-item-2 { cursor: default; background-color: white; }
.xforms-repeat-selected-item-3 { cursor: default; background-color: white; }
.xforms-repeat-selected-item-4 { cursor: default; background-color: white; }
*/

.widget-tabs { width: 100%; }

.xforms-static.xforms-input span { margin-right: 0.5em; font-variant: small-caps; text-decoration: underline }
/*.xforms-static.xforms-output { margin-right: 1em; font-variant: small-caps; text-decoration: underline }*/
.xforms-static.xforms-select1 span { margin-right: 0.5em; font-variant: small-caps; text-decoration: underline }
.xforms-trigger-appearance-minimal img { margin-right: 0.5em; vertical-align: middle }

button.xforms-trigger img { padding: .1em .5em .1em .1em }

.xforms-template { visibility: hidden;}

span.assign-request textarea {
  width: 100%;
  height: 160px;
}

span.xforms-textarea textarea {
  /*float: left;*/
  width: 91%;
  height: 100%;
  vertical-align: middle;
}

span.xforms-textarea.short-text textarea {
  /*float: left;*/
  height: 100%;
}

span.xforms-textarea  {
  width: 100%;
  display: block;
  line-height: 160px;
  height: 160px;
}

span.xforms-textarea.short-text {
  line-height: 60px;
  height: 60px;
}

/*
span.xforms-textarea label {
  line-height: 1em;
  display: block;
  height: 1em;
}

span.xforms-textarea label.forms-hidden {
  display: none;
}
*/


/*
span.xforms-control {
 display: inline-block;
 margin-top: .4em; 
}
*/

span.hold-together {
 display: inline-block; 
}

td pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 width: 91%;
 margin: 0.1em;
}

label {
 display: inline-block; 
}

.long-text input {
  width: 30em;
}

.short-text input {
  width: 9.2em;
}

.mini-text input {
  width: 4em;
}


/*
p .xforms-type-date input {
  width: 3em;
}
*/

/*
.group-data-column { }
*/

/*.origin .group-data-table { width: 35em;}*/


.group-data-table { 
  width: 100%; 
  /*border-spacing: 0.3em;*/
  border-collapse: collapse; 
  table-layout: fixed;

  /*
  margin:0;
  padding:0;
  border:none;
  */    
}

/*
.group-data-table tr {
}
*/

.group-data-table.additive-rows > tbody > tr > td {
	border: 3px solid #f93;
  /*border-bottom:1px solid #000;*/
} 

.group-data-table > tbody > tr > td {
  padding: 5px;
}

.group-data-table-inner { 
  width: 100%; 
  /*border-spacing: 0.3em;*/
  border-collapse: collapse; 
  table-layout: fixed;
}

/*.heading-column { width: 14em; }*/
.heading-column { width: 10em; }
.heading-column-inner { width: 5em; }

.clear-right {
	clear: both;
}

.clear-left {
	clear: left;
}

.clear-both {
	clear: both;
}

.cistic {
	visibility: hidden; 
	clear: both;
	font-size: 0px;
	margin: 0px;
	padding: 0px;
	width: 0px;
	height: 0px;
	border: none;
}

.narrow-left-float {
  float: left;
  width: 12em;
}

.wide-left-float {
  float: left;
  width: 29em;
}

div.floating {
  border: 3px solid #f93;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}


div.floating p {
	/*display: inline;*/
	float: left;
	/*width: 17.3em;*/
	width: 12.1em;
	/*height: 1em;*/
	margin: 0.2em;
	border-left: 5px solid #f93;
	border-bottom: 2px solid #f93;
	padding: 0.5em;
	display: block;
	min-height: 3em; /*kvuli IE - neumí udělat stejně vysoký textbox a combo*/
}

div.floating div.table {
	margin: 0.2em;
	border-left: 5px solid #f93;
	border-bottom: 2px solid #f93;
	padding: 0.5em;
	display: block;
	min-height: 3em; /*kvuli IE - neumí udělat stejně vysoký textbox a combo*/
}

/*div.floating p.signature {
	width: 25.7em;
	font-variant: small-caps;
} */


div.short p {
	/*display: inline;*/
	width: 14em;
}

div.floating p label {
	font-style: normal;
	/*font-weight: bold;*/
	margin-right: 0.5em;
}

div.floating p label:first-child.xforms-label {
	display: block;
}

div.floating p.footer label:first-child.xforms-label {
	display: inline;
}

div.floating p.footer label:first-child.forms-hidden {
	display: none;
}

div.floating p.table label:first-child.xforms-label {
	display: inline;
}

div.floating p.table span {
	display: inline-block;
	margin-bottom: 0.5em;
}

div.floating p span.long-text { 
  display: inline-block; 
	margin-top: 0.5em;
}

div.floating p span.inline-block { 
	margin-top: 0.5em;
}

span.inline-block { 
  display: inline-block; 
}

table.group-data-table tr.top-line {
  border-top: 5px solid #FF9933;                                     
}

.help { display: block; font-style: italic; color: gray; }

/*td#barcode img { width: 400px; height: auto;}*/

img.icon { width: 96px; height: 96px;}

div.yui-dialog, div.yui-panel-container {
  /*left: 25%;*/
  width: 50%;               
}

div.xforms-help-panel {
  width: 100%;               
}


@media screen {
  .title,div.floating p.signature {display: none;}
	h2.group-title { display: none; } 
  /*html { width: 1000px; }*/
}

@media print {
	h2.group-title { font-variant: small-caps; font-size: 17px; /* font-weight: bold;*/ margin: 0px; padding: 0px; } 
	div.floating { border: 1px solid black; margin: 0em; padding: 1px;}
	div.floating p { border: 1px solid black; padding: 0em 0.1em; margin: 0em; min-height: 3em;}
	div.floating div.table { border: 1px solid black; padding: 0em 0.1em; margin: 0em; min-height: 3em;}
	div.floating p.control { display: none;}
	tr.control {display: none;}
	p.control {display: none;}
	.current-state { display: none; }
	tr.empty { display: none; }
	td.data-column p.empty { display: none; }
	button { display: none; }
	/*div.floating span { margin: 0em; padding: 0em;}*/
	/*span.help { display: none; }*/
  html {margin: 0; padding: 0;}
	body {font-size: 10px; margin: 0; padding: 0;}
	span {font-size: 10px;}
	html {font-size: 10px;}
	p {font-size: 10px;}
	div {font-size: 10px;}
	.forms-main-table { border: none; padding: 0; margin: 0; border-spacing: 0px; border-collapse: collapse; } /**/ 
	.xforms-repeat-selected-item-1 { background-color: white; }

	.group-heading-column { display: none; } 
	td.group-data-column { width: 100%; padding: 0; margin: 0; }

	.group-data-table {  width: 100%; padding: 0; margin: 0; border: 1px solid black; border-spacing: 0px; border-collapse: collapse; }
	.heading-column { border: 1px solid black; font-weight: bold; padding: 0.1em; width: 9.5em; }
	.data-column { border: 1px solid black; /*font-weight: bold;*/ padding: 0.1em; }

  table.group-data-table tr.top-line {border-top: 2px solid black;}

 	.group-data-table-inner { border: 1px solid black; border-spacing: 0px; border-collapse: collapse; }
	.heading-column-inner { border: 1px solid black; font-weight: bold; padding: 0.1em; width: 9.5em; }
	.data-column-inner { border: 1px solid black; /*font-weight: bold;*/ padding: 0.1em; }

  div.header { display: none; }
  /*div.body { margin-top: 0;}*/
  div.body { margin: 0; padding: 0; }
	div.repeatable { margin: 0px; padding: 0px; border: 0px; }  
  .forms-action-table { display: none; }
	.forms-gridtable { border-spacing: 0px; margin-top: 0.5em; margin-bottom: 0.5em;}
  .forms-gridtable th { border: 1px solid black; background-color: white; padding: 0.1em; }
	.forms-gridtable td { border: 1px solid black; padding: 0.1em;  }

  .xforms-label { margin-right: 0.2; }
	.xforms-static.xforms-input { text-decoration: none; }
	.xforms-static.xforms-select1 { text-decoration: none; }
	.xforms-static.xforms-select1 span { margin-right: 0.2; margin-left: 0.2;}
	/*.cistic {display: none;}*/
  /*td#barcode img { width: 400px; height: 3em;}*/
  /*td#barcode img { width: 400px; height: 35px;}*/
  br { display: none; }
  
  xforms-loading-none { display: none; }
  yui-panel-container { display: none; }
  yui-module          { display: none; }
  #_yuiResizeMonitor  { display: none; }  
   
}




/* Original CSS path: /apps/forms/forms/HNU/style-20120417.css */
/*.decubitus .heading-column { width: 16em; }*/

.patients div.floating p.footer {
	width: 95%;
	display: block;
}

.fall div.floating p {
	width: 9em;
}

.patients div.floating p {
	/*width: 10.2em; FF*/
	/*width: 11.6em;*/
	width: 10.0em;
  min-height: 3.75em; /*kdyby jméno vyšlo dělší a bylo by na dva řádky ať to nevypadá divně*/
}

.comments div.floating p {
	width: 11.2em;
	min-height: 6.6em; /*kvuli IE - neumí udělat stejně vysoký textbox a combo*/
}

.comments div.floating div.table {
	margin-left: 13.2em;
	min-height: 6.6em; /*kvuli IE - neumí udělat stejně vysoký textbox a combo*/
}

.health div.floating p {
	width: 11.2em;
	min-height: 9.2em; /*kvuli IE - neumí udělat stejně vysoký textbox a combo*/
}

.health div.floating div.table {
	margin-left: 13.2em;
	min-height: 9.2em; /*kvuli IE - neumí udělat stejně vysoký textbox a combo*/
}

.professionals div.floating p {
	width: 12.8em;
	/*width: 14.6em;*/	
}

div.floating p span.more-button + span.xforms-control {
	float: left;
}
div.floating p span.more-button button {
  margin-top: -0.6em;
  padding: 0 2px;
  float: right;
}


div.xforms-repeat-selected-item-2 { padding-top: 5px; border-top: 5px solid #FF9933; border-right: 5px solid #FF9933;  }

@media print {
/*.hnu-gender, .hnu-birthDate, .hnu-phone, .hnu-email */
	.economy, .incident-additional { display: none; }
	div.floating p.noprint { display: none; }
	.origin .heading-column { width: 9em; }
	.discovery .heading-column { width: 9em; }
	/*.patients div.floating p {width: 11.7em; }*/ /*toto je pro tisk zbytečně široké a nevleze se standard na jednu řádku*/
  /*.patients div.floating p {width: 10.3em; }*/
  .patients div.floating p {width: 8.7em; }
  .patients div.floating p.double {width: 17.4em; padding-right: 5px; }
  .patients div.floating p.footer {width: 100%; }
	.professionals div.floating p {width: 15em;}
	.comments div.floating p {width: 11em; min-height: 0em;}
	.comments div.floating div.table {	margin-left: 11.5em; min-height: 0em;}
	.health div.floating p {width: 11em; min-height: 0em;}
	.health div.floating div.table {	margin-left: 11.5em; min-height: 0em;}
	/*.professionals div.floating p.signature {width: 12em;}*/
  div.xforms-repeat-selected-item-2 {border-right: 0px; border-top: 0px;}
  
}
