﻿@charset "utf-8";
body {
	font-size:small;
	background-image: url("/images/fond-site.webp");
	background-position: center;
	background-size: contain;
	background-color: rgb(238, 232, 235);
	padding: 0 auto;
	color: #000;
	padding: 0;
	margin: 0 auto;
	font-family: Arial, sans-serif;
}
header {
	padding: 0;
	display: inline-block;
	vertical-align :middle;
	width: 100%;
	max-width:1024px;
	}
#nom-alcaa {
	font-size:4.5vw;
	color: #AA504D;
	display: inline-block;
	vertical-align :middle;
}
nav {
	width:100%;
	max-width:1024px;
	margin:auto;
}
article {
	width: 100%;
	max-width:1024px;
	margin: 5px;
  	position: relative;
	padding-bottom:20px;
}
aside {
	width: 16%;
	max-width: 200px;
	
}
h1, h2 {
	color: #AA504D;
}
h1 {
	font-size: 2em;
	margin: 0.67em 0;
  }
h2 {
	font-size: 1.6em;
	margin: 0.50em 0;
  }
	
p {
	font-size: medium;
}
ul {padding-left: 5%;}
img {
	padding: 2px;
	object-fit: scale-down;
}
figcaption {
	font-size: smaller;
	text-align: center;
}
footer {
	width: 100%;
	max-width:1024px;
	padding: 0 ;
	font-size: small;
} 
footer p {
	text-align:center;
	font-size: smaller;
	/* margin: 0; zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.i10l {
	max-width:10%;
	float:left;
}
.i20l {
	max-width:20%;
	float:left;
}
.i40l {
	max-width:40%;
	float:left;
}
.i40r {
	max-width:40%;
	float:right;
}
.i20r {
	max-width:20%;
	float:right;
}
.i90c {
	max-width: 90%;
	display:block;
	margin: auto;
	border-radius:5px;
}
.i40c {
	width: 40%;
	display:block;
	margin: auto;
	border-radius:5px;
}
.i100c {
	width: 100%;
	display:block;
	margin: auto;
}
.right {
	clear: right;
}

#topbande img {
	width: 100%;
	max-width:1024px;
}

hr.dotted {
	border-top: 3px dotted #bbb;
}
.thumbnail {
	position: relative;
	z-index: 0;
}

.thumbnail:a img {
	border-width: 0;
	padding: 8px;
	max-width: 150px;
}

.thumbnail:hover {
	background-color: transparent;
	z-index: 50;
}

.thumbnail span {
	/*CSS for enlarged image*/
	position: absolute;
	background-color: white;
	padding: 5px;
	left: -1000px;
	border: 1px dashed gray;
	visibility: hidden;
	color: black;
	text-decoration: none;
	z-index: 70;
}

.thumbnail span img {
	/*CSS for enlarged image*/
	border-width: 0;
	padding: 2px;
	max-width: 100vw;
}

.thumbnail:hover span {
	/*CSS for enlarged image on hover*/
	visibility: visible;
	top: -400px;
	left: -20vw;
	/*position where enlarged image should offset horizontally */
}

.thumbnail span p {
	/*CSS for text*/
	border-width: 0;
	padding: 2px;
	width: 300px;
	height: auto;
}

.thumbnail span blockquote {
	/*CSS for text*/
	border-width: 0;
	padding: 2px;
	margin: 0px 3px 0px 3px;
	width: 450px;
	height: auto;
	top: 0px;
	left: -500px;
}
.hoverwrap {
	/* controle image dans hover */
	float: left;
	max-width: 20%;
	margin: 5px;
}
.push {
	border: 0;
	line-height: 2.5;
	padding: 0 20px;
	font-size: 1rem;
	text-align: center;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
	border-radius: 10px;
	background-color: rgba(220, 0, 0, 1);
	background-image: linear-gradient(
	  to top left,
	  rgba(0, 0, 0, 0.2),
	  rgba(0, 0, 0, 0.2) 30%,
	  rgba(0, 0, 0, 0)
	);
	box-shadow:
	  inset 2px 2px 3px rgba(255, 255, 255, 0.6),
	  inset -2px -2px 3px rgba(0, 0, 0, 0.6);
  }
  
  .push:hover {
	background-color: rgba(255, 0, 0, 1);
  }
  
  .push:active {
	box-shadow:
	  inset -2px -2px 3px rgba(255, 255, 255, 0.6),
	  inset 2px 2px 3px rgba(0, 0, 0, 0.6);
  }
  
@media all and (min-width: 601px)
{
body {
	font-size:medium;
	width:100%;
	max-width:1024px;
}
#nom-alcaa {
	font-size:3vw;
}
p {
	font-size: large;
}
.thumbnail span img {
	/*CSS for enlarged image*/
	border-width: 0;
	padding: 2px;
	width: 800px;
	max-width: 60vw;
}

}