@charset "UTF-8";

*{
    margin:0px;
    padding:0px;
    font-family: Arial, Helvetica, sans-serif, DFSongStd;
}
.clear {clear:both; width:1px; height:1px; overflow:hidden}

select.selectioninput{
    width:200px;
}

image, img{
    border:none;
}

form { margin: 0px; }

li {
    line-height:1.15em; padding:5px 5px 5px 5px; 
    text-indent:0;
}

textarea{
    font-size:15px;
}
select{
    font-size:15px;
}
.input_file{
    width:200px;
}

/* IN GENERAL - HYPERLINK */

a {text-decoration:none; padding:0; border:0;}
a:link    { color:#003399; }
a:visited { color:#6B5B9A; }
a:hover, a:active, a:focus   { color:#003399; text-decoration:underline; }

a.footer:visited{
    text-decoration: none;
    margin-right: 20px;
}

a.footer:hover {
    text-decoration: underline;
}


a.email:link, a.email:active{
    color:#003399;
    text-decoration:none;
    font-weight:normal;
    font-family: Arial, Helvetica, sans-serif, DFSongStd;
}
a.email:visited{
    color: #6B5B9A;
    font-weight:normal;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif, DFSongStd;
}
a.email:hover{
    text-decoration:underline;
    font-weight:normal;
    font-family: Arial, Helvetica, sans-serif, DFSongStd;
}

div.mainframe {
    text-align:center;

}

div.header div.langspacer{
    float: right;
    margin-top: 10px;
    margin-right:7px;
    height:12px;
    width:1px;
    overflow:hidden;
    border-left:1px solid #744c28;
}

a.exit:link, a.exit:active, a.exit:visited{
    color:#666666;
    text-decoration:none;
    background-image:url(../images/icon_close.jpg);
    background-repeat:no-repeat;
    background-position:right center;
    padding-right:23px;

}

a.exit:hover{
    text-decoration:underline;
}

a.close:link, a.close:active, a.close:visited{
    color:#666666;
    text-decoration:none;
    background-image:url(../images/icon_close.jpg);
    background-repeat:no-repeat;
    background-position:35px 3px;
    padding-right:23px;

}

a.close:hover{
    text-decoration:underline;
}
a.lang:link, a.lang:active, a.lang:visited{
    color: #754C28;
    text-decoration:none;
}

a.lang:hover{
    text-decoration:underline;
}

a.langsc:link, a.langsc:active, a.langsc:visited{
    font-family:DFSongStd,PMingLiU,MingLiU,LiSong Pro,Serif ;
    color: #754C28;
    text-decoration:none;
}


a.langsc:hover{
    text-decoration:underline;

}
a.langtc:link, a.langtc:active, a.langtc:visited{
    color: #754C28;
    text-decoration:none;
}

a.langtc:hover{
    text-decoration:underline;
}

div.content2 {
    clear:both;
    width:100%;
    margin:0px;
    padding-bottom:5px;
    text-align:left;
    border:none;
    background-repeat:repeat-x;
    background-position:bottom;
    background-color:#FFFFFF;
}

div.boldText{
    font-weight:bold;
}

div.boldText ul{
    margin:7px 0px 0px 30px;
    color:#333333;
}
div.boldText ul li{
    color:#333333;
    margin-bottom:15px;
    font-weight:normal;
}
h1.boldText{
    font-weight:bold;
    font-size: 14px;
}

h1.boldText ul{
    margin:7px 0px 0px 30px;
    color:#333333;
    font-size: 14px;
}
h1.boldText ul li{
    color:#333333;
    margin-bottom:15px;
    font-weight:normal;
    font-size: 14px;
}


div.content div.singlecol {
    background-color: white;
    padding-left: 13px;
    padding-right: 13px; 
    border: none;
    text-align: left;
}

.navlink_item_2line{
    margin-bottom:5px;
}
.navlink_item_2line a { /* adding 'a' applies the style to the link, rather than the div */
    display: block; /* add this */
    background-color: #e8e3cd;
    color: #1A1A1A;
    padding: 3px;
    font-weight:bold;
    padding-left: 10px; padding-right: 7px; padding-top: 7px; padding-bottom: 7px;
    text-decoration: none;
    background-image:url('../images/arrow.jpg');
    background-repeat:no-repeat; background-position:115px 18px;
    border:1px solid #E8E3CD;
}
.navlink_item_2line a:hover { /* adding 'a' applies the style to the link, rather than the div */
    background-color:#d2cdb9;
    background-image:url('../images/arrow2.jpg');
    background-repeat:no-repeat; background-position:115px 18px;
    border:1px solid #E8E3CD;
}

div.navstep_item {
    padding:7px 0px 10px 10px;
    text-align: left;
    color:#4D4D4D;
}
div.navstep_item div{
    margin-right:10px;
}

div.navstep_item#sel {
    background-image: url('../images/bg_nav.jpg');
    background-repeat: repeat-y;
    background-size: contain;
    color: #ffffff;
}


div.contentpage div.cell_nomargin {
    margin-bottom: 25px;
    background-color: white;
    margin-bottom: 0px;
}

div.contentpage div.cell_before_button {
    background-color: white;
    margin-bottom: 10px;
}


div.contenttable div.title_border,
div.contenttable_bootstrap div.title_border,
fieldset.contenttable div.title_border,
fieldset.contenttable_bootstrap div.title_border
{
    color: #1a1a1a;
    background-color: #E8E3CD; padding-left: 10px; padding-top: 7px; padding-bottom: 10px;
    border-top:1px solid #E8E3CD;
}

div.contenttable div.detail_row {
    padding-left: 10px;
    padding-right:5px;
    padding-top: 3px;
    padding-bottom: 3px;
    display:block;
    color:#333333;  
}

div.contenttable div.detail_row_warn {
    padding-left: 10px; padding-right:10px; padding-top: 3px; padding-bottom: 3px;
    display:block;
    color: #CC0000;    
}

div.contenttable div.row_fee {
    padding-left: 10px;
    padding-right:10px;
    padding-top: 0px; 
    padding-bottom: 0px;
    display:block;
    color:#333333;  
}

div.row div.colCell{
    display:table-cell;
    display:block;
}


div.contenttable div.row div.step, div.contenttable_bootstrap div.row div.step{
    padding:5px 0px 15px 0px;
    border-bottom:0px solid #BFBFBF;
}


div.contenttable div.row div.step_last, div.contenttable_bootstrap div.row div.step_last{
    padding:5px 0px 0px 0px;
}

div.downloadRow{
    padding:10px 10px 10px 5px;	
}
div.downloadRow div.icon{
    float:left;
    width:70px;
    text-align:center;
}
div.downloadRow div.link{
    color:#754C28;
    float: right;
}
div.downloadRow div.link a{
    color:#003399;
    text-decoration:none;
    font-weight:normal;
}
div.downloadRow div.link a:visited{
    color:#6B5B9A;
}

div.downloadRow div.link a:hover{
    text-decoration:underline;
    font-weight:normal;
}

div.downloadRow div.desc{
    display:block;
    margin-left:70px;
}
div.downloadRow div.desc div{
    margin-top:3px;
}

div.downloadRow div.desc div.leftLable{
    display:table-cell;
    float:left;
    width:135px;
    padding-left:20px;
    border:none;
    margin:0px;
    padding:0px;
}

div.downloadRow div.desc div.rightValue {
    display: table-cell;
}

div.contenttable div.row_nomargin {
    padding-left: 10px; padding-right:10px; padding-top: 7px; padding-bottom: 10px;
    color:#333333;
}

div.contenttable div.row_nomargin.iAMSmart, div.contenttable_bootstrap div.row_nomargin.iAMSmart {
    display: none;
}

div.contenttable div.tNc {
    margin:0px;
    padding-left: 34px; padding-right:0px; padding-top: 0px; padding-bottom: 0px;
    height:100px;
    overflow-y:scroll;
}
div.contenttable div.tNc textarea{
    width:99.9%;
    height:100px;
    border:none;
    display:table-cell;	
}

div.contenttable div.tNc li {
    color: #333333;
}

div.contenttable div.blankrow {
    padding-left: 0px; padding-right:0px; padding-top: 0px; padding-bottom: 10px;

}



div.leftchoice input{
    border:none;
    height: 30px;
}

div.choice2{
    display:block;
    margin-left:170px;
}


div.leftchoice2 {
    float:left;
    padding-left:30px;
}


div.rowseperator {
    padding: 0px 10px 0px 10px;
}

span.alert {
    color: #cd0100;
}

span.note {
    color: #CC0000;
}

span.paymentnote {
    color: #000000;
}

span.steppage {
    color: #666666;
}

span.stepcurr {
    color: #000000;
    font-weight: bold;
}

img.title {
    border: 1px solid #e8e3cd;
}

img.logoImg {
	 padding: 5px;
	 vertical-align: middle;
}

ul.note{
    color: #CC0000;
    margin-left:30px;
    margin-right:30px;
    list-style:decimal;
}

ul.paymentnote{
    color: #000000;
    margin-left:30px;
    margin-right:30px;
    list-style:decimal;
}

ol.note{
    color: #CC0000;
    margin-left:30px;
}

ol.paymentnote{
    color: #000000;
    margin-left:30px;
}

input.text {
    width: 150px;
}

sup.note {
    color: #CC0000;
}

sup.paymentnote {
    color: #000000;
}

div.errorlayer {
    border:1px solid #CC0000;
    padding-top:7px; margin-bottom:28px; padding-left:0px;
    background-color:#f2f2f2;
}

div.errorlayer div.main_msg {
    padding-top: 7px; padding-bottom: 10px;
}

div.errorlogo {
    float:left;
    padding-left:10px;
    padding-right:2px;
    top:5px;
    line-height:19px;
}

div.errortitle {
    padding-left: 10px; font-weight: bold;
    color:#CC0000;
    line-height: 19px;
    font-size: 17px;
}

div.errormsg {
    padding-left:27px; color:red;
    padding-bottom: 10px;
    color:#CC0000;
}
div.errormsg ul{
    margin-left:10px;
}
div.errormsg ul li{
    margin-bottom:5px;
}
div.errormsg ul li span.code{
    color:#000000;
    padding-left:20px;
}

div.btn_next {
    float:right;
    width:70px; height:39px;
    background-image: url('../images/bg_nav.jpg');
    text-align:center;
    font-weight: bold;
    color:white;
    cursor:pointer;
}

div.btn_clear {
    float:right;
    width:70px;
    height:38px;
    background-color: #f2f2f2;
    text-align:center;
    font-weight: bold;
    border:1px solid white;
    border-left: #e8e3cd solid 1px;
    cursor:pointer;
}

div.btnlabel {
    padding-top:11px;
}

div.col_certtype {
    float:left; width:121px; height: 100px;
    top:-4px;
    position:relative;
}

div.residentiallayer {
    padding-left:32px; padding-top:0px;
    padding-bottom: 0px;
}

div.residentiallayer div.addloc {
    float:left;
}

div.residentiallayer div.local_input {
    float:left; padding-left: 10px;
}

div.residentiallayer div.local {
    float:left;
}

div.residentiallayer div.overseas_input {
    float:left; padding-left: 10px;
}

div.residentiallayer div.overseas {
    padding-top: 1px; 
}

div.portaladdlayer {
    padding-left:30px; padding-top:0px;
}

div.portallayer {
    padding-left:33px; padding-top:0px; 
    padding-bottom: 0px;
}

div.portallayer div.addloc {
    float:left;
    color:#333333;
}

div.portallayer div.local_input {
    float:left; padding-left: 10px;
}

div.portallayer div.local {
    float:left;
}

div.portallayer div.overseas_input {
    float:left; padding-left: 10px;
}

div.portallayer div.overseas {
    float:left; 
}

div.portallayer div.pobox_input {
    float:left; padding-left: 10px;
}

div.certtypelayer div.rightlabel2 {
    float:left;
    width:110px;
    border:none;
}

div.filename_label {
    float:left; width:150px;
    text-align:right;
    padding-right:15px;
}
div.passphase_label {
    float:left; width:150px;
    text-align:right;
    padding-right:15px;
    position:relative;
    top:-5px;
}

div.contenttable_button {
    border: 1px #CCCCCC solid;
    height:39px;
}
div.contenttable_button div.tNc{
    padding:10px 0px 0px 10px;
    font-size:0.83em;
}

div.btnbar {
    float: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

div.steplayer {
    float:right;
}

button.continueBtn, 
input.continueBtn{
    font-size:1em;
    background-color:#A74128;
    border:none;
    cursor:pointer;
    width:90px; height:39px;
    font-weight: bold;
    color:white;
}
input.continueBtn_hov{
    font-size:1em;
    background-color:#E17F27;
    border:none;
    cursor:pointer;
    width:90px; height:39px;
    font-weight: bold;
    color:white;
}
button.continueBtn:hover, 
input.continueBtn:hover{
    font-size:1em;
    background-color:#E17F27;
    border:none;
    cursor:pointer;
    width:90px; height:39px;
    font-weight: bold;
    color:white;
}
/* ===== ACCESSIBILITY FIX: Visible keyboard focus indicators ===== */

/* Focus styles for Continue buttons */
button.continueBtn:focus,
button.continueBtn_hov:focus,
input.continueBtn:focus,
input.continueBtn_hov:focus {
    outline: 3px solid #005a9c !important;
    outline-offset: 2px !important;
    background-color: #E17F27 !important;  /* Matches hover state */
}

/* Focus styles for all input buttons */
input[type="button"]:focus,
button[type="button"]:focus,
input[type="submit"]:focus,
button[type="submit"]:focus,
input.submitBtn:focus,
button.submitBtn:focus,
input.sendOTPBtn:focus,
button.sendOTPBtn:focus,
input.supportBtn:focus,
button.supportBtn:focus,
input.resetBtn:focus,
button.resetBtn:focus,
input.cancelPayBtn:focus,
button.cancelPayBtn:focus,
input.cancelPayRedBtn:focus,
button.cancelPayRedBtn:focus,
input.saveBtn:focus,
button.saveBtn:focus,
input.printBtn:focus,
button.printBtn:focus,
input.searchBtn:focus,
button.searchBtn:focus,
input.eMEBtn:focus,
button.eMEBtn:focus {
    outline: 2px solid #005a9c !important;
    outline-offset: 2px !important;
}

/* Continue button focus (thicker) */
button.continueBtn:focus,
input.continueBtn:focus {
    outline: 3px solid #005a9c !important;
    outline-offset: 2px !important;
    background-color: #E17F27 !important;
}

/* Focus styles for checkboxes */
input[type="checkbox"]:focus {
    outline: 2px solid #005a9c !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.3) !important;
}

/* Focus styles for radio buttons - use box-shadow for circular effect */
/* Focus styles for radio buttons - subtle circular indicator */
input[type="radio"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 90, 156, 0.3) !important;
    border-radius: 50% !important;
}

/* Focus styles for all links (including language toggle) */
a:focus {
    outline: 2px solid #005a9c !important;
    outline-offset: 2px !important;
    text-decoration: underline !important;
}

/* Specific focus style for exit button if it exists */
a.exit:focus {
    outline: 2px solid #005a9c !important;
    outline-offset: 2px !important;
    background-color: rgba(0, 90, 156, 0.1) !important;
}

/* ✅ You have this - good! */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,  /* ✅ Included */
textarea:focus,
select:focus {
    outline: 2px solid #005a9c !important;
    outline-offset: 1px !important;
}
button.submitBtn,
input.submitBtn {
    font-size: 1em;
    background-color: #A74128;
    border: none;
    cursor: pointer;
    width: 100px;
    height: 39px;
    font-weight: bold;
    color: #FFFFFF;
}
input.submitBtn_hov{
    font-size:1em;
    background-color: #E17F27;
    border:none;
    cursor:pointer;
    width:100px; height:39px;
    font-weight: bold;
    color: #FFFFFF;
}
button.submitBtn:hover,
input.submitBtn:hover {
    background-color: #E17F27;
}

/* Send OTP Button */
button.sendOTPBtn,
input.sendOTPBtn {
    font-size: 1em;
    background-color: #A74128;
    border: none;
    cursor: pointer;
    width: 200px;
    height: 39px;
    font-weight: bold;
    color: #FFFFFF;
}
input.sendOTPBtn_hov{
    font-size:1em;
    background-color: #E17F27;
    border:none;
    cursor:pointer;
    width:180px; height:39px;
    font-weight: bold;
    color: #FFFFFF;
}
button.sendOTPBtn:hover,
input.sendOTPBtn:hover {
    background-color: #E17F27;
}

/* Support Button */
button.supportBtn,
input.supportBtn {
    font-size: 1em;
    background-color: #F2F2F2;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    width: 70px;
    height: 39px;
    font-weight: bold;
    color: #4D4D4D;
}

input.supportBtn_hov{
    font-size:1em;
    background-color:#D9D9D9;
    border:none;
    cursor:pointer;
    width:70px; height:39px;
    border:none;
    border:1px solid #dfdfdf;
    font-weight: bold;
    color: #4D4D4D;
}
button.supportBtn:hover,
input.supportBtn:hover {
    background-color: #D9D9D9;
}

button.resetBtn,
input.resetBtn{
    font-size:1em;
    background-color:#F2F2F2;
    border:none;
    cursor:pointer;
    width:70px; height:39px;
    font-weight: bold;
    border:none;
    border:1px solid #e8e8e8;
    color: #4D4D4D;
}

input.resetBtn_hov{
    font-size:1em;
    background-color:#D9D9D9;
    border:none;
    cursor:pointer;
    width:70px; height:39px;
    border:none;
    border:1px solid #dfdfdf;
    font-weight: bold;
    color: #4D4D4D;
}
button.resetBtn:hover,
input.resetBtn:hover{
    font-size:1em;
    background-color:#D9D9D9;
    border:none;
    cursor:pointer;
    width:70px; height:39px;
    border:none;
    border:1px solid #dfdfdf;
    font-weight: bold;
    color: #4D4D4D;
}
button.cancelPayBtn,
input.cancelPayBtn{
    font-size:1em;
    background-color:#F2F2F2;
    border:none;
    cursor:pointer;
    width:150px; height:39px;
    font-weight: bold;
    border:none;
    color: #4D4D4D;
}

input.cancelPayBtn_hov{
    font-size:1em;
    background-color:#D9D9D9;
    border:none;
    cursor:pointer;
    width:150px; height:39px;
    border:none;
    font-weight: bold;
    color: #4D4D4D;
}
button.cancelPayBtn:hover,
input.cancelPayBtn:hover{
    font-size:1em;
    background-color:#D9D9D9;
    border:none;
    cursor:pointer;
    width:150px; height:39px;
    border:none;
    font-weight: bold;
    color: #4D4D4D;
}

button.cancelPayRedBtn,
input.cancelPayRedBtn{
    font-size:1em;
    background-color:#A74128;
    border:none;
    cursor:pointer;
    width:150px; 
    height:39px;
    font-weight: bold;
    color: #FFFFFF;
}
input.cancelPayRedBtn_hov{
    font-size:1em;
    background-color: #E17F27;
    border:none;
    cursor:pointer;
    width:150px; height:39px;
    font-weight: bold;
    color: #FFFFFF;
}
button.cancelPayRedBtn:hover,
input.cancelPayRedBtn:hover{
    font-size:1em;
    background-color: #E17F27;
    border:none;
    cursor:pointer;
    width:150px; height:39px;
    font-weight: bold;
    color: #FFFFFF;
}

button.saveBtn,
input.saveBtn{
    font-size:1em;
    background-color:#A74128;
    border:none;
    cursor:pointer;
    width:68px; height:39px;
    font-weight:bold;
    border:none;
    border:1px solid #A74128;
    color: #ffffff;
    border-right:1px solid #ffffff;
}

input.saveBtn_hov{
    font-size:1em;
    background-color:#E17F27;
    border:none;
    cursor:pointer;
    width:68px; height:39px;
    border:none;
    border:1px solid #E17F27;
    font-weight: bold;
    color: #ffffff;
    border-right:1px solid #ffffff;
}

button.saveBtn:hover,
input.saveBtn:hover{
    font-size:1em;
    background-color:#E17F27;
    border:none;
    cursor:pointer;
    width:68px; height:39px;
    border:none;
    border:1px solid #E17F27;
    font-weight: bold;
    color: #ffffff;
    border-right:1px solid #ffffff;
}
button.printBtn,
input.printBtn{
    font-size:1em;
    background-color:#A74128;
    border:none;
    cursor:pointer;
    width:70px; height:39px;
    font-weight: bold;
    border:none;
    border:1px solid #A74128;
    color:white;
}

input.printBtn_hov{
    font-size:1em;
    background-color:#E17F27;
    border:none;
    cursor:pointer;
    width:70px; height:39px;
    border:none;
    border:1px solid #E17F27;
    font-weight: bold;
    color:white;
}
button.printBtn:hover,
input.printBtn:hover{
    font-size:1em;
    background-color:#E17F27;
    border:none;
    cursor:pointer;
    width:70px; height:39px;
    border:none;
    border:1px solid #E17F27;
    font-weight: bold;
    color:white;
}

button.searchBtn,
input.searchBtn{
    font-size:1em;
    background-color:#A74128;
    border:none;
    cursor:pointer;
    width:60px; height:22px;
    font-weight: bold;
    color: #FFFFFF;
}
input.searchBtn_hov{
    font-size:1em;
    background-color: #E17F27;
    border:none;
    cursor:pointer;
    width:60px; height:22px;
    font-weight: bold;
    color: #FFFFFF;
}

button.searchBtn:hover,
input.searchBtn:hover{
    font-size:1em;
    background-color: #E17F27;
    border:none;
    cursor:pointer;
    width:60px; height:22px;
    font-weight: bold;
    color: #FFFFFF;
}


div.centerContainer{
    display:block;
    border:none;
}

div.id_39_leftLabel{
    float:left;
    width:50%;
    margin:0px 0px 0px 0px;
    padding:3px 0px 0px 0px;
    text-align:right;
}

div.id_39_rightLabel{
    font-weight:bold;
    padding:3px 0px 0px 0px;
    text-align:left;
    display:inline-block;
}

div.id_39_rightLabel2{
    font-weight:bold;
    display:block;
    padding:3px 0px 0px 0px;
}

div.locationMapLink{
    float:right;
}

div.locationMapLink a{
    color:#003399;
    text-decoration:none;
    font-weight:normal;
}

div.locationMapLink a:hover{
    text-decoration:underline;
}

div.locationMapLink a:visited{
    color:#6B5B9A;
}

div.id_29_smartmenu{
    text-align:center;
}

div.id_29_smartmenu{
    text-align:center;
}
div.id_29_smartmenu img{
    width:90%;
}

ul.id_29_choose_1{
    list-style:none;
}
ul.id_29_choose_1 li{
    float:left;
    color:#000000;
    width:20%;
    text-align:center;
}
div.end_survey_icon{
    position:absolute;
    padding:7px 0px 0px 10px;
}
div.remark2{
    color:#666666;
    font-size:0.85em;
}
div.bureauxContainer{
    padding-left:70px;
}
div.bureaux{
    font-weight:bold;
    font-size:16px;
    color:#000000;
    display:block;
    padding-top:6px;
}
div.bureaux_desc{
    font-weight:normal;
    font-size:12px;
    color:#000000;
    display:block;
}
div.bureaux_chi{
    font-weight:bold;
    font-size:16px;
    color:#000000;
    display:block;
}
div.bureaux_desc_chi{
    font-weight:normal;
    font-size:12px;
    color:#000000;
    display:block;
    padding-top:6px;
}
h1.bureaux{
    font-weight:bold;
    font-size:16px;
    color:#000000;
    display:block;
    padding-top:6px;
}
h1.bureaux_desc{
    font-weight:normal;
    font-size:12px;
    color:#000000;
    display:block;
}
h1.bureaux_chi{
    font-weight:bold;
    font-size:16px;
    color:#000000;
    display:block;
}
h1.bureaux_desc_chi{
    font-weight:normal;
    font-size:12px;
    color:#000000;
    display:block;
    padding-top:6px;
}
div.min38{
    min-height:38px;
}


.force_chi_font {
    font-family: PMingLiU,MingLiU,Arial;
}

.force_eng_font {
    font-family: Arial;
}

div.purpleCircle{
    float: left;
    background: url("../images/purple_circle.gif");
    background-repeat: no-repeat;
    color: white;
    font:  12pt "Arial"; 
    font-weight: bold;
    width: 22px;
    height: 18px;
    text-align: center;
}

.flush_left {
    float: left;
    width: 100%;
}

.notice {
	font-weight: bold;
}

.ldw_message_box {
    border:1px solid #CC0000;
    padding:7px;
    padding-left:15px;
    padding-right:15px;
    margin-bottom:28px;
    background-color:#f2f2f2;
}

.ldw_message_content {
    color:#CC0000;
}

.paymentReminder {
    color:#CC0000;
}


/*kenny, desktop*/
@media only screen and (min-width:769px) {
    
    input:not([type="radio"]):not([type="checkbox"]){
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    #emailInput{
        width: 400px;
    }
    
    #ContinueToAuth{
        display: block;
    }
    
    #ContinueToRenewal{
        display: none;
    }
    
    #mobile_navlink_item{
            display: none;
        }

    input {
        background-color: white;
        font-size:15px;
    }

    body {
        width: 80%; 
        margin-left:auto;
        margin-right:auto;
        background-image: url("../images/bg_page.jpg");
        background-repeat: repeat-x;
        background-color:#ded9c3 !important;
        font-size:0.935em;
    }

    div.new_line{
        display: none;
    }

    div.navstep {
        width: 160px;
        border:1px solid #cccccc;
        margin-bottom: 12px;
        display:block;
        overflow:hidden;
        color:#4D4D4D;
    }

    div.step_hd{
        background-image: url('../images/title_step.jpg');
        background-repeat:no-repeat;
        height:25px;
        vertical-align:middle;
        padding: 8px 0;
    }

    div.step_hd2{
        display: none;
    }

    div.seperator {
        height:1px;
        border-bottom:1px solid #BFBFBF;
        overflow:hidden;
    }

    div.header {
        text-align: left;
        width:100%; height:27px;
        margin-bottom: 20px;
        margin-top:28px;
        vertical-align:bottom;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .rightSide {
        display: flex;
        align-items: center;
    }

    div.header div.lang1 {
        margin-right:8px;
    }

    div.header div.lang2 {
        margin-right:10px;
    }

    div.header div.logo {
        float: left;
        padding: 5px 5px 5px 5px;
    }

    div.subheader {
        text-align:left;
        width:100%; 
        height:52px;
        margin-bottom: 18px;
        background:url("../images/subheader_bg.jpg");
        vertical-align:middle;
        font-size:1.20em;
    }

    div.subheader div.cluster{
        float:left;
        width:46px;
        background-color:#6B5B9A;
        height:42px;
        overflow:hidden;
        margin:5px 0px 5px 0px;
    }
    div.subheader img {
        vertical-align:middle;
        float:left;
    }
    div.subheader img.icon {
        margin:11px 11px 0px 11px;
    }

    div.mainpage {	
        position:relative;
        margin:0px auto;
    }

    div.contenttable, div.contenttable_bootstrap {
        border: 1px #CCCCCC solid;
        padding:0px;
        font-size: 14px;
    }

    div.row div.leftCol{
        display:table-cell;
        float:left;
        width:50%;
        position:relative;
    }
    div.row div.rightCol{
        display:table-cell;
    }

    div.contenttable div.row {
        padding-left: 10px; padding-right:10px; padding-top: 7px; padding-bottom: 10px;
        display:block;
        color:#333333;
    }

    div.content {
        clear: both;
        width: 100%;
        margin: 0px;
        padding-bottom: 6px;
        text-align: left;
        border: none;
        background: 
            linear-gradient(
                to bottom,
                transparent 0%,
                transparent calc(100% - 6px),
                rgba(180, 180, 180, 0.15) calc(100% - 6px),
                rgba(180, 180, 180, 0.4) calc(100% - 4px),
                rgba(180, 180, 180, 0.6) calc(100% - 2px),
                rgba(180, 180, 180, 0.25) 100%
            ),
            #FFFFFF;
        display: flex;
    }

    div.cell {
        margin-bottom: 25px;
        background-color: white;
    }
    div.rowHeader{
        margin:0px;
        padding:15px 10px 25px 20px;
    }

    div.rowHeader div.gov_logo{
        position:absolute;
    }

    div.rowHeader div.text{
        position:relative;
    }

    div.navlink {
        width:160px;
        margin-bottom: 12px;
    }

    .navlink_item{
        margin-bottom:5px;
    }

    /* Updated - Remove background-image from all nav links */
    .navlink_item a {
        display: block;
        background-color: #E8E3CD;
        color: #1A1A1A;
        padding: 3px;
        font-weight: bold;
        padding-left: 10px;
        padding-right: 7px;
        padding-top: 7px;
        padding-bottom: 7px;
        text-decoration: none;
        /* REMOVED: background-image: url('../images/arrow.jpg'); */
        /* REMOVED: background-repeat: no-repeat; */
        /* REMOVED: background-position: 95% center; */
        border: 1px solid #E8E3CD;
    }

    .navlink_item a:hover {
        background-color: #D2CDB9;
        /* REMOVED: background-image: url('../images/arrow2.jpg'); */
        /* REMOVED: background-repeat: no-repeat; */
        border: 1px solid #E8E3CD;
    }

    div.navlink_item2 {
        padding: 7px 7px 7px 10px;
        background-color: #e8e3cd;
        margin-bottom: 5px;
        text-align: left;
        color: #1a1a1a;
        border:1px solid #E8E3CD;
    }

    div.navlink_item2 div.title{
        font-weight:bold;
        margin-bottom:5px;
    }
    div.navlink_item2 h2.title{
        font-weight:bold;
        margin-bottom:5px;
        font-size: 16px;
    }

    div.navlink_item2 a {
        color: #754c28;
        font-weight:bold;
        margin-bottom:5px;
    }

    div.navlink_item3 {
        padding-left: 10px; padding-right: 7px; padding-top: 7px; padding-bottom: 7px;
        background-color: #e8e3cd;
        margin-bottom: 5px;
        text-align: left;
        color: #1a1a1a;
        border:1px solid #E8E3CD;
    }

    div.navlink_item3 div.title{
        color: #1A1A1A;
        font-weight:bold;
        padding: 7px 7px 7px 10px;
    }

    div.navlink_item3 div.row{
        padding-left: 10px;
    }

    div.content div.leftcol {
        width: 200px;
        background-color: white;
        padding:0px;
        margin:0px;
        vertical-align:top;
    }

    div.content div.rightcol {
        background-color: white;
        padding-left: 0px; padding-right: 13px; 
        border: none;
        text-align: left;
        width: calc(100% - 200px);
    }

    div.contenttable div.title,
    div.contenttable_bootstrap div.title {
        color: #1a1a1a;
        background-color: #E8E3CD; padding-left: 10px; padding-top: 7px; padding-bottom: 10px;
    }


    div.contenttable div.step_hd span.step_remark, 
    div.contenttable_bootstrap div.step_hd span.step_remark {
        display: none;
    }

    div.navlayer {
        text-align:left; 
        position:relative; 
        margin-left: 13px;
    }

    div.footer {
        width: 100%;
        height: 87px; padding-top:25px;
    }

    div.footer div.leftcol {
        width:60%; 
        text-align:left; 
        float: left;
    }

    div.footer div.rightcol {
        width:40%; 
        text-align:left; 
        float: left;
    }

    div.footerlinks {
        padding-top:23px;
    }
    div.leftcol div.footerlinks div.title{
        color:#000;
    }

    div.mainpage_padding{
        text-align:center; padding-left:20px; padding-right:20px;
    }

    a.footer, a.footer:active, a.footer:link, a.footer1, a.footer1:active, a.footer1:link {
        color: #333333;
        text-decoration: none;
        margin-right: 10px;
        margin-left: 10px;
        font-size:0.9em;
    }

    div.ccc_table_left {
        float: left;
        width: 240px;
        height: 25px;
        position:relative;
        text-align: right;
    }

    div.ccc_table_right {
        height: 25px;
    }
    div.apps0203_left_col {
        float: left;
        width: 400px;
        height: 25px;
        position:relative;
    }

    div.apps0203_right_col {
        height: 25px;
    }

    div.apps0203_corr_lens_left_col {
        float: left;
        width: 400px;
        height: 40px;
        position:relative;
    }

    div.apps0203_corr_lens_right_col {
        height: 40px;
    }

    div.apps0302_left_col {
        float: left;
        width: 210px;
        height: 25px;
        position:relative;
    }

    div.apps0302_right_col {
        height: 25px;
    }

    div.apps0304_left_col {
        float: left;
        width: 210px;
        height: 25px;
        position:relative;
    }

    div.apps0304_right_col {
        height: 25px;
    }

    div.apps0305_left_col {
        float: left;
        width: 180px;
        height: 25px;
        position:relative;
    }

    div.apps0305_right_col {
        height: 25px;
    }

    div.apps0306_left_col {
        float: left;
        width: 380px;
        height: 25px;
        position:relative;
    }

    div.apps0306_right_col {
        height: 25px;
    }

    div.apps0306_declaration_left_col {
        float: left;
        width: 30px;
        height: 25px;
        position:relative;
    }

    div.apps0306_declaration_right_col {
        height: 100%;
        display: table-cell;
    }

    div.apps0306_fee_left_col {
        float: left;
        height: 25px;
        position:relative;
    }

    div.apps0306_fee_mid_col {
        height: 25px;
        text-align: right;
    }

    div.apps0306_fee_right_col {
        height: 25px;
        text-align: right;
    }

    div.apps0501_right_col {
        height: 25px;
    }

    div.backToTop{
        display: none;
    }
}




/*kit, responsive should reuse the same css, clone to MobileStyle*/
body {
    margin: 0 auto !important;
    max-width: 100vw;
    overflow-x: hidden;
}

div.content div.rightcol {
    display: block;
    padding-bottom: 10px;
    min-height: 600px;
}

div.content div.rightcol .contentpage {
    display: block;
}

div.content div.rightcol .contentpage form {
    display: block;
    float: left;
    width: 100%;
}

div.content div.rightcol .contentpage .content-table {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

.content-table .heading2 {
    background-color: #E8E3CD;
    padding: 10px;
}

.content-table .content {
    padding: 10px;
}

div.cell:not(.bootstrap) {
    float: left;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
div.downloadRow {
    width: 100%;
    box-sizing: border-box;
}
div.downloadRow div.desc {
    margin: auto;
    padding-left: 70px;
    box-sizing: border-box;
}
div.downloadRow div.link.hkscs {
    position: relative;
    display: inline-block;
    float: right;
}

div.contenttable {
    float: left;
    width: 100%;
    height: 100%;
    text-align: justify;
}

div.contenttable div.title_border,
div.contenttable_bootstrap div.title_border,
fieldset.contenttable div.title_border,
fieldset.contenttable_bootstrap div.title_border {
    margin-top: 10px;
}

div.contenttable div.row {
    float: left;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

div.contenttable div.row_nomargin {
    display: block;
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

div.contenttable div.row_nomargin.iAMSmart {
    display: none;
}

div.leftchoice {
    display: inline-block;
    height: 100%;
    line-height: 100%;
    position: relative;
    vertical-align: middle;
    margin-right: 5px;
}

div.leftchoice input {
    height: 100%;
    line-height: 100%;
    min-height: 14px;
    display: inline-block;
}

div.rightlabel {
    display: inline-block;
    height: 100%;
    line-height: 100%;
    max-height: 100%;
    vertical-align: middle;
}

div.rightlabel img {
    width: auto;
    height: 100%;
    max-height: 100%;
    display: inline-block;
    vertical-align: bottom;
}

div.rightlabel .thumb {
    height: 100%;
    line-height: 100%;
    max-height: 100%;
    display: inline-block;
}

div.rightlabel img.useiAMSmart {
    width: 77px;
    vertical-align: text-top;
}

.useiAMSmart {
    width: 77px;
    vertical-align: text-top;
}

div.rightlabel img.info_orange {
    height: 20px;
}

    
.rightlabel_note {
    padding-left: 0px;
}

div.col_rin_field #err_EMAIL {
    display: block;
    float: left;
    position: relative;
}

div.contenttable div.detail_row div.detail_row_option {
    padding: 5px 0px;
    line-height: 20px;

    display: flex;
    align-items: flex-start;
}

.dBlock {
    display: block;
}

div.contenttable div.detail_row div.detail_row_option input {
    display: inline-block;
    vertical-align: middle;
    min-width: 30px;
    margin-top: 3px;
}

div.contenttable div.detail_row div.detail_row_option label {
    display: inline-block;
    vertical-align: middle;
    max-width: calc(100% - 40px);
}

div.contenttable div.detail_row div.detail_row_option.detail_row_inline_option {
    display: inline-block;
    padding-right: 20px;
}

div.contenttable_button div.btnbar input,
div.contenttable_button div.btnbar button
 {
    position: relative;
    float: left;
}

button.eMEBtn,
input.eMEBtn {
    font-size: 1em;
    background-color: #2b7367;
    border: none;
    cursor: pointer;
    width: 120px;
    height: 39px;
    font-weight: bold;
    color: #FFFFFF;
}

input.eMEBtn.eMEBtn_hov {
    background-color: #2b7367;
}
button.eMEBtn:hover,
input.eMEBtn:hover {
    background-color: #2b7367;
}

div.btnbar .eMEBtn {
    width: auto;
    height: 100%;
    max-height: 39px;
    float: left;
    margin: 0px 10px;
    cursor: pointer;
}

div.apps0302_left_col {
    display: none;
}
div.apps0304_left_col {
    display: none;
}

span#err_CORR_LEN_IND {
    vertical-align: sub;
}
span#err_HEAR_AID_IND {
    vertical-align: sub;
}
span#err_PHY_HAND_IND {
    vertical-align: sub;
}

.testing.dev {
    display: none;
}

.eMeBtmBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 37px;
    margin-left: 4px;
    padding: 0 10px;
    background-color: #2b7367;
    border-radius: 10px;
    font-family: 'Noto Sans SC', Arial, Helvetica, sans-serif;
    color: #fff;
    cursor: pointer;
    box-sizing: border-box;
}
  
.eMeBtmBtn.w120 {
    max-width: 160px;
}
  
.eMeBtmBtn img {
    width: 14px;
    margin-right: 10px;
}

.eMeBtmBtn span {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}

.noticeWrapper ol {
    margin-left: 20px;
}

.greenColor {
    color: #2b7367;
}

.tapIco {
    width: 60px;
}

.mobileOnly {
    display: none;       
}

.hide {
    display: none !important;
}

.dFlex {
    display: flex !important;
    align-items: center;
}

.headerRight {
    display: flex;
    align-items: center;
}

.rowWrapper {
    padding: 10px;
}

.rowItm {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rowInput {
    margin-right: 5px;
}

.rowLabel {
    display: flex;
    align-items: center;
    text-align: left;
}

.rowLabel.breakLabel {
    align-items: flex-start;
    flex-direction: column;
}

.info_orange {
    width: 16px;
}

.step_remark .alert {
    padding: 0 !important;
}

#loadingWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loadingWrapper.hide {
    display: none;
}

#loadingWrapper img {
    width: 64px;
    animation: loadingAnimation 1s linear infinite;
    
}

@keyframes loadingAnimation {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}


/*mobile*/
@media only screen and (max-width: 768px) {
    div.apps0203_corr_lens_left_col {
        width: 100%;
    }
    div.downloadRow div.link.hkscs {
        left: 70px;
    }
    
    input:not([type="radio"]):not([type="checkbox"]){
        -webkit-appearance: none;
        border-radius: 0;
    } 
    
    #emailInput{
        width: 100%;
    }
    
    #ContinueToAuth{
        display: none;
    }
    
    #continueToRenewal{
        display: block;
    }
    
    #mobile_navlink_item{
            display: block;
        }
        
        #desktop_navlink_item{
            display: none;
        } 

    input {
        background-color: white;
        font-size:16px;
        background-color: #F9F9F9;
    }

    div.navstep {
        width: 160px;
        border:1px solid #cccccc;
        margin-bottom: 12px;
        display:block;
        overflow:hidden;
        color:#4D4D4D;
        display: none;
    }

    div.header div.logo {
        padding: 0px 5px 0px 5px;
    }

    div.contenttable div.step_hd span.step_no,
    div.contenttable_bootstrap div.step_hd span.step_no{
        padding: 0px 0px 0px 0px;
    }

    div.contenttable div.step_hd span.step_info,
    div.contenttable_bootstrap div.step_hd span.step_info{
        padding: 0px 0px 0px 15px;
        font-size: 1em;
    }

    div.contenttable div.step_hd span.step_remark,
    div.contenttable_bootstrap div.step_hd span.step_remark{
        padding-left: 5px;
        font-size: 0.8em;
        padding-left: 65px;
    }

    div.step_hd{
        background-image: url('../images/title_step.jpg');
        background-repeat:no-repeat;
        background-size: 70px 100%;
        vertical-align:middle;
        padding: 8px 0px 8px 7px;
        border: 1px #CCCCCC solid;
    }

    div.header {
        width:100%; height:27px;
        margin-bottom: 20px;
        vertical-align:bottom;
    }

    div.header div.lang1 {
        margin-right: 20px;
    }

    div.header div.lang2 {
        margin-right: 20px;
    }

    div.header div.exit {
        margin-right:10px;
    }

    div.mainpage_padding div.subheader div.text {
        padding: 13px 5px 0px 0px;
        font-weight: bold;
        font-size:0.9em;
        margin-left: 50px;
    }
    div.mainpage_padding div.subheader h1.text {
        padding: 13px 5px 0px 0px;
        font-weight: bold;
        font-size:0.9em;
        margin-left: 50px;
    }

    div.subheader {
        text-align:left;
        width:100%; 
        height:69px;
        margin-bottom: 18px;
        background:url("../images/subheader_bg.jpg");
        background-size: auto 100%;
        vertical-align:middle;
        font-size:1.20em;
    }

    div.subheader div.cluster{
        float:left;
        width:30px;
        background-color:#6B5B9A;
        height:56px;
        overflow:hidden;
        margin:6px 0px 5px 0px;
        width: 45px;
    }
    div.subheader img {
        vertical-align:middle;
        float:left;
    }
    div.subheader img.icon {
        margin:15px 11px 0px 11px;
        display: none;
    }


    div.contenttable div.seperator {
        height:1px;
        border-bottom:1px solid #BFBFBF;
        overflow:hidden;
    }

    div.mainpage {	
        position:relative;
        margin:0px auto 30px;
    }

    body {
        background-image: url("../images/bg_page.jpg");
        background-repeat: repeat-x;
        background-color: #E8E3CD !important;
    }

    div.content {
        clear: both;
        width: 100%;
        margin: 0px;
        padding-bottom: 6px;
        text-align: left;
        border: none;
        background: 
            linear-gradient(
                to bottom,
                transparent 0%,
                transparent calc(100% - 6px),
                rgba(180, 180, 180, 0.15) calc(100% - 6px),
                rgba(180, 180, 180, 0.4) calc(100% - 4px),
                rgba(180, 180, 180, 0.6) calc(100% - 2px),
                rgba(180, 180, 180, 0.25) 100%
            ),
            #FFFFFF;
        display: flex;
    }

    div.content div.leftcol{
        order: 2;
    }

    div.content div.rightcol{
        order: 1;
    }

    div.contenttable {
    }

    div.contenttable div.row {
        padding: 2px 5px 0px 10px;
        display:block;
        color:#333333;
        margin-bottom: 1em;
        line-height: 1.4;
    }

    div.cell {
        margin-bottom: 8px;
        background-color: white;
    }

    div.row div.colCell div.leftCol{
        padding-bottom:15px;
    }

    div.rowHeader{
        margin:0px;
        padding:15px 10px 25px 20px;
        position: relative;
        display: none;
    }

    div.rowHeader div.gov_logo{
        position:absolute;
    }

    div.rowHeader div.text{
        position:relative;
    }

    div.navlink {
        border-top: 5px solid #F0F0E8;
    }

    /* Updated - Remove background-image from all nav links */
    .navlink_item a {
        display: block;
        background-color: #E8E3CD;
        color: #1A1A1A;
        padding: 3px;
        font-weight: bold;
        padding-left: 10px;
        padding-right: 7px;
        padding-top: 7px;
        padding-bottom: 7px;
        text-decoration: none;
        /* REMOVED: background-image: url('../images/arrow.jpg'); */
        /* REMOVED: background-repeat: no-repeat; */
        /* REMOVED: background-position: 95% center; */
        border: 1px solid #E8E3CD;
    }

    .navlink_item a:hover {
        background-color: #D2CDB9;
        /* REMOVED: background-image: url('../images/arrow2.jpg'); */
        /* REMOVED: background-repeat: no-repeat; */
        border: 1px solid #E8E3CD;
    }

    div.navlink_item img{
        font-size: 1.1em;
        line-height: 42px;
        background: #E9E6D7 url("../images/h3.png") repeat-x scroll 0% 0%;
        border-bottom-width: 0px;
        text-decoration: none;
        color: #554342;
        font-weight: bold;
        display: block;
        margin: 0px;
        padding: 0px 0px 0px 10px;
    }

    div.navlink_item2 {
        text-align: left;
        color: #1a1a1a;
        background-color: #E8E3CD;
    }

    div.navlink_item2 div {
        color: #1a1a1a;
        background-color: #E8E3CD;
        padding-bottom: 5px;
    }

    div.navlink_item2 img {
        background-color: #e8e3cd;
        margin-bottom:0px;
    }

    div.navlink_item2 div.title{
        display: block; /* add this */
        background-color: #E8E3CD;
        color: #1A1A1A;
        padding: 3px;
        font-weight:bold;
        padding-left: 7px; 
        padding-right: 7px; 
        padding-top: 7px;
        padding-bottom: 7px;
        text-decoration: none;
        background-image:url('../images/arrow.jpg');
        background-repeat:no-repeat; background-position:95% 10px;
        border:1px solid #E8E3CD;
    }
    div.navlink_item2 h2.title{
        display: block; /* add this */
        background-color: #E8E3CD;
        color: #1A1A1A;
        padding: 3px;
        font-size: 16px;
        font-weight:bold;
        padding-left: 7px; 
        padding-right: 7px; 
        padding-top: 7px;
        padding-bottom: 7px;
        text-decoration: none;
        background-image:url('../images/arrow.jpg');
        background-repeat:no-repeat; background-position:95% 10px;
        border:1px solid #E8E3CD;
    }

    div.navlink_item2 div{
        padding-left:20px;
    }
    div.navlink_item2 h2{
        padding-left:20px;
    }


    div.navlink_item2 a {
        color: #754c28;
        font-weight:bold;
        margin-bottom:5px;
    }

    div.navlink_item3 {
        background-color: #e8e3cd;
        margin-bottom: 5px;
        text-align: left;
        color: #1a1a1a;
        border:1px solid #E8E3CD;
    }

    div.navlink_item3 div.title{
        color: #1A1A1A;
        padding: 3px;
        font-weight:bold;
        padding-left: 7px; 
        padding-right: 7px;
        padding-top: 7px; 
        padding-bottom: 7px;
        background-image:url('../images/arrow.jpg');
        background-repeat:no-repeat; background-position:95% 10px;
    }

    div.navlink_item3 div.row{
        padding-left: 40px; padding-right: 7px; padding-bottom: 7px;
    }

    div.content div.rightcol {
        background-color: white;
        padding-left: 0px; 
        border: none;
        text-align: left;
        float: none;
    }

    div.content div.rightcol .contentpage {
        float: none;
    }

    div.contenttable div.title,
    div.contenttable_bootstrap div.title {
        font-size:1.1em;
        background-color: #e9e6d7;
        border-bottom-width:0px;
        text-decoration:none;
        color :#554342; 
        font-weight:bold;
        display:block;
        margin: 0px 0px 0px 0px;
        padding: 13px 5px 13px 5px;
    }

    div.navlayer {
        text-align:left; position:relative;
    }

    div.footer {
        width: 100%;
        height: 87px;
        background-color: #fff; 
    }

    div.footer div.rightcol{
        background-color: #fff; 
    }

    div.footer div.rightcol span a img{
        width: 50%;
        height: 50%;
        max-height: 60px;
        max-width: 200px;
    }

    div.footerlinks {
        padding-top:23px;
    }
    div.leftcol div.footerlinks div.title{
        color:#000;
    }

    div.mainpage_padding{
        text-align:center; 
    }

    a.footer, a.footer:active, a.footer:link, a.footer1, a.footer1:active, a.footer1:link {
        color: #333333;
        text-decoration: none;
        font-size:0.9em;
    }

    div.footerlinks {
        padding:15px 15px 15px 15px;
    }


    a.footer, a.footer:active, a.footer:link {
        color: #333333;
        text-decoration: none;
        margin-right: 0px;
        font-size:0.8em;
    }

    div.ccc_table_left {
        float: left;
        width: 240px;
        height: 25px;
        position:relative;
        text-align: right;
    }

    div.ccc_table_right {
        height: 25px;
    }

    div.apps0203_left_col {
        float: left;
        position:relative;
    }

    div.apps0203_right_col {
        height: 25px;
        font-weight: bold;
    }

    div.apps0203_corr_lens_left_col {
        float: left;
        position:relative;
    }

    div.apps0203_corr_lens_right_col {
        height: 40px;
        font-weight: bold;
    }

    div.apps0302_left_col {
        float: left;
        position:relative;
    }

    div.apps0302_right_col {
        height: 25px;
    }

    div.apps0304_left_col {
        float: left;
        width: 210px;
        height: 25px;
        position:relative;
    }

    div.apps0304_right_col {
        height: 25px;
    }

    div.apps0305_left_col {
        float: left;
        width: 180px;
        height: 25px;
        position:relative;
    }

    div.apps0305_right_col {
        height: 25px;
    }

    div.apps0306_left_col {
        float: left;
        position:relative;
    }

    div.apps0306_declaration_left_col {
        float: left;
        width: 30px;
        position:relative;
        display: table-cell;
    }

    div.apps0306_declaration_right_col {
        height: 100%;
        display: table-cell;
    }

    div.apps0306_fee_left_col {
        float: left;
        height: 25px;
        position:relative;
    }

    div.apps0306_fee_mid_col {
        text-align: right;
        height: 25px;
    }

    div.apps0306_fee_right_col {
        height: 25px;
        text-align: right;
    }

    div.apps0501_right_col {
        height: 25px;
    }

    div.backToTop{
        padding-top: 10px;
        padding-bottom: 10px;
        font-weight: bold;
        text-align: center;
        background-color: #fff;
        background-image: url('../images/arrow_top.jpg');
        background-size: 15px 15px;
        background-repeat: no-repeat;
        background-position: right 30% center;
    }

    div.backToTop:hover{
        background-color: #EBD7A5 ;
    }

    div.new_line{
        padding: 0px 0px 7px 0px;
    }

    div.new_line_none{
        display: none;
    }

    .desktopOnly {
        display: none;
    }

    .mobileOnly {
        display: block;
    }

    .formItm {
        display: flex;
        flex-direction: column;
        margin-bottom: 8px;
    }

    .formLabel {
        width: 100%;
        text-align: left;
        font-weight: bold;
    }

    .formInput {
        width: 100%;
        text-align: left;
        line-height: 24px;
	}

    .w100 {
		width: 100% !important;
		box-sizing: border-box;
	}

	.iamSmartIcoW100 {
        width: calc(100% - 30px) !important;
        box-sizing: border-box;
    }

    .rowItm {
        align-items: flex-start;
    }
    
    .rowLabel {
        display: inline-block;
    }

    .rightSide {
        justify-content: flex-end;
    }

    .headerRight {
        justify-content: flex-end;
    }

}

@media screen and (min-width: 450px) and (max-width: 768px) {
    div.mainpage_padding div.subheader div.text {
        padding: 20px 5px 0px 10px;
        font-weight: bold;
        font-size:0.9em;
        margin-left: 50px;
    }
  
}
@media screen and (min-width: 450px) and (max-width: 768px) {
    div.mainpage_padding div.subheader h1.text {
        padding: 20px 5px 0px 10px;
        font-weight: bold;
        font-size:0.9em;
        margin-left: 50px;
    }
  
}

.line-height-2 {
    line-height: 2;
}
/* Make fieldset behave like div.contenttable_bootstrap */
fieldset.contenttable_bootstrap {
    border: 1px solid #CCCCCC;
    padding: 0;
    margin: 0 0 25px 0;
    background: white;
    min-width: 0;
}

fieldset.contenttable_bootstrap > legend {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 7px 10px;
    font-size: 14px;
    font-weight: bold;
    background-color: #E8E3CD;
    color: #1a1a1a;
    border: none;
    border-bottom: 1px solid #CCCCCC;
    float: left;
    font-weight: normal;
}

/* Clearfix for legend */
fieldset.contenttable_bootstrap:after {
    content: "";
    display: table;
    clear: both;
}

/* Make inner rows work the same */
fieldset.contenttable_bootstrap .row {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 7px;
    padding-bottom: 10px;
}

/* Shared styles for both Online Tutorial and FAQ links */
.navlink-with-image {
    background-image: none !important;
}

.navlink-with-image:hover {
    background-image: none !important;
}

.navlink-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-text {
    flex: 1;
    display: block;
}

.nav-arrow-icon {
    width: 12px;
    height: auto;
    display: block;
    flex-shrink: 0;
    margin-left: auto;
}

/* Remove individual FAQ styles since we're using shared styles */
/* You can delete the .faq-navlink, .faq-link-content, .faq-text, .faq-arrow-icon rules */

/* Mobile responsive */
@media only screen and (max-width: 768px) {
    .nav-arrow-icon {
        width: 10px;
    }
}