﻿/*
Theme Name: premiersamedi
Description: a clean and simple theme using HTML5 and CSS3 properties
Version: 1.0
Author: nicoduv
Author URI: http://nicoduv.fr


Fonds :
#167198

#42485d

Texte :
#51acd3

##9298AD

#b4eaff


#51acd3


#eb8a3e

*/


@font-face {
    font-family: 'QuicksandBook';
    src: url('typo/Quicksand_Book-webfont.eot');
    src: url('typo/Quicksand_Book-webfont.eot?#iefix') format('embedded-opentype'),
         url('typo/Quicksand_Book-webfont.woff') format('woff'),
         url('typo/Quicksand_Book-webfont.ttf') format('truetype'),
         url('typo/Quicksand_Book-webfont.svg#QuicksandBook') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'QuicksandBold';
    src: url('typo/Quicksand_Bold-webfont.eot');
    src: url('typo/Quicksand_Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('typo/Quicksand_Bold-webfont.woff') format('woff'),
         url('typo/Quicksand_Bold-webfont.ttf') format('truetype'),
         url('typo/Quicksand_Bold-webfont.svg#QuicksandBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'QuicksandDash';
    src: url('typo/Quicksand_Dash-webfont.eot');
    src: url('typo/Quicksand_Dash-webfont.eot?#iefix') format('embedded-opentype'),
         url('typo/Quicksand_Dash-webfont.woff') format('woff'),
         url('typo/Quicksand_Dash-webfont.ttf') format('truetype'),
         url('typo/Quicksand_Dash-webfont.svg#QuicksandDash') format('svg');
    font-weight: normal;
    font-style: normal;
}


header, hgroup, section, footer, aside, nav, article { 
	display: block;   
}

strong {
	color: #333;
	font-weight: bold;
}

/* GENERAL */

.spip_documents_center{ text-align:center;}

body {
	font-family: sans-serif;
	/*background-image: url("images/fond.jpg");
	background-attachment: fixed;
	background-position: left center;
	background-color: #FFF;*/
	
	/*background-color: #b4eaff;*/
	 /*background: 3);*/
 /*background: rgb(66,72,93);
background: radial-gradient(circle, rgba(66,72,93,1) 0%, rgba(64,115,136,1) 42%, rgba(180,234,255,1) 100%); */
 /*background: radial-gradient(circle, rgba(66,72,93,1) 0%, rgba(180,234,255,1) 100%);*/
 
 /*
 background-image: url(images/parinux.svg);
 background-size: auto 100%;
 background-position: top right;
 background-repeat: no-repeat;
 background-attachment: fixed;
 */
	color: #42485d;
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

#centrage {
background-image: url(images/parinux.svg);
 background-size: 100%;
 /*background-position: top center;*/
 background-repeat: no-repeat;
 /*background-attachment: fixed;*/
 
}

#centrage > div {
background-color: rgba(255, 255, 255, 0.80);
}


#wrapper {
	background: none;
	margin: 0 auto;
	width: 100%;
	min-height: 100vh;
}

a, a:visited {
	/*color: #51acd3;*/
	color: #217CA3;
	text-decoration:none;
	/*font-weight: bold;*/
}
a:hover {
	/*text-decoration: underline;*/
	color: #eb8a3e;
}

img {
	border: none;
}

img a, img a:hover, img a:visited {
	border: none;
}
h1 {
	color: #eb8a3e;
	font-family: 'QuicksandBold', sans-serif;
}
h2 { 
	margin: 40px 0 20px 0;
	font-size: 1.4em;
	font-family: 'QuicksandBold', sans-serif;
	text-transform: uppercase;
	text-align: center;
	color: #eb8a3e;
}

/* HEADER */

#header {
	left: 20px;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	position: fixed;
	top: 0;
	bottom: 144px;
	width: 250px;
	z-index: 1001;
	background-color: rgba(66, 72, 93, 0.9);
    display: flex;
    flex-direction: column;
}


#header_title {
	padding-bottom: 15px;
	text-align: center;
    flex-shrink: 0;
    flex-grow: 0;
}
#header_title p {
	font-family: 'QuicksandBook';
	color: #ffffff;
	font-size: 1.1em;
	margin: 5px 0 0 0;
}
#header_menu {
	width: 100%;
	background: transparent;
	margin: 0;
	padding: 0;
	border-top: 1px solid #666666;
	display: block;
    overflow: auto;
    /*position: absolute;
    bottom: 0;
    left: 0;
    top: 125px;*/
}
#header_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#header_menu li {
	color: #FFF;
	border-bottom: 1px solid #666666;
}
#header_menu li a {
	display: block;
	color: #FFF;
	font-size: 1.1em;
	font-family: 'QuicksandBold', sans-serif;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	padding: 0.6em 0 0.6em 0;
}
#header_menu li a:hover, #navigation li a:focus, #navigation li a:active {
	font-family: 'QuicksandBold', sans-serif;
	text-decoration: none;
	color: #eb8a3e;
	background-attachment: repeat;
}
#header_menu .on > a {
	font-family: 'QuicksandBold', sans-serif;
	text-decoration: none;
	color: #eb8a3e;
	background-attachment: repeat;
}
#header_menu_details {
    display: none;
}

/* POST */

#maincontent {
	display: block;
	padding-left: 270px;
	min-height: 100vh;
}
#rightcontent {
	/*width: 480px;
	margin: 0 auto;*/
	padding: 60px 7% 40px 7%;
	position: relative;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	/*background-color: rgba(255, 255, 255, 0.9);*/
	/*background: linear-gradient(to right, rgba(255, 255, 255, 0.3), 10%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.3));*/
	min-height: calc(100vh - 100px);	
	/*-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 1);
	-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 1);
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 1);*/
}
.mobileretour {
	display: none;
	visibility: hidden;
}

.titredate {
	font-family: 'QuicksandBold', sans-serif;
	padding: 2px;
	border-width: 1px;
	border-style: solid;
	border-color: #191919;
}
.date {
	margin: 0 0 40px 0;
	text-align: center;
	font-size: 0.8em;
	color : darkcyan;
	text-transform: uppercase;
}

#contenu a span.retour {
	color: #333;
	font-size: 12px;
}

#contenu {
	margin: 20px auto 60px auto;
	width: 480px;
}


#contenu p {
	line-height: 1.6em;
	font-size: 1em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin: 0 0 20px 0;
	padding: 0;
	/*text-align: justify;*/
}

#contenu p.postmetadata {
	margin-bottom: 80px;
	font: 13px/20px Georgia, "Times New Roman", Times, serif
}
#contenu ul, ol {
	line-height: 1.6em;
	font-size: 1em;
	/*text-align: justify;*/
	margin-left: 20px;
	padding-left: 0;
}

#contenu ol li, #contenu ul li {
margin-bottom: 20px;
}

#contenu ul li {
	list-style-image: url("images/fleche.png");
	margin-left: 0;
	padding-left: 0;
}

#contenu ul ul {
	margin-top: 5px;
}

#contenu ul ul li {
margin-bottom: 8px;
}

#contenu ul ul li {
	list-style-image: url("images/puce.png");
	font-size: 0.9em;
	line-height: 1.5em;
}

#contenu table {
	border-collapse: collapse;
}
#contenu td, th {
	font-size: 90%;
	padding: 5px;
	border: 1px solid #EAEAEA;
}
#contenu blockquote {
	background: none;
	margin: 40px 0;
}
#contenu address {
	font-size: 0.8em;
}


/* FOOTER */

#footer {
	left: 20px;
	bottom: 0;
	margin-right: 0;
	padding: 0;
	position: fixed;
	width: 250px;
	z-index: 1002;
	background: transparent;
	color: #FFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 0.8em;
	height: 144px;
	background-color: rgba(66, 72, 93, 0.9);
}

#footer a {
	color: #FFF;
	text-decoration: none;
}

#footer img {
	display: block;
	padding-top: 10px;
	margin: auto;
}

#footer a:hover {
	color: #FFF;
	text-decoration: underline;
}
#footer a:visited {
	color: #FFF;
	text-decoration: none;
}

/*correction des labels pour les formulaires */
label {
	display: block;
	text-align: center;
}
ul.editer-groupe {
	list-style-type: none;
	text-align: center;
	padding-left: 0;
}
input {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#contenu ul.editer-groupe li {
	list-style: none;
}
#navdetails {
    display: hidden;
}

button {
	background-color: #51acd3;
	color: #fff;
}

/* MEDIA QUERIES */

@media screen and (max-width: 840px) {
	body {
		width: auto !important;
		margin: auto !important;
		padding: auto !important;
		/*background-color:#191919 !important;*/
		background-image: none !important;
	}
	#wrapper {
		width: auto !important;
		background: transparent;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	#maincontent {
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	#rightcontent {
		width: auto !important; 
		margin: auto !important;
		padding: 20px 0 0 0 !important;
		background-color: #FFF !important;
		color: #000;
	}
	#contenu {
		margin: 0 4% !important;
		width: auto !important; 
	}
	#contenu p {
		text-align: left !important;
	}
	
	#navigation li a:focus, #navigation li a:active {
		background-color: darkcyan;
		text-decoration: none;
		color: #FFF;
	}
	.mobileretour {
		display: block;
		visibility: visible;
	}
	
}


/***
 * Ajout
 *******/


.samedis-NomSite, .samedis-NomSite:visited {
    font-family: 'QuicksandBold', sans-serif;
	text-transform: uppercase;
	line-height: 1.2em;
	font-size: 1.6em;
    color: #fff;
}


.samedis-NomSite:hover {
    color: #eb8a3e;
    text-decoration: none;
}

#contenu .samedis-ProchaineDate {
    text-align: center;
    font-size: 1.3em;
    font-family: 'QuicksandBold', sans-serif;
    color: #eb8a3e;
}

.samedis-Blocs {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
}

.samedis-Blocs > div {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 40%;
    margin-bottom: 10px;
	margin-left: 5px;
	margin-right: 5px;
    
}

.samedis-Blocs a, .samedis-Blocs a:visited {
    color: #fff;
    display: block;
    text-align: center;
    padding: 20px;
    /*margin: 20px;*/
    background-color: rgba(66, 72, 93, 0.8);
    font-family: 'QuicksandBold', sans-serif;
}

.samedis-Blocs a:hover {
    color: #eb8a3e;
}

.samedis-Blocs .spip_logo {
	float: inherit;
	margin-left: 0;
}

.samedis-Slogan {
    text-align: center;
}

.samedis-Surtitre {
	font-family: 'QuicksandBold', sans-serif;
	text-align: center;
	font-size: 2em;
}

.samedis-Header {
	margin: 20px 0 40px 0;
	line-height: 1.2em;
	
}

.samedis-Header h1, .samedis-Header .samedis-Surtitre {
	margin-bottom: 30px;
	text-transform: uppercase;
	padding: 0;
	font-size: 2em;
	text-align: center;
	font-family: 'QuicksandBold', sans-serif;
	color: #eb8a3e;
	line-height: 1.2;
}

.samedis-accueil-Surtitre {
	display: block;
	margin-top: 10px;
	margin-bottom: 10px;
}

.samedis-accueil-Soustitre {
	display: block;
	margin-top: 5px;
	font-size: 0.75em;
}

.formulaire_spip .editer_checkbox_1 {
	max-width: 200px;
	margin: auto;
}


@media screen and (max-width: 840px) {
    
    #header {
        left: 0;
        position: static;
        bottom: 0;
        width: 100%;
        z-index: 1001;
        /*background-color: rgba(0, 0, 0, 0.8);*/
        display: flex;
        flex-direction: column;
    }    
    
    #header_menu_list {
        display: none !important;
        visibility: hidden;
    }
    
    #header_menu_details {
        display: block;
        position: relative;
        padding-top: 32px;
    }
    
    #header_menu_details summary {
        height: 26px;
        width: 30px;
        display: block;
        position: absolute;
        top: 4px;
        right: 20px;
        box-sizing: border-box;
        border-color: #fff;
        padding-left: 4px;
        padding-top: 1px;
    }
    
    #header_menu_details summary {
        list-style: none;
    }
    
    #header_menu_details summary::-webkit-details-marker {
        display: none;
    }
    
    #header_menu_details summary span {
        display: block;
        margin-top: 4px;
        width: 20px;
        height: 2px;
        background-color: #fff;
    }
    
    #header_menu_details ul {
        margin: 0;
        padding-left: 0;
        padding-bottom: 10px
    }
    
    #header_menu_details li {
        text-align: center;
        list-style: none;
        margin-left: 0;
		font-size: 0.9em;
		margin-bottom: 15px;
    }
    
    #header_title p {
        display: none;
    }
    
    #footer {
		display: block;
		width: auto !important;
		margin: auto !important;
		font: 11px Tahoma, Geneva, sans-serif;
		text-align: center;
		color: #ccc;
		margin-top: 30px;
        padding-top: 0;
		position: relative !important;
		left: 0;
	}
    
}

@media screen and (max-width: 479px) {
    
    .samedis-Blocs {
        display: block;
    }
    
    .samedis-Blocs > div {
		margin-bottom: 20px;
    }
    
    .samedis-Blocs .spip_logo {
		display: block;
		margin: 10px auto;
	}
	
	iframe {
		width: 100%;
	}

}

/***
 * .pslxxl
 *******/

.pslxxl-Nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.pslxxl-Bouton {
	padding: 5px;
	margin: 5px;
	border: 1px solid;
	display: inline-block;
}

a.pslxxl-Bouton, a.pssxxl-Bouton:visited {
	border-color: #217CA3;
	background-color: #217CA3;
	color: #fff;
}

span.pslxxl-Bouton, a.pslxxl-Bouton:hover {
	border-color: #eb8a3e;
	color: #eb8a3e;
	background-color: transparent;
}
