/*********************************** KERNEL *****************************************/
.moonlight_msgbox{
	padding:10px; 
}

.moonlight_desc{
	font-size:12px;
	font-weight:normal;
}

.moonglight_designer{
	display:none;
	text-align:left;
}

/*********************************** GENERAL *****************************************/
.login_card{
	box-shadow: 0px 0px 15px 5px #d3d8d7;
}
/*********************************** ERROR *****************************************/
div.error {
	margin-left:2px;
	margin-bottom:2px;
	display:block;
	padding: 5px;
}
span.error {
	display:inline;
	padding: 2px;
}
select.error {
	border: 1px solid #CC0000;
}

/** MOONLIGHT REQUIRED END **/
.content_wrapper {
	min-height: calc(100vh - 85px - 64px - 104px);
	position: relative;
}
.content_wrapper_header_footer_only {
    min-height: calc(100vh - 85px - 104px);
    position: relative;
}
/*** HEADER ***/
header.top_heading {
	height : 85px;
}
.topbar {
	padding-left : 5px;
	padding-right : 2em;
}
.topbar a {
	color: white;
}
.topbar a:hover {
	color: white;
	text-decoration:none;
}
.header_menu {
	margin: 0;
	text-align:right;
	display: block;
    list-style-type: disc;
	text-transform: uppercase;
	vertical-align: middle;
}
.header_menu_item {
	display: inline-block;
	padding: 1em 10px;
	min-width: 100px;
	text-align: center;
}
.header_menu_item a {
	font-size: 12pt;
}


.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, min(100%/3, max(150px, 100%/5)))); /*added on 13/4/22 | ori:min(100%/2, max(150px, 100%/4)*/
  justify-content: space-evenly;
  margin: 0 auto;
  text-align: center;
}

.auto-grid-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, min(100%/3, max(100px, 100%/7)))); /*added on 13/4/22 | ori:min(100%/2, max(150px, 100%/4)*/
  justify-content: space-evenly;
  margin: 0 auto;
}

/*** MENU ***/
.menu_bar {
	min-height: 3em;
    padding: 1em 2em .5em 2em;
}
.menu_bar_left {
	display: inline-block;
	padding-left: 1em;
}
.menu_bar_left_1 {
	display: inline-block;
}
.menu_bar_right {
	float: right;
	display: flex;
	align-items: center;
}
.menu_bar_right_1 {
	float: right;
	display: flex;
	align-items: center;
}
.menu_bar_title {
	font-size : 21pt;
}
.menu_bar_title_white {
	font-size : 21pt;
	color: white;
}
.menu_bar_right a {
	font-size : 14pt;
	padding : 0 10px;
}
.menu_bar_right_1 a {
	padding : 0 10px;
}
.menu_bar_right img {
	padding : 0 10px;
}
.dropdown_menu {
	width: max-content;
	min-width: 160px;
}
.dropdown_menu .dropdown_item {
	padding-bottom: 5px;
	overflow: hidden;
}

/*** BODY ***/
.body_container {
	padding-left : 2em;
	padding-right : 2em;
}

/* Page Content*/
.page_body_container {
	display:flex;
	width : 100%;
}
.page_body_content {
	float : right;
	width : 100%;
}

/* Sub Menu */
.page_sub_menu {
	background-color: #3e444f;
	float: left;
	border: 1px solid;
 	border-radius: 1em;
}
.page_sub_menu .sub_menu_hide_show {
	background-color: #3e444f;
	border-left: 1px solid;
	border-right: 1px solid;
}
.page_sub_menu .sub_menu_content {
	display: flex;
	border-top: 1px solid #30363f;
	border-left: 1px solid #30363f;
}
.page_sub_menu #sub_menu_show, .page_sub_menu #sub_menu_hide {
	height: 5em;
	background-color: #6b727f;
	border-top-left-radius: 1em;
	border-top-right-radius: 1em;
}
.page_sub_menu .sub_menu_hide_show  a {
	display: flex;
	height: 50px;
	color: #dfe4ef !important;
	text-decoration: none;
}
.page_sub_menu .sub_menu_focus {
	background-color: #4f565f;
	border-left: 3px solid #29c6d6 !important;
	border-right: 1px solid;
}
.page_sub_menu .sub_menu_focus .sub_menu_icon_frame {
	width: 4.37em;
}
.sub_menu_hide_show .sub_menu_header {
	margin: auto;
	color: #adafb2 !important;
}
.sub_menu_hide_show .sub_menu_header_icon {
	height: 2em;
	width: 2em;
	margin: 0.5em auto;
}
.sub_menu_hide_show .sub_menu_header_text {
	margin-bottom: 0.5em;
	text-align: center;
	font-weight: 500;
	font-size: 12px;
}
.sub_menu_hide_show .sub_menu_icon_frame {
	display: flex;
	width: 4.5em;
}
.sub_menu_hide_show .sub_menu_icon {
	height: 2em;
	width: 2em;
	margin: auto;
	text-align: center;
}
.sub_menu_hide_show .sub_menu_text_frame {
	display: flex;
	width: 12em;
	border-left: 1px solid #30363f;
}
.sub_menu_hide_show .sub_menu_text {
	margin: auto 3%;
}
.page_sub_menu #sub_menu_show_footer, .page_sub_menu #sub_menu_hide_footer {
	height: 1.5em;
	background-color: #6b727f;
	border-top: 1px solid #30363f;
	border-bottom-left-radius: 1em;
	border-bottom-right-radius: 1em;
}
.sub_menu_hide_show .sub_menu_comp_add {
	float: right;
	margin: auto;
	padding: 0 0 0 0.5em;
	color: #29c6d6;
}
.sub_menu_hide_show .sub_menu_comp_add_frame {
	display: flex;
	margin: 0 0.5em;
}
#div_listing .btn {
	height: auto;
}

/* Custom items */
.custom-file-input {
	cursor: pointer !important;
}
.custom_padding_col_12 {
	padding-right: 0.5em !important;
	padding-left: 0.5em !important;
}
.custom_card_body {
	padding: 1rem !important;
}
.custom_search_field {
	background-image: url(res/icon_search_field.png);
    background-position: 7px 5px;
    background-repeat: no-repeat;
   	padding: 0 35px;
}
.custom_flex_content {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
}
.custom_flex_content_space {
	display: flex;
	flex-wrap: nowrap;
	flex-grow: 1;
	justify-content: space-between;
}
.custom_flex_content_stretch {
	display: flex;
	flex-wrap: nowrap;
	align-content: stretch;
}
.custom_flex_content_center {
	display: flex;
	align-items: center;
	justify-content: center;
}
.custom_flex_basis_90 {
	flex-basis: 90%;
	flex-grow: 0;
}
.custom_flex_basis_75 {
	flex-basis: 75%;
	flex-grow: 0;
}
.custom_flex_basis_70 {
	flex-basis: 70%;
	flex-grow: 0;
}
.custom_flex_basis_50 {
	flex-basis: 50%;
	flex-grow: 0;
}
.custom_flex_basis_25 {
	flex-basis: 25%;
	flex-grow: 0;
}
.custom_flex_basis_20 {
	flex-basis: 20%;
	flex-grow: 0;
}
.custom_flex_basis_10 {
	flex-basis: 10%;
	flex-grow: 0;
}
.custom_flex_basis_5 {
	flex-basis: 5%;
	flex-grow: 0;
}
.custom_auto_margin_lr {
	margin: 0 auto;
}
.custom_auto_margin_lr_1em {
	margin: 0 1em;
}
.custom_auto_margin_tb_1em {
	margin: 1em 0;
}
.custom_auto_margin_tb {
	margin: auto 0;
}
.text_align_right {
	text-align: right;
}
.text_align_left {
	text-align: left;
}
.text_align_center {
	text-align: center;
}
.custom_padding_ltb_1em {
	padding: 1em 0 1em 1em;
}
.custom_action_padding_lr {
	padding: 0 0.3em;
}
.custom_padding_1em {
	padding: 1em;
}
.custom_margin_1em {
	margin: 1em;
}
.custom_no_padding_top {
	padding-top: 0 !important;
}
.custom_no_padding_left {
	padding-left: 0 !important;
}
.custom_no_padding_right {
	padding-right: 0 !important;
}
.custom_no_padding_bottom {
	padding-bottom: 0 !important;
}
.custom_no_margin_top {
	margin-top: 0 !important;
}
.custom_no_margin_left {
	margin-left: 0 !important;
}
.custom_no_margin_right  {
	margin-right: 0 !important
}
.custom_no_margin_bottom {
	margin-bottom: 0 !important;
}
.btn_custom_min_width {
	min-width: 50px;
}
.custom_error_span.error {
	padding: 0;
}

.custom_padding_left_30 {
	padding-left: 30px;
}

/* Overwrite Boostrap Setting */
textarea {
	width: 100%;
}
.table thead th {
	border-top: 0;
	border-bottom: 1px solid #f7bf4f;
}

/* Case Content*/
.col_content {
	/*padding: 0 0 0 1.5rem !important;*/
}
.col_content_flex {
	display: flex;
}
.card_content_flex {
	flex-grow: 1;
}
.card_content_1 {
	border-radius: 1em;
	/* margin-bottom: 1rem; */
}
.card_content_2 {
	border-radius: 0.5em;
	padding: 0.5em;
	/* margin-bottom: 1rem; */
}
.card_content_3 {
	/* border-top: 4px solid #f7bf4f; */
	border-top: 4px solid #238E8E; /* new color code */
	/* margin-bottom: 1rem; */
}
.card_content_4 {
	border: 1px solid rgba(0,0,0,.125);
	border-radius: 0.5em;
	padding: 0.5em;
}
.card_content_5 {
	border-radius: 0.5em;
}
.card_content_body_1 {
	padding: 1rem;
}
.card_content_body_title_1 {
	font-weight: 500;
	font-size: 15px;
}
.card_content_body_title_2 {
	padding-bottom: 0.2em;
}
.card_content_body_title_3 {
	color: #ffffff;
	font-size: 15px;
}
.card_content_body_title_4 {
	font-weight: 500;
	font-size: 50px;
}
.card_content_body_title_5 {
	font-weight: 500;
	font-size: 13px;
	color: #555555;
}
.card_content_body_title_6 {
	font-weight: 400;
	font-size: 14px;
	color: #7b8994;
}
.card_content_body_title_7 {
	font-weight: 500;
	font-size: 13px;
	color: #7b8994;
}
.card_content_border_bottom_1 {
	border-bottom: 1px solid #29c6d6;
}
.card_content_border_bottom_2 {
	border-bottom: 1px solid #c1c1c1;
}
.card_content_border_bottom_3 {
	border-bottom: 1px solid #f7bf4f;
}
.card_content_border_bottom_4 {
	border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.card_content_border_top_bottom {
	border-top: 1px solid #f7bf4f;
	border-bottom: 1px solid #f7bf4f;
	background-color: #FFF8E6;
	color: #f7bf4f;
}
.card_content_body_field_1 {
	background-color: #e9ecef;
	margin-bottom: 0.5em;
	padding: 0.5em 0;
}
.card_content_body_field_2 {
	padding: 0.5em 0;
}
.card_content_body_field_3 {
	background: #f1f3f4;
}
.card_content_body_field_4 {
	background: #419dac;
}
.card_content_body_field_5 {
	margin-bottom: 0.5em;
}
.card_content_body_field_6 {
	background-color: #f7f9fa;
	height: 35%;
}
.card_content_body_field_7 {
	padding-bottom: 0.5em;
}
.card_content_body_field_border_2 {
	border-bottom: 0.5px solid #c1c1c1;
}
.card_content_body_field_border_3 {
	border-bottom: 1px solid #F88357;
}
.card_content_body_field_col_1 {
 	align-items: center;
}
.card_content_body_label_1 {
	margin-bottom: 0 !important;
	font-weight: 500;
}
.card_content_body_label_2 {
	color: #7b8994;
}
.card_content_body_label_3 {
	margin-bottom: 0 !important;
}
.card_content_body_label_4 {
	color: #419dac;
	padding: 0 0.5em 0 0.5em;
}
.card_content_body_label_5 {
	font-size: 32px;
}
.card_content_body_label_6 {
	color: #29c6d6;
}
.card_content_body_label_7 {
	color: #f7bf4f;
}
.card_content_body_label_8 {
	color: #2990FF;
	font-weight: 500;
	font-size: 13px;
}
.card_content_body_label_9 {
	color: #419dac;
	font-weight: 400;
	font-size: 12px;
}
.card_content_body_label_10 {
	color: #000000;
	font-weight: 400;
	font-size: 11pt;
}
.card_content_body_label_11 {
	font-weight: 500;
	font-size: 13pt;
	color: #7b8994;
}
.card_content_body_label_12 {
	color: #3cb043;
}
.card_content_body_label_13 {
	font-style: italic;
}
.card_content_body_radio_1 {
	margin-bottom: 0 !important;
	padding: 0 1.5em 0 0.5em;
}
.card_content_body_img {
	float: right;
}
.custom_select_dropdown_1 {
	font-weight: 500;
	font-size: 15px;
	/* background-color: #f7bf4f !important; */
	background-color: #238E8E !important; /* new color code */
}
.custom_checkbox_1 {
	padding: 0.2em 0;
}
.custom_link_outline {
	outline: none;
}
.card_content_body_margin_bottom {
	margin-bottom: 1em;
}
.card_content_body_schedule_empty {
	background: #f1f3f4;
	color: #6b727f;
}
.card_content_body_schedule_reschedule {
	background: #f1f3f4;
	color: #c1c1c1;
}
.card_content_body_document {
	background: #f7bf4f;
}
.card_content_body_border_document {
	border-left: 1px solid #f7bf4f;
}
.card_content_body_party {
	background: #7969d6;
}
.card_content_body_border_party {
	border-left: 1px solid #7969d6;
}
.card_content_body_witness {
	background: #68a9d8;
}
.card_content_body_border_witness {
	border-left: 1px solid #68a9d8;
}
.card_body_panel {
	background-color: #E6ECEA;
}
.progress_bar_hr_tick {
	border: none;
    height: 4px;
    background-color: #7969d6;
    z-index: 0;
}
.progress_bar_hr_cross {
	border: none;
    height: 4px;
    background-color: #a6adb2;
    z-index: 0;
}
.progress_bar_img {
    position: absolute;
    top: 5px;
    z-index: 1;
    margin: 0 9%;
}
.progress_bar_padding_lr {
	padding: 0 0.1em;
}
.list_border_top_1 {
	border-top: 0 !important;
}
.custom_container_1 {
	position: absolute;
	top: 65px;
	right: 0;
    z-index: 2;
}
.custom_container_2 {
	background-color: #f7bf4f !important;
	font-size: 12px !important;
}
.custom_container_scrollable {
	overflow-y: auto; 
	max-height: 800px;
}
.custom_row_section {
	margin-bottom: 1rem;
}
.custom_row_section_container > .custom_row_section:last-child {
	margin-bottom: 0rem;
}

.card-border-color {
	border-color: #c1c1c1;
}

#firm_case_type ul li * {
    vertical-align: top;
}

/* Popover */
.popover-header {
	display: none;
}
.popover {
	max-width: 306.6px;
	border-radius: 1em;
	border: 1px solid rgba(0,0,0,.125);
	box-shadow: 0 0 6px 1px #eee;
}
.popover-body {
	border: none;
	font-size: 15px;
	font-style: italic;
	z-index: 2;
	line-height: 1.53;
	letter-spacing: 0.1px;
}
.custom_popover_label {
	color: #29c6d6;
}

@media (max-width: 414px) {
	#progress_bar_1 {
		margin: 0 9em !important;
	}
	#progress_bar_2 {
		margin: 3.8em 9em !important;
	}
	#progress_bar_3 {
		margin: 7.6em 9em !important;
	}
	#progress_bar_4 {
		margin: 11.4em 9em !important;
	}
	#progress_bar_5 {
		margin: 15.2em 9em !important;
	}
	.main_search {
		flex-direction: column !important;
	}
	.custom_flex_margin_top {
		margin-top: 1em;
	}
	
	
}
@media (max-width: 575px) {
	.custom_container_1 {
		/*position: relative !important;*/
		/*top: 0 !important;*/
		display: none;
	}
}
@media (max-width: 1199px) {
	.main_stretch_container {
		flex-direction: column !important;
	}
	.main_stretch_container .custom_auto_margin_tb_1em {
		margin: 0 !important;
	}
	.card_content_body_border_document {
		border-left: 0 !important;
		border-top: 1px solid #f7bf4f !important;
	}
	.card_content_body_border_party {
		border-left: 0 !important;
		border-top: 1px solid #7969d6 !important;
	}
	.card_content_body_border_witness {
		border-left: 0 !important;
		border-top: 1px solid #68a9d8 !important;
	}
}

/* Datepicker CSS */
.datepicker .table thead th,
.datepicker .table-condensed thead th,
.timepicker .table-condensed thead th,
.timepicker .table thead th {
    border-bottom: none;
}

.datepicker .table td,
.datepicker .table th,
.datepicker .table-condensed td,
.datepicker .table-condensed th,
.timepicker table td,
.timepicker table-condensed td,
.timepicker table-condensed th,
.timepicker table th {
    border-top: none;
}

.timepicker table tr td {
    vertical-align: middle;
}

.datepicker .datepicker-decades .decade {
    line-height: unset !important;
}

/* Dashboard */
.body_container {
	margin-right: 1.5em;
	margin-left: 1.5em;
	padding-left : 0em;
	padding-right : 0em;
}
.dashboard_sort {
	font-size: 12pt;
	margin-top : -15px;
}
.dashboard_body {
	margin-top: 20px;
	width: 100%;
}
.dashboard_menu_item {
	position: relative;
	padding: 3px;
	height : 52px;
	border-bottom: 1px solid #c1c1c1;
}
.dashboard_menu_item img{
	position: absolute;
	top: 10px;
	/* width: 26px;
	height: 32px; */
}
.dashboard_menu_item span{
	position: absolute;
	top: 5px;
	left: 50px;
	font-size: 11pt;
	color: #555555;
    display: flex;
    align-items: center;
    height: 44px;
}

.dashboard_menu_item_icon {
	position: relative;
	width: 35px;
}

.dashboard_menu_item_icon img{
	position: absolute;
	top: 5px;
	right: 0px;
}

.hr_line{
	border-bottom: 1px solid #c1c1c1;
	margin-left: -1em;
	margin-right: -1em;
}
.theme_table thead th {
    border-bottom: 2px solid #f7bf4f;
    border-top: none;
}
.btn_case {
	font-size : 13pt;
	color : #419dac;
	padding-top: 0;
	padding-bottom: 0;
}
.btn_custom {
	font-size : 14pt;
	color : #419dac;
	padding-top: 0;
	padding-bottom: 0;
}
.case_title {
	font-size: 15pt;
	color : #555555;
}

/* Pagination */
.pagination-main:last-of-type {
	margin-bottom: 0;
}
.paging{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	flex-flow:row nowrap;
	justify-content:center;
	width : 300px;
}
.paging .paging-first,
.paging .paging-last,
.paging .paging-count,
.paging .paging-previous,
.paging .paging-next{
	font-family: 'Glyphicons Halflings';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding:5px 0;
	flex-grow:1;
	text-align:center;
	align-self:center;
	cursor:pointer;
}
.paging .paging-count{
    font-family: 'Open Sans', sans-serif;
}
.paging .paging-selected {
	color : gray;
	cursor : not-allowed; 
}

.paging .paging-first{
	margin-left:0;
}

.paging .paging-select{
	display:inline;
	align-self:center;
	padding:5px 0 5px 0;
}
.paging .paging-dd{
	padding:0 10px;
	border:0;
	margin:0;
	background:transparent;
	-moz-appearance:none;
	cursor:pointer;
}
.paging .totalrec{
	padding:5px;
	/*
	border-left:1px solid #eee;
	*/
	color:#999;
	white-space:nowrap;
	display:none;
}

.text_number{
	width: 30px;
	text-align:center;
	margin-right: 5px;
	margin-left: 5px;
}
.text_number::-webkit-inner-spin-button,
.text_number::-webkit-outer-spin-button {
	-webkit-appearance: none;
    margin: 0;
}

/* Tab */
.custom-tab-container {
	padding-left: 1px;
	padding-right: 1px;
}
.custom-tab-container .nav-tabs {
	border-bottom: none;
}
.custom-tab-container .nav-tabs .nav-link {
	border: none;
	padding-top: 12px;
	padding-bottom: 12px;
	padding-left: 15px;
	padding-right: 15px;
    color: #212529;
}
.custom-tab-container .nav-tabs .nav-link.active {
	color: #007bff !important;
    border-bottom: 3px solid #f7bf4f !important;
}

.table-bottom-select-row {
	padding: 0.75rem;
	background-color: #f7bf4f;
	color: #fff;
	display: flex;
    align-items: center;
    justify-content: flex-end;
}
.table-bottom-select-row label {
	margin-bottom: 0;
	margin-right: 0.5rem;
}
.virtual-file-list-icon {
	display: inline-block;
	min-width: 15px;
}
.virtual-files-table .virtual-file-file-container {
	display: flex;
	align-items: center;
}
.virtual-file-document-container .virtual-file-document-sub-container {
	display: flex;
	align-items: center;
	padding-left: 1.5rem;
}
.virtual-file-document-container .virtual-file-attachment-container {
	border: 1px solid rgba(0,0,0,.125);
	padding: 0.25rem;
	margin-left: 3.3rem;
	margin-bottom: 0.5rem;
}
.virtual-document-header-flex {
	display: flex;
}
.virtual-file-group-download-row {
	margin-top: 0.5rem;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.spacer {
    flex-grow: 1 !important;
}
.text-bold {
	font-weight: bold;
}
.case-assignment-label-red {
	padding: 0.5rem;
	background-color: red;
}
.case-assignment-history-bottom-row {
	margin-top: 0.5rem;
	display: flex;
	justify-content: flex-end;
}

.availability-color {
	background-color: #f78552;
	color: white;
}

.label-dates-color {
	color: #f78552;
}

.custom_action_container {
	margin-bottom: 1rem;
}
.custom_action_container_2 {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}

.schedule_date_time_container {
	padding-right: 0.5rem;
}

.schedule_date_day_label {
	padding-right: 0.5rem;
}

.schedule_time_container {
	padding: 0.25rem;
}
.clickable {
	cursor: pointer;
}

/* Search Forms */
.search_form_group_container {
	padding: 1rem 1rem 0 1rem;
}
.search_form_group_container_with_separator {
	padding: 0;
}
.search_form_group_container_with_separator h5 {
	margin-top: 1rem;
}
.search_form_group_container_with_separator .search_form_group_flex {
	display: flex;
}
.search_form_group_container_with_separator .search_form_group_flex_item {
	padding: 0rem 1rem;
	flex-basis: 50%;
}
.search_form_group_container_with_separator .search_form_group_separater_container {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
}
.search_form_group_container_with_separator .search_form_group_separater_container .search_form_group_separater_line {
	flex-grow: 1;
	border-left: 1px solid rgba(0,0,0,.125);
}
.search_form_group_container_with_separator .search_form_group_separater_container .search_form_group_separater_text {
	padding: 0.25rem;
}

.search_form_group_container_with_separator .search_form_group_separater_container .search_form_group_separater_text h5 {
	margin: 0;
}
@media (max-width: 767px) {
	.search_form_group_container_with_separator .search_form_group_flex {
		flex-flow: column;
	}

	.search_form_group_container_with_separator .search_form_group_separater_container {
		flex-flow: row;
	}

	.search_form_group_container_with_separator .search_form_group_separater_container .search_form_group_separater_line {
		border-left: none;
		border-top: 1px solid rgba(0,0,0,.125);
	}

	.search_form_group_container_with_separator .empty-search-field-label {
		display: none;
	}
}

.table_header_checkbox_container {
	display: flex;
	align-items: center;
}
.table_header_checkbox_container .table_header_checkbox {
	margin-right: 0.5rem;
}

.btn_checkbox_container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn_checkbox_container input[type='checkbox'] {
	margin-right: 0.5rem;
}

/* Usergroup */
.usergroup_select_all_access_btn_container { 
	display: none;
}


.footer_lang_selected {
	background-color: #d0d0d0 !important;
}
.footer_lang_selected:hover {
	background-color: #d0d0d0 !important;
	cursor: not-allowed;
}

.dropdown-menu {		/* to overwrite the css in bootstrap */
	top: 32px;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #a7dbf4;
  text-decoration: none;
  color: #fff;
}



/* new 2021 update */
.logo {
	position: relative
}
.logo .logo_icon {
	width : 90px;
}
.logo .logo_system_name {
	position: absolute;
	top: 0px;
	left: 175px;
	white-space: nowrap;
}
.logo .logo_module_name {
	position: absolute;
	top: 40px;
	left: 175px;
	white-space: nowrap;
}
.logo .system_name, .logo .system_name:hover{
	font-size: 21pt;
	color: #FFFFFF;
}
.logo .module_name {
	font-size: 14pt;
}



#hide_menu_btn, #header-menu-collapse, .unauthorized_user_icon_div {
	display: none;
}
#span_header_counter {
	cursor: pointer;color:#fff; 
	background-color:red; 
	font-weight:bold; 
	padding:2px; 
	border-radius:3px; 
	position:absolute; 
	bottom:15px; 
	right: -3px; 
	min-width: 20px; 
	text-align: center; 
	font-size: 0.8em;
}
.dropdown_item {
	width: 230px;
}

.theme_setting_split {
	border-left: 1px solid #cecece;
}

#header-menu-collapse span{
	color: white;
}
#header-menu-collapse img{
	background-color: white;
}

#header-menu-collapse {
	display: none;
	position: absolute;
	z-index: 1010;
	width: 100%
}
.menu_item, .menu_item a{
	color: white;
	max-width: 300px;
}
#header_menu_row1 {
	padding: 2em 4em;
	background-color: #221E4B;
}

#header_menu_row1 .menu_item{
	padding: 8px;
	padding-right: 0;
	/* margin-right: -3em; */
	font-size: 13pt;
}
#header_menu_row1 .menu_item:hover, .header_menu_row2 .menu_item:hover, .header_menu_row3 .menu_item:hover, 
.menu_item:hover a, .menu_item_active, .menu_item_active a{
	background-color: white;
	color: black;
}
#logout_link {
	background-color: #cecece;
}

.header_menu_row2 {
	padding: 2em 4em;
}
.header_menu_row2 .menu_item{
	padding: 10px;
	padding-right: 0;
	/* margin-right: -3em; */
	font-size: 12pt;
}

.header_menu_row3 {
	padding: 2em 4em;
}
.header_menu_row3 .menu_item{
	padding: 10px;
	padding-left: 0;
	font-size: 12pt;
}

.menu_mini_dropdown{
	padding-left: 2em;
	margin-left: -0.5em;
	margin-bottom: -0.5em;
}

.dropdown_item i {
	width: 2em;
}

.menu_author {
	font-size: 21px;
	line-height: 2;
	display : inline;
	color: #238E8E; /* new color code */
}

@media (max-width: 768px) {
	.row #header_menu_row1 {
		padding-left: 40px;
	}
	.header_menu_row2, .header_menu_row3 {
		position: static;
		height: 0px;
		padding: 0px;
	}
	
	.header_menu_row2 .mobile_menu_item .menu_item{ 
		margin-right: 0px;
	}
	.header_menu_row2 .mobile_menu_item {
		position: absolute;
		right: 0px;
		background-color: #121212;
		width: 280px;
	}
	
	.header_menu_row3 .mobile_menu_item  {
		position: absolute;
		right: 0px;
		background-color: #454545;
		width: 200px;
	}
	
	.mobile_menu_item .menu_item {
		padding-left: 20px;
	}

	.menu_author {
		display : none;
	}
}

.menu_hidden {
	display: none;
}
div.announcement_div a {
	margin-right : 200px;
	font-size: 15px;
	font-weight: bold;
}
div.announcement_div {
	width:100%;
	overflow:hidden;
	margin: 0;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	padding-bottom : 2px;
}

/*custom-box-item*/
.custom-box-item-container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.custom-box-item{
  /* background-color: rgb(255,255,255,0.4); */
  /* text-align: left; */
  height:165px;
  background-repeat: no-repeat;
  background-size: 150px !important;
  background-position: center;
}

.custom-box-item:hover{
  	/* background-color: rgb(255,255,255,0.2);
  	color: rgb(255,255,255,0.8);; */
}

.custom-box-item-txt{
	font-size: 9pt;
  	font-weight: bold;
  	color: white;
   	float: left;
   	margin-top: 155px;
  	/* margin-left: 10px; */
	width: 100% !important;
	text-align: center;
}

.custom-box-item-dark{
  /* background-color: rgb(0, 0, 0,0.4); */
  text-align: left;
  height:180px;
  background-repeat: no-repeat;
  /* background-size: 60% 65%; */
  background-position: center;
}
/*
.custom-box-item-dark:hover{
  	background-color: rgb(255,255,255,0.2);
  	color: rgb(255,255,255,0.8);;
}
*/
.custom-box-item-dark-txt{
	/* font-size: 9pt; */
	font-size: 16px;
  	font-weight: 500;
  	color: black;
   	display:inline-block;
   	/*float: left;*/
   	margin-top: 152px;
  	/*margin-left: 25%;*/
}

.custom-box-item-white-txt{
	/* font-size: 9pt; */
	font-size: 16px;
  	/* font-weight: bold; */
  	font-weight: 500;
  	color: white;
  	display:inline-block;
   	/*float: left;*/
   	margin-top: 152px;
  	/*margin-left: 25%;*/
}
#row-hide{
		display: none;
	}

@media (max-width: 991px) {	/* to smaller the page title font if width is less 991px */
	.custom-box-item-txt{
		font-size: 9pt;
	}
}

.custom-attachment-preview-container {
	display: flex;
    flex-direction: column;
	min-height: 100vh;
	max-height: 100vh;
}

.custom-attachment-preview-container .custom-attachment-preview-container-top {
	border-radius: 0;
}

.custom-attachment-preview-container .custom-attachment-preview-container-bottom {
	height: 100vh;
	width: 100%;
	overflow: auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.custom-attachment-preview-container .pdf-page-container {
	margin-left: auto;
	margin-right: auto;
}

.custom-attachment-preview-container .pdf-page-container:not(:first-child) {
	margin-top: 1rem;
}

@media (max-width: 680px) {	/* to smaller the page title font if width is less 681px */
	.custom-box-item-txt{
		font-size: 9pt;
	}
}

@media (max-width: 525px) {	/* to smaller the page title font if width is less 525px */
	.custom-box-item-txt{
		font-size: 9pt;
	}
}

@media (max-width: 991px) {	/* to hide and show boxes in Dashboard if width is less 991px */
	#row-hide{
		display: block;
	}
	#row-show{
		display: none;
	}
}

/*
.contact_us_box {
	background-color: #ECECEC;
	padding: 2% 3% 2% 4%;
}

.custom-box-item-contact-title{
  font-size: 16pt;
  font-weight: 500;
  color: black;
}
*/
.custom-box-item-contact-title {
	background-color: rgb(255,255,255,0.3);
	font-size: 10pt;
	font-weight: bold;
	color: white;
	text-align: center;
	padding: 2px;
}

.custom-box-item-contact{
  background-color: rgb(255,255,255,0.4);
  text-align: left;
  height:580px;
  background-repeat: no-repeat;
  background-size: 60% 65%;
  background-position: center;
}
/*
.contact_detail, .contact_header {
	color: black !important;
	font-size: 12pt !important;
}

.contact_container {
	position: relative; 
	width:100%;
}
.contact_header {
	padding: 1% 6% 1% 0;
	font-weight: 800;
	background-color: #ECECEC;
	position: absolute; 
	top: -14px;
}
.contact_header_hr {
	border-top: 1px solid black; 
	width:100%;
}
.contact_detail {
	margin-top: 7%;
	font-weight: 450 !important;
}
.custom-box-item-contact-content {
	max-height: 400px;
	overflow: auto;
}

.custom-box-item-contact-content::-webkit-scrollbar {
	width: 1.5em;
	box-shadow: 0 0 10px 2px grey;
	background: white; 
}

.custom-box-item-contact-content::-webkit-scrollbar-thumb {
	background: #17a2b8; 
}

.custom-box-item-contact-content::-webkit-scrollbar-thumb:hover {
	background: #1cc8e3; 
}

.custom-box-item-contact-content::-webkit-scrollbar-button:single-button {
    background-color: white;
    display: block;
    background-size: 12px;
    background-repeat: no-repeat;
}
*/
/* Up */
/*
.custom-box-item-contact-content::-webkit-scrollbar-button:single-button:vertical:decrement {
    height: 15px;
    background-position: center;
    background-image: url(res/icon_up.png);
}

.custom-box-item-contact-content::-webkit-scrollbar-button {
	background-color: white;
	height: 0px;
}

.custom-box-item-contact-content::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
    background-position: center;
    background-image: url(res/icon_up_hover.png);
}
*/
/* Down */
/*
.custom-box-item-contact-content::-webkit-scrollbar-button:single-button:vertical:increment {
	height: 12px;
    background-position: center;
    background-image: url(res/icon_down.png);
}

.custom-box-item-contact-content::-webkit-scrollbar-button:single-button:vertical:increment:hover {
    background-position: center;
    background-image: url(res/icon_down_hover.png);
}
*/
/*end custom-box-item*/

.court_background_img{
	background-image: url(res/court_bg.webp);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	padding: 2%;
}

.menu-custom-text{
	font-size: 16px;
	font-weight: bold;
}

.menu_ul{
  	list-style-type: none;
  	margin: 0;
  	padding-left:15px;
}

.menu_ul li {
 	display: inline;
}

.menu_icon_min{
	display: none !important;
}

.custom-reply-border {
	border: 1px solid #c1c1c1;
}

.custom-reply-chat-border {
	border: 1px solid rgba(0,0,0,.125);
}

@media (max-width: 768px) {	/* to smaller the page title font if width is less 681px */
	.menu_bar_left_1{
		display: none;
	}
	.menu_ul{
		display: none;
	}

	.menu_icon_min{
		display: block !important;
		margin-top: -6px;
	}

	.menu_icon_max{
		display: none !important;
	}
}


@media (max-width: 800px) {
	.usergroup_select_all_access_btn_container {
		display: block;
	}
}

@media (max-width: 991px) {	/* to display the system short name when width is less than 992px */
	.module_name{
		width: 991px;
	}
}

@media (max-width: 1045px) {	/* to hide faq, disclaimer and language on top if width is less than 1046px */
	.header_menu{
		display:  none !important;
	}
}

@media (min-width: 1046px) {	/* to hide the faq, disclaimer and language on bottom if width is more than 1045px */
	.footer_menu0{
		display:  none !important;
	}
}

@media (max-width: 400px) {	
	.body_container{ /* to remove the dashboard menu margin left and right if width less than 401px */
		margin-right: 0em;
		margin-left: 0em;
	}
	
	.footer_submenu_2{ 	/* to hide the footer i-syariah icon if width is less than 401px */
		display:  none !important;
	}
	
	.topbar {
		padding-right: 0;
		padding-left: 0;
	}
	
	.menu_bar {
		min-height: 4em;
		padding: 1em 0 .5em 0;
	}
}

@media (max-width: 680px) {	/* to smaller the page title font if width is less 681px */
	.menu_bar_title{
		font-size: 16pt;
	}

	.menu_bar_title_white{
		font-size: 16pt;
	}
	
	.footer_menu_item {
		font-size:11pt;
	}
}

@media (max-width: 589px) {	/* to smaller the page title font if width is less 589px */

	.custom_menu_bar_hide {
		display: none;
	}
}

@media (max-width: 525px) {	/* to smaller the page title font if width is less 525px */
	.logo .module_name {
		font-size: 12pt;
	}
	
	.menu_bar_title{
		font-size: 11pt;
	}

	.menu_bar_title_white{
		font-size: 11pt;
	}
	
	.menu_bar_left {
		width: 200px;
	}
}

.theme_footer .btn-link {
	color: #238E8E !important; /* new color code */
}

#btn_login_public, #btn_login_court {
	background-size: cover;
	color: white;
	font-weight: bold;
	padding: 10vh 4vw 10vh 4vw;
	text-align: center;
	border-radius: 25px;
	filter: grayscale(50%);
}

#btn_login_public {
	background-image: url(res/login_public_bg.jpg);
}

#btn_login_court {
	background-image: url(res/login_court_bg.jpg);
}

#btn_login_public:hover, #btn_login_court:hover {
	filter: grayscale(0%);
	cursor: pointer;
	/* box-shadow: 0px 0px 15px 5px #d3d8d7; */
	box-shadow: 0 0 10px 2px grey;
}

@media (max-width: 993px) {	/* to smaller the page title font if width is less 525px */
	#btn_login_public, #btn_login_court {
		padding: 5vh 4vw 5vh 4vw;
	}
}

.portal_photo_slider_div {
	width: 100%;
	height: fit-content;
	position: relative;
}

.portal_background {
	width: 100%;
	height: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url(res/login_background.jpg);
	background-repeat: repeat;
	background-size: 200px 200px;
	position: absolute;
	filter: blur(1.4px);
	opacity: 0.7;
}

.carousel-inner {
	/*
	width: 80%;
	margin-top: 2rem;
	margin-bottom: 2rem;
	*/
	width: 100%;
}

.slider_control {
	border-radius: 100%;
	background: #17a2b8;
	/* padding: 20px;  */
	min-width: 50px;
	max-width: 50px;
	min-height: 50px; 
	max-height: 50px; 
}

.slider_control:hover {
	background: #1cc8e3;
}

.slider_control .fas {
	font-size: 17pt;
	color: white;
}

.carousel-control-prev, 
.carousel-control-next {
	width: fit-content;
	height: fit-content;
	margin-top: 27vh;
}

.portal_custom_container {
	/* background-color: #2F2F2F !important; */
	background-color: #0A6168 !important;
	padding: 1% 15% 4% 15%;
}

.portal_component_container {
	width: 145px;
	height: 100px;
	margin: 2.5rem 1rem 2.5rem 1rem;
}

.portal_component { 
	/* background: #17a2b8; */
	width: 120px;
	height: 120px;
	/* box-shadow: 5px 5px 10px black; */
}

.custom-box-item-text {
	text-align: center;
	color: white;
	font-weight: 500;
	font-size: 18px;
}

.dashboard_title_container {
	font-size: 21px;
	font-weight: bold;
	color: white;
	width: fit-content;
    white-space: nowrap;
}

.dashboard_hr_container {
	display: flex;
    align-items: center;
	width: 100%;
	padding-left: 2%;
}

.dashboard_hr {
	border-top: 2px solid #808080;
    width: 100%;
	margin-right: 0 !important;
}

.dashboard_body_container {
	border-top: 2px solid #808080 !important;
}

/* Paging Start */
.page-item:first-child .page-link {
    border-top-left-radius: 10rem !important;
    border-bottom-left-radius: 10rem !important;
    padding-left: 2rem !important;
}

.page-item:last-child .page-link {
    border-top-right-radius: 10rem !important;
    border-bottom-right-radius: 10rem !important;
	padding-right: 2rem !important;
}
/* Paging End */