﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #777;
    border-color: #fff
}
/* Page-level compacting */
.compact-form .form-control,
.compact-form .form-select {
    padding: .15rem .35rem;
    font-size: .80rem;
    line-height: 1.2;
    border-radius: .2rem;
    min-height: unset;
    height: calc(1.2em + .30rem + 2px);
}

/* XS size for tiny fields (use class explicitly) */
.form-control-xs {
    padding: .10rem .30rem;
    font-size: .75rem;
    line-height: 1.15;
    border-radius: .2rem;
    height: calc(1.15em + .20rem + 2px);
}

/* Buttons, labels, helpers */
.compact-form .btn {
    padding: .25rem .5rem;
    font-size: .80rem;
    border-radius: .25rem;
}

.compact-form .input-group-text {
    padding: .15rem .35rem;
    font-size: .80rem;
}

.compact-form .form-label {
    margin-bottom: .2rem;
    font-size: .80rem;
}

/* Grid gap tightening */
.compact-form .row.g-1 {
    --bs-gutter-x: .25rem;
    --bs-gutter-y: .25rem;
}

.compact-form .row.g-2 {
    --bs-gutter-x: .4rem;
    --bs-gutter-y: .4rem;
}

/* Validators */
.compact-form .text-danger.small {
    font-size: .72rem;
    margin-top: .15rem;
}

