.visual_element_hotel .tripadvisor_rating{
	width: 45% !important;
}
.visual_element_hotel .treebo_rating img.treebo-rate-star{
    margin: -15px 0 7px 0;
}
.visual_element_hotel .treebo_rating .three_star{
    width:24%;
}
.visual_element_hotel .treebo_rating .four_star{
    width:32%;
}
.visual_element_hotel .treebo_rating .five_star{
    width:40%;
}
.visual_element{
	border: 1px solid grey;
	padding: 2px;
    border-radius: 5px;
    padding-bottom: 7px;
}
.hotel_card_div{
	background: #e5f4f7;
	padding: 5px;
    border-radius: 5px;
    height: 300px;
}
.hotel_card_div_city h4{
	text-align: center;
    margin-top: 10px;
}
.visual_element .container_upper, .visual_element .container_lower {
	display: flex;
    justify-content: space-around;
}
.visual_element .icon-1, .visual_element .icon-2, .visual_element .icon-3, .visual_element .icon-4{
	width: 35%;
}
.visual_element .icon-1 h6, .visual_element .icon-2 h6, .visual_element .icon-3 h6, .visual_element .icon-4 h6{
	text-align: center;
    color: black;
}
.visual_element .visual_element_hotel .submit-book-now{
    position: absolute;
    bottom: 1px;
	background: var(--brand-color);
	border-width: 0px !important;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 10px;
}
.visual_element .visual_element_hotel .tag-text{
	border: 1px solid;
	border-width: 0px;
    background: #252e58;
    color: white;
    text-align: center;
    font-family: arial;
    width: 48%;
    font-size: 10px;
    line-height: 1em;
    padding: 5px;
    margin: auto;
}
.visual_element .visual_element_hotel .tag-right{
	float: right;
}
.visual_element .visual_element_hotel .hotel_img_container{
	position: relative;
}
.visual_element .visual_element_hotel .text-block{
	display: flex;
    position: absolute;
    top: 5%;
    width: 93%;
    left: 4%;
    font-weight: bold;
    font-family: arial;
}
#hotels_visual .submit {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
}
.price_rate>p{
	font-size: 12px!important;
    font-weight: bold!important;
    margin-bottom: 0;
    margin-top: 5px;
    line-height: 1.2;
}
.trip-advisor{
    margin:0px 0 0 0;
}
.visual_element .visual_element_hotel .hotel_info{
    margin: 17px 0 0 5px;
}
#hotels_visual .hotels_name>p{
    font-size: 15px!important;
    line-height: 1.2em!important;
    display: flex;
    align-items: center;
    height: 40px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.hotels_name {
    height: 45px;
}
.visual_element{
    position: relative;
}
.visual_element .owl-nav button{
    height: 23px;
    width: 23px;
    border-radius: 50% !important;
    background: var(--brand-color) !important;
    position: relative;
}
.visual_element .owl-nav button:first-child{
   position: absolute;
   top: 40%;
   left:-15px !important;
}
.visual_element .owl-nav button:last-child{
   position: absolute;
   top: 40%;
   right: -15px !important;
}
.visual_element .owl-nav button:after{
    position: absolute;
    content: '';
    left: 5px;
    top: 4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 7px 0;
    border-color: transparent #fff transparent transparent;
}
.visual_element .owl-nav button:last-child:after{
    position: absolute;
    content: '';
    width: 0;
    left: 10px;
    height: 0;
    top: 4px;
    border-width: 7px 7px 7px 7px;
    border-color: transparent transparent transparent #fff;
}
.visual_element hr{
    border-width: 3px 0 0;
    border-color: #000;
    margin-bottom: 15px;
}
.visual_element h3{
    margin:10px 0 3px 0;
    color: #000;
}
.visual_element a:hover, .visual_element a:visited {
    text-decoration: none !important;
}

#hotel_city{
    font-size: 25px;
}
#hotels_visual .hotels_name > p > a.hotel-name-link {
color: #000!important;
}
#hotels_visual .hotels_name > p > a.hotel-name-link:hover {
    color: #000!important;
    }
/*@@@@@@@@@@@ MEDIA QUERY CSS @@@@@@@@@@@@@*/

@media only screen and (min-width:850px) and (max-width:991px) {
    .hotel_card_div {
        height: 330px;
    }
}
@media only screen and (max-width: 1199px) and (min-width: 992px) {
  .hotel_card_div {
    height: 275px;
  }
  .visual_element .visual_element_hotel .tag-text {
    font-size: 12px;
  }
  .hotel_img_container>img {
    height: 120px;
  }
  .visual_element .visual_element_hotel .submit-book-now {
    position: absolute;
    bottom: 1px;
    background: var(--brand-color);
    border-width: 0px !important;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 12px;
    height: 25px;
    line-height: 10px;

  }
}
@media only screen and (max-width: 767px) {
    .hotel_card_div {
        height: 290px;
    }
    .visual_element .owl-nav button:first-child {
        top: 42%;
    }
    .visual_element .owl-nav button:last-child{
        top: 42%;
    }
    .visual_element .visual_element_hotel .hotel_info{
        margin: 17px 0 0 0;
    }
}
@media only screen and (max-width: 640px) and (min-width: 481px) {
    .hotel_card_div {
        height: 280px;
    }
    .visual_element h3 {
        font-size: 25px;
    }
    .hotel_img_container > img {
        max-height: 130px;
    }
    .visual_element_hotel .tripadvisor_rating {
        width: 35% !important;
    }
    .visual_element .owl-nav button:first-child {
        top: 48%;
    }
    .visual_element .owl-nav button:last-child{
        top: 48%;
    }
    .visual_element_hotel .treebo_rating .three_star{
        width:21%;
    }
    .visual_element_hotel .treebo_rating .four_star{
        width:28%;
    }
    .visual_element_hotel .treebo_rating .five_star{
        width:35%;
    }
    .visual_element .visual_element_hotel .tag-text {
        font-size: 12px;
    }
    .hotel_card_div_city h4{
        font-size:26px;
    }
}
@media only screen and (max-width: 480px) {
    .hotel_card_div {
        height: 270px;
    }
    .visual_element h3 {
        font-size: 17px;
        font-weight: bold;
    }
    .hotel_card_div_city h4{
        font-size:20px;
    }
    .visual_element .visual_element_hotel .tag-text {
        font-size: 8px;
    }
}
@media only screen and (max-width: 320px) {
    .hotel_card_div {
        height: 220px;
    }
    .visual_element .visual_element_hotel .tag-text {
        font-size: 10px;
    }
    .hotel_card_div_city h4{
        font-size:15px;
    }
    .visual_element .visual_element_hotel .price_rate p{
        font-size: 10px;
    }
    .visual_element .visual_element_hotel .hotel_info .hotels_name p {
        font-size: 12px;
    }
    .hotels_name {
        margin: -7px 0 -5px 0;
        height: 40px;
    }
}
@media only screen and (max-width: 319px){
    .hotel_card_div {
        height: 290px;
    }
}
/* In your visual_element.css file */
/* visual_element.css */
.hotel_card_div {
    position: relative;
    cursor: pointer;
}

.hotel-name-link {
    color: inherit; /* Maintain original text color */
    text-decoration: none; /* Remove underline */
}

.hotel-name-link:hover {
    text-decoration: underline; /* Add underline on hover for better UX */
}

.submit-book-now {
    position: relative;
    pointer-events: auto; /* Ensure button remains clickable */
    width: auto;
    background-color: var(--tie-buttons-color, var(--brand-color));
    color: var(--tie-buttons-text, var(--bright-color));
    border-radius: var(--tie-buttons-radius, 2px);
    border: var(--tie-buttons-border-width, 0) solid var(--tie-buttons-border-color, var(--brand-color));
    padding: 10px 25px;
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    line-height: 21px;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
    transition: 0.3s;
    appearance: none;
}