:root{
	--base: #93b876;
	--squash: #d97858;
}
*{
	margin: 0;
	padding: 0;
}
@font-face{
	font-family: FontFamilyChoosed;
	src: url("Sans Mateo 2 Regular.ttf");
}

[DISABLED]{
	cursor: not-allowed;
}
[title]{
	cursor: help;
}
[onclick]{
	cursor: pointer;
}
svg{
	height: 24px;
	width: 24px;
	vertical-align: sub;
}

a{
	color: var(--squash);
	font-weight: bold;
	text-decoration: none;
}
body{
	font-family: FontFamilyChoosed, serif;
}
button{
	font-family: FontFamilyChoosed, serif;
}
footer{
	background-color: var(--base);
	display: flex;
	justify-content: space-evenly;
	padding: 1em;
	text-align: center;
}
h1{
	font-size: 3em;
	text-align: center;
}
h2{
	font-size: 2em;
	margin: 1em 0 0 0;
}
h2::before{
	content: url("./h2-before.svg");
  	display: inline-block;
  	width: 24px;
  	height: 24px;
}
main{
	min-width: 320px;
	max-width: 1250px;
	margin: auto;
	margin-bottom: 2em;
	margin-top: 2em;
}
section{
	padding: 0.5em;
}
p{
	font-size: 1.2em;
}
/************************************************************/
footer img.logo{
	max-width: 100%;
}
footer h3{
	font-size: 2.5em;
}
footer p{
	font-size: 1.5em;
}
footer a{
	background-color: white;
	border-radius: 16px;
	padding: 0.5em 1em;
	display: inline-block;
}
footer div:nth-child(1), footer div:nth-child(2), footer div:nth-child(4){
	width: 15%;
}
footer div:nth-child(3){
	width: 30%;
}
footer iframe{
	width: 100%;
}
footer table{
	border: 1px solid black;
	margin: auto;
}
.table-title{
	background-color: white;
	font-weight: bold;
}
/************************************************************/
#next-event {
	background-color: white;
	border: 2px solid black;
	border-radius: 8px;
	display: flex;
	overflow: hidden;
	text-align: center;
	max-height: 6em;
}
#calendar-date {
	font-size: 2em;
	font-weight: bold;
}
#calendar-date :first-child {
	background-color: red;
	color: white;
	padding: 4px;
}
#calendar-note{
	border-left: 2px solid black;
	width: 100%;
}
#calendar-note svg {
	height: 18px;
	width: 18px;
}
/************************************************************/
#carousel-img {
	height: 512px;
}
#carousel-img img {
	display: none;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
	border: 2px solid gray;
	border-radius: 1em;
	background-color: white;
	padding: 0.5em;
	box-shadow: 4px 4px 4px lightgray;
}

/************************************************************/
#search-articles-toolbox{
	text-align: center;
	margin-bottom: 1em;
}
#search-articles-toolbox button {
	background-color: var(--base);
	border: 2px solid black;
	border-radius: 8px;
	box-shadow: 2px 1px 1px gray;
	color: white;
	font-size: 1.2em;
	font-weight: bold;
	padding: 4px 8px 4px 8px;
}
#search-articles-toolbox button:hover{
	background-color: var(--squash);
}
#search-articles-toolbox button.not-selected{
	background-color: var(--base);
}
#search-articles-toolbox button.selected{
	background-color: var(--squash);
}

/************************************************************/
.navbar{
	display: flex;
	justify-content: space-between;
	font-size: 2em;
}
.navbar li{
	background-color: var(--base);
	list-style: none;
}
.navbar a{
	border-right: 1px solid white;
	color: white;
	display: block;
	width: calc(100vw/5);
	text-align: center;
}
.navbar ul{
	display: none;
}
.nav-asso:hover ul{
	display: block;
	position: absolute;
}

.navbar img{
	height: 0.9em;
}

.navbar li a:hover{
	background-color: var(--squash);
}

.navbar li ul li {
	background-color: white;
}
.navbar li ul li a {
	border-left: 1px solid var(--base);
	border-right: 1px solid var(--base);
	border-top: 1px solid var(--base);
	border-bottom: 1px solid var(--base);
	color: var(--base);
}
.navbar li ul li a:hover {
	background-color: var(--squash);
	color: white;
}
.navbar-selected{
	background-color: var(--squash);
}

/*****************************************************************/
.section-even{
	background-color: white;
}
.section-odd{
	background-color: var(--base);
}
.section-odd a {
	color: white;
}
.section-odd a:hover {
	color: var(--squash);
}

/*****************************************************************/
.articles {
	display: flex;
	align-items: flex-start;
	border: 2px solid gray;
	border-radius: 16px;
	margin-bottom: 1em;
	padding: 0;
	overflow: hidden;
}
.articles:hover{
	background-color: var(--squash);
}
.articles:hover h3{
	color: white;
}
.articles h3{
	font-size: 1.2em;
}
.articles.section-even p{
	color: gray;
}
.articles.section-odd p{
	color: white;
}
.articles:hover p{
	color: black;
}
a .articles{
	color: black;
}
/*****************************************************************/
#article img{
	max-height: 33vh;
}
.article-date{
	color: gray;
	fill: gray;
}
.article-text{
	margin-top: 1em;
	margin-bottom: 1em;
	text-align: justify;
}
.article-logo {
	width: 64px;
	margin-right: 1em;
}
.article-title-date {
	display: inline-block;
}

/*****************************************************************/
@media only screen and (max-width: 1000px) {/*smartphone (min--moz-device-pixel-ratio: 1.5) / (max-width: 500px)*/
	.navbar{
		font-size: 1.5em;
	}
}

@media only screen and (max-width: 800px) {/*smartphone (min--moz-device-pixel-ratio: 1.5) / (max-width: 500px)*/
	footer{
		flex-direction: column;
		gap: 1em;
	}
	footer div:nth-child(1), footer div:nth-child(2), footer div:nth-child(3), footer div:nth-child(4){
		width: 100%;
	}
	.navbar{
		flex-direction: column;
	}
	.navbar a{
		width: 100vw;
	}
	.nav-asso:hover ul{
		display: none;
	}
	#article img{
		width: 100%;
		max-height: inherit;
	}
}

/*@media only screen and (max-width: 500px) {//smartphone (min--moz-device-pixel-ratio: 1.5) / (max-width: 500px)
	body{
		font-size: 3em;
	}
	
}*/