:root {
	--dark:		#3c3c3c;
	--light:	#888;
}

/* Create classes for each of the colors - Start */

.color-dark {
	color: var(--dark) !important;
}

/* Create classes for each of the colors - End */

/* Begin General changes to CSS */

input[type='date'] {
	display: inline-block;
	vertical-align: top;
}

.table .thead-mid th {
	color: #000;
	background-color: #aaadb0;
	border-color: #bbbfc3;
}

form .required label:not(.form-check-label) {
	color: #b60 !important;
	font-weight: bold;
}

form .required label:not(.form-check-label):after {
	content: ' *';
}

form .required input {
	border-color: #b60 !important;
}

form .required input.form-control::placeholder {
	color: #b60 !important;
	font-style: italic;
	opacity: 0.5;
}

.view_mode .form-group {
	margin-bottom: 0;
}

/* End General changes to CSS */

/* Begin Header */

#logo_container {
	padding-top: 30px;
	padding-bottom: 20px;
	background-color: white;
}

#top_menu_container {
	padding-top: 60px;
}

/* Transition effect when header is fixed */
#logo_container,
#top_menu_container,
#header_logo {
	transition: all 0.3s linear;
}

#header_logo {
	padding-right: 10px;
	max-height: 40px;
}

.brand_subtext {
	font-size: 200%;
	font-weight: 600;
}

.test_site {
	font-size: 200%;
	font-weight: 600;
	vertical-align: bottom;
	margin-left: 20px;
	color: red;
}

.vision_brand_text {
	font-size: 150%;
	line-height: 105%;
	font-weight: 600;
}

.vision_test_site {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-top: 100px solid red;
	border-right: 100px solid transparent;
}

.vision_test_site > span {
	position: fixed;
	top: 15px;
	left: 5px;
	font-size: 150%;
	font-weight: 600;
	color: white;
	transform: rotate(315deg);
	text-transform: uppercase;
}

/* Header in fixed position */
.affix #logo_container {
	padding-top: 0;
	padding-bottom: 0;
}

.affix #top_menu_container {
	padding-top: 20px;
}

/* End Header */

/* Begin Top Menu */

#top_menu .nav-item {
	border-left: 1px solid #eee;
}

#top_menu .nav-item:first-of-type {
	border-left: 0;
}

#top_menu .nav-item .nav-link {
	font-weight: 600;
	font-size: 120%;
	white-space: nowrap;
	padding-left: 20px;
	padding-right: 20px;
}

#top_menu .nav-item:first-of-type .nav-link {
}

@media (max-width: 1199px) {
	#top_menu .nav-item .nav-link {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 991px) {
	#top_menu .nav-item .nav-link {
		padding-left: 5px;
		padding-right: 5px;
	}
}

#top_menu .nav-item .nav-link:focus,
#top_menu .nav-item .nav-link.active {
}

/* End Top Menu */

/* Begin Top Menu / Page Body Tabs */

.page_body_tabs {
	padding-top: 20px;
}

.page_body_tabs.nav-tabs .nav-link {
	border: 0;
	margin-right: 6px;
	background-color: var(--light);
	color: white;
}

.page_body_tabs.nav-tabs .nav-link:focus,
.page_body_tabs.nav-tabs .nav-link.active {
	background-color: var(--dark);
}

/* End Top Menu */

#left_col,
#page_body {
	margin: 0;
}

#left_col {
	padding-top: 20px;
}

@media (min-width: 1200px) {
	#left_col,
	#page_body {
		overflow-x: hidden;
		overflow-y: scroll;
	}
}

#left_col_content,
#page_body_content {
	padding-top: 20px;
	padding-bottom: 20px;
}

@media (max-width: 1199px) {
	#left_col_content {
		padding-bottom: 0;
	}
}

/* Begin Action Bar & Modal */

#action_bar {
	padding: 5px 0;
	text-align: center;
	background-color: var(--dark);
}

#action_bar .btn {
	font-weight: 600;
	line-height: 115%;
	height: 58px;
	width: 80px;
	font-size: 80%;
	padding: 3px 0;
	border-radius: 4px;
	margin: 0 3px;
}

#action_bar .btn span.halflings {
	font-size: 32px;
}

@media (max-width: 575px) {
	#action_bar .btn {
		height: 44px;
		width: 68px;
		font-size: 60%;
	}
	#action_bar .btn span.halflings {
		font-size: 22px;
	}
}

#action_bar .btn-group {
	padding: 5px;
}

#action_bar .btn:hover {
	opacity: 0.8;
}

#action_bar .btn-create {
	background-color: #28a745;
	border-color: #28a745;
	color: white;
}

#action_bar .btn-task {
	background-color: #17a2b8;
	border-color: #17a2b8;
	color: white;
}

#action_bar .btn-note {
	background-color: #ffc107;
	border-color: #ffc107;
	color: white;
}

#action_bar_modal .modal-dialog {
	width: 1140px;
	max-width: 95%;
}

#action_bar_modal .modal-header,
#confirmation_modal .modal-header {
	font-weight: 600;
	background-color: var(--dark);
	color: white;
}

#action_bar_modal .modal-header button.close,
#confirmation_modal .modal-header button.close {
	color: white;
}

#action_bar_modal .modal-header .modal-title,
#confirmation_modal .modal-header .modal-title {
	font-size: 150%;
	line-height: 1;
}

#action_bar_modal .modal-body {
	overflow-y: auto;
}

#confirmation_modal {
	top: 40%;
}

/* End Action Bar & Modal */

#cms_alert_msg {
	width: 100%;
}

/* Begin Filters */

.crm_filters {
	margin-bottom: 20px;
}

.crm_filters .card-body {
	padding-top: 10px;
	padding-bottom: 10px;
}

.crm_filters .card-header {
	background-color: transparent;
	border-bottom: 0;
}

.crm_filters .card-header a {
	color: #000;
	font-weight: 600;
}

.crm_filters .collapse .card-body,
.crm_filters .collapsing .card-body {
	background-color: rgba(0, 0, 0, 0.1);
}

/* End Filters */

td.actions {
	white-space: nowrap;
}

.app_form input[type="date"],
.app_form input[type="time"] {
	display: inline-block;
}

#contact_company_details {
	background-color: #ccc;
}

@media (min-width: 1200px) {
	#contact_company_details {
		margin-top: -10px;
		margin-bottom: -10px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

.task-overdue {
	background-color: #fbb !important;
}

.task-warning {
	background-color: #fd4 !important;
}

.task-active {
	background-color: #8f8 !important;
}

#menu_listing a {
	font-size: 90%;
}

.ui-slider {
	margin-top: 14px;
}

.ui-slider .ui-slider-handle {
	width: 32px;
	height: 20px;
	font-size: 12px;
	text-align: center;
	margin-left: -16px;
}

.progress,
.progress-bar {
	height: 100%;
	min-height: 31px;
}

#task_list_table th {
	font-size: 84%;
}

#task_list_table td {
	font-size: 78%;
}

#left_col_close_btn,
#left_col_open_btn {
	position: absolute;
	z-index: 1;
	top: 0;
}

#left_col_close_btn {
	right: 0;
}

#left_col_open_btn {
	left: 0;
}

.tab_counter {
	font-size: 11px;
	border-radius: 20px;
	margin-left: 5px;
	margin-bottom: -5px;
	width: 20px;
	height: 20px;
	display: inline-block;
	text-align: center;
	line-height: 17px;
	border: 1px solid #fff;
}

.nav-link.active .tab_counter {
	border: 1px solid #fff;
}
