* {
  box-sizing: border-box;
  /* padding: 0;*/
  margin: 0;
  line-break: anywhere;
  text-align: center;
}

body {
  background-color: #f4f6f6;
  overflow: hidden;
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

header {
  height: 12%;
  border: solid;
  display: flex;
  align-items: center;
  position: relative;
}

.h-cont-btn {
  display: flex;
  flex-direction: column;
}

.h-cont-btn button {
  margin: 3%;
  cursor: pointer;
  width: max-content;
  border-radius: 4px;
  padding: 5px;
  border: none;
}

#add-column {
  background-color: #138d75;
}

#add-note {
  background-color: #3498db;
}

main {
  height: 90%;
  border: 1px solid green;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background-color: #f4f6f6;
  /* background-image: url("showcase.jpg"); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.item {
  /* background-color: rgba(0, 0, 54, 0.2); */
  border: solid red;
  margin: 1%;
  display: flex;
  flex-direction: column;
  /* height: 90%; */
  overflow-y: auto;
  border-radius: 10px;
  -webkit-animation: rotate-in-2-cw 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: rotate-in-2-cw 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.item:first-child .full-note .move-left {
  visibility: hidden;
}

.item:last-child .full-note .move-right {
  visibility: hidden;
}

.i-heaed {
  border: solid black;
  flex: 0.5;
  margin: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}


.i-body {
  margin: 2%;
  flex: 9;
  background-image: url("../images/logo-no-point200x80.png");
  background-repeat: no-repeat;
  background-position: center;
}

.modal {
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}


.modal.show-modal {
  visibility: visible;
  -webkit-animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
  animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

.mod-body {
  /* border: solid; */
  display: flex;
  flex-direction: column;
  width: 600px;
}

.mod-head {
  flex: 1.5;
  background-color: #3498db;
  display: flex;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  justify-content: flex-end;
  font-size: 1.7rem;
}

.close {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 25px;
  width: 25px;
  margin: 2%;
  color: #fff;
  font-size: 2.5rem;
}

.form-it {
  display: flex;
  flex-direction: column;
  padding: 0.2em;
  width: 90%;
  margin: auto;
}

.mod-main {
  flex: 8;
  /* border: 1px solid orange; */
  font-size: 2rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: gray;
}

.mod-main span {
  color: #fff;
}

textarea {
  resize: none;
  border-radius: 10px;
  border: none;
  font-size: 1.1rem;
}

textarea:focus {
  border-radius: 10px;
}

.form-it label {
  cursor: pointer;
  color: #fff;
}

.form-it input {
  border-radius: 4px;
  border: none;
  height: 40px;
  font-size: 2rem;
  color: #fff;
}

.form-it input[type="time"] {
  background-color: #3498db;

}

.form-it input[type="date"] {
  background-color: #f4d03f;
}

.form-it input::shadow {
  color: red;
}

::-webkit-calendar-picker-indicator {
  background-color: #fff;
  cursor: pointer;
  height: 100%;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-it-btn button {
  width: 89%;
  background-color: #17a589;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  margin: 3% 0 3%;
  height: 40px;
  font-size: 2rem;
  color: #fff;
  border-radius: 8px;
}

.note {
  width: 100%;
  /* border: solid; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 3% auto;
  /* background-color: #fff; */
}

.full-note {
  position: relative;
  border: solid;
  margin: 2% auto;
  border-radius: 10px;
}

.move-right {
  position: absolute;
  font-size: 3rem;
  right: 0;
}

.move-left {
  position: absolute;
  font-size: 3rem;
  left: 0;
}

.i-img {
  width: 100%;
  height: 80px;
}

.i-img img {
  height: 100%;
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.edit {
  font-size: 1.5rem;
  /* background-color: black; */
  width: 100%;
  height: 90%;
  /* color: #fff; */
}

.tenu {
  border: solid 5px #ccc;
}

.disparaitre {
  display: none;
}

.hovered {
  background: #f4f4f4;
  border-style: dashed;
}

.fa-trash-can {
  transform: translateY(-105%);
  font-size: 1.2rem;
  cursor: pointer;
  /* color: red; */
}

.item:hover .fa-trash-can {
  transform: translateY(10%);
  /* transition: 1s; */
}

.icon-head-cen {
  position: absolute;
  font-size: 2rem;
  cursor: pointer;
}

.fa-trash {
  right: 5%;
}

.fa-file {
  right: 50%;
  bottom: 5%;
}

.fa-angle-up {
  right: 50%;
  top: 5%;
}

.containt-corbeille {
  position: absolute;
  right: 0;
  height: 88%;
  bottom: 0;
  overflow-y: auto;
  visibility: hidden;
  z-index: 2;
  background-color: #fff;
  border: none;
  width: 30vw;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  margin: 0;
}
.element-supprimer .full-note .move-right,.element-supprimer .full-note .move-left{
  visibility: hidden;
}
.element-supprimer .full-note .fa-circle-minus{
  display: none;
}
.show-corbeille {
  animation: anim-corbeil 1s;
  visibility: visible;
}

.auto-save {
  display: flex;
  flex-direction: column;
  margin-left: 1%;
}

.auto-save span {
  font-size: 1px;
}

/* includes javascript */

.liste-etats {
  position: absolute;
  top: 11.6%;
  left: 1%;
  right: 1%;
  height: 80vh;
  overflow-y: scroll;
  background-color: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 2;
  box-shadow: 0.5px 4.8px 0px -5px rgba(0, 0, 0, 0.026),
    0.9px 9.7px 0px -5px rgba(0, 0, 0, 0.038),
    1.4px 15.1px 0.1px -5px rgba(0, 0, 0, 0.047),
    2px 21.1px 0.1px -5px rgba(0, 0, 0, 0.055),
    2.7px 27.9px 0.2px -5px rgba(0, 0, 0, 0.063),
    3.2px 33.4px 0.3px -5px rgba(0, 0, 0, 0.072),
    3.6px 37.9px 0.5px -5px rgba(0, 0, 0, 0.084),
    4px 42px 1px -5px rgba(0, 0, 0, 0.011);
  visibility: hidden;
}

.liste-etats h1 {
  margin-bottom: 10px;
}

.etat {
  display: flex;
  justify-content: space-around;
  padding: 10px;
}

.etat span {
  font-weight: 800;
  /* font-style: italic; */
}

.tourner {
  transform: rotate(-180deg);
}

.liste-etats.show-etat {
  visibility: visible;
  animation: anime-show-list 1s;
}

.fa-circle-minus {
  cursor: pointer;
  position: absolute;
  right: 0;
  color: red;
  visibility: hidden;
}

/* .item:hover .fa-trash-can { */

.full-note:hover .fa-circle-minus {
  visibility: visible;
}

.note button {
  background-color: transparent;
  border: none;
  /* padding: 20px; */
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
}

.note p {
  margin: 0;
}

/* scroll */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: linear-gradient(black, transparent, black);
}

/* scroll */

.containt-time {
  display: flex;
  justify-content: center;
  margin: 1%;
  width: 100%;
  /* border: 1px solid blue; */
}

.containt-time div {
  flex: 1;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  border-radius: 10px;
  color: #fff;
  background-color: #3498db;
}

.containt-time small {
  /* background-color: #edf; */
}

.date-execution {
  margin: 1%;
}

.hdbut {
  margin: 1%;
}

.hfin {
  margin: 1%;
}

.info {
  visibility: hidden;
}

/* .item:hover .fa-trash-can  */
.full-note:hover .info {
  visibility: visible;
}
.form-it small {
  color: #d9210d;
  margin-top: 2%;
  font-weight: 900;
  font-style: italic;
  visibility: hidden;
}

.form-it.show-error small {
  visibility: visible;
}

.tache-encours{
  border: 10px solid grey;
  border-style: dotted solid;
}
.tache-terminer{
  border: 10px solid red;
  border-style: dashed solid;
}
.restorateure{
  border-radius: 5px;
  border:none;
  background-color: #3498DB;
  color: #fff;
  cursor: pointer;
  padding: 5px;
  display: none;
}
.element-supprimer .full-note .restorateure{
  display: block;
}

.show-corbeille .element-supprimer .full-note .info{
  visibility: visible;
}