/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.7
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold

*/

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">

.page-id-94705 #after_section_1 .container{
	max-width: unset !important;
	padding: 0 !important;
}
.person-img{
	float: left; 
	margin-right: 15px;
}
.person-con{
	margin-bottom: 30px;
}
.twenty-eight{
	line-height: 30px;
    font-size: 28px;
}

#main > div.main_color.container_wrap_first.container_wrap.fullsize > div > main > div > div > div > div > section:nth-child(3) > div.avia-testimonial.av_one_half.flex_column.no_margin.avia-testimonial-row-3.avia-last-testimonial.avia_start_animation > div > div.avia-testimonial-content{
	margin-left: 101px;
}



/*Add your own styles here:*/

biographies-template footer.entry-footer{
	display:none;
}
.post-column{
	padding:3rem;
	line-height: 2rem;
	flex: 1;
}
.custom-post-flex {
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
}

main.center-content{
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
	padding-top: 2vw;
	padding-bottom: 2vw;
}

.th-bg-color td {
    background: #fff;
}
.th-bg-color th {
    color: #2cabe2;
    text-transform: capitalize;
    letter-spacing: 0;
    text-align: center;
	vertical-align: middle;
}

@media only screen and (min-width: 1000px){
	.custom-post-flex {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-content: space-between;
		justify-content: space-between;
		align-items: center;
	}

}



@media only screen and (min-width: 768px)
{
	#agency11-referral-form{
		max-width: 66%;
	}
	.to-bottom{
		position: absolute; 
		bottom: 0;
	}
}

#after_section_1 > div > div > div > div > div:nth-child(1) > div.flex_column.av_one_half.av-animated-generic.right-to-left.no_margin.flex_column_table_cell.av-equal-height-column.av-align-top.av-zero-column-padding.avia-builder-el-5.el_after_av_one_half.el_before_av_one_half.vert-mid.avia_start_animation.avia_start_delayed_animation{
		vertical-align: middle;

}

.vert-mid{
	vertical-align: middle;
}

.page-id-86336 .av-layout-tab-inner .container {
	padding: 0!important;
	margin: 0!important;
	max-width: 1210px!important;
}

.page-id-80099 .av-layout-tab-inner, .page-id-252 .av-layout-tab-inner {
    height: initial !important;
}

.page-id-80099 .av-tab-section-outer-container, .page-id-252 .av-tab-section-outer-container {
    max-height: initial !important;
}

#input_2_12 {
	margin-top: -16px !important;
	width: 100% !important;
}

#top.page-id-229 label {
	display: inline-block;
}

#input_2_48 {
	display: flex !important;
}

#input_2_48 li input {
	margin-left: 32px;
}

#choice_2_48_0 {
	margin-left: 0px !important;
}

#top.page-id-229 input[type="submit"]{
	margin-top: 32px !important;
	background-color: #0e58a2 !important;
}

#top.page-id-229 input[type="submit"]:hover {
	background-color: #2f7ac4 !important;
}

#top.page-id-93162 input[type="submit"]{
	margin-top: 32px !important;
	background-color: #0e58a2 !important;
}

#top.page-id-93162 input[type="submit"]:hover {
	background-color: #2f7ac4 !important;
}





@media only screen and (min-width: 641px){
	.gform_wrapper #input_2_12.ginput_complex .ginput_right {
	margin-top: -16px !important;
	width: 100% !important;
}
}

@font-face {
    font-family: 'JustLovely';
    src: url('fonts/JustLovely.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/JustLovely.woff') format('woff'), /* Pretty Modern Browsers */
         url('fonts/JustLovely.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
}

.d-none {
	display: none !important;
}

/* form#gform_12 #gform_fields_12 input[type="text"],
form#gform_12 #gform_fields_12 input[type="phone"],
form#gform_12 #gform_fields_12 input[type="email"],
form#gform_12 #gform_fields_12 textarea

{
	background-color:#e1e1e1;
	border:0;
}

form#gform_12 #gform_fields_12 input[type="text"]::placeholder,
form#gform_12 #gform_fields_12 input[type="phone"]::placeholder,
form#gform_12 #gform_fields_12 input[type="email"]::placeholder,
form#gform_12 #gform_fields_12 textarea::placeholder{
	color:#919191;
}

input#choice_12_6_1,
input#choice_12_6_2{
	margin:0;
}

.gchoice.gchoice_12_6_2,.gchoice.gchoice_12_6_2 {
    display: flex;
} */


/* news-grid.css */

/* Container for the entire grid */
.news-grid-container {
    margin: 20px 0;
}

/* Category Title */
.news-category-title {
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

/* Grid Layout */
.news-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
	margin-bottom: 20px;
}

/* Individual Post Item */
.news-post-item {
    display: grid;
    grid-template-rows: auto 1fr;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-post-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-4px);
}

/* Image Section */
.news-post-image {
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	border-bottom: 1px solid gainsboro;
}

/* Text Container */
.news-post-text-container {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Post Title */
.news-post-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Post Content */
.news-post-content {
    font-size: 14px;
    color: #555;
    flex-grow: 1;
    overflow: hidden;
}

/* Post Date */
.news-post-date {
    font-size: 12px;
    color: #777;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 600px) {
    .news-post-grid {
        grid-template-columns: 1fr;
    }
}