.modal {
  text-align: center;
  padding: 0 !important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

#quotation-link-scroll {
  position: fixed;
  /*    bottom: 10px;
  left: 10px;*/
  bottom: 50px;
  right: 50px;
  width: 40px;
  height: 40px;
  z-index: 99999
}

#quotation-link-scroll .icon-link {
  background: url('https://static.fado.vn/f/desktop/v2/images/scroll/ic-quotation-scroll.png') no-repeat 50%;
  background-size: contain;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .3);
  box-shadow: 0 0 8px rgba(0, 0, 0, .3);
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 50%
}

#quotation-link-scroll .icon-link:hover {
  opacity: 2.8
}

#quotation-link-scroll .note-field {
  display: none;
  background-image: url(https://static.fado.vn/f/desktop/v2/images/_sprite-image.png?v=026ec657f8);
  background-repeat: no-repeat;
  background-position: 0px -72px;
  width: 153px;
  height: 50px;
  position: absolute;
  text-align: center;
  /*left: 90%;*/
  right: 90%;
  bottom: 80%;
  font-size: 12px;
  line-height: 19px;
  padding: 5px 10px 5px 15px;
}

#quotation-link-scroll .exit-btn {
  width: 16px;
  height: 16px;
  background: #e12519;
  border-radius: 50%;
  position: absolute;
  top: -3px;
  right: -3px;
  border: none
}

#quotation-link-scroll .exit-btn:before {
  content: "\f00d";
  font-family: FontAwesome;
  color: #fff;
  font-size: 10px;
  width: 10px;
  line-height: 10px;
  height: 10px;
  left: 50%;
  top: 50%;
  margin-left: -5px;
  margin-top: -5px;
  position: absolute
}

#quotation-link-scroll .exit-btn:hover {
  background: #ca2116
}

#quotation-link-scroll.is-active .note-field,
#quotation-link-scroll.is-active .note-field .exit-btn,
#quotation-link-scroll:hover .note-field {
  display: block
}

#quotation-link-scroll:hover .exit-btn {
  display: none
}

@media (min-width: 1360px) {
  #quotation-link-scroll {
    width: 50px;
    height: 50px
  }
}

/*@media (min-width:1400px) {*/

/*#quotation-link-scroll {*/

/*bottom: 20px;*/

/*left: 20px;*/

/*width: 64px;*/

/*height: 64px*/

/*}*/

/*}*/

.float__tip {
  background: #333;
  padding: 2px 7px;
  color: #fff;
  font-size: 12px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  position: absolute;
  z-index: 2;
  top: 10px;
  opacity: 0;
  white-space: nowrap;
  line-height: normal;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  transition: all .2s ease
}

a:hover .float__tip {
  opacity: 1
}

.c-icon-cart {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 0;
}

.c-icon-cart .showCart {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.c-icon-cart .icon-cart {
  float: left;
  margin-top: 6px;
  width: 36px;
  height: 36px;
  display: inline-block;
  vertical-align: top;
}

.icon-cart {
  background-image: url(../images/icons/icon-cart.png);
}

.c-icon-cart span.badge {
  position: absolute;
  left: 20px;
  top: 5px;
  z-index: 2;
  background: #32c24d;
  padding: 0;
  line-height: 16px;
  min-width: 18px;
  text-align: center;
  color: #fff;
}

.c-icon-cart .float__tip {
  left: -25%;
}

@media (min-width: 1800px) {
  .c-icon-cart {
    right: 64px;
  }
}

.product-detail-scroll .process-col.fixed {
  width: initial;
  position: absolute;
  top: 12.5%;
}

.product-detail-scroll .process-col.fixed .btn-buy-now {
  position: absolute;
  right: 100px;
}

a.btn-lg.showCart {
  font-size: 50px;
  padding: 0;
  position: relative;
  display: inline-block;
  margin: 0 15px;
}

a.btn-lg.showCart i.fa {
  float: right;
}

a.btn-lg.showCart .badge {
  position: absolute;
  left: 30px;
  top: -5px;
  z-index: 2;
  background: #777;
  padding: 0;
  line-height: 20px;
  min-width: 28px;
  text-align: center;
  color: #fff;
}

.product-detail-scroll .c-icon-cart {
  top: 12.5%;
  right: 0;
}

.product-detail-scroll .product-info-pane .btn.btn-buy-now {
  line-height: 1.5;
  font-size: 15px;
  font-weight: 400;
  padding: 10px 18px;
  position: absolute;
  right: 60px;
  top: 17.5%;
}

.product-detail-scroll .product-info-pane .btn i {
  margin: -5px 7px 0 0;
  top: 12.5%
}

.product-detail-scroll .product-info-pane .info-col.info-col-right {
  position: relative;
}

/*
 |--------------------------------------------------------------------------
 | Home
 |--------------------------------------------------------------------------
 */

.home-slider-block {
  margin-bottom: 0;
}

.home-slider-block .swiper-slide {
  min-height: 300px;
  max-height: 300px;
}

.c-main-banner .c-main-banner__top {
  max-height: 300px;
  margin-bottom: 2rem;
}

.c-main-banner__bottom img {
  max-height: 300px;
}

.home-brand-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

.home-brand-section .home-brand-item {
  flex: 1 1 16.66%;
  max-width: 16.66%;
  border: 1px solid #e7e7e7;
  padding: 1rem 0;
}

.home-brand-section .home-brand-item:hover {
  opacity: .8;
  cursor: pointer;
}

.home-brand-section .home-brand-item:hover .home-brand-item__title {
  color: black;
}

.home-brand-section .home-brand-item .home-brand-item__icon {
  height: 128px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.home-brand-section .home-brand-item .home-brand-item__title {
  margin-top: 0.5rem;
  text-align: center;
  font-weight: 600;
  color: #9a9a9a;
}

.flash-sale-item-section {
  overflow: hidden;
}

.flash-sale-item-section .control {
  text-align: center;
  margin: 2rem;
}

.flash-sale-item-section .control .prev {
  z-index: 2;
  width: 40px;
  height: 40px;
  background: #32c24d;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 24px;
  display: inline-block;
  vertical-align: top;
  margin: 0 1px;
  -moz-border-radius: 0 18px;
  -webkit-border-radius: 0 18px 0 18px;
  border-radius: 0 18px;
}

.flash-sale-item-section .control .next {
  z-index: 2;
  width: 40px;
  height: 40px;
  background: #32c24d;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 24px;
  display: inline-block;
  vertical-align: top;
  margin: 0 1px;
  -moz-border-radius: 18px 0;
  -webkit-border-radius: 18px 0 18px 0;
  border-radius: 18px 0;
}

.flash-sale-item-section .c-product-item__countdown {
  background-color: orangered;
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.c-main-banner__top {
  min-height: 300px;
  max-height: 300px;
  overflow: hidden
}

@media (min-width: 992px) {
  .c-main-banner {
    margin-bottom: 2rem;
  }
}

@media (max-width: 1400px) {
  .home-slider-block .swiper-slide {
    min-height: 260px;
    max-height: 260px;
  }

  .c-main-banner .c-main-banner__top {
    min-height: 260px;
    max-height: 260px;
    overflow: hidden;
  }

  .c-main-banner__bottom img {
    max-height: 260px;
  }
}

@media (min-width: 1600px) and (max-width: 1920px) {
  .home-slider-block .swiper-slide {
    min-height: 360px;
    max-height: 360px;
  }

  .c-main-banner .c-main-banner__top {
    min-height: 360px;
    max-height: 360px;
    overflow: hidden;
  }

  .c-main-banner__bottom img {
    max-height: 360px;
  }
}

.c-home-col {
  width: 100%;
}

.c-box__title__name a {
  color: #333;
}

