.login-header {
    padding: 10px 3rem;
}

.nav-item-custom:active {
    background-color: #2e3192;
}

.page-item.active .page-link {
    border-radius: unset !important;
}

.card-text-news {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3; /* number of lines to show */
	-webkit-box-orient: vertical;
}

#card-text-news-first {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 7; /* number of lines to show */
	-webkit-box-orient: vertical;
  min-height: 70px;
}

#text_resume{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* number of lines to show */
  -webkit-box-orient: vertical;
}

.catalog-subject{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* number of lines to show */
  -webkit-box-orient: vertical;
}

.right-menu {
	top: unset !important;
    z-index: 2 !important;
}

#header {
    z-index: 2 !important;
}

.bk-bookshelf li {
    z-index: 1 !important;
}

.carousel-indicators {
    z-index: 1 !important;
}

.product-group-mobile{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1; /* number of lines to show */
	-webkit-box-orient: vertical;
}

#recaptcha > div {
  margin: 0 auto;
  margin-bottom: .5em;
}

.title-account{
	text-align: left !important;
}

.list-product-scroll{
	height: 500px;
	overflow: auto;
}

.brand-img{
	cursor: pointer;
}

.product-line-climp {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1; /* number of lines to show */
	-webkit-box-orient: vertical;
}

.text-register-only {
    font-size: large !important;
    font-weight: bold !important;
    color: #c6474d !important;
}

.fotorama__stage__frame > img {
    margin: auto !important;
}

.input-group-prepend {
    z-index: 1;
}

.btn-group-flex a{
	display: flex;
    align-items: center;
    justify-content: center;
}

.btn-9.active {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    background-color: #67bfea !important;
    color: #fff!important;
}

.box-select-1 {
    width: fit-content;
    position: initial;
    top: 50%;
}

.btn-9:active {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    background-color: #67bfea;
    color: #fff!important;
}

.card-img-overlay {
     bottom: unset !important; 
}


.category-img:hover {
    background-color: #fff;
    /* box-shadow: 1px 1px 2px #67bfea, 0 0 25px #67bfea, 0 0 5px #67bfea; */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    transform: scale(1.2);
}

.category-img {
    padding: 0;
    margin: 0;
}

/*==================================================
    Section - Cookie-content
==================================================*/ 

.cookie-content{
  position: fixed;
  bottom: -130px;
  left:0;
  right: 0;
  padding: 30px 0;

  background-color:#48b2e4;
  box-shadow: 5px 0 36px rgba(0,0,0,0.2);
  color:var(--color-brown);
  font-size: 14px;
  z-index: 1020; 
    -webkit-transition: all 0.6s ease-in-out;
       -moz-transition: all 0.6s ease-in-out;
         -o-transition: all 0.6s ease-in-out;
        -ms-transition: all 0.6s ease-in-out;
            transition: all 0.6s ease-in-out;
}

.cookie-content .container{
  position: relative;
  padding-right: 260px;
}
.cookie-content a{
  color:var(--color-brown);
  font-weight: normal;
  text-decoration: underline;
  white-space: nowrap;
}

.cookie-content .btn.btn-accept{ 
  color: #fff;
  font-size: 14px;
  height: 42px;
  line-height: 42px;
  width: 120px;
  margin-left: 20px;
  border-radius: 5px;
  padding: 0;
  background-color: #2e3192;
  position: absolute;
  top: 0;
  right: 50px;
}
.pc .cookie-content .btn:hover{ background-color: var(--color-primary); color: #fff }

.cookie-content .btn.btn-close{
  width: 23px;
  height: 23px;
  line-height: 20px;
  padding: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  background-color: #fff;
  border-color: #fff;
  color: #000;

  position: absolute;
  top: -40px;
  right: 50px;
  box-shadow: 0 3px 10px rgba(0,0,0,.15)
}
.pc .cookie-content .btn.btn-close:hover{
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}
.cookie-content .btn.btn-close:before{
  content: 'X';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 14px;
  line-height: 23px;
}

.cookie-content.cookie-show{ bottom: 0 }
.cookie-content.cookie-hide{ opacity: 0; pointer-events: none; z-index: -1}

@media (max-width: 991.98px) {
  .cookie-content{ padding-bottom: 15px }
  .cookie-content .container{ padding-right: 50px }
  .cookie-content .button{
    display: block;
    padding-top: 0;
    text-align: right;
  }
  .cookie-content .btn.btn-accept{
    position: relative;
    right: auto;
    display: block;
    margin:10px 0 0;
    height: 30px;
    width: 90px;
    padding: 0;
    line-height: 30px;
     font-size: 12px;
     float: right;
  }
}

@media (max-width: 767px) {
  .cookie-content{
    text-align: left;
    padding: 20px 0;
    bottom: -80%;

    -webkit-transition: all 1s ease-in-out;
       -moz-transition: all 1s ease-in-out;
         -o-transition: all 1s ease-in-out;
        -ms-transition: all 1s ease-in-out;
            transition: all 1s ease-in-out;
  }

  .cookie-content .container{ padding-right: 20px }
  .cookie-content .btn.btn-close{ right: 20px; top: -30px }
}

@media (max-width: 1920px) {
  .right-menu {
      bottom: 12% !important;
  }

  .search-product {
    margin-top: -55px !important;
    margin-bottom: 55px !important;
    padding-right: 3px;
  }

  .bk-bookshelf img {
      min-height: 390px !important;
      max-height: 390px !important;
    }

  select.form-control:not([size]):not([multiple]) {
    height: calc(2rem + 10px);
  }

  #search_category:before {
    content: '\25BC'; 
    position: absolute; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    padding: 0 1em; 
    background: #34495E; 
    pointer-events: none; 
  }

  .show_pc{
    display: flex;
  }
}

@media(max-width: 1600px){
  .search-product {
    margin-top: -50px !important;
    margin-bottom: 50px !important;
    padding-right: 13px;
}
}

@media(max-width: 1366px){
  .search-product {
    margin-top: -45px !important;
    margin-bottom: 45px !important;
    padding-right: 18px;
  }
}

@media(max-width: 1024px){
  .ct-select-group .ct-select {
    font-size: 12px;
    padding: 8px 8px !important;
  }

  .search-product {
    margin-top: -40px !important;
    margin-bottom: 40px !important;
    padding-right: 18px;
  }

  .bk-bookshelf img {
      min-height: 245px !important;
      max-height: 245px !important;
    }
}

@media (max-width: 960px){

  .show_pc{
    display: none;
  }

  .career-text-sec-3 {
    margin-top: 20px; 
  }

  #card-news {
    padding-top: 25px;
  }

  .search-product {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-right: 3px;
  }

  .news-section .search-box-bg, h4 {
    font-size: 1.2rem;
  }

  .contact-social h4{
    margin-top: -10px;
  }

  .contact-social img{
    margin-top: -20px;
  }
}

@media (max-width: 767px){
  .search-product {
    margin-top: unset !important;
    margin-bottom: unset !important;
  }

  .bk-bookshelf img {
      min-height: 185px !important;
      max-height: 185px !important;
    }
}

@media (max-width: 1600px) {
  .right-menu {
      bottom: 14% !important;
  }
}

@media only screen and (min-width: 993px) {
  .cookie-content .container{ width: 85% !important; }
}

.fotorama__wrap--css3 .fotorama__html, .fotorama__wrap--css3 .fotorama__stage .fotorama__img {
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
}

.contact-social:hover{
  text-decoration: none !important;
}

.card > a > .text-center{
    overflow: hidden;
    height: 20rem;
    vertical-align: middle;
    
}

.fotorama__img{
  left: 0 !important;
}


/*  ----------------- ---------------------- --------------------*/
/*  ----------------- GALLERY PRODUCT DETAIL --------------------*/
/*  ----------------- ---------------------- --------------------*/
#lightSlider {
  list-style: none outside none;
  padding-left: 0;
  margin-bottom:0;
}

.lSSlideWrapper.usingCss{
  text-align: center;
  min-height: 400px;
  vertical-align: middle;
}

.lSSlideOuter .lSPager.lSGallery li {
    opacity: 0.5;
}

.lSSlideOuter .lSPager.lSGallery li.active {
    opacity: 1;
}

.lSSlideOuter .lSPager.lSGallery li.active, .lSSlideOuter .lSPager.lSGallery li{
  border-radius: 0;
  margin-right: 0px !important;
}

.lSSlideOuter .lSPager.lSGallery li.active:hover, .lSSlideOuter .lSPager.lSGallery li:hover {
  border-radius: 0;
}

.lSSlideOuter .lSPager.lSGallery img {
    display: block;
    height: 64px;
    max-width: 100%;
}
.lSSlideOuter .lSPager.lSGallery {
  margin: 20px;
}

.lightSlider.lsGrab > * {
  max-height: 400px;
  min-height: 400px;
}

#lightSlider img {
  margin-top: 10%;
  max-height: 320px;
}

.lSSlideOuter .lSPager.lSGallery img {
  height: unset;
  border: 1px solid rgba(64,64,64, 0.4);
}
/*  ----------------- ---------------------- --------------------*/
/*  ----------------- GALLERY PRODUCT DETAIL --------------------*/
/*  ----------------- ---------------------- --------------------*/

.btn-group-flex > .btn-3 {
    /*max-width: 180px;*/
    padding: 20px;
    max-width: fit-content;
    margin-bottom: 10px;
}

.card-image-top {
    width: auto;
    max-width: 80%;
    max-height: 80%;
}

.card-image-search {
  max-height: 60%;
  margin-top: 20%;
}

.brand-img {
    margin: 10px 0px 15px 0px;
}




/* ---------------- SELECT SEARCH PRODUCT ------------------ */

.ct-find-service {
  background: #00719b; 
}
.ct-find-service h2 {
  color: #fff;
  font-size: 38px;
}

.ct-select-group .ct-select {
    width: 98%;
    position: absolute;
    z-index: 1;
    border: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding: 5px 15px;
}

.ct-select-group .ct-select option {
  background: #3642a1;
  color: #fff;
}

.ct-select-group .ct-select option:first-child{
  display: none;
}

.ct-select-group .ct-select option:hover {
  box-shadow: 0 0 10px 100px #fff inset;
  color: #3642a1;
}

.ct-select-group:before {
    content: '';
    position: absolute;
    top: 0;
    left: 5px;
    height: 35px;
    width: calc(100% - 35px);
    background: #fff;
    z-index: 0;
}
.ct-select-group:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0px;
  width: 30px;
  height: 35px;
  background-color: #000000;
  background-image: url(../image/select.png);
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 1023px) {
  .banner-home {
    width: 100%;
  }

  .home-carousel{
    height: unset !important;
  }

  .jumbotron-1 > .text-center > img {
    height: unset; 
    width: 170% !important;
  }

  .product-search-mobile{
    margin-top: -16px;
  }

  .sub-brand .btn-9{
    min-width: 200px;
    width: 100%;
  }

  .sub-brand .span-category{
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-grid;
    -webkit-line-clamp: 1; /* number of lines to show */
    -webkit-box-orient: vertical;
    max-width: 90%;
  }
}

.news-img-sec-3 > .card-img-top {
    left: 0;
    height: auto;
    width: 100%;
    cursor: pointer;
}

/*.header-text span {
     background: unset !important; 
}

.header-text:before {
    width: 37%;
}

.header-text:after {
    width: 37%;
}*/

.news-img-sec-3 {
    background-color: unset;
}

@media (min-width: 576px){}
  .card-group>.card:first-child {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    background-position: right;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 1023px){
  .btn-group-flex {
      font-size: 10pt;
      display: inline-flex;
  }
}

.sub-cate{
  /*overflow-x: auto;*/
  white-space: nowrap;
  padding-bottom: 10px;
}

.sub-cate .btn-group{
  flex-wrap: wrap;
}

.sub-brand > .collapse > .row > .col {
    padding-right: 0px !important;
}