/** NEW STYLES FOR BOOTSTRAP 5 **/
body {
	padding-top: 55px;
	padding-bottom: 40px;
	overflow: scroll;
}
.alert-warning {
	margin-bottom: 0;
}
.navbar .container-fluid {
	padding-bottom: 0;
}
.modal-content .modal-body .row {
	margin-bottom: .65rem;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/** Company Status Board **/
.ls-new {
	background-color: #b2b2d8;
}
.ls-qualified {
	background-color: #9999cc;
}
.ls-meeting {
	background-color: #7f7fbf;
}
.ls-proposal {
	background-color: #6666b2;
}
.ls-negotiation {
	background-color: #4c4ca6;
}
.ls-client {
	background-color: #323299;
}
.company-status-dropdown {
	min-width: 200px;
}
.company-status-dropdown button {
	width: 100%;
}
.quote-card:hover {
	cursor: pointer;
	border-color: #6c757d;
}
.quote-card:hover .card-header {
	background: #6c757d;
	color: #fff;
}

#projects-grid .projects-grid-column.leads-grid-column div a {
	float: left;
	font-size: 1.2em;
}
.content-header i {
	float: right;
}
.requirement-outline {
	border: solid 1px #F8F9FA;
}
.requirement-outline:hover {
	border-color: #198754;
}
body .company-header-activities {
	background-color: #DCE4F2 !important;
}
body .company-header-quotes {
	background-color: #BFC7D9 !important;
}
body .company-header-projects {
	background-color: #A0B3D9 !important;
}
body a.btn {
	text-decoration: none;
} 

/** NAVBAR **/
body .navbar.bg-dark {
	color: #000 !important;
}
body .navbar-dark .navbar-nav .nav-link {
	color: #fff;
}
body .navbar-dark .navbar-nav .nav-link:hover {
	text-decoration: none;
	color: rgba(255,255,255,0.6);
}
body .navbar .navbar-brand img {
	max-width: 175px;
	width: auto;
	height: auto;
}
body .navbar .dropdown-item {
	text-decoration: none;
	background-color: #212529;
	color: #fff;
}
body .navbar .dropdown-item:focus, body .navbar .dropdown-item:hover {
	color: rgba(255,255,255,0.6);
}
body .navbar .nav-item a {
	font-size: .8em;
}

/** SITEMAP **/
.project-pages .sitemap-simple {
	color: #fff3b2 !important;
}
.project-pages .sitemap-standard {
	color: #ffe766 !important;
}
.project-pages .sitemap-custom {
	color: #ffd700 !important;
}



.container-fluid {
	/*padding-bottom: 6em;*/
}

.fixed-save-button {
	background: #fff;
	box-shadow: -3px 0 5px 1px rgba(0, 0, 0, 0.5);
}

/** LOGIN **/
.form-signin {
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}
.form-signin .form-signin-heading, .form-signin .checkbox {
	margin-bottom: 10px;
}
.form-signin .checkbox {
	font-weight: 400;
}
.form-signin .form-control {
	position: relative;
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
}
.form-signin .form-control:focus {
	z-index: 2;
}
.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/** TOP BAR **/
.navbar-brand img {
	width: 2em;
	height: auto;
	padding-right: .5em;
}

/* DASHBOARD */
/*
 * Base structure
 */
/*
 * Typography
 */
h1 {
	padding-bottom: 9px;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
}

/*
 * Sidebar
 */
.sidebar {
	position: fixed;
	top: 51px;
	bottom: 0;
	left: 0;
	z-index: 1000;
	padding: 20px 0;
	overflow-x: hidden;
	overflow-y: auto;
	/* Scrollable contents if viewport is shorter than content. */
	border-right: 1px solid #eee;
}
.sidebar .nav {
	margin-bottom: 20px;
}
.sidebar .nav.main-nav {
	font-size: 1.1em;
	font-weight: 600;
}
.sidebar .nav.main-nav li a {
	transition: all 150ms;
}
.sidebar .nav.main-nav li a i {
	width: 30px;
	display: inline-block;
	text-align: center;
}
.sidebar .nav.main-nav li a:hover {
	background-color: #007bff;
	color: #fff;
}
.sidebar .nav.main-nav.drop-downs .dropdown div .nav-link {
	font-size: .85rem;
	margin-left: 1rem;
	font-weight: 400;
}
.sidebar .nav.more-drop-downs .dropdown {
	padding-right: 1rem;
	margin-bottom: 1rem;
}
.sidebar .nav.more-drop-downs .dropdown i {
	width: 30px;
	display: inline-block;
	text-align: center;
}
.sidebar .nav.more-drop-downs .dropdown div a {
	font-size: .85rem;
}
.sidebar .nav.more-drop-downs h5 {
	margin-bottom: 0;
	/* font-size: 1rem; */
}
.sidebar .nav.more-drop-downs h5 a {
	text-decoration: none;
	display: block;
}
.sidebar .nav.drop-downs h5 a:after {
	font-family: "FontAwesome";
	content: "\f0d7";
	font-weight: normal;
	display: block;
	float: right;
	padding-right: 1rem;
}
.sidebar .nav.drop-downs h5 a:hover {
	background-color: #007bff;
	color: #fff;
}
.sidebar .nav-item {
	width: 100%;
	box-sizing: border-box;
}
.sidebar .nav-item + .nav-item {
	margin-left: 0;
}
.sidebar .nav-link {
	border-radius: 0;
}

/* Placeholders */
.placeholders {
	padding-bottom: 3rem;
}

.placeholder img {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

/** MODALS **/
.modal-content .form_group {
	padding-bottom: 1em;
}

.modal-content .select2-container,
.select2-container--default .select2-selection--single {
	max-width: 100%;
	width: 100% !important;
}

.select2-container .select2-results__options {
	font-size: .75em;
}

/** SITEMAP **/
.project-sitemap .page-name a {
	display: inline-block;
}
.project-sitemap .indent-1 a {
	padding-left: 2em;
}
.project-sitemap .indent-2 a {
	padding-left: 4em;
}

.project-pages, .employee-org-chart {
	margin-left: 0;
	-webkit-padding-start: 0;
}
.project-pages .employee-link-disabled, .employee-org-chart .employee-link-disabled {
	cursor: default;
	color: #000;
	text-decoration: none;
}
.project-pages > li > ol, .employee-org-chart > li > ol, .admin-tasks > li > ol {
	margin-top: 5px;
	margin-bottom: 15px;
}
.project-pages > li > div, .employee-org-chart > li > div, .admin-tasks > li > div {
	font-weight: 700;
}
.project-pages > li li > div, .employee-org-chart > li li > div, .admin-tasks > li li > div {
	font-weight: 700;
}
.project-pages .list-group-item, .employee-org-chart .list-group-item, .project-pages .list-group-item, .admin-tasks .list-group-item {
	background-color: transparent;
	border: 0;
	padding: .25rem 1.25rem;
}
.project-pages .list-group-item .btn-sm, .employee-org-chart .list-group-item .btn-sm, .admin-tasks .list-group-item .btn-sm {
	padding: .125rem .375rem;
	font-size: .75rem;
}
.project-pages li div, .employee-org-chart li div, .admin-tasks li div {
	display: inline-block;
}
.project-pages li div .fa-bars, .employee-org-chart li div .fa-bars, .admin-tasks li div .fa-bars {
	font-size: 1.6em;
	cursor: move;
	padding: 0 .5em 0 0;
	color: #ccc;
}
.project-pages li div .fa-bars:hover, .employee-org-chart li div .fa-bars:hover, .admin-tasks li div .fa-bars:hover {
	color: #000;
}
.project-pages li span, .employee-org-chart li span, .admin-tasks li span {
	display: inline-block;
	margin-left: .5em;
}
.project-pages li span button, .employee-org-chart li span button, admin-tasks li span button {
	cursor: pointer;
}
.project-pages li li .page-insert, .employee-org-chart li li .page-insert {
	display: none;
}
.project-pages .placeholder, .employee-org-chart .placeholder, .admin-tasks .placeholder {
	outline: 1px dashed #4183C4;
	background-color: #eee;
}

.sitemap-locked .project-pages li span, .sitemap-locked .project-pages li .fa-bars {
	display: none;
}
.sitemap-locked h5 button {
	display: none;
}

.page-content {
	margin-top: 2rem;
}
.page-content .ck-editor__editable {
	min-height: 20vh;
	max-height: 50vh;
	background-color: #fff;
}
.page-content input[type="file"] {
	font-size: .8em;
	width: 225px;
	display: inline-block;
}
.page-content input[type="file"] + p {
	display: inline-block;
	margin-bottom: 0;
}
.page-content .list-group {
	margin-top: 1rem;
}
.page-content .list-group .list-group-item {
	background-color: transparent;
	border: 0;
	transition: all 0.3s ease;
}
.page-content .list-group .list-group-item:hover {
	background-color: #fff;
}
.page-content .list-group .list-group-item:hover a {
	display: inline;
}
.page-content .list-group .list-group-item img {
	max-width: 65px;
	margin-right: 1rem;
	height: auto;
	cursor: pointer;
}
.page-content .list-group .list-group-item span {
	cursor: pointer;
}
.page-content .list-group .list-group-item a {
	vertical-align: middle;
	margin-left: 1rem;
	display: none;
}

.table td, .table th {
	vertical-align: middle;
}

.btn {
	cursor: pointer;
}

.table.table-profit-report td, .table.table-profit-report th {
	padding-top: .1rem;
	padding-bottom: .1rem;
}
/*
.table.table-profit-report td:nth-child(n+8), .table.table-profit-report th:nth-child(n+8) {
	display: none;
}
*/
.ck-editor__editable {
	min-height: 125px;
	max-height: 400px;
}

#ui-datepicker-div {
	z-index: 10000 !important;
}


.table:not(.table-profit-report) th {
	cursor: pointer;
}
.table:not(.table-profit-report) th:hover {
	background-color: #f8f9fa;
}

#modal-quote-requirement-insert .ck-editor__editable {
	min-height: 250px;
}

.ck-editor__editable {
	font-size: .75em;
}

.quote-requirements-attachments img {
	max-width: 200px;
	max-height: 60px;
	margin-bottom: 5px;
	width: auto;
	height: auto;
	transition: all .2s;
}
.quote-requirements-attachments img:hover {
	max-width: 210px;
	max-height: 65px;
	margin-bottom: 0;
}
#unconnected-invoices td:nth-child(2) {
	width: 50%;
}
#project-invoices td:nth-child(1) {
	width: 50%;
}

@media (min-width: 992px) {
	.modal-lg {
		max-width: 900px;
	}
}
