.table td {
  border: 0;
  color: var(--dblue);
  padding-left: 0;
}
.td-title{
  font-size: 20px;
  font-weight: 700;
}
#map { width: 100%; height: 350px;}
.gmnoprint, .gm-style-cc {visibility: hidden;}

#weather_img {
  position: absolute;
  top: 10%;
  width: 100%;
  height: 80%;
  object-fit: cover;
  z-index: 1;
}
#weather {
  padding: 10px 30px 0;
  background-color: #ffffffdd;
  box-shadow: 0 10px 20px #00000022;
  backdrop-filter: blur(4px);
  text-align: center;
  width: max-content;
  position: relative;
  margin-left: auto;
  z-index: 5;
}
#weather .weather_sm {
  margin: 0;
  margin-bottom: -5px;
  font-size: 1rem;
  color: var(--blue);
}
.weather-icon-small {
  max-width: 31px;
}
.slider img {
  height:60vh;
  width: 100%;
  object-fit: cover;
}
.best {
  display: grid;
  grid-template-rows: repeat(2, 250px);
  grid-template-columns: 3fr 3fr 2fr 2fr;
  grid-gap: 30px;
  max-width: 1200px;
  margin: auto;
}
.best.best_reverse {
  grid-template-columns: 2fr 2fr 3fr 3fr;
}
.best__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.line {
  border: 1px solid rgba(224, 224, 224, 0.6);
}
.destinations_part {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 35px;
}
.dests_grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 110px;
  grid-auto-flow: dense;
  max-width: 1200px;
  margin: auto;
}
.dests_grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__item ,
.dest_item {
    cursor: pointer;
    position: relative;
    display: block;
    width:100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 12%);
}
.gallery__item .info ,
.dest_item .info {
  position: relative;
  width:100%;
  display: flex;
  justify-content: center;
}
.gallery__item:before ,
.dest_item:before {
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
}
.gallery__item:hover::before ,
.dest_item:hover::before {
  background: rgba(6, 6, 6, 0.6);
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
}

.gallery__item .info ,
.dest_item .info {
  position: absolute;
  top: 50%;
  display: block;
  opacity:0;
  color: #fff;
}

.title:after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 2px;
  width: 130px;
  border-bottom: 1px solid var(--red);
  margin: 0 auto;
}
.info .title {
  text-align: center;
  font-size: 24px;
  text-transform: uppercase;
}
.info p {
  text-align: center;
  font-family: 'Roboto';
  font-size: 20px;
  padding: 0 20px;
}
.best_text_part {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: 'Roboto';
  color: #fff;
}

.best_text_part span {
  color: #fff;
  background: rgba(50, 126, 165, 0.9);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  border-radius: 0 20px 0 0;
  text-align: center;
  padding:  10px;
  text-transform: uppercase;
  font-size: 22px;
  font-family: 'Roboto';
}

.destinations {
  max-width: 1200px;
  margin: auto;
}
.destinations h2 {
  font-size: 40px;
}
.form-control  {
  border-radius: 23px;
  box-shadow: 0px 0px 4px rgb(0 0 0 / 12%);
}

.input-group-text {
  color: #fff;
  background-color: var(--blue);
  border-radius: 0 23px 23px;
  box-shadow: 0px 0px 4px rgb(0 0 0 / 12%);
}
.destinations .white_btn {
  padding: 3px 20px;
}

.map_pic_part {
  max-width: 1200px;
  margin: 0 auto;
}
.togglebtn {
  cursor: pointer;
  background-color: #fff;
}
.home_icon {
  border: 0.5px solid #818181;
  width: 90px;
  height: 40px;
  color: #818181;
  border-radius: 6px;
  text-align: center;
}
.map_pic_part .active {
  background: linear-gradient(270.15deg, #BD0926 0.13%, #EC4B65 99.89%);
  color: #fff;
  border: none;
  outline: none;
}
.map_icon {
  width: 90px;
  height: 40px;
  border: 0.5px solid #818181;
  border-radius: 6px;
  color: #818181;
  margin: 0 10px;
  text-align: center;
}
.map_icon span,
.home_icon span {
  padding-left: 6px;
}
.map_part {
  display: none;
  background-color: #f1f1f1;
  margin-top: 40px;
}
.map_part img {
  align-items: center;
  width: 100%;
  padding-top: 20px;
}


@media screen and (min-width: 992px) {

  .gallery__item:hover .info,
  .dest_item:hover .info {
    opacity: 1;
    transition: 0.5s;
    transform: translateY(-50%);
  }

  .gallery__item:hover span,
  .dest_item:hover span {
    display: none;
  }

  .best--1 {
      grid-column: 1;
      grid-row: 1/3;
    }

    .best--2 {
      grid-column: 2;
      grid-row: 1/3;
    }

    .best--3 {
      grid-column: 3/5;
      grid-row: 1;
    }

    .best--4 {
      grid-column: 3/5;
      grid-row: 2;
    }

    .best--5 {
      grid-column: 1/3;
      grid-row: 1/2;
    }

    .best--6 {
      grid-column: 1/3;
      grid-row: 2/3;
    }

    .best--7 {
      grid-column: 3;
      grid-row: 1/3;
    }

    .best--8 {
      grid-column: 4;
      grid-row: 1/3;
    }

    .dest_item__1,
    .dest_item__3 {
      grid-row: auto/span 3;
    }

    .dest_item__2,
    .dest_item__4 {
      grid-row: auto/span 2;
    }

    .dest_item__5,
    .dest_item__7 {
      grid-row: auto/span 2;
    }

    .dest_item__5 {
      grid-column-start: 1;
    }

    .dest_item__7 {
      grid-column-start: 3;
    }

    .dest_item__6,
    .dest_item__8 {
      grid-row: auto/span 3;
    }

}


@media screen and (max-width: 992px) {
  .gallery {
    display: block;
  }

  .best, .best.best_reverse {
    grid-template-rows: repeat(2, 200px);
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
  }

  .dests_grid {
    grid-auto-rows: 160px;
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item, .dest_item {
    border-radius: 10px;
  }
}



@media(max-width: 768px) {

  .details_table td{
    font-size: 16px;
    line-height: 1.1rem;
    padding: 0.4rem 0;
  }
  #weather {
    padding: 10px 10px 0;
  }
  #weather p {
    font-size: 14px;
    margin-bottom: 0.5rem;
  }
  img#today_icon {
    height: 80px;
  }

  .best,
  .best.best_reverse {
    grid-template-rows: repeat(2, 150px);
  }

  .dests_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .best_text_part span {
    width: auto;
    border-radius: 0 16px 0 0;
    padding:5px 10px;
    font-size: 16px;
  }

}

@media(max-width: 420px) {

  .best, .best.best_reverse {
    grid-template-rows: repeat(2, 110px);
  }

  .dests_grid {
    grid-auto-rows: 110px;
    grid-template-columns: repeat(2, 1fr);
  }

}

