/*!
Theme Name: aaa
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aaa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

aaa is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}



a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/



/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* PERSONNALISATION_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ */


/* COULEURS _____________________________________________________________________________________*/
.has-pays-de-morlaix-color {
	color: #3EAF84;
}
.has-pays-de-morlaix-background-color {
	background-color: #3EAF84;
}
.has-scot-color {
	color: #D1D161;
}
.has-scot-background-color {
	background-color: #D1D161;
}
.has-patrimoine-color {
	color: #F0837A;
}
.has-patrimoine-background-color {
	background-color: #F0837A;
}
.has-innovation-color {
	color: #7CA9DB;
}
.has-innovation-background-color {
	background-color: #7CA9DB;
}
.has-eau-color {
	color: #88c9b1;
}
.has-eau-background-color {
	background-color: #88c9b1;
}
.has-financements-color {
	color: #BC99C8;
}
.has-financements-background-color {
	background-color: #BC99C8;
}
.has-sante-color {
	color: #EA4D51;
}
.has-sante-background-color {
	background-color: #EA4D51;
}
.has-emploi-formation-color {
	color: #6B4696;
}
.has-emploi-formation-background-color {
	background-color: #6B4696;
}
.has-conseil-developpement-color {
	color: #2fc0f2;
}
.has-conseil-developpement-background-color {
	background-color: #2fc0f2;
}

.category-pays-de-morlaix h1, .category-pays-de-morlaix h2, .category-pays-de-morlaix h3, .category-pays-de-morlaix h4, .category-pays-de-morlaix h2 a, .category-pays-de-morlaix h2 a:visited, .category-pays-de-morlaix .surtitre-categorie, #post-10 h1, #post-10 h2, #post-10 h3, #post-10 h4,  .parent-pageid-10 h1, .parent-pageid-10 h2, .parent-pageid-10 h3, .parent-pageid-10 h4, .blog h1,  .couleur-actu { color: #00A983; }

.category-scot h1, .category-scot h2, .category-scot h3, .category-scot h4, .category-scot h2 a, .category-scot h2 a:visited, .category-scot .surtitre-categorie, #post-536 h1, #post-536 h2, #post-536 h3, #post-536 h4, .parent-pageid-536 h1, .parent-pageid-536 h2, .parent-pageid-536 h3, .parent-pageid-536 h4  { color: #D1D161; }

.category-eau h1, .category-eau h2, .category-eau h3, .category-eau h4, .category-eau h2 a, .category-eau h2 a:visited, .category-eau .surtitre-categorie, #post-25 h1, #post-25 h2, #post-23 h3, #post-25 h4, .parent-pageid-25 h1, .parent-pageid-25 h2, .parent-pageid-25 h3, .parent-pageid-25 h4 { color: #88c9b1; }
	
.category-cadre_de_vie h1, .category-cadre_de_vie h2, .category-cadre_de_vie h3, .category-cadre_de_vie h4, .category-cadre_de_vie h2 a, .category-cadre_de_vie h2 a:visited, .category-cadre_de_vie .surtitre-categorie, #post-27 h1, #post-27 h2, #post-27 h3, #post-27 h4,  .parent-pageid-27 h1, .parent-pageid-27 h2, .parent-pageid-27 h3, .parent-pageid-27 h4  { color: #EA4D51; }

.category-patrimoine h1, .category-patrimoine h2, .category-patrimoine h3, .category-patrimoine h4, .category-patrimoine h2 a, .category-patrimoine h2 a:visited, .category-patrimoine .surtitre-categorie, #post-29 h1, #post-29 h2, #post-29 h3, #post-29 h4, .parent-pageid-29 h1, .parent-pageid-29 h2, .parent-pageid-29 h3, .parent-pageid-29 h4  { color: #F0837A; }

.category-financement h1, .category-financement h2, .category-financement h3, .category-financement h4, .category-financement h2 a, .category-financement h2 a:visited, .category-financement .surtitre-categorie, #post-31 h1, #post-31 h2, #post-31 h3, #post-31 h4, .parent-pageid-31 h1, .parent-pageid-31 h2, .parent-pageid-31 h3, .parent-pageid-31 h4  { color: #BC99C8; }	

.category-emploi_formation h1, .category-emploi_formation h2, .category-emploi_formation h3, .category-emploi_formation h4, .category-emploi_formation h2 a, .category-emploi_formation h2 a:visited, .category-emploi_formation .surtitre-categorie, #post-33 h1, #post-33 h2, #post-33 h3, #post-33 h4, .parent-pageid-33 h1, .parent-pageid-33 h2, .parent-pageid-33 h3, .parent-pageid-33 h4  { color: #6B4696; }

.category-innovation h1, .category-innovation h2, .category-innovation h3, .category-innovation h4, .category-innovation h2 a, .category-innovation h2 a:visited, .category-innovation .surtitre-categorie, #post-35 h1, #post-35 h2, #post-35 h3, #post-35 h4, .parent-pageid-35 h1, .parent-pageid-35 h2, .parent-pageid-35 h3, .parent-pageid-35 h4  { color: #7CA9DB; }

.category-sante h1, .category-sante h2, .category-sante h3, .category-sante h4, .category-sante h2 a, .category-sante h2 a:visited, .category-sante .surtitre-categorie, #post-131 h1, #post-131 h2, #post-131 h3, #post-131 h4, .parent-pageid-131 h1, .parent-pageid-131 h2, .parent-pageid-131 h3, .parent-pageid-131 h4  { color: #EA4D51; }


.category-conseil-de-developpement h1, .category-conseil-de-developpement h2, .category-conseil-de-developpement h3, .category-conseil-de-developpement h4, .category-conseil-de-developpement h2 a, .category-conseil-de-developpement h2 a:visited, .category-conseil-de-developpement .surtitre-categorie, #post-540 h1, #post-540 h2, #post-540 h3, #post-540 h4, .parent-pageid-540 h1, .parent-pageid-540 h2, .parent-pageid-540 h3, .parent-pageid-540 h4 { color: #2fc0f2; }


/* LARGEURS______________________________________________________________________________ */

.site-main {
	max-width: 1000px;
	margin: 33vw auto 20px;
	background-color:#fff;
}
.home .site-main {
		margin: 29vw auto 20px;
}
/* page maintenance */
.page-id-1374 {
	margin: 50px;
	
}


/* Typographie du site 
-----------------------------------*/

h1, .home h2 {
	font-family: 'Dosis', sans-serif;
	text-transform: uppercase;
	font-size: 2.7em;
}

.home h1, .home h2, .home h3, .home h4 {
	color: #3EAF84;
}

/* Boutons Wordpress */
.wp-block-button__link {
	border-radius: 12px;
	height: 2.4em;
	line-height:0.8em;
	transition-duration:0.2s;    
}
.wp-block-button__link:hover {
	transform: scale(1.2);    
}


.surtitre-categorie {
  text-transform: uppercase;
  font-family: 'Dosis', sans-serif;
  font-size: 2.5em;
}

h2 {
  font-weight: normal;
  font-size: 2.5em;
  line-height: 1em;
  margin-bottom: 1.5em;
}



/* Ornements 
-----------------------------------*/

.separateur-pleine-largeur {
  border-bottom: none;
  border-top: none;
  background-color: #fff;
  height: 8px;
  margin-bottom:4em;
  
}
.separateur-pleine-largeur::after {
  content: "";
  display: block;
  background-image: url(/wp-content/themes/aaa/design/pointille.png);
  background-repeat: repeat-x;
  height: 5px;
  position: absolute;
  width: 100vw;
  left: 0;
}



.portraits-ronds img {
  filter: grayscale(1);
  width: 100%;
  height: 100%;	
  border-radius: 50%;
} 
 .portraits-ronds {
  border-radius: 50%;
  padding: 7px;
  width: 80%;
  margin:0 auto;		
}

#post-10 .portraits-ronds {
  border: 4px solid #00A983;
} 
#post-23 .portraits-ronds {
  border: 4px solid #88C9B1;
}  
#post-25 .portraits-ronds {
  border: 4px solid #88c9b1;
}  
#post-27 .portraits-ronds {
  border: 4px solid #EA4D51;
} 
#post-29 .portraits-ronds {
  border: 4px solid #F0837A;
} 
#post-31 .portraits-ronds {
  border: 4px solid #BC99C8;
}
#post-33 .portraits-ronds {
  border: 4px solid #6B4696;
}  
#post-35 .portraits-ronds {
  border: 4px solid #7CA9DB;
}
#post-131 .portraits-ronds {
  border: 4px solid #EA4D51;
} 
#post-133 .portraits-ronds {
  border: 4px solid #BCB350;
}  
#post-536 .portraits-ronds {
  border: 4px solid #D1D161;
} 
#post-540 .portraits-ronds {
  border: 4px solid #2fc0f2;
} 


/* Encadrés pleine largeur 
------------------------------------------------- */

.paragraphe-plein-ecran h2, .paragraphe-plein-ecran h3, .paragraphe-plein-ecran h4 {
  color:#fff !important;
}

.paragraphe-plein-ecran {
  position: relative;
  padding: 10px 20px;
  margin: 20px 0;	
  color:#fff;
}
.paragraphe-plein-ecran a {
  color: #fff;
}

#post-10 .paragraphe-plein-ecran {
  background-color: #00A983;
}
#post-23 .paragraphe-plein-ecran {
  background-color: #88C9B1;
}
#post-25 .paragraphe-plein-ecran {
  background-color: #88c9b1;
}
#post-27 .paragraphe-plein-ecran {
  background-color: #EA4D51;
}
#post-29 .paragraphe-plein-ecran {
  background-color: #F0837A;
}
#post-31 .paragraphe-plein-ecran {
  background-color: #BC99C8;
}
#post-33 .paragraphe-plein-ecran {
  background-color: #6B4696;
}
#post-35 .paragraphe-plein-ecran {
  background-color: #7CA9DB;
}
#post-131 .paragraphe-plein-ecran {
  background-color: #EA4D51;
} 
#post-133 .paragraphe-plein-ecran {
  background-color: #BCB350;
}
#post-540 .paragraphe-plein-ecran {
  background-color: #2fc0f2;
}
#post-536 .paragraphe-plein-ecran {
  background-color: #D1D161;
}
.paragraphe-plein-ecran::before {
	  content: "";	
      display: block;
      position: absolute;
      top: 0;
      width: 100vw;
      height: 100%;
      z-index: 0;
	  background-image: url("/wp-content/themes/aaa/design/pointille-encadre-blanc.png"), url("/wp-content/themes/aaa/design/pointille-encadre-blanc.png"); 
      background-position: 0 6px, 0 calc(100% + 15px);
      background-repeat: repeat-x;
	margin-left: -20px;
      }

@media screen and (min-width: 1000px) {
	.paragraphe-plein-ecran {	
        background-color: rgba(255, 255, 255, 0);
	}
	.paragraphe-plein-ecran div {
        z-index: 100;
        position: relative;
		max-width: 1000px;
     }	
	.paragraphe-plein-ecran::before {
      left: calc(-50vw + 520px);	
      }
	  #post-10 .paragraphe-plein-ecran::before {
		background-color: #3EAF84;
	  }
      #post-23 .paragraphe-plein-ecran::before {
		background-color: #88C9B1;
	  }
 	  #post-25 .paragraphe-plein-ecran::before {
        background-color: #88c9b1;
	  }
      #post-27 .paragraphe-plein-ecran::before {
	    background-color: #EA4D51;
	  }
      #post-29 .paragraphe-plein-ecran::before {
	    background-color: #F0837A;
	  }
      #post-31 .paragraphe-plein-ecran::before {
	    background-color: #BC99C8;
	  }
      #post-33 .paragraphe-plein-ecran::before {
   	    background-color: #6B4696;
	  }
      #post-35 .paragraphe-plein-ecran::before {
	    background-color: #7CA9DB;
	  }
      #post-131 .paragraphe-plein-ecran::before {
	    background-color: #EA4D51;
	  }
      #post-133 .paragraphe-plein-ecran::before {
	    background-color: #BCB350;
	  }	
	  #post-536 .paragraphe-plein-ecran::before {
  		background-color: #D1D161;
      }
	  #post-540 .paragraphe-plein-ecran::before {
  		background-color: #2fc0f2;
      }

} 

@media screen and (max-width: 1000px) {
	.paragraphe-plein-ecran {	
        width: 100vw;
		margin-left: -20px;
	}
	
}

/* En-tête
--------------------------------------------- */
#masthead {
	width: 95vw;
	margin: 30px auto 190px;
}
.site-branding {
	height:11vw;
	width: 300px;
}
.site-branding img {
	display: block;
	margin: 0 auto;
    max-width: 220px;	
}

.boutons img {
    width: 35px;	
	transition-duration:0.2s;
}
.boutons img:hover {
  transform: scale(1.2);
}
.boutons {
	position:absolute;
	top: 220px;
	right:10px;
}
.boutons a {
    margin-left: 2vw;
}
	

/* En-tête desktop */

@media screen and (min-width: 1000px) {

  #masthead {
	display: flex;
    justify-content:space-between;
	width: 95vw;
	margin: 10px auto 5px;
	align-items: center;
  }

  .site-branding {
	max-width: 1280px;
  }
  .site-branding img {
    width: 15vw;
    float: left;
    max-width: 280px;	
    margin-right: 15vw;	
  }

  #primary-menu {
	margin: 0;
  }
  .boutons{
	display: flex;
	margin-left: 5vw;
	position: static;  
  }
  .boutons img {
    width: 3vw;
    max-width: 40px;	
  }
  .boutons a {
    margin-left: 1vw;
  }
	
} /* fin en-tête desktop */


/* Footer 
-------------------------------- */
#bandeau-bas {
	background-color: #3EAF84;
	width: 100vw;
	min-height:700px;
    position: absolute;
    left: 0;
}
.site-footer {
	max-width: 1280px;
	width: 95vw;
	margin: 50px auto;
    display: flex;
    align-items: center;
	justify-content: space-between;
}
#footer-menu li {
  width: 20%;
}
#footer-menu li a{
	color:#fff;
	text-align: left;
}
#footer-menu li ul li a {
  color: #fff;
  line-height: 2em;
	font-weight: normal;
}
#footer-menu .sub-menu {
  left: 0;
  background-color: #1fe0;
  box-shadow: none;
	margin: 0;
	padding: 15px 10px;
}

#footer-menu .sub-menu a {
  max-width: 10vw;
  line-height: 1.1em;
  margin-bottom: 1em;
}

.legal {
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  color: #fff;
}
.legal a, .legal a:visited {
	color:#fff;
	text-decoration: none;
}

@media screen and (max-width: 1000px) {
	#footer-menu {
		display:none;
	}
	.site-footer .boutons {
       position: unset;
	}
}





/* Navigation
--------------------------------------------- */
#site-navigation {
  display: block;
  position: absolute;
  top: 220px;
  }
*/
.menu {
	background-color:#fff;
	width: 80vw;
	padding: 10px;
}
.sub-menu {
	display:none;
	background-color:#ceede8;
}
.sub-menu a {
	font-size: 1.2em;
}

.sub-menu li a {
    text-transform: none;
    line-height: 3em;
    font-size: 0.9em;
    font-weight: bold;
    text-align: left;
    color: #00A984;
	transition-duration: 0.2s;
}
.sub-menu li a:hover {
  transform: scale(1.15);
  margin-left: 2em;
}


#primary-menu {
    display: none;
}

#menu-checkbox:checked ~ #primary-menu {
    display: block;
    z-index: 500;
    position: absolute;
    width: 80vw;
    background-color: #ceede8;
	padding-bottom: 50px;
}

.menu-checkbox {
	opacity: 0;
	position: absolute;
	top: -1000px;
}

.menu-checkbox:focus + .menu-toggle {
    outline: #00A1A1 auto 5px;
}
.menu-toggle {
    padding: 10px;
	font-size: 2em
}

.sous-menu-checkbox:checked ~ .sub-menu {
    display: block;
}

.sous-menu-checkbox {
	opacity: 0;
	position: absolute;
	top: -1000px;
}
.sous-menu-checkbox:focus + .menu-toggle {
    outline: #00A1A1 auto 5px;
}

.sous-menu-label {
  position: absolute;
  right: 0;
  width:50%;
  height: 4em;	
  z-index: 100;
  top: -1.5em;
  background-image: url("https://paysdemorlaix.violaine-plateforme.com/wp-content/themes/aaa/design/fleche-menu-secondaire.svg");
  background-repeat:no-repeat;
  background-size: 20px;	
	background-position: 0 1.6em;
}


.main-navigation ul {
	list-style: none;
	margin: 0 0 0 20px;

}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation li {
	position: relative;
	margin-top: 15px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	font-size: 1.2em;
	text-transform: uppercase;
	color: #00A984;	
}

#menu-item-542 a {
  Text-transform: none;
  line-height: 1em;
  font-size: 1.3em;
  color: #666;
  margin-left: 3vw;
  font-family: Grand hotel;
}

/* Menu desktop _________*/



@media screen and (min-width: 1000px) {
	
	#site-navigation {
        display: flex;
		position: static;
			
    }
	
	.main-navigation a{
	    text-align: center;
        margin-left: 1vw;
    }

	.menu-checkbox, .menu-toggle, .sous-menu-checkbox, .sous-menu-label {
		display: none;
	}
	#primary-menu, #footer-menu {
		align-items:center;
		display:flex;
		justify-content: space-between;
		max-width: 1280px;
        margin: 0 auto;
	}
	#primary-menu ul, #primary-menu ul ul, #footer-menu ul, #footer-menu ul ul {
		display:flex;
		flex-direction: column;
	}
	#primary-menu ul ul li, #footer-menu ul ul li {
		flex: 1;
	}	
	.menu {
	width: auto;
	padding: 0;
    }
	.sous-menu-checkbox {
	display:none;
    }

	
	.main-navigation ul {
	list-style: none;
	/*margin: 0 0 30px 0;*/
	padding-left: 0;
    }  
	.main-navigation li {
	margin-top: 0;
	}

    .sous-menu-checkbox:checked ~ .sub-menu {
    display: block;
    }
	.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	background-color:#fff;
	padding: 15px;
	width: 270px;	
    }

    .main-navigation ul ul ul {
	  left: -999em;
	  top: 0;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
	  display: block;
	  left: auto;
    }

    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
	  left: auto;
    }
	#primary-menu>li:hover::before {
      content: "";
      display: block;
      width: 60px;
      background-color: #00A984;
      height: 4px;
      margin-top: -6px;
      margin-bottom: 2px;
      float: right;
    }
	#menu-item-542:hover::before {
		background-color: #2fc0f2 !important;
	}
	#menu-item-542 {
  		margin-left: 3vw;
	}
	
	
} /* FIN Menu desktop _________*/


.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Slider actus maison_________________________________________________________________ */

#slider{
    max-width:100vw;
    height: 30vw;
    overflow:hidden;
    margin: 0.5vw auto;
    position: absolute;
    left: 0;
}

#slider-window{
    position: relative;
    width: 100%;
    height: 40vw;
    overflow: hidden;
}

#prevSlide, #nextSlide{
    z-index: 100;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    cursor: pointer;
}

#prevSlide{left:3vw;}
#nextSlide{right:3vw;}

.cadre-oblique {
	position: absolute;
	width: 40vw;
	top: 0;
	left: 45vw;
	z-index: 4;
}

#slides{ 
	display:inline-block;
	margin:0;
	padding:0;
	z-index:3; }

#slides li {
	display: block;
	float: left;	
	position: relative;
}
.slide-actus-image {
    float: left;
    width:100vw; 
    height:30vw; 
    background-position: center;
    background-repeat:no-repeat;
    background-size: cover;
}
.slide-actu-texte {
    float: left;
    margin-top: 3em;
	width: 25vw;
	position: absolute;
    top: 4vw;
    left: 58vw;
	z-index: 200;
	color:#fff;
}
.slide-actu-texte .surtitre {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: normal;
	line-height: 3em;
}
.slide-actu-texte h3 {
	text-transform: uppercase;
    font-size: 2em;
	line-height: 1em;
	font-family: 'Dosis', sans-serif;
	 margin-top: -0.5em;
}

.slide-actu-texte h3 a, .slide-actu-texte h3, .slide-actu-texte h2, .slide-actu-texte h4 {
    color:#fff;
    text-decoration:none;    
}

.slide-actu-texte h3 a:hover {
    color:#777;
    text-decoration:none;    
}
.slide-actu-texte h4 {
    margin-top:0;
	font-weight: normal;
}
.savoirplus {
	text-align: right;
	color:#FFF;
	float:right;
	text-decoration:none;
	transition-duration:0.2s;
	
}
.savoirplus:visited {
	color:#FFF;
}
.savoirplus:hover {
  transform: scale(1.2);
}

#rectangle {		
	position: absolute;
	left: 55vw;
	width: 30vw;
	height: 40vw;
	z-index: 100;
}
.bkg-patrimoine {
	background-color: #F0837A;
}
.bkg-eau {
	background-color: #88c9b1;
}
.bkg-scot {
	background-color: #D1D161;
}
.bkg-innovation {
	background-color: #7CA9DB;
}
.bkg-financement {
	background-color: #BC99C8;
}
.bkg-sante {
	background-color: #EA4D51;
}
.bkg-cadredevie {
	background-color: #EA4D51;
}
.bkg-emploiformation {
	background-color: #6B4696;
}
.bkg-urbanisme {
	background-color: #BCB350;
}
.bkg-conseil {
	background-color: #2fc0f2;
}
.bkg-pays {
	background-color: #3EAF84;
}

/* Slider actus (pour tablette) et smartphone */
@media screen and (max-width: 1000px) {
	
		.slide-actus-image {
    height:40vw; 
    }

    .slide-actu-texte {
      margin-top: 2em;
      top: 3vw;
    }	

    .slide-actu-texte h3 {
	  font-size: 1.3em;

    }
    .slide-actu-texte .surtitre {
	  line-height: 0.3em;
	  font-size: 1em;
    }
    .slide-actu-texte h4 {
      line-height: 1.3em;
    }
    .savoirplus {
      font-size: 1em;
    }
}

@media screen and (max-width: 600px) {
	


    .slide-actu-texte {
      margin-top: 3vw;
      top: 0;
    }	

    .slide-actu-texte h3 {
	  font-size: 0.7em;

    }
    .slide-actu-texte .surtitre {
	  line-height: 0.2em;
	  font-size: 0.6em;
    }
    .slide-actu-texte h4 {
      line-height: 1em;
	  margin-bottom: 0.5em;
		font-size: 0.8em;
    }
    .savoirplus {
      font-size: 0.8em;
    }
}

/* FIN Slider actus maison_________________________________________________ */

/* PAGE D'ACCUEIL _______________________________________ */
.colonne-pictos p {
  text-transform: uppercase;
  font-size: 1.3em;
}
.colonne-pictos .wp-block-column {
  margin-left: 1em;
}
.colonne-pictos img {
  transition-duration: 0.2s;
}
.colonne-pictos img:hover {
  transform: scale(1.2);
}


@media screen and (max-width: 750px) {
    .colonne-pictos p {
        font-size: 2em;
		text-align: center;		
    }
	.colonne-pictos .wp-block-column {
  		margin-left: 0;
	}
}



/* Article de blog _________________________________________*/

.post-thumbnail {
  position: absolute;
  left: 0;
  top: 12.5vw;	
  width: 100vw;
  height: 30vw;
  overflow: hidden;
	display:flex;
	align-items: center;
}
.post-thumbnail img {
	height:100%;
	object-fit: cover;
}
.type-post {
  margin-top: 80px;
}

.post .entry-title {
  text-transform: none;
  line-height: 1.1em;
}

.post .entry-content p:first-child {
  font-weight: bold;

}

/* Affichage des articles de blog en vignettes _______________*/

.cadre-vignettes .type-post {
  margin-top: 0;
}
.cadre-vignettes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.cadre-vignettes article {
  width: 230px;
  margin-right: 15px;
}
.cadre-vignettes img {
  width: 100%;
}
.cadre-vignettes .surtitre-categorie {
  font-size: 1em;
}
.cadre-vignettes h2 {
  font-size: 1em;
}
.cadre-vignettes h2 a {
  text-decoration: none;
}

/* AJUSTEMENTS SMARTPHONE */

@media screen and (max-width: 1000px) {

	.site-main, .home .site-main {
	    padding:0 20px; 
		margin-top: 0;
    }	
	#masthead {
	  margin: 0;
    }
	.site-branding {
  		margin: 0 auto;
		height: auto;
		position:unset;
	}
    .site-branding img {
        margin: 0 auto;
      	max-width: 220px;
    }
	#site-navigation {
		width: 40%;
		position: unset;
		float: left;
	}
	#site-navigation, .boutons {
 		 top: 280px;
	}
	.site-header .boutons {
		position: unset;
		float: right;
		margin-top: 15px;
	}
	#slider {
		height: 40vw;
		position: unset;
		float: left;
		margin: 30 px 0 0 0;
	}

	.picto-mission {
  		flex-basis: 20% !important;
	}
	.intitule-mission p {
  		font-size: 1.1em !important;
	}
	.post-thumbnail {
  		position: unset;
  		margin-left: -20px;
  		margin-bottom: 50px;
  		height: 50vw;
	}

	.cadre-vignettes {
  		justify-content: center;
	}
	.portraits-ronds {
 		 width: 60%;
	}
	.surtitre-categorie {
  		font-size: 1.5em;
	}
}


