
body{
	font-weight: 300; 
	font-family: 'Noto Sans', sans-serif;
	font-size: 1.15rem;
	background-color: #000;
	background-image: none;
	color: #ff0;
}

a, a:hover {color: #ff0;}
ul{list-style: none; padding: 0; margin: 0; padding-left: 60px; margin-bottom: 20px;}
ol, ol ol{padding: 0; margin: 0 0 20px; padding-left: 60px; margin-bottom: 20px;}
ul li::before{font-family: FontAwesome; content: "\f105"; color: #ff0; padding-right: 20px; margin-left: -40px; font-size: 1rem; font-weight: 900}

@media (max-width: 576px) {
	ol{padding-left: 10px;}
	ol ol{padding-left: 20px;}
}

/* ==============  Breadcrumbs  ===================*/

#content ul.breadcrumb{background-color: transparent; padding: 15px 20px; margin-bottom: 0; font-size: 0.875rem;}
#content ul.breadcrumb li::before{content: ""; padding: 0; margin: 0; font-size: inherit;}
#content ul.breadcrumb .breadcrumb-item i {padding: 0 10px 0 !important;}

/* ==============  Header - navbar - sticky+anim ===================*/
#navbar {
  background-color:#000;
  z-index: 1034;
}

#navbar{
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

#navbar.sticky {
	min-height: 155px; 
	-webkit-animation: stickySlideDown 0.5s; 
	animation: stickySlideDown 0.5s;
}
#navbar ul li {float: left;}
	
@keyframes stickySlideDown{
    0% {transform: translateY(-100%);}
    100% {transform: translateY(0);}
}

#navbar #logo, #navbar #logo2{max-height: 80px; margin: 15px 0 !important;}

@media screen and (min-width: 1024px){
	.sticky {position: fixed; top: 0; width: 100%;}
	.sticky + .content {padding-top: 120px;} 
	#navbar.sticky #logo, #navbar.sticky #logo2{max-height: 100px;}
	div#main.sticky_content{margin-top: 380px}
}
@media (max-width: 768px) {
	#navbar {height: auto; overflow: hidden;}
}

/* ==================== Górna belka =============== */

#top-wcag{background-color: #ff0; overflow: hidden; padding: 20px 0; color: #000; font-size: 0.875rem; border-bottom: 1px solid #c6c6c6}
#top-wcag ul{display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; flex-wrap: wrap; list-style: none; justify-content:flex-end; margin: 0}	
#top-wcag li{padding: 0 10px;}
#top-wcag a{color: #000;}
#top-wcag-left{float: left; text-align: left; padding: 0;}
#top-wcag-right{float: right; text-align: right; padding: 0; margin: 0;}

@media (max-width: 768px) {
	#top-wcag ul{justify-content: center;}
	#top-wcag-left{text-align: center;}
}
@media (max-width: 576px) {
	#top-wcag ul {justify-content: center;}
	#top-wcag-left{text-align: center;}	
}

/* ===================== Menu główne =============== */

#menu-glowne-container{justify-content: flex-end; color: #ff0}
#menu-glowne-container > ul{list-style: none; padding: 0; display: flex}
#menu-glowne-container > ul > li{float: left;}
#menu-glowne-container a{color: #ff0}
#menu-glowne-container a:hover{color: #ff0;}

#menu-top {display: flex; flex-wrap: nowrap; justify-content: flex-end; align-content: flex-end; align-item: center; margin-top: 20px; margin-bottom: 10px;}
#menu-top a:hover{color: #ff0;}
#menu-top i{color: #ff0; font-size: 2rem; padding: 0 5px;}
#menu-top div{padding: 0 15px; margin: 5px 0; text-align: center; align-self: center;}
#menu-top div:last-of-type{border: none;}

#menu-glowne a{font-family: "Noto Serif", serif; font-size: 1.25rem; text-transform: uppercase;}
#menu-glowne a:hover{color: #ff0;}
#menu-glowne ul > li > ul > li > a{	padding: 0px 15px 15px; text-align: left; white-space: normal;}
#menu-glowne ul > li > ul > li > a:hover{color: #000; background: transparent;}

#navbar.sticky #menu-top{margin: 10px 0}


@media screen and (max-width: 1024px){
	#menu-top, #menu-top span {font-size: 12px;}
	#menu-top li {padding: 0 5px;}
	#menu-glowne a {padding: 0 10px 15px;}
	#menu-top i{font-size: 1.5rem;}
}
@media screen and (max-width: 992px){
	#menu-glowne a {font-size: 1rem; padding: 0 10px 15px;}
	#menu-top span {font-size: 0.75rem; padding: 0 5px;}
}
@media screen and (min-width: 768.01px)	{
	#menu-top-mobile{display: none !important}
}
@media screen and (max-width: 768px){
	#menu-glowne-container {justify-content: center; margin-top: 20px;}
	#menu-glowne a {font-size: 18px;}
	#menu-top .desktop{display: none !important}
	#menu-glowne-container #menu-glowne{display: none;}
	#menu-top-mobile {display: flex; flex-wrap: nowrap; justify-content: flex-end; align-content: flex-end; align-item: center; margin: 0 auto 15px}
	#menu-top-mobile span {display: inline-block; min-width: 50px; min-height: 50px; background-color: #ff0;	text-align: center;	margin: 0 2px 5px; padding: 10px;}
	#menu-top-mobile span:hover {background-color: #ff0;}
	#menu-top-mobile span i{color: #000; font-size: 1rem !important}
}
@media screen and (max-width: 767px){
	#menu-glowne-container {margin-top: 0;}
}
@media screen and (max-width: 576px){
	#menu-top {margin: 10px 5px;}
	#menu-top, #menu-top span {font-size: 0.7rem;}
}

/* ======================= Menu mobile ===================== */

/***** Sidebar *****/

#mobile-menu-button {display: none;}
#menu-boczne-rozwijane #menu-glowne a:hover{color: #fff;}
#menu-boczne-rozwijane #menu-glowne .metismenu > li > ul > li {width: 100% !important}

@media (max-width: 768px) {
	#mobile-menu-button{display: block; position: fixed; top: 0; right: 0; left: 0; background: #ff0; margin-top: 0; height: 50px; width: 50px; color: #000; font-size: 1.4rem; z-index: 99}
}

.sidebar {
	width: 250px; height: 100vh; position: fixed; top: 0; left: -255px; z-index: 999; 
	background: #000; color: #fff; transition: none; box-shadow: none;
	text-align: left; padding-bottom: 30px;
}

.sidebar.active { left: 0; }

.dismiss {
	width: 35px; height: 35px; position: absolute; top: 10px; right: 10px; transition: all .3s; 
	background: #ff0; color: #000; border-radius: 4px; text-align: center; line-height: 35px; cursor: pointer;
}

.dismiss:hover, .dismiss:focus { background: #000; color: #ff0; border: 1px solid #ff0;}

.sidebar .logo { padding: 40px 20px 10px; transition: all .3s; }

.sidebar .logo {display: block; width: 172px; border: 0; }

.sidebar ul.menu-elements { padding: 10px 0; border-bottom: 1px solid #444; transition: all .3s; }

.sidebar ul li a {
	display: block; padding: 10px 20px !important;
	border: 0; color: #ff0;
}
.sidebar ul li a:hover,
.sidebar ul li a:focus,
.sidebar ul li.active > a:hover,
.sidebar ul li.active > a:focus { outline: 0; background: #ff0; color: #000 !important; }

.sidebar ul > li > ul > li > a:hover,
.sidebar ul > li > ul > li > a:focus,
.sidebar ul > li.active > ul > li > a:hover,
.sidebar ul > li.active > ul > li > a:focus {background: transparent; color: #000 !important}



.sidebar ul li a i { margin-right: 5px; }

.sidebar ul li.active > a, .sidebar ul li.active > a[aria-expanded="true"] {
	background: #ff0;
	color: #000;
}

.sidebar ul ul a {padding-left: 30px; font-size: 14px; }

.sidebar ul ul li.active > a { background: #555; }

.sidebar a[data-toggle="collapse"] {
    position: relative;
}

.sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.sidebar .to-top { padding: 20px; text-align: center; }

.sidebar .dark-light-buttons { padding: 10px 20px 30px 20px; text-align: center; }

/* sidebar light */

.sidebar.light { background: #fff; color: #888; }

.sidebar.light .dismiss { background: #ddd; color: #888; }

.sidebar.light .dismiss:hover, 
.sidebar.light .dismiss:focus { background: #ccc; color: #888; }

.sidebar.light .logo { border-color: #eee; }
.sidebar.light .logo a { background-image: url(../img/logo-dark.png); }

.sidebar.light ul.menu-elements { border-color: #eee; }

.sidebar.light ul li a { color: #888; }

.sidebar.light ul li a:hover,
.sidebar.light ul li a:focus,
.sidebar.light ul li.active > a:hover,
.sidebar.light ul li.active > a:focus { background: #ccc; color: #888; }

.sidebar.light ul li.active > a, .sidebar.light a[aria-expanded="true"] {
	background: #ddd;
	color: #888;
}

.sidebar.light ul ul a { background: #ddd; }

.sidebar.light ul ul li.active > a { background: #ccc; }

.sidebar.light a.btn-customized-3 { background: #ddd; color: #888; }

.sidebar.light a.btn-customized-3:hover, 
.sidebar.light a.btn-customized-3:active, 
.sidebar.light a.btn-customized-3:focus, 
.sidebar.light a.btn-customized-3:active:focus, 
.sidebar.light a.btn-customized-3.active:focus,
.sidebar.light a.btn-customized-3.btn.btn-primary:not(:disabled):not(.disabled):active,
.sidebar.light a.btn-customized-3.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
	background: #ccc; color: #888;
}

.sidebar.light a.btn-customized-4.btn-customized-dark { background: #555; }
.sidebar.light a.btn-customized-4.btn-customized-light { background: #eee; }

.sidebar.light a.btn-customized-4.btn-customized-dark:hover, 
.sidebar.light a.btn-customized-4.btn-customized-dark:active, 
.sidebar.light a.btn-customized-4.btn-customized-dark:focus, 
.sidebar.light a.btn-customized-4.btn-customized-dark:active:focus, 
.sidebar.light a.btn-customized-4.btn-customized-dark.active:focus,
.sidebar.light a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active,
.sidebar.light a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
	background: #ccc; color: #fff;
}

.sidebar.light a.btn-customized-4.btn-customized-light:hover, 
.sidebar.light a.btn-customized-4.btn-customized-light:active, 
.sidebar.light a.btn-customized-4.btn-customized-light:focus, 
.sidebar.light a.btn-customized-4.btn-customized-light:active:focus, 
.sidebar.light a.btn-customized-4.btn-customized-light.active:focus,
.sidebar.light a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active,
.sidebar.light a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
	background: #ccc; color: #fff;
}


/***** Dark overlay *****/

.overlay {
    display: none; position: fixed; width: 100vw; height: 100vh; 
    background: rgba(51, 51, 51, 0.7); z-index: 998; opacity: 0; transition: all .5s ease-in-out;
}

.overlay.active { display: block; opacity: 1; }

/* ================= MENU METIS POZIOM ================= */

.topbar-nav {
    background: #000;
	width: 100%;
}
.topbar-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    background: #000;
	white-space: nowrap;
}
.topbar-nav .metismenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
	flex-wrap: wrap
}
.topbar-nav .metismenu > li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
			flex-direction: column;
    position: relative;
}
.topbar-nav .metismenu > li.last{
	border-right: none !important;
} 
.topbar-nav .metismenu a {
    position: relative;
    display: block;
    padding: 10px 20px 20px;
    color: #ff0;
    outline-width: 0;
    transition: all .3s ease-out;
}
.topbar-nav .metismenu > li > ul {margin-top: 0;}
.topbar-nav .metismenu > li > ul > li{width: 100%; padding: 10px 0; line-height: 1.5rem; border-bottom: 1px solid #ff0; transition: all .3s ease-out;}
.topbar-nav .metismenu > li > ul > li:last-of-type{border: none; }
.topbar-nav .metismenu > li > ul > li:hover{background-color: #ff0;}
.topbar-nav .metismenu > li > ul > li a{font-size: 1rem !important; padding-bottom: 0 !important}
.topbar-nav .metismenu > li > ul > li:hover a, .topbar-nav .metismenu > li > ul > li a:hover{ color: #000 !important}

.topbar-nav .metismenu > li::before,
.topbar-nav .metismenu > li > ul > li::before,
#top-wcag ul li::before, .skiplink-menu li::before,
#footer_menu ul li::before, #footer_menu2 ul li::before,
#menu-glowne-container > ul > li::before {content: ""; margin: 0; padding: 0}


.topbar-nav .metismenu .collapsing a,
.topbar-nav .metismenu .collapse.in a {text-align: left;}

@media (min-width: 769px) {
    .topbar-nav .metismenu {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
		justify-content: flex-end;
		flex-wrap: nowrap;
    }
    .topbar-nav .metismenu > li {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .topbar-nav .metismenu > li > ul {
        position: absolute;
        top: 100%;
        min-width: 130%;
        z-index: 1001;
    }
    .topbar-nav.is-hoverable .metismenu > li > ul {
      height: auto !important;
    }
    .topbar-nav.is-hoverable .metismenu > li:hover > ul {
        display: block;
    }
    .topbar-nav.is-hoverable .metismenu > li:hover > a.has-arrow:after {
        -webkit-transform: rotate(-135deg);
                transform: rotate(-135deg);
    }
}

/* ======================= METIS MEGA MENU - zmiany ======== */

.topbar-nav .metismenu > li{position: static;}
.topbar-nav .metismenu > li > ul {
	width: 100%;
	min-width: auto !important;
	right: 0;
	left: 0;
	white-space: nowrap;
}
.topbar-nav .metismenu > li > ul > li{width: auto !important; min-width: 25% !important; white-space: normal;}
.metismenu .collapse.in {display: flex; flex-wrap: wrap;}

/*==================== Header w dziale - grafika+txt =================== */

#header #header_content{height: 250px; color: #000; background-image: none; background-color: #000}
#header #header_txt{
	position: absolute;
	padding: 6%;
	top: 50%;
	left: 0%;
	-webkit-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	transform: translate(0,-50%);
}
#header h1, #header span.title{font-weight: 700; font-size: 2.75rem}
#header span a{color: #ff0}

@media (max-width: 768px) {
	#header h1, #header span.title {font-size: 2rem;}
}
/*==================== Header w dziale - graficzny =================== */

#header_img_wrapper{
	height: 350px; background: url(../images/cmentarz_wrc_header.jpg) no-repeat center top; background-size: cover; -webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out;	-o-transition: all .3s ease-in-out; transition: all .3s ease-in-out;}
#header_dzial_img_wrapper{
	height: 350px; background: url(../images/cmentarz_wrc_header.jpg) no-repeat center top; background-size: cover; -webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out;	-o-transition: all .3s ease-in-out; transition: all .3s ease-in-out;}

@media (max-width: 992px) {
	#header_img_wrapper{height: 300px;}
	#header_dzial_img_wrapper{height: 130px;}
}	
@media (max-width: 768px) {
	#header_img_wrapper{height: 250px;}
	#header_dzial_img_wrapper{height: 90px;}
}
@media (max-width: 576px) {
	#header_img_wrapper{height: 150px;}
	#header_dzial_img_wrapper{height: 90px;}
}

/* ================= Footer =============== */

footer {color: #000; font-size: 1rem}
footer > div.col-12 {background-color: #ff0; border-top: 13px solid #ff0; padding: 55px 0 20px;}
footer #footer_logo{position: relative;}
footer #footer_logo img{margin: 0;}
footer #footer_txt{padding: 0px 0;}
footer a, footer a:hover, footer a:active, footer a:visited{color: #000}
footer #footer_menu ul, footer #footer_menu2 ul{display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; flex-wrap: wrap; list-style: none;}
footer #footer_menu2 ul{justify-content: center;}
footer #footer_menu ul li{padding: 0 10px; margin: 0 0 20px}
footer #footer_menu2 ul li{padding: 0 10px; margin: 0 0 10px}
footer #footer_menu ul li {text-transform: uppercase; font-size: 1rem;}
footer #footer_menu2 {font-size: 0.8rem; text-align: center;}
footer #footer_menu2 li{border-right: 1px solid #000}
footer #footer_menu2 li:last-child{border: none;}

footer #footer_author, footer #footer_copy, footer #footer_author a {color: #ff0; font-weight: 300; font-size: 0.875rem}
footer #footer_author {text-align: right !important}
footer #footer_copy {text-align: left !important}

footer #footer_img_wrapper{
	height: 100px; background: transparent; background-size: contain; -webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; transition: all .3s ease-in-out;}
@media (max-width: 768px) {
	footer #footer_menu ul li, footer #footer_menu2 ul li {margin: 5px 0;}
	footer, footer #footer_menu ul li, footer #footer_menu2{font-size: 0.875rem}
	footer #footer_kontakt{margin: 20px 15px 0; text-align: center;}
	footer #footer_kontakt2, footer #footer_menu{margin: 10px 15px 0; text-align: center;}
	footer #footer_menu ul{justify-content: center;}
	footer #footer_img_wrapper{height: 70px;}
	footer > div.col-12{padding-top: 25px;}
}
@media (max-width: 576px) {
	footer #footer_txt{padding: 2rem 3rem;}
	footer #footer_copy, footer #footer_author{text-align: center !important}
	#footer_img{margin: 0 20px;}
	footer #footer_menu ul, footer #footer_menu2 ul {margin-left: 0; padding-left: 0;}
	footer #footer_img_wrapper{height: 40px; }
	footer > div.col-12{padding-top: 25px;}
}


/*===================== Headings ================== */

h1,h2,h3{
	font-family: "Noto Serif", serif;
	color: #ff0;
	font-weight: 400;
	margin: 30px 0;
}
#navbar h1{margin: 10px 0;}
h1{font-size: 3rem;}
h2{font-size: 2.25rem;}
h3{font-size: 1.55rem;}

@media (max-width: 576px) {
	h1{font-size: 2rem;}
	h2{font-size: 1.5rem;}
	h3{font-size: 1.25rem;}
}

/* ==================== OWL Carousel / Aktualnosci ============== */

.owl-carousel .item {position: relative; padding: 0; margin: 0 10px; overflow: hidden;}
.owl-carousel .item:hover img{}

.news-item{box-shadow: none; transition: .3s ease;  padding: 0; margin: 20px 10px;overflow: hidden;}
.news-item:hover{box-shadow: none; border: 5px solid #000; background: #ff0}

.owl-carousel .item .image{overflow: hidden;}
.owl-carousel .item .data, .news-item .data{font-size: 0.875rem; color: #ff0; padding: 20px 10px;}
.owl-carousel .item:hover .data, .news-item:hover .data{color: #ff0; border-bottom-color: #000;}
.owl-carousel .item .data i, .news-item .data i{margin-right: 10px;}
.owl-carousel .item .title h2, .news-item .title h2{font-size: 1.2rem; padding: 0px 10px 20px;}
.owl-carousel .item:hover .title, .news-item:hover .title{background-color: #ff0}

.owl-carousel .item h2, .news-item h2,
.owl-carousel .item h3, .news-item h3{
	font-weight: 300;
	color: #ff0;
	margin: 10px 0;
}
.owl-carousel .item:hover h2, .news-item:hover h2,
.owl-carousel .item:hover h3, .news-item:hover h3{color: #000;}

.owl-carousel .item .title_bg{background-color: #000; font-size: 1rem; padding: 10px 20px }
.owl-carousel .item:hover .title_bg{background-color: #ff0}

.owl-carousel .item .title_bg h3{color: #ff0}
.owl-carousel .item:hover .title_bg h3{color: #000}

.owl-carousel .item a, .news-item a  {
    display: block;
	padding: 0;
    white-space: nowrap;
    text-indent: 200%;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
}

.owl-carousel.owl-foto-1 .item{padding: 0;} /* foto About - strona głowna */
.owl-carousel .kadra {text-align: center;}
.owl-carousel .item.kadra h3{text-transform: uppercase;}

@media (max-width: 576px) {
	.owl-carousel .item .title, .news-item .title {padding: 10px;}
}

/* =================== Divider ================== */

.divider h2{font-family: 'Noto Serif', sans-serif; text-align: center; color: #ff0; font-size: 2.5rem; font-weight: 600; margin: 30px 0 40px; text-transform: uppercase}
@media (max-width: 768px) {
	.divider h2{font-size: 1.85rem}
}

/* ==================== Tabs ===================== */
.nav-tabs .nav-item:first-child span{padding: 15px 20px !important; background-color: #ff0;}
.nav-tabs .nav-item:first-child .nav-link{background: #ff0;}
.nav-tabs .nav-link {background-color: #ff0; color: #000; font-size: 1rem; text-transform: uppercase; border: 0; border-radius: 0 !important; padding: 15px 30px; transition: .3s ease;}
.nav-tabs .nav-link:hover{background: #ff0 url(../images/button_hover_light.png) no-repeat bottom center;}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {background: #ff0 url(../images/button_hover_light.png) no-repeat bottom center; color: #000}
.nav-tabs .nav-link::after, .nav-tabs .nav-link.active::after{font-family: 'Font Awesome 5 Free'; padding: 0 10px;  font-weight: 900; width: 20px; display: inline-block}
.nav-tabs .nav-link::after{content: "\f105";}
.nav-tabs .nav-link.active::after{content: "\f107";}

.nav-tabs .nav-link:first-child:after{content: none !important;}

.nav-tabs .nav-item {display: inherit; text-align: center; border-right: 1px solid #ff0;}
.nav-tabs .nav-item.one-line:first-child i{font-size: 2rem !important; padding-top: 10px;}
.nav-tabs .nav-item.one-line a{padding-top: 27px}

@media (max-width: 768px) {
	.nav-tabs .nav-link {font-size: 0.875rem; padding: 10px 15px;}
	.nav-tabs .nav-item.one-line a {padding-top: 23px;}
	.nav-tabs .nav-item.one-line:first-child i {font-size: 1.5rem !important;}
}

@media (max-width: 576px) {
	.nav-tabs .nav-item {border-bottom: 1px solid #ff0; padding-bottom: 1px;}
	.nav-tabs .nav-item:first-child span {padding: 10px 10px !important;}
	.nav-tabs .nav-item.one-line a {padding-top: 20px;}
}

/*=================== TABS ======================= */

.tab-pane{border: 2px solid #ff0; border-radius: 0 0 20px 20px}
.tab-pane span.title{font-size: 1.4rem; font-weight: 700; color: #ff0; display: inline-block; padding-bottom: 20px;}
.tab-pane p{font-size: 0.875rem; font-weight: 300;}

/*==================== Tabele ==================== */
table th, table td {
    padding: 10px;
    border-style: solid;
    vertical-align: middle;
	border-width: 0 0 1px 0;
	border-color: #000;
	font-size: 1rem
}
table th {background-color: #ff0 !important; color: #000; padding: 20px 10px; font-size: 0.85rem; text-align: center}
table tr:nth-child(2n) {background-color: #000 !important; color: #ff0}
table strong{font-weight: 900;}

#kontakt table tr:nth-child(2n){background-color: transparent !important}
#kontakt table tr:last-child td{border-bottom: 0 !important}

@media (max-width: 576px) {
	table th, table td {padding: 0px; font-size: 0.875rem;}
}
/* ================ GALERIA ============== */

.gallery_img{overflow: hidden; background-color: #000; color: #ff0; opacity: 1; border: 1px solid #ff0;} 
.gallery_img:hover img{transform: scale(1); opacity: 0.5}

.gallery_img .mask{
	position: absolute;
	text-align: center;
	top:0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	width: 100%;
	height: 100%;
	transition: .3s ease;
}
.gallery_img:hover .mask,
.gallery_img.big:hover .mask{
	border: 2px solid #ff0 !important;
	width: 80%;
	height: 80%;
	top: 10%;
	left: 10%;	
	opacity: 0.75;
	visibility: visible;
	color: #fff
}
.gallery_img .mask i{
	position: absolute;
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	opacity: 0;
}
.gallery_img:hover .mask i{opacity: 1}

/* ================ BX Slider ============== */

.bxslider_container{height: 575px; background-color: #000; color: #ff0; padding-bottom: 75px; }
.bxslider_container .bxslider {padding: 0; margin: 0}
.bxslider .bxslider_item{position: relative !important; width: 500px; height:100%; margin-left: 15%; }
.bxslider .bxslider_item .text_bg {position: absolute; bottom: 60px; padding: 50px; background-color: #000; margin-top: 30px; max-height: 80%}
.bxslider h2 {font-size: 3.1rem; font-weight: 700; line-height: 3.5rem;}

.bx-pager {z-index: 2; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; align-items: flex-end;}
.bx-pager a{margin: -120px 15px 0; border: 1px solid #ff0; background: #ff0; overflow: hidden}
.bx-pager a img {width: 160px; opacity: 1; transition: .3s ease;}
.bx-pager a:hover img{opacity: 0.5; transform: scale(120%)}

@media screen and (max-width: 1024px){
	.bxslider .bxslider_item{margin-left: 5%;}
}
/* ================ Slideout - prawe panele ============== */

.slideout {
  position: fixed;
  right: 0;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  z-index: 999;
}
.slideout_inner {
  position: fixed;
  right: -60px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  background-color: #ff0;
  height: 60px;
  width: 60px;
  color: #000;
  padding: 6px 20px;
  font-size: 2rem;
}
.slideout:hover {
  right: 60px;
}
.slideout:hover .slideout_inner {
  right: 0;
}

.slideout:first-of-type, .slideout:first-of-type .slideout_inner{top:215px;}
.slideout:nth-of-type(2), .slideout:nth-of-type(2) .slideout_inner{top:275px;}
.slideout:nth-of-type(3), .slideout:nth-of-type(3) .slideout_inner{top:335px;}
.slideout:nth-of-type(4), .slideout:nth-of-type(4) .slideout_inner{top:395px;}
.slideout:nth-of-type(5), .slideout:nth-of-type(5) .slideout_inner{top:455px;}
.slideout:nth-of-type(6), .slideout:nth-of-type(6) .slideout_inner{top:515px;}

#fb .slideout_inner{background-color: #ff0}	
#yt .slideout_inner{background-color: #ff0}		
#instagram .slideout_inner{background-color: #ff0}


/*================= WYSZUKIWARKA ================ */

#searchform, #searchform2{display: flex; align-items: center; align-items: stretch;}

#searchform #search, #searchform2 #search2{
	padding: 7px 20px 7px 20px; background: #000; color: #ff0}
#searchform #search:focus-visible, 
#searchform2 #search2:focus-visible{outline: 2px dashed #ff0;}
#searchform label, #searchform2 label{margin-bottom: 0;}
#searchform #search-submit, #searchform2 #search-submit2{
	margin: 0 0 0 -55px;
	padding: 5px;
	background: none;
	border: none;
}
#searchform #search-submit i, #searchform2 #search-submit2 i{font-size: 1.5rem; color: #ff0; vertical-align: middle; color: #ff0}


@media screen and (max-width: 1024px){
	#wyszukiwarka input[type="text"] {font-size: 2rem;}
	#wyszukiwarka .icon_close {top: 0;right: 260px;}
	#searchform #search-submit, #searchform2 #search-submit2 {margin: 0 0 0 -45px;}
}
@media (max-width: 769px) {
	#searchform label, #searchform2 label{width: 100%;}
	#searchform #search, #searchform2 #search2 {padding: 10px;}
	#searchform #search-submit, #searchform2 #search-submit2 {margin: 0 0 0 -30px;}
	#searchform i, #searchform2 i{color: #ff0;}
}
@media (max-width: 769px) {
	#wyszukiwarka input[type="text"] {padding-left: 0px; font-size: 1rem; border: 0}
	#wyszukiwarka .icon_close {right: 0;}
}
/* ==================== ABOUT + STARTPOINTS========= */

.about-menu{
	display: flex;
	-webkit-box-orient: horizontal; 
	-webkit-box-direction: normal; 
	-ms-flex-direction: row; 
	flex-direction: row; 
	flex-wrap: wrap; 
	justify-content:flex-start;
}
.menu-item {
	background: #000;
	padding: 18px 45px;
	border: 2px solid #ff0;
	margin: 0 5px 5px;
	text-align: center;
	transition: .3s ease;
	-webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px;
}
.menu-item span{
	font-size: 1.1rem;
	color: #ff0;
	text-transform: uppercase;
	line-height: 1.2rem;
}

.menu-item:hover{background-color: #ff0; text-decoration: none;}
.menu-item:hover span{color: #000}
.menu-item.one-line {padding-top: 33px;}

@media (max-width: 768px) {
	.menu-item {padding: 18px 22px;font-size: 0.875rem;}
}
@media (max-width: 576px) {
	.menu-item.one-line {padding-top: 20px;}
}


/*===================== Content =================== */


#wyszukiwarka-grobow, #nekrologi{background: #000; padding: 20px 0;}
#wyszukiwarka-grobow h2, #nekrologi h2{color: #ff0; text-transform: uppercase; letter-spacing: -2px;}
#wyszukiwarka-grobow i, #wyszukiwarka-grobow a{color: #ff0; font-size: 4rem}
#wyszukiwarka-grobow h2, #wyszukiwarka-grobow img, #wyszukiwarka-grobow a, #nekrologi h2 {padding: 0 30px;}

#nekrologi h2::before{content: ""; width: 47px; height: 44px; background: url(../images/znicz_small.png) no-repeat center center; display: inline-block; margin-right: 35px;}
#nekrologi h2::after{content: ""; width: 47px; height: 44px; background: url(../images/znicz_small.png) no-repeat center center; display: inline-block; margin-left: 35px;}

.nekrolog_small{background-color: #000; border: 3px solid #ff0; box-sizing: border-box; padding: 10px !important;}
.nekrolog_small img{width: auto !important; margin: 0 auto;}
.nekrolog_small span{font-family: "Noto Serif", serif; font-size: 1.5rem;}

#aktualnosci{background-color: #000}
#aktualnosci > div, #galeria > div {padding-top: 30px;}
#aktualnosci #kontakt{border-left: 1px solid #ff0; font-family: "Noto Serif", serif;}
@media (max-width: 768px) {
	#aktualnosci #kontakt{border: 0;}
}


.button{
	display: inline-block;
	background-color: #ff0;
	padding: 10px 20px;
	margin: 5px 0;
	color: #000;
	border: 0 !important;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.button:hover {
	background-color: #000;
	color: #ff0;
	box-shadow: none !important;
	padding-right: 30px;
	text-decoration: none
}

/* ================= FONT RESIZER =============== */

p.font-changer {
  display: inline;
  text-align: center;
  margin: 0;
}

p.font-changer > span {cursor: pointer; padding: 5px;}
p.font-changer > span:hover, p.font-changer > span:focus {background-color: #ff0; color: #000}
p.font-changer > .js-font-decrease {font-size: 75%;}
p.font-changer > .js-font-increase {font-size: 125%;}


/* ================== INFINITE SCROLL ================= */


.scroller-status {
  display: none;
  padding: 20px 0;
}
.scroller-status__message {
  text-align: center;
  color: #ff0;
}

.loader-ellips {
  font-size: 20px;
  position: relative;
  width: 4em;
  height: 1em;
  margin: 10px auto;
}

.loader-ellips__dot {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 0.5em;
  background: #ff0;
  position: absolute;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.loader-ellips__dot:nth-child(1),
.loader-ellips__dot:nth-child(2) {
  left: 0;
}
.loader-ellips__dot:nth-child(3) { left: 1.5em; }
.loader-ellips__dot:nth-child(4) { left: 3em; }

@keyframes reveal {
  from { transform: scale(0.001); }
  to { transform: scale(1); }
}

@keyframes slide {
  to { transform: translateX(1.5em) }
}

.loader-ellips__dot:nth-child(1) {
  animation-name: reveal;
}

.loader-ellips__dot:nth-child(2),
.loader-ellips__dot:nth-child(3) {
  animation-name: slide;
}

.loader-ellips__dot:nth-child(4) {
  animation-name: reveal;
  animation-direction: reverse;
}
/* ================== ACCORDION ==============*/

.accordion .btn{
	white-space: normal;
	width: 100%;
	text-align: left;
	color: #ff0;
}
.accordion  .card-header{
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;	
}
.accordion .card-header.card-on{background-color: #ff0; color: #000;}
.accordion .card-header.card-on button{color: #ff0;} 

.accordion .card{
	background-color: #000;
	border: 1px solid #ff0;
	border-radius: 0;
}
.accordion .btn-link {
    font-weight: 400;
    color: #ff0;
}
.accordion .card-body{background-color: #000}

@media (max-width: 576px) {
	.accordion .card-body { padding: 1.25rem 0;}
}

/* =================== FORMULARZE =========== */

.text-input{width: 100%;}

/* =================== WCAG - SKIP LINKI =========== */

.hide-text{
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
	width: 1px;
	height: 1px;
}
.nomp{
	margin: 0;
	padding: 0;
	line-height: 100%
}
.skiplink-menu{
	list-style:none;
	margin:0;
	padding:0;
	position:absolute;
	top:0;
}
.skiplink-menu li{
	background: none;
	list-style: none outside none;
	margin-bottom: 0px;
	padding-left: 0px; 
 }
.skiplink-menu a{
  display:inline;
  font-size:1.30em;
  left:-9000em;
  padding:5px 10px;
  position:absolute;
  text-align:center;
  text-decoration:none;
  width:150px;
  z-index:2;
}
.skiplink-menu a:hover, .skiplink-menu a:focus, .skiplink-menu a:active  {
	background-color: yellow;
	border: 2px solid #000;
	color: #000; 
	left: 0; 
	position: absolute;
	top: 0;
}

/* =================== WCAG - FOCUS =========== */

.gallery_img a:focus{
	outline: 4px dashed #cf1016;
	outline-offset: -4px;
}

a:focus, a.menu-item:focus
#top-wcag a:focus, #footer-menu a:focus, #menu-glowne-container a:focus, #menu-glowne a:focus, #menu-glowne ul > li > ul > li > a:focus,
a.button:focus,.nav-tabs .nav-link:focus, .news-item a:focus, footer a:focus, #header_txt a:focus, a:focus .list-item, .btn-primary:focus, .btn-primary.focus{
	outline: 2px dashed #cf1016;
	outline-offset: 4px;
}
#menu-glowne a:focus, .nav-tabs .nav-link:focus{outline-offset: -5px;}
#oferta a:focus, a:focus .list-item{position: absolute;	z-index: 999;}

.grid figure figcaption > a:focus::before,
.owl-carousel .owl-item a:focus{
	border: 4px dashed #cf1016;
}
footer a:focus{outline-color: #cf1016;}

/* Dodatkowe ------------------------------------------------------------------------- */

b, strong {font-weight: 700;}
.img-responsive {display: block; width: 100%; height: auto;}

/* ==================== Hover effect ================ */		
		
/* Common style */
.grid figure {
	position: relative;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}		

/*=========== Foto gallery - Oscar =============*/

figure.effect-oscar {
	xbackground: -webkit-linear-gradient(45deg, #22682a 0%, #9b4a1b 40%, #3a342a 100%);
	xbackground: linear-gradient(45deg, #22682a 0%,#9b4a1b 40%,#3a342a 100%);
	xbackground-color: rgba(178,174,173,0.7);
}

figure.effect-oscar img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-oscar figcaption {
	padding: 3em;
	xbackground-color: rgba(178,174,173,0.7);
	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;
}

figure.effect-oscar figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
}

figure.effect-oscar h2 {
	margin: 20% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-oscar figcaption::before,
figure.effect-oscar p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0);
	transform: scale(0);
}

figure.effect-oscar:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-oscar:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-oscar:hover img {
	opacity: 0.4;
}	
		

/*======================== nekrolog ===================== */

.nekrolog-box{
	width: 100%;
	height: auto;
	margin: 0 0 20px;
	padding: 20px;
	font-family: 'Noto Serif', serif;
	font-weight: 400;
	color: #000;
	text-align: center;	
	font-size: 0.875rem;
	border: 20px double #000;
	background-color: #fff;
}

.nekrolog-top{
	width: 100%;
	clear: both;
	line-height: 110%;
}

.nekrolog-name{
	width: 100%;
	clear: both;
	font-size: 2rem;
}

.nekrolog-bottom{
	width: 100%;
	margin-top: 10px;
	clear: both;
}	

/*===================== RWD  =================== */


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

}
@media (max-width: 992px) {

}
@media (max-width: 768px) {

}
@media (max-width: 576px) {
	.pl-5, .px-5 {padding-left: 1rem !important;}
	.pr-5, .px-5 {padding-right: 1rem !important;}
}
