.crm_dashboard {


  .viewTabs {
    margin-bottom: 1rem;
    position: sticky;
    top: 53px;
    background: #fff;
    z-index: 99;
    padding: 0px 0 0 0;

  }

  .viewTabs ul {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #D9D9D9 !important;
    display: flex;
    padding-left: 1rem;
  }

  .viewTabs ul li {

    text-align: center;

    color: #000;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;


  }

  .viewTabs ul li.active {



    color: #2196f3;
    border-bottom: 2px solid #9cb6f8;

  }

  .userImg {
    display: flex;
    align-items: center;
  }

  .userImg span {
    margin-left: .5rem;
    width: 600px;
    /* overflow-x: hidden;
    overflow-y: hidden; */
    word-wrap: break-word;
    line-height: 16px;
  }

  #custom-textarea-email {
    .custom-textarea {
      height: 50vh;
      border: 1px solid var(--bs-breadcrumb-border);
      border-radius: 0;
    }
  }

  .actionRow {
    margin: .5rem 0;
    display: flex;
    align-items: center;
  }

  .leadRow {
    margin-right: 1.5rem;
  }

  .addNote {
    margin-right: 1.5rem;
    width: 600px;
    /* overflow-x: hidden; */
    /* overflow-y: auto; */
    /* height: 80px; */
    word-wrap: break-word;
    line-height: 16px;
  }

  .actionButton img {
    width: 14px;
    margin: 0rem 0.5rem 0 0;
  }

  .userName {
    color: #456ABB;

  }

  .customTextA label {
    display: none;
  }

  .attBtn {
    display: flex;
    align-items: center;
    transition: all .4s;

  }

  .attBtn img {
    width: 7px
  }

  .attBtn:hover img {
    filter: brightness(0) invert(1);
    transition: all .4s;
  }

  .tableContainer table {
    width: 100%
  }

  .tableContainer table th {
    font-weight: 600;
  }

  .tableContainer table th,
  .tableContainer table td {
    border-bottom: 1px solid #d9d9d9;
    padding: .5rem 0;
  }

  .status {

    border-radius: 50px;
    padding: .15rem .5rem;
    padding-left: 1.5rem;
    min-width: 150px;
  }

  .statusCol .active {
    border-radius: 30px;
    background: #fff;
    padding: 0px 8px;
    font-size: .8rem;
    text-align: center;
    display: inline-block;
    min-width: 80px
  }

  .statusCol .active a {
    color: #000;
  }

  .gr {
    border: 2px solid green;
  }

  .statusCol .rd {
    border: 2px solid #F19494;
    border-radius: 30px;
    background: #fff;
    padding: 0px 8px;
    font-size: .8rem;
    text-align: center;
    display: inline-block;
  }

  .statusCol .active a {
    color: #000;
  }



  .mailLink {
    display: block;
  }

  .ViewLeadPageOuter {
    display: block;
    width: 100%
  }

  .viewHeader {

    background: #d9e7f6;
    padding: .5rem 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

  }

  .flex-div {
    display: flex;
  }

  .userProfileBlock {
    display: flex;

  }

  .userProfileBlock p {
    font-weight: 600;
  }

  .tag {
    margin-top: .35rem;
  }

  .tag img {
    width: 14px;
    height: auto;
  }

  .tag small {
    font-size: 13px;
  }

  .rightAction {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .rightAction button {
    transition: all .4s;
  }

  .rightAction button.actbtn {
    color: #fff;
    background-color: #365397;
    border-color: #365397;

  }

  .userimg {
    background-color: #fff;
    padding: .2rem;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    text-align: center;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .userimg img {
    max-width: 100%;
    height: auto;
  }



  .arwButton button {
    border: none;
    background: none;
    opacity: .5;
  }

  .arwButton button:hover {

    opacity: 1;
  }

  .arwButton button.current {

    opacity: 1;
  }

  .emialTabRow {
    background: #F9FEFD;
    border-bottom: 1px solid #d9d9d9;
    padding-top: .6rem;
  }

  .emialTabRow ul {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #D9D9D9;
    display: flex;
    padding-left: 1rem;
  }

  .emialTabRow ul li {

    text-align: center;

    color: #000;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;


  }

  .emialTabRow ul li.active {



    color: #2196f3;
    border-bottom: 2px solid #9cb6f8;

  }

  .scrollTo {
    position: relative;
    top: -105px;
  }

  .cName p {
    font-size: 16px;
  }

  .cName span {
    font-size: 13px;
  }

  .activityBlock {
    background: #f1f6fb;

  }

  .activityHeader {
    padding: .5rem 1rem;
    border-bottom: 1px solid #d9d9d9;
    display: flex;
    align-items: center;
  }

  .activityHeader img,
  .activityHeader p {
    margin-right: .85rem;
    font-weight: 500;
  }

  .activityHeader span.labelTask {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 500;
    border-radius: 4px;
    background: #ffe8e8;

  }




  .activityHeader span.disable {

    background: #d9d9d9;

  }

  .activityBody {
    padding: 1rem;
  }

  .activityContent {
    border-bottom: 1px solid #d1d1d1;
    min-height: 150px;
  }

  .activityRow {
    display: flex;
    justify-content: space-between;

  }

  .flp p {
    color: #456ABB;
    font-weight: 500;
    margin-bottom: .5rem;
    line-height: 1.2rem;

  }

  .flp small {
    font-size: 14px;

  }

  .userActivity span {
    font-weight: 500;
  }

  .activityRow2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;

  }

  .otherInfo {
    padding-left: 1.5rem;
    padding-bottom: .5rem;
  }

  .otherInfoRow {
    display: flex;
    align-items: center;
    margin: .55rem 0;
  }

  .otherInfoRow label {
    width: 80px
  }

  .whiteb {
    background: #fff;
  }

  .High {
    background: #ffd1d1;
    padding: .25rem .8rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
  }

  .emialTabRow {
    /* Center-align nav-tabs */

    .nav-tabs {
      position: relative;
      border-bottom: none;
    }

    .nav-tabs .nav-link {
      position: relative;
      border: none;
      padding: 10px 0px;
      color: #949494;
      font-size: 1rem;
      font-weight: 500;
      transition: color 0.3s ease;
    }


    .nav-tabs .nav-link.active {
      color: #456ABB;
    }

    .nav-tabs::before {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;

    }

    .nav-tabs .nav-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 0;
      background-color: #456ABB;
      transition: width 0.3s ease-in-out;

    }


    .nav-tabs .nav-link.active::after {
      width: 100%;
    }



    .tab-pane {
      display: none;
    }

    .tab-pane.show {
      display: block;
    }




    .tab-content {
      margin-top: 0px;
      overflow-y: auto;
      height: calc(100vh - 65vh);
      scrollbar-width: thin;
    }



  }

  .viewTabs {
    /* Center-align nav-tabs */

    .nav-tabs {
      position: relative;
      border-bottom: none;
    }

    .nav-tabs .nav-link {
      position: relative;
      border: none;
      padding: 10px 0px;
      color: #949494;
      font-size: 1rem;
      font-weight: 500;
      transition: color 0.3s ease;
    }


    .nav-tabs .nav-link.active {
      color: #456ABB;
    }

    .nav-tabs::before {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;

    }

    .nav-tabs .nav-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 0;
      background-color: #456ABB;
      transition: width 0.3s ease-in-out;

    }


    .nav-tabs .nav-link.active::after {
      width: 100%;
    }



    .tab-pane {
      display: none;
    }

    .tab-pane.show {
      display: block;
    }




    .tab-content {
      margin-top: 0px;
      overflow-y: auto;
      height: calc(100vh - 65vh);
      scrollbar-width: thin;
    }



  }

  #overviewBlock .accordion-button:not(.collapsed) {
    color: #000;
    background-color: #fff;
    box-shadow: none;
  }

  #overviewBlock .accordion-button {
    padding: 0;
    outline: none;
    border: none;
    box-shadow: none;
  }

  img.action-img2 {
    position: relative;
    top: -1px;
  }

  .css-t3ipsp-control {
    border-radius: 5px !important;
    min-width: 195px !important;
    border: 1px solid #0056b3 !important;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.3) !important;
    transition: all .3s ease;
  }

  .action-menu {
    display: flex;
    gap: 6px;
    cursor: pointer;
    /* margin-left: 15px; */
    align-items: center;
  }

  .emailOpt {
    position: relative;
    top: 12px;
  }

  .dealsView .card {
    background: white;
    border-radius: 0px;
    padding: 1rem 0 0 0;
    box-shadow: none;

    border-right: 1px solid #d9d9d9;
    height: 100%;
    margin-bottom: 0;
  }

  .dealsView .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #d9d9d9;

    padding: 0 1rem 1rem 1rem;
  }

  .deal-item {

    padding: 0 1rem 1rem 1rem;
  }

  .deal-amount {
    display: inline-block;
    background: #DE6C79;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
  }

  .deal-title {
    display: block;
    margin: 8px 0;
    color: #666;
  }

  .deal-date {
    color: #999;
    font-size: 14px;
  }

  .action-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  /* .action-tag {
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 12px;
      margin-right: 10px;
    }

    .action-tag.red {
      background: #DE6C79;
      color: white;
    }

    .action-tag.orange {
      background: #ED9F39;
      color: white;
    } */

  .contact-card {
    display: flex;
    align-items: flex-start;

  }

  .contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .contact-info {
    flex: 1;
  }

  .contact-name {
    font-weight: 500;
    margin-bottom: 5px;
  }

  .contact-detail {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin: .5rem 0;
  }

  .contact-detail img {
    width: 14px;
    height: auto;
    margin-right: 8px;
    opacity: 1;
  }

  .ribbon {
    padding: .22rem 8px;
    border-radius: 4px 0px 0px 4px;
    font-size: 12px;
    margin-right: 1rem;

    position: relative;
    color: #fff;
  }

  .ribbon::after {
    content: '';
    position: absolute;
    right: -9px;
    top: 0;
    width: 0;
    height: 0;

    border-right: 10px solid transparent;
  }

  .ribbon.red::after {
    border-top: 10px solid #DE6C79;
    border-bottom: 10px solid #DE6C79;
  }

  .ribbon.orange::after {
    border-top: 10px solid #ED9F39;
    border-bottom: 10px solid #ED9F39;
  }

  .ribbon.red {
    background: #DE6C79;
    color: white;
  }

  .ribbon.orange {
    background: #ED9F39;
    color: white;
  }








  .crm_dashboard .flex_dropdown .css-13cymwt-control:hover {

    border-color: #365397;
    border-color: #5B86E3;
    border-radius: 40px;
    border-radius: 40px;
    cursor: pointer;
    cursor: pointer;
    box-shadow: none;
    box-shadow: none;

  }





  .crm_dashboard .css-t3ipsp-control {

    box-shadow: none !important;

    border-radius: 40px !important;

    min-width: 195px !important;



  }









  .crm_dashboard .css-t3ipsp-control:hover {

    box-shadow: none !important;



    border-color: unset;

    border-radius: 40px !important;



    min-width: 195px !important;



  }









  .crm_dashboard .css-1nmdiq5-menu {
    background: #fff;
    z-index: 9999 !important;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
  }

  .crm_dashboard .css-1n6sfyn-MenuList {
    font-size: .85rem;
  }





  .crm_dashboard .css-3w2yfm-ValueContainer {
    overflow-y: auto !important;
    min-height: calc(100vh - (462px + 221px));
    scrollbar-width: thin;

  }


  .crm_dashboard .card-body {

    text-align: center;
    padding-top: 12px;
    padding-top: 12px;
    background: #fff;
    background: #fff;

  }




  /*************New*************/
  /* ************************************************************************CRM LEADS PAGE START***************************************** */

  .tt_filtersearch {
    position: relative;
    width: 100%;
    max-width: 300px;
    font-size: .9rem;
  }

  .searchfield {
    width: 100%;
    padding: 7px 40px 7px 15px;
    border-radius: 40px;
    border: 1px solid #ccc;
    transition: all .3s ease;
    outline: none;
  }

  .searchfield:hover,
  .searchfield:focus {
    border-color: #086cc3;
  }

  .searchicon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url(../images/search.png);
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .text-bld label {
    font-weight: 500;

    span {
      font-weight: bold;
    }
  }

  .img-sec {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 14px;
  }

  .addlead_container {

    width: 100%;
    background: #fff;
  }


  .addleadcard {
    /* margin-bottom: 18px; */
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
    /* width: 92vh; */

    background: #fff;
  }

  .addlead-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #D1CFCF;
  }

  .addlead-header label {
    font-weight: bold;
  }

  .leadcontent {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    padding: 14px;
  }

  #flex-clumn {
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }


  .userprofile_img {
    .image-upload-container {
      display: flex;
      align-items: center;
      position: relative;
    }

    .image-preview {
      width: 70px;
      height: 70px;
      border-radius: 5px;
      /* border: 2px solid #ddd; */
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background-color: #f0f0f0;
      cursor: pointer;
      transition: transform 0.3s ease-in-out;
      padding: 8px;
      margin: 12px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      /* box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.1); */
    }

    .image-preview.uploaded {
      animation: scaleIn 0.3s ease-in-out forwards;
    }

    .upload-placeholder {
      font-size: .7rem;
      color: #7f7f7f;
      text-align: center;
      cursor: pointer;
    }

    .preview-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      cursor: pointer;
      border-radius: 5px;
    }

    /* Image Name Styling */
    .image-name {
      font-size: .9rem;
      color: #000;
      margin: 8px 12px;
      animation: highlightFadeIn 0.4s ease forwards;
      font-weight: bold;


    }

    /* Highlight Animation */
    @keyframes highlightFadeIn {
      0% {
        opacity: 0;
        transform: translateY(5px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Scale-in Animation */
    @keyframes scaleIn {
      0% {
        transform: scale(0.9);
        opacity: 0.8;
      }

      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    /* Menu Styling */
    .menu {

      transform: translateX(-50%);
      border-radius: 8px;
      padding: 5px 10px;
      display: flex;
      gap: 10px;
      opacity: 0;
      transform: translateY(10px);
      animation: fadeIn 0.3s ease forwards;
      margin-left: 25px;
    }

    /* Fade-in Animation for Menu */
    @keyframes fadeIn {
      0% {
        opacity: 0;
        transform: translateY(10px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .menu-button {
      background-color: #4A90E2;
      color: white;
      border: none;
      border-radius: 5px;
      padding: 5px 10px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s;
    }

    .menu-button:hover {
      background-color: #357ABD;
    }




  }


  .editimage {
    background-color: #365397;
    border: none;
    border-radius: 50%;
    padding: 6px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    position: absolute;
    bottom: -24px;
    left: -129px;
  }

  #timelogdropdown {
    .dropdown-item {
      font-size: .8rem;
      /* padding: .25rem .8rem; */
      padding: 8px 15px;
      border-bottom: 1px solid #c8d0ff;
    }

    .dropdown-menu {
      border: 1px solid #c8d0ff;
    }

    .dropdown-menu a:hover {
      background-color: #deebff;
      color: #222;
    }
  }

  /* ************************************************************************ CRM LEADS PAGE END***************************************** */

  .viewFormContainer {
    display: flex;
    flex-wrap: nowrap;
    margin: 1rem;

  }

  .leftBlock {
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);

    background: #fff;
    width: 18%;

    min-height: 80px;
    max-height: max-content;

    position: sticky;

    top: 120px;

  }

  .leftBlock h2 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: .55rem 1rem;

  }

  .leftBlock ul {
    padding: 0rem;
    margin: 0;
    border-top: 1px solid #D9D9D9;
  }

  .leftBlock ul li {
    padding: .55rem .5rem;
    border-bottom: 1px solid #D9D9D9;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all .4s;
  }

  .leftBlock ul li:hover,
  .leftBlock ul li.activeList {
    background: #456abb;
    color: #fff;
  }

  .leftBlock ul li:hover a,
  .leftBlock ul li.activeList a {
    color: #fff;
  }

  /* background: #f1f9ff;  */
  .leftBlock ul li:last-child {
    border-bottom: none;
  }

  .leftBlock ul li a {
    color: #000;
    font-weight: 400;
  }

  .action-img2 {
    width: 13px;
    height: auto;
  }

  .rightBlock {
    width: 100%;
    padding: 0 0 0 1rem;
  }

  .viewFormContainer .rightBlock .addlead_container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }


  .viewTabs {
    margin-bottom: 1rem;
    position: sticky;
    /* top: 53px; */
    top: 109px;
    background: #fff;
    z-index: 99;
    padding: 0px 0 0 0;

  }

  .viewTabs ul {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #D9D9D9 !important;
    display: flex;
    padding-left: 1rem;
  }

  .viewTabs ul li {

    text-align: center;

    color: #000;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;


  }

  .viewTabs ul li.active {



    color: #2196f3;
    border-bottom: 2px solid #9cb6f8;

  }

  .userImg {
    display: flex;
    align-items: center;
  }

  .userImg span {
    margin-left: .5rem;
  }

  .custom-textarea {
    height: 30px;
  }

  .actionRow {
    margin: .5rem 0;
    display: flex;
    align-items: center;
  }

  .leadRow {
    margin-right: 1.5rem;
  }

  .addNote {
    margin-right: 1.5rem;
  }

  .actionButton img {
    width: 14px;
    margin: 0rem 0.5rem 0 0;
  }

  .userName {
    color: #456ABB;

  }

  .customTextA label {
    display: none;
  }

  .attBtn {
    display: flex;
    align-items: center;
    transition: all .4s;

  }

  .attBtn img {
    width: 7px
  }

  .attBtn:hover img {
    filter: brightness(0) invert(1);
    transition: all .4s;
  }

  .tableContainer table {
    width: 100%
  }

  .tableContainer table th {
    font-weight: 600;
  }

  .tableContainer table th,
  .tableContainer table td {
    border-bottom: 1px solid #d9d9d9;
    padding: .5rem 0;
  }

  .status {

    border-radius: 50px;
    padding: .15rem .5rem;
    padding-left: 1.5rem;
    min-width: 150px;
  }

  .statusCol .active {
    border-radius: 30px;
    background: #fff;
    padding: 0px 8px;
    font-size: .8rem;
    text-align: center;
    display: inline-block;
    min-width: 80px
  }

  .statusCol .active a {
    color: #000;
  }

  .gr {
    border: 2px solid green;
  }

  .statusCol .rd {
    border: 2px solid #F19494;
    border-radius: 30px;
    background: #fff;
    padding: 0px 8px;
    font-size: .8rem;
    text-align: center;
    display: inline-block;
  }

  .statusCol .active a {
    color: #000;
  }



  .mailLink {
    display: block;
  }

  .ViewLeadPageOuter {
    display: block;
    width: 100%
  }

  .viewHeader {

    background: #d9e7f6;
    padding: .5rem .8rem .5rem .8rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

  }

  .flex-div {
    display: flex;
  }

  .userProfileBlock {
    display: flex;
    align-items: center;

  }

  .userProfileBlock p {
    font-weight: 600;
  }

  .tag {
    margin-top: .35rem;
  }

  .tag img {
    /* width: 14px;
    height: auto; */
    height: 16px;
  }

  .tag small {
    font-size: 13px;
  }

  .rightAction {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .rightAction button {
    transition: all .4s;
  }

  .rightAction button.actbtn {
    color: #fff;
    background-color: #365397;
    border-color: #365397;

  }

  .userimg {
    background-color: #fff;
    padding: .2rem;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    text-align: center;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: .35rem
  }

  .userimg img {
    max-width: 100%;
    height: auto;
  }



  .arwButton button {
    border: none;
    background: none;
    opacity: .5;
  }

  .arwButton button:hover {

    opacity: 1;
  }

  .arwButton button.current {

    opacity: 1;
  }

  .emialTabRow {
    background: #F9FEFD;
    border-bottom: 1px solid #d9d9d9;
    padding-top: .6rem;
  }

  .emialTabRow ul {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #D9D9D9;
    display: flex;
    padding-left: 1rem;
  }

  .emialTabRow ul li {

    text-align: center;

    color: #000;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;


  }

  .emialTabRow ul li.active {



    color: #2196f3;
    border-bottom: 2px solid #9cb6f8;

  }

  .scrollTo {
    position: relative;
    top: -105px;
  }

  .cName p {
    font-size: 16px;
  }

  .cName span {
    font-size: 13px;
  }

  .activityBlock {
    background: #f1f6fb;

  }

  .activityHeader {
    padding: .5rem 1rem;
    border-bottom: 1px solid #d9d9d9;
    display: flex;
    align-items: center;
  }

  .activityHeader img,
  .activityHeader p {
    margin-right: .85rem;
    font-weight: 500;
  }

  .activityHeader span.labelTask {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 500;
    border-radius: 4px;
    background: #ffe8e8;

  }




  .activityHeader span.disable {

    background: #d9d9d9;

  }

  .activityBody {
    padding: 1rem;
  }

  .activityContent {
    border-bottom: 1px solid #d1d1d1;
    min-height: 150px;
  }

  .activityRow {
    display: flex;
    justify-content: space-between;

  }

  .flp p {
    color: #456ABB;
    font-weight: 500;
    margin-bottom: .5rem;
    line-height: 1.2rem;

  }

  .flp small {
    font-size: 14px;

  }

  .userActivity span {
    font-weight: 500;
  }

  .activityRow2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;

  }

  .otherInfo {
    padding-left: 1.5rem;
    padding-bottom: .5rem;
  }

  .otherInfoRow {
    display: flex;
    align-items: center;
    margin: .55rem 0;
  }

  .otherInfoRow label {
    width: 80px
  }

  .whiteb {
    background: #fff;
  }

  .High {
    background: #ffd1d1;
    padding: .25rem .8rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
  }

  .emialTabRow {
    /* Center-align nav-tabs */

    .nav-tabs {
      position: relative;
      border-bottom: none;
    }

    .nav-tabs .nav-link {
      position: relative;
      border: none;
      padding: 10px 10px;
      color: #949494;
      font-size: 1rem;
      font-weight: 500;
      transition: color 0.3s ease;
      background: none;
    }


    .nav-tabs .nav-link.active {
      color: #456ABB;
    }

    .nav-tabs::before {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;

    }

    .nav-tabs .nav-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 0;
      background-color: #456ABB;
      transition: width 0.3s ease-in-out;

    }


    .nav-tabs .nav-link.active::after {
      width: 100%;
    }



    .tab-pane {
      display: none;
    }

    .tab-pane.show {
      display: block;
    }




    .tab-content {
      margin-top: 0px;
      overflow-y: auto;
      height: calc(100vh - 65vh);
      scrollbar-width: thin;
    }



  }

  .viewTabs {
    /* Center-align nav-tabs */

    .nav-tabs {
      position: relative;
      border-bottom: none;
    }

    .nav-tabs .nav-link {
      position: relative;
      border: none;
      padding: 10px 0px;
      color: #949494;
      font-size: 1rem;
      font-weight: 500;
      transition: color 0.3s ease;
    }


    .nav-tabs .nav-link.active {
      color: #456ABB;
    }

    .nav-tabs::before {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;

    }

    .nav-tabs .nav-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 0;
      background-color: #456ABB;
      transition: width 0.3s ease-in-out;

    }


    .nav-tabs .nav-link.active::after {
      width: 100%;
    }



    .tab-pane {
      display: none;
    }

    .tab-pane.show {
      display: block;
    }




    .tab-content {
      margin-top: 0px;
      overflow-y: auto;
      height: calc(100vh - 65vh);
      scrollbar-width: thin;
    }



  }

  #overviewBlock .accordion-button:not(.collapsed) {
    color: #000;
    background-color: #fff;
    box-shadow: none;
  }

  #overviewBlock .accordion-button {
    padding: 0;
    outline: none;
    border: none;
    box-shadow: none;
  }

  .addlead-header .dropdown {
    width: auto;
  }


  /*********Import Lead Pages - CRM***********/

  .dropdown-menu li:hover a {
    display: block;
    background-color: #deebff;
    color: #222;
    width: 100%;
  }

  .importLead_main {
    width: 100%;
    margin-left: 0;
  }

  .viewHeader h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
  }

  .upload-container {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 120px;
  }

  .upload-inner {
    padding: 2rem 1.5rem;
    background: #F3F7FF;
    border-radius: 12px;
    margin: 1.2rem;

    transition: .2s;

    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .upload-inner h2,
  .upload-inner p {
    font-weight: 500;
  }

  .upload-inner p a {
    margin: 0 .15rem;
  }

  .upload-container img {
    width: 60px;
    margin-bottom: 10px;
  }

  .upload-container h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
  }

  .upload-container a {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    margin: 10px 0;
  }

  .upload-container a:hover {
    text-decoration: underline;
  }

  .upload-container .footer-note {
    font-size: 14px;
    line-height: 1.5rem;
    color: #5C5C5C;
    font-weight: 500;
    margin-top: 0px;
    padding: 0rem 1.5rem;
  }

  .upload-container .uploadActions {
    margin: 20px;
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #ccc;
  }

  .upload-container button {
    margin: 1rem 0;
  }

  .upload-container .uploadActions button {
    margin: 0;
  }

  .upload-container .uploadActions button.btn-primary {
    color: #fff;
  }

  .upload-container .uploadActions button:hover {
    color: #fff;
  }


  .dropdown-toggle-split {
    border-left: 1px solid #3054a3;
  }

  .upload-container .file-input input[type="file"] {
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    position: absolute;
    opacity: 0;
  }

  .file-input label {
    display: block;
    width: max-content;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .upload_succesMsg {
    padding: 2rem 1.5rem;
    background: #F3F7FF;
    border-radius: 12px;
    margin: 1.2rem;

    transition: .2s;

    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: centere;
  }

  .fileName p {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: .25rem 1rem;
    max-width: 90%;
    background: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
  }

  .importLeadFiles {
    padding: 1.5rem;
  }

  .existingLeads {
    margin: 1rem 0;

  }


  .records_Block {
    max-width: 60%;
    margin: 1rem 0;
    border-bottom: 1px solid #d9d9d9;
  }

  .records_Block p {
    margin: 1rem 0;
    font-weight: 500;
  }

  .records_Block label {
    margin-left: .5rem;
  }

  .leads-Select {
    max-width: 400px;
  }

  .checkboxContainer {
    display: flex;
    margin-top: 1rem;

  }

  .checkboxContainer img {
    margin-left: .5rem;
  }

  .leadChecbox input {
    margin-right: .5rem;
    position: relative;
    top: 1px
  }

  .fileNameBlock {
    display: flex;
    align-items: center;
  }

  .fileNameBlock img {
    margin-right: .5rem;
  }

  .grid-box {
    background: #fff !important;
  }


  .Timeline_CRM .audit-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .Timeline_CRM .date-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .Timeline_CRM .calendar-icon {
    color: #666;
    cursor: pointer;
  }

  .Timeline_CRM .audit-date {
    font-weight: bold;
    margin: 0px 0 20px 0;
    background: #f0dff9;
    width: auto;
    display: inline-block;
    padding: .30rem .55rem;
    border-radius: 50px;
  }

  .Timeline_CRM .audit-timeline {
    position: relative;
    padding-left: 15px;
  }

  .Timeline_CRM .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
  }

  .Timeline_CRM .timeline-line {
    position: absolute;
    left: 97px;
    top: 0;
    bottom: -20px;
    width: 2px;
    background-color: #eee;
  }

  .Timeline_CRM .timeline-dot {
    position: absolute;
    left: 83px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #dce4f6;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Timeline_CRM .time {
    width: 90px;
    color: #222;
    font-size: 0.9em;
    font-weight: 500;

  }

  .Timeline_CRM .user-name {
    color: #222;
    text-decoration: none;
    margin-right: 5px;
    margin-bottom: 1rem;
    font-weight: 500;
  }

  .Timeline_CRM .user-name span {
    color: #365397;
  }

  .Timeline_CRM .action {
    color: #666;
    display: block;
    font-size: 13px;

  }

  .Timeline_CRM .userNameBlock {
    margin-left: 2.5rem;
  }

  .userNameBlock {
    background: #f6fbff;
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    min-width: auto;
  }

  .user-name {
    color: #365397;
    text-decoration: none;
    margin-right: 5px;
    margin-bottom: .85rem;
    font-weight: 500;
    font-size: .938rem;
  }

  .dataValueBlock {
    display: flex;
    align-items: center;
    padding: .5rem 0;
  }

  .dataValueBlock h4 {
    margin-right: .5rem;
    font-weight: 500;
    font-weight: 500;
  }

  .dataChangesValue span {
    margin: 0 .5em;
  }

  .actionTimeline h3 {
    font-size: 1.2rem;
    color: #374668;
    margin: .5rem 0;
    font-weight: 500;

  }

  .actionTimeline h3 {
    font-size: 1rem;
    color: #222;
    margin-bottom: .5rem;
    font-weight: 500;

  }

  .oldValue {
    background: #d0e7fe;
    border-radius: 50px;
    padding: .12rem .5rem;
    font-size: .9rem;
    margin: 0;
    /* Remove any existing margins */
  }

  .newValue {
    background: #c9ebe7;
    border-radius: 50px;
    padding: .12rem .5rem;
    font-size: .9rem;
    margin: 0;
    /* Remove any existing margins */
  }

  .viewFormContainer .addleadcard {
    margin: 1rem 0;
  }

  .btn-check:focus+.btn-primary,
  .btn-primary:focus {
    color: #fff;
    background-color: #365397;
    border-color: #365397;
    box-shadow: none;
  }


  .action-menu .dropdown-item {
    padding: 0;
    display: flex;
    align-items: center;
  }

  .action-menu .dropdown-menu a {
    color: #000;
    font-size: .85rem;
    padding: 4px 8px !important;
    line-height: normal !important;
  }

  .action-menu .dropdown-menu li:hover {
    background: #deebff;
    color: #222;
  }

  .action-menu .dropdown-menu li:hover a {
    background: #deebff;
    color: #222 !important;
  }



  .action-menu .dropdown-toggle::after {
    display: none;
  }

  /* .action-menu .dropdown-toggle img{
  position: relative;
    top: 2px;
} */

  .action-menu .dropdown {
    position: absolute;
    left: 75px
  }

  .action-menu .dropdown-menu {
    position: absolute;
    box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.1);
    border: none;
  }

  .action-menu .dropdown-menu.show>.openSubMenu {
    display: block;
  }

  .action-menu .dropdown-submenu {
    display: none;
    position: absolute;
    height: 190px;
    max-height: 190px;
    /* left: 0px; */
    top: 26px;
    background: #fff;
    padding: 0rem 0rem 0 0;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    transform: translateX(0);
    overflow-y: auto;



  }

  .action-menu .dropdown-submenu li a {
    padding: 0px 12px !important;
    color: #333;
    display: block;
    width: 100%;
  }

  .action-menu .dropdown-submenu li:hover a {
    background: #3054a3;
    color: #fff;
    display: block;
  }

  /* .openSubMenu{
  display: block;
} */


  .action-menu .openSubMenu {
    display: block;
    transform: translateX(122px);



  }

  #list-example li.active {
    background: #f1f9ff;
  }

  .dropdown-menu li:hover a {
    background: #deebff;
    color: #222 !important;
  }



  /* ***************************************************sticky button header in view lead *********************************** */

  .viewHeader {
    position: sticky;
    top: 53px;
    z-index: 988;
  }

  /* .viewshadow {
    box-shadow: 0 5px 15px rgb(0 0 0 / 6%), 0 5px 15px rgb(0 0 0 / 10%);
  } */

  .spacing_bt {
    gap: 20px;
  }


  .dollarField {
    position: relative;
  }

  .dollarValue {
    position: absolute;
    left: .8rem;
    top: 2.18rem;
  }

  .dollarField {
    .formik-input {
      padding-left: 1.5rem;
    }
  }

  .rightAction select {
    border-radius: 50px;
  }

  .rightheader {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
  }

  .rightheader h2 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0rem 0rem .5rem 0;
  }

  .rightheader p {
    font-size: 1rem;
    line-height: 1.3rem;
  }

  .viewHeader h1 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: .55rem 0rem;
  }

  .whiteBlock {
    /* margin-bottom: 18px; */
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
    /* width: 92vh; */
    background: #fff;
    min-height: calc(100vh - 161px);
  }

  .tblheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;

  }

  .settingTable {
    padding: 0rem 1rem 1rem 1rem;

  }

  .settingTable table {
    border: 1px solid #E5E5E5;
  }

  .settingTable table thead th {
    background: #FAFAFA;
    border-bottom: 1px solid #E5E5E5;
    padding: .8rem .5rem;

  }

  .settingTable .table-hover>tbody>tr:hover {
    background: #F1F9FF;
  }

  .table>:not(caption)>*>* {
    padding: .35rem .5rem;

    box-shadow: none;
  }

  .searchBoxTable {
    min-width: 300px;
  }

  button.moreBtn {

    margin-left: 10px;
    background: none;
    border: none;
    color: #3054a3;
    cursor: pointer;
    background: none;
    border: none;
  }

  .vAlign {
    position: relative;
  }

  .vAlign img {
    position: relative;
    top: 4px;
    cursor: pointer;
  }

  .dropdown {
    /* position: relative; */
  }

  .menuBtn {
    margin-left: 10px;
    background: none;
    border: none;
    color: #0039C6;
    cursor: pointer;
    background: none;
    border: none;
    display: "inline-block",
  }

  .dropMenu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 150px;
    min-height: 62px;

  }

  ul.dropMenu li {
    list-style: none;

  }

  ul.dropMenu li a {
    color: #333;
    padding: .35rem 0.5rem;
    display: block;
    border-bottom: 1px solid #f2f2f2;
  }

  ul.dropMenu li a:hover {
    background: #456abb;
    color: #fff;
  }


  /*****************Genric Classes for POPUP*****************/
  #genricPopup {
    .popup-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: flex-start;
      z-index: 1000;
      padding-top: 120px;
    }

    /* Popup content */
    /* .popup-content {
    background: white;
    border-radius: 10px;
    width: 767px;
    max-width: 767px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
    overflow: unset;
    display: flex;
    flex-direction: column;
    position: relative;
  
    
  } */


    .popup {
      background-color: #fff;
      border-radius: 8px;
      width: 710px;
      max-width: 767px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      position: absolute;
      top: 92px;
      left: 50%;
      transform: translateX(-50%);
    }



    /* Popup Header */
    .popup-header {
      padding: 1rem;
      border-bottom: 1px solid #e9ecef;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .popup-title {
      margin: 0;
      font-size: 1rem;
      font-weight: bold;
    }

    /* Close Button */
    .btn-close-rounded {
      background: #f5f5f5;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      font-size: 1.2rem;
      font-weight: bold;
      color: #333;
      cursor: pointer;

    }

    .btn-close-rounded:hover {
      background: #e0e0e0;
    }

    .view-close {
      border: none;
      outline: none;
      background: transparent;
      transition: all .3s ease;
      padding: 0
    }

    .view-close:hover svg path {
      fill: #365397
    }

    /* Popup Body */
    .popup-body {
      padding: 1rem;
      font-size: 1rem;
      color: #6c757d;

    }

    /* .popup-content-block {
   overflow: auto;
   overflow-x: hidden;
    max-height: calc(100vh - (200px + 200px));
  } */

    /* Popup Footer */
    .popup-footer {
      padding: 1rem;
      border-top: 1px solid #e9ecef;
      display: flex;
      justify-content: flex-end;
      gap: 0.5rem;
    }

    .popup-footer .btn {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }

    .popup-content-block {
      max-height: calc(100vh - (160px + 160px));
      overflow-x: hidden;
      overflow-y: auto;
    }


    #fullPopUp {
      padding-top: .9%;
    }

    #fullPopUp .popup-content {
      width: 98%;
      max-width: 98%;
      height: calc(100vh - (14px + 14px));
    }

    #fullPopUp .popup-footer {
      position: absolute;
      bottom: 0px;
      width: 98%;
    }

  }





  .addProfileTA textarea {
    height: 120px;
  }

  .userNamecls {
    display: flex;
    align-items: center;
  }

  .userNamecls img {
    width: 30px;
    height: auto;
    margin-right: .5rem;
    border-radius: 30px;
  }

  .settingTable table td {
    vertical-align: middle;
  }

  /* .popup-content-block .settingTable{
   overflow: auto;

    max-height: calc(100vh - (200px + 200px));
} */


  .popup-content-block .settingTable table th {
    position: sticky;
    top: 0
  }

  .permissionRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f1f1;
    padding: .5rem 0;
  }

  .permissionAction {
    display: flex;
    align-items: center;
  }

  .permissionAction .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin: 0 .5rem;

  }

  .permissionAction .form-check-input {
    margin-top: 0;
  }

  .permissionAction label {
    margin-left: .5rem;
  }

  .permissionRow p {
    color: #000;
    width: 150px;

  }

  .permissionControl .form-check-input:checked {
    background-color: #45bb87 !important;
    border-color: #45bb87 !important;
  }

  .permissionRow .form-check-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none;
  }

  .settingTable table td {
    vertical-align: middle;
  }

  .dateblk {
    display: block;
    font-size: .8rem;
  }

  .txtbold {
    font-weight: 600;
  }

  .linkEl {
    font-weight: 600;
    color: #0039C6;
  }

  .flexDiv {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .flexDiv img {
    position: relative;
    top: .4rem;
    margin-right: .55rem;

  }

  .tempHdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tempHdr .dropdown p {
    font-weight: 600;
    font-size: 1.2rem;
  }

  .tempHdr .btn {
    padding: .4rem 1rem;
    font-size: .8rem;
    min-width: 175px;
    transition: none;
  }


  .tblheader h3 {
    display: flex;
    align-items: center;
    font-weight: 600;
  }

  .tempNo {
    background: #F1F9FF;

    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: .5rem;

  }

  .templateBlk {
    padding: 0 1rem 1rem 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;


  }

  .tmpBox {

    max-width: 180px;
    width: 170px;
    height: 240px;
    margin-right: 1rem;
    text-align: center;
    margin-bottom: 2.5rem;

  }


  .tmpBox p {
    font-weight: 600;
    padding-top: .8rem;
    font-size: .9rem;
    line-height: 1.2rem;
  }

  .templateBlkInner {
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    padding: .6rem;
    width: 100%;
    height: 88%;
    position: relative;
  }

  .templateBlkInner img {
    width: 100%;
    height: 100%;

  }

  .templateBlkInner:hover .hoverDiv {
    visibility: visible;
    transform: translateY(0px);
    opacity: 1;
    transition: transform .8s ease, opacity .8s ease;
  }

  .hoverDiv {
    background: #456abb;
    padding: .5rem;
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 148px;
    visibility: hidden;
    transform: translateY(10px);
    opacity: 0;
    transition: transform .8s ease, opacity .8s ease;
  }

  .selBtn {
    background: #fff;
    padding: .25rem;
    border: 1px solid #fff;
    color: #000;
    transition: all .4s;
  }

  /* .selBtn:hover{
  background: #456abb;
  padding: .25rem;
  border: 1px solid #456abb;
  color: #fff;
} */

  .tempHdr .dropdown-menu.show {
    width: 200px
  }

  .tempHdr .dropdown-menu li a:hover {
    background-color: #456abb;
    color: #fff !important;
  }



  #EditPopup {
    .popup-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* background-color: rgba(0, 0, 0, 0.5); */
      background-color: transparent;
      display: flex;
      justify-content: flex-end;
      align-items: flex-end;
      z-index: 1000;
      padding-top: 120px;
    }

    /* Popup content */
    .popup-content {
      background: white;
      /* border-radius: 10px 0px 0px 0px; */
      border-radius: 0;
      width: 767px;
      max-width: 767px;
      box-shadow: -5px 0px 8px 0px rgba(0, 0, 0, 0.05);
      animation: slideIn 0.3s ease-out;
      overflow: unset;
      display: flex;
      flex-direction: column;
      position: relative;
      height: calc(100vh - (70px + 69px));
      border-left: 1px solid #D9D9D9;
      margin-bottom: 18px;

    }



    /* Popup Header */
    .popup-header {
      padding: 1rem;
      border-bottom: 1px solid #e9ecef;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 10px 0px 0 0;
    }

    .popup-title {
      margin: 0;
      font-size: 1rem;
      font-weight: bold;
    }



    .view-close {
      border: none;
      outline: none;
      background: transparent;
      transition: all .3s ease;
      padding: 0
    }

    .view-close:hover svg path {
      fill: #365397
    }

    /* Popup Body */
    .popup-body {
      padding: 1rem;
      font-size: 1rem;
      color: #6c757d;
      position: relative;
      overflow-y: auto;

    }

    /* Popup Footer */
    .popup-footer {
      padding: 1rem;
      border-top: 1px solid #e9ecef;
      display: flex;
      justify-content: flex-end;
      gap: 0.5rem;
      position: absolute;
      bottom: 0;
      width: 100%;
      background: #fff;
    }

    .popup-footer .btn {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }

    .popup-content-block {
      max-height: calc(100vh - (200px + 200px));
      overflow-x: hidden;
      overflow-y: auto;
    }



  }

  check:checked+.btn-outline-primary:focus {
    box-shadow: none;
  }

  .btn-check:active+.btn-outline-primary,
  .btn-check:checked+.btn-outline-primary,
  .btn-outline-primary.active,
  .btn-outline-primary.dropdown-toggle.show,
  .btn-outline-primary:active {
    color: #fff;
    background-color: #456ABB;
    border-color: #456ABB;
  }

  .btnTxt {
    font-weight: 600;
    min-width: 50px
  }

  .btnTxt:hover {
    background: #e2f0ff;
    border-radius: 50px;
  }


  .btnImg {
    display: flex;
    align-items: center;


  }

  .editTemplateHdr {
    display: flex;
    align-items: center;
  }

  .flDiv {
    display: flex;
    align-items: center;
  }

  .editTemplateHdr .btn-group .btn {
    min-width: 105px;
    padding: .25rem 1rem .35rem 1rem !important;
  }

  .editTemplateHdr .btn-group .btn-check:checked+.btn-outline-primary img {
    filter: brightness(0) invert(1);
    position: relative;
    top: 3px
  }

  .editTemplateHdr .btn-group .btn-outline-primary img {
    filter: brightness(1) invert(0);
    position: relative;
    top: 3px
  }

  .editTemplateHdr .btn-group .btn-outline-primary:hover img {
    filter: brightness(0) invert(1);

  }

  .btn-check:active+.btn-outline-primary:focus,
  .btn-check:checked+.btn-outline-primary:focus,
  .btn-outline-primary.active:focus,
  .btn-outline-primary.dropdown-toggle.show:focus,
  .btn-outline-primary:active:focus {
    box-shadow: none;
  }

  .tempView {
    margin-top: 1.5rem;

  }

  .tempView img {
    width: 100%;
  }

  .editTemplateHdr .btn-check:active+.btn-outline-primary:focus,
  .btn-check:checked+.btn-outline-primary:focus,
  .btn-outline-primary.active:focus,
  .btn-outline-primary.dropdown-toggle.show:focus,
  .btn-outline-primary:active:focus {
    box-shadow: none !important;
  }

  .editTemplateHdr .btn-check:focus+.btn-outline-primary,
  .btn-outline-primary:focus {
    box-shadow: none;
  }

  .editTemplateHdr .btn-check:focus+.btn,
  .btn:focus {
    outline: 0;
    box-shadow: none;
  }

  .radioBtnContainer {
    margin-top: .3rem;
  }

  .radioBtnContainer .form-check-input {
    margin-top: 0;
  }

  .selTempName {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .selTempNameChip {
    background: #EBF2FF;
    padding: .35rem .8rem;
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin: .5rem .5rem .5rem 0;

  }

  .selTempNameChip img {
    margin-left: .5rem;
  }

  label {
    color: #333;
  }

  .textBold span {
    font-weight: bold;
  }

  .custHeight {
    min-height: 400px;
  }

  .custHeightMassMail {
    min-height: 370px;
  }



  /* Hide the default checkbox */
  .custom-checkbox input[type="checkbox"] {
    display: none;
  }

  /* Create a custom checkmark */
  .custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;

  }

  .custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    border-radius: 0px;
    position: relative;
    margin-right: 0px;
    background-image: url(../images/startdef.svg);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    border-width: 0;
    top: 4px;
  }

  /* Add a tick mark for the checked state */
  .custom-checkbox input[type="checkbox"]:checked+.checkmark {
    border: none;
    background-color: transparent;
    background-image: url(../images/startSel.svg);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    border-width: 0;
  }

  .custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    border: none;
    background-color: transparent;
    background-image: url(../images/startSel.svg);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    border-width: 0;

  }

  .previewLink {
    visibility: hidden;
    opacity: 0;
    transition: all .4s;
    background: none;
    border: none;
  }

  .settingTable .table-hover>tbody>tr:hover .previewLink {
    visibility: visible;
    opacity: 1;
  }

  .custWd {

    min-width: 220px
  }

  .custHgtpreview {
    max-height: calc(100vh - 205px) !important;

  }

  .tempViewMobile {
    background: url(../images/mobileView.png) no-repeat 50% 50% / 100% auto;
    width: 567px;
    height: 1151px;
    position: relative;
    margin: 0 auto;
  }

  .tempViewMobile img {
    position: absolute;
    position: absolute;
    width: 87%;
    height: auto;
    top: 100px;
    left: 37px;
  }

  .editTemplateHdr .btn-group {
    margin-left: .15rem;
  }

  /********************Template Builder Start*****************/

  .templateBuilderOuter {
    width: 100%;

  }

  .formContainer {
    background: #374668;
    padding: 1rem;
    box-shadow: 0px 2px 5px rgba(1, 41, 112, 0.1);

  }

  .inputContainer input {
    border: none;
    padding: 0 .5rem;
    background: transparent;
    color: #fff;
  }

  .inputContainer .formik-input,
  .formik-div input {
    min-height: 26px;
  }

  .inputContainer input::placeholder {

    color: #8C95A9;
  }

  .inputContainer .formik-input:focus {
    box-shadow: none;
    background: #4A5A7F;
    border: none;
    color: #fff;
  }

  .inputContainer .css-13cymwt-control {
    border: none;
    background: #CDF8F2;
    min-height: 26px;
    height: 30px;
    border-color: transparent;
    border-radius: 50px;
  }

  .inputContainer .css-19bb58m input,
  .inputContainer .css-19bb58m input::placeholder {
    color: #444444;
  }


  .inputContainer .css-hlgwow {
    padding: 0 .8rem;
    height: 100%;
  }

  .inputContainer .css-1u9des2-indicatorSeparator {
    display: none;
  }

  .inputContainer .css-1xc3v61-indicatorContainer {
    padding: 0 .5rem 0 0;
    color: #6c757d;
  }

  .inputContainer .css-19bb58m:focus-visible {
    border: 0px;
  }

  .inputContainer .css-t3ipsp-control {
    border: none !important;
    background: #fff;
    height: 30px !important;
    min-height: 26px;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 50px !important;
  }

  .inputContainer .css-t3ipsp-control .css-1wy0on6 div {
    padding: 0 .5rem 0 0 !important;
    color: #6c757d;
  }

  .inputContainer .css-t3ipsp-control .css-1u9des2-indicatorSeparator {
    display: none;
  }

  .inputContainer .css-1jqq78o-placeholder {
    grid-area: 1 / 1 / 2 / 3;
    color: hsl(0, 0%, 20%);
    margin-left: 2px;
    margin-right: 2px;
    box-sizing: border-box;
  }

  .inputContainer-chk {
    background: #D2E4F8;
    border-radius: 50px;
    padding: .18rem .8rem;
  }

  .inputContainer-chk .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }

  .inputContainer-chk .form-check-input {
    margin-top: 0;
    margin-left: 0;
  }

  .inputContainer-chk .form-check-input:focus {
    box-shadow: none;
  }

  .inputContainer-chk .form-switch {
    padding-left: 0;
  }

  .inputContainer-chk .form-check label {
    margin-left: .5rem;
    white-space: nowrap;
  }

  .noLabel label {
    display: none;

  }

  .btnCT .btn {
    padding: .25rem 1rem;
    font-size: 1rem;
    min-width: 92px;
    transition: none;
    white-space: nowrap;
  }

  .tName input {
    font-weight: 500 !important;
  }

  .tName .formik-div input::placeholder {
    font-weight: 500 !important;
  }

  .editor div {
    min-height: calc(100vh - 86.5px);
  }

  .newTemp {
    margin-left: 0;
  }

  .bdrLeft {
    border-left: 1px solid #8C95A9;
  }

  .backButton {
    background: none;
    border: none;
    text-align: center;
    color: #fff;
    transition: all .4s ease;
  }

  .backButton:hover {

    transform: translateX(-3px);
  }

  .backButton:hover .bi {

    transition: all .4s ease;
  }

  .backButton i {
    font-size: 1.5rem;
  }

  .backButton span {
    font-size: .938rem;
  }

  /********************Template Builder End*****************/
  .tblheader button.btn-link {
    color: #222;
    padding: 0;
    text-decoration: none;
  }

  .btn-sel:hover,
  .tblheader button.btn-link:hover {
    background: transparent;
    border: none;
    padding: 0;
    text-decoration: none;
    color: #456abb !important;


  }

  .btn-sel {
    /* background: #d9e7f6;
  border-color: #a3bcd7; */
    background: none;
    border-color: none;
    /* box-shadow:0 1px 6px 2px rgba(0, 0, 0, 0.08); */
    padding: 0;
    text-decoration: none;
    color: #456abb !important;
  }

  .galleryText {
    border: 1px solid #f1f1f1;
    padding: 0;
    margin: 1rem 0;
    border-radius: 6px;

  }

  .txtDetail {
    padding: 1rem 1rem;
    min-height: 150px;

  }

  .galleryText h2 {
    font-size: 1rem;
    font-weight: 500;
    /* color: #086cc3; */

    margin-bottom: .5rem;
    line-height: 1.4;
  }

  .galleryText p {
    font-size: .938rem;
    font-weight: 400;
    color: #222;
    padding: .5rem 0;
    line-height: 1.4;
  }

  .galleryText span {
    background: #b6ded6;
    text-align: center;
    border-radius: 50px;
    padding: .15rem 1rem;
    display: inline-block;
    margin: .25rem 0;
    font-size: .838rem;

  }

  .galleryText p.small {
    font-size: .85rem;
    font-weight: 400;
    color: #222;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

  }

  .small b {
    font-weight: 500;
    padding-right: .25rem;
    color: #74c887;
  }

  .moduleDisplay {
    background: #f7f8fa;
    text-align: left;
    padding: .5rem 1rem;
    color: #456abb;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .templateTypeHd {
    background: #f0f7ff;
    padding: 0 1.2rem;
    border-radius: 6px;
  }

  .templateTypeHd h2 {
    font-weight: 600;
    padding: .5rem 0;
    display: flex;
    align-items: center;
  }

  .templateTypeHd .tempNo {
    background: #cce4ff;
    border-radius: 4px;
    padding: .15rem .25rem;
    display: block;
    width: auto;
    height: auto;
  }

  .novalue,
  p.novalue {
    color: #D9D9D9;
    font-weight: 400;
  }

  .flexDivhd {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .btnTrash {
    border: none;
    background: none;
    font-size: .9rem;
    color: #456abb;
    padding: 0;
    min-width: auto
  }

  .btnTrash:hover {
    color: #374668;
  }

  /***View Page CSS Start****/

  .viewHeader {
    background: #fff;
    border-bottom: 1px solid #d9d9d9;
  }

  .ViewLeadPageOuter {
    background: #d9e7f6;

  }

  .viewFormContainer {

    margin: 0;
    background: #d9e7f6;
    padding: 0rem;
    position: relative;
    top: 106px;
  }

  .leftBlock {
    top: 130px;
    padding: 0;
    margin: 1rem;
  }

  .rightBlock {
    padding: 0;
    margin: 0rem 1rem 1rem 0;
  }

  .rightBlock .viewTabs {
    background: #d9e7f6;
    padding: 22px 0 0 0;
    top: 6.6rem;
    border-radius: 0px;
    border-top: 1px solid #d9e7f6;
  }

  .rightBlock .accordion {
    background: transparent;
  }



  .addleadcard {
    box-shadow: none !important;
    border: 5px;
  }

  .accordion-header:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .addleadcard .addlead-header {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  #overviewBlock .addlead-header {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;

  }

  .rightBlock .viewTabs .nav-tabs {
    background: #fff;
    border-radius: 4px;

  }

  .tab-content {
    background: none;
  }

  .accordion {
    background: #fff;
  }

  .addlead_container {
    background: transparent;
  }

  .addlead-header label {
    color: #365397;
  }

  .emialTabRow {
    padding-top: 0;
    background: #edf8ff;
  }

  .emialTabRow {
    .nav-tabs .nav-link.active {
      color: #000;
    }

    .nav-tabs .nav-link {
      font-size: .838rem;
    }


  }

  .viewTabs {
    border-radius: 4px;
  }

  .addlead-header {
    background: #f7fcff;
    border-top: 1px solid #D1CFCF;
  }

  #headingOne {
    background: none;
    border-bottom: 0px solid #D1CFCF;
  }

  #headingOne button {
    font-weight: 600;
    font-size: 1.2rem;
  }

  #main_header {
    padding: 5px 1.5rem 5px 1.25rem;
    min-height: 24px;
  }

  .breadcrumb {

    a,
    span {
      font-size: .838rem;
    }
  }

  .leadback_pg {
    padding: 10px 27px;
  }

  .viewHeader {
    position: sticky;
    top: 38px;
    z-index: 988;
    border-top: 1px solid #ccdced;
  }

  .pd_card {
    padding: .8rem 1rem;
  }

  .leadcontent #tab1 table th:first-child {
    width: 3%;
  }

  .rightBlock .whiteBlock {
    margin: 1.4rem 0 1rem 0;
  }


  .dashboard_container {
    height: calc(100vh - (38px)) !important;
  }

  .ViewLeadPageOuter {
    height: 100%;
  }

  .collapse_card .addleadcard .addlead-header {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }

  .collapse_card .addleadcard .addlead-header:first-child {
    border-top: 0;
  }

  #timeline .Timeline_CRM {
    min-height: calc(100vh - 280px);
    max-height: max-content;
  }

  .noDataAvailable {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 410px);
    max-height: max-content;
  }

  .noDataAvailable p {
    font-weight: 500;
  }

  .noDataAvailable img {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
  }

  .noDataCont {
    text-align: center;
  }

  .ViewLeadPageOuter .viewHeader {
    position: fixed;
    width: calc(100vw - 80px);
    min-height: 70px
  }

  #main_header {
    position: fixed;
    /* width: calc(100vw - 92px); */
    width: calc(100vw - 82px);
    z-index: 989;
  }

  .dash-container {
    padding: 0 .8rem 1rem 1.2rem;
    position: relative;
    top: 40px;
  }

  #CRM_pageSection .ag-grid-container {
    height: calc(100vh - (0px + 110px)) !important;
  }

  .home-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    top: 38px;
    background: #d9e7f6;
  }

  .active {
    border: 0px solid #0ebc6b;
  }

  td .active a {
    color: #0ebc6b;
  }

  .dotsactive {
    background-color: #0ebc6b
  }

  /***View Page CSS End****/


  .crmsidemenu {
    z-index: 99991;
  }

  .showcontent input {
    padding: .5rem .8rem;
    margin-left: .5rem;
    border-radius: 4px;
    border: 1px solid #cccccc
  }

  .showcontent input:focus-visible {
    border: 1px solid #ccc;
    outline: none;
  }

  .convert_container,
  .importLeadFiles {
    position: relative;
    top: 30px;
  }

  /* .addlead_container .collapse_card{
  position: relative;
  top: 40px;
} */
  .totalaction-count {
    margin: 1rem 0;
  }

  .header-left {
    display: flex;
    align-items: center;
  }

  .backButton {
    cursor: pointer;
  }

  .timelog-btn:hover {
    background: #365397;
  }

  .refresh-btn img {
    width: 12px;
    filter: brightness(0) invert(1);
  }

  .refresh-btn {
    padding: .36rem 1.5rem;
  }

  .btn {
    line-height: 1.4
  }

  .manage_tg_container {
    background: #e2eefb;
    padding: .65rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
  }

  .manage_tg_container svg {
    margin-right: .35rem;
  }

  .manage_tg_container p {
    font-size: 14px;
    color: #456abb;
  }

  .comingSoon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 250px;
  }

  .comingSoon img {
    width: 100px;
    height: auto;
  }

  .comingSoon h2 {
    font-size: 26px;
    font-weight: 600;
    padding-top: 1rem;
    color: #d1cfcf;
  }

  .rightContent .cutome_ag_theme {
    height: calc(100vh - 310px);
    overflow: auto;
  }

  .whiteBlock .galleryView {
    height: calc(100vh - 310px);
    overflow-y: auto;
    padding-right: 15px;
  }


  .soon {
    font-size: .8rem;

  }



  /************Pagination Class*************/
  .ag-status-bar-center,
  .ag-status-bar-center div {

    background: transparent !important;
    font-weight: 400;

  }

  .ag-status-bar-center select {
    padding: .25rem 1rem .25rem .5rem;
    margin-left: .5rem;
    border: 1px solid #f2f2f2;
    background: transparent url(../images/arrow-down.svg) no-repeat 80% 50% / 10px auto;
    border-radius: 4px;
    -webkit-appearance: none;
  }

  .ag-status-bar-center div p {
    padding: 0 1rem;
    margin: 0;
  }

  .ag-status-bar-center div button {
    border: none;
    background: none;
    display: flex;
    align-items: center;
    line-height: .5rem;
  }




  .modal::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: 989;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: .5;
  }

}



.modal-dialog {
  position: relative;
  z-index: 999;
}

/* .modal-backdrop.show {
  display: none !important;
} */

.popover.tagPopover {
  position: fixed !important;
  display: flex;
  max-width: 100%;
  /* box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1); */
  box-shadow: 0 34px 26px rgb(0 0 0 / 6%), 0 35px 35px rgb(0 0 0 / 18%);
  transform: translate3d(90px, 100px, 0px) !important;
}

.popover.tagPopover .popover-arrow {
  left: -101px !important;
}


.modal-content {
  border-radius: 8px;
}

.modal-header .btn-close {

  background-image: none;
  background-color: rgb(39, 90, 202);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  transition: all .3s ease;
  opacity: 1;
  width: 26px;
  height: 26px;
}

.modal-header .btn-close:hover {
  background-color: #154bbe;
}

.modal-header .btn-close:active,
.modal-header .btn-close:focus {
  box-shadow: 0 4px 12px rgba(21, 75, 190, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-header .btn-close::before {
  content: '';
  background: url(../images/closeWh.svg) no-repeat 50% 50%/1em auto;
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* .modal-header .btn-close:hover {
  background-color: #365397;
} */

.modal-footer {
  justify-content: flex-end;
  border: 1px solid #f2f2f2;
  background: #e8eef4;
  padding: .75rem 1.3rem;

}

.popup-footer {
  line-height: 1.6;
  padding: .75rem 1.3rem !important;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px
}

.popup-footer button,
.modal-footer button {
  padding: 8px 24px;
  line-height: 1.4;
  border-radius: 6px;
}

.popup {
  top: 70px
}

.dataChangesValue {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Adds spacing between elements */
}

.dataChangesValue span:not(.oldValue):not(.newValue) {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.oldValue {
  background: #d0e7fe;
  border-radius: 50px;
  padding: .12rem .5rem;
  font-size: .9rem;
  margin: 0;
  /* Remove any existing margins */
}

.newValue {
  background: #c9ebe7;
  border-radius: 50px;
  padding: .12rem .5rem;
  font-size: .9rem;
  margin: 0;
  /* Remove any existing margins */
}

.fc-daygrid-event-harness a {
  text-align: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}

.fc-daygrid-event-harness a:hover {
  color: #5b86e3;
  background: none;
}