/*------------------------------------*\
	$SOMMAIRE
\*------------------------------------*/
/*
* SOMMAIRE..............Sommaire des rubriques
* FOUNDATION............Optimisation Foundation
* CLASS.................Classes CSS génériques faible priorités
* HEADER................Classe header
* NAV-DESKTOP...........Menu Mobile
* NAV-DESKTOP...........Menu Principal
* SUBNAV-DESKTOP........Sous-Menu Themes, etc
* CONTENT...............Colonne principale
* INDEX.................Page Index.php
* SIDEBAR...............Colonne sidebar
* FOOTER................Class Footer
* MOBILE................CSS pour appareils mobiles
*/



/*------------------------------------*\
	$CLASS
\*------------------------------------*/
.bg-black {
	background-color: #191919;
}

.bg-blue {
	background-color: #1E3E98;
}

.bg-gray {
	background-color: #7F7F7F;
}

.bg-grayest {
	background-color: #666;
}

.bg-red {
	background-color: #ED1C24;
}

.bold {
	font-weight: 700;
}

.bolder {
	font-weight: 900;
}

.border-black {
	border-color: #191919;
}

.border {
	border-width: 1px;
	border-style: solid;
}

.border-bottom {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	padding-bottom: 1px;
}

.border-grayest {
	border-color: #666;
}

.border-red {
	border-color: #ED1C24;
}

.clear:after {
	content: "";
	display: block;
	clear: both;
}

.color-black {
	color: #191919;
}

.color-blue {
	color: #1E3E98;
}

.color-red {
	color: #ED1C24;
}

.color-white {
	color: #FFF;
}

.fixed {
	position: fixed;
}

.font-large {
	font-size: 1.1rem;
}

.font-normal {
	font-size: 1rem;
}

.font-small {
	font-size: .9rem;
}

.font-smaller {
	font-size: .8rem;
}

.grayest {
	color: #666;
}

.img-full {
	width: 100%;
}

.inline-block {
	display: inline-block !important;
}

.ln10 {
	line-height: 1rem !important;
}

.ln12 {
	line-height: 1.2rem !important;
}

.ln14 {
	line-height: 1.4rem !important;
}

.margin-bottom {
	margin-bottom: 1.9rem;
}

.margin-left {
	margin-left: 0.9375rem;
}

.margin-right {
	margin-right: 0.9375rem;
}

.margin-top {
	margin-top: 1.9rem;
}

.margin-zero {
	margin: 0;
}

.margin-zero-bottom {
	margin-bottom: 0;
}

.margin-zero-left {
	margin-left: 0;
}

.margin-zero-right {
	margin-right: 0;
}

.margin-zero-top {
	margin-top: 0;
}

.padding-bottom {
	padding-bottom: 1.9rem;
}

.padding-left {
	padding-left: 0.9375rem;
}

.padding-right {
	padding-right: 0.9375rem;
}

.padding-top {
	padding-top: 1.9rem;
}

.padding-zero {
	padding: 0;
}

.padding-zero-bottom {
	padding-bottom: 0 !important;
}

.padding-zero-left {
	padding-left: 0;
}

.padding-zero-right {
	padding-right: 0;
}

.padding-zero-top {
	padding-top: 0;
}

.relative {
	position: relative;
}

.semi-bold {
	font-weight: 600;
}

.text-indent {
	text-indent: 0.9375rem;
}



/*------------------------------------*\
	$FOUNDATION
\*------------------------------------*/
a.black {
	color: #191919;
}

a.red {
	color: #ED1C24;
}

a.white {
	color: #FFF;
}

a.black:hover,
a.red:hover,
a.white:hover {
	text-decoration: underline;
}

datalist {
	display: none;
}

form {
	margin: 0;
}

h1::first-letter,
h2::first-letter,
h3::first-letter,
h4::first-letter,
h5::first-letter,
h6::first-letter {
	text-transform: uppercase;
}

html,
body {
	height: auto !important;
}

button.zero {
	border: none;
	background: transparent;
	margin: 0;
	padding: 0;
}

.alert-box.hide,
.error.hide {
	display: none;
}

body {
	margin: 0;
	padding: 0;
}

figure {
	margin: 0;
	cursor: pointer;
}

b,
strong {
	font-weight: 600;
}

input[required] {
	background-color: #FFEFEF;
}


/*------------------------------------*\
	$HEADER
\*------------------------------------*/
html,
.bg-html {
	background-color: #E8E7E5;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Source Sans Pro', sans-serif;
	text-rendering: optimizeLegibility;
}

#header input[type=search] {
	border-radius: 5px;
	height: 1.4rem;
	margin: 0;
	padding: 0 .5rem;
	font-size: .6rem;
}

.first-row {
	padding: 5px 0;
}

.first-row .connexion a {
	background-color: #ED1C24;
	padding: 0 30px;
}

.logo__bg {
	margin: 1rem 0;
}

.alerte {
	padding-top: .5rem;
	padding-bottom: .5rem;
	background-color: #FFF;
	border-style: solid;
	border-width: 2px;
	height: 45px !important;
}

.alerte ul {
	width: 100%;
}

.publicite {
	padding-top: .5rem;
	padding-bottom: .5rem;
}


/*------------------------------------*\
	$NAV.MOBILE
\*------------------------------------*/
/*#navMobile__wrapper{
	height: 10vh;
}*/
#js-navMobile {
	/*position: fixed;
	z-index: 100;
	height: 10vh;*/
	min-height: 50px;
}

#js-navMobile a {
	font-size: 2rem;
	color: #fff;
	line-height: 10vh;
}

#navMobile {
	position: fixed;
	z-index: 99;
	width: 100%;
	background: #FFF;
	display: none;
	height: 100%;
	left: 0;
	overflow: overlay;
	top: 10vh;
	padding-bottom: 2rem;
}

#navMobile>ul>li {
	border-bottom: 2px solid #7F7F7F;
	padding: 1.2rem 0;
	font-weight: 600;
}

#navMobile .rollover__before__row {
	display: none;

}

#navMobile .rollover__before {
	margin-top: 1.5rem;
	background-color: #D0CBC8;
}

#navMobile ul.rollover li {
	padding: 1.2rem 0;
	border-bottom: 1px solid #FFF;
}

#navMobile>ul>.li--sub {
	background-color: #F8F8FF;
	display: none;
}

#navMobile>ul>.li--sub li {
	width: 49%;
	padding: 5% 0;
	font-size: 1rem;
	vertical-align: top;
}



/*------------------------------------*\
	$NAV.DESKTOP
\*------------------------------------*/
.navDesktop-top-border {
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #7F7F7F;
}

#navDesktop {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #7F7F7F;
}

#navDesktop>ul {
	margin-bottom: 0;
	overflow: visible;
	text-transform: uppercase;
}

#navDesktop>ul>li:nth-child(n+2) {
	margin-left: 0;
}

#navDesktop>ul>li {
	line-height: 35px;
	font-weight: 600;
}

#navDesktop>ul>li>a {
	padding: 4px 10px;
}

#navDesktop>ul>li:nth-child(n+2)>a {
	border-left: 1px solid grey;
}

#navDesktop>ul>li:hover,
#navDesktop>ul>li.js-open {
	background: #D0CBC8;
	line-height: 35px;
	color: #000;
}

#navDesktop>ul>li:hover>a,
#navDesktop>ul>li.js-open>a {
	color: #000;
	text-decoration: none;
	border-bottom: 2px solid #ED1C24;
}

#navDesktop ul.rollover {
	text-transform: capitalize;
	position: absolute;
	left: 0;
	z-index: 100;
	display: none;
	min-width: 200px;
	background: #D0CBC8;
	padding: 0 10px;
}

#navDesktop ul.rollover li {
	padding: 5px;
}

#navDesktop ul.rollover li:not(:last-child) {
	border-bottom: 1px solid #FFF;
}

#navDesktop ul.rollover li:hover {
	color: #404040;
	text-decoration: underline;
}

#navDesktop li.relative:hover>ul.rollover {
	display: block;
}



/*------------------------------------*\
	$CONTENT
\*------------------------------------*/
#wrapper {
	padding-bottom: 1rem;
}

#wrapper>div.row {
	background-color: #FFF;
}

h2.title {
	font-size: 2rem;
	line-height: 2rem;
	font-weight: 900;
}

h6.title {
	font-size: 1.3rem;
	line-height: 1.4rem;
}

.title>a {
	color: #191919;
}

.title>a:hover {
	border-bottom: 1px solid #1E3E98;
}

img+figcaption {
	margin-top: .5em;
	line-height: 1.5em;
}

#content article iframe {
	width: 100%;
}

#content article .carousel ul li:only-child {
	display: none;
}

.contenuArticle * {
	line-height: 1.3rem !important;
}

/*.contenuArticle p{
}*/
.contenuArticle h1,
.contenuArticle h2,
.contenuArticle h3,
.contenuArticle h4,
.contenuArticle h5,
.contenuArticle h6 {
	margin-bottom: 1.25rem;
}


/*------------------------------------*\
	$INDEX
\*------------------------------------*/
.img--index img {
	border-top-width: 6px;
	border-top-style: solid;
	border-color: #666;
}

.img--index .caption {
	top: 0px;
	left: 0px;
	position: absolute;
	margin-left: 0.9375rem;
	text-transform: uppercase;
	color: #FFF;
	padding: 0.4rem;
}

.img--index:hover img,
.img--index:hover .caption {
	border-color: #2AA9E0;
	background-color: #2AA9E0;
}

.second-rank>div:hover .img--index img,
.second-rank>div:hover .img--index .caption,
.third-rank>div:hover .img--index img,
.third-rank>div:hover .caption {
	border-color: #2AA9E0;
	background-color: #2AA9E0;
}

.first-rank .chapo {
	margin-top: 5px;
}

.second-rank .title {
	margin-top: 5px;
}

.third-rank .addMargin {
	padding-top: 25px;
}

.formPaiement {
	background-color: #1E3E98;
	color: #FFF;
	border: none;
	padding: 1rem;
	font-size: 1.5rem;
}

.formPaiement:focus,
.formPaiement:hover {
	cursor: pointer;
	background-color: #2AA9E0;
}



/*------------------------------------*\
	$SIDEBAR
\*------------------------------------*/
.widget__title {
	padding-bottom: .5rem;
}

.widget iframe {
	width: 100%;
	height: 250px;
}

.widget__content * {
	line-height: 1.3rem;
}



/*------------------------------------*\
	$METEO
\*------------------------------------*/
.js-previsions .tabs dd.active a,
.js-previsions .tabs .tab-title.active a {
	margin-bottom: -2px;
	border: 1px solid #EFEFEF;
	border-bottom: 1px solid #FFF;
}

.js-previsions .tabs-content .content.active {
	border: 1px solid #EFEFEF;
}

/*.js-previsions table *{
}*/
.meteoDetails * {
	font-size: 12px;
}

.meteoDetails img {
	max-width: 30px;
}

.meteo__thumb {
	background-color: rgba(255, 255, 255, 0.35);
	position: absolute;
}



/*------------------------------------*\
	$PETITES ANNONCES
\*------------------------------------*/
.pa-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	/* espace entre annonces */
	/* justify-content: center; centrer les colonnes */
}

.pa-single {
	background: #f9f9f9;
	border: 1px solid #ddd;
	padding: 0.5rem;
	border-radius: 4px;
	box-sizing: border-box;
	flex: 1 1 calc(50% - 1rem);
	/* 2 colonnes par défaut */
	max-width: calc(50% - 1rem);
}

/* en dessous de 640 px, une seule colonne et pas de titres */
@media (max-width: 640px) {
	.pa-single {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.title-show {
		display: none;
	}
}

.pa-grey {
	background-color: #E5E5E5;
	padding: 0.9375rem;
}

.infoImportante {
	overflow: auto;
}

/* Dépot petite annonce : mobiles */
@media screen and (max-width: 640px) {

	/* Force la ligne à se "casser" en pile verticale */
	.depot_option_total {
		display: block !important;
	}

	/* Chaque colonne prend 100 % de largeur */
	.depot_option_total .columns {
		width: 100% !important;
		float: none !important;
	}

	/* Un petit espacement entre les deux blocs pour lisibilité */
	.depot_option_total .totalTable {
		margin-top: 1em;
	}

	/* Bouton de validation sous le tableau total */
	.footerInput {
		text-align: center;
		margin-top: 0.5em;
	}
}


/*------------------------------------*\
	$ABONNEMENTS
\*------------------------------------*/
#content form input[type="radio"],
#content form input[type="checkbox"] {
	margin-bottom: 0;
	vertical-align: middle;
}

form#deposerabonnement h4 {
	padding-top: 15px;
}

div#block__offre,
div#block__papier,
div#block__numerique {
	display: none;
}

/*------------------------------------*\
	$KIOSQUE
\*------------------------------------*/
#kiosque {
	padding-top: 20px;
	border-top: 1px solid #EEE;
}

#kiosque>div {
	/*width: 32%;*/
	display: inline-block;
	float: none;
	/*margin-right: 5px;*/
}

#kiosque>div:hover {
	background: #F1F1F1;
}

#kiosque>div>a:first-child {
	display: block;
	text-align: center;
}

#kiosque>div>p {

	display: block;
	margin-left: 10%;
}


/*------------------------------------*\
	$FOOTER
\*------------------------------------*/
footer#footer {
	border-top: 2px solid #ED1C24
}

#toTop {
	position: fixed;
	top: 75%;
	right: 1%;
}



/*------------------------------------*\
	$MOBILE
\*------------------------------------*/
@media only screen and (max-width: 40em) {
	#kiosque>.small-6 {
		width: 49%;
	}

}

@media only screen and (min-width: 42em) {
	#kiosque>.medium-4 {
		width: 32.33333%;
	}

}