body, html {
    user-select: none;    
}
body {
    background: #fafafa;    
    padding-top: 0 !important;
    padding: 0;
    background: #c7cbd0;
    overflow-y: scroll;
}
#project_manager {
    background: #c7cbd0;
    width: 100%;

    margin: 0 !important;
}
.head {
    z-index: 2;
    position: sticky;
    top: 0px;    
    width: 100%;
    background-color: #eff1f4;    
}
.divider {
    border-bottom: 1px solid #cccccc;
}
.main-menu {
    float: none;
    margin: auto;
    display: flex;
    margin: 30px 0 0 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
.main-menu button {
    font-size: 15px;
    color:#f3ebd4;
}
.left {
    float: left;
}
.center {
    float: left;
    text-align: center;    
}
.right {
    float: right;
    text-align: right;
}
.center h5 {
	width: fit-content;
	cursor: pointer;
	margin: 20px auto 0 auto;
}
.company_project_title {
    cursor: pointer;
}
#gridDemo .dropdown-menu,
.project .dropdown-menu {
    min-width: 90px;
}
.main {
    display: block;
    padding: 0 10px 20px 10px;
    background-color: #eff1f4;
    width: fit-content;
    margin: 10px auto 20px auto;
    box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: 10px;
    width: 1060px;
}
.priority {
    float: left;
}
.priority_dropdown {
    float: right;
}
.search {
    margin: 30px 0 20px 0;
    width: 258px;
}
.priority_dropdown {
    
}
.left_header_col {
    padding: 0;
    width: 13%;
}
.middle_header_col {
    width: 37%;
}
.right_header_col {
    width: 50%;
}
.header_col {
    float: left;
}
.btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: 10px;
    border-radius: .2rem;
  }
.company_project_title {
    float: left;
    margin: 35px 0 10px 0;
    white-space: nowrap;
    /*text-shadow: #a3a3a3 1px 0 10px;*/
    color: #5d5d5d;    
}
.project {
    border: 1px solid #c5c5c5;
    border-radius: 5px;
    float: left;
    margin-top: 20px;
    margin-right: 10px;    
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
    background: #eaeaea;
    
}
[data-bs-theme="dark"] {    
    .company_project_title {
        color: #000000 !important;
    }
    .status {
        color: #ffffff !important;
    }
    .main, .head {
        background: darkgray;
    }
    .bg-body h6, .bg-body p {
        color: white;
    }
    .list-group {
        background: #707070;
    }
    .list-group-item {
        background:#434343;
    }
    #gridDemo .title {
        color: white;
    }    
    .bg-warning-subtle {
        background-color: var(--bs-warning-bg-subtle) !important;
    }
    .dropdown-menu {
        --bs-dropdown-bg: #666c72;
        --bs-body-color: white;
        --bs-body-bg: rgba(34, 36, 35, 0.7);
    }
    #project_manager .dropdown-menu {
        background: #434343 !important;
    }
    #project_manager .dropdown-menu a {
        color: white;
    }
    .dropdown-item:focus, .dropdown-item:hover {
        color: black !important;
        background-color: white;
    }
    .header_bar {
        background-color: #31466c;
    }
    .users_body .bg-body {
        background: #434343 !important;
    }
    .highlight {
        background: #266d26;
    }
    .dropdown-item {
        color: white;
    }
    .item_highlight {
        border: 1px solid royalblue !important;
        background: aliceblue !important;
        color: black;
    }
}
.cover {
    z-index: 3;
    display: none;
    background: #a7a7a7;
    position: fixed;
    margin: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0.8;
}
.create_project_main {
    z-index: 4;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
}
.create_project {
    /*
    display: none;
    bottom: 10px;
    background: #e7e7e7;
    padding: 20px;
    left: 39%;
    border-radius: 5px;
    box-shadow: 4px 4px #bababa;
    margin: auto;
    margin-bottom: 20px;
    width: 1130px;
    */
}
#project_description {
    height: 300px;
}
.create_project button {
    border-radius: 5px;
    border: 1px solid #c5c5c5;
    padding: 5px;
}
.new_project {
    border: 1px solid #c5c5c5;
    min-height: 30px;
    margin-bottom: 10px;    
    background: #ffffff;
    border-radius: 5px;
    padding-left: 10px;
    padding-top: 5px;
    overflow-y: auto;
}
.title {
    font-weight: 600;
    font-size: 13px;
}
#gridDemo .title {
    color: darkgreen;
}
#development .title {
    background: cornflowerblue;
    color: white;
}
#testing .title {
    background-color: cadetblue;
    color: white;
}
#live .title {
    background: chocolate;
    color: white;
}
#maintenance .title {
    background-color: bisque;
    color: dimgray;
}
.sortable_list {
    list-style-type: none; 
    margin: 0;
    padding: 5px 0 0 0;
}

.sortable_list .list-group-item {
    margin: 0 5px 5px 5px;
    padding: 10px 10px 10px 10px;
    border-radius: 5px;
}

.past_projects .title,
.sortable_list .list-group-item .title {
    float: left;
    text-align: center;
    padding: 0px 9px 2px 9px;
    width: fit-content;
    border: 1px solid #ffc107;
    border-radius: 5px;
}
.priority-btn {
    margin-top: 3px;
    float: left;
}
.priority-btn .priority-text {
    display: none;
}

.priority-btn:hover .priority-text {
    display: block !important;  
    float: left;
}
.priority-btn::after {
    margin-left: 2px;
}
.status {
    margin: 5px 0 0 10px;
}

.showhide {
    float: right;
    cursor: pointer;
    /* width: 30px; */
    /* height: 30px; */
    text-align: center;
    margin-top: -10px;
    margin-right: -10px;
    padding: 8px;
}

h3 {
    font-weight: bold;
}

h4 {
    font-weight: bold;
}

h5 {
    font-weight: bold;
}

h6 {
    font-weight: bold;
    color: #535353;
}

.description {
	margin-top: 10px;
    min-height: 135px;
    font-size: 15px;
}

.closed {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* number of lines to show */
            line-clamp: 5; 
    -webkit-box-orient: vertical;
}
.list-group {
    margin: 20px 5px 0 5px !important;
    padding: 0 !important;
    width: 250px;
}

.clear {
    clear: both;
}

.ghost {
    opacity: 0.4;
}
.header_bar {
    background: cornflowerblue;
    color: #ffffff;
}
button {
    /*
    margin: 40px 20px;
    float: right;
    */
}
.item_highlight {
    border: 1px solid royalblue !important;
    background: aliceblue !important;
}
.locked {
    
}
a, a:link ,
  a:visited,
  a:hover,
  a:active { 
    text-decoration: none; 
}
.btn-bd-primary {
    --bd-violet-bg: #0d6efd;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
  }
.btn {
    /*width: 130px !important;*/
}

#project_manager .dropdown-menu {
    background: #cfe2ff;
    --bs-body-color: black !important; /* Change text color to black */    
    --bs-body-bg: rgba(34, 36, 35, 0.7); /* Change background color to dark green */
}
.proj_no {
    font-weight: normal;
    font-size: 12px;
    margin-left: 0; 
}
.custom-tooltip {
    --bs-tooltip-bg: var(--bd-violet-bg);
    --bs-tooltip-color: var(--bs-white);
}
.sidebar {
    z-index: 5;
    width: fit-content;
    height: 100vh;
    top: 0;
    padding: 0;
}

.sidebar .dropdown-menu {
    padding-left: 0;
    padding-right: 0;
}

.sidebar ul {
    width: 100%;
}
.sidebar ul.nav li a {
    padding: 25px;
}

.past_projects_body, .users_body, .settings, .profile {
    display: none;
    max-width: 1040px;
    margin-top: 20px;
}
.grid-square {
    width: 250px;
    height: fit-content;
    display: inline-table;
    background-color: #fff;
    border: solid 1px rgb(0, 0, 0, 0.2);
    padding: 10px;
    margin: 2px;
    border-radius: 5px;
}
.list-group-item:first-child, .list-group-item:last-child {
    border-radius: 5px;
}
.info {
    float: right;
    margin-right: 7px;
    --bs-tooltip-bg: #434343;
    --bs-tooltip-color: white;
}
.highlight{ 
    background:#00FF00; 
    padding:1px; 
    border:#00CC00 dotted 1px; 
}

#loadingButton {
    display: none;
}
.user_description {
    width: 100%;
}

.bd-mode-toggle {
    z-index: 1500;
}
.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}
#update_user_login, 
#update_user_description {
    right: 0;
}
#profile_information {
    text-align: left;
}
#profile_name {
    font-size: 20px;
}
#profile_description {
    font-size: 20px;
}
@media only screen and (max-width: 600px) {
    body {
        padding: 0 !important;
    }
    .head {
        top: 62px;
    }
    .grid-square {
        width: 100%;
    }
    .project {
        float: none;
        width: calc(100% - 38px);
        margin: 20px auto !important;
    }
    .create_project {
        max-width: 373px;
    }

    #project_description {
        height: calc(100vh - 300px);
    }
    .main {
        margin: 0 0 50px 0!important;
    }
    .body {
        
    }
    .company_project_title {
        text-align: center;
        margin: 34px 0 15px 0;
    }
    .main-menu {
        float: none;
        margin: auto;
    }
    .main {
        padding: 0 0 0 0 !important;
        width: fit-content;
        margin: auto;
    }
    .row {
        margin: 0 !important;
    }
    .divider {
        margin-top: 20px;
    }
    .left_header_col {
        padding: 0;
        width: 31%;
    }
    .middle_header_col {
        width: 69%;
    }
    .right_header_col {
        width: 100%;
    }
    .search {
        width: fit-content;
    }
    .sidebar {
        width: 100%;
        height: auto;
    }
    #profile_picture, #profile_information {
        width: 100%;
    }
}