/* SCSS HEX */
/* Media Queries */
html {
  box-sizing: border-box;
  height: 100%;
}

*,
*:after,
*:before {
  box-sizing: inherit;
}

:root {
  --select-border: #777;
  --select-focus: blue;
  --select-arrow: var(--select-border);
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #B5B6B4 !important;
}

main {
  flex: 1;
}

/* Change autocomplete styles in WebKit */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  border: 1px solid rgba(73, 41, 20, 0.5);
  padding: 1.3rem 1rem 0.7rem 1rem;
  border-radius: 5px;
  /*color: $green-pantone;*/
  -webkit-text-fill-color: #000000;
  box-shadow: 0 0 0px 1000px #B5B6B4 inset;
}

/* basics */
.oculto {
  display: none;
}

.logotipo {
  margin-top: .8rem;
  max-width: 180px;
  margin-left: 2%;
}

@media (min-width: 768px) {
  .logotipo {
    margin-top: .8rem;
    margin-left: 2%;
  }
}

.formulario-login {
  background-color: rgba(73, 41, 20, 0.85);
  max-width: 450px;
  padding: 4rem 4rem;
  margin: 1rem auto 4rem auto;
  border-radius: 10px;
}

.formulario-login h1 {
  color: #36af46ff;
}

form.login legend {
  display: flex;
  color: #36af46ff;
  font-size: 1.83rem;
  margin: 1rem 0;
  font-weight: bold;
  justify-content: center;
}

form.login .campo {
  display: flex;
  position: relative;
  margin-bottom: 0.8rem;
}

form.login .campo span {
  position: absolute;
  right: 1rem;
  top: 1rem;
  text-transform: uppercase;
  color: #36af46ff;
}

form.login .campo span:hover {
  cursor: pointer;
}

form.login .campo label {
  position: absolute;
  top: 1.1rem;
  left: 1rem;
  font-size: 0.9rem;
  transition: font-size 0.2s ease, top 0.2s ease;
  color: #36af46ff;
}

form.login .campo label.valido {
  font-size: 0.6rem;
  top: 0.5rem;
}

form.login .campo input {
  flex: 1;
  padding: 1.3rem 1rem 0.7rem 1rem;
  border: none;
  background-color: #492914ff;
  border-radius: 5px;
  color: #36af46ff;
}

form.login .campo input:focus {
  background-color: rgba(73, 41, 20, 0.5);
  outline: none;
}

form.login .campo input:focus + label {
  font-size: 0.6rem;
  top: 0.5rem;
}

form.login .campo input.no-valido {
  border-bottom: 3px solid #36af46ff;
}

form.login .alerta {
  color: #36af46ff;
  padding-bottom: 10px;
}

form.login .submit {
  display: flex;
  margin-top: 2rem;
}

form.login .submit button[type="submit"] {
  background-color: #36af46ff;
  color: white;
  display: block;
  width: 100%;
  height: 3.5rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  padding: 1rem 0;
  outline: none;
}

form.login .submit button[type="submit"]:hover {
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid #492914ff;
  padding: 2rem 0 4rem 0;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .site-footer {
    border-top: unset;
    background-color: rgba(73, 41, 20, 0.85);
    padding: 1rem 0 3rem 0;
  }
}

.site-footer .container .copyright {
  color: #36af46ff;
}

.site-footer .container .copyright a {
  color: #36af46ff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-footer .container {
    max-width: 50%;
  }
  .site-footer .container p {
    color: #36af46ff;
  }
}

.contenido {
  flex: 1;
}

/* ocultar menu */
.no-menu.pagina .contenedor-principal .sidebar {
  margin-left: -20rem;
  -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.34);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.34);
}

.pagina {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.pagina .header {
  display: flex;
}

.pagina .header .nombre-sitio {
  flex: 0 0 5rem;
  padding: 1rem;
  align-items: center;
  display: flex;
  background-color: #5E3F2A;
  -webkit-box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.34);
  box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.34);
}

@media (min-width: 1200px) {
  .pagina .header .nombre-sitio {
    flex: 0 0 20rem;
  }
}

.pagina .header .nombre-sitio h1 {
  color: #FFFFFF;
  margin: 0;
}

.pagina .header .nombre-sitio .escritorio {
  display: none;
  margin-top: .8rem;
  max-width: 290px;
  margin-left: 2%;
}

@media (min-width: 768px) {
  .pagina .header .nombre-sitio .escritorio {
    margin-top: .8rem;
    margin-left: 2%;
  }
}

@media (min-width: 1200px) {
  .pagina .header .nombre-sitio .escritorio {
    display: block;
  }
}

.pagina .header .nombre-sitio .movil {
  max-width: 100px;
}

@media (min-width: 1200px) {
  .pagina .header .nombre-sitio .movil {
    display: none;
  }
}

.pagina .header .barra {
  display: flex;
  flex: 1;
  background-color: #5E3F2A;
  justify-content: space-between;
  -webkit-box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.34);
  box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.34);
}

.pagina .header .barra .menu-izquierdo {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: #FFFFFF;
}

.pagina .header .barra .menu-izquierdo i {
  font-size: 1.4rem;
}

.pagina .header .barra .menu-izquierdo .fa-arrow-right {
  display: none;
}

.pagina .header .barra .menu-izquierdo h1 {
  padding-left: 2rem;
}

.pagina .contenedor-principal {
  flex: 1;
  display: flex;
}

.pagina .contenedor-principal .sidebar {
  background-color: #5E3F2A;
  flex: 0 0 20rem;
  padding: 1rem;
  color: #FFFFFF;
  transition: margin-left 0.3s ease;
  -webkit-box-shadow: 14px 4px 5px -5px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 14px 4px 5px -5px rgba(0, 0, 0, 0.34);
  box-shadow: 14px 4px 5px -5px rgba(0, 0, 0, 0.34);
}

.pagina .contenedor-principal .sidebar .usuario {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.pagina .contenedor-principal .sidebar img {
  max-width: 4rem;
}

.pagina .contenedor-principal .sidebar span {
  font-weight: bold;
}

.pagina .contenedor-principal .sidebar .menu-admin {
  margin-top: 2rem;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu {
  list-style: none;
  padding: 0;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu > li {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu > li:hover ul {
  display: block;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu > li a {
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.5rem;
  transition: padding-left 0.3s ease;
  font-size: 1.4rem;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu > li a:hover {
  background-color: #3d2211;
  padding-left: 2rem;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu > li ul {
  display: none;
  list-style: none;
  background-color: #311c0d;
  padding: 1rem;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu > li ul li {
  margin-bottom: 0.3rem;
  font-size: 1rem;
  display: flex;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu > li ul li a {
  flex: 1;
  font-size: 1rem;
}

.pagina .contenedor-principal .sidebar .menu-admin .menu > li ul li:last-of-type {
  margin-bottom: 0;
}

/* cards */
.card-propio {
  background-color: #FFFFFF;
  max-width: 90%;
  padding: 2rem 3rem;
  margin: 2rem auto 2rem auto;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 5px 6px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 0px 0px 5px 6px rgba(0, 0, 0, 0.34);
  box-shadow: 0px 0px 5px 6px rgba(0, 0, 0, 0.34);
}

.card-tabla {
  background-color: #FFFFFF;
  max-width: 90%;
  padding: 2rem 3rem;
  margin: 2rem auto 2rem auto;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 5px 6px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 0px 0px 5px 6px rgba(0, 0, 0, 0.34);
  box-shadow: 0px 0px 5px 6px rgba(0, 0, 0, 0.34);
}

/* form sencillo */
form.form-sencillo {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #000000;
}

form.form-sencillo h1 {
  flex: 0 0 100%;
  margin-bottom: 3rem;
}

form.form-sencillo .campo {
  flex: 0 0 100%;
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
  position: relative;
}

form.form-sencillo .campo span {
  position: absolute;
  right: 1rem;
  top: 1rem;
  text-transform: uppercase;
  color: #000000;
}

form.form-sencillo .campo span:hover {
  cursor: pointer;
}

@media (min-width: 768px) {
  form.form-sencillo .campo {
    flex: 0 0 calc(50% - 1rem);
  }
}

form.form-sencillo .campo.expandir {
  flex: 0 0 calc(100%);
}

form.form-sencillo .campo.expandir label {
  flex: 0 0 calc(15%);
  margin-right: 1.5rem;
}

@media (min-width: 480px) {
  form.form-sencillo .campo.expandir label {
    flex: 0 0 calc(30%);
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  form.form-sencillo .campo.expandir label {
    flex: 0 0 calc(23%);
    margin-right: 0;
  }
}

@media (min-width: 1200px) {
  form.form-sencillo .campo.expandir label {
    flex: 0 0 14.5%;
    margin-left: -.2rem;
  }
}

form.form-sencillo .campo.expandir input[type="text"] {
  flex: 0 0 70.5%;
}

@media (min-width: 768px) {
  form.form-sencillo .campo.expandir input[type="text"] {
    flex: 0 0 55%;
    margin-left: 1rem;
  }
}

@media (min-width: 1200px) {
  form.form-sencillo .campo.expandir input[type="text"] {
    flex: 0 0 85%;
  }
}

form.form-sencillo .campo.expandir textarea {
  flex: 0 0 70%;
  height: 15rem;
  margin-left: 1.3rem;
  font-size: 1.4rem;
  padding: .4rem 1rem 0 1rem;
  border: none;
  background-color: #B5B6B4;
  border-radius: 5px;
  /*color: $green-pantone;*/
}

form.form-sencillo .campo.expandir textarea:focus {
  outline: none;
}

form.form-sencillo .campo label {
  flex: 0 0 30%;
  font-size: 1.4rem;
  width: 140px;
  text-align: right;
}

form.form-sencillo .campo input[type="text"] {
  flex: 0 0 70%;
  height: 3rem;
  margin-left: 1rem;
  font-size: 1.4rem;
  padding: 0 1rem 0 1rem;
  border: none;
  background-color: #B5B6B4;
  border-radius: 5px;
  /*color: $green-pantone;*/
}

form.form-sencillo .campo input[type="text"]:focus {
  outline: none;
}

form.form-sencillo .campo input[type="tel"] {
  flex: 0 0 70%;
  height: 3rem;
  margin-left: 1rem;
  font-size: 1.4rem;
  padding: 0 1rem 0 1rem;
  border: none;
  background-color: #5E3F2A;
  border-radius: 5px;
  color: #36af46ff;
}

form.form-sencillo .campo input[type="tel"]:focus {
  outline: none;
}

form.form-sencillo .campo input[type="email"] {
  flex: 0 0 70%;
  height: 3rem;
  margin-left: 1rem;
  font-size: 1.4rem;
  padding: 0 1rem 0 1rem;
  border: none;
  background-color: #B5B6B4;
  border-radius: 5px;
  /*color: $green-pantone;*/
}

form.form-sencillo .campo input[type="email"]:focus {
  outline: none;
}

form.form-sencillo .campo input[type="date"] {
  flex: 0 0 70%;
  height: 3rem;
  margin-left: 1rem;
  font-size: 1.4rem;
  padding: 0 1rem 0 1rem;
  border: none;
  background-color: #B5B6B4;
  border-radius: 5px;
  /*color: $green-pantone;*/
}

form.form-sencillo .campo input[type="date"]:focus {
  outline: none;
}

form.form-sencillo .campo input[type="password"] {
  flex: 0 0 70%;
  height: 3rem;
  margin-left: 1rem;
  font-size: 1.4rem;
  padding: 0 1rem 0 1rem;
  border: none;
  background-color: #B5B6B4;
  border-radius: 5px;
  /*color: $green-pantone;*/
}

form.form-sencillo .campo input[type="password"]:focus {
  outline: none;
}

form.form-sencillo .campo input[type="number"] {
  flex: 0 0 70%;
  height: 3rem;
  margin-left: 1rem;
  font-size: 1.4rem;
  padding: 0 1rem 0 1rem;
  border: none;
  background-color: #B5B6B4;
  border-radius: 5px;
  /*color: $green-pantone;*/
}

form.form-sencillo .campo input[type="number"]:focus {
  outline: none;
}

form.form-sencillo .campo select {
  flex: 0 0 70%;
  /*A reset of styles, including removing the default dropdown arrow*/
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /*Additional resets for further consistency*/
  background-color: transparent;
  border: none;
  padding: 0rem 1rem 0 1rem;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  outline: none;
  grid-area: select;
}

form.form-sencillo .campo select::-ms-expand {
  display: none;
}

form.form-sencillo .campo .select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  width: 100%;
  height: 3rem;
  min-width: 15ch;
  max-width: 30ch;
  border: none;
  border-radius: 5px;
  padding: 0 1rem 0 1rem;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1.1;
  background-color: #B5B6B4;
  margin-left: 1rem;
}

form.form-sencillo .campo .select:after {
  grid-area: select;
  justify-self: end;
  content: "";
  width: 0.8em;
  height: 0.5em;
  background-color: var(--select-arrow);
  -webkit-clip-path: polygon(100% 0%, 0 0%, 50% 100%);
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

form.form-sencillo .campo.submit {
  justify-content: flex-end;
}

form.form-sencillo .campo.submit button[type="submit"] {
  background-color: #5E3F2A;
  color: white;
  display: block;
  margin-top: 3rem;
  width: 8rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 1.3rem;
  padding: .8rem 0;
  outline: none;
}

form.form-sencillo .campo.submit button[type="submit"]:hover {
  cursor: pointer;
  background-color: #492914ff;
}

form.form-sencillo .checkbox {
  flex: 0 0 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
  margin-left: 16%;
  align-items: center;
}

@media (min-width: 768px) {
  form.form-sencillo .checkbox {
    flex: 0 0 calc(50% - 1rem);
  }
}

form.form-sencillo .checkbox label,
form.form-sencillo .checkbox a {
  color: #000000;
  font-size: 1.1rem;
  text-decoration: none;
}

form.form-sencillo .checkbox .check {
  flex: 0 0 50%;
  display: block;
  position: relative;
  padding-left: 4rem;
  margin-bottom: 12px;
  font-size: 1.4rem !important;
  color: #000000;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

form.form-sencillo .checkbox .check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

form.form-sencillo .checkbox .check .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 2rem;
  width: 2rem;
  background-color: #B5B6B4;
  border-radius: 5px;
}

form.form-sencillo .checkbox .check:hover input ~ .checkmark {
  background-color: #868784;
}

form.form-sencillo .checkbox .check input:checked ~ .checkmark {
  background-color: #36af46ff;
}

form.form-sencillo .checkbox .check .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

form.form-sencillo .checkbox .check input:checked ~ .checkmark:after {
  display: block;
}

form.form-sencillo .checkbox .check .checkmark:after {
  left: 11px;
  top: 3px;
  width: 10px;
  height: 20px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/*Tablas*/
.containerTabla a.boton {
  background-color: #5E3F2A;
  color: white;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  padding: .3rem .8rem;
  outline: none;
}

.containerTabla a.boton:hover {
  background-color: #492914ff;
}

/*Alertas*/
.alerta {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #000000;
}

.alerta.cuidado {
  background-color: rgba(240, 136, 0, 0.6);
  border-color: none;
}

.alerta.info {
  background-color: rgba(4, 139, 169, 0.6);
  border-color: none;
}

.alerta.peligro {
  background-color: rgba(255, 59, 56, 0.6);
  border-color: none;
}

/*Botones*/
.boton-accion {
  background-color: #5E3F2A;
  color: #FFFFFF;
  display: block;
  margin-bottom: 1rem;
  width: 15%;
  height: 3.5rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  padding: 1rem 0;
  outline: none;
}

.boton-accion:hover {
  background-color: #288033;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
}
