/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.main-page-wrapper{
	padding-top: 0px !important;
}

h4.info-box-title.title.box-title-style-default.wd-fontsize-xl {
    font-size: 25px !important;
}

.testimonial.column .MyEned {
    height: 150px !important;
    display: block;
    overflow-y: auto;
}

.testimonial.column .MyEned::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #ffffff;
}

.testimonial.column .MyEned::-webkit-scrollbar
{
	width: 6px;
	background-color: #ffffff;
}

.testimonial.column .MyEned::-webkit-scrollbar-thumb
{
	background-color: #bfe806;
}

.inner-page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    height: 350px; /* Maintain your desired height */
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    background-repeat: no-repeat;
       width: 100vw; /* Full viewport width */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw; /* Shift left to ensure no gap */
    margin-right: -50vw; /* Shift right to ensure no gap */

}


.inner-page-banner .overlay {
    position: absolute; /* Positioning overlay */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    z-index: 1; /* Ensure overlay is above the background */
}

.inner-page-banner .container {
    position: relative; /* To ensure text is above the overlay */
    z-index: 2; /* Ensure text is above the overlay */
}


.class-categories-wrapper {
    max-width: 1200px; /* Set a max width for the container */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Add some padding */
}

.class-categories {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow items to wrap */
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.class-categories li {
    flex: 0 1 calc(33.33% - 20px); /* Three columns layout */
    margin: 10px; /* Space between items */
    text-align: center; /* Center align text */
    background: #fff; /* White background for items */
    border-radius: 8px; /* Rounded corners for items */
    padding: 15px; /* Inner padding */
    position: relative; /* For absolute positioning of button */
    overflow: hidden; /* Ensure button stays within bounds */
    transition: transform 0.3s; /* Transition for hover */
}

.class-categories li:hover {
    transform: scale(1.05); /* Scale up on hover */
}

.category-image {
    max-width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners for images */
    margin-bottom: 10px; /* Space below the image */
	height: 300px !important;
	width: 100% !important;
	object-fit: cover;
    object-position: top;
}

.category-button {
    display: inline-block; /* Ensure button behaves like a block */
    font-size: 16px; /* Font size */
    color: white; /* Text color */
    background-color: #bfe806; /* Button background color */
    padding: 10px 15px; /* Button padding */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
}

.class-button-bg {
    position: absolute;
    top: 0;
    z-index: 99999;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	opacity: 0;
	transition: opacity 0.3s; /* Transition for fade-in */
	background-color: rgba(0, 0, 0, 0.7);
}
.class-categories li:hover .class-button-bg {
    opacity: 1; /* Show button on hover */
}
.category-button:hover{
	background-color: #26800b;
    color: #fff !important;
}
.class-categories li:hover .category-button {
    opacity: 1; /* Show button on hover */
}

.class-categories-wrapper h3 {
    margin: 10px 0; /* Margin for headings */
    font-size: 20px; /* Heading size */
}

.class-categories-wrapper p {
    font-size: 14px; /* Description size */
    margin: 10px 0; /* Margin for paragraphs */
    color: #666; /* Description color */
}

.category-archive {
    margin-bottom: 50px;
}

.category-archive li.class-post-col {
/*     border: 3px solid #26800b; */
    padding: 0;
}

.category-archive .category-description {
    text-align: center;
}

/* .location-box {
    height: 350px;
    perspective: 1000px;
	margin-bottom: 30px;
} */
/* .location-box-inner{
    display: flex;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-items: center;
    justify-content: center;
	border: 10px solid #bfe806;
}

.location-box  .flip-container {
    position: relative;
        width: 90%;
    height: 90%;
    transform-style: preserve-3d;
    transition: transform 0.6s; 
} */


/* .location-box .flip-container:hover .flipper {
    transform: rotateY(180deg); 
} */


/* .location-box .flipper {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
} */

/* .location-box .front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; 
} */

/* .location-box .front {
    display: flex;
    text-align: center;
	flex-direction: column;
	height: 100%;
    align-items: center;
    justify-content: center;
    color: #fff;
	background: rgba(0, 0, 0, 0.8); 
    font-size: 24px;
    font-weight: bold;
    padding: 20px;
    border-radius: 8px;
	width: 100%;
    margin-bottom: 0;
} */

/* .location-box .title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 20px;
    border-radius: 8px;
	width: 100%;
    margin-bottom: 0;
} */

/* .location-box .back {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8); 
    color: #fff;
    text-align: center;
    transform: rotateY(180deg); 
    padding: 20px;
    box-sizing: border-box;
} */

/* .location-box .description {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80%;
    font-size: 16px;
} */
.slider-btn{
	border-radius: 25px;
	font-size: 16px;
}
.page-id-8680 .site-content {
    margin-bottom: 0 !important;
}

.wd-nav.wd-style-underline > li.current_page_item > a .nav-link-text:after {
    width: 100% !important;
}
.wd-nav.wd-style-underline > li#menu-item-15944.current-menu-item > a .nav-link-text:after, .wd-header-nav li#menu-item-15944.current_page_item > a .nav-link-text:after {
    width: 0px !important;
}
.wd-nav.wd-style-underline > li#menu-item-15944.current-menu-item > a:hover .nav-link-text:after {
    width: 100% !important;
}
.wd-nav.wd-style-underline > li#menu-item-15944 > a {
    color: #333 !important;
}
.view-btn .btn, .wpcf7-submit.btn{
	border-radius: 5px; 
}
.view-btn .btn:hover, .wpcf7-submit.btn:hover{
	background-color: #0098ce !important;
}

.submit-btn{
	color: #fff !important;
    background-color: rgb(191 232 6) !important;
	border-radius: 5px; 
}

.wpcf7-form.invalid .wpcf7-response-output{
	background-color: #F00 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #0098ce !important;
}
.blog .page-title.page-title-default.title-size-default.title-design-centered.color-scheme-light.title-blog {
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin: -40px 0px 50px 0px;
    padding: 132px 10px 132px 10px;
}

.whb-flex-row.whb-general-header-inner .whb-col-right {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.header-contact{
	margin-bottom: 5px;
}
.action-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #059cca; /* Change as needed */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
	transition: all ease-in-out 0.3s;
}

.action-link:hover {
    background-color: #bfe806; /* Change as needed */
	color: #fff !important;
}

.location-sec {
    margin: 0 -15px;
}
.location-section h2.category-heading {
    text-align: center;
    margin: 10px 0px;
	text-transform: capitalize;
}

.location-box {
    padding: 15px;
}

.location-box-inner {
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.location-box-inner:hover {
    transform: translateY(-5px);
}

.location-image {
    height: 200px; /* Fixed height for images */
    background-size: cover;
    background-position: center;
}

.location-content {
    background-color: white;
    padding: 15px;
    text-align: center;
	max-height: 220px;
	min-height: 220px;
}
.classes-box .location-content {
    max-height: 350px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.center-box .location-content {
    min-height: 270px;
    max-height: 270px;
    justify-content: space-around;
}

.center-box .classes-box {
    margin: auto;
}

.classes-box .title {
    color: #bfe806 !important;
    font-size: 22px !important;
	width: 100% !important;
}
.classes-box .location-content { 
	text-align: center;
}

.location-box .title {
    font-size: 1.5rem; /* Title size */
    margin-bottom: 10px;
	text-align: center;
}

.location-box .description {
    font-size: 16px; /* Description size */
    margin-bottom: 15px;
	text-align: center;
}

.location-box .action-link {
    padding: 10px 15px;
    background-color: #bfe806; /* Bootstrap primary color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
	display: inline-flex;
    align-items: center;
    justify-content: center;
}

.location-box .action-link:hover {
    background-color: #0098ce; /* Darker shade for hover */
}
.location-btn-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.about-class .elementor-widget-container {
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    padding-right: 15px;
}

.about-class .info-box-content {
    padding: 20px 0px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-class .box-icon-wrapper, .about-class .info-box-icon, .about-class .info-box-icon img {
    height: 100% !important;
	object-fit:cover !important;
}
.about-class .wd-info-box{
	height: 390px !important;
}
.about-class h4.info-box-title u {
	color: #bfe806 !important;
	text-decoration: none !important;
}

.about-class a.btn {
	border-radius: 5px !important;
}
.about-class a.btn:hover {
	background-color: #0098ce !important;
}

.wpcf7 .screen-reader-response {
	display: none !important;
}

.service-top-image img {
    height: 400px;
    object-fit: cover;
}
.service-img-col img {
    height: max-content;
    object-fit: cover;
    object-position: center;
}
.service-img-col figure.elementor-image-box-img, 
.service-img-col figure.elementor-image-box-img img {
    width: 100% !important;
	border-radius: 10px;
}
.service-img-col-text figure.elementor-image-box-img{
	margin-bottom: 0px !important;
}

.service-img-col-text .elementor-image-box-wrapper {
	position: relative;
}

.service-img-col-text  h3.elementor-image-box-title {
	color: #fff;
}
.service-img-col-text .elementor-image-box-content {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    color: #fff;
	height: 0px;
	opacity: 0;
	transition: all ease-in-out 0.3s;
	display: flex;
    flex-direction: column;
    align-items: center;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px
}

.service-img-col-text:hover .elementor-image-box-content{
	height:150px;
	opacity:1;
	transition: all ease-in-out 0.3s;
}

.home-service-img-col-text {
    height: 500px;
}
.home-service-img-col-text img{
    height: 100%;
}
.home-service-img-col-text .elementor-image-box-wrapper, .home-service-img-col-text figure.elementor-image-box-img {
    position: relative;
    height: 100% !important;
}
.home-service-img-col-text .elementor-image-box-content {
    position: absolute;
    bottom: 50px;
    background-color: #fff;
    padding: 20px;
    width: 70%;
    left: 40px;
    border-radius: 10px;
	text-align: left;
}
.home-service-img-col-text .elementor-image-box-content h3.elementor-image-box-title {
	margin-bottom: 5px;
}
.col-img-top img {
    height: 350px;
    object-fit: cover;
}

.col-img-bottom, .image-grid-section{
	 height: 150px;
}
.col-img-bottom img, .col-img-bottom .wd-image{
	 height: 100%;
    object-fit: cover;
}
.why-choose-col .box-icon-wrapper .info-box-icon {
    color: #fff !important;
    width: 100px;
    height: 100px;
    background: #bfe806;
    border-radius: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Responsive Styles */



@media (min-width: 1200px) {
    .whb-sticked .whb-general-header-inner {
        height: 100px;
        max-height: 100px;
    }
}
@media (max-width: 1200px) {
    .location-box {
        padding: 10px;
    }
	.about-class .wd-info-box {
    height: 410px !important;
}
}

@media (max-width: 992px) {
	.elementor-element.elementor-element-c5e41c2.e-grid.about-row.e-con-boxed.wd-section-disabled.e-con.e-parent.e-lazyloaded {
    --e-con-grid-template-columns: repeat(1, 1fr);
}
	.about-class .wd-info-box {
    height: auto !important;
}
	.location-sec {
    justify-content: center;
}
    .location-box-inner {
        margin: 0 auto;
    }

    .location-image {
        height: 180px; 
    }

    .title {
        font-size: 1.4rem;
    }

    .description {
        font-size: 0.9rem;
    }
}

@media all and (max-width: 768px) {
	.about-class .wd-info-box {
    height: auto !important;
}
    .location-box {
        padding: 5px; 
    }

    .location-image {
        height: 160px;
    }

    .title {
        font-size: 1.2rem;
    }

    .description {
        font-size: 0.8rem;
    }
	
	.classes-box .location-content, .location-content {
        height: auto; 
		max-height: none;
        min-height: auto; 
    }

}

@media (max-width: 576px) {
    .location-box {
        margin-bottom: 20px; /* Space between boxes */
    }

    .location-image {
        height: 140px; /* Further adjust for small screens */
    }

    .title {
        font-size: 1.1rem; /* Title for small devices */
    }

    .description {
        font-size: 0.8rem; /* Adjust description size */
    }

    .action-link {
        font-size: 0.9rem; /* Button size adjustment */
    }
}


@media (max-width: 768px) {
    .class-categories li {
        flex: 1 1 calc(50% - 20px); /* Two columns on tablets */
    }
}

@media (max-width: 480px) {
    .class-categories li {
        flex: 1 1 100%; /* One column on mobile */
    }
	.about-class .wd-info-box {
    flex-direction: column;
    padding-left: 15px;
    text-align: center;
		padding-top:20px;
}
	.about-class .info-btn-wrapper .wd-button-wrapper {
    text-align: center;
}
}


