@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Thin.otf);
    font-weight: 100;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Light.otf);
    font-weight: 200;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Regular.otf);
    font-weight: 300;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Medium.otf);
    font-weight: 400;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Bold.otf);
    font-weight: 500;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-DemiBold.otf);
    font-weight: 600;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-ExtraBold.otf);
    font-weight: 700;
}

@font-face {
    font-family: 'visby';
    src: url(../fonts/VisbyCF/VisbyCF-Heavy.otf);
    font-weight: 800;
}

* {
  /* margin: 0;
    padding: 0;
    box-sizing: border-box; */
}

body {
  /* display: flex;
  justify-content: center; */
  font-family: 'visby', sans-serif;
}

.ticket {
  width: 80mm;
  /* background-color: aqua; */
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  flex-direction: column;
}

.header img {
  width: 200px;
  margin: 0 auto 10px;
}

.contenido {
  margin-top: 30px;
}

h1 {
  font-size: 18px;
  text-align: center;
  font-weight: 900;
  margin-top: 10px;
}

.h1 {
  font-size: 50px;
  text-align: center;
  font-weight: 400;
  margin-top: 10px;
}

small {
  font-style: italic;
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
}

h2 {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 10px;
}

.h2-regular {
  font-weight: 400;
}

h3 {
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}

.h3-regular {
  font-weight: 300;
  margin-bottom: 6px;
}

table {
  margin-top: 30px;
  margin-bottom: 10px;
  width: 100%;
  font-size: 12px;
}

table tbody tr td:nth-child(2) {
  display: flex;
  justify-content: right;
}

table tbody tr {
  margin-bottom: 20px;
}

h4 {
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}

.datos-bancarios {
  margin: 20px 0 20px 20px;
}

p {
  font-size: 12px;
  margin-bottom: 6px;
}

.footer {
  text-align: center;
  margin-top: 30px;
  padding: 6px 10px 30px;
}

.footer p {
  font-size: 12px;
}

.qr {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.qr img {
  max-width: 200px;
}

@media print {
    body {
        width: 80mm !important;
    }
}

.oculto-impresion {
  width: 200px;
}

.container-fluid{
    z-index: 200;
}

#img-principal {
    max-width: 300px;
}

#container_impresion {
    margin-top: 80px;
}

#btn_qr {
    margin-top: 100px;
    font-weight: 500;
    border: 1px solid #358A42;
}

@media screen and (max-width:500px) {
    .wt,
    .wb{
        min-height: 10vh;
    }

    #btn_qr{
        margin-top: 0;
    }
}

.btn-ddrp {
    color: #fff !important;
    background-color: #358A42;
    font-size: 18px;
    font-weight: 400 !important;
    padding: 10px 20px 10px 20px;
    border-color: #358A42;
    border-radius: 20px;
}

#img_qr {
    margin-top: 5px;
    max-height: 180px;
}

#qr_scanner {
    width: 250px;
    box-shadow: 1px 1px 1px #888888;
    position: absolute;
    border: 6px solid #fff;
    animation: scan_qr 3s infinite;
    ;
    animation-timing-function: ease-in-out;
}

@keyframes scan_qr {
    0% {
        top: 0px;
    }

    50% {
        top: 175px;
    }

    100% {
        top: 0px;
    }
}

#container_scanner {
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    transform: translateY(-10px);
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.5s ease;
}

#container_scanner.activo {
    opacity: 1;
    pointer-events: auto;
    max-height: 220px; /* más grande que el alto real */
    transform: translateY(0);
}

#container_mensaje {
    display: none;
    margin-top: 100px;
}


@page {
    size: 325px 400px;
    margin: 0;
}

@media print {
    html, body {
        min-width: 100% !important;
        height: 400px !important;
    }
}

#boletos {
    background-color: #fff;
}

/* 
.ticket .cont {
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
} 
*/

.ticket h1 {
    font-size: 18px;
    text-align: left;
    margin-bottom: 2px;
    margin-top: 0;
    text-align: center;
}

.ticket .contenido {
    margin-top: 0px;
    text-align: center;
}

.ticket h2 {
    font-weight: 300;
    font-size: 14px;
}

.ticket .footer {
    margin-top: 0;
}

.ticket .footer {
    padding: 0;
    margin-top: 6px;
    text-align: center;
}

.ticket .fecha-hora p {
    margin-right: 10px;
    margin-left: 10px;
    font-size: 12px;
}

.ticket h2 {
    font-weight: 700;
}

.fecha-hora {
    display: flex;
    width: 100%;
    justify-content: center;
}