body {
    background: #f0f0f1 !important;
    color: #3c434a !important;
}
.wp-block-group-is-layout-constrained{
    display:none;
}

.selection-boxes {
    display: flex;
    justify-content: space-between; /* Adds proper spacing between the two boxes */
    margin-top: 20px;
}

.selection-box {
    width: 45%; /* Adjust width as needed */
    padding: 20px;
    background-color: #f8f9fa; /* Light background color */
    border: 2px solid #ddd; /* Border around the box */
    border-radius: 8px; /* Rounded corners */
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition for hover effects */
}

.selection-box:hover {
    background-color: #e9ecef; /* Slightly darker background on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow on hover */
}

.selection-box span {
    font-size: 18px;
    color: #333; /* Text color */
    font-weight: bold;
}

#residential-btn {
    border-color: #28a745; /* Green border for Residential */
}

#commercial-btn {
    border-color: #17a2b8; /* Blue border for Commercial */
}

h4#EstimateHeading {
    text-align: center;
    font-size: 26px;
    margin-top: 0px;
}

/* Add this class to the button when it's not clickable */
.not-clickable {
    pointer-events: none; /* Makes it not clickable */
}


.search-form-row {
    background-color: #555555 !important;
    text-align: center !important;
    padding-top: 18px !important;
    padding-bottom: 0;
    width: 100% !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.search-form-btn {
    font-size: 18px !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    background-color: #1d7a36 !important;
    background-image: linear-gradient(to bottom, #27A94B, #1d7a36) !important;
    background-repeat: repeat-x !important;
    text-shadow: 0 -1px 0 #17612b !important;
    margin-top: 10px;
    margin-bottom: 0px;
    margin-left: 5px;
}

.search-form-input {
    /*height: 40px !important;
    width: 150px !important;
    margin-top: 10px;*/
}

.search-form-label {
    font-size: large !important;
    color: rgb(255, 255, 255) !important;
    display: inline;
    font-size: 22px !important;
}

.search-form-label-can {
    font-size: large !important;
    color: rgb(255, 255, 255) !important;
    display: inline;
    margin-top: 1px;
    font-size: 14px !important;
}

.search-form-col {
    margin-right: auto;
    margin-left: auto;
}

.outcont {
    max-width: 880px;
    margin: 0px auto;
}

@media(max-width: 768px) {
    #page-content > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .search-form-col {
        margin-right: -10px;
        margin-left: -10px;
        float: none;
    }
    .search-form-label, .search-form-label-can {
        float: none;
        margin-top: 1px;
    }
}

.res-search-results-match{
    display: none;
}
.res-search-results-no-match{
    display: none;
}
.com-search-results{
    display: none;
}
.home-advisor-iframe{
    width: 100%;
    height: 1700px;
    overflow: hidden;
    border-width: 0px !important;
}
.btn-match
{
    /*width: 90% !important;
    height: 70px !important;*/
    background: #ed2226 !important;
    background-image: -webkit-linear-gradient(top, #ed2226, #9e292d);
    background-image: -moz-linear-gradient(top, #ed2226, #9e292d);
    background-image: -ms-linear-gradient(top, #ed2226, #9e292d);
    background-image: -o-linear-gradient(top, #ed2226, #9e292d);
    background-image: linear-gradient(to bottom, #ed2226, #9e292d);
    /*-webkit-border-radius: 28 !important;
    -moz-border-radius: 28 !important;
    border-radius: 28px !important;*/
    font-family: Arial;
    color: #ffffff !important;
    font-size: 20px !important;
    padding: 10px 20px 10px 20px;
    text-decoration: none !important;
}
.btn-type-choice
{
    width: 50% !important;
    height: 70px !important;
    background: #ed2226 !important;
    background-image: -webkit-linear-gradient(top, #ed2226, #9e292d);
    background-image: -moz-linear-gradient(top, #ed2226, #9e292d);
    background-image: -ms-linear-gradient(top, #ed2226, #9e292d);
    background-image: -o-linear-gradient(top, #ed2226, #9e292d);
    background-image: linear-gradient(to bottom, #ed2226, #9e292d);
/*    -webkit-border-radius: 28 !important;
    -moz-border-radius: 28 !important;
    border-radius: 28px !important;
    font-family: Arial;
*/  color: #ffffff !important;
    font-size: 20px !important;
    padding: 10px 20px 10px 20px;
    text-decoration: none !important;
    margin-bottom: 15px;
    margin-top:20px;
}
.btn-back
{
    width: 8% !important;
    height: 36px !important;
    background: #ed2226 !important;
    background-image: -webkit-linear-gradient(top, #ed2226, #9e292d);
    background-image: -moz-linear-gradient(top, #ed2226, #9e292d);
    background-image: -ms-linear-gradient(top, #ed2226, #9e292d);
    background-image: -o-linear-gradient(top, #ed2226, #9e292d);
    background-image: linear-gradient(to bottom, #ed2226, #9e292d);
    color: #ffffff !important;
    font-size: 16px !important;
    text-decoration: none !important;
    float: left;
    margin-left: -103px;
    margin-top: 2px;
}
h2.fh2 {text-align:center; font-size:26px; margin-top:0px;}
h3.fh3 {text-align:center; font-size:24px; margin-top:0px;}
.mar1 {margin-left:2px; margin-right:2px;}
.mar2 {margin-top:10px;}
.mar3 { margin-left:-6px !important; margin-right:-6px !important;}
.mar4 { margin-left:-6px !important; margin-right:3px !important; line-height:20px; text-align:center;}
.thmar {margin-top:100px;}
.imagebg {width:1120px;padding:0px !important;}

.bgwhite { background-color:#ffffff;}
span.brintext {display:none;}
.reqfields { font-size:14px; color:#FF0000; text-align:right;}
.discl { font-size:12px}
@media(max-width:768px){
    /*	.search-results-iframe{border:none !important;}*/
    .container {padding-left: 0px !important; padding-right: 0px !important;}
    .btn {white-space: normal !important;}
    .btn-back{ margin-left: 3px; margin-bottom:10px; width: 21% !important;}
    .imagebg {width:100%;padding:0px;}
    .btn-type-choice {margin-top:0px;}
    .mar2 {margin-top:35px;}
    #page-content > .container {
        padding-left: 0px;
        padding-right: 0px;
    }
    body.page-body{margin-left: 0px; margin-right:0px; background-color:transparent !important;}
    h2.fh2 {text-align: center;font-size: 20px; margin-top: 0px;}
    h3.fh3 {text-align: center;font-size: 18px; margin-top: 0px;}
    .mar3 { margin-left:-6px !important; margin-right:3px !important;}
    .mar4 { margin-left:-6px !important; margin-right:3px !important; line-height:20px; text-align:center;}
    span.brintext {display: inline;}
    .discl { font-size:11px !important;}
}

#step_2{
    display: none;
}
#step_3{
    display: none;
}
.type-choice-div {
    padding: 20px;
}
.thankyou{height:443px; margin-bottom:100px;}

.halength {max-height:1200px;}


.modal {
    left: 12% !important;
    top: 7% !important;
    max-width: 75% !important;
}

.modal-dialog {
    max-width: 800px !important;
    margin: 1.75rem auto ;            
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    max-height: 80vh; /* Ensure the modal doesn't exceed 90% of the viewport height */
}

.modal-body {
    position: relative;
    padding: 1rem;
    /*overflow-y: auto;  Allow vertical scrolling for long content */
    max-height: 55vh; /* Limit modal body height to 60% of the viewport */
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

.alert-danger {
    color: red;
    border-color: #c3e6cb;
    height: 50px;
}

.LeadsForm-Step2{
    text-align: center;
    margin: 0px !important;
    border: 1px solid lightgray;
	border-top: 0;
}

.LeadsForm-Step3{
    margin: 0px !important;
    padding:15px; 
    border: 1px solid lightgray;
}

.residentialbg{
	height:400px;
	margin-top:0px; 
	border:thin; 
	border-color:#fff;
	border-right:1px solid #fff;
	}
.commercialbg{
	height:400px;
	border:thin; 
	border-color:#fff;
	}


@media(max-width:768px){
    .residentialbg{height:150px; margin-bottom:0px; margin-top:0px;overflow: auto; width:100%; padding:0px; }
    .commercialbg{height:150px; margin-bottom:0px;overflow: auto; width:100%; margin-top:5px; padding:0px;}
}