/*!
Theme Name: plougasnou
Theme URI: http://underscores.me/
Author: Pierre Réguer
Author URI: https://alouest-editions.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: private
Text Domain: plougasnou


Ce thème plougasnou est basé sur 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/

Le thème Plougasnou a été développé par Pierre Réguer à partir du framework Underscores
*/

/*--------------------------------------------------------------
>>> 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
# Plougasnou
    Styles particuliers du site Plougasnou

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

/*--------------------------------------------------------------
# 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:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

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: 0;
	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
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */


/* Modifs nouveau menu 
_____________________________ */

.menu-checkbox, .menu-toggle, .sous-menu-checkbox, .sous-menu-label {
	display: none;
	}

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

	.menu-checkbox:checked ~ #primary-menu {
    display: block;
	}
	.menu-checkbox {
	opacity: 100;
	position: absolute;
	top: -1000px;
	}
	.menu-checkbox:focus + .menu-toggle {
    outline: #00A1A1 auto 5px;
	}
	.menu-toggle {
    padding: .5em 1em;
	}
	.menu-checkbox, .menu-toggle, .sous-menu-checkbox, .sous-menu-label {
		  display: block;
	}
	
	
	.main-navigation ul {
	display: none; 
	list-style: none;
	margin: 30px 0 30px 0;
	padding-left: 0;
	}
		

	.sous-menu-checkbox:checked ~ .sub-menu {
    display: block;
	}
	.sous-menu-checkbox {
	opacity: 0;
	position: absolute;
	top: -1000px;
    }
	
	
	

   .menu-toggle {
    border: none;
    color: #999;
    background-image: url("/wp-content/themes/plougasnou/img/burger-51x37.png") !important;
    font-size: 0px;
    width: 51px;
    height: 37px;
	margin-bottom: 40px;   
   }
	.main-navigation li {
    float: none;
    position: relative;
    line-height: 30px;
    font-size: 20px;
    }   
	.main-navigation a::before {
    content: '';
    display: block;
    float: left;
    width: 6px;
    height: 0.8em !important;
    margin: 0.5em 8px 0px 0px !important;
    }	
	
}

.sous-menu-label {
  position: absolute;
  right: 0;
  width: 50%;
  height: 1.4em;
  z-index: 1000;
  top: 0;
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50.svg");
  background-repeat: no-repeat;
  background-position: 0 0.3em;
  background-size: 20px;
  }
	

.menu-item-47 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-cadredevie.svg");
  }
.menu-item-48 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-culture.svg");
  }
.menu-item-49 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-jeunesse.svg");
  }
.menu-item-50 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-environnement.svg");
  }
.menu-item-51 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-economie.svg");
  }
.menu-item-58 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-solidarite.svg");
  }
.menu-item-59 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-sportsloisirs.svg");
  }
.menu-item-60 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-viemunicipale.svg");
  }
.menu-item-61 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-tourisme.svg");
  }
.menu-item-62 .sous-menu-label {
  background-image: url("/wp-content/themes/plougasnou/img/triangle-50-morlaixcommunaute.svg");
  }
/* FIN Modifs nouveau menu 
_____________________________ */

.main-navigation {
	display: block;
	width: 96%;
	margin-top: 40px;
	font-size: 1.2vw;
	line-height: 1.2vw;
}


@media only screen and (min-width: 1580px) {
.main-navigation li a {
    margin-right: 0.6em;
	font-size: 0.85em;
    }
}
@media only screen and (min-width: 1880px) {
.main-navigation li a {
    margin-right: 0.4em;
	font-size: 0.7em;
    }
}
@media only screen and (min-width: 2250px) {
.main-navigation li a {
    margin-right: 0.3em;
	font-size: 0.65em;
    }
}
@media only screen and (min-width: 2400px) {
.main-navigation li a {
    margin-right: 0.4em;
	font-size: 0.45em;
    }
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
@media screen and (min-width: 1200px) {
    .main-navigation ul ul {
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	display: inline;
	background-color: #fff;
	padding : 20px 10px 10px 10px;
	line-height: 1.3em;
    }
}
*/
.main-navigation ul ul li {
    margin-bottom: 0.7em;
    line-height: 1.1em;
}

.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 ul a {
	width: 240px;
	margin-left: 50px;
	margin-bottom: 0.6em;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	text-decoration: none;
	margin-right: 1.3vw;
	text-transform: lowercase;
	color:#222;
	width: 102%; 
    display: inline-block; 
}


.main-navigation a::before {
  content:'';
  display: block;
  float: left;
  width: 6px;
  height: 2vw;
  margin: 0 0.4vw 0 0.4vw;
}
#primary-menu ul :before {
  display: none;
  width:0;
}


.menu-accueil :before, .menu-actus :before {
	background-color: #cd1217;
}
.menu-accueil .sub-menu a, .menu-accueil :hover, .menu-actus .sub-menu a, .menu-actus :hover{
    color: #cd1217;
}

.cadredevie :before {
background-color:#c8007f;
}
.cadredevie .sub-menu a, .cadredevie :hover {
    color: #c8007f;
}
.culture :before {
background-color: #6ca6cc;
}
.culture .sub-menu a, .culture :hover {
    color: #6ca6cc;
}
.jeunesse :before {
background-color: #cd1217;
}
.jeunesse .sub-menu a, .jeunesse :hover {
    color: #cd1217;
}
.environnement :before {
background-color: #3ea433;
}
.environnement .sub-menu a, .environnement :hover {
    color: #3ea433;
}
.economie :before {
background-color: #e84c17;
}
.economie .sub-menu a, .economie :hover {
    color: #e84c17;
}

.solidarite :before {
background-color: #cd1217;
}
.solidarite .sub-menu a, .solidarite :hover {
    color: #cd1217;
}
.sport :before {
background-color: #931980;
}
.sport .sub-menu a, .sport :hover {
    color: #931980;
}
.viemunicipale :before {
background-color: #e4007d;
}
.viemunicipale .sub-menu a, .viemunicipale :hover {
    color: #e4007d;
}
.tourisme :before {
background-color: #f8b132;
}
.tourisme .sub-menu a, .tourisme :hover {
    color: #f8b132;
}
.morlaixco :before {
background-color:#00a099;
}
.morlaixco .sub-menu a, .morlaixco :hover {
    color: #00a099;
}
.sub-menu :hover {
    color: #111  !important;
}


/* Small menu. */

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

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

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.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%;
}



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

.post,
.page {
	margin: 0 auto;
	max-width: 1280px;
}

.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;
}



/* ________________

NORMALISATION SMARTPHONES
______________*/


@media (max-width: 640px) {
	* {
		box-sizing: border-box;
	}
	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

	body {
		width: auto;
		margin: 0;
		padding: 0;
	}
	
	/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

	img,
	table,
	td,
	blockquote,
	code,
	pre,
	textarea,
	input,
	iframe,
	object,
	embed,
	video {
		max-width: 100%;
	}
	
	/* conserver le ratio des images */

	img {
		height: auto;
	}
	
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
	
	code,
	pre,
	samp {
		white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	
	/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

	.element1,
	.element2 {
		float: none;
		width: auto;
	}
	
	/* masquer/afficher les éléments  */

	.u-mobile {          display: block;          display: revert !important; /* affichage des éléments */        }        .u-no-mobile {          display: none !important; /* masquage des éléments */        }
	
	/* Un message personnalisé */

	body:before {
		content: "Version mobile du site";
		display: block;
		text-align: center;
		font-style: italic;
		color: #777;
	}
}

/*----------------------------------------------------------------------------------------------------------
# Styles particulier du site Plougasnou
--------------------------------------------------------------*/

.site-main {
	margin-top: 80px;
	}

#page {
    padding: 5vw 30px 0 30px;
	}
.pleine-largeur {
    margin: 0 -30px;
	}

#content {
	width: 95%;
    max-width: 1280px;
    margin: 0 auto;
	}

a:hover, div:hover, img:hover, .menu-item:hover, li a:hover, li:hover {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: ease-in;
	}
a, div, img, .menu-item, li a, li {
    transition-property: all;
    transition-duration: .05s;
    transition-timing-function: ease-out;
	}

.p-clear {
	clear: both;
	}

h1 {
	font-size: 2.5em;
}
h2 {
	font-size: 1.875em;
}
h3 {
	font-size: 1.375em;
}
.wp-block-image figcaption {
    margin-top: .5em;
    margin-bottom: 1em;
	    font-style: italic;
    text-align: center;
	
}


/*________EN_TETE _____________________________________________*/
.site-header {
	width: 95vw;
}
#masthead {
	max-width: 1280px;
	margin: 0 auto;
}

.site-branding {
    max-width: 1280px;
    text-decoration: none;
    float:left;
	}

#vousetes {
	float:right;
	margin-right:30px;
}
#recherche-header {
	float:right;
	margin-top: -2px;
    margin-bottom: 30px;
}
.formulaire-recherche, .bouton-recherche {
	height: 1.8em;
	float:left;
	border-radius: 0 !important;
}
.bouton-recherche {
	background: url("img/recherche.png");
    background-image: url("img/recherche.svg");
    background-size: contain;
	border:none;	
}
#vousetes span {
	font-weight: bold;
	text-transform: lowercase;
	color: #cf1a1f;
    margin-right: -80px;
}


#vousetes ul {
    display: inline;
	height: 1.8em;
}
#vousetes li {
    display: inline-block;
    padding: 0 15px;
	margin: -0.1em;
    width: 8em;
	line-height: 1.8em;
    font-size: 1em;
	font-weight:bold;
	text-transform:lowercase;
	color: #fff;
}
#vousetes li a {
	color: #fff;
	text-decoration: none;
}
#vousetes li a:hover {
	color: #d5e6f0;
	font-size: 1.1em;
	line-height: 1em;
}

.bouton-asso {
	background-color: #cd1217;
}
.bouton-entrepreneur {
    background-color: #e40454;
}
.bouton-senior {
	background-color: #e4007d;
}
.bouton-famille {
	background-color: #ea5c59;
}

#menu-pictos {
    float: right;
	margin-top: -30px;
}
#menu-pictos :hover {
    transform: scale(1.2);
}
#menu-pictos ul, #menu-demarches ul, #kiosque ul {
list-style: none;
}



/*________PIED DE PAGE _____________________________________________*/

#bandeau-bas{
	background-color: #e40453;
	width: 100vw;
	position: absolute;
	left:0;
}

#colophon {
    padding: 50px 0;
	max-width: 1280px;
	width: 95vw;
	margin: 0 auto;
	color:#fff;
}
#colophon a, #colophon a:visited {
	color:#fff;
	text-decoration: none;
}
#colophon img {
    margin-right: 10px;
    vertical-align: middle;
}

#adresse {
	float:left;
}
#reseaux-sociaux {
	float:left;
	margin-left: 20vw;
}
#reseaux-sociaux div {
	float:left;
}

#colophon p {
	margin-top: -0.5em;
}

#rechercheetsignature {
	float: right;
}
.signature {
	font-size:0.7em ;
}

/*________PAGES INTERIEURES_____________________________________________*/
.site-main {
    max-width: 966px;
    margin: 28vw auto 0;
}
#bandeau-pages {
    width: 100vw;
	position: absolute;
	left:0;
    height: 25vw;
    background-position: center;
    background-size: cover;
}


.blog .site-main, .single-post .site-main {
	margin-top: 0;
}

/*________PAGE DES ACTUS_____________________________________________*/
/* 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;
}
.article-vignette .actu-date {
  margin-bottom: 0;
  line-height: 0;
  font-size: 0.9rem;
}
.article-vignette {
  margin-bottom: 2em;
}

/*________PAGE D'ACCUEIL_____________________________________________*/

.home {
	Width: 100vw;
	max-width: 100vw;
}
.home #page {
    padding: 5vw 0 0 0;
}
.fond-pleine-largeur {
	background-color: #fbfbfb;
	padding: 10px 0 30px 0;
    margin: 20px auto;
	clear: both;
}


#menu-pratique {
	max-width: 1095px;
	margin: 0 auto;
	height: 155px;
}

#menu-demarches {
	max-width: 1095px;
	margin: 100px auto 50px auto;
	height: 250px;
}

#menu-demarches {
	margin-top: 50px;
}

#menu-demarches li, #kiosque li {
	float:left;
	margin-right: 50px;
}

#menu-demarches img:hover {
    transform: scale(1.1);
}


#slider-actus {
	max-width: 1095px;
	margin: 0 auto 30px auto;
}
/* correctifs slider-actu à jeter si je change */
.wppsac-post-slider .wppsac-post-image-bg img {
    object-fit: contain;
}
.wppsac-post-slider.design-4 .wppsac-post-image-bg {
    height: 295px;
}


#kiosque {
	max-width: 1095px;
	margin: 0 auto;
	margin: 0 auto;
	position:relative;
}

#slider-actus h1 {
	color: #e40454;
}
#slider-actus h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #e40454;
    float: left;
    margin-right: 10px;
    margin-top: 8px;
}


#menu-demarches ul {
  float: left;
}

#menu-demarches h1, #menu-demarches p {
	color: #ea5c59;
}
#menu-demarches p {
	font-weight: bold;
	margin-top: 2em;
	float:left;
}
#menu-demarches p::before {
    content: "";
	clear: both;
}
#menu-demarches h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #ea5c59;
    float: left;
    margin-right: 10px;
    margin-top: 8px;
}
#kiosque h1 {
	color: #00a099;
}
#kiosque h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #00a099;
    float: left;
    margin-right: 10px;
    margin-top: 8px;
}

#kiosque li a {
	text-decoration: none;
	line-height: 0em;
	text-align: center;
	color: #111;
}




#slider-accueil {
	width: 100vw !important;
	position: absolute;
	left:0;
}
.primary-accueil {
    margin-top: 38vw;
}

#menu-pratique ul {
	float:left;
}

#menu-pratique ul, #menu-demarches ul, #kiosque ul {
	padding: 0;
	margin: 0;
}
#menu-pratique li {
	display:block;
	float:left;
	margin-right: 40px; 
	margin-bottom:50px;
	text-align: center;
}
#menu-pratique li a, #menu-demarches li a {
	text-decoration: none;
	font-weight: bold;
}
#menu-pratique li:hover {
    transform: scale(1.2);
}
.picto-cantine a, .picto-cantine a:visited {
	color: #e40453;
}
.picto-dechetterie a, .picto-dechetterie a:visited {
	color: #3ea433;
}
.picto-affichage-legal a, .picto-affichage-legal a:visited {
	color: #312782;
}
.picto-marees a, .picto-marees a:visited {
	color: #006cab;
}
.picto-poste a, .picto-poste a:visited {
	color: #073da0;
}
.picto-plan a, .picto-plan a:visited {
	color: #e84c17;
}
.picto-medical a, .picto-medical a:visited {
	color: #29ab65;
}
.picto-travaux a, .picto-travaux a:visited {
	color: #f29000;
}
.picto-transports a, .picto-transports a:visited {
	color: #E30053;
}
.picto-location-salle a, .picto-location-salle a:visited {
	color: #6BA5CC;
}


/* Slider actus maison */


#slider{
    max-width:1095px;
    height: 470px;
    position:relative;
    overflow:hidden;
    margin: 0 auto;
    position: relative;
}
#slider h2 {
	position: absolute;
	left: 430px;
	top: -15px;
	line-height: 0;
	color: #e40454;
    font-size: 2.4em;
	}
	
	
#slider h2::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #e40454;
    float: left;
    margin-right: 10px;
    margin-top: -0.45em;
}	
	
#slider-window{
    position:relative;
    width: 1095px;
    height: 470px;
    overflow: hidden;
}

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

#prevSlide{left:0;}
#nextSlide{right:15px;}


.slide{
    float:left;
    position:relative;
    list-style-type:none;
    width:980px;
    height:200px;
}

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

#slides li {
	display: block;
	float: left;
	width: 1095px;	
}
.slide-actus-image {
    float: left;
    margin-right: 20px;
    width:430px; 
    height:430px; 
    background-position: center;
    background-repeat:no-repeat;
    background-size: cover;
}
.slide-actu-texte {
    float: left;
    margin-top: 3em;
    margin-left: 30px;
	max-width: 400px;
}
#slider h3 a {
    color:#111;
    text-decoration:none;    
    font-size: 1.6em;
    font-weight: normal;
	line-height: 1.2em;
}

#slider h3 a:hover {
    color:#777;
    text-decoration:none;    
}

.slider-actu-date {
    line-height: 0;
    margin-top: -0.5em;
	font-style: oblique;
}

#voir-les-actus {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

#voir-les-archives {
    position: absolute;
    bottom: 0;
    right: 30px;
}

#voir-les-actus a, #voir-les-archives a {
    text-decoration: none;
    font-weight: bold;
	color: #e40454;
}

#voir-les-actus a:hover, #voir-les-actus a:visited, #voir-les-archives a:hover, #voir-les-archives a:visited {
    text-decoration: none;
}
#voir-les-actus span, #voir-les-archives span {
	vertical-align: top;
}


/*________COULEURS SELON LA RUBRIQUE_____________________________________________*/


/* actus */
x.blog h1, .single-post h1, .single-post h2, .single-post h3 {
	color: #cd1217;
}
.blog h1::before, .single-post h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #cd1217;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}

/*cadre de vie */
#post-8 h1, #post-8 h2, #post-8 h3, #post-8 .page a, .parent-pageid-8 h1, .parent-pageid-8 h2, .parent-pageid-8 h3, .parent-pageid-8 .page a {
    color: #c8007f;
}
#post-8 h1::before, .parent-pageid-8 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #c8007f;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*culture */
#post-10 h1, #post-10 h2, #post-10 h3, #post-10 .page a, .parent-pageid-10 h1, .parent-pageid-10 h2, .parent-pageid-10 h3, .parent-pageid-10 .page a {
    color: #6ca6cc;
}
#post-10 h1::before, .parent-pageid-10 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #6ca6cc;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*jeunesse */
#post-12 h1, #post-12 h2, #post-12 h3, #post-12 .page a, .parent-pageid-12 h1, .parent-pageid-12 h2, .parent-pageid-12 h3, .parent-pageid-12 .page a {
    color: #cd1217;
}
#post-12 h1::before, .parent-pageid-12 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #cd1217;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*environnement */
#post-14 h1, #post-14 h2, #post-14 h3, #post-14 .page a, .parent-pageid-14 h1, .parent-pageid-14 h2, .parent-pageid-14 h3, .parent-pageid-14 .page a {
    color: #3ea433;
}
#post-14 h1::before, .parent-pageid-14 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #3ea433;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*economie */
#post-16 h1, #post-16 h2, #post-16 h3, #post-16 .page a, .parent-pageid-16 h1, .parent-pageid-16 h2, .parent-pageid-16 h3, .parent-pageid-16 .page a {
    color: #e84c17;
}
#post-16 h1::before, .parent-pageid-16 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #e84c17;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*solidarité */
#post-18 h1, #post-18 h2, #post-18 h3, #post-18 .page a, .parent-pageid-18 h1, .parent-pageid-18 h2, .parent-pageid-18 h3, .parent-pageid-18 .page a {
    color: #cd1217;
}
#post-18 h1::before, .parent-pageid-18 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #cd1217;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*sport */
#post-20 h1, #post-20 h2, #post-20 h3, #post-20 .page a, .parent-pageid-20 h1, .parent-pageid-20 h2, .parent-pageid-20 h3, .parent-pageid-20 .page a {
    color: #931980;
}
#post-20 h1::before, .parent-pageid-20 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #931980;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*vie municipale */
#post-22 h1, #post-22 h2, #post-22 h3, #post-22 .page a, .parent-pageid-22 h1, .parent-pageid-22 h2, .parent-pageid-22 h3, .parent-pageid-22 .page a {
    color: #e4007d;
}
#post-22 h1::before, .parent-pageid-22 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #e4007d;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*tourisme */
#post-24 h1, #post-24 h2, #post-24 h3, #post-24 .page a, .parent-pageid-24 h1, .parent-pageid-24 h2, .parent-pageid-24 h3, .parent-pageid-24 .page a {
    color: #f8b132;
}
#post-24 h1::before, .parent-pageid-24 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #f8b132;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
/*morlaix communauté */
#post-26 h1, #post-26 h2, #post-26 h3, #post-26 .page a, .parent-pageid-26 h1, .parent-pageid-26 h2, .parent-pageid-26 h3, .parent-pageid-26 .page a {
    color: #00a099;
}
#post-26 h1::before, .parent-pageid-26 h1::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    background-color: #00a099;
    float: left;
    margin-right: 10px;
	margin-top: 8px;
}
.wp-block-separator {
	height:2px;
}
#post-8 .wp-block-separator, .parent-pageid-8 .wp-block-separator {
	color: #c8007f;
	background-color: #c8007f;
}#post-10 .wp-block-separator, .parent-pageid-10 .wp-block-separator {
	color: #6ca6cc;
	background-color: #6ca6cc;
}#post-12 .wp-block-separator, .parent-pageid-12 .wp-block-separator {
	color: #cd1217;
	background-color: #cd1217;
}
#post-14 .wp-block-separator, .parent-pageid-14 .wp-block-separator {
	color: #3ea433;
	background-color: #3ea433;
}
#post-16 .wp-block-separator, .parent-pageid-16 .wp-block-separator {
	color: #e84c17;
	background-color: #e84c17;
}
#post-18 .wp-block-separator, .parent-pageid-18 .wp-block-separator {
	color: #cd1217;
	background-color: #cd1217;
}
#post-20 .wp-block-separator, .parent-pageid-20 .wp-block-separator {
	color: #931980;
	background-color: #931980;
}
#post-22 .wp-block-separator, .parent-pageid-22 .wp-block-separator {
	color: #e4007d;
	background-color: #e4007d;
}
#post-24 .wp-block-separator, .parent-pageid-24 .wp-block-separator {
	color: #f8b132;
	background-color: #f8b132;
}
#post-26 .wp-block-separator, .parent-pageid-24 .wp-block-separator {
	color: #00a099;
	background-color: #00a099;
}

/*________CARRÉS DES IMAGES SELON LA RUBRIQUE_____________________________________________*/
.decocarre img {
    width: 80%;
}
.decocarre::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
    float: left;
}
.parent-pageid-8 .decocarre::before {    background-color: #c8007f;}
.parent-pageid-10 .decocarre::before {    background-color: #6ca6cc;}
.parent-pageid-12 .decocarre::before {    background-color: #cd1217;}
.parent-pageid-14 .decocarre::before {    background-color: #3ea433;}
.parent-pageid-16 .decocarre::before {    background-color: #e84c17;}
.parent-pageid-18 .decocarre::before {    background-color: #cd1217;}
.parent-pageid-20 .decocarre::before {    background-color: #931980;}
.parent-pageid-22 .decocarre::before {    background-color: #e4007d;}
.parent-pageid-24 .decocarre::before {    background-color: #f8b132;}
.parent-pageid-26 .decocarre::before {    background-color: #00a099;}

/*________DIVERS_____________________________________________*/
.cadre-image img {
	border: 1px solid #e7e7e7;
}
.wp-block-file__button,  .wp-block-file__button:visited {
	color:#fff !important;
}

/* TABLETTE 1200px ________________________________________________*/

@media only screen and (max-width: 1200px){
	.site-main {
  		margin: 32vw auto 0;
	}
		.primary-accueil {
    margin-top: 55vw;
	margin-left: 20px;
	width:calc(100vw - 40px);
    }
		/* Ajustement des boutons d'entrée */
	#vousetes ul {
    display: block;
	max-width: 400px;
    }
	
	    /* Slider actus maison */

	
	.fond-pleine-largeur {
  		padding: 10px 20px 30px 20px;
  		margin: 20px 0px 0px -20px;
  		width: 100vw;
	}
	#slider, #slider-window {
    	width: auto;
		height: 100%;
	}	
		
	#slider h2 {
	position: relative;
		left:0;
		top: -15px;
	}
   .slide-actu-texte {
    width: 85vw;
	}
	.slide-actu-texte {
		margin-left: 0;
		margin-top: 0;
	}
	.conteneur-image-actu {
  		width: 100%;
  		float: left;
	}
	#voir-les-actus {
  		bottom: 0px;
    }
	#slider h3 a {
		font-size:1.3em;
	}
	#slider p {
		margin-bottom: 0.5em;
	}
	
}

/* SMARTPHONE ________________________________________________*/

@media only screen and (max-width: 600px){
	
	.invisible-sur-smartphone {
	    display:none;
    }
	
		#recherche-header {
    margin-top: 30px;
    }





	/* Footer  */
	#adresse {
    float: left;
    width: 100%;
    text-align: center;
    }
	#reseaux-sociaux {
    float: left;
	margin-left:0;
    }
}

/* FIN SMARTPHONE ________________________________________________*/