body{
	font-family: "Arial", "Helvetica", "sans-serif" !important;
	font-size: 15px;
	margin: 2px 2px 2px 2px;
}

pre{
font-family: "Arial", "Helvetica", "sans-serif" !important;
font-size: 15px;
margin: 0px 2px 2px 2px;
white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
white-space: -pre-wrap; /* Opera 4 - 6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */
word-wrap: break-word; /* IE 5.5+ */
word-break: break-all; /* For breaking a single long long English word/Numbers */
}

input{
	font-size: 15px;
	font-family: "Arial", "Helvetica", "sans-serif" !important;
}

textarea{
	font-size: 15px;
	font-family: "Arial", "Helvetica", "sans-serif" !important;
	border: 1px solid #7F9DB9;
	/*background-color: expression(this.readOnly == true?"#EEEEEE":"#FFFFFF");*/
	background:expression(((this.readOnly && this.readOnly==true) || (this.disabled && this.disabled==true))?"#EEEEEE":"#FFFFFF");
}

input[type=text]{
	height: 19px;
	border: 1px solid #7F9DB9;
	/*background-color: expression(this.readOnly == true?"#EEEEEE":"#FFFFFF");*/
	background:expression(((this.readOnly && this.readOnly==true) || (this.disabled && this.disabled==true))?"#EEEEEE":"#FFFFFF");
}
input[type=password]{
	height: 19px;
	border: 1px solid #7F9DB9;
	/*background-color: expression(this.readOnly == true?"#EEEEEE":"#FFFFFF");*/
	background:expression((this.readOnly && this.readOnly==true)?"#EEEEEE":"#FFFFFF");
}

legend{
	font-size: 15px !important;
	font-family: "Arial", "Helvetica", "sans-serif" !important;
	color: #000000;
}
fieldset{
	padding-top: 10px;
}
td.indent{
	padding-left: 20px;
}

table.menuTable{
	width: 970px;
	border-width: 0px;
	background-color: #F9F9F9;
}

a {  color: #000000; text-decoration: underline;}
a:link {  color: #000000; text-decoration: underline;}
a:visited {  color: #000000; text-decoration: underline;}
a:hover {  color: #000000 !important; text-decoration: none;}

.important {  color: red !important; text-decoration: none;}
.important:hover {  color: red !important; text-decoration: none;}

.menulist a {  color: #000000; text-decoration: none;}
.menulist a:link {  color: #000000; text-decoration: none;}
.menulist a:visited {  color: #000000; text-decoration: none;}
.menulist a:hover {  color: #000000; text-decoration: none; }

.maxWidth{
	width: 970px;
}
.pageHeader{
	font-size: 19px;
	font-weight: bold;
	color: #233D74;
	/* padding-left: 5px; */
	/* height: 25px; */
}
.tableHeader{
	font-size: 16px;
	font-weight: bold;
	/* height: 24px; */
	/*background-color: #D4E6FC;*/
	/*filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#DDA6DD,endColorStr=#EFE8F8);*/
	background-color: #9FCBEF;
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#9FCBEF,endColorStr=#D4E6FC);
	color: #333333;
	padding: 2px;

}
.subTableHeader{
	font-size: 15px;
	font-weight: bold;
	padding-top: 2px;
	/*background-color: #DDDDDD;*/
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#CCCCCC,endColorStr=#EEEEEE);
	color: #333333;
}
.miniHeader{
	font-size: 17px;
	font-weight: bold;
	color: #222288;
}
.mini{
	font-size: 10px;
}

.resultHeader{
	font-size: 15px;
	font-weight: bold;
	height: 24px;
	/*background-color: #D4E6FC;*/
	/*filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#DDA6DD,endColorStr=#EFE8F8);*/
	background-color: #9FCBEF !important;
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#9FCBEF,endColorStr=#D4E6FC);
	color: #333333;
	padding: 2px;
}

.pageNumControl{
	/*background-color: #F7DA9D;*/
	/*background-color: #9FCBEF;*/
	background-color: #D8E1F7;
}

.gridHeader{
	background-color: #DCEEF9;
}
.gridHeader td{
	padding: 4px;
}

.row1{
	vertical-align: top;
}

.row1 td{
	border-bottom: 1px solid #BBBBBB;
	padding: 4px;
}

.row2{
	background-color: #EFF3F8;
	vertical-align: top;
}

.row2 td{
	border-bottom: 1px solid #BBBBBB;
	padding: 4px;
}

.grayBorder{
	border: 1px solid #BBBBBB;
	padding-left: calc(var(--bs-gutter-x)* .6) !important;
    padding-right: calc(var(--bs-gutter-x)* .6) !important;
    padding-top: 3px;
    padding-bottom: 10px;
}

.tabUnselected{
	font-weight: bold;
	cursor: hand;
	color: #333333;
	background-color: #DDDDDD;
	text-align: center;
	font-size: 15px;
	height: 24px;
}
.tabSelected{
	background-color: #9FCBEF;
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#9FCBEF,endColorStr=#D4E6FC);
	cursor: hand;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	color: #333333;
	height: 24px;
}
.tabOnOver{
	cursor: hand;
	font-size: 15px;
	font-weight: bold;
	background-color: #BBBBBB;
	text-align: center;
	color: #333333;
	height: 18px;
}
.buttonPanel{
	text-align: right;
	font-weight: normal;
}
.fieldLabel{
	font-weight: bold;
	/* height: 22px; */
	color: #333333;
}

.blueLine{
	background-color:#C9D7F1;
	height: 2px;
	padding: 0px;
}

select{
	font-size: 15px;
	font-family: "Arial", "Helvetica", "sans-serif";
}
option{
	font-size: 15px;
	font-family: "Arial", "Helvetica", "sans-serif";
}

.grayFont{
	color: #AAAAAA;
}

span.red {
	color: #FF0000;
}

span.blue {
	color: #0000FF;
	font-size: 12px;
}

span.green {
	font-size: 20px;
	color: #009900;
	font-weight: bold;
}

span.deepRed {
	color: #770000;
}

span.deepGreen {
	color: #007700;
	font-size: 12px;
}

.partClass {
	color: #60A3FF;
	font-weight: bold;
	font-size: 20px;
}

.greenStar {
	font-size: 20px;
	color: #009900;
	font-weight: bold;
}

.greenCaution {
	font-size: 13px;
	color: #009900;
	font-weight: bold;
}

.dlBulletin {
	font-size: 16px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.boldUnderline{
	font-weight: bold;
	text-decoration: underline;
}

#newPasswd {
  background-image: url("../img/visible.png");
  background-position: 97% center;
  background-repeat: no-repeat;
}
#newPasswd.visible {
  background-image: url("../img/invisible.png");
}
#toggle-password_1 {
  display: none;
}
#toggle-password_1 + label {
  text-indent: -9999px;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: -32px;
  cursor: pointer;
}

#rePasswd {
  background-image: url("../img/visible.png");
  background-position: 97% center;
  background-repeat: no-repeat;
}
#rePasswd.visible {
  background-image: url("../img/invisible.png");
}
#toggle-password_2 {
  display: none;
}
#toggle-password_2 + label {
  text-indent: -9999px;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: -32px;
  cursor: pointer;
}
.app-info-step {
	padding: 2px 10px;
    background-color: #e1e1e1;
    color: black;
    border: 1px solid #adadad;
    font-size: 16px;
    border-radius: 3px;
}

.custom-file-upload {
    display: inline-block;
    padding: 2px 10px;
    cursor: pointer;
    background-color: #efefef;
    color: black;
    border: 1px solid #767676;
    border-radius: 3px;
    font-size: 16px;
}

.file-upload {
    display: none;
}

 a.login-button {
    display: inline-flex;
    align-items: center;
    padding: 4.375px 8.75px 4.375px 8.75px;
    background-color: #2B7366; /* Green-ish background */
    color: #ffffff !important; /* Text color white */
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none !important; /* No underline */
    font-family: 'Noto Sans SC', Arial, Helvetica, sans-serif;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    position: relative;
}

.login-button img {
    margin-right: 10px;
    transition: opacity 0.3s;
    width: 24px;
    height: 35px; /* Use the height of the larger image to keep consistency */
}

.login-button:hover {
    background-color: #ffffff; /* White background on hover */
    border-color: #2B7366; /* Border color on hover */
    color: #2B7366 !important; /* Text color on hover */
}

.login-button:hover img.default-image {
    opacity: 0;
}

.login-button:hover img.hover-image {
    opacity: 1;
}

.hover-image {
    position: absolute;
    margin-right: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    width: 24px;
    height: 35px; /* Use the height of the larger image to keep consistency */
      }
      .buttontext {
	font-size: 16.2px;
	overflow: hidden;
	white-space: nowrap;
	display: block;
	text-overflow: ellipsis;
}

.regtextjustify{
	text-align: justify;
}

@media ( min-width: 768px) {
	.login-btn {
		margin-left: 95px !important;
	}
}

.blue-line{
	color: #C9D7F1;
    opacity: 1;
    height: 2px !important;
}

.form-control {
	padding: 0px !important;
    border-radius: 0px !important;
}

.menu-bg {
    background-color: #DCEEF9 !important;
}

.menu-bg a {
	text-decoration: none !important;
    color: #233D74 !important;
    font-weight: bold;
}

.navbar-toggler-icon {
	background-image: url("../img/list.svg")!important;
}

.alert-border {
	border: 4px solid #FF0000;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
}

.form-control[type=button],
.form-control[type=reset],
.form-control[type=submit] {
	background-color: #f0f0f0 !important;
	border: 1px solid #767676 !important;
	border-radius: 3px !important;
	font-size: 15px;
	padding: 2px 10px !important;
	white-space: break-spaces;
}

.form-control[type=button]:disabled,
.form-control[type=reset]:disabled,
.form-control[type=submit]:disabled {
	background-color: #eeeeee !important;
	border: 1px solid #d0d0d0 !important;
	color: #d0d0d0 !important;
}

.form-select{
	background-image: url("../img/dropdown.svg")!important;
}

.common-button {
	background-color: #f0f0f0 !important;
	border: 1px solid #767676 !important;
	border-radius: 3px !important;
	font-size: 15px;
	padding: 2px 10px !important
}
#reUploadBtn {
     white-space: normal;
     overflow-wrap: break-word;
     width: 100%;
     box-sizing: border-box;
     text-align: center;
}

@media screen and (max-width: 600px) {
     #reUploadBtn {
         font-size: 16px;
     }
}
#hkic-row {
	display: flex;
	flex-wrap: wrap; /* Allow wrapping on smaller screens */
	align-items: center; /* Align items vertically */
	gap: 0.5rem; /* Add spacing between elements */
}

#hkic-row .col-12 {
	flex-basis: 100%; /* Ensure "Hong Kong Identity Card No." spans the full width on small screens */
}

#hkic-row .d-flex {
	display: flex;
	flex-wrap: nowrap; /* Ensure inputs and parentheses stay in a single row */
	gap: 0.5rem; /* Add spacing between inner items */
}

@media (min-width: 992px) {
	#hkic-row {
		flex-wrap: nowrap; /* Prevent wrapping on larger screens */
	}
	#hkic-row .col-12 {
		flex-basis: auto; /* Restore inline behavior for larger screens */
	}
}

.ui-dialog-titlebar-close {
    padding:0 !important;
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    /* Change path to image*/
    background-image: url(images/ui-icons_777777_256x240.png);
    background-position: -96px -128px;
    background-repeat: no-repeat;
}