/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap'); */

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}
body{
    line-height: 1.5;
}
.card-wrapper{
    max-width: 1100px;
    margin: 0 auto;
}
img{
    width: 100%;
    display: block;
}
.img-display{
    overflow: hidden;
}
.img-showcase{
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}
.img-showcase img{
    min-width: 100%;
}
.img-select{
    display: flex;
}
.img-item{
    margin: 0.3rem;
}
.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3){
    margin-right: 0;
}
.img-item:hover{
    opacity: 0.8;
}
.product-content{
    padding: 2rem 1rem;
}
.product-title{
    font-size: 2.6rem;
    text-transform: capitalize;
    font-weight: 500;
    position: relative;
    color: #12263a;
    margin: 2rem 0;
}
/* .product-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: #12263a;
} */
.product-link{
    text-decoration: none;
    text-transform: uppercase;
    /* font-weight: 400; */
    font-size: 1.3rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    /* background: #256eff; */
    /* color: #fff; */
    padding: 0 0.3rem;
    transition: all 0.5s ease;
    font-weight: bold;
    color: #f64749;
}
.product-link:hover{
    opacity: 0.9;
}
.product-rating{
    color: #ffc107;
    margin: 0.5rem 0;
}
.product-rating span{
    font-weight: 600;
    color: #878787;
}
.product-price{
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.product-price span{
    font-weight: 400;
}
.last-price span{
    color: #f64749;
    text-decoration: line-through;
}
.new-price span{
    color: #256eff;
}

.social-links{
    display: flex;
    align-items: center;
}
.social-links a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #000;
    border: 1px solid #000;
    margin: 0 0.2rem;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.5s ease;
}
.social-links a:hover{
    background: #000;
    border-color: transparent;
    color: #fff;
}

@media screen and (min-width: 992px){
    .card{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5rem;
    }
    .card-wrapper{
        /* min-height: 100vh; */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-imgs{
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
    }
    .product-content{
        padding-top: 0;
    }

    .general-info .wrapper{
        padding: 25px 30px 30px 30px;
    }

    .general-info .wrapper nav label{
        border-radius: 5px;
    }

    .general-info nav label.tong-quan,
  .general-info nav label.lich-trinh,
  .general-info nav label.khac{
    box-shadow: 0px 1px 1px #de79a1;
  }
}

/* chon tour */
.tour-booking-form{
    font-size: 1.5rem;
    font-weight: normal;
    /* border: 0.1rem solid #f64749; */
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
    box-shadow: 0px 2px 3px #cac3c6;
    background-color: #fff;
}

.tour-booking-form .select-date{
    padding: .5rem 1.5rem;
}

.price-detail{
    border: 0.1rem solid #0f9c7d;
    border-radius: 0.3rem;
    padding: 1rem;
    margin: 1rem;
    display: grid;
    grid-template-columns: 30% 50% 5% 10% 5%;
    text-align: center;
    vertical-align: middle;
    background-color: #fff;
}

.price{
    display: grid;
    grid-template-columns: 50% 50%;
    text-align: center;
    align-items: center;
}

.price-detail .money{
    font-weight: 500;
    font-size: 1.5rem;
    /* color: #f8a11f; */
}

.price .money{
    font-weight: 500;
    font-size: 1.5rem;
    color: #f64749;
}

.price .total-money{
    font-weight: bold;
    font-size: 3rem;
    color: #f64749;
}

.tour-notice{
    font-size: 1.5rem;
    color: #878787;
}
/* thong tin mo ta chi tiet */
.general-info{
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

/* .general-info ::selection{
    background: #d9296f;
  } */
  .general-info .wrapper{
    /* max-width: 700px; */
    width: 100%;
    /* margin: 200px auto; */
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
  }
  .general-info .wrapper nav{
    position: relative;
    /* width: 80%;
    height: 50px; */
    display: flex;
    align-items: center;
    padding: 2rem;
  }
  .general-info .wrapper nav label{
    display: block;
    height: 100%;
    width: 100%;
    text-align: center;
    /* line-height: 50px; */
    cursor: pointer;
    position: relative;
    z-index: 1;
    color: #54b9a2;
    /* font-size: 17px; */
    /* border-radius: 5px; */
    margin: 0 5px;
    /* transition: all 0.3s ease; */
  }
  .general-info .wrapper nav label:hover{
    background: #54b9a2;
    color: #fff;
  }
  .general-info #tong-quan:checked ~ nav label.tong-quan,
  .general-info #lich-trinh:checked ~ nav label.lich-trinh,
  .general-info #khac:checked ~ nav label.khac{
    box-shadow: none;
    color: #000;
  }

  .general-info nav label.tong-quan,
  .general-info nav label.lich-trinh,
  .general-info nav label.khac{
    box-shadow: 0px 1px 0 #54b9a2;
    font-size: 2rem;
    font-weight: 500;
    object-fit: cover;
    min-height: 5rem;
  }

  .general-info nav label i{
    padding-right: 7px;
  }

  .general-info input[type="radio"]{
    display: none;
  }

  .general-info section .content{
    display: none;
    font-size: 1.5rem;
    /* background: #fff; */
  }
  .general-info #tong-quan:checked ~ section .content-tong-quan,
  .general-info #lich-trinh:checked ~ section .content-lich-trinh,
  .general-info #khac:checked ~ section .content-khac{
    display: block;
  }
  .general-info section .content .title{
    font-size: 21px;
    font-weight: 500;
    /* margin: 30px 0 10px 0; */
  }
  .general-info section .content p{
    text-align: justify;
  }

  .tour-booking-form .tour-button{
    text-align: center;
  }

  .tour-booking-form .tour-button .btn{
    background-color: #fb0000;
    color: #fff;
    font-size: 1.6rem;
    border: 0.1rem solid #fb0000;
  }

  .tour-booking-form .tour-button .btn-default{
    background-color: #fff;
    color: #fb0000;
    font-size: 1.5rem;
    border: 0.1rem solid #fb0000;
  }

  .tour-booking-form .select-date.date-active{
    background-color: #0f9c7d;
    color: #fff;
  }

  .tour-booking-form .notice{
    font-size: 0.5rem;
    color:#f64749;
  }

  .tour-booking-form .change-people {
    color: #c0bdbd;
  }
  .tour-booking-form .change-people.active i{
    color: #0f9c7d;
  }

#consultModel{
  z-index: 15000;
}

#consultModel .alert-danger{
  display: none;
}

.review-title{
    font-size: 1.5rem;
    cursor: pointer;
}

.review-title:hover{
  color: #0f9c7d;
}

/* bo sung css cho thong tin mo ta chi tiet tour */
.general-info .tour-info .title {
  background-color: #fff;
  color: #000000;
  padding: 2rem 2rem 0.5rem 5rem;
  font-size: 2rem;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0px 0px 20px 0px #88888821;
}
.general-info .tour-info input[name=css-tabs] {
  display: none;
}
.general-info .tour-info #tabs {
  padding: 0 0 0 50px;
  width: calc(100% + 40px);
  margin-left: -20px;
  background: #ffffff;
  height: 80px;
  border-bottom: 5px solid #02a485;
  box-shadow: -3px 3px 20px 0px #88888854;
}
.general-info .tour-info #tabs::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -100;
  width: 100%;
  left: 0;
  margin-top: 16px;
  height: 80px;
  background: #f8f9fc;
  border-bottom: 5px solid #09a38554;
  box-shadow: -3px 3px 20px 0px #88888854;
}
.general-info .tour-info #tabs::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  height: 80px;
  width: 102px;
  background: #02a485;
  transition: transform 400ms;
}
.general-info .tour-info #tabs label {
  padding: 1rem 5rem;
  position: relative;
  z-index: 100;
  display: block;
  float: left;
  /* text-transform: uppercase; */
  text-align: center;
  height: 100%;
  border-right: 1px dotted #575654;
  cursor: pointer;
}
.general-info .tour-info #tabs label:first-child {
  border-left: 1px dotted #575654;
}
.general-info .tour-info #tabs label::before {
  content: "";
  display: block;
  height: 30px;
  width: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: invert(40%);
  margin: auto;
}
.general-info .tour-info #tab_tong_quan::before {
  background-image: url('../images/tour_description_1.png');
}
.general-info .tour-info #tab_lich_trinh::before {
  background-image: url('../images/tour_description_2.png');
}
.general-info .tour-info #tab_khac::before {
  background-image: url('../images/tour_description_3.png');
}
.general-info .tour-info #radio_tong_quan:checked ~ #tabs #tab_tong_quan::before, 
.general-info .tour-info #radio_lich_trinh:checked ~ #tabs #tab_lich_trinh::before, 
.general-info .tour-info #radio_khac:checked ~ #tabs #tab_khac::before {
  color: #fff;
  filter: invert(100%);
}

.general-info .tour-info #tabs label {
  background-color: #fff;
  font-weight: 500;
}
.general-info .tour-info #radio_tong_quan:checked ~ #tabs #tab_tong_quan,
.general-info .tour-info #radio_lich_trinh:checked ~ #tabs #tab_lich_trinh,
.general-info .tour-info #radio_khac:checked ~ #tabs #tab_khac {
  background-color: #02a485;
  color: #fff;
}
.general-info .tour-info #content {
  position: relative;
  min-height: 100px;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px #88888821;
}
.general-info .tour-info #content::before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  margin-left: -20px;
  border-top: 8px solid #5b5b5b;
  border-right: 10px solid #5b5b5b;
  border-left: 10px solid transparent;
  border-bottom: 8px solid transparent;
}
.general-info .tour-info #content::after {
  top: 0;
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  margin-left: calc(100% + 0px);
  border-top: 8px solid #5b5b5b;
  border-left: 10px solid #5b5b5b;
  border-right: 10px solid transparent;
  border-bottom: 8px solid transparent;
}
.general-info .tour-info #content section {
  position: absolute;
  /* transform: translateY(50px); */
  display: none;
  transition: transform 500ms, opacity 500ms;
}
.general-info .tour-info #radio_tong_quan:checked ~ #content #content_tong_quan, 
.general-info .tour-info #radio_lich_trinh:checked ~ #content #content_lich_trinh, 
.general-info .tour-info #radio_khac:checked ~ #content #content_khac {
  transform: translateY(0);
  display: block;
  position: relative;
}
@media (max-width: 480px){
  .general-info .tour-info #tabs {
      padding: 0;
      margin-left: 0;
  }

  .general-info .tour-info #tabs label {
      padding: 1rem;
  }

  .general-info .tour-info .title {
      padding: 2rem 2rem 0.5rem 1rem;
  }
}