/*  
Theme Name: header menu children + homepage carousel
Description: header menu children, 1 column, responsive
Version: new
*/
@import url('font-face/font-face.css');
html {font-size: 16px; -webkit-text-size-adjust: 100%;}
html, body {overflow-x: hidden;}
body, input, select, textarea, button {font-family: 'Open Sans', sans-serif; font-size: inherit;}
body {text-align: center; font-size: 80%; margin: 0; padding: 30px; background: #fff url('images/bg-body.png') repeat;}

body, th, td {text-align: left;}
form, ul, li {margin: 0; padding: 0;}
ul li {list-style-type: none;}
p, table {margin: 0 0 1em 0; padding: 0;}
table {width: 100%; border-collapse: collapse; border-spacing: 0; margin: 0 0 1em 0;}
td {vertical-align: top; padding: 5px;} 
img, iframe {border: 0;}
:focus {outline: none;}
::-moz-focus-inner {border: 0;}

::selection {color: #fff; background: #df0000;}
::-moz-selection {color: #fff; background: #df0000;}

.cleaner {display: block; clear: both; line-height: 0; visibility: hidden; font-size: 0;}

/* clearfix */
.clearfix::after,
.paging-bottom::after,
.article::after,
.section::after {content: ""; display: table; clear: both;}


.hide,
.owl-nav.disabled, .owl-dots.disabled,
h2.screen-reader-text,
#menu-header > ul > li.search::before {display: none;}

@media screen and (min-width: 1254px) {
  a[href^="tel:"] {pointer-events: none; text-decoration: none;} 
}




/* flex-col */
.flex-col,
.flex-col .col {margin-bottom: 4em;}

@media screen and (min-width: 768px) {	
  .flex-col {display: flex; flex-direction: row; flex-wrap: wrap; margin-left: -40px;} 
  .flex-col .col {width: calc(50% - 40px); margin-left: 40px;}
}

@media screen and (min-width: 1200px) {
  .flex-col.col3 .col {width: calc(100% / 3 - 40px);}
  .flex-col.col4 .col {width: calc(100% / 4 - 40px);}
}





/* Quando */
#menu-header,
h1, h2, h3, h4 {font-family: 'Quando', serif;}


/* FontAwesome */
.ico::before, .ico::after, .icon::before,
.owl-prev::before, .owl-next::before,
#breadcrumb ul li::before, #main ul li::before {font: normal normal normal 16px/1 'FontAwesome'; display: inline-block; text-decoration: none; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}

.ico::before {margin-right: 4px;}
#main .ico::before, .textwidget .ico::before {width: 16px; text-align: center;}
.ico::after {margin-left: 4px;}
.icon::before {text-align: center; margin: 0;}
.ico::before, .ico::after {text-decoration: none;}

/* icon */
.icon.magnify::before {content: "\f002";}
.icon.video::before {content: "\f16a";}

/* ico */
.ico.home::before {content: "\f015";}
.ico.address::before {content: "\f1ad";}
.ico.phone::before {content: "\f098";}
.ico.mobile::before {content: "\f10b";}
.ico.email::before {content: "\f003";}
.ico.more::after {content: "\f054";}


/* icon social */
.icon.facebook::before, .ico.facebook::before {content: "\f230";}
.icon.facebook:hover::before, .ico.facebook:hover::before {color: #3b579d;}

.icon.twitter::before {content: "\f099";}
.icon.twitter:hover::before  {color: #1da1f2;}

.icon.googleplus::before {content: "\f0d4";}
.icon.googleplus:hover::before {color: #db4437;}

.icon.youtube::before {content: "\f167";}
.icon.youtube:hover::before {color: #c63127;}

.icon.instagram::before {content: "\f16d";}
.icon.instagram:hover::before  {color: #d32e88;}

.icon.rss::before {content: "\f09e";}
.icon.rss:hover::before {color: #ff6600;}

/* ico bitmap */
a.ico.pdf::before, a.ico.doc::before, a.ico.xls::before, a.ico.ppt::before {width: 16px; height: 16px; content: ""; background-repeat: no-repeat; background-position: left center;}
a.ico.pdf::before {background-image: url('images/ico/ico-pdf.gif');}
a.ico.doc::before {background-image: url('images/ico/ico-doc.gif');}
a.ico.xls::before {background-image: url('images/ico/ico-xls.gif');}
a.ico.ppt::before {background-image: url('images/ico/ico-ppt.gif');}




/* barvy */
h1,
.gallery .icon.magnify::before,
#copyright, #copyright a,
#scrollup.icon::before,
.owl-carousel .owl-prev::before, .owl-carousel .owl-next::before {color: #fff;}


body, h1.home, h2, h3, h4, a,
a[href^="tel:"],
#searchform .searchform-button {color: #000;}

.icon::before,
.ico::before {color: #b2b2b2;}

a,
#menu-header ul li[class*="current"] > a, #menu-header ul li[class*="current"] > a:hover,
.owl-carousel .owl-prev:hover::before, .owl-carousel .owl-next:hover::before,
.table-menu td strong, .table-menu th strong,
a.underline:hover {color: #df0000;}


/* pozadi */
#layout,
#menu-header ul ul,
.owl-carousel .owl-dots .owl-dot {background-color: #fff;}

.button,
#copyright,
a.underline:hover::after,
#menu-header > ul > li > a:hover::after, #menu-header > ul > li[class*="current"] > a::after,
.owl-carousel .owl-dots .owl-dot:hover::before, .owl-carousel .owl-dots .owl-dot.active::before {background-color: #df0000;}

.button:disabled,
.button:hover {background-color: #5f5f5f;}

#scrollup {background-color: #3f3f3f;}


/* okraj */
.strike::before, .strike::after {border-color: #d6d6d6;}

/* button */
.button, a.button {display: inline-block; color: #fff; font-weight: bold; text-shadow: 1px 1px 0 #000; border: 0; padding: 15px 30px; cursor: pointer; white-space: nowrap; transition: all .2s ease-in-out;}
.button:disabled {pointer-events: none;}


/* scroll up */
#scrollup {display: none; position: fixed; bottom: 40px; right: 20px; padding: 2px; text-align: center; text-decoration: none!important; z-index: 9999; box-shadow: 0 0 5px rgba(0,0,0,.8); opacity: .8;}
#scrollup:hover {opacity: 1}
#scrollup.icon::before {width: 30px; height: 30px; font-size: 30px; line-height: 25px; margin: 0; content: "\f106"; border: 1px solid #999;}
#scrollup, #scrollup.icon::before {border-radius: 50%;}


/* fb */
.fb-likebox {width: 100%; height: 154px; border: 0; line-height: 1;}


@media screen and (min-width: 1254px) {
  /* animace */
  .animation > .slideright {opacity: 0;  transition: 1s .5s ease-in-out; transform: translateX(-100%);}
  .animation > .slideleft {opacity: 0;  transition: 1s .5s ease-in-out; transform: translateX(100%);}
  .animation.visible > .slideright, .animation.visible > .slideleft {opacity: 1; transform: translateX(0);}
}



/* nadpisy */
h1 {display: block; font-size: 48px; text-align: center; margin: 0; padding: 50px 0; text-transform: uppercase; line-height: 1.3;}

h1.home {font-size: 26px; background: none; margin: 0 0 30px 0; padding: 5px 0;}

h2, h3, h4 {text-align: left; margin: 0 0 1em 0; padding: 0;}
h2 { font-size: 140%; padding-bottom: 1em; border-bottom: 1px solid #e0e0e0;}
h3 { font-size: 105%;}
h4 { font-size: 100%;}

/* nadpis strike */
.strike {display: table; white-space: nowrap; overflow: hidden; padding-bottom: 0.5em; margin-bottom: 1em;}
.strike::before, .strike::after {border-top-width: 1px; border-top-style: solid; content: ""; display: table-cell;  position: relative; top: 50%; transform: translateY(50%); width: 45%;}
.strike::before {right: 1.5%;}
.strike::after {left: 1.5%;}


/* odkazy */
a:hover {text-decoration: underline;}
/* text-decoration: none */
a, a.icon, .button, a.button {text-decoration: none;}


/* layout */
#layout {position: relative; text-align: left; box-shadow: 0 0 5px rgba(0,0,0,.12);}

#layout::before, #layout::after {position: absolute; top: 5px; width: 14px; height: 14px; content: ""; background: url('images/bg-layout.png') no-repeat; }
#layout::before {left: 5px; background-position: left 0;}
#layout::after {right: 5px; background-position: right 0;}

#header,
#menu-header > ul, 
#breadcrumb ul, 
#main, 
#footer #footer-block {width: 1164px; margin: 0 auto;}

#header {position: relative; padding: 10px 0;}
#header a#header-logo {display: block; margin: 0 auto; width: 294px; height: 150px; background: url('images/logo.svg') no-repeat center center; background-size: contain;}

/* ico */
#header #ico {position: absolute; top: 20px; right: 0;}
#header #ico img {margin-right: 10px; vertical-align: top;}

#header #ico .icon::before {border-right: 1px dotted #666; margin-right: 10px; padding-right: 10px; font-size: 18px;}

#header #ico .ico.mobile {display: inline-block; position: relative; font-size: 140%; font-weight: bold; white-space: nowrap;}
#header #ico .ico.mobile::before {font-size: 20px;}



#header-bottom {height: 0; padding-bottom: 28%; background: url('images/bg-header-bottom.jpg') no-repeat center 0; background-size: cover;}

h1,
#footer {background: #33322e url('images/bg-h1.png') repeat;}

#footer {background: url('images/bg-footer.jpg') no-repeat; background-size: cover;}


/* footer */
#footer-map {line-height: 0; overflow: hidden;}
#footer-map iframe {width: 100%; height: 300px; border: 0;}

#footer {padding: 25px 0;}
#footer #footer-block {color: #c0c0c0;}
#footer #footer-block a {color: #fff;}

#footer #footer-block .col {width: 33.3%; text-align: center; font-size: 110%; float: left; padding: 0 20px; box-sizing: border-box;}
#footer #footer-block .col img {width: 40%; height: auto;}
#footer #footer-block .col.center {}
#footer #footer-block .col a.icon::before {font-size: 46px;}
#footer #footer-block .col h2 {text-align: center; border-bottom: 1px dotted #a4a4a4; text-transform: uppercase; margin: 0 0 0.5em 0; padding: 0 0 0.3em 0;}


/* social icon */
#footer #footer-block .col.social-icon a.icon {display: inline-block; margin: 20px;}
#footer #footer-block .col.social-icon a.icon::before {font-size: 42px;}



#copyright {text-align: center; padding: 15px;}
#copyright a {color: #ccc;}


/* menu header */  
#menu-header {text-align: center; border-top: 1px solid #e0e0e0;}
#menu-header::before, #menu-header::after {content: ""; display: table;}
#menu-header::after {clear: both;}
#menu-header #menu-button {display: none;} 
#menu-header ul, #menu-header ul li.page_item, #menu-header ul li.cat-item, #menu-header ul li a {position: relative;}


/* search */
#menu-header #searchform {position: absolute; top: 50%; right: 0; transform: translateY(-50%); min-width: 30px; width: 0%; overflow: hidden; z-index: 100; transition: width .3s;}
#menu-header #searchform.searchform-open {width: 100%;} 
#menu-header #searchform .searchform-input {color: #696969; font-size: 13px; width: 100%; padding: 10px 40px 10px 8px; border: 1px solid #e0e0e0; background-color: #fff; opacity: 0; transition: all .3s;}
#menu-header #searchform.searchform-open .searchform-input {opacity: 1;}
#menu-header #searchform .searchform-icon {cursor: pointer;}
#menu-header #searchform .searchform-button,
#menu-header #searchform .searchform-icon,
#menu-header #searchform .searchform-button::before {position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; line-height: 30px; background-color: transparent;}
#menu-header #searchform .searchform-button {color: #000; border: 0; cursor: pointer;}


/* parent */
#menu-header > ul > li {display: inline-block;}
#menu-header > ul > li::before {position: absolute; content: ""; width: 5px; height: 5px; left: -5px; top: 50%; margin-top: -3px; background-color: rgba(0,0,0,.2); transform: rotate(45deg);}
#menu-header > ul > li:first-child::before {display: none;}
#menu-header > ul > li.page-item-0 > a.ico.home::before {color: inherit; font-size: inherit; line-height: 0;}
#menu-header > ul > li > a {font-size: 15px; font-weight: bold; padding: 20px; text-transform: uppercase;}
#menu-header > ul > li > a::after {display: block; position: absolute; left: 0; right: 0; top: 0; content: ""; margin: auto; height: 3px; width: 0; background: transparent; transition: all .5s ease;}
#menu-header > ul > li > a:hover::after, #menu-header > ul > li[class*="current"] > a::after {width: 100%;}

#menu-header ul li a {display: block; color: #000; text-decoration: none; transition: all .2s ease-in-out;}
#menu-header ul li a:hover {color: #666;}


/* children */
#menu-header ul ul li {text-align: left; width: 250px;}
#menu-header ul ul li a {font-size: 13px; padding: 10px;}

#menu-header ul ul li > a:hover,
#menu-header ul ul li[class*="current"] > a {background-color: #f3f3f3;}


/* children ico */
#menu-header ul ul li.page_item_has_children > a::after {position: absolute; top: 50%; right: 10px; width: 4px; height: 4px; margin-top: -2px; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; content: " ";  transform: rotate(-45deg);}

/* children hide  */
#menu-header ul ul {position: absolute; top: 100%; left: -9999px; opacity: 0; transition: opacity .4s linear; z-index: 100; box-shadow: 5px 5px 5px rgba(0,0,0,.3);} 
#menu-header ul li:hover > ul {left: 0; opacity: 1;}
#menu-header ul ul li > ul {top: 0;}
#menu-header ul ul li:hover > ul {left: 100%;}



/* breadcrumb */
#breadcrumb {border-bottom: 1px solid #e8e8e3;}
#breadcrumb ul li {position: relative; float: left; padding: 10px 20px;}
#breadcrumb ul li::before {position: absolute; left: 0; top: 50%; margin-top: -8px; content: "\f105";}
#breadcrumb ul li a {font-weight: bold;}
#breadcrumb ul li:first-child::before {display: none;}
#breadcrumb ul li:first-child {padding-left: 0;}
#breadcrumb ul li,
#breadcrumb ul li a {color: #999996;}



/* novinky */
#news-block {margin-bottom: 2em;}
#news-block .perex {float: left; width: 25%; font-size: 90%; padding: 0 10px; border: 0; box-sizing: border-box;}
#news-block .perex.last {margin-right: 0;}
#news-block .perex h3 {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
#news-block .perex .date {}



/* link underline */
a.underline { display: inline-block; padding: 0 0 10px 0; position: relative; text-decoration: none; text-transform: uppercase; }
a.underline::after {display: block; position: absolute; left: 0; right: 0; bottom: 0; content: ""; margin: auto; height: 3px; width: 0; background: transparent; transition: all .5s ease;}
a.underline:hover::after {width: 100%;}

.center-text {clear: both; text-align: center; padding: 1em 0 0 0;}
.center {text-align: center;}


/* kontakt */
.wpcf7 {float: right; width: 48%; margin-left: 2em; text-align: left;}



/* clanek */
#main {min-height: 450px; padding: 30px 0; font-size: 120%; line-height: 135%; text-align: justify;}

#main ol, .article ol {padding: 0 0 0 1em;}
#main ol, .article ol, #main ul, .section ul {margin: 0 0 1.5em 0;}
#main ul li, .article ul li {text-align: left; margin: 0 0 0.5em 0; padding-left: 1em;}
#main ul li::before, .article ul li::before {width: 1em; display: inline-block; margin-left: -1em; content: "\25cf"; font-size: 100%; line-height: 1; color: #c6c6c6;}


blockquote {position: relative; text-align: left; font-size: 135%; font-style: italic; color: #383838; margin: 0.25em 0; padding: 0.25em 20px 0.25em 40px; line-height: 1.45;}
blockquote::before {display: block; position: absolute; left: 0; top: -20px; content: "\201d"; font-size: 80px; font-family: Georgia, "Times New Roman", Times, serif;}
blockquote cite {display: block; color: #636363; font-size: 75%; text-align: right; font-style: italic; margin-top: 0.8em;}
blockquote cite span {font-weight: bold; margin-right: 4px; text-transform: uppercase; font-style: normal;}




/* home */
.home-article {margin-bottom: 4em;}

/* index blocks */
#blocks {text-align: left; padding: 0 0 30px 0;}
#blocks .block {float: left; width: 552px; float: left;}
#blocks .block + .block {margin-left: 60px;}
#blocks .block h2 {padding: 20px 0 15px 0; text-transform: uppercase; overflow: hidden;}
#blocks .block p.text-right {text-align: right; margin: 0;}
#blocks .block a.more {text-transform: uppercase; text-decoration: none; font-weight: bold;}
#blocks .block a.more:hover {color: #666;}

#blocks .block a.thumbnail, #blocks .block a.thumbnail span.img-overlay {display: block; width: 100%; height: 350px;}

#blocks .block a.thumbnail {position: relative; background-repeat: no-repeat!important; background-size: cover!important; background-position: center center!important; overflow: hidden;}
#blocks .block a.thumbnail.contact {background-size: contain!important;}

#blocks .block a.thumbnail span.img-overlay {visibility: hidden; transition: all .5s ease;}
#blocks .block a.thumbnail:hover span.img-overlay {visibility: visible; background: rgba(0,0,0,0.6);}

#blocks .block-separator {clear: both; padding: 30px;}



/* perex */
.perex {margin-bottom: 2em; padding-bottom: 1em; border-bottom: 1px dotted #ccc;}
.perex::before, .perex::after {content: " "; display: table;}
.perex::after {clear: both;}

.perex a img {border: 2px solid #fff;}
.perex a:hover img {border: 2px solid #ccc;}

.date {font-size: 90%; color: #68686e; text-align: right;}
.center {text-align: center;}





/* nav-links */
.nav-links::before, .nav-links::after {content: " "; display: table;}
.nav-links::after {clear: both;}
.nav-links {clear: both; text-align: center; padding: 40px 0 15px 0;}
.nav-links a, .nav-links span.current {margin: 0 2px; padding: 4px 8px; border-radius: 5px; background-color: #e0e0e0; border: 1px solid #b6b6b6; text-decoration: none;} 
.nav-links a:hover, .nav-links span.current {color: #000; background-color: #fff;} 
.nav-links .page-numbers {margin: 0 3px;}


.nav-prevnext {clear: both; padding: 15px 0;}
.nav-prevnext a {text-decoration: none;}
.nav-prevnext a:hover {text-decoration: underline;}
.nav-prevnext .previous {float: left;}
.nav-prevnext .next {float: right;}




/* Obrazky */
p img {padding: 0; max-width: 100%;}

.centered, .aligncenter {display: block; margin-left: auto; margin-right: auto;}
.alignright {margin: 0 0 2px 7px; float: right;}
.alignleft {margin: 0 7px 2px 0; float: left}

hr {display: block; margin: 2em 0;  padding: 0; height: 1px; border: 0; border-top: 1px solid #ccc;}



/* formulare */
div.wpcf7-response-output {color: #000; background-color: #fff; margin: 0; padding: 0;}
div.wpcf7-mail-sent-ok {border: 2px solid #398f14; background-color: #fff; padding: 5px; box-shadow: 2px 2px 5px #797979;}
div.wpcf7-mail-sent-ng {border: 2px solid #ff0000; background-color: #fff; padding: 5px; box-shadow: 2px 2px 5px #797979;}
div.wpcf7-spam-blocked {border: 2px solid #ffa500; background-color: #fff; padding: 5px; box-shadow: 2px 2px 5px #797979;}
div.wpcf7-validation-errors {border: 2px solid #f7e700; padding: 5px; box-shadow: 2px 2px 5px #797979;}
span.wpcf7-not-valid-tip {color: #000; position: absolute; z-index: 100; background: #fff; border: 1px solid #ff0000; font-size: 13px; padding: 5px; box-shadow: 2px 2px 5px #797979;}
span.wpcf7-not-valid-tip-no-ajax {color: #f00; font-size: 13px; display: block;}
span.wpcf7-list-item {float: left; clear: both; width: 100%; margin: 0 0 1em 0;}
.wpcf7-captcha-captcha {vertical-align: bottom;}
#main .wpcf7-captcha-captcha {border: 0;}

.table-form th {text-align: left; width: 10%;}

input[type="text"], input[type="number"], input[type="tel"], input[type="email"], textarea, select {border: 1px solid #a3a3a3; background-color: #f7f7f7; padding: 4px; transition: border 0.2s, box-shadow 0.2s ease-in-out;}
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, textarea:focus {background-color: #fff; box-shadow: 0px 0px 4px #373737;}
input[type="text"]:hover, input[type="tel"]:hover, input[type="email"]:hover, textarea:hover {box-shadow: 0px 0px 4px #373737;}
.form-submit {text-align: center; margin: 1em 0;}
.form-required {color: #FF0000;}

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], textarea {width: 100%; box-sizing: border-box;}
input[type="text"].wpcf7-captchar {width: 50px;}
textarea {height: 7.5em; resize: vertical;}

/* safari type="search" fix */
input[type="search"] {-webkit-appearance: textfield;}
input[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}


/* tabulka */
.table td {padding: 0 10px 0 0; margin: 0;}


/* tabulka clanek */
.table-article {border: 2px solid #dcdcdc;}
.table-article td, .table-article th {padding: 4px; border: 1px solid #dcdcdc;}
.table-article th {text-align: center; background-color: #e8e8e8;}
.table-article td {text-align: left; background-color: #fff; padding: 8px;}
.table-article tr:nth-child(even) td {background: #f2f2f2}


/* responsive iframe video (16:9) */
.iframe-wrapper {position: relative; width: 100%; height: 0; margin-bottom: 2em; padding: 2em 0 56.25% 0;  overflow: hidden; line-height: 0;}
.iframe-wrapper iframe, .iframe-wrapper object, .iframe-wrapper embed {position: absolute; top: 0; left: 0; width: 100%!important; height: 100%!important;} 

@media screen and (min-width: 768px) {
  .iframe-wrapper {width: 500px; height: 281px; padding-bottom: 0;}
}


/*********** gallery + album ***********/
/* shared */
.gallery,
.album {display: flex; flex-direction: row; flex-wrap: wrap; margin-bottom: 2em; clear: both; line-height: 1;}

.gallery .gallery-item span,
.album .album-item h3 {line-height: 1.3;}

/* gallery (180 x 180px) */
.gallery .gallery-item {text-align: center; overflow: hidden;}
.gallery .gallery-item span {display: block; margin-top: 0.5em;}
.gallery .gallery-item span.caption {font-weight: normal; font-size: 80%;}
.gallery .gallery-item span.description {margin-bottom: 0.5em; font-size: 75%;}

/* album */
.album .album-item {text-decoration: none;}
.album .album-item > a.thumbnail {position: relative; display: block; width: 100%; height: 0; padding-bottom: 100%; background-repeat: no-repeat!important; background-size: cover!important; background-position: center center!important; overflow: hidden; transition: all .4s ease;}
.album .album-item > a.thumbnail:hover {transform: scale(1.06);}
.album .album-item > a.thumbnail::after {position: absolute; content: ""; left: 50%; top: 50%; width: 0%; height: 0%; transition: all .4s ease;}
.album .album-item > a.thumbnail:hover::after {left: 0; top: 0; width: 100%; height: 100%;}
.album .album-item h3 {font-size: 110%; text-align: left; margin: 1.5em 0 0.5em 0; text-transform: uppercase;}


@media screen and (max-width: 479px) {
  .gallery {margin-left: -6%;}
  .gallery .gallery-item {width: calc(100% / 2 - 6%); margin: 0 0 6% 6%;}
  .album .album-item {width: 100%; margin-bottom: 2em;}
}

@media screen and (min-width: 480px) {	
  .gallery {margin-left: -2%;}		
  .gallery .gallery-item {width: calc(100% / 4 - 2%); margin: 0 0 2% 2%;}
  
  .album {margin-left: -3%;}
  .album .album-item {width: calc(100% / 2 - 3%); margin: 0 0 3% 3%;}
}

@media screen and (min-width: 480px) and (max-width: 1199px) {
  .album .album-item h3 {font-size: 2vmin;}
}

@media screen and (min-width: 768px) {
  .gallery .gallery-item {width: calc(100% / 5 - 2%);}
}

@media screen and (min-width: 1200px) {
  .gallery .gallery-item {width: calc(100% / 6 - 2%);}
  .gallery .gallery-item a.icon.magnify {width: 180px; height: 180px; display: flex; justify-content: center; align-items: center;}
  .album .album-item {width: calc(100% / 4 - 3%);}
} 


/* icon.search hover */
.gallery a.icon.magnify {display: block; position: relative; overflow: hidden; line-height: 0;}

.gallery a.icon.magnify::before {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);  font-size: 60px; opacity: 0; z-index: 2; transition: all .2s ease-in-out;} 
.gallery a.icon.magnify:hover::before {font-size: 80px; opacity: .75;}

.gallery a.icon.magnify img {width: 100%; transition: transform .4s ease-in-out;}
.gallery a.icon.magnify:hover img {transform: scale(1.1);}


/* Owl Carousel 2.3.4 */
/* carousel */
#carousel .owl-lazy  {height: 0; padding-bottom: 27.6%;}
.owl-carousel .owl-dots {bottom: 10px;}


.owl-carousel,
.owl-carousel .owl-stage,
.owl-carousel .owl-item {position: relative;}

.owl-carousel .owl-stage-outer {width: 100%; overflow: hidden;}
.owl-carousel .owl-item {float: left; overflow: hidden;}

.owl-carousel.owl-grab,
.owl-carousel.owl-grab a {cursor: move; cursor: grab;}

.owl-drag .owl-item {-webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}

.owl-carousel .owl-nav {display: none;}
.owl-carousel:hover .owl-nav {display: block;}
.owl-carousel button.owl-prev, .owl-carousel button.owl-next {position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; line-height: 42px; background: none; text-align: center; cursor: pointer;}
.owl-carousel .owl-prev {left: 20px;}
.owl-carousel .owl-next {right: 20px;}
.owl-carousel .owl-prev::before, .owl-carousel .owl-next::before {font-size: 42px; text-shadow: 0 0 5px #000; transition: color .4s ease;}
.owl-carousel .owl-prev::before {content: "\f104";} 
.owl-carousel .owl-next::before {content: "\f105";} 

.owl-carousel .owl-dots {position: absolute; bottom: 30px; left: 0; right: 0;}
.owl-carousel .owl-dots {text-align: center;}
.owl-carousel .owl-dots button.owl-dot {position: relative; display: inline-block; width: 16px; height: 16px; margin: 5px; border-radius: 50%; box-shadow: 0 0 5px #000; box-sizing: border-box;}
.owl-carousel .owl-dots button.owl-dot span {display: none;}
.owl-carousel .owl-dots .owl-dot::before {content: ""; width: 0%; height: 100%; position: absolute; right: 0; bottom: 0; transition: .4s ease-in; border-radius: 50%;}
.owl-carousel .owl-dots .owl-dot:hover::before,
.owl-carousel .owl-dots .owl-dot.active::before {width: 100%; left: 0;}

.owl-carousel .owl-dots button.owl-dot,
.owl-carousel button.owl-prev, .owl-carousel button.owl-next {padding: 0!important; border: 0; overflow: hidden; cursor: pointer;}

/* carousel crossfade */
.owl-carousel .animated {animation-duration: 1000ms; animation-fill-mode: both;}
.owl-carousel .owl-animated-in {z-index: 0;}
.owl-carousel .owl-animated-out {z-index: 1;}
.owl-carousel .fadeOut {animation-name: fadeOut;}
@keyframes fadeOut {0% {opacity: 1;} 100% {opacity: 0;}}



/* Fancybox 3.5.7 */
body.compensate-for-scrollbar {overflow: hidden;}
.fancybox-active {height: auto;}
.fancybox-is-hidden {position: absolute!important; left: -9999px; top: -9999px; margin: 0; visibility: hidden;}
.fancybox-container {position: fixed;  top: 0; left: 0; width: 100%; height: 100%; outline: none; z-index: 99992; -webkit-backface-visibility: hidden; -webkit-tap-highlight-color: transparent; -ms-touch-action: manipulation; touch-action: manipulation; -webkit-transform: translateZ(0); transform: translateZ(0);}
.fancybox-container * {box-sizing: border-box;}
.fancybox-container button.fancybox-button {background: none;}
.fancybox-outer, .fancybox-inner, .fancybox-bg, .fancybox-stage {position: absolute; bottom: 0; left: 0; right: 0; top: 0; font-family: Arial, Helvetica, sans-serif;}
.fancybox-outer {-webkit-overflow-scrolling: touch; overflow-y: auto;}
.fancybox-bg {background: #1e1e1e; opacity: 0; transition-duration: inherit; transition-property: opacity; transition-timing-function: cubic-bezier(.47,0,.74,.71);}
.fancybox-is-open .fancybox-bg {opacity: .9; transition-timing-function: cubic-bezier(.22,.61,.36,1);}
.fancybox-infobar, .fancybox-toolbar, .fancybox-caption, .fancybox-navigation .fancybox-button {position: absolute; direction: ltr; opacity: 0; transition: opacity .25s, visibility 0s linear .25s; visibility: hidden; z-index: 99997;}
.fancybox-show-infobar .fancybox-infobar, .fancybox-show-toolbar .fancybox-toolbar, .fancybox-show-caption .fancybox-caption, .fancybox-show-nav .fancybox-navigation .fancybox-button {opacity: 1; transition: opacity .25s ease 0s, visibility 0s ease 0s; visibility: visible;}
.fancybox-infobar {top: 0; left: 0; color: #ccc; font-size: 13px; height: 44px; line-height: 44px; min-width: 44px;  padding: 0 10px; pointer-events: none;  mix-blend-mode: difference; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;  -webkit-font-smoothing: subpixel-antialiased;}
.fancybox-toolbar {right: 0; top: 0;}
.fancybox-stage {direction: ltr; overflow: visible; transform: translateZ(0); z-index: 99994;}
.fancybox-is-open .fancybox-stage {overflow: hidden;}
.fancybox-slide {position: absolute; top: 0; left: 0; display: none; width: 100%; height: 100%;  outline: none;padding: 44px; text-align: center;  overflow: auto; white-space: normal;  z-index: 99994; transition-property: transform, opacity; -webkit-backface-visibility: hidden; -webkit-overflow-scrolling: touch;}
.fancybox-slide::before {display: inline-block; content: ""; width: 0; height: 100%; margin-right: -.25em; vertical-align: middle;}
.fancybox-is-sliding .fancybox-slide, .fancybox-slide--previous, .fancybox-slide--current, .fancybox-slide--next {display: block;}
.fancybox-slide--image {overflow: hidden; padding: 44px 0;}
.fancybox-slide--image::before {display: none;}
.fancybox-slide--html {padding: 6px;}
.fancybox-content {background: #fff; display: inline-block; margin: 0; max-width: 100%; overflow: auto; -webkit-overflow-scrolling: touch; padding: 44px; position: relative; text-align: left; vertical-align: middle;}
.fancybox-slide--image .fancybox-content {background: transparent; background-repeat: no-repeat; background-size: 100% 100%; left: 0; max-width: none; overflow: visible; padding: 0; position: absolute; top: 0; -webkit-transform-origin: top left; -ms-transform-origin: top left; transform-origin: top left; transition-property: opacity, -webkit-transform; transition-property: transform, opacity; transition-property: transform, opacity, -webkit-transform; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-animation-timing-function: cubic-bezier(.5,0,.14,1); animation-timing-function: cubic-bezier(.5,0,.14,1); -webkit-backface-visibility: hidden; z-index: 99995;}
.fancybox-can-zoomOut .fancybox-content {cursor: -webkit-zoom-out; cursor: zoom-out;}
.fancybox-can-zoomIn .fancybox-content {cursor: -webkit-zoom-in; cursor: zoom-in;}
.fancybox-can-swipe .fancybox-content,
.fancybox-can-pan .fancybox-content {cursor: -webkit-grab; cursor: grab;}
.fancybox-is-grabbing .fancybox-content {cursor: -webkit-grabbing; cursor: grabbing;}
.fancybox-container [data-selectable='true'] {cursor: text;}
.fancybox-image,
.fancybox-spaceball {background: transparent; border: 0; height: 100%; left: 0; margin: 0; max-height: none; max-width: none; padding: 0; position: absolute; top: 0; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; width: 100%;}
.fancybox-spaceball {z-index: 1;}
.fancybox-slide--video .fancybox-content, .fancybox-slide--map .fancybox-content, .fancybox-slide--pdf .fancybox-content, .fancybox-slide--iframe .fancybox-content {width: 100%; height: 100%; padding: 0; overflow: visible;}
.fancybox-slide--video .fancybox-content {background: #000;}
.fancybox-slide--map .fancybox-content {background: #e5e3df;}
.fancybox-slide--iframe .fancybox-content {height: calc(100% - 44px); margin-bottom: 44px; padding: 5px; background: #fff;}
.fancybox-video, .fancybox-iframe {width: 100%; height: 100%; border: 0; margin: 0; padding: 0; background: transparent; overflow: hidden; }
.fancybox-iframe {vertical-align: top;}
.fancybox-error {background: #fff; cursor: default; max-width: 400px; padding: 40px; width: 100%;}
.fancybox-error p {color: #444; font-size: 16px; line-height: 20px; margin: 0; padding: 0;}
.fancybox-button {background: rgba(30,30,30,.6); border: 0; border-radius: 0; box-shadow: none; cursor: pointer; display: inline-block; height: 44px; margin: 0; padding: 10px; position: relative; transition: color .2s; vertical-align: top; visibility: inherit; width: 44px;}
.fancybox-button, .fancybox-button:visited, .fancybox-button:link {color: #ccc;}
.fancybox-button:hover {color: #fff;}
.fancybox-slide--html .fancybox-button:hover {color: #999;}
.fancybox-button:focus {outline: none;}
.fancybox-button.fancybox-focus {outline: 1px dotted;}
.fancybox-button[disabled], .fancybox-button[disabled]:hover {color: #888; cursor: default; outline: none;}
.fancybox-button > div {background-color: rgba(0,0,0,.3); height: 100%;}
.fancybox-button svg {display: block; height: 100%; overflow: visible; position: relative; width: 100%;}
.fancybox-button svg path {fill: currentColor; stroke-width: 0;}
.fancybox-button--play svg:nth-child(2), .fancybox-button--fsenter svg:nth-child(2), .fancybox-button--pause svg:nth-child(1), .fancybox-button--fsexit svg:nth-child(1) {display: none;}
.fancybox-progress {background: #ff5268; height: 2px; left: 0; position: absolute; right: 0; top: 0; -webkit-transform: scaleX(0); -ms-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: 0; -ms-transform-origin: 0; transform-origin: 0; transition-property: -webkit-transform; transition-property: transform; transition-property: transform, -webkit-transform; transition-timing-function: linear; z-index: 99998;}
.fancybox-close-small {position: absolute; right: 0; top: 0; border: 0; width: 40px; height: 40px; color: #555; background: transparent; cursor: pointer;  margin: 0; padding: 6px;  z-index: 401; border-radius: 0;}
.fancybox-close-small:hover {opacity: .75;}
.fancybox-slide--image .fancybox-close-small, .fancybox-slide--video .fancybox-close-small, .fancybox-slide--iframe .fancybox-close-small {color: #ccc!important; padding: 5px; right: -12px; top: -44px;}
.fancybox-slide--image.fancybox-is-scaling .fancybox-content {overflow: hidden;}
.fancybox-is-scaling .fancybox-close-small,
.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small {display: none;}
.fancybox-navigation .fancybox-button {position: absolute; top: calc(50% - 50px); width: 70px; height: 100px; background: #262626; background-clip: content-box; opacity: 0;}
.fancybox-navigation .fancybox-button div {padding: 7px;}
.fancybox-navigation .fancybox-button--arrow_left {left: 0; padding: 31px 26px 31px 6px;}
.fancybox-navigation .fancybox-button--arrow_right {padding: 31px 6px 31px 26px; right: 0;}
.fancybox-caption {left: 0; right: 0; bottom: 100px; color: #fff; text-align: left; font-size: 14px; font-weight: normal; padding: 20px; text-shadow: 1px 1px #000; line-height: 1.3;}
@media all and (max-height: 576px) {@supports (padding: max(0px)) {.fancybox-caption {padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right));}}}
.fancybox-caption a, .fancybox-caption a:link, .fancybox-caption a:visited {color: #ccc; text-decoration: none;}
.fancybox-caption a:hover {color: #fff; text-decoration: underline;}
.fancybox-loading {animation: fancybox-rotate 1s linear infinite; background: transparent; border: 4px solid #888; border-bottom-color: #fff; border-radius: 50%; height: 50px; left: 50%; margin: -25px 0 0 -25px; opacity: .7; padding: 0; position: absolute; top: 50%; width: 50px; z-index: 99999;}
@keyframes fancybox-rotate {100% {transform: rotate(360deg);}}
.fancybox-animated {transition-timing-function: cubic-bezier(0,0,.25,1);}
.fancybox-fx-fade.fancybox-slide--previous, .fancybox-fx-fade.fancybox-slide--next {opacity: 0; transition-timing-function: cubic-bezier(.19,1,.22,1);}
.fancybox-fx-fade.fancybox-slide--current {opacity: 1;}
.fancybox-thumbs {background: rgba(0,0,0,.3); display: none; margin: 0; padding: 2px 2px 4px 2px; position: absolute; bottom: 0; left: 0; right: 0; width: auto; z-index: 99995; -webkit-tap-highlight-color: transparent; -webkit-overflow-scrolling: touch; -ms-overflow-style: -ms-autohiding-scrollbar;}
.fancybox-show-thumbs .fancybox-thumbs {display: block;}
.fancybox-thumbs__list {position: relative; width: 100%; height: 100%; margin: auto; padding: 0; font-size: 0; white-space: nowrap; list-style: none; overflow:: hidden;}
.fancybox-thumbs-x {overflow-x: auto; overflow-y: hidden;}
.fancybox-thumbs__list a {position: relative; float: left; width: 100px; height: 75px; margin: 3px; outline: none; overflow: hidden; padding: 0; background-position: center center; background-repeat: no-repeat; background-size: cover; cursor: pointer; -webkit-tap-highlight-color: transparent;  -webkit-backface-visibility: hidden; backface-visibility: hidden;}
.fancybox-thumbs__list a::before {border: 3px solid rgba(255,255,255,.8); z-index: 99991;}
.fancybox-thumbs__list a:focus::before {opacity: .5;}
.fancybox-thumbs__list a::after {position: absolute; top: 0; right: 0; bottom: 0; left: 0; content: ""; background-color: rgba(255,255,255,.25);}
.fancybox-thumbs__list a:hover::after {opacity: 1;}
.fancybox-thumbs__list a::before, .fancybox-thumbs__list a::after {position: absolute; top: 0; right: 0; bottom: 0; left: 0; content: ""; opacity: 0; transition: all .2s ease-in;}
.fancybox-thumbs__list a.fancybox-thumbs-active::before {opacity: 1;}
@media screen and (max-width: 479px) {.fancybox-toolbar > *:not(.fancybox-button--close) {display: none!important;}}

/* iframe */
.fancybox-slide--iframe .fancybox-content {max-width: 60%;}

@media screen and (max-width: 767px) {
.fancybox-slide--iframe .fancybox-content {min-width: 100%;}
.fancybox-thumbs__list a {width: 80px; height: 60px;}
}



/* tooltip */
.tooltipster-base {display: flex; pointer-events: none; position: absolute;}
.tooltipster-fade {opacity: 0; transition-property: opacity;}
.tooltipster-fade.tooltipster-show {opacity: 1}
.tooltipster-sidetip .tooltipster-box { background: #565656; border: 2px solid #000; border-radius: 4px }
.tooltipster-sidetip.tooltipster-bottom .tooltipster-box { margin-top: 8px }
.tooltipster-sidetip.tooltipster-left .tooltipster-box { margin-right: 8px }
.tooltipster-sidetip.tooltipster-right .tooltipster-box { margin-left: 8px }
.tooltipster-sidetip.tooltipster-top .tooltipster-box { margin-bottom: 8px }
.tooltipster-sidetip .tooltipster-content { color: #fff; line-height: 18px; padding: 6px 14px }
.tooltipster-sidetip .tooltipster-arrow { overflow: hidden; position: absolute }
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow { height: 10px; margin-left: -10px; top: 0; width: 20px }
.tooltipster-sidetip.tooltipster-left .tooltipster-arrow { height: 20px; margin-top: -10px; right: 0; top: 0; width: 10px }
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow { height: 20px; margin-top: -10px; left: 0; top: 0; width: 10px }
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow { bottom: 0; height: 10px; margin-left: -10px; width: 20px }
.tooltipster-sidetip .tooltipster-arrow-background,
.tooltipster-sidetip .tooltipster-arrow-border { height: 0; position: absolute; width: 0 }
.tooltipster-sidetip .tooltipster-arrow-background { border: 10px solid transparent }
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background { border-bottom-color: #565656; left: 0; top: 3px }
.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background { border-left-color: #565656; left: -3px; top: 0 }
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background { border-right-color: #565656; left: 3px; top: 0 }
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background { border-top-color: #565656; left: 0; top: -3px }
.tooltipster-sidetip .tooltipster-arrow-border { border: 10px solid transparent; left: 0; top: 0 }
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border { border-bottom-color: #000 }
.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border { border-left-color: #000 }
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border { border-right-color: #000 }
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border { border-top-color: #000 }
.tooltipster-sidetip .tooltipster-arrow-uncropped { position: relative }
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped { top: -10px }
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped { left: -10px }



@media print {
body > *:not(#content):not(#homepage) {display: none;}
h1 {font-size: 24pt;}
.section, #header-inner, #content, #footer .block {width: 100%;}
}