/*
Quick.Cms default stylesheet
More about design modifications - http://opensolution.org/docs/?p=pl-design
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700&subset=latin-ext');

/* Layout variables */
:root {
  --color-text: #000000;
  --color-primary: #970000;
  --color-secondary: #aa0000;
}

/* GLOBAL STYLES */
body, body *, body *:before, body *:after{margin:0;padding:0;border:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
body,table{color:var(--color-text);font-size:1.5rem;font-family:'Open Sans Condensed', sans-serif; border:1px solid #000000;}
hr{border:1px solid #970000;}

/*średni telefon lub IPad*/
@media only screen and (max-width: 680px) {
body,table{border:0;}
}

body{padding:0;background:#ebe9e4;}

a{color:var(--color-text);text-decoration:underline;}
a:hover{color:var(--color-primary);text-decoration:underline;}

.msg.error h1{padding:20px 0;text-align:center;}
.wai{position:absolute;width:1px;height:1px;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);overflow:hidden;}

#container{position:relative;width:100%;margin:0 auto;}
#container:after{content:"";display:table;clear:both;}
@media screen and (min-width:1280px){
  #container{width:100%;}
}
#body, #foot{margin:0 auto;padding:0;}

/* QUICK LINKS */
#skiplinks{position:absolute;top:0;left:0;}
#skiplinks a{position:absolute;top:-500px;left:0;z-index:10;min-width:200px;padding:10px;color:var(--color-text);}
#skiplinks a:focus{top:0;background:#000;color:var(--color-primary);}

/* LOGO, HEADER BACKGROUND AND SLOGAN */
.header__navigation{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:flex-start;position:relative;background:url('img/top.jpg') no-repeat top center;-moz-background-size:100% auto; /* Firefox 3.x */ background-size:100% auto;height:21.8vw;}

/*średni telefon lub IPad*/
@media only screen and (max-width: 680px) {
 .header__navigation{background:url('img/top_mobile.jpg') repeat-y top center;-moz-background-size:100% auto; /* Firefox 3.x */ background-size:100% auto;height:25vw;}
}

/* MENU TOP
   to style mobile and desktop menu use: .menu-top ...
   to style only desktop menu use: .header__menu ...
   to style only mobile menu use: .mm-ocd ...
*/
.header__menu .level-0-menu{display:flex;flex-flow:row wrap;list-style:none;}
.header__menu .menu__link{display:block;padding:.2em .6em;color:var(--color-text);text-decoration:none;transition:all 0.5s ease;font-weight:bold;}
.menu__link:hover, .selected > .menu__link, .selected-parent > .menu__link{color:var(--color-primary);}

@media screen and (min-width:960px){
  .header__menu{display:flex;justify-content:flex-end;margin: 0 9%;margin-top:18vw;}
}
@media screen and (min-width:641px){
  .header__menu{flex-basis:100%;}
  .header__menu li{position:relative;font-size:1.7rem;}
  /* Bottom underline */
  .header__menu .level-0-el:after{content:'';display:block;position:absolute;bottom:0;width:10%;height:2px;transition:all 0.5s ease;}
  .header__menu .level-0-el:hover:after, .header__menu .level-0-el.selected:after, .header__menu .level-0-el.selected-parent:after{width:99%;background:var(--color-primary);}

  /* Hamburger only on small screen */
  button.hamburger{display:none}
}

/* BODY/CONTENT STYLES */
#body{clear:both;margin:0;background:url('img/middle.jpg') repeat-y top center;-moz-background-size:100% auto; /* Firefox 3.x */ background-size:100% auto;color:var(--color-text);}
#body:after{content:"";display:table;clear:both;}

/*średni telefon lub IPad*/
@media only screen and (max-width: 680px) {
#body{clear:both;margin:0;background:url('img/middle_mobile.jpg') repeat-y top center;-moz-background-size:100% auto; /* Firefox 3.x */ background-size:100% auto;color:var(--color-text);}
#body:after{content:"";display:table;clear:both;}
}

/* PAGE */
#page{position:relative;margin:0 9% 30px;text-align:left;}
#page h1{margin:0 0 .4em;color:var(--color-primary);font-size:3rem;font-weight:bold;}
#page h2{margin:0 0 .4em;color:var(--color-primary);font-size:2,5rem;font-weight:bold;}

/*średni telefon lub IPad*/
@media only screen and (max-width: 680px) {
#page{position:relative;margin:0 3% 30px;text-align:left;}
#page h1{margin:.5em 0 .4em;color:var(--color-primary);font-size:2rem;font-weight:bold;}
#page h2{margin:0 0 .4em;color:var(--color-primary);font-size:1,5rem;font-weight:bold;}
}

/* PAGE - BREADCRUMB (navigation path) */
.breadcrumb{margin-bottom:1.25rem;}
.breadcrumb ol{list-style:none;}
.breadcrumb li{display:inline-block;}
.breadcrumb li:not(:first-child)::before{content:"\203A";display:inline-block;padding:0 .5em;color:var(--color-text);font-weight:bold;}

/* PAGE CONTENT */
#page div.content{line-height:1.5em;}
#page div.content > ul, #page div.content > ol{padding:0 0 0 2em;}
/* #page div.content > ul:after, #page div.content > ol:after{content:"";display:table;clear:both;} */ /* Uncomment if necessary */
#page div.content > ul li, #page div.content > ol li{margin:.5em 0;padding:0;}
#page div.content > h2, #page div.content > h3{font-size:2rem;line-height:2em;font-weight:bold;}
#page div.content > h3{font-size:1.25rem;}
#page div.content > p{padding-bottom:2em;}

/* IMAGES STYLES */
/* global */
#content li img:hover{opacity:0.9;}
ul[class*='images-']{list-style:none;}
ul[class*='images-'] li{margin:0 0 1rem 0;text-align:center;}
ul[class*='images-'] p{max-width:250px;margin:0 auto;color:var(--color-primary);font-size:0.8em;}
ul[class*="images-"] img{max-width:100%;}
ul[class*="images-"] img:hover{opacity:0.8;}
div.content .images-gallery{padding:0;}
/* list custom - side images */
.images-1{clear:left;float:left;margin:.5rem 1.5rem 0 0;}
.images-2{clear:right;float:right;margin:.5rem 0 0 1rem;}
/* list custom - gallery images */
.images-3{clear:both;display:flex;flex-flow:row wrap;justify-content:space-between;}
.images-3 li{flex:1 0 100%;padding:.3rem 2rem;}
@media screen and (min-width:960px){ .images-3 li{flex:0 0 calc( 100% / 4 );} }

/*średni telefon lub IPad*/
@media only screen and (max-width: 680px) {
.images-1{text-align:center;margin:0;}
.images-2{	text-align:center;margin:0;}
}

/* FILES LIST STYLES */
.files-list{margin:1rem 0 .5rem;list-style:none;vertical-align:middle;border-left:2px solid var(--color-text);font-size:0.9rem;}
.files-list li{height:20px;margin:0 0 1rem 1rem;padding-left:2rem;background:url('img/files-ext.gif') no-repeat 0 -260px;}
.files-list p{display:inline;color:var(--color-primary);font-style:italic;}
.files-list p:before{content:" - ";}
.files-list .zip{background-position:0 0;}
.files-list .xml{background-position:0 -20px;}
.files-list .xls{background-position:0 -40px;}
.files-list .web{background-position:0 -60px;}
.files-list .vcf{background-position:0 -80px;}
.files-list .txt{background-position:0 -100px;}
.files-list .sys{background-position:0 -120px;}
.files-list .swf{background-position:0 -140px;}
.files-list .psd{background-position:0 -160px;}
.files-list .pps{background-position:0 -180px;}
.files-list .png{background-position:0 -200px;}
.files-list .pic{background-position:0 -220px;}
.files-list .pdf{background-position:0 -240px;}
.files-list .nn{background-position:0 -260px;}
.files-list .eml{background-position:0 -280px;}
.files-list .media{background-position:0 -300px;}
.files-list .fla{background-position:0 -320px;}
.files-list .exe{background-position:0 -340px;}
.files-list .chm{background-position:0 -360px;}
.files-list .cdr{background-position:0 -380px;}

/* SUBPAGES LIST STYLES */
.pages-list{clear:both;margin:.5rem 0;list-style:none;}
.pages-list .page{margin:15px 0;padding:1.5rem 2.5%;border:1px solid var(--color-primary);border-top:5px solid var(--color-primary);}
.pages-list .page:after{content:"";display:table;clear:both;}
.pages-list .image{float:left;margin:1% 2.5% 5px 0;}
.pages-list .image img{max-width:100%;}
.pages-list .title{padding:0 0 0.5em;font-size:2.5rem;}
.pages-list .title a{color:var(--color-text);font-weight:bold;background:none;text-decoration:none;}
.pages-list .title a:hover{color:var(--color-primary);background:none;text-decoration:underline;}
.pages-list div.description{line-height:1.4em;}
.pages-list ul, .pages-list ol{margin:.5em 2em;list-style:disc;}
.pages-list .page li{padding:0;border:0;background:none;}
.pages-list .page ol{list-style:decimal;}
.pages-list p{padding:.3em 0;}

/*średni telefon lub IPad*/
@media only screen and (max-width: 680px) {
.pages-list .title{padding:0 0 0.5em;font-size:1.5rem;}
.pages-list .title a{color:var(--color-text);font-weight:bold;background:none;text-decoration:none;}
}

/* FOOTER - SITE AND SCRIPT COPYRIGHTS STYLES */
#foot{background:url('img/bottom.jpg') no-repeat top center;-moz-background-size:100% auto; /* Firefox 3.x */ background-size:100% auto;color:#000000;font-size:.8em;}
#foot .container{display:flex;flex-wrap:wrap;justify-content:space-between;}
#foot .container > *{padding:2rem 9% 5rem;}
#foot a{color:var(--color-text);text-decoration:none;}
#foot a:hover{color:var(--color-primary);text-decoration:underline;}
#foot .options ul{display:flex;list-style:none;}
#foot .options li:not(:last-child){margin-right:2rem;}
#foot .options a{display:block;font-size:1%;color:transparent;}
#foot .options .icon{width:1rem;}
#foot .options a:hover .icon{fill:var(--color-primary);}

/*średni telefon lub IPad*/
@media only screen and (max-width: 680px) {
#foot{background:url('img/bottom_mobile.jpg') no-repeat top center;-moz-background-size:100% auto; /* Firefox 3.x */ background-size:100% auto;color:var(--color-text);font-size:.6em;}
#foot .container > *{padding:1rem 3% 2.5rem;}
}

#powered{clear:both;width:100%;margin-bottom:60px;text-align:center;}
#powered a{display:inline-block;width:192px;height:26px;}

.icon{display:inline-block;content:"";flex-shrink:0;width:1.5rem;height:1.5rem;fill:var(--color-text);}
.icon--labeled{margin-left:.75em;width:1.5em;height:1.5em;}

@media print{
  /* PRINT STYLES */
  * {color:#000 !important;background:#fff !important;border-color:#444 !important;border-width:1px !important;}

  body{margin:.5cm 0;font-size:0.875em;}
  #container{position:static;width:17.2cm;height:auto;margin:0;box-shadow:none;}
  #logo{padding:0 0 0.2cm;}
  #logo #title a{font-size:2em;}

  #body{clear:none;border-top:0;}
  #page{clear:both;position:static;}
  #page h1{margin:.5cm 0 0;font-size:1.25rem;}

  #menu-main, #foot .options{display:none;}
  #slider, .quick-slider img, .quick-slider-nav-arrows, .quick-slider-nav-dots{display:none;}
}

/* PLUGINS */

/* GOOGLE TRANSLATE */
#googleTranslate{clear:both;width:960px;margin:10px auto;text-align:center;padding:10px 10px 0 0;}
#google_translate_element select{padding:2px;border-width:1px;border-style:solid;font-size:1em;border-color:#aeb7bb #d8dbde #d8dbde #aeb7bb;}
.goog-logo-link,.goog-logo-link:link,.goog-logo-link:visited,.goog-logo-link:hover,.goog-logo-link:active, .goog-te-gadget{color:#e6e3e3 !important;}

/* YOUTUBE LINKS */
.youtube{width:550px;height:413px;padding:1px;box-shadow:0 0 4px rgba(100,100,100,0.4);}

/* Display option: GOOGLE MAPS */
#page .googlemap iframe{width:100%;height:350px;}

/* Simple Notice */
#noticeAboutCookies{display:none;padding:9px 0;background:#000000;font-size:.7em;color:#ffffff;font-weight:normal;border-bottom:5px solid #970000;text-align:center;}
#noticeAboutCookies .close{margin-left:10px;font-size:.8em;color:#ffffff;font-weight:bold;text-decoration:none;}
#noticeAboutCookies .close:hover{color:#970000;}

/* SCROLL BACK TO TOP */
#backToTop{position:fixed;bottom:30px;right:1.5%;}
#backToTop a{display:block;width:80px;text-align:center;color:#666;text-transform:uppercase;text-decoration:none;transition:1s;opacity:0.6;}
#backToTop a:hover{opacity:1;color:#0093dd;text-decoration:none;}
#backToTop a:before{content:'';display:block;width:80px;height:90px;margin-bottom:7px;background: url('img/back_to_top.png') no-repeat center center;border-radius:15px;transition:1s;}
#backToTop a:hover:before{background-color:none;}
@media screen and (max-width:1280px){
  #backToTop {right:0.5%;}
  #backToTop a{opacity:0.3;}
}

/* OTHER (less popular styles) */

/* FORMS */
input[type="text"], input[type="email"], select, textarea{padding:2px;border-width:1px;border-style:solid;border-color:var(--color-primary);font-family:Arial, sans-serif;font-size:1rem;border-radius:2px;}
input[type="text"].warning-required, input[type="email"].warning-required, select.warning-required, textarea.warning-required{background:#fbefef;}
input[type="submit"]{padding:0.4em 0.9em;border-width:1px;border-style:solid;background:#333;color:var(--color-text);transition:all 0.3s ease;font-family:Arial, sans-serif;font-size:1rem;border-radius:2px;}
input[type="submit"]:hover{background:var(--color-text);cursor:pointer;}
label{font-weight:bold;color:var(--color-primary);}
label span{padding-left:10px;color:#aaa;font-weight:normal;}

/* QUICK.BOX */
#quick-box{position:fixed;width:100%;height:100%;left:0;top:0;background:rgba( 0, 0, 0, 0.7 );z-index:200;}
#quick-box .background{height:100%;}
#quick-box .quick-box-container{position:absolute;padding:0;border-radius:5px;box-shadow: 0 0 15px 1px #000;}
#quick-box .image-wrapper{position:relative;line-height:0;}
#quick-box .image-wrapper img{margin:0;padding:0;border-radius:5px;}
#quick-box .navigation{position:absolute;bottom:0;margin:0;width:100%;padding:.5em 0;text-align:center;font-size:1rem;color:var(--color-text);line-height:normal;background:rgba( 0, 0, 0, 0.2 );}
#quick-box .navigation__sep{padding:0 3px;}
#quick-box .full-size{position:absolute;right:8px;top:2px;width:24px;height:24px;font-size:0.1em;color:transparent;background:url('../admin/img/fullscreen.png') no-repeat;}
#quick-box .description{margin:0;padding:.5em 0;text-align:center;font-size:0.875rem;color:#ddd;font-weight:bold;background:rgba( 0, 0, 0, 0.8 );border-bottom-left-radius:5px;border-bottom-right-radius:5px;max-height:66px;overflow:hidden;}
#quick-box .arrow{position:absolute;display:block;width:50%;top:15%;height:70%;margin:0;font-family:Verdana;z-index:100;opacity:0.5;text-decoration:none;}
#quick-box .arrow:before, #quick-box .arrow:after{content:"";display:block;position:absolute;top:50%;transform:translateY(-50%);}
#quick-box .arrow:before{width:32px;height:32px;margin:0 10px;background:url('img/arrows.png') no-repeat 0 0;z-index:1;}
#quick-box .arrow:after{width:52px;height:52px;background:rgba( 0, 0, 0, 0.2 );z-index:-1;}
#quick-box .arrow.prev:before{background-position:0 -32px;}
#quick-box .arrow.next:before{right:0;}
#quick-box .arrow.next:after{right:0;}
#quick-box .arrow:hover{opacity:0.9;}
#quick-box .prev{left:0;}
#quick-box .next{right:0;}
#quick-box .close{position:absolute;top:0;right:0;padding:0.15em 0.4em 0.2em;opacity:0.5;background:#000;color:var(--color-text);font-weight:bold;font-family:"Trebuchet MS";text-decoration:none;border:1px solid var(--color-text);border-top:none;border-right:none;border-top-right-radius:5px;z-index:100;}
#quick-box .close:hover{opacity:0.8;}
#quick-box .close, #quick-box .arrow{line-height:normal;}
#quick-box .loading{display:block;padding:40px 35px;color:white;line-height:1em;}
@media /* High px density (mostly mobile) - so you can magnify something */
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (        min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx){
  #quick-box .close{font-size:1.5rem;}
  #quick-box .prev, #quick-box .next{opacity:0.5;text-decoration:none;}
}
