.flash-failed {
  width: 100%;
  background-color: rgba(238, 82, 83, 0.7);
  padding: 1em;
  border-radius: 1em;
}

.flash-failed .alert-failed {
  font-weight: bold;
  color: #b33939;
}

.flash-success {
  width: 100%;
  background-color: rgba(0, 128, 0, 0.3);
  padding: 1em;
  border-radius: 1em;
}

.flash-success .alert-success {
  font-weight: bold;
  color: #10ac84;
}

.btn {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 0.6em;
  border-radius: 1em;
}

.btn-primary {
  margin: 2em auto 0;
  border: none;
  padding: 0.6em;
  background: #2ba297;
  color: white;
  font-weight: bold;
  border-radius: 1.5em;
  font-size: 1em;
}

.btn-primary:hover {
  background: #009384;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .btn-primary {
    font-size: 0.8em;
  }
}

.btn-secondary {
  margin: 2em auto 0;
  border: none;
  width: 15%;
  padding: 0.7em;
  background: #eac873;
  color: white;
  font-weight: bold;
  border-radius: 1.5em;
  font-size: 1em;
}

.btn-secondary:hover {
  background: #d3b569;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .btn-secondary {
    font-size: 0.8em;
  }
}

.btn-alert-delete {
  margin: 2em auto 0;
  border: none;
  width: 15%;
  padding: 0.45em;
  background: #c23616;
  color: white;
  font-weight: bold;
  border-radius: 1.5em;
  font-size: 1em;
}

.btn-alert-delete:hover {
  background: #b33939;
  cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
}

.header {
  background: linear-gradient(#f5dea3, white);
  margin-top: -2em;
}

.header-container {
  display: flex;
  justify-content: space-between;
}

.header-container .logo {
  margin-top: 0.2em;
  margin-left: 1em;
  width: 10em;
}

@media screen and (max-width: 768px) {
  .header-container .logo {
    width: 8em;
  }
}

.header-container .header-button {
  display: flex;
  margin-right: 1em;
  align-items: center;
  justify-content: space-around;
}

.header-container .header-button .user {
  font-weight: bold;
  font-style: italic;
  color: #e4866f;
  margin-right: 1.5em;
  font-size: 1.3em;
}

@media screen and (max-width: 768px) {
  .header-container .header-button .user {
    margin-right: 0.7em;
    font-size: 1.1em;
  }
}

.header-container .header-button .user-button {
  border-radius: 30px;
  margin: 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  padding-top: 1em;
  background-color: #2ba297;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
}

.header-container .header-button .user-button:hover {
  background: #009384;
}

@media screen and (max-width: 768px) {
  .header-container .header-button .user-button {
    font-size: 0.7em;
  }
}

.input-box {
  position: relative;
  display: flex;
  margin: auto;
  align-items: center;
  max-width: 100%;
  width: 40vw;
  height: 50px;
  border-radius: 50px;
  box-shadow: 5px 5px 3px rgb(172, 172, 172);
  /* Or use an inset shadow if preferred */
}

.input-box input {
  border-radius: 50px;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 15px 0 40px;
  font-size: 16px;
  color: #666;
}

.input-box input::-moz-placeholder {
  color: #999;
}

.input-box input::placeholder {
  color: #999;
}

@media screen and (max-width: 768px) {
  .input-box input::-moz-placeholder {
    color: transparent;
  }

  .input-box input::placeholder {
    color: transparent;
  }
}

.input-box .button {
  position: absolute;
  right: -1px;
  height: 100%;
  padding: 0 15px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: #2ba297;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.input-box .button:hover {
  background-color: #009384;
}

@media (max-width: 768px) {

  /* .input-box {
    width: 90%;
  } */
  .input-box input {
    font-size: 14px;
  }

  .input-box .button {
    font-size: 12px;
  }
}

@media screen and (max-width: 1380px) {
  .input-box {
    width: 60%;
  }
}

/* @media screen and (max-width: 992px) {
  .input-box {
    width: 70%;
  }
} */

.tag {
  display: flex;
  justify-content: center;
}

.tag .tag-filter-button {
  margin: 2em 1em 2em;
  /* haut | horizontal | bas */
  background-color: #f5a86b;
  border-radius: 25px;
  padding: 0.6em;
  border: none;
  padding-right: 2em;
  padding-left: 2em;
  box-shadow: 5px 5px 5px lightgrey;
  font-weight: bold;
  color: #274755;
}

.tag .tag-button {
  margin: 2em 1em 2em;
  /* haut | horizontal | bas */
  background-color: #eac873;
  border-radius: 25px;
  padding: 0.6em;
  border: none;
  padding-right: 2em;
  padding-left: 2em;
  box-shadow: 5px 5px 5px lightgrey;
  font-weight: bold;
  color: #274755;
}

.tag .tag-button:hover {
  background: #d3b569;
}

.tag .active {
  margin: 2em 1em 2em;
  /* haut | horizontal | bas */
  background-color: #9d854b;
  border-radius: 25px;
  padding: 0.6em;
  border: none;
  padding-right: 2em;
  padding-left: 2em;
  box-shadow: 5px 5px 5px lightgrey;
}

.tag #tag-button-sheet {
  margin: 2em 1em 2em;
  /* haut | horizontal | bas */
  background-color: #eac873;
  border-radius: 25px;
  padding: 0.6em;
  border: none;
  padding-right: 2em;
  padding-left: 2em;
  box-shadow: 5px 5px 5px lightgrey;
}

.tag #tag-button-comment {
  margin: 2em 1em 2em;
  /* haut | horizontal | bas */
  background-color: #eac873;
  border-radius: 25px;
  padding: 0.6em;
  border: none;
  padding-right: 2em;
  padding-left: 2em;
  box-shadow: 5px 5px 5px lightgrey;
}

@media screen and (max-width: 992px) {
  .tag button {
    font-size: 0.7em;
  }
}

@media screen and (max-width: 768px) {
  .tag {
    display: none;
  }
}

#search-mobile {
  display: none;
  font-size: 1.5em;
}

@media screen and (max-width: 768px) {
  #search-mobile {
    display: block;
    width: 20%;
  }

  #search-desktop {
    display: none;
  }
}

.login {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  height: 50vh;
}

.login .info .user {
  font-weight: bold;
}

.login .info .info-btn {
  text-decoration: none;
  color: white;
  background-color: #e4866f;
  padding: 0.6em;
  border-radius: 1.5em;
  font-weight: bold;
  margin-left: 0.4em;
}

.login label {
  margin: 1em;
}

.login input {
  color: #e4866f;
  font-weight: bold;
  height: 3em;
  border: none;
  background-color: #efefef;
  border-radius: 1.5em;
  padding: 0 2em;
}

.login .error {
  color: #d63031;
  margin: 1em;
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container form {
  width: 60%;
}

.form-container form .form-item div {
  display: flex;
  flex-direction: column;
}

.form-container form .form-item div label {
  margin: 1em 1em 0.4em 1em;
}

.form-container form .form-item div input,
.form-container form .form-item div textarea {
  color: #e4866f;
  font-weight: bold;
  height: 3em;
  border: none;
  background-color: #efefef;
  border-radius: 1.5em;
  padding: 0 2em;
}

@media screen and (max-width: 768px) {
  .form-container form .form-item div input {
    height: 4em;
  }
}

.form-container form .form-item-radio div {
  margin-top: 1em;
}

.form-container form .form-item-radio div .checkbox-inline {
  margin: 1em 1em 0.4em 1em;
}

.form-container form .form-item-radio div #user_roles {
  margin-top: 0;
  margin-left: 0.4em;
}

.form-container form .form-item-select div {
  margin-top: 1em;
  display: flex;
  flex-direction: column;
}

.form-container form .form-item-select div .radio-comment {
  border: none;
  height: 3em;
  padding: 0 2em;
  border-radius: 1.5em;
  color: #e4866f;
  font-weight: bold;
  margin-top: 0.5em;
}

.edit-form-presentation {
  margin: 0;
}

#comment_content {
  height: 15em;
  padding: 1em 2em;
}

.green {
  background: #2ba297;
}

.green:hover {
  background: #009384;
}

.yellow {
  background: #f5a86b;
}

.yellow:hover {
  background: #d3925e;
}

.table {
  margin-top: 2em;
  width: 100%;
}

@media screen and (max-width: 1200px) {
  .table thead .created-dateL {
    display: none;
  }
}

@media screen and (max-width: 992px) {
  .table thead .created-date {
    display: none;
  }
}

.table tbody tr {
  height: 3em;
}

.table tbody tr td {
  text-align: center;
  padding: 0;
}

.table tbody tr td img {
  width: 5em;
  height: 5em;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

.table tbody tr td .delete-him {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  padding: 0.6em;
  border-radius: 1em;
  border: none;
  margin-top: 15px;
}

.table tbody tr td .btn-mobile {
  display: none;
}

.table tbody tr td .btn-mobile-trash {
  display: none;
}

@media screen and (max-width: 768px) {
  .table tbody tr td .btn-desk {
    display: none;
  }

  .table tbody tr td .delete-him {
    display: none;
  }

  .table tbody tr td .btn-mobile {
    display: block;
    padding: 0.3em 1em;
  }

  .table tbody tr td .btn-mobile-trash {
    display: block;
    padding: 0.3em 1em;
    width: 125%;
  }
}

@media screen and (max-width: 992px) {
  .table tbody tr .roles {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .table tbody tr {
    font-size: 1em;
  }

  .table tbody tr .display-mobile {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .table tbody tr {
    font-size: 0.8em;
  }
}

@media screen and (max-width: 1200px) {
  .table tbody .created-dateL {
    display: none;
  }
}

@media screen and (max-width: 992px) {
  .table tbody .created-date {
    display: none;
  }
}

.pagination {
  margin-top: 2em;
  text-align: center;
}

.pagination a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 0.5em;
  background: #e4866f;
  border-radius: 0.5em;
}

.pagination a:hover {
  background: #be6048;
}

.pagination .current {
  color: white;
  font-weight: bold;
  padding: 0.5em;
  background: #eac873;
  border-radius: 0.5em;
}

.pagination .previous {
  margin-right: 1em;
}

.pagination .next {
  margin-left: 1em;
}

@media screen and (max-width: 768px) {
  .btn-action {
    display: flex;
    flex-direction: column;
  }

  .btn-action a {
    font-size: 1em;
    width: 70%;
    margin: 0.2em 0;
  }

  .pagination {
    margin-top: 4em;
  }
}

.user-container {
  margin-top: 5em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.user-container .avatar {
  border-radius: 50%;
  height: 10em;
  width: 10em;
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .user-container .avatar {
    height: 5em;
    width: 5em;
  }
}

.user-container .profile {
  display: flex;
  align-self: flex-start;
  flex-direction: column;
  margin: 0 2em;
}

.user-container .profile .username {
  margin: 0;
  display: flex;
  flex-direction: row;
  font-weight: bold;
  font-size: 2em;
}

@media screen and (max-width: 768px) {
  .user-container .profile .username {
    font-size: 1em;
  }
}

.user-container .button-container {
  display: flex;
  align-self: flex-start;
}

.user-container .button-container .delete {
  margin-right: 1em;
  margin-top: 0.5em;
  border: none;
  background: none;
  cursor: pointer;
}

.user-container .button-container .delete i {
  font-size: 1.5em;
  color: #d63031;
}

@media screen and (max-width: 768px) {
  .user-container .button-container .delete {
    font-size: 0.5em;
    margin-right: 0.6em;
    margin-top: 0.3em;
  }
}

.user-container .button-container .edit {
  font-size: 1.3em;
  margin-top: 0.3em;
  color: #f5a86b;
}

@media screen and (max-width: 768px) {
  .user-container .button-container .edit {
    font-size: 0.8em;
  }
}

.sheet-wrapper {
  margin-top: 2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3em;
}

.sheet-wrapper .sheet-item {
  width: 25em;
  height: 25em;
  background-repeat: no-repeat;
  background-size: contain;
}

.sheet-wrapper .sheet-item .sheet-title {
  margin: 1em;
  font-size: 0.7em;
  display: inline-block;
  font-weight: bold;
  background: #eac873;
  padding: 1em;
  border-radius: 5em;
}

@media screen and (max-width: 768px) {
  .user-h1 {
    font-size: 1.3em;
  }
}

.card {
  border-radius: 1rem;
  border: 1px solid #ddd;
  height: 20em;
  width: 15em;
  position: relative;
  margin-top: 1.5em;
  margin-bottom: 5%;
  box-shadow: 0.4em 2.5em 1em lightgrey;
}

@media screen and (max-width: 768px) {
  .card {
    margin-top: 2em;
  }
}

.top-card-section {
  height: 66%;
  width: auto;
  overflow: hidden;
}

.top-card-section a {
  text-decoration: none;
}

.top-card-img {
  width: 100%;
  height: 100%;
  bottom: -25%;
  border-radius: 1rem 1rem 0 0;
  z-index: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.top-card-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 1.5em;
  background-color: #eac873;
  border-radius: 25px;
  padding: 0.4em 0.1em 0.4em 0.4em;
  border: none;
  padding-right: 0.5em;
  padding-left: 0.7em;
  box-shadow: 5px 5px 5px lightgrey;
}

.top-card-title {
  color: #274755;
}

.top-card-title .tag-title {
  font-size: 0.8em;
  font-weight: bold;
}

.bottom-card-section {
  height: 30%;
  position: relative;
  border-radius: 1rem;
  background: linear-gradient(white, #f5dea3);
  padding-top: 20%;
  padding-bottom: -50px;
  z-index: 1;
}

.bottom-card-section a {
  text-decoration: none;
}

.bottom-card-avatar {
  position: absolute;
  width: 4em;
  height: 4em;
  border-radius: 50%;
  /* Rend l'image ronde */
  bottom: 66%;
  left: 35%;
  border: 2px solid #ddd;
  box-shadow: 5px 5px 5px lightgrey;
  z-index: 2;
  -o-object-fit: cover;
  object-fit: cover;
}

.bottom-card-username {
  font-size: 16px;
  color: #009384;
  text-decoration: none;
  margin: 1.3em;
  text-align: center;
  z-index: 3;
}

.bottom-card-title {
  text-align: center;
  color: #009384;
  font-weight: bold;
  font-size: 20px;
  margin: 0.5em;
}

.text-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
}

.text-wrapper .icon-text {
  font-weight: bold;
}

.icon-wrapper {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}

.icon-wrapper .icon {
  font-size: 1.1em;
  margin-bottom: 3em;
}

.icon-wrapper .icon .icon-link {
  font-size: 1.2em;
}

.icon-wrapper .icon .icon-link:hover {
  color: #2ba297;
}

.icon-wrapper .icon .icon-link:hover .popup {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.icon-wrapper .icon .icon-link .popup {
  position: absolute;
  margin-left: -100px;
  margin-top: -50px;
  color: #2ba297;
  background: rgba(0, 0, 0, 0.8);
  padding: 1em 0.5em;
  border-radius: 1em;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  transform: scale(0) rotate(-12deg);
  transition: all 0.25s;
  opacity: 0;
  z-index: 3;
  font-size: 0.7em;
  width: 60%;
  text-align: center;
}

.icon-wrapper .first {
  margin-left: 1em;
}

.icon-wrapper .last {
  margin-right: 1em;
}

.sheet-page-header {
  background: linear-gradient(#f5dea3, white);
  height: 30vh;
}

.sheet-page-header .sheet-page-header-container {
  display: flex;
  padding-right: 1em;
  justify-content: space-between;
  align-items: center;
}

.sheet-page-header .sheet-page-header-container .logo {
  margin-top: 0.5em;
  margin-left: 1em;
  width: 10em;
}

.sheet-page-header .sheet-page-header-container .navigation-sheet-page-header {
  border-radius: 30px;
  margin: 0.5em;
  margin-top: 1.5em;
  height: 3em;
  padding-left: 1.5em;
  padding-right: 1.5em;
  padding-top: 0.6em;
  padding-bottom: 0.6em;
  background-color: #2ba297;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
}

.sheet-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sheet-container .user-container {
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sheet-container .user-container .button-container {
  padding-top: 1em;
  margin-left: 1em;
}

@media screen and (max-width: 768px) {
  .sheet-container .user-container .button-container .edit {
    font-size: 1em;
  }
}

@media screen and (max-width: 768px) {
  .sheet-container .user-container .button-container .delete {
    font-size: 0.7em;
  }
}

.sheet-container .title-fiche {
  margin: auto;
  margin-top: 25px;
  margin-bottom: 1em;
  width: 30em;
  height: 10em;
  font-size: 2em;
  padding-top: 1em;
  border: 1px solid rgba(0, 0, 0, 0.495);
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  background-repeat: no-repeat;
  background-size: cover;
  -o-object-fit: cover;
  object-fit: cover;
}

.sheet-container .title-fiche .title-fiche-h3 {
  height: 50px;
  font-size: large;
  text-align: center;
  font-weight: 1em;
  background-color: #2ba297;
  color: #274755;
}

@media screen and (max-width: 1200px) {
  .sheet-container .title-fiche {
    width: 25em;
    height: 8em;
  }
}

@media screen and (max-width: 992px) {
  .sheet-container .title-fiche {
    width: 20em;
    height: 6em;
  }
}

@media screen and (max-width: 768px) {
  .sheet-container .title-fiche {
    width: 100%;
  }
}

.sheet-container .date-publication-tags-container {
  display: flex;
  padding: 0.8em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  height: 6em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.sheet-container .date-publication-tags-container .date-publication {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
}

.sheet-container .date-publication-tags-container .date-publication .date {
  margin-top: 10px;
}

.sheet-container .date-publication-tags-container .date-publication .edit-categories-formu {
  display: flex;
  width: 100%;
  align-items: center;
  align-items: stretch;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: space-evenly;
}

.sheet-container .date-publication-tags-container .date-publication .createhref {
  text-align: center;
}

.sheet-container .date-publication-tags-container .date-publication .createhref .create-categories-button {
  border-radius: 30px;
  text-align: center;
  width: 99%;
  margin: 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #eac873;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.sheet-container .date-publication-tags-container .date-publication .deletehref {
  text-align: center;
}

.sheet-container .date-publication-tags-container .date-publication .deletehref .delete-categories-button {
  border-radius: 30px;
  text-align: center;
  width: 99%;
  margin: 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #be6048;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.sheet-container .date-publication-tags-container .date-publication .edit-form-presentation {
  font-size: 30px;
  text-align: center;
}

.sheet-container .date-publication-tags-container .date-publication .edit-categories-input {
  height: 25px;
  font-size: 20px;
  border-radius: 15px;
  border-color: grey;
  width: 70%;
  margin-bottom: 5px;
  padding: 5px;
}

.sheet-container .date-publication-tags-container .date-publication .edit-categories-button {
  border-radius: 30px;
  margin: 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #2ba297;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.sheet-container .date-publication-tags-container .tags-container {
  display: flex;
  height: 6em;
  align-items: center;
}

.sheet-container .date-publication-tags-container .tags-container .tags-container-a {
  text-decoration: none;
}

.sheet-container .date-publication-tags-container .tags-container .tags-container-a .tag-button {
  margin: 2em 1em 2em;
  /* haut | horizontal | bas */
  background-color: #eac873;
  cursor: pointer;
  border-radius: 25px;
  padding: 0.6em;
  border: none;
  padding-right: 2em;
  padding-left: 2em;
  box-shadow: 5px 5px 5px lightgrey;
}

.sheet-container .date-publication-tags-container .tags-container .tags-container-a .tag-button:hover {
  background-color: #d3925e;
}

@media screen and (max-width: 768px) {
  .sheet-container .date-publication-tags-container .tags-container {
    display: none;
  }
}

.sheet-container .date-publication-tago-container {
  display: flex;
  flex-direction: column;
  padding: 0.8em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  height: 20em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.sheet-container .date-publication-tago-container .date-publication {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
}

.sheet-container .date-publication-tago-container .date-publication .date {
  margin-top: 10px;
}

.sheet-container .date-publication-tago-container .date-publication .edit-categories-formu {
  display: flex;
  width: 100%;
  align-items: center;
  align-items: stretch;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: space-evenly;
}

.sheet-container .date-publication-tago-container .date-publication .createhref {
  text-align: center;
}

.sheet-container .date-publication-tago-container .date-publication .createhref .create-categories-button {
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  width: 99%;
  margin: 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #eac873;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.sheet-container .date-publication-tago-container .date-publication .deletehref {
  text-align: center;
}

.sheet-container .date-publication-tago-container .date-publication .deletehref .delete-categories-button {
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  width: 99%;
  margin: 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #be6048;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.sheet-container .date-publication-tago-container .date-publication .edit-form-presentation {
  font-size: 30px;
  text-align: center;
}

.sheet-container .date-publication-tago-container .date-publication .edit-categories-input {
  height: 25px;
  font-size: 20px;
  border-radius: 15px;
  border-color: grey;
  width: 70%;
  margin-bottom: 5px;
  padding: 5px;
}

.sheet-container .date-publication-tago-container .date-publication .edit-categories-button {
  border-radius: 30px;
  margin: 0.5em;
  cursor: pointer;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #2ba297;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.sheet-container .date-publication-tago-container .tags-container {
  display: flex;
  height: 6em;
  align-items: center;
}

.sheet-container .date-publication-tago-container .tags-container .tags-container-a {
  text-decoration: none;
}

.sheet-container .date-publication-tago-container .tags-container .tags-container-a .tag-button {
  margin: 2em 1em 2em;
  /* haut | horizontal | bas */
  background-color: #eac873;
  cursor: pointer;
  border-radius: 25px;
  padding: 0.6em;
  border: none;
  padding-right: 2em;
  padding-left: 2em;
  box-shadow: 5px 5px 5px lightgrey;
}

.sheet-container .date-publication-tago-container .tags-container .tags-container-a .tag-button:hover {
  background-color: #d3925e;
}

.sheet-container .auteur-grade-container {
  width: 80%;
  padding: 0.8em;
  height: 6em;
  border-radius: 5px;
  margin-bottom: 1.5em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sheet-container .content {
  width: 80%;
  margin-bottom: 1.5em;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.8em;
  text-align: justify;
}

.sheet-container .content table tbody tr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.sheet-container .content .categories-form-presentation {
  font-size: 25px;
  text-align: center;
}

.sheet-container .content .categories-form-title {
  font-size: 25px;
  text-align: center;
}

.sheet-container .content .categories-form-title .categories-form-input {
  height: 30px;
  font-size: 20px;
  border-radius: 15px;
  border-color: grey;
  width: 70%;
  margin-bottom: 15px;
}

.sheet-container .content .categories-select {
  margin-top: 25px;
  margin-bottom: 25px;
  font-size: 20px;
  text-align: center;
}

.sheet-container .content .categories-select .categories-select-down {
  margin-top: 25px;
  margin-bottom: 25px;
  font-size: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  height: 100px;
}

.sheet-container .content .edit-button {
  text-align: center;
}

.sheet-container .content .edit-button .edit-user-button {
  border-radius: 30px;
  margin: 2em 0.5em 0.5em 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #2ba297;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.sheet-container .delete-user-button {
  border-radius: 30px;
  margin: 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #be6048;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.sheet-container .commentaire {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5em;
  padding: 0.8em;
  border-radius: 5px;
  width: 40%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.sheet-container .commentaire .container-enonce-date {
  display: flex;
  height: 1.3em;
  display: flex;
}

.sheet-container .contenu-du-commentaire {
  margin-top: 1em;
  padding: 0.8em;
  border-radius: 5px;
  text-align: justify;
}

.cards-section {
  margin: 2em;
  padding-top: 3em;
}

.cards-h1 {
  text-align: center;
}

.cards-title {
  font-size: 2.7em;
  font-weight: 600;
  text-align: center;
}

.cards-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5% 5%;
  /* Espacement entre les cartes */
}

.cards-categorybutton {
  text-align: center;
}

.cards-categorybutton .delete-category-button {
  border-radius: 30px;
  margin: 0.5em;
  height: 2em;
  padding-left: 2em;
  padding-right: 2em;
  background-color: #be6048;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.cards-lastone {
  border-radius: 1rem;
  border: 1px solid #ddd;
  height: 550px;
  width: 20vw;
  position: relative;
  margin-bottom: 5%;
  box-shadow: 10px 10px 10px lightgrey;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(white, #f5dea3);
  color: #e87659;
  font-style: italic;
  font-size: 1.5em;
  transition: color 0.3s;
}

.cards .more-link:hover {
  color: #2ba297;
  text-decoration: underline;
}

.card {
  border-radius: 1rem;
  border: 1px solid #ddd;
  height: 20em;
  width: 15em;
  position: relative;
  margin-top: 1.5em;
  margin-bottom: 5%;
  box-shadow: 0.4em 2.5em 1em lightgrey;
}

@media screen and (max-width: 768px) {
  .card {
    margin-top: 2em;
  }
}

.top-card-section {
  height: 66%;
  width: auto;
  overflow: hidden;
}

.top-card-section a {
  text-decoration: none;
}

.top-card-img {
  width: 100%;
  height: 100%;
  bottom: -25%;
  border-radius: 1rem 1rem 0 0;
  z-index: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.top-card-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 1.5em;
  background-color: #eac873;
  border-radius: 25px;
  padding: 0.4em 0.1em 0.4em 0.4em;
  border: none;
  padding-right: 0.5em;
  padding-left: 0.7em;
  box-shadow: 5px 5px 5px lightgrey;
}

.top-card-title {
  color: #274755;
}

.top-card-title .tag-title {
  font-size: 0.8em;
  font-weight: bold;
}

.bottom-card-section {
  height: 30%;
  position: relative;
  border-radius: 1rem;
  background: linear-gradient(white, #f5dea3);
  padding-top: 20%;
  padding-bottom: -50px;
  z-index: 1;
}

.bottom-card-section a {
  text-decoration: none;
}

.bottom-card-avatar {
  position: absolute;
  width: 4em;
  height: 4em;
  border-radius: 50%;
  /* Rend l'image ronde */
  bottom: 66%;
  left: 35%;
  border: 2px solid #ddd;
  box-shadow: 5px 5px 5px lightgrey;
  z-index: 2;
  -o-object-fit: cover;
  object-fit: cover;
}

.bottom-card-username {
  font-size: 16px;
  color: #009384;
  text-decoration: none;
  margin: 1.3em;
  text-align: center;
  z-index: 3;
}

.bottom-card-title {
  text-align: center;
  color: #009384;
  font-weight: bold;
  font-size: 20px;
  margin: 0.5em;
}

.text-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
}

.text-wrapper .icon-text {
  font-weight: bold;
}

.icon-wrapper {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}

.icon-wrapper .icon {
  font-size: 1.1em;
  margin-bottom: 3em;
}

.icon-wrapper .icon .icon-link {
  font-size: 1.2em;
}

.icon-wrapper .icon .icon-link:hover {
  color: #2ba297;
}

.icon-wrapper .icon .icon-link:hover .popup {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.icon-wrapper .icon .icon-link .popup {
  position: absolute;
  margin-left: -100px;
  margin-top: -50px;
  color: #2ba297;
  background: rgba(0, 0, 0, 0.8);
  padding: 1em 0.5em;
  border-radius: 1em;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  transform: scale(0) rotate(-12deg);
  transition: all 0.25s;
  opacity: 0;
  z-index: 3;
  font-size: 0.7em;
  width: 60%;
  text-align: center;
}

.icon-wrapper .first {
  margin-left: 1em;
}

.icon-wrapper .last {
  margin-right: 1em;
}

.tags-title {
  font-size: 2.7em;
  font-weight: 500;
  text-align: center;
}

.tag-card {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-top: 3em;
}

.tag-card .card {
  margin: 0.5em 2em;
  padding: 0 1em 1.5em 1em;
}

@media screen and (max-width: 768px) {
  .tag-card {
    margin-top: 3em;
    flex-wrap: wrap;
  }

  .tag-card .card {
    margin-top: 2em;
  }
}

.orange-card {
  background-color: #f5a86b;
  display: flex;
  flex-direction: column;
  width: 11em;
  border-radius: 1em;
  padding-bottom: 2em;
}

.orange-card .orange-tag-button-a {
  margin: auto;
}

.orange-card .orange-tag-button {
  margin: auto;
  background-color: rgba(238, 180, 133, 0.6784313725);
  border: none;
  cursor: pointer;
  border-radius: 25px;
  padding: 0.3em;
  padding-right: 1em;
  padding-left: 1em;
  box-shadow: 3px 5px 3px rgba(0, 0, 0, 0.151);
  margin-top: 2em;
}

.orange-card .orange-tag-button:hover {
  background-color: #d3925e;
}

.green-card {
  background-color: #2ba297;
  display: flex;
  flex-direction: column;
  border-radius: 1em;
  width: 11em;
  padding-bottom: 2em;
}

.green-card .green-tag-button-a {
  margin: auto;
}

.green-card .green-tag-button {
  margin: auto;
  background-color: #30b1a4;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  padding: 0.3em;
  padding-right: 1em;
  padding-left: 1em;
  box-shadow: 3px 5px 3px rgba(0, 0, 0, 0.151);
  margin-top: 2em;
}

.green-card .green-tag-button:hover {
  background-color: #009384;
}

.yellow-card {
  background-color: #eac873;
  display: flex;
  flex-direction: column;
  border-radius: 1em;
  width: 11em;
  padding-bottom: 2em;
}

.yellow-card .yellow-tag-button-a {
  margin: auto;
}

.yellow-card .yellow-tag-button {
  margin: auto;
  background-color: #e4c985;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  padding: 0.3em;
  padding-right: 1em;
  padding-left: 1em;
  box-shadow: 3px 5px 3px rgba(0, 0, 0, 0.151);
  margin-top: 2em;
}

.yellow-card .yellow-tag-button:hover {
  background-color: #d3b569;
}

.red-card {
  background-color: #e87659;
  display: flex;
  flex-direction: column;
  border-radius: 1em;
  width: 11em;
  padding-bottom: 2em;
}

.red-card .red-tag-button-a {
  margin: auto;
}

.red-card .red-tag-button {
  margin: auto;
  background-color: #e4866f;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  padding: 0.3em;
  padding-right: 1em;
  padding-left: 1em;
  box-shadow: 3px 5px 3px rgba(0, 0, 0, 0.151);
  margin-top: 2em;
}

.red-card .red-tag-button:hover {
  background-color: #be6048;
}

.username {
  color: #e4866f;
  font-style: italic;
}

.part-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.part-container .part {
  width: 28%;
}

.part-container .part .btn {
  display: block;
  width: 50%;
  margin: 1em auto;
  text-align: center;
  background-color: #2ba297;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
}

.part-container .part .btn:hover {
  background-color: #009384;
}

@media screen and (max-width: 768px) {
  .part-container .part .btn {
    padding: 1em;
    font-size: 3em;
    border-radius: 3em;
  }
}

.part-container .part .list {
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: 3em;
  padding: 1em 0;
}

.part-container .part .list .link {
  display: flex;
  align-items: center;
  margin: 0.7em 0;
  text-decoration: none;
  color: #274755;
  background: #eee;
  width: 80%;
  border-radius: 2em;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
  height: 3.5em;
  padding-right: 0.5em;
  font-size: 1vw;
}

.part-container .part .list .link .text {
  margin-left: 2em;
}

.part-container .part .list .link .avatar {
  width: 3.5em;
  height: 100%;
  border-radius: 2.5em;
  margin-right: 1em;
  box-shadow: 5px 5px 3px rgb(158, 158, 158);
}

.part-container .part .list .link:hover {
  background-color: #ddd;
}

@media screen and (max-width: 992px) {
  .part-container .part .list .link {
    font-size: 1.5vw;
  }
}

@media screen and (max-width: 768px) {
  .part-container .part .list {
    display: none;
  }
}

@media screen and (max-width: 992px) {
  .part-container .part {
    width: 32%;
    font-size: 0.8em;
  }
}

@media screen and (max-width: 768px) {
  .part-container .part {
    width: 80%;
    font-size: 0.3em;
  }
}

@media screen and (max-width: 768px) {
  .part-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    text-align: center;
  }
}

.footer-container {
  background: linear-gradient(white, #f5dea3);
}

.footer-container .section_padding {
  padding: 3rem 3rem;
}

.footer-container .footer {
  display: flex;
  width: 80%;
  margin: auto;
  flex-direction: column;
}

.footer-container .footer .footer-links {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  text-align: left;
  margin-bottom: 2rem;
}

.footer-container .footer .footer-links .footer-links-div {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  color: black;
}

.footer-container .footer .footer-links .footer-links-div a {
  color: #274755;
  text-decoration: none;
  font-size: 1.5em;
}

.footer-container .footer .footer-links .footer-links-div .socialmedia {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-container .footer .footer-links .footer-links-div .socialmedia .socials {
  margin: 0 5em;
  color: #274755;
  font-size: 1em;
  margin-left: 0.1em;
  margin-right: 0.1em;
  padding-top: 1.2em;
}

.footer-container .footer .footer-links .footer-links-div .href {
  font-size: 0.6em;
  margin: 0.4em;
  font-weight: 500;
  line-height: 0.8em;
}

@media screen and (max-width: 768px) {
  .footer-container .footer .footer-links .footer-links-div .href {
    display: none;
  }
}

.footer-container .footer .footer-links .footer-links-div .logo-footer {
  width: 9em;
}

@media screen and (max-width: 768px) {
  .footer-container .footer .footer-links .footer-links-div .logo-footer {
    width: 6em;
  }
}

@media screen and (max-width: 768px) {
  .footer-container .footer .footer-links .footer-links-div i {
    display: none;
  }
}

.footer-container .date-footer {
  font-weight: 600;
  text-align: center;
  font-size: 0.8em;
}

body {
  color: #274755;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

body .container {
  max-width: 125em;
  width: 80%;
  margin: auto;
}

a {
  text-decoration: none;
  color: #274755;
}

.edit-user-button,
.delete-user-button {
  cursor: pointer;
}

.bread {
  display: inline-block;
  font-size: 25px;
  margin-left: 5px;
  color: #274755;
}

@media screen and (max-width: 768px) {
  .bread {
    font-size: 1.2em;
  }
}

.separator {
  text-decoration: none;
  margin-left: 5px;
}

.user-h1 {
  text-align: center;
}

.user-h2 {
  text-align: center;
  font-size: 0.8em;
}

.private-checkbox {
  text-align: center;
  margin-top: 15px;
}

.reaction {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.reaction .emoticone {
  display: flex;
  padding: 10px;
}

.reaction .emoticone .reactioncounter {
  height: 16px;
  width: 16px;
  font-size: 0.8em;
  margin-left: -9px;
  margin-top: -6px;
  border: solid black 1px;
  border-radius: 10px;
  background-color: #25cfbf;
  text-align: center;
}

.reaction .emoticone .icon-link {
  font-size: 1.2em;
}

.reaction .emoticone .icon-link:hover {
  color: #2ba297;
}

.reaction .emoticone .icon-link:hover .pupop {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.reaction .emoticone .icon-link .pupop {
  position: absolute;
  margin-left: -100px;
  margin-top: -50px;
  color: #2ba297;
  background: rgba(0, 0, 0, 0.8);
  padding: 1em 0.5em;
  border-radius: 1em;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  transform: scale(0) rotate(-12deg);
  transition: all 0.25s;
  opacity: 0;
  z-index: 3;
  font-size: 0.7em;
  width: 10%;
  text-align: center;
}

ul {
  list-style: none;
}

ul li {
  color: #d63031;
  font-size: 16px;
  text-align: start;
}

.errors-container ul {
  margin: 0;
}

/*# sourceMappingURL=style.css.map */