#masthead .hgroup {
		padding-top: 0;
		padding-bottom: 0;
}
#aboutUsColumnContainer {
		display: flex; 
		gap: 2em; 
		justify-content: space-around; 
		text-align: center;
}

.idx-omnibar-form>div {
    width: 80% !important;
}

#bb-IDX-widgetsubmit {
		background-color: #003399;
		color: white;
		width: 100%;
}
/*read more button*/
.so-widget-sow-blog-grid-f872b0c8c2b3-12389 .sow-blog-layout-grid .sow-blog-posts article .sow-entry-content a {
    color: #039;
		padding: 5px 10px;
		font-weight: bold;
}

button i {
    color: #003399 !important;
}

#secondary {
		border-left: solid 2px #003399;
		padding: 0 0 0 20px;
}

#secondary h3 {
		text-align: center;
}

.idx-omnibar-form button {
    width: 20% !important;
		color: #003399 !important;
		font-weight: bold !important;
}
#callBottom {
		position:fixed;
		bottom: 0;
		width: 100%;
		margin: 0 auto;
}
#panel-w66984b1264b8f-0-0-0 {
		padding-bottom: 0 !important;
}
#IDX-detailsTopNav {
		background-color: #003399;
		color: #ffffff;
}
.menuPhone {
		background-color: #28a745;
}
#header-sidebar {
		max-width: 500px;
}
#idx_omnibar_widget-3 h3 {
		font-size: 2em;
		text-align: center;
		color: #003399;
}
#idx_omnibar_widget-3 button {
background-color: #003399;
}
#pg-3287-1 .panel-grid-cell {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
}

.widget_featured-employee {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
}

.widget-agent-wrap {
    text-align: center;
    margin: 10px;
    flex: 1; /* This ensures each agent gets an equal amount of space */
}

.widget-agent-wrap img {
    display: block;
    margin: 0 auto;
}

.widget-agent-details {
    text-align: center;
}

.widget-agent-details .email {
    display: none;
}
.random-agents-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Add spacing between items */
    max-width: 100%;
}

.agent-item {
    flex: 1 1 calc(25% - 20px); /* 4 items in a row with some spacing */
    box-sizing: border-box;
    text-align: center;
    border: solid 3px #003399;
    background-color: #003399;

}

.agent-item img {
    max-width: 100%;
    height: auto;
    max-height: 210px;
    margin-bottom: 0;
}

.agent-name {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
}

.agent-item a {
    color: #003399 !important;
    text-decoration: none;
}

.random-property-container {
    max-width: 100%;
    position: relative;
}

.property-item {
    position: relative;
    width: 100%;
}

.property-thumbnail-wrapper {
    display: flex;
		align-items: center;
    justify-content: center;
		position: relative;
    max-height: 600px;
    overflow: hidden;
}

.property-thumbnail {
    width: 100%;
    height: auto;
    display: block;
		max-width: 100%;
    max-height: 100%;
}

.property-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: linear-gradient(180deg, #00339900, #003399);
    color: #fff;
}

.property-address {
    position: relative;
    font-size: 36px;
    margin: 0 0 0 50px;
    padding: 0;
    line-height: .9em;
}
.property-citystatezip {
    font-size: 24px;
    color: #fff;
    position: relative;
    margin: 0;
    padding: 0;
}

.property-price {
    position: relative;
    float: right;
    color: #ffcc00;
    padding: 0 75px 0 0;
    font-size: 48px;
}

.contact-button {
    position: absolute;
    top: 30px;
    right: 0;
    display: flex;
    align-items: center;
    background-color: #ffcc00;
    color: #003399;
    padding: 10px 10px;
    text-decoration: none;
    border-radius: 90px 0 0 90px;
    transition: background-color 0.3s;
}

.agent-info {
    display: flex;
    align-items: center;
}

.agent-thumbnail {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 20px 0 0;
}

.contact-agent-button {
    font-weight: bold;
		font-size: 1.6em;
		text-align: center;
}

.agent-info a{
    text-decoration: none !important;
}

.fas, .aboutUsColumns h3 {
	color: #ffcf03;
}

.aboutUsColumns {
		background-color: #003399;
		border-radius:20px;
		padding:30px;
		color: #fff;
		margin: 40px 0 20px 0;
		flex: 1;
}

.widget-title {
		color: #003399 !important;
		font-size: 3em !important;
		font-weight: bold;
}

#aboutUs p {
		font-size: 14px;
}

.widget-title {
		font-size: 20px !important;
		line-height: 1.1em;
}

.compareIcons {
		font-size: 40px;
		text-align: center;
}

.myIcons {
		font-size: 80px;
		text-align: center;
}

.compareTitle {
		font-size: 24px;
		font-weight: bold;
		color: #003399;
}

@media screen and (max-width: 640px) {
    body.responsive #footer-widgets .widget, body.responsive #masthead-widgets .widget {
				padding-bottom: 0;
		}
		#header-sidebar{
				display:none !important;
		}
		#site-info {
				padding-bottom: 50px;
		}
		.menuPhone {
		display: none;
}

    .property-item {
        max-width: 100%;
        margin: 0 auto;
        box-shadow: none; /* Simplify design for mobile */
    }

    .property-thumbnail-wrapper {
        max-height: 300px; /* Reduce height for mobile */
        overflow: hidden;
    }

    .property-thumbnail {
        width: 100%;
        height: auto;
        object-fit: cover; /* Ensure proportionate image scaling */
    }

    .contact-button {
        top: auto; /* Adjust placement */
        top: 10px; /* Keep it aligned at the bottom */
        right: 10px;
        left: auto;
        width: auto;
        padding: 8px 12px;
        font-size: 18px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .agent-thumbnail {
        width: 50px;
        height: 50px;
    }

    .contact-agent-button {
        font-size: 12px;
        line-height: 1.2;
    }

    .property-info {
        padding: 8px 10px;
        text-align: left;
        display: block;
				height: 50px;
    }

    .property-address {
        font-size: 16px;
        font-weight: bold;
        margin: 0 0 4px;
				width: 50%;
				float: left;
    }

    .property-citystatezip {
        font-size: 14px;
        color: #666;
    }

    .property-price {
        font-size: 24px;
        font-weight: bold;
        color: #ffcc00;
        text-align: right;
        margin-top: 0;
				padding: 0 0 0 0;
    }
		#pg-3287-1 {
				display: none;
		}
		#aboutUsColumnContainer {
		flex-direction: column;
		justify-content: space-evenly;
		gap: 0; 
}
}