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

  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #d6d2d2;
    margin: auto;
    padding: 0;
    /*border: 5px solid black;*/
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* The Close Button */
  .close {
    color: rgb(0, 0, 0);
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: rgb(46, 245, 20);
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-header {
    padding: 2px 16px;
    background-color: yellow;
    color: white;
  }
  
  .modal-body {
    padding: 2px 16px;
    overflow:hidden;
    position:relative;
  
  }
  
  .modal-footer {
    padding: 2px 16px;
    background-color: yellow;
    color: white;
  }
  
  .container_image {
      width: 50%;
      height: 50%;
      display: flex;
      justify-content: center;
      float: left;
      /*  box-shadow is from materialize css's website */
      /*box-shadow: 0 24px 38px 3px rgba(22, 207, 161, 0.733),
          0 9px 46px 8px rgba(199, 59, 59, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);*/
  }
  
  
  .container_texte{
   /* position: relative;*/
    width: 50%;
    float: right;
    padding-left:30px;
  }
  
  /*carroussel*/
  .container_image img {
      /*width: 100%;*/
      max-height: 500px;
      /*z-index: -2;*/
  }
  


  @media only screen and (max-width: 600px) {
    button {
        height: 100%;
        border: none;
        outline: none;
        background: rgba(165, 21, 21, 0.5);
        cursor: pointer;
        padding: 1em;
        display: flex;
    }
  }
  button {
        height: 15%;
        border: none;
        outline: none;
        background: rgba(138, 135, 135, 0.5);
        cursor: pointer;
        padding: 1em;
        display: flex;
    }

  
  button:hover{
    background:rgb(49, 49, 49);
  }
  
  button:visited  {
    background:rgb(49, 49, 49);
  }
  
  
  button:link  {
    background:rgb(49, 49, 49);
  }
  
  button:active  {
    background:rgb(49, 49, 49);
  }
  
  button .arrow {
      border: solid #fff;
      border-width: 0 4px 4px 0;
      display: inline-block;
      padding: 10px;
      transition: transform 0.3s ease-out;
      outline: none;
  }
  
  #right-btn {
      margin: auto 0 auto -2em;
  }
  
  #right-btn .arrow {
      transform: rotate(-45deg);
  }
  
  #left-btn {
      z-index: 0;
      margin: auto -2em auto 0;
  }
  
  #left-btn .arrow {
      transform: rotate(135deg);
  }