/*
Theme Name:   Cie des prairies
Description:  Theme de la compagnie
Author:       thomas
Author URL:   https://www.compagniedesprairies.com
Template:     blankslate
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  Ciedesprairie






@import url("https://web.archive.org/web/20221113193800cs_/https://fonts.googleapis.com/css2?family=Raleway&display=swap");
@import url("https://web.archive.org/web/20221113193800cs_/https://fonts.googleapis.com/css2?family=Raleway:wght@800&display=swap");
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: "Raleway", sans-serif;
  color: rgb(29, 90, 41);
  margin: 0;
  font-size:19px;
}

i,
em {
  font-style: italic;
}

a {
  color: #0860a8;
  text-decoration: none;
}

p {
  padding-bottom:10px;
}

img {
  z-index: 2 !important;
  padding-top:10px;
  padding-bottom:10px;
}

.page img {
  z-index: 2 !important;
  padding-top:10px;
  padding-bottom:10px;
	width: 750px !important;
	height: auto;
}


.wp-post-image {
  padding:0 !important;
}

#journal img{
  padding:0;
  width:286px !important;
  height:376px !important;
}

.size-medium {
  padding:0;
}


a:hover {
  text-decoration: underline;
}

#header {
  padding-top: 59px;
  width: 1210px;
  margin: auto;
  background-image: url("https://www.compagniedesprairies.com/images/logo.png");
  background-repeat: no-repeat;
  background-position: top 33px left 16px;
  background-size: 270px;
}

#container {
  width: 1210px;
  margin: auto;
}

#footer {
  width: 1210px;
  margin: auto;
}

.hidden {
  display: none;
}

@media only screen and (max-width: 1270px) {
  .grille {
    width: 850px;
  }
  /*.logo { max-width: 235px; height: auto; }*/
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  .grille {
    width: 850px;
  }
}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
  .grille {
    width: 500px;
  }
}

.wp-audio-shortcode {
  display: block !important;
  width: 350px !important;
  margin-top: 40px !important;
}

audio {
  margin: 40px !important;
}

b,
strong {
  font-weight: bolder;
}

/* post seul */

.single-post,
.page {
  font-size: 17px; 
  line-height: 110%; 
}

.single-post h1,
.page h1 {
  text-transform: uppercase;
  font-size: 3em;
  font-weight: bolder;
  line-height: 100%;
  color: #000;
  margin-left: 0;
  margin-top: 25px;
  margin-bottom:0;
}

.single-post h1 {
  margin-bottom:20px;
}

.category-3 h1 a,
.single-post h1 a,
.page h1 a {
  text-transform: uppercase;
  color: #000;
  margin-left: 0;
}

.category-3 h1 a:hover,
.single-post h1 a:hover,
.page h1 a:hover {
  text-decoration: none;
}

.category-3 hr,
.single-post hr,
.page hr {
  border: 8px solid rgb(0, 0, 0);
  width: 350px;
  text-align: left;
  margin-bottom: 20px;
  margin-top: 20px;
  margin-left: 0;
  clear: all;
}

.single-post hr
{
  margin-bottom: 20px;
  margin-top: 15px;
}

.docs a {
  color: #0860a8;
  text-decoration: underline;
}

.docs a:hover {
  color: #0860a8;
  text-decoration: none;
}

.size-medium {
  width: 1210px;
}
/* le menu du haut */

#header {
  position: relative;
  line-height: normal;
  font-size: medium;
  z-index: 25 !important;
}

.menu u {
  margin: 0;
  padding: 0;
}

.menu li {
  color: rgb(29, 90, 41);
  font-weight: bolder;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: inline-block;
  margin: 0;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 0;
}
#menu-item-2686 {
  opacity: 0;
  width: 366px;
}
#menu-item-855 {
  padding-left: 160px;
}
#menu-item-854 {
  padding-left: 353px;
}


.menu li a {
  color: rgb(29, 90, 41);
  font-weight: bolder;
  text-transform: uppercase;
  font-size: 20px;
  text-decoration: none;
}

.menu li a:hover {
  text-decoration: none;
  color: rgb(255, 0, 0);
}

.menu .current-menu-item a,
.parent-pageid-339 #menu-item-854 a {
  color: rgb(255, 0, 0);
}
#branding,
#search {
  display: none;
}

.page-id-318 {
  background-image: none;
  margin-top: 0;
}

#header hr.long {
  width: 1178px;
  clear: all;
  margin: auto;
  margin-top: 17px;
  margin-bottom: -8px;
}

/* la grille creation */

.grille {
  margin-top: 30px;
  width: 1220px;
  /* max-width: 1220px; */
}

.grille li {
  display: inline-block;
  top: 0;
  z-index: 1;
  width: 390px;
  height: 470px;
  margin: 0 5px 25px 5px;
  line-height: 100%;
  background-color: #fff;
  border-bottom: 15px solid rgb(0, 0, 0);
  font-size: 17px;
  vertical-align: top;
  padding-bottom:20px;
}

.grille #post-39, .grille #post-40 ,.grille #post-42 {
  border-bottom: none;
  margin-bottom:0;
  padding-bottom:0;
}

.grille li a {
  text-transform: uppercase;
  color: #000;
  /* font-size: 0.9em; */
  font-weight: bolder;
}

.grille li a:hover {
  text-decoration: none;
}
.grille li img {
  display: block;
  width: 390px;
  height: 295px;
  margin-bottom: 10px;
  filter: url(/web/20221113193800im_/https://www.compagniedesprairies.com/wp-content/themes/Ciedesprairie/filters.svg#grayscale); /* Firefox 3.5+ */
  filter: gray; /* IE5+ */
  -webkit-filter: grayscale(1); /* Webkit Nightlies & Chrome Canary */
}
.grille li img:hover {
  filter: none;
  -webkit-filter: grayscale(0);
}

.wp-block-excerpt a {
  padding-top:5px;
  padding-bottom:20px;
}

.lieu_et_date {
  margin-bottom:5px;
}

.wp-block-latest-posts__post-excerpt a {
  text-transform: none;
  color: rgb(29, 90, 41);
  /* font-size: 0.9em; */
}

.wp-block-latest-posts__post-excerpt a:hover {
  text-decoration: none;
}

.wp-block-excerpt a {
  text-transform: none !important;
  color: rgb(29, 90, 41) !important;
  font-size: 17px !important;
  font-weight: normal !important;
}

.wp-block-excerpt a:hover {
  text-decoration: none;
}

/* nouvel accueil */

.page {
  /* font-size: 1.3em; */
  line-height: 120%;
}

.page-id-923 .header,
.page-id-339 .header {
  display: none;
}

.page h2,
.post h2,
.page h2 a {
  text-transform: uppercase;
  color: #000;
  font-size: 1.5em !important;
  font-weight: bolder;
  padding-bottom: 15px;
  width: 800px; 
  line-height: 110%;
}

.page a {
  text-transform: none;
  color: #0860a8;
  /* font-size: 0.9em; */
  font-weight: normal;
  text-decoration: underline;
}

.page-id-923 a:hover {
  text-decoration: none;
}

.page hr.long {
  width: 1178px;
  clear: all;
  margin: auto;
  margin-bottom: 17px;
}

#journal {
  display: block;
  float: right;
  padding-top: 145px;
  padding-right:15px;
} 

/* #journal {
  position: relative;
  top:280px;
  right:50px;
  text-align: right;
}   */

#journal a {
  font-size: 15px;
  text-transform: none;
  color: #0860a8;
  text-decoration: underline;
}

#journal a:hover {
  text-transform: none;
  color: #0860a8;
  text-decoration: none;
}

#actus {
  /* width: 70%;  */
  padding-left: 16px;
  padding-right: 16px;
  padding-top:0px; 
  display: inline-block;
}

.single #actus {
  /* width: 70%;  */
  padding-left: 16px;
  padding-right: 16px;
  padding-top:0px; 
  margin-top:-15px; 
  display: inline-block;
}

#actus p {
   width: 800px;  
}

/* Slider  */
.sp_wpspwpost_slider.wpspw-design-2 .wpspw-post-content-position {
  position: relative;
  width: 100%;
  float: left;
}
.sp_wpspwpost_slider.wpspw-design-2 .wpspw-post-details-wrapper {
  position: absolute;
  top: auto;
  bottom: 5px;
  right: 0 !important;
  left: auto;
  background: rgba(0, 0, 0, 0);
  z-index: 9;
  width: 1000px;
}
.sp_wpspwpost_slider.wpspw-design-2 .wpspw-post-image-bg {
  background: #f1f1f1;
  height: 645px;
  line-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.sp_wpspwpost_slider.wpspw-design-2 .slick-arrow {
  bottom: auto !important;
  border: none !important;
  top: 310px;
}
.sp_wpspwpost_slider.wpspw-design-2 .slick-next {
  right: 0px !important;
}
.sp_wpspwpost_slider.wpspw-design-2 .slick-prev {
  left: 0px !important;
}
.sp_wpspwpost_slider.wpspw-design-2 .slick-dots {
  left: auto !important;
  bottom: 40px !important;
  right: 47%;
}

.wk-slideshow .nav {
  display: none;
}

/* .wk-slideshow {
   height:750px; 
  overflow:hidden;
} */

.titre-slide-accueil {
  text-align: right;
}
.titre-slide-accueil a,
.titre-slide-accueil a:hover {
  font-size: 0.9em;
  text-align: right;
  text-transform: none;
  color: rgb(29, 90, 41);
  text-decoration: none;
}
.titre-slide-accueil .lieu {
  font-weight: normal;
}

.sp_wpspwpost_slider button.slick-arrow {
  background-color: transparent !important;
  width: 50px;
  height: 50px;
  position: absolute;
  z-index: 99;
  border: 0px !important;
  padding: 0 !important;
  margin: 0px !important;
  border-radius: 0px !important;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.sp_wpspwpost_slider button.slick-next {
  background: rgba(0, 0, 0, 0)
    url("/web/20221113193800im_/https://www.compagniedesprairies.com/wp-content/plugins/blog-designer-for-post-and-widget/assets/images/arrow-right.png")
    center center no-repeat !important;
  background-size: 50px 50px !important;
  outline: none !important;
}
.sp_wpspwpost_slider button.slick-next:hover,
.sp_wpspwpost_slider button.slick-next:focus {
  background-color: rgba(0, 0, 0, 0) !important;
}
.sp_wpspwpost_slider button.slick-prev {
  background: rgba(0, 0, 0, 0)
    url("/web/20221113193800im_/https://www.compagniedesprairies.com/wp-content/plugins/blog-designer-for-post-and-widget/assets/images/arrow-left.png")
    center center no-repeat !important;
  background-size: 64px 64px !important;
  outline: none !important;
}
.sp_wpspwpost_slider button.slick-prev:hover,
.sp_wpspwpost_slider button.slick-prev:focus {
  background-color: rgba(0, 0, 0, 0) !important;
}

/* footer */

p::before {
  display: none;
}

#footer hr.long {
  width: 100%;
  clear: all;
  margin: auto;
  margin-bottom: 17px;
  margin-top: 17px;
}

#footer {
  font-size: 13px;
  line-height: 110%;
  clear: all;
}

#footer a {
  font-weight: normal;
}
#infos a {
  color: #0860a8;
  text-decoration: underline;
  font-size: 13px;
  text-transform: none;
}
#footer #infos {
  font-size: 13px;
  width: 100%;
  display: inline-block;
  padding-left:15px;
}

#footer #copyright {
  padding-left:15px;
}

#footer #infos hr {
  display: none;
}

#footer #zoneinfo1 {
  float: left;
  width: 30%;
  padding-right: 10px;
}
#footer #zoneinfo3 {
  float: left;
  width: 30%;
  padding-right: 10px;
  margin-left: 65px;
}
#footer #zoneinfo2 {
  float: left;
  width: 30%;
  padding-right: 10px;
  margin-left: 35px;
}

/* navigation en bas */

.post-navigation {
  clear: all;
}


.nav-previous a, .nav-next a{
  text-decoration:underline;
}

.nav-previous::before {
  content: "< ";
}

.nav-next::after {
  content: " >";
}

.nav-previous a:hover, .nav-next a:hover{
  text-decoration:none;
}

.nav-previous {
  float: left;
}

.nav-next {
  float: right;
}

/* old home */
/* .home {
  font-size: 15px;
}

.home #enconstruction {
  width: 100%;
  background-color: rgb(255, 0, 0);
  line-height: 180%;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 100%;
}
.home #logo,
.home #lemagazine {
  margin-top: 50px;
  float: right;
  margin-right: 5%;
}
.home #lemagazine {
  margin-top: -100px;
}
.home #infos {
  font-size: 15px;
  width: 100%;
  display: inline-block;
}
.home #zoneinfo1 {
  float: left;
  width: 40%;
}
.home #zoneinfo3,
.home #zoneinfo4 {
  margin-left: 5%;
  width: 40%;
}
.home #zoneinfo2 {
  margin-left: 40%;
  width: 60%;
  padding-left: 5px;
}
.home #footer #infos {
  display: none;
}
.home h1 {
  font-family: "Raleway", sans-serif;
  font-size: 300%;
  font-weight: bold;
  line-height: 85%;
  margin: 20px;
  margin-left: 5%;
  color: #000;
}

.home #old-journal,
.home #contact,
.home #actualites {
  margin-left: 5%;
  font-size: 100%;
  font-weight: bold;
  line-height: 85%;
}
.home hr {
  margin-left: 5%;
  border: 4px solid black;
  width: 150px;
  text-align: left;
  margin-bottom: 15px;
}

.home .header,
.home #header {
  display: none;
}

.home {
  font-size: 15px;
}

.home #infos {
  margin-left: 5%;
}

.home img {
	width: 600px!important;
	height: auto;
}

.home .wp-image-2254 {
  width: 50px !important;
  height: auto;
}

.home #logo img {
	width: 300px!important;
	height: auto;
} */

/*
     FILE ARCHIVED ON 19:38:00 Nov 13, 2022 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 10:04:31 Jan 22, 2024.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 183.458
  exclusion.robots: 0.155
  exclusion.robots.policy: 0.139
  cdx.remote: 0.101
  esindex: 0.014
  LoadShardBlock: 153.473 (3)
  PetaboxLoader3.datanode: 67.293 (5)
  load_resource: 90.246
  PetaboxLoader3.resolve: 45.156
  loaddict: 18.071
*/

/* ========================================
   RESPONSIVE MOBILE - Ajouts pour téléphone
   ======================================== */

@media only screen and (max-width: 805px) {
  
  /* Ajustements généraux pour mobile */
  body {
    font-size: 16px;
  }
  
  #header,
  #container,
  #footer {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  #header {
    background-size: 200px;
    background-position: top 20px left 15px;
    padding-top: 40px;
  }
  
  /* Menu responsive */
  .menu li {
    display: block;
    margin: 10px 0;
    padding: 0 !important;
  }
  
  #menu-item-2686 {
    display: none;
  }
  
  #menu-item-855,
  #menu-item-854 {
    padding-left: 0 !important;
  }
  
  .menu li a {
    font-size: 18px;
  }
  
  /* Pages actus et creation - Réorganisation journal/actus */
  #journal {
    float: none;
    display: block;
    width: 100%;
    padding: 20px 15px;
    margin-top: 20px;
    border-top: 2px solid rgb(29, 90, 41);
    text-align: left;
  }
  
  #journal img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
  }
  
  /* IMPORTANT: Forcer actus à prendre toute la largeur */
  #actus,
  .single #actus {
    width: 100% !important;
    padding: 15px;
    display: block;
    box-sizing: border-box;
  }
  
  #actus p,
  .single #actus p {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  /* Option alternative : masquer le journal sur mobile 
     Décommentez ces lignes si vous préférez masquer le journal */
  /*
  #journal {
    display: none !important;
  }
  */
  
  /* Page accueil-creation - Liste des créations */
  .grille {
    width: 100%;
    padding: 0 15px;
    margin-top: 20px;
    box-sizing: border-box;
  }
  
  .grille li {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
    height: auto;
  }
  
  .grille li img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
  }
  
  /* Ajustements pour les titres et HR */
  .single-post h1,
  .page h1 {
    font-size: 2em;
  /*  padding: 0 15px; */
  }
  
  .page h2,
  .post h2,
  .page h2 a {
    width: 100% !important;
    /* padding: 15px; */
    font-size: 1.3em !important;
    box-sizing: border-box;
  }
  
  .category-3 hr,
  .single-post hr,
  .page hr {
    width: 100%;
    max-width: 250px;
    /* margin-left: 15px; */
  }
  
  #header hr.long,
  .page hr.long {
    width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
  }
  
    #footer hr.long {
    width: calc(100% - 30px);
    margin-left: 0;
    margin-right: 15px;
  }
  
  /* Images dans les pages */
  
  .page img, .post img {
    width: 100% !important;
    height: auto;
    max-width: 100% !important;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .wk-slideshow {
    width: 100% !important;
    height: auto;
  }
  
  
  /* Footer responsive - CORRECTION pour utiliser toute la largeur */
  #footer {
    width: 100%;
    padding: 15px;
	padding-left: 30px;
    box-sizing: border-box;
  }
  
  #footer #infos {
    width: 100%;
    padding: 0;
  }
  #footer #copyright {
  padding-left:0;
}
  #footer #zoneinfo1,
  #footer #zoneinfo2,
  #footer #zoneinfo3 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    margin-bottom: 20px;
    padding: 0 !important;
    box-sizing: border-box;
  }
  
  /* Navigation */
  .post-navigation {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .nav-previous,
  .nav-next {
    display: block;
    float: none;
    margin: 10px 0;
  }
}

/* Ajustements pour tablettes 
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  
  #header,
  #container,
  #footer {
    width: 100%;
    max-width: 1024px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  
  .grille {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
  
  .grille li {
    width: calc(50% - 20px);
    margin: 10px;
  }
  
  .grille li img {
    width: 100%;
    height: auto;
  }
  
  #actus p {
    width: 100% !important;
    max-width: 600px;
  }
  
  .page img {
    width: 100% !important;
    max-width: 600px !important;
    height: auto;
  }
}
*/