/*
Theme Name:   Mortagage Custom Theme
Author:       Ateeq Chouhan
Author URI:   https://www.upwork.com/freelancers/~01e62daf2a0163158e
Site URI:     https://iosofts.com/
Template:     hello-elementor
Version:      1.0
*/

/*  Global CSS */
html {
  scroll-behavior: smooth;
}
*:focus {
  outline: unset;
}
*:last-child {
  margin-bottom: 0;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}


/*Gravity form*/
.gfield input {
    height: unset !important;
}
.gfield input,
.gfield textarea,
.gfield select {
    outline: unset !important;
    box-shadow: none !important;
}
.gfield input:focus,
.gfield textarea:focus,
.gfield select:focus {
    box-shadow: none !important;
}
.gform_button:focus {
    box-shadow: none !important;
    outline: unset !important;
}
.gform_required_legend,
.gform_validation_errors {
  display: none !important;
}
.validation_message {
  padding: 0 !important;
  background: unset !important;
  border: unset !important;
}
.gform_confirmation_message {
  text-align: center !important;
  color: #000 !important;
}
.captcha_img {
  max-width: 100px !important;
}
.gform_footer {
    padding: 0 !important;
}
.gform_footer .button {
    margin-bottom: 0 !important;
}
.gform_ajax_spinner {
    display: none !important;
}

/*  Global CSS END */



/* Header */
.main_header {
	box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 1px 10px 0 rgba(0, 0, 0, .1);
}
.main_header a:hover, .main_menu a:hover {
    opacity: .7;
}

/* Footer */
.site_footer a:hover {
	 opacity: .7;
}

/* Home */

.testimonial_form .gform_fields {
	row-gap: 16px !important;
}
.testimonial_form select {
	padding: 7px !important;
}
.testimonial_form .uael-gf-style .uael-gf-select-custom:after {
	display: none !important;
}
#testimonial_form textarea {
	height: 58px;
	min-height: 58px;
	max-height: 100%;
}

body .title-comments {
	display: none;
}
body .comment-list {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
body .comment-body {
	position: relative;
	background-color: #eff1f2;
	padding: 22px !important;
	line-height: 1.5;
	margin-bottom: 1.5em;
	border-block-end: unset !important;
}
body .comment-body::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid transparent;
	border-top-color: #eff1f2;
}

body .comment-author {
	display: flex;
	align-items: center;
	position: absolute;
	bottom: -60px;
	left: 10px !important;
}
body .comment-author .fn a {
	font-family: "Raleway", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2em;
    color: var(--e-global-color-primary);
}
body .comment-author img {
	position: unset !important;
}
body .comment-metadata,
body .says {
	display: none;
}
#comments .comment-meta {
	margin-block-end: 0;
}
/* Home end */

/* Contact Page */
#contact_form .ginput_container_consent input[type="checkbox"] + label:before {
    border-radius: 0;
    height: 13px;
    width: 13px;
}
#contact_form .gfield_consent_label {
	margin-left: 0;
}
#contact_form .ginput_container_consent input[type="checkbox"]:checked + label:before {
    font-size: 10px;
}
/* Contact end */

/* Blog Page */
.blog_posts .uael-post__inner-wrap {
	display: flex;
  gap: 28px;
}
.blog_posts .uael-post__content-wrap  {
	display: flex;
  flex-direction: column;
	align-items: flex-start;
}
.blog_posts .uael-post__content-wrap .uael-post__meta-data {
	order: 1;
}
.blog_posts .uael-post__thumbnail {
	flex-shrink: 0;
}
.blog_posts .uael-post__thumbnail img {
	object-fit: cover;
	border: 1px solid black;
	width: 200px;
	height: 200px;
	padding: 5px;
	border-radius: 4px;
}
.blog_posts .uael-post__meta-data svg {
  height: 14px;
	width: 14px;
}

.blog_posts .uael-post__terms-meta {
	border-left: 1px solid;
  padding-left: 7px;
}

.recent_posts .uael-post__footer {
	margin-top: 0 !important;
}
.recent_posts .uael-post__title {
	position: relative;
	display: flex;
	gap: 5px;
}
.recent_posts .uael-post__title:before {
	content: "";
	background: url(/wp-content/uploads/2025/07/arrow.svg);
	background-repeat: no-repeat;
	height: 15px;
	width: 15px;
	display: block;
	margin-top: 3px;
}

.post_tags a {
	padding: 7px 12px;
	background-color: #182255;
}
.post_tags .elementor-heading-title {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.post_tags_loop .elementor-loop-container {
	display: flex !important;
  flex-wrap: wrap;
}

/* Single */
.single_blog_content ul {
	padding-left: 28px;
  padding-bottom: 16px;
}
.post_info .elementor-post-info__item-prefix {
	padding-right: 15px;
}
.post_info .elementor-post-info__terms-list a {
	text-decoration: underline;
}

/* Share buttons */
.share_btns .elementor-share-btn {
	overflow: visible;
}
.share_btns .elementor-share-btn__icon {
	flex-shrink: 0;
	margin-inline-start: 0;
}
.share_btns .elementor-share-btn__text {
	transition: all 0.2s ease-in;
	display: none;
	font-weight: 500;
	left: -35px;
	letter-spacing: 0.5px;
	opacity: 0;
	position: relative;
}
.share_btns .elementor-share-btn:hover .elementor-share-btn__text {
	opacity: 1;
	display: flex;
	left: 0;
}
.share_btns .elementor-grid-item:nth-child(1) .elementor-share-btn {
	border-radius: 0 5px 0 0;
}
.share_btns .elementor-grid-item:last-child .elementor-share-btn {
	border-radius: 0 0 5px 0;
}


@media (max-width: 767px) {
	.blog_posts .uael-post__inner-wrap {
    gap: 10px;
    flex-wrap: wrap;
	}
	
}

/* Blog end */

/* SiteMap */
.sitemap .uael-nav-menu {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.sitemap .menu-item {
    width: calc(33.33% - 60px);
    margin: 0 30px;
    position: relative;
    display: flex;
    align-items: center;
}
.sitemap .menu-item:before {
    content: "";
    background: #b90713;
    height: 7px;
    width: 7px;
}
.sitemap .sub-menu {
    top: 0 !important;
}
.sitemap .sub-menu .menu-item {
    width: 100%;
}
.sitemap .sub-menu .menu-item:before {
    display: none;
}
.sitemap .sub-menu .menu-item a:after {
    content: "";
    position: absolute;
    background: #232d5f;
    height: 9px;
    width: 9px;
    border-radius: 50%;
    left: 0px;
    top: 20px;
}
.sitemap .uael-menu-toggle:hover {
    border: 0px;
}
@media (max-width: 1024px) {
    .sitemap .menu-item {
        width: 40%;
    }
}
@media (max-width: 767px) {
    .sitemap .menu-item {
        width: 100%;
				margin: 0;
    }
}

/* end */

.sidebar_form .gfield--input-type-text.gfield--width-half {
	grid-column: span 12 !important;
}

.blog_posts.home .uael-post__inner-wrap {
	display: block;
}
.blog_posts.home .uael-post__thumbnail img {
	width: 100%;
  height: auto;
	display: block;
  margin-bottom: 10px;
}
.blog_posts.home .uael-post__footer {
    margin-top: 0px !important;
}
.blog_posts.home .uael-post__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
