/*bara de navigare*/
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background-color: #f3f3f3;
}

li {
  float: left;
}

li a {
  display: block;
  color: #666;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.buton_meniu {
  display: block;
  color: #666;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-radius:6px;
}

li a:hover:not(.active) {
  background-color: #ddd;
}

.buton_meniu:hover:not(.active) {
  background-color: #ddd;
  border-radius:6px;
}


li a.active {
  color: white;
  background-color: #04AA6D;
}

.buton_meniu.active {
  color: white;
  background-color: #04AA6D;
  border-radius:6px;
}

/*butoane*/
.button {
  background-color: #4CAF50; /* Green */
  border: none;
  border-radius:12px;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  background-color: white; 
  color: black; 
  border: 2px solid #4CAF50;
}

.button1:hover {
  background-color: #4CAF50;
  color: white;
}

.button2 {
  background-color: white; 
  color: black; 
  border: 2px solid #008CBA;
}

.button2:hover {
  background-color: #008CBA;
  color: white;
}

.button3 {
  background-color: white; 
  color: black; 
  border: 2px solid #f44336;
}

.button3:hover {
  background-color: #f44336;
  color: white;
}

.button4 {
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
}

.button4:hover {background-color: #e7e7e7;}

.button5 {
  background-color: white;
  color: black;
  border: 2px solid #555555;
}

.button5:hover {
  background-color: #555555;
  color: white;
}

.button6 {
  background-color: white;
  color: black;
  border: 2px solid purple;
}

.button6:hover {
  background-color: purple;
  color: white;
}

/*casete*/
.caseta {
  //height: 800px;
  //width: 100%;
  //border: 5px double;
  border-radius:6px;
  padding: 2px 2px 2px 2px;

}
.caseta1 {
  border: 5px double #4CAF50;
}

.caseta2 {
  border: 5px double #008CBA;
}

.caseta3 {
  border: 5px double #f44336;
}

.caseta4 {
  border: 5px double #e7e7e7;
}

.caseta5 {
  border: 5px double #555555;
}

.caseta6 {
  border: 5px double purple;
}

/*ferestre modale*/
.modal {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.modal[open] {
  display: flex;
}
.model-inner {
  background-color: white;
  border-radius: 0.5em;
  /*max-width: 600px;*/
  padding: 2em;
  margin: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid black;
}
#modal-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  background-color: black;
  opacity: 0.5;  
}

/*Flip cards*/
 .flip {
        width: 150px;
        height: 150px;
        text-align: center;
        perspective: 200px;
        float: left;
        margin: 30px;
	border-radius:12px;
      }
      .flip-content {
        width: 100%;
        height: 100%;
        transition: transform 0.4s;
        transform-style: preserve-3d;
      }
      .flip:hover .flip-content {
        transform: rotateY(180deg);
        transition: transform 0.5s;
      }
      .flip-front,
      .flip-back {
        position: absolute;
        height: 100%;
        width: 100%;
        line-height: 150px;
        backface-visibility: hidden;
        background-color: #b1c9b1;
        color: #fff;
                border-radius: 12px;
      }
      .flip-back {
        transform: rotateY(180deg);
                border-radius: 12px;
      }

/*Drag and drop*/
#lista {
  width: 360px;
  margin: 0 0 15px 0;
  padding: 0;
}
#lista p {
  display: block;
  background-color: #e9f2e9;
  padding: 10px;
  border-bottom: 1px solid #fff;
  border-radius: 6px;
  cursor: move;  
}
#lista p.sortable-chosen {
  background-color: lightslategray;
}
