/*
# ------------------ BEGIN LICENSE BLOCK ------------------
#
# Package:		theme.css
# Copyright (c) 2015 Pluxopolis
# Authors		Stéphane Ferrari
#
# ------------------- END LICENSE BLOCK -------------------
*/

@font-face {
	font-family: 'trystregular';
	src: url('../fonts/Tryst-Regular-webfont.eot');
	src: url('../fonts/Tryst-Regular-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/Tryst-Regular-webfont.woff2') format('woff2'),
		 url('../fonts/Tryst-Regular-webfont.woff') format('woff'),
		 url('../fonts/Tryst-Regular-webfont.ttf') format('truetype'),
		 url('../fonts/Tryst-Regular-webfont.svg#trystregular') format('svg');
	font-weight: norma;
	font-style: normal;
}

body {
	background: #D9E3EF url(../img/bg.jpg) no-repeat top center; /*color du fond sauf header*/
	font-size: 105%;
	font-family: 'trystregular';

}
.container {
	max-width: 1300px;
}
.content {
	min-height: 650px;
	border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
	border-radius: 10px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/

	background-color: #fff;   /* color fond article*/
	padding: 20px 20px 20px 20px;

}

/* HEADER ===================== */

.header {
	text-align:center;
}
.header h1 {
	margin: 0;
	font-size: 3rem;
	line-height: 1.5;
	letter-spacing: 10px;
}
.header h1 a {
	color: darkblue;  /*color du titre du site*/
	text-decoration:none;
}
.header h2 {

	font-size: 1rem;
	line-height: 1.5;
	letter-spacing: 10px;
}

/* NAVIGATION ================= */

.nav {
    position: -webkit-sticky; /* Pour ceux qui aiment la Pomme */
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: lightyellow;
}

.nav {
    height: 3.0rem;
    margin-bottom: 10px;
    border: 1px solid #ccc;  /*modif pour bord arrondi du cadre*/
	border-radius: 10px;
    border-color:blue;
}

.menu.expanded  li {
	margin: 0 8px 0 8px;
	border-radius: 4px;
}
.menu.expanded li.active a,
.menu.expanded li.active a:hover {
	padding: 0 10px 0 10px;
	background-color: #90B0CE;
	color: #fff;
	border-radius: 4px;
}
.menu.expanded a,
.menu.expanded a:hover {
	color: darkblue;   /*color des titres du menu du header*/
}

@media (max-width: 767px) {
	.nav {
		background-color: #fff;
		border-bottom: 1px solid #bbb;
		height: auto;
		left: 0;
		max-height: 200px;
		overflow-y: auto;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 9999;
	}
	.nav .menu.expanded li:hover {
		background-color: #ddd;
	}
	.nav a {
		color: #258fd6;
	}
	.nav a:hover {
		color: #444;
	}
	.responsive-menu label {
		background-color: #222;
	}
	.header {
		margin-top: 2rem;
		text-align: center;
	}
}

.repertory {
	margin-top: 2rem;
}

/* ARTICLE ================= */

.article header h1 {
	font-size: 1.5rem;
	font-weight: bold;
}
.article header h1 a {
	color: #444;
}
.article header h1 a:hover {
	color: #258fd6;
	text-decoration: none;
}
.comment {
	background-image: url('../img/user.png');
	background-repeat: no-repeat;
	margin-bottom: 2rem;
	padding-left: 4rem;
}
.comment blockquote {
	margin: 0;
}
.nbcom {
	background-color: #258fd6;
	color: #fff;
	height: 1.25rem;
	line-height: 1.25rem;
	padding: .2rem .3rem;
}
.nbcom:hover {
	background-color: #3a6c96;
	color: #fff;
	text-decoration: none;
}
.capcha-word {
	background-color: #ccc;
}
.article,
.pagination {
	margin-bottom: 4rem;
}
.article.static {
	margin-bottom: 0;
}
.pagination a {
	background-color: #90B0CE;
	color: #fff;
	height: 2.2rem;
	line-height: 2.2rem;
	padding: .5rem .6rem;
	border-radius: 4px;
}
.pagination a:hover {
	background-color: #3a6c96;
	color: #fff;
	text-decoration: none;
}

/* SIDEBAR ================= */

.aside, .aside a {
	color: #B17A3A        /*color du texte*/
}
.aside {
	padding-left: 2rem;
	border: 1px solid #ccc;  /*modif pour bord arrondi du cadre de la sidebar*/
	border-radius: 10px;
	padding-left: 10px;
	max-width: 350px;
	}
@media (max-width: 768px) {
	.aside {
		margin-top: 2rem;
		padding-left: 1rem;
	}
}
.aside h3 {
	font-size: 1em;
	font-weight: bold;
	margin-top: 2rem;
	text-transform: uppercase;
}
.aside li.tag {
	margin-left: 0;
}
.aside ul {
	margin: 0;
}

/*ligne perso ajoutée pour color du titre des catégories*/

.colorcat {
	color: #008080;
}

/* ligne ajoutées pour la div page accueil */
.zone {
 border: 3px;
 border-style:double;
 border-color:blue;
 margin:auto;

 }


/* FOOTER ================== */


/* lignes ajoutées pour les commentaires imbriqués */

.footer {
	padding: 2rem 0;
	text-align: center;
}
.footer p {
	margin: 0;
}
.copyright {
	font-size: 0.8rem;
}


.level-0 {
	margin-left: 0;
}
.level-1 {
	margin-left: 50px;
}
.level-2 {
	margin-left: 100px;
}
.level-3 {
	margin-left: 150px;
}
.level-4 {
	margin-left: 200px;
}
.level-5,
.level-max {
	margin-left: 250px;
}
#id_answer {
	margin-bottom: 10px;
	padding:15px;
	border:1px solid #eee;
	width:100%;
	background:#fafafa;
	display:none;
}
@media (max-width: 767px) {
	.level-1,
	.level-2,
	.level-3,
	.level-4,
	.level-5,
	.level-max {
		margin-left: 5px;
	}
}


/* lignes ajoutées pour les lignes horizontales dans article */
.ligne {
    width:50%;
    margin-left:0;
}

/* ligne ajoutées pour le plugin MyPager */

.p_current {
  padding: 10px;
}
.p_page {
  padding-right: 10px;
}

/* ligne ajoutées pour le plugin rememberme pour les commentaires */

input#id_rememberme {
width: 20px;
vertical-align:top;
}

/* ligne ajoutées pour le plugin mycaphimage */

input#id_rep {
    width: 70px !important;
}


/* ligne ajoutées pour le fichier des news (filenews.php) */
.filenews {
background-color: #efefef;
 border-color:blue;
 width: 90%;
 font-family: arial;
 font-size: 12px;
}


/* ligne ajoutées pour news */
.news {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 2px;
 margin:auto;
 width: 100%;
 font-family: verdana;
 font-size: 10px;
}

/* ligne ajoutées pour jqmeter */
.jqmeter {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 5px;
 margin-top; auto;
 width: 100%;
 font-family: verdana;
 font-size: 13px;
}


/* ligne ajoutées plxbannersquotes-citations */
.citations {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 2px;
 margin:auto;
 width: 50%;
 font-family: verdana;
 font-size: 12px;
}


/* ligne ajoutées pour plxsondage dans la sidebar*/
.plxsondage {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 2px;
 margin:auto;
 width: 80%;
 font-family: verdana;
 font-size: 13px;
}

/* ligne ajoutées pour flashactu dans la sidebar*/
.flashactu {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 2px;
 margin:auto;
 font-family: verdana;
 font-size: 13px;
 height: 120px;
 width: 70%;
}


/* ligne ajoutées pour travaux en cours sur page home */
.travauxencours {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 2px;
 margin:auto;
 width: 100%;
 font-family: verdana;
 font-size: 11px;
}


/* ligne ajoutées pour plugin mycoinslider */
.mycoinslider {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 2px;
 margin:auto;
 width: 40%;
 font-family: verdana;
 font-size: 11px;
}
.mycoinslider
img {
	max-height: 180px;
}

/* ligne ajoutées img voeux en home page */
.voeux {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 5px;
 padding-bottom: 30px;
 margin:auto;
 width: 95%;
 font-family: verdana;
 font-size: 12px;
}

/* ligne ajoutées bookmark */
.bookmark {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 2px;
 padding-bottom: 2px;
 margin:auto;
 font-family: verdana;
 font-size: 12px;
}

/* ligne ajoutées titlebookmark */
.titlebookmark {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 5px;
 padding-right: 5px;
 padding-top: 5px;
 padding-bottom: 5px;
 margin:auto;
 width: 50%;
 font-family: verdana;
 font-size: 12px;
}


/* ligne ajoutées pour cadre */
.cadre {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 7px;
 padding-right: 7px;
 padding-top: 2px;
 padding-bottom: 2px;
 margin:auto;
 width: 100%;
 font-family:cursive;


}

/* ligne ajoutées pour cadre dans la home page titre les news */
.lesnews {
background-color: #efefef;
border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
 border-color:blue;
 padding-left: 7px;
 padding-right: 7px;
 padding-top: 2px;
 padding-bottom: 2px;
 margin:auto;
 width: 50%;

}


/* ligne ajoutées pour bordure dans une div */
.bordure {
	border: 1px solid #ccc;  /* ligne ajoutée pour bordure cadre article*/
	border-radius: 5px;     /* ligne ajoutée pour bordure cadre article, bord arrondi*/
	border-color:blue;
	padding-left: 7px;
	padding-right: 7px;
	padding-top: 2px;
	padding-bottom: 2px;
	margin:auto;
	width: 60%;

}

/* ligne ajoutées pour bordure shortcode */
.shortcode {
	font-family: verdana;
	font-style: italic;
 	font-size: 10px;
 	text-align:right;
}


/* ligne ajoutées menu deroulant pages statiques */
#dropdown-nav ul li div {
	color: darkblue;
	padding: .425rem .7rem;
}
#dropdown-nav ul li {
	position:relative;
}
#dropdown-nav ul ul {
	display:none;
	position:absolute;
	top:100%;
	left:0;
	background:#f6f6f6;
	border: 1px solid #efefef;
	padding:0;
	z-index: 9999;
}
#dropdown-nav ul ul a {
	color: #444;
}
#dropdown-nav ul ul li {
	float:none;
	width:200px;
}
#dropdown-nav ul ul li.active a {
	background:transparent;
}
#dropdown-nav ul ul li:hover {
	background:#ccc;
}
#dropdown-nav ul li:hover > ul {
	display:block;
}

@media (max-width: 768px) {
	#dropdown-nav ul {
		background:#f6f6f6;
	}
	#dropdown-nav ul li.active {
		background-color: #258fd6;
		width: 100%;
	}
	#dropdown-nav ul li.active a {
		color: #fff;
	}
	#dropdown-nav ul li:hover  {
		background:#ccc !important;
		width: 100%;
	}
	#dropdown-nav ul li li:hover a {
		color: #fff;
	}
	#dropdown-nav ul ul {
		width: 100%;
		border: none;
	}
	#dropdown-nav ul li div {
		color: #444;
	}
	#dropdown-nav ul li a {
		color: #444;
	}
}

.flotte {
  float:left;
}



/* ligne ajoutées menu deroulant catégories */

.submenus ul {
    position: relative;
    left: -9999px;
    float: left;
	margin: 0;
	padding: 0;
    list-style: none;
	z-index: 999;
}
.submenus:hover ul {
	left: 0;
	color: #fff;
	background-color:#000;
}
.submenus:hover ul li {
	font-size: 0.9rem;
	clear: both;
	float: left;
	padding: 2px 10px 2px 10px;
	width: 100%;
}
.submenus:hover ul li a {
    display: inline-block;
	margin: 0;
	padding: 3px 0 3px 0;
}
.submenus:hover ul li a:hover {
	text-decoration: none;
}


/* ligne ajoutées pour div en tableau */

#conteneur {
	clear:both;
	padding: 10px;
}

#gauche {
	float:left;
	border-radius: 5px;
	border: 1px solid #ccc;
	border-color:blue;
	width:15%;
	padding: 10px;
	margin-right: 5px;
	position: relative;
}
#milieu {
	float:left;
	border-radius: 5px;
	border: 1px solid #ccc;
	border-color:blue;
	width:68%;
	padding: 10px;
	position: relative;
}

#droite {
	float:left;
	border-radius: 5px;
	border: 1px solid #ccc;
	border-color:blue;
	width:15%;
	padding: 10px;
	margin-left: 5px;
	font-style: italic;
	text-align: center;
	font-size: 13px;
	position: relative;
}


/* ============ ligne ajoutées pour div 2 colonnes ============= */

.colonnes {
	clear:both;
	padding: 10px;
}

#colonnegauche {
	float:left;
	position: relative;
	width:65%;
	padding: 5px;
	margin-left: 5px;
	margin-right: 1px;
}

#colonnedroite {
	float:left;
	border-radius: 5px;
	border: 1px solid #ccc;
	border-color:blue;
	width:20%;
	padding: 10px;
	margin-left: 5px;
	font-style: italic;
	text-align: center;
	font-size: 13px;
	position: relative;
}


/*ligne ajoutée pour les fichiers pdf*/
.pdf {
  margin-top: 2rem;
}

/*ligne ajoutée pour lister tous les fichiers d'un répertoire*/

.telechargements ul{
   ...
}
.telechargements ul li {
  ...
}
.telechargements a{
  ...
}

/*------------------- modif pour boutons paypal -------------------*/

input[type="image"] {

    width: inherit !important;
}


/* ================  Pour les barres avec pourcentage ==============*/

.progress {
	background-color: transparent;
	border-radius: .3rem;
	border: 1px solid #bbb;
	position: relative;
	width: 100%;
    margin-bottom: 5px;
    text-align: left;
    font-size:  14px;
    color: black;
}
.progress span {
	background-color: #56BFFD;
	border-radius: .3rem;
	color: #fff;
	display: block;
	height: 1.5rem;
	line-height: 1.5rem;
	min-width: 2.2rem;
	overflow: hidden;
	position: relative;
	text-align: left;
    font-size:  14px;
    color: black;
}
.progress span[style="width: 0%;"] {
	background: none;
	color: #444;
}

/* ============== modif perso : ligne ajoutée bouton télécharger ========== */

a.bouton1 {
padding: 5px 15px;
background: #0080FF;
color: white;
border-radius: 4px;
font-size: 1rem;
text-align: center;
}
a.bouton1:hover {
background: green;
}


/* ============== modif ========== */
/* Fenêtre popup pour vignette d'article */
::backdrop {
    background: #333;
    opacity: 0.85;
}

#img_dialog {
    padding: 0;
    border: 1px solid #333;
    max-width: 90vw;  /* largeur max 90% de la fenêtre */
    max-height: 90vh; /* hauteur max 90% de la fenêtre */
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

#img_dialog button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
}

#img_dialog button:hover {
    background: rgba(0,0,0,0.8);
}

#img_popup {
    display: block;
    max-width: 90vw;   /* empêche l’image de dépasser l’écran */
    max-height: 90vh;
    width: auto;
    height: auto;
    margin: 0 auto;
}

