﻿
body {
	font-family: 'Roboto', sans-serif;
}
a {
	color: #2d7d2d;
    text-decoration: underline;
}
:focus {
	outline: 2px solid #000;
	box-decoration-break: clone;
	opacity: 1;
	text-decoration:none;
}

a:hover,
a:focus {
	color: #224824;
}
.form-control:focus,
button:focus,
a.btn:focus {
    border: 3px solid black !important
}
p-0{
    padding:0;
}
/* BUTTONS */
.btn {
	border-radius: 0;
}
.btn-primary {
	color: #fff;
	background-color: #3d8241;
	border-color: #3d8241;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active, 
.show>.btn-primary.dropdown-toggle {
	color: #fff;
	background-color: #224a24;
	border-color: #224a24;
}
.btn-primary:focus {
	box-shadow: 0 0 0 0.2rem rgba(61, 130, 65, 0.5);
}
.btn-info {
	color: #fff;
	background-color: #7ac046;
	border-color: #6ead3f;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info:not(:disabled):not(.disabled).active, 
.btn-info:not(:disabled):not(.disabled):active, 
.show>.btn-info.dropdown-toggle {
	color: #fff;
	background-color: #3d8241;
	border-color: #3d8241;
}

.btn-outline-info {
	color: #3F6224;
	background-color: transparent;
	background-image: none;
	border-color: #3F6224;
}
.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active,
.btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):active, .show>.btn-outline-info.dropdown-toggle {
	background-color: #3D6222;
	color: white;
}
.btn-outline-info.focus, 
.btn-outline-info:focus {
	box-shadow: 0 0 0 0.2rem rgba(110, 173, 63, 0.4);
}


.btn-warning {
	background-color: #dff377;
	border-color: #dff377;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active{
	background-color: #badd09;
	border-color: #badd09;
}

/* MENU */
.container-fluid.bg-green a {
	color: #1a1a1a;
	text-decoration: none;
	padding-left: 0.5rem;
}
.container-fluid.bg-green a:hover,
.container-fluid.bg-green a:focus {
    display: inline-block;
    transform: scale(1.05);
}
.menu-top {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -1px;
}
.menu-top>li>a {
	text-transform: uppercase;
}
.navbar-brand {
 text-decoration: none !important;   
}
.dropdown-menu {
	border: none;
	min-width: 15rem;
	background-color: #f3f3f3;
	border-radius: 0;
	font-size: 1.0rem;
	font-weight: 400;
	letter-spacing: normal;
	padding-top: 0;
	padding-bottom:0;
	margin-top:8px;
}
.dropdown-menu li:hover {
	background-color: #cecdcd;
}

/* HEADER */

.bg-light {
	background-color: #f3f3f3!important;
}

.bg-green {
	background-color: #6eb744;
}
.bg-green a {
	color: white;
}
.gpe {
	font-size: 1.4rem;
	font-weight: 600;
	text-align: right;
}
.gpe small {
	font-style: italic;
	font-size: 1.4rem;
	font-weight: 300;
	display: none;
}
@media (min-width: 992px) {
	.gpe {
		font-size: 2.4rem;}
	.gpe small {
		display: block;

	}
}
/* #top-logo, #top-name */

@media (max-width: 767px) {
    #top-logo {
        flex: none;
        max-width: 100%;
    }
    #top-logo * {
        margin: 0 !important;
        padding: 0 !important;
    }
    #top-name {
        flex: none;
        max-width: 100%;
        text-align: left !important;
    }
    #top-name * {
        text-align: left !important;
        font-size: 1rem !important;
        padding-top: 5px !important;
        padding-bottom: 0 !important
    }
    #top-name small {
        display: none !important;
    }
    #top-emblem {
        display: none !important
    }
}

/* POLITYKA PRYWATNOŚCI */
.privacypolicy-alert {
	margin-bottom: 0;
	padding-right: 0;
}
/* WYRÓŻNIONE WIADOMOSCI */

.highlight-bg {
	background-image: url(../img/bg-trojkaty.jpg);
	background-size: cover;
	min-height: 1.5rem;
	_display: flex
}

.highlight {
	width: 100%;
	min-height: 500px;
	margin: 0 !important;
    _display: flex
}
@media (min-width: 768px)  {
	.highlight {
		position:relative;
	}
}
.highlight>li>div {
	border:6px solid white;
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
}
.highlight .overlay {
	position: absolute;
	top: 3px;
	left: 3px;
	right: 3px;
	bottom: 3px;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: 1;
	border:6px solid white;
	-webkit-transition: all 0.3s ease-in-out;
}
.highlight>li>div:hover .overlay {
	background-color: rgba(0, 0, 0, 0.3);
}

.highlight>li h3 {
	z-index: 10;
	color: white;
	bottom: 0rem;
	padding: 1rem;
	text-shadow: 1px 1px 15px black;
}
.highlight .h-title {
	background-color: rgba(0,0,0,0.7);
	display: inline-block;
	margin-left: 6px;
	margin-right: 6px;
	width: calc(100% - 20px);
    position: absolute;
    font-size: 1.15rem;
    line-height: normal
}
.highlight > li a {
	color: white;
}
.highlight > li a:focus {
	outline: 2px solid #fff;
}
.highlight>li h3 .h-data {
	display: block;
	font-size: 0.8rem;
	padding: 0.5rem 0;
	font-weight: 300
}



@media (min-width: 768px) {
    .highlight .h-title {
        position: absolute;
        font-size: 1.75rem
    }    
    .highlight>li h3 .h-data {
        font-size: 1rem
    }
	.highlight>li {
		position: absolute;
	}
	.highlight>li:nth-of-type(1) {
		left: 0px; 
		top: 0px;	
		height: 100%;
	}
	.highlight>li:nth-of-type(2) {
		top:0;
		right: 0;
		height: 50%!important;
	}
	.highlight>li:nth-of-type(3) {
		right: 0;
		bottom: 0;
		height: 50%!important;
	}
	.highlight>li h3 {
		position: absolute;
	}
}
@media (max-width: 767px) {
    .highlight>li>div  {
        min-height: 300px !important
    }
}



/* FOOTER */

.footer-green {
	background-image: url(../img/bg-trojkaty.jpg);
	background-size: cover;
	height: 56px;
}
.footer-small {
	font-size: 0.85rem;
}

/* lista tytułów aktualności*/
.panel-more-link {
    float: right;
    font-size: 0.9rem;
    padding-top: 10px;
    font-weight: 700;
    text-transform:uppercase;
}
.container-fluid.bg-light h2.panel-title {
	border: none;
	font-size: 1.0rem
}
.container-fluid.bg-light h2.panel-title span {
	background-color: transparent;
	color: #666666;
	display: inline-block;
	padding: 0;
	font-weight: 500;
	text-transform: uppercase;
}
.article-list-small li {
	margin-bottom: 15px;
	background-image: url(../img/ar.png);
	background-repeat: no-repeat;
	background-position: left 6px;
    list-style: none;
	padding-left: 20px;
}
.article-list-small li a {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow-x: hidden;
	display:block;
	color: #505050;
	font-size: 1.1rem;
	
    color: #2d7d2d;

}
.article-list-small li a:hover,
.article-list-small li a:focus {
	color: black;
    background-color: #B5D54C;
}
/*
.article-list-small a:before {
	content: "\00BB ";
	padding-right: 15px;
}
*/


.totop {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 104400;
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	opacity:0;
}
.totop.show {
	opacity:1;
}
.totop a i {
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 25px;
	background: rgba(60,60,60,0.7);
}
.totop a, .totop a:visited {
	color: #fff;
	text-decoration:none;
}
/*breadcrumb*/
.breadcrumb {
	background-color: transparent;
	font-size: 0.8rem;
	padding-left: 0;
	padding-right: 0;
	border-bottom: 2px solid #f3f3f3;
	width: 100%;
}

/* sharebox */

.sharebox {
	float: right;
}
	.sharebox span {
		clip: rect(1px, 1px, 1px, 1px);
		display: block;
		position: absolute;
		width: 1px;
		height: 1px;
	}
.sharebox .nav-item {
	margin-left: 0.2rem;
}
/*
.sharebox i {
border: 1px solid #4f9e42;
padding: 0.5rem;
width: 2.4rem;
font-size: 1.1rem;
}
*/

/* paginaton */
.page-link {
	color: #6ead3f;
	margin-left:3px;
	border-radius: 0!important;
}
.page-item.active .page-link {
	background-color: #6ead3f;
	border-color: #6ead3f;
}

/* LISTA ARTYKUŁÓW - siatka, lista */

.article h4{
	font-size: 1.4rem;
	letter-spacing: -1px;
	font-weight: 600;
	color: black;
}
.article h4 a{
	color: black;
	text-decoration: none;
}
.article h4 a:hover,
.article h4 a:focus,
.article h4 a:active {
	color: #3d8241;
	border-bottom: 1px solid #3d8241;
}
.article .meta {
	font-size: 0.8rem;
	color: #525252;
}
.article .meta .category {
	display: block;
}
.article .meta .category a {
/*	background-color: #f3f3f3;*/
	padding: 0.01rem 0.3rem 0.03rem 0.3rem;
	margin-right: 0.1rem;
	border: 1px solid #4f9e42;
	display: inline-block;
}
.article .caption-header {
	font-size: 0.95rem;
	line-height: normal;
}
.article-body,
.page-body{
	padding-bottom: 2rem;
}
.article .btn {
	text-transform: uppercase;
	font-size: 0.9rem;
	font-weight: 400;
}

@media (min-width: 768px) {
	.article-list .article {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-align: start;
		align-items: flex-start;
	}

}
.article-list .article {
	border-bottom: 2px solid #f3f3f3;
}

.article-header {
	margin-top: 2rem;
}
.article-img {
	background-color: black;
	margin-bottom: 1.0rem
}
.article-img img {
	opacity: 0.9;
	-webkit-transition: all 0.1s ease-in-out;
	color: #fff;
}
.article:hover .article-img img {
	opacity: 0.7
}
/* ARTYKUŁ, STRONKA */

h1.page-header {
	border-bottom: 2px solid green;
	font-size: 1.3rem;
	margin-bottom:1.5rem;
}
h1.page-header span {
	background-color: green;
	color: white;
	display: inline-block;
	padding: 0.3rem 1rem;
}

h2.panel-title {
	border-bottom: 2px solid #6eb744;
	font-size: 1.3rem;
	margin-bottom:1.5rem;
}
h2.panel-title span {
	background-color: #6eb744;
	color: #1a1a1a;
	display: inline-block;
	padding: 0.3rem 1rem;
}
h2.panel-title span a {
	color: #1a1a1a;
}


.article h1 {
	font-size: 2.0rem;
	letter-spacing: -1px
}
.form-control {
	border-radius: 0
}
label {
	font-size: 0.8rem;
	text-transform: uppercase;
	color: #585858;
}

.filelist span.filelist{
	font-size: 0.8rem;
	color: #3d8241;
	width:100%;
	text-transform: uppercase;
}
.filelist i {
	color: #3d8241;
	margin-right: 1.5rem
}
.list-group-flush:last-child .list-group-item:last-child {
	border-bottom: 1px solid rgba(0,0,0,.125);
}

/* KALENDARZ */

.calendar-header {
	margin-top: 2rem;
}
.calendar h1 {
	font-size: 2.0rem;
	letter-spacing: -1px;
}
.calendar-search {
	margin-bottom: 2rem
}
@media (min-width: 768px) {
	.calendar-search {
		height: 90px;
	}
	.calendar-search .btn {
		margin-top: 30px
	}
	
}
.calendar-search div {
	height: 100%;
	vertical-align: bottom;
	bottom: 0;
}
.calendar-search input::placeholder {
	font-size: 0.9rem
}
h3.dymek {
	font-size: 20px
}
#calendar {
/*	background-color: #fafafa;*/
	height: auto;
	margin-bottom:20px;

}
#calendar:after {
	clear: both;
	content: ' '
}
#calendar a {
	display:block;
	color: #000!important;
}
.popover {
	font-family: 'Roboto', sans-serif!important;
}
.cal-calendar .cal-container {
	border-top: 1px solid #2D7C2D;
	border-left: 1px solid #2D7C2D;
}
.cal-calendar .cal-day {
	width: 14.28% !important;
	float: left;
	border-right: 1px solid #2D7C2D;
	border-bottom: 1px solid #2D7C2D;
	text-align: center;
	padding-top: 0.2rem;
	padding-bottom: 0.2rem;
	font-size: 0.8rem;
}
.cal-calendar .cal-day:last-child:after {
	clear: both;
	content: ' '
}
.cal-calendar .cal-weekend, .cal-calendar .cal-weekend a {
	color: #b50000;
}
.cal-weekend .cal-disabled {
	color: #ab0000;
}
.col.cal-month {
	width: 71.72% !important;
	font-size: 0.8rem;
}
.cal-month-change {
	border: 1px solid silver;
}
.cal-month-change span {
	cursor: pointer;
}
.cal-month::first-letter {
	text-transform: uppercase;
}
.cal-header {
	text-align: center;
}
.cal-day-header {
	font-size: 0.8rem
}
.cal-disabled {
	background-color: whitesmoke;
}
.cal-hasevents {
	
	background-color: #c5d95c!important;
}
.cal-hasevents .popover .popover-content {
	min-width: 250px;
	color: black;
	min-height: 200px;
	max-height: 300px;
	overflow-y: auto;
}
.cal-hasevents .popover a {
	color: black
}
.cal-today {
	border: 1px solid #3d8241!important;
	background-color: #e2e2e2;

}

ul.cal-events,
ul.cal-events li {
	list-style: none;
	margin: 0;
	padding: 0
}
ul.cal-events i.fas,
ul.cal-events i.fa {
	color: #3F6224;
}
.cal-events-date {
	color: black;
	border-bottom: 1px solid #e2e2e2;
	text-transform: uppercase;
}
.cal-events-date .cal-events-close {
	border:transparent;
	background: transparent;
}
ul.cal-events h3 {
	font-size: 1.0rem;
}
ul.cal-events li {
	border-bottom: 1px solid #e2e2e2;
	padding-bottom: 1rem;
	padding-top: 1rem;
}

ul.cal-events h3 {
	font-weight: 600!important;
}
ul.cal-events h3 a {
	color: black;
}
ul.cal-events .fa {
	color: #e2e2e2;
}

body.calendar .item {
	border-bottom: 1px solid silver;
	margin-bottom: 1rem;
}
.cal-events-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	color: gray;	
	width: 150px;
	display: inline-block
}


body.calendar .item_header {
	margin-bottom: 10px
}
body.calendar .item_header h2 {
	font-size: 1.3rem;
	letter-spacing: -1px
}
body.calendar .item_content p {
	margin-bottom: 0.5rem
}
body.calendar .item_header h2 a {
	color: black;
}
body.calendar time {
	font-size: 1.0rem;
	text-transform: uppercase;
	font-weight: 600;
	color: gray;
}
body.calendar .cal-calendar header {
	display: none;
}
body.calendar .category-list {
	margin-left: 0;
	margin-right: 0;
	border-radius: 0!important;
	
}
body.calendar .category-list li a {
	font-size: 0.8rem;
	color: #43601b;
	text-transform: uppercase;
	font-weight: 600
}
body.calendar .category-list li a:hover,
body.calendar .category-list li a:focus {
    background-color: #B5D54C;
}

span.category-event {
	font-size: 0.8rem;
	color: #3F6224;
	text-transform: uppercase;
	font-weight: 600
}
.datepicker {
	font-size: 0.9rem!important;
	background-color: white;
	border: 1px solid silver;
	border-radius: 0!important
}
.datepicker table {
	width: 100%;
}

.datepicker table tr td, 
.datepicker table tr th {
	border-radius: 0!important;
	border-bottom: 1px solid rgba(192, 192, 192, 0.5)!important;
}
.datepicker table tr th {
	font-size: 0.8rem;
	font-weight: 300!important;
}


    .datepicker table tr td.active:hover,
    .datepicker table tr td.active:hover:hover,
    .datepicker table tr td.active.disabled:hover,
    .datepicker table tr td.active.disabled:hover:hover,
    .datepicker table tr td.active:focus,
    .datepicker table tr td.active:hover:focus,
    .datepicker table tr td.active.disabled:focus,
    .datepicker table tr td.active.disabled:hover:focus,
    .datepicker table tr td.active:active,
    .datepicker table tr td.active:hover:active,
    .datepicker table tr td.active.disabled:active,
    .datepicker table tr td.active.disabled:hover:active,
    .datepicker table tr td.active.active,
    .datepicker table tr td.active:hover.active,
    .datepicker table tr td.active.disabled.active,
    .datepicker table tr td.active.disabled:hover.active,
    .open .dropdown-toggle.datepicker table tr td.active,
    .open .dropdown-toggle.datepicker table tr td.active:hover,
    .open .dropdown-toggle.datepicker table tr td.active.disabled,
    .open .dropdown-toggle.datepicker table tr td.active.disabled:hover {
        color: #fff;
        background-color: #6ead3f !important;
        border-color: #6ead3f !important;
    }

section.BodyContent img {
    max-width: 100%;
    height: auto
}

#footer_address ul li {
    position: relative;
    list-style: none;
    padding-bottom: 15px;
}

    #footer_address ul li:before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        left: -40px;
        font-size: 1.2rem;
        top:0px;
    }

    #footer_address ul li:nth-child(1):before {
        content: "\f3c5";
    }

    #footer_address ul li:nth-child(2):before {
        content: "\f098";
    }

    #footer_address ul li:nth-child(3):before {
        content: '\f108';
    }
.popover-body {
   overflow-y: auto;
   max-height: 45vh;
}
.navbar-light .navbar-nav .nav-link {
	color: #4f4f4f;
    text-decoration: none;
}
.navbar-light .navbar-nav .nav-link:focus, 
.navbar-light .navbar-nav .nav-link:hover {
	color: black;
    background-color: #B5D54C;
}
.alert-warning a {
	color: #2e5c26;
}
.d-none {
	display: none!important;
}
body.editable table a:hover,
body.editable table a:focus {
    background-color: #B5D54C
}