/*!
Theme Name: Sergio Greco
Theme URI: http://underscores.me/
Author: Moinahemad H Mansuri
Author URI: http://wecreatedesign.co/
Description: Custom Theme Developement for Francisco
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: francisco
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Francisco is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
li.menu-item-has-children:hover ul.sub-menu{
display:block;
}
li.menu-item-has-children>ul.sub-menu>li{
	position:relative;
}

li.menu-item-has-children>ul.sub-menu>li>ul.sub-menu {
    display: none !important;
	position:absolute;
	top:0;
	left:100%;
}

li.menu-item-has-children>ul.sub-menu>li.menu-item-has-children:hover>ul.sub-menu {
    display: block !important;
}


ul.sub-menu {
  position: absolute;

    z-index: 1000;
    display: none;
    float: none;
    min-width: 260px;
    padding: 5px 0;
    /*margin: 2px 0 0;*/
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}
#header ul.sub-menu {
    top: 80%;
}

#menu-div ul.sub-menu {
    position: static;
    top: 100%;
}
ul.sub-menu li a{
	display: inline-block;
    width: 100%;
    font-size: 14px;
    color: #0e0e0e;
    letter-spacing: 1px;
    padding: 15px;
    text-transform: uppercase;
    font-family: 'basetica-regularuploaded_file';
    border: none;
    background-color: rgba(256,256,256,.85);
}
ul.sub-menu li a:hover{

    color: #D11242;
}

input.wpcf7-form-control.wpcf7-not-valid{
	border-bottom: 1px solid #f00 !important;
}
span.wpcf7-not-valid-tip{
	display:none;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{
	display:inline-block !important; 
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok{
	display:inline-block !important;
}
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output{
	display:none !important;
}
.wpcf7 form .wpcf7-response-output{
	display:inline-block !important;
	color:#fff !important;
    font-size: 16px;
}



/*** ***/
/*** ***/
/*** Property Details ***/
#bx-custom-slider {
	padding-bottom:90px;
}

#bx-custom-slider .bx-wrapper .bx-prev {
    background: url(../images/arrow-left-black.png) no-repeat;
    left: -40px;
}

#bx-custom-slider .bx-wrapper .bx-next {
    background: url(../images/arrow-right-black.png) no-repeat;
    right: -40px;
}

#bx-custom-slider .bx-wrapper .bx-controls-direction a {
    width: 28px;
    height: 34px;
    background-size: contain;
}	

#s-property p {
	font-size: 17px;
	color: #121212;
	line-height: 30px;
}

#s-property h2 {
    font-size: 40px;
    line-height: 1.1;
    color: #212121;
    font-weight: 600;
    position: relative;
    margin-top: 20px;
    padding-left: 60px;
}

#map .b-btn {
    border: 2px solid #434334;
    z-index: 9;
    color: #434334;
    background: none;
}

#map .b-btn:hover {
	color:#fff;
}

#map .card-header button span {
	margin-left:15px;
}

.bx-pager img {
	width:100%;
}

.gray-bg {
	float:left;
	width:100%;
	padding:10px 15px;
}

.gray-bg a {
	padding:0px 2px;
}

.gray-bg a img {
	border:1px solid gray;
}

iframe {
	margin-bottom:25px;
}


/**tabs **/
.nav-tabs>li.active>a:focus, .nav-tabs>li.active a>a:hover,
.nav-tabs>li.active>a {
    color: #fff !important;
    cursor: default;
    background-color: #ee0000!important;
     border: none !important;
    border-bottom-color: transparent;
}
.nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.428571;
    font-size: 18px;
    border-radius: 0 !important;
    border:none !important;
    /*min-width: 120px;*/
    text-transform: uppercase;
    text-align: center;
    font-weight: bold !important;
}

.nav-tabs {
	border-bottom:0px;
}

/**tabs end**/

/* Tabs Css */
.table>thead>tr>th {
	color:#fff;
	font-size:14px;
	font-weight:bold;
	background:#000;
	padding:0px 30px;
	line-height:53px;
	border:none;
    font-family: 'Montserrat', sans-serif;
}

.table>thead>tr>th.lg {
	font-size:18px;
}

.table-responsive {
	margin-bottom:35px;
	background: #fff;
	padding-bottom: 15px;
}

.table {
	margin-bottom:0px;
}

.table>tbody>tr>td:last-child {
	padding-bottom:0px;
}

.table>tbody>tr>td {
	color:#121212;
	font-size:16px;
	font-weight:400;
	padding:0px 30px;
	padding-left:30px;
	line-height:35px;
	/*border:none;*/
}

.table>tbody>tr>td.bold {
	font-weight:bold;
	text-transform:capitalize;
}

.table>tbody>tr>td.ft {
	padding-top:10px;
}

.top {
	margin-top:20px;
}

.table>tbody>tr>td {
	color:#8c837c;
	font-size:15px;
	padding:12px 15px !important;
	/*border:none;*/
	text-align:left;
}

.table>thead>tr>th.lg {
    font-size: 18px;
	line-height:69px;
}

tr:nth-child(even) {
	/*background-color: #f7f7f7;*/
}

.card-header {
	padding:0px;
	width:100%;
	display:inline-block;
	float:left;
}

.card-header button span {
	float:right;
}

.card-header .btn:before {
	width:0;
	height:0;
}

.card-header .btn-link:focus, .card-header .btn-link:hover {
	background:#474747;
	color:#fff;
	text-decoration:none;
	outline:none;
}

.card {
    padding: 0px 0px 35px 0px;
}

#bx-custom-slider .bx-wrapper {
	margin:0 auto;
}

.card-body .table th {
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	background: #000;
	padding: 0px 30px !important;
	line-height: 59px;
	border: none;
	vertical-align: middle;
    border-top: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
}

.card-header {
	border:none;
}

.card {
	border:none;
}

.btn-info.line {
	line-height:50px !important;
}

#accordion {
	padding-bottom:35px;
}

#map .nav-tabs li {
	margin-bottom:5px;
}

#map {
	padding:40px 0;
}

#s-property {
	padding:70px 0;
	padding-bottom:40px;
}



#map .card-body {
    display: inline-block;
    width: 100%;
}
#map_canvas {
  height: 100px;
  width: 100%;
  margin: 0px;
  padding: 0px
}

/** side-bar**/
.side-bar h3 {
	font-size:34px;
	font-weight:600;
}

.side-bar input {
	width:100%;
	height:50px !important;
	border-radius:0px !important;
}

.side-bar button {
	width:100%;
	border-radius:0px !important;
	padding:0px;
	height:50px !important;
	font-size:14px !important;
}

.list-line {
	float:left;
	width:100%;
	padding:15px 0px;
}

.list-line ul {
	padding-left:0px !important;
}

.list-line ul li {
	list-style:none;
	display:inline-block;
	width:100%;
	background:url(../images/icon-1.png) 0% 8px no-repeat;
	padding-left:25px;
}

.card-header button {
    font-size: 18px;
    line-height: 69px;
    font-weight: bold;
    width: 100%;
    border: none;
    text-transform: uppercase;
    color: #fff;
    padding: 0px 30px;
    background: #474747;
    text-align: left;
    text-decoration: none;
    outline: none;
}

#map .card {
    padding: 0px 0px 0px 0px;
}

#map .panel-group .card-header button {
	pointer-events:none;
}

#s-property h2 {
	margin-bottom:30px;
	text-transform:uppercase;
}

#map h2 {
    font-size: 40px;
    line-height: 1.1;
    color: #212121;
    font-weight: 600;
    position: relative;
    margin-top: 20px;
    margin-bottom: 30px;
    padding-left: 60px;
	text-transform:uppercase;
    font-family: 'Playfair Display', serif;
}

#contact-info.buyers .side-bar ul li:hover {
	opacity:.7;
}
#buyer-info {
    padding-top: 130px;
    padding-bottom: 70px;
}

#buyer-info .img {
    position: relative;
    padding: 0;
    margin-bottom: 20px;
}

#buyer-info h2, #buyer-info h3 {
    position: relative;
    z-index: 2;
    font-size: 46px;
    color: #212529;
    font-weight: 700;
    line-height: 1.35;
    font-family: 'Playfair Display', serif;
}

#buyer-info p {
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

#buyer-info h3 {
    font-weight: 700;
    font-size: 20px;
    color: #212529;
}

#buyer-info input {
    display: inline-block;
    width: 100%;
    padding: 0;
    height: 44px;
    padding-left: 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d;
    border-radius: 3px;
    background-color: #fff;
	border:0px;
    border-bottom: 1px solid #d8dde6;
    margin-bottom: 20px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

#buyer-info select {
    display: inline-block;
    width: 100%;
    padding: 0;
    height: 44px;
    padding-left: 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d;
    border-radius: 3px;
    background-color: #fff;
	border:0px;
    border-bottom: 1px solid #d8dde6;
    margin-bottom: 20px;
    outline: none;
}

#buyer-info textarea {
    display: inline-block;
    width: 100%;
    background: #fff;
    height: 108px;
    padding-left: 20px;
    font-size: 14px;
    color: #6c757d;
	border:0px;
    border-bottom: 1px solid #d8dde6;
    margin-bottom: 20px;
    box-shadow: none;
    outline: none;
    padding-left: 20px;
    padding-top: 15px;
	resize:none;
}

#buyer-info .submit {
    display: inline-block;
    width: auto;
    background: #000;
    color: #fff;
    font-weight: bold;
	text-transform:uppercase;
    min-width: 130px;
    text-align: center;
    padding: 0 15px;
    font-size: 13px !important;
    line-height: 46px;
    transition: 1s;
	border:0px;
}

#buyer-info .submit:hover {
	background:#ee0000;
}

#buyer-info p {
    line-height: 30px;
    font-size: 17px;
    letter-spacing: .01em;
    color: #565859;
    margin: 0;
	margin-bottom:20px;
}

#buyer-info ul {
    letter-spacing: .01em;
    color: #565859;
    line-height: 30px;
    font-size: 17px;
    margin: 0;
}

#buyer-info .bg {
    background-color: #ebecee;
    padding: 25px 10px;
    border-radius: 5px;
    margin-top: 70px;
}

.l-btn .fa {
	margin-right:5px;
}

/*** ***/
#contact-info {
    padding: 0;
    position: relative;
}

#contact-info h2 {
    position: relative;
    z-index: 2;
    font-size: 45px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    color: #212529;
	margin-bottom:30px;
    font-family: 'Playfair Display', serif;
}

#contact-info input, #contact-info  textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: 0;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid #a1a1a2;
    height: 60px;
    margin-bottom: 15px;
    width: 100%;
    font-size: 15px;
    color: #414142;
}

#contact-info  textarea {
	resize:none;
	height:100px;
}

#contact-info .submit {
	display: inline-block;
    width: auto;
    background: #000;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    min-width: 130px;
    text-align: center;
    padding: 0 15px;
    font-size: 13px !important;
    line-height: 46px;
    transition: 1s;
    border: 0px;
	height:46px;
}

#contact-info .submit:hover {
	background:#ee0000;
}

#contact-info .wpcf7 form .wpcf7-response-output, #buyer-info .wpcf7 form .wpcf7-response-output {
	color:#000 !important;
}

#services h3 {
	text-transform: uppercase;
	font-family: 'Playfair Display', serif;
	font-size:36px;
	margin-top:0;
    color: #3f51b5;
}

#services p {
	font-size:18px;
	line-height:1.5;
}

#services .tb {
	margin:35px 0px;
}

#page-title {
    padding: 200px 0;
    margin-top: 70px;
    background-color: #0000005e !important;
    background-blend-mode: overlay;
}
#page-title h1{
    color:#fff;
    text-transform: uppercase;
    font-weight: 700;
}
@media (max-width: 767px){

.row-eq-height {
    display: block !important;
}

#about h3,#approach h3 {
	/*word-break: break-all!important;*/
}

#testimonials .bx-wrapper .bx-prev,#testimonials .bx-wrapper .bx-next {
	display:none !important;
}

#topbar .bt a {
    padding: 6px 3px 0px!important;
    font-size: 12px !important;
}

#about,#testimonials,#services,#buyer-info {
	padding:50px 0px!important;
}

#services h3 {
	font-size:28px !important;
}

#services p {
    font-size: 16px!important;
}

#contact {
	padding-top:50px!important;
}

#contact form {
	padding:20px!important;
}

#about .bg {
	padding:50px 25px!important;
}

.main-title span {
	font-size: 38px!important;
}

#properties .fp-address {
	font-size:16px!important;
}

#properties .other-details .fp-beds {
    padding: 0 3%!important;
}

#contact fieldset p.top {
	margin-top: 34px!important;
	margin-bottom:0px!important;
}

#contact .submit {
	top:-16px!important;
}

#footer {
	margin:0px!important;
	padding:50px 0px!important;
}

#more-btns h3 span {
    font-size: 20px!important;
}

#more-btns {
	padding-bottom:0px !important;
}

.main-title {
	font-size:35px !important;
}

#more-btns h3 {
    font-size: 14px!important;
    line-height: 24px!important;
}

#more-btns a {
    margin: 8px 0!important;
    padding: 8px 18px!important;
}

#footer .menu li {
    margin: 10px 5px!important;
}

li.menu-item-has-children:hover ul.sub-menu {
	position:inherit!important;
	width:100%!important;
	text-align:center !important;
}

#buyer-info h2 {
	font-size:40px !important;
}

#buyer-info h2 {
	font-size:32px !important;
}


#page-title {
    padding: 158px 0px 94px 0px!important;
}

h3#ask_heading {
	font-size:14px !important;
}

.ratehub-calc #calc_extension .section-title {
    font-size: 16px !important;
}

.ratehub-calc #calc_extension .section-header a {
    padding: 13px 2%!important;
}

#header .navbar-default .navbar-nav > li > a {
    line-height: 32px!important;
}

ul.sub-menu li a {
	padding: 6px 15px!important;
}

}

@media (min-width: 768px) and (max-width: 991px) {

.main-title {
	font-size:32px !important;
}

.main-title span {
	font-size:50px!important;
}

#about h4 {
	font-size:18px!important;
}


#page-title {
    padding: 158px 0px 94px 0px!important;
}

h3#ask_heading {
	font-size:14px !important;
}

#footer {
	margin:0px!important;
	padding:50px 0px!important;
}

#about,#testimonials,#services,#buyer-info {
	padding:50px 0px!important;
}

#testimonials .bx-wrapper .bx-prev,#testimonials .bx-wrapper .bx-next {
	display:none !important;
}

.navbar-default .navbar-nav>li>a {
    font-size: 9px !important;
}

#menu-div .tablecell,#menu-div .tablerow {
	height:auto !important;
}

#menu-div ul li a {
    font-size: 13px !important;
}

#menu-div .mt-5 {
    margin-top: 15px!important;
}

#services p {
	font-size:16px !important;
}

li.menu-item-has-children:hover ul.sub-menu {
    left: auto!important;
    right: 0!important;
}

#contact form {
	padding:20px 20px !important;
}

#contact fieldset p.top {
	margin-top:25px!important;
	margin-bottom:0px !important;
}

#more-btns h3 span {
    font-size: 30px !important;
}

#more-btns h3 {
	font-size:23px !important;
}

}


@media (min-width: 992px) and (max-width: 1169px) {
    #menu-div #close {
        top: 10px;
        right: 15px;
    }
.main-title {
	font-size:32px !important;
}

.main-title span {
	font-size:50px!important;
}

#about h4 {
	font-size:18px!important;
}


#page-title {
    padding: 158px 0px 94px 0px!important;
}

h3#ask_heading {
	font-size:14px !important;
}

#footer {
	margin:0px!important;
	padding:50px 0px!important;
}

#about,#testimonials,#services,#buyer-info {
	padding:50px 0px!important;
}



#menu-div .tablecell,#menu-div .tablerow {
	height:auto !important;
}

#menu-div ul li a {
    font-size: 13px !important;
}

#menu-div .mt-5 {
    margin-top: 15px!important;
}

#services p {
	font-size:16px !important;
}

li.menu-item-has-children:hover ul.sub-menu {
    left: auto!important;
    right: 0!important;
}

#contact form {
	padding:20px 20px !important;
}

#contact fieldset p.top {
	margin-top:25px!important;
	margin-bottom:0px !important;
}
#footer .menu li {
    /*
	width:100%;
    */
}

}

/* COLOR CHANGE **/
.main-title em:before, .nav-tabs>li.active>a:focus, .nav-tabs>li.active a>a:hover, .nav-tabs>li.active>a {
	background:#ee0000 !important;
}

#more-btns h3, .main-title {
	color:#000;

}

#more-btns h3 span, .main-title span, #testimonials h6, #menu-div ul li a:hover, #menu-div .side-menu-info a:hover {
	/*color:#D20A40;*/
    color: #D11242;
}

#testimonials .bx-wrapper .bx-pager.bx-default-pager a:hover, #testimonials .bx-wrapper .bx-pager.bx-default-pager a.active {
	background:#ee0000;
}

.l-btn:hover, .l-btn:before, .l-btn:after {
	background:#D11242;
	border-color:#D11242;
}

#more-btns a:hover {
	border-color:#D11242;
}

#more-btns a:before, #more-btns a:after, #contact .submit:hover, #buyer-info .submit:hover, #contact-info .submit:hover {
	background:#D11242;
}

#properties a .hp-fp-details>div {
    position: absolute;
    width: 100%;
    top: 50%;
    bottom: 0;
    left: 0;
    transform: translateY(-50%);
}

input, select {
    display: inline-block;
    width: 100%;
    background: #fff;
    height: 51px!important;
    padding-left: 20px;
    font-size: 14px;
    color: #6c757d;
    border: 1px solid #aaa;
    margin-bottom: 20px;
    box-shadow: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px;
}

textarea {
    display: inline-block;
    width: 100%;
    background: #fff;
    height: 150px;
    padding-left: 20px;
    padding-top: 15px;
    font-size: 14px;
    color: #242424;
    border: 1px solid #aaa;
    margin-bottom: 20px;
    box-shadow: none;
    resize: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px;
}

#topbar .wpml-ls-legacy-list-horizontal {
    display: inline-block;
}

.ratehub-calc .go, .ratehub-calc .get-details{
    background-color: #D11242!important;
}

.ratehub-calc .rh-calc-tabs .rh-holder.selected a, .ratehub-calc .rh-calc-tabs .rh-holder a{
    color: #000 !important;
}

.ratehub-calc .rh-calc-tabs .rh-holder:hover a{
    color: #fff !important;
    background-color: #56ADC2!important;
}

#home-slider{
    padding-top: 70px;
}
@media only screen and (max-width: 768px) {
    #home-slider {

    }
}
.row-flex{
    display: flex;
    flex-wrap: wrap;
}

@media screen and (min-width: 991px){
    .menu-primary-menu-container, .menu-primary-menu-fr-container{
        display: inline-block;
    }
}

.custom-container{
    max-width: 1600px;
    margin: 0 auto;
    display: block;
    padding: 0 20px;
}

@media screen and (min-width: 1400px){
    .custom-container{
        padding: 0 50px;
    }
}

@media screen and (min-width: 1200px){
    .custom-container{
        padding: 0 30px;
    }
}

#int-content{
    padding: 60px 0;
}

#int-content p, #int-content li{
    font-size: 16px;
    padding-bottom: 10px;
}

#buyer-info.int-form{
    padding: 60px 0
}

.int-img{
    position: relative;
}

.int-img:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 8px solid #ee0000;
    left: -20px;
    top: -20px;
    z-index: -1;
}

.int-img img{
    filter: drop-shadow(2px 4px 6px #ccc);
}

#buyer-info h3{
    font-size: 35px;
    margin: 0 0 35px;
}

.members .inner .img {
    position: relative;
}
.members .inner .img img {
    height: 450px;
    object-fit: cover;
    object-position: top;
    width: 100%;
}
.members .inner .img:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    opacity: 0;
    background-image: url(https://sergiogreco.com/wp-content/uploads/2022/07/favicon-sergio.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 2;
    height: 200px;
    transition: 0.7s all ease;
}
.members .member:hover .img:before, .members .member:hover .img:after {
    opacity: 0.6;
}
.members .margin-btm {
    margin-bottom: 30px;
}
.members .member .img:after {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    content: "";
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: 0.7s all ease;
}
.members .name h2 {
    color: #000;
    text-transform: uppercase;
    font-family: 'PrataRegular';
    letter-spacing: 1px;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 0;
}

#about figure, #about .div-with-border {
    /*border: 5px solid #D11242;*/
}
#about .agent-list {
    margin: 20px 0px;
    padding: 0px;
    list-style: none;

}
#about .agent-list li {
    display: inline-block;
    margin-right: 20px;
}
#about .agent-list li a .fa {
    color: #D11242;
    margin-right: 10px;
}
#about .agent-list li a:hover {
    color: #D11242;
}
#contact-info .info {
    border: 1px solid #ebebeb;
    padding: 0 32px 32px;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
#contact-info .info .info-icon {
    background-color: #FFF;
    margin-top: -30px;
    width: 80px;
    height: 65px;
    padding: 0 10px;
    margin-bottom: 10px;
}
#contact-info .info .info-icon i {
    color: #D11242;
    font-size: 48px;
 }

#contact-info .padding-top-btm {
    padding-top: 90px;
    padding-bottom: 90px;
}
#contact-info .info .info-content p {
    min-height: 60px;
}
#contact-info .info .info-text a:hover {
    color: #D11242;
}
/*multi step form*/
#stepper {
    padding: 200px 0;
    background:url(https://sergiogreco.com/wp-content/uploads/2022/07/bg-03.png) no-repeat center/cover;
    color: #fff;
    display:inline-block;
    width:100%;
}
#multi-step-form.fw-wizard {
    background: #ebeaef;
    padding: 30px 20px 50px;
}
#main #multi-step-form p {
    color: #0e0e0e;
    padding: 0;
}
#multi-step-form.fw-large-container .fw-progress-bar .fw-progress-step:before {
    height: 60px;
    line-height: 52px;
    width: 60px;
    font-size: 30px;
    border-radius: unset;
    color: #D11242;
    border: 1px solid #D11242;
    background-color: transparent !important;
   top: -83px;
}
#main #multi-step-form {
    position: relative;
}
#main #multi-step-form .fw-progress-bar-container {
    position: absolute;
    top: 100px;
    right: 10px;
}
#main #multi-step-form .fw-progress-bar .fw-progress-step:nth-child(1):before {
    content: "1/3" !important;
    font-family: 'Cinzel', serif !important;
}
#main.evaluation #multi-step-form .fw-progress-bar .fw-progress-step:nth-child(1):before {
    content: "1/4" !important;
    font-family: 'Cinzel', serif !important;
}
#main #multi-step-form .fw-progress-bar .fw-progress-step:nth-child(2):before {
    content: "2/3" !important;
    font-family: 'Cinzel', serif !important;
}
#main.evaluation #multi-step-form .fw-progress-bar .fw-progress-step:nth-child(2):before {
    content: "2/4" !important;
    font-family: 'Cinzel', serif !important;
}
#main #multi-step-form .fw-progress-bar .fw-progress-step:nth-child(3):before {
    content: "3/3" !important;
    font-family: 'Cinzel', serif !important;
}
#main.evaluation #multi-step-form .fw-progress-bar .fw-progress-step:nth-child(3):before {
    content: "3/4" !important;
    font-family: 'Cinzel', serif !important;
}
#main.evaluation #multi-step-form .fw-progress-bar .fw-progress-step:nth-child(4):before {
    content: "4/4" !important;
    font-family: 'Cinzel', serif !important;
}
#main #multi-step-form.fw-large-container .fw-progress-bar .fw-progress-step .fw-txt-ellipsis {
    display: none;
}
#main #multi-step-form.fw-large-container .fw-progress-bar .fw-progress-step:after {
    display: none;
}
#main #multi-step-form.fw-large-container .fw-progress-bar .fw-progress-step {
    padding: 10px 88px 10px 0;
    width: unset;
    display: none!important;
    margin: 0;
}
#main #multi-step-form.fw-large-container .fw-progress-bar .fw-progress-step.fw-active {
    display: inline-block!important;
}
#multi-step-form.fw-large-container .fw-progress-bar-container {
    text-align: right;
}
#multi-step-form .fw-step-part {
    border-left: none !important;
}
#multi-step-form .fw-wizard-buttons {
    text-align: center;
}
#multi-step-form .fw-step-part {
    background: transparent none repeat scroll 0 0 !important;
}
#multi-step-form h2 {
    color: #0e0e0e;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}
#multi-step-form h2.fw-step-part-title {
    display: none;
}
#multi-step-form .fw-wizard-step-container h3 {
    padding-top: 4px;
    padding-bottom: 3px;
    padding-left: 0;
    color: #D11242;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 24px;
    border-left: 4px solid transparent;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
}
#main #multi-step-form .fa.form-control-feedback {
    margin-top: 15px;
    left: 21px;
}
#main #multi-step-form .fa .fa-envelope {
    left: 12px;
}
#main #multi-step-form.fw-large-container .fw-progress-bar-container {
    width: 100% !important;
    margin: 0;
}
#main .fw-input-container {
    position: relative;
}
#main #multi-step-form .fw-wizard-step-header-container {
    margin-bottom: 0;
}
#main.evaluation #multi-step-form .fw-wizard-step-header-container {
    padding: 0 32px;
}
#main.evaluation #multi-step-form .fw-progress-wrap {
    min-height: 10px;
}
#main #multi-step-form .fw-wizard-buttons button,
#main #multi-step-form .fw-wizard-buttons .fw-btn,
#main #multi-step-form .fw-btn-submit {
    display: inline-block;
    font-weight: 700;
    height: auto;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent !important;
    color: #0e0e0e;
    padding: 12px 35px;
    font-size: 18px;
    line-height: 1.5;
    border: 1px solid #0e0e0e;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: Cinzel, serif;
}
#main #multi-step-form .fw-wizard-buttons button:hover,
#main #multi-step-form .fw-wizard-buttons .fw-btn:hover,
#main #multi-step-form .fw-btn-submit:hover {
    color: #fff;
    background-color: #0e0e0e !important;
}
.evaluation #multi-step-form .fw-wizard-step-header h2 {
    margin-top: 40px;
    font-family: 'Cinzel', serif;
}
#main.evaluation #multi-step-form .select2 {
    width: 100% !important;
}
#main.evaluation #multi-step-form .select2-container--default .select2-selection--single {
    height: 51px !important;
}
#main #multi-step-form.fw-large-container .fw-progress-bar .fw-progress-step:before {
    font-size: 38px;
}
@media screen and (min-width: 577px) {
    #multi-step-form .fw-choice.fw-input-container {
        display: inline-block;
        width: 49%;
    }
    [data-type="fw-text"],
    [data-type="fw-email"],
    [data-type="fw-numeric"] {
        display: inline-block;
        width: 49% !important;
    }
    #main #multi-step-form .fw-btn-submit {
        min-width: 22%;
        width: auto;
        display: block;
        margin: auto;
        padding: 12px 35px !important;
    }
    .evaluation [data-stepid="0"] .fw-step-block:first-child {
        display: inline-block;
        width: 70% !important;
    }
    .evaluation [data-stepid="0"] .fw-step-block:nth-child(2) {
        display: inline-block;
        width: 29% !important;
    }
    [data-type="fw-select"] {
        display: inline-block;
        width: 49% !important;
    }
    #multi-step-form .fw-textarea {
        height: 40px;
        min-height: 45px !important;
    }
}
#multi-step-form [data-type=fw-radio] label, #multi-step-form [data-type=fw-checkbox] label {
    color: #000;
}
/*multi step forms style ends*/
@media only screen and (max-width: 576px) {
    #services p {
        font-size: 14px !important;
    }
    #contact-info h2 {
        font-size: 25px;
    }
}
#side-menu .current-menu-item a {
    color: #D11242;

}
@media only screen and (max-width: 1199px) {
    #primary-menu .current-menu-item a, #primary-menu .current-menu-parent> a:first-child, #side-menu .current-menu-item a {
        font-weight: 700!important;
}
}
#payment-calc .rh-calc-main .rate-selector {
    color: #D11242!important;
    font-weight: 500;
}
#payment-calc .calc-tip-middle {
    background: #000 !important;
    border-radius: 5px;
    padding-top: 7px!important;
    padding-bottom: 7px!important;
}
#payment-calc .calc-tip-top, #payment-calc .calc-tip-bottom {
    display: none;
}
#payment-calc .calc-tip-wrapper .active:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -9px;
    right: auto;
    top: 20px;
    bottom: auto;
    border: 12px solid;
    border-color: #000 #000 transparent transparent;
}
#payment-calc .calc-tip-nib {
    display: none;
}
.ratehub-calc #calc_extension .section-content h4 {
    color: #D11242!important;
}
.ratehub-calc #calc_extension .rate-risk .ledger-items li:first-child+li {
    color: #D11242!important;
}
#payment-calc.ratehub-calc #calc_extension .amortization tbody .highlight td, #payment-calc.ratehub-calc #calc_extension .amortization tbody .highlight th {
    border: 1px solid #D11242;
    background-color: #D11242 !important;
    color: white;
}
.rh-tooltip-container .rh-title {
    background-color: #D11242!important;
}
@media (min-width: 992px) and (max-width: 1370px) {
    .navbar-default .navbar-nav>li>a {
        font-size: 11px !important;
    }
    #testimonials .bx-wrapper .bx-prev,#testimonials .bx-wrapper .bx-next {
        display:none !important;
    }
}
#approach .min-height {
    min-height: 450px ;
  }
@media only screen and (max-width: 991px) {
    #approach .min-height {
        min-height: 150px ;
        margin-bottom: 50px;
    }
    #approach {
        padding: 100px 20px;
    }
}
#about .wel-photo img {
    object-fit: cover;
    width: 100%;
}
#mix-container-dfb6984cac63 {
    margin-top: 20px;
}
@media only screen and (max-width: 767px) {
    #about .wel-photo img {
        margin-bottom: 50px;
    }
    #mix-container-dfb6984cac63 {
        margin-top: 50px;
    }
    #services .top-mrg-div {
        margin-top: 30px;
    }
    .fw-wizard-step-header-container {
        margin-top: 60px;
    }
    #payment-calc .calc-tip-wrapper {
        display: none;
    }
}
@media only screen and (min-width: 577px) and (max-width: 767px) {
    .members .inner .img img {
        object-fit: contain;
    }
    .members .member .img:after {
        display: none;

    }
}
#contact-info .tablerow {
    margin-bottom: 100px;
    margin-top: 50px;
}
#multi-step-form div.fw-step-summary-field {
    color: #000;
}
.ratehub-calc .calc-social-icons {
   display: none;
}
@media only screen and (max-width: 345px){
#about .agent-list a {
    font-size: 14px
}}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    #contact-info .info-content p {
        font-size: 13px;
    }
}

#buyer-info form h4 {
    min-height: 58px;
}
@media only screen and (max-width: 499px) {
    #multi-step-form .fw-progress-bar .fw-progress-step:before {
        height: 60px!important;
        line-height: 52px!important;
        width: 60px!important;
        font-size: 30px!important;
        border-radius: unset!important;
        color: #D11242!important;
        border: 1px solid #D11242!important;
        background-color: transparent !important;
        top: -83px!important;
    }
    #multi-step-form .fw-progress-bar .fw-progress-step {
        padding: 10px 88px 10px 0;
        width: unset;
        display: none!important;
        margin: 0;
    }
    #multi-step-form .fw-progress-bar .fw-progress-step.fw-active {
        display: inline-block!important;
    }
    ul.fw-progress-bar li.fw-active .fw-txt-ellipsis {
        display: none;!important;
    }
}
@media only screen and (max-width: 424px) {
    #services #payment-calc h3 {
        font-size: 15px!important;
    }
    #payment-calc .rh-calc-head #ask {
        width: 70px!important;
    }
    #payment-calc .rh-calc-head .go {
        width: 75px!important;
    }
    h1 {
        font-size: 35px;
    }
}
.modal-content .wpcf7 form .wpcf7-response-output {
    color: #000 !important;
    }
.home-cta {
    text-align: center;
    position: absolute;
    bottom: 30px;
    z-index: 1;
    width: 100%;

}
.swiper-button-prev:after, .swiper-button-next:after {
    color: #fff;
}
#home-slider .swiper-slide img {
    object-fit: cover;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
}
#home-slider #work .single-box {
    padding: 0px;
}
#home-slider #work .single-box .tableCell {
    border: 2px solid #fff;
}
#home-slider #work .single-box.cta-active .tableCell {
    border: 2px solid #D11242;
}
#home-slider #work .single-box:hover {
    background: #D11242;
    border: none;
}
#home-slider #work .single-box:hover .tableCell {
    border: none;
}
#home-slider #work .single-box {
    padding: 0px;
}
#work .single-box {
    background: transparent;
    padding: 20px;
    transition: 0.3s;
    cursor: pointer;
}
#work .single-box.cta-active {
    background: #D11242;
}
.tableRow {
    display: table;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.tableCell {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
#work .cta-title {
    padding: 15px;
}
#work .cta-title p {
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    margin: 0!important;
}
#work .banner-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 70px;
    margin-bottom: 150px;
    font-weight: 500;
}
@media only screen and (max-width: 1700px) {
    .home-cta {
        bottom: 20%;
    }
}
@media only screen and (max-width: 1440px) {
    .home-cta {
       top: 20%;
    }
}
@media only screen and (max-width: 1199px) {
    #work .banner-title {
        margin-bottom: 50px;
        font-size: 55px;
    }
}
@media only screen and (max-width: 991px) {
    #work .banner-title {
        display: none;
    }

    .home-cta {
        position: relative;
    }

    #home-slider #work .single-box .tableCell {
        border: 2px solid #D11242;
    }

    #work .cta-title p {
        color: #D11242;
    }

    #work .single-box.cta-active .cta-title p {
        color: #fff;
    }
    #home-slider #work .single-box:hover .cta-title p {
        color: #fff;
    }
    #work {
        padding: 30px 0;
    }
}
.swiper-slide::before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: "";
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
}