/*--------------------------------------------------
    Global
--------------------------------------------------*/
html {
    font-size: 15px;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.record-edit-color {
    background-color: #fff7e8;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5rem 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.1rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

p.message {
    color: #093;
    font-weight: 700;
}

/* Provide sufficient contrast against white background */
a, a:visited {
    color: #0366d6;
    text-decoration: none;
}

a:hover, a:active {
    color: #0366d6;
    text-decoration: underline;
}

a.button {
    background-color: darkseagreen;
    background-color: #5b7a5b;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    /* text-transform: uppercase; */
    color: #fff;
    text-align: center;
    text-decoration: none;
    margin: 20px 0 0 0;
    padding: 20px 40px;
    display: block;
    width: 225px;
}

a.button:hover, a.button:active {
    background-color: darkcyan;
    text-decoration: none;
}

a .navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

b, strong {
    font-weight: 600;
}

dd {
    margin-bottom: .1rem;
    margin-left: 0;
}

.multiline {
    white-space: pre-wrap;
}

/*--------------------------------------------------
    Grid
--------------------------------------------------*/
.row {
    --bs-gutter-x: 0;
}

/*--------------------------------------------------
    Header
--------------------------------------------------*/
header {
    margin-bottom: 1.5rem !important;
    padding-top: 1.5rem !important;
}

    header h1 {
        font-size: 3.5rem;
        font-weight: 300;
    }

/* Homepage 4 Action Boxes spacing */
.action {
    margin-bottom: 60px;
}

/*--------------------------------------------------
    Navigation
--------------------------------------------------*/
.navbar-light .navbar-text {
    color: #727272;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

span.new-cases {
    display: inline-block;
    /* background-color: red; */
    background-color: crimson;
    color: #fff;
    border-radius: 25%;
    font-size: 11px;
    font-weight: bold;
    padding: 3px;
}

/*--------------------------------------------------
    Forms
--------------------------------------------------*/
.form-control {
    font-size: .9rem;
    width: auto;
    max-width: 350px;
    border-radius: 4px;
    padding: .35rem .35rem;
    height: auto;
}

.form-group {
    margin-bottom: 20px;
    padding-right: 50px;
}

label {
    display: block;
    font-weight: 600;
}

input.form-control {
    min-width: 300px;
}

textarea.form-control {
    width: 100%;
    height: auto;
    min-width: 300px;
    max-width: 700px;
}

input[type="datetime-local"].form-control {
    min-width: 200px;
}

select:disabled {
    cursor: not-allowed;
}

select.form-control {
    -webkit-appearance: menulist;
}

.select2-container {
    line-height: 1.0;
    font-size: .9rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: .9rem;
}

.form-control:focus {
    outline: 3px solid #ffd407;
}


.btn {
    line-height: auto;
    font-size: .9rem;
    border-radius: 4px;
    vertical-align: top;
    text-decoration: none !important;
    padding: .35rem 1rem;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    background-color: #093;
    border-color: #093;
    padding: .35rem 1rem;
}

    .btn-primary:hover, .btn-hover:active {
        background-color: #063;
    }

.btn-secondary {
    background-color: #89799c;
    background-color: #ddd;
    border-color: #89799c;
    border-color: #ddd;
    color: #000;
    margin-left: 20px;
    padding: .375rem 2rem;
}

    .btn-secondary:hover, .btn-secondary:active {
        background-color: #655875;
        background-color: #bbb;
        border-color: #bbb;
        color: #000;
    }

.btn-light {
    background-color: #ddd;
    border-color: #ddd;
}

    .btn-light:hover, .btn-light:active {
        background-color: #bbb;
    }

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    padding: .375rem 2rem;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.control-label.required:after {
    content: " *";
    color: red;
}

span.required {
    color: red;
}

/*--------------------------------------------------
   Search Forms
--------------------------------------------------*/
.search-form label {
    display: inline-block;
    width: 75px;
}

.search-form input[type="text"] {
    display: inline-block;
    margin-right: 10px;
    width: 95%;
    max-width: 225px;
    min-width: 200px;
}

.search-form select {
    display: inline-block;
    margin-right: 10px;
    width: 95%;
    max-width: 225px;
    min-width: 200px;
}

.search-form input[type=submit] {
    display: inline-block;
    margin-right: 10px;
}

/*--------------------------------------------------
    Table
--------------------------------------------------*/
.table {
    /* font-size: 0.95rem; */
    font-size: 0.85rem;
    color: #333;
    line-height: 1.15;
}

    /*
.table thead td {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}
*/

.table thead {
    border-top: solid 1px#666;
    border-bottom: solid 1px #666;
}

.table th {
    padding: .5rem .25rem .4rem .25rem
}

.table thead th a {
    /* color: #fff; */
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}

.table thead th a:hover, .table thead th a:active {
    /* color: #ffc107; */
}

.table thead th.selected a,
.table thead th.selected a:visited {
    color: #FFd407;
}

.table tbody tr:nth-child(even) {
    background-color: #f6f6f6;
}

.table td {
    padding: .4rem .25rem .3rem .25rem
}

.table .btn {
    color: #0366d6;
    margin-right: .1rem;
    padding: .15rem 1rem .25rem 1rem;
    line-height: 1.1rem;
}

.table .btn-primary { color: #fff; }

.table .new {
    /* color: #0366d6; */
    color: #333;
    font-weight: 650;
}

.table .new .actions {
    color: #333;
    font-weight: 400;
}

.table .badge {

    text-align: center;
    padding: .4rem;
}

.table .role-badge {
    width: 80px; /* pick a width that fits your longest role */
}

/*--------------------------------------------------
    Home Page / Theme
--------------------------------------------------*/
.home-icon {
    margin-bottom: 20px;
}

/*--------------------------------------------------
    Details
--------------------------------------------------*/
.recordBox {
    border-radius: 10px;
    background-color: #FEFAE0;
    background-color: #f5efca;
    background-color: #fff7e8;
    padding: 10px 10px 10px 15px;
}

/*--------------------------------------------------
    Paging
--------------------------------------------------*/
ul.paging {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul.paging li {
    display: inline-block;
    padding-right: 10px;
    /* float: left; */
}

.paging a {
    background-color: transparent;
    border: none;
    color: #0366d6;
}

.paging a:hover,
.paging a:active {
    background-color: transparent;
    border: none;
    color: #0366d6;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    background-color: transparent;
    border: none;
}

/*--------------------------------------------------
    Footer
--------------------------------------------------*/
footer {
    border-top: solid 1px #808080;
    /* position: absolute; */
    /* bottom: 0; */
    color: #d8d8d8;
    width: 100%;
    height: 100px;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    margin-top: 60px;
}
