@charset "UTF-8";
/* override bootstrap table striped background */
/*
.table-striped>tbody>tr:nth-child(odd)>td, 
.table-striped>tbody>tr:nth-child(odd)>th {
   background-color: #F4F1DB;
}

.confirm-border {
     border-top:3px solid #CCC!important;
	border-bottom:3px solid #CCC!important; 
}

.font-weight-bold {
	font-weight: 700 !important;
}
*/

.wcag-icon {
    width: 88px;
    height: 32px;
}

button:focus {
    outline: 3px solid #000000 !important;
    outline-offset: 2px;
}

.loading-spin {
    display: inline-block;
    border-radius: 50%;
    height: 150px;
    width: 150px;
    padding: 10px;
    border: 20px solid transparent;
    border-top: 20px solid #c23531;
    -webkit-animation: spinning-circle 1s ease-in-out infinite;
    animation: spinning-circle 1s ease-in-out infinite;
}

@-webkit-keyframes spinning-circle {
    0% {
        -webkit-transform: rotate(-25deg);
    }
    100% {
        -webkit-transform: rotate(335deg);
    }
}

@keyframes spinning-circle {
    from {
        transform: rotate(-25deg);
    }
    to {
        transform: rotate(335deg);
    }
}

.icon-loading {
    background: url(/eServices-public/common/image/loading-5e3a4eecd8a690eac2084a3a9def0bbf.gif) no-repeat scroll 50% 50% rgba(255, 255, 255, 0.9);
    border-radius: 10px 10px 10px 10px;
    bottom: 0;
    box-shadow: 0 1px 4px #4E4E4E;
    display: block;
    height: 130px;
    margin: auto;
    /*position: fixed;*/
    width: 130px;
    /*z-index: 999999;*/
}

.loader {
    border: 3px solid #ffffff;
    border-top: 3px solid #000000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.wrapper {
    display: flex;
    align-items: stretch;
    line-height: 1.2em;
    font-size: 0.935em;
    padding: 18px 13px 0px 13px;
}

div.footer {
    padding: 30px 0px 0px 0px;
    background: #fff;
}

div.footer ul {
    list-style: none;
}

div.footer ul li {
    margin-right: 20px;
    /*	display: block;
        float: none;
        box-sizing: border-box;
        position: relative;
        margin-bottom: 5px;*/
}

img {
    max-width: 100%;
    height: auto;
}

div.header-menu {
    width: 100%;
    border-style: none;
    border-width: 1px;
    border-color: #CCCCCC;
    /*border-spacing: 5px;*/
    background: #fff;

    /*text-align: right;
    margin-bottom: 5px;
    vertical-align:bottom;*/
}

div.header {
    border-style: none;
    border-width: 1px;
    border-color: #CCCCCC;
    background: #fff;
}

div.header div.logo {
    float: left;
}

div.header div.lang_exit {
    float: right;
    margin-top: 0px;
    margin-right: 8px;
    padding: 0px 5px 0px 0px;
}

div.header-title {
    font-size: 0.935em;
    /*background: #E8E3CD;*/
}

div.header-title > a {
    color: #000;
}

div.sidebar-step {
    border-style: solid;
    border-width: 1px;
    border-color: #CCCCCC;
    border-spacing: 0px;
}

div.sidebar-info {
    background: #E8E3CD;
}

div.term-grp-text {
    padding: 5px;
}

div.term-grp-header {
    border-style: solid;
    border-width: 1px;
    border-color: #CCCCCC;
    border-spacing: 0px;
    background: #E8E3CD;
    color: #000000;
    padding: 5px 10px 5px 10px;
}

div.term-grp-note {
    border-style: solid;
    border-width: 1px;
    border-color: #CCCCCC;
    border-spacing: 0px;
    background: #E8E3CD;
    padding: 5px 10px 5px 10px;
}

div.term-grp-reminder {
    font-size: 1.1em;
    font-weight: bold;
    border-style: solid;
    border-width: 1px;
    border-color: #CCCCCC;
    border-spacing: 0px;
    background: #E8E3CD;
    padding: 5px 10px 5px 10px;
}

div.term-grp-content {
    border-style: solid;
    border-width: 0px 1px 1px 1px;
    border-color: #CCCCCC;
    border-spacing: 0px;
    padding: 10px;
}

div.term-grp-step_hd {
    background-image: url("/eServices-public/common/image/title_step-b0f7175e902ddd3b22d4e1341dde193d.jpg");
    background-repeat: no-repeat;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #CCCCCC;
    border-spacing: 0px;
    padding: 8px;
}

div.term-grp-step_hd_wrapper {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #CCCCCC;
    border-spacing: 0px;
}

span.term-grp-step_hd {
    background-image: url("/eServices-public/common/image/title_step-b0f7175e902ddd3b22d4e1341dde193d.jpg");
    background-repeat: no-repeat;
    padding: 8px;
    background-size: 100% 100%;
    min-width: 84px;
    max-width: 84px;
}

span.term-grp-step_desc {
    padding-left: 8px;
    padding-right: 8px;
}

div.formBoxWithPadding {
    display: block;
    padding: 3px;
    clear: both;
    width: 100%
}

div.term-grp-subheader {
    vertical-align: middle;
    border-width: 0px 0px 0px 0px;
    padding: 6px 0px 0px 15px;
}

div.formBoxWithLeftTopPadding {
    display: block;
    padding-left: 15px;
    padding-top: 7px;
    padding-right: 10px;
    clear: both;
    width: 100%
}

div.criteria-area {
    background: #eeeeee;
}

hr {
    margin: 5px 0px 5px 0px !important;
}

ol {
    margin-bottom: 0px !important;
}

body {
    font-family: "Arial", "Helvetica", "Tahoma", "Trebuchet", "Verdana", "MingLiU-ExtB", "MingLiU_HKSCS", "AR PL UMing HK", "PMingLiU", "MingLiU", "DFSongStd", "Ming(for ISO10646)", "sans-serif";
    padding: 38px 20px 0px 20px;
}

.text-mandatory {
    color: #cc0000;
}

p {
    font-size: 0.935em;
    font-weight: 300;
    /*line-height: 1.7em;*/
    color: #999;
}

p.footnote {
    font-size: 0.8em;
    font-weight: 300;
    /*line-height: 1.7em;*/
    color: #000;
}

p.footnote-lang {
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
    background-color: #eeeeee;
}

a,
a:hover,
a:focus {
    /*color: #007bff;*/
    color: #003399;
    /*text-decoration: none;*/
    transition: all 0.1s;
}

a.exit-color {
    color: #000;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    color: #333;
}

/*select.form-control {*/
/*    height: calc(1.75em) !important; !* override bootstrap 4 configuraiton *!*/
/*}*/

.oro-pointer {
    cursor: pointer;
}

btn-xs-block {
    white-space: normal;
    word-break: break-word;
}

button.proceedColor {
    background: #A74128;
    font-weight: bold;
    color: #FFFFFF;
}

button.proceedColor:hover, button.proceedColor:focus {
    /* background: #E17F27; */
    outline: 3px solid #000000;      /* Strong dark outline */
    outline-offset: 2px;
}

button.supportColor {
    background: #F2F2F2;
    font-weight: bold;
    color: #4D4D4D;
}

button.supportColor:hover, button.proceedColor:focus {
    /* background: #D9D9D9; */
    outline: 3px solid #000000;      /* Strong dark outline */
    outline-offset: 2px;
}

.hkid-input-group-text {
    background-color: rgba(255, 255, 255, 0) !important;
    border: none !important;
}

input::placeholder {
    /*color: #aaa !important;*/
    color: #595959 !important;
    opacity: 1;
}

.input-group-border-radius {
    border-radius: 4px !important;
}

input[type="radio"], input[type="checkbox"] {
    margin: 0px 5px 0px 0px;
}

#floating-notice {
    position: fixed; /* Fixed/sticky position */
    bottom: 0px; /* Place the button at the bottom of the page */
    left: 10px; /* Place the button 30px from the right */
    z-index: 1; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    opacity: 0.5;
    font-size: 0.935em;
    margin-bottom: 5px;
}

.w-10 {
    width: 10%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

/* ----------------
overlay redirection popup modal for terminal
------------------- */
.redirect-overlay {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(100, 100, 100); /* Fallback color for browser not supporting opacity e.g. IE11 */
    background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
}

/*
.overlay-background {
	background-color: #EEEEEE;
	margin-left: 10%;
	border: 1px solid #888;
	width: 80%;
	height: 100%;
}
*/

/* blur the background, to make blurred edges that overflow the unblurred image that is on top */
.bg-image-blur {
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
}

.overlay-content {
    background-color: #E8E3CD;
    margin: auto;
    margin-top: 20vh;
    /*padding: 20px;*/
    border: 1px solid #CCC;
    width: 90%;
}

.overlay-content-region {
    width: 100%;
    height: 50vh;
    overflow: auto;
}

.overlay-content-confirm-box {
    background-color: #E8E3CD;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    padding: 20px;
    border: 1px solid #CCC;
    width: 90%;
}

.btn-padding {
    padding: 0em 1em 0em 1em;
}

.form-padding {
    padding: 0em 0.5em 0em 0.5em;
}

.input-group-padding {
    padding: 0em 0.5em 0em 0.5em;
}

.form-control {
    font-size: 1em;
    border-color: #808080; /* for wcag */
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    min-width: 200px;
    max-width: 200px;
    background: #fff;
    color: #353535;
    border-style: none;
    margin-right: 16px;
}

#sidebar.active {
    min-width: 200px;
    max-width: 200px;
    text-align: left;
}

#sidebar ul li a {
    text-align: left;
    padding: 0;
    list-style-type: none;
}

#sidebar.active ul li a {
    text-align: left;
    /*font-size: 1.1em;*/
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    /*font-size: 1.1em;*/
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar ul.components {
    padding: 10px 5px 10px 5px;
    border-bottom: 2px solid #fff;
}

#sidebar ul li a {
    padding: 5px 5px 5px 0px;
    /*font-size: 1em;*/
    display: block;
    color: #cc0000;
}

#sidebar ul li a:hover {
    color: #cc0000;
}

#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul.active {
    color: #fff;
    background: linear-gradient(to right, #A74128, #E77A3C);
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #000;
    background: #E77A3C;
}

#sidebarCollapse {
    display: none;
}

a[data-toggle="collapse"] {
    position: relative;
}

ul ul a {
    /*font-size: 0.9em !important;*/
    padding-left: 30px !important;
    background: #6d7fcc;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    min-height: 82vh;
    transition: all 0.1s;
}

.form-control:focus {
    /*border-color: #FFE5CC;
    box-shadow: 0 0 0 0.2rem rgba(246, 132, 56, 0.25);*/
    outline: 2px solid #212529; /* almost black */
    outline-offset: 2px;
}

div.subheader {
    margin: 10px 0px 0px 0px;
    background: #F5F5F5;
    box-shadow: 0px -3px 5px #C8C8C8, 0px 3px 5px #C8C8C8;
    vertical-align: middle;
    width: 100%;
    /*line-height: 7vh;*/
}

div.subheader div.cluster {
    width: 45px;
    background-color: #D8D58D;
    margin: 0px 0px 0px 0px;
}

div.subheader div.icon {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

div.subheader img.icon {
    vertical-align: middle;
}

div.subheader div.text {
    color: #4d4d4d;
    font-weight: bold;
    vertical-align: middle;
}

a.exit:link, a.exit:active, a.exit:visited {
    color: #666666;
    text-decoration: none;
    margin-right: 0px;
}

a.lang:link, a.lang:active, a.lang:visited {
    color: #666666;
    text-decoration: none;
}

a.footer:link, a.footer:active, a.footer:visited {
    color: #666666;
    text-decoration: none;
    font-size: 0.7em;
}

.smallFont {
    font-size: 0.85em;
}

.smallFontBold {
    font-size: 0.85em;
    font-weight: bold
}

span.step_hd_font {
    text-align: center;
    color: #fff;
}

/* ---------------------------------------------------
    REMOVE HEADING STYLE
----------------------------------------------------- */

.noheadingstyle {
    font-size: inherit;
    font-weight: inherit;
    margin: inherit;
    line-height: inherit;
    margin-block: inherit;
    margin-inline: inherit;
    unicode-bidi: inherit;
	text-align: inherit;
}

/* ---------------------------------------------------
    ERROR MESSAGE STYLE
----------------------------------------------------- */
.errorlayer {
    border: 1px solid #CC0000;
    padding: 10px 0px 0px 0px;
    margin-bottom: 0.5rem;
    background-color: #f2f2f2;
}

.errorlogo {
    padding-left: 10px;
    color: #CC0000;
}

.errortitle {
    padding-left: 8px;
    font-weight: bold;
    color: #CC0000;
}

.errormsg {
    padding-top: 2px;
    color: #CC0000;
}

/* ---------------------------------------------------
    Payment important note styles
----------------------------------------------------- */
.payment-important-note {
    color: #A74128;
    margin-bottom: 1rem;
}

.payment-important-note strong:nth-child(2) {
    text-decoration: underline;
}

/* ---------------------------------------------------
    iAMSmart styles
----------------------------------------------------- */
.dark {
	background-color: #2b7367;
	height: 43.75px;
	border: none;
	color: #FFFFFF;
    padding: 4.375px 8.75px 4.375px 8.75px;
    cursor: pointer;
    outline: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans SC', Arial, Helvetica, sans-serif;
}

.dark.disabled, .dark:disabled {
    opacity: 0.65;
}

.light {
    background-color: #FFFFFF;
    height: 43.75px;
    border: 1px solid #2b7367;
    color: #2b7367;
    padding: 4.375px 8.75px 4.375px 8.75px;
    cursor: pointer;
    outline: none;
    border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Noto Sans SC', Arial, Helvetica, sans-serif;
}

.buttontext {
	font-size: 14.8px;
	padding-left: 8.75px;
	white-space: nowrap;
	display: block;
}

a.i-am-smart-url {
	font-size: 16.2px;
}

img.i-am-smart-prefilled-icon {
	width: 21.75px;
	height: 30px;
	margin-left: 5px;
}

/*-------------------------------------------------
for styling individual ol list
----------------------------------------------------- */
ol.notes-order-list li {
    padding-left: 1.6%;
    margin-top: 4px;
    margin-left: -6.6px;
}

div.notes-div-style {
    margin-top: 2px;
    margin-left: -2px;
    padding-top: 4px;
    padding-left: 4px;
    padding-bottom: 2px;
}

/*-------------------------------------------------
for styling OMSA ol and li
----------------------------------------------------- */
ol.omsa_ol { list-style-type:none; }

li.omsa_li:before {
    content:"(" counter(section, lower-roman) ") ";
}

li.omsa_li {
    counter-increment:section;
}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) and (min-width: 321px) {

	div.header-title {
		font-size: 0.8em;
	}

    .wrapper {
        display: flex;
        align-items: stretch;
        line-height: 1.2em;
        font-size: 0.8em;
        padding: 0px;
    }

    #sidebar {
        min-width: 100%;
        max-width: 100%;
        height: 0;
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        overflow-x: hidden;
        margin: 0;
        transition: all 0.3s;
    }

    #sidebar.active {
        min-width: 100%;
        max-width: 100%;
        height: 100%;
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        overflow-x: hidden;
        margin: 0;
        padding: 0 1em 1em 1em;
    }

    /* #sidebar ul li a span {
        font-size: 0.8em;
    } */
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }

    #sidebar ul li {
        margin-right: 0;
        padding-left: 3px !important;
        display: block;
    }

    #sidebar ul ul a {
        padding: 5px !important;
    }

    /* #sidebar ul li a i {
        font-size: 0.8em;
    } */
    #sidebarCollapse {
        display: block;
    }

    .btn-xs-block {
        display: block;
        width: 100%;
        font-size: 0.8em !important;
        margin-bottom: 2px;
        white-space: normal;
        word-break: break-word;
    }

    div.header div.lang_exit {
        float: right;
        margin-top: 0px;
        margin-right: 8px;
        font-size: 0.8em !important;

    }

    div.term-grp-header {
        border-style: solid;
        border-width: 1px;
        border-color: #CCCCCC;
        border-spacing: 0px;
        background: #E8E3CD;
        color: #000000;
        padding: 5px 5px 5px 5px;
    }

    div.term-grp-step_hd {
        background-image: url("/eServices-public/common/image/title_step_xs-1e06bb83b88ab51de3b01a141e0e7255.jpg");
        background-repeat: no-repeat;
        border-style: solid;
        border-width: 1px 1px 1px 1px;
        border-color: #CCCCCC;
        border-spacing: 0px;
        padding: 8px;
    }

    div.term-grp-content {
        border-style: solid;
        border-width: 0px 1px 1px 1px;
        border-color: #CCCCCC;
        border-spacing: 0px;
        padding: 5px;
    }

    div.footer {
        padding: 20px 20px 0px 0px;
        background: #fff;
        font-size: 0.8em;
    }

    .form-control {
        font-size: 0.8em;
    }

    .dark {
		background-color: #2b7367;
		height: 43.75px;
		border: none;
		color: #FFFFFF;
		padding: 4.375px 8.75px 4.375px 8.75px;
        cursor: pointer;
        outline: none;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Noto Sans SC', Arial, Helvetica, sans-serif;
        width: 100%;
    }

    .dark.disabled, .dark:disabled {
        opacity: 0.65;
    }

    .light {
        background-color: #FFFFFF;
        height: 43.75px;
        border: 1px solid #2b7367;
        color: #2b7367;
        padding: 4.375px 8.75px 4.375px 8.75px;
        cursor: pointer;
        outline: none;
        border-radius: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-family: 'Noto Sans SC', Arial, Helvetica, sans-serif;
		width: 100%;
	}

    .buttontext {
		font-size: 14.8px;
		padding-left: 8.75px;
		white-space: nowrap;
		display: block;
	}

	a.i-am-smart-url {
		font-size: 16.2px;
		margin-top: 0.6em;
		text-align: center;
		width: 100%;
	}

	img.i-am-smart-prefilled-icon {
		width: 21.75px;
		height: 30px;
		margin-left: 5px;
	}

}

@media (max-width: 320px) {

    div.header-title {
        font-size: 0.5em;
    }

    .wrapper {
        display: flex;
        align-items: stretch;
        line-height: 1.2em;
        font-size: 0.8em;
        padding: 0px;
    }

    #sidebar {
        min-width: 100%;
        max-width: 100%;
        height: 0;
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        overflow-x: hidden;
        margin: 0;
        transition: all 0.3s;
    }

    #sidebar.active {
        min-width: 100%;
        max-width: 100%;
        height: 100%;
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        overflow-x: hidden;
        margin: 0;
        padding: 0 1em 1em 1em;
    }

    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }

    #sidebar ul li {
        margin-right: 0;
        padding-left: 3px !important;
        display: block;
    }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebarCollapse {
        display: block;
    }

    .btn-xs-block {
        display: block;
        width: 100%;
        font-size: 0.8em !important;
        margin-bottom: 2px;
        white-space: normal;
        word-break: break-word;
    }

    div.header div.lang_exit {
        float: right;
        margin-top: 0px;
        margin-right: 8px;
        /*font-size: 0.5em !important;*/
    }

    div.term-grp-header {
        border-style: solid;
        border-width: 1px;
        border-color: #CCCCCC;
        border-spacing: 0px;
        background: #E8E3CD;
        color: #000000;
        padding: 5px 5px 5px 5px;
    }

    div.term-grp-step_hd {
        background-image: url("/eServices-public/common/image/title_step_xs-1e06bb83b88ab51de3b01a141e0e7255.jpg");
        background-repeat: no-repeat;
        border-style: solid;
        border-width: 1px 1px 1px 1px;
        border-color: #CCCCCC;
        border-spacing: 0px;
        padding: 8px;
    }

    div.term-grp-content {
        border-style: solid;
        border-width: 0px 1px 1px 1px;
        border-color: #CCCCCC;
        border-spacing: 0px;
        padding: 5px;
        word-wrap: break-word;
    }

    div.footer {
        padding: 10px 20px 0px 0px;
        background: #fff;
        font-size: 0.5em;
    }

    .form-control {
        font-size: 0.8em;
    }

    /* ---------------------------------------------------
        iAMSmart styles
    ----------------------------------------------------- */
    .dark {
		background-color: #2b7367;
		height: 43.75px;
		border: none;
		color: #FFFFFF;
		padding: 4.375px 8.75px 4.375px 8.75px;
        cursor: pointer;
        outline: none;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Noto Sans SC', Arial, Helvetica, sans-serif;
        width: 100%;
    }

    .dark.disabled, .dark:disabled {
        opacity: 0.65;
    }

    .light {
        background-color: #FFFFFF;
        height: 43.75px;
        border: 1px solid #2b7367;
        color: #2b7367;
        padding: 4.375px 8.75px 4.375px 8.75px;
        cursor: pointer;
        outline: none;
        border-radius: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-family: 'Noto Sans SC', Arial, Helvetica, sans-serif;
		width: 100%;
	}

    .buttontext {
		font-size: 12px;
		padding-left: 8.75px;
		white-space: nowrap;
		display: block;
	}

	a.i-am-smart-url {
		font-size: 16.2px;
		margin-top: 0.6em;
		text-align: center;
		width: 100%;
	}

	img.i-am-smart-prefilled-icon {
		width: 21.75px;
		height: 30px;
		margin-left: 5px;
	}

}