/*
Theme Name: HKHCHO Custom Theme
Author: Jack Cheng
Author URI: http://jackchengck.com/
Description: HKHCHO Custom is a custom theme created for the HKHCHO Company
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hkhchocustomize
*/

/* setting up the basic elements-starter setup */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
      border: 0;
      font-family: inherit;
      font-size: 100%;
      font-style: inherit;
      font-weight: inherit;
      margin: 0;
      outline: 0;
      padding: 0;
      vertical-align: baseline;
}

html {
      font-size: 62.5%;
      overflow-y: scroll;
      -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
      box-sizing: border-box;
}

*, *:before, *:after {
      box-sizing: inherit;
}

body {
      background: #FFF;
}

.index-news-offers-box{
	display:none !important;
}


/* resetting the basic content blocks */
article, aside, details, figcaption, figure, footer, header, main,   nav, section {
      display: block;
}

/* resetting the lists */
ol, ul {
      list-style: none;
}

table {
      border-collapse: separate;
      border-spacing: 0;
}

caption, th, td {
      font-weight: normal;
      text-align: left;
}

blockquote:before, blockquote:after, q:before, q:after {
      content: "";
}

blockquote, q {

      quotes: "  ";
}

a:focus {
      outline: thin dotted;
}

a:hover, a:active {
      outline: 0;
}

a img {
      border: 0;
}

* {
    font-size: 12px;
    box-sizing: border-box;
}

body {
    margin: 0;
    max-width: 1680px;
    margin: auto;
    font-size: 12px;
    font-family: 'Noto Sans TC', sans-serif;
    background: #FFFFFF;
}

a, a:link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    font-size: inherit;
}

button {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#menu-item-230{
	display:none;
}

.button {
  display: block;
  text-align: center;
  cursor: pointer;
  border: none;
  height: 40px;
  padding: 0 14px;
  border-radius: 5px;
  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.15);
  font-size: 18px;
  line-height: 37px;
  -webkit-transition-property: background-color;
  -webkit-transition-duration: 0.2s;
  -webkit-transition-timing-function: linear;
  -moz-transition-property: background-color;
  -moz-transition-duration: 0.2s;
  -moz-transition-timing-function: linear;
  -ms-transition-property: background-color;
  -ms-transition-duration: 0.2s;
  -ms-transition-timing-function: linear;
  -o-transition-property: background-color;
  -o-transition-duration: 0.2s;
  -o-transition-timing-function: linear;
  transition-property: background-color;
  transition-duration: 0.2s;
  transition-timing-function: linear;
  background: #fafafa;
  color: #222;
}
.button i {
  line-height: 37px;
}
.button:active,
.button:active i {
  line-height: 40px;
}
.button.button-primary,
.button.button-info,
.button.button-success,
.button.button-warning,
.button.button-danger,
.button.button-inverse {
  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.2);
}
.button:hover,
.button:focus {
  background: #e6e6e6;
  color: #222;
}
.button.button-primary {
  background: #05004E;
  color: #fafafa;
}
.button.button-primary:hover,
.button.button-primary:focus {
  background: #37318d;
  color: #fafafa;
}

.button.button-danger {
  background: red;
  color: #fafafa;
}
.button.button-danger:hover,
.button.button-danger:focus {
  background: #d0312a;
  color: #fafafa;
}

.button span {
  pointer-events: none;
}
.button:hover {
  text-decoration: none;
}
.button:focus {
  text-decoration: none;
  outline: none;
}
.button:active {
  box-shadow: none !important;
}

.button-xlarge {
  height: 60px;
  padding: 0 22px;
  border-radius: 7px;
  box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.15);
  font-size: 26px;
  line-height: 55px;
}
.button-xlarge i {
  line-height: 55px;
}
.button-xlarge:active,
.button-xlarge:active i {
  line-height: 60px;
}
.button-xlarge.button-primary,
.button-xlarge.button-info,
.button-xlarge.button-success,
.button-xlarge.button-warning,
.button-xlarge.button-danger,
.button-xlarge.button-inverse {
  box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.2);
}
.button-inline {
  display: inline-block;
  vertical-align: middle;
}

.container {
    position: relative;
    width: 70%;
    margin: auto;
    font-size: inherit;
}

.subtitle {
    /*font-size: 18px;*/
    font-size: 1.5rem;
}

.top-info-bar {
    /*height: 30px;*/
    height: 2.5rem;
    color: #05004E;
    margin-top: 1rem;
    z-index: 10;
}

.top-info-bar-box {
    float: right;
}

.top-info-bar-box > div {
    float: left;
    margin: .5rem;
}

.top-info-bar-box > div:last-child {
    margin-right: 0;
}

.top-info-bar-lang {
    background: #05004E;
    color: white;
    padding: 0.5rem;
    text-decoration: none;
    border-radius: 2rem;
}

.top-info-bar-lang:link {
    text-decoration: none;
    color: white;
}

.top-info-bar-lang span {
    padding: .2rem 1rem;
    border-radius: 1rem;
}

.eng {
}

.chi {
    background: white;
    color: #05004E;
}

.top-menu-bar {
    height: 4rem;
    padding: 1rem 0;
    box-sizing: content-box;
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.05);
}

.menu-burger {
    /*display: inline-block;*/
    display: none;
    padding: .5rem 0;
}

.menu-burger-button {
    display: block;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
}

.menu-burger-button img {
    width: 2rem;
    height: 4rem;
}

.company_logo {
    float: left;
    /*height: 4rem;*/
}

.company_logo * {
    height: 3.5rem;
}

/*.company_logo img {*/
/*    height: 3.5rem;*/
/*}*/

.top-menu {
    float: right;
    z-index: 10;
}

/*FIRST LEVEL*/
.top-menu > ul {
    float: left;
    list-style: none;
    padding: 0;
}

.top-menu > ul > li {
    float: left;
}

.top-menu > ul > li > a {
    color: black;
    text-decoration: none;
    padding: 0.5rem 1rem;
    line-height: 2rem;
    font-size: 1.2rem
}

.top-menu > ul > li > a:link {
    color: black;
}

.top-menu > ul > li > a:hover {
    color: #3A3A3A;
}

/*SECOND LEVEL*/
.top-menu > ul > li > ul {
    display: none;
    position: absolute;
    list-style: none;
    background: #05004E;
    color: white;
    z-index: 15;
    padding: 1rem;
    border-radius: 1rem;
    min-width: 8rem;
    -webkit-transition: all 0.5s linear;

}

.top-menu > ul > li:hover > ul {
    display: block;
}

.top-menu > ul > li > ul > li {
    padding: 0.5rem
}

.top-menu > ul > li > ul > li > a:link {
    color: white;
    font-size: 14px;
}

.top-menu > ul > li > ul > li > a:hover {
    color: #C0C0C0;
}

/*THIRD LEVEL*/
.top-menu > ul > li > ul > li > ul {
    list-style: none;
    padding-left: 1rem;
}

.top-menu > ul > li > ul > li > ul > li {
    font-size: 14px;
}

.top-menu > ul > li > ul > li > ul > li > a {
}

.top-menu > ul > li > ul > li > ul > li > a:link {
    color: white;
}

.top-menu > ul > li > ul > li > ul > li > a:hover {
    color: #C0C0C0;

}

/*.top-menu-enquiry,*/
.top-menu-enquiry * {
    background: #FF0000;
    border-radius: 25px;
    color: white !important;
    margin-left: .5rem;
}

.top-menu-enquiry:hover * {
    background: #BE0000;
    color: white;
}

.main-section {
    padding: 2rem 0;
    background: white;
    /*border: black solid 1px;*/
}

.footer {
    font-size: 14px;
    padding: 4rem 0 0;
}

.footer-box {
    /*flex: 1;*/
    width: 30%;
    padding-bottom: 2rem;
}

.footer-subscribe {
    flex: 2;
    width: 40%;
}

.footer-title {
    font-size: 24px;
    padding: 0.5rem 0;
}

.footer p {
    font-size: 14px;
}

.footer a {
    font-size: 14px;
}

.footer-sns img {
    width: 50px;
    height: 50px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    padding: .5rem 0;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-subscribe-form {

    margin: 1rem 0;
}

.footer-subscribe-form > form > div {
    position: relative;
    height: 3.3rem;
    width: 100%;
    margin: auto;
}

.footer-subscribe-form > form > div > input[type="text"] {
    position: absolute;
    height: 3.3rem;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 0.6rem;
    border: #CCCCCC 1px solid;
    /*font-size: 16px;*/
    font-size: 1.3rem;
    padding-left: 0.8rem;
}

.footer-subscribe-form > form > div > input[type="submit"] {
    position: absolute;
    height: 3.3rem;
    right: -2px;
    top: 0;
    bottom: 0;
    border-radius: 0 0.6rem 0.6rem 0;
    border: #CCCCCC 1px solid;
    cursor: pointer;
    /*font-size: 16px;*/
    font-size: 1.3rem;
    padding: 0 1.5rem;
    background: white;
}

.footer-subscribe-form > form > div > input[type="submit"]:hover {
    background: #F0F0F0;
    color: #2A2A2A;
}

.footer-copyright {
    background: #05004E;
    /*width: 100%;*/
    /*font-size: 18px;*/
    font-size: 1.2rem;
    color: white;
    padding: 2rem 0;
}


.square {
    position: relative;
    overflow: hidden;
}

.square:before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.square-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
}

.row {
    display: flex;
    flex-direction: row;
}

.red {
    color: red;
    font-size: inherit;
}

.pagination {
    margin-top: 2rem;
    text-align: center;
}

.nav-links, .nav-links * {
    font-size: 2rem;
	padding: 0 0.5rem;
}

.nav-links .current {
    color: #FFFFFF;
    font-weight: bold;
    background: #05004E;
    padding: 0.1rem 0.9rem;
    border-radius: 0rem;
}

.nav-links a.page-numbers:hover {
    color: #00A8EF;
}

.menu-phone {
    display: none;
    padding: .5rem 0;
    position: absolute;
    right: 0;
    top: 0;
}

.menu-phone-button {
    display: block;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
}

.menu-phone img {
    width: 100%;
    height: 100%;
}

.disabled > a {
    pointer-events: none;
    cursor: default;
}

.disabled:hover > a {
    color: inherit;
}


