/**CSS DEV**/

/**CSS DEV END**/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: poppins, serif;
}

main {
    padding: 50px;
}

p{
  margin: 0 0 0 0 !important;
  margin-bottom: 0px !important;
}

.formulario{
    display: flex;
    justify-content: start;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
}

.form-row input {
    flex: 1;
    margin: 5px;
    padding: 10px;
}

.form-row > :first-child {
    margin: 5px 5px 5px 0;
}

.form-row input[type="date"] {
    width: 100%;
}

#submit{
    margin-left: 20px;
    padding: 15px 25px;
    background-color: #f18719;
    border: 3px solid #f18719;
    color: white;
}

#submit:hover{
  background-color: white;
  color: #f18719;
}

.general-data{
    display: flex;
    justify-content: start;
}

#abrirBuscador{
  border: none;
  background-color: transparent;
  color: black;
}

/* Fondo oscuro */

.popup-personas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Caja blanca */

.popup-contenido {
  background: white;
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
  padding: 15px;
}

/* Header */

.popup-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* Scroll tabla */

.tabla-container {
  max-height: 400px;
  overflow-y: auto;
}

/* Tabla */

#tablaPersonas {
  width: 100%;
  border-collapse: collapse;
}

#tablaPersonas th,
#tablaPersonas td {
  border: 1px solid #ddd;
  padding: 8px;
}

#tablaPersonas tr:hover {
  background: #f5f5f5;
}

#tablaPersonasBody tr {

    cursor: pointer;

}

.btnEliminar {

    background-color: #e74c3c;
    color: white;

    border: none;
    padding: 5px 8px;

    cursor: pointer;

    border-radius: 4px;

}

.btnEliminar:hover {

    background-color: #c0392b;

}

/* CSS para los calculos */

.seccion-calculos{
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .caja-calculos{
    height: 50px;
    background-color: #e3e3e3;
    max-width: 250px;
    width: 16%;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .texto-calculos{
    text-align: center;
    font-size: 16px;
    font-weight: 600;
  }
  
  .texto-calculos-ocultos{
    color: red;
  }
  
  .seccion-arbol{
    display:flex;
    padding-top: 100px;
  }
  
  .tree-col{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 50px;
    margin-right: 50px;
    
  }
  
  .tree-container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    min-width: 600px;
    position: relative;
  }
  
  .senderocollum{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .maestry-container{
    position: absolute;
    height: 30px;
  }

  .maestry{
    width: 20px;
  }

  .maestry-icon{
    background-image: url('images/maestry-icon.png');
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 20px;
    height: 100%;
  }
  
  #maestry1{
    top: 50px;
    left: 150px;
    display: flex;
  }
  
  #maestry2{
    top: 300px;
    left: 250px;
  }
  #maestry3{
    top: 200px;
    left: 200px;
    display: flex;
  }
  
  #maestry4{
    top: 300px;
    right: 170px;
    display: flex;
  }
  
  #maestry5{
    top: 260px;
    right: 0px;
  }
  
  #maestry6{
    top: 300px;
    left: 170px;
    display: flex;
  }
  
  #maestry7{
    top: 260px;
    left: 0px;
  }
  
  #maestry8{
    top: 380px;
    right: 40%;
    display: flex;
  }
  
  #maestry9{
    bottom: 500px;
    right: 150px;
    display: flex;
  }
  
  #maestry10{
    top: 50%;
    right: 0px;
  }
  
  #maestry11{
    top: 49%;
    left: 130px;
    display: flex;
  }
  
  #maestry12{
    top: 50%;
    left: 0px;
  }
  
  #maestry13{
    bottom: 410px;
    right: 180px;
    display: flex;
  }
  
  #maestry14{
    bottom: 380px;
    right: 51%;
  }
  
  #maestry15{
    bottom: 410px;
    left: 180px;
    display: flex;
  }
  
  #maestry16{
    bottom: 330px;
    left: 55%;
    display: flex;
  }
  
  #maestry17{
    bottom: 260px;
    left: 65%;
    display: flex;
  }
  
  #maestry18{
    bottom: 140px;
    right: 100px;
  }
  
  #maestry19{
    bottom: 260px;
    right: 65%;
    display: flex;
  }
  
  #maestry20{
    bottom: 140px;
    left: 100px;
  }
  
  #maestry21{
    right: 45%;
    bottom: 150px;
  }
  
  #maestry22{
    top: 50px;
    right: 150px;
    display: flex;
  }

  
  
  .sendero{
    width: 40px;
    display: flex;
    justify-content: space-around;
  }
  
  .senderostransversales{
    width: 440px;
    height: 40px;
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
  }
  
  .senderosLaterales{
    height: 126px;
    margin: -3px;
  }
  
  #sendero1{
    height: 213px;
    transform: rotate(70deg);
  }
  
  #sendero2{
    height: 346px;
    margin: -3px;
  }
  
  #sendero3{
    left: 80px;
    top: 165px;
  }
  
  #sendero4{
    height: 340px;
    margin-top: -30px;
    transform: rotate(30deg);
  }
  
  #sendero6{
    height: 340px;
    margin-top: -30px;
    transform: rotate(149deg);
  }
  
  #sendero8{
    left: 80px;
    top: 390px;
  }
  
  #sendero9{
    height: 200px;
    margin-top: -130px;
    transform: rotate(63deg);
  }
  
  #sendero11{
    height: 200px;
    margin-top: -130px;
    transform: rotate(120deg);
  }
  
  #sendero13{
    height: 200px;
    margin-top: -90px;
    transform: rotate(116deg);
  }
  
  #sendero14{
    height: 100px;
  }
  
  #sendero15{
    height: 200px;
    margin-top: -90px;
    transform: rotate(64deg);
  }
  
  #sendero16{
    left: 80px;
    top: 650px;
  }
  
  #sendero17{
    height: 200px;
    margin-top: -70px;
    transform: rotate(67deg);
  }
  
  #sendero18{
    height: 340px;
    position: absolute;
    bottom: 30px;
    right: 150px;
    transform: rotate(35deg);
  }
  
  #sendero19{
    height: 200px;
    margin-top: -70px;
    transform: rotate(115deg);
  }
  
  #sendero20{
    height: 340px;
    position: absolute;
    bottom: 30px;
    left: 150px;
    transform: rotate(141deg);
  }
  
  #sendero21{
    height: 90px;
  }
  
  #sendero22{
    height: 213px;
    transform: rotate(114deg);
  }
  
  .sendero .normalLine{
    height: 100%;
    width: 1px;
    background-color: black;
  }
  
  .senderostransversales .normalLine{
    height: 1px;
    width: 100%;
    background-color: black;
  }
  
  .sendero .hidenLine{
    background-image: url('images/HidenLineVertical.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;
    height: 100%;
    width: 10px;
  }
  
  .senderostransversales .hidenLine{
    background-image: url('images/HidenLine.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    height: 10px;
    width: 100%;
  }
  
  .sendero .pubertyLine{
    background-image: url('images/pubertyLineVertical.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;
    height: 100%;
    width: 20px;
  }
  
  .senderostransversales .pubertyLine{
    background-image: url('images/pubertyLine.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    height: 20px;
    width: 100%;
  }
  
  .sendero .HidenPubertyLine{
    background-image: url('images/HidenPubertyLineVertical.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;
    height: 100%;
    width: 10px;
  }
  
  .senderostransversales .HidenPubertyLine{
    background-image: url('images/HidenPubertyLine.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    height: 10px;
    width: 100%;
  }
  
  .sendero .ChildhoodLine{
    background-image: url('images/ChildhoodLineVertical.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;
    height: 100%;
    width: 10px;
  }
  
  .senderostransversales .ChildhoodLine{
    background-image: url('images/ChildhoodLine.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    height: 10px;
    width: 100%;
  }
  
  .sendero .HidenChildhoodLine{
    background-image: url('images/HidenChildhoodLineVertical.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;
    height: 100%;
    width: 10px;
  }
  
  .senderostransversales .HidenChildhoodLine{
    background-image: url('images/HidenChildhoodLine.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    height: 10px;
    width: 100%;
  }
  
  .sendero .LongCrysisLine{
    background-image: url('images/CrysisLineVertical2.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;
    height: 100%;
    width: 20px;
  }
  
  .senderostransversales .LongCrysisLine{
    background-image: url('images/CrysisLine.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    height: 20px;
    width: 100%;
  }
  
  .sendero .ShortCrysisLine{
    background-image: url('images/CrysisLineVertical2.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;
    height: 100%;
    width: 10px;
  }
  
  .senderostransversales .ShortCrysisLine{
    background-image: url('images/CrysisLine.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    height: 10px;
    width: 100%;
  }
  
  .sendero .KarmaLine{
    background-image: url('images/KarmaLineVertical.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;
    height: 100%;
    width: 15px;
  }
  
  .senderostransversales .KarmaLine{
    background-image: url('images/KarmaLine.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    height: 15px;
    width: 100%;
  }
  
  .sefirotcollum{
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .sefirot{
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 99px;
    z-index: 10;
    border: solid 1px black;
  }

  #keter{
    background-color: #fff;
  }

  #binah{
    background-color: #191B1C;
    color: white;
  }

  #jokmah{
    background-color: #F5F5F5;
  }

  #guevurah{
    background-color: #E41B1C;
    color: white;
  }

  #jessed{
    background-color: #0094FF;
    color: white;
  }
  
  #tiferet{
    background-color:#FFFF78;
  }

  #hod{
    background-color: #f18719;
    color: white;
  }

  #netzaj{
    background-color: #39AB45;
    color: white;
  }

  #yesod{
    background-color: #642684;
    color: white;
  }

  #malhut{
    background: radial-gradient(#39AB45, #f18719, #E41B1C);
    color: white;
  }

  .conteo-lineas{
    display: flex;
  }
  
  .binahjokmah{
    margin-top: 100px;
  }
  
  .note-col{
    width: 50%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }
  
  #noteInput{
    padding: 15px;
    background-color: beige;
  }
  
  .graficos{
    display: flex;
  }
  
  .numeros-graficos{
    display: flex;
    justify-content: space-between;
    margin-left: -2%;
    margin-right: -2%;
  }
  
  .grafics-text{
    margin-left: 25px;
    margin-top: 20px;
  }
  
  .maestrybox{
    position: relative;
  }
  
  .maestrybox div{
    position: absolute;
    top: 100%;
  }

  .maestryYears{
    text-align: center;
  }

  .untop-cyclelist li::marker{
    color: white;
  }
  
  .cycleList {
    list-style-type: none;
    padding-left: 2px;
  }
  
  .cycleList li:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 99px;
    margin-right: 10px;
  }
  
  .cycleList li:nth-child(1):before {
    background-color: purple;
  }
  
  .cycleList li:nth-child(2):before {
    background-color: blue;
  }
  
  .cycleList li:nth-child(3):before {
    background-color: #f18719;
  }
  
  .graficos img{
    max-width: 400px !important;
  }

  .ciclos-heading{
    padding-bottom: 3px;
    font-weight: 600;
  }
  
  #longcycle-x{
    position: absolute; 
    top: 44.5%; 
    z-index:20; 
    max-width: 20px; 
    height: auto; 
  }
  
  #shortcycle-x{
    position: absolute; 
    top: 44.5%; 
    z-index:20; 
    max-width: 20px; 
    height: auto; 
  }
  
  .divanticrisis{
    position: absolute;
    top:4.5%;
    left:23.27%;
    z-index: 10;
    background: purple;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
  }
  
  .divlanzadera{
    position: absolute;
    top:45.6%;
    z-index: 10;
    background: blue;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
  }
  
  .divcrisis{
    position: absolute;
    top:87%;
    left:73.27%;
    z-index: 10;
    background: #f18719;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
  }
  
  #last-calculos{
    padding-bottom: 40px;
  }

  .boton-imprimir{
    padding: 20px;
    border-radius: 10px;
    background-color: #f18719;
    color:white;
    font-weight: 700;
    font-size: 20px;
    border: 3px solid #f18719;
    transition: all 0.25s;
  }

  .boton-imprimir:hover{
    background-color: #00000000;
    color: #f18719;
  }
  
  /*Tablet responsive CSS*/
  @media (max-width: 1200px) {
  
      .seccion-arbol{
          flex-direction: column;
          align-items: center;
      }
  
      .tree-col{
          width: 100%;
      }
  
      .note-col{
          padding-left: 0;
          margin-top: 50px;
      }
  
      #graficsContainer {
          flex-direction: column;
      }
      #graficsContainer > :first-child {
          padding-bottom: 40px;  
      }
      
  }

@media print {
  @page {
    size: A4; /* Establece el tamaño de la página en A4 */
    margin: 10mm; /* Establece los márgenes de la página, 10 mm es solo un ejemplo, puedes ajustarlo según tus necesidades */
  }
  /*Tablet responsive CSS*/


  .seccion-arbol{
      flex-direction: column;
      align-items: center;
  }

  .tree-col{
      width: 100%;
  }

  .note-col{
      padding-left: 0;
      margin-top: 50px;
  }

  #graficsContainer {
      flex-direction: column;
  }
  #graficsContainer > :first-child {
      padding-bottom: 40px;  
  }
    /* Tu otro CSS para la impresión aquí */
}
  
  
  /*Mobile responsive CSS*/
@media (max-width: 610px) {
  main{
    padding: 25px;
  }

  .content{
      padding: 20px;
  }

  p{
    font-size: 12px;
  }

  .texto-calculos{
    font-size: 12px;
  }

  header nav ul{
      display: none;
  }

  .formulario{
    display: flex;
    flex-direction: column;
  }

  .form-row > :first-child{
    margin: 5px;
  }

  #submit{
    margin: 10px 0 10px 0;
  }

  .tree-container{
      max-width: 400px;
      min-width: 400px;
  }

  .senderosLaterales{
      height: 80px;
  }

  .senderostransversales{
      /*display: none;*/
      height: 40px;
      width: 240px;
  }

  .sendero{
      width: 40px;
  }

  #sendero1{
      height: 140px;
      margin-top: 20px;
      transform: rotate(56deg);
  }

  #sendero2{
      height: 275px;
  }

  #sendero3 {
    top: 136px;
  }

  #sendero4{
      height: 250px;
      margin-top: -15px;
      transform: rotate(28deg);
  }

  #sendero6{
      height: 250px;
      margin-top: -15px;
      transform: rotate(151deg);
  }

  #sendero8{
    top: 300px;
  }

  #sendero9{
      height: 110px;
      margin-top: -80px;
      transform: rotate(58deg);
  }

  #sendero11{
      height: 110px;
      margin-top: -80px;
      transform: rotate(121deg);
  }

  #sendero13{
      height: 110px;
      margin-top: -20px;
  }

  #sendero14{
      height: 100px;
  }

  #sendero15{
      height: 110px;
      margin-top: -20px;
  }

  #sendero16{
    top: 465px;
  }

  #sendero17{
      height: 120px;
      margin-top: -30px;
      transform: rotate(54deg);
  }

  #sendero18{
    height: 250px;
    position: absolute;
    bottom: 30px;
    right: 80px;
    transform: rotate(32deg);
  }

  #sendero19{
      height: 120px;
      margin-top: -30px;
      transform: rotate(126deg);
  }

  #sendero20{
      height: 250px;
      position: absolute;
      bottom: 30px;
      left: 80px;
      transform: rotate(-212deg);
  }

  #sendero21{
      height: 60px;
  }

  #sendero22{
      height: 140px;
      margin-top: 20px;
      transform: rotate(126deg);
  }

  .sefirot{
      width: 90px;
      height: 90px;
  }

  .binahjokmah{
      margin-top:110px;
  }

  .maestry{
    width: 12px;
  }

  #maestry1{
    top: 50px;
    left: 80px;
    
  }

  #maestry2{
    top: 210px;
    left: 170px;
  }

  #maestry3{
    top: 110px;
    left: 160px;
  }

  #maestry4{
    top: 240px;
    right: 130px;
  }

  #maestry5{
    top: 220px;
  }

  #maestry6{
    top: 240px;
    left: 130px;
  }

  #maestry7{
    top: 220px;
  }

  #maestry8{
    top: 300px;
  }

  #maestry9{
    bottom: 380px;
    right: 100px;
  }

  #maestry11{
    bottom: 380px;
    left: 100px;
  }

  #maestry13{
    bottom: 320px;
    right: 100px;
  }

  #maestry14{
    bottom: 270px;
  }

  #maestry15{
    bottom: 320px;
    left: 100px;
  }

  #maestry16{
    bottom: 240px;
  }

  #maestry17{
    bottom: 200px;
    left: 70%;
  }

  #maestry18{
    right: 60px;
  }

  #maestry19{
    bottom: 200px;
    right: 70%;
  }

  #maestry20{
    left: 60px;
  }

  #maestry21{
    bottom: 100px;
  }

  #maestry22{
    top: 50px;
    right: 80px;
  }

  .note-col{
      display: none;
  }

  .graficos{
      flex-direction: column-reverse;
  }

  .graficos img{
      width: 300px;
  }

  .grafics-text{
      margin: 0;
      padding-bottom: 10px;
  }

  .caja-calculos{
      width: 30%;
  }

  .maestrybox div{
      width: 130px;
  }
}


@media (max-width: 460px) {
  .seccion-arbol{
    padding-top: 50px;
  }

  .tree-container{
    max-width: 300px;
    min-width: 300px;
  }

  .senderostransversales{
    left: 0 !important;
  }


  #sendero4{
    height: 269px;
    margin-top: -35px;
    transform: rotate(-160deg);
  }

  #sendero6{
    height: 269px;
    margin-top: -35px;
    transform: rotate(160deg);
  }

  #sendero9{
    height: 133px;
    margin-top: -80px;
    transform: rotate(-132deg);
  }

  #sendero11{
    height: 133px;
    margin-top: -80px;
    transform: rotate(132deg);
  }

  #sendero13{
    height: 110px;
    margin-top: -53px;
  }

  #sendero15{
    height: 110px;
    margin-top: -53px;
  }

  #sendero18{
    right: 56px;
    transform: rotate(206deg);
  }

  #sendero20{
    left: 56px;
    transform: rotate(-206deg);
  }
}