@font-face {
  font-family: "GabrielSansNormal";
  src: url("https://lib.morelos.gob.mx/fonts/Gabriel-Sans-Normal.otf");
}

@font-face {
  font-family: "GabrielSansBold";
  src: url("https://lib.morelos.gob.mx/fonts/Gabriel-Sans-Bold.otf");
}

html {
  height: 100% !important;
}

body {
  /*min-height: 100%!important;*/
  font-family: "GabrielSansNormal", Arial;
}

div.cortina {
  z-index: 2;
  background-color: rgba(111, 84, 153, 0.85);
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
}

legend {
  width: 100%;
  overflow: auto;
  /*background-color: red;*/
}

/**
* Estos son estilos para las diferentes resoluciones de pantalla
*/

/*Para pantallas pequeÃ±as*/

@media screen and (min-width: 360px) {
  img.img-index {
    width: 75% !important;
  }

  div.img-morelos {
    text-align: center;
  }

  div.img-secretaria {
    text-align: center;
  }

  p.titulo {
    font-size: 1.25rem !important;
  }
}

/*Para pantallas pequeÃ±as*/

@media screen and (min-width: 576px) {
  img.img-index {
    width: 75% !important;
  }

  div.img-morelos {
    text-align: center;
  }

  div.img-secretaria {
    text-align: center;
  }

  p.titulo {
    font-size: 1.25rem !important;
  }
}

/*Para pantallas medianas*/

@media screen and (min-width: 768px) {
  img.img-index {
    width: 75% !important;
  }

  div.img-morelos {
    text-align: left;
  }

  p.titulo {
    font-size: 2.5rem !important;
  }
}

/*Para pantallas largas*/

@media screen and (min-width: 992px) {
  img.img-index {
    width: 81% !important;
  }

  div.img-morelos {
    text-align: left;
  }

  p.titulo {
    font-size: 2.5rem !important;
  }
}

/*Para pantallas extra largas*/

@media screen and (min-width: 1200px) {
  img.img-index {
    width: 81% !important;
  }

  div.img-morelos {
    text-align: left;
  }

  p.titulo {
    font-size: 2.5rem !important;
  }
}

.login_wrapper {
  right: 0px;
  margin: 0px auto;
  margin-top: 5%;
  max-width: 350px;
  position: relative;
  min-height: 550px;
}

.inicioSesionUsuario_form,
.login_form {
  position: absolute;
  top: 0px;
  width: 100%;
}

.inicioSesionUsuario_form {
  z-index: 21;
  opacity: 0;
  width: 100%;
}

.login_form {
  z-index: 22;
}

.login_content {
  margin: 0 auto;
  padding: 25px 0 0;
  position: relative;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
  min-width: 280px;
}

.login_content form {
  margin: 20px 0;
  position: relative;
}

.login_content h1 {
  font: normal 25px Helvetica, Arial, sans-serif;
  letter-spacing: -0.05em;
  line-height: 20px;
  margin: 10px 0 30px;
}

.login_content h1:before,
.login_content h1:after {
  content: "";
  height: 1px;
  position: absolute;
  top: 10px;
  width: 27%;
}

.login_content h1:after {
  background: #7e7e7e;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#7e7e7e),
    to(white)
  );
  background: linear-gradient(to right, #7e7e7e 0%, white 100%);
  right: 0;
}

.login_content h1:before {
  background: #7e7e7e;
  background: -webkit-gradient(
    linear,
    right top,
    left top,
    from(#7e7e7e),
    to(white)
  );
  background: linear-gradient(to left, #7e7e7e 0%, white 100%);
  left: 0;
}

.login_content h1:before,
.login_content h1:after {
  content: "";
  height: 1px;
  position: absolute;
  top: 10px;
  width: 20%;
}

.login_content h1:after {
  background: #7e7e7e;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#7e7e7e),
    to(white)
  );
  background: linear-gradient(to right, #7e7e7e 0%, white 100%);
  right: 0;
}

.login_content h1:before {
  background: #7e7e7e;
  background: -webkit-gradient(
    linear,
    right top,
    left top,
    from(#7e7e7e),
    to(white)
  );
  background: linear-gradient(to left, #7e7e7e 0%, white 100%);
  left: 0;
}

.login_content form input[type="text"],
.login_content form input[type="email"],
.login_content form input[type="password"] {
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
  -ms-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
  -o-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
  box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
  border: 1px solid #c8c8c8;
  color: #777;
  margin: 0 0 20px;
  width: 100%;
}

.login_content form input[type="text"]:focus,
.login_content form input[type="email"]:focus,
.login_content form input[type="password"]:focus {
  -webkit-box-shadow: 0 0 2px #aa77b4 inset;
  -ms-box-shadow: 0 0 2px #ed1c24 inset;
  -o-box-shadow: 0 0 2px #ed1c24 inset;
  box-shadow: 0 0 2px #a97aad inset;
  background-color: #fff;
  border: 1px solid #a878af;
  outline: none;
}

.clearfix:after,
form:after {
  /* content: ".";*/
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

h2 {
  font-size: 18px;
  font-weight: 700px;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-purple {
  color: #fff;
  background-color: #6f5499;
  border-color: #6a3e8c;
}

.btn-purple:focus,
.btn-purple:hover {
  color: #fff;
  background-color: #503d6c;
}

.btn-outline-purple {
  color: #6a3e8c;
  border-color: #6a3e8c;
}

.btn-outline-purple:focus,
.btn-outline-purple:hover {
  color: #fff;
  background-color: #6a3e8c;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 12px;
}

.login_content form div a {
  font-size: 12px;
  margin: 10px 15px 0 0;
}

.clearfix:after,
form:after {
  /* content: ".";*/
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

button,
.buttons,
.btn,
.modal-footer .btn + .btn {
  margin-bottom: 5px;
  margin-right: 5px;
}

#registrarUsuario:target ~ .login_wrapper .inicioSesionUsuario_form,
#inicioSesionUsuario:target ~ .login_wrapper .login_form {
  z-index: 22;
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

#registrarUsuario:target ~ .login_wrapper .login_form,
#inicioSesionUsuario:target ~ .login_wrapper .inicioSesionUsuario_form {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
}

.animate {
  -webkit-animation-duration: 0.5s;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode: both;
  -moz-animation-duration: 0.5s;
  -moz-animation-timing-function: ease;
  -moz-animation-fill-mode: both;
  -o-animation-duration: 0.5s;
  -o-animation-timing-function: ease;
  -o-animation-fill-mode: both;
  -ms-animation-duration: 0.5s;
  -ms-animation-timing-function: ease;
  -ms-animation-fill-mode: both;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}

.login_box {
  padding: 20px;
  margin: auto;
}

.login-form h2,
.registrarUsuario-form h2 {
  color: #696763;
  font-family: "GabrielSansNormal", sans-serif;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 30px;
}

.login-form form input,
.registrarUsuario-form form input {
  background: #f0f0e9;
  border: medium none;
  color: #696763;
  display: block;
  font-family: "GabrielSansNormal", sans-serif;
  font-size: 14px;
  font-weight: 300;
  height: 40px;
  margin-bottom: 10px;
  outline: medium none;
  padding-left: 10px;
  width: 100%;
}

#form {
  display: block;
  margin-bottom: 185px;
  margin-top: 185px;
  overflow: hidden;
}

.login-form form span {
  line-height: 25px;
}

.login-form form span input {
  width: 15px;
  float: left;
  height: 15px;
  margin-right: 5px;
}

.login-form form button {
  margin-top: 23px;
}

.login-form form button,
.registrarUsuario-form form button {
  background: #f44336;
  border: medium none;
  border-radius: 0;
  color: #ffffff;
  display: block;
  font-family: "GabrielSansNormal", sans-serif;
  padding: 6px 25px;
}

.login-form label input {
  border: medium none;
  display: inline-block;
  height: 0;
  margin-bottom: 0;
  outline: medium none;
  padding-left: 0;
}

.br_login {
  height: 60px;
}

.br_restablecer {
  height: 100px;
}

#footer {
  max-height: 150px;
  color: #888888;
  text-align: left;
  background-color: #222222;
  position: relative;
  margin-bottom: 0px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 20px;
  padding: 0px 0;
  padding-left: 130px;
}

#footerLogin {
  margin-left: 0 !important;
  width: 100% !important;
  color: #888888;
  text-align: left;
  background-color: #222222;
  position: relative;
  margin-bottom: 0px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 20px;
  padding: 0px 0;
  /*padding-left: 180px;*/
}

#footer-1 {
  color: #ffffff;
  text-align: left;
  background-color: #333333;
  position: relative;
  margin-bottom: 0px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 20px;
  padding: 0px 0;
  padding-left: 30%;
}

#footer-2 {
  text-align: center;
  padding: 0px 0;
  background-color: #333333;
  color: #ffffff;
  margin-left: 220px;
  width: calc(100% - 210px);
}

body.swal2-height-auto {
  height: 100% !important;
}
