html,body {
    margin: 0;
    padding: 0;
    height: 100%; /* needed for container min-height */
}
#main {
    padding-top: 60px; /* Space for fixed navbar */
    width: 100%;
    min-height: 1px;
}
#wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
[v-cloak] { display: none; }
.footer {
    margin-top: 20px;
    min-height: 50px;
}
/* HEADER
-------------------------------------------------- */
#topbar {
    height: 60px !important;
    min-height: 60px !important;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* SIDEBAR
-------------------------------------------------- */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 60px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background-color: #f8f9fa!important;
}
.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}
.sidebar .nav-sublink {
    font-size: 14px;
    margin-left: 10px;
}
.sidebar .nav-link.active {
    color: #007bff;
}
.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}
.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}
.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}
.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}
.sidebar a.disabled {
    color: #adadad;
}
/* QUESTION SECTIONS
-------------------------------------------------- */
.pageTitle {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 500;
    margin: 30px auto 20px;
}
.sectionTitle {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 30px;
}
.explanationBox {
    border: thin solid #333;
    padding: 10px;
    margin: 10px;
    background: #cccbff
}
.title {
    font-size: 18px;
    font-weight: normal;
}
.subheader .title {
    font-size: 16px;
    font-weight: 500;
}
.hanging-indent {
    padding-left: 22px;
    text-indent: -22px;
}
.reminderText {
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
}
.question-block {
    padding: 5px;
}
.subquestion {
    padding-left: 40px;
}
.header {
    display: inline-block;
    width: 65%;
    margin-right: 2%;
}
.wide-answer .header {
    width: 49%
}
.answers {
    display: inline-block;
    width: 32%;
    margin: 0;
    vertical-align: top;
}
.wide-answer .answers {
    width: 48%
}
.answers:first-child, :not(.header) + .answers {
    width: 100%;
}
.answers label {
    font-weight: normal;
    padding-left: 5px;
}
section {
    padding: 20px 0;
    border-bottom: thin solid #b8b8b8;
}
section > div.question-block:nth-of-type(odd):not(.type-checkbox) {
    background: #ececec;
}
.fadeslow-enter-active, .fadeslow-leave-active {
    transition: opacity 0.5s;
}
.fadeslow-enter, .fadeslow-leave-to /* .fade-leave-active below version 2.1.8 */ {
    opacity: 0;
}
.drug-table .title {
    text-align: right;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    vertical-align: middle;
}

/* HEADER & INPUTS SIZES
-------------------------------------------------- */
.header-small .header {
    width: 150px;
}
.header-med .header {
    width: 250px;
}
.header-large .header {
    width: 350px;
}
.header-xlarge .header {
    width: 520px;
}
.header-services .header {
    width: 320px;
}
.input-small input {
    width: 100px;
}
.label-small label {
    width: 100px;
}
.inline-header .header {
    display: inline-block;
}
.condensed .question-block {
    padding: 0;
}
.condensed .header .title {
    font-size: 16px;
}
.condensed .type-radio label {
    padding: 8px 20px;
}

/* VALIDATION ERROR
-------------------------------------------------- */
div.error {
    box-shadow: 0 0 5px #ff0000;
    border: solid thin #ff5656;
}
.error-message {
    color: red;
    font-style: italic;
}

/* TEXT INPUTS
-------------------------------------------------- */
.type-text.input-block .answers {
    display: block;
}
.type-text input {
    padding: 6px 8px;
    vertical-align: middle;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
    width: 100%;
}
.type-text textarea {
    padding: 6px 8px;
    vertical-align: middle;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
    width: 100%;
}
.type-text input:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.type-text textarea:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
table .type-text input {
    width: 100%;
}

/* SELECT INPUTS
-------------------------------------------------- */
table .type-select select {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* RADIO INPUTS
-------------------------------------------------- */
.type-radio label {
    text-align: left;
    cursor: pointer;
    background: #f1f1f1;
    background: rgba(0,0,0,.01);
    border: 1px solid rgba(0,0,0,.1);
    transition: background .2s ease-in-out;
    padding: 11px 20px;
    display: inline-block;
    width: 100%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    font-weight: normal;
    margin-bottom: 0;
}
.type-radio label:hover {
    background: #bdb5b5;
}
.type-radio label.selected {
    background: #465d8b;
    color: white;
}
.type-radio input {
    display: none;
}
.type-radio.columns-halves label {
    width: 49%;
}
.type-radio.columns-thirds label {
    width: 32%;
}
.type-radio.columns-fourths label {
    width: 24%;
}
.type-radio.columns-fifths label {
    width: 19%;
}
.type-radio.columns-sixths label {
    width: 16%;
}
.type-radio.columns-sevenths label {
    width: 13.5%;
}
.type-radio.columns-fit-life label {
    width: auto;
    min-width: 174px;
}
.type-radio.columns-fit-satisfied label {
    width: auto;
    min-width: 157px;
}
.type-radio.flex .answers {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.type-radio.flex label {
    width: auto;
    flex: auto;
    margin-right: 5px;
}
.type-radio.inline label, .inline .type-radio label {
    width: auto;
}
.type-radio.inline .answers, .inline .type-radio .answers {
    display: inline-block;
}
.type-radio.inline .header, .inline .type-radio .header {
    display: inline-block;
    margin-right: 20px;
}

.type-radio.grid .answers {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    column-gap: 5px;
}
.type-radio.grid.two-rows .answers {
    grid-template-rows: 1fr 1fr;
}
.type-radio.grid.three-rows .answers {
    grid-template-rows: 1fr 1fr 1fr;
}
.type-radio.grid.four-rows .answers {
    grid-template-rows: 1fr 1fr 1fr 1fr;
}

/* CHECKBOX INPUTS
-------------------------------------------------- */
.type-checkbox-only input {
    margin: 0;
    padding: 0;
    display: inline-block;
    cursor: pointer;
    transform: scale(2);
}

/* OTHER
-------------------------------------------------- */
.table-centered td {
    vertical-align: middle !important;
    text-align: center;
}
.input-block {
    display: block;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
}
.input-block-fit {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}
.result-message {
    margin: 10px 0;
}
.success {
    color: #00b155;
    font-style: italic;
}
.overlay-box {
    position: absolute;
    top: 45%;
    left: 25%;
    z-index: 1002;
    border: .1em solid #aaaaaa;
    width: 50%;
    background-color: #eeeeee;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    min-height: 60px;
    display: none;
    opacity: 0;
}
.float-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
tr.selected {
    background-color: #337ab7 !important;
    color: white;
}
.details {
    font-size: 1.25rem;
}
.details label {
    width: 175px;
}
.v-select .dropdown-toggle::after {
    display: none;
}
/* BOOTSTRAP TABLE
-------------------------------------------------- */
.table>thead {
    background-color: #f3f3f3;
}
.b-table.table>tfoot>tr>th[aria-sort], .b-table.table>thead>tr>th[aria-sort] {
    position: relative;
    padding-right: 1.125em;
    cursor: pointer;
}
.b-table.table>tfoot>tr>th[aria-sort][aria-sort=descending]:after, .b-table.table>thead>tr>th[aria-sort][aria-sort=descending]:after {
    opacity: 1;
    content: "\2191";
}
.b-table.table>tfoot>tr>th[aria-sort][aria-sort=ascending]:after, .b-table.table>thead>tr>th[aria-sort][aria-sort=ascending]:after {
    opacity: 1;
    content: "\2193";
}
.b-table.table>tfoot>tr>th[aria-sort]:after, .b-table.table>thead>tr>th[aria-sort]:after {
    position: absolute;
    display: block;
    bottom: 0;
    right: .35em;
    padding-bottom: inherit;
    font-size: inherit;
    line-height: inherit;
    opacity: .4;
    content: "\2195";
    speak: none;
}
.b-pagination {
    float: right;
    margin-top: 0;
}

/* BOOTSTRAP PANEL
-------------------------------------------------- */
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    width: 400px;
    padding: 15px;
}

.not-due a {
    color: #d0d0d0;
}
.due a {
    color: #e92620;
    font-weight: bold;
}
.past-due a {
    color: #c58684;
}

/* TABLE
-------------------------------------------------- */
table {
    width: 100%;
}
th, td {
    padding: 5px;
}
table.no-row-border td {
    border: none;
}
table.no-row-border td + td {
    border-left: 1px solid #676767;
}

.col-form-label {
    font-weight: bold;
}