/*
Theme Name: La région 2017
Theme URI: http://www.laregion.ch
Description: Thème responsive de ergopix sàrl
Author: ergopix sàrl
Version: 3.0
*/

#wp-admin-bar-comments,#wp-admin-bar-new-content,#wp-admin-bar-wpseo-menu,#wp-admin-bar-wp-logo,#wp-admin-bar-customize,#wp-admin-bar-themes,#wp-admin-bar-search,#wp-admin-bar-updates, .screen-reader-text {
	display:none;
}

::-webkit-input-placeholder {
	color:#939393;
}

:-moz-placeholder {
	color:#939393;
	opacity:1;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	-webkit-opacity:1;
	-moz-opacity:1;
	-o-opacity:1;
}

:-ms-input-placeholder {
	color:#939393;
}

.wp-caption,img {
	max-width:100%;
	height: auto;
}

.single .no-image .page_container{
	padding-top: 60px;
}

.single .no-image .terms_single{
	height: 1px;
}

.single .no-image .communes{
	display: block;
}

embed,iframe,object,video {
	max-width:100%;
}

.alignleft {
	float:left;
}

.alignright {
	float:right;
}

.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

figure.wp-caption.alignleft,img.alignleft {
	margin:7px 24px 7px 0;
}

.wp-caption.alignleft {
	margin:7px 14px 7px 0;
}

.wp-caption-text.gallery-caption {
	margin:0 0 2px;
	background-color:#FFF;
}

figure.wp-caption.alignright,img.alignright {
	margin:7px 0 7px 24px;
}

.wp-caption.alignright {
	margin:7px 0 7px 14px;
}

img.aligncenter,.wp-caption.aligncenter {
	margin-top:7px;
	margin-bottom:7px;
}

.wp-caption {
	margin-bottom:24px;
}

.wp-caption img[class*="wp-image-"] {
	display:block;
	margin:0;
}

.wp-caption {
	color:#767676;
}

.wp-caption-text {
	box-sizing:border-box;
	font-size: 0.750em;
	line-height: 1.5;
	margin: 9px 0;
	color:#666;
	letter-spacing:.71px;
}

.single .the-content div.wp-caption .wp-caption-text {
	padding-right:10px;
}

div.wp-caption.alignright img[class*="wp-image-"],div.wp-caption.alignright .wp-caption-text {
	padding-left:10px;
	padding-right:0;
}

.single .the-content  .alignleft .wp-caption-text {
	padding-left:10px;
}

.alignright .wp-caption-text {
	margin-left:30px;
	padding-right:10px;
}

.alignleft {
	margin-left:-30px;
}

img.alignleft {
	margin-left:-120px;
}

.alignright {
	margin-right:-30px;
}

img.alignright {
	margin-right:-120px;
}

.wp-caption img {
	width:100%;
}

html {
    font-size: 1em;
    -webkit-text-size-adjust: 1em;
    -ms-text-size-adjust: 1em;
}

body {
	font-family:'Roboto',sans-serif;
	background-color:#F7F7F7;
	font-size: 100%;
	color: #1A1A1A;
	letter-spacing: 0.22px;
	line-height: 1.5;
}

a, a:visited {
	color:#0073b9;
	text-decoration:none;
	-webkit-transition: all .5s;
    transition: all .5s;
}

a:focus,a:hover,a:active {
	outline:0 none;
	text-decoration: none;
	color:#0073b9;
}

h1,h2,h3,h4,h5,h6 {
	clear: both;
	margin: 0;
	font-weight:500;
}

h1 {
	font-size:2.625em;
	color:#1A1A1A;
	margin-top: 0;
	line-height: 42px;
	margin-bottom:25px;
}

h2 {
	letter-spacing:.3px;
	font-weight:500;
	font-size:1.625em;
	color:#1A1A1A;
	margin-bottom: 10px;
	line-height: 1.1;
}

h3 {
	font-size:1.375em;
	line-height:1.0909090909;
}

h4 {
	font-size:1.250em;
	line-height:1.2;
}

h5 {
	font-size:1.125em;
	line-height:1.3333333333;
}

h6 {
	font-size:1em;
	line-height:1.5;
}

p {
	margin-bottom:20px;
	margin-top:0;
}

ul, ol {
	list-style:none;
	margin:0 0 24px 20px;
}

ul {
	list-style:disc;
}

ol {
	list-style:decimal;
}

/***********************************************************************************************
* Structure
*/
.wrapper {
	margin:auto;
}

.header-desktop{
	position: fixed;
	width: 100%;
	z-index: 9999;
	-webkit-transition: all .2s;
    transition: all .2s;		
    border-top: 3px solid #0073b9;
}

body.home-top-pub .header-desktop{
	position: relative;
	border-top: none;
}

body.home-top-pub.fixed-menu .header-desktop{
	position: fixed;
	border-top: 3px solid #0073b9;
	top: 0;
}

header {
	position: relative;
	margin: 0 auto;
	background-color: #FFF;
	border-bottom: 2px solid #F5F5F5;
}

.logo {
	background-color: #eceae2;
	max-width: 221px;
	height: 150px;
	padding: 0 20px;
	position: absolute;
	top: 0;
	left: 10px;
	z-index: 2;
}

.home .logo{
	left: 0;
}

.logo img {
	margin:20px 0;
	height: auto;
}

.logo span {
	font-size: 0.875em;
	color:#0073b9;
	display:block;
	font-weight: bold;
}

.logo_footer img {
	max-width:220px;
	margin-bottom:85px;
}

.text-archive .row a{
	line-height: 24px;
	text-decoration: none;
	display: inline-block;
	margin-bottom: 5px;
}

.text-archive .row a:hover{
	opacity: .6;
}

#page {
	background-color:#fff;
	overflow:hidden;
	padding-top:107px;
}

.home-top-pub #page{
	padding-top:0;
}

.fixed-menu #page{
	padding-top:107px;	
}

.nopadding {
	padding:0;
	margin:0;
}

footer {
	background-color:#eceae2;
	padding-top:20px;
	padding-bottom:20px;
	color: #0073b9;
}

footer a, footer a:visited{
	color: #0073b9;
}

footer a:focus, footer a:active, footer a:hover{
	opacity: .6;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";	
	color: #FFF;
}

.page_container {
	margin-top:80px;
	margin-bottom:40px;
}

.single .page_container {
	margin-top:0;
	margin-bottom: 0;
}

.image_entete img {
	width:100%;
}

/************************************************************************************************************
*
* Navigation
*
*/
/* menu-nav */
.menu-menu-principal-container {
	text-align:right;
}

#menu-menu-principal {
	margin-bottom:0;
}

.menu-item {
	display:inline-block;
	list-style:none;
	margin-left:30px;
	padding-bottom:16px;
}

.menu-item a {
	text-decoration:none;
	font-size: 1.3em;
	color: #0073b9;
	letter-spacing: 0.93px;
}

.menu-item a:hover{
	opacity: .6;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

.menu-item > .sub-menu {
	background-color:#fff;
	display:none;
	position:absolute;
	top:120%;
	right:12px;
}

.menu-item:hover > .sub-menu, .current-menu-parent > .sub-menu, li.current-menu-ancestor> ul.sub-menu {
	display:block;
}

.menu-item:hover > .sub-menu {
	z-index:100;
}

.menu-item .sub-menu .menu-item {
	float:left;
	margin:0;
	padding-bottom:0;
}

.menu-item .sub-menu .menu-item a {
	padding:0 20px;
	display:inline-block;
}

.top-menu {
	text-align:right;
	list-style:none;
	margin-top:15px;
	margin-bottom: 0;
}

.top-menu .menu-item {
	margin-left:20px;
}

.top-menu a {
	opacity:.5;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	-webkit-opacity:.5;
	-moz-opacity:.5;
	-o-opacity:.5;
	color:#0073b9;
	letter-spacing:.3px;
	line-height:24px;
	color:#0073b9;
	font-size: 15px;
}

.top-menu a:hover{
	opacity: 1;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.wp-polls {
	border-bottom:2px solid #f7f7f7;
	border-top:2px solid #f7f7f7;
	padding:20px 0 10px;
}

.wp-polls .Buttons{
	background-color: #0073b9;
	color: #ffffff;
	display: inline-block;
	text-decoration: none;
	margin: 3px 0;
	font-size: 18px;
	padding: 8px 10px;
	border: 0;
}

.the-content .wp-polls .wp-polls-form p{
	margin-bottom: 10px;
}

.the-content .wp-polls .wp-polls-form .wp-polls-ul{
	margin-bottom: 15px;
	padding-left: 0;
}

.the-content .wp-polls .wp-polls-form .wp-polls-ul li{
	line-height: 1;
	vertical-align: top;
	margin-bottom: 8px;
}

.the-content .wp-polls .wp-polls-form .wp-polls-ul li label{
	display: inline-block;
	position: relative;
	top: 2px;
	padding-left: 4px;
}

.the-content .wp-polls-ul{
	padding-left: 0;
}


#menu-menu-principal #menu-item-15454, #menu-menu-principal #menu-item-15644, #menu-menu-principal #menu-item-15647{
	display: none;
}

/***********************************************************************************************
* Mmenu
*/
.header-mobile {
	padding:15px;
	background-color:#eceae2
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:10;
}

.logo_mobile {
	margin-left:10px;
}

.logo_mobile img{
	max-width: 154px;
	height: 55px
}

.icon-bar {
	display:block;
	width:40px;
	height:3px;
	background-color:#1175b6;
	margin-right:10px;
}

.icon-bar + .icon-bar {
	margin-top:10px;
}

.boxclose,.boxclose:visited,.boxclose:active {
	color:#0D0D0D;
	text-decoration:none;
	display:block;
}

.boxclose:hover,.boxclose:focus {
	color:#0D0D0D;
	text-decoration:none;
}

.boxclose i {
	margin-right:5px;
}

.mm-menu,.mm-panel {
	background-color:#f0f0f0;
}

.mm-menu.mm-top,.mm-menu.mm-bottom {
	height:100%;
}

.mm-menu.mm-theme-white .mm-divider {
	background-color:#FFF;
	font-size:inherit;
}

.mm-menu.mm-theme-white .mm-divider.search-label {
	text-indent:0;
	margin-bottom:10px;
}

.mm-menu.mm-theme-white .mm-divider.search-label #s {
	border:none;
	background-color:#DDD;
	width:100%;
	padding:0 20px;
	line-height:42px;
}

.mm-listview .mm-next:before {
	border:none;
}

.mm-menu > .mm-panel > .mm-listview:first-child,.mm-menu > .mm-panel > .mm-navbar + .mm-listview {
	margin-top:-10px;
}

.lang-label.mm-divider a,.lang-label.mm-divider a:visited,.icon-label.mm-divider a,.icon-label.mm-divider a:visited {
	display:inline-block;
	padding:0 6px 0 0;
	text-indent:0;
	line-height:42px;
}

.icon-label.mm-divider a,.icon-label.mm-divider a:visited {
	font-size:2em;
}

.lang-label.mm-divider {
	margin-top:10px;
}

.mm-navbar .mm-title,.boxclose {
	color:#0073b9;
	font-size:1.125em;
}

.mm-listview > li.mm-selected > a {
	opacity:1;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	-webkit-opacity:1;
	-moz-opacity:1;
	-o-opacity:1;
}

.mm-listview .mm-next + a,.mm-listview .mm-next + span {
	margin-left:50px;
}

.mm-listview .mm-next {
	width:100%;
}

/***********************************************************************************************
* WP paginate
*/
.page_navigation {
	text-align:center;
	margin:auto;
	margin-bottom:50px;
	margin-top:40px;
}

.wp-paginate {
	padding:0;
	margin:0;
	display:inline-block;
}

.wp-paginate li {
	display:inline;
	list-style:none;
}

.wp-paginate a {
	background:#f0f0f0;
	border:1px solid #f0f0f0;
	color:#666;
	margin-right:4px;
	padding:4px 8px;
	text-align:center;
	text-decoration:none;
}

.wp-paginate a:hover,.wp-paginate a:active {
	background:#F7F7F7;
	color:#888;
}

.wp-paginate .title {
	color:#555;
	margin-right:4px;
}

.wp-paginate .gap {
	color:#999;
	margin-right:4px;
}

.wp-paginate .current {
	color:#fff;
	background:#0073b9;
	border:1px solid #0073b9;
	margin-right:4px;
	padding:4px 8px;
}

/***********************************************************************************************
* Search
*/
#s {
	margin:0;
	border:1px solid #CCC;
	color:#666;
	padding:8px 5px;
	vertical-align:top;
	margin-bottom:10px;
	width:82%;
}

#searchsubmit {
	cursor:pointer;
	line-height:31px;
	padding:4px 40px;
	border:1px solid #CCC;
	width:auto;
}

#searchform{
	margin-top: 45px;
}

/***********************************************************************************************
* Gallery
*/
.gallery-item img{
	height: auto;
	margin-bottom: 15px;
}

.gallery-item{
	margin: 0;
}

.gallery{
	padding: 0 10%
}

.gallery .row{
	margin-left: -7.5px;
	margin-right: -7.5px;
}

.gallery .row .col-sm-4{
	padding: 0 7.5px;
}

.gallery-caption{
	display: none;
}

/***********************************************************************************************
* post
*/
.img_box {
	position:relative;
	overflow:hidden;
	height:207px;
}

.first_post.img_box {
	height:650px;
}


.page-id-9 .text-content ul{
	list-style: none;
	margin: 0 0 15px 0;
	padding: 0;	
}

.page-id-9 .text-content ul a:hover{
	opacity: .6;
}

.linkcat{
	list-style: none;
	margin: 0;
	padding: 0;
}

.text_box {
	display:block;
	margin-bottom:60px;
	padding-left:30px;
	padding-right:30px;
}

.archive.category .text_box, .home .text_box, .archive.date .text_box, .archive.tax-cat_edition .text_box, .search.search-results .text_box, .tax-commune .text_box{
	margin-bottom: 25px;
	padding: 10px 15px 0 15px;
}

.post .img_box a img{
	-webkit-transition: all .5s;
    transition: all .5s;	
    max-width: 120%;
	width: 112%;
}

.post .img_box .wppaszone img {
    max-width: 100%;
	width: 100%;
}

.post:hover .img_box a img, .post:hover .text_box{
	opacity: .7;
}

.post.first_post:hover .text_box{
	opacity: 1;
}

.post.first_post .img_box{
	height: 545px;
}

.archive.category .text_box a{
	display: block;
}

.left_post .img_box,.right_post .img_box, .center_post .img_box {
	height:206px;
}

.page_container_image .text-content {
	margin-top:-60px;
	margin-bottom:60px;
	overflow:hidden;
	background-color:#fff;
	padding-top:15px;
}

.first_post .text_box{
	position: absolute;
	bottom: 0;
	background-color: rgba(255,255,255,.9);
	width: 100%;
	margin-bottom: 0;
	padding: 30px 30px;	
	z-index: 1;
}

.first_post .text_box h1{
	position: relative;
	left: -1px;
	margin-bottom: 10px;
	margin-top: 10px;
}

.first_post .text_box a{
	display: block;
}

.home .first_post .terms{
	bottom: auto;
	top: 0;
	z-index: 2;
}

.addon_box {
	margin-left:-60px;
}

.right_post {
	padding-left:1px;
}

.center_post {
	padding-right:1px;
	padding-left: 1px;
}

.img_box img {
	width:100%;
}

.img_week {
	position:relative;
}

.terms {
	position:absolute;
	bottom:0;
	right:0;
	margin-bottom:0;
	padding:0;
	margin:0;
}

.single-post .terms {
	bottom:18px;
}

.pub-middle-home{
	margin-right: -30px;
	margin-left: -30px;
}

.text-content .terms a {
	text-decoration:none;
	color:#fff;
}

.terms a:hover {
	background-color: #C20E1A;
}

.terms_single {
	position:static;
	margin-bottom:40px;
	display:block;
}

.terms_single li {
	display:block;
	float:left;
}

.row_absolute .terms {
	right:auto;
	left:-15px;
}

.first_post .row_absolute .terms {
	left: auto;
	right: 0;
}

.terms li {
	list-style:none;
	display:block;
	float:left;
	padding:0;
}

.terms a {
	padding:7px 15px;
	font-size:0.7em;
	color:#FFF;
	letter-spacing:1px;
	line-height:0.875em;
	text-transform:uppercase;
	background:#2B86D6;
	display:inline-block;
	border-right:1px solid #0073b9;
}

.term_1 a {
	background:#0073b9;
}

.term_1 a {
	border-right:none;
}

.terms_sidebar {
	margin-left:0;
	padding-left:0;
	display: none;
}

.terms_sidebar li {
	display:inline-block;
	margin-right:15px;
}

.terms_sidebar a,.download {
	font-size:0.750em;
	color:#0073b9;
	text-transform:uppercase;
	letter-spacing:1px;
	line-height:14px;
}

.single .text-content p, .single .text-content h2, .single .text-content h3, .single .text-content h4, .single .text-content ul, .single .text-content ol, .single .text-content .author {
    padding: 0 10% 0 10%;
}

.single .text-content p{
	text-align: justify;
}

/***********************************************************************************************
* sidebar
*/
.sidebar p {
	margin-bottom:7px;
}

.sidebar .term_1 a {
	background:transparent;
}

.sidebar .term_2 a {
	color:#2B86D6;
}

.post_sidebar {
	border-bottom:2px solid #f7f7f7;
	display:block;
	margin-bottom:10px;
}

.post_sidebar:last-child {
	border-bottom:none;
}

/***********************************************************************************************
* Tubpress
*/
.text-content a.tubepress-cursor-pointer,.text-content .tubepress-pagination a {
	text-decoration:none!important;
}

.tubepress-thumbnail-image {
	width:145px;
	height:auto;
}

.text-content ul li.tubepress-pagination-item:before {
	display:none;
}

.tubepress-pagination {
	margin-top:60px;
}

span.date, .communes a, .communes a:visited, .communes{
	font-size:0.875em;
	color:#aaa;
	letter-spacing:1px;
	line-height:16px;
	text-transform:uppercase;
	margin-bottom:5px;
	display:block;
	font-weight: 500;
}

.communes a, .communes a:visited, .communes{
	color: #0073b9;
}

.post span.title-cat{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255,255,255,.8);
	color: #0073b9;
	text-transform: uppercase;
	margin-bottom: 0;
	font-weight: 500;
	letter-spacing: 0px;
	line-height: 100%;
	font-size: 1.250em;
	padding: 15px 10px;
}

.communes a, .communes a:visited, .communes a, .communes span{
	color: #0073b9;
	display: inline-block;
	margin-right: 3px;
}

.communes a:hover, .communes a:focus, .communes a:active, span.date a:hover, span.date a:active, span.date a:focus {
	opacity: .6;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

.single-post h1{
	margin-bottom: 10px;
}

.single-post span.date{
	margin-bottom: 25px;
}

.chapeau {
    font-size: 1.375em;
    color: #1A1A1A;
    letter-spacing: 0.3px;
    line-height: 1.45454545;
}


/***********************************************************************************************
* Button
*/
.button_box {
	color:#ffffff!important;
	letter-spacing:.22px;
	line-height:24px;
	display:inline-block;
	padding:20px 100px;
	text-align: center;
	border-radius: 40px;
	letter-spacing: .3px;
	background-color: #0073b9;
	margin-top:50px;
	margin-bottom:90px;
}

.button_box .fa{
	margin-left: 10px;
}

.button_box:hover {
	opacity:.65;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
	-webkit-opacity:.65;
	-moz-opacity:.65;
	-o-opacity:.65;
}

footer .button_box {
	margin-top:0;
	color:#fff;
	background: #0073b9;
	padding: 20px 45px;
	width: 100%;
}

footer .button_box:hover {
	text-decoration:none;
}

.form-line {
	margin-bottom:10px;
}

.abo-form label{
	display: inline-block;
	width: 120px;
}

.abo-form{
	margin-bottom: 45px;
}

.padding-single{
	padding: 0 10%;
}

.ssba-wrap{
	margin-left: -6px;
	margin-top: 30px;
}

.ssba-share-text{
	display: none;
}

.sidebar h4{
	margin-bottom: 10px;
	text-transform: uppercase;
	color: #CCCCCC;
	font-size: 0.875em;
}

.img-partner{
	margin-bottom: 5px;
}

.sidebar-block{
	margin-bottom: 30px;
}

.sidebar-block-posts{
	margin-top:60px;
}

.post_sidebar h5{
	color: #000;
	line-height: 1.2;
	margin-bottom: 5px;
}

.post_sidebar:hover h5,.post_sidebar:hover p,.post_sidebar:hover span.date {
	opacity:.6;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

.post_sidebar span.date{
	font-size: 0.750em;
	margin-bottom: 10px;
	font-weight: 300;
}

.the-content ul, .the-content ol{
	list-style-position: outside;
	margin-left: 0;
	padding-left: 15px;
}

.the-content a:hover, .the-content a:focus, .the-content a:active{
	opacity: .6;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

.post-type-archive-editions a.text_box, .post-type-archive-editions a.text_box:visited {
	border-top:1px solid #f7f7f7;
	padding-top:20px;
	background:url(images/pdf.svg) no-repeat 0 24px;
	padding-left:55px;
	padding-right: 0;
	display: inline-block;
	margin-bottom: 0;
}

.editions .text_box:hover, .editions .text_box:focus, .editions .text_box:active{
	opacity: .6;
}

.editions .text_box h2{
	font-size: 1.3em;
}

#cboxTitle {
	bottom: 0;
	text-align:left;
	line-height:100%;
	padding-right:25px;
}

.nivo-lightbox-theme-default.nivo-lightbox-overlay {
    background: rgba(255,255,255,.95);
}

.nivo-lightbox-theme-default .nivo-lightbox-title {
    font: inherit;
    background: transparent;
    color: #000;
    padding: 0;
    border-radius: 0;
}

.nivo-lightbox-theme-default .nivo-lightbox-close{
	background: url("images/close.png") no-repeat 9px 9px;
	opacity: 1;
	height: 42px;
	width: 42px;
}

.post h2{
    margin-bottom: 8px;
}

.center{
	text-align: center;
}

.partner-page .row{
	margin-left: -2px;
	margin-right:-2px;
	margin-bottom: 45px;
	margin-top: 15px;
}

.partner-page .col-xs-1, .partner-page .col-sm-1, .partner-page .col-md-1, .partner-page .col-lg-1, .partner-page .col-xs-2, .partner-page .col-sm-2, .partner-page .col-md-2, .partner-page .col-lg-2, .partner-page .col-xs-3, .partner-page .col-sm-3, .partner-page .col-md-3, .partner-page .col-lg-3, .partner-page .col-xs-4, .partner-page .col-sm-4, .partner-page .col-md-4, .partner-page .col-lg-4, .partner-page .col-xs-5, .partner-page .col-sm-5, .partner-page .col-md-5, .partner-page .col-lg-5, .partner-page .col-xs-6, .partner-page .col-sm-6, .partner-page .col-md-6, .partner-page .col-lg-6, .partner-page .col-xs-7, .partner-page .col-sm-7, .partner-page .col-md-7, .partner-page .col-lg-7, .partner-page .col-xs-8, .partner-page .col-sm-8, .partner-page .col-md-8, .partner-page .col-lg-8, .partner-page .col-xs-9, .partner-page .col-sm-9, .partner-page .col-md-9, .partner-page .col-lg-9, .partner-page .col-xs-10, .partner-page .col-sm-10, .partner-page .col-md-10, .partner-page .col-lg-10, .partner-page .col-xs-11, .partner-page .col-sm-11, .partner-page .col-md-11, .partner-page .col-lg-11, .partner-page .col-xs-12, .partner-page .col-sm-12, .partner-page .col-md-12, .partner-page .col-lg-12{
	padding-left: 2px;
	padding-right: 2px;
}

.sidebar-submenu{
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar-submenu a, .sidebar-submenu a:visited{
	text-decoration: none;
	font-size: 1.5em;
	color: #0073b9;
	letter-spacing: 0.93px;
}

.sidebar-submenu a:hover, .sidebar-submenu a:focus, .sidebar-submenu a:active, .sidebar-submenu .current_page_item a{
	opacity: .6; 
}

.form-line input[type="submit"]{
	background-color: #0073b9;
	color: #ffffff;
	text-decoration: none;
	margin: 3px 0;
	display: inline-block;
	font-size: 18px;
	padding: 8px 10px;
	border: 0;
	-webkit-transition: all .5s;
	transition: all .5s;
}

.form-line input[type="submit"]:hover{
	opacity: .6;
}

ul.wp-tag-cloud{
	list-style: none;
	margin: 30px 0;
	padding: 0;
}

ul.wp-tag-cloud li{
	display: inline-block;
	margin-right: 1px;
	margin-bottom: 5px;
}

ul.wp-tag-cloud li a, ul.wp-tag-cloud li a:visited{
    box-shadow: none;
    font-size: 1em;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    line-height: 1;
    position: relative;
    vertical-align: top;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: white;
    border: 1px solid #dbdbdb;
    color: #363636;
    cursor: pointer;
    padding: 5px 10px;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
}

ul.wp-tag-cloud li a span.tagcount{
	border-radius: 50%;
	font-size: 0.75em;
	background: #0073b9;
	color: #FFF;
	text-align: center;
	width: 20px;
	height: 20px;
	display: inline-block;
	position: absolute;
	line-height: 19px;
	right: 10px;
	top: 9px;
}

ul.wp-tag-cloud li a:hover, ul.wp-tag-cloud li a:focus, ul.wp-tag-cloud li a:active{
	background-color: #F6F7F9;
}

ul.wp-tag-cloud li a.commune-active {
	background-color: #0073b9;
	color: #FFF;
}

.select-communes{
	margin-bottom: 45px;
}

#communes{
	width: 100%;
}

#logout {
	float: right;
	margin-top: 7px;
}

#logout a {
	font-size: 40%;
}

@media (max-width: 767px) {
	#page {
	    padding-top: 0;
	}
	#searchform{
		margin-top:0;
	}
	#s {
	    width: 100%;
	}
	 h1 {
	    font-size: 1.6em;
	    line-height: 26px;
	}
	.chapeau {
	    font-size: 1.2em;
	}
	#searchsubmit{
		width: 100%;
		margin-bottom: 15px;
	}
	.left_post .img_box, .right_post .img_box {
	    height: auto;
	}
	.img-partner {
    	width: 100%;
    	float: none;
	}
	.page_container {
	    margin-top: 25px;
	    margin-bottom: 0;
	}
	footer .button_box {
	    padding: 13px 35px;
	    width: 100%;
	    margin-bottom: 0;
	}
	.editions .text_box {
	    margin-bottom: 15px;
	    padding-right: 0;
	}
	.partner-page .row{
		margin-bottom: 0px;
	}
	.button_box {
		padding: 13px 30px;
		margin-top: 10px;
		margin-bottom: 50px;
		width: 100%;
	}
 	.first_post .text_box {
	    position: relative;
	    bottom: auto;
	    background-color: transparent;
	    margin-bottom: 0;
	    padding: 30px 30px;
	}
	.first_post .text_box h1 {
	    left: 0;
	    letter-spacing: .3px;
		font-weight: 500;
		font-size: 1.625em;
		color: #1A1A1A;
		margin-bottom: 10px;
		line-height: 1.1;
	}
	.first_post .img_box a{
		display: block;
		position: relative;
	}
	.three-box .img_box {
	    height: 75px;
	}
	.post .img_box{
		float: left;
		width: 33.3333%;
	}
	.post .img_box.pub-single-home {
    	float: none;
    	width: 100%;
    	margin-bottom: 10px;
    	margin-top:10px;
	}
	.post .text_box{
		float: left;
		width: 66.6666%;
		font-size: 66%;
		padding: 0 10px 0px 10px;
		margin-bottom: 0;
		position: relative;
		top: -4px;
	}
	.post span.date, .post .communes a, .post .communes a:visited, .post .communes{
		margin-bottom: 0;
	}
	.post h2 {
		margin-bottom: 3px;
	}
	.post{
		margin-bottom: 5px;
	}
	.post.first_post .img_box{
		float: none;
		width: 100%;
	}
	.post.first_post .text_box{
		width: 100%;
		float: none;
		top:0;
		margin-top: 5px;
	}
	.first_post .text_box h1 {
	    margin-bottom: 3px;
	    margin-top: 3px;
	}
	.post.first_post .img_box{
		height: auto;
	}
	.sidebar{
		padding: 0 10% 0 10%;
	}
	.archive.category .text_box, .home .text_box, .archive.date .text_box, .archive.tax-cat_edition .text_box, .search.search-results .text_box, .tax-commune .text_box{
		margin-bottom: 0;
		padding: 0 10px 0px 10px;
	}
	.select2-container{
		width: 100%!important;
	}
	.button_box{
		margin-bottom: 15px;
	}
	.editions .text_box{
		float: none;
		width: 100%;
	}
	.post-type-archive-editions a.text_box, .post-type-archive-editions a.text_box:visited {
	    background: url(images/pdf.svg) no-repeat 0 23px;
	    padding-left: 32px;
	    background-size: 20px;
	}
	.left_post .img_box, .right_post .img_box, .center_post .img_box{
		height: auto;
	}
	.first_post.img_box {
    	height: auto;
	}
	.pub-xs{
		padding: 0 10%;
	}
	.pub-hom-top-sm{
		margin-top: 10px;
		margin-bottom: 10px;
	}
	#logout {
		float:none;
		display:block;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.pub-xs{
		padding: 0 10%;
	}
	.left_post .img_box, .right_post .img_box, .center_post .img_box, .img_box  {
	    height: 176px;
	}
	#s {
	    width: 76%;
	}
	#searchform{
		margin-top:0;
	}
	#page {
	    padding-top: 80px;
	}
	.page_container {
	    margin-top: 25px;
	}
	.img-partner {
    	width: 50%;
    	float: left;
	}
	.home .img-partner{
		width: 100%;
    	float: none;
	}
	footer .button_box {
	    padding: 13px 15px;
	    width: 100%;
	    margin-bottom: 0;
	}
	.partner-page .row{
		margin-bottom: 0px;
	}
	.post.first_post .img_box{
		height: 425px;
	}
	.sidebar{
		padding: 0 10% 0 10%;
	}
	.sidebar h4{
		text-align: center;
	}
	.pub-hom-top-sm{
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

@media (min-width: 1441px) {
	.left_post .img_box, .right_post .img_box, .center_post .img_box, .img_box {
	    height: 253px;
	}
	#s {
	    width: 85%;
	}
	.post.first_post .img_box{
		height: 650px;
	}
	.menu-item a {
		font-size: 1.563em;
	}
	#page {
	    padding-top: 114px;
	}
	.top-menu a{
		font-size: 16px;
	}
	.home-top-pub #page{
		padding-top:0;
	}
	.fixed-menu #page{
		padding-top:107px;	
	}
	.first_post.img_box {
		height:783px;
	}
}