body,
html {
    height: 100%;
}

h1 {
    text-align: center;
    color: rgb(64, 64, 79);
}

select.form-control-fa {
    font-family: 'FontAwesome', Arial, sans-serif;
}

/* Remove rounded corners added to <select> tags by the user agent */
select {
    -webkit-appearance: none;
}

/* Change background of legend fields to match normal fields */
.form-control--legend[readonly] {
    background-color: rgb(255, 255, 2550);
}




/* Add Bootstrap 4 style padding overrides */

.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: calc(1rem * .25) !important;
}

.m-2 {
    margin: calc(1rem * .5) !important;
}

.m-3 {
    margin: 1rem !important;
}

.m-4 {
    margin: calc(1rem * 1.5) !important;
}

.m-5 {
    margin: calc(1rem * 3) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: calc(1rem * .25) !important;
}

.mb-2 {
    margin-bottom: calc(1rem * .5) !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: calc(1rem * 1.5) !important;
}

.mb-5 {
    margin-bottom: calc(1rem * 3) !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.ml-1 {
    margin-left: calc(1rem * .25) !important;
}

.ml-2 {
    margin-left: calc(1rem * .5) !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.ml-4 {
    margin-left: calc(1rem * 1.5) !important;
}

.ml-5 {
    margin-left: calc(1rem * 3) !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.mr-1 {
    margin-right: calc(1rem * .25) !important;
}

.mr-2 {
    margin-right: calc(1rem * .5) !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mr-4 {
    margin-right: calc(1rem * 1.5) !important;
}

.mr-5 {
    margin-right: calc(1rem * 3) !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: calc(1rem * .25) !important;
}

.mt-2 {
    margin-top: calc(1rem * .5) !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: calc(1rem * 1.5) !important;
}

.mt-5 {
    margin-top: calc(1rem * 3) !important;
}

.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mx-1 {
    margin-left: calc(1rem * .25) !important;
    margin-right: calc(1rem * .25) !important;
}

.mx-2 {
    margin-left: calc(1rem * .5) !important;
    margin-right: calc(1rem * .5) !important;
}

.mx-3 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mx-4 {
    margin-left: calc(1rem * 1.5) !important;
    margin-right: calc(1rem * 1.5) !important;
}

.mx-5 {
    margin-left: calc(1rem * 3) !important;
    margin-right: calc(1rem * 3) !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-1 {
    margin-top: calc(1rem * .25) !important;
    margin-bottom: calc(1rem * .25) !important;
}

.my-2 {
    margin-top: calc(1rem * .5) !important;
    margin-bottom: calc(1rem * .5) !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-4 {
    margin-top: calc(1rem * 1.5) !important;
    margin-bottom: calc(1rem * 1.5) !important;
}

.my-5 {
    margin-top: calc(1rem * 3) !important;
    margin-bottom: calc(1rem * 3) !important;
}

.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: calc(1rem * .25) !important;
}

.p-2 {
    padding: calc(1rem * .5) !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: calc(1rem * 1.5) !important;
}

.p-5 {
    padding: calc(1rem * 3) !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: calc(1rem * .25) !important;
}

.pb-2 {
    padding-bottom: calc(1rem * .5) !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-4 {
    padding-bottom: calc(1rem * 1.5) !important;
}

.pb-5 {
    padding-bottom: calc(1rem * 3) !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.pl-1 {
    padding-left: calc(1rem * .25) !important;
}

.pl-2 {
    padding-left: calc(1rem * .5) !important;
}

.pl-3 {
    padding-left: 1rem !important;
}

.pl-4 {
    padding-left: calc(1rem * 1.5) !important;
}

.pl-5 {
    padding-left: calc(1rem * 3) !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.pr-1 {
    padding-right: calc(1rem * .25) !important;
}

.pr-2 {
    padding-right: calc(1rem * .5) !important;
}

.pr-3 {
    padding-right: 1rem !important;
}

.pr-4 {
    padding-right: calc(1rem * 1.5) !important;
}

.pr-5 {
    padding-right: calc(1rem * 3) !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: calc(1rem * .25) !important;
}

.pt-2 {
    padding-top: calc(1rem * .5) !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pt-4 {
    padding-top: calc(1rem * 1.5) !important;
}

.pt-5 {
    padding-top: calc(1rem * 3) !important;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.px-1 {
    padding-left: calc(1rem * .25) !important;
    padding-right: calc(1rem * .25) !important;
}

.px-2 {
    padding-left: calc(1rem * .5) !important;
    padding-right: calc(1rem * .5) !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.px-4 {
    padding-left: calc(1rem * 1.5) !important;
    padding-right: calc(1rem * 1.5) !important;
}

.px-5 {
    padding-left: calc(1rem * 3) !important;
    padding-right: calc(1rem * 3) !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.py-1 {
    padding-top: calc(1rem * .25) !important;
    padding-bottom: calc(1rem * .25) !important;
}

.py-2 {
    padding-top: calc(1rem * .5) !important;
    padding-bottom: calc(1rem * .5) !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: calc(1rem * 1.5) !important;
    padding-bottom: calc(1rem * 1.5) !important;
}

.py-5 {
    padding-top: calc(1rem * 3) !important;
    padding-bottom: calc(1rem * 3) !important;
}

/* Give clickable table rows a hover color and set the cursor to the pointer */
.table>tbody>tr.row-clickable:hover {
    background: rgb(229, 229, 229);
    cursor: pointer;
}

.table tr {
    transition: background-color ease-in-out 200ms;
}



/* Add a hover transition to the navigation buttons */
.nav a {
    transition: color ease-in-out 200ms;
}

.navbar-demo {
    border-radius: 0;
    background-color: rgb(34, 34, 45);
}

.icon-blank {
    opacity: 0;
}






/*
.bar-authentication {
    margin: 5px -10px 5px -10px;
    padding: 0 25px;
    height: 35px;
    line-height: 35px;
    background: #ececff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.bar-authentication .alert {
    margin: 0;
    padding: 0;
}
*/


.form-group .input-group-addon:only-child {
    border-left: 1px solid;
    border-right: 1px solid;
    border-radius: 4px;
}

.form-check label {
    display: inline;
}

.form-narrow,
.panel-narrow {
    max-width: 330px;
    margin: 0 auto;
}

.form-narrow {
    padding: 15px;
}

.form-narrow h2 {
    display: block;
    margin: 0 6px -1px 6px;
    border: 1px solid rgb(204, 204, 204);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 7px;
    text-align: center;
    background: rgb(235, 235, 245);
    color: rgb(120, 120, 130);
    font-size: 20px;
}

.form-narrow button,
.form-narrow .checkbox,
.form-narrow .alert {
    margin-bottom: 10px;
}

.form-narrow .checkbox {
    font-weight: normal;
}

.form-narrow .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-narrow .form-control:focus {
    z-index: 2;
}

.form-sign-in input[type="text"],
.form-reset input[type="password"]:nth-child(3) {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-sign-in input[type="password"],
.form-reset input[type="password"]:nth-child(5) {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-reset-request input[type="text"] {
    margin-bottom: 10px;
}

.input-group-help {
    transition: background-color 0.25s ease;
}

.input-group-help:hover {
    background-color: rgb(220, 220, 220);
}



/* BEGIN: Required and error field selectors */

.form-group.has-required .input-group-text,
.form-group.has-required .form-control {
    border-color: rgb(100, 100, 200);
}

.form-group.has-required .input-group-text {
    background-color: rgb(230, 230, 255);
}

/* TODO: Fix required addons to not insert the fa in input-group-help containers */
.form-group.has-required .input-group-text:not(.input-group-help):before {
    /*font-family: "FontAwesome";*/
    /*content: "\f06A\00A0";*/
    /*color: rgb(100, 100, 200);*/
}

.form-group.has-error .input-group-text,
.form-group.has-error .form-control {
    border-color: rgb(200, 100, 100);
}

.form-group.has-error .input-group-text {
    background-color: rgb(255, 230, 230);
}

.form-group.has-required.has-error .input-group-text:before {
    /*font-family: "FontAwesome";*/
    /*content: "\f06A\00A0";*/
    color: rgb(200, 100, 100);
}

/* END: Required and error field selectors */



.item-list .list-item-selectable {
    cursor: pointer;
}

.item-list .list-item-selectable:hover,
.item-list .list-item-selectable.active {
    background-color: rgb(235, 235, 245);
}

.item-list-scroll {
    overflow: auto;
}

.item-list .table tbody tr:nth-child(1) td {
    border-top: none;
}

.panel-narrow .panel-footer {
    text-align: center;
}

.row-banner {
    display: none;
    position: absolute;
    top: -1px;
    bottom: -1px;
    width: 165px;
    background: rgb(175, 221, 175);
    color: rgb(75, 100, 75);
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    border-top: 1px solid rgb(155, 201, 155);
    border-bottom: 1px solid rgb(155, 201, 155);
    z-index: 5;
}

.row-banner-right {
    right: 0;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-left: 1px solid rgb(155, 201, 155);

}

.row-banner-left {
    left: 0;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    border-right: 1px solid rgb(155, 201, 155);

}

.row-banner .caption {
    position: absolute;
    top: 50%;
    left: 25px;
    right: 0;
    transform: translate(0, -50%);
}

.row-has-banner td {
    position: relative;
}

textarea.text-area-size-1 {
    height: 75px;
}

textarea.text-area-size-2 {
    height: 150px;
}

textarea.text-area-size-3 {
    height: 200px;
}

textarea.text-area-size-4 {
    height: 250px;
}

/* Medium Devices */
@media all and (min-width: 768px) and (max-width: 991px) {

    textarea.text-area-size-1 {
        height: 125px;
    }

    textarea.text-area-size-2 {
        height: 200px;
    }

    textarea.text-area-size-3 {
        height: 250px;
    }

    textarea.text-area-size-4 {
        height: 300px;
    }

}

/* Small Devices */
@media all and (max-width: 767px) {

    textarea.text-area-size-1 {
        height: 125px;
    }

    textarea.text-area-size-2 {
        height: 200px;
    }

    textarea.text-area-size-3 {
        height: 250px;
    }

    textarea.text-area-size-4 {
        height: 300px;
    }

}