/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600&family=Oswald:wght@400&&family=Raleway:wght@300;400;600&display=swap');

*:focus {
	outline: none !important
}

html, body {
	height: 100%;
	padding: 0;
	margin: 0;
}
body {
	display: flex;
	flex-direction: column;
    background: #fff url("images/bg_main.png") top right no-repeat;
    background-size: contain;
    background-attachment: fixed;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #444;
}

hr {
    height: 2px;
    margin: 30px 0;
    padding: 0;
    color: #999;
    background-color: #999;
    border: none;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: none;
	vertical-align: bottom;
}

a {
    text-decoration: none;
}

sup.typo_exposants {
	vertical-align: text-top;
	font-size: .8em;
}
ul.spip li {
	list-style: disc;
}

/* haut de page *************************************************/
#top {
	position: fixed;
	bottom: 40px;
	right: 20px;
    width: 50px;
    height: 50px;
	font-size: 40px;
	background-color: #BA1F3B;
    color: #fff;
	text-align: center;
	text-decoration: none;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
	display: none;
	line-height: 50px;
	cursor: pointer;
    border-radius: 50%;
	border: 3px solid #fff;
	z-index: 100;
}
#top:hover{
	background-color: #444;
}

/* cache-cache ************* °_° **********************/

header nav.resp, header nav.mini {
	display: none;
	visibility: hidden;
	opacity: 0;
}

/******************************** °_° *****************/

span.outils {
    position: fixed;
    top: 15px;
    right: 40px;
    width: 30px;
    z-index: 200;
    animation-delay: .5s;
}
span.outils i.fas {
    margin: 2px 0;
    font-size: 30px;
	position: relative;
}
span.outils a {
    color: #666;
    transition: all .3s ease;
}
span.outils a:hover {
    color: #ba1f3b;
}
span.outils i.fas:hover:after, span.outils i.fas:focus:after {
	content: attr(aria-label);
	position: absolute;
	top: 2px;
	right: 36px;
	z-index: 1;
	white-space: nowrap;
	padding: 0 1em;
	height: 26px;
	line-height: 26px;
	background-color: #BA1F3B;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	font-family: Verdana;
	text-transform: uppercase;
	border-radius: .2em;
}

header {
	position: fixed;
	display: block;
	width: 100%;
    height: 100px;
    background-color: #ccc;
    padding: 0 40px 0 0;
    color: #999;
    z-index: 100;
}
header .logo {
    float: left;
    height: 70px;
    width: auto;
    background-color: #ba1f3b;
    padding: 15px 40px;
    border-radius: 0 50px 50px 0;
    animation-delay: .25s;
}
header .logo img {
    width: auto;
    height: 70px;
}
header nav {
    float: left;
    display: block;
    width: auto;
    height: 100px;
    line-height: 100px;
    margin-left: 40px;
    animation-delay: 1s;
}
header nav i.fas {
    float: left;
    font-size: 30px;
    margin: 35px 12px 0 0;
}
header nav a {
    float: left;
    font-family: 'Barlow Condensed';
    font-size: 1.4em;
    font-weight: 400;
    color: #ba1f3b;
    margin: 0 12px 0 0;
    transform: rotate(-5deg);
    transform-origin: center;
    transition: all .2s ease;
}
header nav a:hover, header nav a.on {
    color: #000;
    transform: rotate(0deg);
}

/*img.visuel {
    position: fixed;
    top: 110px;
    right: 10px;
    width: 150px;
    animation-delay: 1.25s;
}*/
span.social {
    position: fixed;
    display: block;
    text-align: center;
    top: 140px;
    left: 40px;
    width: 50px;
    z-index: 200;
    animation-delay: 1.5s;
}
span.social i.fab {
    margin: 2px 0;
    font-size: 50px;
	position: relative;
}
span.social a {
    color: #666;
    transition: all .3s ease;
}
span.social a:hover {
    color: #ba1f3b;
}
span.social i.fab:hover:after, span.social i.fab:focus:after {
	content: attr(aria-label);
	position: absolute;
	top: 10px;
	left: 60px;
	z-index: 1;
	white-space: nowrap;
	padding: 0 1em;
	height: 28px;
	line-height: 28px;
	background-color: #BA1F3B;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	font-family: Verdana;
	text-transform: uppercase;
	border-radius: .2em;
}
[aria-label]:focus {
  outline: none;
}

main {
	position: relative;
    display: block;
    width: auto;
	font-size: .9em;
    /*height: 100%;*/
    padding: 140px 60px 40px 120px;
    /*margin: 0 0 0 250px;*/
    animation-delay: 2s;
    animation-duration: 1.5s;
	z-index: 2;
}
main h2 {
    font-family: 'Barlow Condensed';
    color: #BA1F3B;
    font-size: 2em;
    margin: 0 0 .5em 0;
    font-weight: 400;
}
main .intro {
    line-height: 1.35;
}
main .intro strong {
    font-weight: 600;
    color: #000;
}
main .intro .texte a {
    color: #BA1F3B;
    border-bottom: 1px dotted #BA1F3B;
    padding-bottom: 2px;
    transition: all .4s ease;
}
main .intro .texte a:hover {
    border-bottom: 1px solid #000;
}
main .intro .special {
    border-left: 2px dotted #BA1F3B;
    padding-left: 20px;
}
.txt a {
    color: #BA1F3B;
	font-weight: 600;
    transition: all .25s ease;
}
.txt a:hover {
    color: #000;
}
.hygiene {
	display: inline-block;
	width: 100%;
	color: #000;
}

h2 a {
	color: #BA1F3B;
	transition: .25s ease;
}
h2 a:hover {
	color: #000;
}

a .item-news {
	position: relative;
	border: 1px solid #000;
}
a .item-news span.titre-news {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
	top: 20%;
	left: 20%;
	width: 50%;
	height: 50%;
	padding: 5%;
	background-color: rgba(0,0,0,.6);
	color: #fff;
	font: 400 1.2em 'Oswald';
	line-height: 1.3;
	text-align: center;
	transition: .35s ease;
}
a .item-news span.titre-news span.date {
	color: #ddd;
	font: 600 .8em 'Raleway';
	display: inline-block;
	width: 100%;
	margin-top: 15px;
}
a:hover .item-news span.titre-news {
	top: 5%;
	left: 5%;
	width: 50%;
	height: 50%;
	padding: 20%;
	background-color: rgba(0,0,0,.9);
}

footer {
	margin-top: auto;
	width: auto;
	display: block;
	background-color: #ba1f3b;
	padding: 15px 40px;
    color: #fff;
	font-family: Verdana, Helvetica;
	font-size: .85em;
}
footer a {
	color: #ddd;
	transition: .2s ease;
}
footer a:hover {
	color: #fff;
}

h2 small a {
    color: #444;
    transition: .25s ease;
}
h2 small a:hover {
    color: #ba1f3b;
}

a .item {
	overflow: hidden;
	position: relative;
}
a .item h3 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 2;
	background-color: #444;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	margin: 0!important;
	transition: .25s ease;
}
a:hover .item h3 {
	background-color: #ba1f3b;
}
a .item img {
	transition: .2s ease-in-out;
	margin-top: 15px;
}
a:hover .item img {
	transform: scale(1.1);
}

.item-album {
	overflow: hidden;
}
.item-album img {
	transition: .25s ease;
}
.item-album:hover img {
	transform: scale(1.1);
}

img.logo-rub {
	width: 50%;
	margin: 0 auto 1em auto;
}
img.logo-art {
	width: 25%;
	float: right;
	margin: 0 0 0 20px;
}
.spec {
	display: inline-block;
	width: 100%;
}

a.red {
	color: #ba1f3b;
	font-weight: 600;
	transition: .2s ease;
}
a:hover.red {
	color: #000;
}


/*****************************************************************°_°***************************************************************** */
@media (max-width: 1180px) {
	
	header .logo {
		padding: 15px 40px 15px 20px;
	}

	header nav {
		margin-left: 20px;
	}
	header nav i.fas {
		font-size: 24px;
		margin: 40px 8px 0 0;
	}
	header nav a {
		font-size: 1.2em;
		margin: 0 10px 0 0;
	}
	
	span.outils {
		right: 20px;
	}
	span.social {
		left: 20px;
	}
	
	main {
		padding: 140px 30px 40px 90px;
	}

}

@media (max-width: 1000px) {
	
	span.outils {
		top: 7px;
	}
	
	header {
		height: 80px;
		padding: 0;
	}
	header .logo {
		height: 50px;
	}
	header .logo img {
		height: 50px;
	}
	header nav {
		height: 80px;
		line-height: 80px;
	}
	header nav i.fas {
		display: none;
		visibility: hidden;
		opacity: 0;
	}
	header nav a {
		margin: 0 16px 0 0;
		transform: none;
		transform-origin: none;
	}
	header nav a:hover, header nav a.on {
		color: #000;
		transform: none;
	}
	
}

@media (max-width: 820px) {
	
	header .logo {
		padding: 15px 20px;
		margin-right: 15px;
	}
	header nav.normal {
		display: none;
		visibility: hidden;
		opacity: 0;
	}
	header nav.resp {
		display: block;
		visibility: visible;
		opacity: 1;
		float: left;
		width: auto;
		height: 65px;
		line-height: 1.3;
		margin: 0;
		padding-top: 12px;
		animation-delay: 1s;
	}
	header nav.resp a {
		float: left;
		font-family: 'Barlow Condensed';
		font-size: 1.4em;
		font-weight: 400;
		color: #ba1f3b;
		margin: 0 15px 0 0;
		transition: all .2s ease;
	}
	header nav.resp a:hover, header nav.resp a.on, header nav.mini a:hover, header nav.mini a.on {
		color: #000;
	}
	
}

@media (max-width: 680px) {
	
	header nav.resp {
		display: none;
		visibility: hidden;
		opacity: 0;
	}
	header nav.mini {
		display: block;
		visibility: visible;
		opacity: 1;
		float: left;
		width: auto;
		height: 65px;
		line-height: 1.2;
		margin: 0;
		padding-top: 8px;
		animation-delay: 1s;
	}
	header nav.mini a {
		float: left;
		font-family: 'Oswald';
		font-size: 1.2em;
		font-weight: 400;
		color: #ba1f3b;
		margin: 0 15px 0 0;
		transition: all .2s ease;
	}
	
	main {
		padding: 100px 20px 40px 90px;
	}
	
	img.logo-rub {
		width: 100%;
	}
	img.logo-art {
		width: 40%;
		float: right;
		margin: 0 0 0 20px;
	}
	
}

@media (max-width: 500px) {
	
	#top {
		bottom: 85px;
		left: 10px;
		right: auto;
		width: 40px;
		height: 40px;
		font-size: 30px;
		line-height: 40px;
	}
	header .logo {
		height: 40px;
	}
	header .logo img {
		height: 40px;
	}
	
	header nav.mini {
		line-height: 1.3;
	}
	header nav.mini a {
		font-size: 1em;
		text-transform: uppercase;
	}
	
	span.outils {
		right: 15px;
	}
	span.social {
		top: 100px;
		left: 10px;
	}
	span.social i.fab {
		font-size: 40px;
	}
	span.social i.fab:hover:after, span.social i.fab:focus:after {
		left: 50px;
	}
	
	main {
		padding: 100px 20px 40px 70px;
	}
	img.logo-art {
		width: 100%;
		float: none;
		margin: 0 0 1em 0;
	}
	
}
