.grisclair{
  background-color: white;
}

.grisclairfond{
  background-color: #f1f1f1;
}

.padding1{
  padding: 2%;
}

.grid-photo-user{
    display: grid;
    grid-template-columns: 165px 1fr;
    align-items: center;
}

.photo-profil_utilisateurs_echange{
    width: 125px;
    height: 125px;
    object-fit: contain;
    border-radius: 50%;
    padding: 10px;
}

@media (max-width: 750px) {
  .photo-user{
    display: none;
  }
  .grid-photo-user{
    display: block;
  }
}

#entete-echange{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2%;
  align-items: center;
}

.separateur-billet {
    overflow: visible; /* For IE */
    padding: 0;
    border: none;
    border-top: medium double grey;
    color: #333;
    text-align: center;
}

.separateur-billet:after {
    content: url("https://intranet.penet-plastiques.fr/wp-content/themes/themepenet/images/billets/bulle penet picto.png");;
    display: inline-block;
    position: relative;
    top: -1.2em;
    font-size: 1.5em;
    padding: 0 0.25em;
}

.border-radius{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border-radius: 20px;
    background-color: white;
    word-wrap: break-word;
}

.button-53 {
  position: fixed;
  left: 20px;
  width: 250px;
  background-color: #393;
  color: white;
  margin: 20px 0;
  border: 0 solid #E5E7EB;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75rem;
  padding: .75rem 1.65rem;
  cursor: pointer;
  user-select: none;
  max-width: 100%;
}

.button-53:after {
  content: '';
  position: absolute;
  border: 2px dashed #000000;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  transition: left 0.5s, bottom 0.5s;
}

.button-53:hover:after {
  bottom: 2px;
  left: 2px;
}

.container-billet{
  max-width: 1100px;
  margin: auto;
  margin-top: -20px;
}

.container-billet h2, .titlehome{
  color: #0099cc;
  font-family: 'Asap Condensed', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

#content-ajout-echange{
    max-width: 1100px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* The Modal (background) */
.modal, .modal_supp {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 2%; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content, .modal-content_supp {
  background-color: #dddddd;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 95%;
  max-width: 1000px;
  text-align: justify;
  font-size: 16px ;
}


.modal-content_supp {
  background-color: #dddddd;
  margin: 40vh auto;
  padding: 3%;
  border: 1px solid #888;
  width: 95%;
  max-width: 1000px;
  text-align: justify;
  font-size: 16px;
}

.modal-content h4{
  font-size: 28px ;
}

/* The Close Button */
.close, .close_supp {
  color: red;
  float: right;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,.close:focus,
.close_supp:hover, .close_supp:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

.textarea_form{
    line-height: 1.5;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 1px #999;
    height: 40%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

.text_form{
  width: 100%;
  line-height: 1.5;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 1px #999;
}

.formmodif{
    display: inline-block;
    float: right;
}

.formmodif form{
    display: inline-block;
}

.btnforum{
  background-color: #339933; 
  color: white;
  padding: 1% 5%;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.btnforum:hover{
  font-size: 15.5px;
}

.btnforum2{
  background-color: #339933; 
  border: none;
  color: white;
  padding: 5px 3%;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 8px;
}

.btnforum2:hover{
  font-size: 17px;
}

.input-supprimer-commentaire{
   background-color: white;
   border: none;
   right: 0px;
   position: absolute;
   margin-right: 5%;
}

.commentaire-pj{
   padding: 5px 0;
}

.btnmodif{
   border: none;
   display: inline-block;
   text-decoration: none;
   background-color: yellow;
   text-align: center;
   cursor: pointer;
   margin: 0 2px;
   border-radius: 4px;
   color: black;
}

#myBtn_supp {
    border: none;
    display: inline-block;
    text-decoration: none;
    background-color: red;
    text-align: center;
    cursor: pointer;
    margin: 0 2px;
    border-radius: 4px;
    color: white;
}

.btnsup{
    border: none;
    display: inline-block;
    text-decoration: none;
    background-color: red;
    text-align: center;
    margin: 25px 0;
    border-radius: 4px;
    color: white;
    padding: 5px 15px;
}

.btnbillet{
    background-color: #339933;
    color: white;
    padding: 3px 50px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.btnbillet:hover{
    background-color: #66b566;
}


/*Bouton j'aime avec personnes qui aiment*/

.btn-like {
  background-color: #393;
  color: white;
  padding: 5px 20px;
  font-size: 16px;
  border: none;
  outline: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown-like {
  position: absolute;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content-like {
  display: none;
  color: white;
  position: absolute;
  background-color: #393;
  min-width: 200px;
  z-index: 1;
  padding: 10px;
}

/* Links inside the dropdown */
.dropdown-content-like a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content-like a:hover {background-color: #ddd}

/* Show the dropdown menu on hover */
.dropdown-like:hover .dropdown-content-like {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.btn-like:hover, .dropdown-like:hover .btn-like  {
  background-color: #4fc54f;
}

.btn-like a:hover{
  text-decoration: none;
  color: white;
}

.accordioncommentairesposte {
  background-color: #09c;
  color: white;
  cursor: pointer;
  padding: 6px 20px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  border-radius: 5px;
}

.accordioncommentairesposte:hover {
  background-color: #05b1eb;
}

.activecommentairesposte{
  background-color: #05b1eb;
  margin-bottom: 20px;
}

.panelcommentairesposte {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}

.grid_com_like{
    display: grid;
    grid-template-columns: 175px 1fr;
    grid-gap: 15px;
}

@media (max-width: 1700px) {

  .button-53 {
    left: 0;
    width: auto;
    position: relative;
    max-width: 100%;
    color: white;
    margin: 40px 0 0 0;
  }

}

@media (max-width: 1000px) {
  #entete-echange{
    display: flex;
    flex-direction: column;
    align-items: normal;
    grid-gap: 15px;
  }

  #content-ajout-echange p{
    margin: 30px 0 0 0;
  }

  .button-53 {
    margin: 30px 0 0 0;
  }
}

@media (max-width: 650px) {
  .modal-content {
    font-size: small;
  }
}

@media (min-width: 768px) {
  .button-53 {
    padding: .75rem 3rem;
    font-size: 1.25rem;
  }
}