@charset "UTF-8";
/** verze 20180418 */
/**
  * Import výchozího stylu
  */
/**
  * Import základních stylů
  */
/**
  * Reset prvků
  */
@media all {
  html, body, div, span, applet, object, iframe,
  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  a, abbr, acronym, address, big, cite, code,
  del, dfn, em, img, ins, kbd, q, s, samp,
  small, strike, strong, sub, sup, tt, var,
  b, u, i, center,
  dl, dt, dd, ol, ul, li,
  fieldset, form, label, legend,
  table, caption, tbody, tfoot, thead, tr, th, td,
  article, aside, canvas, details, embed,
  figure, figcaption, footer, header, hgroup,
  menu, nav, output, ruby, section, summary,
  time, mark, audio, video,
  input, select, textarea, button {
    background: transparent no-repeat left top;
    border: 0;
    color: inherit;
    font-size: 100%;
    font: inherit;
    margin: 0;
    outline: none;
    padding: 0;
    vertical-align: baseline; }
  article, aside, details, figcaption, figure,
  footer, header, hgroup, menu, nav, section {
    display: block; }

  body {
    font-size: 62.5%;
    line-height: 1; }

  ol, ul {
    list-style: none; }

  blockquote, q {
    quotes: none; }

  blockquote:before, blockquote:after,
  q:before, q:after {
    content: '';
    content: none; }

  table {
    border-collapse: collapse;
    border-spacing: 0; } }
/**
  * Mixiny
  */
/**
  * Clearfix
  */
/**
  * Element bez textu
  */
/**
  * Bezpatkové písmo
  */
/**
  * Barvy
  */
/**
  * Písma
  */
/**
  * Fonty
  */
/**
  * Velikosti písem
  */
/**
  * Výška řádku
  */
/**
  * Odstupu
  */
/**
  * Zobrazení na obrazovkách
  */
@media screen {
  /**
    * Hlavní elementy
    */
  html {
    background: #ffffff repeat-x left top; }

  body {
    background: transparent repeat-x left bottom;
    color: #666666;
    -webkit-text-size-adjust: none; }

  /**
    * Layout
    */
  div.layout.page {
    margin: 0 auto;
    overflow: visible;
    position: relative;
    width: 960px; }
    div.layout.page::before, div.layout.page::after {
      content: " ";
      display: table; }
    div.layout.page::after {
      clear: both; }

  header.layout {
    background: transparent;
    height: 125px;
    position: relative; }

  footer.layout {
    background: transparent;
    clear: both;
    position: relative; }

  div.layout.content::before, div.layout.content::after {
    content: " ";
    display: table; }
  div.layout.content::after {
    clear: both; }

  aside {
    position: relative; }

  aside.widgets {
    position: static; }

  /**
    * Hlavička webu
    */
  header.layout a.logo {
    background: transparent no-repeat center center;
    display: inline-block;
    overflow: hidden;
    text-indent: -9999px;
    background: url("../../foundation/images/logo.png") no-repeat center top;
    height: 60px;
    left: 0;
    position: absolute;
    top: 25px;
    width: 263px; }
    header.layout a.logo:hover {
      background-position: center bottom; }

  /**
    * Patička webu
    */
  footer.layout p.copyright {
    margin: 0; }
    footer.layout p.copyright::before, footer.layout p.copyright::after {
      content: " ";
      display: table; }
    footer.layout p.copyright::after {
      clear: both; }
    footer.layout p.copyright a.logo.extra-web {
      background: transparent no-repeat center center;
      display: inline-block;
      overflow: hidden;
      text-indent: -9999px;
      background: url("../../foundation/images/logo-extra-web.png") center top;
      float: right;
      height: 20px;
      width: 88px; }
      footer.layout p.copyright a.logo.extra-web:hover {
        background-position: center bottom; }

  /**
    * Stereotypy
    */
  .hidden {
    display: none; }

  /**
    * Tlačítka
    */
  .button {
    display: inline-block;
    text-align: center; }

  /**
    * Text
    */
  h1, h2, h3, h4,
  p,
  td, th,
  li, dt, dd,
  legend, label, button, input, select, textarea,
  pre {
    line-height: 1.75em; }

  h1, h2, h3, h4 {
    font-family: "Helvetica", "Arial", sans-serif;
    line-height: 1.25em;
    margin: 2em 0 0 0; }

  h1 {
    font-size: 200%;
    margin: 0; }

  h2 {
    font-size: 160%; }

  h3 {
    font-size: 140%; }

  h4 {
    font-size: 120%; }

  p,
  td, th,
  li, dt, dd,
  legend, label, button, input, select, textarea {
    font-family: "Helvetica", "Arial", sans-serif;
    font-size: 120%; }

  p,
  ol, ul, dl {
    margin: 2em 0 0 0; }

  ol {
    list-style: decimal; }

  ul {
    list-style: disc; }

  li, dt, dd {
    line-height: 1.25em; }
    li li, li p, dt li, dt p, dd li, dd p {
      font-size: 100%; }

  li {
    margin: 1em 0 0 1.5em; }

  pre {
    font-family: "Monaco", "Courier", monospace;
    font-size: 120%;
    margin: 2em 0 0 0; }

  a {
    color: #0096ff;  /* pův. #006ecc */
    text-decoration: underline; }
    a:hover, a:active, a:focus, a:visited {
      text-decoration: none; }

  strong {
    font-weight: bold; }

  em {
    font-style: italic; }

  /**
    * Zarovnání
    */
  .alignleft {
    float: left;
    margin: 1em 2em 2em 0; }

  .alignright {
    float: right;
    margin: 1em 0 2em 2em; }

  /**
    * Menu
    */
  nav ul, nav ol,
  nav li {
    display: block;
    margin: 0; }
  nav li {
    line-height: 1em;
    list-style: none; }
  nav.primary {
    bottom: auto;
    height: 50px;
    left: auto;
    position: absolute;
    right: 0;
    top: 60px; }
    nav.primary ul.level-1::before, nav.primary ul.level-1::after {
      content: " ";
      display: table; }
    nav.primary ul.level-1::after {
      clear: both; }
    nav.primary li.level-1,
    nav.primary a.level-1 {
      display: block;
      float: left; }
    nav.primary a.level-1 {
      margin-left: 1em;
      white-space: nowrap; }

  /**
    * Administrační lišta
    */
  nav.admin {
    background: white url("../../foundation/images/admin/background.jpg") repeat center center;
    border-right: 1px solid rgba(255, 255, 255, 0.9);
    bottom: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    left: -54px;
    opacity: 0;
    padding: 8px;
    position: fixed;
    top: 0;
    width: 64px;
    z-index: 9999;
    -webkit-transition: opacity 0.5s linear, left 0.5s ease-in-out; }
    nav.admin:hover {
      left: 0;
      opacity: 1; }
    nav.admin ul {
      text-align: center; }
    nav.admin a {
      background: transparent no-repeat center center;
      display: inline-block;
      overflow: hidden;
      text-indent: -9999px;
      background-color: rgba(255, 255, 255, 0.75);
      background-position: center top;
      background-repeat: no-repeat;
      border: 1px solid rgba(255, 255, 255, 0.75);
      border-radius: 4px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) inset;
      height: 48px;
      opacity: 0.75;
      position: relative;
      width: 48px;
      -webkit-transition: all 0.25s linear;
      /**
        * Jednotlivé položky
        */ }
      nav.admin a:hover {
        background-position: center bottom;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.25) inset;
        opacity: 1; }
      nav.admin a.warning::after {
        background: transparent no-repeat center center;
        display: inline-block;
        overflow: hidden;
        text-indent: -9999px;
        background: url("../../foundation/images/admin/warning.png") no-repeat center center;
        content: "";
        display: block;
        height: 12px;
        position: absolute;
        right: 5px;
        top: 5px;
        width: 13px; }
      nav.admin a.wp {
        background-image: url("../../foundation/images/admin/wp.png"); }
      nav.admin a.home {
        background-image: url("../../foundation/images/admin/home.png"); }
      nav.admin a.edit {
        background-image: url("../../foundation/images/admin/edit.png"); }
      nav.admin a.robots {
        background-image: url("../../foundation/images/admin/robots-on.png"); }
      nav.admin a.robots.robots-off {
        background-image: url("../../foundation/images/admin/robots-off.png"); }
      nav.admin a.robots-file {
        background-image: url("../../foundation/images/admin/robots-file.png"); }
      nav.admin a.sitemap-file {
        background-image: url("../../foundation/images/admin/sitemap-file.png"); }
      nav.admin a.validator {
        background-image: url("../../foundation/images/admin/validator.png"); }

  /**
    * Formuláře
    */
  form::before, form::after {
    content: " ";
    display: table; }
  form::after {
    clear: both; }
  form div.form-field {
    margin: 1em 0; }
    form div.form-field::before, form div.form-field::after {
      content: " ";
      display: table; }
    form div.form-field::after {
      clear: both; }
  form button,
  form input,
  form label,
  form select,
  form textarea {
    box-sizing: border-box;
    display: block;
    float: left;
    line-height: 1.25em;
    padding: 0.5em 0.5em;
    vertical-align: top; }
  form button,
  form input,
  form select,
  form textarea {
    background: #ffffff;
    border-radius: 2px; }
  form input,
  form select,
  form textarea {
    border: 1px solid #d0d0d1;
    box-shadow: 0 3px 3px #f0f0f0 inset;
    opacity: 0.75; }
    form input:hover, 
    form input:focus,
    form select:hover,
    form select:focus,
    form textarea:hover,
    form textarea:focus {
      opacity: 1; }
  form label {
    padding-left: 0;
    width: 20%; }
    form label.required {
      font-weight: bold; }
      form label.required::after {
        content: " *"; }
  form button {
    border: 1px solid #d0d0d1;
    box-shadow: 0 3px 3px #f0f0f0;
    cursor: pointer;
    margin-left: 20%;
    padding: 0.75em; }
    form button:focus, form button:hover {
      color: #0096ff;  /* pův. #006ecc */
      border-color: #0096ff;}  /* pův. #006ecc */
  form input,
  form select {
    width: 40%; }
  form textarea {
    height: 10em;
    resize: none;
    width: 60%; }
  form div.form-group::before, form div.form-group::after {
    content: " ";
    display: table; }
  form div.form-group::after {
    clear: both; }
  form div.form-group.left {
    float: left; }
  form div.form-group.right {
    float: right; }
  form ul.choices, form ol.choices,
  form li.choice {
    display: block;
    margin: 0; }
  form li.choice {
    font-size: 100%;
    line-height: 1em;
    list-style: none;
    padding: 0.5em 0; }
    form li.choice label,
    form li.choice input {
      display: inline-block;
      padding: 0;
      vertical-align: baseline;
      width: auto; }
    form li.choice label {
      margin: 0 1em 0 0.5em; }

  /**
    * Drobečková navigace
    */
  nav.breadcrumbs ul::before, nav.breadcrumbs ul::after {
    content: " ";
    display: table; }
  nav.breadcrumbs ul::after {
    clear: both; }
  nav.breadcrumbs ul li, nav.breadcrumbs ul a, nav.breadcrumbs ul span {
    display: block;
    float: left; }

  /**
    * Fader
    */
  section.fader {
    position: relative; }
    section.fader section.medias.slides {
      position: relative;
      z-index: 1; }
      section.fader section.medias.slides section.media.slide {
        opacity: 0;
        transition: opacity 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -webkit-transition: opacity 1s ease-in-out;
        -o-transition: opacity 1s ease-in-out;
        z-index: 1; }
        section.fader section.medias.slides section.media.slide.current {
          opacity: 1;
          z-index: 2; }
        section.fader section.medias.slides section.media.slide,
        section.fader section.medias.slides section.media.slide div.image,
        section.fader section.medias.slides section.media.slide div.content {
          bottom: 0;
          left: 0;
          position: absolute;
          right: 0;
          top: 0;
          z-index: 0; }
        section.fader section.medias.slides section.media.slide div.content {
          z-index: 1; }
    section.fader nav.thumbnails,
    section.fader nav.titles {
      position: absolute;
      z-index: 2; }
      section.fader nav.thumbnails li,
      section.fader nav.titles li {
        cursor: pointer; }
    section.fader nav.arrows li {
      cursor: pointer;
      position: absolute;
      top: 50%;
      z-index: 2; }
      section.fader nav.arrows li.previous {
        left: 0; }
      section.fader nav.arrows li.next {
        right: 0; }

  /**
    * Galerie
    */
  section.gallery::before, section.gallery::after {
    content: " ";
    display: table; }
  section.gallery::after {
    clear: both; }
  section.gallery section.thumbnails {
    margin: 1em 0; }
    section.gallery section.thumbnails::before, section.gallery section.thumbnails::after {
      content: " ";
      display: table; }
    section.gallery section.thumbnails::after {
      clear: both; }
  section.gallery div.thumbnail, section.gallery div.thumbnail a {
    display: block;
    float: left; }
  section.gallery div.thumbnail a {
    box-shadow: 0 0 5px #e0e0e0;
    padding: 5px;
    margin: 10px;
    opacity: 1; }
    section.gallery div.thumbnail a:hover {
      opacity: 0.75; }
  section.gallery div.thumbnail img {
    vertical-align: top; }

  /**
    * Pasparta
    */
  div.the-mat {
    background: rgba(0, 0, 0, 0.25);
    bottom: 50%;
    height: 0;
    left: 50%;
    opacity: 0;
    position: fixed;
    right: 50%;
    text-align: center;
    top: 50%;
    width: 0;
    z-index: 9999;
    -webkit-transition: opacity 0.75s ease-in-out; }
    div.the-mat div.canvas {
      bottom: 0;
      left: 0;
      opacity: 0;
      position: absolute;
      right: 0;
      text-align: center;
      top: 0; }
      div.the-mat div.canvas img {
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
        padding: 10px;
        vertical-align: middle; }
    div.the-mat.active {
      bottom: 0;
      left: 0;
      height: 100%;
      opacity: 1;
      right: 0;
      top: 0;
      width: 100%; }
      div.the-mat.active div.canvas {
        opacity: 1; }
    div.the-mat ul.controls li.close {
      position: absolute;
      right: 0;
      top: 0;
      width: 0; }
    div.the-mat ul {
      list-style: none; }
      div.the-mat ul, div.the-mat ul li {
        display: block;
        list-style: none;
        margin: 0; }
      div.the-mat ul.meta {
        text-align: center; }
        div.the-mat ul.meta li {
          background: #ffffff;
          border-radius: 10px;
          box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
          display: inline-block;
          font-size: 110%;
          font-weight: bold;
          margin: 1em 0;
          padding: 0.5em 1em; }

  p.message {
    background: #fff8aa;
    border: 1px #efe250 solid;
    border-radius: 4px;
    box-shadow: 0 0 2px #ffffff inset;
    box-sizing: border-box;
    clear: both;
    color: #8f8300;
    font-size: 120%;
    font-weight: bold;
    line-height: 1.25em;
    margin: 1em 0;
    padding: 0.5em 1em;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75); }
    p.message + p.message {
      margin-top: -0.5em; }
    p.message a {
      color: #8f8300;
      font-weight: bold;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75); }
    p.message.error {
      background: #ffb4bc;
      border-color: #e797a0;
      color: #a72e3b; }
      p.message.error a {
        color: #a72e3b;
        font-weight: bold;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75); }
    p.message.success {
      background: #d1f5b7;
      border-color: #b1d597;
      color: #3f840c; }
      p.message.success a {
        color: #3f840c;
        font-weight: bold;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75); } }
/**
  * Pozadí a základní layout
  */
html {
  background: #fcfcfc url("../images/html.gif") repeat center top;
  height: 100%; }

body {
  color: #666666;
  min-height: 640px;
  height: 100%; }

div.layout.page,
div.layout.content {
  height: 100%;
  width: 100%; }

header.layout {
  height: 0;
  position: static; }
  header.layout a.logo {
    background: transparent url("../images/header_logo.png") no-repeat left top;
    top: 10px;
    left: 40px;
    width: 204px;
    height: 20px;
    position: fixed;
    z-index: 3; }

footer.layout {
  position: static; }
  footer.layout p.copyright {
    background: transparent url("../images/heading-lines.gif") no-repeat center center;
    bottom: 10px;  /* pův. 30px */
    color: #999999;
    font-size: 100%; /* pův. 90% */
    font-weight: bold;
    left: 30px;
    position: fixed;
    text-align: center;
    text-shadow: 0 1px 1px #ffffff;
    text-transform: uppercase;
    width: 220px;
    z-index: 3; }

article {
  position: fixed; /* pův. absolute; */
  top: 80px; /* pův. 60px */
  left: 280px;
  right: 0;
  bottom: 0; }

/**
  * Aplikace
  */
div.app {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 100%;
  padding: 0;
  position: relative;
  width: 100%; }

/**
  * Postranní panel
  */
aside.panel {
  background: #ededed url("../images/panel.gif") repeat right top;
  bottom: 0;
  left: 0;
  position: fixed;
  top: 0;
  width: 280px;
  z-index: 2; }
  aside.panel > div.content {
    background: transparent url("../images/panel-gradient.gif") repeat-y right top;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 100%;
    padding: 33px 5px 70px 10px; /* pův. s logem HARON 90px 5px 70px 10px */
    position: relative;
    width: 100%; }
  aside.panel section {
    margin: 1em 0 0em 0; }  /* pův. 1em 0 3em 0*/
  aside.panel h2 {
    background: transparent url("../images/heading-lines.gif") no-repeat center center;
    font-size: 100%;
    font-weight: bold;
    margin: 0;
    padding: 0 30px;
    text-align: center;
    text-shadow: 0 1px 1px #ffffff;
    text-transform: uppercase;}
  aside.panel h2.nadpis {
    position: relative;
    top: 10px;}
  aside.panel nav ul {
    display: block;
    margin: 1em 0;
    text-align: center; }
  aside.panel nav li {
    display: inline-block;
    font-size: 100%; }
  aside.panel .button {
    background: #fcfcfc url("../images/button.gif") repeat-x left top;
    border-radius: 5px;
    border: 1px solid #eee;
    box-shadow: 0 0 2px #777 inset;
    color: #666666;
    display: inline-block;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    text-shadow: 0 1px 1px #ffffff;
    text-transform: uppercase;
    width: 115px; }
    aside.panel .button:hover {
      color: #0096ff;
      border: 1px solid #0096ff;}  /* pův. #006ecc */
    aside.panel .button span {
      background: transparent no-repeat left top;
      display: inline-block;
      height: 30px;
      line-height: 30px;
      padding: 0 0 0 28px; }
      aside.panel .button span:hover {
        background-position: left bottom; }
    aside.panel .button.text span {
      background-image: url("../images/panel-add-text.png"); }
    aside.panel .button.image span {
      background-image: url("../images/panel-add-image.png"); }
  aside.panel section.layers {
    position: absolute;
    top: 95px;
    bottom: 50px;
    left: 2px;
    right: 2px; 
    /*overflow-y: hidden;*/}
    aside.panel section.layers.overflown {
      overflow-y: auto;}
    aside.panel section.layers nav.layers {
/*    height: 100%; */
      position: relative; }
      aside.panel section.layers nav.layers::after, aside.panel section.layers nav.layers::before {
        background: transparent no-repeat center top;
        content: "";
        display: block;
        height: 7px;
        left: 0;
        opacity: 1;
        position: absolute;
        right: 0;
        z-index: 2;
        transition: opacity 0.5s linear;
        -moz-transition: opacity 0.5s linear;
        -webkit-transition: opacity 0.5s linear; }
      aside.panel section.layers nav.layers::before {
        background-image: url("../images/nav-layers-before.png");
        top: 0; }
      aside.panel section.layers nav.layers::after {
        background-image: url("../images/nav-layers-after.png");
        bottom: 0; }
/*    aside.panel section.layers nav.layers.overflown::after, aside.panel section.layers nav.layers.overflown::before {
        opacity: 1; }
      aside.panel section.layers nav.layers.overflown li.layer textarea, aside.panel section.layers nav.layers.overflown li.layer span.image {
        width: 200px; } */
      aside.panel section.layers nav.layers ul.layers {
        height: 100%;
        overflow: auto;
        position: relative;
        z-index: 1; }
    aside.panel section.layers li.layer {
      background: transparent no-repeat 7px 11px;
      border: 1px solid transparent;
      border-radius: 5px;
      cursor: default;
      display: block;
      margin: 0.5em 0;
      padding: 5px 0 4px 14px; }
      aside.panel section.layers li.layer.text {
        background-image: url("../images/panel-layer-text.png"); }
      aside.panel section.layers li.layer.image {
        background-image: url("../images/panel-layer-image.png"); }
      aside.panel section.layers li.layer.active {
        background-color: rgba(0, 150, 255, 0.05); /* pův. 0, 110, 204, 0.05 */
        border-color: #0096ff;}  /* pův. #006ecc */
    aside.panel section.layers textarea {
      background: #ffffff;
      border: 1px solid #ffffff;
      border-radius: 5px;
      box-shadow: 0 0 3px #e5e5e5 inset;
      cursor: default;
      font-size: 120%;
      height: 1.0em;
      line-height: 1.25em;
      padding: 4px;
      resize: none;
      transition: height 0.2s ease-out;
      -webkit-transition: height 0.2s ease-out;
      -moz-transition: height 0.2s ease-out;
      white-space: wrap;  /* v IE po smrsteni textarea po ztrate zamereni (prechod z hodnoty :pre na :wrap) zabezpeci prerolovani na prvni radek textu, nic vic */
      width: 200px; }
      aside.panel section.layers textarea:focus {
        white-space: wrap;
        height: 10em; }
   /*   overflow-x: scroll; */ /* v IE si vynuti zobrazeni vodorovne scrollbar-listy, ostatni prohlizece ji umeji zobrazit automaticky */
   /*   overflow-y: scroll; */
      aside.panel section.layers textarea:not(:focus) {
        overflow-x: hidden;   /* skryje vodorovnou scrollbar-listu, zustane bile smrstene policko  */
        overflow-y: hidden; }
    aside.panel section.layers span.image {
      display: inline-block;
      font-size: 120%;
      line-height: 1.25em;
    /*margin-top: 4px;*/
      overflow: hidden;
      padding-top: 5px;
      text-align: left;
      width: 210px; 
    /*height: 1em;*/}
    aside.panel section.layers a.remove {
      background: transparent no-repeat center center;
      display: inline-block;
      overflow: hidden;
      text-indent: -9999px;
      background: transparent url("../images/panel-layer-delete.png") no-repeat center top;
      height: 13px;
      margin: 0.5em 0 0 0.5em;
      vertical-align: top;
      width: 13px; }
      aside.panel section.layers a.remove:hover {
        background-position: center bottom; }
    img.indexpage {
      box-shadow: 2px 2px 12px #bbb;
      border: 2px solid #bbb;
      margin-right: 2px; 
      max-width:36px; 
      max-height:48px;}
    img.indexpage:hover {
      border: 2px solid #0096ff;
      cursor: pointer;}
    p.indexpage {    
      position: relative;
      display: inline-block;
      width:0;
      height:0;
      margin: 0 0 0 0;
      vertical-align: top;
      left: 6px;
      font-size: 17px;
      text-shadow: 0 1px 1px #fff;} 
    p.indexpage:hover {
      color: #0096ff;
      cursor: pointer;}
      
  nav.layerend {
    height: 400px; }
    nav.layerend.overflown {
      height: 0; }
/**
  * Menu akcí
  */
nav.controls {
  background: #eeeeee url("../images/nav-controls112.gif") repeat-x left top;
  height: 82px; /* pův. 60px */
  left: 280px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000; }  /* pův. 9999 */
  nav.controls ul.controls {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    /*text-align: center;*/
    white-space: nowrap;
    width: 100%; }
    nav.controls ul.controls ul {
      background: #ededed url("../images/panel.gif") repeat right top;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 0 1px rgba(255, 255, 255, 0.75) inset;
      border: 1px solid #dddddd;
      border-top: none;
      display: none;
      left: 0;
      min-width: 150px;
      position: absolute;
      top: 100%;
/*    width: 100%; */
      z-index: 99; }
      nav.controls ul.controls ul.layer-list {
        min-width: 245px;
        max-height: 500px;
        overflow: hidden; }
        nav.controls ul.controls ul.layer-list li {
          position: relative;
          z-index: 1; }
          nav.controls ul.controls ul.layer-list li.active {
            z-index: 2; }
        nav.controls ul.controls ul.layer-list a {
          position: relative; }
      nav.controls ul.controls ul li, ul.zoom-list li {
        display: block;
        font-size: 100%; }
        nav.controls ul.controls ul li a, ul.zoom-list li a {
          background: transparent no-repeat 10px 50%;
          color: #666666;
          display: block;
          font-weight: bold;
          text-align: left;
          text-decoration: none;
          text-transform: uppercase;
          padding: 10px 10px 10px 35px; }
        nav.controls ul.controls ul li.active a,
        nav.controls ul.controls ul li a:hover {
          background-position: -290px 50%;
          color: #0096ff;}  /* pův. #006ecc */
        nav.controls ul.controls ul li.text a {
          background-image: url("../images/nav-controls-add-text.png"); }
        nav.controls ul.controls ul li.image a {
          background-image: url("../images/nav-controls-add-image.png"); }
        nav.controls ul.controls ul li.copy a {
          background-image: url("../images/nav-controls-page-copy1-2.png"); }
        nav.controls ul.controls ul li.paste a {
          background-image: url("../images/nav-controls-page-copy1-2.png"); }
        nav.controls ul.controls ul li span.remove {
          background: transparent no-repeat center center;
          display: inline-block;
          overflow: hidden;
          text-indent: -9999px;
          background: transparent url("../images/nav-layer-delete.png") no-repeat center top;
          float: right;
          height: 13px;
          margin: -0.25em 0.25em 0 0;
          vertical-align: top;
          width: 13px; }
          nav.controls ul.controls ul li span.remove:hover {
            background-position: center top; }
/*    nav.controls ul.controls ul.page-list {
        min-width: 140px; } */
        nav.controls ul.controls ul.page-list a.front {
          background-image: url("../images/nav-controls-page-view1.png"); }
        nav.controls ul.controls ul.page-list a.page2 {
          background-image: url("../images/nav-controls-page-view2.png"); }
        nav.controls ul.controls ul.page-list a.pageN {
          background-image: url("../images/nav-controls-page-viewN.png"); }
        nav.controls ul.controls ul.page-list a.copy1-2 {
          background-image: url("../images/nav-controls-page-copy1-2.png"); }
        nav.controls ul.controls ul.page-list a.change1-2 {
          background-image: url("../images/nav-controls-page-change1-2.png"); }
  nav.controls li.control {
    display: inline-block;
    font-size: 100%;
    position: relative;
    width: 8.25%;
    min-width: 64px; 
    height: 53px; /* pův. 60px */
    }
    nav.controls li.control.separate {
      background: transparent url("../images/nav-controls-separator.gif") no-repeat right center;
      margin-right: 0.75%;
      padding-right: 0.75%; }
    nav.controls li.control a.control {
      background: transparent no-repeat 50% 0;
      color: #666666;
      display: block;
      font-weight: bold;
      height: 20px;
      padding: 38px 0 2px 0;
      text-align: center;
      text-decoration: none;
      text-shadow: 0 1px 1px #ffffff;
      text-transform: uppercase;
      width: 100%; }
      nav.controls li.control a.control.add {
        background-image: url("../images/nav-controls-add.png"); }
      nav.controls li.control a.control.edit {
        background-image: url("../images/nav-controls-edit.png"); }
      nav.controls li.control a.control.layers {
        background-image: url("../images/nav-controls-layers.png"); }
      nav.controls li.control a.control.pages {
        background-image: url("../images/nav-controls-pages.png"); }
      nav.controls li.control a.control.pan {
        background-image: url("../images/nav-controls-move.png"); }
      nav.controls li.control a.control.zoom-in {
        background-image: url("../images/nav-controls-zoom-in.png"); }
      nav.controls li.control a.control.zoom-list {
        background-image: url("../images/nav-controls-zoom-list.png"); }
      nav.controls li.control a.control.zoom-out {
        background-image: url("../images/nav-controls-zoom-out.png"); }
      nav.controls li.control a.control.back {
        background-image: url("../images/nav-controls-back.png"); }
      nav.controls li.control a.control.forward {
        background-image: url("../images/nav-controls-forward.png"); }
      nav.controls li.control a.control.save {
        background-image: url("../images/nav-controls-save.png"); }
      nav.controls li.control.active > a { /* aktivní (stisknutá) control tlačítka budou modrá */
        background-position: 50% -60px;
        color: #0096ff; }
  div.zoom-list {
    position:fixed; 
    top: 53px; 
    left: 700px; 
    z-index:2000;}
  ul.zoom-list {
    display: none;
    margin: 0px;
    background: #ededed url("../images/panel.gif") repeat right top;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 0 1px rgba(255, 255, 255, 0.75) inset;
    border: 1px solid #dddddd;
    border-top: none;
    min-width: 150px;}
    ul.zoom-list li{
      margin: 0px;}
    ul.zoom-list li a:hover {  
      background-position: -290px 50%;
      color: #0096ff;}

/**
  * Pláno
  */
div.canvas-wrapper {
  background: #ffffff;
  border: 1px solid #ffffff;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 100%;
  position: relative;
  width: 100%; }
  div.canvas-wrapper div.canvas {
    bottom: 0;
    left: 30px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 30px; }

/**
  * Modální okna
  */
div.modals ul.modal {
/*  background: #ededed url("../images/panel.gif") repeat right top;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 0 1px rgba(255, 255, 255, 0.75) inset;  */
/*  border: 1px solid #dddddd; */
  display: none;
  margin: 10px 0 0 0;
  list-style: none;
  padding: 3px 10px 3px 10px;
/*  position: absolute; */
  position: fixed;
  width: 980px;   /* pův.382px */
  z-index: 1500; }  /* pův. 100 */
  div.modals ul.modal li {
    display: inline-block;
    font-size: 100%;
    margin: 0;
    list-style: none;
    padding: 0;
    vertical-align: top; }
    div.modals ul.modal li.content {
      border: 1px solid #dddddd;
      background: #ededed url("../images/panel.gif") repeat right top;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 0 1px rgba(255, 255, 255, 0.75) inset;
      margin: 33px 0 0 31px; /* posun okna na editaci textu od levého a horního okraje */
      padding: 2px 8px 4px 8px;
      width: 60%; }
  div.modals ul.modal ul {
    margin: 0;
    padding: 0; }
  div.modals ul.modal label {
    display: none; }
  div.modals ul.modal option {
    color: #666666;}
  div.modals ul.modal button,
  div.modals ul.modal select,
  div.modals ul.modal input,
  div.modals ul.modal textarea {
    appearance: none; /* ostranění výchozí systémové dekorace, např. šipek v SELECT apod. kromě IE10 a IE11 */
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 0 2px #777 inset;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: inline-block;
    
/*    font-size: 120%; */
    height: 2.5em;
    line-height: 1.25em;
    padding: 3px 3px 3px 3px;
    resize: none;
    transition: height 0.2s ease-out;
    -webkit-transition: height 0.2s ease-out;
    -moz-transition: height 0.2s ease-out;
/*  width: auto; */ }
/*div.modals ul.modal input,
  div.modals ul.modal select {
    border: 1px solid #d0d0d0; }*/
  div.modals ul.modal select {
    background: #ffffff url("../images/miniSelect.png") no-repeat right top; /* vlastní šipky v SELECT */
    background-position: 100% -4px;
    text-align: center;
    padding-right: 20px;}
  div.modals ul.modal select::-ms-expand { 
    display: none; }/* odstraní výchozí systémové šipky v SELECT v IE10 a IE11 */
  div.modals ul.modal li.font-family select {
    width: 9em;
    height: 25px;}
  div.modals ul.modal li.font-weight select {
    width: 5.5em;}
  div.modals ul.modal li.font-size select {
    width: 3em; }

  div.modals ul.modal button:hover,
  div.modals ul.modal select:hover,
  div.modals ul.modal input:hover,
  div.modals ul.modal textarea:hover {
    color: #0096ff;  /* pův. #006ecc */
    border-color: #0096ff;
/*  cursor: default; */ }
  div.modals ul.modal select:hover {
    background-position: 100% -36px;}
  div.modals ul.modal input[type="file"] {
    font-size: 100%;
    height: 2.5em;
    line-height: 2.5em;
    padding: 0 0.5em; }
  div.modals ul.modal textarea {
    font-size: 130%;
    height: 1.7em;
    margin: 0.5em 0 0 0; /* pův. 0 0 0.5em 0*/
    white-space: pre;  /* v IE po smrsteni textarea po ztrate zamereni (prechod z hodnoty :pre na :wrap) zabezpeci prerolovani na prvni radek textu, nic vic */
    width: 100%; }
    div.modals ul.modal textarea:focus {
      white-space: pre;
      height: 10em; }  /* pův.15em */
 /*   overflow-x: scroll; */  /* v IE si vynuti zobrazeni vodorovne scrollbar-listy, ostatni prohlizece ji umeji zobrazit automaticky */
 /*   overflow-y: scroll; */
    div.modals ul.modal textarea:not(:focus) {
      overflow-x: hidden;   /* skryje vodorovnou scrollbar-listu, zustane bile smrstene policko  */
      overflow-y: hidden; }
  div.modals ul.modal button {
    text-indent: -9999px;
    background: #ffffff no-repeat 50% -5px;
    /*background: transparent no-repeat center center;*/
    /*display: inline-block;*/
    /*overflow: hidden;*/
    /*box-shadow: 0 0 2px #777 inset;*/}
    
    div.modals ul.modal button:not(#snapToRules):not(#imageAnchor):not(#keepAspectRadio):hover,     
    div.modals ul.modal button.active {
      background-position: 50% -37px;
      box-shadow: 0 0 2px #006ecc inset; } 
      
    div.modals ul.modal button.vicevoleb {
      width: 64px;
      background-image: url("../images/modal-icons-vicevoleb.png"); }
      div.modals ul.modal button.vicevoleb.active {
        background-image: url("../images/modal-icons-menevoleb.png"); 
        background-position: 50% -5px;
        box-shadow: 0 0 2px #707070 inset }
      div.modals ul.modal button.vicevoleb:hover {
        background-position: 50% -37px;
        border-color: #0096ff;}
    div.modals ul.modal button.style.bold {
      background-image: url("../images/modal-icons-bold.png"); }
    div.modals ul.modal button.style.italic {
      background-image: url("../images/modal-icons-italic.png"); }
    div.modals ul.modal button.style.fontPosition {
      background-image: url("../images/modal-icons-fontPosition.png"); }
    div.modals ul.modal button.style.smallCaps {
      background-image: url("../images/modal-icons-smallCaps.png"); }
    div.modals ul.modal button.style.uppercase {
      background-image: url("../images/modal-icons-uppercase.png"); }
    div.modals ul.modal button.align.left {
      background-image: url("../images/modal-icons-left.png"); }
    div.modals ul.modal button.align.center {
      background-image: url("../images/modal-icons-center.png"); }
    div.modals ul.modal button.align.right {
      background-image: url("../images/modal-icons-right.png"); }
    div.modals ul.modal button.align.top {
      background-image: url("../images/modal-icons-top.png"); }
    div.modals ul.modal button.align.middle {
      background-image: url("../images/modal-icons-middle.png"); }
    div.modals ul.modal button.align.bottom {
      background-image: url("../images/modal-icons-bottom.png"); }
    div.modals ul.modal button.colorstroke {
      background-image: url("../images/modal-icons-colorstroke.png"); }
    div.modals ul.modal button.colorfill {
      background-image: url("../images/modal-icons-colorfill.png"); }
    div.modals ul.modal button.rotate.left {
      background-image: url("../images/modal-icons-rotate-left.png"); }
    div.modals ul.modal button.rotate.right {
      background-image: url("../images/modal-icons-rotate-right.png"); }
    div.modals ul.modal button.snapToRules {
      background-image: url("../images/modal-icons-snapToRules.png"); }
    div.modals ul.modal button.imageAnchor {
      background-image: url("../images/modal-icons-imageanchor.png"); }
    div.modals ul.modal button.keepAspectRadio {
      background-image: url("../images/modal-icons-keepAspectRadio.png"); }
    div.modals ul.modal button.infoExif {
      background-image: url("../images/modal-icons-infoExif.png");}
    div.modals ul.modal button.resetScale {
      background-image: url("../images/modal-icons-resetScale.png");}
    div.modals ul.modal button.upload {
      background-image: url("../images/modal-icons-upload.png");
      /*display: none; */}

    li.upload label {
      display: inline-block;
      width: 160px;
      padding: 5px 6px;
      border: 1px solid #eee;
      border-radius: 5px;
      box-shadow: 0 0 2px #666 inset;
      background: #fff;
      text-align: center;
      margin: 1px;
      font-size: 11px;
    /*font-weight: bold;*/
      color: #444;}
    li.upload label:hover {
      color: #0096ff;
      border-color: #0096ff;}
    @-webkit-keyframes blink {  /* pro násl. použití JQuery: animation: blink .3s step-end infinite alternate; -webkit-animation: blink .3s step-end infinite alternate; */
      50% {
        border-color: #0096ff;
        color: #0096ff;
        box-shadow: 0 0 10px #0096ff;} 
    }
    @keyframes blink { 
      50% {
        border-color: #0096ff;
        color: #0096ff;
        box-shadow: 0 0 10px #0096ff;} 
    }
     
    .separator {
      background-image: url("../images/modal-icons-separator.png"); 
      display: inline-block;
      height: 24px;
      padding: 1px;
    }
    .smallicon {
      display: inline-block;
      width: 16px;
      height: 16px;
      margin: 5px 0px 0px 2px;
    }
    .mezera {
      display: inline-block;
      width: 6px;
      height: 16px;
      margin: 5px 0px 0px 2px;
    }
    .iconFontSize {
      background-image: url("../images/iconFontSize.png"); 
    }
    .iconColor {
      background-image: url("../images/iconColor.png");
    }
    .iconAngle {
      background-image: url("../images/iconAngle.png");
    }
    .iconLeading {
      background-image: url("../images/iconLeading.png"); 
    }
    .iconFontWidth {
      background-image: url("../images/iconFontWidth.png"); 
      width: 18px;
    }
    .iconLetterSpacing {
      background-image: url("../images/iconLetterSpacing.png"); 
    }
    .iconWordSpacing {
      background-image: url("../images/iconWordSpacing.png");
      width: 17px;
    }
    .iconFontPosition {
      background-image: url("../images/iconFontPosition.png");
    }
    .iconStrokeWidth {
      background-image: url("../images/iconStrokeWidth.png");
    }
    .iconImage {
      background-image: url("../images/panel-layer-image.png"); 
      display: inline-block;
      width: 17px;
      height: 13px;
      margin: 7px 0px 0px 6px;
    }
    .jednotky {
      position: relative;
      margin: 5px 0px 0px 0px;
    }
    div.modals ul.modal button.disabled {
      opacity: 0.5; }
      div.modals ul.modal button.disabled:hover, div.modals ul.modal button.disabled.active {
        background-position: 50% -5px;
        box-shadow: inherit; }
  div.modals ul.modal button,
  div.modals ul.modal select {
    font-size: 100%;
    font-weight: bold;
    width: 3em; }
  div.modals ul.modal input[type="text"] {
    width: 32px;
    height: 24px;
    font-size: 100%;
    font-weight: bold;
    text-align: center; }
  div.modals ul.modal form input {
      width: 210px;}
  div.modals ul.modal input.souradnice {
      width: 56px;}
  div.modals ul.modal select.FontPosition {
      width: 68px;}
  div.modals ul.modal input.input-font-size {
      border-right-width: 0;
      border-bottom-right-radius: 0;
      border-top-right-radius: 0;}
  div.modals ul.modal li.font-size select {
      width: 24px;
      color: transparent;
      border-left-width: 0;
      border-bottom-left-radius: 0;
      border-top-left-radius: 0;}
  div.modals ul.modal input.nazev-obrazku {
      width: 230px;
      font-weight: normal;
      text-align:left;}
  div.modals ul.modal input.url-obrazku {
      width: 286px;
      font-weight: normal;
      text-align:left;}

/**
  * Panel výběru barev
  */
  div.color-picker {
    background: #ededed url("../images/panel.gif") repeat right top;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 0 1px rgba(255, 255, 255, 0.75) inset;
    border: 1px solid #dddddd;
    display: none;
    position: fixed;
    left: 280px;
    top: 80px;
    width: 780px;
    z-index: 1600; }
    
        
	div.color-picker ul.color-cmyk {
      margin: 2px; /* pův. 1em */
      }
      div.color-picker ul.color-cmyk::before, div.modals ul.modal div.color-picker ul.color-cmyk::after {
        content: " ";
        display: table; }
      div.color-picker ul.color-cmyk::after {
        clear: both; }
      div.color-picker ul.color-cmyk li {
        display: block;
        float: left;
        font-size: 100%;
        width: 46px;  /* pův. 25%, pak 14% */
		margin: 0px;
		padding: 1px; }
      div.color-picker ul.color-cmyk label {
        display: block;
        float: left;
        font-size: 100%;
        font-weight: bold;
        line-height: 2.5em;
        text-align: left;
        text-shadow: 0 1px 0 #ffffff;
        width: 20%; }
      div.color-picker ul.color-cmyk label[for="color-rgb-red"] {
        color: #dd0000; }
      div.color-picker ul.color-cmyk label[for="color-rgb-green"] {
        color: #00dd00; }
      div.color-picker ul.color-cmyk label[for="color-rgb-blau"] {
        color: #0000dd; }
      div.color-picker ul.color-cmyk label[for="color-cmyk-cyan"] {
        color: #00dddd; }
      div.color-picker ul.color-cmyk label[for="color-cmyk-magenta"] {
        color: #dd00dd; }
      div.color-picker ul.color-cmyk label[for="color-cmyk-yellow"] {
        color: #dddd00; }
      div.color-picker ul.color-cmyk label[for="color-cmyk-key"] {
        color: #333333; }
      div.color-picker ul.color-cmyk input {
        display: block;
        float: left;
        font-size: 100%;
        font-weight: bold;
        text-align: center;
        width: 32px;
		background-color: rgb(255, 255, 255);
		border-radius: 5px;
		border-style: solid;
		border-width: 1px;
/*		box-shadow: rgb(229, 229, 229) 0px 0px 3px 0px inset;	*/
		box-sizing: border-box;
		display: block;
		height: 25px;
		line-height: 12px;
		margin: 0px;
		padding: 3px;
		text-align: center;
/*		text-indent: 0px;	*/
/*		vertical-align: baseline;	*/     
        }
      div.color-picker ul.color-cmyk input.color-rgb[data-color="r"] {
        border-color: #dd0000; }
      div.color-picker ul.color-cmyk input.color-rgb[data-color="g"] {
        border-color: #00dd00; }
      div.color-picker ul.color-cmyk input.color-rgb[data-color="b"] {
        border-color: #0000dd; }
      div.color-picker ul.color-cmyk input.color-cmyk[data-color="c"] {
        border-color: #00dddd; }
      div.color-picker ul.color-cmyk input.color-cmyk[data-color="m"] {
        border-color: #dd00dd; }
      div.color-picker ul.color-cmyk input.color-cmyk[data-color="y"] {
        border-color: #dddd00; }
      div.color-picker ul.color-cmyk input.color-cmyk[data-color="k"] {
        border-color: #333333; }
  
	div.color-picker ul.palette {
      margin: 0 1em 0 1em;}
      div.color-picker ul.palette span.color[data-color="none"] {
        background-image: url("../images/icon_none.png"); 
        border: 1px solid #888888; }
      
    div.color-picker ul.palette li {
      width: 18px;
      height:16px; }
      
	div.color-picker span.color {
	  width: 16px;
      height: 14px;
      background: transparent no-repeat center center;
      display: inline-block;
      overflow: hidden;
      text-indent: -9999px;
      border: 1px solid #ffffff;
      border-radius: 3px;
      display: inline-block;
      margin: 0 0 0.5em 0; }
    div.color-picker span.color:hover {
        opacity: 0.5; }

/**
  * appinfo okno
  */ 

  ul.appinfo {
    display: inline-block;
    width: 100%;
    min-width: 780px;
    /*text-align: center;*/
  }
  li.appinfo {
    display: inline-block;
    /*width: 20%;*/
    min-width: 130px;
    line-height:29px;
    text-align:center;
    font-size:12px;
  }
  li.appinfo.text {
    /*width: 80%;*/
    min-width: 640px;
    line-height:29px;
  }
  
/**
  * Obrázek
  */
/*  div.modals ul.modal.image {
    width: auto; }  */

/**
  * Pravítka
  */
div.ruler {
  overflow: hidden;
  position: absolute; }
  div.ruler ul, div.ruler li, div.ruler span {
    display: block;
    margin: 0;
    padding: 0; }
  div.ruler li {
    font-size: 90%;
    font-weight: bold;
    line-height: 1em;
    position: absolute; }
    div.ruler li span {
      display: block;
      overflow: hidden;
      position: absolute;
      text-indent: -9999px;
      white-space: nowrap; }
    div.ruler li.suppress {
      opacity: 0.4; }
  div.ruler.horizontal {
    border-bottom: 1px solid #666666;
    height: 30px;
    left: 30px;
    right: 0;
    top: 0; }
    div.ruler.horizontal li {
      border-left: 1px solid #666666;
      bottom: 0;
      height: 5px;
      width: 0; }
      div.ruler.horizontal li span {
        bottom: 0;
        left: 5px; }
      div.ruler.horizontal li.milestone {
        height: 10px; }
        div.ruler.horizontal li.milestone span {
          bottom: 10px;
          text-indent: 0; }
  div.ruler.vertical {
    border-right: 1px solid #666666;
    bottom: 0;
    left: 0;
    top: 30px;
    width: 30px; }
    div.ruler.vertical li {
      border-top: 1px solid #666666;
      right: 0;
      height: 0;
      width: 5px; }
      div.ruler.vertical li span {
        right: 0;
        top: 5px; }
      div.ruler.vertical li.milestone {
        width: 10px; }
        div.ruler.vertical li.milestone span {
          right: 10px;
          text-indent: 0; }

div.overlay {
  background: #ffffff;
  background: rgba(192, 192, 192, 0.25); /* pův. (255, 255, 255, 0.9) */
  bottom: 0;
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 9999; }



/*
  div.overlay#font-loading {
    display: block; }
*/
  #font-loading.loading {
    display: block; }

  div.overlay.loading, div.overlay.processing {
    display: block; }




  div.overlay div.wrapper {
    background: #ffffff;
    border: 1px solid #a8a8a8; /* pův.#e5e5e5 */
    box-shadow: 0 0 4px #a8a8a8 inset, 0 0 50px #a8a8a8; /* pův. 0 0 5px #e5e5e5 inset, 0 0 50px #f0f0f0 */
    /*height: 80px;*/
    left: 50%;
    margin: -60px 0 0 -170px;
    padding: 20px;
    position: absolute;
    top: 50%;
    width: 300px; }
    div.overlay div.wrapper h2 {
      margin: 0; }
    div.overlay div.wrapper h2 {
      background: transparent url("../images/nav-controls.gif") repeat-x left top;
      font-size: 100%;
      font-weight: bold;
      margin: -20px -20px 0 -20px;
      padding: 10px;
      text-align: center;
      text-shadow: 0 1px 0 #ffffff;
      text-transform: uppercase; }
    div.overlay div.wrapper p {
      font-size: 110%;
      margin: 12px 0; } /* 1.5em 0 */
      div.overlay div.wrapper p span.current {
        font-weight: bold; }
    div.overlay div.wrapper div.progress {
      background: #ffffff;
      border: 1px solid #e5e5e5;
      box-shadow: 0 0 5px #e5e5e5 inset, 0 0 20px #f0f0f0;
      height: 10px;
      overflow: hidden;
      position: relative;
      width: 300px; }
      div.overlay div.wrapper div.progress div.bar {
        background: #006ecc;
        bottom: 0;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.5) inset;
        height: 100%;
        left: 0;
        position: absolute;
        right: auto;
        top: 0;
        width: 0; }
      div.overlay div.wrapper div.progress div.done {
        background: #90d0ff;}
  div#chosePageFromPDF div.wrapper {
    width: 500px;
    /*height: 320px;*/ /* hodnota bude upravena ve fci: chosePageFromPDF() */
    margin: -250px 0 0 -225px;}
    section.pages {
      display: block;
      overflow-x: auto;
      overflow-y: hidden;
      width: 500px;
      padding: 4px;}
    section.pages img {
      display: inline-block;
      max-width: 150px;
      max-height: 170px;
      margin: 1px;
      border: 2px solid #ddd;
      box-shadow: 0px 0px 12px #ddd;}
    section.pages img:hover {
      border: 2px solid #0096ff;
      cursor: pointer;}
    section.pages div {
        text-align: center;
        font-size: 24px;
        font-weight: bold;
        position: relative;
        top: -33px;
        height: 0px;}
    section.pages div:hover {
      color: #0096ff;
      cursor: pointer;}
    div.autoimport {
      width:468px;
      border:2px solid #bbb;
      padding:15px;
      box-shadow:0px 0px 12px #ccc;
      border-radius:8px;}
    div.autoimport:hover {
      border:2px solid #0096ff;
      cursor: pointer;}
    span.autoimport {
      font-weight:700;
      color:#0096ff;
      font-size:200%}
    div.windowclose {
      float:right;
      width:22px;
      height:22px;
      position: relative;
      top: -24px;
      right: -12px;
      background-image: url("../images/windowclose.png"); }
    div.windowclose:hover {
      cursor: pointer;}




/*
.wf-active #font-loading.overlay {
  display: none; }
*/




iframe {
  border: none;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  position: absolute;
  width: 0; }

/**
  * Grafické font-menu
  */  
.divSelect {
    cursor:pointer;
    display:inline-block;
    border: 1px solid #eee;
    box-shadow: 0 0 2px #0096ff inset;
    border-radius: 5px;
    position:relative;
    font:normal 11px/22px Arial, Sans-Serif;
    color:black;}
  .divSelect:hover {
    color: #0096ff;
    border: 1px solid #0096ff;}
.styledSelect {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color:transparent;
    padding:0 10px;
    font-weight:bold;
}
.options {
    display:none;
    position:absolute;
    /* top:-39px; */ /* 100% */ /* odsazení od horního okraje - výška šipky up */
    right:0;
    left:0;
    z-index:10000;
    margin:0 0;
    padding:0 0;
    list-style:none;
    border:0;
    background-color:#fff;
    -webkit-box-shadow:0 0 20px #999;
    -moz-box-shadow:0 0 20px #999;
    box-shadow:0 0 20px #999;
    
    width: 282px;
    /*height: 800px;*/
    /*min-height: 99vh;*/
    /*max-height: 99vh;*/ /* 100vh = 100% of the height of the viewport */
    /*overflow-y: scroll;*/
    overflow:auto;
    overflow-x:hidden; /* skryje x-scrollbar a zablokuje posun */
    /*overflow-y:hidden;*/
}
.options {
    -ms-overflow-style: none;  /* IE 10+ */
    /*overflow: -moz-scrollbars-none;*/  /* Firefox */
}
.options::-webkit-scrollbar {
    display: none;  // Safari and Chrome
}


.options li {
	color:transparent;
    padding:0 6px;
    margin:0 0;
    padding:0 10px;
    border:0px solid #aaa;
    background: #f2f2f2 no-repeat left center;
    width: 282px;
    height: 50px;
    -webkit-box-shadow:3px 5px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:3px 5px 5px rgba(0, 0, 0, 0.2);
    box-shadow:3px 4px 10px #888888;
}

li.optgroup {
    background-color:#ccc;
    color:#000;
    height: 22px;
    -webkit-box-shadow:0px 1px 5px #000;
    -moz-box-shadow:0px 1px 5px #000;
    box-shadow:0px 1px 5px #000;
}

div#up, div#down {
    display:none;
    width:282px;
    height:20px;
    position: absolute;
    z-index:10001;
    top: 0px;
}

div#up {
    background: #f2f2f2 url('../images/nahledyfontu/arrow_up.png') no-repeat left center;
}

div#down {
    background: #f2f2f2 url('../images/nahledyfontu/arrow_down.png') no-repeat left center;
}

div#outL, div#outR {
    display:none;
    width:200px;
    height:20px;
    position: absolute;
    z-index:10001;
    top:0px;
}
