﻿/*

    PHD Consulting Dashboard V3
    Copyright 2021-2022 PHD Consulting

*/

html {
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-width: 1280px;
}

body {
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-width: 1280px;
    margin: 0 0;
    padding: 0 0;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 175%;
    color: #000000;
    background-color: #ecf2f5;
}

#frmMaster {
    display: block;
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
}

/* Bootstrap Customizations */

blockquote {
    margin-left: 0;
    padding: 10px 0 10px 20px;
    font-style: italic;
    border-left: 5px solid #DDDDDD;
}

blockquote p:last-child {
    margin-bottom: 0;
}

label {
    margin-bottom: 0;
}

input.form-control:disabled,
input.form-control[readonly],
select.form-control:disabled,
select.form-control[readonly],
textarea.form-control:disabled,
textarea.form-control[readonly] {
    background-color: #f8f8f8;
    opacity: 1;
}

textarea.form-control {
    resize: none;
}

.card {
}

.card .card-header {
    padding: 10px 15px;
    font-size: 125%;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 150%;
    background-color: #0A5A6E;
    border-bottom-width: 0;
}

.card .card-header.card-header-dark {
    color: #FFFFFF;
    background-color: #0A5A6E;
}

/* Login Page */

.forgot-password {
    font-size: 14px;
    line-height: 150%;
    text-align: right;
}

/* ************************************************************************************** */
/* Dashboard Layout */
/* ************************************************************************************** */

/* Outer Wrapper */

.wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

/* Header */

.header {
    flex-grow: 0;
    width: 100%;
    color: #FFFFFF;
    background-color: #0A5A6E;
}

.header a:not(.btn),
.header a:not(.btn):visited {
    color: #FFFFFF;
}

.header a:not(.btn):hover {
    color: #FFFF00;
}

.header .col-auto.logo {
    width: 18rem;
    min-width: 18rem;
    padding: 20px 20px;
    background-color: #084756;
}

.header .col.user-info {
    padding: 20px 20px;
    text-align: right;
}

.header .col.user-info span.user-name {
    display: block;
    font-size: 22px;
    font-weight: bold;
    line-height: 150%;
}

.header .col.user-info span.user-office {
    display: block;
    font-size: 16px;
    line-height: 150%;
}

.header .col-auto.user-icons {
    padding: 20px 30px 20px 0;
}

/* Inner Wrapper (has sidebar + content wrapper) */

.inner-wrapper {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
}

/* Sidebar */

.sidebar {
    background-color: #FFFFFF;
    width: 18rem;
    min-width: 18rem;
    padding: 15px 15px;
    border-right: 1px solid rgba(0,0,0,.125);
}

.sidebar .nav-link,
.sidebar .nav-link:visited {
    color: #606060;
    border: 0 none;
    border-bottom: 1px solid #EEEEEE;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}

.sidebar .nav-link:hover {
    color: #000000;
    background-color: #EEEEEE;
}

.sidebar .nav-item:last-child .nav-link,
.sidebar .nav-item:last-child .nav-link:visited,
.sidebar .nav-item:last-child .nav-link:hover {
    border-bottom: 0px none;
}

.sidebar .nav-item .badge {
    position: relative;
    top: -2px;
}

.sidebar .nav-item.submenu {
    border-bottom: 1px solid #EEEEEE;
}

.sidebar .nav-item.submenu .nav-link {
    border-bottom: 0px none;
}

/* Content Wrapper (has content + footer) */

.content-wrapper {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

/* Page Specific Header */

.page-header {

}

/* Title Section */

.title {
    font-weight: bold;
}

/* Breadcrumb Section */

.breadcrumb {
    margin-bottom: 0;
    padding: 20px 30px 25px 30px;
    font-size: 28px;
    font-weight: bold;
    color: #084756;
    line-height: 36px;
    background-color: transparent;
}

.breadcrumb .breadcrumb-item a,
.breadcrumb .breadcrumb-item a:visited {
    color: #084756;
    text-decoration: none;
}

.breadcrumb .breadcrumb-item a:hover {
    color: #0A5A6E;
    text-decoration: none;
}

/* Content */

.content {
    flex-grow: 1;
    padding: 0 15px 30px 15px;
}

.content .card {
    margin-bottom: 30px;
}

.content .card .card-title {
    margin-bottom: 1rem;
    font-size: 133%;
    font-weight: bold;
    color: #084756;
    line-height: 100%;
}

/* Footer */

.footer {
    flex-grow: 0;
    width: 100%;
    padding: 0 30px 5px 30px;
    font-size: 16px;
    color: #606060;
    text-align: right;
}

/* ************************************************************************************** */
/* Tables */
/* ************************************************************************************** */

.task-icons {
    white-space: nowrap;
    width: 1%;
    font-size: 24px;
    border-right: 1px solid #CCCCCC;
}

.task-icons a .fa-edit,
.task-icons a:visited .fa-edit {
    color: #00BB00;
}

.task-icons a:hover .fa-edit {
    color: #009900;
}

.task-icons a .fa-print,
.task-icons a:visited .fa-print {
    color: #666666;
}

.task-icons a:hover .fa-print {
    color: #444444;
}

.task-icons a .fa-trash-alt,
.task-icons a:visited .fa-trash-alt {
    color: #DC3545;
}

.task-icons a:hover .fa-trash-alt {
    color: #C82333;
}

.task-icons a .fa-trash-restore,
.task-icons a:visited .fa-trash-restore {
    color: #00BB00;
}

.task-icons a:hover .fa-trash-restore {
    color: #009900;
}

.plans {
}

.plans .plan {
    padding: 15px 15px;
}

.plans .plan:nth-child(2n+1) {
    background-color: #EEEEEE;
}

.td-fit {
    white-space: nowrap;
    width: 1%;
}

/* Documents Pages */

.documents-list {

}

.documents-list a,
.documents-list a:visited,
.documents-list a:hover {
    color: #000000;
    text-decoration: none;
}

.documents-list a .fa-file-pdf,
.documents-list a:visited .fa-file-pdf {
    color: #CC0000;
}

.documents-list a:hover .fa-file-pdf {
    color: #CC0000;
}

.documents-list a .fa-file-excel,
.documents-list a:visited .fa-file-excel {
    color: #009900;
}

.documents-list a:hover .fa-file-excel {
    color: #009900;
}

.char-counter {
    position: absolute;
    display: inline-block;
    bottom: 4px;
    right: 8px;
    font-size: 12px;
    font-weight: normal;
    color: #999999;
    line-height: 150%;
    text-align: right;
}

/* Messaging System */

.message-unread td {
    font-weight: bold;
}

.message-name {
    width: 30%;
}

.message-subject {
}

.message-date {
    white-space: nowrap;
    width: 1%;
}

/* Print Stuff */
@media only print {
    .header {
        display: none;
    }

    .footer {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .breadcrumb {
        display: none;
    }

    .no-print {
        display: none;
    }

    .card {
        border: 0 none;
    }

}
