/*-----------------------------------------------------------------------------Projection style-----------------------------------------------------------------------------*/
@media screen,projection{
/* Common styles -------------------------------------------------------------*/
*{ margin:0;padding:0;}
.decoration{display:none;}
#whole-page{font-size:90%;}
body{font:medium/1.5 sans-serif;_font-size:small;text-align:center;color:#FFF;background:#b9b9b9 url(https://s3b.estranky.cz/img/d/1000000050/body.gif) top left;}
hr{display:none;}
table,form{font-size:100%;}
a{color:#000;}
a:hover{color:#a41318;}
a img{border:none;}
p{margin:10px 0;}
.left{text-align:left;}
.right{text-align:right;}
.center{text-align:center;}
.justify{text-align:justify;}
* html #content{overflow:hidden;}
#articles, #archive, #slide{overflow:hidden;}
#content ul,#content ol{list-style-type:square;margin-left:30px;}
#content ol{list-style-type:decimal;}
#content li{margin:5px;}
.left-float{float:left;}
.right-float{float:right;}
img.left-float{margin:10px 10px 10px 0;}
img.right-float{margin:10px 0 10px 10px;}
.clear{clear:both;height:0;line-height:0;font-size:0;display:none;width:1px;}
form{margin:0;clear:left;}
form dt{display:block;width:150px;margin:0 5px 10px 0;float:left;clear:left;}
form dd{margin-bottom:10px;}
button{clear:both;}
fieldset{padding:0;border:0 none;}
legend,#content h3{margin:1em 0;font-weight:bold;color:#565656;}
center{margin:15px 0;}
/* Layout -------------------------------------------------------------------*/
#document{padding:20px 0;color:#565656;background:url(https://s3b.estranky.cz/img/d/1000000050/document.gif) top left repeat-x;}
#in-document{width:710px;margin:0 auto;text-align:left;background-color:#fff;}
#header{overflow:hidden;width:760px;height:125px;margin:0 -42px 0 -8px;background:#a1a1a1 url(https://s3b.estranky.cz/img/l/logo_1000000055.jpeg  ) top left no-repeat;_position:relative;}
#header .inner_frame{position:relative;width:760px;height:125px;background:url('https://s3b.estranky.cz/img/d/1000000050/header-in.gif') top left no-repeat;}
#photos h2{clear:both;}
#header-decoration{display:none;}
h1{overflow:hidden;position:absolute;top:50px;left:150px;width:560px;height:70px;font-size:200%;line-height:110%;}
h1 a, h1 a:hover{text-decoration:none;color:#FFF;}
#navigation{float:left;width:710px;position:relative;z-index:999;}
#navigation h2{display:none;}
.column h2{clear:both;position:relative;padding:7px 10px 3px 15px;text-align:left;font-size:97.2%;color:#FFF;background:#565656 url('https://s3b.estranky.cz/img/d/1000000050/nav-title.gif') 100% 0% no-repeat;margin:0px !important;z-index:99;_zoom:1;}
.column .decoration,#nav-decoration{display:none;}
menu{display:block;position:relative;z-index:999;width:690px;_width:710px;padding:5px 10px;list-style-type:none;text-align:left;background:#c1d39c url('https://s3b.estranky.cz/img/d/1000000050/menu.gif') left center;}
menu li{display:inline-table;padding:0 8px;border-right:1px solid black;font-weight:bold; position: relative;}
menu li a{text-decoration:none;}
menu li a:hover{color:#fff;}
.column{position:relative;float:right;margin:25px -14px 0 0;}
.column .section .inner_frame{background:url('https://s3b.estranky.cz/img/d/1000000050/nav-inner.gif') right bottom no-repeat;padding-bottom:25px !important;}
.column ul{padding-left:5px;}
.column ul li{position:relative;display:block;margin-left:5px;padding:5px 10px 0;list-style-type:none;background:url('https://s3b.estranky.cz/img/d/1000000050/li.gif') top left no-repeat;}
.column, #mess-square, #mess-message{width:190px;overflow:hidden;background-color:#ececec;}
.column a,menu li a{color:#000;}
.column a:hover{color:#a41318;}
#portrait h2{display:none;}
#portrait .inner_frame, #last-gallery .inner_frame{text-align:center;}
#portrait a, #last-gallery .wrap-of-photo{margin:0 auto;}
.section .inner_frame{padding:20px 10px 10px;}
.wrap-wrapu{width:120px;margin:0 auto;}
#portrait a,#last-gallery .wrap-of-photo a{margin:0 auto;}
#portrait a img,#last-gallery .wrap-of-photo a img{border:5px solid #cecece;}
#search fieldset{text-align:center;}
#sendsearch{margin:5px 0;padding:2px 6px;_padding:0px;}
#calendar{text-align:center;}
#calendar a:hover{text-decoration:underline;color:#a41318;}
#calendar td{font-size:80%;color:#565656;}
#calendar thead td a{font-weight:bold;color:#000;}
#calendar caption{display:none;}
#calendar table{width:160px;text-align:center;margin:0 auto;}
td,th{padding:1px;}
#archive-days{color:#565656;font-size:small;font-weight:bold;}
#archive-days a{font-weight:normal;text-decoration:underline;}
#footer{clear:both;overflow:hidden;_position:relative;width:728px;_width:730px;margin:20px -14px 0 -8px;padding:2px 0;border:1px solid #b4b4b2;font-size:small;_font-size:x-small;color:#000;background:url('https://s3b.estranky.cz/img/d/1000000050/footer.gif') 50% 50%;}
#footer .inner_frame{text-align:center;}
#footer .inner_frame p + p a {margin: 0 5px;}
#footer p{display:block;margin:0 auto;}
#clear5,#perex-cont-clear,#gallery-cont-clear,#g-section-cont-clear,#a-section-cont-clear,#article-cont-clear{display:block;}
#content{overflow:hidden;position:relative;float:left;width:494px;_width:534px;padding:0 20px;background-color:#FFF;}
#content h3.section_sub_title{clear:both;font-size:large;_font-size:medium;}
#breadcrumb-nav{overflow:hidden;font-size:small;_font-size:x-small;color:#000;background-color:#FFF;}
#breadcrumb-nav a{color:#565656;}
#breadcrumb-nav a:hover{color:#a41318;}
#breadcrumb-nav span{color:#000;}
#articles{padding:5px 20px 0 0;}
#articles h2,#articles h2 a,#folders h2,#gallery h2,#photos h2,#slide h2,#archive h2,#archive h2 a{padding-top:10px;color:#565656;}
#articles h2 a,#archive h2 a{padding:0;}
#content h2 a:hover{color:#a41318;}
.article{overflow:hidden;padding:0 5px;}
.date{margin-right:15px;color:#8e647e;}
.under-article{clear:both;color:#000;padding:5px 0 0 10px;border-left:5px solid #ececec;}
.under-article strong{font-weight:normal;}
.accessibility-links{position:absolute;top:-1500px;}
#block-comments form{margin:10px 0;padding:15px 13px;border:1px solid #cecece;}
/*#block-comments input{width:350px;}
*/
#block-comments textarea, #block-comments input#c_title{width: 402px;font-family:Tahoma,Arial,sans-serif; font-size:13px;}
#block-comments input#validation{width:120px;margin:0 10px 10px 0;}
#block-comments input.submit{padding: 0px; width:80px;cursor: pointer;margin:10px 0 0 155px;_margin:10px 0 0 159px;/* padding:1px 44px;_padding:0 22px; */}
#block-comments .comment{overflow:hidden;width:100%;margin:10px 0;}
#block-comments .comment-headline{font-weight:bold;color:#000;}
#block-comments .comment h3{display:inline;margin:.5em 0;font-weight:bold;font-size:100%;color:#000;}
#block-comments .comment-headline, #block-comments  .comment-text{padding:0 5px;}
#block-comments .comment-headline b, #block-comments  .comment-headline i{font-style:normal;font-weight:bold;}
#block-comments form dt{width: 45px;}
#block-comments form dd input{width: 155px;} 
#block-comments form dd input#c_validation{float:left;margin-left: 50px;} 
#block-comments form dd div#c_validation_div{text-align:right;} 
#block-comments form dt#validation-dt { line-height: 15px; margin-left: 50px; margin-top: 32px; position: absolute; width: 180px;}
#block-comments h2#comments{padding-left:13px !important;}
#block-comments form dd .sound-captcha{font-size:12px;}
/* Photo ---------------------------------------------------------------------*/
#folders{padding-left:5px;}
#folders h2,#gallery h2,#photos h2,#slide h2{color:#000;}
.album{overflow:hidden;float:left;width:100%;margin-top:15px;}
#folders .album h3{margin:0;}
#folders .album h3 a{font-weight:bold;color:#565656;}
#section_subsections, #gallery, #gallery h2{clear:both;}
#gallery h3, #photos-title{clear:both;}
.folder{position:relative;float:left;width:100%;height:190px;border-bottom:1px solid #cecece;}
#document .folder .photo-wrap{display:block;position:relative;z-index:1;float:left;margin:2.5em 0 0 0;width:80px;height:auto;border:none;text-align:center;background-color:transparent;}
.photo-wrap img{border:4px solid #cecece;}
#document .folder .photo-wrap img{margin:0 auto;}
#document .folder .photo-wrap div, #document .folder .photo-wrap div a{display:block;position:static;}
.folder-info{width:380px;_width:390px;float:left;padding:2em 0 0 20px;}
#document .folder-info h3{overflow:hidden;white-space:nowrap;width:400px;margin:0;font-weight:bold;}
.folder-info h3 a{color:#565656;}
.folder-info h3 a:hover{color:#a41318;}
.folder-info div{overflow:hidden;white-space:nowrap;width:100%;}
.folder-info div a{color:#666;}
.folder-info div a:hover{color:#a41318;}
#slide{padding:0 5px 30px;}
#click{overflow:hidden;margin:15px 0;padding-bottom:30px; text-align:center;}
#click h3{margin:0;padding:15px 0 10px;color:#565656;}
#click img{border:2px solid #cecece;}
#click p{margin:10px 20px 0;}
.slidebar{_width:100%;height:100px;margin-bottom:20px;overflow:auto;white-space:nowrap;}
.slidebar a{margin:0 5px;}
.slidebar a img{border:2px solid #cecece;}
#timenav,.slidenav{padding:5px;clear:both;text-align:center;background-color:#ececec;}
#thumbnav br,.slidenav br{line-height:0;height:0;clear:both;}
#slide #timenav a, #slide .slidenav a{color:#666;}
#slide #timenav a:hover, #slide .slidenav a:hover{color:#a41318;}
.slidenav .back{float:left;}
.slidenav .forward{float:right;}
/* Advertisement ------------------------------------------------------------------*/
.message{clear:both;margin-bottom:5px;text-align:center;color:black;}
.adv-title{width:100%;margin-left:5px;}
#mess-ahead, #mess-skyscraper, #mess-rectangle, #mess-board {padding-top:5px;text-align:center;font-size:70%;color:#000;}
#mess-ahead iframe {margin: 0 auto;}
#mess-board .inner_frame, #mess-ahead .inner_frame {padding: 5px 0px; width: 760px; margin: 0px auto;}
#mess-ahead .inner_frame {width: 100%;}
#mess-board {text-align: center; padding-left:30px;}
#mess-ahead{display:block;margin:0;text-align:center;background:#6C6C6C url('https://s3b.estranky.cz/img/d/1000000050/advhead.gif') top left;}
#mess-ahead .adv-title{display:block;width:755px;_width:760px;margin:0 auto;padding-left:5px;text-align:left;}
.message .inner_frame{padding:5px;text-align:center;}
.message img{display:block;border:none;margin:0 auto;}
#sky-scraper-block{    
    position: absolute;
    right: -300px;
    width: 300px;
    top: 0;
}
#sticky-box {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    right: 0;
}
html > body #mess-skyscraper span.adv-title,html > body #mess-skyscraper div.inner_frame{margin:0!important; }
#mess-skyscraper,#mess-rectangle{margin-bottom:10px; margin-left:400px; float:left; clear:left; _float:right; _clear:right; _margin-left:0px; display:block; width:160px;}
#content .hypertext h2 {clear: none; padding: 0;}
#content .hypertext h2 a {font-weight: normal; font-style: normal; font-size: 80%;}
.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;}
.hypertext img, .hypertext {border: 1px solid #ddd;}
* html .hypertext {margin-left: 50px;}
#content .hypertext + .hypertext {border-top: 1px solid #fff; margin-top: -16px;}
.hypertext .mess-title {margin-top: -3px;}

#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 #shifter_wrap #shifter_terms a:hover {color: #A41318;}
#shifter #shifter_wrap #shifter_footer .span3 {background: #ececec; padding: 0px 5px 5px;}
#shifter div#shifter_title h3 {margin: 5px 0;}
#shifter #shifter_wrap #shifter_footer .category {background: #565656; text-align: center; font-weight: bold; font-size: 13px;}
#shifter #shifter_wrap #shifter_footer .category a {color: #fff;}
#shifter #shifter_wrap #shifter_footer .span3 h4 {font-size: 0.7em; line-height: 1.5em; padding: 4px 0px;}
#shifter #shifter_title h3#shifter_t_2 {margin-right: 283px;}
* html #shifter #shifter_title h3#shifter_t_2 {margin-right: 141px;}
#shifter #shifter_wrap #shifter_terms a {color: #dbdbdb; font-size: 0.9em;}

/* ----------- Facebook------------ */
#fb-likebox-feed .inner_frame {
  padding: 20px 4px 10px;
}
#fb_likebox_width {
  width: 182px;
}
.fb_edge_widget_with_comment{margin:5px 0px;}

/* /Advertisement-----------------------------------------------------------------*/
/**  FIX PACKAGE ******************************************************************************/
/**********preview**********/
#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; _width:92px; _height:92px;}
#photos .photo-wrap{margin:10px 6px 0 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; _height:92px; _width:92px; display:table; =position:relative; overflow:hidden;}
#thumbnav .box div a, #photos .photo-wrap div a, #preview-folder .box div a{=margin:2px 0px 0px 0px; height:100%; =height:auto; background-image:none; border:0px solid #f7b1a5; =position:absolute; =top:50%; =left:50%; display:table-cell; vertical-align:middle;}
#thumbnav .box div a, #photos .photo-wrap div a, #preview-folder .box div a{=border:none;}
#thumbnav .box div a img, #photos .photo-wrap div a img, #preview-folder .box div a img{=position:relative;  =top:-50%; =left:-50%; border:0px solid #FFF;}
#thumbnav .wrap{display:block; }
#thumbnav .box{margin:3px;}
/*********end of preview**********/
#photo-album{padding:0;}
#folders,#photos,#articles .article{padding:0px; }
.list-of-pages{text-align:center; position:relative;}
.list-of-pages .previous{position:absolute; left:0px; top:0px;}
.list-of-pages .next{position:absolute; right:0px; top:0px;}
#mail-list .inner_frame,#last-photo .inner_frame,#languages .inner_frame{text-align:center; }
#send-mail-list{margin-top:4px; }
nav menu > li.level_1 {overflow: unset !important;}
.level_2 { position: absolute; background: #EEE; z-index: 999; border: 1px solid #000; left: -6px; min-width: 120px}
ul.level_2 > li { display: block !important; padding: 5px 10px; overflow: unset !important}
menu li.submenu-over{position:relative; z-index:9999; }
menu li ul.submenu,menu li.submenu-over ul.click,menu li ul.classic,menu li.submenu-over ul.click{display:none;  }
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:99%;_top:18px;left:0px;background:#313131;width:300px;border:1px solid #fff;overflow:hidden;padding:0px;}
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:none;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;_height:30px;padding:4px 11px 8px 11px;float:none;white-space:normal;}
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{color:#fff;border:0px;text-decoration:underline;background-image:none;}
.level1 p{padding-left:15px;}
.level1 .comment-headline{padding-left:20px !important;}
.level2 p{padding-left:30px;}
.level2 .comment-headline{padding-left:35px !important;}
.level3 p{padding-left:45px;}
.level3 .comment-headline{padding-left:50px !important;}
.level4 p{padding-left:60px;}
.level4 .comment-headline{padding-left:65px !important;}
.level5 p{padding-left:75px;}
.level5 .comment-headline{padding-left:80px !important;}
.level6 p{padding-left:90px;}
.level6 .comment-headline{padding-left:95px !important;}
.level7 p{padding-left:105px;}
.level7 .comment-headline{padding-left:110px !important;}
.level8 p{padding-left:120px;}
.level8 .comment-headline{padding-left:125px !important;}
.level9 p{padding-left:135px;}
.level9 .comment-headline{padding-left:140px !important;}
#send-mail-list{margin:5px 0;padding:2px 6px;_padding:0px;}
/* 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;}
#breadcrumb-nav{padding:15px 0px 5px 0px; }
#languages .inner_frame {
  overflow: hidden;
}
#languages a{margin:0px 2px; float: left; }
#stats th,#stats td{color:#565656;  font-weight:normal;}
#stats th{text-align:left;}

#folders:after,#photos:after{content:"."; clear:both; visibility:hidden; display:block; height:1px; _zoom:1px;}
#content h2{font-size:120%; }
.article{margin-bottom:20px;}
#photo-album h2{margin-top:20px;}
#footer a.eoldal-footer {top: -1px !important;}
/******************************************************************************/
/* --- eshop ---- */
#eshop .comment-headline i {float: right;}
#eshop #block-comments .comment-text {margin: 10px 0 0 10px; word-wrap: break-word;}
#logged {margin: 0 !important;}
#eshop .submit, #login .submit {padding: 2px 10px; border: 1px solid #B6B6B6; cursor: pointer;
-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; background-color: buttonface;}
.settings .submit, .contact-info .submit {margin-left: 14px;}
#usernewsletter {margin-left: 15px;}
* html .settings .submit {margin-left: 18px;}
* html .contact-info .submit {margin-left: 17px;}
*:first-child+html .contact-info .submit, *:first-child+html .settings .submit {margin-left: 18px;}
#login input.submit {float: none;}
#login label {width: auto; 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 h3 a {color: #565656;}
#eshop h3 a:hover{color:#a41318;}
#eshop h2 {padding-top: 10px;}
#eshop div.products .article h3, #eshop #articles .article h3 { margin: 0.2em 0em 0.3em; line-height: 1.2em; height: 2.5em; overflow: hidden; font-size: 1em;}
#eshop div.products .article, #eshop #articles .article {float: left; width: 132px; display: inline; margin: 5px 32px 0px 0px; padding: 0px;}
* html #eshop div.products .article, * html #eshop #articles .article {width: 134px; padding-bottom: 25px; margin: 5px 30px 0px 0px;}
#eshop div.products, #eshop #articles {padding: 5px 0 0 0; margin-bottom: 25px;}
#eshop div.products .article .photo-wrap, #eshop #articles .article .photo-wrap {float: none; width: 130px; height: 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;}
*:first-child+html #eshop div.products .article .editor-area, *:first-child+html #eshop #articles .article .editor-area {height: 5.4em;}
* html #eshop div.products .article .editor-area, * html #eshop #articles .article .editor-area {line-height: 1.25em;}
#eshop div.products .article span.price, #eshop #articles .article span.price {font-weight: bolder; text-align: center; display: block; margin-top: 3px;}
* html #eshop div.products .article span.price, * html #eshop #articles .article span.price {margin-top: 5px;}
#eshop .article .photo-wrap {margin-top: 0;}
#login .inner_frame, #nav-basket .inner_frame, #logged .inner_frame {padding-left: 30px;}
#login .inner_frame form div input {margin-bottom: 5px;}
#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 #basket input.amount {top/*\**/: -1px\9}
#eshop #confirm table .right {padding-right: 0;}
#eshop .photo-wrap img {border: none;}
* html #eshop .settings label, * html #eshop .contact-info label {color: black;}
*:first-child+html #eshop #panel {width: 495px;}
* html #eshop #panel {width: 495px;}
*:first-child+html #eshop #block-comments textarea {margin-left: 60px;}
* html #eshop #block-comments textarea {margin-left: 60px;}
#eshop .sphotos .photo-wrap {display: table;}
#logged h2 {margin-top: 5px;}
* html #eshop .registration #usernewsletter {margin-left: 0px;}
*:first-child+html #eshop .registration #usernewsletter {margin-left: 0px;}
#account_firm label {width: 88px; display: block;}
#billing_address label {width: 80px; display: block;}
.settings #firmsdata label {width: 88px;}
#eshop .settings #billing_address label {width: 76px;}
#eshop .contact-info #billing_address label {width: 78px;}
#billing_address #sameaddress + label {width: auto; display: inline;}
*:first-child+html #eshop .settings #billing_address label {width: 71px;}
* html #eshop .settings #billing_address label {width: 88px;}
*:first-child+html #eshop .contact-info #billing_address label {width: 74px;}
* html #eshop .contact-info #billing_address label {width: 88px;}
#eshop .contact-info #billing_address label {width/*\**/: 77px\9}
#eshop .settings #billing_address label {width/*\**/: 73px\9}
@-moz-document url-prefix() { /** FF */ 
    #eshop .settings #billing_address label {width: 71px;}
    #eshop .contact-info #billing_address label {width: 74px;}
}
*:first-child+html #login input.submit {width: 120px;}
* html #login input.submit {width: 116px;}
#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;}
@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: 0;}
}
#eshop .gennewmail fieldset p input {width: 189px;}
* html #eshop .gennewmail fieldset p input {width: 193px;}
* html #eshop #basket_preview_form .wrap input {top: 1px;}
*:first-child+html #eshop #basket_preview_form .wrap input {top: 1px;}
#login .inner_frame .errormes {margin-bottom: 15px;}
* html #eshop fieldset.validation .validatin-images-set input {width: 240px;}
#eshop #block-comments input.submit {width: auto; padding: 2px 6px;}
#account_firm, #deliveryaddress {margin-left: 2px;}
#sameaddress {margin-left: 0;}
#eshop #articles .settings {margin-top: 10px;}
#eshop #product-detail #calculation {line-height: 80%;}
#eshop #basket_preview_form td img {padding-top: 2px;}
#basketpayments ul, #baskettransport ul {margin-left: -5px;}
#eshop #basket_preview_form fieldset p .submit, #eshop #basket_preview_form p .submit {margin-left: 2px;}
#basketpayments h3, #baskettransport h3 {margin-left: 3px;}
* html #basketpayments ul, * html #baskettransport ul {margin-left: -2px;}
* html #eshop #basket_preview_form .wrap input {margin-left: -3px;}
* html #basketpayments h3, * html #baskettransport h3, * html #eshop #basket_preview_form p .submit,
* html #eshop #basket_preview_form fieldset p .submit {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: -2px;}
*:first-child+html #eshop #basket_preview_form .wrap input {margin-left: -3px;}
*:first-child+html #basketpayments h3, *:first-child+html #baskettransport h3, *:first-child+html #eshop #basket_preview_form p .submit,
*:first-child+html #eshop #basket_preview_form fieldset p .submit {margin-left: 6px;}
*:first-child+html #content #eshop #basketpayments ul li div, *:first-child+html #content #eshop #baskettransport ul li div {padding-left: 26px;}
#eshop .registration fieldset p {margin: 10px 0;}
* html #eshop #product-comments #block-comments .validation dd {margin-top: -20%;}
*:first-child+html #eshop #product-comments #block-comments .validation dd {margin-top: -20%;}
#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;}
#eshop #articles #steps ul {width: 250px; margin: 10px auto 0px;}
* html #eshop #articles #steps {text-align: center;}
#eshop #confirm fieldset p {margin: 0;}
#eshop #confirm fieldset .price {margin: 10px 0;}
* html #eshop #basket_preview_form li div  {font-size: smaller;}
#eshop #panel .inner_frame {width: 85%;}
* html #eshop #panel .inner_frame {width: 100%;}
*:first-child+html #eshop #panel .inner_frame {width: 95%;}
#eshop .settings .submit {margin-top: 10px;}
.contact-info fieldset, .settings fieldset {padding: 5px 10px;}
#orderdone {padding: 5px 10px;}
#orderdone td {padding: 2px 0;}
#eshop #confirm .wrap {padding: 5px 10px;}
#eshop #basket form {clear: none; margin: 0; padding: 0;}
#eshop #articles {padding: 5px 0 0 0;}
#eshop .article .price {margin: 5px 0 20px;}
#eshop #block-comments form dt {width: 55px;}
#eshop #block-comments form dd input#c_validation {margin-left: 0;}
#eshop #basket_preview_form td.title {width: 26%;}
#eshop #block-comments form dt#validation-dt {margin-left: 0;}
#eshop #block-comments textarea, #eshop #block-comments input#c_title {width: 348px;}
#eshop #block-comments .validatin-images-set, #eshop #block-comments .submit {margin-left: 60px;}
#eshop #confirm .validation {margin: 10px 0 0;}
#eshop #confirm .submit {margin-top: 3px;}
#eshop #confirm .validation #c_validation {height: 18px;}
*:first-child+html #eshop #confirm .validation #c_validation {height: 22px;}
* html #eshop #confirm .validation #c_validation {height: 26px;}
#eshop form#confirm input[type="checkbox"] {position: relative; top: 1px;}
#eshop #confirm .validation dt {float: none;}
#eshop #product-comments #block-comments form {margin-left: 0;}
.gennewmail, .registration fieldset {margin-top: 5px;}
#eshop .registration #usernewsletter,#eshop .registration .validation, #eshop .registration .submit {margin-left: 4px;}
#delivery_address label {width: 90px; display: block;}
#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 .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;}
#eshop #block-comments .validation {width: 60%;}
#eshop #articles #steps {margin-bottom: 15px;}
* html #eshop table {color: black;}
#nav-basket .inner_frame, #logged .inner_frame {line-height: 1.5em;}
* html #eshop .registration fieldset.validation {width: 50%;}
*:first-child+html #eshop .registration fieldset.validation {width: 50%;}
* html #eshop .gennewmail fieldset.validation {width: 50%;}
*:first-child+html #eshop .gennewmail fieldset.validation {width: 50%;}
#ecategory .inner_frame ul li ul li {background: none; padding: 0;}
* html #eshop #product-comments .comment-headline i {margin-top: -5.4%;}
*:first-child+html #eshop #product-comments .comment-headline i {margin-top: -5.4%;}
#eshop .settings p, #eshop .registration p {margin: 0;}
* html #eshop #basket input.add_basket {width: 160px;}
*:first-child+html #eshop #basket input.add_basket {width: 160px;}
#eshop .validation dt {margin: 0;}
#eshop fieldset h3 {margin: 1em 0 0;}
#eshop .settings fieldset h3, #eshop .contact-info fieldset h3, #eshop #confirm .wrap h3 {margin: 0;}
@-moz-document url-prefix() { /** FF */ 
    #eshop #basket input.amount {height: 19px; top: -1px;}
}
* html #eshop #block-comments textarea {margin-top: -30px;}
*:first-child+html #eshop #block-comments textarea {margin-top: -30px;}
*:first-child+html #eshop #product-comments #block-comments .validation dd {position: relative; top: 15px;}
*:first-child+html #eshop #block-comments input.submit {margin-top: 15px;}
#eshop #block-comments .comment {margin-top: 20px;}
#eshop #product-detail p {margin: 0;}
#eshop #product-detail #calculation {line-height: 180%;}
#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 td {padding: 1px 0;}
#eshop #product-detail #product-info table tr td {min-width: 70px; vertical-align: top;}
#eshop #basket_preview_form fieldset p input  {padding: 2px 0; width: 120px; float: left;}
#eshop #basket_preview_form p input {width: 120px;}
#eshop #basket_preview_form fieldset p a {padding: 1px 20px; text-decoration: none; text-align: center; font-size: 12px; float: left;
color: buttontext; border: 1px solid #B6B6B6; background-color: buttonface;}
* html #eshop #basket_preview_form fieldset p a {padding: 3px 16px;}
*:first-child+html #eshop #basket_preview_form fieldset p a {padding: 3px 16px;}
#eshop #steps .active {font-weight: bold; background: #ececec; }
#eshop #steps .active, #eshop #steps .done {padding: 3px 5px;border: 1px solid #b6b6b6;
-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; text-align: center; width: 60px;}
#confirm .wrap, #account_info, #billing_address,
#eshop div.products .article span.price, #eshop #articles .article span.price {background: #ececec;}
#confirm .wrap, #account_info, #billing_address {border: 2px solid #B6B6B6;}
#eshop #photo, #eshop div.products .article .photo-wrap, #eshop #articles .article .photo-wrap,
#eshop #product #photo-detail .photo-wrap {background: #ececec; border: 1px solid #B6B6B6;}
:root #eshop #basket input.amount {top: -1px\9; padding-bottom: 5px\9;}
@-moz-document url-prefix() { /** FF */ 
    #eshop #basket input.amount {height: 20px; top: 0;} 
}
#eshop #paging {clear: both;}
#eshop #paging a, #eshop #paging span.current {padding: 2px 5px; margin-right: 4px; border: 1px solid #B6B6B6; background: #ececec; text-decoration: none;}
#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: #000;}
#ecategory div ul li.current a, #ecategory div ul li ul li.current a, #ecategory div ul li.current ul li a:hover {color: #A41318;} 
menu li.current a, menu li.current ul.submenu a, menu li.current ul.submenu li a:hover {color: #fff;}
#eshop .registration fieldset {padding: 0;}
#eshop .login-info {border-bottom: 5px solid #ECECEC; padding-bottom: 10px; padding-left: 15px;}
#eshop form.login-info fieldset p label {display: inline-block; width: 88px;}
#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;}
#eshop .login-info p {margin: 5px 0;}
#eshop .order_account table tr td {padding: 0;}
#eshop .order_account h3 {margin: 1em 0 0;}
#eshop #product .wrap #product-detail form {clear: none;}
#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;}
#product-search #product-search-form {margin: 10px 0; padding: 10px; border: 1px solid #CECECE; background: #ECECEC;}
#product-search input.submit {height: 24px; padding: 2px 15px;}
#product-search input#product-search-text {padding: 0 5px; width: 200px; height: 20px;}
*:first-child+html #product-search input#product-search-text {padding: 3px 5px 0; height: 19px;}
* html #product-search input#product-search-text {padding: 2px 5px 0; height: 24px;}
/*****************/
}
/*-----------------------------------------------------------------------------Print style------------------------------------------------------------------------------*/
@media print{
*{margin:0px; padding:0px;}
body{font:12pt/15pt serif;}
h1, h2, h3, h4{margin:1em 0;page-break-after:avoid;page-break-inside:avoid;}
h2{font-size:150%;font-weight:normal;}
h3{font-size:110%;text-align:center;}
p{margin:0.25em 0;text-indent:2em; }
a{color:#F69;}
a[href]:after{content:" ["attr(href)"]";}
a[href|="#"]:after,a[href|="./"]:after,a[href|="javascript:"]:after{content:"";}
hr{display:none;}
table{font-size:12pt;border-collapse:collapse;border:1px solid #b9d939;}
td{padding:.2em .5em;border:1px solid #b9d939;}
caption{font-weight:bold;}
input,textarea,label{display:none;}
cite,blockquote{font-style:italic;}
code{display:block;margin:1em;font-family:monospace;color:#000;}
ins{text-decoration:none;font-weight:bold;}
menu, #search, #calendar, .accessibility-links{display:none;}
.clear{clear:both;}
}
/******************************************************************************/
/*----------------------------------------------------------Navigation bar style----------------------------------------------------------*/
@media screen,projection{
#nav-cover{padding-left:15px;background:#6C6C6C url('https://s3b.estranky.cz/img/d/1000000050/advhead.gif') top left; padding-bottom:0px !important;}
#nav-cover form{clear:none !important;}

.column form input {font-size: 12px !important;}

/* Full width adjustments */
body.full-width #content {margin-top: -25px; width: 670px; _width: 710px;}
body.search-active #content {margin-top: 0 !important; width:494px !important; _width:534px !important;}
}
@media \0screen {
    #product-search input#product-search-text {padding: 2px 5px 0; height: 20px;}
}

/* Responsive */
.menu-toggle {
    position: absolute;
    margin-top: 25px;
    right: 5px;
    border: 0;
    outline: 0;
    background: rgba(0,0,0,0.7);
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
    min-height: 35px;
    display: none;
    z-index: 99999;
}
.menu-toggle span {
    border-top: 5px white solid;
    width: 30px;
    margin: 2px 0;
    display: block;
    transition: 0.3s all linear;
}
.menu-toggle.menu-active {
    padding-top: 0;
}
.menu-toggle.menu-active span:nth-of-type(1) {
    opacity: 0;
}
.menu-toggle.menu-active span:nth-of-type(2) {
    transform: rotate(45deg);
}
.menu-toggle.menu-active span:nth-of-type(3) {
    transform: rotate(-45deg);
    margin-top: -7px;
}

@media only screen and (max-width: 1100px) { 
    
    #document {
        padding: 0;
    }
    #in-document {
        width: 100%;
        max-width: 710px;
        position: relative;
    }
    #header {
        width: 100%;
        margin: 0;
        background-size: 100% 100% !important;
    }
    #header .inner_frame {
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
    }
    h1{
        left: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0 45px 0 5px;
        top: 25px;
        height: 95px;
    }
    #navigation {
        width: 100%;
    }
    .column {
        margin: 0;
    }
    .column h2 {
        background: #565656;
    }
    .column .section .inner_frame {
        background: none;
    }
    .column, #mess-square, #mess-message {
        width: 100%;
    }
    .column .section {
    	width: 45%;
        float: left;
        margin: 10px 2.5%;
        clear: none;
    }
    #content {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
        padding-top: 0;
    }
    #footer {
        width: 100%;
        margin: 0;
    }
    menu {
        width: 100%;
        font-size: 16px;
        box-sizing: border-box;
        background: #a3a3a3;
        text-align: center;
        padding: 0;
        display: block;
    }
    menu li {
        display: block;
        border-right: 0;
        border-bottom: 1px solid #313131;
    }
    menu li a {
        padding: 8px;
        display: block;
    }
    #articles {
        padding: 5px 0;
    }
    .folder {
        padding-bottom: 30px;
        box-sizing: border-box;
        float: left;
        clear: none;
        width: 45%;
        display: table;
        margin: 10px 2.5%;
    }
    .folder-info {
        width: auto;
    }
    #document .folder-info h3 {
        width: 100%;
    }
    .menu-toggle {
        display: block;
    }
    #navigation menu {
        display: none;
    }
    #navigation.menu-active menu {
        display: block;
    }
    .level_2 {
        display: none !important;
    }
    #nav-column .column >.inner_frame {
    	display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

}

@media only screen and (max-width: 991px) { 
    #whole-page {
        overflow: hidden;
    }
    body {
        width: 100% !important;
    }
}

@media only screen and (max-width: 600px) { 

	.column .section, .folder {
		width: 100%;
	    margin: 5px 0;
	}

}

img {
    max-width: 100%;
    height: auto;
}
iframe {
    max-width: 100%;
}

@media only screen and (max-width: 991px) { 
    table {
        width: 100%;
        max-width: 800px;
        clear: both;
        height: auto;
    }
    #perex table {
        width: 100%;
        display: block;
        overflow: auto;
        box-sizing: border-box;
        border: 0;
        min-width: auto !important;
    }
}
/* Galerie responsive */
#smLightbox_title {
  max-width:750px;
  position:relative;
  box-sizing: border-box;
  padding:0 10px;
}
#smLightbox_description {
  max-width:100%;
  position:relative;
  padding:5px 10px 0;
  box-sizing: border-box;
  top:10px !important;
}
#smLightbox_container {
  max-width: 100%;
    overflow: hidden;
}
@media only screen and (max-width: 991px) {
  #smLightbox_title {
    margin-top:30px ;
  }
}


/* ------------- 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: 130px;
  float: left;
  margin: 15px 7px 0;
}
#photos .slider-gallery__wrap {
  height: 130px;
  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: 75px;
    height: 75px;
    margin: 10px 5px 0;
  }
  #photos  .slider-gallery__wrap {
    height: 75px;
    width: 75px;
  }
  #photos .slider-gallery__img {
    max-width: 75px;
    max-height: 75px;
  }
}
/* Galerie responsive END */
