@media (pointer:coarse), (max-width:700px) {
/*------------------------debut css page lexiquecomplet.html-----------------*/

#lexique_complet {
  width: 100%;
  background-color: transparent;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  display:block;
  margin:0 auto;
  min-width:160px;
  box-shadow: 4px 4px 8px #505050;
  color:black;
  padding-bottom: 1em;
  list-style-type: none;
  overflow: hidden;
}

#lexique_complet > div {
  display: flex;
  flex-direction: column;
  width:95%;
}



#lexique_complet input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.menu_lexique_complet {
  width: 100%;
  margin:1% 3%;
  overflow: hidden;
  text-align: center;
  min-width:160px;
  background: linear-gradient(135deg, #333 5%, #5a5a5a 100%);
  color: #fffe92;
}


.menu_lexique_complet:last-child{
    margin-bottom: 0;
}
.menu_lexique_complet_label {
   display: flex;
   justify-content: space-between;
   padding: 16px;
   font-weight: bold;
   cursor: pointer;
   font-size: 0.8em;
}

.menu_lexique_complet_label:hover {
 background: linear-gradient(135deg, #605f49 5%, #5a5a5a 100%);

}

.menu_lexique_complet_label::after {
    content: "\276F";
    width: 16px;
    height: 16px;
    text-align: center;
    transition: all 0.3s;
}

.menu_lexique_complet_content {
  max-height: 0;
  overflow: hidden;
  padding:0 10px;
  transition: max-height 0.4s ease;
  margin:0;
  border:0;
  color:white;
  background-color: #147587;
  text-align: justify;
}

.menu_lexique_complet_content p {
  margin: 0;
     color: whitesmoke;
     font-size: 0.8em;
}

input:checked + .menu_lexique_complet_label {

}

input:checked + .menu_lexique_complet_label::after {
transform: rotate(90deg);
}

input:checked ~ .menu_lexique_complet_content {
    max-height: 100vh;
    padding: 16px;
}

/* --------------------fin css page lexiquecomplet.php-----------------------*/
}
