#top-bar {
	position: relative;
	width: 1200px;
	height: inherit;
	margin: 0 auto;
}

/********************************************************/
#top-bar #logo {
	width: 165px;
	height: 60px;
	position: absolute;
	top: 20px;
	left: 20px;
}

#top-bar #logo a {
	display: block;
}

#top-bar #logo img {
	display: block;
	width: inherit;
	height: inherit;
}

/********************************************************/
#top-bar-icons {
	width: auto;
	height: 40px;
	position: absolute;
	top: 90px;
	left: 20px;
	text-align: right;
}

#top-bar-icons a {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-left: 10px;
}

#top-bar-icons a img {
	display: block;
	width: inherit;
	height: inherit;
}

#top-bar-icons a:hover,
#top-bar-icons a:active {
	opacity: 0.75;
}

/************************************************/
#search-form{
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 91px;
	vertical-align: top;
	height: 36px;
	line-height: 34px;
}

#search-form input[type="text"] {
	padding: 0 40px 0 8px;
	width: 170px;
	height: 34px;
	border: 1px solid #c8c8c8;
	font-size: 14px;
	line-height: 34px;
	color: #0a0a0a;
	transition: width 1s;
	transition: padding 1s;
}

#search-form #search-submit-btn {
	height: 34px;
	position: absolute;
	right: 1px;
	top: 2px;
	z-index: 10;
	transition: width 1s;
	overflow: hidden;

	width: 34px;
}

#search-form #search-submit-btn button {
	background: url("/img/tools-icons.png") no-repeat scroll left top;
	border: 0 none;
	box-shadow: none;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	display: block;
}

#search-form #search-submit-btn button:hover {
	background-position: -34px 0;
}

#search-form #search-submit-btn button:focus,
#search-form #search-submit-btn button:active {
	background-position: -68px 0;
	outline: 1px solid #000 !important;
}

/********************************************************/
#main-menu {
	position: absolute;
	top: 35px;
	right: 0;
	/*left: 50%;*/
	/*margin-left: -410px;*/
	/*width: 820px;*/
	min-height: 30px;
    /*text-align: center;*/
    text-align: right;
    font-size: 16px;
	/*font-size: 1rem;*/
	font-family: 'Favela-Regular';
	background: #fff;
}

#main-menu ul {
    display: inline-block;
    list-style: none;
	width: 100%;
}

#main-menu ul li {
    display: inline-block;
}

#main-menu a {
    display: block;
    min-height: 30px;
    /*line-height: 30px;*/
	line-height: 1.875;
    padding: 0 15px;
    text-decoration: none;
    text-transform: uppercase;
	color: #000;
}

#main-menu a.red {
	color: #eb5d48;
}

#main-menu a:hover {
    text-decoration: underline;
}

#main-menu a:active {
    text-decoration: underline;
}

/********************************************************/
.menu-trigger {
	display: none;
}

#menu-trigger {
	font-size: 18px;
	line-height: 22px;
	color: #000;
	padding: 10px 15px 10px 15px;
	background-color: #bcd0ed;
	border-radius: 2px;
	margin-bottom: 10px;
	cursor: pointer;
}

#menu-trigger img {
	margin-right: 10px;
} 

#c-left .menu-block {
	margin-bottom: 20px;
	background-color: #bcd0ed;
	padding: 25px 20px;
	font-family: 'Favela-Regular';
	font-size: 0.875rem;
	line-height: 1.3;
}

#c-left .menu-block a {
	color: #000;
}

#c-left .menu-block a:hover {
	color: #000;
	text-decoration: underline;
}

#c-left .menu-block .header {
	font-weight: bold;
	margin-top: 46px;
}

#c-left .menu-block .header.first-header {
	margin-top: 0;
	padding-bottom: 2px;
}

#c-left .menu-block .header,
#c-left .menu-block .header a {
	text-transform: uppercase;
	font-size: 1rem;
	line-height: 1.25;
}

#c-left .menu-block .header small,
#c-left .menu-block .header a small {
	text-transform: none;
	font-size: 0.75em;
}

#c-left .menu-block ul {
	list-style: none;
}

#c-left  .menu-block > ul > li > a {
	padding: 5px 0;
	display: block;
}

#c-left  .menu-block .menu-header + li {
	padding: 0;
	border: 0;
}

#c-left  .menu-block ul > li > ul > li {
	padding-left: 15px;
}

#c-left  .menu-block ul > li > ul > li.header {
	padding-left: 0;
	padding-bottom: 7px;
}

#c-left  .menu-block ul > li > ul > li a {
	display: block;
	padding: 6px 0;
}

#c-left .main-menu-pos {
	display: none;
}

/*** banner *****************************************************/
.banner {
	margin-bottom: 5px;
	text-align: center;
}

/********************************************************/
#title {
	padding: 0 0 6px 0;
	margin-bottom: 20px;
	border-bottom: 1px solid #ccc;
}

#title h1 {
	font-size: 1.125rem;
}

/********************************************************/
#logotypes {
	padding: 10px 0;
	text-align: center;
}

/********************************************************/
#c-footer #footer {
	font-family:'Favela-Regular';
	font-size: 0.75rem;
	line-height: 1.6666666667;
}

#c-footer #footer a {
	color: #343333;
}

#footer #footer-address {
	float: left;
	color: #343333;
}

#footer #footer-ico {
	margin-top: 10px;
}

#lioosys {
	float: right;
}

/* ---------------------------- */
#c-content h1,
#c-content h2,
#c-content h3,
#c-content h4,
#c-content h5,
#c-content h6 {
	margin: 20px 0 10px 0;
}

/********************************************************/
#c-content table {
	width: 100% !important;
	height: auto !important;
}

#c-content table tr,
#c-content table td {
	width: auto !important;
	height: auto !important;
}

#c-content table td {
	padding: 5px;	
}

/********************************************************/
.news {
	width: 280px;
	height: 350px;
	float: left;
	margin: 0 0 20px 20px;
	cursor: pointer;
}

.news:nth-child(3n+1) {
	margin-left: 0;
}

.news:hover {
	opacity: 0.8;
}

.news > .min-image {
	width: inherit;
	height: 280px;
}

.news > .txt {
	width: inherit;
	height: 60px;
	padding: 7px 0 3px 0;
	overflow: hidden;
	font-size: 16px;
	line-height: 20px;
	background-color: #ffe166;
}

.news > .txt > .title {
	padding: 0 10px;
	color: #000;
	overflow: hidden;
}

.news > .txt > .title a {
	color: #000;
}

.news > .txt > .title a:hover {
	text-decoration: none;
}

.news > .txt > .header,
.news > .txt > .more {
    display: none;
}

.thumb-clickable {
	cursor: pointer;
}

.news .news-thumb {
	width: inherit;
	height: inherit;
}

/*** newsy - archiwum **************************************************/
.news-arch {
    clear: both;
}

#c-content .news-arch h2 {
	cursor: pointer;
}

.news-arch ul {
	display: none;
}

/*** news - wyswietlenie **************************************************/
.news-show {
	
}

.news-show > .date {
	color: #909090;
	margin-bottom: 10px;
}

.news-show > .header {
	margin-bottom: 20px;
	color: #000;
}

.news-show > .img {
	text-align: center;
}

.news-show > .img img {
	margin-bottom: 20px;
}

.news-gallery {
	margin-top: 25px;
}

.news-gallery:empty {
	display: none;
}

/*** komponenty ******************************************************/
.cmp {
	margin-bottom: 20px;
}

/*** komponent tekst **************************************************/
.cmp-text {

}

/*** komponent link **************************************************/
.cmp-link {
	margin-bottom: 10px;
}

.cmp-link > a {

}

/*** komponent plik **************************************************/
.cmp-file {

}

.cmp-file > .icon {
    width: 50px;
    float: left;
    padding-right: 15px;
    text-align: center;
}

.cmp-file > .icon img {
    max-width: 50px;
    max-height: 65px;
}

.cmp-file > .icon > .size {
    padding-top: 5px;
    text-align: center;
    font-size: 0.6875rem;
    color: #bbb;

    display: none;
}

.cmp-file > .txt {
    width: 815px;
    float: left;
}

.cmp-file > .txt > .title {

}

.cmp-file > .txt > .desc {

}

/*** komponent obrazek **************************************************/
.cmp-image img {
    margin-bottom: 5px;
}

.cmp-image > .left {
	float: left;
	margin-right: 15px;
}

.cmp-image > .center {
	float: none;
	text-align: center;
}

.cmp-image > .right {
	float: right;
	margin-left: 15px;
}

.cmp-image > .left img,
.cmp-image > .right img {
	max-width: 440px;
}

#s-content .cmp-image div.center + h2,
#s-content .cmp-image div.center + h3 {
	margin-top: 10px;
}

/*** komponent film **************************************************/
.cmp-movie {

}

.cmp-movie > .image {
	max-width: 200px;
	cursor: pointer;
}

.cmp-movie > .image img {

}

.cmp-movie > .title {

}

.cmp-movie > .movie {
	text-align: center;
}

.cmp-movie > .movie > iframe {
	width: 100%;
	max-width: 640px;
	height: 350px;
}

/*** komponent mapa dojazdu **************************************************/
.cmp-gmap {
	text-align: center;
}

.cmp-gmap > iframe {
	width: 100%;
	height: 450px;
}

.cmp-gmap > a {
	font-size: 0.75rem;
}

/*** komponent formularz kontaktowy **************************************************/
.cmp-contact-form {

}

.cmp-contact-form .form-element {
	margin-bottom: 5px;
	clear: both;
}

.cmp-contact-form .form-element div {

}

.cmp-contact-form .form-element div:first-child {

}

.cmp-contact-form .form-element input {

}

.cmp-contact-form .form-element textarea {
	resize: none;
}

.cmp-contact-form .form-element select {

}

.cmp-contact-form .form-element select option {

}

.cmp-contact-form .required { /*-- gwiazdka dla pol wymaganych --*/
	color: #ff0000;
}

.cmp-contact-form .required-err { /*-- dodawane w js do niewypelnionych pol wymaganych ---*/
	background-color: #ff4d4d;
	color: #fff;
}

.cmp-contact-form .form-info {

}

.cmp-contact-form .form-err-msg {
	margin-top: 15px;
	color: #ff0000;
}

.cmp-contact-form .form-submit {
	clear: both;
}

.cmp-contact-form .form-submit button {
	margin: 15px 0;
}

/*** komponent galeria **************************************************/
.cmp-gallery {

}

.cmp-gallery img:hover,
.cmp-gallery img:active {
	outline: 1px solid #000;
}

.cmp-gallery.n-image > .item {
	float: left;
	margin: 4px;
	width: 138px;
	height: 104px;
	line-height: 104px;
	text-align: center;
}

.cmp-gallery.n-image > .item > img {
	display: inline-block;
	max-width: 138px;
	max-height: 104px;
	vertical-align: middle;
	cursor: pointer;
}

.cmp-gallery > .item > .title {
	display: none;
}

/*** popup **************************************************/
#overlay-content > .popup {
	max-width: 980px;
	padding: 5px;
	margin-bottom: 25px;
	background: #cdcdcd;
	box-shadow: 0 0 10px #000;
	display: inline-block;
	position: relative;
	text-align: center;
}

#overlay-content > .popup.fullscreen {
	max-width: 90%;
}

#overlay-content > .popup > iframe {
	width: 640px;
	height: 480px;
}

#overlay-content > .popup img {
/*
	max-width: 980px;
	max-height: 3000px;
*/
}

#overlay-content > .popup .item {
	display: none;
}

#overlay-content > .popup .item.active {
	display: inline-block;
}

#overlay-content > .popup.fullscreen img {
	max-width: 100%;
	display: inline-block;
}

#overlay-content > .popup img.active {
	display: inline-block;
}

#overlay-content >.popup > .title,
#overlay-content >.popup .item > .title {
	padding-top: 5px;
	max-width: 600px;
	margin: 0 auto;
	display: block; 
}

#overlay-content >.popup > .title {
	display: none;
}


#overlay-content >.popup > .title.active {
	display: block; 
}


#overlay-content >.popup .item > .title:empty,
#overlay-content >.popup .title:empty {
	display: none !important;
}

/*--- zmiana zdjec ---*/
#overlay-content > .popup > .gallery-change {
	width: 50px;
	height: 100px;
	position: absolute;
	top: 50%;
	margin-top: -50px;
	z-index: 100;
	display: none;
	cursor: pointer;
}

#overlay-content > .popup:hover > .gallery-change {
	display: block;
}

#overlay-content > .popup > #gallery-left {
	left: 5px;
	background: url('/img/gallery-left.png') no-repeat left top;
}

#overlay-content > .popup > #gallery-right {
	right: 5px;
	background: url('/img/gallery-right.png') no-repeat left top;
}


/*** wyszukiwarka **************************************************/
#search_panel {
	width: 196px;
	height: 25px;
	margin-bottom: 12px;
}

#search_panel .search_form_div {

}

#search_panel .search_form_input {
	width: 171px;
	height: 25px;
	float: left;
}

#search_panel .search_form_input > input {
	width: 169px;
	height: 23px;
	border: 1px solid #bbb;
	line-height: 23px;
	font-size: 11px;
	padding: 0 10px;
}

#search_panel .search_form_submit {
	width: 25px;
	height: 25px;
	float: left;
}

#search_panel .search_form_submit > input {
	width: 25px;
	height: 25px;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	background: #bbb;
	color: #000;
	cursor: pointer;
}

#search_panel .search_form_submit > input:hover,
#search_panel .search_form_submit > input:hover {
	background: #ddd;
}

/*****************************************************/
.cursor-pointer {
	cursor: pointer;
}

.back-section {
	margin-top: 30px;
	text-align: center;
}

/*****************************************************/
#btn-strefa-zajec {
	display: block;
	width: 100%;
	padding: 15px 0;
	margin-bottom: 20px;
	font-size: 2rem;
	line-height: 1;
	text-align: center;
	background: #ffe166;
	color: #000;
}

#btn-strefa-zajec:hover {
	background: #eb5d48;
}

#btn-zgloszenie-covid {
	display: block;
	width: 100%;
	padding: 15px 0;
	margin-bottom: 20px;
	font-size: 2rem;
	line-height: 1;
	text-align: center;
	background: #eb5d48;
	color: #000;
}

#btn-zgloszenie-covid:hover {
	background: #ffe166;
}

.n-zajecia-dk-1 .txt,
.cat-94 .txt {
	background-color: #eb5d48 !important;
}
.n-zajecia-dk-2 .txt,
.cat-95 .txt {
	background-color: #bcd0ed !important;
}
.n-zajecia-dk-3 .txt,
.cat-96 .txt {
	background-color: #ffe166 !important;
}
.n-zajecia-dk-4 .txt,
.cat-97 .txt {
	background-color: #fec1c7 !important;
}
.n-zajecia-dk-5 .txt,
.cat-98 .txt {
	background-color: #bff1a2 !important;
}
.n-zajecia-dk-6 .txt,
.cat-99 .txt {
	background-color: #9cd2ca !important;
}

.n-zajecia-dk .txt,
.n-wynajmy .txt,
.n-zajecia-dk-1 .txt,
.n-zajecia-dk-2 .txt,
.n-zajecia-dk-3 .txt,
.n-zajecia-dk-4 .txt,
.n-zajecia-dk-5 .txt,
.n-zajecia-dk-6 .txt {
	text-align: center;
	/*font-size: 18px !important;*/
	/*line-height: 24px !important;*/
	font-size: 1.125rem;
	line-height: 1.3333333333;
}

/*****************************************************/
.n-imprezy-cykliczne-1 .txt,
.cat-120 .txt {
	background-color: #eb5d48 !important;
}
.n-imprezy-cykliczne-2 .txt,
.cat-121 .txt {
	background-color: #bcd0ed !important;
}
.n-imprezy-cykliczne-3 .txt,
.cat-122 .txt {
	background-color: #ffe166 !important;
}
.n-imprezy-cykliczne-4 .txt,
.cat-123 .txt {
	background-color: #fec1c7 !important;
}

.n-imprezy-cykliczne-1 .txt,
.n-imprezy-cykliczne-2 .txt,
.n-imprezy-cykliczne-3 .txt,
.n-imprezy-cykliczne-4 .txt {
	text-align: center;
	/*font-size: 18px !important;*/
	/*line-height: 24px !important;*/
	font-size: 1.125rem;
	line-height: 1.3333333333;
}

/************************************************/
#tools {
	float: right;
	height: 34px;
	margin: 0 0 5px 30px;
	padding-top: 2px;
	text-align: right;
}

#tools a {
	background: rgba(0, 0, 0, 0) url("/img/tools-icons.png") no-repeat scroll left top;
	display: inline-block;
	height: 34px;
	margin-left: 3px;
	position: relative;
	width: 34px;
}
#tools a.contrast {
	background-position: 0 -34px;
}
#tools a.contrast:hover {
	background-position: -34px -34px;
}
#tools a.contrast:active,
#tools a.contrast.active {
	background-position: -68px -34px;
}
#tools a.fontsize {
	background-position: 0 -68px;
}
#tools a.fontsize:hover {
	background-position: -34px -68px;
}
#tools a.fontsize:active,
#tools a.fontsize.active {
	background-position: -68px -68px;
}
#tools a.print {
	background-position: 0 -102px;
}
#tools a.print:hover {
	background-position: -34px -102px;
}
#tools a.print:active,
#tools a.print.active {
	background-position: -68px -102px;
}