/*
Theme Name: JM Coaches Child
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/


.bus_box p.elementor-image-box-description a {
    background-color: var(--red);
    padding: 12px 24px;
    margin-top: 20px;
    display: flex;
    max-width: fit-content;
    margin: 20px auto 0px;
    color: var(--text);
    border-radius: 4px;
}
.bus_box span{
	cursor:pointer;
}
.popup_text {
    margin-top: 20px;
}

.popup_text ul {
    padding-left: 15px;
}
.pop_modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%,-50%) !important;
    z-index: 99 !important;
}
.pop_modal{
	display:none !important;
}
.pop_modal.show{
	display:block !important;
}
.bus_box ul {
    padding-top: 20px;
    max-width: fit-content;
    margin: 0px auto;
    text-align: left;
	display:none;
}
.read_more {
    border-bottom: 1px solid;
    max-width: fit-content;
    margin: 0px auto 15px;
	cursor:pointer;
}
.read_more p{
	margin:0px !important;
}
.bus_box ul li {
    color: var(--white);
}
.read_more {
    opacity: 0;
    transition: all 0.4s;
}
.car_box:hover .read_more {
	 opacity: 1;
}
.text_read ul {
    padding: 0px 0px 0px 20px;
    max-width: fit-content;
    margin: 0px auto;
}
.bus_box img,.bus_box h3,.bus_box p{
	transition:all 0.4s;
	 opacity: 1;
}
.bus_box:hover img,.bus_box:hover h3,.bus_box:hover p{
    opacity: 0.3;
}
/* .tringle_image{
	  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
} */
.banner_sec1::before {
    width: 55% !important;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    transform: rotate(180deg);
}
@media(max-width: 767px){
	.tringle_image {
		position: unset !important;
		width: 100% !important;
		min-width: calc(100% + 30px) !important;
		margin-left: -15px;
		clip-path: unset !important;
	}
	.banner_sec1::before {
		width: 70% !important;
		clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
	}
}