.cft-search-results a,
#cft-profile-name a,
#cft-profile-alter .cft_company_preview_1_1_right_name a {
    margin-right: 10px;
}

.cft-search-form {
    display: flex;
    margin: 0 auto 50px;
    justify-content: space-between;
    width: 100%;
}

.cft-searchform-field:last-child {
    margin-right: 0;
}

.cft-searchform-field label {
    position: relative;
}

.cft-searchform-field .cft-error-message {
    position: absolute;
    background: #555C77;
    color: white ! IMPORTANT;
    padding: 4px 10px;
    width: 200px;
    top: -50px;
    left: -50px;
}

.cft-searchform-field .cft-error-message::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    transform: translateX(-10%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #555C77 transparent transparent;
}

.popup-content .cft-searchform-field:nth-child(3) .cft-error-message,
.popup-content .cft-searchform-field:nth-child(4) .cft-error-message  {
    top: 55px;
}

.popup-content .cft-searchform-field:nth-child(3) .cft-error-message::after,
.popup-content .cft-searchform-field:nth-child(4) .cft-error-message::after {
    bottom: 35px;
    transform: rotate(180deg);
}


.cft-searchform-field {
    display: flex;
    align-items: center;
    border: 1px solid #C7C7C8;
    background: white;
    margin-right: 25px;
    padding: 0 20px 0 0;
    height: 50px;
    width: 25%;
}

.cft-searchform-params-ico {
    width: 50px;
    border-right: 1px solid #C7C7C8;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cft-searchform-field label {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
    max-width: 250px;
    width: 100%;
}

.cft-search-form select {
    border: none;
    height: 100%;
    border-radius: 0;
    width: 100%;
    font-size: 18px;
    color: #455064;
    font-family: figtree-light, figtree;
}

.cft-search-form button.search-submit {
    background: #fc5a43;
    border-radius: 10px;
    font-size: 20px;
    color: #fff;
    line-height: 1.2;
    padding: 10px 30px;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.cft-search-form button.search-submit:hover {
    background: #fc3a20;
}

.cft_company_preview {
    display: flex;
    flex-direction: column;
    margin: 40px 0;
    border: 1px solid #efefef;
    box-shadow: 6px 5px 15px 3px #00000012;
}

.cft_company_preview:first-child {
    margin-top: 0;
}

.cft_company_preview:hover .cft_company_preview_1_1_right_name>a {
    color: #000D9E !important;
}

.cft_company_logo {
    display: flex;
    justify-content: center;
}

.cft_company_link a {
    line-height: 1.2;
    border: 1px solid #1522B6;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: inline-block;
    cursor: pointer;
}

.cft_compare_chkbx {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
}

.cft_compare_chkbx input {
    margin-right: 10px;
}

.cft-search-results-compare {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    margin: 0;
}

.cft-search-results-compare-wrap {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.cft-search-results-compare-main .cft-search-results-compare-wrap {
    display: flex;
    align-items: center;
}

.cft-search-results-compare-title {
    font-weight: 600;
    color: black;
    padding: 10px;
    border-top: 1px solid #C9CBDE;
    background: #F3F4F8;
    font-size: 22px;
    font-family: figtree-medium;
    border-bottom: 1px solid #C9CBDE;
}

.cft-search-results-compare-items {
    display: flex;
    flex: 1;
    width: 70%;
}

.cft-search-results-compare-btn {
    width: 30%;
    margin: 20px 0;
}

.cft-search-results-compare-title>div {
    padding-left: 10px;
}

.cft-search-results-compare-main {
    display: flex;
    align-items: center;
}

.cft-compare-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 1px solid #C9CBDE;
    padding: 30px 12px 10px;
    position: relative;
    flex-direction: column;
    width: 160px;
    min-height: 150px;
    text-align: center;
}

.cft-compare-item:last-child {
    border-right: 1px solid #C9CBDE;
}

.cft-compare-item-name {
    font-size: 16px;
    color: black;
    line-height: 1.2;
    font-family: figtree-medium;
    height: 100%;
    display: flex;
    align-items: center;
}

.cft-compare-item-remove {
    background: none;
    position: absolute;
    right: 5px;
    top: 5px;
    border: none;
    color: #555C77;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    font-family: sans-serif !important;
    font-weight: 100;
}

.cft-compare-item-remove:hover {
    color: #1522B6;
}

#cft-compare-btn:disabled {
    background: #C9CBDE;
    cursor: not-allowed;
}

.cft-compare-item-logo {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

#cft-compare-warning {
    margin-top: 5px;
    margin-right: 20px;
}

.cft_company_preview_1 {
    width: 50%;
    padding: 30px 30px 10px;
    position: relative;
}

.cft_company_preview_1:before {
    content: "";
    position: absolute;
    right: 10px;
    top: 20px;
    bottom: 25px;
    width: 1px;
    background: #C9CBDE;
}

.cft_company_preview_2 {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 30px 30px 10px 10px;
}

.cft_company_preview_expertise {
    border-bottom: 2px solid #C9CBDE;
    padding: 20px;
    display: flex;
    height: 100%;
}

.cft_company_preview_btns {
    padding: 0 30px 30px;
    display: flex;
    justify-content: space-between;
}

.cft_company_preview_1_1_right_name>a {
    margin: 0;
}

.cft_company_preview_quote a,
.cft-compare-section_body .cft-compare-quote a {
    border: 1px solid #1522B6;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
    color: #1522B6;
    font-size: 12px;
    font-weight: 600;
    background: white;
    display: inline-block;
    text-align: center;
}

.cft-compare-quote {
    margin-top: auto !important;
}

.cft_company_preview_quote a:hover,
.cft-compare-section_body .cft-compare-quote a:hover {
    color: #1522B6;
}    


.cft_company_preview_expertise>div {
    width: 50%;
    padding: 20px;
}

.cft_company_preview_1_1 {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.cft_company_preview_1_1_right {
    margin-left: 20px;
}

.cft_company_preview_1_1_right_name {
    font-size: 25px;
    line-height: 1;
    font-weight: 600;
    /* display: flex;
    align-items: center; */
}

/* .cft_company_preview_1_1_right_name .cft-element-popup {
    display: flex;
    align-items: center;
} */

.cft_company_preview_1_1_right_name a {
    color: black;
}

.cft_company_preview_1_2 {
    margin-bottom: 20px;
}

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

.cft_company_preview_1_2>div {
    width: 50%;
    padding: 3px;
    color: #555C77;
    font-size: 14px;
}

.cft_company_preview_1_2 span {
    font-weight: bold;
}

.cft_company_range_num {
    margin: 0 auto;
}

.cft_company_expertise_title {
    font-size: 20px;
}


.getquote_popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.getquote_popup-content {
    background: #fff;
    border-radius: 5px;
    position: relative;
    width: 80%;
    max-width: 1200px;
}

.getquote_close-popup {
    position: absolute;
    top: -5px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 100;
    color: #fff;
    font-family: sans-serif;
}

.getquote_popup_main {
    display: flex;
}

.getquote_popup_main>div {
    padding: 30px;
}

.getquote_popup_right {
    padding: 20px;
    background: linear-gradient(130deg, #0E2168, #1E3898);
    text-align: center;
    display: flex;
    align-items: end;
    width: 35%;
}

.getquote_popup_left {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 65%;
    flex-direction: column;
}

.getquote_popup_left>div {
    width: 100%;
    margin-bottom: 10px;
}

/*  === Coparison page ===  */


.cft-compare-section-main {
    border: 1px solid #C9CBDE;
    display: flex;
    border-bottom: none;
}

#cft-compare-estimate {
    border-bottom: 1px solid #C9CBDE;
}

.compare2 .cft-compare-section_header,
.compare2 .cft-compare-section_body {
    width: 30%;
}

.compare3 .cft-compare-section_header,
.compare3 .cft-compare-section_body {
    width: 20%;
}

#cft-compare-section-glance2 .cft-compare-section_body_ai {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.cft-compare-section_header {    
    border-right: 1px solid #C9CBDE;
    padding: 20px;
    font-size: 16px;
    color: #555C77;
}

.cft-compare-section_body {
    border-right: 1px solid #C9CBDE;
    padding: 25px;
}

.cft-compare-section_info {
    margin: 0 10px;
}

/* .cft-compare-topsection .cft-compare-section_body_cp.cft-compare-checkmark {
    background: #F3F4F8;
} */

.cft-compare-name a {
    color: black;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    display: inline-block;
    text-align: center;
}

.cft-compare-name {
    margin: 20px 0;
    height: 100%;
}

#cft-compare-section-logo .cft-compare-section_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cft-compare-name a:hover {
    cursor: pointer;
    color: #1522B6;
}

#cft-compare-section-glance2 .cft-compare-section_body {
    text-align: center;
}

.cft-compare-expertise2 a {
    color: #1522B6;
}

.cft-compare-details2-3>div {
    display: flex;
    align-items: center;
}

/* #cft-compare-budget .cft-compare-section_body_cp.cft-compare-checkmark {
    border-bottom: 1px solid #C9CBDE;
} */

#cft-compare-section-logo .cft-compare-section_body_cp,
.cft-compare-bottomsection .cft-compare-section_body_cp,
#cft-compare-info .cft-compare-section_body_cp,
#cft-compare-estimate .cft-compare-section_body_cp {
    background: #F6F7F9;
}




/*  === Progress Ring === */

.progress-ring {
    --progress: 66;
    width: 45px;
    height: 45px;
    position: relative;
    margin-right: 20px;
  }

  .progress-ring svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
  }

  .progress-ring circle {
    fill: none;
    stroke-width: 6;
    r: 16;
    cx: 25;
    cy: 25;
  }

  .progress-ring .bg {
    stroke: #e5e7eb; /* Light gray background */
  }

  .progress-ring .progress {
    stroke: grey; /* Default grey */
    stroke-dasharray: 100;
    stroke-dashoffset: calc(100 - (100 * var(--progress) / 100));
    transition: stroke-dashoffset 0.5s ease, stroke 0.5s ease;
    stroke-linecap: round;
  }

/* Dynamic colors based on additional class */
.progress-ring.progress-low .progress {
    stroke: #ef4444;
}

.progress-ring.progress-medium .progress {
    stroke: #FFC85C;
}

.progress-ring.progress-high .progress {
    stroke: #11C517;
}

.progress-ring svg {
    position: relative;
    top: auto;
}

#cft-compare-section-glance1 .cft-compare-section_body {
    display: flex;
    align-items: center;
}

.cft-element-infoico {
    margin: 0 5px;
    line-height: 1.2;
    display: inline-block;
}

.cft-profile .cft-element-infopopup {
    white-space: normal;
}

.cft-profile .cft-element-infopopup {
    bottom: 190%;
}

.cft-element-popup {
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.cft-compare-differences .cft-compare-differences-wrap .cft-element-infoico {
    bottom: 3px !important;
    position: relative;
}

.cft-element-infopopup {
    display: none;
    position: absolute;
    background: #555C77;
    width: 220px;
    padding: 20px;
    color: #fff;
    z-index: 10;
    top: auto;
    bottom: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 13px;
    z-index: 999;
}

.cft-element-infopopup::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #555C77 transparent transparent transparent;
}

.cft-element-infopopup.active {
    display: block;
}

.cft-element-infopopup_txt {
    font-size: 13px;
    font-weight: 100;
    line-height: 1.4;
}

#cft-profile-btns {
    display: flex;
    align-items: center;
    padding: 8px 0 20px 0;
    width: 45%;
    justify-content: end;
    margin-bottom: auto;
}

.cft-profile-name-right1 h1 .last-word-with-icon {
    white-space: nowrap;
    display: inline-block;
}

.cft-profile-name-right1 h1 .last-word-with-icon .cft-element-popup {
    display: inline-flex;
    align-items: center;
}

.cft-profile-name-right1 h1 .last-word-with-icon .cft-element-popup img {
    width: 30px !important;
}

#cft-profile-name {
    display: flex;
    align-items: flex-start;
    width: 55%;
    padding-right: 10px;
}

#cft-profile-name h1 {
    margin: 0;
    font-family: figtree-medium, figtree;
    display: inline;
}

#cft-profile-name>img {
    margin-right: 20px;
}

#cft-profile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#cft-profile-overview {
    display: flex;
    margin-bottom: 60px;
}

#cft-profile-overview1 {
    width: 60%;
    padding-right: 55px;
}

#cft-profile-overview2 {
    width: 40%;
    border: 1px solid #C9CBDE;
    padding: 10px 20px 25px 40px;
}

#cft-profile-budget {
    margin-bottom: 60px;
}

.cft-profile-tabs {
  display: flex;
  margin-bottom: 22px;
}

.cft-profile-tab-content>ul>li {
    margin: 5px;
}

.cft-profile-tab {
  cursor: pointer;
  margin-right: 30px;
  font-size: 20px;
  color: #909090;
  font-family: figtree-light, figtree;
}

.cft-profile-tab.active {
    border-bottom: 3px solid #000D9E;
    font-weight: 700;
    color: #555C77;
    font-family: figtree-medium, figtree;
}

.cft-profile-tab-content {
  display: none;
}

.cft-profile-tab-content.active {
  display: block;
}

.cft-profile-tab-content li {
    list-style: none;
    padding: 5px 20px;
    background: #E7E7EB;
    color: #555C77;
    border-radius: 30px;
    display: inline-block;
    font-size: 13px;
}

.cft-profile-tab-content ul {
    padding: 0;
}

#cft-profile-nav a {
    color: #6B6969;
    margin-right: 50px;
    font-size: 18px;
    font-family: figtree-light, 'Figtree';
    padding-bottom: 5px;
}

#cft-profile-nav a.active {
    border-bottom: 3px solid #1522B6;
    font-weight: 600;
}

#cft-profile-nav {
    margin: 50px 0;
}

#cft-profile-alter1 {
    width: 60%;
    border-right: 1px solid #C9CBDE;
    padding-left: 30px;
    padding-right: 40px;
    padding-bottom: 15px;
}

#cft-profile-alter2 {
    width: 40%;
    display: flex;
    flex-direction: column;
}

#cft-profile-alter-main {
    display: flex;
    border: 1px solid #C9CBDE;
    padding: 30px 20px;
}

#cft-profile-alter-top {
    display: flex;
    align-items: center;
}

#cft-profile-alter-top2_2 {
    display: flex;
    align-items: center;
}

.cft-profile .progress-txt {
    font-size: 16px;
}

.cft-profile .progress-ring {
    margin-right: 10px;
}

#cft-profile-alter-top2 {
    margin-left: 15px;
}

#cft-profile-alter-info {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
    font-size: 18px;
    color: #555C77;
    font-family: figtree-light, figtree;
}

#cft-profile-alter-info span {
    font-weight: 700;
    font-family: figtree-medium, figtree;
}

#cft-profile-alter-info>div {
    width: 50%;
}

#cft-profile-alter2_1 {
    display: flex;
    padding: 5px 20px 5px 40px;
    flex-direction: column;
}

.cft-compare-bottom2-results-left2 a {
    background: #FC5A43;
    font-size: 15px;
    padding: 8px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    display: inline-block;
}

#cft-profile-alter2_2 a:hover,
.cft-compare-bottom2-results-left2 a:hover {
    color: white;
    background: #fc3a20;
}

#cft-profile-alter2_2 {
    display: flex;
    justify-content: end;
    margin-top: auto !important;
}

#cft-profile-overview1 h2,
#cft-profile-alter-title h2,
#cft-profile-budget-title h2 {
    margin-bottom: 20px;
    font-size: 25px;
    line-height: 1.2;
}

.cft_company_preview_match {
    display: flex;
    align-items: center;
    margin: 5px 0 10px;
}

.cft_company_preview_match .progress-ring {
    margin-right: 10px;
}

#form-message-container{
    bottom: 10px;
    text-align: center;
}

#form-message-container.error {
    background: #ffffffa8 !important;
    color: #a60000;
    padding: 5px 30px;
    border-radius: 4px;
    line-height: 1;
}


/* Searchform popup start */

.popup-title {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
}

/* Popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup content */
.popup-content {
    background: #F3F4F8;
    padding: 50px 30px 50px 50px;
    max-width: 850px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Close button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
    font-size: 35px;
    color: #455064;
    line-height: 1;
    font-weight: 100;
    font-family: sans-serif !important;
}

.home .popup-close {
    font-family: sans-serif !important;
}

.popup-content .cft-search-form {
    flex-wrap: wrap;
}

.popup-content .cft-searchform-field {
    width: 45%;
    margin: 12px 30px 12px 0;
}

.popup-content .cft-searchform-field label {
    max-width: 100%;
    width: 100%;
}

.popup-content .cft-search-form {
    width: 85%;
}

.popup-content .cft-search-form button.search-submit {
    margin-top: 35px;
}

/* Searchform popup end */

.cft-search-results {
    display: flex;
    flex-direction: column;
}

.cft-search-results-main {
    width: 100%;
}

.cft-search-results-wrap {
    width: 80%;
    margin: 0 auto;
}

.cft-search-results-filter {
    margin-bottom: 30px;
    border-bottom: 1px solid #C9CBDE;
    padding-bottom: 30px;
}

.cft-search-results-filter:last-child {
    border-bottom: none;
}

.cft-search-results-filter-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
    font-family: figtree-medium, 'Figtree';
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cft-search-results-filter-title:after {
    content: "";
    position: absolute;
    right: 0;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #555C77 #fff0 #fff0;
    transform: rotate(180deg);
    transition: all 0.4s ease;
}

.cft-search-results-filter-title.collapsed:after {
    transform: rotate(0deg);
}

.cft-search-results-filter-content {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
    max-height: 1000px; /* Adjust based on your content */
}

.cft-search-results-filter-content.collapsed {
    max-height: 0;
}

.cft-search-results-filter-item label {
    font-size: 13px;
    font-family: figtree-light, 'Figtree';
}

.cft-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.cft-loader img {
    display: block;
    max-width: 100px;
}

.cft-searchform-page {
    position: relative;
}

.cft_company_preview_main {
    display: flex;
    padding-top: 10px;
}

.cft_company_preview_criteria_item {
    display: flex;
    margin-bottom: 5px;
}

.cft_company_preview_criteria_item img {
    margin-right: 10px;
    height: 11px;
    margin-top: 4px;
}

.cft_company_preview_criteria_item_title span {
    font-weight: 700;
}

.cft_company_preview_1_1_right_tier,
.cft-compare-expertise-tag {
    background: #E7E7EB;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    line-height: 1;
    color: #555C77;
    font-size: 11px;
    margin-top: 10px;
}

.cft_company_preview_1_1_right_name img {
    width: 20px;
}

.cft_company_preview_criteria_item_title {
    color: #555C77;
    font-size: 11px;
}

.cft_company_preview_1_3 {
    font-size: 14px;
    list-style: 1.6;
}

.cft_company_preview_2_title {
    font-weight: 600;
    font-size: 12px;
}

.progress-txt {
    color: #555C77;
    font-size: 11px;
}

.progress-txt span {
    font-weight: 600;
}

.cft-element-infopopup_ico {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 19px;
    line-height: 1;
}

.cft-search-results-ads {
    background: linear-gradient(90deg, #0E2168, #1E3898);
    padding: 40px 30px;
}

.cft-search-results-ads span {
    font-size: 18px;
    color: white;
    font-weight: 500;
    margin: 0 20px;
}

.cft-orange-btn {
    background: #fc5a43;
    border-radius: 10px;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    padding: 10px 30px;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;    
}

.cft-orange-btn:hover {
    color: white;
    background: #fc3a20;
}

.cft-search-results-ads-wrap {
    display: flex;
    align-items: center;
}

.cft-search-results .cft-orange-btn {
    color: #fff !important;
    font-weight: 100;
    font-size: 14px;
    font-family: figtree-medium;
    padding: 12px 30px;
}

.cft-search-results-ads .cft-orange-btn {
    margin: 0;
}

.cft-search-results-ads-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 200px;
}

.cft-search-results-ads-logo2 {
    margin-top: -50px;
    margin-left: 20px;
}

.cft-searchresults-top {
    background: #F3F4F8;
    padding: 50px;
    position: relative;
}

.cft-searchresults-top1 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.cft-searchresults-top-params {
    display: flex;
}

.cft-searchresults-top-info1 {
    margin-bottom: 50px;
}

.cft-searchresults-top1-left {
    max-width: 90%;
    padding-right: 100px;
}

.cft-searchresults-top-params>div {
    border: 1px solid #C7C7C8;
    margin: 0 10px;
    background: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cft-searchresults-top-params>div:first-child {
    margin-left: 0;
}

.cft-searchresults-params-ico{
    display: flex;
    border-right: 1px solid #C7C7C8;
    height: 50px;
    padding: 10px;
    width: 50px;
    align-items: center;
    justify-content: center;
}

.cft-searchresults-params-ico img {
    max-width: 20px;
}

.cft-searchresults-params-value {
    padding: 10px !important;
    min-width: 150px;
}

.cft-searchresults-top3 {
    position: absolute;
    top: 10px;
    right: 0;
}

.cft-searchresults-top3 img {
    display: inline-block;
    max-height: 300px;
}

.cft-searchresults-top2 {
    z-index: 1;
    position: relative;
}

.cft-searchresults-top1-left h1,
.cft-compare-title h1 {
    line-height: 1.3 !important;
}

.cft-compare-title {
    font-size: 30px;
    margin-bottom: 30px;
    padding-right: 100px;
}

.cft-compare-top {
    background: #F3F4F8;
    padding: 50px;
    margin-bottom: 50px;
}

.cft-compare-topsection {
    background: #E5E7EF;
}

.cft-compare-section_body.cft-compare-checkmark {
    display: flex;
    align-items: center;
}


.cft-compare-differences {
    display: flex;
    align-items: baseline;
    flex-direction: column;
}

.cft-compare-differences-mob {
    display: none;
}

.cft-compare-section.hideme {
    display: none;
}

#cft-profile-budget-main {
    display: flex;
    border: 1px solid #C9CBDE;
    padding: 30px 20px;
}

#cft-profile-budget-left {
    width: 60%;
    padding-left: 30px;
    padding-right: 40px;
    padding-bottom: 15px;
}

#cft-profile-budget-right {
    width: 40%;
    padding: 5px 20px 5px 40px;
    border-left: 1px solid #C9CBDE;
    display: flex;
    flex-direction: column;
}

#cft-profile-budget-left1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 40px;
}

#cft-profile-budget-left1>div {
    padding: 10px;
    border: 1px solid #C9CBDE;
    margin: 0 10px;
    width: 30%;
}

#cft-profile-budget-left1>div:nth-child(1) {
    margin-left: 0;
}

#cft-profile-budget-left1_title {
    font-size: 16px;
    color: #555C77;
    margin-bottom: 5px;
}

#cft-profile-budget-left1_value {
    display: flex;
    align-items: center;
}

#cft-profile-budget-left1_value img {
    margin-right: 10px;
}

#cft-profile-budget-left1_1 {
    border-top: 9px solid #98B1FF !important;
}

#cft-profile-budget-left1_2 {
    border-top: 9px solid #1522B6 !important;
}

#cft-profile-budget-left1_3 {
    border-top: 9px solid #748CBD !important;
}

#cft-profile-budget-left2_title,
#cft-profile-budget-right_title {
    font-weight: 700;
    margin-bottom: 10px;
}

#cft-profile-budget-right1 {
    margin-bottom: 20px;
}

#cft-profile-budget-right2_1 {
    display: flex;
    font-size: 10px;
    margin-bottom: 30px;
}

.cft-profile-budget-range {
    background: #E7E7EB;
    margin: 0 3px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    line-height: 1 !important;
    font-size: 12px;
}

#cft-profile-budget-right2_1 .cft-profile-budget-range:first-child {
    border-radius: 10px 0 0 10px;
}

#cft-profile-budget-right2_1 .cft-profile-budget-range:last-child {
    border-radius: 0 10px 10px 0;
}

.cft-profile-budget-range.active {
    border: 1px solid #555C77;
    background: none;
}

#cft-profile-budget-right2_2 {
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555C77;
}

#cft-profile-budget-right2_3 li {
    list-style: none;
    padding: 5px 20px;
    background: #E7E7EB;
    margin: 5px;
    color: #555C77;
    border-radius: 30px;
    display: inline-block;
    cursor: pointer;
    font-size: 13px;
}

#cft-profile-budget-right2_3 li.active {
    border: 1px solid #555C77;
    background: none;
}

#cft-profile-budget-right2_3 ul {
    padding: 0;
    margin-bottom: 0;
}

.cft-compare-summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cft-compare-summary-item-logo img {
    max-width: 31px !important;
    margin-right: 10px;
}   

.cft-compare-summary-item-info {
    color: #555C77;
    line-height: 1.4;
    text-align: left;
}

.cft-compare-summary2 {
    text-align: left;
}

.cft-ex-num {
    color: #1522B6;
    font-weight: 700;
}

.cft-compare-summary-item-info .cft-ex-name {
    font-weight: 700;
    font-family: figtree-medium, figtree;
}

.cft-compare-bottom1-title {
    text-align: center;
}

.cft-compare-bottom2-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.cft-compare-bottom2-results-left1 {
    margin-bottom: 50px;
}

.cft-compare-bottom2-wrap {
    background: #F3F4F8;
    padding: 30px;
    background-image: url(../img/wave.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.cft-compare-bottom2-results>div {
    width: 50%;
}

.cft-compare-bottom2-results-right {
    text-align: center;
}

.cft-compare-bottom2 .cft-searchresults-top-params {
    justify-content: center;
}

.remaining-expertise-box {
    margin-top: 10px;
    background-color: white;
    border-radius: 4px;
    position: absolute;
    padding: 20px;
    border: 1px solid #ebebeb;
    max-width: 300px;
}

.remaining-expertise-box ul {
    margin: 0;
    padding: 0 !important;
}

.see-more-link {
    display: inline-block;
    margin-top: 5px;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.see-more-link:hover {
    text-decoration: underline;
}

.remaining-expertise-box li {
    display: inline-block;
}


/*  === Profile landing page ===  */

.cft-profile .hover-list-container {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px;
    z-index: 1000;
    min-width: 200px;
    margin-top: 5px;
}

.cft-profile .hover-list-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cft-profile .hover-list-container li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.cft-profile .hover-list-container li:last-child {
    border-bottom: none;
}

.cft-profile .see-more-link {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.cft-profile .see-more-link:hover {
    text-decoration: underline;
}

.cft-profile .remaining-expertise-list li {
    background: none;
    border: none;
    padding: 0;
}


.cft-profile .cft-profile-tab-content ul,
.cft-profile #cft-profile-budget-right2_3 ul {
    position: relative;
    margin-top: 0;
}

.cft-profile .remaining-expertise-list {
    max-width: 400px;
    z-index: 999;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    padding: 20px;
    border: 1px solid #ebebeb;
}

.cft-profile #cft-profile-budget-right2_3 .remaining-expertise-list {
    position: relative;
    background: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    max-width: 100%;
    top: 0;
}

.cft_company_preview_compare.inactive label {
    color: #C7C7C8;
}

.cft_company_preview_compare.inactive input {
    opacity: 0.3;
}

.cft-backtoresults-btn {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #1522B6;
    /* border: 1px solid #1522B6; */
    padding: 4px 10px;
    /* border-radius: 8px; */
}

.cft-backtoresults-btn:hover {
    color: #1522B6;
}


.cft-backtoresults-btn>img {
    margin-right: 10px;
    height: 10px;
}

.cft-compare-backtoresults {
    margin-bottom: 110px;
}

.cft-compare-differences .cft-compare-differences-wrap {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #555C77;
    font-size: 12px;
}

.cft-compare-differences .cft-compare-differences-wrap input {
    margin-right: 10px;
}

.cft-compare-differences .cft-element-popup .cft-element-infopopup {
    bottom: 30px;
}

.cft-element-infopopup_title {
    margin-bottom: 5px;
    font-weight: 600;
}

.cft-compare-logo img {
    max-width: 108px;
}

.cft-compare-section_body.cft-compare-section_body_cp .cft-compare-name {
    margin-bottom: auto;
}

#cft-compare-section-glance1>div,
#cft-compare-functional .cft-compare-topsection>div,
#cft-compare-industry .cft-compare-topsection>div,
#cft-compare-location .cft-compare-topsection>div,
#cft-compare-budget .cft-compare-topsection>div {
    padding: 10px 25px;
}
#cft-compare-section-glance1 .cft-compare-section_header {
    display: flex;
    align-items: center;
}

#cft-compare-section-glance1 .cft-element-infoico {
    margin-left: 10px;
}

.cft-compare-summary {
    font-size: 14px;
    color: #555C77;
}

#cft-compare-section-glance2 .cft-compare-section_header span {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    font-style: italic;
    margin-top: 10px;
}

#cft-compare-functional .cft-compare-expertise2,
#cft-compare-industry .cft-compare-expertise2 {
    font-size: 13px;
}

.cft-compare-expertise2 {
    color: #555C77;
}

.cft-compare-expertise2 ul {
    padding-left: 15px;
}

#cft-compare-budget .cft-compare-expertise2-header {
    margin: 5px 0;
}

.cft-compare-expertise2 .see-more-link {
    color: #555C77;
    font-size: 12px;
    text-decoration: underline;
    margin-top: auto;
}

.remaining-expertise-box ul li::before,
.cft-profile-tab-content .remaining-expertise-list li::before {
    content: "\2022";
    margin-right: 2px;
}

.remaining-expertise-box ul li:first-child::before,
.cft-profile-tab-content .remaining-expertise-list li:first-child::before {
   display: none;
}

#cft-compare-functional.cft-compare-section .cft-compare-section-main:nth-child(2),
#cft-compare-industry.cft-compare-section .cft-compare-section-main:nth-child(2),
#cft-compare-location.cft-compare-section .cft-compare-section-main:nth-child(2),
#cft-compare-budget.cft-compare-section .cft-compare-section-main:nth-child(2) {
    border-top: none !important;
}

/* === Compare page - Sticky logo section start === */

/* Make the compare container a flex container with fixed height */
/* .cft-compare {
    display: flex;
    flex-direction: column;
    height: 80vh; 
    overflow: hidden;
} */

/* Make the compare table take remaining space and scroll */
/* .cft-compare-table {
    flex: 1;
    overflow-y: auto;
    position: relative;
    border-bottom: 1px solid #C9CBDE;
} */

/* Make the logo section sticky */
/* #cft-compare-section-logo {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #C9CBDE;
} */

/* === Compare page - Sticky logo section end === */

.cft-compare-summary2 span {
    color: #1522B6;
}

.cft-profile-name-left img {
    max-height: 60px;
}

.cft-profile-name-right1 h1 {
    font-size: 40px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.cft-profile-name-left {
    margin-right: 25px;
    margin-top: 10px;
}

.cft-profile-name-right2 {
    background: #E7E7EB;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    line-height: 1;
    color: #555C77;
    font-size: 13px;
    margin-top: 10px;
}

.cft-profile-btn2 a {
    color: #1522B6;
    border: 1px solid #1522B6;
    border-radius: 10px;
    padding: 8px 20px;
    margin: 0 0 0 15px;
    font-size: 16px;
    font-family: figtree;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
}

.cft-profile-btn2 a:hover {
    color: #1522B6;
}    

.cft-profile .getquote_link {
    background: #1522B6;
    color: #fff;
    padding: 8px 20px;
    font-size: 16px;
    border-radius: 10px;
    font-family: figtree;
    text-align: center;
    display: inline-block;
    line-height: 1.2;
    border: 1px solid #1522B6;
}

#cft-profile-overview-txt {
    font-size: 18px;
    line-height: 1.6;
    font-family: figtree-light, figtree;
}

#cft-profile-budget-left2_title {
    font-size: 18px;
}

#cft-profile-budget-left2_txt {
    color: #555C77;
    font-size: 18px;
    line-height: 1.6;
    font-family: figtree-light, figtree;
}

#cft-profile-budget-right_title {
    color: #555C77;
    font-size: 20px;
    font-family: figtree-medium, 'Figtree';
}

#cft-profile-budget-right1 span {
    font-size: 18px;
    margin-left: 10px;
    color: #555C77;
    font-family: figtree-medium;
}

.cft-profile-alter-top1 img {
    max-width: 55px;
}

.cft-profile-alter-top1 {
    margin-right: 24px;
}

.cft-profile-alter-top2-name {
    display: flex;
    align-items: center;
}

.cft-profile-alter-top2-name .cft-element-popup {
    margin-left: 5px;
    display: flex;
}

.cft-profile-alter-top2-tier {
    background: #E7E7EB;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    line-height: 1;
    color: #555C77;
    font-size: 11px;
}

#cft-profile-alter-bottom {
    font-size: 18px;
    font-family: 'Figtree-light', figtree;
    line-height: 1.6;
}

#cft-profile-alter2_2 a {
    background: #FC5A43;
    font-size: 15px;
    padding: 8px 40px;
    border-radius: 7px;
    line-height: 1.4;
    cursor: pointer;
    color: white;
    display: inline-block;
    font-family: figtree-medium;
}

#cft-profile-alter2_2 a:hover {
    color: white;
    background: #fc3a20;
}

.cft-profile-alter-name {
    font-size: 25px;
    font-family: figtree-medium, figtree;
}

.cft_company_preview_1_1_right .cft-element-infopopup {
    bottom: 140%;
}

#cft-profile-alter .cft-element-popup>img {
    width: 20px !important;
}

.popup-content .cft-search-form select#expertise {
    pointer-events: none !important;
    font-family: figtree-medium, figtree;
    color: #000;
    appearance: none;
    -webkit-appearance: none; 
    -moz-appearance: none;   
}

.cft_company_preview_btns.cft_company_preview_btns_mob {
    display: none
}

.cft-search-results-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#cft-searchresultspage-bottom {
    z-index: 1;
}

.cft_company_preview_2_2_item {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.cft_company_preview_2_2_info {
    font-size: 14px;
    line-height: 1.4;
}

.cft_company_preview_2_2_info_title {
    font-weight: 600;
}

.cft_compare_chkbx.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cft_compare_chkbx.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.cft-search-results-ads-txt1 {
    font-size: 18px;
    color: white;
    line-height: 1.4;
    font-family: figtree-medium;
    margin-bottom: 10px;
}

.cft-search-results-ads-txt2 {
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

.cft-search-results-ads-right {
    margin-left: auto;
    margin-top: auto;
}

.cft_company_preview_2_2_info_value {
    color: #555C77;
}

#cft-profile-alter .cft-profile-tab-content ul {
    margin-bottom: 50px;
}

.cft-compare-logo {
    margin-bottom: auto;
}

#cft-profile-budget-right2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cft-popup-active header {
    z-index: 1 !important
}

.cft-profile-tab-title-mob {
    display: none;
}

.cft-popup-active header,
.cft-popup-active footer {
    z-index: 1 !important;
}


/* ====  Mobile Optimisation ===== */


@media (max-width: 1250px) {

    .cft-profile-budget-range {
        font-size: 10px;
    }

}

@media (max-width: 1200px) {

    .cft-compare-section_header.cft-compare-differences>div {
        display: none;
    }    
    
    .cft-compare-differences-mob, 
    .cft-compare-differences-mob>div {
        display: flex;
    }

    .cft-compare-differences-mob .cft-compare-backtoresults {
        margin-bottom: 0;
    }

    .cft-compare-differences-mob {
        margin-bottom: 30px;
        justify-content: space-between;
    }

    .cft-compare-differences-mob .cft-compare-backtoresults {
        border-radius: 8px;
        border: 1px solid #1522B6;
    }

    .cft-compare-differences-mob .cft-compare-differences-wrap {
        align-items: center;
    }

    .cft-compare-differences-mob .cft-compare-differences-wrap label {
        margin-left: 10px;
    }

    #cft-profile-top {
        flex-direction: column;
        align-items: baseline;
    }

    #cft-profile-name {
        width: 100%;
        margin-bottom: 20px;
    }

    #cft-profile-btns {
        width: 100%;
        justify-content: start;
    }

    .cft-profile-name-right1 h1 {
        font-size: 35px !important;
    }

    #cft-profile-overview1 {
        padding-right: 20px;
    }

    #cft-profile-budget-left,
    #cft-profile-alter1 {
        padding-left: 10px;
        padding-right: 20px;
    }

    #cft-profile-overview2 {
        padding: 10px 20px 25px 20px;
    }

    #cft-profile-budget-right,
    #cft-profile-alter2_1 {
        padding: 5px 20px 5px 20px;
    }


}


@media (max-width: 1150px) {

    .cft-search-results-wrap {
        width: 100%;
    }

    #cft-profile-budget-left1_title,
    #cft-profile-budget-left1_value,
    #cft-profile-alter-info>div {
        font-size: 14px;
    }

    #cft-profile-budget-left1>div {
        margin: 0 5px;
        width: 33%;
    }

    .cft-profile-budget-range {
        padding: 6px 5px;
    }

}


@media (max-width: 980px) {

    /* === Compare Table Mobile Scrolling Solution === */
    
    /* Create a container for horizontal scrolling */
    .cft-compare-table {
        position: relative;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #C9CBDE #F3F4F8;
    }

    /* Custom scrollbar styling for webkit browsers */
    .cft-compare-table::-webkit-scrollbar {
        height: 8px;
    }

    .cft-compare-table::-webkit-scrollbar-track {
        background: #F3F4F8;
        border-radius: 4px;
    }

    .cft-compare-table::-webkit-scrollbar-thumb {
        background: #C9CBDE;
        border-radius: 4px;
    }

    .cft-compare-table::-webkit-scrollbar-thumb:hover {
        background: #A0A3B8;
    }

    /* Make the table content wider than container to enable scrolling */
    .cft-compare-table .cft-compare-section {
        min-width: max-content;
        width: 100%;
    }

    /* Fixed first column (headers) */
    .cft-compare-section_header {
        position: sticky;
        left: 0;
        z-index: 10;
        background: #fff;
        min-width: 200px;
        width: 200px !important;
        flex-shrink: 0;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    /* Ensure proper background for different header types */
    .cft-compare-topsection .cft-compare-section_header {
        background: #E5E7EF;
    }

    .cft-compare-bottomsection .cft-compare-section_header {
        background: #fff;
    }

    /* Make data columns scrollable */
    .cft-compare-section_body {
        min-width: 180px;
        flex-shrink: 0;
    }

    /* Ensure proper spacing and alignment */
    .cft-compare-section-main {
        min-width: max-content;
        width: 100%;
        border-left: none;
    }

    /* Adjust compare2 and compare3 classes for mobile */
    .compare2 .cft-compare-section_body {
        width: 180px;
    }

    .compare3 .cft-compare-section_body {
        width: 150px;
    }

    /* Ensure the sticky header maintains proper borders */
    .cft-compare-section_header::after {
        content: '';
        position: absolute;
        top: 0;
        right: -1px;
        bottom: 0;
        width: 1px;
        background: #C9CBDE;
        z-index: 11;
    }

    /* Hide the original right border on headers since we're using a pseudo-element */
    .cft-compare-section_header {
        border-right: none;
    }

    /* Ensure proper z-index stacking for sticky elements */
    .cft-compare-section_header.cft-compare-differences {
        z-index: 12;
    }

    .cft-compare-section_header {
        border-left: 1px solid #C9CBDE;
    }

     /* === End Compare Table Mobile Scrolling Solution === */

     #cft-profile-overview,
     #cft-profile-budget-main,
     #cft-profile-alter-main {
        flex-direction: column;
    }

    #cft-profile-overview1 {
        width: 100%;
        padding-right: 0 !important;
    }
    
    #cft-profile-overview2,
    #cft-profile-budget-left,
    #cft-profile-budget-right,
    #cft-profile-alter2 {
        width: 100%;
    }

    #cft-profile-budget-right {
        border-left: none;
        padding: 5px 10px !important;
    }

    #cft-profile-budget-right2_2 {
        margin-top: 20px;
    }

    .cft-profile-budget-range {
        padding: 6px 10px;
    }

    #cft-profile-alter1 {
        width: 100%;
        border-right: none;
    }

}    


@media (max-width: 950px) {

    .popup-content {
        max-width: 90%;
        padding: 50px 30px
    }

    .popup-content .cft-search-form {
        width: 100%;
    }

    .popup-content .cft-searchform-field {
        margin: 12px 20px 12px 0;
    }

    .popup-content .cft-search-form button.search-submit {
        margin-top: 15px;
        margin-left: 0;
        font-size: 18px;
    }

    .popup-title {
        font-size: 30px;
        text-align: center;
    }

    .cft-search-results-mob {
        display: flex;
        padding: 0 30px 20px 0;
        margin-bottom: 20px;
        background: #F3F4F8;
    }

    .cft-search-results-mob-menu {
        margin-left: auto;
    }

    .cft-search-results-main {
        width: 100%;
        padding-left: 0px;
    }

    .cft-sidebar-active #cft-searchresultspage-bottom,
    .cft-sidebar-active #cft-searchresultspage-top,
    .cft-sidebar-active header,
    .cft-sidebar-active .sc_prefooter,
    .cft-sidebar-active .fusion-footer {
        z-index: 1;
    }

    .cft-sidebar-active .fusion-social-links-footer {
        display: none;
    }

    #cft-searchresultspage-main .cft-search-form {
        padding-left: 30px;
        padding-right: 30px;
    }

    .cft_company_preview_main {
        flex-direction: column;
    }

    .cft_company_preview_1:before {
        content: "";
        position: absolute;
        right: 0px;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: -15px;
        width: 94%;
        height: 1px;
        background: #AFAFAF;
        top: auto;
    }

    .cft_company_preview_1,
    .cft_company_preview_2 {
        width: 100%;
    }

    .cft_company_preview_btns {
        display: none;
    }

    .cft_company_preview_btns.cft_company_preview_btns_mob {
        display: flex !important;
        padding: 20px 0 0;
        align-items: center;
    }

    .cft_company_preview_2 {
        padding: 35px 20px 20px;
    }

    .cft-search-results-ads-wrap {
        flex-direction: column;
        align-items: baseline;
    }

    .cft-search-results-ads-right {
        margin-left: 0;
        margin-top: 30px;
    }

    .cft_company_preview {
        margin-left: 30px;
        margin-right: 30px;
    }

}

@media (max-width: 850px) {

    .popup-content .cft-searchform-field {
        margin: 10px 0px;
        width: 100%;
    }

}

@media (max-width: 750px) {

    .cft-search-results-compare-main .cft-search-results-compare-wrap {
        flex-direction: column;
    }

    .cft-search-results-compare-btn {
        width: 70%;
        margin: 10px 0;
    }

    .cft-search-results .cft-orange-btn {
        width: 100%;
        font-size: 16px;
        line-height: 1;
        padding: 10px 30px;
    }

    .cft-compare-item {
        border-bottom: 1px solid #C9CBDE;
        border-top: 1px solid #C9CBDE;
        background: white;
        width: 33%;
        padding: 8px 5px 5px;
        min-height: auto;
    }

    #cft-compare-warning {
        text-align: center;
    }

    .cft-search-results-compare-main {
        background: #F3F4F8;
    }

    .cft-search-results-compare-title {
        border-bottom: none;
        padding: 5px;
    }

    .cft-search-results-compare-title>div {
        width: 70%;
        padding-left: 0;
    }

    .cft-search-results-compare-wrap {
        font-size: 16px;
    }

    .cft-search-results-compare-items {
        justify-content: center;
    }

    .cft-compare-item-name {
        font-size: 14px;
    }

    .cft-compare-item-logo {
        max-width: 50px;
        max-height: 50px;
    }

    .cft-compare-item-remove {
        right: 2px;
        top: 1px;
        font-size: 26px;
    }

    .getquote_popup_right {
        display: none;
    }

    .getquote_popup_left {
        width: 100%;
    }

    .getquote_popup_main>div {
        padding: 30px 10px;
    }

}    

@media (max-width: 650px) {
    .cft_company_preview_1_1_right_name {
        font-size: 20px;
    }

    .cft-search-results-compare-title>div,
    .cft-search-results-compare-items,
    .cft-search-results-compare-btn {
        width: 95%;
    }

    .cft-search-results-compare-items {
        justify-content: center;
    }

    #cft-profile-btns {
        flex-direction: column;
        align-items: baseline;
    }

    .cft-profile-btn1 {
        margin-bottom: 20px;
        width: 100%;
    }

    .cft-profile .getquote_link,
    .cft-profile-btn2 a,
    .cft-profile-btn2 {
        width: 100% !important;
    }

    .cft-profile-btn2 a {
        margin: 0;
    }

    #cft-profile-nav {
        display: none;
    }

    #cft-profile-overview {
        margin-top: 30px;
        border-bottom: 1px solid #C9CBDE;
        padding-bottom: 30px;
        margin-bottom: 40px;
    }

    #cft-profile-budget {
        border-bottom: 1px solid #C9CBDE;
        padding-bottom: 30px;
        margin-bottom: 40px;
    }

    #cft-profile-overview2,
    #cft-profile-budget-main {
        border: none;
        padding: 0 !important;
    }
    
    #cft-profile-alter-main {
        box-shadow: 0px 4px 11px 3px #00000017;
        border: 1px solid #f6f6f6;
    }

    #cft-profile-alter2_1 {
        padding: 5px 5px;
    }

    #cft-profile-alter2_2 a {
        width: 100%;
        text-align: center;
    }

    .cft-profile-tabs {
        flex-direction: column;
    }

    .cft-profile-tab-content {
        display: block !important;
    }

    .cft-profile-tabs {
        display: none;
    }

    .cft-profile-tab-title-mob {
        color: #555C77;
        font-weight: 600;
        margin-bottom: 5px;
        margin-left: 8px;
        display: block;
    }

    #cft-profile-alter .cft-profile-tab-content ul {
        margin-bottom: 20px;
    }

    .cft-profile-tab-content>ul>li,
    #cft-profile-budget-right2_3 li {
        margin: 3px 1px;
    }

    #cft-profile-budget-left {
        padding-left: 0;
        padding-right: 0;
    }

    #cft-profile-budget-title h2 {
        margin-bottom: 0;
    }

    #cft-profile-budget-right {
        padding: 5px 0px !important;
    }

    #cft-profile-alter-main {
        padding: 10px 10px 30px;
    }

    #cft-profile-main {
        margin-bottom: 60px !important;
    }

}


@media (max-width: 600px) {

    #cft-profile-budget-left1 {
        flex-direction: column;
    }

    #cft-profile-budget-left1>div {
        width: 100%;
        margin: 5px 0;
    }

}






@media (max-width: 490px) {
    .cft_company_preview_1_2 {
        flex-direction: column;
    }

    .cft_company_preview_1_2>div {
        width: 100%;
    }

    .cft-search-results-ads-right,
    .cft-search-results-ads .cft-orange-btn {
        width: 100%;
    }

}




@media (max-width: 400px) {
    .popup-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .cft-compare-differences-mob {
        flex-direction: column;
    }

    .cft-compare-differences-mob .cft-compare-backtoresults a {
        width: 100%;
        justify-content: center;
    }

    .cft-compare-differences-mob .cft-compare-backtoresults {
        margin-bottom: 30px;
    }

    .cft-compare-section_header {
        min-width: 100px;
        width: 150px !important;
    }

    #cft-profile-alter-info {
        flex-direction: column;
    }


}