/* CSS for giaidieu theme - made by giaidieu.com */
/* @created on 10 Feb 2025 */
/* @updated on 28 Feb 2025 */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500,600,700,800');
@import "address-autocomplete.css?20-02-25";

:root {
  --primary_color: #d71921; /*#EC1D26;*/
  --grid_gap: 30px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
}

::-webkit-scrollbar-thumb {
  background: var(--primary_color);
  /*border-radius: 5px;*/
}

::-webkit-scrollbar-thumb:hover {
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Open Sans',sans-serif;
  font-size: 1.4rem;
  line-height: 120%;
  font-style: normal;
  color: #333;
  background-color: #fff;
  margin-top: 0;
  /*overflow-x: hidden;*/
}

div.container {
  padding-right: 0;
  padding-left: 0;
}

a:focus, a:active, a.btn:focus, a.btn:active, button:focus, button:active {
  /*border: none !important;*/
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

a.btn, .btn, button.btn {
  font-family: 'Open Sans',sans-serif;
  font-size: 1.8rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px 10px 30px;
  border-radius: 0;
  border-width: 2px;
  border-style: solid;
}

a.btn.btn--primary, button.btn.btn--primary {
  color: #fff;
  background-color: var(--primary_color);
  border-color: var(--primary_color);  
}

a.btn.btn--default, button.btn.btn--default {
  color: #333;
  background-color: #fff;
  border-color: #fff;
}

a.btn.btn--primary.transparent {
  color: var(--primary_color);
  background-color: transparent !important;
}

a.btn.btn--default.transparent {
  color: #fff;
  background-color: transparent !important;
  text-shadow: none;
}

a.btn.btn--primary:not('.nolink'):hover, button.btn.btn--primary:not('.nolink'):hover {
  color: #333;
  background-color: #fff;
  border-color: #fff;
}

a.btn.btn--default:not('.nolink'):hover, button.btn.btn--default:not('.nolink'):hover {
  color: #fff;
  background-color: var(--primary_color);
  border-color: var(--primary_color);
}

a.btn.btn--primary.transparent:not('.nolink'):hover {
  color: #fff;
  background-color: var(--primary_color) !important;
  border-color: var(--primary_color);
}

a.btn.btn--default.transparent:not('.nolink'):hover {
  color: #333 !important;
  background-color: #fff !important;
  border-color: #fff;
}

a.btn.black {
  border-color: #000 !important;
}

a.btn.black:hover {
  border-color: var(--primary_color) !important;
}

button.btn.btn--primary.btn--blur:hover, a.btn.btn--primary.btn--blur:hover {
  color: #fff;
  background-color: var(--primary_color);
  border-color: var(--primary_color);  
  opacity: 0.7;  
}

a.btn.nolink {
  cursor: default;
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 2.8rem;
  margin-top: 40px;
  text-transform: uppercase;
  color: var(--primary_color);
  font-weight: bold;
  line-height: 1.8;
}

h3 {
  font-size: 2.4rem;
  margin-top: 40px;
  text-transform: uppercase;
  color: var(--primary_color);
  font-weight: bold;
  line-height: 1.4;
}

h4 {
  font-size: 1.8rem;
}

#page-wrapper {
  padding: 0;
}

#header {
  background-color: var(--primary_color);  
}

#content-footer {
  margin-top: var(--grid_gap);
}

body:not(.commerce-cart-page):not(.commerce-checkout-form) #header {
  width: 100%;
}

body:not(.commerce-cart-page):not(.commerce-checkout-form) #header.header-fixed {
  top: 0;
  position: fixed;
  z-index: 999;
  width: 100%;
}

body:not(.commerce-cart-page):not(.commerce-checkout-form) #header:hover {
  opacity: 1;
}

body.commerce-cart-page #main, body.commerce-checkout-form #main {
  clear: both;
  display: block;
  margin-bottom: 50px;
}

div[role="dialog"] div.ui-dialog-titlebar {
  background-color: #fff;
  color: #333;
  border: none;
}

div.ui-dialog .ui-dialog-titlebar-close {
  line-height: 100%;
  display: flex;
  justify-content: center;
  border: none;
  background-color: #fff;
  font-size: 2.4rem;
  color: #333;
  right: 10px;
}

div.ui-dialog .ui-dialog-titlebar-close::after {
  font-family: "Font Awesome 5 Free";
  content: "\f00d";
  display: inline-block;
  vertical-align: middle;
  font-weight: 700;
}

#block-giaidieu-branding-2 div.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

div.content.container:before, div.views-infinite-scroll-content-wrapper.clearfix:before, div.clearfix:before, div.container:after {
  display: none;
}

#block-giaidieu-views-block-taxonomy-functions-block-home-catgegory div.view-content, #block-giaidieu-homegioithieu2 div.content div.field--name-field-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: var(--grid_gap);
}

#block-giaidieu-homegioithieu1 {
  background-image: url('/sites/all/themes/giaidieu/images/home-gioithieu-1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 400px;
  position: relative;
}

#block-giaidieu-homegioithieu1:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #00000080;
}

#block-giaidieu-homegioithieu1 div.content, #block-giaidieu-homegioithieu2 div.content {
  z-index: 1;
  text-align: center;
  color: #fff;
}

#block-giaidieu-homegioithieu1 h2, #block-giaidieu-homegioithieu2 h2, #block-giaidieu-bonchonfooter h2 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.4;
}

#block-giaidieu-homegioithieu1 p {
  margin-top: 30px;
  margin-bottom: 30px;  
}

#block-giaidieu-homegioithieu2 {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
  background-color: var(--primary_color);
}

#block-giaidieu-homegioithieu2 div.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 1;
  position: relative;
  align-items: center;
}

#block-giaidieu-homegioithieu2 div.social-tag {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

#block-giaidieu-homegioithieu2 div.field--name-field-images img {
  border: 3px solid transparent;
}

#block-giaidieu-homegioithieu2 div.field--name-field-images img:hover {
  border: 3px solid #fff;
}

#block-giaidieu-homegioithieu2 div.social-tag p:first-child {
  margin-right: 15px;
}

div.region-right, div.view-id-node_functions.view-display-id-page_news {
  margin-top: 70px;
}

#footer {
  background-size: cover;
  background-image: url('/sites/all/themes/giaidieu/images/footer-bg.jpg');
  background-position: center;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 30px;
}

#block-giaidieu-bonchonfooter > div.content {
  display: grid;
  grid-template-columns: 55% 1fr 1fr;
  grid-gap: var(--grid_gap);
  color: #fff;
}

.footer-bonchon-info h2, .giaidieu-footer-contact h2 {
  font-weight: normal;
  font-size: 2.0rem;
}

.giaidieu-footer-contact h2 {
  margin-bottom: 5px;
}

#block-giaidieu-bonchonfooter div.content a, #block-giaidieu-bonchonfooter div.content a:visited {
  color: #fff;
}

.contextual-region .contextual .contextual-links a {
  color: #333 !important;
}

#block-giaidieu-bonchonfooter div.field-row {
  margin-top: 15px;
}

#block-giaidieu-bonchonfooter div.field-row img {
  margin-right: 5px;
}

#block-giaidieu-bonchonfooter div.other-details {
  border-top: 1px solid #ddd;
  margin-top: 15px;
}

#block-giaidieu-bonchonfooter div.other-details div.field-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#block-giaidieu-bonchonfooter div.other-details div.field-row:last-child {
  padding-left: 25px;
}

#block-giaidieu-bonchonfooter div.other-details div.field-row a {
  text-decoration: underline;
}

#block-giaidieu-bonchonfooter div.other-details div.field-row a:hover {
  text-decoration: none;
}

.giaidieu-footer-contact .nav > li > a {
  padding-left: 0;
}

.giaidieu-footer-contact .nav > li > a:hover {
  background-color: transparent;
  text-decoration: underline;
}

.footer-bonchon-contact {
  width: 240px;
}

#block-giaidieu-bonchonfooter .footer-bonchon-contact a.btn.btn--text, #block-giaidieu-bonchonfooter .footer-bonchon-contact a.btn.btn--text:visited {
  font-size: 1.4rem;
  background-color: #fff;
  color: var(--primary_color);
  padding-left: 15px;
  padding-right: 15px;
  font-weight: bold;
}

.footer-bonchon-contact div.contact-details {
  background-color: var(--primary_color);
  padding: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.footer-bonchon-contact div.contact-details p {
  font-size: 1.6rem;
  line-height: 1.6;
  padding-left: 15px;
  padding-right: 15px;  
}

.footer-bonchon-contact div.social-details img {
  margin-right: 15px;
}

.giaidieu-footer-contact {
  margin-left: 30px;
}

div.node-full {
  font-size: 1.6rem;
  line-height: 2em;
  padding-bottom: 50px;
}

div.node-full div.img-left, div.node-full div.img-right, div.column-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--grid_gap);
}

div.node-full.node-page h2 {
  text-align: center;
  margin-bottom: 20px;
}

div.container:before {
  display: none !important;
}

div.view-id-node_functions.view-display-id-page_news div.view-content div.views-infinite-scroll-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--grid_gap);    
}

div.view-commerce-products.view-display-id-page_menu_products div.view-content div.views-infinite-scroll-content-wrapper, div.view-commerce-products.view-display-id-block_thuc_don div.view-content div.views-infinite-scroll-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: var(--grid_gap);      
}

.logo img {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.giaidieu-main-navigation ul.menu > li > a, .giaidieu-main-navigation ul.menu > li > a:visited {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
}

.giaidieu-main-navigation ul.menu > li > a:hover, .giaidieu-main-navigation ul.menu > li > a:focus, .giaidieu-main-navigation ul.menu > li > a:active {
  background-color: transparent;
}

.giaidieu-main-navigation ul.menu > li {
  border-bottom: 2px solid transparent;
  float: left;
}

.giaidieu-main-navigation ul.menu > li:hover, .giaidieu-main-navigation ul.menu > li.active {
  border-bottom: 2px solid #fff;
}

.block-giaidieu-hotline, .block-giaidieu-hotline a, .block-giaidieu-hotline a:visited {
  font-size: 1.6rem;
  color: #fff;
  font-weight: bold;
}

.block-giaidieu-hotline, .block-giaidieu-hotline a:hover {
  text-decoration: none;
}

#block-giaidieu-views-block-node-functions-block-slideshow div.view-content div.node-teaser-slideshow {
  position: relative;
  background-color: var(--primary_color);
}

#block-giaidieu-views-block-node-functions-block-slideshow div.view-content div.node-teaser-slideshow div.slide-desc {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10%;
  width: 600px;
  max-width: 80%;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
}

#block-giaidieu-views-block-node-functions-block-slideshow div.view-content div.node-teaser-slideshow div.slide-title {
  font-size: 2.8rem;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 30px;
  display: block;
  white-space: nowrap;
}

#block-giaidieu-views-block-node-functions-block-slideshow div.view-content div.node-teaser-slideshow div.field--name-body {
  line-height: 1.8;
  font-size: 1.6rem;
}

#block-giaidieu-views-block-node-functions-block-slideshow div.view-content div.node-teaser-slideshow div.field--name-body a.btn {
  margin-top: 30px;
}

#block-giaidieu-views-block-node-functions-block-slideshow .owl-theme .owl-dots {
  bottom: 10px;
  z-index: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#block-giaidieu-homedathangngay {
  background-color: var(--primary_color);
  padding-top: 30px;
  padding-bottom: 50px;
}

#block-giaidieu-homedathangngay div.bonchon-home-shop {
  display: flex;
  justify-content: space-evenly;
  color: #fff;
  font-size: 1.6rem;
  padding-bottom: 30px;
}

#block-giaidieu-homedathangngay h1 {
  margin-top: 0;
  color: #fff;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

#block-giaidieu-homedathangngay a, #block-giaidieu-homedathangngay:visited {
  color: #fff;
}

#block-giaidieu-homedathangngay div.bonchon-shop-list {
  text-align: center;
  font-weight: bold;
}

#block-giaidieu-homedathangngay div.bonchon-shop-list a {
  text-transform: uppercase;
  text-decoration: underline;
}
#block-giaidieu-homedathangngay div.bonchon-book-now {
  font-size: 2.1rem;
  text-align: center;
  font-weight: bold;  
}

#block-giaidieu-homedathangngay div.bonchon-book-now p {
  margin-bottom: 20px;
}

#block-giaidieu-homedathangngay div.bonchon-shop-stats p {
  font-size: 2.1rem;
  margin-bottom: 20px;
}

#block-giaidieu-homedathangngay div.bonchon-shop-stats p strong {
  font-size: 2.8rem;
  vertical-align: top;
}

#block-giaidieu-views-block-taxonomy-functions-block-home-catgegory {
  margin-bottom: 50px;
}

#block-giaidieu-views-block-taxonomy-functions-block-home-catgegory h2 {
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
}

#block-giaidieu-views-block-taxonomy-functions-block-home-catgegory div.views-row {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#block-giaidieu-views-block-taxonomy-functions-block-home-catgegory div.views-row div.views-field-name {
  z-index: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 1px 1px 1px #000;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  pointer-events: none;
}

#block-giaidieu-views-block-taxonomy-functions-block-home-catgegory div.views-row div.views-field-field-image img {
  top: 0;
  left: 0;    
  width: 100%;
  height: 100%;
  transition: width 0.5s, height 0.5s, left 0.5s, top 0.5s;
}

#block-giaidieu-views-block-taxonomy-functions-block-home-catgegory div.views-row div.views-field-field-image img:hover {
  position: relative;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  max-width: calc(100% + 20px);
  box-shadow: 1px 2px 3px #ddd;
}

body:not(.commerce-cart-page) #highlight div.region-highlighted {
  position: relative;
}

body:not(.node-447):not(.commerce-cart-page):not(.custom-order-history) #highlight div.region-highlighted:before {
  content: '';
  background-color: rgba(0, 0, 0, 0.33);
  position: absolute;
  width: 100%;
  height: 100%;
}

body:not(.commerce-cart-page):not(.custom-order-history) #highlight div.region-highlighted h1.page-header {
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 1px black;
  position: absolute;
  z-index: 1;
  bottom: 100px;
  border-bottom: none;
  left: 50%;
  transform: translateX(-50%);
}

body:not(.commerce-cart-page) #highlight div.region-highlighted div.field--type-image img {
  width: 100%;
}

div.tns-outer {
  position: relative;
}

div.tns-outer .tns-controls {
  position: absolute;
  top: -55px;
  right: 0;
  z-index: 1;
}

div.tns-outer .tns-controls [aria-controls] {
  background-color: var(--primary_color);
  border-radius: 0;
  font-size: 1.8rem;
  padding: 10px;
  height: auto;
  width: auto;
  color: #fff;
}

div.product-teaser div.product-title {
  background-color: var(--primary_color);
  padding: 15px;
  border-bottom: 1px dashed #fff;
}

div.product-teaser div.product-cart {
  background-color: var(--primary_color);
  padding: 10px;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.product-teaser div.product-title a, div.product-teaser div.product-title a:visited, div.product-teaser div.product-cart, div.product-teaser div.product-cart a, div.product-teaser div.product-cart a:visited {
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

#views-exposed-form-commerce-products-page-menu-products div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul, #views-exposed-form-commerce-products-block-thuc-don div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  overflow: hidden;
  clear: both;
  margin-top: 50px;
  margin-bottom: 30px;
  width: 100%;
  background-color: var(--primary_color);
  align-items: center;
}

#views-exposed-form-commerce-products-page-menu-products div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul > li, #views-exposed-form-commerce-products-block-thuc-don div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul > li {
  display: flex;
  flex-grow: 1;
  align-items: center;
}

#views-exposed-form-commerce-products-page-menu-products div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul > li > a, #views-exposed-form-commerce-products-page-menu-products div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul > li > a:visited, #views-exposed-form-commerce-products-block-thuc-don div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul > li > a, #views-exposed-form-commerce-products-block-thuc-don div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul > li > a:visited {
  padding: 20px;
  padding-left: 30px;
  padding-right: 30px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 1px #000;
}

.bef-exposed-form .form--inline > div.form-item-field-loai-san-pham-target-id.form-item {
  width: 100%;
}

#views-exposed-form-commerce-products-page-menu-products div[data-drupal-selector="edit-field-loai-san-pham-target-id"] a.bef-link--selected, #views-exposed-form-commerce-products-block-thuc-don div[data-drupal-selector="edit-field-loai-san-pham-target-id"] a.bef-link--selected {
  background-color: #000;
}

div.main-column-2.container {
  display: grid;
  grid-template-columns: 1fr 350px;
  grid-gap: var(--grid_gap);  
}

div.node-teaser-article div.image-wrapper {
  position: relative;  
}

div.node-teaser-article div.image-wrapper div.node-created {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--primary_color);
  padding: 5px 10px;
  color: white;
  font-size: 1.2rem;
}

div.node-teaser-article div.node-title {
  margin-top: 20px;
  margin-bottom: 10px;  
}

div.node-teaser-article div.node-title a.text-link, div.node-teaser-article div.node-title a.text-link:visited {
  font-weight: bold;
  font-size: 1.6rem;
  color: #000;
  text-transform: uppercase;
  line-height: 1.4;
}

div.node-teaser-article div.node-desc {
  line-height: 1.6;
}

div.node-teaser-article div.node-link {
  text-align: right;
  margin-right: 10px;
  margin-top: 10px;
}

div.node-teaser-article div.node-link a.text-link, div.node-teaser-article div.node-link a.text-link:visited {
  color: #333;
  font-weight: bold;
}

div.node-teaser-article div.node-title a.text-link:hover, div.node-teaser-article div.node-link a.text-link:hover {
  color: var(--primary_color);
}

#views-exposed-form-node-functions-page-news div[data-drupal-selector="edit-field-danh-muc-bai-viet-value"] ul {
  padding-left: 0;
}

#views-exposed-form-node-functions-page-news div[data-drupal-selector="edit-field-danh-muc-bai-viet-value"] ul li {
  display: inline-block;
  margin-right: 30px;
}

#views-exposed-form-node-functions-page-news div[data-drupal-selector="edit-field-danh-muc-bai-viet-value"] ul li a, #views-exposed-form-node-functions-page-news div[data-drupal-selector="edit-field-danh-muc-bai-viet-value"] ul li a:visited {
  text-transform: uppercase;
  font-size: 2.0rem;
  padding: 10px 0;
  display: block;
  font-weight: bold;
  color: var(--primary_color);
  text-decoration: none;
}

#views-exposed-form-node-functions-page-news div[data-drupal-selector="edit-field-danh-muc-bai-viet-value"] ul li a.bef-link--selected, #views-exposed-form-node-functions-page-news div[data-drupal-selector="edit-field-danh-muc-bai-viet-value"] ul li a:hover {
  color: #000;
}
 
#block-giaidieu-lienhemap {
  background-color: var(--primary_color);
  height: auto;
}

#block-giaidieu-lienhemap h2 {
  color: #fff;
  margin-top: 0;
}

#block-giaidieu-lienhemap div.column-two {
  grid-row-gap: 0;
  align-items: center;
}

#block-giaidieu-lienhemap div.column-two ul {
  padding-left: 10px;
  color: #fff;
  list-style: none;
  height: 320px;
  overflow-y: scroll;
}

#block-giaidieu-lienhemap div.column-two ul li {
  margin-bottom: 15px;
  padding-left: 15px;
}

#block-giaidieu-lienhemap div.column-two p {
  line-height: 0;
}

#webform-submission-contact-node-417-add-form {
  padding: 50px;
  padding-left: 100px;
  padding-right: 100px;
}

#webform-submission-contact-node-417-add-form button.btn {
  margin-top: 15px;
}

#custom-product-popup-wrapper {
  display: grid;
  grid-template-columns: 346px 1fr;
  grid-gap: var(--grid_gap);
  padding-bottom: 5px;
}

#custom-product-popup-wrapper img {
  max-width: 100%;
}

#custom-product-popup-wrapper div.product-title {
  font-size: 2.0rem;
  color: var(--primary_color);
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

#custom-product-popup-wrapper div.product-price {
  font-size: 1.6rem;  
}

#custom-product-popup-wrapper div.product-price, #custom-product-popup-wrapper div.product-label {
  color: var(--primary_color);
  font-weight: bold;  
}

#custom-product-popup-wrapper div.product-quantity-input {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

#custom-product-popup-wrapper div.product-quantity-input input[name="product_quantity"] {
  margin-left: 10px;
  width: 150px;
}

#custom-product-popup-wrapper div.product-body {
  font-size: 1.4rem;
  border-top: 1px solid #ddd;
  padding-top: 15px;
  margin-top: 15px;
  color: #000;
}

#custom-product-popup-wrapper div.product-image-wrapper p {
  margin-top: 15px;
  text-align: center;
}

.block-giaidieu-hotline div.field--name-body {
  display: flex;
  align-items: center;
}

#custom-shopping-cart {
  margin-right: 15px;
  position: relative;
  cursor: pointer;
}

#custom-hotline {
  height: 30px;
}

#custom-hotline img {
  max-height: 100%;
}

#custom-shopping-cart span {
  display: none;
}

#custom-shopping-cart span.has-number {
  position: absolute;
  font-size: 1.1rem;
  background-color: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  right: -10px;
  top: -10px;
  line-height: 1;
  text-align: center;
}

body.commerce-cart-page, body.commerce-checkout-form {
  background: url('/sites/all/themes/giaidieu/images/cart-bg.jpg') repeat top left;
}

#block-giaidieu-thongtingiohang h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary_color);
  text-transform: capitalize;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

body.commerce-cart-page div.region-content, body.commerce-cart-page div.region-right, body.commerce-checkout-form div.region-content, body.commerce-checkout-form div.region-right {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.16);
  background-color: #fff;
}

body.commerce-cart-page div.region-content-footer {
  padding: 30px;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.16);
  background-color: #fff;  
}

body.commerce-cart-page div.region-content-footer h2 {
  margin-top: 0;
}

body.commerce-cart-page h1.shopping-cart-title {
  font-size: 2.6rem;
  font-weight: bold;
  color: var(--primary_color);
  margin-top: 0;
  text-transform: uppercase;
  margin-bottom: 30px;
}

body.commerce-cart-page div.main-column-2.container {
  align-items: start;
}

div.custom-cart-form div.views-form form div.views-row {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

div.custom-cart-form div.views-field-nothing .field-content {
  display: grid;
  grid-template-columns: 165px 1fr 50px;
  grid-gap: var(--grid_gap);  
  align-items: center;
}

div.custom-cart-form div.views-field-nothing div.image-wrapper {
  width: 165px;
}

div.item-op button.delete-order-item {
  position: relative;
  text-indent: -9999999999px;
  padding: 0;
  background-color: transparent;
  border: none;
}

div.item-op button.delete-order-item:before {
  content: "";
  width: 32px;
  height: 32px;
  background: url('/sites/all/themes/giaidieu/images/delete.png') no-repeat center center;
  display: inline-block;
}

div.custom-cart-form div.product-title {
  color: #000;
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 10px;
}

div.custom-cart-form div.product-unit-price, div.custom-cart-form div.product-total-price {
  color: var(--primary_color);
  font-size: 1.8rem;
  font-weight: 600;
}

div.custom-cart-form div.product-unit-price {
  margin-bottom: 10px;  
}

div.custom-cart-form div.quantity-update {
  display: flex;
  grid-column-gap: 15px;
  align-items: center;
}

div.custom-cart-form div.quantity-update label.control-label {
  font-size: 1.4rem;
  font-weight: normal;
}

div.custom-cart-form div.quantity-update .form-group {
  margin-bottom: 0;
}

#block-giaidieu-thongtingiohang div.cart-promotion-input {
  display: flex;
  align-items: center;
  grid-column-gap: 10px;
}

#block-giaidieu-thongtingiohang div.cart-promotion-input button.btn {
  padding: 5px;
  font-size: 1.4rem;
  width: 150px;
  text-transform: capitalize;
}

#custom-cart-summary-wrapper div.cart-promotion p {
  font-size: 1.4rem;
  color: #000;
  line-height: 20px;
  text-transform: capitalize;
}

#custom-cart-summary-wrapper div.cart-summary p.custom-label, #custom-cart-summary-wrapper div.cart-summary p.value, #custom-checkout-summary-wrapper div.cart-summary p.custom-label, #custom-checkout-summary-wrapper div.cart-summary p.value {
  font-size: 1.6rem;
  color: #000;
  margin-bottom: 0;
}

#custom-cart-summary-wrapper div.cart-summary, #custom-checkout-summary-wrapper div.cart-summary {
  margin-top: 30px;
}

#custom-cart-summary-wrapper div.field-inline, #custom-checkout-summary-wrapper div.field-inline {
  display: flex;
  align-items: center;
  grid-column-gap: 30px;
  justify-content: space-between;
  margin-bottom: 15px;
}

#custom-cart-summary-wrapper #custom-cart-total-all, #custom-checkout-summary-wrapper #custom-cart-total-all {
  font-weight: 700;
}

#custom-cart-summary-wrapper button.btn.btn--primary {
  width: 100%;
  text-transform: uppercase;
}

#custom-cart-summary-wrapper div.cart-summary #custom-cart-shipping p.value.free, #custom-checkout-summary-wrapper div.cart-summary #custom-cart-shipping p.value.free {
  color: green;
}

div.cart-form div.form-actions.form-wrapper {
  display: none;
}

#custom-checkout-summary-wrapper div.order-item {
  display: flex;
  align-items: center;
  grid-column-gap: 30px;
  justify-content: space-between;
  margin-bottom: 15px;
  line-height: 1.4;
}

#custom-checkout-summary-wrapper .cart-products {
  border-bottom: 1px dashed #ddd;
  padding-bottom: 15px;
}

body.commerce-checkout-form h2 {
  font-weight: 700;
  font-size: 2.0rem;
  line-height: 30px;
  margin-top: 0;
}

body.commerce-checkout-form p.shipping-title {
  font-size: 1.6rem;
  font-weight: 700;
}

body.commerce-checkout-form div.layout-checkout-form label:not(.option), #edit-custom-payment-info-pane-payment-method--wrapper legend {
  display: none;  
}

body.commerce-checkout-form div.layout-checkout-form label[for="edit-custom-shipping-info-pane-restaurant-nid"], body.commerce-checkout-form div.layout-checkout-form label[for="edit-custom-shipping-info-pane-restaurant-found"] {
  display: block;
}

body.commerce-checkout-form div.layout-checkout-form #restaurant-found-wrapper {
  margin-bottom: 20px;
}

body.commerce-checkout-form div.layout-checkout-form h2.pane-title {
  margin-top: 20px;
}

#edit-custom-payment-info-pane-payment-method {
  display: flex;
  align-items: center;
}

#edit-custom-payment-info-pane-payment-method div.form-item-custom-payment-info-pane-payment-method {
  margin-right: 15px;
}

#edit-custom-payment-info-pane-payment-method img {
  margin-right: 5px;
}

body.commerce-checkout-form button.btn--submit {
  width: 100%;
  text-transform: uppercase;
}

body.commerce-checkout-form a.text-link, body.commerce-checkout-form a.text-link:visited {
  color: var(--primary_color);
}

body.commerce-checkout-form label[for="edit-custom-payment-info-pane-agreement"] {
  font-size: 1.3rem;
}

body.commerce-checkout-form #payment_bank_transfer_desc {
  margin-bottom: 30px;
  background: rgba(249, 243, 243, 1);
  padding: 15px;
  border-radius: 15px;
}

body.checkout-completed, body.custom-order-history, body.custom-order-history-list {
  height: 100vh;
}

body.checkout-completed #main, body.custom-order-history #main {
  position: relative;
  height: calc(100vh - 400px);
}

body.checkout-completed div.region-content, body.custom-order-history div.region-content #custom-order-history-form {
  width: 620px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  margin-top: 0;
  text-align: center;
  max-width: calc(100% - 30px);
}

body.checkout-completed div.region-content div.checkout-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.checkout-completed div.region-content div.checkout-complete img {
  width: 62px;
  height: 62px;
}

body.checkout-completed div.region-content div.checkout-complete h1 {
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 48px;
  color: #000;
  margin-bottom: 20px;
}

body.checkout-completed div.region-content .checkout-pane.form-group, body.checkout-completed div.region-content div.checkout-complete p:last-child {
  margin-bottom: 0;
}

body.checkout-completed div.region-content div.checkout-complete div.buttons {
  margin-top: 30px;
}

body.checkout-completed div.region-content div.checkout-complete div.buttons a[rel="home"] {
  margin-right: 15px;
}

body.checkout-completed div.region-content p a, body.checkout-completed div.region-content p a:visited {
  color: var(--primary_color);
}

div.node-full.node-article div.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 20px;
}

div.node-full.node-article div.node-header h2.node-title {
  margin-top: 0;
  margin-bottom: 0;
}

div.node-full.node-article div.node-header div.node-created {
  background-color: var(--primary_color);
  color: #fff;
  font-size: 1.2rem;
  padding-left: 10px;
  padding-right: 10px;
}

div.node-full.node-article div.content img {
  max-width: 100%;
  height: auto;
}

div.node-full.node-article div.content {
  font-size: 1.4rem;
}

#block-giaidieu-scrollmangxahoi {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 50px;
}

#block-giaidieu-scrollmangxahoi div.custom-social-list {
  background-color: rgba(255, 231, 146, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-row-gap: 10px;
  padding: 10px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: 1px 2px 3px #ddd;
}

#block-giaidieu-scrollmangxahoi div.custom-social-list a:hover {
  opacity: 0.7;
}

#block-giaidieu-lienhemap ul li.map-show {
  cursor: pointer;
}

#bonchon-map {
  height: 380px;
}

#restaurant-list li.map-show.active, #restaurant-list li.map-show:hover {
  color: yellow;
}

#restaurant-list li.map-show.active:before {
  font-family: "Font Awesome 5 Free";
  content: "\f0a9";
  display: inline-block;
  vertical-align: middle;
  font-weight: 700;
  margin-left: -20px;
  margin-right: 5px;
}

a.btn.user-location-get {
  width: 130px;
  font-size: 1.3rem;
  padding: 2px 5px 2px 5px;
  line-height: 1;
  display: flex;
  height: auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

#customer-geolocation-wrapper a.btn.user-location-get {
  margin-bottom: 0;
  margin-top: 20px;
}

a.btn.user-location-get i.fa {
  margin-right: 5px;
}

div.group-field-column-two {
  display: grid;
  grid-template-columns: 1fr 130px;
  grid-gap: 10px;
}

#customer-geolocation-wrapper div.submit-wrapper, #customer-geolocation-wrapper #restaurant-found {
  display: block;
  margin-top: 15px;
  text-align: center;
}

#customer-geolocation-wrapper input.address-autocompleted {
  font-size: 1.2rem;
  line-height: 1.4;
  padding-top: 7px;
}

.ui-dialog #custom-dialog-html.ui-dialog-content {
  overflow: visible;
}

#customer-geolocation-wrapper #restaurant-found {
}

#customer-geolocation-wrapper div.custom-restaurant-select, div.custom-restaurant-checkout-select {
  background: rgba(249, 243, 243, 1);
  padding: 15px;
  border-radius: 15px;
  cursor: pointer;
  opacity: 0.9;
  margin-bottom: 5px;
  border: 1px solid rgba(249, 243, 243, 1);
}

#customer-geolocation-wrapper div.custom-restaurant-select:hover, div.custom-restaurant-checkout-select:hover, div.custom-restaurant-checkout-select.selected {
  opacity: 1;
  border: 1px solid #333;
}

#customer-geolocation-wrapper #restaurant-found p, div.custom-restaurant-checkout-select p {
  font-weight: bold;
  font-size: 1.6rem;
}

#customer-geolocation-wrapper #restaurant-found h3, div.custom-restaurant-checkout-select h3 {
  font-size: 2.0rem;
  margin-top: 0;
  text-transform: none;
}

body.commerce-checkout-form div.restaurant-selected {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ddd;
  font-size: 1.6rem;
}

#restaurant-found-result {
  margin-top: 15px;
}

div.ui-dialog .ui-dialog-title {
  text-transform: uppercase;
  margin-top: 10px;
}

input[type="checkbox"][data-drupal-selector="edit-custom-payment-info-pane-agreement"], input[type="checkbox"][data-drupal-selector="edit-custom-payment-info-pane-vat-invoice"] {
  margin-top: 2px;
}

#customer-geolocation-wrapper label[for="customer-address"] {
  text-transform: uppercase;
  color: #555;
}

#shipping-info {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
}

.bold {
  font-weight: bold;
}

#shipping-info i.fa, #shipping-info span.bold {
  margin-right: 5px;
}

body.custom-order-history div.region-content #custom-order-history-form h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

#custom-order-history-form div.custom-form-wrapper {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 15px;
  align-items: center;
}

#custom-order-history-form div.custom-form-wrapper button {
  text-transform: uppercase;
  width: auto;
  margin-top: 15px;
}

#custom-order-history-form div.custom-form-wrapper label {
  color: #555;
}

#custom-order-history-form div.custom-form-wrapper input[name="order_tracker"] {
  margin-top: 15px;
  width: 300px;
  display: block;
  text-align: center;
  text-transform: uppercase;
}

div.messages__wrapper {
  width: 768px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

body.custom-order-history-list div.region-content #orders-list-wrapper h2.page-title {
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: center;
}

#orders-list-wrapper div.table {
  text-align: left;
  margin-top: 15px;
}

body.custom-order-history-list div.region-content {
  width: 700px;
  display: block;
  clear: both;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 500px);
}

#orders-list-wrapper div.table-row {
  display: grid;
  grid-template-columns: 50px auto 70px 70px 70px;
  grid-gap: var(--grid_gap);
  align-items: center;  
}

#orders-list-wrapper div.table-header div.table-row {
  font-weight: bold;
  background-color: #ddd;
}

#orders-list-wrapper div.table-body div.table-row {
  border-top: 1px solid var(--primary_color);
}

#orders-list-wrapper div.table-col {
  padding: 10px;
}

div.region-content div.container img {
  max-width: 100%;
}

#custom-product-popup-wrapper div.product-topping-input {
  display: flex;
  margin-top: 10px;
  align-items: flex-start;
}

#custom-product-popup-wrapper div.product-topping-input div.product-topping select {
  margin-left: 10px;
  width: 150px;  
}

#custom-product-popup-wrapper div.product-label {
  width: 100px;
}

div.topping-item {
  padding: 5px 20px 5px 10px;
  font-size: 1.2rem;
  border: 1px solid var(--primary_color);
  border-radius: 10px;
  display: flex;
  color: var(--primary_color);
  position: relative;
  line-height: 1;
  align-items: center;
}

div.topping-item .topping-item-close {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  display: block;
}

div.product-topping-select {
  margin-top: 10px;
  display: flex;
  grid-gap: 10px;
  margin-left: 20px;
  flex-wrap: wrap;
}

div.item-wrapper div.product-topping {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: -5px;
}

#news-other div.view-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: var(--grid_gap);
}

#news-other h2 {
  margin-top: 0;
}

#news-other {
  padding-top: 30px;
  border-top: 1px solid #ddd;
  margin-bottom: 50px;
}

#news-other div.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

div.node-full h2 {
  line-height: 1.4;
}

#custom-search-nearest-restaurant-select {
  display: none;
}

#views-exposed-form-commerce-products-block-thuc-don div[data-drupal-selector="edit-field-loai-san-pham-target-id"] > ul > li:first-child {
  display: none;
}

a#shipping-info-remove, a#shipping-info-remove:visited {
  margin-left: 5px;
  color: #fff;
}

a#shipping-info-remove i.fa {
  margin-right: 0;
  font-size: 1.2rem;
}

#block-giaidieu-advancedlanguageselectorblock {
  position: absolute;
  right: 160px;
}

#block-giaidieu-advancedlanguageselectorblock ul {
  padding-left: 0;
  margin-bottom: 0;
}

#block-giaidieu-advancedlanguageselectorblock ul li {
  display: inline-block;
}

#block-giaidieu-advancedlanguageselectorblock ul li > span {
  display: none;
}

#block-giaidieu-advancedlanguageselectorblock ul li > a {
  display: inline-block;
}

#block-giaidieu-advancedlanguageselectorblock ul li > a img {
  border: 1px solid #fff;
}

div.captcha__description.description {
  display: none;
}

.highlight {
  color: var(--primary_color);
  font-weight: bold;
}

div.select-wrapper select {
  font-size: 1.3rem;
  line-height: 1.4;
}

#orders-list-wrapper div.delivery, #orders-list-wrapper div.shipping {
  margin-top: 15px;
  font-size: 1.3rem;
}

#orders-list-wrapper p.product-name {
  font-weight: bold;
}

#orders-list-wrapper p.delivery-label {
  text-decoration: underline;
}

div.custom-position {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  grid-column-gap: 10px;
}

div.custom-position a.btn--no-text {
  margin: 0;
  margin-top: -2px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  padding: 0;
  border-radius: 50%;
  box-shadow: 1px 2px 3px #ccc;
}

div.custom-position a.btn--no-text i.fa {
  margin-right: 0;
}

label[for="edit-custom-payment-info-pane-vat-invoice"] {
  font-weight: bold;
}
