/*common*/

@font-face {
  font-family: MElle;
  src: url(../Font/MElle-HK-Xbold.woff);
}


/* @font-face {
  font-family: DFHeiHK;
  src: url(../Font/DFHeiHK-W5.otf);
} */

* {
  font-family: "Noto Sans TC", sans-serif;
  image-rendering: -moz-crisp-edges; /* Firefox */
  image-rendering: -o-crisp-edges; /* Opera */
  image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

.floating-group-float {
  position: fixed;
  bottom: 0px;
  width: 100%;
}

.font-family-MElle {
  font-family: MElle;
}

.header a{
  color: #000000;
}

.title-text {
  font-size: 3rem;
  color: #105a8c;
  line-height: 2.5;
}

div {
  font-family: "Noto Sans TC", sans-serif;
}

.hover-color {
  color: #0056b3;
}

.desktop-only {
  display: block;
  margin: auto;
}

.mobile-only {
  display: none;
}

.eye {
  font-size: 1.3em !important;
  line-height: 0.9em !important;
}

.container {
  max-width: 1290px;
}

a {
  text-decoration: none;
}

.custom-ol-style {
  padding-inline-start: 20px;
}

.grey-bg {
  background: #f1f2f2;
  height: 1em;
}

.grey-bg > img {
  vertical-align: 0%;
}

#grey-triangle-1 {
  vertical-align: 0%;
  margin-right: 43%;
}

#grey-triangle-2 {
  vertical-align: 0%;
  margin-left: 43%;
}

#hkt-eye-logo {
  width: 6rem;
}

.short-form-block {
  right: 0.625rem;
  bottom: 7.625rem;
  z-index: 100000;
}

.form-header {
  background: #16bcc0;
  color: #ffffff;
}

.submit-button{
  width: 12.5rem;
  font-weight: bold;
  margin: 3rem auto;
  cursor: pointer;
  border-radius: 15px;
  background: #ed7d31;
  color: #ffffff;
  font-size: 1.5rem;
}

.confirm-button {
  width: 12.5rem;
  font-weight: bold;
  margin-top: 1rem;
  cursor: pointer;
  border-radius: 15px;
  background: #16bcc0;
  color: #ffffff;
  font-size: 1.5rem;
}

.short-form-button {
  cursor: pointer;
  display: inline-block;
  width: 5.625rem;
  height: 5.625rem;
}

.short-form-button img {
  max-width: 100%;
}

.short-form-container {
  border-radius: 15px;
  overflow: hidden;
}

.header-content,
.header-content img {
  display: inline-block;
  vertical-align: baseline;
}

.header-info {
  font-size: 0.875rem;
}

.form-content {
  /*background-color: #ebebeb;*/
  border-radius: 15px;
}

.tnc-header,
.mobile-tnc-btn {
  color: #16bcc0;
}

textarea {
  resize: none;
}

.tnc-group {
  border-bottom: 1px solid #6d6d6d;
  cursor: pointer;
}

.confirm-tnc-group,
.tnc-content,
.mobile-tnc-content {
  color: #6d6d6d;
}

.tnc-group,
.confirm-tnc-group,
.confirm-tnc-group,
.tnc-content,
.mobile-tnc-content {
  font-size: 0.75rem;
}

.tnc-arrow {
  font-size: 0.875rem;
}

.error {
  color: red;
  font-size: 0.75rem;
}

.error-hide {
  display: none;
}

.form-row {
  line-height: 2.5;
}

.form-row > .col,
.form-row > [class*="col-"] {
  padding-left: 0px;
}

.checkbox-inline {
  position: relative;
  display: inline-block;
  /*padding-left: 1.25rem;*/
  margin-bottom: 0;
  font-weight: 400;
  vertical-align: middle;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"]:focus + label::before {
  outline: 0px !important;
  -webkit-appearance: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

.custom-checkbox {
  margin-right: 1.875rem;
  outline: 0;
  outline: none;
}

.custom-checkbox label {
      /*position: absolute;*/
  padding-left: 0.25rem;
  outline: 0;
  outline: none;
}

.custom-checkbox label::before {
  width: 1.125rem;
  height: 1.125rem;
  left: -1.125rem;
}

.custom-checkbox label::before {
  border-radius: 0;
}

.custom-checkbox label::after {
  font-size: 0.875rem;
}

.custom-checkbox label::after {
  top: 5px;
  left: -17px;
}

.custom-control-label {
  vertical-align: baseline;
}

input[type="checkbox"],
.custom-control-label,
select {
  cursor: pointer;
  line-height: 1.5;
}

.cursor-default {
  cursor: default;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #cccccc;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #cccccc;
}

input[name="interest_other"],
input[name="interest_other"]:focus,
input[name="know-eye-way_other"],
input[name="know-eye-way_other"]:focus {
  height: calc(1.5em + 0.7rem + 2px);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25 rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  outline: 0;
  outline: none;
}

.title-box-container {
  position: relative;
  margin-bottom: -6em;
}

.title-box-image {
  position: relative;
  bottom: 5em;
}

.title-box-text {
  position: absolute;
  bottom: 4.6em;
  right: 35%;
  color: white;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1.7em;
}

#apps-content {
  /* background: url(../images/bg-01.png) #e9eaee no-repeat top center; */
  background-size: auto;
}

.card {
  background: #f1f2f2;
  border: none;
}

.card::after {
  content: "";
  background: #e1e3e3;
  position: absolute;
  bottom: 1.875rem;
  left: 0;
  height: 85%;
  width: 1px;
}

#card1:after {
  background: transparent;
}

#card4 {
  border-bottom-left-radius: 15px;
}

#card6 {
  border-bottom-right-radius: 15px;
}

.card-img-container {
  height: 15rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img-top {
  align-self: center;
}

.card-title {
  color: #2c6d99;
  font-family: MElle;
}

.card-text {
  padding: 0 1em;
}

.card-text > li {
  text-align: start;
  padding-left: 1.4em;
  text-indent: -1.4em;
}

.card-group1 {
  border-bottom: 1px solid #e1e3e3;
  background: #f0f2f2;
}

.card-group1:last-child {
  border-bottom: 0;
}

.card-group1 > .card {
  margin-bottom: 0;
}

.learning-apps-content {
  background-color: #fff;
  border-radius: 15px;
}

/* Samsung galaxy tab Section CSS */

.samsung-tabs-combined img {
  max-width: 1035px;
  width: 100%;
}

#samsung-tabs {
  /* background-image: url("../images/bg-02.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center; */
  background: url(../images/bg-02.png) #49b8ba no-repeat top center;
  background-size: auto;
}

.suggested-price {
  font-weight: bold;
}

.desktop-specs-container {
  background: #ffa000;
  color: #fff;
  border-radius: 2.25rem;
  box-shadow: 0 0.5rem 1rem rgba(68, 64, 64, 0.15) !important;
}

/* End of Samsung galaxy tab Section CSS */

#section2 {
  background: #fff;
  border-radius: 15px;
}

#bg-bottom {
  /* background-image: url("../images/bg-03.png");
  height: 12em;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center; */
  background: url(../images/bg-03.png) #fff no-repeat top center;
  background-size: cover;
  height: 25em;
  max-height: 250px;
}

.social-media-container {
  background: #105a8c;
  /* font-weight: bold; */
  bottom: 0;
  z-index: 9999;
}

.social-media-container .icon {
  width: 2.5em;
}

.social-media-block {
  border-right: 1px solid #34739e;
}

.social-media-block:last-child {
  border-right: 0;
}

.footer-title {
  display: flex;
  flex-direction: row;
  color: #fff;
}

.footer-title:before,
.footer-title:after {
  content: "";
  flex: 1 1;
  border-bottom: 1px solid;
  margin: auto;
}

.footer-title:before {
  margin-right: 10px;
}

.footer-title:after {
  margin-left: 10px;
}

.footer-text {
  font-size: 1rem;
  text-align: left;
  color: #ffffff;
  vertical-align: middle;
}

.footer-tnc a,
.footer-tnc {
  color: #000000;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  #card4:after {
    background: transparent;
  }
}

@media (min-width: 992px) {
  .desktop-padding {
    padding: 3rem;
  }
  .techspecs-title {
    padding-left: 4rem;
  }

  .samsung-navbar-item {
    margin-left: 1.5%;
  }
}

@media (min-width: 2000px) {
  #apps-content,
  #samsung-tabs {
    background-size: cover;
  }
}

@media (max-width: 1200px) {
  #apps-content,
  #bg-bottom {
    background-size: cover;
  }
}

@media (max-width: 1400px) {
  #bg-bottom {
    background-size: contain;
  }
  #apps-content {
    background-size: 145%;
  }
}

@media (max-width: 991.98px) {
  .desktop-specs-container {
    /* background: #fafafa; */
    /* color: #000; */
    box-shadow: none !important;
  }
  .techspecs-title {
    padding-left: 2rem;
  }
  .techspecs {
    border-top: 1px solid #d2d2d7;
  }
  .offer-title {
    width: 100%;
  }
}

@media (max-width: 961px) {
  .footer-text {
    font-size: 0.6rem;
  }
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .title-box-image {
    width: 75%;
    margin-top: 1.5em;
  }

  .tab-selection {
    margin-top: 1rem;
  }

  #card9:after {
    background: transparent;
  }
  .techspecs {
    display: block;
  }
  .techspecs-title {
    padding-left: 1rem;
  }
  .select-tab-button {
    width: 9.5rem;
  }
  /* .title-box-image {
    width: 70%;
  } */
  
  .social-media-block {
    margin-top: 1em;
  }
}

@media (max-width: 639.98px) {
  .card-group1 {
    flex-direction: row;
  }
  #apps-content {
    background-image: url("../images/mobile-bg-01.jpg");
    background-size: 105%;
  }
  #content {
    background-image: url("../images/mobile-bg-02.jpg") !important;
    background-size: 105% !important;
  }
  .title-box-image {
    margin-top: 5.5rem;
  }
}

@media (max-width: 575.98px) {
  .select-tab-button {
    width: 7.5em;
  }
  .title-text {
    font-size: 1.5rem;
  }
  .title-box-container {
    margin-bottom: -6em;
  }
  #hkt-eye-logo {
    width: 5.5em;
  }
  .card-img-container {
    height: 10rem;
  }

  input[name="interest_other"],
  input[name="interest_other"]:focus,
  input[name="know-eye-way_other"],
  input[name="know-eye-way_other"]:focus {
    width: 100%;
  }

  .form-row {
    line-height: 2.5;
  }

  #bg-bottom {
    height: 5em;
  }

  .title-box-image {
    margin-top: 6.5rem;
  }
}

/* // Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
  .triangle-left {
    margin-left: 15.5%;
  }
  .triangle-right {
    margin-left: 65.5%;
  }
  .select-tab-button {
    font-size: 1rem;
  }
}

/* // Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) and (max-width: 767.98px) {
  .triangle-left {
    margin-left: 20%;
  }
  .triangle-right {
    margin-left: 70%;
  }
}

/* // Medium devices (tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 991.98px) {
  .triangle-left {
    margin-left: 20%;
  }
  .triangle-right {
    margin-left: 70%;
  }
}

/* // Large devices (desktops, 992px and up) */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .triangle-left {
    margin-left: 22.5%;
  }
  .triangle-right {
    margin-left: 72.5%;
  }
}


/*come form /var/www/html/hktdx-root/hktdel/assets/css/main.css*/
@font-face {
    font-family: "RobotoRegular";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Roboto-Regular-webfont.eot?#iefix") format("embedded-opentype"), 
    url("../fonts/Roboto-Regular-webfont.woff") format("woff"), 
    url("../fonts/Roboto-Regular-webfont.ttf") format("truetype"), 
    url("../fonts/Roboto-Regular-webfont.svg#RobotoRegular") format("svg");
}

.nomargin{
  margin:0px !important;
}

.nopadding{
  padding:0px !important;
}
.desktop-only{
  display: block;
    margin: auto;
}

.mobile-only{
  display: none;
}

.color-deep-blue{
  color: #0768B2;
}

.color-sea-blue{
  color: #0DB3F0;
}

.color-orange{
  color: #FFB400;
}

.color-grey{
  color: #58595B;
}

.bg-sea-blue{
  background-color: #0DB3F0;
}

.eye {
    font-size: 1.3em !important;
    font-family: arial, sans-serif !important;
}

/*nav*/
nav .navbar-nav li a{
  color: black !important;
}

.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(6,104,177, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-brand img{
  /*width: 200px;*/
}

nav .navbar-brand .logo_text{
  font-size: 1rem;
  color: #0DB3F0;
  font-weight: 600;
  margin-left: -3rem!important;
}

/* change navbar background */
nav.navbar {
  background: transparent;
  border-color: #178BE2!important;
  padding-top: 0;
  padding-bottom: 0;
}
/* change navbar-brand color */
.navbar a.navbar-brand {
  color: black;
}
/* change navbar-brand color on hover */
/*.navbar a.navbar-brand:hover {
  color: green;
}*/

/*  change navbar li colors, also active one but not disabled one */
.navbar ul.navbar-nav li.nav-item a.nav-link {
  color: white;
}
/* change navbar-toggler inside lines color (stroke) */
.navbar-light span.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='yellow' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  color: white;
}
/* change hamburger button border color */
button.navbar-toggler.navbar-toggler-right {
  border-color: yellow;
}

/*nav a active*/
.navbar-nav > li {
  float: left;
  position: relative;
}
nav .nav-item.active a::after {
  border-bottom: 5px solid #178BE2;
  bottom: -5px;
  content: " ";
  left: 0;
  position: absolute;
  right: 0;
}
nav .nav-item.dropdown.active{
  border-bottom: 5px solid #178BE2;
}
nav .nav-item.dropdown.active a::after{
  border-bottom: 0;
  bottom: 0px;
  position: relative;
}
nav .nav-item{
  transition: border-bottom-color .4s;
  border-bottom: transparent 5px solid;
  height: 50px;
}

nav .nav-item:hover{
  opacity: 1;
  border-bottom: 5px solid #178BE2;
}

/*nav dropdown*/
.navbar .dropdown-menu{
  background-color: initial;
  background-color: inherit;
    /*border-top: 1px solid rgb(23, 139, 226)!important;*/
}

.navbar .dropdown-item:focus, .navbar .dropdown-item:hover {
    color: #fff;
    text-decoration: none;
}
.navbar .sm-menu{
    border-radius: 0px;
    border: 0px;
    top: 106%;
}
.navbar .dropdown-item {
    display: initial;
    font-size: 14px;
    color: #2fafe4!important;
}
.navbar .dropdown-item.active, .navbar .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #f8f9fa;
}
.navbar-toggler{
    outline: none !important;
}
.navbar .navbar-tog{
    color: #1ebdc2;
}
.navbar .megamenu-li {
  /*position: static!important;*/
}

.navbar .megamenu {
  position: absolute;
  width: 800px;
  left: -366px;
  padding: 15px;
}
.navbar .megamenu h6{
    margin-left: 21px;
}
.navbar .megamenu i{
    width: 20px;
}
.navbar .dropdown-toggle::after, nav .nav-item.active a::after{
  content: initial;
  content: inherit;
}

.megamenu-background{
  display: none;
  position: absolute;
  width: 100%;
  height: 55px;
  background-color: white;
  top: 98px;
  z-index: 1000;
  border-top: 1px solid rgb(23, 139, 226)!important;
}

@media (min-width: 768px) and (max-width: 991px) {

  .navbar .nav-item{
    font-size: 13px;
  }
}
/*end of nav dropdown*/

/* change navbar background on collapse */
@media (max-width: 768px) {
  .navbar-nav > li {
    position: inherit;
  }

  nav .navbar-brand img{
    width: 200px;
  }

  nav .navbar-brand .logo_text{
    font-size: 0.7rem;
    margin-left: -2.2rem!important;
  }

  .navbar .megamenu {
        position: static;
        width: 100%;
        padding: 10px 0;
    }

    .navbar .dropdown-item {
        display: block;
  }
}

/*side button*/
#desktop-side-btn{
  position: fixed;
  right: 0;
  top: 119px;
  bottom: inherit;
  z-index: 100;
}

/*footer*/
.footer-container{
  background: #0DB3F0;
  color: #ffffff;
}
.footer-tnc{
  font-size: 12px;
  text-align: center;
}
.footer-tnc a{
  color: #000000;
}
#footer-reg-chat{
  position: -webkit-sticky;
  position: sticky;
  bottom: -1px;
  transition: all 1s ease-out;
  -webkit-transition: all 1s ease-out;
  z-index: 10;
}
#footer-reg-chat a, #footer-reg-chat a:hover{
  color: white;
  text-decoration: none;
}

#footer-logo-text .company-logo{
  width: 190px;
}

@media(max-width: 768px) {
  .megamenu-background{
    display: none!important;
  }
  .img-responsive {
    width: auto;
    height: 320px;
  }
  .desktop-only{
    display: none;
  }
  .mobile-only{
    display: block;
  }
  .study-tour-logo img{
    width: 30%;
  }
  .education-logo img{
    width: 45%;
  }
  /*header*/
  .lang{cursor: pointer; background: #ffffff; color: #1f3a93; font-weight: bold;}
  .type{font-weight: bold; font-size:16px; color: #1f3a93; cursor:pointer;}
  .active{background: #ffffff;}

  /*footer*/
  .footer-tnc{
    text-align: center;
  }

  footer #footer-reg-chat .col-6{
    color: white;
  }

  nav .nav-item{
    width: auto;
    height: auto;
  }

}

@media(max-width: 425px) {
  #footer-logo-text img{
    width: 140px;
  }
  #footer-logo-text .company-logo{
    width: 130px;
  }
}