/* SITE v2 */

BODY {
  font-family:  Verdana, Arial; font-size: 12px;
  line-height: 1.4;
  background-color: #eee;
  margin: 0px;
}

TD, TH {
  font-family:  Verdana, Arial; font-size: 12px;
}

input {margin:0px;}

DIV.site-top {
  position: relative;
  background: white;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 3px solid #008c4f;
  width: 80%;
  min-width: 998px;
  height: 100px;
  padding: 0px 20px;
  margin: 0px;
  text-align: left;
}

DIV.site-content {
  background: white;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  width: 80%;
  min-width: 998px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 1px;
  text-align: left;
  min-height:500px;
  overflow-x: auto;
}

DIV.site-footer {
  clear: both;
  background-color: #008c4f;
  color: white;
  height: 25px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  width: 80%;
  min-width: 998px;
  padding: 5px 20px;
  padding-top: 14px;
  text-align: left;
}

.top-logo {
  padding-top: 32px;
  padding-left: 10px;
}

.top-logo, .top-logo span {
  font-size: 30px;
  font-family: "Roboto",sans-serif;    
}

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -64px; /* half width of the spinner gif */
    margin-top: -64px; /* half height of the spinner gif */
    text-align:center;
    z-index:1234;
    overflow: auto;
    width: 128px; /* width of the spinner gif */
    height: 130px; /*hight of the spinner gif +2px to fix IE8 issue */
}

img {
    border: none;
    vertical-align: middle;
}

A {color: #008c4f;}

/* NADPISY */

H1 {
  font-size: 18px;
  font-variant: small-caps;
  color: #008c4f;
  letter-spacing: 5px;
  font-weight: bold;
  margin: 0px;
  margin-bottom: 5px;
  margin-top: 5px;
}
 
H2 {
  font-size: 12px;
  color: #008c4f;
  font-weight: bold;
  margin: 0px;
  margin-bottom: 5px;
}

H3 {
  font-size: 12px;
  font-weight: bold;
  margin: 0px;
}

/* RAMECKY */

P.blue {
  width: 500px;
  background-color: #eef;
  padding: 10px;
}

P#info, P.message {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;

  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  cursor: pointer;
}

P.warning, P.error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;

  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  cursor: pointer;
}

/* FORM INTRANET */

FORM {margin: 0px}

FORM.intranet LABEL, FORM.intranet LEGEND {
  color: black;
}

FORM.intranet  {
  margin-top: 2px;
  border: 1px solid gray;
  border-radius: 2px;
  box-shadow: 1px 1px 1px 0px #eee;
  padding: 3px;
}

FORM.intranet .footer {
  padding: 2px;
  background-color: #F8F8F8;
  margin-top: 5px;
  clear:both;
}

FORM.intranet FIELDSET {
  border: 1px solid gray;
  background-color: #F8F8F8;
  margin: 4px;
  -moz-border-radius: 4px;
}

FORM.intranet H1 {
 background-color: #008c4f;
 color: white;
 letter-spacing: 0px;
  font-size: 15px;
  padding: 6px;
  padding-left: 10px;
  padding-top: 4px;
  margin-top: 0px;
  margin-bottom: 5px;
}

FORM.intranet INPUT, FORM.intranet TEXTAREA, FORM.intranet SELECT {
  border: 1px solid black;
  background-color: #FFF7C9;
}

FORM.intranet TEXTAREA {
  resize: vertical;
  width: 100%;
}

FORM.intranet INPUT.disabled, FORM.intranet TEXTAREA.disabled, FORM.intranet SELECT.disabled {
 background-color: white;
}

FORM.intranet input[type="file"] {
  border-width: 0px;
  background-color: white;
}

FORM.intranet .button {
  border: 1px solid #666;
  cursor: pointer;
  border-radius: 2px;
  background: white url(../../common/images/iko-button.gif) no-repeat left;
  padding: 3px;
  padding-left: 22px;
  padding-right: 5px;
  margin: 2px;
}

FORM.intranet .button.disabled {
  background-color: #F8F8F8;
  cursor: default;
}

FORM.intranet .button.green {
  background-color: #d4edda;
}

FORM.intranet .button.disabled:hover, FORM.intranet SPAN .button.disabled:hover {
  background-color: #F8F8F8;
}

FORM.intranet B .button {
  background: white url(../../common/images/iko-ok.gif) no-repeat left;
}

FORM.intranet I .button {
  background: white url(../../common/images/iko-delete.gif) no-repeat left;
}

FORM.intranet S .button {
  background: white url(../../common/images/iko-cancel.gif) no-repeat left;
}

FORM.intranet .button:hover, FORM.intranet SPAN .button:hover {
  background-color: #ddd;
}

SPAN.err {
  color: red;
  font-weight: bold;
}

SPAN.highlight {
  color: red;
}

FORM.intranet INPUT.err, FORM.intranet SELECT.err, FORM.intranet TEXTAREA.err {
  background-color: yellow;
}

input[type=checkbox], input[type=radio] { filter: hue-rotate(270deg) saturate(90%) }

/* PREHLEDY */

TABLE.list TH {
  background-color: #eeedde;
  text-align: left;
  padding: 4px 2px;
  padding-top: 5px;
  border-bottom: 3px solid #ccc;
}

TABLE.list TD {
  border-bottom: 1px solid #E5E5E5;
  height: 21px;
  padding-right: 5px;
}

TABLE.list TR:hover {
  background-color: #f4f3dB;
}

DIV.pager {
  font-size: 12px;
  text-align: left;
  padding: 4px 2px;
  margin-top: 18px;
  border-top: 3px solid #ccc;
}

.pcl-error {
  font-family: monospace;
  font-size: 12px;
  white-space: pre;
}

/* from /styles.css */

H2.calendar {
  font-size: 18px;
  padding-top: 10px;
  color: blue;
}

H2.calendar-top {
  font-size: 18px;
  padding: 0px;
  color: red;
}


.today H2.calendar {
  color:magenta;
  font-style: italic;
}

.calendar-top {
  padding: 4px;
  background-color: #f5fcf8;
}

.sel-month #MONTHVIEW { font-weight: bold }
.sel-week #WEEKVIEW {  font-weight: bold }
.sel-day #DAYVIEW {  font-weight: bold }
.sel-day-people #DPVIEW {  font-weight: bold }
.sel-month-people #MPVIEW {  font-weight: bold }

div.filterinfo {
 padding-top: 4px;
 padding-bottom: 2px;
 color:gray;
 font-weight: bold;
}

IMG.acbutton {
  vertical-align: top;
}

.autocomplete-big {
  width: 330px;
}

FORM.intranet .search .button {
  background-image: url(../../common/images/iko-search.gif);
}

FORM.intranet .user .button {
  background-image: url(../../common/images/iko-user.gif);
}

FORM.intranet .print .button {
  background-image: url(../../common/images/iko-print.gif);
}

FORM.intranet .word .button {
  background-image: url(../../common/images/iko-word.gif);
}

FORM.intranet .calendar .button {
  background-image: url(../../common/images/btn-calendar.gif);
}

FORM.down {
border-width: 0px;
border-top: 1px dotted #ddd;
padding-top: 5px;
}

FORM.noborder {
border: 0px;
padding: 0px;
}

FORM.blue {
padding: 5px;
margin-top: 10px;
border: 1px solid blue;
background-color: #eef;
}

TR.selected {
background-color: #eef;
}

/* scroll table */

div.scroll {
  max-height: 400px;  /* must be greater than tbody*/
  overflow: auto;
  margin: 0 auto;
}

SPAN.separ { display: block; }
SPAN.item { padding-right: 10px;}

TR.link { cursor: pointer; }

A.hilite { color: red; }

FORM.search { position:relative; }

.hidden { display:none; }

.flex { display: flex; }

a.disabled {
  pointer-events: none;
  cursor: default;
  color: gray;
}

.trimmed {
  display: inline-block;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;  
}

.value-empty { display:none; }
.value-not-empty {}

.autocomplete {
  background-image: url(../../common/images/btn-autocomplete.gif);
  background-repeat: no-repeat;
  background-position: right;
}

.button-link {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid #999;
  border-radius: 4px;
  color: black;
  background-color: #e9e9ed;
  margin: 2px;
  text-decoration: none;
}

.button-link:hover {
  filter: brightness(0.9);
}

.form-justify {width:100%;}
.form-justify td {width:10%; padding:2px; }
.form-justify input, .form-justify select, .form-justify textarea {
  width:100%;
  box-sizing:border-box;
}
.form-justify input.button {margin:0px;}

.form-justify input.check, .form-justify input.radio {
  width:auto;
}

td.price, th.price {
  text-align: right;
  padding-right: 5px;
}