@charset "utf-8";
/* CSS Document */

#ui-datepicker-div {
    display: none;
}

/* =Ajouts by David
-------------------------------------------------------------- */
/* 3 colonnes */
.trdcol {
	float: left;
    width: 33.333333%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	padding: 0 10px;
}

.projet {
	 min-height: 250px;	
	 background: white;
}


/* =Votes
-------------------------------------------------------------- */
.nav {
	width: 100%;
	text-align: center;	
}
ul.votesteps{
   list-style-type: none;
}
.votesteps li{
   background:#0d4da1;
   opacity: 0.4;
   display: inline;
   text-align: center;
   margin: 10px 10px 10px 0;
   padding-top: 8px;
   padding-bottom: 8px;
   padding-left: 5px;
   line-height: 30px;
   -webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	list-style: none;
}

.navegation{
	text-align:center;
	background:transparent;
	color: #FFFFFF;
	font-size: 16px;	
   	font-weight: 600;
	cursor: pointer;
	outline: none;
	border: none;
	padding: 5px 10px 5px 5px;
	margin-bottom: 1%;
}
.navegation span {
	background: #fff;
	color: #0d4da1;
	font-weight: 600;
	overflow:hidden;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    border-radius:50px;
	width: 23px; height: 23px;
	padding: 3px 1px 0 0;
	display: block;
	float: left;
	margin: -3px 6px 0 -3px;
}

@-moz-document url-prefix() {
	.navegation span {
		margin: -1px 10px 0px 0px !important;
		padding: 1px 1px 0px 0 !important;
	}
}

/* IE 11 */
*::-ms-backdrop, .navegation span {
	margin: 2px 6px 0 0px;
	padding: 0px;
	width: 25px; height: 25px;
}

li#e4{
	background: #4DA20F;
}
li#e4 .navegation span{
	color: #fff;
	background: none;
}

li#e14{
	background: #4DA20F;
}
li#e14 .navegation span{
	color: #fff;
	background: none;
}

.votesteps li.current{
	opacity: 1;
}

/* FF 
@-moz-document url-prefix() {
    legend.solidarite, legend.patrimoine, legend.environnement, legend.coup {
        margin-left: 42%;
    }
}*/
/* IE 11 
*::-ms-backdrop, legend.solidarite, legend.patrimoine, legend.environnement, legend.coup {
	 margin-left: 43%;
}*/

legend.solidarite, legend.patrimoine, legend.environnement, legend.coup {
	font-size: 19px;
	font-weight: 600;
	margin: 0 auto;
}

legend.solidarite {
	color: #2ac4f4;
	background: url(../img/legend-solidarite_2020.png) no-repeat 6px 4px;
	padding: 5px 10px 5px 55px;
}
/*legend.patrimoine {
	color: #cc007b;
	background: url(../img/legend-patrimoine_2020.png) no-repeat 8px 0px;
	padding: 5px 10px 5px 50px;
}*/
legend.environnement {
	color: #8dc63f;
	background: url(../img/legend-environnement_2020.png) no-repeat 8px 0px;
	padding: 8px 10px 5px 50px;
}
legend.coup {
	color: #d72117;
	background: url(../img/legend-prix_2016.png) no-repeat 4px 8px;
	padding: 5px 10px 5px 40px;
}

#regionPanel {
	padding-bottom: 30px;
	margin-bottom: -20px;	
}

#regionPanel fieldset {
	background: #F5F5F5;
	margin: 10px 0px; padding: 15px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	position: relative;
}
fieldset.solidarite  {
	border: 1px solid #bbeafe;
}

fieldset.patrimoine  {
	border: 1px solid #ff9cd8;
}
fieldset.environnement  {
	border: 1px solid #f8fd8e;
}
fieldset.coup  {
	border: 1px solid #ffa39e;
}

fieldset div.assoc {
	border: 1px solid #ccc;
	background: none;
}

.assoc, .projet, .assoc label {
	cursor: pointer;
}

fieldset div div label{
	width: 100%;
	height: 100%;
}

fieldset.solidarite div.assoc div.active{
	opacity:1;
	background-color:#2ac4f4;
	height:100%;
}

fieldset.patrimoine div.assoc div.active{
	opacity:1;
	background-color:#cc007b;
	height:100%;
}

fieldset.environnement div.assoc div.active{
	opacity:1;
	background-color:#8dc63f;
	height:100%;
}

fieldset.coup div.assoc div.active{
	opacity:1;
	background-color:#d72117;
	height:100%;
}

fieldset div div.inactive{
	opacity:0.3;
	height:100%;
}


div.assoc h3 {
	margin: 0;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    min-height: 50px;
    ertical-align: middle;
    padding: 6px 40px;
}

div.assoc h4 {
/*	margin-top:auto;
	margin: 0;*/
	margin-top: 0;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	padding: 17px 15px 5px 15px;
	line-height: 1.2em;
}

body.page-template-onecol div.assoc h4 {
	margin-left: 0;
}

p.desc {
	max-height:60px;
	text-align: justify;
	color: #666; 
	font-size: 12px;
	font-weight: 400;
	line-height: 1em;
	margin: 0;
	padding: 0 5px 15px 5px;
}

p.plus {
	text-align: center;
	//position: absolute;
	bottom: 15px;
	//width: 27%;
}
p.plus span {
	color: #106AAB; font-size: 14px;
	font-weight: 600;
	background: url(../img/p-plus-icon.png) no-repeat left;
	padding: 3px 0 3px 23px;
	width: 80px;
	position: relative;
	
}
.active p.plus {
	display: none;	
}
.active p.desc {
	color: #fff;
}
div.assoc .active h4 {
	color: #fff;
}
.solidarite h3 {
	background-color:#2ac4f4;
}
.solidarite h4 {
	color:#2ac4f4;
}

.patrimoine h3 {
	background-color:#cc007b;
}
.patrimoine h4 {
	color:#cc007b;
}

.environnement h3 {
	background-color:#8dc63f;
}
.environnement h4 {
	color:#8dc63f;
}

.coup h3 {
	background-color:#d72117;
}
.coup h4 {
	color:#d72117;
}


div.bouttons{
	padding:4px;
}

#finaliser, #confirmer {
	padding: 6px 12px;
	cursor: pointer;
	background-color: #4DA20F;
	border-color: #4DA20F;
	color: #FFF;
}

#finaliser:hover, #confirmer:hover {
	background: #fff;
	border: 1px solid #ccc;
	color: #4DA20F;
}
#confirmation {
	padding: 10px 0;
	text-align: center;
}

#suivant {
	float:right;
	padding: 6px 12px;
	margin-bottom:auto;
	cursor: pointer;
	margin-left: 3%;
}

#avant {
	float:left;
	padding: 6px 12px;
	margin-bottom:1%;
	cursor: pointer;
	margin-left: 3%;

}


/* tableau recap */
table.confirm {
	margin-top: 10px;
	background: #fff;
}
table.confirm th, table.confirm td {
	padding: 2px 4px;
	text-align: center;
	vertical-align: middle;
	border-collapse: collapse;
	border: 1px solid #ccc;
}
table.confirm th {
	font-size: 14px;
	color: #fff;
	background: #666;
}
table.confirm td.themes {
	text-align: right;
	padding-right: 10px;
	background: #eee;
	font-size: 14px;
}
td.tbsolidarite, #questionPanel td.tbsolidarite label {
	color: #1B9DD0;	
}
td.tbpatrimoine, #questionPanel td.tbpatrimoine label {
	color: #cc007b; 
}
td.tbenvironnement, #questionPanel td.tbenvironnement label {
	color:#8dc63f;	
}
td.tbcoup, #questionPanel td.tbcoup label {
	color:#d72117;	
}
#questionPanel table.confirm label {
	width: 100%;
	font-size: 12px;
	text-align: center;
}

/* coups de coeurs */
table.confirm td.cdc {
	text-align: center;
	background: #eee;
	font-size: 12px;
}

/* honeypot */
#passwordBlock {
    position: absolute;
    top: -7rem;
	z-index: -1;
}


/* =Responsive
-------------------------------------------------------------- */
@media screen and (max-width:1280px) {
div.assoc h3 {
    padding: 10px 10px;
}
p.desc {
    max-height: 60px;
}
}
@media screen and (max-width:1100px) {
p.desc {
    max-height: 65px;
    line-height: 1em;
}
.projet {
    min-height: 215px;
}
div.assoc h4 {
    line-height: 1.1em;
}
}

@media screen and (max-width:980px) {
div.assoc h3 {
    font-size: 15px;
    line-height: 1.1em;
    min-height: 52px;
    padding: 10px 5px;
}
p.desc {
    max-height: 65px;
    line-height: 1.0em;
}
div.assoc h4 {
    font-size: 12px;
}
}
@media screen and (max-width:780px) {
#OneCol h1.page-title {
	text-align: center;	
}
#regionPanel fieldset {
    padding: 10px 5px;
}
.projet {
    min-height: 245px;
}
div.assoc h3 {
    min-height: 65px;
}
div.assoc h4 {
    font-size: 11px;
    line-height: 1.0em;
}
p.plus span {
    font-size: 13px;
}
p.desc {
    max-height: 110px;
	text-align: left;
}
}

@media screen and (max-width:640px) {
.votesteps li{
   display: block;
   margin: 10px 0px;
}
.trdcol {
    float: none;
    width: auto;
	margin-bottom: 15px;
}
.projet {
    min-height: 200px;
	position: relative;
}
p.plus {
    bottom: 5px;
    width: 100%;
}
div.assoc h3 {
    font-size: 17px;
    line-height: 1.2em;
    min-height:inherit;
}
div.assoc h4 {
    font-size: 13px;
    line-height: 1.2em;
}
p.desc {
    max-height: inherit;
	font-size: 12px;
	line-height: 1.2em;
}

/* Tableau recap */
table.confirm th,
table.confirm td {
    padding: 5px;
	line-height: 1.4em;
}
table.confirm th {
    font-size: 12px;
}
table.confirm td.themes {
    font-size: 12px;
    line-height: 1.4em;
}
table.confirm td.cdc {
    font-size: 11px;
    line-height: 1.4em;
}

/* Formulaire confirmation */
#questionPanel input.field-full {
    width: 100%;
}
}

@media screen and (max-width:480px) {
.projet {
    min-height: 220px;
}
