@media screen,
projection {

  * {
    margin: 0;
    padding: 0;
  }
.fb_iframe_widget_fluid {
    display: inline-block!important;
    margin: 10px 0;
}
#header .title-desktop {
  display: none;
}
@media (min-width: 1100px) {
  #header .title-desktop {
    display: block;
  }
}

#header .title-mobile {
  display: block;
}
@media (min-width: 1100px) {
  #header .title-mobile {
    display: none;
  }
}

#header .title-mobile h1 {
  top: 11px;
  position: relative;
height: auto;
width: 550px;
}
#mail-list .vizual-captcha {
    width: 100%;
    margin: 10px 0;
}
.recaptchaContainer {text-align: left;}
input[type="button" i] {
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    max-width: 20rem;
    background-color: #f37720;
    padding: .5rem 1rem .6rem;
    border-radius: 25rem;
    border-color: #f37720;
    border-style: solid;
    cursor: pointer;
}
#last-photo .wrap-of-wrap img {
  width: 100%;
  max-width: 95%;
    height: auto;
}

#last-photo .wrap-of-wrap img {
  width: 100%;
  max-width: 95%;
    height: auto;
}

h2, h3, h4, h5, h6, pre, address, u, s {margin: 10px 0;}
input {padding: 5px;}
table {
    max-width: 500px;
}
iframe {
  width: 100%;
    max-width: 480px;
}
#osm-map {
  width: 100%!important;
    max-width: 480px;
}
td {padding: 5px;}
.editor-area hr { display: block; }
#eshop th {
    text-align: left;
    font-size: 0.6rem;
    font-weight: 600;
    padding-right: 4px;
}
@media(min-width: 1100px) {
   #eshop th {
    font-size: 0.8rem;
}
}
#eshop .contact-info td span {
    position: relative;
    display: block;
   top: -33px;
    left: -6px;
    width: 20px;
}
#eshop form table tbody tr td {
    padding-right: 5px;
vertical-align: top;
}
#eshop .registration td input {
  width: 100%;
}
  html {
    background: #292929;
  }

  body {
    height: 100%;
    background: #292929;
    font: 80%/1.5 arial, helvetica, sans-serif;
    text-align: center;
    color: black;
  }

  hr {
    display: none;
  }

  form {
    font-size: 100%;
  }

  table {
    font-size: 100%;
    border-collapse: collapse;
    border-spacing: 0;
  }

  a {
    color: #333;
  }

  a:hover {
    color: black;
  }

  a img {
    border: none;
  }

  p {
    margin: 10px 0;
  }

  center {
    margin: 15px 0;
  }

  h2 {
    font-size: 150%;
    font-weight: bold;
  }

  h3 {
    font-size: 120%;
    font-weight: bold;
  }

  h4 {
    font-size: 100%;
    font-weight: bold;
  }

  .left {
    text-align: left;
  }

  .right {
    text-align: right;
  }

  .center {
    text-align: center;
  }

  .justify {
    text-align: justify;
  }

  .left-float {
    float: left;
  }

  .right-float {
    float: right;
  }

  img.left-float {
    margin: 10px 10px 10px 0;
  }

  img.right-float {
    margin: 10px 0 10px 10px;
  }

  .submit {
    cursor: hand;
    cursor: pointer;
  }

  /* cleaners */

  .clear {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
  }

  #clear6,
  #clear7,
  #perex-cont-clear,
  #gallery-cont-clear,
  #g-section-cont-clear,
  #a-section-cont-clear,
  #article-cont-clear {
    display: block;
  }

  #clear2 {
    display: block;
    width: 100%;
    height: 15px;
  }

  /*======================================
    STRUCTURE
  ======================================*/

  .accessibility-links {
    position: absolute;
    top: -10000em;
  }

  #whole-page {
    background: #3a3a3a;
    position: relative;
    min-height: 100%;
    height: auto;
  }

  #document {
          background: url('http://img/picture/395/image--5-.png') no-repeat top center;
    padding: 45px 0 0px 0;
  }

  #document #in-document {
    position: relative;
    width: 880px;
    margin: 0 auto;
    text-align: left;
  }

  #body {
    background: #fff;
    width: 100%;
    position: relative;
    z-index: 9999;
  }

  .column li,
  #content li {
    background: url('http://img/picture/395/image--5-.png') no-repeat top center;
    padding: 0 12px 0 12px;
  }

  #content li {
    background-position: 0 9px;
  }

  /*--------------------------------------
    ADVERTISMENT
  --------------------------------------*/

  .message {
    color: black;
    margin-bottom: 5px;
  }

  #mess-ahead {
    background: #181818;
    width: 100%;
    margin: 0;
    color: #fff;
  }

  #mess-ahead img {
    display: inline;
  }

  #mess-ahead iframe {
    margin: 0 auto;
  }

  #mess-board .inner_frame,
  #mess-ahead .inner_frame {
    padding: 5px 0px;
    width: 100%;
    margin: 0px auto;
    text-align: center;
  }

  #mess-board {
    padding: 10px 0px;
    background: #292929;
    color: #fff;
  }

  #mess-links {
    width: 740px;
    overflow: hidden;
    padding: 0px;
  }

  .message .inner_frame {
    padding: 5px;
  }

  /* version 0.91 */
  .message {
    text-align: center;
  }

  .message img {
    border: none;
    display: block;
    margin: 0 auto;
  }

  #sky-scraper-block {
    position: absolute;
    right: -300px;
    text-align: center;
    width: 300px;
  }

  #sticky-box {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    right: 0;
  }

  #sky-scraper-block span.mess-title {
    display: block;
    color: #fff;
    padding-bottom: 3px;
  }

  #mess-skyscraper,
  #mess-rectangle {
    margin-bottom: 10px;
    width: 160px;
  }

  .column .message {
    margin: 0 0 15px 0;
  }

  #content .message {
    clear: both;
    margin: 15px 0;
  }

  #content .hypertext h2 a {
    font-weight: normal;
    font-style: normal;
    font-size: 13px;
  }

  .hypertext .inner_frame div#clanek:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
  }

  * html .hypertext .inner_frame div#clanek {
    zoom: 1;
  }

  *:first-child+html .hypertext .inner_frame div#clanek {
    zoom: 1;
  }

  .hypertext {
    width: 380px;
    margin: 15px auto;
    padding: 5px;
    overflow: hidden;
  }

  .hypertext .inner_frame {
    line-height: 1em;
    margin-top: 3px;
  }

  .hypertext img,
  .hypertext {
    border: 1px solid #ddd;
  }

  * html .hypertext {
    margin-left: 55px;
  }

  #content .hypertext+.hypertext {
    border-top: 1px solid #fff;
    margin-top: -16px;
  }

  #shifter #shifter_wrap:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
  }

  * html #shifter #shifter_wrap {
    zoom: 1;
  }

  *:first-child+html #shifter #shifter_wrap {
    zoom: 1;
  }

  #shifter {
    margin: 10px 0 5px;
  }

  #shifter #shifter_wrap #shifter_footer .span3 {
    background: #fff;
    padding: 0px 5px 5px;
    border-radius: 8px;
  }

  #shifter div#shifter_title h3 {
    margin: 5px 0;
    color: #fff;
  }

  #shifter #shifter_wrap #shifter_footer .category {
    border-bottom: 1px solid #ececec;
    margin: 4px 0 3px;
    line-height: 1.2em;
  }

  #shifter #shifter_wrap #shifter_footer .category a {
    font-weight: bold;
    color: #000;
  }

  #shifter #shifter_wrap #shifter_footer .category a:hover {
    text-decoration: underline;
  }

  #shifter #shifter_wrap #shifter_footer .span3 h4 {
    line-height: 1.3em;
    padding: 2px 0;
  }

  #shifter #shifter_wrap #shifter_terms a:hover {
    text-decoration: none;
  }

  * html #shifter #shifter_title h3#shifter_t_2 {
    margin-right: 144px;
  }

  /*--------------------------------------
    HEADER
  --------------------------------------*/

  #header 
    height: auto;
    position: relative;
  }

  /* here as background-image for header is defined user image. its neccessery keep position  5px 5px */
  #header .inner_frame {
    background: url('https://s3b.estranky.cz/img/l/logo_1000000080.jpeg') 5px 5px no-repeat;
    height: auto;
     padding-top: 23%;
   background-size: contain!important;
    background-position: center;
  }

  * html #header .inner_frame {
    background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://s3b.estranky.cz/img/d/1000000080/header.png', sizingMethod='scale');
  }

  /* set path in filter absolute or relative to html file */
  h1 {
    position: absolute;
    right: 50px;
    top: 50px;
    width: 650px;
    height: 300px;
    overflow: hidden;
    text-align: right;
    font-size: 1.2rem;
    font-style: italic;
    color: black;
  }
@media(min-width: 1100px) {
  h1 {
      font-size: 1.6rem;
  }
}

  h1 a {
    text-decoration: none;
    color: black;
  }

  h1 a:hover {
    color: black;
  }

  /*--------------------------------------
    NAVIGATION
  --------------------------------------*/

  nav menu>li.level_1 {
    overflow: unset !important;
  }

  ul.level_2 {
    position: absolute;
    top: 40px;
    z-index: 999;
    background: #858585;
    border: 1px solid black;
  }

  ul.level_2>li {
    display: block !important;
    width: 100%;
  }

  ul.level_2>li>a {
    float: none;
  }

  ul.level_2>li>a:hover {
    background: none;
    color: black;
  }

  #navigation {
    background: #212121;
    width: 880px;
    overflow: hidden;
    height: auto;
    padding: 10px 0 20px;
  }

  #navigation .inner_frame {
    padding: 0 0 0 13px;
  }

  #navigation h2 {
    display: none;
  }

  menu {
    display: block;
    list-style-type: none;
  }

  menu li {
    display: inline-block;
  }

  menu li a {
    float: left;
    height: auto;
    margin: 0 15px;
    line-height: 23px;
    vertical-align: middle;
    text-decoration: none;
    font-size: 120%;
    font-weight: bold;
    color: white;
  }

  /* VARIANTA IMG */
  menu li a:hover {
    background: url('https://s3b.estranky.cz/img/d/1000000080/navigation_h.gif') center bottom no-repeat;
    color: white;
  }

  /*--------------------------------------
    BREADCRUMB
  --------------------------------------*/

  #breadcrumb-nav {
    border-bottom: 1px solid #999;
    margin: 0 0 15px 0;
    padding: 3px 5px 3px 0;
    color: #333;
  }

  #breadcrumb-nav span {
    font-weight: bold;
  }

  /*--------------------------------------
    CONTENT
  --------------------------------------*/

  #content {
    background: white;
    float: right;
    width: 484px;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 20px 0 0;
  }

  * html #content {
    overflow: hidden;
  }

  #perex {
    margin: 15px 0;
  }

  #articles {
    width: 100%;
    overflow: hidden;
  }
#articles .article .editor-area .preview img {
    max-width: 100%;
    max-height: 540px;
    height: auto;
    object-fit: contain;
}

  #articles h2,
  #folders h2,
  #photo-album h2,
  #gallery h2,
  #photos h2,
  #block-comments h2#comments,
  h3.section_sub_title {
    border-bottom: 1px solid #999;
    margin: 0 0 15px 0;
    padding: 0 5px;
    color: #333;
    text-align: right;
  }

  #block-comments h2#comments {
    text-align: left;
  }
#block-comments {
   margin-top: 20px;
}
  #articles h3,
  #archives h3 {
    margin: 0 0 10px 0;
  }

  #articles .article,
  #archive .article {
    margin-bottom: 15px;
  }

  #articles .article h2,
  #archive .article h2 {
    border: none;
    margin: 10px 0;
    padding: 0;
    text-align: left;
    color: black;
  }

  #articles .article h2 a,
  #archive .article h2 a {
    text-decoration: none;
    color: black;
  }

  #articles .article h2 a:hover,
  #archive .article h2 a:hover {
    text-decoration: underline;
  }

  #articles .article .editor-area,
  #archive .article .editor-area {
    width: 100%;
  }

  strong.date {
    margin: 0 5px 0 0;
  }

  .under-article {
    border-top: 1px solid #ececec;
    clear: both;
    margin: 10px 0;
    padding: 10px 13px;
  }

  .under-article strong {
    font-weight: normal;
  }

  #articles .section_sub_title {
    margin: 10px 0;
  }

  #section_subsections {
    background: #ececec;
    padding: 5px 10px;
  }

  #section_subsections h3 {
    margin: 0;
    font-size: 100%;
  }

  #content ul,
  #content ol {
    list-style-type: none;
    margin-left: 20px;
  }

  #content ol {
    list-style-type: decimal;
  }

  #content ol li {
    background: none;
  }

  #content li {
    margin: 5px;
  }

  #content .editor-area table th {
    border: 1px solid #333;
    padding: 5px;
    background-color: #333;
    color: #fff;
  }

  #content .editor-area table td {
    border: 1px solid #333;
    padding: 5px;
  }

  #content .editor-area img {
    max-width: 100%;
    height: auto;
  }

  /* COMMENTS -------------------------*/

  #block-comments form {
    background: #ececec;
    margin: 15px 0;
    padding: 0 0 10px 0;
  }

  #block-comments fieldset {
    border: none;
    border-bottom: 2px solid white;
    width: 100%;
    overflow: hidden;
    padding: 0;
    min-width: auto;
  }

  #block-comments fieldset span {
    display: block;
    padding: 8px 13px;
    font-weight: bold;
    color: #c00;
  }

  #block-comments legend {
    font-size: 100%;
    font-weight: bold;
    color: black;
  }

  #block-comments legend span {
    background: #ececec;
    display: block;
    width: 100%;
    padding: 10px 13px 8px 13px;
    color: black;
  }

  #block-comments form dt {
    background: #ececec;
    border-top: 2px solid white;
    padding: 7px 13px 5px 13px;
    clear: left;
  }

  #block-comments form dd {
    background: #ececec;
    padding: 0 13px 10px 13px;
  }

  #block-comments input,
  #block-comments textarea,
  #block-comments input#c_title {
    border: 1px solid #5d5d5d;
    width: 100%;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 13px;
    padding: 2px 1px;
  }

  #block-comments input#validation {
    float: left;
    width: 250px;
  }

  #block-comments input.submit {
    border: none;
    background: #333 url('https://s3b.estranky.cz/img/d/1000000080/search.jpg') no-repeat;
    clear: both;
    display: block;
    width: 77px;
    height: 28px;
    margin: 10px auto;
    font-family: arial, helvetica, sans-serif;
    font-size: 100%;
    font-weight: bold;
    color: white;
  }

  #block-comments fieldset span.clButton {
    display: inline-block;
    padding: 0;
    margin: 0 0 10px 13px;
  }

  #block-comments span.clButton input.submit {
    width: auto;
    margin: 0;
    padding: 0 15px;
    background: url('https://s3b.estranky.cz/img/d/1000000080/1000000080.gif') right bottom no-repeat;
  }

  #block-comments .comment {
    margin: 15px 0;
  }

  #block-comments .comment-headline h3 {
    display: inline;
    margin: 0;
    font-size: 100%;
    font-weight: bold;
  }

  #block-comments .comment-headline b,
  .comment-headline i {
    font-style: italic;
    font-weight: normal;
  }

  #block-comments form dd input {
    width: 50%;
  }

  #block-comments form dd input#c_validation {
    float: left;
  }

  #block-comments form dd div#c_validation_div {
    text-align: right;
    margin-right: 6px;
  }

  #block-comments form dt#validation-dt {
    margin-top: 22px;
    position: absolute;
    padding: 0px;
    width: 0px;
  }

  /* PHOTOGALLERY -----------------------*/

  #folders,
  #gallery,
  #photos,
  #slide {
    float: left;
    width: 100%;
    overflow: hidden;
  }

  #folders {
    margin: 0 0 15px 0;
  }

  #folders h2 {
    margin: 0 0 15px 0;
  }

  #folders .album {
    background: #ececec;
    margin: 0 0 2px 0;
    padding: 8px 13px;
  }

  #folders .album div {
    overflow: hidden;
  }

  #photos h3#photos-title {
    clear: both;
    margin: 10px 0;
  }

  #gallery {
    margin: 0 0 15px 0;
  }

  #gallery h2 {
    margin: 0 0 15px 0;
  }

  .folder {
    background: #ececec;
    float: left;
    margin: 0 0 2px 0;
    width: 100%;
  }

  .folder .photo-wrap {
    float: left;
    width: 100px;
    overflow: hidden;
    margin: 0;
    padding: 10px 0;
    text-align: center;
  }

  .folder .photo-wrap,
  .folder .photo-wrap div {
    border: none;
  }

  .folder .folder-info {
    overflow: hidden;
    padding: 7px 10px;
  }

  #photos #block-comments {
    clear: both;
    padding: 15px 0 0 0;
  }

  #slide h3 {
    background: #ececec;
    margin: 10px 0 2px 0;
    padding: 8px 13px;
    text-align: center;
  }

  .slide-img {
    background: #ececec;
    padding: 12px;
    text-align: center;
  }

  .slidebar {
    margin: 15px 0;
    width: 100%;
    overflow: scroll;
    white-space: nowrap;
  }

  .slidebar a img {
    border: 5px solid #ececec;
  }

  #thumbnav {
    width: 100%;
    overflow: hidden;
    margin: 15px 0;
  }

  #timenav,
  .slidenav {
    border: 1px solid #999;
    border-width: 1px 0;
    background: #ececec;
    margin: 15px 0;
    padding: 10px;
    text-align: center;
    color: #333;
  }

  .slidenav br,
  #thumbnav br {
    line-height: 0;
    height: 0;
    clear: both;
  }

  .slidenav .back {
    float: left;
  }

  .slidenav .forward {
    float: right;
  }

  /*--------------------------------------
    LEFT COLUMN
  --------------------------------------*/

  .column {
    background: #ececec;
    float: left;
    width: 335px;
    overflow: hidden;
    margin: 0 0 0 10px;
    text-align: right;
    border-radius: 10px;
    padding: 15px 0;
  }

  .column .inner-column {
    padding: 0 15px;
  }

  .column .section {
    overflow: hidden;
    margin: 0 0 15px 0;
  }

  .column .section .inner_frame {
    overflow: hidden;
    padding: 0 5px 0 0;
  }

  .column h2 {
    border-bottom: 1px solid #999;
    margin: 0 0 12px 0;
    padding: 0 4px 0 0;
    font-size: 130%;
    font-weight: bold;
    color: #333;
  }

  .column ul {
    list-style-type: none;
    width: 100%;
    overflow: hidden;
  }

  .column li {
    margin: 1px 0;
  }

  #portrait .inner_frame,
  #last-gallery .wrap-of-wrap {
    border: 5px solid #d4d4d4;
    background: #d4d4d4;
    padding: 0;
  }

  /* zesvetlit */
  #portrait .inner_frame a,
  #last-gallery .wrap-of-photo {
    border: 1px solid #5d5d5d;
    display: block;
    text-align: center;
    padding: 25px 0;
  }

  #last-gallery .inner_frame {
    background: #d4d4d4;
    padding: 0;
  }

  /* zesvetlit */
  #last-gallery .inner_frame span {
    border-top: 2px solid #ececec;
    display: block;
    padding: 2px 5px 4px 5px;
  }


  #calendar {
    text-align: center;
  }

  #calendar h2 {
    text-align: left;
  }
  @media(min-width: 1100px) {
      #calendar h2 {
         text-align: right;
     }
  }

  #search .inner_frame {
    padding: 0;
  }

  #calendar caption {
    display: none;
  }

  #calendar table {
    width: 211px;
    margin: 0 auto;
    text-align: center;
  }

  #calendar td,
  #calendar th {
    background: #d4d4d4;
    padding: 1px 0;
  }

  /* zesvetlit */
  #calendar .archive-nav-c {
    font-weight: bold;
  }

  /*--------------------------------------
    FOOTER
  --------------------------------------*/

  #footer {
    background: #292929 url('https://s3b.estranky.cz/img/d/1000000080/footer.gif') top repeat-x;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  #footer .inner_frame {
    width: 880px;
    margin: 0 auto;
  }

  #footer .inner_frame p {
    margin: 0;
    padding: 30px 10px 0 20px;
    text-align: right;
    color: #a2a2a2;
  }

  #footer .inner_frame p+p {
    padding: 10px 10px 10px 20px;
  }

  #footer .inner_frame p+p a {
    margin-left: 5px;
  }

  #footer a {
    color: #a2a2a2;
  }

  #footer a:hover {
    text-decoration: none;
  }

  /********************************************************************************/

  .level1 {
    margin-left: 1em !important;
  }

  .level2 {
    margin-left: 2em !important;
  }

  .level3 {
    margin-left: 3em !important;
  }

  .level4 {
    margin-left: 4em !important;
  }

  .level5 {
    margin-left: 5em !important;
  }

  .level6 {
    margin-left: 6em !important;
  }

  .level7 {
    margin-left: 7em !important;
  }

  .level8 {
    margin-left: 8em !important;
  }



  .level9 {
    margin-left: 9em !important;
  }

  .comment {
    background: #eee;
    border-top: 2px solid #fff;
    padding: 5px;
  }

  .admin {
    background: #D4D4D4 !important;
  }

  .admin h3 {
    color: #ff5500 !important;
  }

  div#block-comments .comment-answer {
    text-align: right;
    text-transform: capitalize;
    padding-right: 10px;
  }

  div#block-comments .comment-answer a {
    padding: 6px;
  }

  .under-article {
    padding: 0px;
  }

  #preview-folder {
    width: 100%;
    overflow: hidden;
    margin: 15px 0;
  }

  #languages .inner_frame a {
    position: relative;
    margin: 0px 5px;
    float: right;
  }

  #last-photo {
    text-align: center;
  }

  #last-photo h2 {
    text-align: left;
  }
   @media(min-width: 1100px) {
        #last-photo h2 {
            text-align: right;
       }
    }

  #last-photo .inner_frame {
    background: #D4D4D4;
    padding: 5px;
  }

  #last-photo a {
    display: block;
    padding: 10px 0px;
  }

  #search {
    width: 100%;
  }

  #search fieldset {
    border: none;
    width: 100%;
    overflow: hidden;
  }

  #search #key {
    border: 1px solid #5d5d5d;
    float: left;
    width: 96%;
    padding: 3px 5px;
    margin: 0 0 10px;
  }

  #search #sendsearch {
    border: 0px solid #D4D4D4;
    background: #333 url('https://s3b.estranky.cz/img/d/1000000080/search.jpg') no-repeat;
    float: right;
    clear: right;
    display: block;
    width: 77px;
    height: auto;
    font-family: arial, helvetica, sans-serif;
    font-size: .8rem;
    font-weight: bold;
    color: white;
    vertical-align: middle;
  }
#mail-list .recaptchaContainer {
   margin: 10px 0;
}
  #mail-list {
    width: 100%;
  }

  #mail-list fieldset {
    border: none;
    width: 100%;
    overflow: hidden;
  }

  #mail-list #mail-list-key {
    border: 1px solid #5d5d5d;
    float: left;
    width: 96%;
    padding: 3px 5px;
  }

  #mail-list #send-mail-list {
    border: 0px solid #D4D4D4;
    background: #333 url('https://s3b.estranky.cz/img/d/1000000080/search.jpg') no-repeat;
    float: right;
    clear: right;
    display: block;
    width: 77px;
    height: 28px;
    line-height: 18px;
    font-family: arial, helvetica, sans-serif;
    font-size: .8rem;
    font-weight: bold;
    color: white;
  }

  #search .clButton,
  #mail-list .clButton {
    margin-top: 5px;
    cursor: default;
  }

  *:first-child+html #search .clButton,
  *:first-child+html #mail-list .clButton {
    background: none;
  }

  .list-of-pages {
    text-align: center;
    position: relative;
    width: 100%;
  }

  .list-of-pages .previous {
    position: absolute;
    left: 0px;
    top: 0px;
  }

  .list-of-pages .next {
    position: absolute;
    right: 0px;
    top: 0px;
  }

  menu li ul.submenu,
  menu li.submenu-over ul.click,
  menu li ul.classic {
    display: none;
  }

  menu li.submenu-over ul.click,
  menu li.submenu-over ul.onmouse,
  menu li:hover ul.onmouse,
  menu li.submenu-over ul.click {
    display: block;
  }

  menu li.submenu-over ul.onmouse,
  menu li:hover ul.onmouse,
  menu li.submenu-over ul.click {
    position: absolute;
    top: 40px;
    left: 5px;
    background: #242424;
    width: 760px;
    border: 1px solid #fff;
    border-top: 2px solid #fff;
    padding: 0px;
    overflow: hidden;
  }

  menu li.submenu-over ul.onmouse li,
  menu li:hover ul.onmouse li,
  menu li.submenu-over ul.click li {
    padding: 0px;
    margin: 0px;
    float: left;
    display: block;
  }

  menu li.submenu-over ul.onmouse li a,
  menu li:hover ul.onmouse li a,
  menu li.submenu-over ul.click li a {
    position: static;
    color: #fff;
    margin: 0px;
    border: 0px;
    display: block;
    float: left;
    white-space: normal;
    padding: 0px 10px;
    cursor: default;
  }

  menu li.submenu-over ul.onmouse li a:hover,
  menu li:hover ul.onmouse li a:hover,
  menu li.submenu-over ul.click li a:hover {
    border: 0px;
    background-image: none;
    text-decoration: underline;
  }

  #thumbnav,
  #photos,
  #preview-folder {
    overflow: hidden;
  }

  #photos .photo-wrap,
  #preview-folder .box,
  #thumbnav .box {
    background: #ECECEC;
    border: 0px solid #95D001;
    float: left;
    width: 90px;
    height: 90px;
    margin: 2px 0px 2px 4px;
  }

  #photos .photo-wrap {
    margin: 10px 3px 0;
  }

  #thumbnav .box {
    margin: 1px;
  }

  * html #thumbnav .box {
    margin: 0px;
  }

  #photos .photo-wrap div,
  #preview-folder .box div,
  #thumbnav .box div {
    height: 90px;
    width: 90px;
    text-align: center;
    display: table;
    overflow: hidden;
  }

  #thumbnav .box div a,
  #photos .photo-wrap div a,
  #preview-folder .box div a {
    height: 100%;
    background-image: none;
    border: 0px solid #f7b1a5;
    display: table-cell;
    vertical-align: middle;
  }

  #thumbnav .box div a img,
  #photos .photo-wrap div a img,
  #preview-folder .box div a img {
    border: 0px solid #FFF;
  }

  #thumbnav .wrap {
    display: block;
  }

  #thumbnav .box {
    margin: 3px;
  }

  /* title aligment */
  h1.head-left {
    text-align: left;
  }

  h1.head-center {
    text-align: center;
  }

  h1.head-right {
    text-align: right;
  }

  #ajax-container_preview {
    z-index: 999999;
  }

  #stats .inner_frame {
    text-align: right;
  }

  #stats .inner_frame td,
  #stats .inner_frame th {
    padding: 5px;
  }

  #stats .inner_frame table {
    float: right;
  }

  #stats .inner_frame table:after {
    content: ".";
    line-height: 0px;
    height: 0px;
    clear: both;
    visibility: hidden;
  }

  .under-article .inner_frame {
    padding: 3px 0px;
  }

  .folder-info h3 {
    font-size: 130%;
    font-weight: bold;
    color: #000 !important;
  }

  .article p.first {
    margin-top: 0px;
  }

  .article {
    margin-bottom: 20px;
  }

  /********************************************************************************/

  /* ----------- Facebook------------ */
  .fb_edge_widget_with_comment {
    margin: 5px 0px;
  }

  /* --- eshop ---- */
  #eshop fieldset {
    border: none;
  }

  #eshop .comment-headline i {
    float: right;
  }

  #eshop #block-comments {
    width: 100%;
  }

  #usernewsletter,
  .settings .clButton,
  .contact-info .clButton {
    margin-left: 14px;
  }

  * html .contact-info .clButton {
    margin-left: 18px;
  }

  *:first-child+html .contact-info .clButton,
  *:first-child+html .settings .clButton {
    margin-left: 18px;
  }

  #login input.submit {
    float: none;
  }

  #basket_preview_form tbody tr td,
  #confirm tbody tr td,
  #orderdone tr td {
    border-top: 1px dotted #C6C6C6;
    border-collapse: collapse;
  }

  #eshop #confirm fieldset table,
  #eshop #orderdone,
  #eshop .comment-headline {
    border-bottom: 1px dotted #C6C6C6;
    border-collapse: collapse;
  }

  .registration #usernewsletter {
    margin: 0;
  }

  #eshop .sphotos:after,
  #eshop div.products:after,
  #eshop #articles:after,
  #eshop #articles #steps ul:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
  }

  * html #eshop .sphotos,
  * html #eshop div.products,
  * html #eshop #articles,
  * html #eshop #articles #steps ul {
    zoom: 1;
  }

  *:first-child+html #eshop .sphotos,
  *:first-child+html #eshop div.products,
  *:first-child+html #eshop #articles,
  *:first-child+html #eshop #articles #steps ul {
    zoom: 1;
  }

  #eshop div.products .article h3,
  #eshop #articles .article h3 {
    margin: 0.2em 0em 0.3em;
    line-height: 1.2em;
    height: 2.5em;
    overflow: hidden;
  }

  #eshop div.products .article,
  #eshop #articles .article {
    float: left;
    width: 100%;
    margin: 5px 13px 0px;
    padding: 0 2px;
  }
@media(min-width: 768px) {
  #eshop div.products .article,
  #eshop #articles .article {width: 130px;}
}

  * html #eshop div.products .article,
  * html #eshop #articles .article {
    width: 134px;
  }

  #eshop div.products {
    margin-bottom: 25px;
    padding-bottom: 5px;
  }

  #eshop div.products .article .photo-wrap,
  #eshop #articles .article .photo-wrap {
    float: none;
    width: 92%;
    height: 130px;
  }
@media(min-width: 768px) {
  #eshop div.products .article .photo-wrap,
  #eshop #articles .article .photo-wrap {width: 130px;}
}
  #eshop div.products .article .photo-wrap div,
  #eshop #articles .article .photo-wrap div {
    width: 130px;
  }

  #eshop div.products .article .editor-area,
  #eshop #articles .article .editor-area {
    padding: 5px;
    height: 5.3em;
    line-height: 1.45em;
    overflow: hidden;
    text-align: justify;
    width: auto;
  }

  * html #eshop div.products .article .editor-area,
  * html #eshop #articles .article .editor-area {
    line-height: 1.25em;
    height: 6.5em;
  }

  #eshop div.products .article span.price,
  #eshop #articles .article span.price {
    font-weight: bolder;
    text-align: center;
    display: block;
    margin-top: 5px;
  }

  #eshop .article .photo-wrap {
    margin-top: 0;
  }

  #eshop div.products h2 {
    text-align: right;
    border-bottom: 1px solid #999;
    margin: 0 0 15px 0;
    padding: 0 5px;
    color: #333;
  }

  #eshop #articles h2 {
    text-align: left;
  }

  #eshop #product #photo-detail .photo-wrap {
    float: left;
    margin-top: 1px;
  }

  #eshop #basket input.amount {
    height: 18px;
    top: 0;
  }

  * html #eshop #basket input.amount {
    height: 32px;
  }

  *:first-child+html #eshop #basket input.amount {
    height: 21px;
  }

  #eshop #product-comments #block-comments form dt {
    padding: 0 0 0 13px;
  }

  #eshop .registration {
    margin-top: -10px;
  }

  #account_firm label {
    width: 82px;
    display: block;
  }

  #billing_address label {
    width: 80px;
    display: block;
  }

  .settings #firmsdata label {
    width: 82px;
  }

  #eshop .settings #billing_address label {
    width: 78px;
  }

  .contact-info #billing_address label {
    width: 81px;
  }

  #eshop #billing_address #sameaddress+label {
    width: auto;
  }

  * html .contact-info #billing_address label {
    width: 82px;
  }

  *:first-child+html #eshop .settings #billing_address label {
    width: 74px;
  }

  *:first-child+html .contact-info #billing_address label {
    width: 76px;
  }

  * html #eshop .settings #billing_address label {
    width: 82px;
  }

  #eshop .settings #billing_address label {
    width
    /*\**/
    : 76px\9
  }

  .contact-info #billing_address label {
    width
    /*\**/
    : 79px\9
  }

  @-moz-document url-prefix() {

    /** FF */
    .contact-info #billing_address label {
      width: 77px;
    }

    #eshop .settings #billing_address label {
      width: 74px;
    }
  }

  #eshop .settings input,
  #eshop .settings label,
  #eshop .registration input,
  #eshop .registration label,
  #eshop .contact-info input,
  #eshop .contact-info label {
    vertical-align: middle;
  }

  #eshop #basket_preview_form .wrap input {
    position: relative;
    top: 2px;
  }

  /* Opera 7.2 < */
  @media all and (-webkit-min-device-pixel-ratio:10000),
  not all and (-webkit-min-device-pixel-ratio:0) {
    #eshop #basket_preview_form .wrap input {
      top: 0px;
    }
  }

  #eshop #basket_preview_form span.disable {
    opacity: 0.4;
    filter: alpha(opacity=40);
  }

  #eshop #basket_preview_form span.disable input.submit[disabled] {
    opacity: 1;
    filter: alpha(opacity=100);
  }

  * html #eshop #basket_preview_form .wrap input {
    top: 1px;
  }

  *:first-child+html #eshop #basket_preview_form .wrap input {
    top: 1px;
  }

  #eshop .gennewmail fieldset p input {
    width: 191px;
  }

  * html #eshop .gennewmail fieldset p input {
    width: 195px;
  }

  #login .inner_frame .errormes {
    margin-bottom: 15px;
  }

  #account_firm,
  #deliveryaddress {
    margin-left: 2px;
  }

  #sameaddress {
    margin-left: 0;
  }

  #eshop #articles .settings {
    margin-top: 10px;
  }

  #eshop #product-detail #calculation {
    line-height: 180%;
  }

  #eshop #basket_preview_form td.title {
    width: 150px;
  }

  *:first-child+html #eshop #basket_preview_form td.title {
    width: 149px;
  }

  #eshop #basket_preview_form td img {
    padding-top: 2px;
  }

  #basketpayments ul,
  #baskettransport ul {
    margin-left: -6px;
  }

  #basketpayments h3,
  #baskettransport h3,
  #eshop #basket_preview_form .clButton {
    margin-left: 2px;
    margin-top: 4px;
  }

  * html #basketpayments ul,
  * html #baskettransport ul {
    margin-left: -3px;
  }

  * html #basketpayments h3,
  * html #baskettransport h3 {
    margin-left: 6px;
  }

  * html #content #eshop #basketpayments ul li div,
  * html #content #eshop #baskettransport ul li div {
    padding-left: 26px;
  }

  *:first-child+html #basketpayments ul,
  *:first-child+html #baskettransport ul {
    margin-left: -3px;
  }

  *:first-child+html #basketpayments h3,
  *:first-child+html #baskettransport h3,
  *:first-child+html #content #eshop #basketpayments ul li div,
  *:first-child+html #content #eshop #baskettransport ul li div {
    padding-left: 26px;
  }

  * html #eshop #basket_preview_form li div {
    font-size: smaller;
  }

  * html #eshop .registration #usernewsletter {
    margin-left: -4px;
  }

  *:first-child+html #eshop .registration #usernewsletter {
    margin-left: -4px;
  }

  #basketpayments h3,
  #baskettransport h3 {
    margin-left: 10px;
  }

  #content #eshop #basketpayments ul li input,
  #content #eshop #baskettransport ul li input {
    margin: 3px 2px 0 3px;
  }

  * html #content #eshop #basketpayments ul li input,
  * html #content #eshop #baskettransport ul li input {
    margin: 0 2px 0 0;
  }

  *:first-child+html #content #eshop #basketpayments ul li input,
  *:first-child+html #content #eshop #baskettransport ul li input {
    margin: 0 2px 0 0;
  }

  * html #eshop #product-comments #block-comments .validation dt {
    width: 120px;
  }

  #eshop #articles #steps ul {
    width: 235px;
    margin: 5px auto;
  }

  * html #eshop #articles #steps {
    text-align: center;
  }

  .contact-info fieldset,
  .settings fieldset {
    padding: 5px 10px;
  }

  #orderdone {
    padding: 5px 10px;
  }

  #orderdone td {
    padding: 2px 0;
  }

  #eshop #confirm .wrap {
    padding: 0px 10px;
  }

  #eshop #articles {
    padding: 5px 0 0 0;
  }

  #login p {
    margin-left: 50px;
  }

  #eshop #block-comments textarea {
    width: 430px;
  }

  #eshop #confirm .validation {
    margin: 10px 0;
  }

  #eshop #confirm .clButton {
    margin-top: 3px;
  }

  #eshop #confirm .validation #c_validation {
    height: 24px;
  }

  * html #eshop #confirm .validation #c_validation {
    height: 28px;
  }

  #eshop form#confirm input[type="checkbox"] {
    position: relative;
    top: 2px;
  }

  *:first-child+html #eshop form#confirm input[type="checkbox"] {
    margin-left: -3px;
  }

  #eshop #confirm .validation dt {
    float: none;
  }

  #eshop #product-comments #block-comments form {
    margin-left: 0;
  }

  #eshop #orderdone {
    font-size: 90%;
  }

  #eshop #orderdone th {
    padding: 0;
  }

  #eshop #panel .panel-header li a {
    background: #fafafa;
  }

  #eshop #panel {
    max-width: 480px;
    width: 100%;
  }

  #eshop .article .price {
    margin: 5px 0 20px;
  }

  #eshop .wrap #product-info td {
    padding: 1px 0;
  }

  #eshop .validation .validatin-images-set {
    width: 56%;
  }

  #eshop .gennewmail {
    margin-left: 10px;
  }

  #eshop #articles ul,
  #eshop p {
    font-size: 100%;
  }

  #login label {
    width: auto;
    float: none;
  }

  #login .inner_frame form input {
    margin-bottom: 5px;
  }

  #eshop .gennewmail .validatin-images-set {
    width: 55%;
  }

  #eshop .article .photo-wrap img {
    margin-left: 1px;
  }

  * html #eshop .article .photo-wrap img {
    margin-left: 0;
  }

  #eshop #block-comments .comment-text {
    word-wrap: break-word;
    margin: 10px 0 0 10px;
  }

  #eshop #panel .panel-header li {
    background: none;
    padding: 0;
  }

  #eshop #block-comments .comment-headline h3 {
    display: block;
  }

  #eshop .wrap li,
  #eshop #steps li {
    background: none;
    padding: 0;
  }

  #eshop #confirm .validation .validatin-images-set {
    width: 100%;
  }

  #eshop #confirm .wrap {
    line-height: 160%;
  }

  #eshop #steps .active,
  #eshop #steps .done {
    padding: 3px 5px;
    border: 1px solid #272727;
    border-radius: 11px;
    width: 55px;
    text-align: center;
  }

  #delivery_address label {
    width: 84px;
    display: block;
  }

  @-moz-document url-prefix() {

    /** FF */
    #eshop #basket input.add_basket {
      width: 145px;
    }
  }

  #eshop #basket_preview_form .wrap {
    margin-top: 20px;
  }

  #eshop .registration fieldset h3 {
    margin: 10px 0 2px;
  }

  #eshop .settings .clButton {
    margin-top: 10px;
  }

  #eshop #confirm fieldset table img {
    padding: 2px 0;
  }

  #eshop #confirm .right p,
  #eshop #product #product-detail #calculation p {
    margin: 0;
  }

  #eshop #confirm .right .price {
    margin: 10px 0;
  }

  #eshop #confirm .wrap h3 {
    margin: 5px 0;
  }

  #eshop #product .wrap h2 {
    padding: 0;
  }

  #login p {
    margin: 3px 0;
  }

  #eshop #basket_preview_form table .border_fix td,
  #eshop #basket_preview_form table tr .price {
    border: none;
  }

  #eshop .contact-info p {
    margin-top: -5px;
  }

  #eshop #articles #steps {
    margin-bottom: 10px;
  }

  #nav-basket .inner_frame,
  #logged .inner_frame {
    line-height: 1.5em;
  }

  #ecategory .inner_frame ul li ul li {
    background: none;
  }

  * html #eshop #product-comments .comment-headline i {
    margin-top: -4%;
  }

  *:first-child+html #eshop #product-comments .comment-headline i {
    margin-top: -4%;
  }

  * html #eshop #basket input.add_basket {
    width: 155px;
  }

  *:first-child+html #eshop #basket input.add_basket {
    width: 155px;
  }

  #eshop #steps .active {
    font-weight: bold;
    background: #ececec;
  }

  #content #eshop #basketpayments ul li,
  #content #eshop #baskettransport ul li {
    background: #ECECEC;
  }

  #content #eshop #basketpayments ul li div,
  #content #eshop #baskettransport ul li div {
    background: white;
    margin-left: 0 !important;
    padding-left: 23px;
  }

  #eshop #product-detail #product-info table tr td {
    min-width: 70px;
    vertical-align: top;
  }

  #eshop #product .wrap h2 {
    line-height: 1.2em;
  }

  #eshop .registration p {
    margin: 5px 0;
  }

  #eshop .settings p,
  #nav-basket p {
    margin: 0;
  }

  #confirm .wrap,
  #account_info,
  #billing_address,
  #eshop div.products .article span.price,
  #eshop #articles .article span.price {
    background: #ECECEC;
  }

  #eshop #confirm .wrap,
  #eshop #account_info,
  #eshop #billing_address {
    border: 2px solid #999;
    border-radius: 11px;
  }

  #eshop #photo,
  #eshop div.products .article .photo-wrap,
  #eshop #articles .article .photo-wrap,
  #eshop #product #photo-detail .photo-wrap {
    background: #ECECEC;
    border: 1px solid #999;
  }

  #eshop #basket input.amount {
    top
    /*\**/
    : -1px\9
  }

  :root #eshop #basket input.amount {
    top: 1px\9;
  }

  @-moz-document url-prefix() {

    /** FF */
    #eshop #basket input.amount {
      height: 17px;
      top: 1px;
    }
  }

  #eshop #paging {
    clear: both;
  }

  #eshop #paging a,
  #eshop #paging span.current {
    padding: 3px 6px;
    margin-right: 4px;
    border: 1px solid #999;
    background: #ECECEC;
    text-decoration: none;
  }

  #eshop #paging a:hover {
    font-weight: bold;
  }

  #eshop #paging span.current {
    background: none;
  }

  #eshop #paging #previous,
  #eshop #paging #next {
    border: none;
    background: none;
  }

  #eshop .contact-info fieldset span {
    color: #ff0000;
  }

  #ecategory div ul li.current ul li a {
    color: #333;
  }

  #ecategory div ul li.current a,
  #ecategory div ul li ul li.current a,
  #ecategory div ul li.current ul li a:hover {
    color: #000;
  }

  menu li.current ul.submenu li a {
    background-image: none;
  }

  menu li.current a,
  menu li.current ul.submenu a,
  menu li.current ul.submenu li a:hover {
    background: url('https://s3b.estranky.cz/img/d/1000000080/navigation_h.gif') center bottom no-repeat;
  }

  #eshop .registration .clButton {
    margin-left: 10px;
  }

  #eshop .login-info fieldset p {
    margin: 5px 0;
  }

  #eshop form.login-info fieldset p label {
    display: inline-block;
    width: 80px;
  }

  #eshop .login-info {
    border-bottom: 1px solid #999;
    padding-left: 14px;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }

  #eshop form.login-info input {
    width
    /*\**/
    : 148px\9
  }

  #eshop form.login-info input.submit {
    width
    /*\**/
    : auto\9
  }

  * html #eshop form.login-info input {
    width: 155px;
  }

  * html #eshop form.login-info input.submit {
    width: auto;
  }

  span.clButton,
  span.clButton input.submit,
  #eshop #block-comments input.submit,
  #eshop #block-comments a.submit,
  #eshop span.clButton a.submit {
    background: url('https://s3b.estranky.cz/img/d/1000000080/1000000080.gif') no-repeat;
    height: 28px;
    display: inline-block;
    border: 0px solid #D4D4D4;
    color: white;
    font-weight: bolder;
    cursor: pointer;
  }

  span.clButton input.submit,
  #eshop span.clButton a.submit {
    background-position: right bottom;
    padding: 0 15px;
  }

  *:first-child+html span.clButton input.submit {
    padding: 0;
  }

  * html span.clButton input.submit {
    padding: 0;
  }

  #eshop span.clButton a.submit {
    text-decoration: none;
    border-bottom: 0;
    color: #fff;
    margin-top: 0;
    background-position: right -51px;
    line-height: 28px;
  }

  :root #eshop span.clButton a.submit {
    font-weight: normal\9;
  }

  *:first-child+html #eshop .gennewmail input.submit {
    padding-right: 10px;
  }

  * html #eshop .gennewmail input.submit {
    padding-right: 10px;
  }

  #eshop #block-comments span.clButton {
    margin: -15px 0 0 13px;
  }

  #eshop #block-comments input.submit {
    margin: 0;
    background-position: right -47px;
    width: 130px;
  }

  #eshop .order_account h3 {
    margin: 0;
  }

  #eshop .order_account #basket_preview_form {
    border-bottom: 1px dotted #C6C6C6;
    border-collapse: collapse;
  }

  #eshop .order_account #basket_preview_form th {
    padding: 4px;
  }

  #product-search input {
    vertical-align: middle;
  }

  #eshop #product-search div.products h2 {
    text-align: left;
    padding: 0;
  }

  #product-search input#product-search-text {
    border: 1px solid #5D5D5D;
    width: 200px;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 13px;
    padding: 0 5px;
    border-radius: 2px;
    height: 26px;
  }

  #product-search form#product-search-form {
    background: #ECECEC;
    padding: 10px;
    margin: 5px 0 20px;
  }

  *:first-child+html #product-search input#product-search-text {
    padding: 4px 5px 0;
    height: 22px;
  }

  * html #product-search input#product-search-text {
    padding: 4px 5px 0;
    height: 28px;
  }

  #eshop #basket_preview_form td.coupon input.submit {
    margin-top: 0;
  }

  #eshop #basket_preview_form td.coupon input.couponText {
    padding: 4px 2px;
    margin-bottom: 5px;
  }
}

@media \0screen {
  #product-search input#product-search-text {
    padding: 4px 5px 0;
    height: 22px;
  }
}

/*------------------------------Navigation bar style----------------------------*/
@media screen,
projection {
  #nav-cover {
    background-color: #181818;
  }

  /* Full width adjustments */

  body.full-width #content {
    width: calc(100% - 20px);
    padding: 10px 15px;
    position: relative;
    left: 10px;
    top: -10px;
    float: none;
    margin-bottom: -10px;
  }

  body.full-width #footer .inner_frame {
    background-image: url('https://s3b.estranky.cz/img/d/1000000080/footer_in_full.jpg');
  }

  /* search reset */
  body.search-active #content {
    float: right;
    width: 484px;
    margin: 0 20px 0 0;
    padding: 0;
  }

  body.search-active #footer .inner_frame {
    background: url('https://s3b.estranky.cz/img/d/1000000080/footer_in.gif') top left no-repeat;
  }

}

/* Responsive */

.menu-toggle {
  position: absolute;
  top: 0;
  right: 5px;
  border: 0;
  outline: 0;
  cursor: pointer;
  min-height: 35px;
  display: none;
  background: transparent;
  z-index: 1;
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  border-top: 5px #fff solid;
  width: 30px;
  margin: 2px 0;
  display: block;
  -webkit-transition: 0.3s all linear;
  transition: 0.3s all linear;
}

.menu-toggle.menu-active {
  padding-bottom: 20px;
  background: transparent;
  top: 0;
}

.menu-toggle.menu-active span {
  border-top: 5px white solid;
}

.menu-toggle.menu-active span:nth-of-type(1) {
  opacity: 0;
}

.menu-toggle.menu-active span:nth-of-type(2) {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.menu-toggle.menu-active span:nth-of-type(3) {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  margin-top: -7px;
}

@media only screen and (max-width: 1100px) {
  #document #in-document {
    width: 100%;
    max-width: 770px;
  }

  h1 {
    left: 0;
    top: -45px;
    padding-left: 10px;
    box-sizing: border-box;
    width: 100%;
    font-size: 1.2rem;
  }

  h1 a {
    background: rgba(204, 204, 204, 0.5);
    padding: 5px;
    border-radius: 5px;
  }

  #header {
    background-size: contain!important;
    background-position: center;
  }

  #header .inner_frame {
     margin-top: 25px;
  }

  #navigation {
    width: 100%;
    height: auto !important;
    display: block;
    background: #1f1f1f;
    margin-top: 5px;
  }
#navigation.menu-active {
  margin-top: -74px;
}

  #clear2 {
    display: none;
  }

  .column {
    width: 100%;
    margin: 0;
    text-align: left;
    background: white;
  }

  .column .inner-column {
    padding: 15px;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    justify-content: flex-start;
  }

  .folder {
    box-sizing: border-box;
    margin: 10px 0;
  }

  .column .section,
  #mail-list,
  #search {
    width: 45%;
    float: left;
    margin: 10px 2.5%;
    clear: none;
    box-sizing: border-box;
    background: #d4d4d4;
    padding: 20px 5px;
    border-radius: 10px;
  }
@media(min-width: 1100px) {
  .column .section,
  #mail-list,
  #search {
    padding: 20px;
  }
}

  .column li,
  #content li {
    background: url('https://s3b.estranky.cz/img/d/1000000080/li.gif') left 9px no-repeat;
  }

  #content,
  body.full-width #content {
    width: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 6px 6px 0 0;
    top: 0;
    left: 0;
  }

  #footer .inner_frame,
  body.full-width #footer .inner_frame {
    width: 100%;
    background: none;
    background-image: none;
  }

  #footer .inner_frame p {
    padding: 10px;
  }

  menu {
    padding-bottom: 20px;
  }

  menu li {
    display: block;
    width: 100%;
    text-align: center;
  }

  menu li a {
    float: none;
    display: block;
    border-bottom: 1px solid white;
    white-space: pre-wrap;
    line-height: 2;
    margin: 0;
    padding: 15px 0;
    font-size: 16px;
    height: auto;
  }

  .menu-toggle {
    display: block;
  }

  #navigation .inner_frame {
    padding: 0;
  }

  #navigation menu {
    display: none;
  }

  #navigation.menu-active menu {
    display: block;
  }

  .level_2 {
    display: none !important;
  }
}

@media only screen and (max-width: 991px) {
  #document {
    padding: 0;
    background: #1f1f1f;
  }

  #whole-page {
    overflow: hidden;
  }

  body {
    width: 100% !important;
  }

  #block-comments form dd input {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .column .section,
  #mail-list,
  #search {
    width: 100%;
    margin: 5px 0;
  }
}

/* ------------- CUSTOM GALLERY ---------------- */
/* INIT SLIDER STYLES  */
.initSlider,
.initSlider *,
.initSlider *::after,
.initSlider *::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

 

.slide.hide,
.slide.hideSlide {
  display: none !important;
}

 

.initSlider {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 1;
}
.initSlider .firstImg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
}

 

.initSlider .lastImg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
}
.initSlider img {
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-drag: none;
}

 

.initSlider .slide {
  position: relative;
  display: inline-block;
  float: left;
  overflow: hidden;
  text-align: center;
}

 

.initSlider .slide a {
  z-index: 55;
}

 

.initSlider .containerGallery {
  position: relative;
  display: inline-block;
}

 

.initSlider .slider__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  background: rgba(0, 0, 0, 0.4);
}
/* end INIT SLIDER STYLES */

 

/* SLIDER GALLERY STYLES  */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
  body[data-slider-open="true"] {
     background: #000;
  }
}
body[data-slider-open="true"] {
  overflow: hidden;
}
body[data-slider-open="true"] .slider-gallery {
  display: block;
}

 

.slider-gallery {
  position: fixed;
  z-index: 100000;
  padding: 5px 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #000;
  display: none;
}
.slider-gallery .slider-gallery__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
   -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 15px 10px;
  margin-top: 15px;
}
.slider-gallery .slider-gallery__title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
 -webkit-box-flex: 1;
   -ms-flex: 1;
    flex: 1;
}
.slider-gallery .slider-gallery__position {
  font-size: 1.42857rem;
  -webkit-box-flex: 1;
   -ms-flex: 1;
    flex: 1;
}
.slider-gallery .slider-gallery__count {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
  color: inherit;
}
.slider-gallery .slider-gallery__header-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-flex: 1;
   -ms-flex: 1;
    flex: 1;
}
.slider-gallery .slider-gallery__close {
  padding-left: 5px;
 cursor: pointer;
}

 

.slider-gallery .slider-gallery__close:hover {
  opacity: 0.6;
}
.slider-gallery .slider-gallery__description-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
            flex-flow: column wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px 10px 0;
  line-height: 1.5;
}

 

.slider-gallery .slider-gallery__description,
.slider-gallery .slider-gallery__comment {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #eee;
  text-align: left;
}

 

.slider-gallery .slider-gallery__comment {
  font-size: 0.7rem;
}

 

.slider-gallery .slider-gallery__arrow {
  position: absolute;
  top: 0;
  bottom: 55px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  color: transparent;
  text-decoration: none;
  cursor: pointer;
}
.slider-gallery .slider-gallery__arrow {
  width: 30px;
}

 

.slider-gallery .slider-gallery__arrow:hover {
  opacity: 0.6;
}

 

.slider-gallery .slider-gallery__arrow-prev {
  left: 0;
  width: 30%;
}

 

.slider-gallery .slider-gallery__arrow-next {
  right: 0;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  width: 70%;
}

 

.slider-gallery .slider-gallery__arrow-icon {
   border: solid #fff;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 8px;
    position: relative;
}

 

.slider-gallery .slider-gallery__arrow-prev-icon {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    left: 10px;
}

 

.slider-gallery .slider-gallery__arrow-next-icon {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    right: 10px;
}

 

.slider-gallery .slider-gallery__slider {
  position: relative;
  height: 80vh;
  min-height: 700px;
}

 

.slider-gallery .slider-gallery__slide {
  height: 100%;
}

 

.slider-gallery .slider-gallery__container {
   position: relative;
   height: 89vh;
   height: calc(100vh - 65px);
   padding: 0 15px;
}

 

.slider-gallery .slider-gallery__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  text-align: center;
}

 

.slider-gallery .slider-gallery__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 100%;
  height: 100%;
  max-width: 90%;
  max-height: 100%;
  margin: auto;
  overflow: hidden;
}

 

.slider-gallery .slider-gallery__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

 

.slider-gallery .containerGallery {
    height: 100%;
}

 

@media (max-width: 650px) {
  .slider-gallery .slider-gallery__container {
     padding: 0;
  }
}
/* end SLIDER GALLERY STYLES */

 

/* Foto (vyjmutí #photos definicí -> nově má samostané styly ) */
#preview-folder .box, #thumbnav .box, .folder .photo-wrap, #photo-album-nav li .photo-wrap {
  width: 130px;
  height: 130px;
  float: left;
  margin: 15px 7px 0;
}
#preview-folder .box div, #thumbnav .box div, .folder .photo-wrap div, #photo-album-nav li .photo-wrap div {
  height: 130px;
  width: 130px;
  text-align: center;
  display: table;
  overflow: hidden;
}
#preview-folder .box div a, #thumbnav .box div a, .folder .photo-wrap div a, #photo-album-nav li .photo-wrap div a {
  height: 100%;
  border: 0;
  display: table-cell;
}
#preview-folder .box div img, #thumbnav .box div img, .folder .photo-wrap div img, #photo-album-nav li .photo-wrap div img {
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 120px;
}

 

@media (max-width: 900px) {
  #preview-folder .box, #thumbnav .box, .folder .photo-wrap, #photo-album-nav li .photo-wrap {
    width: 75px;
    height: 75px;
    margin: 10px 5px 0;
  }
  #preview-folder .box div, #thumbnav .box div, .folder .photo-wrap div, #photo-album-nav li .photo-wrap div {
    height: 75px;
    width: 75px;
  }
 #preview-folder .box div img, #thumbnav .box div img, .folder .photo-wrap div img, #photo-album-nav li .photo-wrap div img {
    max-width: 75px;
    max-height: 75px;
  }
}

 

/* speciální úprava pro detail galerie */
#photos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
   justify-content: space-between;
}
#photos::after {
    content: "";
    flex: auto;
}
#photos .slide {
  width: 130px;
  height: auto;
  float: left;
  margin: 15px 7px 10px;
}
#photos .slider-gallery__wrap {
  height: auto;
  width: 130px;
  text-align: center;
  display: table;
  overflow: hidden;
}
#photos .slider-gallery__box {
  height: 100%;
  border: 0;
  display: table-cell;
}
#photos .slider-gallery__img {
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 120px;
  cursor: pointer;
}
#photos .slider-gallery__description-box {
   display: none;
}

 

@media (max-width: 900px) {
  #photos .slide {
    width: 100%;
    height: auto;
    margin: 10px 5px 0;
  }
  #photos  .slider-gallery__wrap {
    height: auto;
    width: 100%;
  }
  #photos .slider-gallery__img {
    max-width: 100%;
    max-height: 100%;
  }
}
/* Galerie responsive END */