.cover {
	position: relative;
	min-height: 670px;
}

@media (min-width: 992px) {
	.cover {
		height: 100vh;
	}
}

@media (max-width: 991px) {
	.cover {
		padding: 15px;
		padding-top: 125px; /* header height + padding */
		min-height: 100vh;
	}
}

.cover:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: -1;
}

.cover-slick {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -2;
}

.cover-slick div {
	height: 100%;
	background-size: cover;
	background-position: center;
}

.cover .toggle-slick {
	position: absolute;
	top: 185px;
    right: 45px;
	background: rgba(255,255,255,0.85);
	border: 0;
	width: 40px;
	height: 40px;
	transform: rotate(45deg);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s;
}

.cover .toggle-slick:hover {
	background: rgba(255,255,255,1);
}

.cover .toggle-slick .fa {
	font-size: 0;
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 0;
	transform: rotate(-45deg);
}

.cover .toggle-slick .fa::before {
	content: '\f04c';
	font-family: FontAwesome;
	font-size: 14px;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.cover .toggle-slick.slick-paused .fa::before {
	content: '\f04b';
}

@media (max-width: 991px) {
	.cover .toggle-slick {
		display: none;
	}
}

/**/

video {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	transition: 1s opacity;
	object-fit: cover;
	z-index: -1;
}

#toggle-video {
	position: absolute;
	top: 125px;
	right: 15px;
	background: none;
	border: 0;
}

@media (max-width: 991px) {
	video, #toggle-video {
		display: none;
	}
}

/**/

.services {
	visibility: hidden;
}

@media (min-width: 992px) {
	.services {
		position: absolute;
		bottom: 50px;
		right: 0;
		width: 100%;
	}
}

.services-slick {
	margin: 0 auto;
	max-width: 1700px;
}

@media (min-width: 992px) {
	.services-slick {
		padding: .5rem 1rem;
	}
}

.service {
	display: block;
	border: 1px solid #ecfc9d;
	padding: 5px;
	margin: 15px auto;
	max-width: 150px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service:hover {
	transform: translateY(-8px) scale(1.05);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
	border-color: #fff;
}

.service:hover figure {
	background: rgba(14,29,11,0.95);
}

.slick-slide:nth-child(9n+1) .service {
	border: 1px solid #ecfc9d;
}

.slick-slide:nth-child(9n+2) .service {
	border: 1px solid #73bad6;
}

.slick-slide:nth-child(9n+3) .service {
	border: 1px solid #eab109;
}

.slick-slide:nth-child(9n+4) .service {
	border: 1px solid #9fb51d;
}

.slick-slide:nth-child(9n+5) .service {
	border: 1px solid #d63a2a;
}

.slick-slide:nth-child(9n+6) .service {
	border: 1px solid #86cbe0;
}

.slick-slide:nth-child(9n+7) .service {
	border: 1px solid #64777f;
}

.slick-slide:nth-child(9n+8) .service {
	border: 1px solid #9ab717;
}

.slick-slide:nth-child(9n+9) .service {
	border: 1px solid #deaa01;
}

.service figure {
	text-align: center;
	display: block;
	background: rgba(14,29,11,0.8);
	padding: 20px;
	color: #fff;
}

.service .icon img {
	display: block;
	margin: 0 auto;
	margin-bottom: 5px;
	height: 50px;
}

@media (max-width: 766px) {
	.services-slick {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}

	.service {
		margin: 0 auto;
		max-width: 100%;
		line-height: 1rem;
	}

	.service figure {
		padding: 10px;
	}

	.service figcaption {
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
	}
}


/* Articles */

.articles {
	padding: 3rem 2rem;
}
.articles h2 {
	font-weight: bold;
	margin-bottom: 2rem;
}
.articles article {
	display: block;
	height: 100%;
}
.articles .row > div {
	margin-bottom: 30px;
}
.article {
	display: block;
	background: #fff;
	color: #000;
	box-shadow: 0 0 25px rgba(0,0,0,0.1);
	position: relative;
	height: 100%;
}
.article img {
	display: block;
	width: 100%;
}
.article .info {
	padding: 1rem;
}
.article h3 {
	font-weight: bold;
}
.article .date {
	padding-bottom: 56.25%;
    position: relative;
    background: rgb(206 189 111);
    background: linear-gradient(45deg, rgb(246 183 77) 0%, rgb(160 183 132) 50%, rgb(121 204 200) 100%);
}
.article .date > div {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	
	font-size: 3rem;
	color: #fff;
	text-align: center;
	font-weight: bold;
}
.article .date > div > span:nth-child(2) {
	font-size: 1.5rem;
	display: block;
}
.read-more {
	background: #fff;
	display: inline-block;
	padding: .25rem .75rem;
	font-weight: bold;
	color: inherit;
	border: 1px solid #ddd;
}

/**/

.events {
	background-color: #fff;
}

.ribbon-date {
	position: absolute;
	top: 0;
	left: 15px;
	background: #fff;
	color: #000;
	padding: .5rem 1rem;
}
.ribbon-date span {
	display: block;
}
.ribbon-date span:nth-child(1) {
	font-weight: bold;
	font-size: 1.5rem;
}

/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.news {
	padding: 1rem;
	background: #fff;
}

.news .content {
    position: relative;
}

.news .buttons {
    position: absolute;
    top: 1.9rem;
    left: 1.9rem;
}

.news a {
	color: #000;
	display: block;
}

@media (min-width: 768px) {
	.news a {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

.news h2 {
	background: #111;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
    padding: .219rem .75rem;
    margin: 0;
    border-radius: 2rem;
    z-index: 5;
}

.news h2 a {
	color: inherit;
}

@media (max-width: 991px) {
	.news h2 {
		display: none;
	}
}

@media (min-width: 992px) {
	.bn-news {
		padding-right: 100px;
	}
}

.bn-news ul li a {
	font-size: 1.2rem;
    line-height: 1.2rem;
    padding: .36rem 0;
    color: inherit;
}

.bn-news ul li a:hover {
	color: #000;
}

.bn-effect-scroll .bn-news ul li {
	padding: 0 1rem;
}

.news .date {
	font-weight: bold;
}

.news .date:after {
	content: ' | ';
	margin: 0 10px;
}

.news-toggle {
	width: 26px;
	height: 26px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #111;
	color: #fff;
	background: none;
	font-size: 14px;
}

.bn-controls {
	left: 0;
	right: auto;
}

.bn-controls button {
	border: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	padding: 0;
	margin-right: 5px;
}

.bn-arrow {
    top: -1px;
}

.bn-pause::before, .bn-pause::after {
    background-color: #fff;
}
.bn-play::after {
    border-left-color: #fff;
}

.bn-controls button:hover {
    background-color: #111;
	color: #fff;
	box-shadow: 0 0 5px rgb(255 255 0 / 90%);
}


/**/

@media (min-width: 992px) {
	.centered {
		position: absolute;
		top: 50%;
		left: 50%;
		margin-right: -50%;
		transform: translate(-50%, -50%);
	}
}

@media (max-width: 991px) {
	.centered {
		text-align: center;
	}
	.centered-banner img {
		max-width: 100%;
	}
}

/**/



/* Fast Nav */

.fast-navigation {
	padding: 1rem 0;
	border-radius: 0 0 2rem 2rem;
	color: #fff;
	width: fit-content;
    margin: 0 auto;
}

.fast-navigation:after {
	clear: both;
	display: block;
	content: '';
}

@media (min-width: 992px) {
	.fast-navigation > label, .fast-navigation > select, .fast-navigation > span {
		float: right;
		display: block;
	}
}


.fast-navigation label {
	background: #0372ac;
	border-radius: 0 2rem 2rem 0;
	padding: 5px 10px;
	border: 0;
	margin: 0;
}

.fast-navigation select {
	background: #fff;
	border: 0;
	border-radius: 0;
	padding: 5px 10px;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

.fast-navigation button {
	background: #0372ac;
	border: 0;
	border-radius: 2rem 0 0 2rem;
	padding: 5px 10px;
	color: #fff;
	font-weight: bold;
}

@media (min-width: 992px) {
	.fast-navigation .smart-nav-sub > label,
	.fast-navigation .smart-nav-sub > select,
	.fast-navigation .smart-nav-sub > button {
		float: right;
		display: block;
	}
}

@media (max-width: 991px) {
	
	.fast-navigation > label, .fast-navigation > select, .fast-navigation > span {
		display: block;
		border-radius: 2rem;
		width: 100%;
	}
	
	.fast-navigation .smart-nav-sub > label,
	.fast-navigation .smart-nav-sub > select,
	.fast-navigation .smart-nav-sub > button {
		display: block;
		border-radius: 2rem;
	}
	
	.fast-navigation .smart-nav-sub > select {
		width: 100%;
		margin: .5rem 0;
	}
	
	.smart-nav-submit {
		margin: 0 auto;
	}
}

/**/

@media (min-width: 992px) {
	.side-banners {
		position: absolute;
		top: 50%;
		transform: translate(0, -50%);
		z-index: 10;
		margin-top: -60px;
		font-size: 1.2rem;
	}
	.side-banners.side-banners-right {
		right: 0;
	}
	.side-banners.side-banners-left {
		left: 0;
	}
}
@media (max-width: 991px) {
	.side-banners {
		font-size: 1.8rem;
		margin-left: -15px;
		margin-top: 1rem;
	}
}
.side-banners.side-banners-left > div {
	padding: 15px 0;
}
.side-banners a {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	padding: 0.5rem 0;
	color: #fff;
	text-decoration: none;
}
.side-banners a:hover {
	color: #fff;
}
.side-banners a:hover::before {
	width: 90px;
}
.side-banners a:hover::after {
	left: 90px;
}

.side-banners-left > div:nth-child(2) a:hover::before {
	width: 160px;
}
.side-banners-left > div:nth-child(2) a:hover::after {
	left: 160px;
}

.side-banners-left > div:nth-child(3) a:hover::before {
	width: 70px;
}
.side-banners-left > div:nth-child(3) a:hover::after {
	left: 70px;
}
.side-banners a:hover span {
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
}
.side-banners a img {
	display: none;
}
.side-banners a::before {
	content: '';
	display: block;
	width: 60px;
	height: 2px;
	background: #fff;
	flex-shrink: 0;
	transition: width 0.3s ease;
}
.side-banners a::after {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	transform: rotate(45deg);
	margin: 0 0.75rem 0 0;
	position: absolute;
    left: 60px;
	transition: left 0.3s ease;
}
.side-banners div:nth-child(1) a::after {
	background-color: #6b8e23;
}
.side-banners div:nth-child(2) a::after {
	background-color: #e8a618;
}
.side-banners div:nth-child(3) a::after {
	background-color: #5bc0de;
}
.side-banners a span {
	font-weight: bold;
	white-space: nowrap;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
	display: block;
	padding-left: 30px;
}

.side-banners-left > div:nth-child(2) a::before {
	width: 130px;
}

.side-banners-left > div:nth-child(2) a::after {
	left: 130px;
}

.side-banners-left > div:nth-child(3) a::before {
	width: 40px;
}

.side-banners-left > div:nth-child(3) a::after {
	left: 40px;
}

/**/
.cover-content {
	color: #fff;
}

@media (min-width: 992px) {
	.cover-content {
		position: absolute;
		top: 50%;
		right: 10%;
		transform: translate(0, -50%);
		z-index: 9;
		
		margin-top: -60px;
	}
}

h1 > div:nth-child(1) {
	font-size: clamp(1.25rem, 2.5vw, 2rem);
}

h1 > div:nth-child(2) {
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: bold;
}

/* Search Form */

.idx-search-wrapper {
	margin-top: 1.5rem;
	max-width: 600px;
}

.idx-search-label {
	display: block;
    font-weight: bold;
    color: #1f3844;
    margin-bottom: 0.5rem;
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 15px;
}

.idx-search-form {
	display: flex;
	align-items: center;
	background: #fff;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.35);
	display: relative;
}


.idx-search-form input[type="text"] {
	flex: 1;
	border: 0;
	background: #fff;
	padding: 25px 15px 5px 0;
	font-size: 22px;
	outline: none;
	direction: rtl;
}

.idx-search-form input[type="text"]::placeholder {
	color: #a0aab0;
}

.idx-search-form .submit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	background: linear-gradient(135deg, #7ec883, #4a9d5b);
	border: 0;
	padding: 10px;
	color: #fff;
	font-weight: bold;
	font-size: 1rem;
	cursor: pointer;
	white-space: nowrap;
	margin: 5px;
	transition: background 0.3s;
	line-height: 1rem;
}

.idx-search-form .submit:hover {
	background: linear-gradient(135deg, #6dba73, #3d8a4e);
}

.idx-search-wrapper {
	position: relative;
}

@media (max-width: 991px) {
	.idx-search-wrapper {
		max-width: 100%;
	}
}

/**/


@media (min-width: 992px) {
	.footer {
		background: rgba(14,29,11,0.8);
		position: absolute;
		bottom: 0;
		right: 0;
		width: 100%;
		color: #fff;
	}

	.footer a {
		color: #fff;
	}
}