/*****************
* Module agenda
*****************/
#agenda {
	position:relative;
	margin-bottom: 15px;
}
#agenda_txt {
	position:relative;
	height: 100px;
}
#agenda_list {
	height:100px;
	margin-left:78px;
	text-align: center;
}
#agenda_today {
	position:absolute;
	top: 0; left: 0;
	width: 78px;
	height: 100%;
	display:table-cell;
	vertical-align:middle;
	background-color:#e9e9e9;
}
#agenda_today .agenda_linkall {
	width: 78px;
	height: 90px;
	display:block;
	margin-top: 5px;
	background-image: url('http://static.reseaudescommunes.fr/default/images/design/v2/icone-calendar.png');
	background-repeat:no-repeat;
	background-position:center;
}
#agenda_today .agenda_linkall:hover,
#agenda_today .agenda_linkall:focus,
#agenda_today .agenda_linkall:active {
	text-decoration:none;
}
#agenda_today .today_day_name, #agenda_today .today_day, #agenda_today .today_month, #agenda_today .today_year {
	text-align: center;
	display:block;
}
#agenda_today .today_day_name {
	color: #fff;
	font-size: 11px;
	padding-top: 12px;
	line-height: 17px;
	text-transform: uppercase;
}
#agenda_today .today_day {
	font-size: 30px;
	line-height: 30px;
	font-weight: bold;
}
#agenda_today .today_month {
	font-size: 11px;
	margin-top: 2px;
}
#agenda .event-date {
	padding:3px 8px;
	font-weight: bold;
}
#agenda .event-hour {
	padding:3px 8px;
	font-style: italic;
}
#agenda .event-title {
	padding: 15px 7px 3px;
	font-weight: bold;
	min-height: 30px;
	line-height: 30px;
}
#agenda .event-title a {
	line-height:1.2em;
	display:inline-block;
	vertical-align:middle;
}
#agenda .event-desc {
	margin:5px 8px;
	padding:3px 0 0;
	border-width:1px 0 0;
}
#agenda .rdcSlide-items > div {
	margin:0 3px;
	height:110px;
	background:#f4f4f4;
}
#agenda .first-item > div {
	margin-left:0px
}
#agenda .last-item > div{
	margin-right:0px
}

/***********************
* Module photos/videos
***********************/
#diapo {
	float:right;
	width:265px;
	height:224px;
	overflow:hidden;
	margin-bottom:15px;
}
#diapo .onglet {
	width:50%;
	float:left;
	display:block;
	font-size:24px;
    cursor:pointer;
	text-align:center;
}
#diapo .onglet_0 {
	color:#fff;
}
#diapo .contenu_onglet {
	display:none;
	padding:12px;
	height:160px;
	position:relative;
}
#diapo .linked {
	padding:3px 5px;
	position:absolute;
	bottom:14px; right:14px;
	background-color: rgba(255,255,255,0.85);
}

#diapo .conteneur {
	height:160px;
}
#diapo .read_more {
	margin-top:3px;
}


#diapo .novideo {
	height:40px;
	font-size:1em;
	padding:70px 50px;
	text-align:center;
}
#diapo .video {
	font-size:1em;
	overflow:hidden;
	position: relative;
}
#diapo .video_mini {
	width:240px;
}

.overlay_play {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 240px;
	height: 160px;
	background: url('http://static.reseaudesvilles.fr/default/images/other/video_play.png') no-repeat center;
}


/***********************
* Module Mot du maire
***********************/
#maire {
	margin-bottom: 20px;
}
#maire_titre  .title {
	font-size:1.7em;
	padding:3px;
}
#maire_txt {
	padding:10px;
	font-size:1em;
	background:#eee;
	position:relative;
	text-align:justify;
}
#maire_txt .img {
	float:left;
	border:1px #E5E5E5 solid;
	margin-right: 25px;
}
#maire_txt .maire_titre {
	font-size:14px;
	padding:4px 0 8px;
	color:#5a5a5a;
	font-weight:bold;
}



/***********************
* Module UNE
***********************/
#une_pano {
	height:395px;
	margin-bottom:15px;
}
#une_pano .opacity {
	width:420px;
	height:130px;
	position:absolute;
	bottom:35px;
	right:0;
	background:#000;
	opacity:0.5;
	filter : alpha(opacity=50); 
}
#une_pano .opacity_txt {
	width:390px;
	height:100px;
	position:absolute;
	bottom:35px;
	right:0;
	color:#ffffff;
	padding:15px;
}
#une_pano .opacity_txt a { color:#ffffff;}
#une_pano .opacity_txt .titre { margin-bottom:10px;}
#une_pano .opacity_txt .titre a {
	font-size:1.5em;
	text-decoration:none !important;	
}
#une_pano .opacity_txt .texte { margin-bottom:10px;}
#une_pano .opacity_txt .texte a {
	text-decoration:none !important;	
	font-size:1.1em;	
}
#une_pano .img img {
	-webkit-box-shadow: 1px 2px 10px 3px rgba(0,0,0,0.3) inset;
	-moz-box-shadow: 1px 2px 10px 3px rgba(0,0,0,0.3) inset;
	box-shadow: 1px 2px 10px 3px rgba(0,0,0,0.3) inset;
}

#headline_video, #headline_carre {
	width:538px;
	float:left;
	margin-bottom: 15px;
}

#headline_titre .mod_title {
	font-size: 24px;
	padding-bottom: 5px;
}
#headline_video #viewer {margin-bottom:10px;}
#headline_video .content {text-align: justify;}


#headline_carre .content {padding-top: 10px; text-align: justify}
#headline_carre .content p {
	margin: 1em 0;
}
#headline_carre .news_headline_img {
    float:left;
    width:200px;
    /* height:135px; */
    padding:3px;
    display:block;
    margin:3px 10px 5px 0;
    border:1px solid #d9d9d9;
    -webkit-box-shadow:0px 1px 1px #878787;
    -moz-box-shadow:0px 1px 1px #878787;
    box-shadow:0px 1px 1px #878787;
}
#headline_carre .news_headline_img img{
	display: block;
}

#une_video .titre a {
	font-size:1.167em;
}
#une_video .texte a.lien_suite {
	float:right;	
}

#une_video .texte{
	margin:5px 10px 5px 10px;
}

#une_video .titre {
	margin:5px 10px 0 10px;
}

#une_video .texte a {
	text-decoration:none;
	font-size:1em;
}

#une_carre {
margin: 10px 0;	
}

#une_carre .texte a {
	text-decoration:none;
	font-size:1em;
}

#une_carre .titre a {
	font-size:1.167em;
}

#une_carre .texte a.lien_suite {
	float:right;	
}

#une_carre .texte{
	margin:5px 10px 0 0;
}

#une_carre .img_content {
	float:left;
	padding:2px;
	border:#DEDDDD 1px solid;
	margin:0 10px 5px 0;
	width:200px;
	height:150px;
}

/***********************
* Module Actu Territoire
***********************/
#actu_terr {
	position:relative;
	margin-top:10px;
	padding-top:10px;
}
#actu_terr .content{
	padding:10px; 
	background:#F0F0F0;
}
#actu_terr .content p{
	margin-bottom:7px;
	width: 50%;
}
#actu_terr .content .read_more_link{
	color:#333333;
}
#actu_terr  .title{
	font-size:1.167em;
	font-weight:bold;
	text-transform: uppercase;
	margin-bottom:5px;
	margin-left:14px;
}




#newssecond {
	font-size:1em;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
	margin-bottom: 15px;
	border-width: 0 0 2px 0;
}

#newssecond .secondactu {
	float:left;
	width:175px;
	height:197px;
	position:relative;
	padding-bottom:4px;
	overflow: hidden;
}

#newssecond .secondactu .lire_la_suite {
	position:absolute;
	bottom:0px;
	right:0px;
}

#newssecond .secondactu .titre a{
	padding:7px;
	display:block;
	font-size:14px;
	font-weight: bold;
}

#newssecond .secondactu:focus a,
#newssecond .secondactu:hover a,
#newssecond .secondactu:active a {
	color:#fff;
}

#newssecond .newssecond_link{
	display:block;
	height:135px;
	border-width:0 0 2px 0;
}

#newssecond .secondactu_middle {
	margin: 0 6px 0 7px;
}

#actu {
	width:265px;
	height:225px;
	float:left;
	margin-bottom:15px;
	word-wrap: break-word;
	border-width:0 0 1px 0;
}
#actu_content {
	width:268px;
	height:190px;
	overflow:hidden;
	position: absolute;
}
#actu .link {
	float:right;
	padding:10px 10px 0 0;
}
#actu .actu_txt {
	margin:10px 0;
	font-size:1em;
}

#actu .actu_txt .titre {
	margin-bottom:3px;
}
#actu .actu_txt .titre a {
	font-size:1em;
}
#actu .actu_txt .img {
	float:left;
	margin:0 10px 0 0;
}
#actu .actu_txt p {
	/* text-align:justify; */
}
