/* Phần chung của cả HTML */
* {
  margin: 0;
}

img {
  border: 0px;
  overflow: clip;
}

body {
  color: #666;
  font-family: "Arial", Helvetica, sans-serif;
  font-size: 13px;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: #307ecc;
}

ul {
  -webkit-margin-before: 1em;
  margin-block-start: 1em;
  -webkit-margin-after: 1em;
  margin-block-end: 1em;
  -webkit-padding-start: 40px;
  padding-inline-start: 40px;
  unicode-bidi: -webkit-isolate;
  unicode-bidi: -moz-isolate;
  unicode-bidi: isolate;
}

li {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: -webkit-isolate;
  unicode-bidi: -moz-isolate;
  unicode-bidi: isolate;
}

/* p margin = 1em tức là margin = font-size (kế thừa từ body) = 13px (em = element) */
p {
  display: block;
  -webkit-margin-before: 1em;
  margin-block-start: 1em;
  -webkit-margin-after: 1em;
  margin-block-end: 1em;
  -webkit-margin-start: 0px;
  margin-inline-start: 0px;
  -webkit-margin-end: 0px;
  margin-inline-end: 0px;
  unicode-bidi: -webkit-isolate;
  unicode-bidi: -moz-isolate;
  unicode-bidi: isolate;
}

h1 {
  display: block;
  -webkit-margin-before: 0.67em;
  margin-block-start: 0.67em;
  -webkit-margin-after: 0.67em;
  margin-block-end: 0.67em;
  -webkit-margin-start: 0px;
  margin-inline-start: 0px;
  -webkit-margin-end: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: -webkit-isolate;
  unicode-bidi: -moz-isolate;
  unicode-bidi: isolate;
}

h3 {
  display: block;
  font-size: 1.17em;
  -webkit-margin-before: 1em;
  margin-block-start: 1em;
  -webkit-margin-after: 1em;
  margin-block-end: 1em;
  -webkit-margin-start: 0px;
  margin-inline-start: 0px;
  -webkit-margin-end: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: -webkit-isolate;
  unicode-bidi: -moz-isolate;
  unicode-bidi: isolate;
}

div {
  display: block;
  unicode-bidi: -webkit-isolate;
  unicode-bidi: -moz-isolate;
  unicode-bidi: isolate;
}

/* Phần header */
#header {
  position: relative;
  background-color: #fff;
}

#header .container {
  padding: 10px 0 0;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 1)),
    color-stop(75%, rgba(246, 246, 246, 1)),
    to(rgba(221, 231, 242, 1))
  );
  background: -o-linear-gradient(
    left,
    rgba(255, 255, 255, 1) 0%,
    rgba(246, 246, 246, 1) 75%,
    rgba(221, 231, 242, 1) 100%
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(246, 246, 246, 1) 75%,
    rgba(221, 231, 242, 1) 100%
  );
}

.container {
  width: 96%;
  max-width: 1050px;
  overflow: visible;
  margin: auto;
  position: relative;
}

@media (min-width: 768px) {
  #header #logo {
    margin-bottom: 10px;
  }
}

@media (min-width: 480px) {
  #header #logo {
    width: auto;
    float: left;
    margin-bottom: 10px;
    margin-left: 10px;
  }
}

#header #logo img {
  max-width: 100%;
  max-height: 80px;
  margin-bottom: 5px;
}

#header #logo h3 {
  color: #3c69a3;
  font-size: 120%;
  letter-spacing: -1px;
  margin-bottom: 3px;
}

#header #logo h4 {
  color: #777;
  font-style: italic;
}

/* Nút login vào cổng thông tin điện tử */
#header #login-portal {
  margin-top: 27.3px;
  margin-bottom: 27.3px;
}

#header #login-portal a {
  text-decoration: underline;
}

#header #header-info {
  width: auto;
  float: right;
  font-weight: bold;
  text-align: right;
  margin-right: 10px;
  margin-bottom: 10px;
}

#header #header-info .info-1 {
  color: #3c69a3;
  margin-bottom: 3px;
}

#header #header-info .info-2 {
  color: #777;
  font-style: italic;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Phần thanh navbar cho desktop */
@media (min-width: 768px) {
  #menu {
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin-bottom: 5px;
    position: relative;
    top: 0;
    z-index: 9;
  }
}

.navbar {
  height: 40px;
}

@media (min-width: 768px) {
  .nav,
  .nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    list-style: none;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    background: none;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .nav li {
    list-style: none;
    float: left;
    position: relative;
    margin: 0;
  }
}

@media (min-width: 768px) {
  .nav li:hover a,
  .nav .active a {
    background-color: rgba(255, 255, 255, 0.15);
  }
}

@media (min-width: 768px) {
  .nav a:link,
  .nav a:active,
  .nav a:visited {
    display: block;
    text-decoration: none;
  }
}

@media (min-width: 1110px) {
  .nav li a {
    padding: 0 29.35px;
  }
}

@media (min-width: 768px) {
  .nav li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    font-size: 90%;
    text-transform: uppercase;
  }
}

#menu .container {
  background: linear-gradient(
    to bottom,
    rgba(116, 156, 204, 1) 0%,
    rgba(26, 71, 122, 1) 50%,
    rgba(116, 156, 204, 1) 100%
  );
}

.clear {
  clear: both;
  height: 0px;
}

@media (max-width: 767px) {
  .nav {
    display: none;
  }
}

/* Phần chọn các nút hiển thị nội dung */
.gw-general-page {
  margin-bottom: 25px;
  padding: 30px 10px 0 10px;
  background: url(/photo/web/bg-content.gif) repeat-x top;
}
/* Background-shorthand:
Cấu trúc:
background: bg-color bg-image position / bg-size bg-repeat bg-origin bg-clip bg-attachment initial|inherit */

/* repeat x tức là lặp lại theo chiều ngang, bắt đầu từ vị trí top */
@media (min-width: 768px) {
  .gw-general-page .gw-list {
    width: 26%;
    float: left;
  }
}

@media (min-width: 768px) {
  .gw-general-page .gw-list {
    max-width: 280px;
    font-size: 90%;
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) {
  .gw-general-page .gw-list-item {
    line-height: 65px;
    height: 65px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 0 0 10px;
    cursor: pointer;
    position: relative;
    background-color: #5585bf;
    color: #18406b;
    margin-right: 10px;
  }
}

@media (min-width: 768px) {
  .gw-general-page .gw-list-item a {
    display: block;
    color: #18406b;
  }
}

@media (min-width: 768px) {
  .gw-general-page .gw-list-item-active a {
    color: #fff !important;
  }
}

.gw-general-page .gw-list-bg {
  width: 100%;
  height: 65px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.gw-general-page .gw-list-title {
  position: relative;
  z-index: 2;
  text-transform: uppercase;
}

/* Phần viết content */
.gw-general-page .gw-content {
  width: 72%;
  float: right;
  text-align: justify;
}

.gw-general-page .gw-content-title {
  color: #d50000;
  font-weight: bold;
  font-size: 120%;
  font-family: "Roboto Condensed", sans-serif;
  text-align: left;
}

.gw-general-page .gw-content-title-2 {
  color: #d50000;
  font-weight: bold;
  font-family: "Roboto Condensed", sans-serif;
  text-align: center;
}

.gw-view-post {
  line-height: 180%;
  font-size: 100%;
  word-wrap: break-word;
  margin-bottom: 20px;
}

.gw-general-page .gw-content-2 {
  width: 100%;
  float: right;
  text-align: justify;
}

/* Phần các service cho service */
.gw-general-page .gw-list-item-2 {
  line-height: 190%;
  height: 50px;
  padding: 10px;
}

/* Phần contact */
.title-contact {
  color: #d50000;
  text-transform: uppercase;
  border-bottom: solid 5px rgba(0, 0, 0, 0.2);
  display: inline;
}

@media (min-width: 768px) {
  .gw-general-page-contact {
    margin-top: -20px;
  }
  .gw-general-page-contact #position-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 32%;
    padding: 0 10px;
  }
}

.contact-info {
  display: block;
  line-height: 180%;
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

#gw-content-button {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid;
  color: #18406b;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  display: inline-block;
}

#gw-content-button:hover {
  -webkit-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
}

#gw-content-button:active {
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
}
@media (min-width: 768px) {
  .contact {
    padding: 24px;
    margin-left: -20px;
  }
  .gw-general-page-contact .send-inquiry {
    width: 60%;
    display: block;
    margin-left: 30px;
  }
  .field {
    margin-bottom: 14px;
  }
  label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
  }
  input,
  textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
  }
  button {
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(116, 156, 204, 1)),
      color-stop(50%, rgba(26, 71, 122, 1)),
      to(rgba(116, 156, 204, 1))
    );
    background: -o-linear-gradient(
      top,
      rgba(116, 156, 204, 1) 0%,
      rgba(26, 71, 122, 1) 50%,
      rgba(116, 156, 204, 1) 100%
    );
    background: linear-gradient(
      to bottom,
      rgba(116, 156, 204, 1) 0%,
      rgba(26, 71, 122, 1) 50%,
      rgba(116, 156, 204, 1) 100%
    );
    color: #fff;
  }
  button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
  }
  #formStatus {
    margin-top: 10px;
  }
  .gw-general-page-contact {
    display: flex;
  }
  #label-name {
    margin-top: -10px;
  }
}

/* Phần viết bài SEO */
.seo-heading-1 {
  counter-reset: section;
}

.seo-heading-2::before {
  counter-increment: section;
  content: counter(section) ".";
}

.seo-heading-2 {
  counter-reset: subsection;
}

.seo-heading-3::before {
  counter-increment: subsection;
  content: counter(section) "." counter(subsection) ".";
}

/* Phần nút chọn cho sourcing capability */
.product-list {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
}

.product-list-category {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 200px;
  flex: 1 1 200px;
  list-style: none;
  padding: 10px;
  border: solid 1px rgba(0, 0, 0, 0.5);
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.product-list-category:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-list-category:active {
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
}

.product-list a {
  text-decoration: none;
  color: rgb(26, 71, 122);
}

/* Phần chọn cho các sản phẩm trong catalogue */
.product-list-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0 0 10px 0;
  margin-top: 20px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-bottom: solid 5px rgba(0, 0, 0, 0.1);
}

.product-list-2 a {
  text-align: center;
  min-width: 105px;
}

.product-list-2 a:hover {
  background-color: rgba(222, 222, 255, 0.5);
  -webkit-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.product-list-active {
  background: linear-gradient(
    to bottom,
    rgba(116, 156, 204, 1) 0%,
    rgba(26, 71, 122, 1) 50%,
    rgba(116, 156, 204, 1) 100%
  );
  color: #fff !important;
}

.link-product-button {
  display: flex;
  justify-content: center;
}

/* Phần display các sản phẩm */
.product-display-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  padding-left: 15px;
  width: 13%;
  float: left;
}
.product-display-gallery {
  width: 85%;
  float: right;
  padding-top: 20px;
}
.product-display-gallery .gallery {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
}
.product-display-gallery p {
  background: rgba(222, 222, 255, 0.5);
  margin: 0px;
}
.product-display-menu a {
  display: inline-block;
  color: #18406b;
  min-width: 105px;
}
.product-display-item-active {
  text-decoration: underline;
}
#product-sku {
  text-align: center;
  color: #18406b;
  max-width: 18%;
}

/* Phần client */
.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.gallery a {
  border: solid 0.2px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  max-width: 18%;
  min-width: 135px;
}

.gallery a:hover {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.gallery a img {
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination button {
  border-radius: 100%;
  border: solid 0.5px rgba(0, 0, 0, 0.2);
}

#prevBtn,
#nextBtn {
  padding: 10px;
  cursor: pointer;
}

#prevBtn:hover,
#nextBtn:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

#prevBtn:active,
#nextBtn:active {
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
  -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

/* Phần send inquiry trong contact */
.send-inquiry-content-title {
  color: #d50000;
  border-bottom: solid 5px rgba(0, 0, 0, 0.2);
}

/* Phần footer */
#footer {
  clear: both;
}
#footer .container {
  min-height: 60px;
  box-sizing: border-box;
  padding: 10px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(255, 255, 255, 1)),
    color-stop(50%, rgba(222, 222, 255, 1)),
    to(rgba(222, 222, 255, 1))
  );
  background: -o-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(222, 222, 255, 1) 50%,
    rgba(222, 222, 255, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(222, 222, 255, 1) 50%,
    rgba(222, 222, 255, 1) 100%
  );
}

#footer .copyright {
  width: auto;
  float: left;
  text-align: center;
  margin-bottom: 10px;
}

#footer .social {
  width: auto;
  float: right;
  text-align: center;
}

#footer .social img {
  height: 30px;
  margin: 0 5px;
}

/* Phần thay đổi cấu hình cho ngôn ngữ Pháp */
@media (min-width: 1110px) {
  .nav-fr li a {
    padding: 0 32.7px;
  }
}
