/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, main,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* micro clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table; 
}

.cf:after {
    clear: both;
}

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.sr { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .sr class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.sr--focusable:active, .sr--focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }


/*--------------------------------------------------------layout---------------------------------------------------------------------*/

* {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}
body {
	font-size: 1.6rem;
}

img {
	max-width: 100%;
	height: auto;
}

.preload {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background:#85c226;
}
.js .preload {
	display:block;
}
@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
.preload__content {
	position:absolute;
	text-align:center;
	left: 0;
	top:50%;
	width:100%;
	transform: translateY(-50%);
}

.preload__content img {
	width: 100%;
	max-width: 300px;
	height: auto;
	animation-name: rotate;
	animation-duration: 20s;
	animation-iteration-count: infinite;
}
.page {
	display:flex;
	flex-direction:column;
	min-height:100vh;
}
.page__header,
.page__aside,
.page__footer {
	display:block;
	flex:none;
}
.page__content {
	display:block;
	flex: 1 0 auto;

}


.container {
	max-width: 1840px;
	margin: 0 auto;
	padding: 0  15px;
}
.container--1200w {
	max-width: 1225px;
}

.wrapper {
	display:flex;
	flex-direction:column;
	margin: -15px 0 0 -15px;
}
.wrapper__main {
	display:block;
	flex: none;
	padding: 15px 0 0 15px;
}
.wrapper__sidebar {
	display:block;
	flex: none;
	padding: 15px 0 0 15px;
}

@media screen and (min-width:60em) {
	.wrapper {
		flex-direction:row;
	}
	.wrapper__main {
		flex: 0 1 100%;
		
	}
	.wrapper__sidebar {
		flex: 0 2 100%;
		
	}
}

.header > .container {
	display:flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
}
.header__brand {
	display:block;
	flex: 1 0 200px;
	margin-right: 15px;
	
}
.header__button {
	display:block;
	flex: 0 1 auto;
}
.header__nav{
	flex: 0 1 100%;
}

@media screen and (min-width:1225px) {
	.header__nav {
		flex-basis: auto;
	}
	.menu__list {
		display:flex;
		flex-direction: row;
	}

	.menu__item {
		flex: 0 1 auto;
	}
}

/*--------------------------------------------------------style--------------------------------------------------------*/



body {
	font-family: "Open Sans", Arial, sans-serif;
	font-weight:300;
	background:#fff url('../img/tlo.jpg') 0 0 repeat;
	background-attachment: fixed;
}

a {
	transition:all 0.3s linear;
}

p {
	margin-bottom: 20px;
}

strong {
	font-weight: 400;
}

h3 {
	font-size: 2rem;
	font-weight:600;
	margin-bottom: 20px;
}

.img--shadow {
	box-shadow: rgba(0,0,0,0.5) 0 0 30px;
}
.img--border-green {
	border: 1px solid #85c226;
}
.img--left {
	float:left;
}


.skip {
}

.skip__link {
	display:block;
	padding: 15px;
	background:/*#b0cb21*/#85c226;
	color:#434342;
	text-decoration:none;
	font-weight: 600;
	font-family:'Open Sans',sans-serif;
} 

.header {
	padding: 15px 0;
	position:sticky;
	top:0;
	z-index:999;
	background:/*#b0cb21*/#85c226;
	color: #434342;
	font-size: 2rem;
	border-bottom:1px solid #ff1e00;
	max-height:100vh;
	overflow:auto;
	transition: padding 0.3s ease-in-out;

}
.header--fixed {
	padding:5px;
}

.header--bg {
	background-image: url('../img/logohead.png');
	background-position: 100% 50%;
	background-repeat:   no-repeat;
}
.footer {
	padding: 15px 0;
	background:#434342;
	color: #fff;
	font-size: 2rem;
}

.footer {
	padding: 50px 0;
}

.header__brand a:hover img,
.header__brand a:focus img {
	-webkit-filter: drop-shadow( 0 0 4px #fff ); 
    filter: drop-shadow( 0 0 4px #fff );
}

.menu {
	font-size:1.6rem;
	font-weight: 700;
	font-family:'Open Sans',sans-serif;
}
.header__button {
	text-align: center;
	width: 35px;
	line-height:35px;
	background: #000;
	color: #fff;
	text-transform: uppercase;
	font-family:'Open Sans',sans-serif;
	font-size:2rem;
	border: none;
	cursor: pointer;
}
@media screen and (min-width:1225px) {
	.header__button {
		display:none;
	}
}

.header__button:hover,
.header__button:focus {
	color:#ff1e00;
}
.header__button:active {
	color:#fff;

}
.header__button--pressed {
	color:#434342;
	background:/*#b0cb21*/#85c226;
}
.menu__item {
	padding: 10px 0 0;
	text-align:center;
}
@media screen and (max-width:1225px) {
	.header--fixed .menu__item:last-of-type {
		padding: 10px 0;
	}
}

.menu__link {
	color:inherit;
	text-decoration:none;
	text-transform:uppercase;
}

.menu__link:hover,
.menu__link:focus{
	text-shadow:#ff1e00 0 0 10px;
	color:#fff;
}
.menu__link--active {
	color:#ff1e00;
}

@media screen and (min-width:1225px) {
	.menu__item {
		padding: 0;
		margin-left:20px;
	}
	.menu__item:first-of-type {
		margin-left:0;
	}
}
.slider {
	border-bottom: 1px solid #ff1e00;
} 
.slider__slide {
	max-width:100%;
	width: 1920px;
	position:relative;
}

.slider__caption {
	display:none;
	width:800px;
	max-width: 50%;
	font-family:'Open Sans',sans-serif;
	font-size:2rem;
	position: absolute;
	top:50%;
	right:0;
	transform:translateY(-50%);
	z-index:2;
	background:rgba(0,0,0,0.5);
	padding: 20px;
	color:/*#b0cb21*/#85c226;
	text-align:right;
	text-transform:uppercase;
}


@media screen and (min-width:60em) {
	.slider__caption {
		padding:40px;
		font-size: 5rem;
	}
}
@keyframes captionDown {
	from {
		transform:translateY(-150%);
		opacity:0;
		color:#fff;
	}
	to {
		transform:translateY(-50%);
		opacity:1;
		color:/*#b0cb21*/#85c226;
	}
}

.active.center .slider__caption {
	display:inline-block;
	animation-name: captionDown;
	animation-duration: 1s;
}
@media screen and (max-width:48em) {
	.active.center .slider__caption {
		display:none;
	}
}

.owl-carousel {
	position:relative;
}

.owl-item {
	opacity: 0.5;
	filter:blur(20px);

}
.owl-item.active.center{
	opacity: 1;
	filter:blur(0);
}

.owl-dots {
	display:inline-block;
	position: absolute;
	padding:10px;
	bottom: 0;
	left:50%;
	transform: translateX(-50%);
	text-align:center;
}


.owl-dot {
	display:inline-block;
	margin: 0 5px;
	width: 10px;
	height: 10px;
	background: /*#b0cb21*/#85c226;
	border: 1px solid #fff;
	border-radius:50%;
	transition:all 0.3s linear;
}


.owl-dot.active {
	background:#ff1e00;
}
.owl-dot:hover {
	background:#434342
}

.gallery {
	margin: 0 auto;
	max-width: 100%;
}
.gallery__link{
	display:block;
	text-decoration:none;
	font-weight: 600;
	padding: 0 0 10px;
	color:#000;
	background:#85c226;
	text-align:center;
	
}


.gallery__link:hover,
.gallery__link:focus {
	text-shadow:#ff1e00 0 0 10px;
	color:#fff;
	
}
.gallery__image {
	display:block;
	margin-bottom:10px;
	transition:opacity 0.3s linear;
}
.gallery__link:hover .gallery__image,
.gallery__link:focus .gallery__image {
	opacity: 0.5;
} 

/*.gallery__columnWidth {
	width: 379px;
}*/
/*.gallery__item {
	display:block;
	width:379px;
	max-width: 100%;
}*/



.divider {
	width: 100%;
	height: 300px;
	background-position:0 0;
	background-repeat:repeat;
	background-attachment:fixed;
}

.section {
	padding: 50px 0;
	color:#808080;
	background: rgba(255,255,255,0.88);
}
.section--nopadding {
	padding:0;
}

.section--bg-left {
	background:url('../img/bg.png') 0 50% no-repeat;
}
.section--bg-right {
	background:url('../img/bg.png') 100% 50% no-repeat;
}
.section--bg-overlap {
	background-position-y: calc(50% - 100px);
}

.section--text-align-right {
	text-align: right;
}

.section--overlap-padding {
	padding-bottom: 150px;
}
.section--overlap {
	margin-top: -100px;
}

.js .section--modal {
	display:none;
}

.section--gallery {
	background:#434342;
	/*padding:0;*/
}

.section--modal {
	background:#434342;
	color:#fff;
}


.section--biggertext .section__content {
	font-size: 1.9rem;
}

.section--gray {
	/*background:#434342;*/
	background:rgba(67, 67, 66, 0.88);

	color:#fff;

}
.section--green {
	background:#85c226;
	color:#434342;

}
.section--graybackground {
	background: rgba(0,0,0,0.8);
	color:#fff;	
}
.section--semitransparent {
  background-repeat: repeat, repeat;
  background-attachment: fixed, fixed;
  background-position: 0 0, 0 0;
}


.section--map > .grid > .grid__cell:nth-of-type(1) {
	padding: 50px;
}

.section__title,
.article__title {
	font-size: 2.5rem;
	font-family:'Open Sans',sans-serif;
	padding-bottom: 40px;
	text-transform:uppercase;
	font-weight: 400;
	color:#000;
}


@media screen and (min-width:60em) {
	.section__title,
	.article__title {
		font-size: 4rem;
	}
	.section__title:after {
		content: '';
		display:inline-block;
		border-bottom: 2px solid #000;
		width: 100px;
		height: 0;
		margin-left: 20px;
		vertical-align:middle;
	}
	.section__title--white:after {
		border-color:#fff;
	}
}

.section__title--centered {
	text-align:center;
}
.section__title--white{
	color:#fff;
}
@media screen and (min-width:60em) {

	.section__title--centered:before {
		content: '';
		display:inline-block;
		border-bottom: 2px solid #000;
		width: 100px;
		height: 0;
		margin-right: 20px;
		vertical-align:middle;
	}
	.section__title--white:before {
		border-color:#fff;
	}
}

.section__content {
	font-size:1.7rem;
	line-height: 1.4;
}

.section .head {
	font-weight: 600;
}
.section--gray .head,
.section--graybackground .head {
	font-weight: 300;
	/*text-transform:uppercase;*/
	font-size: 4.5rem;
	color:/*#b0cb21*/#85c226;
}
.section--green .head,
.section--graybackground .head {
	font-weight: 300;
	/*text-transform:uppercase;*/
	font-size: 4.5rem;
	color:/*#b0cb21*/#85c226;
}
.section ul,
.section ol {
	position:relative;
	left:20px;
	margin-right: 20px;
	margin-bottom: 20px;
}
.section--biggertext ul,
.section--biggertext ol {
	left:40px;
	margin-right: 40px;
	margin-bottom: 20px;
}

.section ul.no-margin,
.section ol.no-margin {
	left:0;
	margin-right: 0;
}
.section ul li {
	list-style-type: disc;
}
.section ol li{
	list-style-type: decimal;
}

.section .no-bullet > li{
	list-style: none;
}

.event {
	text-align:center;
}
.event__title {
	font-size:2.5rem;
	font-weight:600;
	text-transform:uppercase;
	padding-bottom: 20px;
	color:#000;
}

.news--front:before {
	content: '';
	display:block;
	height:0;
	flex: 1 0 100%;
	order: -1;
}
@media screen and (min-width: 960px) {
	.news--front:before {
		display:none;
	}
}

.news__item {
	text-align:center;
	display:flex;
	flex-direction:column;
	align-items:center;
}

.news--not-front .news__item {
	margin-bottom: 30px;
}

.news__item:first-of-type {
	order:-2;
}

.news__image {
	flex:none;
	display:block;
}

.news__title {
	flex: none;
	margin-top: 20px;
}

.news__link {
	color:inherit;
	text-decoration:none;
}
.news__content {
	display:block;
	flex:1;
}
.news__button {
	display:inline-block;
	padding: 10px;
	text-decoration:none;
	font-weight: 600;
	color:#000;
	background:#85c226;

}
.news__button:hover,
.news__button:focus {
	text-shadow:#ff1e00 0 0 10px;
	color:#fff;
	
}

.pagination {
	text-align:center;
	margin-top:50px;
}
.pagination .page-numbers {
	color:inherit;
	font-weight:600;
	text-decoration:none;
}
.pagination .page-numbers:hover,
.pagination .page-numbers:focus,
.pagination .page-numbers.current {
	color:#f00;
}
.morenews {
	margin-top: 40px;
	text-align:center;
}
.morenews__link {
	padding: 10px;
	text-decoration:none;
	font-weight: 600;
	color:#fff;
	border: 1px solid #85c226;	
}
.morenews__link:hover,
.morenews__link:focus {
	color:#000;
	background: #85c226;
	border-color: #fff;	
}


.article__image {
	max-width: 100%;
	height: auto;
	display:block;
	float:left;
	margin: 0 15px 15px 0;
}

.article__content {
	line-height:1.5;
}

.sidebar__title {
	font-family:'Open Sans',sans-serif;
	font-size:2.5rem;
	padding-bottom:20px;
	text-transform:uppercase;
	font-weight: 600;
	color:#000;
}

.article__content,
.sidebar__content {
	font-size:2rem;
	line-height: 1.4;

}

.article__content a,
.sidebar__content a {
	color:#ff1e00;
	text-decoration: none;
}
.article__content a:hover,
.article__content a:focus,
.sidebar__content a:hover,
.sidebar__content a:focus {
	text-decoration: underline;
}

.counters {
	padding: 50px 0;
	text-align:center;

}

.counters__content {
	font-weight:600;
	text-transform:uppercase;
	color:/*#b0cb21*/#85c226;;
}

.counter {
	display:block;
	color:#000;
	font-weight: 400;
	font-size:8rem;
	padding-bottom: 15px;
}

.contactdata:not(:last-of-type) {
	margin-bottom: 20px;
}
.contactdata__title {
	float:left;
	width: 30%;
}
.contactdata__content {
	float:left;
	width: 70%;
}

.tab-links {
	text-align:center;
	margin-bottom: 20px;
}
.tab-link {
	color:inherit;
	font-weight: 600;
	text-decoration:none;
}
.tab-link:hover,
.tab-link:focus,
.tab-link.active {
	color:#ff1e00;
}


.tab:not(:first-of-type) {
	display:none;
}

.map {
	height: 400px;
}

@media screen and (min-width:48em) {
	.map {
		height: 100%;
	}
}

.form {}

.form label {
	display:block;
	text-align: center;
	font-weight: 600;
	font-size:1.8rem;
}
.form .required {
	color: #ff1e00;
	font-weight: 600;
}
.form .required:before {
	content: '*';
}
.form input:not([type="submit"]),
.form textarea {
	display:block;
	width: 100%;
	padding:10px;
	/*border: 1px solid #434343;*/
	border:none;
	background:#ccc;
	/*box-shadow: inset 1px 1px 3px #85c226,inset -1px -1px 3px #434343;*/
	font-family:"Open Sans",Arial, sans-serif;
}

.form input:not([type="submit"])::placeholder,
.form textarea::placeholder {
	font-weight:600;
	color: #434343;
}

.form input[type="submit"] {
	display:block;
	max-width: 300px;
	margin: 0 auto;
	background:#85c226;
	border:none;
	text-transform:uppercase;
	color: #fff;
	font-size: 1.8rem;
	padding: 10px;
	cursor:pointer;
	font-weight:600;
	transition: all 0.3s linear;
}
.form input[type="submit"]:hover,
.form input[type="submit"]:focus {
	background: #434343;
	color:#85c226;
}

.form .info {
	text-align:center;
}

.socialmedia {
	display:inline-block;
	text-align:center;
	width: 50px;
	line-height:50px;
	font-size: 3rem;
	background:/*#b0cb21*/#85c226;
	/*color:#434342;*/
	color:#fff;
	text-decoration:none;
}
.socialmedia:not(:last-of-type) {
	margin-right:80px;
}

.footer {
	font-size:1.6rem;
}
.footer__title {
	font-family:'Open Sans',sans-serif;
	font-size:2.5rem;
	padding-bottom:20px;
	text-transform:uppercase;
}
.footer__title:after {
	content: '';
	display:inline-block;
	border-bottom: 2px solid #fff;
	width: 100px;
	height: 0;
	margin-left: 20px;
	vertical-align:middle;
}

.footer__content {
	line-height:1.5;
}

.back-to-top {
	display:inline-block;
	text-align:center;
	width: 50px;
	line-height:50px;
	font-size: 3rem;
	background:/*#b0cb21*/#85c226;
	color:#434342;
	text-decoration:none;
	position: fixed;
	bottom:0;
	right:0;
}
.back-to-top--hidden {
	display:none;
}

.back-to-top:hover,
.back-to-top:focus {
	background:#434342;
	color:/*#b0cb21*/#85c226;

}

#colorbox .container:before {
	display:block;
	content: '';
	height:0;
	width: 100%;
	max-width: 1225px;
}


  .cd-btn {
    background-color: rgb(30, 150, 49);
    color: white;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    width: fit-content;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    text-decoration: none;
    transition: text-shadow 0.3s ease, color 0.3s ease;
  }

  .cd-btn:hover {
    text-shadow: #ff1e00 0 0 10px;
    color: #fff;
  }
/* Container for the events grid */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* Card style for each event */
.event {
    display: grid;
    grid-template-rows: auto 1fr; /* Two rows: title and content */
    gap: 16px; /* Space between title and content */
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.event:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Event card content area */
.event-card {
    display: grid;
	grid-template-columns: 1fr 3fr 1fr;
	color: black;
    gap: 16px;
}

/* Title styling */
.event__title {
    text-align: center; /* Center-align title */
    margin: 0; /* Remove default margin */
}

.event__title h3 {
    margin: 0; /* Remove default margin from <h3> inside title */
}

/* Image styling inside event card */
.event-card .event__image img {
    width: 300px;
	height: 160px;
    border-radius: 8px; /* Optional: Add border radius for a softer look */
}

/* Content section styling */
.event__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 16px;
}

/* Button container styling */
.event-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
	min-width: 150px;
}

/* Button styling */
.cd-btn {
    background-color: #85c226;
    color: white;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cd-btn:hover {
    background-color: #434342;
    color: #85c226;
}

/* Responsive adjustments for screens 768px and below */
@media screen and (max-width: 768px) {
    .event {
        padding: 12px;
    }
    
    .event-card {
		display: flex;
        flex-direction: column; /* Stack elements vertically */
    }
    
    .event__title {
        font-size: 1.8rem; /* Adjust font size */
    }

    .event__content {
        padding: 12px; /* Reduce padding */
        text-align: center; /* Center-align content on smaller screens */
        align-items: center;
    }

    .event-button {
        padding: 12px;
        justify-content: center; /* Center button on smaller screens */
    }
    
    .cd-btn {
        font-size: 1.2rem; /* Adjust font size for button */
        padding: 8px 16px; /* Adjust padding */
        width: 100%; /* Full width button */
    }
}
