@font-face {
  font-family: "Meta";
  font-weight: normal;
  src: url('fonts/meta-normal-lf-roman-webfont.eot'); 
  src: url('fonts/meta-normal-lf-roman-webfont.eot?#iefix') format('embedded-opentype'), 
     url('fonts/meta-normal-lf-roman-webfont.woff2') format('woff2'), 
     url('fonts/meta-normal-lf-roman-webfont.woff') format('woff'), 
     url('fonts/meta-normal-lf-roman-webfont.ttf')  format('truetype'), 
     url('fonts/meta-normal-lf-roman-webfont.svg#svgFontName') format('svg'); 
}
@font-face {
  font-family: "Meta";
  font-weight: bold;
  src: url('fonts/meta-bold-lf-roman-webfont.eot'); 
  src: url('fonts/meta-bold-lf-roman-webfont.eot?#iefix') format('embedded-opentype'), 
     url('fonts/meta-bold-lf-roman-webfont.woff2') format('woff2'), 
     url('fonts/meta-bold-lf-roman-webfont.woff') format('woff'), 
     url('fonts/meta-bold-lf-roman-webfont.ttf')  format('truetype'), 
     url('fonts/meta-bold-lf-roman-webfont.svg#svgFontName') format('svg'); 
}

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

body {
  padding: 0;
  background: url(../images/bg.png) #E8E8CC;
  color: #116124;
  border-top: 3px solid #0D5B1F;
  font-family: "Meta","Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
}
body.hk {
  font-family: 'Microsoft JhengHei'
}
html, body, .site-wrapper, .leftbar {
}

a {
  color: #E2522D;
}
a:hover {
  color: #BB4121;
}
hr {
  border-style: dashed;
  border-color: #b1b1a3;

}
dd {
  position: relative;
}
select {
  padding: 5px 0;
}
input[type="text"], input[type="number"], input[type="email"], input[type="password"], input[type="tel"] {
  padding: 3px 4px;
  border-radius: 0;
}
input.ng-dirty.ng-invalid {
  border: 1px solid #c03;
}
input.ng-valid {
  border: 1px solid #125f24;
}
input[type="checkbox"] {
  vertical-align: middle;
  margin: 0 2px 0 6px;
}

input[type="text"].styled,
input[type="password"].styled {
  border-image: url(../images/input-border.png) 4 repeat stretch;
  border-width: 3px;
  color: #76877a;
}
.form-control {
  height: auto;
}
.radio-inline input[type="radio"]{
  margin-top: 8px;
  
}
.radio-inline label {
  color: #E1532E;
  font-weight: bold;
  font-size: 1.3em;
  margin-right: 3.6em;
}
/*#country-code {
  width: 35%;
}
#country-code ~ input {
  width: 63.5%;
}*/

.remarks {
  font-size: 0.9em;
}
.alert {
  font-weight: bold;
  font-size: 1.2em;
}
.alert-inline {
  display: inline-block;
  vertical-align: middle;
  padding: 0;
  margin: 0;
}
.alert-error {
  color: #c03;
}

th {
  color: #7E7E77;
}
tbody th,
tbody td {
  vertical-align: top;
}
.table-compare {
  table-layout: fixed;
}
.table-compare > thead > tr > th, .table-compare > tbody > tr > th, .table-compare > tfoot > tr > th, .table-compare > thead > tr > td, .table-compare > tbody > tr > td, .table-compare > tfoot > tr > td {
  border-color: #fff;
}
.table-compare th.current-ac,
.table-compare th.new-ac {
  vertical-align: middle;
  padding-left: 15px;
}
.table-compare .current-ac {
  background-color: #EFEFED;
  color: #A47B00;
}
.table-compare .new-ac {
  background-color: #E3E4DF;
  color: #115F25;
}
.table-compare .odd th,
.table-compare .odd td {
  background-color: #E7E8E3;
}
.table-compare .odd .current-ac {background-color: #DBDCD7;}
.table-compare .odd .new-ac {background-color: #D5D5CD;}

/* =Helper Classes */
.list-ns {
  list-style: none;
  padding: 0;
  margin: 0;
}

.group:before,
.group:after {
  display: table;
  line-height: 0;
  content: "";
}

.group:after {
  clear: both;
}

.section {
  margin-bottom: 1em;
}

.w30 {width: 30px;}
.w40 {width: 40px;}
.w50 {width: 50px;}
.w60 {width: 60px;}
.w70 {width: 70px;} 
.w80 {width: 80px;} 
.w90 {width: 90px;} 
.w100 {width: 100px;} 
.w110 {width: 110px;} 
.w120 {width: 120px;} 
.w130 {width: 130px;} 
.w140 {width: 140px;} 
.w150 {width: 150px;} 
.w160 {width: 160px;} 
.w170 {width: 170px;} 
.w180 {width: 180px;} 
.w190 {width: 190px;} 
.w200 {width: 200px;} 
.w210 {width: 210px;} 
.w220 {width: 220px;} 
.w230 {width: 230px;} 

.w30p {width: 30%;}
.w40p {width: 40%;}
.w50p {width: 50%;}
.w60p {width: 60%;}
.w70p {width: 70%;} 
.w80p {width: 80%;} 
.w90p {width: 90%;} 
.w100p {width: 100%}

.tal {text-align: left;}
.tac {text-align: center;}
.tar {text-align: right;}

.fr {float: right;}
.fl {float: left;}
.fn {float: none;}

.d-b {display: block;}

.mb0 {margin-bottom: 0px !important;}
.mb5 {margin-bottom: 5px !important;}
.mb10 {margin-bottom: 10px !important;}
.mb20 {margin-bottom: 20px !important;}
.mb1e {margin-bottom: 1em !important;}
.mb2e {margin-bottom: 2em !important;}
.mr0 {margin-right: 0px !important;}
.mr5 {margin-right: 5px !important;}
.mr10 {margin-right: 10px !important;}
.mr20 {margin-right: 20px !important;}

.p0 {padding: 0;}
.m0 {margin: 0;}

.strong {
  font-weight: bold !important;
}
.text-brown {color: #A57C00;}
.text-orange {color: #E2542E;}
.text-underline {text-decoration: underline;}

.disabled {
  pointer-events: none !important;
  opacity: 0.4;
}

.disabled2 {
  background-color: #E1532D;
  pointer-events: none !important;
  opacity: 0.4;
}

#trigger-validate {
  background-color: #E1532D;
}
.hide-error .parsley-errors-list {
  display: none;
}

.dl-inline dt {
  width: 40%;
  float: left;
}
.dl-inline dd {
  margin-left: 40%;
  width: 60%;
}
.dl-inline dd:after {
  content: '';
  display: table;
  clear: both;
}
.dl-input dt {
  padding: 0.7em 0 0.4em;
}
.dl-input dt {
  color: #E2542E;
}
.dl-input dd {
  padding: 0.4em 0;
}
.dl-input dd .data {
  font-weight: bold;
  display: inline-block;
  margin-top: 5px;
}
.dl-data dt,
.dl-data dd {
  padding: .6em 0 .3em;
}
.dl-bordered dl,
.dl-bordered .form-group {
  border-bottom: 1px dashed #b1b1a3;
  margin-bottom: 0;
}
.dl-bordered dl {
  padding: 0.4em 0;
  
}
.dl-bordered dl:first-child {
  border-top: 1px dashed #b1b1a3;

}
.dl-bordered dt {

}
.dl-bordered dd {

}
.dl-bordered .form-group {
  padding: 14px 0;
  margin-top: 0;
}

.dl-data dt {
  width: 40%;
}
.dl-data dd {
  width: 60%;
  margin-left: 40%;
}
.has-hint {
  position: relative;
}
.hint {
  font-size: 0.9em;
}
.has-hint .hint {
  width: 170px;
  position: absolute;
  top: 5px;
  right: -180px;
}

.required:after {
  content: '*';
}

.btn {
  font-size: 18px;
  padding: 10px 24px;
  border: 0;
  color: #fff;
  border-radius: 0;
  white-space: normal;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  background-color: #F56B45;
  color: #fff;
}
.btn-cancel:hover,
.btn-cancel:focus,
.btn-cancel:active {
  background-color: #CACACA;
  color: #fff;
}
.btn-default { background-color: #E1532D;}
.btn-cancel { background-color: #B0B1A3;}

.update-personal .btn {
  margin: 0 1em;
}
.action .btn {
  margin: 0 12px;
}
.overlay {
  position: fixed; /* Positioning and size */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(128,128,128,0.5); /* color */
  display: none; /* making it hidden by default */
}
.modal-header {
  border-bottom: 0;
  font-weight: bold;
  color: #E2542E;
  padding: 15px;
}
.modal-content {
  border-radius: 0;
  font-size: 1.1em;
}
.modal-content > .close {
  opacity: 1;
  filter: alpha(opacity=100);
  text-shadow: none;
  position: absolute;
  top: -24px;
  right: -32px;
}
.modal-content h4 {
  font-weight: bold;
  color: #E2542E;
  font-size: 1em;
}
.modal-content p {
  font-size: 0.8em;
}
.modal-dialog {
  width: 820px;
}
.modal-footer {
  text-align: center;
  border-top: 0;
  padding: 10px 0;
}
.modal-footer .btn {
  font-size: 1em;
  padding: 0.3em 1.4em;
  text-transform: uppercase;
  height: 56px;
  margin: 0;
}
.modal-footer .btn-default {
  width: 240px;
}
.modal-footer .btn-cancel {
  width: 150px;
  height: auto;
  padding: 1em 1.4em;
}
.nmrs .modal-footer .btn {
  font-size: 1.3em;
  height: auto;
  padding: 10px 24px;
  width: 180px;
}
/*Layout*/
.site-wrapper {
  position: relative;
  margin: -3px auto 0;
  max-width: 950px;
}

.leftbar {
  position: absolute;
  top: 0px;
  width: 175px;
  background: url(../images/bg-leftbar.jpg);
  left: -175px;
  border-top: 3px solid #e1532d;
  bottom: 0;
}

.header,
.marketing,
.footer {
  padding-left: 15px;
  padding-right: 15px;
}

.header {
  margin-bottom: 10px;
}

.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
  padding-bottom: 19px;
}
.navbar-default {
  background-color: transparent;
  border: none;
}
.navbar-header {
  float: none;
  min-width: 415px;
}
.navbar-brand {
  display: block;
  height: 60px;
  padding: 0;
  border-color: #187831;
  border-top-width: 3px;
  border-right-width: 1px;
  border-top-style: solid;
  border-right-style: dashed;
  
  background-image: url(../images/sprite.png);
  background-repeat: no-repeat;
}
.navbar-brand.citysuper { width: 146px; background-position: 18px 18px; }
.navbar-brand.logon { width: 130px; background-position: 22px -28px; }
.navbar-brand.cookedDeli { width: 138px; background-position: 18px -74px; }
.navbar-brand.chi { width: 60px; background-position: 15px -128px; }
.navbar-brand.eng { width: 60px; background-position: -40px -128px; }

.navbar-brand.chi,
.navbar-brand.eng {border-left-width: 1px;border-left-style: dashed;}
.navbar-brand.admin {
  float: right;
  cursor: pointer;
  background: none;
  height: auto;
  border-left-width: 1px;
  border-left-style: dashed;
}
.navbar-brand .btn-default {
  font-size: 0.9em;
  padding: 4px 10px;
  margin: 10px 14px;
}


.header .lang {
  float: right;
  cursor: pointer;

}

/* Custom page footer */
.footer {
  color: #777;
  border-top: 1px solid #e5e5e5;
  padding: 1em 0;
}
.footer .menu {
  padding-left: 1.5em;
}
.footer .menu li {
  float: left;
}
.footer .menu li:first-child:after {
  content: '|';
  color: #ad8a1b;
  padding: 0 .7em;
}
.footer .menu a {
  color: #ad8a1b;
}
.toTop {
  position: fixed;
  right: 0;
  bottom: 10%;
  /*width: 40px;*/
  padding: 6px 8px 6px;
  text-align: center;
  background: #e1532d;
  color: #fff;
}
.toTop:hover,
.toTop:focus {
  color: #fff;
  text-decoration: none;
}
.csstransforms .toTop {
  padding-top: 0;
}
.toTop:before {
  content: '^';
  display: block;
}
.csstransforms .toTop:before {
  content: '>';
  font-size: 1.4em;
  -transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  margin-bottom: -7px;
}

.container-narrow > hr {
  margin: 30px 0;
}

.main-content {
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1.8em 2em;
}
.main-content:before {
  content: '';
  display: block;
  background: #115F25 url(../images/fold.png) no-repeat;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  right: 0;
}

/*MODULES*/
.section-title {
  background: #187831;
  color: #fff;
  padding: 0.5em 0.9em;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.8em;
}
.section-title span {
  color: #FBC41E;
}
.section-title .normal {
  text-transform: none;
}
.panel {
  border: 1px solid;
  border-radius: 2px;
  border-image: url(../images/panel-border.png) 3 repeat stretch;
  border-width: 3px;
}
.modal .panel {
  margin: 1.7em;
  padding: 0.5em 2em 0.6em;
}
.attention {
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;

}

.forget a {
  text-decoration: underline;
}

.breadcrumb {
  margin-bottom: 0;
  background-color: #115F25;
  color: #91AA94;
  border-radius: 0;
  padding: 0.8em 15px;
}
.breadcrumb .step {
  position: relative;
  padding-right: 3em;
  width: 210px;
  display: inline-block;
  line-height: 1.3;
}
.breadcrumb .step:before,
.modal-content > .close {
  background: #5A8F65;
  color: #fff;
  margin: 0 0.3em 0 0;
  border-radius: 1.7em;
  width: 1.5em;
  box-shadow: inset 0px 0px 0px 3px rgba(56, 56, 56, 0.18);
}
.breadcrumb .step,
.breadcrumb .step:before {
  float: left;
}

.breadcrumb .step:before,
.breadcrumb .step:after,
.modal-content > .close {
  text-align: center;
  font-size: 1.8em;
  line-height: 1.5em;
  font-weight: bold;
  vertical-align: middle;
  
}
.breadcrumb .step:after {
  content: '>';
  color: #fff;
  position: absolute;
  top: 0;
  right: 22px;
}
.breadcrumb .step:last-child:after { content: none;}

.breadcrumb .step1:after {right: 22px;}
.breadcrumb .step1:before {content: '1';}
.breadcrumb .step2:before {content: '2'}
.breadcrumb .step3:before {content: '3';}
.breadcrumb .step2 {width: 230px; padding-right: 3.4em;}
.breadcrumb .step3 {padding-right: 0;width: 170px;}

.breadcrumb .step.current {color: #FFC61F;font-weight: bold;}
.breadcrumb .step.current:before, .modal-content > .close { background: #E1532D;}

/* Page-specific styles */
.login.main-content:before,
.welcome.main-content:before,
.register.main-content:before,
.update-personal.main-content:before,
.nmrs .complete.main-content:before  {
  background-color: #187831
}

.welcome .panel,
.complete .panel {
  padding: 4em 10em 3em;
  margin: 0 auto 3.4em;
  width: 75%;
}
.welcome,
.complete {
  text-align: center;
  padding: 70px 0;
}
.welcome p {
  font-size: 1.2em;
}
.welcome input[type="text"].styled {
  font-size: 2em;
  margin-top: .5em;
  width: 280px;
}
.welcome .btn,
.update-personal .btn {
  min-width: 180px;
}
.update-personal .dl-inline {
  width: 530px;
  margin: 2em auto 1.4em;

}
.confirm-membership .table {
  margin-top: 2em;
}
.login .panel {
  padding: 4em 6em 3em;
  margin: 0 auto 3.4em;
  width: 75%;
}
.login .control-label,
.login .form-control {
  font-size: 1.4em;
}
.login .control-label {
  font-weight: normal;
  text-align: left;

}
.login input[type="text"].styled {
  height: auto;
}
.login .action {
  text-align: center;
  margin-top: 1em;
}
.login .btn-default {
  width: 44%;
  padding: 8px 18px;
  margin: 0px 4px;
}

.register.main-content {
  padding: 2.5em 3em;

}
.register .attention {
  text-align: left;
}
.register .strong {
  font-size: 1.3em;
  width: 480px;
}
.register .form-control {
  padding: 0px 24px;
  width: 420px;
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 0.1em;
}
.register .remarks {
  /*width: 300px;*/
  margin-top: 0.7em;
}
.register .btn-default {
  width: 170px;
  margin-top: 0.4em;
  display: block;
}
.register .section {
  padding: 15px 0;
  margin: 15px 0;
  border-style: dashed;
  border-color: #b1b1a3;
  border-width: 1px 0 1px;
}
.nmrs .complete {
  padding: 30px 100px;
}
.nmrs .complete .panel {
  margin: 1.2em auto 1.8em;
  padding: 1.3em 1.5em 1.3em 2em;
  width: 100%;
}
.nmrs .complete .panel > p,
.nmrs .complete .panel > div {
  display: inline-block;
  vertical-align: middle;
}
.nmrs .complete .panel > p {
  width: 50%;
  margin-bottom: 0;
  text-align: left;
}
.complete .panel .arrow {
  width: 0;
  height: 0;
  border-width: 38px;
  border-style: solid;
  border-color: transparent;
  border-left-color: #E2542E;
  display: inline-block;
  margin-left: 41px;
}
.nmrs .complete .panel .arrow-wrap {width: 17%;position: relative;}
.nmrs .complete .panel #qrcode {width: 28%;}
.nmrs .complete .remarks {text-align: left;}
.nmrs .complete .action {text-align: right;}
.nmrs .complete .action .btn { margin: -0px 0 0 10px;}
#qrcode {
  background: url(../images/qrcode.png) no-repeat center center;
  width: 167px;
  height: 167px;
  min-width: 160px;
}
#qrcode.qrcode-v2{
	background-image:url(../images/qrcode_v2.png);
	background-size:100%;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  .container {
    max-width: 970px;
  }

  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 767px) {
  .update-personal .dl-inline {
    width: auto;
  }
  .dl-inline dt {
    float: none;
    padding: 0.5em 0 0;
    width: auto;
  }
  .dl-inline dd {
    margin: 0;
    width: 100%;
    padding: 0 0 0.5em;
  }
  .register .strong {
    width: auto;
  }
  .modal-dialog {
    width: auto;
  }
  .nmrs .complete {
    padding: 30px 50px;
  }
  .nmrs .complete .panel > p, .nmrs .complete .panel > div {
    width: auto;
    display: block;
    margin: 0 auto;
  }
  .nmrs .complete .panel .arrow-wrap {
    width: auto;
  }
  .complete .panel .arrow {
    border-left-color: transparent;
    border-top-color: #E2542E;
    margin: 1em 0 0;
    border-width: 14px;
  }
}
@media screen and (max-width: 610px) {
  .navbar-header {
    /*min-width: 0;*/
  }
  .header .lang {
    float: none;
    clear: both;
    border: 0;
  }
  .action {
    text-align: center;
  }
  .action .btn,
  .nmrs .modal-footer .btn,
  .modal-footer .btn + .btn {
    display: block;
    width: 100%;
    margin: 0.4em 0!important;
  }
  .register .form-control {
    width: 100%;
  }
  .radio-inline input[type="radio"] {
    float: left;

  }
  .radio-inline label {
    display: block;

  }
}
.no-support {
  display: none;
}

.parsley-errors-list {
/*  position: absolute;
  width: 190px;
  top: -7px;
  right: -200px;*/
  padding: 0;
  list-style: none;
  margin: .2em 0 0;
  /*margin: 0;*/
  color: rgb(218, 39, 39);
  font-weight: bold;
/*  display: table;
  height: 57px;*/
}
.parsley-errors-list > li {
/*  display: table-cell;
  vertical-align: middle;*/
}
.register .parsley-errors-list {
  display: inline-block;
}

.center {
	text-align: center;
}

.leftColumn {
	padding-left: 150px;
	float: left;
	width: 50%;
}

.rightColumn {
	padding-right: 150px;
	float: right;
	width: 50%;
}