/* Theme Name: Nouveau theme du Coin Retraite
 Theme URI:  
 Author: Jerome BINJAMIN
 URI:  
 Description: Nouveau theme du Coin Retraite. 
 Version: 1.1 
 Tags: */
 
 *{
    margin: 0px;
    padding: 0px;
}
/******************************** Font ******************************/
@font-face {
    font-family: 'icomoon';
    src:  url('./assets/icomoon.woff?vxy1cl') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  
  [class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-twitter:before {
    color: #359BED;
    content: "\f081";
  }
  .icon-facebook:before {
    color: #3C5B9B;
    content: "\f082";
  }
  .icon-bar:before {
    content: "\f0c9";
  }
  .icon-youtube:before {
    color: #FF0000;
    content: "\f16a";
  }
  .icon-home:before {
	color: red !important;
    font-size: 2rem;
    content: "\e900";
  }
  .icon-cross:before {
    content: "\ea0f";
  }
  .icon-bookmark:before {
    content: "\f02e";
  }
  .icon-info:before {
    content: "\f1ea";
  }
  .icon-news:before {
    content: "\e91a";
  }
  .icon-ordi:before {
    content: "\e956";
  }
  .icon-chevron-up:before {
    content: "\f077";
  }
  .icon-user:before {
    content: "\f007";
  }
  .icon-print:before {
    content: "\f02f";
  }
  .icon-calendar:before {
    content: "\f073";
  }
  .icon-check:before {
    content: "\f00c";
  }
  .icon-exclamation-triangle:before {
    content: "\f071";
  }
  .icon-pencil:before {
    content: "\f040";
  }
  .icon-thumbs-o-up:before {
    content: "\f087";
  }
/************************************** General ************************************/
html{
  font-size: 1rem !important;
}
body{
  font-family: sans-serif;
  font-size: 1rem;
}

main{
    display: grid;   
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1px;
    max-width: 1170px;
    margin:auto;
    position: relative;
}

p{
  text-align: justify;
  width: 90%;
  margin: auto;
  font-size:1.2rem;
  padding: 10px 0px;
}

section{
  border-top: 1px solid red;
  background-color: #fff;
  padding: 0.5rem;
  margin: 20px;
  -moz-box-shadow: 0px 3px 10px #c2c2c2;
  -webkit-box-shadow: 0px 3px 10px #c2c2c2;
  box-shadow: 0px 3px 10px #c2c2c2;
}

section img {
  height: auto;
  max-width: 100%;
  /* max-width: 800px; */
}

.centre {
  text-align: center;
}

.colore{
  color: #ff4c4c;
}

.bouton a, .news-submit, .bouton-inverse a {
  border-radius: 10px !important;
  -moz-border-radius: 10px !important;
  -webkit-border-radius: 10px !important;
  text-decoration: none !important;
  padding: 8px 12px 8px;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  border-width: 0px;
}

.bouton a, .news-submit{
  color: #fff !important;
  background-color: #ff4c4c !important;
}

.bouton-inverse a {
  border: 2px solid #ff4c4c !important;
  color: #ff4c4c !important;
  background-color: #fff !important;

}

.bouton a:hover, .bouton a:focus {
  border: 2px solid #ff4c4c !important;
  text-decoration: none !important;
  background-color: #fff !important;
  color: #ff4c4c !important;
}

.bouton-inverse a:hover, .bouton-inverse a:focus {
  border: 2px solid #fff !important;
  text-decoration: none !important;
  background-color: #ff4c4c !important;
  color: #fff !important;
}

a, .dlilien {
  font-weight: 400;
  text-decoration: none;
  color:red;
}

a:hover {
  color: darkred; 
}

.dli:hover {
    cursor: pointer;
}


#back2Top {
  width: 48px;
  line-height: 48px;
  overflow: hidden;
  z-index: 999;
  display: none;
  cursor: pointer;
  position: fixed;
  bottom: 1%;
  right: 1%;
  background-color: #ff4c4c;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 1.8rem;
  text-decoration: none;
  opacity: .5;
}
#back2Top:hover {
  opacity: 1;
}

/************************************** Hearder ********************************/
header{
  position: relative;  
  grid-column: span 4;
  justify-self: center;
  font-family: 'Times New Roman', Times, serif;
  max-height: 110px;
  width: 100%;
  padding-top: 10px;
}

header a{
    text-decoration: none;
    color: black !important;
}

#titre{
    text-align: center;
    font-size:3.2rem;
}

#dliser,
#gliser{
    content: url("./assets/dliser.svg");
    background-size: cover;
    width: 9%;
    min-height:60px;
}

#dliser{
    transform: rotateY(180deg);
}

.aron{
  content: url("./assets/dliser.svg");
}
#slogan { 
    text-align: center;
    color:#ff4c4c;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 550;
}
/************************************************ Social ***********************************/
#social {
  right: 0px;
}

/************************************************* Navbar **********************************/
nav{
    grid-column: span 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 2rem;
    min-height: 50px;
}

  .nav-links {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    text-align: center;
  }
  .nav-links li {
    padding: 1rem;
    font-size: 1.4rem;
  }
  .nav-links li a:hover {
    border-bottom:2px solid #f00;
    color: red;
  }
  .nav-links a {
    text-decoration: none;
    color:black;
  }
  .nav-menu {
    left:50%;
    transform: translateX(-50%);
  }

  .label {
    visibility: hidden;
    font-size: 1.5rem;
    position: absolute;
    right: 3rem;
  }
  .label:hover {
    cursor:pointer;
  }
  .fas {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  #hamburger{
    display: none;
  }
  #hamburger:checked + label .icon-bar {
    visibility: hidden;
  }
  #hamburger:checked + label .icon-cross {
    visibility: visible; 
  }
  #hamburger:checked ~ .nav-menu {
    display: block;
  }
  
#ariane{
  grid-column: span 4;
}

#breadcrumbs{
  color: #666;
  margin-bottom: -20px;
  margin-left: 20px;
  font-style: italic;
  font-size: 1rem;
}

  /************************************ Welcome *****************/
#welcome{
    grid-column: span 2;
}
#imgWelc{
  grid-column: span 2;
  display: flex;
  flex-direction: column;
	align-items: center;
  font-size: 1.2rem;
  color: #929292;
}
#imgWelc img{
  max-height: 300px;
  margin: 20px;
}

#question{
  grid-column: span 4;
  margin:15px auto;
  font-size: 1.8rem;
  color:#ff4c4c;
}

#choix{
  grid-column: span 4;
  display: flex;
	justify-content: space-around;
}

#choix section{
  height: 100%;
}

#choix .dli{
  color: black;
  width: 30%;
  display: flex;
  flex-direction: column;
	align-items: center;
  text-align: center;
}


#choix span {
  display: block;
  padding-top: 10px;
  font-size: 1.8rem;
  color:#ff4c4c;
}

/************************** Slideshow ********************/
#slide{
  grid-column: span 4;
  display: flex;
  align-items: center;
  text-align: center;
  min-height: 255px;
}
#sl-img {
  max-width: 30%;
}
img#mypic {
  width: 100%;
}
.sl-info {
  display: none;
  width: 70%;
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .1}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .1}
  to {opacity: 1}
}
.sl-titre{
  font-size: 1.6rem;
  font-weight: 700;
}
.sl-extrait{
  /* padding:25px 10px; */
  margin: 25px 10px;
  max-height: 75px;
  overflow: hidden;
}
/************************ Nouveaté ***********************/
#nouveaute{
  display: flex;
  justify-content: space-evenly;
	align-items: center;
  grid-column: span 4;
}

#nouv_desc{
  display: flex;
  flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
}

#nouv_desc div {
  padding: 10px;
}

/*************************** News ************************/
#news{
  grid-column: span 3;
  display: flex;
  align-items: center;
  text-align: center;
}

#ico-actu{
  width: 20%;
  font-size: 3rem;
  color:#ff4c4c;
}

#list-actu{
  width: 80%;
  text-align: left;
  font-size: 1.2rem;
}

#list-actu ul{
  list-style-type: square;
}

#list-actu li{
  margin: 10px;
}

#list-actu a {
  color:black;
}

#list-actu li a:hover {
  border-bottom:2px solid #f00;
  color: red;
}
/******************************************Promo****************************/
/* #promo{
  
} */

#promo {
  grid-column: 2/span 2;
  display: flex;
	justify-content: center;
  text-align: center;
}

#promo img {
  max-width: 90%;
}

footer{
  grid-column: span 4;
  background-color: #4e4e4e;
  color: #ffffff;
  padding: 5px;
}

footer a {
  text-decoration: none;
  color:#ffffff;
}

footer a:hover {
  color:#ffffff; 
}

footer span {
  margin: 5px;
}

#recentTitre {
  margin: 10px 25px;
  font-size: 1.6rem;
  padding: 5px;
}

#recentArticle ul {
	list-style-type: none;
}

#recentArticle li {
	border-bottom: 1px solid #666;
    width: 50%;
	margin: 5px;
}

#legal {
	margin-top:8px;
  text-align: center;
}
/*************************************** Table des matières *******************/
.table-of-contents {
  margin: 4rem 0;
  position: relative;
  background-color: #eee;
  padding: 0.5rem 1rem;
  border-left: 5px solid #036773;
  border-radius: 5px;
}
.table-of-contents .toc-headline {
  font-size: 22px;
  color: #3a13b7;
  font-weight: 600;
  display: block;
  cursor: pointer;
  margin-top: .3rem;
}
.table-of-contents ul {
  margin-left: 1rem !important;
  padding: 0;
}
.table-of-contents ul li::before{
  content: none !important;
}
.table-of-contents li {
  position: relative;
  list-style: none;
  line-height: 1.2;
  font-weight: 400;
  margin: .3rem 0;
  transition: .2s ease all;
}
.table-of-contents li>ul>li a {
  font-size: 1rem;
  color: #00a3b7;
}
.table-of-contents li a {
  font-size: 1.2rem;
  line-height: 1.2;
  color: #036773;
}
.table-of-contents li>ul {
  padding-left: 1rem;
  padding-bottom: .5rem;
}



/***************************************   Categorie **************************/
#principal{ 
  position:relative;
  grid-column: span 3;
}

.cat_titre{
  color: #ff4c4c;
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 15px;
}

.list_cat ul{
  list-style-type: none;
}

.list_cat a {
  /* text-decoration: none; */
  color:black;
}

.list_cat  a:hover {
  color: darkred;
}

.list_cat li::before{
  color: #4cff7f;
  content: "\e968";
  font-family: 'icomoon';
  float: left;
  margin-left: -30px;
}
.pub {
  min-height: 280px;
  text-align: center;
}
#pubcote {
  min-height: 641px !important;
  max-width: 252px !important;
  text-align: center;
}

#pubcote div{
  margin-bottom: 15px;
}
/*************************************** article *************************/
#impr{
  position: absolute;
  right: 35px;
  color: #ff4c4c;
  font-size: 2rem;
  cursor: grab;
}

#principal{
  line-height: 1.8rem;
}

#principal h1{
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  /* padding: 0px 30px 15px 30px; */
  padding: 30px;
  margin: 20px;;
}

#art_info{
  text-align: center;
  color: #999;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

#art_info span{
  color:#ff4c4c;
}

hr.style14 {
  width: 40%;
  border: 0;
  margin: auto;
  height: 1px;
  background-image: -webkit-linear-gradient(left,#f0f0f0,red,#f0f0f0);
  background-image: -moz-linear-gradient(left,#f0f0f0,#8c8b8b,#f0f0f0);
  background-image: -ms-linear-gradient(left,#f0f0f0,#8c8b8b,#f0f0f0);
  background-image: -o-linear-gradient(left,#f0f0f0,#8c8b8b,#f0f0f0);
}

#art_chapo{
  font-style: italic;
  font-size: 1.2rem;
  padding: 20px 50px;
}

#principal h2{
  color: #ff4c4c;
  margin: 15px 0px;
  font-size: 1.4em;
  border-bottom: 1px solid #ff4c4c;
}

#principal h3{
  margin: 10px 10%;
  font-size: 1.2em;
  font-weight: 700;
  font-style: oblique;
}

#principal h3::before{
  content: "\e968";
  font-family: 'icomoon';
  font-size: .9em;
  margin-right: 10px!important;
}
#principal h4{
  color: #ff4c4c;
  margin: 15px 12%;
  font-size: 1.1em;
  font-style: italic;
}
#principal h4::before{
  content: "\f02e";
  font-family: 'icomoon';
  font-size: .9em;
  margin-right: 10px!important;
}
#principal ul{
  margin-left: 10%;
  list-style-type: none;
  font-size: 1.2rem;
}

#principal ul li::before{
  color: #4cff7f;
  content: "\f00c";
  font-family: 'icomoon';
  float: left;
  margin-left: -30px;
}

#principal ol{
  margin-left: 10%;
  counter-reset: repas;
  font-size: 1.2rem;
}
#principal ol li{
  list-style-type: none;
  counter-increment: repas;
  margin-bottom: 10px;
  display: block;
  padding-bottom: 10px;
}
#principal ol li::before{
  content: counter(repas);
    padding: 2px 0 6px;
    width: 40px;
    text-align: center;
    margin-right: 8px;
    vertical-align: top;
    background: #00f;
    -moz-border-radius: 60px;
    border-radius: 60px;
    font-weight: 700;
    font-size: .8em;
    color: #fff;
    float: left;
    margin-left: -30px;
}
.caution, .conseil, .info{
  position: relative;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  padding: 30px;
  padding-left: 80px;
  margin: 15px 30px;
  width: auto;
}
.caution::before, .conseil::before, .info::before{
  font-family: 'icomoon';
  font-size:3rem;
  top: 40%;
  left: 4%;
  position:absolute;
}
.caution{
  color: red;
  border: 1px solid red;
  background-color: #ffc9c9;
}
.caution::before{
  content: "\f071";
  color: #FFA418;
}
.conseil{
  border: 1px solid #0f0;
  color: #087800;
  background-color: #e8ffe8;
}

.conseil::before{
  content: "\f087";
  color: #263648;
}

.info{
  color: #00f;
  border: 1px solid #00f;
  background-color: d8edff;
}

.info::before{
  content: "\f040";
  color: #FF8A1E;
}

.newsletter{
  border: 1px solid #e2e2e2;
  margin: 15px;
  padding: 15px;
  text-align: center;
  color: #929292;
}

.newsletter form{
  max-width: 500px;
  margin: auto;
}

.news_titre{
  font-family: 'Times New Roman', serif;
  color: #ff4c4c !important;
  font-size: 1.7em;
  font-style: italic;
  font-weight: 800;
}

.news-email{
  width: 70% !important;
  display: inline !important;
  margin: 15px 10px;
  border: 1px solid #ff4c4c;
  height: 50px;
  padding: 0px 10px; 
  background-color: #f4f4f4;
  color: black !important;
}

.news-submit{
  margin-bottom: 15px;
}

.mention{
  text-align: left;
  font-size: .8rem;
  line-height: 1rem;
}

#suggest{
  min-height: 478px;
}

#facebook{
  display: flex;
	flex-direction: column;
	align-items: center;
  color: #ff4c4c;
  margin: auto;
}
#fbthumb{
  font-size: 8rem;
  padding-bottom: 20px;
}

/****************************** Compatibilité aligncenter ***************************/
.aligncenter{
  text-align: center;
  margin:auto;
  width: 100% !important;
}


.al-right {
  text-align: right;
  font-size: 0.9rem;
}

.cpc-choix{
  display:flex;
  width: 100%;
  border-bottom: 1px solid rgba(0,0,1,20%);
  margin-bottom: 20px;
}
.cpc-titre{
  width: 40%;
  font-weight: 700;
}
.cpc-check{
  width: 60%;
  text-align: right;
}
.cpc-check span{
  margin-right: 25px;
  font-weight: 700;
}
.cpc-desc{
  padding: 0px 30px;
}

@media (max-width: 992px) {
  
  #dliser, #gliser{
    min-height:30px;
    max-width: 60px;
  }
  html{
    font-size: 0.8rem !important;
  }
  #principal{
    grid-column: span 4;
  }
  #annonce{
    display: none;
  }
  #slide{
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  html{
    font-size: 1rem !important;
  }
  header{
    min-height: 143px;
  }
  #social{
    display: flex;
    flex-wrap: nowrap;
	  justify-content: space-between;
	  align-items: stretch;
	  align-content: stretch;
  }
  #titre{
    font-size: 1.5rem;
  }
  #slogan{
    font-size: 1.1rem;
  }
  #dliser, #gliser{
    min-height: 20px;
    max-width: 40px;
  }
  .home {
    display: none;
    height: 0px;
  }
  .nav-links {
      position: inherit;
      display: none;
  }
  nav{
      background: #ff4c4c;
      color: white;
      margin-top: 15px;
  }
  .icon-bar {
    visibility: visible;
  }
  .nav-links li a:hover {
      border-bottom:0px;
      color: #fff;
  }
  .nav-links a {
      text-decoration: none;
      color:#fff;
  }
  #welcome, #imgWelc, #news, #promo{
    grid-column: span 4;
  }
  #art_chapo {
    padding: 20px 0px;
  }
  #principal ol, #principal ul {
    margin-left: 0px;
  }
  #slide{
    flex-direction: column;  
  }
  #sl-img, .sl-info{
    width: 100%;
  }
  #choix span {
    font-size: 1.2rem;
  }
  #choix p{
    display: none;
  }
  .caution, .conseil, .info{
    padding-left: 0.8rem;
  }
  .caution::before, .conseil::before, .info::before{
    content: "";
  }
  #back2Top {
    bottom: 50px;
  }

  #mobile-desc{
    display: block;
    margin-bottom: 30px;
  }
  
  .cpc-choix {
    flex-direction: column;
  }
  .cpc-titre{
    width: 100%;
    margin-bottom: 8px;
  }
  .cpc-check{
    width: 100%;
  }
  .cpc-desc {
    padding: 0px 15px;
  }
  
  #recentTitre {
  margin: 0px 10px;
  font-size: 1.2rem;
  }

  #recentArticle li {
    width: 100%;
  }

}

@media (min-width: 769px){
  .icon-cross {
    visibility: hidden !important;
  }
  .nav-links {
    display: flex !important;
  }
}

