/*!

 =========================================================
 * Light Bootstrap Dashboard - v2.0.1
 =========================================================

 * Product Page: http://www.creative-tim.com/product/light-bootstrap-dashboard
 * Copyright 2017 Creative Tim (http://www.creative-tim.com)
 * License (http://www.creative-tim.com/license)

 =========================================================

 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

 */

pre, .pre {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 4px;
    flex-direction: column;
    min-width: 0;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    white-space: pre-line;
    padding: 15px;
    font-size: 0.6em;
}

textarea.pre {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 4px;
    flex-direction: column;
    min-height: 10em;
    width: 100%;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    white-space: pre-line;
    font-family: monospace;
    font-size: 0.8em;
    padding: 10px;
    margin-bottom: 10px;
}

.logo-mini i { /* font-size: 30px; */ }

.sidebar .caret {
    margin-top: 7px;
}

.sidebar .user .info a {
    white-space: normal;
}

.sidebar-mini .sidebar .user .info a {
    white-space: nowrap;
}

.sidebar .user .photo {
    width: 26px;
    height: 28px;
    margin-right: 16px;
    margin-left: 24px;
    margin-top: 3px;
    border: none;
}

.sidebar .nav .nav-item .nav-link i {
    font-size: 1.125rem;
}

.sidebar .nav .nav-item .nav-link .sidebar-mini { 
    font-size: 18px;
    margin-top: 5px;
    margin-left: -3px;
}

.navbar .navbar-nav .notification {
    top: 1px;
    left: 8px;
}

.navbar .navbar-nav .nav-item .nav-link {
    font-size: 1.3rem;
    padding-right: 0px;
}

.navbar .navbar-nav .nav-item .nav-link [class^="fa"] {
    font-size: inherit;
}

.navbar .navbar-info {
    margin: 5px;
    padding-top: 3px;
    color: red;
}

@media screen and (max-width: 991px) {
    
    .navbar .navbar-wrapper {
        max-width: 70%;
    }
    
    .navbar-brand {
        white-space: inherit;
        line-height: 1.1em;
    }  
    
    .navbar .navbar-info {
        display: none; 
    }
}

.sidebar .sidebar-wrapper .nav .nav-link p {
    line-height: 1.5;
}

.dropdown-menu form {
    padding: 15px;
}

.dropdown-menu form .form-group {
    margin-bottom: 0.25rem;
    min-width: 180px;
}

.dropdown-menu form .btn {
    width: 100%;
    margin: 0px;
    max-width: 100%;
    min-width: 180px;
}

.dropdown-menu li.dropdown-item {
    padding: 0px 16px;
}

.dropdown-menu li.dropdown-item:last-of-type {
    padding-bottom: 8px;
}

.dropdown-menu li.dropdown-item table {
    padding: 0px;
    width: 100%;
    font-size: 0.9em;
}

.dropdown-menu li.dropdown-item table td {
    padding: 0px;
}

.dropdown-menu li.dropdown-item table td.timetracking-desc {
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
}

.dropdown-menu li.dropdown-item .btn {
    padding: 0px;
    margin: 0px;
    color: inherit;
}

a.linkform-link {
    cursor: pointer;
}

.card.card-generated .card-header {
    cursor: pointer;
}

.card.card-generated.collapsed .card-header {
    padding-bottom: 15px;
}

.card.card-generated .card-header::after {
    content: '\f2d0';
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    color: rgb(200,200,200);
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 15px;
    cursor: pointer;
}

.card.card-generated.collapsed .card-header::after {
    font-weight: 400;
}

.card.card-generated.collapsed .card-body, .card.card-generated.collapsed .card-footer {
    display: none;
}

.card-header i {
    float: left;
    width: 40px;
    height: 30px;
    font-size: 24px;
}

h4.card-title {
    line-height: 1.3em;
    font-size: 1.2rem;
}

.card-desc {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card .card-desc {
    margin-top: 15px;
    padding: 15px 15px 10px 15px;
    border-top: 1px solid rgba(0, 0, 0, .125);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.card .card-desc p {
    color: rgb(200,200,200);
    margin-bottom: 0.25rem;
}

.card .card-footer.action {
    border-top: 1px solid rgba(0,0,0,.125);
}

.card .card-footer p:last-of-type {
    margin-bottom: 0px;
}


input.hidden {
    -webkit-appearance: unset;
    overflow: hidden;
    width: 1px;
    height: 1px;
    border: navajowhite;
    outline: none;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 0px;
    line-height: 1px;
    white-space: normal;
    display: block;
    position: absolute;
}

.input-group-prepend {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background: lightgrey;
    padding: 8px 12px;
    height: 40px;
}

.input-group-prepend .input-group-text i {
    line-height: 24px;
}

select + input, .btn-group + input {
    margin-top: 5px;
}

.card.stacked-form .card-footer {
    border-top: 1px solid rgba(0, 0, 0, .125) !important;
}

/* Form */

.form-group {
    margin-bottom: 0.25rem;
}

.form-group.label-floating {
    margin-top: 1.1rem;
}

/*
.form-group.label-floating .control-label {
    position: absolute;
    margin-top: 0.25rem;
    margin-left: 6px;
    text-transform: inherit;
    padding-top: 0px;
    margin-bottom: 0px;
    font-size: 1rem;
    }
*/

.form-group.label-floating .control-label {
    position: absolute;
    margin-top: -0.85rem;
    padding-top: 0px;
    margin-bottom: 0px;
    font-size: 0.5rem;
    text-align: left;
    }

.form-check .form-check-label {
    padding-left: 1.5rem;
    line-height: 30px;
}

.form-control {
    padding: 3px 6px;
    height: 30px;
    }

textarea.form-control {
    min-height: 5em;
}

[type="number"].form-control {
    padding-right: 1px;
}

textarea.form-control.small {
    height: 10em;
    resize: none;
}

input.form-control.small, select.form-control.small { width: 33%; display: initial; }
input.form-control.medium, select.form-control.medium { width: 66%; display: initial; }

textarea.form-control.medium {
    height: 15em;
    resize: none;
}

textarea.form-control.large {
    height: 20em;
    resize: none;
}

textarea.form-control.autogrow {
    min-height: 5.5em;
}

.input-group-addon {
    padding: 3px .25rem;
}

.form-group.label-floating input.form-control {
    margin-top: 2px;
}

/* DragDrop */ 

ul.sortable li.sortable { display: block; }

ul.sortable li.sortable .row { background: rgba(0, 0, 0, .02); margin-bottom: 1px; }
ul.sortable li.sortable .row:hover { background: rgba(0, 0, 0, .05); }
ul.sortable li.placeholder { list-style-type: none; }
ul.sortable li.placeholder .row { background-color: #ff9510; height: 3px; }

#billposts { padding: 15px; }
#billposts .billposts-hidden { display: none; }


/* Card */

.card .table.no-padding tbody tr>td:first-of-type,
.card .table.no-padding thead th:first-child{
    padding-left: 0px;
}

.card .table.no-padding tbody tr>td:last-of-type,
.card .table.no-padding thead th:last-child{
    padding-right: 0px;
}

.card form#widgetsortform [class*="col-"] {
    padding: 0px;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-4 .card .col-md-1,
.col-md-4 .card .col-md-2,
.col-md-4 .card .col-md-3,
.col-md-4 .card .col-md-4,
.col-md-4 .card .col-md-5,
.col-md-4 .card .col-md-6 {
    max-width: none;
    flex: none;
    width: auto;
    }

/* SPECIAL BUTTONS */

.btn-sup {
    border-radius: 4px;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 0.7rem;
}

/* table */

.data-table, .list-table { width: 100%; }

.data-table .string-short, .list-table .string-short {
    display: none;
}

.list-table th {
    font-weight: 300;
    font-size: 1.2em;
}

.table.small-row>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    padding-top: 3px;
    padding-bottom: 3px;
}

.td-actions {
    white-space: nowrap;
}

.td-actions .btn {
    padding-left: 3px;
    padding-right: 3px;
}

.list-table tbody tr:nth-child(odd) {
    background: rgb(245,245,245);
}

/* select2 */

.select2.select2-container {
    min-width: 100%;
    max-width: 100%;
}

.select2.select2-container .selection {
    font-size: 0.9em;
}

/* DEV */
/*
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    border-left: 1px solid black;
}
*/

/* TABLE LAYOUTS */

table.cardtable, table.datatable { 
    width: 100%;
    border-collapse: collapse;
}

table.cardtable td, table.datatable td {
    border: 1px solid #eee;
    padding: 5px;
    vertical-align: top;
}

table.datatable tr.inactive {
    background-image: url(/media/screen/inactivebg.png);
}

.col-td-1 { width: 8.33333%; }
.col-td-2 { width: 16.6666%; }
.col-td-3 { width: 25%; }
.col-td-4 {}
.col-td-5 {}
.col-td-6 { width: 50%; }
.col-td-7 {}
.col-td-8 {}
.col-td-9 { width: 75%; }
.col-td-10 {}
.col-td-11 {}
.col-td-12 { width: 100%; }

/* PRINTING AREA LAYOUT */

.printarea {
    padding: 30px;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

@media screen {
    .printarea { 
        overflow-x: scroll;
    }
}

.printarea table.pageheader, .printarea table.pagefooter {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.printarea table.printtable {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.printarea table.printtable th {
    border: 1px solid rgb(200,200,200);
    border-top: none;
    border-collapse: collapse;
    padding: 5px;
    line-height: 1.1em;
    vertical-align: bottom;
    text-align: center;
}

.printarea table.printtable th:first-child {
    border-left: none;
}

.printarea table.printtable th:last-child {
    border-right: none;
}

.printarea table.printtable td {
    border: 1px solid rgb(200,200,200);
    border-collapse: collapse;
    padding: 5px;
}

.printarea table.contenttable td.td-2 {
    width: 16.66%;
}

/* DARK MODE */


@media (prefers-color-scheme: dark) {
    body {
        background: rgb(50, 50, 50);  
    }
}