.main-cat .item,
.viewgrid .item{
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #eee;
    -webkit-box-shadow: 0 3px 5px rgba(0,0,0,.1);
    box-shadow: 0 3px 5px rgba(0,0,0,.1);
}
.main-cat .thumb,
.viewgrid .thumb{
    position: relative;
    max-height: 190px;
    overflow: hidden;
    margin: -1px
}
.main-cat .thumb img,
.viewgrid .thumb img{
    width: 100%;
    min-height: 190px
}

.main-cat .thumb span,
.viewgrid .thumb span{
    position: absolute;
    top: 10px;
    right: 10px;
}

.main-cat .thumb:before, .main-cat .thumb:after,
.viewgrid .thumb:before, .viewgrid .thumb:after {
    bottom: 20px;
    content: "";
    left: 20px;
    opacity: 0;
    position: absolute;
    right: 20px;
    top: 20px;
    -webkit-transition: opacity .35s ease 0s,transform .35s ease 0s;
    -o-transition: opacity .35s ease 0s,transform .35s ease 0s;
    transition: opacity .35s ease 0s,transform .35s ease 0s;
    z-index: 1;
}
.main-cat .thumb:before,
.viewgrid .thumb:before{
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
    -webkit-transform: scale(0,1);
    -ms-transform: scale(0,1);
    -o-transform: scale(0,1);
    transform: scale(0,1);
}
.main-cat .thumb:after,
.viewgrid .thumb:after{
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: scale(1,0);
    -ms-transform: scale(1,0);
    -o-transform: scale(1,0);
    transform: scale(1,0);
}
.main-cat .thumb:hover:before, .main-cat .thumb:hover:after,
.viewgrid .thumb:hover:before, .viewgrid .thumb:hover:after {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.main-cat .text{
    position: relative;
    padding: 15px 20px;
}
.main-cat .text h3,
.viewgrid .text h3{
    margin-bottom: 10px
}
.main-cat .text a{
    font-size: 15px;
    text-transform: uppercase;
    color: #000;
    transition: .4s
}
.main-cat .text a:hover,
.viewgrid .text a:hover{
    color: #8cc43f
}
.main-cat .text span{
    font-size: 13px
}
.main-cat .text strong{
    font-size: 16px
}
.viewgrid .text span{
    font-weight: 500;
}
.viewgrid .text span del{
    font-size: 12px
}
.viewgrid .text span.pr{
    color: red;
}
.viewgrid .text a{
    font-size: 15px;
    color: #000;
    transition: .4s
}

.viewgrid .pad-5{
    padding: 5px
}
.viewgrid .text{
    padding: 2px 10px 27px
}
.viewlist h3{
    font-size: 18px;
}

#imageGallery img{
    width: 100%
}
.detail h3.head{
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.hotel-info{
    padding: 20px 30px;
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    -webkit-box-shadow: 0 3px 5px rgba(0,0,0,.1);
    box-shadow: 0 3px 5px rgba(0,0,0,.1);
}
.hotel-info h1{
    color: #222;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}
.hotel-info .price{
    font-size: 30px;
    color: #fe7d15;
    font-weight: 500;
    margin-bottom: 10px
}
.hotel-info .price span{
    font-size: 18px;
    color: #333;
}
.hotel-info a{
    background-color: #ff3434;
    border-radius: 0;
    padding: 16px 0;
    text-transform: uppercase;
    width: 50%;
    float: left;
    display: block;
    transition: .4s
}
.hotel-info a:hover{
    background-color: #8cc43f!important;
    color: #fff
}
.hotel-info a:last-child{
    background-color: #5b5b5b
}
.hotel-info h2{
    font-size: 18px;
    margin-bottom: 10px;
}
.amenities{
    padding: 15px 0;
    border-top: solid 1px #ebebeb;
    border-bottom: solid 1px #ebebeb;
    margin-bottom: 20px;
}
.amenities ul,
.booking .info ul{
    padding: 0;
    display: grid;
    grid-template-columns: auto auto;
    color: #666
}
.amenities ul .fa,
.booking .info ul .fa{
    font-size: 13px;
    margin-right: 8px;
}
.detail-box{
    position: relative;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 3px 5px rgba(0,0,0,.1);
    box-shadow: 0 3px 5px rgba(0,0,0,.1);
}
.detail .detail-box {
    padding: 30px;
}
.detail .detail-box.boxim:first-child{
    padding: 0
}
.detail #description{
    margin-bottom: 10px;
}
.detail .detail-box .description_html{
    padding: 20px 30px;
}
.detail-box .detail-box{
    padding: 30px;
}

.booking{
    position: relative;
    background-color: #eee;
    border-radius: 2px;
    padding: 50px;
    width: 90%;
    margin:0 auto;
}
.booking .head{
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 10px;
}
.booking .hotel-info{
    margin-bottom: 20px;
}
.booking .box-info img{
    width: 50%;
    float: left;
    margin-right: 30px;
}
.booking .info p{
    font-size: 26px;
    color: #fe7d15;
    font-weight: 500;
    margin-bottom: 10px;
}
.booking .info span{
    font-size: 15px;
    color: #555
}
.hotel-info .text-center button{
    background-color: #4b923c;
    border-color: #4b923c;
    border-radius: 2px;
    padding: 8px 25px;
    text-transform: uppercase;
}

.panel-heading a:after {
    font-family: 'FontAwesome';
    content: "\f078";
    float: right;
    color: grey;
}

.panel-heading a.collapsed:after {
    content: "\f077";
}

.box-form .btn-default{
    height: 32px;
}

.hotel-other .heading{
    background-color: #eee;
    padding: 10px 20px;
    margin: 20px 0;
    text-transform: uppercase;
    border-left: 2px solid #4b913c;
}

@media (max-width:767px) {
    .booking{
        padding: 0;
        background-color: transparent;
    }
    .booking .box-info img{
        width: 100%;
        margin: 0 0 15px 0
    }
    .hotel-info{
        padding: 20px 10px
    }
    .form-horizontal .control-label{
        text-align: left;
        padding: 0 10px;
        margin-bottom: 10px;
    }
}



/* Tuan custom */
ul{
    padding-inline-start: 1px;
}

 .smart {
    position: absolute;
    top: 8px;
    left: 8px;
    background-image: url(../images/hotel/background-smart.jpg);
    background-repeat: no-repeat;
    font-size: 12px;
    border-radius: 5px;
    color: #ffff;
    height: 24px;
    width: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.item-product-img{padding:5px}
.item_product_main {
    position: relative;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.alper-product-item {
    position: relative;
    background-color: #fff;
    /* box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1); */
    margin-bottom: 20px;
}

.alper-product-item .item-product-img .image_thumb {
  overflow:hidden;
  width:100%;
  display:flex;
  -o-justify-content:center;
  -moz-justify-content:center;
  -webkit-justify-content:center;
  -os-justify-content:center;
  -o-display:flex;
  -moz-display:flex;
  -webkit-display:flex;
  -os-display:flex;
  align-items:center;
  position:relative;
  height:auto !important;
  padding-bottom:57%;
  min-height: 155px
}
.productRelate .swiper-slide {
    display: block !important;
}
.alper-product-item .item-product-img .image_thumb img {
  width:auto !important;
  /* max-height:100%; */
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
  transition:.3s ease-in-out all;
  will-change:opacify;
}

.alper-product-item .item-product-img .image_thumb:after {
  content:"";
  position:absolute;
  left:0;
  opacity:1;
  position:absolute;
  right:0;
  bottom:0;
  background:rgba(255,255,255,0.5) none repeat scroll 0 0;
  height:100%;
  transition:all 0.5s ease-in-out 0s;
  width:0;
  z-index:1;
}

.alper-product-item .item-product-img .image_thumb:hover:after {
  opacity:0;
  width:100%;
}

.alper-product-item .item-product-img .image_thumb:before {
  content:"";
  left:0;
  opacity:1;
  position:absolute;
  right:0;
  top:0;
  background:rgba(255,255,255,0.5) none repeat scroll 0 0;
  height:0;
  transition:all 0.5s ease-in-out 0s;
  width:100%;
  z-index:1;
}

.alper-product-item .item-product-img .image_thumb:hover:before {
  opacity:0;
  height:100%;
}

.alper-product-item .info-room {
  padding:5px;
  text-align:center;
}

.alper-product-item .info-room .name-room a {
  font-size:14px;
  font-weight:600;
  line-height:22px;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  white-space:unset;
  max-height:22px;
  margin-bottom:10px;
  margin-top:5px;
  text-transform:uppercase;
}

.alper-product-item .info-room .tag-rivew {
  margin-bottom:10px;
  position:relative;
  display:inline-block;
}

.alper-product-item .info-room .tag-rivew:before {
  border-bottom:3px double #333;
  top:0;
  content:"";
  height:3px;
  left:0;
  margin:0 auto;
  position:absolute;
  right:0;
  width:100%;
}

.alper-product-item .info-room .tag-rivew .list_tag_review {
  padding-top:10px;
}

.alper-product-item .info-room .tag-rivew .list_tag_review li {
  display:inline-block;
  color:#000;
}

.alper-product-item .info-room .tag-rivew .list_tag_review li+li {
  margin-left:10px;
}

.alper-product-item .info-room .product-info-room {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:5px;
  min-height: 42px;
}

.alper-product-item .info-room .product-info-room .price-room .price {
  color:#c40025;
  font-weight:600;
  font-size:15px;
}

@media (max-width:767px) {
  .alper-product-item .info-room .product-info-room .price-room .price {
    font-size:13px;
  }
}

.alper-product-item .info-room .product-info-room .booking-room .btn-booking {
  padding:10px 7px;
  background-color:#cd9a2b;
  border:1px solid #cd9a2b;
  color:#fff;
  font-size:12px;
  transition:all 300ms;
  -webkit-appearance:none;
  -moz-appearance:none;
}

@media (max-width:767px) {
  .alper-product-item .info-room .product-info-room .booking-room .btn-booking {
    padding:5px;
  }
}

.alper-product-item .info-room .product-info-room .booking-room .btn-booking:hover,
.alper-product-item .info-room .product-info-room .booking-room .btn-booking:focus {
  background-color:#fff;
  color:#cd9a2b;
  border:1px solid #cd9a2b;
}

.alper-product-item .tag-room .list_tag_room {
  margin-bottom:15px;
}

.alper-product-item .tag-room .list_tag_room li {
  display:inline-block;
}

.alper-product-item .tag-room .list_tag_room li img {
  width:21px;
  display:inline-block;
}

@media (max-width:1025px) {
  .alper-product-item .tag-room .list_tag_room li img {
    max-width:26px;
  }
}

@media (max-width:767px) {
  .alper-product-item .tag-room .list_tag_room li img {
    max-width:19px;
    min-width: 19px;
  }
  .booking-room{display: none}
  .alper-product-item .info-room .product-info-room {
    justify-content: center;
  }
}

@media (max-width:321px) {
  .alper-product-item .tag-room .list_tag_room li img {
    max-width:16px;
  }
}

.alper-product-item .tag-room .list_tag_room li+li {
  margin-left:10px;
}

.pad-room{
    display: block;
}
.box-form label {
   font-weight: 400;
}
.hotel-info .text-center button {
   background: #cd9a2b;
    border: 1px #cd9a2b solid;
    color: #fff !important;
    cursor: pointer;
    border-radius: 5px;
    line-height: 28px;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
}
.box-form .form-control {
    height: 36px;
    padding: 6px 13px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #eee8e8;
    border-radius: 0px;
}

.amenities ul, .booking .info ul {
    display: block;
    text-align: center;
    border: 1px solid #cd9a2b;
}
ul.list_tag_room_detail li{
  display: inline-block;
    padding: 11px;
}

  .amenities h2{
    background: #cd9a2b;
    display: inline-block;
    padding: 5px;
    border-radius: 8px 8px 0 0;
    color: #fff;
  }

  .amenities {
    padding: 15px 10px;
    border: unset;
  }
  .detail .detail-box .description_html {
    padding: 20px 15px;
}
.box-form .btn-default {
    height: 36px;
}