/*
 Theme Name:   Moussy
 Theme URI:    http://moussy.fr/
 Description:  Template du site de la commune de Moussy
 Author:       Union des Maires du Val d'Oise
 Author URI:   http://uniondesmairesduvaldoise.fr/
 Template:     accesspress-lite
 Version:      1.0.0
*/

.hidden,
.entry-meta,
.arrow-down,
.flex-control-nav.flex-control-paging,
.location_name,
h1.menu-toggle,
.tabs_login,
#login > h3,
.right-header,
.attentat,
.thu.a-la-une,
#custom_html-2 > h3,
#custom_html-2,
#custom_html-4 > h3,
#custom_html-4,
.single-alertes .alerte-sidebar,
#custom_html-5,
.menu-toggle{
	display: none!important;
}

body{
	line-height: initial!important;
	color: black!important;
	font-weight: initial!important;
}

#content{
	padding: 20px 0 40px 0;
}

p + ul,
p + ol{
	margin-top: -18px!important;
}

blockquote {
    margin: 0 15px;
    font-size: 1em;
    font-style: italic;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    position: relative;
}
blockquote:before,
blockquote:after{
	position: absolute;
    color: grey;
}
blockquote:before{
	font-family: FontAwesome;
	content:"\f10d";
    left: -16px;
	top: -11px;
}
blockquote:after{
	font-family: FontAwesome;
	content:"\f10e";
	bottom: -11px;
    right: -16px;
}

.foogallery{
	margin-bottom: 20px!important;
}

#chiffresclefs .chiffre{
	width: 19.875%!important;
	display: inline-block;
    float: left;
    margin-right: 20px;
}

.chiffre:last-child{
	margin-right: 0 !important;
}

.vc_pie_chart .vc_pie_chart_value{
	font-size: 1em!important;
}

/*LIENS*/

a{
	color: #f04f50;
}

.vc_custom_heading a,
#bottom-footer a,
#bottom-footer a:hover{
	color: #f04f50!important;
}

a.read-more{
	color: #f04f50!important;
	display: block;
	margin-top: 15px;
}

a.read-more span{
	padding: 8px 40px;
	border: 1px solid;
}

a:hover,
a:focus,
a:active{
	text-decoration: underline;
}

.caption-description a{
	color: white;
}

a.btnpubli{
	width: 50%;
	display: inline-block;
	float: left;
	text-align: center;
	background: #f04f50;
	padding: 8px;
	border: 1px solid #f4f3f6;
}

a.btndl-seul{
	width: 100%!important;
}


/*DIAPORAMA*/

.slider-caption > .ak-container{
	width: 500px;
}
#slider-banner{
	position: relative;
}
#masque{
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 80%;
	opacity: 0.8;
}

/*TITRES*/

h1, h2, h3, h4, h5, h6,
h1.entry-title{
	font-weight: bold;
	color: #007ba3;
}
h1.alerte{
	margin-bottom: 0!important;
}

.datepubli{
	margin-bottom: 20px !important;
	font-style: italic;
}

h3.widget-title{
	margin-bottom: 0 !important;
	color: white;
	background: #b2d969!important;
	border: none!important;
	text-transform: none!important;
	font-weight: 500!important;
}

h3.widget-title:before{
	font-family: FontAwesome;
	padding-right: 5px;
}

.publications h3.widget-title{
	background: transparent!important;
	color: black!important;
	margin-bottom: 15px !important;
}

/*WIDGET*/

.alerte-sidebar,
.liens-sidebar,
*[id^='custom_html']{
	box-shadow: 0 5px 5px #cacaca;;
	margin-bottom: 25px !important;
}

.alerte-sidebar .contenu,
.liens-sidebar .contenu,
.ecwd_upcomming_events,
.textwidget{
	padding: 15px 20px;
	border-top: 0!important;
	display: grid;
}
#custom_html-3 .textwidget{
	padding-bottom: 10px!important;
}

.alerte-sidebar h3:before{
	content: "\f05a";
}

#custom_html-3 h3:before{
	content: "\f0a6";
}

.liens-sidebar h3:before{
	content: "\f267";
}

.contenu *{
	margin-bottom: 0 !important;
}

.contenu{
	display: inline-block!important;
}

.bloc-liens{
	display: block;
	width: 100%;
	float: left;
	padding-bottom: 15px;
}

.contenu > .bloc-liens:last-child{
	padding-bottom: 0!important;
}
.bloc-liens > .logo{
	position: relative;
	display: inline-block;
	float: left;
	max-width: 25%;
}
.bloc-liens > .infoliens{
	display: inline-block;
	float: left;
	max-width: 75%;
	padding-left: 15px;
}
.infoliens > p{
	font-size: 0.9em;
	font-style: italic;
}

/*MENUS*/

#site-navigation{
	background: white!important;
	border-bottom: 0!important;
}

#mega-menu-primary > li:first-child{
	width: 80px!important;
}

#mega-menu-primary > li {
	width: 18%!important;
}

.mega-sticky{
	box-shadow: 0 0 5px #555!important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item{
	margin: 0 10px 10px 0!important;
}

#mega-menu-primary > li > ul a{
	padding: 10px!important;
	line-height: initial!important;
	white-space: initial!important;
}

/*POST-GRID*/

.titre-actu,
.titre-actu h5{
	margin-bottom: 0!important;
}

.contenu > .lapublication:last-child{
	margin: 0!important;
}

.lapublication{
    margin-right: 30px;
    width: 14.5%;
    display: inline-block;
}

.apercupdf{
	box-shadow: 0 0 5px #555;
}

.read-publi{
	text-align: center;
}

.foyer-rural .lapublication{
	width: 20%!important;
	margin-bottom: 30px!important;
}
.foyer-rural a{
	color: white!important;
}

.publications.foyer-rural > div > .lapublication:nth-child(4n){
	margin-right: 0!important;
}

.toutes-cat{
	display: block;
	float: left;
	width: 100%;
	margin-bottom: 5px;
}

.toutes-cat span{
	display: inline-block;
	float: left;
	font-size: 0.9em;
	padding: 5px 8px;
	background: #b2d969;
	border-bottom: 1px solid #b2d969;
	color: white;
	margin-right: 5px;
}

.toutes-cat span:hover,
.toutes-cat span.selection{
	background: white;
	font-weight: bold;
	color: #b2d969;
	cursor: pointer;
}

.img-illustration{
	position: relative;
}

.img-illustration .datepub{
	position: absolute;
	bottom: 10px;
	left: 5px;
	right: 5px;
	text-align: center;
	padding: 5px 8px;
	background: rgba(255, 255, 255, 0.8);
	font-size: 0.8em;
	font-style: italic;
	color: black!important;
}

.auteurfr{
	    font-style: italic;
    text-align: right;
    width: 100%;
    display: block;
}

/*CALENDRIER*/

.metainfo{
	padding-left: 0!important;
	background: transparent!important;
	font-style: normal!important;
}

.event-title,
.ecwd_open_event_popup{
	font-style: normal!important;
	font-weight: bold!important;
}

.ecwd_upcoming_list > li:not(:first-child) > .event-main-content{
	padding-top: 10px!important;
}

.ecwd_upcoming_list > li > .event-main-content{
	padding-right: 0!important;
	padding-left: 0!important;
}

.ecwd-time > span:before{
	font-family: FontAwesome;
	content: "\f017";
}
.ecwd-date > span:before{
	font-family: FontAwesome;
	content: "\f073";
}

/*FOOTER*/

#colophon,
#bottom-footer{
	background: transparent!important;
}
#top-footer{
	background: #f4f3f6!important;
}

#bottom-footer{
	text-align: center!important;
	color: initial;
	text-transform: none;
}

.footer1{
	width: 100%!important;
}
/*FORMULAIRES*/

input[type="text"].sib-email-area{
	width: 75%!important;
}

.navigation .nav-links a,
.bttn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"]{
	background: #7aad36!important;
	text-transform: none!important;
	border-bottom: 3px solid #5d8c1e;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
select,
textarea{
	width: 100%;
}

.civilite{
	width: 100%!important;
}

.civilite p{
	width: 50%!important;

	display: inline-block!important;
	float: left!important;
}

/*UMVO*/
#whomake{
	font-size: 0.8em;
	padding: 5px;
	float: right;
	color: #222;
	text-align: center;
	background:rgba(255,255,255,0.4);
	width: 100%;
	border-radius: 2px;
}
#whomake:hover{
	background: rgba(255,255,255,0.8);
	-webkit-transition: background-color 500ms;
    -moz-transition: background-color 500ms;
    -o-transition: background-color 500ms;
    transition: background-color 500ms;
}
#whomake > a{
	color: #222;
}
.logumvo{
	width: 80px;
	height: auto;
}

/*FLEX*/

.flexslider{
	background: #007ba3;
    margin-bottom: 0;
    padding: 15px;
    color: white;
    margin-bottom: 20px;
}