html, body {
    min-height: 100%;
}
body {
    background: -webkit-linear-gradient(top, #760032, #9C0053);
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    padding: 15px;
    position: relative;
}
.container {
    max-width: 600px;
}
.modal-footer {
    display: unset!important;
}
.btn-primary {
    background-color: #9C0053;
    border-color: #9C0053;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: #9C0053;
    border-color: #9C0053;
}
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(156 0 83 / 0.5);
}
.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgb(156 0 83 / 0.5);
}
.btn-primary:hover {
    background-color: #760032;
    border-color: #760032;
}
.btn-secondary {
    color: #9C0053;
    background-color: #ffffff;
    border-color: #9C0053;
}
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
    background-color: #ffffff;
    border-color: #9C0053;
}
.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(156 0 83 / 0.5);
}
.btn-secondary.focus, .btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgb(156 0 83 / 0.5);
}
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:not(:disabled):not(.disabled):active {
    color: #760032;
    background-color: #ffffff;
    border-color: #760032;
}
#calculator {
    background: #fff;
    border-radius: 12px;
    padding: 0;
}
.fib4-logo {
    margin-bottom: 15px;
    text-align: center;
}
.fib4-logo img {
    width: 50px;
}
.promed-logo {
    margin: 0 auto;
    width: 30%;
}
#calculator h1,
#calculator h2,
#calculator h3,
#calculator p,
#calculator a {
    color: #9C0053;
}
#calculator h3 {
    font-weight: 400;
    text-align: center;
}
#calculator h4 {
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}
#calculator h5 {
    font-size: 0.8em;
    font-weight: 300;
}
.calculator-form {
    margin-top: 15px;
}
.calculator-form label {
    color: #9C0053;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}
.calculator-form small {
    color: #9C0053!important;
    font-weight: 300;
    margin: 0;
}
#calculator button[type="submit"] {
    min-width: 80px;
    min-height: 38px;
    line-height: 25px;
    padding: 0 15px;
}
#calculator .btn-loader {
    color: #ffffff;
    display: none;
    font-size: 16px;
}
#calculator .btn-secondary .btn-loader {
    color: #9C0053;
}
#fib-4 .modal {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    bottom: 0;
    height: auto;
    top: unset;
}
#fib-4 .modal-dialog {
    margin: 0;
    max-width: none;
}
#fib-4 .modal-content {
    border: none;
    border-radius: 0;
}
#calculator,
#fib-4 .modal-content {
    background-image: url('../img/app_background.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 100%;
}
#fib-4 .modal-backdrop {
    border-radius: 12px;
    height: 100%;
    width: 100%;
}
#fib-4,
#calculator > .footer {
    padding: 15px;
}
.footer h5 {
    margin: 0;
}
@media (min-width: 576px) {
    body {
        height: 100vh;
    }
    #calculator {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
}