/*
Theme Name : Sommeval
Theme URL : sommeval.fr
Description : Theme sommeval
Version : 1.0
Author : Alexandre Granjeon
*/


* {
	font-family:'Open Sans', sans-serif;
}
body {
	margin:0 auto;
	background:#f2f2f2;
}
.rpwe-alignleft{
display: inline;
float: left;
}
.naaaaaaaaaaaaaaaaaaaaaaaaaav {
	border-bottom:1px solid #eaeaec;
}
.type-post{
	display:inline-block !important;
}
.container {
	background:white;
	padding-right:25px;
	border-left:1px solid #cbcbca;
		border-right:1px solid #cbcbca;
		box-sizing:border-box;
}
@media(min-width:768px){
#nav {
		height:84px;
		margin-bottom:0;
}
}
.nav-liens {
	height:84px !important;
	
}

.ombre {
	box-shadow:5px 0 3px #eaeaec;
}
.nav {
	margin-top:15px;
	height:69px;
}

#primary {
	padding-top:20px;
	padding-left:25px;
}



.entry-content {
	line-height:24px;
	font-size:14px;
}


.posted-on {
	display:none;
}

.attachment-post-thumbnail {
	object-fit:cover;
	max-width:100%;
	height:auto;
	display:block;
}


.limargin {
	display:none;
}

.responsiveSlider .limargin:first-child {
	display:block;
}
@media(min-width:640px){
	#main {
		float:left; display:inline-block; width:70%; margin:0;
	}
}
@media(min-width:640px){
	#secondary {
		float:right; width:28%;	
	}
}
@media(max-width:640px){
#secondary{
float:none;
width:100%;
}
}
@media(max-width:640px){
#main {
	display:block;
	float:none;
	width:100%;
	margin-top:15px;
}
}
img {
	max-width:100%;
	height:auto;
}
.post-title {
	font-size:36px;
	font-weight:bold;
}
.post-title a {
	color:#434343;
}

.post-title a:hover {
	color:#6282a4;
	text-decoration:none;
}
.time-post {
	color:#bbb;
	font-size:12px;
}
.post-list-thumbnail {
	width:300px;
	height:250px;
	object-fit:cover;
	float:left;
	margin-right:20px;
}

.post-list .more-link {
	display:table;
	/*margin-left:320px;*/
}

.entry-summary {
	/*max-width:400px;
*/}

.post-list article {
	border-bottom:1px solid #eaeaec;
	margin-right:20px;
}

.post-list .entry-content p {
	margin-right:0px;
	font-size:14px !important;
	line-height:24px !important;
	color:#797979 !important;
}

.search-header {
	margin-top:0;
	margin-right:20px;
	font-size:36px;
	font-weight:bold;
	color:#434343;
	border-bottom:1px solid #eaeaec;
}
.search-term {
	font-style:italic;
	color:#656565;
}

.search-result .more-link  a {
	color:#434343;
}

.search-result .more-link a:hover {
	color:#6282a4;
	text-decoration:none;
}
.search-result-thumbnail {
	width:300px;
	height:250px;
	object-fit:cover;
	float:left;
	margin-right:20px;
}

.search-result .more-link {
	display:table;
	/*margin-left:320px;*/
}

.search-result article {
	min-height:350px;
	border-bottom:1px solid #eaeaec;
	margin-right:20px;
}

.search-result .entry-content p {
	margin-right:0px;
	font-size:14px !important;
	line-height:24px !important;
	color:#797979 !important;
}

.single-post-title {
	margin-top:0;
	margin-right:20px;
	font-size:36px;
	font-weight:bold;
	color:#6282a4;
}

.post-single .entry-content {
	margin-top:15px !important;
}

.post-single .attachment-post-thumbnail{
	width:860px;
	height:250px;
	object-fit:cover;
}

.post-single .entry-content {
	margin-right:20px;
}

.post-single .mot_du_maire .attachment-post-thumbnail {
	width:200px;
	height:200px;
	margin-right:20px;
	float:left;
}


.sidebar {
	z-index:999;
	margin-top:0px;
}

.sidebar .widget-title {
	font-size:20px;
	font-weight:bold;
	margin-top:0;
}

.sidebar .widget_text {
	background-color: #e96e2d;
	display:inline-block;
	color:white;
	width:100%;
	padding:20px;
	border-radius:3px 3px 3px 3px;
}

.sidebar .widget_nav_menu {

	
	margin-top:20px;
	border:1px solid #eaeaec;
	background-color:#f8f8f8;
	border-radius:3px;
}

.sidebar .widget_nav_menu ul {
	padding-right:20px;
}
.sidebar .widget_nav_menu .widget-title {
	background-color:black;
	font-weight:bold;
	color:white;
	font-size:20px;
	border-radius:3px 3px 0 0;
	padding:6px;
	padding-left:20px;
	padding-right:20px;
}
.sidebar .widget_nav_menu ul {
	padding-left:20px;
}

.sidebar .widget_nav_menu ul li {
	list-style-type:none;
	padding:6px 0px;
	border-bottom:1px solid #eaeaec;
}

.sidebar .widget_nav_menu ul li a {
		color:#434343;
}

.sidebar .widget_nav_menu ul li a:hover {
	text-decoration:none;
}


.sidebar .widget_nav_menu ul li:last-child {
	border:none;
}

.sidebar p {
	margin-bottom:0;
}

.sidebar .textwidget {
	font-size:14px;
	line-height:auto;
}

.footaire {
	padding-left:0;
	padding-right:0;

}

#footer {
	margin-top:20px;
	padding-left:20px;
	height:auto;
	padding-bottom:15px;
	padding-right:20px;
	background: rgb(40,40,39);
	color:#a9a9a9;
}

#footer2 {
	background:rgb(20,20,20);
	padding-left:20px;
	padding-bottom:15px;
	padding-right:20px;
	color:#a9a9a9;
}
	

#footer .widget-area section {
	width:22%;
	
	display:inline-table;
	line-height:24px;
	font-size:11px;
}
#footer .widget-area section:first-child {
	margin-left:20px;
}
#footer .widget-area section {
	margin-left:3%;
}

#footer .widget-area section .widget-title, #footer2 .widget-area section .widget-title {
	font-weight:bold;
	font-size:12px;
}

#footer2 .widget-area section {
	width:22%;
	
	display:inline-table;
	line-height:24px;
	font-size:11px;
}
#footer2 .widget-area section:first-child {
	margin-left:20px;
}
#footer2 .widget-area section {
	margin-left:2.8%;
}

#footer .widget-area a {
	color:#a9a9a9;
}
#footer .widget-area a:hover {
	text-decoration: none;
	border:1px dotted white;
}
#footer2 .widget-area ul {
	padding-left:0;
}
#footer2 .widget-area ul li {
	list-style-type: none;
}
#footer2 .widget-area a {
	color:#a9a9a9;
	font-size:11px;
	text-decoration:none;
}
#footer2 .widget-area a:hover {

	text-decoration:none;
	border-bottom:1px dotted #a9a9a9;
}



/* EXTENSION RPWE */





#large_post .rpwe-title{
background: none !important;
clear: none;
margin-bottom: 10px !important;
margin-top: 0 !important;
font-size: 30px !important;
line-height:30px;
color:#6282a4 !important;
font-weight:bold !important;
}
#large_post img {
	margin-right:20px;
}


#large_post .rpwe-summary{
font-size:14px !important;
line-height:24px !important;
color:#797979 !important;
}


.rpwe-block ul{
list-style: none !important;
margin-left: 0 !important;
padding-left: 0 !important;
}
.rpwe-ul {
	margin-bottom:0;
}
.rpwe-block li{
display:inline-block;
border-bottom: 1px solid #eee;
margin-bottom: 0px;
padding-bottom: 20px;
list-style-type: none;
}
.rpwe-time{
color: #bbb;
font-size: 11px;
}
.rpwe-block h3 a{
	display: block !important;
	text-decoration: none;
	color:#6282a4;
}
.rpwe-block h3 a:hover {
	color:#434343;
}

.category-list article {
	border-bottom:1px solid #eaeaec;
}


/* MOT DU MAIRE */ 

#mot_du_maire {
	margin-top:20px;
}

#mot_du_maire .rpwe-time {
	margin-top:-20px;
}

#mot_du_maire .rpwe-title, #nos_elus .rpwe-title, #presentation .rpwe-title{
background: none !important;
clear: none;
margin-bottom: 20px !important;
margin-top: 0 !important;
font-size: 30px !important;
line-height:30px !important;
color:#434343 !important;
font-weight:bold !important;
}
#mot_du_maire img {
	padding:0;
	margin-right:20px;
	padding-left:6px;
	border-left:10px solid #6282a4;
	border-top:none;
	border-bottom:none;
	border-right:none;
}
.more-link{
	display:inline-block !important;
	background:none;
	color:#6282a4;
	padding:0;
	margin-top:0;
	margin-left:15px;
}
.more-link:hover {
	text-decoration:underline !important;
}

.more-actu {
	display:block;
	padding:6px;
	background:#6282a4;
	margin-top:15px;
	color:white;
	width:155px;

	border-radius:3px;
}
.more-actu:hover {
	text-decoration:none !important;
	color:#cbcbcb !important;
}
#mot_du_maire .rpwe-summary, #nos_elus  .rpwe-summary, #presentation .rpwe-summary{
font-size:14px;
line-height:24px ;
color:#797979 ;
}
#nos_elus .rpwe-summary {
	margin-top:20px;
}
#nos_elus .rpwe-thumb {
	width:100%;
}

.rpwe-block {
	margin-top:20px;
}
/* COIN COIN COIN */ 
@media(min-width:640px){
#small_post {
	margin-top:20px !important;
}
}
@media(max-width:639px){
#small_post {
	margin-top:0;
}
}
#small_post li:first-child {
	margin-left:0;
}
@media(min-width:640px){
#small_post li {
	width:30%;
	margin-left:5%;
}
}
@media(max-width:640px){
#small_post li {
	width:100%;
	margin-top:20px;
}
}

#small_post img {
	height:120px;
	width:100%;
	object-fit:cover;
}

.post {
	max-width:100%;
}
.rpwe-block h3{
background: none !important;
clear: none;
margin-bottom: 8px !important;
margin-top: 8px !important;
font-size: 14px;
line-height:18px;
color:#434343 !important;
font-weight:bold;
}

.rpwe-thumb{
border: 1px solid #eee;
margin: 2px 10px 2px 0;
padding: 3px;
max-width:100%;
}

.rpwe-summary{
font-size:12px;
	line-height:18px;
	color:#797979;
}

.widget_search {
	margin-top:20px;
}
@media(min-width:1288px) {

.search-field {
	width:255px;
    
}
}
@media(min-width:1100px){
	.search-field {
		width:200px;
	}
}
@media(min-width:992px){
	.search-field {width:170px;}
}
@media(max-width:767px){
	.logo{
		width:150px;
		height:auto;
	}
}
.search-field {

	border-style: solid;
    border-width: 1px;
    border-color: #C8C8C8;
    border-radius: 3px;
    padding: 3px;
}

.search-field h2 {
	color:#434343;
}


.search-submit {
	border-style: solid;
    height: 28px;
    border-radius: 3px;
    border-color: #C8C8C8;
    border-width: 1px;
}
h1 {
	font-size:30px;
	margin-bottom:20px;
}


.actualites {
	color:#6282a4;
}


.page .entry-content p img {
		height:auto;
		max-width:100%;
	}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}