h1 {
	font-size: 2.5em !important;
}

h1.homepage {
	margin: 120px 0 100px;
	text-align: center;
	font-size: 2.5em !important;
}

#banner {
	min-height: 600px;
}

#banner h2 {
	padding: 10px 20px;
	margin: auto;
	width: fit-content;
	/*background-color: #c5d53a;*/
	/*background-color: #000;*/
}

#banner h2:after {
	content: none;
}

p {
    color: rgb(110, 110, 110);
    line-height: 1.8em;	
}

.danger {
	color: rgb(220, 53, 69) !important;
}


.form-group.danger p {
	color: rgb(220, 53, 69) !important;
}

.wrapper {
	padding: 5em 0 5em 0;
}

.separation {
	padding: 2em 0 2em 0;
}

span.error {
	color: rgb(220, 53, 69) !important;
}

section.feature img {
	width: 100%;
	/*height: 100%;*/
	object-fit: cover;
}

#header.alt nav {
	position: fixed;
	background-color: #fff;
	border-bottom: solid 1px #bfd039;
	z-index: 100;
}

#header nav {
    border-bottom: none;
}

#header nav .logo {
	height: 3.5em;
}

#header.alt {
	padding: 2em 0 2em 0;
}

#header #logo img {
	width: 100%;
	max-width:300px;
}

#header.page #logo img {
	margin-top: 5%;
	height: 90%;
	width: inherit;
}

#titleBar span.title img {
	position: absolute;
	display: block;
	right: 0;
	margin: 0 10px;
	height: 40px;
}

#navPanel .link {
	padding: .8em 0;
    height: inherit;
    line-height: 1.5em;
}

#navPanel .link.depth-1 {
	padding-left: 1.25em;
}
	
#navPanel .link .indent-1 {
	width: 0;
}

#nav li:hover a {
	color: #000;
}

ul.submenu.dropotron {
	z-index: 10001;
}

ul.submenu.dropotron li:hover a {
	color: #000 !important;
}
	
.submenu {
	cursor: default;
}


section.feature {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}


#activities-home {
    /*grid-area: content;*/
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 30px;
    justify-items: stretch;
    justify-content: space-around;
    max-width: inherit;
    margin-bottom: 150px;
}

#activities {
    /*grid-area: content;*/
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 30px;
    justify-items: stretch;
    justify-content: space-around;
    max-width: inherit;
    margin-bottom: 150px;
}

#activities section, #activities-home section {
	padding: 0;
	margin: 0;
	text-align: center;
	box-shadow: 0 0 5px 0 rgba(144, 144, 144, 0.25);
	box-sizing: border-box;
	transition-duration: .25s;
    transition-property: background, border, box-shadow;
}

#activities section:hover, #activities-home section:hover {
	box-shadow: 0 0 10px 0 rgba(144, 144, 144, 0.5);
}

#activities section > div, #activities-home section > div {
	padding: 25px;
	margin: 0;
}

#activities section img, #activities-home section img {
	border-radius: 0;
	object-fit: cover;
}

#main .albums {
	/*grid-area: content;*/
	display: grid;
	grid-template-columns: repeat(4, 1fr);
  	grid-template-rows: auto;
	gap: 10px;
	justify-items: stretch;
	justify-content: space-around;
	max-width: inherit;
	margin-bottom: 150px;
}

#main .albums h3 {
	display: table-cell;
	padding: 0 0 10px 0;
	height: 60px;
	font-size: 1.2em;
	vertical-align: bottom;
	line-height: 1.2;
	text-wrap: balance;
}

#main .albums img {
	display: block;
}

#main .albums img {
	width: 100%;
	object-fit: cover;
}

#main .albums .block {
	position: relative;
	margin-bottom: 50px;
	color: #fff;
	transition: .2s;
	overflow: hidden;
}

#main .albums .block a:hover img {
	opacity: 0.7;
}

#main .albums .block .box {
	position: relative;
	margin-top: -60px;
	padding: 20px;
	background-color: #d0122a;
}

#main .main-carousel {
	height: calc(100vh - 160px);

}

#main .main-carousel .carousel-cell {
  	width: 100%;
  	margin-right: 0;
  	height: calc(100vh - 160px);
}

#main .main-carousel .carousel-cell img {
	width: 100%;
	height: 100%;
	/*margin-top: -160px;*/
	object-fit: cover;
}

div.hr {
	border-top: solid 1px rgba(144, 144, 144, 0.25);
	margin-top: 6em;
	padding-top: 8em;
}

.image {
	border-raduis: 0 !important;
}

audio {
	width: 100%;
	color: red;
}

ul.files, ul.links {
	padding: 0;
	margin: 0;
	width: 100%;
}

/*
ul.files {
	max-width: 400px;
}
*/

ul.files li, ul.links li {
	padding: 0;
	border-top: 0;
	border-bottom: solid 1px rgba(144, 144, 144, 0.25);
	list-style: none;
}

ul.files li a, ul.links li a {
	font-weight: bold;
	text-decoration: none;
}

ul.files li a span.text, ul.links li a span.text {
	position: relative;
	display: inline-block;
	width: calc(100% - 45px);
	transition: color 0.4s;
}

ul.files li a:hover span.text, ul.links li a:hover span.text {
	color: #c5d53a;
}

ul.files li a span.text::after, ul.links li a span.text::after {
	content: '';
	position: absolute;
	margin-top: 8px;
	right: -45px;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-size: 20px;
}

ul.files li a span.text::after {
	background-image: url('/assets/templates/images/icons/download.svg');
	transition: background-image .4s;
}

ul.files li a:hover span.text::after {
	background-image: url('/assets/templates/images/icons/download-hover.svg');
}

ul.links li a span.text::after {
	background-image: url('/assets/templates/images/icons/link.svg');
	transition: background-image .4s;
}

ul.links li a:hover span.text::after {
	background-image: url('/assets/templates/images/icons/link-hover.svg');
}

ul.actions {
	/*display: block;*/
	font-size: 200%;
}

ul.actions li {
	margin-right: 10px;
}

ul.labeled-icons li {
	margin-bottom: 1em;
}

ul.city {
	padding-left: 0;
	margin-left: 0;
}

ul.city li {
	list-style: none;
}

label {
	margin: 1.3em 0 0 0;
}

input[type="date"] {
	width: 10em;
}

.fslightbox-container button {
	padding: 8px 16px !important;
	color: #fff;
	background-color: #363636 !important;
	border: none !important;
	border-radius: 0;
}

div.form-group p {
	margin: 0;
}

div.form-pagination {
	margin: 3em 0 0 0;
}

#maposm {
	width: 100%;
	height: 500px;
}

#footer img {
	max-width: 240px;
}

#footer div.hours {
	width: 85%;
}

#footer div.hours p {
	margin-bottom: 1.5em;
	line-height: normal;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
	color: #000;
}

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

	#main .albums h3 {
		font-weight: 1.2em;
	}

}

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

	.feature {
		text-align: inherit;
	}

	#activities {
	    grid-template-columns: repeat(2, 1fr);
	}

	ul.files li, ul.files li a, ul.links li, ul.links li a {
		text-align: left !important;
	}

	#main .albums {
		grid-template-columns: repeat(2, 1fr);
	}

}

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

	#header {
	   display: block;
	}

	#header nav, #header.page {
	   display: none;
	}
	
	#header img {
       padding: 0 10px;
    }

    div.hr {
		margin-top: 3em;
		padding-top: 5em;
	}

}

@media screen and (max-width: 560px) {
	#banner {
		min-height: 400px;
	}
}

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

	html, body {
		min-width: 200px;
	}

	h1 {
	   font-size: 2em !important;
	}

	button {
		padding: 0 1em;
	}

    #activities {
        grid-template-columns: repeat(1, 1fr);
    }

	.row .col-12-medium:not(:first-child) {
	   margin-top: 4em;
	}

	#main .albums {
		grid-template-columns: repeat(1, 1fr);
	}

	#footer ul.actions.social {
		flex-direction: row;
	}

	#footer ul.actions.social li {
		padding-top: 0;
	}

}

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

	#banner {
		min-height: 200px;
	}

	h1.homepage {
		margin: 80px 0 60px 0;
	}

}

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

	h1.homepage {
		font-size: 2em !important;
	}

}

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

	#footer ul.actions.social {
		flex-direction: row;
	}

	#footer ul.actions.social li, ul.actions.social:not(.fixed) li {
		padding: 0;
		font-size: 24px;
		width: 30px;
	}

}


/*
	QUERIES CONTAINERS
*/

#activities section {
	container-type: inline-size;
	container-name: activities;
}

@container activities (width <= 379px) {

	#activities section > div {
		padding: 20px !important;
	}

}

@container activities (width <= 299px) {

	#activities section > div {
		padding: 15px !important;
	}

}


/*
	QUERIES ZOOM


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

	body {
		background-color: red;
	}

}

@media screen and (max-width: 380px), (max-height: 380) {

	body {
		background-color: blue !important;
	}

}
*/
