input[type=submit], .btn, .text a.btn {
  font: initial;
  box-shadow: none;
}

.contenido_modal h2 {
  padding: 10px;
  line-height: 22px;
  font-weight: initial;
  font-size: 12px;
  margin-bottom: initial;
}

.backtoastdark, .backtoast, .backload, .backmodal {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 5;
  justify-content: center;
  align-items: center;
}

.modalme, .toast {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 6;
}

.boxalerta {
  position: relative;
  background: #ffffff;
  margin: auto;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  width: 370px;
  border-radius: 5px;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: zoomIn;
  animation-duration: 0.4s;
  -webkit-animation-name: zoomIn;
}

.md-generic .header_modal, .md-info .header_modal, .md-error .header_modal, .md-warning .header_modal, .md-sucess .header_modal {
  padding: 10px 0;
  text-align: center;
  width: 100%;
  border-radius: 4px 4px 0 0;
  font-weight: normal;
  color: #ffffff;
}

.header_modal h3 {
  display: inline-block;
  margin-left: 5%;
  margin-bottom: initial;
  font-weight: initial;
}

.header_modal p {
  cursor: pointer;
  display: inline-block;
  margin-right: 14px;
  font-size: 24px;
  float: right;
  color: #1f1f1f;
}

.md-generic .contenido_modal, .md-info .contenido_modal, .md-error .contenido_modal, .md-warning .contenido_modal, .md-sucess .contenido_modal {
  padding: 15px;
  margin: auto;
  text-align: center;
  color: #707070;
}

.contenido_modal i {
  text-align: center;
  width: 60px;
  margin: auto;
  animation-name: expandOpen;
  -webkit-animation-name: expandOpen;
  animation-duration: 1.2s;
  -webkit-animation-duration: 1.2s;
  animation-timing-function: ease-out;
  -webkit-animation-timing-function: ease-out;
  visibility: visible !important;
  font-size: 4em;
}

.contenido_modal h2 {
  padding: 10px;
  line-height: 22px;
  margin-bottom: initial;
}

.contenido_toast {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.botoneras_modal {
  margin: 0 auto;
  display: flex;
  width: 80%;
  justify-content: center;
  align-items: center;
}

.md-generic .boton_aceptar, .md-info .boton_aceptar, .md-error .boton_aceptar, .md-warning .boton_aceptar, .md-sucess .boton_aceptar {
  width: 100%;
  text-align: center;
}

.md-generic .boton_aceptar input, .md-info .boton_aceptar input, .md-error .boton_aceptar input, .md-warning .boton_aceptar input, .md-sucess .boton_aceptar input {
  cursor: pointer;
  border-radius: 5px;
  padding: 5px 30px;
  margin-bottom: 20px;
  text-align: center;
  text-decoration: none;
  -webkit-transition-duration: 0.4s;
  /* Safari */
  transition-duration: 0.4s;
  font-size: 12px;
}

.boton_cancelar {
  width: 100%;
  text-align: center;
}

.boton_cancelar input {
  cursor: pointer;
  border-radius: 5px;
  padding: 5px 30px;
  margin-bottom: 20px;
  text-align: center;
  text-decoration: none;
  -webkit-transition-duration: 0.4s;
  /* Safari */
  transition-duration: 0.4s;
  border: 1px solid #707070;
  background: #ffffff;
  color: #707070;
  font-size: 12px;
}

.boton_cancelar input:hover {
  background: #f2f2f2;
  color: #707070;
}

.loading {
  display: none;
  position: fixed;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 6;
}

.loading img {
  position: absolute;
  margin: auto;
  top: 0%;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  width: 110px;
  height: 110px;
  -webkit-animation-name: zoomIn;
  -webkit-animation-duration: 0.4s;
  animation-name: zoomIn;
  animation-duration: 0.4s;
}

.loadligth {
  display: flex;
}
body.dark .loadligth {
  display: none;
}

.loaddark {
  display: none;
}
body.dark .loaddark {
  display: flex;
}

.simbolotoast i {
  font-size: 45px;
  -webkit-animation: float 2s linear infinite;
  animation: float 2s linear infinite;
}

.additem i {
  color: #269343;
}

.minusitem i {
  color: #af173c;
}

.backmodal {
  background-color: rgba(0, 0, 0, 0.5);
}

.backload {
  background-color: rgba(0, 0, 0, 0.5);
}

.backtoast {
  background-color: rgba(255, 255, 255, 0.5);
}

.backtoastdark {
  background-color: rgba(0, 0, 0, 0.5);
}

.md-sucess .header_modal {
  background: #269343;
}
.md-sucess .contenido_modal i {
  color: #269343;
}
.md-sucess .boton_aceptar input {
  border: 1px solid #269343;
  background: #ffffff;
  color: #269343;
}
.md-sucess .boton_aceptar input:hover {
  background: #269343;
  color: #ffffff;
  border: 1px solid #269343;
}

.md-sucess .header_modal {
  background: #269343;
}
.md-sucess .contenido_modal i {
  color: #269343;
}
.md-sucess .boton_aceptar input {
  border: 1px solid #269343;
  background: #ffffff;
  color: #269343;
}
.md-sucess .boton_aceptar input:hover {
  background: #269343;
  color: #ffffff;
  border: 1px solid #269343;
}

.md-warning .header_modal {
  background: #ffb500;
}
.md-warning .contenido_modal i {
  color: #ffb500;
}
.md-warning .boton_aceptar input {
  border: 1px solid #ffb500;
  background: #ffffff;
  color: #ffb500;
}
.md-warning .boton_aceptar input:hover {
  background: #ffb500;
  color: #ffffff;
  border: 1px solid #ffb500;
}

.md-error .header_modal {
  background: #af173c;
}
.md-error .contenido_modal i {
  color: #af173c;
}
.md-error .boton_aceptar input {
  border: 1px solid #af173c;
  background: #ffffff;
  color: #af173c;
}
.md-error .boton_aceptar input:hover {
  background: #af173c;
  color: #ffffff;
  border: 1px solid #af173c;
}

.md-info .header_modal {
  background: #0b5eab;
}
.md-info .contenido_modal i {
  color: #0b5eab;
}
.md-info .boton_aceptar input {
  border: 1px solid #0b5eab;
  background: #ffffff;
  color: #0b5eab;
}
.md-info .boton_aceptar input:hover {
  background: #0b5eab;
  color: #ffffff;
  border: 1px solid #0b5eab;
}

.md-generic .contenido_modal i {
  color: #707070;
}
.md-generic .boton_aceptar input {
  border: 1px solid #707070;
  background: #ffffff;
  color: #707070;
}
.md-generic .boton_aceptar input:hover {
  background: #707070;
  color: #ffffff;
  border: 1px solid #707070;
}

.boxalerta {
  width: 100%;
  max-width: 1300px;
}

.boxalertavideo {
  min-width: 720px;
  width: 100%;
  max-width: 720px;
  height: 405px;
}

.micronotas {
  display: flex;
  width: 100%;
  padding: 20px;
  justify-content: space-between;
}
.micronotas .textmodal {
  display: flex;
  flex-direction: column;
  width: 45%;
  align-items: flex-start;
}
.micronotas .textmodal .titlemn {
  font-size: 18px;
  font-weight: bold;
  color: #c2002f;
  text-align: left;
}
.micronotas .textmodal p {
  font-style: italic;
  text-align: left;
}
.micronotas .imgmodal {
  display: flex;
  width: 45%;
}
.micronotas .imgmodal img {
  object-fit: cover;
  max-width: 100%;
  display: block;
  height: auto;
}

.check-list {
  margin: 0;
  padding-left: 1.2rem;
  margin-top: 20px;
}

.check-list li {
  position: relative;
  list-style-type: none;
  padding-left: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.check-list li:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: -2px;
  width: 5px;
  height: 11px;
  border-width: 0 2px 2px 0;
  border-style: solid;
  border-color: #a31f34;
  transform-origin: bottom left;
  transform: rotate(45deg);
}

.boxalerta.videoana {
  width: 700px;
}

.boxalerta.mapaescapadas {
  width: 1300px;
}

@media (max-width: 1300px) {
  .boxalerta.mapaescapadas {
    width: 800px;
  }
}
@media (max-height: 800px) {
  .modalme {
    display: grid;
    top: 0;
    position: fixed;
    overflow-y: auto;
  }

  .backmodal {
    position: fixed;
  }

  .boxalerta.videoana {
    width: 560px;
    height: 315px;
  }

  iframe {
    display: block;
    width: 100%;
    border: none;
    height: 260px;
  }
}
@media (max-width: 500px) {
  .loading img {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 800px) {
  .boxalertavideo {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    height: 100%;
  }

  iframe {
    display: block;
    width: 100%;
    border: none;
    height: 300px;
  }

  .micronotas {
    flex-direction: column;
  }
  .micronotas .textmodal {
    width: 100%;
  }
  .micronotas .imgmodal {
    margin-top: 10px;
    width: 100%;
  }

  .boxalerta.videoana {
    width: 100%;
    height: 350px;
  }

  .boxalerta.mapaescapadas {
    width: 100%;
    height: 350px;
  }
}
@media (max-height: 500px) {
  .loading img {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 369px) {
  .contenido_modal {
    width: 320px;
  }
}
/*Animaciones Modales y Toast*/
@keyframes expandOpen {
  0% {
    transform: scale(1.8);
  }
  50% {
    transform: scale(0.95);
  }
  80% {
    transform: scale(1.05);
  }
  90% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes expandOpen {
  0% {
    -webkit-transform: scale(1.8);
  }
  50% {
    -webkit-transform: scale(0.95);
  }
  80% {
    -webkit-transform: scale(1.05);
  }
  90% {
    -webkit-transform: scale(0.98);
  }
  100% {
    -webkit-transform: scale(1);
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
@keyframes float {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
