/**
        * Theme Name: Grandium Child
        * Description: This is a child theme of Grandium, generated by Merlin WP.
        * Author: <a href="http://ninetheme.com/">Ninetheme</a>
        * Template: grandium
        * Version: 1.7.4
        */

/* .widget-slider .slider-booking, */
.widget-rooms-carousel .rooms-item .item-desc h3,
.widget-rooms-detail .room-slider .room-price,
.widget-rooms-carousel .rooms-item .item-desc i,
.widget-blog-carousel .blog-item .item-date,
/* .site-footer .footer-top, */
.widget-rooms-list .rooms-item .item-price {
        display: none;
}

.site-header .header-bottom .header-logo img {
        /* height: auto !important; */
}

.site-header .header-bottom .header-logo {
        /* top: -50%; */

}

.widget-rooms-list .rooms-item {
        padding-right: 0;
        min-height: 400px; /* Ensure minimum height for the item */
        position: relative; /* Ensure proper positioning context */
}

/* Ensure item-photo is square in widget-rooms-list (but not in widget-rooms-carousel) */
.widget-rooms-list:not(.widget-rooms-carousel) .rooms-item .item-photo {
        position: absolute;
        top: 0;
        left: 0;
        width: 42%;
        height: 100%;
        overflow: hidden;
}

/* Ensure item-desc doesn't overlap with item-photo */


/* Fix for even-numbered items */
.widget-rooms-list:not(.widget-rooms-carousel) .rooms-item:nth-child(even) .item-photo {
        left: auto;
        right: 0;
}

.widget-rooms-list:not(.widget-rooms-carousel) .rooms-item:nth-child(even) .item-desc {
        padding-left: 60px;
        padding-right: 46%; /* Leave space for the photo */
}

/* Item photo styling */

.widget-rooms-list:not(.widget-rooms-carousel) .rooms-item .item-photo a {
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 100%; /* 1:1 aspect ratio (square) */
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        position: relative;
}

.site-header .header-bottom .header-nav>ul.nav-left {
        display: none;
}

.site-header .header-bottom .header-logo img {
        height: auto !important;

}

.site-header.sticky-header.fixed .header-bottom {
        margin: 0;
}

.site-header .header-bottom>.wrapper {
        padding-top: 0;
        padding-bottom: 0;
}

.site-footer .footer-bottom .footer-logo {
        width: 100px;
}

.site-footer .footer-bottom {
        padding-top: 30px;
        padding-bottom: 30px;
}

.widget-features-grid .features-item {
        border-width: 10px;
}



@media (min-width: 1200px) {
        .widget-rooms-list:not(.widget-rooms-carousel) .rooms-item .item-desc {
                padding-left: 46%; /* Leave space for the photo */
        }
        .site-header.fixed .header-bottom .header-logo {
                left: 0;
                transform: none;
        }

        .site-header:not(.fixed) .header-bottom .header-logo {
                top: -20px;
        }

        .site-header .header-bottom .header-nav>ul.nav-right {
                padding-left: 0;
        }



        .site-header .header-bottom .header-logo {
                position: relative;
        }

        .site-header:not(.fixed) .header-bottom .header-logo a {
                display: block;
                text-align: center;

        }




        .site-header .header-bottom .header-logo img {
                height: auto !important;
                width: 100px !important;
        }

        .site-header .header-bottom>.wrapper {
                position: relative;
                display: flex;
                align-items: center;
        }

        .site-header:not(.fixed) .header-bottom .header-nav {
                padding-left: 0;
                margin-top: 100px;
        }

        .site-header.sticky-header.fixed .header-bottom .header-logo img {
                width: 90px !important;
        }
}

@media (max-width: 1199px) {
        .site-header .header-bottom .header-logo img {
                width: 100px !important;
        }

        .site-header .header-bottom {
                padding-bottom: 0;
                padding-top: 0 !important;
        }
        .site-header.nav-open {
                background: #f5f5f5;
        }

}

@media (max-width: 767px) {
        .widget-rooms-carousel .rooms-item .item-desc h2 {
                font-size: 18px;
        }

        .widget-features-grid .features-item h3 {
                font-size: 16px;
        }

        .widget-features-grid .features-item a {
                padding: 10px;
        }
        
        #footer-content .section-header {
                padding-top: 0;
        }

        #footer-content .asked-questions,
        #footer-content .wpb_column vc_column_container.vc_col-sm-6,
        #footer-content .vc_row.vc_column-gap-35>.vc_column_container
        
        {
                padding: 0;
        }
        #footer-content .section-header h2 {
                padding-left: 15px;
                padding-right: 15px;
        }


        .widget-rooms-list:not(.widget-rooms-carousel) .rooms-item .item-photo a {
                background-size: contain;
                padding-bottom: 0;
        }
    #why-choose-us-list .widget-about-grid .widget-item h2 {
        text-align: left;
    }
    .page-template-template-old .widget-page-title h5, .page-template-template-old .widget-page-title h1, .page-template-template-old .widget-page-title p {
        width: 100%;
    }

    .section-header h2, .widget-title h2 {
        font-size: 32px;
        padding-left: 30px;
        padding-right: 30px;
    }
         .site-header .header-bottom .header-logo img {
                width: 86px !important;
        }

    /* Mobile styles for rooms-item */
    .widget-rooms-list:not(.widget-rooms-carousel) .rooms-item {
        min-height: 0; /* Reset min-height on mobile */
        height: auto; /* Allow natural height */
    }

    .widget-rooms-list:not(.widget-rooms-carousel) .rooms-item .item-photo {
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
        margin-bottom: 20px;
        max-height: 300px; /* Limit maximum height on mobile */
    }


    .widget-rooms-list:not(.widget-rooms-carousel) .rooms-item .item-desc,
    .widget-rooms-list:not(.widget-rooms-carousel) .rooms-item:nth-child(even) .item-desc {

        padding-right: 30px !important;
        text-align: center;
    }
}



.widget-rooms-carousel .rooms-item .item-desc p {
        min-height: 1px;
}

.widget-rooms-carousel .rooms-item .item-desc p {
        margin-bottom: 0;

}

.widget-history-timeline {
        background: #f5f5f5;
}

.widget-history-timeline .widget-inner ul li h3 {
        color: #57b31b;
}



.site-footer .footer-bottom a.fa-facebook {
        background-color: #3b5998;
}

.site-footer .footer-bottom a.fa-instagram {
        background-color: #e4405f;
}

.site-footer .footer-bottom a {
        color: #fff;
}



/* .site-header .header-bottom .header-nav>ul>li.sub ul li a {
        min-width: 120px;
        font-size: 11px;
        white-space: nowrap;
        text-align: left;
        background-color: #777777;
    } */


    .site-header .header-bottom .header-nav>ul>li.sub:before {
        display: none !important;
    }


    .site-footer .footer-bottom .footer-copyright,
    .site-footer .footer-bottom .footer-contact,
    .site-footer .footer-bottom .footer-nav {
        margin-top: 10px;
    }


    .widget-page-title h1,
    .widget-services-list .services-item .item-desc h2,
.section-header h2,
    .widget-title h2 {
        color: #57b31b;

    }



#why-choose-us-list .widget-about-grid .widget-item h2:before {
  content: "";
  display: block;
  background-image: url('img/certificate-icon.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 60px;
  height: 60px;
  background-position: left;
}

.asked-questions .vc_toggle_title {
	border-bottom: 1px solid #ccc;
	padding: 15px 50px 15px 0;
	color: #3c3c3c;
}

.asked-questions .vc_toggle_icon {
	position: absolute;
	right: 15px;
	top: 20px;
}

.asked-questions .section-header h2,
.footer-contact-us .section-header h2 {
	font-size: 22px;
	text-align: left;
	color: #3c3c3c;
	font-weight: 700;
}

#footer-content {
	background: #f5f5f5;
}

.footer-contact-block .social-icons {
  margin-top: 8px;
}

.footer-contact-block .social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.footer-contact-block .social-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
}

.widget-rooms-detail .room-desc {
	margin-bottom: 40px;
}


.widget-page-title .page-short-desc {
	padding: 30px;
	background: #f5f5f5;
}

.widget-page-title .the-excerpt {
        font-style: italic;
}

.pagination-wrapper {
	text-align: center;
}

.nav-links a.page-numbers, .nav-links span.current {
	background: #f5f5f5;
	border: 1px solid #e1e1e1 !important;
}

.nav-links span.current {
	background: #57b31b !important;
}

.single .widget-page-title h1 {
	margin-bottom: 0;
}

.widget-blog-single .single-detail {
    overflow: hidden;
}

.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner {
        padding-top: 0 !important;
}

blockquote {
        margin: 0;
}

#about-why-choose-us h2 {
        text-align: center;
        margin: 0;
}