@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto/Roboto-Thin.eot');
	src: url('fonts/Roboto/Roboto-Thin.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Roboto/Roboto-Thin.woff2') format('woff2'),
		 url('fonts/Roboto/Roboto-Thin.woff') format('woff'),
		 url('fonts/Roboto/Roboto-Thin.ttf') format('truetype'),
		 url('fonts/Roboto/Roboto-Thin.svg#Roboto') format('svg');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto/Roboto-Light.eot');
	src: url('fonts/Roboto/Roboto-Light.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Roboto/Roboto-Light.woff2') format('woff2'),
		 url('fonts/Roboto/Roboto-Light.woff') format('woff'),
		 url('fonts/Roboto/Roboto-Light.ttf') format('truetype'),
		 url('fonts/Roboto/Roboto-Light.svg#Roboto') format('svg');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto/Roboto-Regular.eot');
	src: url('fonts/Roboto/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Roboto/Roboto-Regular.woff2') format('woff2'),
		 url('fonts/Roboto/Roboto-Regular.woff') format('woff'),
		 url('fonts/Roboto/Roboto-Regular.ttf') format('truetype'),
		 url('fonts/Roboto/Roboto-Regular.svg#Roboto') format('svg');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto/Roboto-Medium.eot');
	src: url('fonts/Roboto/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
		 /* url('fonts/Roboto/Roboto-Medium.woff2') format('woff2'), */
		 /* url('fonts/Roboto/Roboto-Medium.woff') format('woff'), */
		 url('fonts/Roboto/Roboto-Medium.ttf') format('truetype'),
		 url('fonts/Roboto/Roboto-Medium.svg#Roboto') format('svg');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto/Roboto-Bold.eot');
	src: url('fonts/Roboto/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
 /*        url('fonts/Roboto/Roboto-Bold.woff2') format('woff2'), */
 /*        url('fonts/Roboto/Roboto-Bold.woff') format('woff'), */
		 url('fonts/Roboto/Roboto-Bold.ttf') format('truetype'),
		 url('fonts/Roboto/Roboto-Bold.svg#Roboto') format('svg');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('fonts/Roboto/Roboto-Black.eot');
	src: url('fonts/Roboto/Roboto-Black.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Roboto/Roboto-Black.woff2') format('woff2'),
		 url('fonts/Roboto/Roboto-Black.woff') format('woff'),
		 url('fonts/Roboto/Roboto-Black.ttf') format('truetype'),
		 url('fonts/Roboto/Roboto-Black.svg#Roboto') format('svg');
	font-weight: 900;
	font-style: normal;
}

body {
  font-family: 'Roboto', sans-serif !important;
}

/*.glyphicon{
  font-family: 'Glyphicons Halflings' !important;
}*/

/* Link */
a:hover{
  text-decoration: none;
}

/*** Left-Panel ***/
div #left-panel {
	border-top: 4px solid #f7bf4f;
}

.display-box {
  width: 150%;
}
/*** Buttons ***/

/* For rounded button */
.btn-rounded {
	border-radius: 12px;
	background-color: #007bff;
	color: white;
}

.btn-blue {
	background-color: #007bff;
	color: white;
}

#line hr{
  width: 100%;
  border-color: #419dac;
}

#line_2_color {
  border-color: #F88357;
}

.line_3_color {
  border-color: #dddddd;
}

#last-login-line hr {
  width: 75%;
  border-color: white;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

#last-login-font {
	font-size: 28px;;
}

.box{
  padding:60px 0px;
}

.box-part{
  background:#94c972;
  border-radius:6px;
  padding:10px 5px;
  margin:0.5rem 0px;
  /* width:150px; */
}

.text{
  margin: 0.25rem 0px;
}

.text-color{
  color: #419dac;
}

.custom-link{
	color: white;
}

.custom-link:hover {
  background-color: #419dac;
  text-decoration: none;
  color: grey;
}

.modal-header{
	background-color: #419dac;
	color: white;
}

.display-icon-text{
  margin-top: 0.25rem;
  /* margin-left: 0.25rem; */
}

#box-gradient-left {
	background-image: linear-gradient(#F9485A, #FF9E7A);
	border-radius: 15px 0px 0px 15px;
}

#box-gradient-right {
	background-image: linear-gradient(#747579, #8E8F93);
	border-radius: 0px 15px 15px 0px;
}

.border-style {
	display:block;
	width: 100%;
	border: 0;
	padding: .375rem .75rem;
	box-shadow: none;
}

.column {
	float: left;
}

.display-info-card{
	color: white;
}

.border-radius-left {
	border-radius: 15px 0px 0px 15px;
}

.badge-color {
	background-color: #F9844F;
}

/* .btn-back-style:hover {
	background-color: #7A8B95;
} */

.btn-back-style:hover {
	background-color: #CDE3F8;
	color: #7A8B95;
	border-radius: 50%;
}

.height {
	height: 30px;
}

.custom-margintopbottom {
	margin-top: -14px;
	margin-bottom: -14px;
}

.remove-padding-leftright {
	padding-left: 0px;
	padding-right: 0px;
}
/* Vertical Pills */
.nav-pills .nav-link.active {
  color: #7A8B95;
  background-color: #CDE3F8;
  border-radius: 0px 15px 15px 0px;
}

.pills-menu a {
   color: grey;
}

.icon-calendar{
  background-image: url("res/icon_calendar.png");
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  background-size: contain;
}

.icon-clock{
  background-image: url("res/icon_clock.png");
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  background-size: contain;
}

/* Font Awesome Icon */
.custom-fa-icon{
  font-size:45px; 
  color: #419dac;
}

/* Divider - Horizontal Line*/
.divider{
  width: 100%;
  padding: 0 2.1rem;
}

.divider > hr {
  border-top: 1px solid #f7bf4f;
}

/* Expandable Table Row*/
.custom-expandable-table .custom-hidden-row {
  background-color:#F1F3F4;
  padding: 0 !important;
  border-top: 0px;
} 

.custom-expandable-icon {
  float:left;
  margin-top: 2px;
  cursor: pointer;
}

.icon-collapse{
  background-image: url("res/icon_table_button_colapse.png");
  background-repeat: no-repeat;
  background-size: auto;
  height:16px;
  width:16px;
  
}

.icon-expand{
  background-image: url("res/icon_table_button_expand.png");
  background-repeat: no-repeat;
  background-size: auto;
  height: 16px;
  width: 16px;
}

.custom-expandable-table .table{
  margin-bottom: 0;
}

.custom-td-flexgroup{
  display: flex;
}

.custom-expandable-table .table td , .custom-expandable-table .table th{
  padding: 0.5rem 0.75rem;
}

.custom-hidden-row > div:first-child {
  width: 100%;
}

.cursor_hover:hover {
  cursor: pointer;
}
.cursor_default:hover {
	cursor: default;
  }

.font_orange {
  color: #e67c00;
}

.custom-responsive-div .custom-responsive-div-row .custom-responsive-field-button {
	display: none;
}

.custom-responsive-div .custom-responsive-div-row .custom-responsive-field-input {
	display: none;
}

.table-container-responsive {
    width: 100%;
	overflow-x: auto;
}

/* Responsive Table*/
@media only screen and (max-width: 800px) {
	.custom-responsive-border-bottom{
		border-bottom: 0.5px solid #c1c1c1;
	}
	.custom-responsive-rowspan-pl{
		padding-left: 20px !important;
	}

	.custom-responsive-rowspan-border{
		border: 0 !important;
	}

	.custom-hidden-row{
		border: 0 !important;
		margin-top:0 !important;
	}
	.custom-hidden-row .custom-responsive-table > tbody > tr:not(:last-child) > td:last-child {
		border-bottom: 0;
	}
	.custom-hidden-row .custom-responsive-table > tbody > tr:not(:first-child) > td:first-child {
		border-top: 0;
	}

	.custom-responsive-table > tbody > tr:not(:last-child) > td:last-child {
		border-bottom: 2px solid #ccc;
	}
	.custom-responsive-table > tbody > tr:not(:first-child) > td:first-child {
		margin-top:1px;
		border-top: 2px solid #ccc;
	}

	.custom-hidden-row-header{
		display: none !important;
	}
	.custom-responsive-table {
		display: table;
	}

	.custom-responsive-table > thead,
	.custom-responsive-table > tbody,
	.custom-responsive-table > thead > tr > th,
	.custom-responsive-table > thead > tr,
	.custom-responsive-table > tbody > tr,
	.custom-responsive-table > tbody > tr > td {
		display: block;
	}

	.custom-responsive-table > thead {
		display: none;
	}

	.custom-responsive-table > tbody > tr {
		/*padding:1px 0;*/
	}  

	.custom-responsive-table > tbody > tr > td > .td-title::before{
		content: attr(data-title);
	}

	.custom-responsive-table > tbody > tr > td {
		display: flex;
		flex-flow: wrap;
	}

	.custom-responsive-table > tbody > tr > td.td-align-right {
		justify-content: flex-end;
	}

	.custom-responsive-table > tbody > tr > td.td-no .td-content-container {
		display: none;
	}

	.custom-responsive-table > tbody > tr > td > .td-title {
		font-weight: bold;
		padding-right: 0.75rem;
	}

	.custom-responsive-table > tbody > tr > td > .td-content-container {
		padding-top: 5px;
	}

	.custom-responsive-table > tbody > tr > td > .td-title,
	.custom-responsive-table > tbody > tr > td > .td-content-container {
		text-align: left;
		min-width: 0;
		width:100%;
	}  

	.custom-responsive-table tr.custom-responsive-total-row{
		border: 2px solid #ccc;
	}


	/*Div*/
	.custom-responsive-flex-break{
		flex-basis: 100%;
		padding-top: 5px;
	}

	.custom-responsive-flex-full{
		flex: 1 !important;
		max-width: 100%;
	}

	.col_content_flex_wrap{
		flex-wrap: wrap !important;
	}

	.custom-responsive-div  .custom-responsive-div-row > span, 
	.custom-responsive-div  .custom-responsive-div-row > div {
		display: block;
	}

	.custom-responsive-div  .custom-responsive-div-row .td-title::before{
		content: attr(data-title);
	}

	.custom-responsive-div  .custom-responsive-div-row  .td-title {
		font-weight: bold;
		padding-right: 0.75rem;
	}

	.custom-responsive-div > div .td-content-container  {
		padding-top: 5px;
	}

	.custom-responsive-div  .custom-responsive-div-row  .td-title,
	.custom-responsive-div  .custom-responsive-div-row  .td-content-container {
		text-align: left;
		min-width: 0;
		width:100%;
	}

	.custom-responsive-div .custom-responsive-div-row .custom-responsive-field-button {
		display: block;
		margin-top: 0.5rem;
	}

	.custom-responsive-div .custom-responsive-div-row .custom-responsive-field-input {
		display: block;
		margin-top: 0.5rem;
	}

	.custom-responsive-div  .custom-responsive-div-row .custom-date-container {
		display: inline-flex !important;
	}
}

@media only screen and (max-width: 980px) {
	.custom-expandable-table button , .custom-expandable-table a[role="button"]{
		margin-bottom: 1rem;
	}
}


/* Pagination */
.custom-page-link{
  border:0;
  color:#2290ff;

  background-color: #F1F3F4 !important;
}

.custom-page-link:hover{
  color:#2290ff;
}

.custom-page-item{
  display: flex;
}

.custom-page-input .custom-page-link{
	color:#6c757d !important;
}

.calendar-color {
	color: #F7BD4F;
}

.btn-search {
	background-color: #419dac;
	color: white;
}

.custom-border-right {
	border-right: 1px solid #F88357;
}

/* Responsive Pagination */
.custom-paging-total-responsive{
	display : none;
}
.pagination-main:nth-last-child(2) {
	margin-bottom: 0;
}
@media only screen and (max-width: 500px) {
	.custom-paging-first, .custom-paging-last, .custom-paging-total{
		display: none !important;
	}
	.pagination-main:nth-last-child(2) {
		margin-bottom: 1rem;
	}
	.pagination-total:last-child {
		margin-bottom: 0;
	}

	.custom-paging-total-responsive{
		display : flex;
	}
}

/* Legend Box */
.custom-legend {
	background-color: #f7f9fa;
	border: 0.5px solid #c1c1c1;
	font-weight: 400;
	font-size: 14px;
	color: #555555;
}

.border-image {
	align-self: center; 
	height: 1px; 
	border-bottom: 1px solid #f78552;
}

/* Faraid */
.faraid_div_female{
	background-color: lightpink;
}

.faraid_div_male{
	background-color: lightblue;
}

/* Case Summary - Progress Bar (Case Status) */
.custom_progress_div{
    text-align: center;
    padding: 0 0.1em;
    flex-basis: 20%;
    flex-grow: 0;
}

@media only screen and (max-width: 500px) {
    .custom_progress_main_div{
        flex-direction: column !important;
    }
    .custom_progress_div{
        display: flex;
        padding-bottom: 0.1rem;
    }

    .custom_progress_hr_icon{
        display: flex;
    }

    .custom_progress_hr{
        margin: 0 0 0 0.6rem; 
        width: 0.3rem; 
        height: 100% !important;
    }

    #progress_bar_1.custom_progress_icon, #progress_bar_2.custom_progress_icon, #progress_bar_3.custom_progress_icon, #progress_bar_4.custom_progress_icon, 
    #progress_bar_5.custom_progress_icon{
        margin: 0.9rem 0 !important;

        align-items: center;

        display: flex;

        top: auto;
    }
    .custom_progress_text{
        display: flex; 
        margin:1rem 1rem;
    }
}

/* Input Placeholder */
.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #ccc;
    opacity: 1; /* Firefox */
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #ccc;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: #ccc;
}

.custom_tips{
    font-style: italic;
    font-size: 0.8rem;
    display: block;
}

.custom_image_size_thumbnail{
    /*width:100px;
    height:100px;*/
    width:119px;
    height:119px;
}
.custom_image_size_group{
    margin:0.5rem;
    text-align: center;
    border: 0.5px solid #c1c1c1;
}
.custom_image_size_filename{
    /*max-width:100px;*/
    max-width:119px;
    word-wrap: break-word;
}
.custom_toggle_on .fa{
    color:green;
}
.custom_toggle_off .fa{
    color:red;
}
/* Menu Level - for differentiate different levels*/
.custom_tr_lvl_3 >td:first-child{
    padding-left : 4rem;
}
.custom_tr_lvl_2 >td:first-child{
    padding-left : 2rem;
}

.custom_icon_disabled{
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 767px) {   
    .btn_pdf {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

input.valid {
    border-color: #28a745;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 3px rgba(40,167,69, 0.5);
}

.custom-valid-feedback {
    color: #28a745;
}

.custom-btn-with-loading-spinner .custom-btn-content {
	display: block;
}

.custom-btn-with-loading-spinner .custom-btn-spinner {
	display: none;
}

.custom-btn-with-loading-spinner.btn-loading .custom-btn-content {
	display: none;
}

.custom-btn-with-loading-spinner.btn-loading .custom-btn-spinner {
	display: block;
}

.user_image {
	width: auto;
	height: 10rem;
}

.dropdown_menu_next .dropdown-item:hover{
	color: blue;
	background: #ccccff;
}

.dropdown_menu_back .dropdown-item:hover{
	color: red;
	background: #ffcccc;
}

.btn_delete:hover {
	cursor: pointer;
}

/* The actual popup */
.popuptext {
  visibility: hidden;
  width: auto;
  background-color: #555;
  color: #fff;
  /*text-align: center;*/
  border-radius: 6px;
  padding: 1%;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 35%;
  margin-left: -80px;
}

/* Popup arrow */
.popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popuptext_show {
  visibility: visible;
}

.btn_disabled:hover {
  cursor: not-allowed;
}

.flex-1 {
	flex: 1;
}

.flex-2 {
	flex: 2;
}

.flex-3 {
	flex: 3;
}

.flex-4 {
	flex: 4;
}

.note {
	font-size: smaller;
	color: #f78552 !important;
	font-weight: normal !important;
}

select.error, textarea.error {
	border: 1px solid #CC0000;
  }
  
  .custom_error_span.error {
	  padding: 0;
  }
  
  .custom_error_div span.error {
	padding: 0;
  }

/* Added by Nigel Goh on 30/11/2023 */
.schedule_simplify_left {
	background-color: #7DA08B;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 20%;
	color: #fff;
	font-size: 1.2rem;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.schedule_simplify_right {
	background-color: #f8f9fa;
	width: 80%;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

@media only screen and (max-width: 767px) {
	.schedule_simplify_left {
		margin-bottom: 0 !important;
		width: 100%;
		border-top-right-radius: 0.5rem !important;
		border-bottom-left-radius: 0!important;
	}

	.schedule_simplify_right {
		width: 100%;
		border-bottom-left-radius: 0.5rem !important;
		border-top-right-radius: 0 !important;
	}
}

.custom-listing-select2 {
    width: 100%;
    color: #495057;
}

.custom-listing-select2 .select2-choice {
    border-radius: 0.25rem !important;
    border: 1px solid #ced4da !important;
    height: 2.5rem !important;
    padding-top: 0.25rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.custom-listing-select2 .select2-choices {
    border-radius: 0.25rem !important;
    border: 1px solid #ced4da !important;
    height: 2.5rem !important;
    padding: 0px !important;
}
.custom-listing-select2 .select2-choice .select2-arrow {
    border-left: 1px solid #ced4da !important;
    padding-top: 0.25rem !important;
}

.user-selected-item-container {
    border: 1px solid #dee2e6 !important;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    display: flex;
}

.user-selected-item-name {
    padding-top: 0.2rem;
    padding-right: 0.5rem;
}