body {
  margin: 0px;
  padding: 0px;
  font-family: "Arial CE", Helvetica, sans-serif;
  font-size: 70%;
}

hr {
  float: none;
  clear: both;
  line-height: 0px;
  border: 0 none;
  border-top: 1px solid #000;
  height: 1px;
}

p {
  margin: 0 0 10px 0;
}

img {
  border: 0px none;
}

h1,
h2,
h3,
h4,
h5,
#menu {
  margin: 0px;
  font-family: Tahoma, Verdana, "Arial CE", Arial, Helvetica, sans-serif;
}

.clear,
.clearleft {
  width: 0px;
  height: 0px;
  margin: 0px;
  padding: 0px;
  float: none;
  line-height: 0px;
  font-size: 0px;
  border: 0px none;
}

.clear {
  clear: both;
}

.clearleft {
  clear: left;
}

/*====================================*/
#body {
  width: 100%;
  background: url(../images/bg-body.jpg) right repeat-y;
}

#head {
  position: relative;
  width: 100%;
  border-bottom: 1px solid #fff;
}

#top {
  text-align: center;
  border-bottom: 1px solid #fff;
}

#top h1 {
  position: relative;
  left: -100px;
  padding-top: 20px;
  font-weight: bold;
  font-style: italic;
  font-size: 22px;
}

#logo {
  width: 200px;
  float: left;
  height: 70px;
  margin: 0px;
  background: url(../images/bg-logo.jpg) left no-repeat;
}

#logo img {
  margin: 10px auto;
  box-shadow: 1px 2px 3px #282827;
}

#pruh {
  width: 100%;
  height: 17px;
  text-align: right;
  background: #ffe5b4;
  border-top: 1px solid #D1C8DD;
  border-bottom: 1px solid #D1C8DD;
}

#pruh .pruh_datt {
  display: block;
  float: right;
  padding: 2px 10px 0 10px;
}

#pruh .log {
  float: right;
  padding: 2px 10px 0 10px;
}

#pruh .unlog a {
  float: right;
  height: 15px;
  padding: 2px 10px 0 10px;
  color: #000;
  background: #D1C8DD;
  text-decoration: none;
}

#pruh .unlog a:hover {
  color: #fff;
  background: #fb9902;
}

/*====================================*/
#menu.vertical {
  position: absolute;
  left: 0;
  top: 91px;
  width: 180px;
  padding: 0 10px;
  overflow: auto;
}

#menu.vertical ul {
  margin: 0px;
  padding: 10px 0;
  font-size: 13px;
  list-style-type: none;
}

#menu.vertical ul ul {
  padding: 0;
}

#menu.vertical ul li {
  padding-top: 1px;
}

#menu.vertical ul li.hr {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #fb9902;
}

#menu.vertical ul a {
  display: block;
  width: 100%;
  padding: 1px 0 2px 18px;
  text-decoration: none;
  font-weight: bold;
  color: #cb410b;
  box-sizing: border-box;
}

#menu.vertical ul ul a {
  padding: 1px 0 2px 40px;
  font-weight: normal;
}

#menu.vertical ul a:hover {
  color: #fff;
  background: #fb9902;
}

/*====================================*/
#menu.horizontal {
  position: absolute;
  left: 18px;
  top: 2px;
  width: 60%;
}

#menu.horizontal ul {
  position: absolute;
  margin: 0px;
  padding: 0px;
  font-size: 12px;
  list-style-type: none;
}

#menu.horizontal ul li {
  position: relative;
  float: left;
}

#menu.horizontal ul li.unlog {
  display: none;
}

#menu.horizontal ul a {
  display: block;
  height: 16px;
  padding: 1px 10px 0 10px;
  text-decoration: none;
  font-weight: bold;
  color: black;
}

#menu.horizontal ul ul {
  top: 17px;
  width: 110px;
  border: 1px solid #D1C8DD;
  display: none;
}

#menu.horizontal ul ul a {
  width: 101px;
  height: 16px;
  padding: 2px 0 0 9px;
  font-weight: normal;
  background: #ffe5b4;
}

#menu.horizontal ul ul ul {
  top: 0px;
  left: 110px;
}

#menu.horizontal ul a.active {
  color: #fff;
  background: #fb9902;
}

#menu.horizontal ul ul a.active {
  color: #cb410b;
  background: #D1C8DD;
}

/*====================================*/
#page {
  /*position:relative;*/
  min-width: 820px;
  min-height: 400px;
  -height: 400px;
  border-bottom: 1px solid #cb410b;
}

#content {
  /*position:relative;*/
  padding: 0 10px 20px 10px;
}

/*====================================*/
.content_head {
  padding-top: 10px;
}

#alert {
  height: 18px;
  padding: 2px 0;
  margin-bottom: 10px;
  font-weight: bold;
  background-color: #ffe5b4;
  border: 1px solid #fb9902;
}

#alert img {
  margin: 0 10px;
  vertical-align: middle;
}

#alert span {
  font-weight: normal;
}

#alert span.blue {
  color: blue;
}

/*====================================*/
.pagemenus_bar {
  padding: 0 12px 0 10px;
}

.pagemenus {
  margin: 0 10px;
  font-family: Tahoma, Verdana, "Arial CE", Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #cb410b;
}

.pagemenus_bar .pagemenus {
  margin: 0;
}

.pagemenus img {
  position: absolute;
  left: -1px;
  top: -1px;
}

.pageheader {
  float: left;
  position: relative;
  padding: 3px 10px;
  margin-right: 3px;
  font-weight: bold;
  background: #D1C8DD url(../images/buttonhower.jpg);
  border: 1px solid #fb9902;
  border-bottom: 0px;
  cursor: default;
}

.pagemenu {
  float: left;
  position: relative;
  padding: 3px 10px;
  margin-right: 3px;
  color: #000;
  background: #ffe5b4;
  border: 1px solid #fb9902;
  border-bottom: 0px;
  text-decoration: none;
  cursor: pointer;
}

.pagemenu.hover {
  color: #fff;
  background: #fb9902;
  border: 1px solid #fb9902;
  border-bottom: 0px;
}

.pagemenus_bar .pagemenu {
  color: #cb410b;
  font-weight: bold;
  background: #D1C8DD url(../images/buttonhower.jpg);
  cursor: default;
}

#pg0_c,
#pg1_c,
#pg2_c,
#pgA_c,
#pgB_c,
#pgC_c,
#pgG_c,
#pgK_c {
  visibility: hidden;
}

/*====================================*/
.right_part {
  float: right;
  width: 300px;
}

.left_part {
  margin-right: 300px;
}

.filters_bar,
.plan_filters {
  position: relative;
  border-bottom: 1px solid #D1C8DD;
}

form .right_part {
  background: #ffe5b4;
  border-left: 1px solid #fb9902;
}

.wrap {
  position: relative;
}

.wrap_head {
  left: 1px;
  top: 1px;
  width: 100%;
  text-align: left;
  overflow: hidden;
}

.content_scroll {
  width: 100%;
  display: inline-block;
  overflow: auto;
}

.content_scroll.no_table {
  border-bottom: 1px solid #fb9902;
}

.content_scroll.for_table {
  border: 1px solid #fb9902;
  box-sizing: border-box;
}

/*====================================*/
#popOverlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  background: #000;
  display: none;
  z-index: 1;
}

#popBody {
  position: absolute;
  top: 0px;
  left: 0px;
  text-align: center;
  display: none;
  z-index: 1;
}

#addplan,
#addpozn,
#updatetime,
#smalluptime,
#updatepozn,
#delplan,
#tdcolors,
#popup_search,
#realfalse,
#real_ex,
#summary,
#setteam,
#addvyp,
#explorer,
#sendmail,
#popup,
#sklostav,
#sklo-admin,
#sklo-audit,
#explorer-karty {
  width: 60%;
  margin: 30px auto;
  padding: 10px 20px;
  text-align: left;
  border: 1px solid #000;
  background: #ddd;
  display: none;
}

#addplan {
  padding: 15px;
  background: #5174B5;
}

#tdcolors {
  width: 128px;
}

#real_ex {
  width: 260px;
}

#smalluptime,
#summary {
  width: 210px;
}

#popBody iframe {
  border: 0px none;
  width: 100%;
  height: 200px;
}

#explorer,
#explorer-karty {
  width: 780px;
  height: 500px;
  margin: 10px auto;
  padding: 0;
}

#popBody #explorer iframe,
#popBody #explorer-karty iframe {
  height: 500px;
}

#sendmail,
#addplan {
  height: 320px;
}

#popBody #addplan iframe,
#popBody #sendmail iframe,
#popBody #real_ex iframe {
  height: 320px;
}

#popup {
  width: 600px;
  margin: 10px;
  padding: 0;
  height: 400px;
}

#popBody #popup iframe {
  height: 400px;
}

#setdobr iframe,
#setfa iframe {
  border: 0px none;
  width: 100%;
  height: 455px;
}

.lastfa {
  margin: 5px;
  padding: 9px;
  background: #00FFFF;
}

/*====================================*/
.blok {
  width: 400px;
  padding: 7px;
  margin: 0 auto 10px auto;
  background-color: #ffe5b4;
  border: 1px solid #8a96b4;
}

.blok-cb {
  width: 400px;
  padding: 7px;
  margin: 0 auto 10px auto;
  color: #777;
  background-color: #eee;
  border: 1px solid #999;
}

.blok a {
  font-weight: bold;
  font-size: 110%;
  color: #4a5f7a;
}

.blok a:hover {
  color: #000;
}

.blok img,
.blok-cb img {
  float: left;
  width: 32px;
  height: 32px;
  margin-right: 15px;
}

/*====================================*/
.blue {
  color: blue;
}

.red {
  color: red;
}

.green {
  color: green;
}

/* sklady -------------------------------------------- */
.stav,
a.akce {
  padding: 2px 5px;
  cursor: pointer;
  transition: filter ease 1s;
  text-decoration: none !important;
}

a.akce {
  border: 1px solid gray;
  background-color: white;
  color: black;
}

a.butt {
  border-radius: 5px;
  font-size: 1rem;
}

.stav:hover,
a.akce:hover {
  filter: drop-shadow(0px 0px 4px black);
  transition: filter ease 0.3s;
}

.stav.neni_karta {
  background: black;
  border: 1px solid white;
  color: white;
}

.stav.neni_eurokod {
  background: rgb(248, 214, 214);
  border: 1px solid gray;
  color: gray;
}
.stav.vymena.neni_eurokod {
  background: red;
  border: 1px solid white;
  color: white;
}

.stav.chyba {
  background: red;
  border: 1px solid yellow;
  color: yellow;
}

.stav.na_sklade {
  background: green;
  border: 1px solid yellow;
  color: yellow;
}

.stav.objednat,
a.objednat {
  background: blue;
  border: 1px solid white;
  color: white !important;
}

.stav.objednano {
  background: rgb(166, 166, 255);
  border: 1px solid black;
  color: black;
}

.stav.rezervovano,
.rezervovano {
  background: orange;
  border: 1px solid black;
  color: black;
}

.stav.skladem,
a.akce.rezervovat {
  background: green;
  border: 1px solid yellow;
  color: yellow !important;
}

.sklad-popis strong {
  font-size: 15px;
}

.stav.neni {
  background: white;
  border: 1px solid blue;
  color: black;
}

.stav.v-aute,
.stav.mimo,
.stav.pouzito {
  background: white;
  border: 1px solid gray;
  color: black;
}

.stav.v-aute img {
  width: 10px;
  height: 11px;
}

.stav.navrat {
  background: #ffffca;
  border: 1px solid gray;
  color: black;
}

.stav.zruseno,
.stav.vraceno {
  background: #BBBBBB;
  border: 1px solid gray;
  color: black;
}

.stav.pouzito {
  background: #c2e9c2;
  border: 1px solid green;
  color: black;
}

.stav.big {
  font-size: 15px;
}

.stav-akce .stav {
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 10px 30px;
  display: block;
  float: left;
  font-size: 15px;
  border-radius: 5px;
}

.stav-akce .umistit-na-sklad .stav {
  margin: 5px;
  padding: 5px 15px;
}

.umistit-na-sklad {
  padding: 5px;
  border: 1px solid gray;
}

span.prislusenstvi {
  padding: 1px 5px;
  border: 2px solid blue;
  margin: 0px 5px;
  font-weight: normal;
  border-radius: 5px;
}

span.nahrada {
  padding: 1px 5px;
  border: 1px solid gray;
  margin: 0px 5px;
  font-weight: normal;
  font-size: 70%;
  color: gray;
}

table.audit-table {
  border-collapse: collapse;
  padding: 5px;
  border: 1px solid gray;
  font-size: 0.8rem;
}
table.audit-table th,
table.audit-table td {
  padding: 5px;
  border: 1px solid gray;
}
table.audit-table th {
  font-style: italic;
  background-color: gray;
}

table.skladem {
  border-collapse: collapse;
}

table.skladem th,
table.skladem td {
  padding: 5px;
  border: 1px solid gray;
}

#popBody .stavy table.detail {
  border-collapse: collapse;
  margin-top: 10px;
}

#popBody .stavy table.detail th,
#popBody .stavy table.detail td {
  padding: 5px;
  border: 1px solid gray;
  background-color: white;
}

#popBody .sklo-skladem {
  border: 1px solid black;
  padding: 10px;
  margin: 10px 0px;
  background-color: rgb(179, 218, 179);
}



table.skladem tr:hover {
  background-color: #f5f5f5;
}

#sklostav,
#sklo-admin {
  width: 90%;
}

#sklostav .karta,
#sklo-admin .karta {
  border: 1px solid black;
  padding: 10px;
  margin: 10px 0px;
  background-color: #EEE;
}

/* combo pro sklady */
form select.auto-width {
  width: auto !important;
}

span.sklo-original,
span.sklo-bauset,
span.sklo-listy {
  border: 1px solid yellow;
  background-color: #5174B5;
  font-weight: bold;
  color: yellow;
  padding: 3px;
  margin-left: 2px;
}
span.sklo-bauset {
  border: 1px solid #bfe1ec;
  color: #bfe1ec;
}
span.sklo-listy {
  border: 1px solid #f5b298;
  color: #f5b298;
}

#route-info {
  border: 1px solid gray;
  background-color: white;
  padding: 3px;
  font-size: 15px;
  margin-top: 10px;
  display: none;
}

/* autocomplete ve form_order.php */
  .autocomplete {
    position: relative;
  }

  .autocomplete-results {
    position: absolute;
    background-color: #FFF;
    border: 1px solid #828177;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    /* min-height: 1rem;
    overflow: auto;*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  ul.autocomplete-results li {
    list-style: none;
    text-align: left;
    padding: 4px 2px;
    cursor: pointer;
    border-bottom: 1px solid #aaa;
  }

  ul.autocomplete-results li.active,
  ul.autocomplete-results li:hover {
    background-color: #4AAE9B;
    color: white;
  }