/*
Theme Name: Paramag
Theme URI: http://www.tirzen.fr
Author: TIRZEN SARL
Author URI: http:///www.tirzen.fr
Description: Paramag site presse par Tirzen (Stan Ozier et Herve Renault), design par K2Design (Flo)
Version: 1.0
Tags: custom
 */

@charset "UTF-8";

/*
COLORS
- black
- blue : #009de1
- blue text : #019ee5 (for legibility)
- orange : #f38800
 */

@import "custom-editor-style.css";

html,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
blockquote,
pre,
form,
fieldset,
table,
th,
td,
hr {
  margin: 0;
  padding: 0;
}

p {
  padding-bottom: 9px;
}

ul,
ol {
  padding: 0 0 5px 25px;
}

ul ul,
ol ol {
  padding: 0 0 5px 15px;
}

ul li {
  padding: 2px 0 3px;
}

ol li {
  padding: 2px 0 3px;
}

a {
  color: #019de7;
}

a img {
  border: 0 none;
}

a,
a:active,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* alignment */
.lft {
  text-align: left;
}

.ctr {
  text-align: center;
  font-size: 13px;
}

.rgt {
  text-align: right;
}

.jty {
  text-align: justify;
}

/* floating */
.flft {
  float: left;
}

.frgt {
  float: right;
}

.clft {
  clear: left;
}

.crgt {
  clear: right;
}

img.flft {
  margin-right: 6px;
}

img.frgt {
  margin-left: 6px;
}

hr.sep {
  margin: 10px 0 15px;
  border: 0 none;
  border-bottom: 1px solid #ccc;
  padding: 0;
}

hr.clear {
  clear: both;
  border: 0 none;
  height: 0;
  visibility: hidden;
}

/* image replacement */
.rpl {
  display: block;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  text-overflow: hidden;
}

/*
@font-face {
font-family: 'BebasNeueRegular';
src: url('bebas/BebasNeue-webfont.eot');
src: url('bebas/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
url('bebas/BebasNeue-webfont.woff') format('woff'),
url('bebas/BebasNeue-webfont.ttf') format('truetype'),
url('bebas/BebasNeue-webfont.svg#BebasNeueRegular') format('svg');
font-weight: bold;
font-style: normal;
}

 */

/* latin-ext */
@font-face {
  font-family: Anton;
  font-style: normal;
  font-weight: 400;
  src: local("Anton Regular"), local("Anton-Regular"), url("Anton-Regular.ttf") format("woff2");
  unicode-range:
    U+0100-024F,
    U+0259,
    U+1E00-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20CF,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: Anton;
  font-style: normal;
  font-weight: 400;
  src: local("Anton Regular"), local("Anton-Regular"), url("Anton-Regular.ttf") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+2000-206F,
    U+2074,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}

/* centered div */
html {
  height: 100%;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  min-width: 980px;
  color: #000;
  background: #fff url("img/bg2021.jpg") no-repeat center top;
  background-size: 2500px 1400px;
  height: 100%;
}

#global {
  position: relative;
  top: 0;
  left: 50%;
  margin-left: -520px;
  width: 1040px;
  min-height: 100%;
}

* html #global {
  height: 100%;
}

/* content */
#content {
  float: left;
  width: 684px;
  padding: 40px 20px;
}

h1,
h2,
h3,
h4 {
  font-family: Anton, Verdana, Arial, sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: subpixel-antialiased;
  text-transform: uppercase;
}

#content h1 {
  font-size: 30px; /* 28px; */
  margin: 0.5em 0  0.25em;
}

#content h2 {
  font-size: 24px; /* 21 */
  color: #009de1;
  margin: 0.5em 0 0.125em;
}

#content h3 {
  font-size: 20px; /* 15 */
  margin: 0.75em 0 0.125em;
}

#content h4 {
  font-size: 16px; /* 14 */
  color: #009de1;
  margin: 0.75em 0 0.25em;
}

#content p {
  line-height: 1.35em;
}

hr.bot {
  height: 200px;
}

/* header */
#header {
  padding: 38px 20px 52px;
}

#header h1,
#header p {
  float: left;
  width: 468px;
  height: 60px;
}

#header h1 a {
  width: 300px;
  height: 60px;
}

#header #logo {
  margin-top: 8px;
}

#header p {
  width: 468px;
  height: 60px;
}

ul.rpu li {
  list-style: none;
  background: url("img/elems.png") no-repeat 0 -320px;
  padding: 4px 0 4px 24px;
}

ul.rpu li a {
  color: #009de1;
  text-decoration: none;
}

ul.rpu li a:hover {
  text-decoration: underline;
}

ul.oran li {
  background-position: 0 -360px;
}

ul.oran li a {
  color: #f38800;
}

/* menu */
ul#menu {
  clear: left;
  height: 72px;
  padding: 0;
}

ul#menu li {
  float: left;
  list-style: none;
  line-height: 24px;
  padding: 0;
}

ul#menu > li:first-child {
  padding-left: 10px;
}

ul#menu > li a {
  font-family: Anton, Verdana, Arial, sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: subpixel-antialiased;
  font-size: 24px;
  line-height: 24px;
  color: white;
  padding: 6px 14px 0;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: #009de1 2px 2px;
}

ul#menu > li > a:hover {
  color: #fff;
}

ul#menu > li.active > a,
ul#menu > li.current-menu-item > a,
ul#menu > li.current-menu-parent > a {
  color: #fff;
  background-color: #009de1;
  border-top-right-radius: 12px;
}

/* sous menu */
ul#menu li ul {
  position: absolute;
  padding: 0;
  display: none;
}

ul#menu li.active ul,
ul#menu li.current-menu-item ul,
ul#menu li.current-menu-parent ul {
  display: block;
}

ul#menu li ul li a {
  font-size: 16px;
  color: #000;
}

ul#menu li ul li.active a,
ul#menu li ul li.current-menu-item a,
ul#menu li ul li a:hover {
  color: #fff;
}

ul#menu li#menu-item-archives.active ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

#recherche-par-menu-du-haut {
  background: #019ee5;
  display: none;
  position: absolute;
  right: 0;
  text-align: center;
  padding: 5px 1em 5px;
}

@media screen and (max-width: 614px) {
  #recherche-par-menu-du-haut {
    position: static;
  }
}

#recherche-par-menu-du-haut input {
  border: none;
  border-radius: 3px;
  padding: 5px;
}

#recherche-par-menu-du-haut input::placeholder {
  text-align: right;
}

#recherche-par-menu-du-haut button {
  vertical-align: top;
  background: none;
  border: none;
}

#recherche-par-menu-du-haut button img {
  filter: opacity(0.8);
}

#recherche-par-menu-du-haut button img:hover {
  filter: opacity(1);
}

/* breadcrumb */
#bcrumb {
  padding: 0 20px 67px;
  font-size: 0.75em;
  text-transform: uppercase;
}

body.home #bcrumb {
  margin-bottom: 1em;
}

#bcrumb a {
  color: #000;
  text-decoration: none;
}

/* le lien accueil est inutile dans la recherche sur mobile */
@media only screen and (max-width: 614px) {
  body.search-results #bcrumb a {
    display: none;
  }
}

#bcrumb a:hover {
  text-decoration: underline;
}

#bcrumb strong {
  font-weight: normal;
  color: #fff;
}

/* titre page */
h1#what {
  position: absolute;
  top: 265px;
  left: 10px;
  padding: 4px 10px;
  font-family: Anton, Verdana, Arial, sans-serif;
  font-weight: normal;
  font-size: 32px; /* 30px */
  color: #fff;
  background-color: #1fa9e5;
  border-bottom-right-radius: 12px;
  display: block;
  box-shadow: 4px 6px 12px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(-5deg);
  z-index: 15;
}

body.home h1#what {
  top: 230px;
}

h1#what #what-page {
  text-transform: none;
  font-size: 0.7em;
}

/* sidebar */
#side {
  float: left;
  width: 300px;
}

#lune {
  line-height: 5;
  font-weight: bold;
}

#lune > * {
  line-height: initial;
  font-weight: normal;
}

#lune,
#lire,
#lcom {
  padding: 0 0 0 12px;
}

#lune a#lcov-titre img {
  margin-top: 35px;
}

#lune a#lcov {
  float: right;
  display: block;
  margin-top: -100px;
  -moz-transform: rotate(5deg);
  -webkit-transform: rotate(5deg);
  -o-transform: rotate(5deg);
  -ms-transform: rotate(5deg);
  transform: rotate(5deg);
}

#lune a#lcov img {
  display: block;
  border: 0 none;
  /* - buggy under safari - */
  -webkit-box-shadow: 4px 6px 12px 0px rgba(0,
0,
0,
0.25);
  -moz-box-shadow: 4px 6px 12px 0px rgba(0,
0,
0,
0.25);
  box-shadow: 4px 6px 12px 0px rgba(0,
0,
0,
0.25);

}

#lune h3 {
  font-family: 'Anton',
Verdana,
Arial,
sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: subpixel-antialiased;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  height: 100px;
  padding: 0 0 10px 0;
}

#lune h3 big {
  display: block;
  color: #f38800;
  font-size: 36px;
}

#lune h3 em {
  display: block;
  color: #f38800;
  font-style: normal;
  font-size: 18px;
}

#lune #lsom {
  height: 260px;
  overflow-y: scroll;
  font-size: 11px;
  margin-bottom: 10px;
}

#lune #lsom p,
#content #archives_sommaires p {
  border-bottom: 1px dashed #000;
  padding: 6px 0 6px 0;
  margin: 0;
}

#lune #lsom p em,
#content #archives_sommaires p em {
  font-style: normal;
  color: #f38800;
}

#content .post-single.a-la-une img.wp-post-image {
  float: right;
  border: 1em solid white;
  border-top: none;
  border-right-width: 2px;
}

#side ul {
  padding-left: 15px;
}

#lire {
  margin-top: 20px;
  height: 110px;
}

#lire h3.rpl {
  background: url(img/elems.png) no-repeat 0 0;
  height: 75px;
}

#lcom {
}

#lcom h3.rpl {
  background: url(img/elems.png) no-repeat 0 -130px;
  height: 95px;
}

#lcom a {
  text-decoration: none;
}

#lcom h3.tts {
  font-size: 18px;
  color: #000;
  line-height: 1em;
  margin: 0 40px 5px 20px;
  padding: 0 0 5px 0px;
}

#lcom h3.ttr {
  font-size: 18px;
  color: #000;
  line-height: 1em;
  border-top: 2px dotted #000;
  margin: 10px 40px 5px 20px;
  padding: 5px 0px;
}

#lcom h3.ttr em,
#lcom h3.tts em {
  color: #009de1;
  font-style: normal;
}

#lcom h3.ttr span {
  text-transform: none;
}

#lcom p {
  padding: 5px 20px;
}

#lcom form {
  padding: 5px 20px;
}

#lcom form p {
  padding: 0 0 8px;
  border-bottom: 2px dotted #000;
  margin-bottom: 12px;
}

/* form */
.newsletter-alert {
  color: red;
  padding: .5em 0;
}

div#footer form input.wm {
  width: 140px;
}

div#footer form button[type=submit],
form.newsletter button {
  font-family:
    Anton,
    Verdana,
    Arial,
    sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: subpixel-antialiased;
  color: #fff;
  font-size: 14px;
  line-height: 12px;
  border: 1px solid #009de1;
  background-color: #009de1;
  padding: 4px;
}

/* search page */
body.search-results #content h2 {
  border-top:2px dotted #999;
  padding-top: 12px;
  margin-bottom: 4px;
}

body.search-results #content h3 {
  margin-top: 4px;
}

body.search-results #content div.excerpt {
  padding-top:12px;
}

body.search-results #content p.pagination {
  padding-top: 20px;
}

/* liens et partenaires */
body.page-id-42 #content h3 {
  color: #009DE1;
}

/* polls */
.wp-polls {
  padding: 10px 15px;
  max-width: 360px;
  margin: 10px auto;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
}

#content .wp-polls h4 {
  margin-bottom: 1em;
}

#content .wp-polls a[href="#ViewPollResults"] {
  display: none;
}

.wp-polls ul li,
.wp-polls-ul li,
.wp-polls-ans ul li {
  font-size: 14px;
  margin: 8px 0;
}

.wp-polls .Buttons {
  padding: .5em 1em;
  cursor: pointer;
  font-size: 1.5em;
  background: linear-gradient(#6bd0ec,
#009de1);
  color: white;
  font-weight: bold;
  border-radius: 15px;
  margin-top: 1em;
}

.wp-polls-end {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 3px solid #fff;
}

/* ====================== ad rotate ====================== */

#header .g.g-1 {
  /* pour ceux qui ont un bloqueur de pub, ne pas casser la mise en page.
   * exemple avec la pub https://paramag.fr/wp-content/uploads/2012/11/Aerodyne_468x60.png
   *                                                                            ^^^^^^     */
  height: 60px;
}

.g.g-1 img {
  height: 60px;
}

#side #lune .g {
  width: 300px;
  margin-top: 16px;
}

/* footer */
#footer {
  position: relative;
  left: 0;
  margin: -184px 0 0;
  width: 100%;
  color: #fff;
  background: #000;
  height: 184px;
}

#footer #fctr {
  margin: 0 auto;
  width: 980px;
  padding: 15px;
  background: #000;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

#fctr > div {
  flex: 1 1 auto;
  padding-left: 15px;
}

#fctr > div + div {
  border-left: 2px dotted white;
}

#fctr p {
  font-size: 11px;
}

#fctr small {
  color: #009de1;
}

#f2 {
  padding: 20px 0 0 12px;
}

#f2 h4 {
  padding: 10px 0;
  font-size: 24px;
  line-height: 24px;
}

#f2 h4 span {
  color: #009DE1;
}

#f2 a {
  text-decoration: none;
}

#f2 a[title] {
  display: block;
  margin: 6px 4px 0 0;
}

#f2 a[title] img {
  vertical-align: middle;
}

#f2 #rss-link {
  font-size: 0.8em;
  padding-top: 20px;
}

/* pour la version PNG dans le contenu page sur RSS */
.vertical-align-middle {
  vertical-align: middle;
}

#fctr #f3 p {
  margin-top: 1em;
}

#fctr #f3 h4 {
  padding: 4px 0 10px;
  font-size: 24px;
  line-height: 24px;
}

#fctr #f3 h4 span {
  color: #009DE1;
}

#fctr #f3 a {
  display: block;
  color: #009DE1;
  margin-top: 1em;
  text-decoration: none;
}

#fctr #f4 h4 {
  padding: 4px 0;
  font-size: 24px;
  line-height: 24px;
}

#fctr #f4 h4 span {
  display: block;
  color: #009DE1;
}

#fctr #f4 ul {
  padding: 0;
}

#fctr #f4 ul li {
  font-size: 11px;
  list-style: none;
  padding: 1px 0 2px;
}

#fctr #f4 ul li a {
  color: #fff;
  text-decoration: none;
}

#fctr #f4 ul li a:hover {
  color: #009de1;
}

#footer a#tzn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 10px;
  font-family: "Monaco",
"Andale mono",
"Courier New",
mono;
  color: white;
  text-decoration: none;
}

#footer a#tzn:hover {
  color: #ccc;
}

/* home */
.slides {
  position: relative;
  top: -20px;
  left: 40px;
  padding: 15px 15px 22px;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 7px rgba(0,
0,
0,
0.5);
  -moz-box-shadow:    0px 0px 7px rgba(0,
0,
0,
0.5);
  box-shadow:         0px 0px 7px rgba(0,
0,
0,
0.5);
  width: 615px;
}

.slides_control {
  min-height: 440px;
}

#content a.slides-item {
  text-decoration: none;
  max-width: 100vw;
}

.slides .slides-item {
  position: relative;
  display: block;
  overflow: hidden;
}

.slides .slides-item > img,
.slides .slides-item > picture > img {
  max-width: 100%;
  height: auto;
  display: block;
}

.slides .caption {
  position: absolute;
  top: 0;
  right: 0;
  width: 37%;
  font-size: 12px;
  color: #fff;
  background-color: rgba(0,
0,
0,
0.6);
  padding: 0 12px 2px 40px;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-bottom-left-radius: 20px;

}

.slides .caption.cale-a-gauche {
  top: 5%; left: 0; width: 30%; border-radius: 0 0 20px 0;
}

.slides .caption.cale-a-droite {
  top: 5%; right: 0; width: 30%; border-radius: 0 0 0 20px;
}

.slides .caption.cale-en-haut {
  left: 5%; right: 5%; top: 0; width: auto; border-radius: 0 0 20px 20px;
}

.slides .caption.cale-en-bas {
  left: 5%; right: 5%; top: auto; bottom: 0; width: auto; border-radius: 20px 20px 0 0;
}


#content .slides .caption h1 {
  font-size: 20px;
  border-bottom: 8px solid #009ee5;
  margin-bottom: 5px;
  line-height: 1.2em;
}

#content .slides .caption h1:first-child {
  position: absolute;
  right: calc(100% - 10px);
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: top right;
  color: #1fa9e5;
  border-bottom: none;
}

#content .slides .caption p {
  line-height: 1.1em;
}

#content .slides a.prev,
#content .slides a.next {
  position: absolute;
  top: 45%;
  height: 50px;
  width: 35px;
  z-index: 10;
  text-indent: -9999px;
  background: url(img/home-slides.png) no-repeat left center;
  /*
  font-family: "Arial Narrow";
  font-weight: normal;
  font-size: 40px;
  text-shadow:0px 0px 2px #333;
  -webkit-transform: scale(1,
1.65);
  -moz-transform: scale(1,
1.65);
  -o-transform: scale(1,
1.65);
   */
}

/*
#content .slides a.prev,
#content .slides a.next {
display: none;
}

#content:hover .slides a.prev,
#content:hover .slides a.next {
display: block;
}

 */
#content .slides a.prev:hover,
#content .slides a.next:hover {
  color: #fff;
}

#content .slides a.prev {
  left: -38px;
}

#content .slides a.next {
  background-position: right center;
  right: -39px;
}

@media screen and (max-width: 614px) {
  .slides_control {
    background: #5a5a5a;
  }

  #content .slides a.prev,
  #content .slides a.next {
    top: 20%;
    background: url("img/home-slides-mobiles.png") no-repeat left center;
  }

  #content .slides a.prev {
    left: 0;
  }

  #content .slides a.next {
    background-position: right center;
    right: 0;
  }
}

.slides .slides-pagination {
  float: right;
  margin: 6px;
}

.slides .slides-pagination li {
  float: left;
  padding: 0;
  margin: 0 4px;
  list-style: none;
}

#content  .slides .slides-pagination li a {
  display: block;
  text-indent: -9999px;
  font-size: 10px;
  height: 10px;
  width: 10px;
  background-color: #009DE1;
  border: 0 none;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#content .slides .slides-pagination li.current a {
  background-color: #333;
}

body.home #content {
  padding:0 0 40px 0;
  width:724px
}

body.home #content #toutes-les-actus {
  margin: 40px 0;
  padding-top: 20px;
  text-align: center;
}

body.home #content #toutes-les-actus a {
  display: inline-block;
  color: black;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 9999px;
  padding: 1em 1em .7em;
  margin-left: -10px;
  border-top: 1px solid #00bcec;
  border-bottom: 1px solid #00bcec;
  border-left: 5px solid #00bcec;
  border-right: 5px solid #00bcec;
  text-decoration: none;
}

#articles-par-theme-et-annee {
  margin-top: 40px;
}

#explore-articles {
  margin-bottom: 2em;
}

#articles-par-mois,
#lien-mosaique,
#lien-liste-articles {
  text-align: center;
}

#lien-mosaique {
  margin-bottom: 1em;
}

#lien-mosaique img {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

@media only screen and (max-width: 614px) {
  #lien-mosaique,
  #lien-liste-articles {
    margin-top: 2em;
  }
}

#select-annee-articles,
#select-mois-articles,
#content input.wm,
#searchform input,
#theme_select { /* underscore dans default.js ! */
  border: 2px solid #00bcec;
  border-radius: 6px;
  background: white;
  color: black;
  padding: 4px;
  margin-bottom: 8px;
  font-size: 0.8em;
}

#select-mois-articles,
::picker(select) {
  appearance: base-select;
}

#select-mois-articles option {
  display: flex;
}

#select-mois-articles option .mois-texte {
  width: 10ch;
  /* le nom de mois le plus long étant septembre */
}

#select-mois-articles option .mois-nombre-articles {
  color: #777;
}

#content button.blue,
#searchform #searchsubmit {
  color: white;
  background: #009DE1;
  border: none;
  padding: 4px;
  border-radius: 4px;
}

body.home #content #f3 {
  text-align: center;
  padding: 0 1em;
}

body.home #content #f3 p {
  font-size: 0.8em;
}

#content .sepactu {
  text-decoration: none;
  display: block;
  background: linear-gradient(transparent 70%, #eee);
}

#content .sepactu h2 {
  display: inline-block;
  margin-left: 1em;
  margin-bottom: 0;
  padding: 0.2em 1.5em 0.2em 0.8em;
  font-family: Anton, Verdana, Arial, sans-serif;
  font-size: 26px;
  color: white;
  background-color: #1fa9e5;
  border-top-right-radius: 20px;
}

#content div.post {
  float: left;
  width: 200px;
  padding: 30px 25px 5px 15px;
}

#content div.pbody {
  height: 500px;
  width: 186px;
  overflow: hidden;
  margin: 0 7px;
  position: relative;
}

#content .new {
  background: #f38800;
  font-size: .7em;
  padding: .5em;
  height: 1em;
  position: absolute;
  right: 0;
  top: .2em;
  color: white;
  border-radius: .5em 0 0 0;
}

#content div.pbody h4 {
  margin: 0;
}

#content div.pbody h2 {
  margin: 1px 0 3px;
  height: 78px;
  line-height: 25px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#content div.pbody h2 a {
  color: #000;
  text-decoration: none;
}

#content div.pbody h5 {
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  font-style: italic;
  padding: 2px 4px;
  margin: 4px 0 2px;
  width: 120px;
  height: 14px;
  background-color: #009DE1;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  border-top-right-radius: 10px;
}

#content div.pbody div.pexpt {
  padding: 5px 0;
}

#content div.plink {
  padding: 5px;
  background: 12px 50% no-repeat url(img/lire.svg),
  7px 0 / calc(100% - 14px) no-repeat linear-gradient(#009DE1 60%,
#0071A2);
  border-top: 2px solid white;
}

#content div.plink a {
  padding-left: 31px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
}

/* contact form */
#content fieldset {
  margin: 20px 0;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-left: 0 none;
  border-right: 0 none;
}

#content fieldset input,
#content fieldset textarea {
  font-family: Helvetica,
Arial,
sans-serif;
  font-size: 12px;
  border: 1px solid #999;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  padding: 3px;
}

#content fieldset input.small {
  width: 100px;
}

#content fieldset span.your-subject input,
#content fieldset span.your-message textarea {
  width: 500px;
}

#content fieldset span.your-message textarea {
  height: 18em;
}

#content fieldset span.your-address textarea {
  height: 4em;
}

#content fieldset input:focus,
#content fieldset textarea:focus {
  border-color: #333;
}

#content fieldset input.wpcf7-submit {
  -moz-box-shadow:inset 0px 1px 0px 0px #bbdaf7;
  -webkit-box-shadow:inset 0px 1px 0px 0px #bbdaf7;
  box-shadow:inset 0px 1px 0px 0px #bbdaf7;
  background:-webkit-gradient( linear,
left top,
left bottom,
color-stop(0.05,
#79bbff),
color-stop(1,
#378de5) );
  background:-moz-linear-gradient( center top,
#79bbff 5%,
#378de5 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff',
endColorstr='#378de5');
  background-color:#79bbff;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  border:1px solid #84bbf3;
  display:inline-block;
  color:#ffffff;
  font-family:arial;
  font-size:15px;
  font-weight:bold;
  padding:6px 24px;
  text-decoration:none;
  text-shadow:1px 1px 0px #528ecc;
}

#content fieldset input.wpcf7-submit:hover {
  background:-webkit-gradient( linear,
left top,
left bottom,
color-stop(0.05,
#378de5),
color-stop(1,
#79bbff) );
  background:-moz-linear-gradient( center top,
#378de5 5%,
#79bbff 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5',
endColorstr='#79bbff');
  background-color:#378de5;
}

#content fieldset input.wpcf7-submit:active {
  position:relative;
  top:1px;
}

/* archives a la une */
#liste-annees {
  padding: 3em 0 1em 0;
  max-width: 684px;
  display: flex;
  flex-wrap: wrap;
}

#liste-annees li {
  display: inline;
  margin: 0 10px 10px 0;
  padding: 4px 10px 2px;
  width: 36px;
  font-size: 20px;
  border-radius: 13px;
}

#liste-annees li a {
  font-family: 'Anton',
Verdana,
Arial,
sans-serif;
  color: white;
  text-decoration: none;
}

#content h1.newstitle {
  margin: 0;
}

#content h1.newstitle a {
  color: #000;
}

#content .post-single h1.newstitle a {
  text-decoration: none;
}

#content h3.newssub {
  margin: 0;
  color: #009DE1;
}

#content h4.newscategory {
  margin-bottom: 0;
}

#content div.archives_year {
  display: flex;
  align-items: center;
  padding-top: 30px;
  clear: left;
}

#content div.archives_year h2 {
  font-size: 50px;
  margin: 0 20px 0 0;
}

#content div.archives_year .retour-annees {
  font-size: 10px;
  font-family: Helvetica,
Arial,
sans-serif;
  color: #555;
  margin-left: 10px;
  text-transform: none;
  background: url(img/fleche-haut.svg);
  background-repeat: no-repeat;
  padding-left: 12px;
  line-height: 2;
}

#content ul.archives_unes {
  padding: 0;
  margin: 0;
  width: 446px;
}

#content ul.archives_unes li {
  list-style: none;
  float: left;
  margin: 0 10px 15px 0;
  cursor: pointer;
}

#content div.archives_sommaires {
  float: right;
  margin-top: 54px;
  width: 220px;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid grey;
  box-shadow: -5px 5px 5px #ccc;
}

#content div.archives_sommaires > h4 {
  font-size: 20px;
  margin-top: .25em;
}

#content div.archives_sommaires > p {
  font-size: 14px;
}

#content .post-single.a-la-une .lire-en-numerique > a,
#content div.archives_sommaires > a {
  display: block;
  margin: 1em;
  background: #009ee4;
  color: white;
  padding: 10px 8px;
  text-transform: uppercase;
  font-family: 'Anton';
  border: 1px solid #0f79a8;
  font-size: 21px;
  border-radius: 3px;
  text-align: center;
}

#content .post-single.a-la-une .lire-en-numerique > a {
  margin: 1em 0;
}

.archives_content {
  display: none;
}

#content table h2 {
  margin: 0;
  font-size: 20px;
  line-height: 20px;
}

#content p.linkmore {
  background: url(img/elems.png) no-repeat 0 -320px;
  padding: 4px 24px;
  margin: 2px 0;
  clear: both;
}

/* === HERVE === */
/* r�duire les margin des h2 et h3 dans style.css ? */
#content a {
  color: #009DE1;
}

h1#theme-single {
  display: inline-block;
}

h4#theme-single {
  min-height: 25px;
  margin-top: 0;
}

div.entry {
  margin: 1em 0 4em 0;
  font-size: 14px;
}

div.mosaique {
  margin-top: 2em;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 4px;
}

div.mosaique div.entry {
  margin: 0;
  font-size: 0.7em;
  text-align: center;
}

div.mosaique div.entry a {
  margin: 2px 0 4px;
  text-decoration: none;
}

#content .entry-content h2,

#content .entry-content h3,

#content .entry-content h4,

#content .entry-content h5,
#content .entry-content h6 {
  font-size: 1.2em;
  text-transform: none;
  font-family: Helvetica,Arial,sans-serif;
  margin-top: 1.5em;
}

.post-single {
  padding: 1em;
  box-shadow: 0 0 3px 2px #ccc;
  border: 2px solid #ccc;
}

.post-meta-data {
  position: relative;
}

.post-meta-data .date-author {
  text-transform: uppercase;
  font-size: .75em;
}

.post-meta-data .new {
  background: #f38800;
  padding: .5em;
  position: absolute;
  right: 0;
  bottom: 0;
  color: white;
  border-radius: .5em 0 0 0;
}

#content .entry .post-thumbnail {
  float: left;
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin: 0 1em .5em 0;
}

#content div.mosaique .entry .post-thumbnail {
  margin: 0;
}

#entry a {
  text-decoration: none;
  color: #009DE1;
}

#wp-pager {
  text-align: center;
}

#articles-suivants,
#articles-precedents {
  display: inline-block;
  padding: 0 10px;
  margin-bottom: 10px;
  color: white;
  font-weight: bold;
  font-size: 1.2em;
  background: #009DE1;
  height: 40px;
  line-height: 40px;
  position: relative;
}

#articles-suivants {
  margin-left: 20px;
  padding-right: 15px;
}

#articles-precedents {
  padding-left: 15px;
}

#articles-suivants::before,
#articles-precedents::after {
  display: inline-block;
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  position: absolute;
}

#articles-suivants::before {
  border-right: 20px solid #009DE1;
  left: -20px;
}

#articles-precedents::after {
  border-left: 20px solid #009DE1;
  right: -20px;
}

div.date {
  display: inline-block;
  background: transparent url(img/date-bg.png) no-repeat scroll top left;
  width: 38px;
  height: 41px;
}

div.date .date-top {
  height: 4px;
}

body.archive span.date-author span.date-year {
  font-size: 1.2em;
  font-weight: bold;
}

div.date .date-month {
  color: white;
  height: 10px;
  font-size: 9px;
  padding-left: 2px;
}

div.date .date-day {
  color: black;
  font-family: 'Anton',
Verdana,
Arial,
sans-serif;
  font-size: 20px;
  text-align: center;
}

#partages-rezosocio {
  font-size: .8em;
}

#partages-rezosocio img {
  vertical-align: middle;
  margin-right: 1em;
}

#f2 p#fb-subscribe {
  font-size: 0.8em;
}

#f2 p#fb-subscribe a {
  color: #009DE1;
  text-decoration: none;
}

#content h4.newscategory,
#sub-cat-and-post-nav-single {
  margin-top: 25px;
  position: relative;
}

#nav-single {
  position: absolute;
  bottom: -5px;
  right: 10px;
  font-family: 'Anton',
Verdana,
Arial,
sans-serif;
  font-size: 1.2em;
}

#nav-single .nav-next a,
#nav-single .nav-previous a {
  color: white;
  text-transform: uppercase;
}

#nav-single .nav-next,
#nav-single .nav-previous {
  display: inline-block;
  background-color: #009de1;
  min-width: 7em;
  min-height: 2em;
  padding: 0.5em 0.7em 0 0.7em;
  text-align: center;
}

#nav-single .nav-previous {
  -webkit-border-top-right-radius: 20px;
  -moz-border-radius-topright: 20px;
  border-top-right-radius: 20px;
}

#nav-single .nav-next.no-nav,
#nav-single .nav-previous.no-nav {
  background-color: #ccc;
  color: white;
}

.entry-content {
  margin: 2em 0 0;
}

#pages-post-single {
  text-align: center;
  margin: 1em 0 0;
  /* 	background-color: #ddd; */
  padding: 1em;
}

#pages-post-single:empty {
  margin: 0;
  padding: 0;
}

.page-link {
  padding: 0.3em 0.6em 0.3em 0.6em;
  background-color: #ccc;
  border-radius: 0.25em;
}

#pages-post-single > .page-link:first-child {
  /* pour ne pas coller � Page */
  margin-left: 0.5em;	
}

#pages-post-single > .page-link {
  /* c'est la page active,
les autres sont dans un <a href> */
  background-color: #009DE1;
  color: #fff; 
}

h3#reply-title {
  display: none;
}

div#respond {
  background-color: #ddd;
  padding: 1em;
}

div#respond form#commentform p.form-submit {
  text-align: right;
}

div#respond form#commentform p.form-submit input#submit {
  background-color: #009DE1;
  color: white;
  font-weight: bold;
  border: none;
}

/* tooltips dans le tableau du staff */
.tooltip {
  position: absolute;
  margin-left: -9999em;
  max-width: 350px;
  opacity: 0;
}

div.tooltip-tail {
  position: absolute;
  margin-top: -31px;
  margin-left: 2em;
  background-image: url(img/tooltip-tail.gif);
  width: 25px;
  height: 21px;
}

/* parfois l'�diteur produit un span.tooltip ou un p.tooltip ou un p > span.tooltip */
/* a:hover si on oublie d'enlever le lien sur l'image,
img:hover sinon */
div#content table a:hover ~ .tooltip ,
div#content table a:hover ~ p > .tooltip ,
div#content table img:hover ~ .tooltip ,
div#content table img:hover ~ p > .tooltip ,
.active-tooltip {
  margin-left: 2em;
  opacity: 1.0;
  transition: opacity 0.3s ease-in; -moz-transition: opacity 0.3s ease-in; -webkit-transition: opacity 0.3s ease-in; -ms-transition: opacity 0.3s ease-in; -o-transition: opacity 0.3s ease-in;
}

div#content td {
  padding: 1em 1em 0 1em;
}


/* page id 35 = drop zones > calendrier */
body.page-id-35 div#content td h3 { 
  margin-top: 0;
}

body.page-id-35 div#content td h2 {
  margin-top: 1em;
}

body.page-id-35 div#content td[colspan="2"] {
  border-top: 2px dotted black;
}


/* page id 42 = liens et partenaires */
body.page-id-42 div#content ul { 
  list-style-type: none;
  border-bottom: 2px dotted black;
  padding: 0 0 0.5em 0;
  margin-bottom: 1em;
}

body.page-id-42 div#content ul a {
  color: black;
}


/* PDF.js pour les livres */
body.page-template-template-pdfjs #content {
  float: none;
  width: auto;
}

body.page-template-template-pdfjs #content #pdfjs {
  text-align: center;
  min-height: 450px;
}

body.page-template-template-pdfjs #content #pdfjs p {
  font-size: 1.5em;
}

body.page-template-template-pdfjs #content #pdfjs canvas {
  max-width: 100%;
}

body.page-template-template-pdfjs #content #pdfjs button {
  border-width: 3px;
  border-style: solid;
  border-color: transparent;
  border-radius: 6px;
  padding: .2em .6em;
}

/* cookie notice */
#content a.cn-button.bootstrap {
  color: white;
}


#paramag-popup-close {
  position: absolute;
  padding: 10px;
  margin: 0 0 0 -38px;
  cursor: pointer;
  opacity: 0.5;
  font-size: 2em;
  font-weight: bold;
}

#paramag-popup-close:hover {
  opacity: 1;
}


#wpforms-16041-field_6 {
  display: none;
}

#wpforms-16041-field_6-container .wpforms-field-description {
  font-size: 2.3em;
  margin-top: 2em;
}

#wpforms-16041-field_7-container,
#wpforms-16041-field_9-container {
  margin-top: 5em;
  padding: 2em 3em;
}

#wpforms-16041-field_7-container .wpforms-field-label,
#wpforms-16041-field_9-container .wpforms-field-label {
  font-size: 2em;
}

#wpforms-16041-field_8-container,
#wpforms-16041-field_11-container {
  padding-left: 80px;
}

#wpforms-16041-field_7-container {
  background: limegreen;
}

#wpforms-16041-field_8-container {
  background: #80f280;
}

#wpforms-16041-field_9-container {
  background: #ef7d00;
}

#wpforms-16041-field_10-container,
#wpforms-16041-field_11-container,
#wpforms-16041-field_12-container {
  background: #ffc150;
}

#wpforms-16041-field_10-container,
#wpforms-16041-field_12-container {
  padding: 1em 2em;
}

#wpforms-16041-field_12-container {
  margin-bottom: 2em;
}

#wpforms-16041-field_5,
#wpforms-16041-field_5 + .wpforms-field-description,
#wpforms-16041-field_10,
#wpforms-16041-field_10 + .wpforms-field-description,
#wpforms-16041-field_12,
#wpforms-16041-field_12 + .wpforms-field-description {
  display: inline-block;
}

#wpforms-16041-field_5 + .wpforms-field-description,
#wpforms-16041-field_10 + .wpforms-field-description,
#wpforms-16041-field_12 + .wpforms-field-description {
  margin-left: 1em;
  font-size: 16px;
  font-weight: bold;
  max-width: 70%;
  vertical-align: top;
}

#wpforms-16041-field_5-container .wpforms-required-label {
  display: none;
}

#content .liste-souscripteurs {
  columns: 3 200px;
}

#content .liste-souscripteurs h1,
#content .liste-souscripteurs h2 {
  margin-top: 0;
}

.lettrine {
  float: left;
  font-size: 3.1em;
  color: #019ee5;
  margin: 14px 2px 4px 0;
}

#TB_closeWindowButton .screen-reader-text {
  margin-left: -5em;
}

#content div.g {
  /* AdRotate DANS le contenu (pas header ou #side) */
  width: 300px;
  margin: 10px auto;
}

#content div.g:after {
  content: '(publicité)';
  display: block;
  font-size: .6em;
  color: #444;
  text-align: center;
  margin-bottom: 10px;
}

/* petites annonces 2022 */
.awpcp-classifieds-search-bar--query-field {
  display: flex;
  align-items: center;
}

.awpcp-classifieds-search-bar--query-field label {
  margin-right: 1em;
}

.awpcp-classifieds-search-bar--advanced-search-link {
  padding: 8px !important;
}

/* vidéos 2023 */
body:not(.categorie-podcast).mejs-controls {
  display: none !important;
  visibility: hidden !important;
}

/* podcasts 2025 */
img.podcast {
  margin-bottom: -20px;
}

body.categorie-podcast .mejs-container.mejs-audio {
  margin-bottom: 1em;
}

.wp-caption-text,
.wp-caption-dd {
  color: #808080;
  font-size: 10pt;
}

#cartoparamag-selecteur {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

#cartoparamag-categories {
  flex-grow: 1;
}

#cartoparamag-zoom {
  text-align: right;
}

#cartoparamag-zoom p:first-of-type {
  margin-top: 1em;
}

.leaflet-popup-content img.alignright {
  max-width: 100px;
  height: auto;
}

/* === media queries === */

/* 980px = la largeur du bandeau bleu du menu
 * sous cette valeur (tablettes,
mini-PC),
le bord droit apparait sous le texte
 * ce qui est très moche,
d'où : */
@media only screen and (max-width: 990px) {
  body {
    background: #fff url(img/bg-tablette.jpg) no-repeat left top;
  }

}


/* 614px = la largeur des slides */
@media only screen and (max-width: 614px) {
  body {
    min-width: 0;
    background: #fff url(img/bg-mobile.jpg) no-repeat left top;
  }

  #global {
    position: static;
    top: 0;
    left: 0;
    margin-left: 0;
    width: auto;
    min-height: 0;
  }

  #header {
    padding: 0;
    text-align: center;
  }

  #header h1 {
    float: none;
    width: auto;
    padding: 20px 5px;
  }

  /* pub */
  #header .g {
    clear: left;
  }

  #header .g-1 {
    margin: 0;
  }

  #header .g img {
    max-width: 97%;
    height: auto;
  }

  #content .g {
    margin: 16px auto;
    width: 300px;
  }

  /* menu */
  ul#menu {
    margin-top: 10px;
    height: auto;
    background-color: #009de1;
    text-align: center;
  }

  ul#menu > li {
    float: none;
    display: none;
    line-height: normal;
    text-align: center;
  }

  body.home ul#menu li {
    display: inline-block;
  }

  ul#menu li.active {
    display: inline-block;
  }

  ul#menu > li:first-child {
    padding-left: 0;
  }

  ul#menu > li a {
    color: white;
    line-height: normal;
    font-size: 20px;
  }

  ul#menu > li.active > a {
    font-size: 24px;
    background-color: transparent;
  }

  ul#menu li ul {
    position: static;
    display: none; /* écrasé par .active */
  }

  ul#menu li.active ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  ul#menu li ul li a:hover {
    color: black;
  }

  /* fil d'ariane & cie */
  h1#what {
    position: static;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-right-radius: 0;
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    box-shadow: unset;
    -moz-transform: none;
    -webkit-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
  }

  /* 1er sélecteur : sur l'accueil */
  /* 2e sélecteur : sur les autres pages */
  #menu:has(> li.active) ~ h1#what,
  #menu:has(> li.active) ~ #content h1#what {
    display: none;
  }

  h1#what.visionneuse-pdf,
  body.category h1#what
  {
    display: block !important;
  }

  #bcrumb {
    display: none;
  }

  body.search-results #bcrumb {
    padding: 1em;
    margin: 0;
  }

  body.search-results #bcrumb strong {
    font-weight: bold;
    color: black;
  }

  /* contenu */
  body.home #content,
  #content {
    padding: 20px;
    float: none;
    width: auto;
  }

  /* par conséquent */
  body.home #content h1#what,
  #content h1#what {
    text-align: center;
    margin: -20px -20px 20px;
  }

  #sub-cat-and-post-nav-single {
    text-align: center;
  }

  body.home #content {
    padding: 0;
  }

  body.home #content #toutes-les-actus {
    margin: 0 40px 40px;
  }

  /* page-id-9121 = carte en prod */
  /* page-id-8112 = en dev */
  body.page-id-8112 #content,
  body.page-id-9121 #content {
    padding: 8px;
  }

  #content h1 {
    margin-top: 0;
  }

  .slides-container {
    width: auto !important;
    height: auto !important;
  }

  .slides {
    top: 0;
    left: 0;
    width: auto;
    padding: 0;
    box-shadow: unset;
  }

  .slides .caption,
  .slides .caption.cale-a-gauche,
  .slides .caption.cale-a-droite,
  .slides .caption.cale-en-haut,
  .slides .caption.cale-en-bas {
    position: static;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    padding: 7px 5px 5px 4em;
    border-radius: 0;
    background-color: #5a5a5a !important;
  }

  #content div.post {
    float: none;
    width: auto;
    margin: 0 auto;
    padding: 20px;
  }

  #content div.pbody {
    width: auto;
    height: auto;
  }

  #content div.pbody h2 {
    height: auto;
  }

  #content div.pbody h5 {
    width: auto;
  }

  #content div.pbody img {
    float: left;
    max-width: 100px;
    max-height: 150px;
    height: auto;
    margin-right: 10px;
  }

  #content div.pbody div.pexpt {
    height: auto;
  }

  /* pour les vidéos sur les articles */
  #content iframe {
    max-width: 100% !important;
  }

  /* pour les images sur les articles */
  #content .wp-caption,
  #content img[class^="wp-image-"],
  #content img[class*=" wp-image-"] {
    max-width: 100% !important;
    height: auto;
  }

  /* pour les boites de commentaires */
  .fb-comments,
  .fb-comments span {
    max-width: 100% !important;
  }

  #nav-single {
    position: static;
  }

  /* page staff */
  body.page-id-23 table td {
    display: block;
  }

  #side {
    float: none;
    margin: 0 auto;
  }

  #lune {
    padding: 0;
  }

  #lune #lsom {
    height: auto;
  }

  #footer,
#footer #fctr {
    width: auto;
    height: auto;
    background: #000;
  }

  #fctr > div,
#fctr > form {
    float: none;
  }

  #fctr #f1,
  #fctr #f2,
  #fctr #f3,
  #fctr #f4 {
    width: auto;
    margin: 20px;
    padding: 20px 0 0 0;
  }

  #fctr #f4 {
    padding-bottom: 40px;
    margin-bottom: 0;
  }

  #fctr > div + div {
    border-left: 0;
  }

  #fctr > div + div {
    border-top: 2px dotted white;
  }

  #fctr #f1 p {
    font-size: 14px;
  }

  div#footer form input.wm {
    width: calc(100% - 50px);
  }

  div#footer form button[type="submit"] {
    font-size: 14px;
    padding: 4px;
    vertical-align: bottom;
  }

  #partages-rezosocio a {
    display: block;
  }

  #content div.archives_sommaires {
    width: 0;
    height: 0;
    margin: 0;
  }

  #content div.archives_sommaires.show {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 20px);
    height: auto;
    z-index: 9999;
  }

  #content div.archives_sommaires.show h4 {
    font-size: 24px;
  }

  #content div.archives_sommaires.show h4::after {
    content: url(img/croix-carre-fermer-bleu.svg);
    width: 22px;
    height: 22px;
    float: right;
    margin-right: .5em;
  }

  #content ul.archives_unes {
    width: auto;
  }

  #content ul.archives_unes li {
    display: block;
    margin-right: 5px;
  }

  #content ul.archives_unes li .ctr {
    text-align: left;
    font-size: 13px;
  }

  #content div.archives_sommaires {
    float: none;
    display: block;
    width: auto;
    height: auto;
  }

  body.page-template-template-pdfjs #content #pdfjs {
    text-align: center;
  }

  body.page-template-template-pdfjs #content #pdfjs button {
    display: block;
    margin: 1em auto;
  }

  body.search-results #bloc-recherche {
    white-space: nowrap;
  }

  #nav-single .nav-next,
  #nav-single .nav-previous {
    padding: 0.4em 0 0;
  }

  #cartoparamag-zoom {
    text-align: center;
    flex-grow: 1;
  }

  #cartoparamag-selecteur #liste-centre-de-saut,
  #cartoparamag-selecteur #liste-soufflerie {
    max-width: 60%;
  }
}

span.search-excerpt {
  background-color: #d9f3ff;
}

span.search-excerpt-exact span.search-excerpt {
  background-color: yellow;
}
