:root {
  --cl-blue: #0e5680;
  --cl-blue-dark: #08354f; 
  --cl-blue-light: #E7F4F9;
  --cl-orange: #f4a110;
  --cl-red: #D00E33;
  --cl-red-dark: #710016;
  --cl-green: #495B00;
  --cl-green-light: #A4BE3F;
  --cl-white: #fff;
  --cl-black: #000000;
  --cl-grey: #707070;	
  --cl-grey-light: #f2f2f2;
  --cl-font-family: 'Nunito', sans-serif;
}
.bg_color_blue{background-color: var(--cl-blue) !important}
.bg_color_blue-dark{background-color: var(--cl-blue-dark) !important}
.bg_color_orange{background-color: var(--cl-orange) !important}
.bg_color_red{background-color: var(--cl-red) !important}
.bg_color_red-dark{background-color: var(--cl-red-dark) !important}
.bg_color_grey-light{ background-color: var(--cl-grey-light) !important}
.bg_color_blue-light{background-color: var(--cl-blue-light) !important}

.color_green{color: var(--cl-green) !important;}

/* Fontello ------------------------------------------------------------------------- */
@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?19152083');
  src: url('../fonts/fontello.eot?19152083#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff2?19152083') format('woff2'),
       url('../fonts/fontello.woff?19152083') format('woff'),
       url('../fonts/fontello.ttf?19152083') format('truetype'),
       url('../fonts/fontello.svg?19152083#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
}
.icon-a_plus:before { content: '\e800'; } /* '' */
.icon-a_plusplus:before { content: '\e801'; } /* '' */
.icon-a:before { content: '\e802'; } /* '' */

body{
	font-weight: 300; 
	font-family: var(--cl-font-family);
	font-size: 16px;
}

a, a:active, a:link, a:hover {color: #276488; text-decoration: underline}
ul{list-style: none; padding: 0; margin: 0; padding-left: 40px; margin-bottom: 20px;}
ul li:not(.nav-item)::before{font-family: "Font Awesome 5 Free"; content: "\f111"; color: var(--cl-green-light); padding-right: 1rem; margin-left: -2rem; font-size: 1rem; font-weight: 900}

#menu-glowne ul li::before {color: var(--cl-red);}
#menu-glowne ul li:hover::before {color: var(--cl-orange);}

.clearboth {clear: both;}

.video-container{position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;}
.video-container iframe{position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

/* ==============  Breadcrumbs  ===================*/

#content #breadcrumbs {}
#content ul.breadcrumb{ font-size: 0.875rem; position: relative; font-weight: 400}
#content ul.breadcrumb li::before{content: ""; padding: 0; margin: 0; font-size: inherit;}
#content ul.breadcrumb .breadcrumb-item {}
#content ul.breadcrumb .breadcrumb-item a {color: var(--cl-red);}
#content ul.breadcrumb span.fa-home{color: var(--cl-red);} 
#content ul.breadcrumb .breadcrumb-item span {padding: 0 10px 0 !important; color: var(--cl-red)}


/* ==============  Header - navbar - sticky+anim ===================*/
#navbar {
  background-color: var(--cl-white);
  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: 78px; margin: 0 0 2px;}

@media screen and (min-width: 1024px){
	.sticky {position: fixed; top: -72px; 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;}
}

/* ==================== Gorna belka WCAG =============== */

#top-wcag{background-color: var(--cl-white); overflow: hidden; padding: 1rem 0; color: #242424; font-size: 0.875rem; border-bottom: none}
#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; align-items: center; margin: 0;}	
#top-wcag li{padding: 0; margin: 0 5px;}
#top-wcag a{color: #242424;}
#top-wcag-left{text-align: left; padding: 0; font-size: 1.25rem; font-weight: 800}
#top-wcag-right{text-align: right; padding: 0; margin: 0;  justify-content: center}

@media screen and (max-width: 1400px) {
	#top-wcag{font-size: 0.75rem}
	#top-wcag-left{font-size: 1rem;}
}
@media screen and (max-width: 1200px) {
	#top-wcag ul{justify-content: center;}
	#top-wcag li{padding: 0 10px !important; margin: 5px 5px 0;}
}
@media screen and (max-width: 992px) {
	#top-wcag ul{justify-content: center;}
	#top-wcag-left{text-align: center;}
	#top-wcag-right{text-align: right; padding: 0; margin: 0; justify-content: center !important}
	#menu-top{justify-content: center !important;}
}
#navbar ul li {
	float: left;
	cursor: pointer;
	padding: 0;
}
@media screen and (max-width: 576px) {
	#navbar ul li {margin-top: 5px;}
	#top-wcag{padding-bottom: 0;}
}
#menu-wcag span.icon {
	font-size: 1.25rem;
	line-height: 1.25rem;
	font-weight: 900;
	cursor: pointer;
	text-decoration: none;
	border: 1px solid #242424;
	padding: 5px;
	margin: 0;
	display: inline-block;
}
#menu-wcag a, #menu-links a{display: inline-block;}
#menu-wcag a:hover span{background: var(--cl-blue); color: var(--cl-white)}

@media screen and (max-width: 1400px) {
	#menu-wcag span.icon {font-size: 0.875rem;}
}

/*==================== Header / footer - nazwa =================== */

span.title_bold, span.title_regular{color: var(--cl-white)}
span.title_bold{font-size: 1.9375rem; font-weight: 800;}
span.title_regular{font-size: 1.5rem; font-weight: 400; margin-top: -10px;}
#footer span.title_regular{font-size: 1.375rem; margin-top: -6px;}
@media (max-width: 1200px) {	
	span.title_bold{font-size: 1.5rem;}
	span.title_regular{font-size: 1.25rem;}
}
@media (max-width: 768px) {
	span.title_bold{font-size: 2rem;}
	span.title_regular{font-size: .8rem;}
}
@media (max-width: 768px) {
	span.title_bold{font-size: 1.5rem;}
	span.title_regular{font-size: .8rem;}
}
/* ===================== Menu główne =============== */

#menu-glowne-container{position: relative; justify-content: flex-end; color: #242424}
#menu-glowne-container > ul{list-style: none; padding: 0; display: flex}
#menu-glowne-container > ul > li{float: left;}
#menu-glowne-container a{color: #242424; display: block;}
#menu-glowne-container a:hover{color: var(--cl-white);}

#menu-top {display: flex; flex-wrap: nowrap; justify-content: flex-end; align-content: flex-end; align-items: center; margin: 0; line-height: 1rem}
#menu-top a:hover{color: #921918;}
#menu-top img{max-height: 36px;}
#menu-top span.fa-search{color: var(--cl-white); background-color: #b83700; padding: 8px; font-size: 1.5rem;}
#menu-top div{padding: 0 15px; border-right: 1px solid #242424; margin: 0; text-align: center; align-self: center;}
#menu-top div:last-of-type{border: none;}
#menu-top div a{display: inline-block}

#menu-glowne a{font-size: 1.125rem; text-transform: uppercase; font-weight: 700; text-decoration: none; font-family: var(--cl-font-family);}
#menu-glowne a:hover{color: #242424;}
#menu-glowne > ul > li.active > a {color: var(--cl-white)}
#menu-glowne ul > li > ul > li > a{	padding: 15px 15px 15px 45px; text-align: left; white-space: normal;}
#menu-glowne ul > li > ul > li > a:hover{color: #353535; background: transparent !important}

#navbar.sticky #menu-top{margin: 10px 0}
#header-top{ background-color: #fff; background-image: url(/assets/templates/p6wagrowiec/images/header_img.jpg);
  background-repeat: repeat-x;
  background-size: cover;
  height: 250px;
  background-position-x: -200px;}
#header-top h1{margin: 0}
@media screen and (max-width: 1530px){
	#header-top{background-position-x: -420px;}
}
@media screen and (max-width: 1400px){
	#menu-glowne a{font-size: .875rem;}
	
}
@media screen and (max-width: 1200px){
	
}
@media screen and (max-width: 1024px){
	#header-top{}
	#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 15px;}
	#menu-top span {font-size: 2rem; padding: 0 5px;}
	#header-top{background-position-x: -500px;}
}
@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: 0.875rem;}
	#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-items: center; margin: 0 auto 15px}
	#menu-top-mobile span {display: inline-block; min-width: 40px; min-height: 40px; background-color: var(--cl-white); text-align: center; margin: 0 2px 5px; padding: 7px; border: 1px solid #242424}
	#menu-top-mobile span i{color: var(--cl-blue); font-size: 1rem !important}
	#menu-top-mobile img{width: auto; max-height: 18px;}
}
@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;}
	#header-top{height: 190px; background-position-x: -420px;}
}
@media screen and (max-width: 400px){
	#header-top{height: 160px; background-position-x: -420px;}
}

/* ======================= Menu mobile ===================== */

/***** Sidebar *****/

#mobile-menu-button {display: none;}
#menu-boczne-rozwijane #menu-glowne a:hover{color: var(--cl-white); background-color: var(--cl-blue)}
#menu-boczne-rozwijane #menu-glowne .metismenu > li > ul > li {width: 100% !important}

@media (max-width: 1200px) {
	#mobile-menu-button{display: block; position: fixed; top: 0; right: 0; left: 0; background: var(--cl-red); margin-top: 0; height: 50px; width: 50px; color: var(--cl-white); font-size: 1.4rem; z-index: 99; border-radius: 0;}
}

.sidebar {
	width: 250px; height: 100vh; position: fixed; top: 0; left: -255px; z-index: 9999; 
	background: var(--cl-white); color: #000; transition: all .3s; box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.5); 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: var(--cl-red); color: var(--cl-white); border-radius: 0; text-align: center; line-height: 35px; cursor: pointer;}

.dismiss:hover, .dismiss:focus {background: #555; color: var(--cl-white); }

.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: var(--cl-white);
}
.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: #555; color: var(--cl-white); }

.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: var(--cl-red-dark);
	color: var(--cl-white);
}

.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 ul li ul {border: 0 !important}

.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: var(--cl-white); 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 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: var(--cl-white);
}

.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: var(--cl-white);
}

@media screen and (max-width: 1200px){
	.sidebar ul li a {padding: 10px 15px !important;}
}






/***** 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: transparent;
	width: 100%;
}
.topbar-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
	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: 20px 0;
    color: #393939;
    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: 0; line-height: 1.5rem; transition: all .3s ease-out;}
.topbar-nav .metismenu > li > ul > li:last-of-type{border: none; }
.topbar-nav .metismenu > li > ul > li:hover{}
.topbar-nav .metismenu > li > ul > li a{font-size: 0.875rem !important;}
.topbar-nav .metismenu > li > ul > li:hover a, .topbar-nav .metismenu > li > ul > li a:hover{ color: #353535}

.topbar-nav .metismenu > li::before,
#top-wcag ul li::before, .skiplink-menu li::before,
#menu-glowne-container > ul > li::before {content: "" !important; margin: 0 !important; padding: 0 !important}

.topbar-nav .metismenu > li > ul > li::before {
	font-family: "Font Awesome 5 Free";
  	content: "\f111" !important;
	margin: 0; 
	padding: 15px; 
	font-weight: 900;
	position: absolute
}
.topbar-nav .metismenu > li > ul > li:hover::before {color: var(--cl-orange)}

.topbar-nav .metismenu .collapsing a,
.topbar-nav .metismenu .collapse.in a {text-align: left;}


@media screen and (max-width: 1200px){
	.topbar-nav .metismenu > li > ul > li::before {
		margin-left: -25px;
  		padding: 10px;
	}
}

@media screen and (min-width: 1400px){
	.topbar-nav .metismenu > li > a > span{padding: 15px;}
}
@media screen and (min-width: 1200px) {
    .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);
    }
	.topbar-nav .metismenu > li > a > span{
		padding: 10px;
	}
}

/* ======================= METIS MEGA MENU - zmiany ======== */

.topbar-nav .metismenu > li{position: static; padding-bottom: 5px;}
.topbar-nav .metismenu > li.active {background: var(--cl-red);}
.topbar-nav .metismenu > li > ul {
	width: 100%;
	min-width: auto !important;
	right: 0;
	left: 0;
	white-space: nowrap;
	border: 1px solid var(--cl-red)
}
.topbar-nav .metismenu > li > ul > li{width: auto !important; min-width: 25% !important; white-space: normal; max-width: 25%;}
.metismenu > li > ul{ background: var(--cl-white)}
.metismenu .collapse.in, .metismenu .collapsing {display: flex; flex-wrap: wrap; padding: 0 30px}

@media screen and (max-width: 1200px){
	.topbar-nav .metismenu > li > ul > li{width: auto !important; min-width: 100% !important; white-space: normal; max-width: 100%;}
}




/*==================== Menu dzialu - boczne =================== */

span.list-group-item{background: var(--cl-red); color: var(--cl-white); font-size: 1.25rem; font-weight: 500; text-transform: uppercase; padding: 15px 25px; border-radius: 10px !important}

.list-group-item {display: flex; justify-content: flex-start; align-content: flex-start; align-items: center; padding: 15px 30px 15px 10px; background: none; border: 0; border-bottom: 1px solid var(--cl-grey)}

a.list-group-item{color: var(--cl-black)}

a.list-group-item::after{font-family: 'Font Awesome 5 Free'; content: "\f054"; position: absolute; right: 15px; font-weight: 900}

a.list-group-item:hover{background-color: var(--cl-grey-light)}

.list-group-item > h2{font-size: 1rem; color: var(--cl-black); line-height: 1.5rem !important; font-weight: 400; text-transform: uppercase; display: inline; padding-left: 15px; margin: 0}


/* ================= Footer =============== */

#footer{background-color: var(--cl-blue); color: var(--cl-white); font-size: 1rem}
#footer a, #footer a:hover, #footer a:active, #footer a:visited{color: var(--cl-white)}

footer #footer_author, footer #footer_copy, footer #footer_author a {color: #302f2d; font-weight: 300; font-size: 0.875rem}

@media (min-width: 768px) {
	footer #footer_author {text-align: right !important}
	footer #footer_copy {text-align: left !important}
}
@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 > 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 > div.col-12{padding-top: 25px;}
}


/*===================== Headings ================== */

h1,h2,h3{
	color: var(--cl-black);
	font-size: 2.1875rem;
	font-weight: 800;
	margin: 0;
}

h3{font-size: 1.5rem}

#aktualnosci h2{text-transform: uppercase; font-size: 2.1875rem; text-align: left; display: inline; color: var(--cl-white)}

h2, h3{margin-bottom: 1rem;}

@media screen and (max-width: 576px) {
	h1,h2{font-size: 1.75rem}
	h3{font-size: 1.2rem}
}
@media screen and (max-width: 576px) {
	#aktualnosci h2{padding: 10px 15px;}
}

/* =============== Sekcje ========== */

main{
	background: 
    linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1) 80%, rgba(240,248,251,1) 100%),
    url(/assets/templates/p6wagrowiec/images/bg_dzial_chmury.png);
	background-position: top center;
	background-repeat: repeat-x;
}

section #dla_rodzicow{
	background-color: #fff; 
	background-image: url(/assets/templates/p6wagrowiec/images/bg_dla_rodzicow.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	min-height: 656px;
}
section #dla_rodzicow hr{
	border: 2px solid var(--cl-red);
	width: 70%;
	opacity: 1;
}

section #aktualnosci{
	background: rgb(157,185,49); background: linear-gradient(180deg, rgba(157,185,49) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 100%);
	
}
#home #aktualnosci .section-title hr{border: 2px solid var(--cl-green) !important;  width: 80%; height: 1px; margin-left: 10%;  opacity: 1;}

#aktualnosci .section-title hr{border: 2px solid var(--cl-green) !important;  width: 50%; height: 1px; margin-left: 10%;  opacity: 1;}

footer #footer{
	background-color: #f0f8fb; 
	background-image: url(/assets/templates/p6wagrowiec/images/bg_dzial_footer.png);
	background-repeat: repeat-x;
	background-position-x: -300px;
	height: 895px;
}
#home footer #footer{
	background-color: #fff; 
	background-image: url(/assets/templates/p6wagrowiec/images/bg_footer.jpg);
}


#footer-col-2, #footer-col-3, #footer-col-4{height: 150px;}
@media screen and (max-width: 991px) {
	section #dla_rodzicow{padding-bottom: 200px;}
	footer #footer{height: 700px;}
	#footer-col-2, #footer-col-3, #footer-col-4{height: auto;}
}
@media screen and (max-width: 768px) {
	footer #footer{height: 895px;}
}

/* =============== Aktualnosci / Dzialy ========== */

.news-short-item {position: relative;}
.news-short-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;}

.news-short-item h3 {font-size: 1rem; font-weight: 400; padding-top: 3px;}
.news-short-item:hover{background-color: #F2F2F2}

.news-short-item .data{font-size: 0.875rem;}

.news-item{position: relative; transition: .3s ease; padding: 0; margin: 0; overflow: hidden;}
.news-item:hover{background-color: #F2F2F2}

.news-item > img{border: 1px solid #707070; border-radius: 10px; display: block;  width: 100%; height: 100%;
  -o-object-fit: cover;  object-fit: 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;}

.news-item .container::after {content: ""; position: absolute; right: 0; bottom: 12px; width: 50%; height: 5px; background-color: var(--cl-green-light);  -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;}

.news-item .container hr{border: 1px solid var(--cl-green-light) !important}

.news-item:hover .container::after{content: ""; position: absolute; right: 0; height: 5px; width: 100%; background-color: var(--cl-red);}

.news-item .news-title{height: 80px;}

.news-item .data{font-size: 0.875rem; font-weight: 300; color: var(--cl-black); padding: 5px 0;}

.news-item .title{font-size: 1.25rem; padding: 10px 20px}
.news-item h2,.news-item h3{
	font-size: 1rem;
	font-weight: 600;
	color: #000;
	margin: 0;
	line-height: 1.5
}

.news-item a, .dzial-item a, .startpoint 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;
	-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;
}

.news-item hr{width: 80% !important; max-width: 80% !important; border:
2px solid var(--cl-green); padding: 0 !important; opacity: 1; height: 1px; margin-left: 10%;}

@media (max-width: 576px) {
	.news-item h2,.news-item h3{font-size: 1.35rem;}
	.news-item .news-title{height: 110px;}
}
.dzial-item{height: 100%; aspect-ratio: 1; background: var(--cl-red); background:
linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 60%)}
.dzial-item h3{color: var(--cl-white); font-size: 1.25rem; text-transform: uppercase; line-height: 1.5}
.dzial-item img{max-height: 120px;}

.dzial-item-container{background-color: var(--cl-red); -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; border-radius: 20px;}

.dzial-item-container:hover {background-color: var(--cl-red-dark) !important}

.dzial-item-bg-image{position: absolute; width: 100%; height: 100%; opacity: 0.15; background-size: cover !important;}

@media (max-width: 1400px) {
	.dzial-item h3 {font-size: 1rem}
}
@media (max-width: 1200px) {
	.dzial-item h3 {font-size: 0.875rem}
}
@media (max-width: 992px) {
	.dzial-item h3 {font-size: 1rem}
}
@media (max-width: 576px) {
	.dzial-item h3 {font-size: 0.75rem}
	.dzial-item img{max-height: 70px; width: auto; aspect-ratio: 1/1 !important;}
}


#dla_rodzicow span.dlar {
	background-color: var(--cl-contrast-red);
	width: 80px;
	height: 80px;
	text-align: center;
	color: #fff;
	max-width: 80px;
	max-height: 80px;
	line-height: 80px;
	font-size: 2.8rem;
	border-radius: 50%;
	aspect-ratio: 1;
}
#dla_rodzicow span.icon1{background-color: #CE1B3D;}
#dla_rodzicow span.icon2{background-color: #AB0020;}
#dla_rodzicow span.icon3{background-color: #FE7956;}
#dla_rodzicow span.icon4{background-color: #EBDE42;}

#dla_rodzicow .news-item .data {padding-top: 0;}
#dla_rodzicow .news-item .data span {margin-top: 0;}

@media (max-width: 1200px) {
	#dla_rodzicow span.dlar {scale: 0.7;}
}

/* ================ Zdjecia i galerie ============== */

.gallery_img{position: relative; display: inline-block; overflow: hidden; background-color: var(--cl-white); color: var(--cl-white); opacity: 1; border: 1px solid var(--cl-grey); border-radius: 10px;} 
.gallery_img:hover img{transform: scale(1); opacity: 1}

.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 var(--cl-white) !important;
	width: 80%;
	height: 80%;
	top: 10%;
	left: 10%;	
	opacity: 1;
	visibility: visible;
	color: var(--cl-white);
}
.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}

/* ==================== POP-UP =================== */

.modal-header button{font-size: 3rem}
.modal-dialog{max-width: 1200px !important; min-width: 200px !important; display:table !important;}
.modal-dialog img {display: block !important; max-height: 80vh !important; max-width: 100% !important;}
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}
.modal-footer:after {
  clear: both;
}

@media only screen and (min-width: 992px) {
  .modal-lg {width: 900px;}
}

@media only screen and (min-width: 768px) {
  .modal-dialog {margin: 20px auto; display: table !important;}
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }
  .modal-sm {width: 300px;}
}
@media only screen and (max-width: 768px) {
  .modal-dialog {margin: 20px auto; display: table !important;}
}


/*================= WYSZUKIWARKA MOBILE ================ */

#wyszukiwarka {
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    z-index: 9999999;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: 
	rgba(0,0,0,.9);
	width: 100%;
	height: 100%;
}

#ajaxSearch_output, #ajaxSearch_output a{color: #fff;}

#wyszukiwarka input[type="text"] {
    width: 100%;
    margin: 0;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    padding-left: 35px;
    background: none;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: 
	rgba(255,255,255,.9) !important;
	font-size: 3.1rem;
	color:
    #fff;
}

#wyszukiwarka i.fa-window-close::before {
    font-style: normal;
    font-weight: 400;
    speak: none;
    display: inline-block;
    text-decoration: none !important;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    opacity: .8;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    font-size: 120%;
    text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
}

#wyszukiwarka i.fa-window-close {
    font-size: 50px !important;
}

#wyszukiwarka .icon_close {
	position: absolute;
    top: 55px;
    font-size: 20px;
    line-height: 20px;
    display: block;
    right: 18px;
    color: #fff;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
#searchClose{cursor: pointer}
a.AS_ajax_resultLink {font-size: 2rem; color: #fff !important;}


/*================= WYSZUKIWARKA ================ */

#searchform,
#searchform2 {
 display:flex;
 align-items: start;
 width: 100%;
}

#searchform #search,
#searchform2 #search2 {
 width:100%;
 padding:13px 15px 12px 15px;
 border: 0;	
 color:#242424;
 background: var(--cl-white);
 margin-right: 0; 
 max-height: 50px;
  border-radius: 10px 0 0 10px;
}
#searchform label,
#searchform2 label {
 margin-bottom:0;
 width:100%;
 display:flex
}
#searchform #search-submit,
#searchform2 #search-submit2 {
 margin:0;
 border:0;
 padding: 0 1rem 0;
 width: 100px; 
 height: 49px; 
 color: var(--cl-white); 
 background: transparent;
}
#searchform #search-submit:hover,
#searchform2 #search-submit2:hover {
	background-color: var(--cl-red);
	color: #000;
}
#searchform2 #search-submit2 {
 padding:0 15px
}
#searchform #search-submit span,
#searchform2 #search-submit2 span {
 font-size:1.5rem;
 color: var(--cl-white);
 vertical-align:middle
}
#search-submit span::after,
#searchform2 #search-submit2 span::after {
 border:0
}
#grpResult_site_wide h2 {
 font-size:2rem
}
@media screen and (max-width:1024px) {
 #wyszukiwarka input[type="text"] {
  font-size:2rem
 }
 #wyszukiwarka .icon_close {
  top:0;
  right:0
 }
}
@media (max-width:769px) {
 #searchform label,
 #searchform2 label {
  width:100%
 }
 #searchform #search,
 #searchform2 #search2 {
  padding:10px
 }
 #searchform i,
 #searchform2 i {
  color:#f2f2f2
 }
 #wyszukiwarka input[type="text"] {
  padding-left:0;
  font-size:1rem;
  border:0;
  width: 80%;
 }
}
/*===================== Splide =================== */

#splide_banersmall ul li::before{content: ''; font-size: 0; paddding: 0; margin: 0;}

/*===================== Content =================== */

.banner_big img{border: 1px solid #707070}

button#speaker{background: transparent; color: var(--cl-black); border: 0}
button#speaker.active, button#speaker:hover{color: var(--cl-green);}

#dokumenty_do_pobrania{background-color: #f6f6f6;}
#dokumenty_do_pobrania ul li::before{color: var(--cl-green-light);}

.btn_dzial{
	width: 100%;
	text-align: center;
	border: 1px solid #000;
	text-transform: uppercase;
	background-color: transparent;
	font-size: 1rem;
	padding: 1rem 0;
	-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;
	border-radius: 10px;
}
.btn_dzial:hover{
	background-color: var(--cl-red);
	color: var(--cl-white);
	border-color: var(--cl-white);
}

/* ================= 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: var(--cl-white); color: #0a99bd}
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: #777;
}

.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: #555;
  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;
}

/* =================== 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;
	display: block;
}

a:focus, a.menu-item:focus
#top-wcag 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: 2px;
}
.news-item a:focus{outline-offset: -2px;}
#menu-glowne a:focus, .nav-tabs .nav-link:focus{outline-offset: -5px;}
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;}

/* ==================== 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: var(--cl-white);
	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 {}

figure.effect-oscar img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-oscar figcaption {
	padding: 3em;
	-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 var(--cl-white);
	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;
}	
		

/*===================== 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;}
	#top-wcag-left {padding-left: 4rem !important;}
}

/*===================== BOX FOTOS  =================== */

        .grid-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            width: 100%;
            max-width: 100%;
            aspect-ratio: 1 / 1;
            margin: auto;
        }
        .grid-box {
            width: 100%;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .grid-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            opacity: 0;
            transition: opacity 1s;
        }
        .grid-box img.active {
            opacity: 1;
        }
