﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set 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 width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.text-primary {
    color: #1d3b60 !important;
}

.text-primary-arm {
    color: #E87722;
}

.bg-arm {
    background-color: #E87722;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .675rem;
    line-height: .5;
    border-radius: .2rem;
}

.btn-link {
    color: #1d3b60;
    
}
    .btn-link a:active {
        color: #1d3b60;
        
    }


.nav-link.text-primary {
    color: #1d3b60;
}

.btn-primary {
    background-color: #1d3b60;
    border-color: #1d3b60;
}

.btn-primary a:active {
    background-color: #1d3b60;
    border-color: #1d3b60;
}


.btn-outline-primary {
    color: #1d3b60;
    border-color: #1d3b60;
}

.btn-outline-primary a:active {
    color: #1d3b60;
    border-color: #1d3b60;
}



.btn-primary.arm-btn {
    background-color: #E87722;
    border-color: #E87722;
}

.btn-primary.arm-btn:hover {
    background-color: #f09a59;
    border-color: #f09a59;
}

.btn-primary.arm-btn:focus {
    background-color: #E87722;
    border-color: #E87722;
    box-shadow: 0 0 0 0.2rem rgba(238, 137, 75, 0.6);
}

.btn-outline-primary.arm-btn {
    color: #E87722;
    border-color: #E87722;
}

.btn-outline-primary.arm-btn:focus {
    color: #E87722;
    border-color: #E87722;
    box-shadow: 0 0 0 0.2rem rgba(238, 137, 75, 0.6);
}


.btn-outline-primary.arm-btn:hover {
    color: white;
    background-color: #E87722;
    border-color: #f09a59;
}

.btn-outline-primary.arm-btn:hover:active {
    color: white;
    background-color: #E87722;
    border-color: #f09a59;
    box-shadow: 0 0 0 0.2rem rgba(238, 137, 75, 0.6);
}

.btn-outline-primary.arm-btn:hover:visited {
    color: white;
    background-color: #E87722;
    border-color: #f09a59;
    box-shadow: 0 0 0 0.2rem rgba(238, 137, 75, 0.6);
}



.note-editor {
    border: 1px solid #ced4da;
}


.table.table-arm td {
    vertical-align:middle;
}

.custom-control {
    padding-left: .5em;
}

.custom-control-label {
    
    height: 0;
    
}

.custom-control-label::before,
.custom-control-label::after {    
    left: 0;
}

.custom-control-input {
    display: none;    
}


/*label.custom-control-label {
    padding-right: 0;
}

.custom-control-label::before,
.custom-control-label::after {
    right: auto;
    left: 0;
}*/


.pagination > li > a {
    
    color: #1d3b60;
    
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    color: #1d3b60;
}

.pagination > .active > a {
    color: white;
    background-color: #1d3b60 !important;
    border: solid 1px #1d3b60 !important;
}


/*.a:link, a:visited, a:focus, a:hover, a:active {
    color: #1d3b60;
}*/



.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 70px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Content
 */

/*[role="main"] {
    padding-top: 133px; /* Space for fixed navbar */
/*}*/

@media (min-width: 768px) {
    [role="main"] {
        padding-top: 48px; /* Space for fixed navbar */
    }
}

/*
 * Navbar
 */

#loading-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: block;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
