/* font Louis George */
@font-face {
  font-family: 'louisgeorge';
  src:  url('../fonts/louis_george_caf/LouisGeorgeCafe.ttf') format('truetype');
}

@font-face {
  font-family: 'louisgeorge-bold';
  src:  url('../fonts/louis_george_caf/LouisGeorgeCafeBold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'mogen';
  src:  url('../fonts/mogen/Mogen-Bold.ttf') format('truetype');
}

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
  font-family: louisgeorge, var(--bs-body-font-family) !important;  
  padding: 0!important;
  margin: 0!important;
  background-color: #FFFFFF!important;
}

.mogan {font-family: mogen;}
.text-gold{color: #E4B048!important;}
.text-navi{color: #354D75!important;}
.text-gray{color: #878787;}
.line-color, .text-green-navi{color: #5f8d8b!important;}
.border-greennavi{border-color: #5f8d8b!important;}
.border-bottom-greennavi{border-bottom-color: #5f8d8b!important;}
.bg-navi, .bg-greennavi{background-color: #5f8d8b!important;}
.navbar-nav>li>.dropdown-menu { min-width: 250px; }
/*.bg-welcome{background:url('../../assets/image/bg_welcome.png') top left;max-height: 283px;}
.bg-detailproduct-help{background:  url('../../assets/image/bg_product-detail.png') repeat;}
.bg-navi{background-color: #354D75!important;}
*/
.bg-footer{background-color: #f3f3f3;}
.fs-7{font-size: 0.9em;}
.fs-8{font-size: 0.8em;}
.fs-9{font-size: 0.7em;}
.title{font-family: mogen;}
.title-footer{font-family: mogen;font-size: 1.5em;}
span.bg-navi a{color: white;}
a:hover{text-decoration: none;}
.page-item>span.page-link>a{color: grey!important;}
.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #5f8d8b!important;
}



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  /*margin-bottom: 4rem;*/
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
@media (max-width: 576px) { 
  .carousel-item {
    height: 7rem;
  }
  .dropdown-width-auto{
    right: auto;
    left: 0;
  }
  .block-title{border-left: 0px!important;}
}

@media (min-width: 577px) { 
  .carousel-item {
    height: 13rem;
  }
  .dropdown-width-auto{
    right: 0;
    left: auto;
  }
}

@media (min-width: 768px) { 
  .carousel-item {
    height: 26rem;
  }
}

.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  /*height: 32rem;*/
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }

  .product-name{
    min-height:50px;
  }  
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }

  .product-name{
    min-height:40px;
  }
}


/* Carousel Product */
@media (max-width: 767px) {
    #carouselproduct .carousel-inner .carousel-item > div,
    #carouselcategory .carousel-inner .carousel-item > div,
    #carouselnews .carousel-inner .carousel-item > div,
    #carouselbestseller .carousel-inner .carousel-item > div {
        display: none;
    }
    #carouselproduct .carousel-inner .carousel-item > div:first-child,
    #carouselcategory .carousel-inner .carousel-item > div:first-child,
    #carouselnews .carousel-inner .carousel-item > div:first-child,
    #carouselbestseller .carousel-inner .carousel-item > div:first-child {
        display: block;
    }

    .category_title{left:0.5em;top:0.2em;}
    .category_description{left:1.5em;top:3.3em;font-size:0.8em;}
    .text-fs-1{font-size:0.7em;}    
}

#carouselproduct .carousel-item,
#carouselcategory .carousel-item,
#carouselbestseller .carousel-item{ height: auto;}

#carouselproduct .carousel-inner .carousel-item.active,
#carouselproduct .carousel-inner .carousel-item-next,
#carouselproduct .carousel-inner .carousel-item-prev,
#carouselcategory .carousel-inner .carousel-item.active,
#carouselcategory .carousel-inner .carousel-item-next,
#carouselcategory .carousel-inner .carousel-item-prev,
#carouselnews .carousel-inner .carousel-item.active,
#carouselnews .carousel-inner .carousel-item-next,
#carouselnews .carousel-inner .carousel-item-prev,
#carouselbestseller .carousel-inner .carousel-item.active,
#carouselbestseller .carousel-inner .carousel-item-next,
#carouselbestseller .carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {    
    #carouselproduct .carousel-inner .carousel-item-end.active,
    #carouselproduct .carousel-inner .carousel-item-next,
    #carouselcategory .carousel-inner .carousel-item-end.active,
    #carouselcategory .carousel-inner .carousel-item-next,
    #carouselnews .carousel-inner .carousel-item-end.active,
    #carouselnews .carousel-inner .carousel-item-next,
    #carouselbestseller .carousel-inner .carousel-item-end.active,
    #carouselbestseller .carousel-inner .carousel-item-next {
      transform: translateX(25%);
    }
    
    #carouselproduct .carousel-inner .carousel-item-start.active, 
    #carouselproduct .carousel-inner .carousel-item-prev,
    #carouselcategory .carousel-inner .carousel-item-start.active, 
    #carouselcategory .carousel-inner .carousel-item-prev,
    #carouselnews .carousel-inner .carousel-item-start.active, 
    #carouselnews .carousel-inner .carousel-item-prev,
    #carouselbestseller .carousel-inner .carousel-item-start.active, 
    #carouselbestseller .carousel-inner .carousel-item-prev {
      transform: translateX(-25%);
    }

    .category_title{left:2em;top:2em;}
    .category_description{left:7.9em;top:12em;font-size:0.9em;}
    .text-fs-1{font-size:0.8em;}
}

#carouselproduct .carousel-inner .carousel-item-end,
#carouselproduct .carousel-inner .carousel-item-start,
#carouselcategory .carousel-inner .carousel-item-end,
#carouselcategory .carousel-inner .carousel-item-start,
#carouselnews .carousel-inner .carousel-item-end,
#carouselnews .carousel-inner .carousel-item-start,
#carouselbestseller .carousel-inner .carousel-item-end,
#carouselbestseller .carousel-inner .carousel-item-start { 
  transform: translateX(0);
}