/* Définition de la classe générique pour les marges */
#lewd-loader-div {
    display: flex;
    justify-content: center;
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #4c5c684d;
}
.lewd-loader {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 225px;
    position: absolute;
    top: 50%;
}
  .lewd-loader .loading {
    background: #4c5c68;
    width: 15px;
    height: 15px;
    border-radius: 50px;
    margin: 0 7px;
    animation: load 0.7s ease infinite;
  }
  .lewd-loader .loading.one {
    animation-delay: 0.3s;
  }
  .lewd-loader .loading.two {
    animation-delay: 0.4s;
  }
  .lewd-loader .loading.three {
    animation-delay: 0.5s;
  }
  @keyframes load {
    0% {
      width: 15px;
      height: 15px;
    }
    50% {
      width: 10px;
      height: 10px;
    }
  }
  



.toggle-ewd-folder {
    position: absolute;
    left: 0;
    font-size: 14px;
    top: 3px;
}
.lewd-categories li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

a.lewd-term-link-button {
    font-size: 14px;
    line-height: 18px;
}
.lewd-categories {
    display: flex;
    flex-direction: column;
    width: calc(50% - 0.5px);
}
.lewd-name-categorie {
    margin-bottom: 30px;
    font-size: 1.5em;
}
a.lewd-term-link-button.lewd-grow span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    padding: 0 5px;
}
.lewd-grow {
    display: inline-block;
    transition-duration: 0.3s;
    transition-property: transform;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  .lewd-back {
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-top: 25px;
}
.lewd-back i {
    color: #4c5c68;
    font-size: 40px;
    display: flex;
    padding-right: 5px;
}
.ewd-lien-active {
    font-weight: 600;
}
  .lewd-line {
    width: 1px;
    height: 1001px;
    background: #ced4da;
}
.lewd-grow:hover {
    transform: scale(1.01);
}
a.lewd-term-link-button i {
    vertical-align: middle;
    color: #FF4800;
    font-size: 20px;
    margin-bottom: 7px;
    padding-right: 5px;
}
a.lewd-file-link-button {
    flex-direction: column;
    display: flex;
    max-width: 100px;
    font-size: 14px;
    line-height: 18px;
    color: #4c5c68;
}
a.lewd-file-link-button  i {
    vertical-align: middle;
    font-size: 100px;
    margin-bottom: 7px;
}
.lewd-categories ul:not(.level-0){
    display: none;
}
a.lewd-file-link-button span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    padding: 0 5px;
}
.ewd-library-content {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px;
}
.lewd-files {
    width: calc(50% - 0.5px);
}
div#lewd-files-content {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: end;
}
.library-ewd-page .password-protected-content * {
    text-align: center;
}

.library-ewd-page .password-protected-container {
    max-width: 500px;
    margin: 90px auto;
    padding: 50px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #666;
}
.library-ewd-page .password-protected-content {
    text-align: center;
}

.library-ewd-page .password-protected-content h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.library-ewd-page .password-protected-content p {
    margin-bottom: 20px;
    font-size: 1em;
}

.library-ewd-page .post-password-form {
    margin-top: 50px;
}

.library-ewd-page .post-password-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.library-ewd-page .password-protected-container span {
    font-weight: 500;
}

.library-ewd-page .post-password-form input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    max-width: 380px;
}

.library-ewd-page .post-password-form button[type="submit"] {
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 15px;
    background: hsla(17, 100%, 50%, 1) !;
    background: linear-gradient(90deg, hsla(17, 100%, 50%, 1) 0%, hsla(34, 100%, 50%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(17, 100%, 50%, 1) 0%, hsla(34, 100%, 50%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(17, 100%, 50%, 1) 0%, hsla(34, 100%, 50%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#FF4800", endColorstr="#FF9100", GradientType=1 );
}

.lewd-library-ewd {
    margin-top: 100px;
}



@media (max-width: 767px) {
    .ewd-library-content {
        flex-direction: column;
    }
    .ewd-library-content > div {
        width: 100%;
        justify-content: left;
        gap: 20px;
    }
    .lewd-line {
        height: 1px;
    }
}



