@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}
body{
  margin-top: 80px;
  background: #8ed0f8;
  padding: 0 10px;

  min-height: 100vh;
  background: url(/images/fondo.jpg) no-repeat;
  background-size: cover;  
  background-position: center;  
}

button {
  border: none;
  cursor: pointer;
  appearance: none;
  background-color: inherit;
  transition: transform 0.7s ease-in-out;
}

button:hover {
  background:  #8ed0f8;
}

ul {
  list-style: disc;
  margin: 0 0 2em 0;
  padding-left: 1em;
}

  ul li {
    padding-left: 0.5em;
    color: #007fcc;
    text-align: justify;
    margin-bottom: 5px;
    line-height: 1.6;
  }


/* Para remover las felchas del input de números */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.gallery{
    display: grid;
    gap: 10px 20px;
    grid-auto-flow: dense;
    grid-auto-rows: auto;
    grid-template-columns: repeat(3, 30%);
    /* grid-template-columns: (repeat(auto-fill, minmax(8rem, 1fr))); */
    /* grid-template-columns: (repeat(auto-fill, minmax(min(100%, 10rem), 1fr))); */
}

.separador {
  border: solid 1px;
  border-left: 0;
  border-right: 0;
  border-color: rgba(144, 144, 144, 0.25);
}
/* Botones */ 

.button {
	display: flex;
	height: 50px;
	padding: 0;
	background: var(--clr);;
	border: none;
	outline: none;
	border-radius: 5px;
	overflow: hidden;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.button:hover {
	background: var(--clr2);;
}

.button:active {
	background: var(--clr3);;
}

.button:disabled {
	background: var(--clr4);;
}

.button-text,
.button-icon {
	display: inline-flex;
	align-items: center;
	padding: 0 18px;
	color: #fff;
	height: 100%;
}

.button-icon {
	font-size: 1.5em;
	background: rgba(0, 0, 0, 0.08);
}
  /*Cajas*/

  /* .box {
		border-radius: 0;
		border: solid 1px;
		margin-bottom: 2em;
		padding: 1.5em;
	}

		.box > :last-child,
		.box > :last-child > :last-child,
		.box > :last-child > :last-child > :last-child {
			margin-bottom: 0;
		}

		.box.alt {
			border: 0;
			border-radius: 0;
			padding: 0;
		}

	.box {
		border-color: rgba(144, 144, 144, 0.25);
	} */

  .box-simple {
    margin-bottom: 40px;
    text-align: center;
}

  .box-simple:hover .icon-outlined {
      -webkit-transform: scale(1.1);
      transform: scale(1.1);
  }

  .box-simple .icon-outlined {
      color: #007fcc;
      border: 1px solid #007fcc;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
  }

  .box-simple h3 {
      text-transform: none;
      letter-spacing: 0.1em;
  }

  .box-simple p {
      color: #007fcc;
      margin: 20px 0;
      font-size: 0.9rem;
      text-align: center;
  }

  .box-simple a{
    color: #007fcc;
  }


.breadcrumbs ul ion-icon{
  font-size: 24px;
  color: #007fcc;
  vertical-align: middle;
}

.wrapper .table-wrapper .btn-icon i,
.ticket .table-wrapper .btn-icon i{
  color: #007fcc;
}

.wrapper .table-wrapper .btn-icon:hover i,
.ticket .table-wrapper .btn-icon:hover i{
  color: #8ed0f8;
}

.wrapper .table-wrapper .btn-icon-red i,
.ticket .table-wrapper .btn-icon-red i{
  color: #ce0101;
}

.wrapper .table-wrapper .btn-icon-red:hover i,
.ticket .table-wrapper .btn-icon-red:hover i{
  color: #ff0000;
}

.wrapper .table-wrapper .btn-icon-green i,
.ticket .table-wrapper .btn-icon-green i{
  color: #00860d;
}

.wrapper .table-wrapper .btn-icon-green:hover i,
.ticket .table-wrapper .btn-icon-green:hover i{
  color: #18bf28;
}


.breadcrumbs{
  /* font-family: "Roboto", sans-serif; */
  /* padding: 10px 48px; */
  /* box-shadow: 0 4px 30px -10px rgba(0,0,0,0.2); */
  /* width: fit-content; */

  max-width: 500px;
  width: 100%;
  background: #c3e8ff;
  margin: 20px auto;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.125);
  padding: 10px;
  border-radius: 10px;
}

.breadcrumbs ul{
  display: flex;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.breadcrumbs ul li a{
  text-decoration: none;
  color: #007fcc;
}

.breadcrumbs ul li a:hover{
  color: #4bb7f9;
}

.breadcrumbs ul li:last-child {
  color: #007fcc;
  font-weight: bold;
}


.iconplus {
  color: green;
  width: 20px;
  height: 20px;
}

.iconminus {
  color: red;
  width: 20px;
  height: 20px;
}

div .table {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px;
}

.wrapper .touchmenu{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  align-items: center;
  /* min-height: 100vh; */
  background: #fff;
}

.wrapper .touchmenu .box{
  position: relative;
  width: 350px;
  height: 100px;
  background: #efefef;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s ease-in-out;
  box-shadow: rgba(3px,3px,3px,3px.05);
}

.wrapper .touchmenu .box::before{
  content: "";
  position: absolute;
  width: 6px;
  height: 100%;
  border-radius: 10px;
  background: var(--clr);
  transition: 0.5s ease-in-out;
}

.wrapper .touchmenu .box:hover::before{
  width: 100%;
}

.wrapper .touchmenu .box .content{
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.wrapper .touchmenu .box .content .icon{
  position: relative;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper .touchmenu .box .content .icon i{
  /* font-size: 2.5em; */
  color: var(--clr);
  transition: 0.5s ease-in-out;
}

.wrapper .touchmenu .box:hover .content .icon i{  
  color: #fff;
}

.wrapper .touchmenu .box .content .text h3{
  font-weight: bolder;  
  color: var(--clr);
  transition: 0.5s ease-in-out;
}

.wrapper .touchmenu .box .content .text p{
  font-size: 0.9em;
  color: #999;
  transition: 0.5s ease-in-out;
}

.wrapper .touchmenu .box:hover .content .text h3,
.wrapper .touchmenu .box:hover .content .text p{
  color: #fff;
}

/* NavBar Ventas */
.mobile-nav {
  background: #ff007b;  
  position: fixed;
  bottom: 0;
  height: 65px;  
  max-width: 500px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  left: 50%;
  transform: translateX(-50%);
  }
  
.bloc-icon {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
.bloc-icon img {
    width: 30px;
}
  /* NavBar Ventas */

.ticket{
  max-width: 500px;
  width: 100%;
  /* height: 300px; */
  background: #fff;
  margin: 20px auto 0px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.125);
  padding: 30px 5px;
  position: relative;  
  background-color: white;
  border-radius: 5px 5px 0 0; /* Esquinas superiores redondeadas */
  overflow: hidden; /* Oculta el zig-zag que sobresale */
}

.ticket .header{
  display: flex;
  justify-content: center;
  align-items: center;  
  margin-bottom: 20px;
}

.ticket .header img{
  width: 100px;  
}

.zig-zag {
  --a: 90deg; /* el ángulo de los picos del ticket*/
  --s: 15px;  /* el tamaño de los picos del ticket*/
  max-width: 500px;
  margin: 0px auto 10px;
  height: 30px;
  background: repeating-linear-gradient(135deg,#fff 0 15px,#fff 0 30px);
  --mask: 
    conic-gradient(from calc(var(--a)/-2) at bottom,
      #0000,#000 1deg var(--a),#0000 calc(var(--a) + 1deg)) /* Le agregamos 1 grado para evitar el glitch visual */
    50%/var(--s);
  -webkit-mask: var(--mask);
          mask: var(--mask);
}

.ticket .form .pagos{
  display: flex;
  justify-content: center;
  gap: 20px;
}

.ticket .form .pagos input{
  padding: 5px;
}

.wrapper{
  max-width: 500px;
  width: 100%;
  background: #fff;
  margin: 20px auto;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.125);
  padding: 30px;
  border-radius: 10px;
}

.wrapper .title,
.wrapper .row .title,
.ticket .title{
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #007fcc;
  text-transform: uppercase;
  text-align: center;
}

.wrapper .subtitle,
.wrapper .box .col-6 .box-simple .subtitle,
.ticket .subtitle{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #007fcc;  
  text-align: center;
}

.wrapper .subtitle-left,
.ticket .subtitle-left{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #007fcc;  
  text-align: left;
}

.wrapper p{
  padding: 5px;
  text-align: justify;
  color: #007fcc;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* image */

.image {
  border-radius: 0;
  border: 0;
  display: inline-block;
  position: relative;
}

.image.fit {
  display: block;
  margin: 0 0 2em 0;
  width: 100%;
}

  .image.fit img {
    width: 100%;
  }


/* Renglón */

.row {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  align-items: stretch;
}

  .row > * {
    box-sizing: border-box;
  }
  .row > .col-4 {
    width: 33.33333%;
  }

  .row > .col-6 {
    width: 50%;
  }

  .row > .col {
    width: 100%;
  }

  .row.gtr-50 {
    margin-top: 0;
    margin-left: -1em;
  }

    .row.gtr-50 > * {
      padding: 0 0 0 1em;
    }

    .row.gtr-50.gtr-uniform {
      margin-top: -1em;
    }

      .row.gtr-50.gtr-uniform > * {
        padding-top: 1em;
      }

.icon-outlined {
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  display: inline-block;
  font-size: 1.4rem;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-bottom: 20px;
}

.ticket .subtitle{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 3px;
  color: #007fcc;  
  text-align: center;
}

.ticket .telefono{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #007fcc;  
  text-align: center;
}

.wrapper .error{
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 25px;
  color: #007fcc;
  /* text-transform: capitalize; */
  text-align: center;
}

.wrapper .form,
.ticket .form{
  width: 100%;
}

.wrapper .form .inputfield,
.ticket .form .inputfield{
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.wrapper .form .textarea{  
  text-align: justify;  
}

.wrapper .form .textarea .maintext{  
  font-size: 20px;
}

.wrapper .form .textarea .secondarytext{  
  font-size: 14px;
  color: #757575;
}

.wrapper .form .inputfield label,
.ticket  .form .inputfield label{
   width: 200px;
   color: #757575;
   margin-right: 10px;
  font-size: 14px;
}

.wrapper .form .inputfield .input,
.wrapper .form .inputfield .textarea,
.ticket .form .inputfield .input{
  width: 100%;
  outline: none;
  border: 1px solid #d5dbd9;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.wrapper .form .inputfield .textarea{
  width: 100%;
  height: 125px;
  resize: none;
}

.wrapper .form .inputfield .custom_select{
  position: relative;
  width: 100%;
  height: 37px;
}

.wrapper .form .inputfield .custom_select:before{
  content: "";
  position: absolute;
  top: 12px;
  right: 10px;
  border: 8px solid;
  border-color: #d5dbd9 transparent transparent transparent;
  pointer-events: none;
}

.wrapper .form .inputfield .custom_select select{
  -webkit-appearance: none;
  -moz-appearance:   none;
  appearance:        none;
  outline: none;
  width: 100%;
  height: 100%;
  border: 0px;
  padding: 8px 10px;
  font-size: 15px;
  border: 1px solid #d5dbd9;
  border-radius: 3px;
}


.wrapper .form .inputfield .input:focus,
.wrapper .form .inputfield .textarea:focus,
.ticket .form .inputfield .input:focus,
.wrapper .form .inputfield .custom_select select:focus{
  border: 1px solid #007fcc;
}

.wrapper .form .inputfield p{
   font-size: 14px;
   color: #757575;
}
.wrapper .form .inputfield .check{
  width: 15px;
  height: 15px;
  position: relative;
  display: block;
  cursor: pointer;
}
.wrapper .form .inputfield .check input[type="checkbox"]{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.wrapper .form .inputfield .check .checkmark{
  width: 15px;
  height: 15px;
  border: 1px solid #007fcc;
  display: block;
  position: relative;
}
.wrapper .form .inputfield .check .checkmark:before{
  content: "";
  position: absolute;
  top: 1px;
  left: 2px;
  width: 5px;
  height: 2px;
  border: 2px solid;
  border-color: transparent transparent #fff #fff;
  transform: rotate(-45deg);
  display: none;
}
.wrapper .form .inputfield .check input[type="checkbox"]:checked ~ .checkmark{
  background: #007fcc;
}

.wrapper .form .inputfield .check input[type="checkbox"]:checked ~ .checkmark:before{
  display: block;
}

.wrapper .form .inputfield .btn,
.ticket .form .inputfield .btn,
.ticket .form .pagos .btn{
  width: 100%;
   padding: 8px 10px;
  font-size: 15px; 
  border: 0px;
  background:  #007fcc;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
  outline: none;
}

.wrapper .form .inputfield .btn:hover,
.ticket .form .inputfield .btn:hover{
  background: #8ed0f8;
}

.wrapper .form .inputfield .btn:disabled,
.ticket .form .inputfield .btn:disabled{
  background: #b3b3b3;
}

.wrapper .form .inputfield:last-child,
.ticket .form .inputfield:last-child{
  margin-bottom: 0;
}

/* Table */

table {
	border-collapse: collapse;
	border-spacing: 0;
  margin: 0 0 2em 0;
  width: 100%;
}

.col-derecha{
  text-align: right;
}

.table-wrapper {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

  table tbody tr {
    border: solid 1px;
    border-left: 0;
    border-right: 0;
    border-color: rgba(144, 144, 144, 0.25);
  }

  table td {
    padding: 0.75em 0.75em;
  }

  table th {
    font-size: 0.9em;
    font-weight: 600;
    padding: 0 0.75em 0.75em 0.75em;
    text-align: left;
    color: #666;
  }

  table thead {
    border-bottom: solid 2px;
    border-bottom-color: rgba(144, 144, 144, 0.25);
  }   

  /* table thead tr {
    background-color: #bfbfbf;    
    align-items: center;
    text-align: center;
    padding: auto;
  }

  table thead tr th{
    align-items: center;
  } */

  table td:nth-child(2) {
    text-align:center;
  }
  /* table tbody tr:nth-child(2n + 1) {
    background-color: rgba(144, 144, 144, 0.075);
  }	 */

@media (max-width:420px) {
  body{
    margin-top: 120px;
    background: #8ed0f8;
    padding: 0 10px;
  }
  .wrapper .form .inputfield,
  .ticket .form .inputfield{
    flex-direction: column;
    align-items: flex-start;
  }
  .wrapper .form .inputfield label,
  .ticket .form .inputfield label{
    margin-bottom: 5px;
  }
  .wrapper .form .inputfield.terms,
  .ticket .form .inputfield.terms{
    flex-direction: row;
  }

  .g-recaptcha {    
    width: auto;
    align-items: end;
  }
}

#addAlumno {
  position: fixed;
  right: 104px;
  bottom: 25px;
  width: 60px;
  z-index: 1000;
  display: none;
}

#addAlumno {
  bottom: 95px;
  display: block;
}

.image-upload-container {
  width: 400px;
  max-width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.preview-image,
.default-image,
.error-image {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.error-message {
  color: red;
  text-align: center;
}

#imageInput {
  display: none; /* Ocultamos el input de selección de archivo */
}