/* Abz */

/* Home Page */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700;900&display=swap');*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700;900&family=Noto+Serif+SC:wght@200;300;400;500;600;700;900&display=swap');

@font-face {
	font-family: jhenghei;
	src: url(./microsoft-jhenghei_bigfontsite.com.ttf);
}

body.en div, body.en p, body.en a, body.en h1, body.en h2, body.en h3, body.en h4, body.en h5, body.en h6, body.en span, body.en label, body.en input, body.en select, body.en option, body.en button, body.en li {
	font-family: Arial !important;
	word-break: break-word;
	/*font-family: 'Open Sans', sans-serif !important;*/
	/*font-family: 'Raleway', sans-serif !important;*/
}

body.tc div, body.tc p, body.tc a, body.tc h1, body.tc h2, body.tc h3, body.tc h4, body.tc h5, body.tc h6, body.tc span, body.tc label, body.tc input, body.tc select, body.tc option, body.tc button, body.tc li {
	/*font-family: jhenghei !important;*/
	/*font-family: 'Noto Sans TC', sans-serif !important;*/
	/*font-family: 'Noto Serif TC', sans-serif !important;*/
	font-family: Arial !important;
	word-break: break-word;
}

body.sc div, body.sc p, body.sc a, body.sc h1, body.sc h2, body.sc h3, body.sc h4, body.sc h5, body.sc h6, body.sc span, body.sc label, body.sc input, body.sc select, body.sc option, body.sc button, body.sc li {
	/*font-family: jhenghei !important;*/
	/*font-family: 'Noto Sans TC', sans-serif !important;*/
	/*font-family: 'Noto Serif SC', sans-serif !important;*/
	font-family: Arial !important;
	word-break: break-word;
}

body .row {
	margin-left: 0;
	margin-right: 0;
}

/* HKQAA */
.row.topbar {
	padding: 15px 0;
}
.row.menu {
	padding: 10px;
	background: #0e76bd;
}

a.navbar-brand, a.navbar-brand img {
	width: 100% !important;
}
.row.topbar h2 {
	text-transform: uppercase;
	font-weight: bold;
	color: #1379be;
	font-size: 24px !important;
}
.row.topbar h4 {
	color: #25b8f0;
	font-weight: bold;
	font-size: 18px !important;
}
body.sc .row.topbar .col-lg-9 {
	display: flex;
	align-items: center;
}
body.sc .row.topbar .col-lg-9 h2 {
	font-size: 30px !important;
	margin-right: 10px;
}
body.sc .row.topbar .col-lg-9 h4 {
	font-size: 22px !important;
}
body.tc .row.topbar .col-lg-9 {
	display: flex;
	align-items: center;
}
body.tc .row.topbar .col-lg-9 h2 {
	font-size: 30px !important;
	margin-right: 10px;
}
body.tc .row.topbar .col-lg-9 h4 {
	font-size: 22px !important;
}
ul.navbar-nav {
	flex-flow: wrap;
	justify-content: center;
}
li.nav-item {
	margin: 0 20px;
}
a.nav-link {
	padding: 0;
	color: #fff;
}

.lang-menu ul a {
	color: #fff;
	font-size: 14px;
	margin: 5px;
}
.lang-menu ul {
	list-style: none !important;
}
.lang-menu {
	position: absolute;
	right: 20px;
	margin-top: -35px;
}

.header.container-fluid {
	padding: 0;
}
.container-fluid.home-img {
	padding: 0;
}

.container.home-content {
	padding: 40px 0;
}
.container.home-content p {
	text-align: justify;
}
.container.home-content li {
	color: #01b8f1;
}
.container.home-content li p {
	margin-bottom: 5px;
}

span.blue {
	color: #25b8f0;
}
.container.home-content ul {
	list-style: none !important;
	padding-left: 20px;
	margin: 0 !important;
}

.form-div {
	position: relative;
	margin-top: -100px;
	background: #fc308c;
	/*text-align: center;*/
	padding: 30px 15px 15px;
}
.form-div h3 {
	color: #fff;
	font-weight: bold;
	/*text-align: left;*/
}

.form-div div {
	padding: 15px;
	background: #fff;
	margin-top: 30px;
}
.form-div form#search-form {
	background: #fff;
	padding: 20px;
}
.form-div form#search-form div {
	display: flex;
	flex-flow: column;
	text-align: left;
}
.form-div form#search-form label {
	margin-bottom: 5px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
}
.form-div form#search-form input[type="text"], .form-div form#search-form select {
	-webkit-appearance: none;
	height: auto;
	padding: 5px 10px;
	border: 0;
	border-bottom: 1px solid;
	margin-bottom: 30px;
}
.form-div form#search-form > div:nth-last-child(1) {
	text-align: center;
	width: 90%;
	margin: auto;
}
.form-div form#search-form > div:nth-last-child(1) {
	text-align: center;
	width: 90%;
	margin: auto;
}
.form-div form#search-form input[type="submit"] {
	background: #ed3897;
	border: 0;
	color: #fff;
	padding: 10px;
	margin-bottom: 10px;
}



@media only screen and (min-width: 768px) {
	.row.topbar .col-lg-3 {
		justify-content: space-between;
	}
	.popover, .tooltip-inner {
		max-width: 700px;
	}
	.mobileImg {
		display: none !important;
	}
}

@media only screen and (max-width: 768px) {
	.row.topbar {
		text-align: center;
	}
	.row.topbar h2 {
		font-size: 18px !important;
	}
	.row.topbar h4 {
		font-size: 14px !important;
	}
	.lined_inputs {
		display: block;
	}
	a.hkqaa-link.resp_content {
		display: none;
	}
	ul#progressbar {
		display: none !important;
	}
	table.table.checklist_tbl tr td:nth-child(2) input {
		margin: 10px 0 00 !important;
	}
	table.table.checklist_tbl tr td:nth-child(2) {
		display: flex;
		flex-flow: column;
		align-items: center;
	}
	.row.topbar .col-lg-3 {
		flex-flow: wrap;
	}
	a.navbar-brand {
		width: 35% !important;
		float: left;
		margin-right: 10%;
	}
	a.navbar-brand img {
		width: 100% !important;
	}
	span#menu-btn {
		float: right;
		width: 10%;
	}
	.desktopImg {
		display: none !important;
	}
}


#menu-btn {
	display: block;
}
.row.menu, .lang-menu, .row.topbar h4 {
	display: none;
}
.row.topbar .col-lg-3 {
	display: flex;
	/*justify-content: space-between;*/
	align-items: center;
	/*flex-flow: wrap;*/
}
@media only screen and (max-width: 1000px) {
	.header.container {
		padding: 0;
	}
	.row.topbar {
		padding-bottom: 0;
	}
	.row.topbar .col-lg-9 {
		background: #1379be;
		text-align: center;
		justify-content: center;
	}
	.row.topbar .col-lg-3 {
		justify-content: space-between;
	}
	.row.topbar h2 {
		color: #fff;
		margin: 0;
		padding: 10px 0;
	}
	.row.topbar .col-lg-3 {
		padding-bottom: 15px;
	}
	.container-fluid.about.home-img {
		display: none;
	}
	.form-div {
		margin-top: auto !important;
	}
	body.applynow #msform .steps ul li:before {
		content: '';
		display: block;
		width: 16px;
		height: 16px;
		background: #ccc;
		border-radius: 50%;
		margin-top: 10px;
	}
	body.applynow #msform .steps ul li:not(.last).done::after {
		content: '';
		display: block;
		background: #0e76bd;
		height: 1px;
		top: 18px;
		position: absolute;
		width: 100% !important;
		left: 50%;
	}
	body.applynow #msform .steps ul li.done:before,
	body.applynow #msform .steps ul li.current:before {
		background: #0e76bd;
	}
	body.applynow #msform .steps ul li a {
		display: none !important;
	}
	body.applynow #msform .steps ul li {
		width: 25%;
		position: relative;
		display: flex;
		justify-content: center;
	}
}

@media only screen and (min-width: 1000px) {
	.row.menu, .lang-menu, .row.topbar h4 {
		display: block;
	}
	a.navbar-brand {
		text-align: right;
	}
	body.en ul.navbar-nav {
		margin-left: -125px;
	}
	#menu-btn {
		display: none;
	}
	a.nav-link:after {
		content: '';
		display: inline;
		height: 18px;
		width: 1px;
		background: #fff;
		position: absolute;
		margin: 2px 0px 0 20px;
	}
	li.nav-item:nth-last-child(1) a.nav-link:after,
	li.nav-item:nth-last-child(1) a.nav-link,
	li.nav-item:nth-last-child(2) a.nav-link:after {
		/*display: none;*/
	}
	li.nav-item:nth-last-child(1) a.nav-link:after {
		display: none;
	}

	.resp_content {
		/*display: none;*/
	}

	body.applynow #msform .steps ul li,
	body.applynow #msform .steps ul li a {
		position: relative;
	}

	body.applynow #msform .steps ul li:not(.last).done::after {
		content: '';
		display: block;
		background: #0e76bd;
		height: 1px;
		top: -15px;
		position: absolute;
		/*width: 160%;*/
		left: 50%;
	}
	body.en.applynow #msform .steps ul li:nth-child(1)::after {
		width: 155%;
	}
	body.en.applynow #msform .steps ul li:nth-child(2)::after {
		width: 175%;
	}
	body.en.applynow #msform .steps ul li:nth-child(3)::after {
		width: 145%;
	}

	body.tc.applynow #msform .steps ul li:nth-child(1)::after {
		width: 400%;
	}
	body.tc.applynow #msform .steps ul li:nth-child(2)::after {
		width: 550%;
	}
	body.tc.applynow #msform .steps ul li:nth-child(3)::after {
		width: 330%;
	}

	body.sc.applynow #msform .steps ul li:nth-child(1)::after {
		width: 400%;
	}
	body.sc.applynow #msform .steps ul li:nth-child(2)::after {
		width: 550%;
	}
	body.sc.applynow #msform .steps ul li:nth-child(3)::after {
		width: 330%;
	}


	body.applynow #msform .steps ul li.current {
		border-bottom: 1px solid #0e76bd !important;
	}
	body.applynow #msform .steps ul li:not(.current) {
		border-bottom: 1px solid #ccc !important;
	}


	body.applynow #msform .steps ul li a::before {
		background: #0e76bd;
		content: '';
		width: 12px;
		height: 12px;
		border-radius: 50%;
		position: absolute;
		top: -20px;
	}
}


.sidenav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #f5f5f5;
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;
}

.sidenav a {
	padding: 10px 20px !important;
	text-decoration: none;
	font-size: 14px;
	color: #000;
	display: block;
	transition: 0.3s;
	border-bottom: 1px solid #ddd;
	width: 100%;
}
.sidenav > a:nth-child(1) {
	border: 0;
	width: auto;
}
.sidenav a:hover {
	color: #0e76bd;
}

.sidenav .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}


.page-content {
	padding-top: 40px;
	padding-bottom: 40px;
}
.page-content h3 {
	/*font-size: 22px;*/
	/*text-transform: uppercase;*/
	font-weight: bold;
	/*text-decoration: underline;*/
}
.page-content p {
	text-align: justify;
	margin-bottom: 30px;
}
.page-content ol {
	margin: 0 !important;
	padding-left: 15px;
}
.page-content a.content-link:hover {
	background: #fff !important;
	color: #0e76bd !important;
}
.page-content a.content-link {
	background: #0e76bd !important;
	border: 2px solid #0e76bd !important;
	color: #fff;
	padding: 5px 30px;
	border-radius: 3px;
	text-decoration: none !important;
	transition: 0.25s ease-in-out;
}

.page-content .card {
	margin-bottom: 20px;
}
.page-content .card-header {
	border-radius: 0 !important;
	background: #0e76bd;
}
.page-content a.card-link {
	width: 100%;
	color: #fff;
	display: block;
	font-weight: bold;
	text-transform: uppercase;
}







/*form styles*/
#msform {
	width: 100%;
	margin: 50px auto;
	text-align: left;
	position: relative;
}
#msform fieldset {
	background: white;
	border: 0 none;
	border-radius: 3px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
	padding: 20px 30px;
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto 40px;

	/*stacking fieldsets above each other*/
	position: absolute;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
	display: none;
}
/*inputs*/
#msform input, #msform textarea, #msform select {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: 100%;
	box-sizing: border-box;
	font-family: montserrat;
	color: #2C3E50;
	font-size: 13px;
}
/*buttons*/
#msform .action-button {
	width: 100px;
	background: #0e76bd;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 1px;
	cursor: pointer;
	padding: 10px 5px;
	margin: 10px 5px;
}
#msform .action-button:hover, #msform .action-button:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px #0e76bd;
}
/*headings*/
.fs-title {
	font-size: 15px;
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
.fs-subtitle {
	font-size: 18px !important;
	margin-bottom: 10px;
	margin-top: 20px;
}
/*progressbar*/
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
}
#progressbar li {
	text-align: center;
	list-style-type: none;
	color: #0e76bd;
	text-transform: uppercase;
	font-size: 14px;
	width: 25%;
	float: left;
	position: relative;
	padding: 15px;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: white;
	background: white;
	border-radius: 50%;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 25px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
#progressbar li span {
	border-bottom: 1px solid #ccc;
}
#progressbar li.active span {
	border-bottom: 1px solid #0e76bd;
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
	background: #0e76bd;
	color: #0e76bd;
}

#msform input[type="checkbox"], #msform input[type="radio"] {
	width: auto;
	margin-right: 10px;
}

table.checklist_tbl {
	table-layout: fixed;
}

table.table.checklist_tbl tr td:nth-child(2),table.table.checklist_tbl tr th {
	text-align: center;
}

.auditor_fields {
	display: none;
}

span.cname, span.sname, span.sadd, span.current_date {
	font-weight: bold;
}

body.home1 input[type="submit"] {
	pointer-events: none !important;
}


div#cl_data ul {
	list-style: none !important;
	padding: 0 30px;
}

div#cl_data ul span.check  {
	left: 30px;
}

.hidden {
	display: none;
}

span.check {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(../assets/images/checkmark.png) no-repeat;
	background-size: 16px 16px;
	background-position: 2px 5px;
	position: absolute;
	left: 10px;
}

.container.about-hkqaa.page-content h3,
.container.about-scheme.page-content h3 {
	color: #0e76bd;
	font-size: 18px;
}

.resp_content h2 {
	color: #0e76bd;
	font-weight: bold;
	font-size: 24px;
}
.resp_content img {
	width: 250px;
	margin: 20px auto;
}
.resp_content {
	text-align: center;
}

div#mySidenav div {
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	width: 40%;
}
div#mySidenav div a {
	margin-right: 10px !important;
	border: 0 !important;
	padding: 0px !important;
	font-size: 16px;
}


.lined_inputs label {
	width: 10%;
}
.lined_inputs {
	display: flex;
	align-items: center;
}



a.apply-now-btn {
	width: 75%;
	display: block;
	text-align: center;
	background: #fc308c;
	margin: auto;
	padding: 10px;
	color: #ffff;
	text-decoration: none !important;
}

a.hkqaa-link {
	display: block;
	text-align: center;
	margin-bottom: 30px;
}

span.arrow {
	font-weight: bold;
	position: absolute;
	margin-left: -15px;
	margin-top: 4px;
	font-size: 30px;
	line-height: 0;
}


.container.apply-now.page-content h3 {
	font-size: 18px !important;
}

a.hkqaa-link.resp_content {
	display: none !important;
}

fieldset p, fieldset label {
	word-break: break-word;
}

input.previous.action-button {
	display: none !important;
}

.appDets {
	display: flex;
	flex-flow: column;
	margin-bottom: 20px;
}

.appDets br {
	display: none;
}

.appDets label {
	font-weight: bold;
	margin-right: 5px;
	margin-bottom: 0;
}



.tooltip.show {
	opacity: 1;
}

button.popupBtn {
	border: 0;
	background: none !important;
	padding: 0;
	color: #01b8f1;
	outline: 0 !important;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
	border-top-color: #f3f3f3;
}

.tooltip-inner {
	background: #f3f3f3;
	text-align: left;
	color: #000;
	padding: 20px;
	box-shadow: 0px 0px 10px #000;
}

span[data-toggle="popover"] {
	color: #01b8f1;
	cursor: pointer;

}
.popover-body {
	box-shadow: 0px 0px 10px #000;
}


span.submit {
	background: #0e76bd !important;
	border: 0;
	border-radius: 0;
	margin-top: 20px;
	padding: 10px 5px;
	margin: 10px 5px;
	min-width: 100px;
	border-radius: 1px;
}

span.submit:hover, span.submit:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px #0e76bd;
}

span.submit.disabled {
	pointer-events: none !important;
	background: #b5b5b5 !important;
}


label.error {
	color: red;
	font-weight: bold;
	font-size: 14px;
}

span.nextTnc:hover, span.nextTnc:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px #0e76bd;
}

span.nextTnc {
	cursor: pointer;
	width: 100px;
	background: #0e76bd;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 1px;
	cursor: pointer;
	padding: 10px 5px;
	margin: 10px 5px;
	font-size: 13px;
	display: block;
	text-align: center;
}



span.submit.btn.btn-primary {
	font-size: 13px;
	font-weight: bold;
}


body.applynow #msform {
	background: white;
	border: 0 none;
	border-radius: 3px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
	padding: 20px 30px;
}


fieldset {
	border: medium none !important;
	margin: 0 0 10px;
	min-width: 100%;
	padding: 0;
	width: 100%;
}

/*body.applynow #msform input[type="text"],
body.applynow #msform input[type="email"],
body.applynow #msform input[type="tel"],
body.applynow #msform input[type="url"],
body.applynow #msform textarea {
	width: 100%;
	border: 1px solid #ccc;
	background: #FFF;
	margin: 0 0 5px;
	padding: 10px;
}

body.applynow #msform input[type="text"]:hover,
body.applynow #msform input[type="email"]:hover,
body.applynow #msform input[type="tel"]:hover,
body.applynow #msform input[type="url"]:hover,
body.applynow #msform textarea:hover {
	-webkit-transition: border-color 0.3s ease-in-out;
	-moz-transition: border-color 0.3s ease-in-out;
	transition: border-color 0.3s ease-in-out;
	border: 1px solid #aaa;
}

body.applynow #msform textarea {
	height: 100px;
	max-width: 100%;
	resize: none;
}

body.applynow #msform button[type="submit"] {
	cursor: pointer;
	width: 100%;
	border: none;
	background: #4CAF50;
	color: #FFF;
	margin: 0 0 5px;
	padding: 10px;
	font-size: 15px;
}

body.applynow #msform button[type="submit"]:hover {
	background: #43A047;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	transition: background-color 0.3s ease-in-out;
}

body.applynow #msform button[type="submit"]:active {
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.copyright {
	text-align: center;
}

body.applynow #msform input:focus,
body.applynow #msform textarea:focus {
	outline: 0;
	border: 1px solid #aaa;
}

::-webkit-input-placeholder {
	color: #888;
}

:-moz-placeholder {
	color: #888;
}

::-moz-placeholder {
	color: #888;
}

:-ms-input-placeholder {
	color: #888;
}

.steps > ul > li > a,
.actions li a { 
	padding: 10px;
	text-decoration: none;
	margin: 1px;
	display: block;
	color: #777;
}
.steps > ul > li,
.actions li {
	list-style:none;
} 

form#msform .steps.clearfix {
	display: none;
}
*/

label.error {
	width: 100%;
}

form#msform ul[role="menu"] li:nth-child(1) {
	display: none;
}
form#msform ul[role="menu"] {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

form#msform ul[role="menu"] li a {
	width: 100px;
	display: inline-block;
	text-align: center;
	font-size: 13px;
	background: #0e76bd;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 1px;
	cursor: pointer;
	padding: 10px 5px;
	margin: 10px 5px;
	text-decoration: none !important;
}
form#msform ul[role="menu"] li a:hover, form#msform ul[role="menu"] li a:focus
{
	box-shadow: 0 0 0 2px white, 0 0 0 3px #0e76bd;

}

.container.apply-now.page-content {
	padding-bottom: 0;
}

body.applynow #msform {
	margin: 120px auto 50px;
}

body.applynow #msform .content h3.title {
	display: none;
}

body.applynow #msform .steps ul {
	list-style: none !important;
	display: flex;
	justify-content: space-evenly;
	padding: 0;
	margin: 0;
}
body.applynow #msform .steps {
	position: absolute;
	top: -75px;
	width: 100%;
	left: 0;

}
body.applynow #msform .steps ul span.current-info {
	display: none;
}

body.applynow #msform .steps ul li a {
	display: flex;
	flex-flow: column;
	align-items: center;
	pointer-events: none !important;
	font-size: 14px !important;
}
body.applynow #msform .steps ul li a span.number {
	/*display: block;*/
	display: none;
	width: 10px;
	height: 10px;
	background: #0e76bd;
	color: #0e76bd;
	font-size: 0;
	border-radius: 50%;
	margin-bottom: 10px;
}

body.applynow #msform a[href="#finish"] {
	display: none !important;
}

@media only screen and (max-width: 1200px) {
	body.applynow #msform .steps ul li a {
		font-size: 12px !important;
	}
}


a.navbar-brand img {
	max-height: 50px;
	width: auto !important;
}

.practiceDiv {
	margin-bottom: 10px;
	border: 1px solid #b9b9b9cc;
	padding: 10px;
}
.practiceDiv input:nth-last-child(1) {
	margin: 0 !important;
}

form#msform ul[role="menu"] li a.disabled {
    pointer-events: none;
    opacity: 0.5;
}