html {
    font-size: 16px;
}

body {
    font-size: 1rem;
    color: #333;
}

h1 {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.1;
}

h2 span {
    font-size: 1.25rem;
}

a {
    color: #014282;
}

a:hover,
a:focus {
    color: #333;
}

p {
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 3px;
}

header {
    background-color: #e9ecef;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, .21);
}

footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #e9ecef;
    box-shadow: -2px -3px 5px rgba(0, 0, 0, .21);
    padding: 1rem 0;
}

.bg-light {
    background-color: transparent !important;
}

.navbar-brand img {
    width: 150px;
}

section {
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    max-width: 375px;
    margin: auto;
}

.jumbotron {
    background-color: transparent;
    text-align: center;
    padding: 1rem 1rem;
    overflow: hidden;
}

.jumbotron-text {
    margin-bottom: 1rem;
}

#textareaData {
    font-size: 1.5rem;
}

.btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    transition: all 0.2s;
    min-width: 210px;
}

.btn-primary {
    background-color: #014282;
    border-color: #014282;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #4d4d4d;
    border-color: #4d4d4d;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.btn-success.disabled,
.btn-success:disabled {
    opacity: 0.2;
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn i {
    margin-right: 0.5rem;
}

#qrimageContainer {
    margin-right: auto;
    margin-left: auto;
}

#qrimageContainer.has-qr-code {

}

#qrimageContainerInner {
    background-color: #fff;
    max-height: 0;
    transition: max-height 2s;
    overflow: hidden;
}

#qrimage {
    opacity: 0;
    transition: all 1s;
}

#qrimage.active {
    opacity: 1;
}

#qrimageContainer.has-qr-code #qrimageContainerInner {
    max-height: 5000px;
}

#qrimageDummy {
    font-size: 4rem;
    line-height: 1;
    margin: 0 0 0.5rem;
    overflow: hidden;
}

#qrimageDummy i {
    opacity: 0;
}

#qrimageContainer.has-qr-code #qrimageDummy {
    display: none;
}

.print-button-container {
    height: 0;
}

#qrimageContainer.has-qr-code .print-button-container {
    height: auto;
}

#buttonPrint {
    margin-top: 1rem;
    opacity: 0;
}

/* Responsive */

@media (min-width: 576px) {
    .jumbotron {
        padding: 1rem 1rem;
    }
}

/* Print */

@media print {
    body {
        -webkit-print-color-adjust: exact;
    }

    section {
        max-width: 100%;
    }
}
