html {
  background: whitesmoke;
}

.theme-dropdown .dropdown-menu {
  position: static;
  display: block;
  margin-bottom: 20px;
}

.old-modal-footer {
  text-align: right;
  padding: 15px 40px 10px 0px;
  background: whitesmoke;
  margin-top: 30px;
}

.cursor-pointer { cursor: pointer; }

.font12  { font-size: 1.2em; }
.font11  { font-size: 1.1em; }
.font09  { font-size: 0.9em; }
.font085 { font-size: 0.85em; }
.font08  { font-size: 0.8em; }
.font07  { font-size: 0.7em; }
.font-normal { font-weight: normal; }
.red { color: red; }
.darkred { color: #c40000;}
.dimgray { color: gray; }
.gray { color: gray; }
.lightgray { color: lightgray; }
.silver { color: silver; }
.green { color: green; }
.darkgreen { color: darkgreen; }

span.help {
  background: url('../img/icon-help.png') no-repeat 50% 50%;
  padding: 0px 5px 0px 18px;
  width: 1px;
  height: 1px;
  cursor: help;
}

.tooltip {
  font-size: 11px;
}

.tooltip-inner {
  min-width: 200px;
  max-width: 300px;
}

.table tbody>tr>td.vert-align{
  vertical-align: middle;
}

.cleaner {
  clear: both;
}

#loading-indicator {
  display:    none;
  position:   fixed;
  z-index:    1000;
  top:        0;
  left:       0;
  height:     100%;
  width:      100%;
  background: rgba( 255, 255, 255, .8 ) 
              url('../img/ajax-loader.gif') 
              50% 50% 
              no-repeat;
}

#loading-indicator-2 { /* Používá se, pokud je více AJAXů u stejného modulu - např. modul Produkty: Poprvé je loading-indicator definován pro Parametry a podruhé pro Související produkty - pak ten druhýn definovaný nefakčí. */
  display:    none;
  position:   fixed;
  z-index:    1000;
  top:        0;
  left:       0;
  height:     100%;
  width:      100%;
  background: rgba( 255, 255, 255, .8 ) 
              url('../img/ajax-loader.gif') 
              50% 50% 
              no-repeat;
}

a.neaktivni {
  color: silver;
}
/* Modal window */

#myBtn{
  cursor: pointer;
  text-decoration: none;
}

#myBtn:hover{
  text-decoration: none;
}

  /* The Modal (background) */
.old-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.old-modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.old-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.old-close:hover,
.old-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Header */
.old-modal-header {
    padding: 2px 16px;
    background-color: #F5F5F5;
    color: black;
}

/* Modal Body */
.old-modal-body {padding: 2px 16px;}
.old-modal-body div {
  padding: 10px 0;
}

/* Modal Content */
.old-modal-content {
    position: relative;
    background-color: #fefefe;
    padding: 0;
    border: 1px solid #888;
    width: 700px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* end Modal window */

/* D.K. vylepšení */
table .collapse.in {
	display: table-row;
}

table tr.trvalign td {
  text-align: center;
  vertical-align: middle;
}

.orange {
  color: darkorange;
}

.red {
  color: red;
}

.text-bold {
  font-weight: bold;
}

td.clickable-td {
  cursor: pointer;
}

div.modal-body-pre-wrap, div.modal-body-pre-wrap p {
  white-space: pre-wrap;
}

.input-lg {
  font-size: 14px;
}

.info-popover, .clickable {
  cursor: pointer;
}

.cc_poznamka {
  white-space: pre-wrap;
  max-width: 480px;
}

.text_pre {
  white-space: pre;
}

@media (min-width: 768px) {
  .text_no_wrap {
    white-space: nowrap;
  }
  .action_tlacitka {
    min-width: 98px;
    max-width: 98px;
  }
}

@media (max-width: 767px) {
  .text_no_wrap {
    white-space: normal;
  }
  .action_tlacitka {
    min-width: 48px;
    max-width: 48px;
  }
}

#ukolybody {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.panel-placeholder {
	border: 1px dotted black;
	margin: 1em 1em 1em 1em;
	height: 50px;
}

#ajax-loader-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1060;
  background-color: #000;
  opacity: .5;
}

#ajax-loader {
  position: fixed;
  z-index: 1061;
  top: 45%;
  left: 45%;
  display: block;
}

tr.row-top-spacer td {
  border-top: 10px solid #ddd !important;
}

a.panel-head {
  color: inherit;
}

.ui-sortable-handle {
  cursor: move;
}

.typeahead.dropdown-menu {
  width: max-content;
}