/*
 Theme Name:   Longuesse
 Theme URI:    http://uniondesmairesduvaldoise.fr/
 Description:  Template du site de la commune de Longuesse
 Author:       Union des Maires du Val d'Oise
 Author URI:   http://uniondesmairesduvaldoise.fr/
 Template:     accesspress-lite
 Version:      1.0.0
*/
.hidden,
.Bulletin,
.entry-meta,
h1.menu-toggle,
.owl-controls,
.tabs_login,
#login > h3,
.owl-dots,
.arrow-down,
#masthead{
	display: none!important;
}

body.custom-background{
	background-size: 100%!important;
}

body{
	color: black;
	font-weight: initial;
	line-height: initial;
	font-weight: 400;
}

p + ul{
	margin-top: -10px!important;
}

a{
	color: #2b64b2;
}

a:focus,
a:hover,
a:active{
	text-decoration: underline; 
}

/*TITRES*/

h1, h2, h3, h4, h5, h6,
h1.entry-title{
	font-weight: bold!important;
	color: #087aca;
}

h1, h3.widget-title, h3.accueil{
    font-family: Merienda!important;
    text-transform: none!important;
}

h3.widget-title{
	background: transparent!important;
	border-left: 0!important;
	padding: 0 10px 10px 0!important;
}

h3.widget-title:before,
h3.accueil:before{
	font-family: FontAwesome;
	padding-right: 10px!important;
}

h3.une{
	color: #087aca!important;
	border-bottom: 1px solid #087aca!important;
}
h3.une:before{
	content: "\f1ea";
}
h3.actus{
	color: #75b84d!important;
	border-bottom: 1px solid #75b84d!important;
}
h3.actus:before{
	content: "\f1d7";
}

/*MENUS*/

#site-navigation,
.mega-sticky{
	margin-bottom: 50px!important;
	background: rgba(43, 100, 178, 0.8)!important;
	border-bottom: 0!important;
}

#mega-menu-primary > li > ul > li > a:hover,
#mega-menu-primary > li > ul > li > ul > li > a:hover{
	background: rgba(255, 255, 255, 0.9)!important;
}
#mega-menu-primary > li > ul > li > ul {
	margin-left: 2px!important;
	margin-top: 2px!important;
}

#mega-menu-primary > li > ul > li > a,
#mega-menu-primary > li > ul > li > ul > li > a{
	white-space: initial!important;
	line-height: initial!important;
	padding: 10px!important;
}

#mega-menu-primary > li:first-child{
	width: 55px!important;
}

#mega-menu-primary > li{
	width: 19.08%!important;
}

#mega-menu-max_mega_menu_1 > li:nth-child(2n){
	margin: 10px 0!important;
}

#mega-menu-max_mega_menu_1 > li{
	box-shadow: 0 0 5px #999!important;
}

#mega-menu-max_mega_menu_1 > li > a{
	background-position: left!important;
	background-repeat: no-repeat!important; 
}

#mega-menu-item-50{
	background: #e8499c!important;
    background: -webkit-gradient(linear, left top, left bottom, from(#dd336f), to(#e8499c))!important;
    background: -moz-linear-gradient(top, #dd336f, #e8499c)!important;
    background: -ms-linear-gradient(top, #dd336f, #e8499c)!important;
    background: -o-linear-gradient(top, #dd336f, #e8499c)!important;
    background: linear-gradient(to bottom, #dd336f, #e8499c)!important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDD336F', endColorstr='#FFE8499C')!important;
    border-radius: 4px!important;
}
#mega-menu-item-50 > a{
	background: url('http://prod.mairie-longuesse.fr/wp-content/uploads/2016/12/telechargement.png')!important;
}
#mega-menu-item-51{
	background: #e2c94d!important;
    background: -webkit-gradient(linear, left top, left bottom, from(#d4af33), to(#e2c94d))!important;
    background: -moz-linear-gradient(top, #d4af33, #e2c94d)!important;
    background: -ms-linear-gradient(top, #d4af33, #e2c94d)!important;
    background: -o-linear-gradient(top, #d4af33, #e2c94d)!important;
    background: linear-gradient(to bottom, #d4af33, #e2c94d)!important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFD4AF33', endColorstr='#FFE2C94D');!important
    border-radius: 4px!important;
}
#mega-menu-item-51 > a{
	background: url('http://prod.mairie-longuesse.fr/wp-content/uploads/2016/12/sedeplacer.png')!important;
}
#mega-menu-item-52{
	background: #2cccef!important;
    background: -webkit-gradient(linear, left top, left bottom, from(#20b6e8), to(#2cccef))!important;
    background: -moz-linear-gradient(top, #20b6e8, #2cccef)!important;
    background: -ms-linear-gradient(top, #20b6e8, #2cccef)!important;
    background: -o-linear-gradient(top, #20b6e8, #2cccef)!important;
    background: linear-gradient(to bottom, #20b6e8, #2cccef)!important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF20B6E8', endColorstr='#FF2CCCEF')!important;
    border-radius: 4px!important;
}
#mega-menu-item-52 > a{
	background: url('http://prod.mairie-longuesse.fr/wp-content/uploads/2016/12/meteo.png')!important;
}

/*WIDGETS*/

#ecwd_events_widget-2 > h3.widget-title{
	color: white!important;
	background: #eb6a42!important;
	border-radius: 5px!important;
	padding: 10px 15px!important;
}
#ecwd_events_widget-2 > h3.widget-title:before{
	content: "\f073";
}

#text-3 > h3.widget-title{
	color: #43a4c4!important;
	border-bottom: 1px solid #43a4c4!important;
}
#text-3 > h3.widget-title:before{
	content: "\f03e";
}

.event-main-content h3 a{
	font-style: normal!important;
	font-weight: bold!important;
	font-size: 1em!important;
}

.ecwd-no-image{
	border-bottom:1px solid #eb6a42!important;
}

/*POST-GRID*/

.titre-une,
.titre-une > h4,
.resu-une,
.resu-une > p{
	margin-bottom: 0!important;
}

.titre-une > h4,
.resu-une > p{
	color: white!important;
}

.bouton-art-suite > a{
	width: 100%!important;
}

/*FOOTER*/

#bottom-footer{
	background: #8ebadf!important;
	color: inherit!important;
}

#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;
}

/*COOKIE BAR*/
.cookie-bar-bar button#catapultCookie {
    text-transform: capitalize;
    font-weight: 600;
}
#catapult-cookie-bar a{
	font-weight:600;
}