/*
Theme Name: Meaney Plant 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)
*/



.mpcrbm_search-button i.mi.mi-search::before {
    background-image:url(images/search.png) !important;
}
/*-------------------------------------------------------------- 
# Team Page 
--------------------------------------------------------------*/
.team_grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 26px;
}

.team_grid .team_box {
    /* background-color: #FFFFFFB8; */
    /* border-radius: 20px; */
    /* padding: 16px; */
    cursor:pointer;
    transition: all 0.4s;
    background-color: unset !important;
}
.team_grid .team_box:hover{
    box-shadow: 0px 0px 6px 1px rgb(255 112 119 / 10%);
}
.team_grid .team_box .team_img {
    display: block;
    width: 100%;
    overflow: hidden;
    height: 350px;
    border-radius: 4px;
}
.team_grid .team_box .team_img img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
	 height: 100%;
    transition: all 0.4s;
    transform: scale(1);
}
.team_grid .team_box:hover .team_img img{
    transform: scale(1.075);
}
.team_bottom {
    /* padding-top: 24px; */
    /* padding-bottom: 8px; */
}
.team_bottom h3 {
    color: var(--black);
    font-size: 22px !important;
    margin: 0px 0px 4px 0px;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: 22px;
    line-height: 33px;
}
.team_bottom span.team_degination {
    color: var(--text);
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    font-style: italic;
}
.team_bottom p {
    color: var(--text);
    font-size: 18px;
    margin: 10px 0px 0px 0px;
    font-weight: 400;
    display: none;
}
ul.team_social {
    padding: 0px;
    margin: 16px 0px 0px 0px;
    list-style: none;
    display: flex;
    grid-gap: 15px;
}
ul.team_social a {
    display: inline-block;
    font-size: 16px;
    color: var(--text);
    line-height: 16px;
}
.team_modal {
    max-width: 800px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%, -50%);
    width: calc(100% - 30px);
    background-color: var(--white);
    padding: 35px;
    border-radius: 4px;
}
.modal_overlay{
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 99;
}
.team_modal span.cross_btn {
    display: block;
    margin-left: auto;
    max-width: fit-content;
    cursor: pointer;
}
.team_modal .team_modal_grid {
    display: grid;
    grid-template-columns: 32% auto;
    grid-gap: 26px;
}
.team_modal .team_modal_grid .team_img img {
    height: 265px;
    display: block;
    object-fit: cover;
    border-radius: 4px;
    width: 100%;
}
.team_left h3 {
    color: var(--black);
    margin: 16px 0px 0px;
    font-size: 22px;
    line-height: 33px;
    font-weight: 600;
}
.team_left h4 {
    color: var(--text);
    font-size: 15px;
    line-height: 23px;
    margin: 0px;
}
.team_right p {
    font-weight: 400;
    font-size: 17px;
    color: #3d3e3f;
    line-height: 28px;
    margin-bottom: 6px;
}
.team_modal .cross_btn{
	border:unset !important;
	background-color: unset !important;
	position: absolute;
	top: 15px;
	right: 15px;
}
.team_right p:last-child{
	margin-bottom:0px !important;
}
.contact-frm-cls .quote-form .form-row.two-col p {
    width: 100% !important;
}
.contact-frm-cls .quote-form .form-row.two-col.active p{
	 width: 50% !important;
}
@media(max-width: 767px){
	.team_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px 10px;
    }
    .team_modal .team_modal_grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .team_modal .team_modal_grid .team_description {
        max-height: 210px;
        overflow: auto;
    }
    .team_modal span.cross_btn {
        margin-top: -10px;
        padding-bottom: 8px;
    }
}
@media(max-width:575px){
	    .team_grid .team_box .team_img {
        height: 200px;
    }
	.team_bottom h3{
		font-size: 20px !important;
		margin-top: 10px;
	}
	.team_bottom span.team_degination{
		font-size: 13px !important;
		margin-top: 0px;
	}
	.team_modal {
		padding: 20px 15px 20px;
		border-radius: 12px;
	}
	.team_modal span.cross_btn {
        margin-top: 0px;
        position: absolute;
        right: 10px;
        top: 10px;
        background-color: var(--white) !important;
        min-width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
        font-size: 14px;
        padding: 0px;
        align-items: center;
        font-weight: 900;
    }
	.team_right p {
		font-size: 15px;
		line-height: 24px;
		margin-bottom: 6px;
	}
	.team_modal .team_modal_grid .team_img img {
		height: 245px;
		object-fit: contain !important;
		background-color: #1d1e22;
	}
	.team_modal .team_modal_grid{
		grid-gap:10px;
	}
	.team_left h3 {
		font-size: 20px;
	}
}