body,
html {
  font-family: 'Prompt', sans-serif;
  margin: 0;
  font-size: 16px !important;
  padding-top: 40px !important;
  padding-bottom: 0 !important;
  margin-bottom: 2rem !important;
}

/*--------Socail Share class----------*/
#modelShareArea {
  padding: 15px;
}

div#modalShare {
  background: #0000008c;
}

.social-share {
  border-radius: 6px;
  border: 0;
  color: white;
  padding: 5px;
  font-size: 35px;
  width: 45px;
  height: 45px;
}

.social-share.fb {
  background-color: #3b5998 !important;
}

.social-share.fb-ms {
  background-color: #0084ff !important;
}

.social-share.twitter {
  background-color: #2ba9e1 !important;
}

.social-share.line,
input.form-control.btncopylink {
  background-color: white;
}

.fab.fa-line {
  color: green;
  font-size: 52px;
  margin-top: -9px;
  margin-left: -5px;
}

.social-share.link {
  background-color: #9a2ed2 !important;
}

/*--------Social Share class----------*/


.navbar {
  padding: 0;
}

.bg-gray {
  background-color: #9e9e9e29;
}

.minheigh {
  min-height: 48%;
}

/*css flexslider*/
.anyClass {
  height: 220px;
  overflow-y: scroll;
}

.form-group {
  margin-bottom: 6px;
}

.page-footer {
  display: none !important;
}

hr {
  border-top: 1px solid white;
}

/*  FLEXSLIDER IMG  */
.flexslider {
  margin: 0 0 10px;

  border: 4px solid #5fa5d066 !important
}

.flex-direction-nav .flex-prev {
  left: 10px;
  text-align: left;
}

.flex-direction-nav .flex-next {
  right: 10px;
  text-align: right;
}

.flex-direction-nav a {
  width: 25px;
  height: 53px;
  background-color: #385244;
}

.flex-direction-nav a:before {
  color: #fff;
}

.modal {
  top: 4px !important;
}

.bganno {
  /*  background-image: url(/assets/img/bganno.png); */
  height: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 10px;
}

.textauc {
  text-align: center;
  color: #ffc107;
  background-color: #012060;
  font-weight: bold;
  margin: 6px 0 6px;
}

.banner {
  background: #a770ef;
  background: -webkit-linear-gradient(to right, #a770ef, #cf8bf3, #fdb99b);
  background: linear-gradient(to right, #a770ef, #cf8bf3, #fdb99b);
}

.bgfrom {
  background-color: #012060;
  padding: 1rem;
  color: white;
  margin-bottom: 6px;
}

a.text-brand {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

p {
  margin-bottom: 6px;
}

.h-footcard {
  height: 96px;
  background-color: #012060;
  /* background: rgb(1,16,45);
    background: linear-gradient(90deg, rgba(1,16,45,1) 0%, rgba(1,32,96,1) 35%, rgba(3,84,120,1) 100%); */
}

.h-footcard p {
  margin-bottom: 2px;
}

.heightFootcardName {
  height: 62px;
}

.top-left {
  text-align: center;
  width: 42px;
  position: absolute;
  top: 4px;
  left: 4px;
  color: #ffc108;
  background-color: #012060;
  padding: 2px 6px;
  font-size: 14px;
  font-weight: 500;
}

.icon-share {
  position: absolute;
  top: 4px;
  left: 50px;
  font-size: 15px;
  padding: 4px;
  border-radius: 0px !important;
}

.icon-share:hover {
  color: white;
}

.btn.social-share:hover {
  color: white;
}

.btncopylink {
  display: unset;
  width: 55%;
}

.icon-share .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

.icon-share:hover .tooltiptext {
  visibility: visible;
}

.top-right {
  position: absolute;
  top: 4px;
  right: 4px;
  color: #ffc108;
  background-color: #012060;
  padding: 2px 6px;
  font-size: 14px;
  font-weight: 500;
}

.w100px {
  width: 100px;
  /* margin: 10px 10px 0; */
  margin: 10px 0 0 10px;
}

.col-form-label {
  text-align: right;
}

/* *********** start thumb img ***************/
.card-img-top {
  height: 150px;
  min-height: auto;
  width: auto;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px)and (max-width: 1199px) {
  .card-img-top {
    height: 164px;
  }
}

@media (min-width: 992px) and (max-width: 1023px) {
  .card-img-top {
    height: 170px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .card-img-top {
    height: 186px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .card-img-top {
    height: 287px;
  }
}

@media (min-width: 481px) and (max-width: 575px) {
  .card-img-top {
    height: 306px;
  }
}

@media (min-width: 380px) and (max-width: 480px) {
  .card-img-top {
    height: 254px;
  }
}

@media (min-width: 230px) and (max-width: 379px) {
  .card-img-top {
    height: 200px;
  }

}

/******** start nav-tabs ****/

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #012060;
  background-color: #ffc107;
  border-color: #ffc107;
}

.nav-tabs {
  /* border-bottom: 2px solid #ffc107; */
  border-bottom: unset;

}

/*   .nav-tabs .nav-item {
    padding-right: 10px;
} */
.nav-tabs .nav-link {
  color: #012060;
  font-weight: 500;
}

/******** End nav-tabs ****/

/****** start modal dialog */
.mr-0 {
  margin: 0 !important;
}

.borderitem {
  border: 1px solid #eae8e8;
  padding: 2px;
  text-align: left;
  /* height: 30px; */
}

.modal-header {
  background-color: #012060;
  color: #ffc108;
  padding: 8px;
}

.modal-title {
  line-height: 2;
}

.w-100px {
  width: 100px;
}

.table td,
.table th {
  padding: 6px;
}

.modal-body {
  padding: 8px;
}

.mright0 {
  margin-right: 4px;
}

.form-group .col-8 {
  text-align: left;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .mright0 {
    margin-right: -35px;
  }
}

@media only screen and (max-width: 991px) {
  .w-100 {
    max-width: 100% !important;
  }

  .w-div1 {
    width: 40%;
  }

  .w-div2 {
    width: 60%;
  }

  .mright0 {
    margin-right: -10px;
  }
}

@media only screen and (max-width: 375px) {
  .tail-select {
    max-width: 180px !important;
  }
}

/****** start search button */
.btn-primary {
  color: #ffc108;
  background-color: #012060 !important;
  border-color: #021847 !important;
}

.btndisabled {
  /*  opacity: 1 !important;
  color: #ffc108 !important;
  background-color: #012060 !important;
  border-color: #021847 !important; */
  display: none;
}

.pb2 {
  padding-bottom: 6px;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:not(:disabled):not(.disabled).active {
  color: white;
  background-color: #021847 !important;
  border-color: #021847 !important;
}

.col-form-label {
  padding-right: 0;
}

.select2-container,
.custom-select {
  width: 100% !important;
}

.select2-container--default .select2-selection--single,
.custom-select {
  height: 36px;
  text-align: left;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px;
}

.tail-select {
  max-width: 220px;
}

@media only screen and (max-width: 369px) {

  button.btn.btn-primary.p-2.mb-3,
  a#download_listproduct {
    width: 290px;
  }
}

@media only screen and (max-width: 463px) {
  .w100px {
    width: 200px;
  }
}


@media only screen and (max-width: 629px) {
  .f12 {
    font-size: 12px;
  }

}



/* css button stage */
.card {
  background-image: url(/assets/img/bg4.jpg) !important;
}

.card-title {
  font-size: 22px !important;
  color: #012060;
  font-weight: 600;
  margin-bottom: 6px !important;
}

.card-body {
  padding: 8px !important;
}

.card {
  margin: 4px 0 1rem !important;
}

a#btn_stage_1,
a#btn_stage_2,
a#btn_stage_3,
a#btn_stage_4,
a#btn_stage_5,
a#btn_stage_6,
a#btn_stage_7,
a#btn_stage_8,
a#btn_stage_9,
a#btn_stage_0 {
  width: 100%;
  text-align: center;
  margin-bottom: 6px;
  margin-right: 0
}

a.button.hvr-sweep-to-left {
  color: #ffc107;
  font-size: 18px !important;
  padding: 10px;
}

a.button.hvr-sweep-to-left:hover {
  color: black;
  font-weight: 600;
}

@media only screen and (max-width: 767px) {

  body,
  html {
    padding-top: 36px !important;
  }

  .mr-width {
    padding-right: 0 !important;
    width: 100%;
  }

  .w100 {
    width: 100%;
  }

  .mleft {
    margin-left: unset !important;
    width: 100%;
  }

  .pb2 {
    padding-bottom: 0;
  }

  a#download_listproduct,
  button.btn.btn-primary {
    width: 100%;
    margin-bottom: 6px !important;
    text-align: left;
  }
}

.fixedshow i.fa {
  font-size: 20px;
}

.fixedshow .nav-link {
  padding: 8px 4px;
  font-size: 11px;
}

#navbarSupportedContent {
  padding-left: 1rem;
}

/* css แก้ไขรูปภาพใหญ่เกินกรอบสไลรูปภาพ */
#bk-carousel-modal {
  max-height: 65px;
}

.img-small {
  max-height: 50px;
}

ul.flex-direction-nav {
  position: absolute;
  top: 40%;
  right: 1%;
  left: 1%;
}

/* showimg360true  */
.bg-gray {
  position: relative;
  overflow: hidden;
}

.showimg360true,
.showimgInspGootrue {
  display: block;
}

.showimg360,
.showimg360false,
.showimg360undefined,
.showimgInspGoo,
.showimgInspGoofalse,
.showimgInspGooundefined {
  display: none;
}

.icon-360,
.icon-inspGoo {
  position: absolute;
  z-index: 10;
  pointer-events: auto;
}

.icon-360 {
  bottom: 84px;
  left: 10px;
}

.image360 {
  width: 50px;
  height: 50px;
  background-image: url('/assets/img/icon/360out.png');
  background-size: contain;
  background-repeat: no-repeat;
  animation: zoomOut .8s ease-in-out infinite;
  -webkit-animation: zoomOut .8s ease-in-out infinite;
}


.icon-inspGoo {
  bottom: 106px;
  right: 8px;
}

.imageInspGoo {
  width: 45px;
  height: 47px;
  background-image: url('/assets/img/icon/logo_goo_insp.png');
  background-size: contain;
  background-repeat: no-repeat;
  animation: zoomOut .8s ease-in-out infinite;
  -webkit-animation: zoomOut .8s ease-in-out infinite;
}

@media (max-width: 767.98px) {
  .image360 {
    width: 74px;
    height: 74px;
  }
  .imageInspGoo {
    width: 65px;
    height: 67px;
  }

  /* .icon-360,
  .icon-inspGoo {
     bottom: 8px;
    left: 8px;
  }*/
}

@keyframes zoomOut {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    filter: brightness(1.1);
  }
}
