canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
#bg-container {
    width: 100%;
    height: 100%;
}
#qtcanvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}

hr {
    border-color: #000;
    margin-bottom: 30px;
}

.form-label-group2 {
    margin: 0 0 15px;
}

.form-label-group2 label {
    font-size: 18px;
}

.form-label-group2 input {
    border: 1px solid #000 !important;
    background-color: #FFF !important;
    box-shadow: none !important;
}

.btn-primary {
    background-color: #DA291C;
    border: 1px solid #DA291C;
    margin: 10px 0px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:focus-within {
    background-color: #FFF !important;
    color: #DA291C !important;
    border: 1px solid #DA291C !important;
}
.btn-primary:disabled {
    background-color: #FFF !important;
    color: #d6847f !important;
    border: 1px solid #DA291C !important;
}

.btn-secondary {
    background-color: #FFF;
    color: #53565A;
    border: 1px solid #53565A;
    margin: 10px 0px;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary:focus-within {
    background-color: #FFF;
    color: #a0a0a0;
    border: 1px solid #a0a0a0;
    margin: 10px 0px;
}
.btn-secondary:disabled {
    background-color: #FFF;
    color: #a0a0a0;
    border: 1px solid #a0a0a0;
    margin: 10px 0px;
}

.reconnect {
    font-size: 80%;
}

.activebutton::after {
    font-size: small;
}

.btn-toolbar {
    flex-direction: column;
}

.copy {
    font-size: 12px;
}
.copy a {
    color: #53565A;
}

button, a.link {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
}
a.link {
    font-size: 12px;
    color:#53565A;
    border: 1px solid #53565A;
    border-radius: 2px;
    padding: 10px 15px;
}

/*button {
    min-width: 100px;
}
.right {
    float: right;
}*/

/* Snackbar */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    position: fixed; /* Sit on top of the screen */
    z-index: 1000000;
    top: 0px; /* 0px from the top */
    width: 100%;
}

#snackbarText {
    border-radius: 2px; /* Rounded borders */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: left; /* Centered text */
    padding: 16px; /* Padding */
    max-width: 568px;
    margin: 0 auto;
}

#snackbarClose {
    margin-top: -20px;
    color: #fff;
    text-align: right;
    padding-right: 4px;
}

a#notificacionClose:hover {
    text-decoration: none;
}
a#notificacionClose {
    color: #fff;
}

.row {
    margin: 0;
}

div .closeSnackBar {
    float: right;
    margin-top: -7px;
    width: 24px;
    height: 24px;
    align-content: center;
    margin-right: -8px;
}

@media (min-width: 480px) {
    #snackbarText {
        min-width: 288px;
        max-width: 568px;
        left: 20px; /* Center the snackbar */
    }
    #closeSnackbar {
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
    #closeSnackbar a {
        text-decoration: none;
        color: inherit;
    }
}

@media (max-width: 479px)
{
    .w-50 {
        width: 100% !important;
    }
    #snackbarText {
        width: 100%;
        border-radius: 0px;
        left: 0;
        min-height: 48px;
    }

    #snackbarClose {
        visibility: hidden;
    }
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
.show {
    visibility: visible !important; /* Show the snackbar */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 20s;
    animation: fadein 0.5s, fadeout 0.5s 20s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

.activebutton::after {
    content: '';
    width: 30px; height: 30px;
    border-radius: 100%;
    border: 5px solid #DA291C;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: growingcircle 1.5s infinite;
}
  
  
@keyframes growingcircle {
    0% {
      width: 30px;
      height: 30px;
      opacity: 1;
    }
    100% {
      width: 120px;
      height: 120px;
      opacity: 0;
    }
  }
