/* Add by Gary Chan 5 July 2022 Load Google font locally*/
/* source-sans-pro-regular - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/source-sans-pro-v21-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''), url('fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/source-sans-pro-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */


}


/* source-sans-pro-600 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/source-sans-pro-v21-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''), url('fonts/source-sans-pro-v21-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/source-sans-pro-v21-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/source-sans-pro-v21-latin-600.woff') format('woff'), /* Modern Browsers */
    url('fonts/source-sans-pro-v21-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/source-sans-pro-v21-latin-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-700 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/source-sans-pro-v21-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''), url('fonts/source-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/source-sans-pro-v21-latin-700.woff') format('woff'), /* Modern Browsers */
    url('fonts/source-sans-pro-v21-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

body {
  background-color: #EFF1F1;
  opacity: 1;
  font-family: 'Source Sans Pro', sans-serif;
  position: relative;
}
html {
    /*Mod by Gary Chan 15 July 2022: provide horizontal scroll bar*/
    /* overflow-x: hidden;*/
    overflow-x: auto;
    /*  background-image: url(img/htmlbg.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;*/
    min-width: 1250px;
}
header {
  padding-top: 80px!important;
  float: right;
}
form {
  margin-left: 123px;
  margin-right: 5%;
  margin-top: -50px;
  margin-bottom: 30px;
  color: #556564;
  font-size: 1.2rem;
  line-height: 1.5;
  position: relative;
  /*min-width: 462px;*/
}

form i {
    margin-left: 0;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    margin-top: -15px;

    font-size: 1.5rem;
}
sup {
  font-size: 60%;
}

@media (max-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

input.form-control {
  border-radius: 0;
  border: none;
  font-size: 1.25rem;

}


.form-floating > label {
  font-size: 1.25rem;
  color: #9E9EA4;
  padding: 0.6rem 0.75rem;
}
.form-floating > .form-control, .form-floating > .form-select {
    /*height: calc(3.2rem + 2px);*/ /*Mod by gary chan 5 July 2022*/
    height: calc(3.0rem + 2px);
    padding: 0rem 0.75rem;
    line-height: 1;
}

@media (max-width: 1600px) {
  input.form-control {
    font-size: 1rem;
  }
  .form-floating>.form-control, .form-floating>.form-select {
    height: calc(3rem + 2px);
    padding: 0rem 0.75rem;
  }
  .form-floating > label {
    font-size: 1rem;
  }
}
@media (max-width: 1400px){
  input.form-control {
    font-size: 0.8rem;
  }
  .form-floating>.form-control, .form-floating>.form-select {
    height: calc(2.2rem + 2px);
    padding: 0rem 0.55rem;
  }
  .form-floating > label {
    font-size: 0.8rem;
  }
}



.form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown){
  padding: 0rem 0.75rem;
}
.field-company.form-floating>.form-control {
  padding-left: 7.5rem;
}
.field-userid.form-floating > .form-control {
    padding-left: 7.5rem;
    /*padding-left: 5rem;  mod by gary chan 30 june 2022*/ 
}
.field-pass.form-floating > .form-control {
    padding-left: 7.5rem;
    /*padding-left: 6.3rem;  mod by gary chan 30 june 2022*/
}
@media (max-width: 1600px) {
    .field-company.form-floating > .form-control {
        padding-left: 6.8rem;
        
    }
    .field-userid.form-floating > .form-control {
        padding-left: 6.8rem;
        /*padding-left: 4.5rem;  mod by gary chan 30 june 2022*/
    }
    .field-pass.form-floating > .form-control {
        padding-left: 6.8rem;
        /*padding-left: 5.7rem;  mod by gary chan 30 june 2022*/
    }
}

.form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label{
  opacity: 1;
  transform: none;
}

@media (max-width: 1600px){
  hr.my-3 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.login.btn-primary {
  background-color: #8fbd1f; 
  border-color: #8fbd1f;
  font-weight: 600;
}
#forgot-pass .login.btn-primary {
  font-size: 2rem;
  padding: 0.5rem 3rem;
}

.login.btn-primary:hover {
  color: #fff;
/*  background-color: #00a2c3;*/
  /*border-color: #00a2c3;*/
}
.login.btn-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 162, 195, 0.8);
}

.continue.btn-primary {
  color: #fff;
  background-color: #546564;
  border-color: #546564;
  font-weight: 600;
}

.continuen.btn-primary:hover {
  color: #fff;
  background-color: #8fbd1f;
  border-color: #8fbd1f;
}
.cookies.fixed {
  position: fixed;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  z-index: 100;
}
.footer {
  background-color: #8fbd1f;
  text-align: center;
  margin: 0;
}
.footer>div>div {
  display: inline-block;
  width: auto;
  margin: auto;
  color: #556564;
  line-height: 1.2;
  padding: 15px;
}
.footer button {
  margin-top: -30px;
  margin-bottom: -10px;
  padding: 5px 20px;
}
span.white, a.white, a.white:hover {
  color: #fff;
  text-decoration: none;
}
.btn {
  border-radius: 0rem;
}

.cirbg {
  background-color: #556564;
  display: inline-block;
  color: #fff;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 1;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-right: 5px;
}

@media (max-width: 1600px){

}

.container {
  max-width: 1920px;
  margin: auto;
  padding-left: 0;
  padding-right: 0;
}
.container.top {
  z-index: 500;
}
.container.main {
  background-image: url(img/ezcargo-bg.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  position: relative;
  z-index: 1;
}
.container.cusmain {
  background-image: url(img/ezcust-bg.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  position: relative;
  z-index: 1;
}
.container.postmain {
  background-image: url(img/ezpost-bg.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  position: relative;
  z-index: 1;
}
.container.fremain {
  background-image: url(img/ezfre-bg.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  position: relative;
  z-index: 1;
}
.container.edmpmain {
  background-image: url(img/edmp-bg.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  position: relative;
  z-index: 1;
}
/*@media (max-width: 1920px){
  .container.main {
    background-position:  left center;
  }
}*/

.nav {
    letter-spacing: 4px;
    font-size: 1.375rem;
    color: #E6000000;
    color: rgba(230,0,0,0); /*Add by Gary CHan 20 July 2022: add rgba version to support IE 11*/
    margin-left: auto;
    font-weight: 600;
}
.nav li {
  padding: 0 20px;
}
.link-dark {
  color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 1024px) {
  .nav {
    letter-spacing: 3px;
    font-size: 1.1rem;
  }
  .dropdown img {
    width: 25px;
    height: 25px;
  }
}
.navbar {
  display: none;
}
.navbar-brand {
  max-width: 50%;
}
.navbar>.container-fluid {
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 991px){
  .navbar {
    display: block;
  }
  header.d-flex {
    display: none !important;
  }
}

.link-secondary.active, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link {
  color: #178f69;
  font-weight: 400;
}
.link-dark:focus, .link-dark:hover, .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  color: #178f69;
}

.mb-3 {
    margin-bottom: 1.3rem!important;
}
@media (max-width: 1920px){
  .mb-3 {
      margin-bottom: 1rem!important;
  }
}
@media (max-width: 1400px){
  .mb-3 {
      margin-bottom: 0.5rem!important;
  }
}

.logo {
  width: 450px;
  margin-bottom: 60px;
}

.long-logo {
  margin-bottom: 60px;
}

.long-logo02 {
  margin-bottom: 60px;
}

@media (max-width: 1920px){
  .logo {
    margin-bottom: 50px;
  }
}
@media (max-width: 991px){
  .logo {
    display: none;
  }
  form {
    margin-top: 30px;
  }
}
.logo-mobile {
  max-width: 50%;
}
.edmplogo {
  width: 85%;
  margin-bottom: 80px;
}
.bottom-logo {
  width: 125px;
}
@media (max-width: 1800px){
  .logo {
    width: 70%;
    margin-bottom: 45px;
  }
  .bottom-logo {
    width: 115px;
  }
}
@media (max-width: 1600px){
  .bottom-logo {
    width: 100px;
  }
}
@media (max-width: 1400px){
  .bottom-logo {
    width: 70px;
  }
}
@media (max-width: 1200px){
  .logo {
    margin-bottom: 40px;
  }
}
@media (max-width: 768px){
  .logo-mobile {
     /*max-width: 80%; Mod by Gary Chan 30 Aug*/
   max-width: 60%;
  }
}
.g-lg-5, .gx-lg-5 {
  --bs-gutter-x: 20rem;
  --bs-gutter-y: 8rem;
}

.dropdown {
  margin-top: 5px;
  margin: 5px 60px;
  margin-right: 70px;
}

.dropdown-menu {
  position: absolute;
  inset: 0px 0px auto auto;
  margin: 0px;
  transform: translate3d(0px, 34px, 0px);
  padding: 0;
  text-align: left;     /*Add by Gary CHan 23 May 2022:override current scss*/
}
.dropdown li.active {
  border-left: 5px solid #00a2c3;
}
.dropdown li {
  border-left: 5px solid #eff1f0;
  border-bottom: 1px solid #cad0d0;
  padding: 0;
  background-color: #eff1f0;
}
.dropdown li a.dropdown-item {
  color: #536664;
  padding: 10px;
  font-size: 1rem;
  font-weight: 400;
  padding-left: 20px;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: rgba(0, 0, 0, 0);
}

/* form-container  */

.forgot-pass {
  font-size: 1.25rem;
  color: #556564; 
  font-weight: 600; 
  float: right;
  padding-top: 8px;
  text-decoration: none;
  text-align: center;
}

.need-account {
  font-weight: 600;
  color: #556564;
  font-size: 22px;
  white-space: nowrap;
}
@media (max-width: 1600px){
  .need-account {
    font-size: 19px;
  }
}
.need-account .label {
  padding-right: 15px;
}

.contact-us {
  padding: 15px;
  padding-left: 0;
}

.contact-us a {
  color: #00a2c3;
  text-decoration: none;
}

.contact-us-title {
  font-weight: 600;
  line-height: 1.5;
  color: #178f69;
  font-size: 1.25rem;
}
.header-line {
  color: #189068;
  font-weight: 600;
  line-height: 1;
  font-size: 3rem;
  margin-bottom: 20px;
}
.sub-line {
  color: #515251;
  font-weight: 300;
  padding-top: 20px;
  display: block;
  font-size: 22px;
  line-height: 1.2;
  max-width: 80%;
}
.main-right {
  padding-left: 0;
  padding-right: 0;
}

.headline {
  position: relative;
  padding-left: 10%;
}

.headline-bottom {
  position: absolute;
  top: 73%;
}
.headline-mobile {
  position: relative;
  padding: 0;
  display: none;
  padding-bottom: 50px;
}

@media (max-width: 1800px){
  .header-line {
    font-size: 2.5rem;
  }
  .sub-line {
    font-size: 19px;
  }
/*  .headline {
    padding-left: 8%;
  }*/
}
@media (max-width: 1730px) {
  .forgot-pass {
    font-size: 1.25rem;
  }
}
@media (max-width: 1600px) {
  .contact-us-title {
    font-size: 1rem;
  }
  form {
    font-size: 1rem;
  }
  .cirbg {
    font-size: 1rem;
    padding-left: 3.5px;
    padding-right: 3.5px;
    margin-right: 3px;
  }
  .headline {
    padding-left: 9.5%;
  }
}
@media (max-width: 1500px){
  .headline {
    padding-left: 8%;
  }
}
@media (max-width: 1400px) {
  .forgot-pass {
    font-size: 1.2rem;
  }
  .need-account {
    font-size: 1.2rem;
  }
  
  
  .header-line {
    font-size: 2rem;
  }
  .sub-line {
    font-size: 15px;
  }
}
@media (max-width: 1200px) {
  .forgot-pass {
    font-size: 1rem;
  }
  .need-account {
    font-size: 1rem;
  }
  .btn-group-lg>.btn, .btn-lg {
    font-size: 1rem;
  }

  .contact-us-title {
    font-size: 0.9rem;
  }
  form {
    font-size: 0.9rem;
  }
  .cirbg {
    font-size: 0.9rem;
    padding-left: 3px;
    padding-right: 3px;
  }
  .header-line {
    font-size: 1.7rem;
  }
  .sub-line {
    font-size: 13px;
    font-weight:  normal;
  }

}
@media (max-width: 960px){
  .headline {
    padding-left: 4%;
  }
}
@media (max-width: 768px){
  .headline-mobile {
    display: block;
  }
  .headline-bottom {
    padding: 20px;
    bottom: 0px;
    margin-bottom: 0;
  }
  .sub-line {
    padding-top: 5px;
    font-size: 12px;
  }
  .headline {
    display: none;
  }
  .header-line {
    font-size: 1.5rem;
  }
  .container.main {
    background-size: contain;
    background-position: top center;
    background-image: none;
  }
  form:not(#forgot-pass form) {
    margin-left: 0 !important;
    margin-right: 0;
    margin-top: 10px;
  }
  #forgot-pass.modal form {
    margin-left: 5%;
    margin-right: 5%;
  }
}

.py-1 {
    padding-top: 6rem!important;
    padding-bottom: 0.25rem!important;
}
@media (max-width: 1920px){
  .py-1 {
      padding-top: 4.5rem!important;
  }
}
@media (max-width: 1600px){
  .py-1 {
      padding-top: 3rem!important;
      padding-bottom: 0.25rem!important;
  }
}

.bottom-copyright {
  margin-top: 80px;
  width: 800px;
}
@media (max-width: 1920px){
  .bottom-copyright {
    margin-top: 60px;
  }
}
@media (max-width: 1600px){
  .bottom-copyright {
    margin-top: 35px;
  }
}
@media (max-width: 1400px){
  .bottom-copyright {
    margin-top: 20px;
  }
}
.copyright {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  vertical-align: bottom;
  padding-left: 5px;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 1600px){
  .copyright {
    font-size: 0.7rem;
  }
}
@media (max-width: 1400px){
  .copyright {
    font-size: 0.6rem;
  }
}
.hl-link {
    position: absolute;
    /*Mod by Gary Chan 15 July 2022: provide horizontal scroll bar thus tune link location on right bottom corner.*/
    /*right: -2px;*/
    right: 0px;
    padding: 5px 0px;
    letter-spacing: 2px;
    width: 180px;
    border-top-left-radius: 2px;
    background-image: url(./img/greybar-bg.png);
    background-size: 100%;
    background-position: center right;
    background-repeat: no-repeat;
    padding-left: 1.5rem;
}
.hl-link a, .hl-link a:hover {
  color: #fff;
  text-decoration: none;
}
.hl-link.active {
  background-image: url(./img/bluebar-bg.png);
}

.hl-link.link1 {
  bottom: 200px;
}
.hl-link.link2 {
  bottom: 150px;
}
.hl-link.link3 {
  bottom: 100px;
}
/* Added at 20250509 -- START */
.hl-link.link4 {
  bottom: 50px;
}
/* Added at 20250509 -- END */

@media (max-width: 960px){
  .hl-link.link1 {
    bottom: 250px;
  }
  .hl-link.link2 {
    bottom: 200px;
  }
  .hl-link.link3 {
    bottom: 150px;
  }
}

@media (max-width: 768px){
  .hl-link.link1 {
    bottom: 300px;
  }
  .hl-link.link2 {
    bottom: 250px;
  }
  .hl-link.link3 {
    bottom: 200px;
  }
  .copyright {
    font-size: 0.7rem;
  }
  .bottom-copyright {
    width: 100%;
  }
  .form-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.container .row {
  margin-left: 0;
  margin-right: 0;
}

a:hover {
  color: #8fbd1f;
}

.form-control:focus {
    border-color: #8fbd1f;
    box-shadow: 0 0 0 0.25rem #8fbd1f99;
    box-shadow: 0 0 0 0.25rem rgba(143, 189, 31, 0.6); /*Add by Gary Chan 20 July 2022: Add rgba value to support IE 11*/
}
.form-bg {
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: auto;
}
.form-container {
  position: relative;
  /*min-width: 600px;*/
}
.termsHeader {
  color: #0067af;
  font-size: 1.7rem;
}
.termsContant {
  font-size: 1.2rem;
}
.padding-block {
  opacity: 0;
}

#forgot-pass form {
  margin: 0;
  margin-left: 22%;
  margin-right: 22%;
  margin-bottom: 50px;
}
#forgot-pass .modal-body {
  text-align: center;
  line-height: 1.5;
}
.forgot-pass-title {
  font-size: 3rem;
  font-weight: bold;
  color: #178f69;
  line-height: 2;
}
.forgot-pass-subtitle {
  font-size: 2rem;
  color: #556564;
  margin-bottom:  0;
}

#forgot-pass .form-control {
    border-color: #8fbd1f;
    box-shadow: 0 0 0 0.25rem #8fbd1f99;
    box-shadow: 0 0 0 0.25rem rgba(143,189,31,0.6); /*Add by Gary Chan 20 July 2022: add rgba to support IE11 */
    margin-bottom: 30px;
}

.color-green {
	color: #178f69;
}
.email {
  color: #556564;
}
a.email:hover {
  color: #178f69;
}
#TERMSOFUSE .modal-header {
  background-color: #8fbd1f;
  color: #fff;
  padding: 10px 40px;
}

#TERMSOFUSE .modal-header .modal-title {
  font-size: 2rem;
}

#TERMSOFUSE .modal-body {
  padding: 20px 40px;
}

#TERMSOFUSE .modal-body .termsHeader {
  color: #178f69;
}
/*Add by Gary Chan 16 Aug 2022: Language indicator by BST*/
.langindicator {
    position: absolute;
    font-size: 18px;
    font-weight: 600;
    width: 22px;
    margin-left: 38px;
    margin-top: -3px;
    text-align: center;
    color: #556565;
}
.dropdown-toggle::after {
    /*Mod by Gary Chan 16 Aug 2022: Language indicator by BST*/
    /*border: solid #666;
      border-width: 0 1px 1px 0;
      display: inline-block;
      padding: 3px;
      transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      vertical-align: 0;
      margin-left: 10px;*/
    border: solid #556565;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    vertical-align: -10px;
    margin-left: 8px;
}

/*Add by Gary Chan 16 Aug 2022: language pointer remain unchanged while hamburger shown*/
@media (max-width: 992px) {
    .dropdown-toggle::after {
        border: solid #666;
        border-width: 0 1px 1px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        vertical-align: 0;
        margin-left: 10px;
    }
}


.clear {
  clear: both;
  margin-bottom: 15px;
}
@media (max-width: 1600px) {
  .clear {
    clear: both;
    margin-bottom: 10px;
  }
  .btn-group-lg>.btn, .btn-lg {
    padding: 0.3rem 0.8rem;
  }
}
.dropdown-menu.show {
  margin-top: 20px !important;
}

/*add by Gary Chan 10 June 2022: disable eye on password field for Edge and IE*/
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.passworderror {
    right: 2.5rem;
}
.LoginFailedTitle {
    color: #F40E0E;
    text-align: center;
    line-height: 32px;
    font-size: 24px; /*Mod by Gary Chan 4 Aug 2022: align with EzyCargo's style*/
    font-weight: 700;
    letter-spacing: -.04em;
    margin: 0 0 14px;
}

@media (min-width: 1600px) {
    .LoginFailedTitle {
        margin: 0 0 24px;
        font-size: 24px;
    }
}


.LoginFailedMsg {
    width: 95%;
    margin: 0 auto;
    text-align: center;
    color: #556564;
    word-break: break-word;
    word-wrap: break-word;
    font-size: 1.75rem;
    line-height: 54px;
    font-weight: 400;
}

.LoginFailedbotton {
    text-align: right;
}

#LoginFailedBox.modal-dialog {
    align-items: center;
    display: flex;
    justify-content: center;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: .2s cubic-bezier(.25,.8,.25,1),z-index 1ms;
    width: 100%;
}


@media (min-width: 576px) {
    .modal-dialog {
        width: 1140px;
        height: 280px; /*Add by Gary Chan 4 Aug 2022: align with EzyCargo's style*/
        max-width: none;
        margin: 11% auto; /*Add by Gary Chan 4 Aug 2022: align with EzyCargo's style*/
	
	}

    .modal-content {
        height: 280px; /*Add by Gary Chan 4 Aug 2022: align with EzyCargo's style*/
    }
}

@media (max-width: 1600px) {
    .LoginFailedMsg {
        font-size: 1.4rem;
    }
}

@media (max-width: 1200px) {
    .LoginFailedMsg {
        font-size: 1.25rem;
    }
}

.error-textbox {
    border: solid 3px rgba(244, 14, 14, 1) !important;
    padding-right: calc(1.5em + .75rem) !important;
    background-image: none;
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.error-icon {
    position: absolute;
    color: #FF4600;
    right: 0.8rem;
    top: 60%;
    background-image: url('assets/warning.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;

}

/*Show modal by zoom transform*/
.modal.fade .modal-dialog {
    transform: scale(0);
}

.modal.show .modal-dialog {
    transform: scale(1);
}

.ezytooltip {
    /* position: relative;*/ /* making the .tooltip span a container for the tooltip text */
    /*border-bottom: 1px dashed #000;*/ /* little indicater to indicate it's hoverable */
}
    /*tooltip body*/
    .ezytooltip:before {
        content: attr(data-text);
        position: absolute;
        /* vertically center */
        top: 50%;
        transform: translateY(-50%);
        /* move to right */
        left: 100%;
        margin-left: 15px; /* and add a small left margin */
        /* basic styles */
        white-space: nowrap;
        word-wrap: break-word;
        line-height: 20px;
        padding: 10px 16px;
        line-height: 20px;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 1);
        font-weight: 400;
        font-size: 1rem;
        font-style: normal;
        box-shadow: 0 0 11px 0 rgb(0 0 0 / 21%);
        color: #000;
        text-align: center;
        /*display: none; */ /* hide by default */
        opacity: 0;
        transition: .3s;
        z-index: 11;
    }

    .ezytooltip:hover:before {
        opacity: 1;
    }
    /*tooltip arrow*/
    .ezytooltip:after {
        left: 100%;
        margin-left: 10px;
        margin-top: 1px;
        top: 50%;
        transform: translateY( -7px ) rotate( 45deg );
        content: "";
        width: 14px;
        height: 14px;
        background-color: #fff;
        position: absolute;
        color: #fff;
        box-shadow: -5px 5px 11px 0 rgb(0 0 0 / 21%);
        opacity: 0;
        transition: .3s;
        z-index: 10;
    }

    .ezytooltip:hover:after {
        opacity: 1;
    }

/*do not move left while modal open*/
body.modal-open {
    padding-right: 0 !important;
}

