
/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 10px 0 40px 0;
  position: relative;
}

.regle{
  margin: 40px auto;
}

.articl{
  display: block;
  font-weight: bold;
  color: #615375;
}

.bloc_N2{
  padding-left: 5%;
}

.marge{
  margin:10px 0 0 0;
}

.mot{
  text-align: right;
}

.flexs span{
  display: block;
}

#faq{
  font-family: "Montserrat", sans-serif;
  line-height: 25px;
  font-size: 14px;
  text-align: justify;
  color: #808080;
}

#faq a{
  color: #555;
}

#faq a b{
  color: #1f871f;
}

#faq .collapse{
  background-color: #ffffff;
}

a:hover {
  cursor: pointer;
} 

#site {
  color: #D80000;
  font-weight: bold;
}

#c_vert {
  color: #19a15f;
  font-weight: bold;
}

#con_code {
  margin: 8px 0 5px 0;
}

#interligne{
  line-height: 25px;
  text-align: left;
}

.points{
  margin-right: 10px;
  color: #808080;
}

.boute{
  display: inline-flex;
  padding: 0 5px;
  border-radius: 5px;
  border:1px solid #1d99f3;
  flex-wrap: nowrap;
  color: #1d99f3;
}

.regle table td{
  padding: 10px 20px;
}

.regle table td span{
  line-height: 1rem;
}

/* The Modal (background) */
.modals {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1500; /* Sit on top */
  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 */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-contents {
  background-color: #fefefe;
  margin: 2% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  padding: 20px 30px 40px 30px;
  color: #333;
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 576px) {
  .cancelbtn {
     width: 100%;
  }
  #faq{
    line-height: 27px;
    font-size: 12px;
    text-align: left;
  }

  #faq em{
    font-size: 0.7rem;
    color: #808080;
  }

  .articl{
    font-size: 0.7rem;
  }

  .modal-contents {
    width: 95%; /* Could be more or less, depending on screen size */
    padding: 10px 15px 40px 10px;
  }

  /* The Close Button (x) */
  .close {
    right: 15px;
    font-size: 20px;
  }

  .regle table th{
    font-size: 0.6rem;
    line-height:0.9rem;
  }

  .regle table td{
    padding: 5px;
    font-size: 0.7rem;
    line-height: 0.6rem;
  }

  .boute{
    flex-wrap: nowrap;
  }
}