@import url('/themes/custom/legalconnect/fonts/fontello2/css/fontello.css?v=1.0.5');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,600');

@font-face {
  font-family: 'uknumberplateregular';
  src:
    url('../fonts/uk-number-plate/uknumberplate-webfont.woff2') format('woff2'),
    url('../fonts/uk-number-plate/uknumberplate-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* testing multidev */
body {
  margin-top: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  background-color: #f7f9fc;
}
a:hover,
a:focus {
  color: none;
  text-decoration: none;
}
/* KAN-1249: globally suppress browser-default focus rings on pointer
   interactions (the "black square" around clicked links/buttons). Keyboard
   users still get a visible brand-green ring via :focus-visible.
   Element-prefixed variants are required to outrank Bootstrap 3.4.8's
   `a:focus` and `input[type=...]:focus` rules on specificity. */
:focus:not(:focus-visible),
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
input[type='file']:focus:not(:focus-visible),
input[type='radio']:focus:not(:focus-visible),
input[type='checkbox']:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
input[type='file']:focus-visible,
input[type='radio']:focus-visible,
input[type='checkbox']:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 2px solid #13bb64;
  outline-offset: 2px;
}
/*.region-header .logo {
  display: none;
}*/
body.path-frontpage .region-header .logo {
  display: block;
}
body.path-user .region-header .logo {
  display: block;
}
.text-h1 {
  font-weight: bold;
  font-size: 15px;
}
.text-h2 {
  font-weight: bold;
  font-size: 13px;
}
.text-h3 {
  font-weight: bold;
  font-size: 12px;
  color: #787878;
}
.lc-table {
  width: 100%;
}
td {
  vertical-align: top;
}
.lc-table td {
  padding: 5px;
  vertical-align: top;
}
.lc-tbl-td-right {
  text-align: right;
}
.icon-plus-circle {
  color: #12ba63;
}
a,
a:hover,
a:focus {
  color: #12ba63;
}
.region.region-content {
  position: relative;
  /* padding-top: 20px; */
}
body.path-matter .region.region-content {
  padding-top: 0px;
}
.main-container.container {
  position: relative;
}

/* moved to form.css

form {
  padding: 5px;
}
form input {
  color: #213765;
  border: 0;
  border-radius: 0;
  -moz-bordborder-radiuser-radius: 0;
  -webkit-border-radius: 0;
  border-bottom: 1px solid #dadada;
  box-shadow: none;
  font-weight: 300;
  font-size: 16px;
}
.form-control {
  color: #213765;
  border: 0;
  border-radius: 0;
  -moz-bordborder-radiuser-radius: 0;
  -webkit-border-radius: 0;
  border-bottom: 1px solid #dadada;
  box-shadow: none;
  font-weight: 300;
  font-size: 16px;
}
form label {
  color: #a2a2a2;
  font-weight: 300;
  font-size: 12px;
}
form .description {
  color: #a2a2a2;
  font-weight: 300;
  font-size: 11px;
}
.form-required:after {
  margin-left: 3px;
  background-size: 7px 7px;
  width: 7px;
}

*/

nav.tabs {
  margin-bottom: 20px;
}

/* moved to form.css

form.user-register-form .tabledrag-toggle-weight {
  display: none;
}
form select option {
  font-weight: 300;
  font-size: 14px;
}
form table .field-label {
  color: #a2a2a2;
  font-weight: 300;
  font-size: 12px;
}
form .panel-title {
  font-size: 13px;
  font-weight: 300;
}
form .paragraph-type-title {
  font-size: 13px;
  font-weight: 300;
}
form fieldset legend span {
  color: #a2a2a2;
  font-weight: 300;
  font-size: 12px;
}
form fieldset legend {
  margin-bottom: 0;
}
form fieldset .fieldset-wrapper .form-item {
  margin-top: 0;
}
form fieldset .fieldset-wrapper .form-item label {
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
}
form label.control-label {
  margin: 0;
}
#edit-field-para-bh-wrapper .form-inline .form-control {
  width: 100%;
}
#edit-field-disbursements-wrapper .form-inline .form-control {
  width: 100%;
}

body.path-user #user-register-form #edit-contact {
  display: none;
}
body.path-user #user-register-form #edit-timezone {
  display: none;
}

*/

.region-header a.logo img {
  width: 100%;
  max-width: 240px;
  height: auto;
}
.region-header a.logo.pull-left {
  float: none !important;
}
.region.region-header {
  text-align: center;
}
/*body.path-frontpage h1.page-header {
  display: none;
}*/
a.lc-green-btn {
  background-color: #13bb64;
  color: #fff;
  display: block;
  padding: 12px 10px;
  box-sizing: border-box;
  text-align: center;

  -webkit-box-shadow: 0px 2px 10px 0px rgba(153, 153, 153, 1);
  -moz-box-shadow: 0px 2px 10px 0px rgba(153, 153, 153, 1);
  box-shadow: 0px 2px 10px 0px rgba(153, 153, 153, 1);

  border-radius: 3px 3px 3px 3px;
  -moz-bordborder-radiuser-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
}
#user-login-form #edit-submit {
  background-color: #13bb64;
  -webkit-box-shadow: 0px 2px 10px 0px rgba(153, 153, 153, 1);
  -moz-box-shadow: 0px 2px 10px 0px rgba(153, 153, 153, 1);
  box-shadow: 0px 2px 10px 0px rgba(153, 153, 153, 1);
  border: none;

  width: 100%;
  padding: 12px 10px;
  box-sizing: border-box;
  text-align: center;
}

/* body.user-login.path-user h1.page-header {
  display: none;
}*/
/*#user-login-form label {
  color: #13bb64;
  font-weight: normal;
}*/
/*#user-login-form label:after {
  color: #13bb64;
  font-weight: normal;
}*/

/*body.path-dashboard h1.page-header {
  display: none;
}*/

.d-ev-block {
  width: 50%;
  float: left;
  padding: 40px 0;
  display: block;
}
.d-ev-block1 {
  background-color: #e7f8ee;
}
.d-ev-block4 {
  background-color: #e7f8ee;
}
.d-ev-block2 {
  background-color: #ffffff;
}
.d-ev-block3 {
  background-color: #ffffff;
}
.col-sm-12 {
  padding: 0;
}
div.main-container {
  padding: 0;
}
div.main-container > .row {
  margin: 0;
  /* margin-bottom:64px;  CHAT BOTTOM FIX */
}
.d-ev-block div {
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: bold;
}
.d-ev-block .d-ev-block-t1 {
  font-size: 28px;
  color: #12ba63;
}
#dashboard-4blocks:after {
  content: '';
  display: table;
  clear: both;
}
#dashboard-menu {
  background-color: #13bb64;
}
#dashboard-menu a {
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  padding: 10px 7px;
  background-image: url(../images/dashboard/menu-sep.png);
  background-position: right 50%;
  background-repeat: no-repeat;
}
#dashboard-menu a.dash-menu-item4 {
  background-image: none;
}
#dashboard-menu a span {
  display: block;
  color: #fff;
  font-size: 13px;
}
#dashboard-menu a.dash-menu-item1 img {
  width: 16px;
  height: auto;
}
#dashboard-menu a.dash-menu-item2 img {
  width: 25px;
  height: auto;
}
#dashboard-menu a.dash-menu-item3 img {
  width: 19px;
  height: auto;
}
#dashboard-menu a.dash-menu-item4 img {
  width: 25px;
  height: auto;
}
.dash-menu-item1 {
  width: 27.5%;
}
.dash-menu-item2 {
  width: 16.5%;
}
.dash-menu-item3 {
  width: 24.5%;
}
.dash-menu-item4 {
  width: 31.5%;
}
.dash-events-h span {
  font-weight: bold;
  font-size: 13px;
  margin-left: 10px;
}
.dash-events-h img {
  height: auto;
  width: 22px;
  margin-left: 13px;
}
.dash-events-h {
  padding: 17px 0 10px 0;
}
.dash-events-item-wrap {
  display: table;
}
.d-ev-left {
  display: table-cell;
  vertical-align: top;
  background-color: #13bb64;
  color: #fff;
  padding: 15px 10px;
  width: 52px;

  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;

  -webkit-box-shadow: 0px 1px 3px 0px rgba(64, 64, 64, 0.5);
  -moz-box-shadow: 0px 1px 3px 0px rgba(64, 64, 64, 0.5);
  box-shadow: 0px 1px 3px 0px rgba(64, 64, 64, 0.5);
}
.d-ev-right {
  display: table-cell;
  vertical-align: top;
  background-color: #fff;
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;

  -webkit-box-shadow: 0px 1px 3px 0px rgba(64, 64, 64, 0.5);
  -moz-box-shadow: 0px 1px 3px 0px rgba(64, 64, 64, 0.5);
  box-shadow: 0px 1px 3px 0px rgba(64, 64, 64, 0.5);

  padding: 7px 10px;
  width: 100%;
}
.d-ev-day {
  font-size: 20px;
}
.d-ev-month {
  font-size: 17px;
}
.dash-events-item-wrap {
  margin: 5px 5px 10px 5px;

  /*
    -webkit-box-shadow: 0px 2px 10px 0px rgba(153,153,153,1);
    -moz-box-shadow: 0px 2px 10px 0px rgba(153,153,153,1);
    box-shadow: 0px 2px 10px 0px rgba(153,153,153,1); */
}

.d-ev-title {
  color: #191919;
}
.d-ev-clock img {
  height: auto;
  width: 15px;
  position: relative;
  top: -1px;
}
.d-ev-due {
  margin-top: 5px;
  color: #b5b5b5;
}
.d-ev-clock {
  margin-right: 5px;
}

#lc-banner-wrap {
  position: relative;
  z-index: 99;
  background: #fff;
  margin-bottom: -1px;
}
#lc-banner {
  display: table;
  padding-left: 7px;
  width: 100%;
}
#lc-banner-menu {
  display: table-cell;
  vertical-align: top;
  width: 30px;
}
#lc-banner-back {
  display: table-cell;
  vertical-align: top;
  width: 30px;
}
#lc-banner-title {
  display: table-cell;
  vertical-align: middle;

  font-size: 18px;
  text-align: left;
}
#lc-banner * {
  color: #12ba63;
  color: #767c8c;
}
#lc-banner-menu a {
  display: block;
  padding: 12px 5px;
}
#lc-banner-back a {
  display: block;
  padding: 12px 5px;
}
#lc-banner-left {
  display: table-cell;
  vertical-align: middle;
  padding-left: 10px;
}
#lc-banner-right {
  display: table-cell;
  vertical-align: middle;
  padding-right: 10px;
  text-align: right;
}
#lc-banner-right > div {
  margin: 0 1px;
}
#lc-banner-right > div > a {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  width: 28px;

  display: block;
  box-sizing: border-box;
  padding: 2px 1px 1px 1px;
  padding: 10px 1px;
}
#lc-banner-right > div > a i {
  font-size: 18px;
}
#lc-menu {
  background-color: #fff !important;
  position: fixed !important;
  right: 0 !important;
  top: 0 !important;
  display: none;
  z-index: 9999 !important;
  border-radius: 12px 0 0 12px !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
}
/* Reset button position so it doesn't bleed through the fixed menu panel */
.lc-banner-desktop-actions .banner-new-matter-btn {
  position: static !important;
}

#lc-menu-user {
  background-color: transparent !important;
  padding: 8px 0 16px 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  margin-bottom: 8px !important;
}
#lc-menu-user-details {
  color: #0e1016 !important;
  margin-top: 10px;
  margin-bottom: 0 !important;
}
#lc-menu-user-pic img {
  width: 70px;
  height: auto;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.lc-menu-user-email {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  color: #737987 !important;
}
.lc-menu-user-name {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: #0e1016 !important;
}
#lc-menu-inner {
  width: 240px;
  padding: 10px 12px 10px 12px !important;
}
.lc-menu-links-icon i {
  color: #737987 !important;
  font-size: 14px !important;
}
.lc-menu-links-link a {
  color: #0e1016 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  text-decoration: none !important;
}
.lc-menu-links-link a:hover {
  text-decoration: none !important;
}
.lc-menu-links-stat {
  display: none !important;
}
.lc-menu-links-row {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  padding: 6px 8px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
  margin-bottom: 2px !important;
}
.lc-menu-links-row:hover {
  background-color: #f3f4f6 !important;
}
.lc-menu-links-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  min-width: 24px !important;
  margin-right: 10px !important;
  padding: 0 !important;
}
.lc-menu-links-link {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  flex: 1 !important;
}
.lc-menu-section-separator {
  border-top: 1px solid #e5e7eb !important;
  margin: 8px 0 !important;
}
.lc-m-l-stat-inner {
  padding: 14px 0;

  font-size: 10px;
  color: #b2b2b2;
  text-align: right;
  padding-right: 15px;
}
/*body.path-matters h1.page-header {
  display: none;
}*/
#banner-search-wrap {
}
#lc-banner .banner-search-btn {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;

  width: 28px;

  display: block;
  box-sizing: border-box;
}
#lc-banner .banner-search-btn i {
  font-size: 18px;
}
#lc-banner .banner-add-btn {
  color: #fff;
  background-color: #12ba63;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;

  width: 28px;
  height: 28px;
  display: block;
  box-sizing: border-box;
  padding: 2px 1px 1px 1px;
}
#lc-banner .banner-add-btn i {
  color: #fff;
  font-size: 18px;
}
#banner-add-btn-wrap {
  float: right;
  margin: 0 7px;
}
#banner-search-wrap {
  float: right;
}

.lc-tabs-tabs {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.lc-tabs-link {
  display: table-cell;
  width: 2%;
  text-align: center;
  padding: 10px 2px 7px;
  color: #bcbcbc;
  background-color: #fff;
  font-size: 13px;
  border: 0;
}
.lc-tabs-link:active,
.lc-tabs-link:visited {
  border-color: transparent;
  color: #767c8c;
}
.lc-tabs-link.active {
  border-bottom: 5px solid #13bb64;
  color: #767c8c;
}
.lc-tabs-link:hover {
  border-bottom: 5px solid #13bb64;

  text-decoration: none;
}
.lc-tabs-link:focus {
  outline: none;
}
.lc-tabs-link:focus-visible {
  outline: 2px solid #13bb64;
  outline-offset: -2px;
}
.lc-tabs-link.visited {
  text-decoration: none;
}

.lc-tabs-content-loader {
  text-align: center;
  padding-top: 100px;
}
/*body.node-add-matter h1.page-header {
  display: none;
}*/
/*#node-matter-form label {
  color: #12ba63;
}*/
/*#node-matter-form {
  max-width: 800px;
  padding: 40px;
  border: 1px solid #dee0e3;
  border-radius: 10px;
  background-color: #fff;
  margin: 0 auto;
  margin-top: 40px;
}*/
#node-matter-form #edit-submit {
  width: 100%;
  background-color: #12ba63;
}
#node-quote-form #edit-submit {
  width: 100%;
  background-color: #12ba63;
}
.region.region-highlighted > div {
  margin-bottom: 0;
}

.lc-list-matters-item-inner {
  display: table;
  width: 100%;
}
.lc-list-matters-item-left {
  display: table-cell;
}
.lc-list-matters-item-right {
  display: table-cell;
  vertical-align: middle;
  width: 70px;
}
a.icon-star-empty-1 {
  color: #12ba63;
}
span .icon-right-open {
  color: #c3c3c3;
  font-size: 22px;
}
.lc-list-matters-item-title {
  font-weight: bold;
  font-size: 15px;
}
.lc-list-matters-item-id {
  color: #999999;
  font-size: 12px;
}
.lc-list-matters-item-client-name {
  font-size: 12px;
}
.lc-list-matters-item {
  box-sizing: border-box;
  padding: 10px;
  padding-top: 8px;
  margin: 13px 10px;

  -webkit-box-shadow: 0px 1px 5px 0px rgba(153, 153, 153, 0.4);
  -moz-box-shadow: 0px 1px 5px 0px rgba(153, 153, 153, 0.4);
  box-shadow: 0px 1px 5px 0px rgba(153, 153, 153, 0.4);

  border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
}
.lc-list-matters-item-doc-doc-count {
  font-size: 12px;
}
.lc-list-matters-item-client {
  float: left;
  margin-right: 20px;
}
.lc-list-matters-item-doc-count {
  float: left;
}
.lc-list-matters-item-doc-count:after {
  content: '';
  display: table;
  clear: both;
}
.lc-list-matters-item-right a .icon-star-empty-1 {
  color: #12ba63;
}
.lc-list-matters-item-right-star {
  margin-right: 10px;
}
.lc-list-matters-item-right-open {
  position: relative;
  top: 3px;
}
/*body.path-matter .region-content > h1.page-header {
  display: none;
}*/
.matter-header-inner {
  display: table;
  width: 100%;
}
.matter-header-left {
  display: table-cell;
  vertical-align: top;
  width: 84px;
  padding: 10px;
}
.matter-header-right {
  display: table-cell;
  vertical-align: top;
}
.matter-header-profile-pic {
}
.matter-header-profile-pic img {
  width: 100%;
  height: auto;
}
.matter-header-title {
  font-weight: bold;
  font-size: 15px;
  margin-top: 14px;
}
.matter-detail-add-lawyer-btn {
  background-color: #12ba63;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;

  /* padding: 5px 10px 3px; */
  padding: 1px 7px 1px 2px;

  font-size: 12px;
}
.matter-detail-refer-lawyer-btn {
  background-color: #12ba63;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;

  /* padding: 5px 10px 3px; */
  padding: 4px 7px 1px 4px;
  font-size: 12px;
}
.matter-detail-add-lawyer-btn * {
  color: #fff;
}
.matter-detail-refer-lawyer-btn * {
  color: #fff;
}
.matter-detail-add-lawyer-btn:hover {
  text-decoration: none;
}
.matter-detail-refer-lawyer-btn:hover {
  text-decoration: none;
}
.matter-detail-add-lawyer-btn .icon-plus-circled {
  font-size: 14px;
}
.matter-detail-chat-btn {
  background-color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: 1px solid #12ba63;

  /* padding: 5px 10px 3px; */
  padding: 3px 7px 0px 3px;
  font-size: 12px;
}
.matter-detail-chat-btn:hover {
  text-decoration: none;
}
.matter-detail-chat-btn * {
  color: #12ba63;
}
.matter-header-btns-wrap {
  margin-top: 6px;
}
.matter-header-btns-wrap > a {
  white-space: nowrap;
  display: inline-block;
}
.matter-info-panel {
  background-color: #f4f2f3;
}
.matter-header {
  padding-bottom: 10px;
}
.matter-info-panel-inner {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.matter-infop-area {
  display: table-cell;
  vertical-align: top;
  padding: 10px;
  padding-right: 0;
}
.matter-infop-label-1 {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 5px;
}
.matter-infop-label-2 {
  font-weight: bold;
  font-size: 12px;
  color: #12ba63;
}
.matter-infop-label-3 {
  color: #a5a5a5;
}
.matter-infop-label-4 {
  color: #5e5e5e;
}
.matter-infop-funds-left .matter-infop-label-2 {
}
.matter-infop-funds-left .matter-infop-paid {
  font-size: 12px;
}
.matter-infop-funds-right .matter-infop-label-2 {
}
.matter-infop-funds-right .matter-infop-pending {
  font-size: 12px;
}
.matter-infop-client-name {
  font-weight: bold;
  font-size: 12px;
  color: #787878;
}
.matter-infop-new-docs {
  display: inline;
  margin-right: 5px;
  font-weight: bold;
}

.matter-infop-area-3 .matter-infop-label-2 {
  display: inline;
}
.matter-infop-total-docs {
  display: inline;

  margin-right: 5px;
  font-weight: bold;
}
.matter-infop-funds-left {
  width: 75px;
  float: left;
}
.matter-infop-funds-right {
  width: 75px;
  float: left;
}
.matter-infop-funds-wrap:after {
  content: '';
  display: table;
  clear: both;
}
.matter-infop-funds-wrap {
}
.matter-infop-area.matter-infop-area-2 {
}
/*.lc-button,
.lc-button:hover,
.lc-button:focus {
  background-color: #13bb64;
  color: #fff;
  display: block;
  padding: 12px 10px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
  margin: 5px;
  margin-bottom: 10px;
}*/
.lc-button-light,
.lc-button-light:focus,
.lc-button-light:hover {
  background-color: #75b793;
  color: #fff;
  display: block;
  padding: 12px 10px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
  margin: 5px;
  margin-bottom: 10px;
}
/*body.node-add-quote h1.page-header {
  display: none;
}
body.node-add-documents h1.page-header {
  display: none;
}*/

/* moved to form.css

#node-quote-form {
  padding: 10px;
}



body form.node-quote-form .paragraph-type-title {
  flex-basis: auto;
}
.node-form label {
  color: #12ba63;
}
.node-quote-form .paragraph-type-top > .paragraph-type-title {
  display: none;
}
.node-quote-form #field-para-bh-values td.field-multiple-drag {
  display: none;
}

*/

#field-para-bh-values th.field-label {
  color: #12ba63;
}
#field-disbursements-values th.field-label {
  color: #12ba63;
}
/*.field--type-entity-reference-revisions.field--name-field-para-bh
  td.field-multiple-drag {
  display: none;
}*/
.field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  .paragraphs-subform
  > div {
  width: 15%;
  float: left;
}
.field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  .paragraphs-subform
  > div.field--name-field-hour-rate {
  width: 20%;
  float: left;
}
.field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  .paragraphs-subform
  > div.field--name-field-description {
  width: 45%;
  float: left;
}
.field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  .paragraphs-subform
  > div.field--name-field-total {
  width: 20%;
  float: left;
}
.field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  .paragraphs-subform:after {
  content: '';
  display: table;
  clear: both;
}
.field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  .paragraphs-subform
  label {
  font-size: 11px;
}
.node-quote-form .paragraph-type-top > .paragraphs-dropbutton-wrapper button {
  font-size: 10px;
}
/*.field--name-field-para-bh button.tabledrag-toggle-weight {
  display: none;
}
.field--name-field-disbursements button.tabledrag-toggle-weight {
  display: none;
}*/
.field--type-entity-reference-revisions.field--name-field-para-bh th.field-label {
  color: #12ba63;
}
.field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  td.delta-order.tabledrag-hide {
  display: none;
}
.field--type-entity-reference-revisions.field--name-field-para-bh th.tabledrag-hide {
  display: none;
}

.field--type-entity-reference-revisions.field--name-field-disbursements td.field-multiple-drag {
  display: none;
}
.field--type-entity-reference-revisions.field--name-field-disbursements .paragraphs-subform > div {
  width: 15%;
  float: left;
}
.field--type-entity-reference-revisions.field--name-field-disbursements
  .paragraphs-subform
  > div.field--name-field-hour-rate {
  width: 20%;
  float: left;
}
.field--type-entity-reference-revisions.field--name-field-disbursements
  tr.draggable
  .paragraphs-subform
  > div.field--name-field-description {
  width: 45%;
  float: left;
}
.field--type-entity-reference-revisions.field--name-field-disbursements
  tr.draggable
  .paragraphs-subform
  > div.field--name-field-total {
  width: 20%;
  float: left;
}
.field--type-entity-reference-revisions.field--name-field-disbursements
  tr.draggable
  .paragraphs-subform:after {
  content: '';
  display: table;
  clear: both;
}
.field--type-entity-reference-revisions.field--name-field-disbursements
  tr.draggable
  .paragraphs-subform
  label {
  font-size: 11px;
}
.field--type-entity-reference-revisions.field--name-field-disbursements th.field-label {
  color: #12ba63;
}
.field--type-entity-reference-revisions.field--name-field-disbursements
  tr.draggable
  td.delta-order.tabledrag-hide {
  display: none;
}
.field--type-entity-reference-revisions.field--name-field-disbursements th.tabledrag-hide {
  display: none;
}
form#node-quote-form .field--name-field-subtotal .form-inline {
  display: table;
  width: 100%;
}
form#node-quote-form .field--name-field-subtotal .form-inline label {
  width: 50%;
  display: table-cell;
}
form#node-quote-form .field--name-field-subtotal .form-inline input {
  display: table-cell;
}

form#node-quote-form .field--name-field-vat .form-inline {
  display: table;
  width: 100%;
}
form#node-quote-form .field--name-field-vat .form-inline label {
  width: 50%;
  display: table-cell;
}
form#node-quote-form .field--name-field-vat .form-inline input {
  display: table-cell;
}

form#node-quote-form .field--name-field-quote-total .form-inline {
  display: table;
  width: 100%;
}
form#node-quote-form .field--name-field-quote-total .form-inline label {
  width: 50%;
  display: table-cell;
}
form#node-quote-form .field--name-field-quote-total .form-inline input {
  display: table-cell;
}
/*form#node-quote-form .field--name-field-mandatory-amount label {
  display: none;
}*/
form#node-quote-form .field--name-field-mandatory-amount {
  width: 50%;
  float: left;
}
form#node-quote-form .field--name-field-mandatory-advance {
  width: 50%;
  float: left;
}
form#node-quote-form .field--name-field-advance-collected {
  clear: both;
}
/* #node-quote-form #edit-field-matter-wrapper {
  display: none;
}*/
.lc-matter-list-quotes .lc-list-matters-item-right {
  width: 31px;
}
.lc-matter-list-quotes .lc-list-matters-item-doc-count {
  margin-right: 20px;
}
.lc-matter-list-quote-pending {
  float: left;
}
.lc-matter-list-quotes .lc-list-matters-item-client {
  margin-right: 10px;
}
.lc-matter-list-quotes .lc-list-matters-item-doc-count {
  margin-right: 10px;
}
.lc-list-quotes-item-left {
  display: table-cell;
}
/* body.path-quote h1.page-header {
  display: none;
}*/
.quote-details-wrap {
  margin: 10px;
  padding: 10px;
  background-color: #f4f2f3;
}
.qdet-matter-name {
  margin-bottom: 7px;
}
.qdet-client-name {
  margin-bottom: 7px;
}
.qdet-quote-name {
  margin-bottom: 7px;
}
.quote-details-first {
  border-bottom: 1px solid #c8c8c8;
}
.quote-details-second {
  border-bottom: 1px solid #c8c8c8;
  padding: 10px 0;
}

.quote-page-status {
  color: #12ba63;
}
.highlighted .alert {
  margin-bottom: 0;
}
body.path-lawyer .region-content > h1.page-header {
  display: none;
}
.matter-header-profile-pic img {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.lawyer-profile-info-panel {
  padding: 10px;
}
.lawyer-profile-info-panel > div {
  margin-bottom: 10px;
}
body.page-node-type-quote.node-edit .form-type-vertical-tabs {
  display: none;
}
body.path-invoice h1.page-header {
  display: none;
}
body.path-payment h1.page-header {
  display: none;
}
.lc-rating {
  display: inline-block;
}
.lc-rating-based {
  display: inline-block;
  font-size: 12px;
  position: relative;
  top: -5px;
}
.lc-lp-inline-sec {
}
.lc-lp-inline-sec div {
  font-size: 12px;
}
.lc-lp-time-info {
  /* position: relative;
    top: -5px; */
}

/*
.lc-lp-rating-time-wrap {
    display:table;
    width:100%;
}
.matter-header-rating {
    display:table-cell;
}
.lc-lp-time-info {
    display:table-cell;
    text-align: right;
}
*/

.lc-lp-time-info span {
  font-size: 12px;
  position: relative;
  top: -5px;
  display: block;
}
.lc-lp-time-info i {
  font-size: 16px;
}

.lc-tabs-link i {
  font-size: 23px;
  display: none;
}
h4.lc-lp-page-section-title {
  border-left: 10px solid #999;
  padding-left: 5px;
}
.lc-lp-loc-map {
  width: 100%;
  max-width: 500px;
}

.lc-tabs-content-sidebar .lc-button,
.lc-tabs-content-sidebar .lc-button-light {
  display: none;
}
.sidebar-block-title {
  border: 1px solid #ddd;
  padding: 13px 9px;
}
.sidebar-block-title:after {
  content: '';
  display: table;
  clear: both;
}
.sidebar-block-content {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
  padding: 13px 9px;
}
.sidebar-block-title a {
  float: right;
}
.sidebar-block-wrap {
  margin: 10px 5px;
}
.lc-la-oh a {
  display: block;
  float: left;
  margin: 3px;
  background-color: #eee;
}
.lc-la-oh:after {
  content: '';
  display: table;
  clear: both;
}
.lc-la-oh a i {
  font-size: 30px;
  color: #ccc;
}
.lc-la-sa i {
  font-size: 60px;
  color: #eee;
}
.lc-la-sa {
  text-align: center;
  padding: 30px 0;
}
body.path-lawyers .region.region-content > h1.page-header {
  display: none;
}
.lc-data-list-item {
  box-sizing: border-box;
  padding: 10px;
  padding-top: 8px;
  margin: 13px 10px;

  -webkit-box-shadow: 0px 1px 5px 0px rgba(153, 153, 153, 0.4);
  -moz-box-shadow: 0px 1px 5px 0px rgba(153, 153, 153, 0.4);
  box-shadow: 0px 1px 5px 0px rgba(153, 153, 153, 0.4);

  border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
}
.lc-data-list-item-inner {
  display: table;
  width: 100%;
}
.lc-data-list-item-left {
  display: table-cell;
  vertical-align: top;
}
.lc-data-list-item-right {
  display: table-cell;
  vertical-align: middle;
}
.lc-data-list-item-text1 a {
  font-weight: bold;
  font-size: 15px;
}
.lc-data-list-text2 {
  color: #999999;
  font-size: 12px;
}
.lc-data-list-item-text3 * {
  font-size: 12px;
}
.lc-data-list-item-text4 * {
  font-size: 12px;
}
.lc-data-list-item-text3 {
  display: inline-block;
  margin-right: 10px;
}
.lc-data-list-item-text4 {
  display: inline-block;
}
.lc-data-user-item .lc-data-list-item-right {
  width: 116px;
}
body.node-add-refer-matter .region.region-content > h1.page-header {
  display: none;
}
#node-refer-matter-form {
  padding: 10px;
}
#lc-banner-menu a {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
#lc-banner-timeline {
  display: inline-block;
}
#lc-banner-notifications {
  display: inline-block;
}
#banner-search-wrap {
  float: none;
  display: inline-block;
}
#lc-banner-menu {
  float: none;
  display: inline-block;
}
#lc-banner-back i {
  color: #bcbcbc;
  font-size: 22px;
}
#global-action-btns i {
  color: #13bb64;
  font-size: 50px;
}
#context-action-menu {
  position: absolute;
  position: fixed;
  right: 0;
  bottom: 0;
}
#global-action-btns a {
  display: block;
}
#global-action-btns a.context-menu-close {
  display: none;
}
.context-menu-menu-wrap {
  display: block;
  display: none;

  position: absolute;
  width: 210px;

  left: -143px;
  top: -44px;

  z-index: 50;
  background-color: #13bb64;

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;

  box-shadow: 15px 15px 35px 0px rgba(0, 0, 0, 0.3);
}
.context-desktop-chat .context-menu-menu-wrap {
  left: -208px;
}
.context-menu-link-wrap * {
  color: #fff;
}
.context-menu-link-wrap a {
  font-size: 16px;
  display: inline-block;
  width: 100%;
  padding: 10px;
}
.context-menu-link-wrap a:hover {
  text-decoration: none;
}
.context-menu-link-wrap i {
  font-size: 18px;
  display: inline-block;
}
.lc-chat-msg-pic img {
  width: 30px;
  height: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.lc-chat-msg-pic {
  display: table-cell;
  vertical-align: top;
  padding: 5px 5px;
  width: 50px;
}
.lc-chat-msg-data {
  display: table-cell;
  vertical-align: top;
  padding: 5px 5px;
}
.lc-chat-message {
  display: table;
  width: 100%;
}
.lc-chat-you .lc-chat-msg-inner {
  background-color: #4c84ff;
  color: #fff;
  padding: 10px;
  display: inline-block;
  float: right;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  max-width: 800px;
  /* margin-left: 65px; */
}
.lc-chat-other-user .lc-chat-msg-inner {
  background-color: #fff;
  color: #000;
  padding: 10px;
  display: inline-block;

  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.15);

  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.15);

  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.15);

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  max-width: 800px;
  margin-right: 65px;
}
@-moz-document url-prefix() {
  .lc-chat-other-user .lc-chat-msg-inner {
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.08);
  }
  #lc-banner-wrap.firefox-header {
    position: fixed !important;
    top: 0px;
  }
}

.lc-chat-you .lc-chat-msg-message:after {
  content: '';
  display: table;
  clear: both;
}
.lc-chat-msg-user-data span {
  font-size: 10px;
}
.lc-chat-msg-name {
  margin-left: 13px;
}
.lc-chat-msg-time {
  color: #a0a0a0;
}
.lc-chat-msg-user-data {
  text-align: right;
}
.lc-chat-other-user .lc-chat-msg-user-data {
  text-align: left;
}
.lc-chat-other-user .lc-chat-msg-name {
  margin-left: 0;
  margin-right: 13px;
}
.lc-chat-actions {
  width: 100%;
  padding: 5px;
  position: fixed;
  bottom: 0;
  /* background-color:#fff; */
}
.lc-chat-msg-box {
}
.lc-chat-msg-btn {
  text-align: right;
  padding-right: 5px;
  background-color: #fff;
}

#lc-chat-wrap {
}

.lc-matter-th-person-pop {
  display: none;
  position: absolute;
  top: 40px;
  left: 0px;
  z-index: 999;

  /* background-color:#FFF;
    width:280px;
    
    
    box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.20);
    
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px; */
}
.pmin-pop-content {
  min-height: 280px;
  width: 280px;
  background-color: #fff;
  box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.2);

  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}
.lc-matter-th-person-pop .loader {
  text-align: center;
  padding-top: 133px;
}
.profile-min {
  /*
    box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.20);
    
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px; */
}
.profile-min img {
  width: 100%;
  height: auto;
}
.pmin-info-wrap {
  padding: 10px;
  text-align: center;
  padding-bottom: 50px;
}
.pmin-fullname {
  font-size: 23px;
  color: #242754;
  margin-top: 8px;
  margin-bottom: 3px;
}
.pmin-firm {
  font-size: 11px;
  color: #7b7c81;
}
.pmin-info-2nd * {
  color: #797c81;
  font-size: 15px;
  line-height: 16px;
}
.pmin-info-2nd {
  margin-top: 40px;
}
.pmin-i2-email {
  margin-bottom: 25px;
}
.pmin-i2-corr {
  margin-top: 20px;
}

.lc-matter-th-person-pic-color {
  width: 30px;
  height: 30px;
}
.lc-matter-th-person-pic-color img {
  width: 100%;
  height: auto;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.lc-matter-th-person-pic-color div {
  width: 30px;
  height: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  text-align: center;

  display: table-cell;
  vertical-align: middle;

  color: #fff;
  /* text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    text-shadow: -1px 0 #606060, 0 1px #606060, 1px 0 #606060, 0 -1px #606060; */
}
.lc-matter-th-color-icon {
  min-width: 44px;
  height: 44px;
  border-radius: 11px 11px 11px 11px;
  -moz-border-radius: 11px 11px 11px 11px;
  -webkit-border-radius: 11px 11px 11px 11px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  display: table-cell;
  vertical-align: middle;

  /* text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    text-shadow: -1px 0 #606060, 0 1px #606060, 1px 0 #606060, 0 -1px #606060; */
}
.lc-list-matters-item-v2-left a {
  display: inline-block;
  border-radius: 15px 15px 15px 15px;
  border: 2px solid #e2e2e2;
  padding: 5px;
  box-shadow: 0px 0px 1px 1px #e2e2e2;
}
#lc-titleheader-back a {
  color: #bdbdbd;
  margin-top: 1rem;
}
#lc-titleheader-back a i {
  font-size: 30px;
}
.lc-matter-th-people:after {
  content: '';
  display: table;
  clear: both;
}
.lc-matter-th-person {
}

.lc-matter-title-header-wrap {
  display: flex;
}
.lc-matter-title-header-wrap:after {
  content: '';
  display: table;
  clear: both;
}
.lc-matter-title-header-wrap > div {
  float: left;
}
.lc-matter-th-color-icon-wrap {
}
.lc-matter-th-title-tap a {
  font-size: 11px;
  color: #787b7d;
  display: block;
}
.lc-matter-th-people {
  margin: 3px 0 10px 0;
}
.lc-matter-th-person-color a {
  display: block;
}
.lc-matter-th-person-color a:hover {
  text-decoration: none;
}
.lc-matter-title-header-wrap {
  /* -webkit-box-shadow: 0px 5px 5px 0px rgba(196, 196, 196, 0.15);
    -moz-box-shadow: 0px 5px 5px 0px rgba(196, 196, 196, 0.15);
    box-shadow: 0px 5px 5px 0px rgba(196, 196, 196, 0.15); */
  background: #fff;
}
.lc-tabs-wrap {
  margin-top: 10px;
}
.lc-tabs-tabs {
  /* -webkit-box-shadow: 0px 5px 5px 0px rgba(196, 196, 196, 0.40);
    -moz-box-shadow: 0px 5px 5px 0px rgba(196, 196, 196, 0.40);
    box-shadow: 0px 5px 5px 0px rgba(196, 196, 196, 0.40); */
  border-bottom: 1px solid #dee0e3;
  box-sizing: border-box;
  padding-top: 2px;
}
.stick-to-top {
  width: 100%;
  top: 0;
  position: fixed !important;
}
a.lc-chat-context-menu {
  /* display:inline-block; */
  line-height: 23px;
  position: relative;
  /* top: 5px; */
}
a.lc-chat-context-menu i {
  font-size: 30px;
  color: #bdbdbd;
}
a.lc-chat-context-menu-close {
  display: none;
}
/*.lc-tabs-content-data {
  padding:5px;
  padding-bottom: 70px;
}*/

.lc-list-matters-item-v2-matter-name a {
  color: #484b54;
  font-weight: 300;
  font-size: 15px;
}
.lc-list-matters-item-v2-matter-name a:hover {
  text-decoration: none;
}
.lc-list-matters-item-v2-left a:hover {
  text-decoration: none;
}
.lc-list-matters-item-v2-matter-desc {
  color: #898989;
  font-weight: 300;
  font-size: 12px;
  min-width: 280px;
}
.lc-list-matters-item-v2-matter-people span {
  color: #898989;
  font-weight: 300;
  font-size: 12px;
}
.lc-list-matters-item-v2-inner {
  display: table;
  width: 100%;
}
.lc-list-matters-item-v2-left {
  display: table-cell;
  vertical-align: top;
  width: 68px;
}
.lc-list-matters-item-v2-right {
  display: table-cell;
  vertical-align: top;
}
.lc-list-matters-item-v2 {
  padding: 10px;
  border-bottom: 1px solid #e2e2e2;
  /* box-shadow: 0px 0px 1px -1px #E2E2E2; */
}
.form-type-managed-file input.form-file {
  font-size: 14px;
}

.field--widget-entity-reference-paragraphs .field-multiple-table div.form-group {
  padding: 5px;
}

#quote-hidden-fields {
  display: none;
}
.lc-listings-item-action-menu {
  display: none;

  width: 172px;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 5px 5px 10px -1px #dbdbdb;
  position: absolute;
  right: 30px;
  /* top: -10px; */
  bottom: 0;
}
.lc-listings-item-action-menu a {
  display: block;
  color: rgb(118, 124, 140);
  font-size: 12px;
  padding: 5px;
}
.lc-listings-item-action-menu a:hover {
  text-decoration: none;
  background-color: #13bb64;
  color: #fff;
}
.lc-list-matters-item-v2-right-open a i {
  font-size: 18px;
  color: #767c8c;
}
.lc-list-matters-item-v2-right-open a {
  transform: rotate(90deg);
  display: inline-block;
  box-sizing: border-box;
}
.lc-list-matters-item-v2-icon i {
  font-size: 20px;
  padding-left: 8px;
}
.lc-list-matters-item-v2-inner {
  display: table;
  /* width:100%; */
}
.lc-list-matters-item-v2-inner > div {
  display: table-cell;
  vertical-align: top;
}
.lc-list-matter-quote .lc-list-matters-item-v2-icon {
  vertical-align: middle;
  width: 50px;
}
.lc-list-matters-item-v2-icon {
  vertical-align: middle;
  width: 50px;
}
.lc-list-matter-quote .lc-list-matters-item-v2-right {
  vertical-align: middle;
  width: 26px;
  position: relative;
}
.lc-list-matters-item-v2-right {
  vertical-align: middle;
}
.lc-matter-list-documents .lc-list-matters-item-v2-right {
  width: 26px;
}
.lc-list-matters-item-v2-icon-type {
  display: block;
  box-sizing: border-box;
}

.lc-list-matters-item-v2-inner.lc-list-matter-emails-inner {
  align-items: center;
}
.lc-list-matters-item-v2-icon-type {
  background-color: #217de6;
  text-align: center;
  width: 42px;
  height: 42px;
  padding: 7px 7px 7px 0; /* put back padding to center file icon */
}
.lc-list-matters-item-v2-icon-type i {
  color: #fff;
}
.lc-list-matters-item-v2-icon-type.lc-list-matters-item-v2-icon-type-quote {
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}
form#node-documents-form #edit-field-matter-wrapper {
  display: none;
}
.node-matter-form.node-form #edit-field-client-wrapper {
  display: none;
}
#user-register-form #edit-field-display-colour-wrapper {
  display: none;
}
#lc-menu-bottom-links a {
  color: #737987 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  text-decoration: none !important;
}
#lc-menu-bottom-links a:hover {
  color: #0e1016 !important;
  text-decoration: none !important;
}
#lc-menu-final-links a {
  color: #737987 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  text-decoration: none !important;
}
#lc-menu-final-links a:hover {
  color: #ff6952 !important;
  text-decoration: none !important;
}
#lc-menu-close-menu a {
  color: #737987 !important;
  text-decoration: none !important;
}
#lc-menu-close-menu a:hover {
  color: #0e1016 !important;
}
#lc-menu-close-menu i {
  color: inherit !important;
  font-size: 18px !important;
}
#lc-menu-close-menu {
  text-align: right;
  padding: 6px 4px !important;
}
#lc-menu-user .lc-matter-th-person-pic-color {
  width: 40px;
  height: 40px;
}
#lc-menu-user .lc-matter-th-person-pic-color a div {
  width: 40px;
  height: 40px;
  font-size: 16px;
}
#lc-menu-inner a {
  font-weight: 400 !important;
}
#lc-menu-user-details div {
  font-weight: 500 !important;
}
#lc-menu-bottom-links {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid #e5e7eb !important;
}
#lc-menu-final-links {
  margin-top: 4px !important;
  margin-bottom: 8px !important;
}
#lc-menu-bottom-links .lc-menu-bottom-links-row,
#lc-menu-final-links .lc-menu-final-links-row {
  padding: 4px 8px !important;
  border-radius: 6px !important;
  transition: background-color 0.15s ease !important;
}
#lc-menu-bottom-links .lc-menu-bottom-links-row:hover,
#lc-menu-final-links .lc-menu-final-links-row:hover {
  background-color: #f3f4f6 !important;
}
body.path-user-display article {
  padding: 5px;
}
body.path-user-display article > .js-form-type-item h4 {
  color: #333;
  padding-left: 0;
  font-size: 90%;
}
body.path-user .region.region-content h1.page-header {
  padding-left: 5px;
  font-size: 23px;
}
/*body.node-add-matter #edit-field-lc-matter-id-wrapper {
  display: none;
}*/
.lc-list-matters-item-v2-matter-matterid span {
  font-weight: 300;
}
form.node-documents-form .form-managed-file > button.js-hide.form-submit {
  display: block;
  cursor: text;
}
.field--type-file .panel-body > table td .js-form-managed-file.form-managed-file {
  float: left;
}
form.node-documents-form .form-managed-file > input.form-control {
  padding-left: 0;
}
.field--type-file .panel-body > table a.tabledrag-handle {
  position: relative;
  top: 10px;
}
.lc-list-matters-item-v2 {
  cursor: pointer;
}
.context-menu-open {
  position: relative;
}
.context-menu-open span {
  display: block;
  width: 28px;
  height: 28px;
  background-color: #fff;
  position: absolute;
  top: 23px;
  left: 21px;
  z-index: 10;
}
.context-menu-open i {
  position: relative;
  z-index: 15;
}

.context-menu-close {
  position: relative;
  display: block;
  display: hidden;
}
.context-menu-close span {
  display: block;
  width: 28px;
  height: 28px;
  background-color: #fff;
  position: absolute;
  top: 23px;
  left: 21px;
  z-index: 10;
}
.context-menu-close i {
  position: relative;
  z-index: 15;
}

.highlighted div.alert {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 10px;
}
body.path-matter .highlighted div.alert {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0px;
}
body.path-matters .highlighted div.alert {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0px;
}

.tasks-page-inner {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid aliceblue;
  border: 1px solid #dee0e3;
  box-sizing: border-box;
  border-radius: 4px;
  margin: 24px 42px;
}
.tasks-page-item {
  display: table;
  width: 100%;
  clear: both;
}
.tasks-page-item > div {
  display: table-cell;
  padding: 10px;
  box-sizing: border-box;
}
.tasks-page-grip {
  width: 40px;
}
.tasks-page-check {
  width: 34px;
}
.tasks-page-check input {
  width: 16px;
  height: 16px;
}

.tasks-page-user {
  width: 100px;
}

body.safari .tasks-page-user {
  vertical-align: middle;
}

.tasks-page-del {
  width: 50px;
}
.tasks-page-del i {
  font-size: 20px;
}

.tasks-page-title input {
  width: 100%;
}
.tasks-page-item.even {
  /* background-color:#EDEDED; */
}
.tasks-page-item.completed {
  /* background-color:#EDEDED; */
}
.tasks-page-wrap {
  padding-top: 7px;
}
.tasks-page-add a {
  color: #fff;
  background-color: #13bb64;
  border-radius: 2px 2px 2px 2px;
  -moz-border-radius: 2px 2px 2px 2px;
  -webkit-border-radius: 2px 2px 2px 2px;
  border: 0;
  padding: 3px 10px;
  font-size: 16px;
  margin-top: 7px;
  display: inline-block;
}
.tasks-page-save a,
.tasks-page-save a:hover {
  display: inline-block;
  padding: 9px 20px 9px 20px;
  margin: 0;
  position: relative;
  font-size: 16px;

  color: #fff;
  background-color: #13bb64;
  border-radius: 2px 2px 2px 2px;
  -moz-border-radius: 2px 2px 2px 2px;
  -webkit-border-radius: 2px 2px 2px 2px;
  border: 0;
  padding: 3px 10px;
  font-size: 16px;
  margin-top: 7px;
  display: inline-block;

  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.tasks-page-save {
  padding-right: 35px;
}
.tasks-page-add {
  display: inline-block;
  float: left;
  margin-right: 10px;
  margin-left: 14px;
}
.tasks-page-save {
  display: inline-block;
  float: left;
}
.tasks-page-buttons-wrap:after {
  content: '';
  display: table;
  clear: both;
}
.tasks-page-add img {
  position: relative;
  top: 10px;
}
.tasks-page-save img {
  position: relative;
  top: 10px;
}

.accounts-balance {
  width: 100%;
  display: table;
  background-color: #13bb64;
  border-radius: 9px 9px 9px 9px;
  -moz-border-radius: 9px 9px 9px 9px;
  -webkit-border-radius: 9px 9px 9px 9px;
}
.accounts-bal-left {
  display: table-cell;
  padding: 10px;
  vertical-align: top;
}
.accounts-bal-right {
  display: table-cell;
  width: 50px;
  padding: 10px;
  vertical-align: top;
  background-color: #12a554;
  border-radius: 0px 9px 9px 0px;
  -moz-border-radius: 0px 9px 9px 0px;
  -webkit-border-radius: 0px 9px 9px 0px;
}
.accounts-bal-middle {
  display: table-cell;
  padding: 5px;
  vertical-align: top;
  vertical-align: middle;
  text-align: right;
  width: 80px;
  padding-right: 20px;
}
.accounts-bal-middle img {
  width: 100px;
  width: 100%;
  height: auto;
}
.accounts-bal-bank img {
  width: 100px;
}
.accounts-his-item {
  width: 100%;
  display: table;
  box-shadow: 0px 0px 20px 0px rgba(128, 128, 128, 0.2);
  -webkit-box-shadow: 0px 0px 20px 0px rgba(128, 128, 128, 0.2);
  -moz-box-shadow: 0px 0px 20px 0px rgba(128, 128, 128, 0.2);
  margin-bottom: 15px;
  border-radius: 20px 0px 20px 0px;
  -moz-border-radius: 20px 0px 20px 0px;
  -webkit-border-radius: 20px 0px 20px 0px;
}
.accounts-his-left {
  display: table-cell;
}
.accounts-his-middle {
  display: table-cell;
}
.accounts-his-right {
  display: table-cell;
}
.accounts-account {
  padding: 10px 15px;
}
.accounts-bal-amount {
  color: #fff;
  font-size: 30px;
  font-weight: 300;
}
.accounts-bal-type {
  color: #97e1bb;
  font-weight: 300;
}
.accounts-bal-bank {
  color: #97e1bb;
  font-weight: 300;
}
.acc-bal-down i {
  color: #fff;
  font-size: 25px;
}
.acc-bal-up i {
  color: #fff;
  font-size: 25px;
}
.accounts-his-left {
  padding: 15px;
  padding-right: 0;
  width: 70px;
  vertical-align: top;
}
.accounts-his-middle {
  padding: 15px;
  vertical-align: top;
}
.accounts-his-right {
  padding: 15px;
  width: 170px;
  vertical-align: top;
  text-align: right;
}
.account-his-label {
  color: #bcbcbc;
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 300;
}
.accounts-his-action {
  color: #8c8c8c;
  font-weight: 300;
}
.accounts-his-desc {
  color: #8c8c8c;
  font-weight: 300;
  font-size: 12px;
}
.accounts-his-date {
  color: #8c8c8c;
  font-weight: 300;
}
.accounts-his-amount {
  color: #8c8c8c;
  font-size: 18px;
}
.accounts-bal-right a {
  display: block;
}
.accounts-bal-right a i {
  display: block;
  height: 78px;
}
.accounts-account-natwest .accounts-bal-bank img {
  /* width:50px; */
}

.accounts-account-natwest .accounts-bal-middle img {
  /* width:70px; */
  max-width: 70px;
}
.accounts-account-fnb .accounts-bal-middle img {
  /* width:84px; */
}
.accounts-account-ethereum .accounts-bal-middle img {
  /* width:80px; */
}
.accounts-account-bitcoin .accounts-bal-middle img {
  /* width:70px; */
  max-width: 70px;
}
.acc-his-top-btn {
  color: #fff;
  background-color: #13bb64;
  padding: 10px 30px;
  border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
  margin: 13px 20px 10px 0;
  display: inline-block;
  font-size: 18px;
  font-weight: 300;
}
.acc-his-top-btn:hover {
  text-decoration: none;
}
.fnb-invest-options > div {
  width: 50%;
  float: left;
  padding-right: 5px;
}

.fnb-invest-options .fnb-invest-option3 {
  clear: both;
}
.fnb-invest-options:after {
  content: '';
  display: table;
  clear: both;
}
.fnb-invest-options input {
  width: 15px;
  height: 15px;
}
.fnb-invest-opt-next a {
  color: #fff;
  background-color: #13bb64;
  padding: 10px 30px;
  border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
  margin: 13px 20px 10px 0;
  display: inline-block;
  font-size: 18px;
  font-weight: 300;
}
.fnb-invest-opt-next {
  text-align: right;
}

.lc-matter-th-people .lc-matter-th-person {
  display: inline-block;
  display: block;
  margin-right: 5px;
  float: left;
  position: relative;
}
.lc-matter-th-person-pop.min-pro-small-screen {
  width: 100%;
}
.lc-matter-th-person-pop.min-pro-small-screen .pmin-pop-content {
  margin: 0 auto;
}
.lc-matter-th-person-pop2 {
  display: none;
  width: 280px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 9999;

  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}
.lc-matter-th-person-pop2.pop-large-screen {
  margin-left: initial;
  margin-right: initial;
}
.lc-matter-th-person-pop2 .loader {
  text-align: center;
  padding-top: 133px;
}
/*.cr-acc-buttons {
  height: 20px;
}*/
.pmin-img {
  position: relative;
  background-color: #13bb64;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}
.pmin-img a.pmin-edit-link {
  display: block;
  position: absolute;
  top: 9px;
  right: 5px;

  width: 40px;
  height: 40px;
}
.pmin-img a.pmin-close-link {
  display: block;
  position: absolute;
  top: 6px;
  left: 5px;

  width: 40px;
  height: 40px;
}
.pmin-img a i {
  font-size: 22px;
  color: #fff;

  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;

  background-color: gray;

  border-radius: 50%;
  padding: 7px 5px;
}
.pmin-img img {
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}
a.pmin-close-link i {
  font-size: 27px;
  padding: 3px 1px 3px;
}

.lc-tabs-tabs #refer-matter {
  float: right;
}
.lc-tabs-tabs #invite,
.lc-tabs-tabs #teams {
  float: right;
}

#teams_link {
  float: right;
}

.accounts-main-section {
  margin: 5px 15px;
  border-bottom: 1px solid #ccc;
}
.accounts-main-section a {
  font-size: 16px;
}
body.node-add-group .js-form-item.form-type-vertical-tabs {
  display: none;
}
body.lc-site-desktop.node-add-group .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}
body.lc-site-desktop.node-add-contact .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}
body.node-add-group h1.page-header {
  display: none;
}
body.node-edit.type-contact h1.page-header {
  display: none;
}
body.node-edit.type-group h1.page-header {
  display: none;
}
body.node-edit.type-contact h1.page-header {
  display: none;
}
body.lc-site-desktop.node-edit.type-group .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}
body.lc-site-desktop.node-edit.type-contact .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}
body.node-edit.type-group nav.tabs {
  display: none;
}
body.node-edit.type-contact nav.tabs,
body.node-edit.type-contract_playbook nav.tabs {
  display: none;
}
body.node-add-contact h1.page-header {
  display: none;
}
.form-item.js-form-item.form-type-vertical-tabs {
  display: none;
}
.lc-list-user-groups .lc-list-matters-item-v2-icon-type-group {
  color: #fff;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  border-radius: 50%;
  background-color: #13bb64;
  font-size: 13px;
}
.btn-success:hover {
  border: 1px solid #10a85c;
}

.lc-group-contacts-wrap .lc-list-matters-item-v2-icon-type {
  background-color: transparent;
}
.lc-group-contacts-wrap .lc-list-matters-item-v2-icon {
  width: 60px;
}
.lc-group-contacts-wrap .lc-list-matters-item-v2-icon-type {
  width: 50px;
  height: 50px;
}
.lc-group-contacts-wrap .lc-matter-th-person-pic-color {
  width: 40px;
  height: 40px;
}
.lc-group-contacts-wrap .lc-matter-th-person-pic-color div {
  width: 40px;
  height: 40px;
}
.add-user-to-groups-select {
  padding: 20px;
}
.lc-button-small {
  display: inline-block;
  padding: 9px 20px 9px 20px;
  margin: 0;
  position: relative;
  font-size: 16px;
  margin-top: 11px;
}
.lc-chat-message.lc-chat-you a {
  color: #183c59;
}
.lc-chat-message.lc-chat-other-user a:hover {
  color: #12ba63;
}

.products-item {
  padding: 20px;
  background-color: #13bb64;
  background-color: #2b6a94;
  border-radius: 9px 9px 9px 9px;
  -moz-border-radius: 9px 9px 9px 9px;
  -webkit-border-radius: 9px 9px 9px 9px;
  color: #fff;
  margin-bottom: 14px;
}
.producsts-btn a {
  color: #fff;
  background-color: #13bb64;
  border-radius: 5px;
  padding: 5px 10px;
  display: inline-block;
  margin-top: 9px;
}
.producsts-btn {
}
.inventa img {
  width: 100%;
  height: auto;
}
.inventa {
  width: 150px;
  margin-bottom: 5px;
}

.lc-banner-wrap-desktop.inventa-logo .lc-logo a {
  display: block;
}
.lc-banner-wrap-desktop.inventa-logo .lc-logo img {
  width: 100%;
  height: auto;
}
.lc-banner-wrap-desktop.inventa-logo .lc-logo {
  width: 220px;
}

/* CALS WITS */
.lc-logo a {
  display: inline-block;
  margin-right: 20px;
}
.lc-banner-wrap-desktop .lc-logo {
  width: auto;
}
.cals-logo {
  width: 72px;
  height: auto;
}
.wits-logo {
  height: auto;
  width: 200px;
  margin-top: -11px;
}
.cals-matter-fields .panel-body {
  background-image: url(../images/matter-form-bg.png);
}
/* CALS WITS */
/*.matter-refer-page1 {
  max-width: 800px;
  padding: 40px;
  border: 1px solid #dee0e3;
  border-radius: 10px;
  background-color: #fff;
  margin: 0 auto;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-top: 40px;
}*/

/*.create-folder-wrap {
  max-width: 800px;
  padding: 40px;
  border: 1px solid #dee0e3;
  border-radius: 10px;
  background-color: #fff;
  margin: 0 auto;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-top: 40px;
}*/

/*.matter-refer-title,
.matter-refer-title a,
.matter-refer-title i {
  color:#FFF;
  font-size: 20px;
  background-color:#13BB64;
  padding:20px;
  padding-bottom: 10px;
  padding-top: 10px;
  font-weight: 300;
  text-align: center;
}*/

/*.matter-refer-form {
  padding: 20px;
}*/
/*.matter-refer-form-section {
  color: #a3a2ac;
  font-weight: normal;
  margin-bottom: 10px;
}
.matter-refer-form-section label {
  color: #a3a2ac;
  font-weight: 300;
  margin-bottom: 0;
}*/
/*.matter-refer-form-section input {
  display: block;
  width: 100%;
  border-width: 1px;
  border-color: #e2e2e2;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}*/
/*.matter-refer-form-section textarea {
  display: block;
  width: 100%;
  border-width: 1px;
  border-color: #e2e2e2;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}*/
.matter-refer-form-section .lc-list-user-groups {
  display: table;
  display: none;
}
.lc-list-user-groups-inner {
}
.matter-refer-form-section .slider-handle {
  background-image: linear-gradient(to bottom, #13bb64 0, #0f914c 100%);
}
.btn-full-round {
  background-color: #13bb64;
  color: #fff;
  font-weight: 300;
  padding: 13px 35px;
  display: inline-block;
  border-radius: 25px;
}
.btn-full-round:hover,
.btn-full-round:focus {
  color: #fff;
  text-decoration: none;
}
.matter-refer-group-contacts a i {
  padding-left: 0;
  padding-right: 0px;
}
.matter-refer-group-contacts a {
  padding-left: 0;
  /* margin-left:-8px; */
}
.matter-refer-group-contacts a:hover {
  text-decoration: none;
}
.matter-refer-group-list-item {
  width: 42px;
  height: 42px;
  background-color: #13bb64;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
}
.refer-group-group-name {
  padding: 20px;
  -webkit-box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4);
  -moz-box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4);
  box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4);
}
.refer-group-contacts-list {
  padding: 20px;
}
.rggn-circle {
  margin-right: 10px;
}

.logo-2nd-fnb {
  height: auto;
  width: 150px;
}
.lc-logo span {
  color: #a3a2ac;
  position: relative;
  /* top: 2px; */
  margin-right: 5px;
}
.lc-logo a {
  position: relative;
  /*top: 4px;*/
}
.logo-2nd-lifeline {
  height: auto;
  width: 113px;
}

.matter-refer-form-section-details {
  display: none;
}
.matter-invite-form-section-details {
  /* inviteV2 */
  /* display: none; */
}
.matter-refer-form-section-choose-contact {
  display: none;
}
.matter-invite-form-section-choose-contact {
  display: none;
}
.matter-refer-title a {
  padding-left: 0;
}
.matter-refer-title a i {
  padding-left: 0;
  padding-right: 0;
}
.product-order-now {
  margin-right: 3px;
}
.producsts-btn a.product-more-info {
  background-color: #ccc;
  color: #000;
}
/* -----------------------------------------------------------------------
 * Global Chosen.js / Bootstrap compatibility fix
 *
 * Chosen copies every class from the original <select> to its container
 * <div>.  Bootstrap's .form-control (and Drupal's .form-select) apply
 * padding, border, height, and box-shadow to *any* element with that class,
 * so the .chosen-container ends up with an outer box (6px 12px padding +
 * border) wrapping Chosen's own .chosen-single box — producing a visible
 * double-border "offset" appearance on every Chosen-enhanced select.
 *
 * Reset those cosmetic Bootstrap styles at the container level so that only
 * .chosen-single handles the visual border / padding, which is the correct
 * Chosen rendering model.
 * ----------------------------------------------------------------------- */
.chosen-container.form-control,
.chosen-container.form-select {
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
  height: auto !important;
  min-height: 0 !important;
}

#matter-refer-form-chosen-contact {
  font-size: 20px;
}
#matter-invite-form-chosen-contact {
  font-size: 20px;
}
body.app-store h1.page-header {
  display: none;
}
.list-apps-app-left img {
  width: 100%;
  height: auto;
  max-width: 80px;
  border-radius: 15px;
}
.list-apps-app-left {
  width: 80px;
}
.list-apps-app-item {
  background-color: #f2f8f8;
  padding: 10px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;

  border-radius: 25px;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
}
.list-apps-app-tbl {
  display: table;
  width: 100%;
}
.list-apps-app-left {
  display: table-cell;
  width: 90px;
  vertical-align: middle;
}
.list-apps-app-right {
  display: table-cell;
  vertical-align: top;
}
.list-apps-wrap-inner:after {
  content: '';
  display: table;
  clear: both;
}
.list-apps-wrap-inner {
  padding-left: 30px;
  max-width: 1300px;
}
.list-apps-app-title {
  color: #717171;
  font-size: 19px;
  font-weight: 200;
  margin-bottom: 10px;
}
.list-apps-app-short-desc {
  color: #717171;
  font-size: 13px;
  margin-bottom: 10px;
}
.list-apps-app-read-more {
  color: #707070;
  border: 1px solid #717171;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding: 3px 10px;
  display: inline-block;
  font-size: 11px;
  margin-right: 12px;
}
.list-apps-app-read-more:hover {
  color: #707070;
  text-decoration: none;
  background-color: #fff;
}
.list-apps-app-status {
  color: #fff;
  border: 1px solid #12ba63;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding: 3px 10px;
  display: inline-block;
  font-size: 11px;
  background-color: #12ba63;
}
.list-apps-app-status:hover {
  color: #707070;
  text-decoration: none;
  background-color: #fff;
}

body.app-store .lc-tabs-tabs {
}
.app-details-title {
  font-size: 30px;
  color: #707070;
  margin-bottom: 5px;
}
.app-details-short-desc {
  font-size: 19px;
  color: #707070;
}
.app-details-top-right a {
  background-color: #12ba63;
  color: #fff;
  padding: 9px 45px 6px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  display: inline-block;
}
.app-details-top-right a:hover {
  text-decoration: none;
}
.app-details-info-td div {
  font-size: 18px;
  color: #707070;
}
.app-details-info-td span {
  font-size: 17px;
  color: #707070;
  font-weight: 200;
}
.app-details-info {
  margin-bottom: 40px;
}
.app-details-images {
  margin-bottom: 50px;
}
.app-details-full-readmore {
  margin-bottom: 50px;
  text-align: center;
  text-transform: uppercase;
  color: #707070;
  font-size: 17px;
  font-weight: 200;
}
.app-details-full-desc p {
  color: #707070;
  font-size: 17px;
  font-weight: 200;
}
.lc-chat-you .lc-chat-msg-inner a {
  color: #fff;
  font-weight: bold;
}
.lc-chat-other-user .lc-chat-msg-inner a {
  color: #000;
  font-weight: bold;
}
.lc-chat-other-user .lc-chat-msg-inner a:hover {
  color: #000;
}
.lc-banner-wrap-desktop.hollard-logo .lc-logo a img {
  width: 150px;
  height: auto;
}
.lc-banner-wrap-desktop.hollard-logo .lc-logo a span {
  font-size: 28px;
  margin-left: 17px;
}
.lc-banner-wrap-desktop.hollard-logo .lc-logo a:hover {
  text-decoration: none;
}
.matter-referral-actions {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 50px;
  box-shadow: 0px 0px 30px -10px rgba(0, 0, 0, 0.5);
  margin-top: 50px;
  margin-bottom: 50px;
  border-radius: 10px;
}
.matter-referral-btns a {
  background-color: #13bb64;
  color: #fff;
  font-weight: 300;
  padding: 13px 35px;
  display: inline-block;
  border-radius: 25px;
}
.matter-referral-btns span {
  margin-left: 10px;
  margin-right: 10px;
}
.matter-referral-btns {
  margin-top: 30px;
}
.matter-refer-form-section i {
  color: #13bb64;
  font-size: 35px;
  display: none;
}
.matter-refer-form-section span {
  position: relative;
  top: -6px;
  font-size: 17px;
  display: none;
}
form.node-group-delete-form.node-confirm-form #edit-actions {
  margin-top: 20px;
}
form.node-contact-delete-form.node-confirm-form #edit-actions {
  margin-top: 20px;
}
.lc-list-quote-convert-invoice a {
  color: #fff;
  background-color: #13bb64;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border: 0;
  padding: 4px 10px 2px;
  font-size: 14px;
  margin-top: 7px;
  display: inline-block;
}
.lc-invoice-display-wrap {
  padding: 10px;
  max-width: 390px;
}
.lc-inv-dis-name {
  text-transform: uppercase;
  border-bottom: 2px solid #bcbcbc;
  padding-bottom: 5px;
}
.lc-inv-items-item {
  margin-top: 10px;
}
.lc-inv-items-item div {
  display: table;
  width: 400px;
}
.lc-inv-items-item div span {
  display: table-cell;
  width: 50%;
  vertical-align: top;
}
.lc-inv-dis-items {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #bcbcbc;
}
.lc-inv-dis-deposit {
  margin-bottom: 10px;
  font-size: 12px;
}
.lc-inv-dis-sub {
  margin-bottom: 10px;
}
.lc-inv-dis-tax {
  margin-bottom: 10px;
}
.lc-inv-dis-sub div {
  color: #13bb64;
  font-size: 16px;
}
.lc-inv-dis-sub span {
  font-size: 12px;
}
.lc-inv-dis-tax div {
  color: #13bb64;
  font-size: 16px;
}
.lc-inv-dis-tax span {
  font-size: 12px;
}
.lc-inv-dis-total div {
  color: #13bb64;
  font-size: 16px;
}
.lc-inv-dis-total span {
  font-size: 12px;
}
.lc-inv-dis-pay a {
  display: inline-block;
  border: 1px solid #43425d;
  padding: 5px 20px 3px;
  border-radius: 5px;
}
.lc-inv-dis-pay a:hover {
  text-decoration: none;
}
.lc-inv-dis-pay {
  text-align: right;
}
body.node-edit.type-quote h1.page-header {
  display: none;
}
body.node-edit.type-quote .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}

.activity-people-options {
}
.activity-people-options > div {
  float: left;
  margin-right: 3px;
}
.activity-people-options:after {
  content: '';
  display: table;
  clear: both;
}

.activity-people-icons {
}
.tasks-page-user select {
  display: none;
}

.activity-people-icons {
  position: relative;
}
.activity-people-options {
  position: absolute;
  top: -1px;
}
body.ff .activity-people-options {
  position: absolute;
  top: -22px;
}
body.edge .activity-people-options {
  position: absolute;
  top: -22px;
}
.activity-people-options.open {
  right: 27px;
}

.lc-matter-th-person-color a div {
  text-decoration: none;
}
.lc-simple-banner {
  min-height: 72px;
}
body.path-access-denied h1.page-header {
  display: none;
}
.message-page-content-wrap {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 50px;
  box-shadow: 0px 0px 30px -10px rgba(0, 0, 0, 0.5);
  margin-top: 50px;
  border-radius: 10px;
}
.message-page-content-wrap h3 {
  margin-top: 0;
}
/* DEV CHANGE
.create-folder-wrap a {
    display: inline-block;
    padding: 6px 20px 6px 20px;
    margin: 0;
    position: relative;
    
} */
/*.create-folder-wrap input {
  display: block;
  width: 100%;
  border-width: 1px;
  border-color: #e2e2e2;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  padding: 5px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.create-folder-wrap input::placeholder {
  color: #b2b2b2;
}*/
.matter-folders-wrap .lc-list-matters-item-v2-right {
  width: 26px;
}
.matter-folder-file-list .lc-list-matters-item-v2-right {
  width: 26px;
}
.matter-folders-wrap .lc-list-matters-item-v2-icon-type {
  background-color: #b2b2b2;
}
.matter-folder-title {
  background-color: #fff;
  color: #333;
  display: table;
  padding: 0;
  width: 100%;
  margin-bottom: 10px;

  -webkit-box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4);
  -moz-box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4);
  box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4);
}
.matter-folder-title a {
  background-color: #fff;
  color: #333;
}
.matter-folder-title a i {
  background-color: #fff;
  color: #333;
}
.matter-folder-title > a {
  display: table-cell;
  width: 48px;
}
.matter-folder-title > span {
  display: table-cell;
  text-align: center;
}
.matter-folder-title > span span {
  margin-left: -33px;
}
.lc-list-matter-document .lc-list-matters-item-v2-right {
  vertical-align: middle;
  width: 26px;
  position: relative;
}
.lc-list-matter-document-inner {
  width: 100%;
}
a.file-choose-folder-folder {
  font-size: 17px;
  padding: 2px;
}
.file-choose-folder-wrap.move-file-not-root {
  margin-left: 20px;
}
.move-file-start-title {
  margin-bottom: 10px;
}
.matter-move-file-start {
  padding: 10px;
}

.lc-matter-tap-people-info {
  display: table;
}
.tap-person-row {
  display: table-row;
  width: 100%;
}
.tap-person-row > div {
  display: table-cell;
  vertical-align: middle;
  padding: 5px;
}
.tap-person-remove {
  float: right;
}
.tap-person-circle {
  width: 40px;
}
.group-info-actions a {
  font-size: 16px;
}
.group-info-actions a i {
  font-size: 30px;
}
a.group-info-modal-refer i {
  transform: rotate(45deg);
  display: inline-block;
}
.group-info-actions {
  margin-bottom: 15px;
}
body.lc-site-mobile .lc-tabs-tabs #refer-matter {
  display: none;
}
body.lc-site-mobile .lc-tabs-tabs #invite {
  display: none;
}
.group-subtitle {
  font-size: 16px;
}
.tap-person-no-client {
  margin-top: 15px;
  margin-bottom: 5px;
}
.edit-matter-add-client {
  border: 2px solid rgb(238, 0, 0);
}
body.node-edit.type-matter h1.page-header {
  display: none;
}
body.lc-site-desktop.node-edit.type-matter .region.region-content,
#legalc-export-matter-chat-and-files {
  max-width: 1200px;
  margin: 0 auto;
}
body.node-edit.type-matter #edit-field-lc-matter-id-wrapper {
  display: none;
}
body.node-edit.type-matter #edit-field-client-wrapper {
  display: none;
}

.lc-logo .lc-bao-con img {
  width: 100%;
  max-width: 180px;
  height: auto;
}
body.matters .lc-list-matters-item-v2-inner > div {
  vertical-align: middle;
}
body.matters .lc-list-matters-item-v2-icon {
  width: 55px;
}
body.matters .lc-list-matters-item-v2-right {
  width: 26px;
  position: relative;
}
.lc-dashboard-desktop-left .lc-list-matters-item-v2-inner > div {
  vertical-align: middle;
}
.lc-dashboard-desktop-left .lc-list-matters-item-v2-inner .lc-list-quotes-item-v2-left {
  width: 100%;
}

.lc-list-quotes-item-v2-left {
  width: 100%;
}

.lc-dashboard-desktop-left .lc-list-matters-item-v2-icon {
  width: 55px;
  margin-right: 1rem;
}
body.node-edit.type-matter .region.region-content > nav.tabs {
  display: none;
}
body.user-not-cals .field-group-fieldset.cals-matter-fields {
  display: none;
}
body.about-us h1.page-header {
  display: none;
}
body.privacy-policy h1.page-header {
  display: none;
}
body.settings h1.page-header {
  display: none;
}
body.lc-site-mobile .lc-simple-banner #lc-banner-menu {
  float: none;
  display: inline-block;
  width: auto;
}
body.lc-site-mobile .lc-simple-banner #lc-banner-menu a {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);

  padding: 21px 21px;
}
.invite-another {
  display: block;
  display: none;
  margin-left: 50px;
  font-size: 17px;
}
.invite-try-again {
  display: block;
  display: none;
  margin-left: 50px;
  font-size: 17px;
}
.refer-another {
  display: block;
  display: none;
  margin-left: 50px;
  font-size: 17px;
}
.refer-try-again {
  display: block;
  display: none;
  margin-left: 50px;
  font-size: 17px;
}
.report-section > div {
  margin-left: 20px;
}
.report-tasks {
}
.report-tasks-tasks {
  margin-left: 20px;
}
.report-tasks-wrap {
  margin-left: 20px;
}
.no-matters-groups {
  text-align: center;
}
.matters-no-matters img {
  width: 100%;
  max-width: 239px;
}
.matters-no-groups img {
  width: 100%;
  max-width: 299px;
}
.no-matters-groups p {
  font-size: 13px;
  font-weight: 600;
}

.lc-group-contacts-wrap .lc-list-matters-item-v2-icon-type {
  width: auto;
  height: auto;
}
body.path-user .region-header .logo.navbar-btn {
  display: none;
}
/*.contactv2-add-group,
.payop-screen,
.contactv2-add-contact {
  max-width: 800px;
  padding: 40px;
  border: 1px solid #dee0e3;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 40px;
  background-color: #fff;
  margin: 0 auto;
  margin-top: 20px;
}*/
.payop-screen {
  max-width: 700px !important;
}
.contactv2-add-group #cv2-group-private {
  display: inline-block;
  /* float: left; */
  width: 15px;
  margin-right: 7px;
  /* margin-top: 18px; */
  position: relative;
  top: 1px;
}
/*.contactv2-add-group textarea {
  display: block;
  width: 100%;
  border-width: 1px;
  border-color: #e2e2e2;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}*/
.contactv2-add-group span {
  color: #a3a2ac;
  font-weight: 300;
  margin-bottom: 0;
}
.cv2-add-contact-instr a {
  padding: 0;
}
.cv2-add-contact-instr {
  padding: 10px 5px;
}

.cv2-search-province-dd span {
  font-size: 13px;
  color: #a3a2ac;
  font-weight: 300;
}
.cv2-search-province-dd {
  max-width: 200px;
  padding: 10px;
}
.cv2-search-province-dd input {
  margin: 0;
  width: auto;
}
.cv2-search-province-dd-inner {
  display: table;
  width: 100%;
}
.cv2-search-province-dd-inner > div {
  display: table-row;
}
.cv2-search-province-dd-inner > div > span {
  display: table-cell;
  padding: 3px;
}
.cv2-search-province-dd-inner > div > span label {
  margin: 0;
  font-weight: 300;
}

.invite-client-wrap label {
  display: block;
  color: #a3a2ac;
  font-weight: 300;
  margin-bottom: 0;
}
.invite-client-wrap input {
  display: block;
  width: 100%;
  border-width: 1px;
  border-color: #e2e2e2;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.invite-client-wrap {
  padding: 20px;
}
.invite-client-wrap > div {
  margin-bottom: 10px;
}

body.invite-a-lawyer .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}
body.invite-a-lawyer h1.page-header {
  padding-left: 5px;
  font-size: 23px;
}
form.webform-submission-invite-a-lawyer-form #edit-submit {
  width: 100%;
  background-color: #12ba63;
  border-color: #4cae4c;
}

.cv2-search-cities-dd {
  max-width: 200px;
  width: 200px;
  display: none;
  padding: 10px;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.3);

  position: absolute;
  top: 29px;
  z-index: 99;
  background-color: #fff;
}
.cv2-searched-city-options {
  display: table;
  width: 100%;
}
.cv2-searched-city-options > div {
  display: table-row;
}
.cv2-searched-city-options > div > span {
  display: table-cell;
  padding: 3px;
  font-size: 13px;
  color: #a3a2ac;
  font-weight: 300;
}
.cv2-searched-city-options > div > span label {
  margin: 0;
  font-weight: 300;
}
.cv2-searched-city-options input {
  margin: 0;
  width: auto;
}

.cv2-search-field-dd {
  max-width: 200px;
  width: 200px;
  padding: 10px;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.3);
  display: none;

  position: absolute;
  top: 29px;
  z-index: 99;
  background-color: #fff;
}
.cv2-searched-field-options {
  display: table;
  width: 100%;
}
.cv2-searched-field-options > div {
  display: table-row;
}
.cv2-searched-field-options > div > span {
  display: table-cell;
  padding: 3px;
  font-size: 13px;
  color: #a3a2ac;
  font-weight: 300;
}
.cv2-searched-field-options > div > span label {
  margin: 0;
  font-weight: 300;
}
.cv2-searched-field-options input {
  margin: 0;
  width: auto;
}

.cv2-search-fields-wrap {
  padding: 20px;
}
.cv2-search-outer {
  position: relative;
}
a.rounded-btn-small {
  background-color: #13bb64;
  color: #fff;
  font-weight: 300;
  padding: 4px 15px 3px;
  display: inline-block;
  border-radius: 15px;
  font-size: 12px;
}
.cv2-summary-left {
  font-size: 13px;
}
.cv2-results-people .lc-matter-th-person-pic > a {
  display: inline;
  padding: 0;
}

.cv2-results-person {
  display: table-row;
  width: 100%;
}
.cv2-res-person-left {
  display: table-cell;
  vertical-align: top;
  width: 44px;
}
.cv2-res-person-middle {
  display: table-cell;
  vertical-align: top;
}
.cv2-res-person-right {
  display: table-cell;
  vertical-align: top;
  width: 100px;
  text-align: right;
}
.cv2-search-results {
  max-width: 320px;
  margin-top: 20px;
}
.cv2-results-summary {
  display: table;
  width: 100%;
}
.cv2-summary-left {
  display: middle;
  vertical-align: top;
}
.cv2-summary-right {
  display: table-cell;
  vertical-align: top;
  width: 100px;
  text-align: right;
}
.cv2-res-person-right a {
  background-color: #13bb64;
  color: #fff;
  font-weight: 300;
  padding: 3px 12px 2px;
  display: inline-block;
  border-radius: 15px;
  font-size: 11px;
}
.cv2-res-person-right .cv2-contact-added {
  background-color: #e9f9ef;
  color: #66b587;
}
.cv2-res-person-middle div {
  font-size: 13px;
}
.cv2-res-person-middle span {
  font-size: 11px;
  color: #a3a2ac;
}
.cv2-results-people {
  display: table;
  width: 100%;
  margin-top: 10px;
}

.cv2-results-people .lc-matter-th-person-pic-color > a {
  padding: 0;
}
.cv2-results-person > div {
  padding: 5px 0;
}
.cv2-res-person-right .cv2-contact-add {
  background-color: #f0ecfd;
  color: #7649d8;
}
.accounts-his-left img {
  border-radius: 50%;
}

.lc-bao-con.lc-logo-ex {
  width: 150px;
}
.lc-logo span {
  color: #12ba63;
  font-family: 'uknumberplateregular';
  font-size: 24px;
}
.lc-logo .logo-exig-con {
  position: relative;
  top: 12px;
}

/* start */

/**MOVE THESE TO SEPERATE FILES LATER IF NEEDED**/
/***********MOBILE STYLES***************/
#context-action-menu.context-mobile-chat .context-menu-menu-wrap {
  right: 5px;
  top: -177px !important;
  left: auto;
  left: -210px;
}
body.lc-site-mobile .lc-matter-th-color-icon-wrap {
  margin-right: 5px;
  margin-top: 1rem;
}
body.lc-site-mobile .lc-matter-th-people:after {
  content: '';
  display: block;
  clear: both;
}
body.lc-site-mobile .lc-matter-th-people .lc-matter-th-person {
  display: inline-block;
  margin-right: 5px;
}
body.lc-site-mobile.matters .lc-list-matters-item-v2-left a {
  border-radius: none;
  border: none;
  box-shadow: none;
}
/***********MOBILE STYLES***************/

/**MOVE THESE TO SEPERATE FILES LATER IF NEEDED**/
/***********DESKTOP STYLES***************/

/*.lc-banner-wrap-desktop .lc-button {
  display: inline-block;
  padding: 5px 10px 10px 10px;
  margin: 0;
  position: relative;
  top: -3px;
  margin-right: 25px;
}*/
/*.lc-banner-desktop-actions .banner-new-matter-btn {
  margin-top: 18px;
  margin-right: 28px;
}*/
body.lc-site-desktop div.main-container {
  width: 100%;
}
.lc-banner-wrap-desktop {
  border: 1px solid #dee0e3;
  box-sizing: border-box;
  margin-bottom: -1px;
  background: #fff;
  /* -webkit-box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4);
    -moz-box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4);
    box-shadow: 0px 5px 15px -3px rgba(196, 196, 196, 0.4); */
}
body.lc-site-desktop #lc-banner-menu a {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}
.lc-banner-desktop-actions {
  text-align: right;
}
.lc-banner-desktop-actions > .lc-button i {
  font-size: 20px;
}
.lc-desktop-bell {
  font-size: 20px;
  color: #000;
}
.lc-desktop-bell {
  display: inline-block;
  margin: 19px 20px 19px 40px;
}
.lc-desktop-bell > div {
  background-color: #f1f5ff;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  padding: 3px;
}
.lc-banner-menu-desktop i {
  font-size: 20px;
  color: #a9acb2;
}
body.lc-site-desktop #lc-banner-menu {
  width: auto;
  border-left: 1px solid #d8d8d8;
  /* -webkit-box-shadow: -1px 0px 0px 0px rgba(216, 216, 216, 0.50);
    -moz-box-shadow: -1px 0px 0px 0px rgba(216, 216, 216, 0.50);
    box-shadow: -1px 0px 0px 0px rgba(216, 216, 216, 0.50); */
  padding: 10px 20px;
}
.lc-dashboard-desktop-wrap-inner {
  display: table;
  width: 100%;
}
.lc-dashboard-desktop-left {
  display: table-cell;
  width: 20%;
  width: 320px;
  background: #fff;
  /* -webkit-box-shadow: 3px 0px 5px -3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 3px 0px 5px -3px rgba(0, 0, 0, 0.1);
    box-shadow: 3px 0px 5px -3px rgba(0, 0, 0, 0.1); */
  border-right: 1px solid #dee0e3;
  box-sizing: border-box;
}
.lc-dashboard-desktop-right {
  display: table-cell;
  /* width:80%; */
  /* padding-left: 5px; */
  vertical-align: top;
}
body.lc-site-desktop #lc-chat-wrap {
}
body.lc-site-desktop .lc-chat-actions {
  /* width: 40%; */
}
body.lc-site-desktop .lc-tabs-link {
  font-size: 19px;
  display: inline-block;
  padding: 10px 30px 7px;
  width: auto;
}
body.lc-site-desktop.node-add-matter .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}
body.lc-site-desktop.node-add-quote .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}
body.lc-site-desktop.node-add-documents .region.region-content,
[class*='admin-content-files-rename'] .region.region-content,
body.lc-site-desktop.node-add-file-versions .region.region-content,
body.node-add-organization-policies .region.region-content,
body.node-add-contract-playbook .region.region-content {
  margin: 0 auto;
}

[class*='admin-content-files-rename'] section.col-sm-12 {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

[class*='admin-content-files-rename'] .region.region-content {
  margin: 0px auto;
  width: 100%;
}

[class*='admin-content-files-rename'] .region.region-content .form-item-new-filename strong {
  display: block;
  text-align: right;
}

[class*='admin-content-files-rename'] .region.region-content .page-header {
  margin-bottom: 20px;
  border-bottom: none;
}

[class*='admin-content-files-rename'] .file-rename-form p {
  display: none;
}

[class*='admin-content-files-rename'] .region.region-content .file-rename-form .form-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* moved to form.css

body.lc-site-desktop .node-form label {
  font-size: 14px;
}

*/

.lc-list-matters-item-v2.active {
  background-color: #f5f7fa;
}

body.lc-site-desktop .lc-tabs-content-region {
  /* width:50%; */
}
.context-desktop-not-chat {
}
#context-action-menu.context-desktop-chat {
  bottom: 42px;
}
body.lc-site-desktop.path-frontpage .main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
body.lc-site-desktop.path-user .main-container {
  width: 100%;

  margin: 0 auto;
}
body.lc-site-desktop.path-user .region.region-content {
  max-width: 1200px;
  margin: 0 auto;
}
body.lc-site-desktop.user-logged-in.path-lawyer .main-container > .row > .col-sm-12 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  float: none;
}
body.lc-site-desktop
  .field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  .paragraphs-subform
  > div {
  width: 20%;
  float: left;
}
body.lc-site-desktop
  .field--type-entity-reference-revisions.field--name-field-para-bh
  tr.draggable
  .paragraphs-subform
  > div.field--name-field-description {
  width: 40%;
  float: left;
}
body.lc-site-desktop
  .field--type-entity-reference-revisions.field--name-field-disbursements
  .paragraphs-subform
  > div {
  width: 20%;
  float: left;
}
body.lc-site-desktop
  .field--type-entity-reference-revisions.field--name-field-disbursements
  tr.draggable
  .paragraphs-subform
  > div.field--name-field-description {
  width: 40%;
  float: left;
}

.lc-banner-wrap-desktop {
  display: table;
  width: 100%;
}
.lc-banner-wrap-desktop .lc-logo {
  display: table-cell;
  width: 230px;
  width: auto;
  vertical-align: middle;
  padding-left: 20px;
}
.lc-banner-wrap-desktop .lc-logo a {
  font-family: 'uknumberplateregular';
  font-size: 24px;
}
.lc-banner-wrap-desktop .lc-banner-desktop-actions {
  /*display: table-cell;*/
}

.lc-tabs-tabs #refer-matter {
  background-color: #767c8c;
  color: #fff !important;
  font-weight: 300;
  font-size: 15px;
  margin-right: 15px;
  padding: 8px 15px 5px;
  margin-top: 6px;
  border-radius: 3px 3px 3px 3px;
  -moz-bordborder-radiuser-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
}
.lc-tabs-tabs #invite,
.lc-tabs-tabs #teams,
#teams_link {
  background-color: #767c8c;
  color: #fff !important;
  font-weight: 300;
  font-size: 15px;
  margin-right: 15px;
  padding: 8px 15px 5px;
  margin-top: 6px;
  border-radius: 3px 3px 3px 3px;
  -moz-bordborder-radiuser-radius: 3px 3px 3px 3px;
  -webkit-border-radius: 3px 3px 3px 3px;
}

.lc-tabs-tabs #teams,
#teams_link {
  background-color: #5d5bd4;
}

/**************DESKTOP STYLES***************/

@media all and (max-width: 360px) {
  .matter-header-btns-wrap > a {
    margin-bottom: 3px;
  }
}

@media all and (min-width: 340px) and (max-width: 380px) {
  .matter-infop-area-3 {
    width: 110px;
  }
  .matter-infop-area-1 {
    width: 100px;
  }
  .matter-infop-funds-left {
    width: 60px;
  }
  .matter-infop-funds-right {
    width: 60px;
  }
}

@media all and (max-width: 400px) {
  .matter-referral-btns > span {
    display: block;
    padding: 10px 0 7px 0;
  }
}

@media all and (min-width: 381px) and (max-width: 420px) {
  .matter-infop-area-3 {
    width: 120px;
  }
  .matter-infop-area-1 {
    width: 120px;
  }
  .matter-infop-funds-left {
    width: 60px;
  }
  .matter-infop-funds-right {
    width: 60px;
  }
}

@media all and (min-width: 421px) and (max-width: 510px) {
  .matter-infop-area-3 {
    width: 130px;
  }
  .matter-infop-area-1 {
    width: 130px;
  }
  .matter-infop-funds-left {
    width: 70px;
  }
  .matter-infop-funds-right {
    width: 70px;
  }
}

@media all and (max-width: 459px) {
  .matter-infop-area-1 {
  }
  .matter-infop-area-2 {
  }
  .matter-infop-area-3 {
  }
  .field--widget-entity-reference-paragraphs .field-multiple-table div.form-group {
    padding: 2px;
  }
}
@media all and (min-width: 460px) {
  .inventa {
    float: right;
    width: 150px;
  }
}
@media all and (min-width: 500px) {
  .inventa {
    float: none;
  }
  .products-item {
    width: 49%;
    float: left;
    margin-right: 1%;
  }
  .products-item:nth-child(2n + 3) {
    clear: both;
  }
  .products-item:nth-child(2n) {
    margin-right: 0;
  }
}
@media all and (min-width: 550px) {
  .lc-lp-time-info span {
    display: inline;
  }
}

@media all and (min-width: 560px) {
  .lc-tabs-link i {
    display: initial;
  }
}

.modal-content {
  width: 100%;
}

.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - (0.5rem * 2));
}

@media (min-width: 576px) {
  .modal-dialog-centered {
    min-height: calc(100% - (1.75rem * 2));
  }
}

@media all and (max-width: 767px) {
  .tasks-page-item > div {
    padding: 10px 3px;
  }
  .tasks-page-grip {
    width: 20px;
  }
  .tasks-page-check {
    width: 24px;
  }
  .tasks-page-user {
    width: 62px;
  }
  .tasks-page-del {
    width: 34px;
  }
  .tasks-page-save {
    margin-top: 20px;
  }
  .activity-people-options.open {
    right: 3px;
  }
}

@media all and (min-width: 768px) and (max-width: 1199px) {
  .main-container.container {
    width: 100%;
    max-width: 1170px;
  }
  .lc-lp-wd-loc {
    display: table;
    width: 100%;
  }
  .lc-lp-wd-loc-left {
    display: table-cell;
    vertical-align: top;
  }
  .lc-lp-wd-loc-right {
    display: table-cell;
    vertical-align: top;
    text-align: right;
  }
}
@media all and (min-width: 768px) {
  .lc-tabs-content-wrap.hasSidebar {
    display: table;
    width: 100%;
  }
  .lc-tabs-content-wrap.hasSidebar .lc-tabs-content-region {
    display: table-cell;
    width: 75%;
    vertical-align: top;
  }
  .lc-tabs-content-wrap.hasSidebar .lc-tabs-content-sidebar {
    display: table-cell;
    width: 25%;
    vertical-align: top;
  }
  .lc-tabs-content-sidebar .lc-button,
  .lc-tabs-content-sidebar .lc-button-light {
    display: block;
  }
  .lc-lp-mobile-buttons > a {
    display: none;
  }
  .accounts-bal-middle {
    padding: 10px;
    width: 100px;
  }
  .fnb-invest-options > div {
    width: 25%;
  }
  .fnb-invest-options .fnb-invest-option3 {
    clear: none;
  }

  .products-item:nth-child(1n) {
    clear: none;
  }
  .products-item {
    width: 48%;
    width: 32%;
    float: left;

    padding: 20px;
    margin-bottom: 1%;
    clear: none;
  }

  .products-item:nth-child(3n + 4) {
    clear: both;
  }
  .products-item:nth-child(3n + 1) {
    margin-right: 1%;
  }
  .products-item:nth-child(3n + 2) {
    margin-right: 1%;
  }

  .inventa {
    float: right;
    float: none;
    width: 150px;
  }
  .inventa img {
    width: 100%;
    height: auto;
  }

  .list-apps-app-item {
    width: 49%;
    float: left;
  }
  .list-apps-app-item:first-child {
    margin-right: 2%;
  }
  .list-apps-app-item:nth-child(2n + 3) {
    margin-right: 2%;
    clear: both;
  }

  .app-details-top {
    display: table;
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
    margin-bottom: 60px;
    margin-top: 65px;
  }
  .app-details-top-left {
    display: table-cell;
    vertical-align: top;
    width: 120px;
  }
  .app-details-top-left img {
    width: 100%;
    height: auto;
  }
  .app-details-top-middle {
    display: table-cell;
    vertical-align: middle;
    padding-left: 40px;
  }
  .app-details-top-right {
    display: table-cell;
    vertical-align: bottom;
    width: 130px;
    padding-bottom: 1px;
  }

  .app-details-info {
    width: 100%;

    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .app-details-info-td {
    display: inline-block;
    padding: 20px 100px;
  }
  .app-details-images-inner:after {
    content: '';
    display: table;
    clear: both;
  }
  .app-details-images-img {
    margin: 0 34px;
    display: inline-block;
  }
  .app-details-images-inner {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  .app-details-full-desc {
    width: 1240px;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 40px;
  }
}

@media all and (min-width: 992px) {
  .lc-lp-rating-time-wrap {
    display: table;
    width: 100%;
  }
  .matter-header-rating {
    display: table-cell;
  }
  .lc-lp-time-info {
    display: table-cell;
    text-align: right;
  }
}

/*
@media all and (min-width:1000px){
    .products-item {
        width: 48%;
        width:32%;
        float:left;
        
        padding:20px;
        margin-bottom:1%;
    }
   
    
    .products-item:nth-child(3n+4) {
        clear:both;
    }
    .products-item:nth-child(3n+1) {
        margin-right:1%;
    }
    .products-item:nth-child(3n+2) {
        margin-right:1%;
    }
    
    .inventa {
        float:right;
        float:none;
        width:150px;
    }
    .inventa img {
        width:100%;
        height:auto;
    }
}  */

@media all and (min-width: 1024px) {
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item {
    width: 31%;
    float: left;
    clear: none;
    margin-left: 0;
    margin-right: 0;
  }

  /*
    .list-apps-app-item:nth-child(2n+3) {
        margin-right:2.33%;
        margin-left:2.33%;
        
    }
    .list-apps-wrap-inner .list-apps-app-item:nth-child(4n){
        clear:both;
    } */

  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-3,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-6,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-9,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-12,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-15,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-18,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-21,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-24,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-27 {
    clear: both;
  }

  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-1,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-4,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-7,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-10,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-13,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-16,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-19,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-22,
  .list-apps-wrap .list-apps-wrap-inner .list-apps-app-item-25 {
    margin-right: 2.33%;
    margin-left: 2.33%;
  }
}

@media all and (min-width: 1300px) {
  .products-item:nth-child(1n) {
    clear: none;
    margin-right: 0;
  }

  #products-wrap .products-item {
    width: 24%;
    padding: 20px;
    margin-bottom: 1%;
    clear: none;
    margin-right: 1%;
    min-height: 178px;
    position: relative;
  }
  #products-wrap .products-item .producsts-btn {
    position: absolute;
    bottom: 20px;
  }
  .products-item:nth-child(4n + 5) {
    clear: both;
  }
  .products-item:nth-child(4n) {
    margin-right: 0;
  }
}

@media all and (min-width: 1400px) {
  .lc-dashboard-desktop-left {
    width: 380px;
  }

  /* .products-item {
        width: 32%;
        float:left;
        padding:20px;
        margin-left:0;
        margin-right:0;
        clear:none;
    }
    .products-item2, .products-item5, .products-item8, .products-item11, .products-item14, .products-item17, .products-item20, .products-item23 {
        margin-left:1%;
        margin-right:1%;
    }
    .products-item4, .products-item7, .products-item10, .products-item13, .products-item16, .products-item21, .products-item24, .products-item27 {
        clear:both;
    } */
  .inventa {
    float: right;
    float: none;
    width: 150px;
  }
  .inventa img {
    width: 100%;
    height: auto;
  }
}

@media all and (min-width: 1566px) {
  #products-wrap .products-item {
    min-height: auto;
  }
  #products-wrap .products-item .producsts-btn {
    position: relative;
    bottom: 0px;
  }
}
@media all and (min-width: 1741px) {
  .inventa {
  }
}

@media all and (min-width: 1171px) {
  body.lc-site-mobile .lc-chat-actions {
    max-width: 1159px;
  }
}

/*
.products-item {
        width: 48%;
        float:left;
        padding:20px;
        
    }
   
    .products-item2, .products-item5, .products-item8, .products-item11, .products-item14, .products-item17, .products-item20, .products-item23 {
        margin-left:1%;
        margin-right:1%;
    }
    .products-item4, .products-item7, .products-item10, .products-item13, .products-item16, .products-item21, .products-item24, .products-item27 {
        clear:both;
    }
    .inventa {
        float:right;
        width:150px;
    }
    .inventa img {
        width:100%;
        height:auto;
    }    */

.lc-chat-msg-box {
  width: 100%;
  padding-right: 92px;
  float: left;
}
.lc-chat-msg-btn {
  float: right;
  width: 14%;
  margin-top: 10px;
}
#lc-chat-input {
  border: 0;
  border-bottom: 1px solid #ededed;
  width: 100%;
  padding: 5px;
  min-height: 75px;
}
#lc-chat-input {
  width: 100%;
  background: #eee;
  border-radius: 30px;
  padding: 20px 30px;
  min-height: 60px;
  height: auto;
  resize: none;
  outline: none;
}

#lc-chat-submit {
  color: #fff;
  border-radius: 40px;
  -moz-border-radius: 40px;
  -webkit-border-radius: 40px;
  border: 0;
  /* padding: 2px 10px; */
  font-size: 16px;
  position: absolute;
  right: 24px;
  bottom: 15px;
  width: 52px;
  height: 52px;
  background: url(../images/send-icon.svg) no-repeat 55% 50% #13bb64;
}
a.lc-chat-context-menu {
  line-height: 23px;
  position: absolute;
  bottom: 15px;
  right: 104px;
  width: 52px;
  height: 52px;
  border-radius: 40px;
  background: url(../images/clip.svg) no-repeat 55% 50% #dee0e3;
}
a.lc-chat-context-menu i {
  color: #13bb64;
  font-size: 50px;
}

.field--type-file.field--name-field-matter-documents {
  text-align: center;
}
.field--type-file.field--name-field-matter-documents .js-form-submit.form-submit {
  display: none !important;
}
.field--type-file.field--name-field-matter-documents .control-label {
  display: none;
}
.field--type-file.field--name-field-matter-documents .panel-heading {
  display: none;
}
.field--type-file.field--name-field-matter-documents .description,
.field--type-file.field--name-field-upload-new-file .description {
  display: none;
}
.field--type-file.field--name-field-matter-documents .plupload_filelist_footer {
  height: auto;
}
.field--type-file.field--name-field-matter-documents .form-group {
  margin-bottom: 0;
}
.lc-chat-actions .lc-chat-msg-btn .btn-action-gif {
  position: absolute;
  z-index: 9;
  bottom: 8px;
  right: 4%;
}

body.matters .lc-list-matters-item-v2-icon {
  display: table-cell;
}

.matter-lc-link {
  color: #333;
  text-decoration: none !important;
  display: table;
  width: 100%;
}
.paragraphs-dropdown-actions button.btn-danger {
  color: red;
}
.field--name-field-quote-items button.tabledrag-toggle-weight {
  display: none;
}
.node-add-quote .lc-banner-desktop-actions {
  visibility: hidden;
}
.node-add-quote #field-quote-items-values thead {
  display: none;
}

.node-add-quote #field-quote-items-values {
}

#edit-field-quote-items-wrapper table tr {
}
#edit-field-quote-items-wrapper table tr .paragraphs-subform {
}
#edit-field-quote-items-wrapper table tr .paragraphs-subform .form-wrapper {
  display: inline-block;
  width: 31%;
  margin-right: 2%;
  vertical-align: top;
}
#edit-field-quote-items-wrapper table tr .paragraphs-subform .form-type-number {
}
#edit-field-quote-items-wrapper table tr .paragraphs-subform .form-type-number label {
  width: 100%;
}
#edit-field-quote-items-wrapper table tr .paragraphs-subform .form-type-number input {
  width: 100%;
}
#edit-field-quote-items-wrapper table tr .paragraphs-icon-button-collapse {
  display: none;
}
#edit-field-quote-items-wrapper table tr .paragraph-type,
#edit-field-quote-items-wrapper table tr .paragraph-type span {
  text-overflow: initial;
  overflow: inherit;
}

.paragraph-type--flat-rate-items .field--name-field-hours,
.paragraph-type--flat-rate-items .field--name-field-total2 {
  display: none !important;
}
#edit-field-region-wrapper {
}
/*#node-matter-form {
  margin-bottom: 5em;
}*/

/*#node-matter-form label {
  color: #000;
  padding-left: 10px !important;
}*/
/*#node-matter-form .panel-heading {
  display: none;
}*/
/*#node-matter-form .panel-body {
  padding: 0;
}*/
#node-matter-form .field-group-fieldset {
  border: 0;
  box-shadow: 0 0;
}
/*#node-matter-form .form-control {
  padding-left: 10px;
  padding-right: 0;
}*/
/*#node-matter-form #edit-next {
  background: rgb(19, 187, 100);
  color: #fff;
  border: 0;
  padding: 7px 25px;
}*/
/*.tab-cover-wrap {
  text-align: center;
}*/
.tab-cover-wrap div {
  display: inline-block;
  vertical-align: top;
  position: relative;
}
.tab-cover-wrap div.activet {
  color: rgb(19, 187, 100);
}
.tab-cover-wrap div span {
  display: inline-block;
  width: 100%;
}
.tab-cover-wrap div span span {
  background: #a9acb2;
  display: inline-block;
  width: 21px;
  color: #fff;
  border-radius: 50%;
  z-index: 2;
  position: relative;
}
.tab-cover-wrap div.activet span span {
  background: rgb(19, 187, 100);
  display: inline-block;
  width: 21px;
  color: #fff;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.tab-cover-wrap div.activet:after {
}
.tab-cover-wrap div.activet:before {
}

.tab-cover-wrap div.activet::after {
}
.tab-cover-wrap div.activet::before {
}
.barc {
  height: 1px;
  background: gray;
  width: 50% !important;
  float: right;
  margin-top: 9px;
  position: absolute;
  right: 0;
  z-index: 0;
}
.barcl {
  height: 1px;
  background: gray;
  width: 50% !important;
  float: right;
  margin-top: 9px;
  position: absolute;
  left: 0;
  z-index: 0;
}
.activet1 .barc {
  background: rgb(19, 187, 100);
}
.activet2 .barcl {
  background: rgb(19, 187, 100);
}
/*.page-cover-title {
  text-align: center;
  font-size: 2em;
  margin-top: 1em;
  margin-bottom: 1em;
}*/
#node-matter-form #edit-refer-form {
  border: 0;
}
.warning-cover {
  text-align: center;
  font-size: 18px;
  margin-bottom: 2em;
}
.matter-list-conflict {
  border-bottom: 1px solid #a9acb2;
  padding-top: 5px;
  padding-bottom: 5px;
}
.matter-list-conflict a {
  color: #000;
}
#node-matter-form #edit-field-client-conflict-wrapper {
  margin: 0 auto;
  width: 760px;
  max-width: 100%;
}
.warning-cover-wrap {
  margin: 0 auto;
  width: 760px;
  max-width: 100%;
}

#node-matter-form .filter-wrapper {
  display: none;
}

#node-matter-form .form-type-email {
}
#node-matter-form #edit-field-email-address-wrapper {
  width: 49%;
  float: left;
}
#node-matter-form #edit-field-phone-number-wrapper {
  float: left;
  width: 49%;
  margin-left: 2%;
}

#node-matter-form #edit-previous {
  display: none;
}

@media all and (max-width: 780px) {
  #edit-field-quote-items-wrapper table tr .paragraphs-subform .form-wrapper {
    width: 100%;
    margin-right: 0%;
  }
}
@media all and (max-width: 550px) {
  .lc-chat-msg-box {
    /* width: 80%; */
    float: left;
  }
  #lc-chat-submit {
    bottom: 10px;
  }
  a.lc-chat-context-menu {
    bottom: 10px;
    right: 90px;
  }
  .lc-chat-msg-box {
    padding-right: 80px;
  }
  body.lc-site-mobile .lc-matter-th-color-icon-wrap {
    width: 46px;
  }
}
div#lc-chat-input[contentEditable='true']:empty:before,
div#lc-chat-input div#new-msg[contentEditable='true']:empty:before {
  content: attr(placeholder);
  color: grey;
}
.msg-del-icon-container img.inner-icon {
  height: unset;
  width: unset;
  margin-right: 15px;
}
li.msg-rep-icon,
li.msg-del-icon {
  width: auto;
  background-color: #ffffff;
  border: unset;
  font-weight: bolder;
}
img.del-initiate {
  height: 16px;
  width: unset;
  cursor: pointer;
  margin-top: 7px;
}
.lc-chat-message.lc-chat-other-user ul.icon-list {
  padding-left: unset;
  margin-left: 0em;
  position: absolute;
  left: 0px;
  box-shadow: 2px 4px 24px rgb(0 0 0 / 15%);
}
.lc-chat-message.lc-chat-you ul.icon-list {
  margin-right: 1.5em;
  padding-left: unset;
  position: absolute;
  right: 0px;
  box-shadow: 2px 4px 24px rgb(0 0 0 / 15%);
}
.reply-copy-msg {
  font-family: 'Roboto', sans-serif;
  padding: 5px;
  background-color: rgb(240 240 240);
  border: unset;
  border-left: 5px solid grey;
  border-radius: 5px;
  margin-bottom: 10px;
}
.reply-copy-msg a,
.reply-copy-msg .lc-chat-msg-name {
  color: #333;
  text-decoration: none;
}
.reply-copy-msg .lc-chat-msg-inner {
  background-color: unset;
  color: #333;
  padding: 5px 5px 5px 0px;
  box-shadow: unset;
  font-weight: 400;
}

.reply-copy-msg .lc-chat-msg-inner img {
  width: 20px;
}

.reply-copy-msg .lc-chat-msg-name {
  margin: unset;
  font-weight: 400;
}
.reply-copy-msg .lc-chat-msg-user-data {
  text-align: left;
  margin-left: 5px;
}
.reply-copy-msg .lc-chat-msg-message {
  margin-left: 5px;
}
.lc-chat-message.lc-chat-you .reply-copy-msg .lc-chat-msg-inner {
  float: left;
}
.lc-chat-message.lc-chat-other-user ul.icon-list li {
  padding: 6px 20px 6px 20px;
  border-radius: unset;
}

.lc-chat-message.lc-chat-you ul.icon-list li {
  padding: 6px 20px 6px 20px;
  border-radius: unset;
}
.lc-chat-message.lc-chat-you ul.icon-list,
.lc-chat-message.lc-chat-other-user ul.icon-list {
  border-radius: 5px;
  background-color: white;
}
.lc-chat-message.lc-chat-you ul.icon-list li,
.lc-chat-message.lc-chat-other-user ul.icon-list li {
  border-radius: 5px;
  width: 100%;
}
#lc-chat-input input#myInput:focus,
#lc-chat-input #new-msg:focus {
  outline: none;
}
#lc-chat-input input#myInput {
  padding: unset;
}
.lc-chat-message.lc-chat-you .result-member {
  color: #fff !important;
}
.lc-chat-message.lc-chat-you .reply-copy-msg .result-member,
.lc-chat-message.lc-chat-other-user .reply-copy-msg .result-member {
  color: #333 !important;
  font-weight: unset !important;
}
.lc-chat-message.lc-chat-other-user .result-member {
  color: #000 !important;
}
#lc-chat-input .reply-copy-msg .result-member {
  color: unset !important;
  font-weight: unset !important;
}
#mention-suggestion {
  position: fixed;
  bottom: 90px;
  margin-left: 30px;
}
#mention-suggestion #myInputautocomplete-list,
#mention-suggestion #undefinedautocomplete-list {
  position: relative;
  max-height: 164px;
  overflow: auto;
  box-shadow: 2px 4px 24px rgb(0 0 0 / 15%);
}
#mention-suggestion .autocomplete-items div {
  padding: 10px;
  padding-left: 30px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
#mention-suggestion .autocomplete-items div:hover {
  background-color: #e9e9e9;
}

#mention-suggestion .autocomplete-active {
  background-color: #13bb64 !important;
  color: #ffffff;
}
#mention-suggestion #myInputautocomplete-list .prediction-text:last-child,
#mention-suggestion #undefinedautocomplete-list .prediction-text:last-child {
  border-bottom: unset;
}
#lc-chat-input span.continue div[contenteditable='true']:empty:before {
  content: attr(placeholder);
}
.user-contact-card .inner-icon {
  margin-right: 5px;
}
.user-contact-card .user-data {
  margin-top: 5px;
}
/*.lc-matter-th-person-pop2.user-contact-card-container {
    margin-left:auto;
    margin-right:auto;
}*/
div#contact-card-popup .user-contact-card {
  padding: 20px;
  text-align: center;
  min-height: 300px;
  width: 300px;
  margin: auto;
  background: white;
  border-radius: 15px;
  box-sizing: border-box;
  -webkit-box-shadow: 0px 0px 100px 0px rgb(0 0 0 / 20%);
}

div#contact-card-popup {
  position: fixed;
  bottom: 30%;
  left: 50%;
}
.lc-chat-message .result-member {
  cursor: pointer;
}
div#contact-card-popup .user-img-container img {
  background-color: #13bb64;
  border-radius: 50%;
  margin-top: 20px;
}
.user-contact-card .mail-container {
  display: table;
  margin: auto;
}
.user-contact-card .mail-container .mail-icon,
.user-contact-card .mail-container .mail-text {
  display: table-cell;
}
.user-contact-card .pmin-fullname {
  color: #13bb64;
}
.user-contact-card .mail-container .mail-text {
  word-break: break-word;
}
.user-contact-card .mail-container .mail-text {
  word-break: break-word;
}
.user-contact-card .mail-container .mail-icon img {
  margin-right: 8px !important;
}
.user-contact-card .user-data a {
  color: #333;
}
.lc-chat-message.lc-chat-other-user img.del-initiate {
  margin-right: 8px;
}
.lc-chat-message.lc-chat-you img.del-initiate {
  margin-left: 8px;
}
.lc-chat-message .get-user-profile {
  cursor: pointer;
}
.notify-alarm {
  position: absolute;
  top: 40%;
  right: 5px;
  height: 17px;
  width: 17px;
  background-color: #5cb85c;
  align-items: center;
  border-radius: 50%;
}

.lc-dashboard-desktop-left .lc-list-matters-item-v2 {
  position: relative;
}

@media all and (min-width: 360px) and (max-width: 767px) {
  #mention-suggestion .autocomplete-items div {
    padding: 10px;
  }
  div#contact-card-popup {
    width: 80%;
    left: 10%;
  }
}
@media all and (min-width: 767px) and (max-width: 1024px) {
  div#contact-card-popup {
    width: 40%;
    left: 30%;
  }
  div#contact-card-popup .user-contact-card {
    width: 100%;
  }
}
@media (max-width: 767px) {
  div#contact-card-popup {
    left: 0;
    width: 100%;
  }
}
#lc-chat-input font[color='#13bb64'],
.lc-chat-msg-message font[color='#13bb64'] {
  color: unset;
}
#lc-chat-input font[color='#13bb64'] b,
.lc-chat-msg-message font[color='#13bb64'] b {
  font-weight: unset;
}
.reply-copy-msg a {
  color: unset !important;
  font-weight: unset !important;
}
.lc-chat-msg-message .img-chat-msg {
  height: 150px;
  width: 150px;
}
.reply-copy-msg .img-chat-msg {
  height: 20px;
}
body.lc-site-desktop .lc-chat-actions {
  padding: 10px 5px 10px 5px;
}
.lc-chat-msg-btn {
  margin-top: unset;
}
body.lc-site-desktop a.lc-chat-context-menu,
body.lc-site-desktop input#lc-chat-submit {
  /* margin-top: 5px; */
}
.lc-chat-actions {
  border-top: 1px solid #dee0e3;
  background-color: white;
}
.lc-chat-upload #form-multiFileUpload {
  display: none;
}
#lc-chat-input {
  padding-right: 62px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
#wrap-file-upload {
  cursor: pointer;
}
.lc-site-mobile .lc-chat-message .result-member {
  letter-spacing: -0.5px;
}
span.eml_file {
  cursor: pointer;
}
@media all and (max-width: 767px) {
  .lc-site-mobile #lc-chat-input {
    font-size: 16px;
  }
}
.matter-folders-wrap .lc-list-matters-item-v2-icon {
  margin-right: 1rem;
}
.matter-folder-file-list .lc-list-matters-item-v2-icon {
  margin-right: 1rem;
}
.path-matter .lc-list-matters-item-v2-right .lc-listings-item-action-menu {
  z-index: 1;
}
/*unread message symbol in homepage*/
.lc-list-matters.lc-list-all-matters .lc-list-matters-item-v2 {
  position: relative;
}

.lc-list-matters-item-v2
  .lc-list-matters-item-v2-inner
  .lc-list-matters-item-v2-right
  .lc-listings-item-action-menu.active {
  z-index: 1;
}
.notify-alarm {
  right: 13px;
  top: 52%;
}
body.ff .notify-alarm,
body.mac .notify-alarm {
  right: 14px;
}
body.iphone .lc-chat-message > .lc-chat-msg-data > .lc-chat-msg-message > .lc-chat-msg-inner > a {
  letter-spacing: -0.5px;
}
.lc-site-mobile .lc-chat-other-user .lc-chat-msg-inner .reply-copy-msg .lc-chat-msg-inner {
  margin-right: unset !important;
}
/* Button on Custom content type */
.ctype-status .material-switch > input[type='checkbox'] {
  display: none;
}

.ctype-status .material-switch > label {
  cursor: pointer;
  height: 0px;
  position: relative;
  width: 40px;
}

.ctype-status .material-switch > label::before {
  background: rgb(0, 0, 0);
  /*box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);*/
  box-shadow: inset 0px 0px 10px rgb(19, 187, 100, 0.5);
  border-radius: 8px;
  content: '';
  height: 10px;
  margin-top: -8px;
  position: absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 25px;
}
.ctype-status .material-switch > label::after {
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: '';
  height: 17px;
  left: -4px;
  margin-top: -8px;
  position: absolute;
  top: -4px;
  transition: all 0.3s ease-in-out;
  width: 17px;
}
.ctype-status .material-switch > input[type='checkbox']:checked + label::before {
  /*background: inherit;*/
  /*background: rgba(19, 187, 100, 1);*/
  /*opacity: 0.5;*/
  background: rgb(19, 187, 100);
  opacity: 1.5;
}
.ctype-status .material-switch > input[type='checkbox']:checked + label::after {
  /*background: inherit;*/
  background: white;
  left: 10px;
  border: 1px solid rgba(19, 187, 100, 1);
}
.contactv2-add-group.custom-content-type,
.contactv2-add-group.custom-fields,
.contactv2-add-group.custom-advanced-search,
.contactv2-add-group.custom-messages-page {
  /*height:650px;*/
  overflow-y: auto;
  position: relative;
  padding-bottom: 120px;
}
span.group-setting-container {
  float: right;
  right: 29px;
  top: 7px !important;
}
a.lc-tabs-sub-page.sub-tabs {
  padding: 10px;
  text-align: center;
  /*color: #333;*/
  color: rgb(118, 124, 140);
  font-size: 18px;
}
/* button.add-ctcf-buttons migrated to v2-design-system.css Section 41 */
.lc-tabs-wrap.content-type-wrap .lc-tabs-tabs {
  border-bottom: unset;
  margin: 10px 0px;
}
.ctype-data-header span,
.cfield-data-header span {
  font-weight: 600;
}
.lc-site-mobile span.group-setting-container {
  top: 5px !important;
}
.lc-site-mobile a.lc-tabs-sub-page.sub-tabs {
  font-size: 13px;
  padding: 0px;
  text-align: center;
}
.lc-site-mobile button.add-extended-content-type {
  /*font-size: 10px;*/
}
.sub-tabs.active {
  border-bottom: 5px solid #13bb64;
  color: #333 !important;
}
#new-content-type-form input,
#new-content-type-form select,
#new-custom-field-form input,
#new-custom-field-form select,
#edit-custom-field-form select,
#edit-custom-field-form input {
  width: 100%;
  height: 56px;
  margin: 16px 0px;
  font-size: 16px;
}
.contactv2-add-group.custom-content-type span,
.contactv2-add-group.custom-fields span {
  color: #000000;
  /*font-size: 16px;*/
}
/*.contactv2-add-group.custom-content-type {
    position: relative;
    padding-bottom: 120px;
}*/

/*a.ctcf-save-group-button,*/
a.cust-msgs-save-group-button {
  position: absolute;
  bottom: 41px;
  right: 41px;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  color: #ffffff;
  background: #13bb67;
  padding: 14px 24px;
  border-radius: 4px;
}
/* .ctype-data-row alternating bg migrated to v2-design-system.css Section 41 */
div[class*='cfield-data-row-']:nth-child(odd) {
  background: #f7f9fc;
}
.ctype-data-header,
.ctype-data > div,
.cfield-data-header,
.cfield-data > div {
  padding: 5px 0px;
}
span.ctype-status .material-switch {
  margin-top: 5px;
}
/* .ctype-table border migrated to v2-design-system.css Section 41 */
.cfield-table {
  border: 1px solid #e8eaed;
}
/* .ctype-data-header border migrated to v2-design-system.css Section 41 */
.cfield-data-header {
  border-bottom: 1px solid #e8eaed;
}
/*.ctype-edit-container {
    text-align: right;
}*/
span.ctype-edit {
  cursor: pointer;
}
.ctype-status-container.header {
  text-align: center;
}
a.popupHeaderBackButton {
  cursor: pointer;
  position: absolute;
  top: 20px;
  left: 20px;
  color: #333;
  font-size: 16px;
}
/*.cfield-toggle-switch {
filter: invert(17%) sepia(19%) saturate(19%) hue-rotate(5deg) brightness(100%) contrast(133%);
}*/
/*a#popupFooterBackButton {
    position: absolute;
    bottom: 41px;
    left: 41px;
    padding: 10.5px 12px;
    border: 2px solid #7A808C;
    box-sizing: border-box;
    border-radius: 4px;
    color: #495257;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}*/
.create-folder-wrap.contactv2-add-group.contactv2-edit-group {
  position: relative;
}
#new-custom-field-form .cfield-toggle-switch,
#edit-custom-field-form .cfield-toggle-switch {
  height: unset;
  width: unset;
}
.cfield-actions-container i,
i.icon-pencil-2.ctype-title-edit-link,
i.icon-trash-2.option-delete-link,
i.ctype-delete-link {
  cursor: pointer;
}
.ctype-title,
.ctype-title-edit-link {
  width: 300px;
  border: unset;
  font-weight: 500 !important;
  font-size: 20px;
  line-height: 26px;
}
.ctype-title:focus {
  outline: none;
  border-bottom: 1px solid #333;
}
.ctype-title-edit-link {
  margin-left: 10px;
}
.extended-content-type-title {
  margin-bottom: 25px;
}
.cfield-selectlist-container input.select-options {
  width: 90% !important;
}
i.icon-trash-2.option-delete-link {
  font-size: 16px;
}
.cfield-data-row .cfield-required-container,
.cfield-data-header .cfield-status-container,
div#cfield-data-container .cfield-actions-container,
.cfield-data-header .cfield-action-container.header {
  text-align: center;
}
a.sort-cfields-link.ui-sortable-handle {
  margin-right: 10px;
}
div#cfield-data-container .cfield-label-container {
  display: flex;
  word-break: break-word;
}
.ctype-data-row .ctype-label-container {
  word-break: break-word;
}
span.cfield-delete-container {
  margin-left: 10px;
}
@media (max-width: 1024px) {
  .lc-chat-other-user .lc-chat-msg-inner .reply-copy-msg .lc-chat-msg-inner {
    margin-right: unset !important;
  }
  span.group-setting-container {
    top: 5px !important;
    right: 15px;
  }
  a.lc-tabs-sub-page.sub-tabs {
    font-size: 16px;
    padding: 0px;
    text-align: center;
  }

  .contactv2-add-group.custom-content-type,
  .contactv2-add-group.custom-fields,
  .contactv2-add-group.custom-advanced-search {
    padding-left: 20px;
    padding-right: 20px;
  }

  span.cfield-delete-container {
    /*float: right;*/
    /*margin-right:15px;*/
  }
}
@media (max-width: 767px) {
  a.lc-tabs-sub-page.sub-tabs {
    width: 50%;
  }
  a.sort-cfields-link.ui-sortable-handle {
    margin-right: 5px;
    margin-left: -10px;
  }
  .ctype-data-row div.ctype-label-container,
  .ctype-data-header div.ctype-label-container,
  .cfield-data-header .cfield-label-container,
  .cfield-data-row .cfield-label-container {
    padding-right: 5px;
  }
  .ctype-data-header div.ctype-name-container,
  .ctype-data-row div.ctype-name-container,
  .ctype-data-row div.ctype-edit-container,
  .cfield-data-header .cfield-name-container,
  .cfield-data-header .cfield-status-container,
  .cfield-data-row .cfield-dname-container,
  .cfield-data-row .cfield-required-container,
  .ctype-data-row div.ctype-delete-container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .ctype-data-row div.ctype-status-container,
  .ctype-data-row div.ctype-status-container,
  .cfield-data-header .cfield-action-container,
  .cfield-data-row .cfield-actions-container {
    padding-left: 5px;
  }
}
/*matter form*/
div#edit-group-create-matter div#edit-field-open-date-wrapper {
  margin-left: unset;
}
div#edit-field-open-date-0-value .form-item-field-open-date-0-value-date {
  width: 100%;
}
input#edit-field-open-date-0-value-date {
  width: 100%;
}
div#edit-field-open-date-wrapper {
  width: 50%;
}
#edit-custom-field-form .sortable-option-rows input.select-options,
#new-custom-field-form .sortable-option-rows input.select-options {
  height: unset;
  margin: 10px 0px 10px 10px;
}
@media all and (max-width: 767px) {
  div#edit-field-open-date-wrapper {
    width: 100%;
  }
}
/*matter details page*/
/*body.path-node.page-node-type-matter article.matter .field--name-field-no-group-message
body.path-node.page-node-type-matter article.matter .field--name-field-content-types-page-1
{
    display: none;
}
.page-node-type-matter .custom-ctcf-form-data {
    max-width: 1200px;
    margin: 0 auto;
}*/
body.path-node.page-node-type-matter article.matter .field--label {
  margin-top: 5px;
}
.matter-pade-details.contactv2-add-group .matter-label span {
  color: #333;
  font-weight: unset;
}
.group-matters-filter-container {
  display: none;
  left: 478px;
  background-color: #fff;
  padding: 10px 10px 15px 10px;
  border-radius: 5px;
  box-shadow: 5px 5px 10px -1px #dbdbdb;
  position: absolute;
  z-index: 999;
  min-width: 153px;
}
.group-matters-filter-container.active {
  display: grid;
}
body.lc-site-mobile.path-section .lc-tabs-tabs .lc-tabs-link {
  width: auto;
  display: inline-block;
  padding: 10px 10px 7px;
}
.mobile .group-matters-filter-container.active {
  /*    left: unset;
    right: 10px;*/
}
.group-matters-filter-container .group-matter-type i,
.matter-filter-type i {
  display: none;
}
.group-matters-filter-container .group-matter-type.active i,
.matter-filter-type.active i {
  display: inline-block;
}
i.icon-angle-down.group-matters-icon {
  color: #12ba63;
}
body.lc-site-desktop i.icon-angle-down.group-matters-icon {
  font-size: 18px;
}
a.group-matter-type {
  margin-top: 5px;
}
a.group-matter-type i:before {
  margin: unset;
}
a.group-matter-type i {
  margin-left: 10px;
}
a.group-matter-type span {
  margin-right: 10px;
}
.mtp-filter {
  margin-left: 20px;
  margin-bottom: 3px;
}
/* add client form */
/*.contactv2-add-contact.add-client-page,
.contactv2-add-group.edit-client-page,*/
.contactv2-add-group.edit-matter-client-page {
  padding-bottom: 84px;
  position: relative;
}
.add-client-page .field-container,
.edit-client-page .field-container,
.edit-matter-client-page .field-container {
  background-color: #f0f1f3;
  width: 48%;
  display: inline-block;
  margin: 5px;
  margin-bottom: 10px;
}

.add-client-page .cc-label,
.edit-client-page .cc-label,
.cust-search-form-container .csf-label /*,
.edit-matter-client-page .cc-label */ {
  color: #838996;
  padding-top: 5px;
  padding-left: 10px !important;
  font-size: 14px;
}

.add-client-page input.cc-field,
/*.edit-client-page input.cc-field,*/
.edit-matter-client-page input.cc-field {
  background-color: #f0f1f3 !important;
  padding-left: 10px;
  padding-right: 0;
  color: #213765;
  border: 0;
  -webkit-border-radius: 0;
  border-bottom: 1px solid #dadada;
  box-shadow: none;
  font-weight: 300;
  font-size: 16px;
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
}
/*.add-client-page .add-client-title,
.edit-client-page .edit-client-title,
.edit-matter-client-page .edit-client-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: #33363D;
  margin: 20px 0 40px 0;
}*/
/*.add-client-page .footer-button,
*/
.edit-client-page .footer-button,
.edit-matter-client-page .footer-button {
  margin-top: 30px;
}
.add-client-page .client-success-message,
.edit-client-page .client-success-message,
.edit-matter-client-page .client-success-message {
  color: #12ba63;
  text-align: center;
  font-size: 16px;
}
.client-tab-data .client-details-row {
  display: flex;
  border-bottom: 1px solid #dee0e3;
}

.client-tab-data .client-propic {
  margin: 20px 16px 20px 20px;
}
.client-tab-data .client-propic .pic {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background-color: #dee0e3;
}
.client-tab-data .client-details {
  display: table;
}

.client-tab-data .client-name {
  vertical-align: middle;
  display: table-cell;
  /*font-weight: 500;
    font-size: 18px;*/
  line-height: 28px;
  color: #33363d;
}
/* client dropdown */
.matter-invite-group-client.invite-client-into-matter {
  display: flex;
}

.matter-invite-group-client.invite-client-into-matter span {
  margin: 5px 10px;
}
.matter-invite-group-client.invite-client-into-matter span.client-name {
  padding-top: 5px;
}
.matter-invite-group-header .client-dd-init,
.matter-invite-group-header .client-dd-init:focus {
  background-color: #f0f1f3 !important;
  border-color: #dadada !important;
  color: #838996 !important;
  border-radius: unset;
  padding: 15px 25px;
  border-top: unset;
  border-right: unset;
  border-left: unset;
  width: 351px;
}
.matter-invite-group-header ul.dropdown-menu {
  width: 351px;
}
.matter-invite-group-header ul.dropdown-menu {
  max-height: 252px;
  overflow: auto;
  min-height: 52px;
}
li.dropdown-item.client-dd-list:hover {
  background-color: #f0f1f3;
  cursor: pointer;
}
.edit-matter-client-page .full-width {
  width: 97%;
  background-color: #f0f1f3;
  display: inline-block;
  margin: 5px;
  margin-bottom: 10px;
}
.edit-client-indorcomp-wrap label {
  margin: 10px 15px 10px 5px;
  color: #838996;
  font-weight: unset;
}

.edit-client-indorcomp-wrap {
  margin: 10px;
}

.contactv2-add-group.edit-matter-client-page span.form-item-required,
.contactv2-add-group.edit-matter-client-page .client-validation-message,
.contactv2-add-group.edit-client-page span.form-item-required,
.contactv2-add-group.edit-client-page .client-validation-message {
  color: red;
}

.edit-client-indorcomp-wrap {
  color: #838996;
}
.edit-client-page .field-container {
  margin-left: unset;
  margin-right: unset;
  width: 49%;
}
@media all and (max-width: 767px) {
  .matter-invite-group-header .client-dd-init,
  .matter-invite-group-header ul.dropdown-menu {
    width: 100%;
  }
  .add-client-page .field-container,
  .edit-client-page .field-container,
  .edit-matter-client-page .field-container,
  .edit-matter-client-page .full-width {
    width: 100%;
  }
}
.groups-search-icon {
  float: right;
  top: 63px;
  left: 25px;
  position: relative;
  color: rgb(118, 124, 140);
}
.cust-adv-search-page-header input {
  vertical-align: top;
}
.cust-adv-search-page-header label {
  /*margin: 25px;*/
}
.cust-adv-search-page-header {
  width: 70%;
}
.cust-adv-search-page-header .radio-label {
  margin-left: 9px;
}
.cust-search-form-container {
  /*display: flex;*/
}

.cust-search-form-container > div {
  /*width: 25%;*/
}
.cust-search-form-container {
  /*display: flex;*/
  clear: both;
}
.radio-wrapper.csf-container {
  /*margin: 20px 0px;*/
}

.cust-search-form-container .field-wrapper {
  /*width: 35%;*/
  /*margin: 5px;*/
  margin-bottom: 5px;
  background-color: #f0f1f3;
  padding: 5px;
}
.cust-search-form-container select,
.cust-search-form-container input {
  width: 100%;
  background-color: #f0f1f3;
  /*padding-left: 10px;*/
  /*color: #838996;*/
  border: unset;
  /*height: 35px;*/
}
.cust-search-form-container .csf-label {
  padding-left: 3px !important;
  font-size: 12px;
  margin-bottom: 5px;
}
.cust-search-form-container #add-new-filter-btn {
  /*margin-top: 10px;*/
}
.cust-search-form-container .col-lg-4,
.cust-search-form-container .col-sm-4,
.cust-search-form-container .col-md-4,
.cust-search-form-container .col-lg-3,
.cust-search-form-container .col-sm-3,
.cust-search-form-container .col-md-3 {
  padding-left: 5px;
  padding-right: 5px;
}
a#add-new-filter-btn {
  /*margin-right: unset;*/
}
.contactv2-add-group.custom-advanced-search {
  padding-bottom: 40px;
}
.csf-footer-wrapper {
  padding-top: 20px;
  border-top: 1px solid #e8eaed;
}
@media all and (max-width: 1024px) {
  .cust-adv-search-page-header {
    /*width: 100%;*/
  }
}
.csf-button-wrapper.field-wrapper {
  background: unset;
}
.cust-adv-search-page-header {
  margin: 20px 0px;
}
.csf-button-wrapper.field-wrapper {
  /*text-align: center;*/
  margin-top: 15px;
  margin-bottom: 100px;
}
a#add-new-filter-btn {
  /*float: unset;*/
}
/*.csf-add-cond-link {
    clear: both;
}*/
.custom-search-form-check .csf-button {
  margin-right: unset;
}
@media all and (max-width: 767px) {
  .cust-adv-search-page-header {
    width: 100%;
  }
  .cust-adv-search-page-header .radio-label {
    margin-left: 0px;
  }
  /*label.form-check-label.col-xs-3 {
    padding-left: 5px;
    padding-right: 5px;
}*/
}

.contactv2-add-contact.add-client-page select#nmp1ct-select,
.contactv2-add-group.edit-client-page select#nmp1ct-select {
  background-color: #f0f1f3;
}
.contactv2-add-contact.add-client-page div#new-matter-p1-content-types label,
.contactv2-add-group.edit-client-page div#new-matter-p1-content-types label {
  color: #838996;
  padding-top: 5px;
  padding-left: 10px;
  font-weight: unset;
}
.contactv2-add-contact.add-client-page div#new-matter-p1-content-types {
  margin: 5px;
}
.client-tab-data span.lc-list-matters-item-v2-right-open {
  vertical-align: middle;
  display: table-cell;
}
.client-tab-data .lc-list-matters-item-v2-right {
  display: table;
  position: relative;
}
.client-tab-data .lc-listings-item-action-menu.active {
  margin-top: unset;
  top: 20px;
}
i.icon-angle-down.group-matters-icon {
  position: relative;
  right: 25px;
}
body.mobile i.icon-angle-down.group-matters-icon {
  right: 10px;
}
.edit-client-page .field-container.right {
  float: right;
}
@media all and (max-width: 480px) {
  body.mobile .group-matters-filter-container {
    width: 100%;
  }
}
.lc-group-contacts-wrap.hide-lawyer-role .lc-list-matters-item-v2-time.lawyer {
  display: none;
}
.client-tab-data .client-details-row .client-propic .lc-matter-th-person-pic-color,
.client-tab-data
  .client-details-row
  .client-propic
  .lc-matter-th-person-color.lc-matter-th-person-pic-color
  a
  div,
.client-tab-data .client-details-row .client-propic .lc-matter-th-person-pic-color a img {
  height: 44px;
  width: 44px;
}
.client-tab-data .client-details-row .client-propic .lc-matter-th-person-pic-color a {
  cursor: default;
}
div#matter-form-client-group .lcct-field {
  clear: both;
}

/*.custom-messages-page .cust-msgs-heading{
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: #838996;
  margin: 15px 0;
}*/
.custom-messages-page .cust-msgs-description {
  margin: 10px 0;
  color: #838996;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}
/*.custom-messages-page .cust-msgs-wrap {
    margin: 120px 0 50px 0;
}
.custom-messages-page .cust-msgs-wrap .section {
    margin: 50px 0;
}*/
.custom-messages-page .cust-msgs-wrap .section textarea {
  border-radius: 4px 4px 0px 0px;
  color: #838996;
  font-size: 16px;
  height: 122px;
  letter-spacing: 0.15px;
}
.delete-client-page .delete-client-warning-message,
.warning-delete-client-page .delete-client-warning-message {
  text-align: center;
  font-size: 20px;
  padding: 50px 0 80px 0;
  color: rgb(118, 124, 140);
}
.adv-search-results.header-count {
  text-align: center;
  padding: 20px;
}
#csf-export-all-btn {
  margin-right: 30px;
  margin-top: 30px !important;
}
.adv-search-export-all.modal .checkbox-group input,
.adv-search-export-all.modal #select-all-fields {
  margin-left: 30px;
  margin-right: 10px;
  height: 15px;
  width: 15px;
}
.adv-search-export-all.modal .checkbox-group label,
.adv-search-export-all.modal .select-all-fields-label {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
#csf-add-new-filter-btn {
  font-size: 14px;
  /*display: flex;*/
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 4px;
  gap: 4px;
  border: none;
  color: #13bb67;
  background-color: #fff;
}
.chat-img-popup .modal-dialog.modal-dialog-centered {
  width: fit-content;
  max-width: 1000px;
}
body.lc-site-desktop #lc-banner-menu {
  height: auto;
}
form#node-settings-edit-form
  div#edit-field-ctrl-enter
  .form-item-field-ctrl-enter.form-type-radio:first-child,
form#node-settings-form
  div#edit-field-ctrl-enter
  .form-item-field-ctrl-enter.form-type-radio:first-child {
  display: none;
}
form#node-settings-edit-form fieldset#edit-field-ctrl-enter--wrapper legend,
form#node-settings-form fieldset#edit-field-ctrl-enter--wrapper legend {
  padding-top: 10px;
  padding-bottom: 10px;
}
form#node-settings-form div#edit-group-notifications-reminders,
form#node-settings-edit-form div#edit-group-notifications-reminders {
  border: none;
  box-shadow: none;
  padding: unset;
}
div#edit-field-content-types-page-1-wrapper + .lcct-field {
  margin-top: 15px;
}
.matter-count.group,
.matter-count.homepage {
  font-size: 16px;
  padding: 10px;
  background: #ffffff;
  border-bottom: 1px solid #dee0e3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.no-matters-found-container {
  padding: 25px;
}
span.quick-search.align-right {
  padding: 3px;
}
span.quick-search-left-container input {
  width: 300px;
  color: #33363d;
}
span.quick-search-right-container {
  margin-left: 5px;
  position: relative;
}
span.quick-search-right-container i {
  color: #33363d;
}
span.quick-search-right-container .fetch-loader {
  top: 3px;
  width: 13px;
  height: 13px;
  margin: 0 auto;
  border-top: 2px solid #33363d;
  border-right: 2px solid #91a0b6;
  border-bottom: 2px solid #91a0b6;
  border-left: 2px solid #91a0b6;
  border-radius: 100px;
  animation: loading-spinner 1s infinite linear;
  display: inline-block;
  margin-left: 5px;
  position: absolute;
  left: 0px;
}
span.quick-search.align-right,
span.quick-search.align-right input {
  background: #f0f2f5;
  border: none;
  border-radius: 50px;
  padding-left: 5px;
}
@keyframes loading-spinner {
  100% {
    transform: rotate(360deg);
  }
}
@media all and (max-width: 767px) {
  .matter-count.group {
    font-size: 13px;
  }
  span.quick-search-left-container input {
    width: unset;
  }
}
.export-matter-container-search #csf-export-all-btn {
  font-weight: normal;
  background: none;
  border: none;
  color: #333333;
  float: left;
  margin-top: 0px !important;
}
.group-matter-tab {
  font-size: 16px;
  padding: 0 !important;
  background: #ffffff;
  border-bottom: 1px solid #dee0e3;
  display: block !important;
  overflow: hidden;
}
.group-matter-tab .number-of-matter-container {
  float: left;
  border-right: 2px solid #dee0e3;
  padding: 12px;
}
.group-matter-tab .export-matter-container-search {
  float: left;
  border-right: 2px solid #dee0e3;
  padding: 1px;
}
.group-matter-tab .quick-search {
  margin: 5px;
}
.group-matter-tab .icon-link-ext {
  margin-left: 5px;
}
.svg-class svg {
  margin-bottom: -7px;
}

#lc-chat-wrap {
  padding-bottom: 200px !important;
}

#block-legalconnect-socialauthlogin,
#block-legalconnect-entraidloginblock {
  max-width: 500px;
  margin: 0px auto;
  text-align: center;
}

#block-legalconnect-entraidloginblock h2 {
  font-size: 14px;
  line-height: 20px;
  margin: 10px 0;
  display: flex;
  color: #838996;
  gap: 8px;
  align-items: center;
}

#block-legalconnect-entraidloginblock h2::before,
#block-legalconnect-entraidloginblock h2::after {
  flex: 1;
  height: 1px;
  background-color: #838996;
  content: '';
}

#block-legalconnect-socialauthlogin .social-auth.auth-link,
#block-legalconnect-entraidloginblock .social-auth.auth-link {
  border-bottom: none;
  margin-top: 7px;
  display: flex;
  border: 2px solid #555;
  padding: 0;
  padding: 10px 25px;
  align-items: center;
  color: black;
  margin: 15px auto;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #555;
  transition: all 0.3s ease;
}

#block-legalconnect-socialauthlogin .social-auth.auth-link {
  margin-bottom: 0;
}

#block-legalconnect-socialauthlogin .social-auth.auth-link:hover,
#block-legalconnect-entraidloginblock .social-auth.auth-link:hover {
  opacity: 0.7;
}

#block-legalconnect-socialauthlogin img,
#block-legalconnect-entraidloginblock img {
  margin-right: 80px;
}

.user-form div#edit-social-auth {
  display: none;
}

.msg-del-icon-container {
  display: none;
  position: relative;
}

#legalc-export-matter-chat-and-files label {
  font-size: 14px;
  margin-bottom: 20px;
}
#legalc-export-matter-chat-and-files input {
  position: unset;
  margin: 0;
  margin-right: 10px;
}

#filter-matter-search {
  border-bottom: 1px solid #dee0e3;
  display: flex;
  padding: 20px;
}

#filter-matter-search a {
  display: inline-block;
  margin-right: 12px;
  background: #eee;
  text-align: center;
  width: 35px;
  height: 40px;
  border-radius: 6px;
}

#filter-matter-search input {
  background: #eee;
  border-radius: 6px;
  height: 100%;
  box-shadow: none;
  border: 0;
  padding: 12px;
  width: 100%;
}

#filter-matter-search a svg {
  fill: rgb(19, 187, 100);
  width: 20px;
  height: 40px;
}

#filter-matter-search span {
  position: relative;
  flex: 1;
}
#filter-matter-search span::before {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  padding: 13px;
  font-size: 17px;
  padding-left: 0;
  font-weight: 400;
}

.contractSummaryModal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contractSummaryModal .modal-header::before,
.contractSummaryModal .modal-header::after {
  display: none;
}

.contractPlaybookResultsModal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contractPlaybookResultsModal .modal-header::before,
.contractPlaybookResultsModal .modal-header::after {
  display: none;
}

.contractSummaryModal .loader_contract_summary {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ai_chat-form .openai_chat_input_file-wrap {
  background: url(../images/clip.svg) no-repeat 55% 50% #dee0e3;
}

.contract_type_list_to_selct label div div:first-child {
  font-size: 12px;
  color: #495057;
  align-items: center;
}

#switch-matter-chat {
  border-bottom: 1px solid #dee0e3;
  padding: 10px;
}

.switch-matter-chat-selected {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.switch-matter-chat-options {
  top: 100% !important;
  margin-top: 0 !important;
  right: 0;
  z-index: 4;
}

.switch-matter-chat-options a.active {
  background: #eee;
}

.threds-thread-wrap {
  display: flex;
  padding: 10px;
  border-bottom: 1px solid #e2e2e2;
  gap: 10px;
}

.thred-icon {
  min-width: 44px;
  height: 44px;
  border-radius: 11px 11px 11px 11px;
  -moz-border-radius: 11px 11px 11px 11px;
  -webkit-border-radius: 11px 11px 11px 11px;
  text-align: center;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.thred-icon a {
  color: #fff;
}

.thred-title {
  flex: 1;
}

.thred-title a {
  color: black;
}

.thred-title-bot-messge {
  font-size: 11px;
  color: #787b7d;
  display: block;
}

.chat-request-button {
  margin: 10px 0 !important;
  padding: 10px 15px !important;
}

.threds-thread-wrap {
  position: relative;
}

.threds-thread-wrap.active {
  background-color: #f5f7fa;
}

.lc-list-all-matters h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 10px;
  border-bottom: 1px solid #dee0e3;
  font-size: 14px;
}

/* Contract Playbook */

.field--widget-paragraphs th {
  text-transform: uppercase;
  color: #333;
  border: solid #bfbfba;
  border-width: 1px 0;
  background: #f5f5f2;
}

.form-composite > legend,
.label {
  font-size: 13px;
  color: black;
}

.field--name-field-rules .paragraphs-dropdown {
  display: block;
}

/* Main wrapper styling */
.field--name-user-picture .image-widget {
  background: #fff;
  border: 2px dashed #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;
  transition: all 0.3s ease;
}

.field--name-user-picture .image-widget:hover {
  border-color: #13bb64;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.1);
}

/* Preview image container */
.field--name-user-picture .preview {
  text-align: center;
  margin-bottom: 15px;
  padding: 10px;
  width: unset !important;
}

.field--name-user-picture .preview img {
  border: 4px solid #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-width: 120px;
  max-height: 120px;
  object-fit: cover;
}

.field--name-user-picture .preview img:hover {
  transform: scale(1.05);
}

/* File information styling */
.field--name-user-picture .data {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
}

.field--name-user-picture .file {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.field--name-user-picture .file-icon {
  color: #13bb64;
  font-size: 1.2em;
}

.field--name-user-picture .file-link a {
  color: #13bb64;
  text-decoration: none;
  font-weight: 500;
  margin: 0 10px;
}

.field--name-user-picture .file-link a:hover {
  text-decoration: underline;
}

.field--name-user-picture .file-size {
  color: #6c757d;
  font-size: 0.9em;
  background: #e9ecef;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: auto;
}

/* Remove button styling */
.field--name-user-picture .button.btn-danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.field--name-user-picture .button.btn-danger:hover {
  background: linear-gradient(135deg, #c82333, #bd2130);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.field--name-user-picture .button.btn-danger .icon {
  font-size: 0.9em;
}

/* Label styling */
.field--name-user-picture .control-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 1.1em;
}

/* Description styling */
.field--name-user-picture .description {
  background: #e8f5e8;
  border: 1px solid #c3e6c3;
  border-radius: 6px;
  padding: 10px 15px;
  margin-top: 15px;
  color: #155724;
  font-size: 0.9em;
  font-style: italic;
}

/* Upload area enhancement when no image */
.field--name-user-picture .image-widget:not(.has-image) {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Enhanced focus states for accessibility */
.field--name-user-picture input[type='file']:focus + label,
.field--name-user-picture .button:focus {
  outline: 2px solid #13bb64;
  outline-offset: 2px;
}

/* Additional polish */
.field--name-user-picture .form-group {
  position: relative;
}

.field--name-user-picture .image-widget::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #28a745, #20c997);
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.field--name-user-picture .image-widget:hover::before {
  opacity: 0.1;
}

/* =====================================================
   Contract Playbook — V2 Styling
   ===================================================== */

/* Content area — right side of sidebar: remove box-shadow and margin-left */

/* View wrapper — DashboardHeader-like flex layout
   Row 1: view-header (left) | view-filters + view-footer (right)
   Row 2: view-content (full width table card)
*/
.view-contract-playbook {
  width: 100% !important;
  max-width: 948px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

/* Title block — left side, takes available space */
.view-contract-playbook .view-header {
  flex: 1 1 auto !important;
  order: 1 !important;
  margin: 0 !important;
}

/* Title — v2 DashboardHeader */
.view-contract-playbook .view-header h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* Subtitle */
.view-contract-playbook .view-header .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
}

/* Search form — right side, inline with title row */
.view-contract-playbook .view-filters {
  flex: 0 0 auto !important;
  order: 2 !important;
  margin: 0 !important;
}

#views-exposed-form-contract-playbook-page-1 {
  margin: 0 !important;
  padding: 0 !important;
}

#views-exposed-form-contract-playbook-page-1 .form--inline {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: 100% !important;
  width: auto !important;
  margin: 0 !important;
}

#views-exposed-form-contract-playbook-page-1 .form-item {
  flex: 0 1 200px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Search input — v2 Input style (compact for header row) */
#views-exposed-form-contract-playbook-page-1 .form-item input.form-control {
  width: 100% !important;
  height: 35px !important;
  min-height: 35px !important;
  padding: 0 14px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  color: #737987 !important;
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  outline: 0 !important;
  transition: border-color 0.15s ease-in-out !important;
}

#views-exposed-form-contract-playbook-page-1 .form-item input.form-control:focus {
  border-color: #47b171 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Apply button — v2 'filter' variant (white bg, border, short pill) */
#views-exposed-form-contract-playbook-page-1 .form-actions {
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#views-exposed-form-contract-playbook-page-1 .form-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 35px !important;
  padding: 0 20px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 1px solid #ddd !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

#views-exposed-form-contract-playbook-page-1 .form-actions button:hover,
#views-exposed-form-contract-playbook-page-1 .form-actions button:focus {
  background-color: #e8ecf4 !important;
  color: #737987 !important;
  border: 1px solid #ddd !important;
}

/* Pagination — v2 Pagination component layout (CSS Grid)
   col1: Previous (left) | col2: page numbers (center) | col3: Next (right)
*/
.view-contract-playbook > nav.pager-nav {
  flex: 0 0 100% !important;
  order: 4 !important;
  margin: 0 !important;
  padding: 0 16px !important;
  height: 63px !important;
  background-color: #fff !important;
  border-radius: 0 0 12px 12px !important;
  border-top: 1px solid #e5e7eb !important;
}

.view-contract-playbook > nav.pager-nav h4 {
  display: none !important;
}

/* Pagination list — flex centered for page numbers, Prev/Next positioned absolutely */
.view-contract-playbook > nav.pager-nav .pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 63px !important;
  position: relative !important;
}

/* Hide First / Last links — v2 doesn't have them */
.view-contract-playbook > nav.pager-nav .pagination li.pager__item--first,
.view-contract-playbook > nav.pager-nav .pagination li.pager__item--last {
  display: none !important;
}

/* Previous button — absolutely positioned at left edge */
.view-contract-playbook > nav.pager-nav .pagination li.pager__item--previous {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.view-contract-playbook > nav.pager-nav .pagination li.pager__item--previous a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 80px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Hide original text inside Previous/Next, replace via ::before/::after */
.view-contract-playbook > nav.pager-nav .pagination li.pager__item--previous a > *,
.view-contract-playbook > nav.pager-nav .pagination li.pager__item--next a > * {
  display: none !important;
}

.view-contract-playbook > nav.pager-nav .pagination li.pager__item--previous a::before {
  content: '' !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  margin-right: 5px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M7.5 9L4.5 6L7.5 3' stroke='%23737987' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center !important;
  background-size: contain !important;
}

.view-contract-playbook > nav.pager-nav .pagination li.pager__item--previous a::after {
  content: 'Previous' !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
}

/* Next button — absolutely positioned at right edge */
.view-contract-playbook > nav.pager-nav .pagination li.pager__item--next {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.view-contract-playbook > nav.pager-nav .pagination li.pager__item--next a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 80px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.view-contract-playbook > nav.pager-nav .pagination li.pager__item--next a::before {
  content: 'Next' !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
}

.view-contract-playbook > nav.pager-nav .pagination li.pager__item--next a::after {
  content: '' !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  margin-left: 5px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M4.5 3L7.5 6L4.5 9' stroke='%23737987' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center !important;
  background-size: contain !important;
}

/* Page number items — flow naturally in the centered flex container */
.view-contract-playbook
  > nav.pager-nav
  .pagination
  li.pager__item:not(.pager__item--previous):not(.pager__item--next):not(.pager__item--first):not(
    .pager__item--last
  )
  a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 25px !important;
  height: 25px !important;
  min-width: auto !important;
  padding: 0 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  transition: background-color 0.15s ease !important;
}

/* Active page number — v2: bg #E8ECF4, text #0E1016, font-medium */
.view-contract-playbook
  > nav.pager-nav
  .pagination
  li.pager__item.is-active:not(.pager__item--previous):not(.pager__item--next):not(
    .pager__item--first
  ):not(.pager__item--last)
  a,
.view-contract-playbook
  > nav.pager-nav
  .pagination
  li.pager__item.active:not(.pager__item--previous):not(.pager__item--next):not(
    .pager__item--first
  ):not(.pager__item--last)
  a {
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
  font-weight: 500 !important;
}

/* Page number hover */
.view-contract-playbook
  > nav.pager-nav
  .pagination
  li.pager__item:not(.is-active):not(.active):not(.pager__item--previous):not(
    .pager__item--next
  ):not(.pager__item--first):not(.pager__item--last)
  a:hover {
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
}

/* Page number link — keep visually-hidden accessible */
.view-contract-playbook
  > nav.pager-nav
  .pagination
  li.pager__item:not(.pager__item--previous):not(.pager__item--next):not(.pager__item--first):not(
    .pager__item--last
  )
  a
  .visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  overflow: hidden !important;
  height: 1px !important;
  width: 1px !important;
}

/* Add contract playbook button — right side, inline with search */
.view-contract-playbook .view-footer {
  flex: 0 0 auto !important;
  order: 2 !important;
  margin: 0 0 0 8px !important;
}

.view-contract-playbook .view-footer p {
  margin: 0 !important;
}

.view-contract-playbook .view-footer a.new-matter-client-save {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  color: #fff !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border: none !important;
  margin: 0 !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease !important;
  position: static !important;
}

.view-contract-playbook .view-footer a.new-matter-client-save:hover {
  background-color: #2c854f !important;
  color: #fff !important;
}

/* Prefix '+' icon on button text */
.view-contract-playbook .view-footer a.new-matter-client-save::before {
  content: '+' !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

/* Table card — full width below the header row */
.view-contract-playbook .view-content {
  flex: 0 0 100% !important;
  order: 3 !important;
  background-color: #fff !important;
  border-radius: 12px 12px 0 0 !important;
  padding: 0 16px !important;
  margin: 20px 0 0 !important;
}

/* Empty state — match .view-content flex placement so "No contracts found"
   renders where the table would, below the header row. Without this, the
   Views-default .view-empty falls back to `order: 0` and jumps in front of
   the title. */
.view-contract-playbook .view-empty {
  flex: 0 0 100% !important;
  order: 3 !important;
  margin: 20px 0 0 !important;
}

/* When no pager exists, restore full border-radius on table card */
.view-contract-playbook .view-content:last-child {
  border-radius: 12px !important;
}

/* Table — no borders on wrapper */
.view-contract-playbook .table-responsive {
  overflow-x: visible !important;
}

.view-contract-playbook table {
  margin-bottom: 0 !important;
}

/* thead — v2 BaseTable */
.view-contract-playbook table thead th {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #737987 !important;
  border-top: none !important;
  border-bottom: 1px solid #e9eaeb !important;
  padding: 14px 12px !important;
  background: transparent !important;
}

/* tbody — v2 BaseTable */
.view-contract-playbook table tbody tr {
  background-color: transparent !important;
}

.view-contract-playbook table tbody tr:nth-of-type(odd) {
  background-color: transparent !important;
}

.view-contract-playbook table tbody td {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  color: #737987 !important;
  border-bottom: 1px solid #e9eaeb !important;
  border-top: none !important;
  padding: 16px 12px !important;
  vertical-align: middle !important;
}

/* Name column — bolder, darker */
.view-contract-playbook table tbody td.views-field-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
}

.view-contract-playbook table tbody td.views-field-title a {
  color: #0e1016 !important;
  text-decoration: none !important;
}

.view-contract-playbook table tbody td.views-field-title a:hover {
  color: #47b171 !important;
}

/* Global — Eliminar deslocamento do Bootstrap 3 em todos os .btn */
.btn:hover,
.btn:focus,
.btn:active,
.btn.active {
  position: static !important;
  top: auto !important;
  margin-top: 0 !important;
}

/* Global — Green action buttons (btn-success) standardized */
.btn-success,
.btn-success.btn,
a.btn-success {
  background-color: #13bb67 !important;
  background-image: none !important;
  border-color: #13bb67 !important;
  color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success.btn:hover,
.btn-success.btn:focus,
a.btn-success:hover,
a.btn-success:focus {
  background-color: #10a85c !important;
  border: 1px solid #10a85c !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
  position: static !important;
  top: auto !important;
  margin-top: 0 !important;
  text-decoration: none !important;
}

.btn-success:active,
.btn-success.btn:active,
a.btn-success:active {
  background-color: #0e9652 !important;
  border: 1px solid #0e9652 !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
  position: static !important;
  top: auto !important;
  margin-top: 0 !important;
}

/* Contract Repository — Title and spaces */
.contract-repo-flex .views-element-container.form-group .view-header h3 {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.view-org-contract-repo .view-filters {
  margin-top: 30px !important;
}

/* Company Domain — Title */
#v-pills-domain h3 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
}

/* Company Domain — Spacing between inputs */
#edit-options-table .input-group {
  margin-bottom: 16px !important;
}

/* Company Domain — Add More + Save Domain buttons side by side */
#edit-domain--2 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

#edit-domain--2 > .alert {
  order: 0 !important;
  width: 100% !important;
}

#options_table_wrap {
  order: 1 !important;
  flex-basis: 100% !important;
  margin-bottom: 28px !important;
}

.add-domain {
  order: 2 !important;
  position: static !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  right: auto !important;
  top: auto !important;
}

.add-domain .icon-plus-circle {
  display: none !important;
}

#edit-save-domain {
  order: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: 35px !important;
  padding: 6px 16px !important;
  font-size: 14px !important;
}

#edit-add-more {
  display: inline-flex !important;
  align-items: center !important;
  height: 35px !important;
  padding: 6px 16px !important;
  font-size: 14px !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #6c757d !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition:
    background-color 0.15s ease-in-out,
    color 0.15s ease-in-out,
    border-color 0.15s ease-in-out !important;
  margin: 0 !important;
}

#edit-add-more:hover,
#edit-add-more:focus {
  background-color: #13bb67 !important;
  color: #fff !important;
  border-color: #13bb67 !important;
}

/* Users — Title, rows and spacing (overridden by v2 block below) */
#v-pills-users h3 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

.users_list_user.org-entity-list {
  padding: 16px 0 !important;
}

/* Groups — Title, rows and spacing (overridden by v2 block below) */
#v-pills-groups h3 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

.groups_list_group.org-entity-list {
  padding: 16px 0 !important;
}

#v-pills-groups a.new-matter-client-save,
#v-pills-groups a[href*='add'][class*='btn'] {
  padding: 8px 20px !important;
  margin-top: 24px !important;
  display: inline-block !important;
}

/* Contract Types — Title, rows and spacing (overridden by v2 block below) */
#v-pills-contracts-type h3 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* Shared — margin-left do nome (users, groups, contracts) */
.user_name.org-entity_name,
.group_name.org-entity_name,
.contract_name.org-entity_name {
  margin-left: 16px !important;
}

/* All Matters — Title */
#v-pills-matters h3 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
}

/* All Matters — Spacing */
.matters_list_matter.org-entity-list {
  padding: 20px 0 !important;
}

.matter_name.org-entity_name {
  margin-left: 16px !important;
}

#v-pills-matters a.new-matter-client-save,
#v-pills-matters a.btn-success {
  padding: 8px 20px !important;
  margin-top: 24px !important;
  display: inline-block !important;
}

/* =====================================================
   GLOBAL STANDARDIZATION — all tabs
   h3: grey border, standard padding/margin
   ===================================================== */

#v-pills-about h3,
#v-pills-features h3,
#v-pills-export-matters h3,
#v-pills-matter-settings h3,
#v-pills-contracts h3,
#v-pills-docusign h3,
#v-pills-addpolicy h3 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
}

/* =====================================================
   Users — Add User + Save button (overridden by v2 block)
   ===================================================== */
#v-pills-users a.new-matter-client-save,
#v-pills-users a[class*='btn-success'] {
  padding: 8px 20px !important;
  margin-top: 24px !important;
  display: inline-block !important;
}

/* =====================================================
   Export Matters — Export button
   ===================================================== */
#v-pills-export-matters a.new-matter-client-save,
#v-pills-export-matters a.btn-success {
  padding: 8px 20px !important;
  margin-top: 24px !important;
  display: inline-block !important;
}

/* =====================================================
   Contract Templates — Add template button
   ===================================================== */
#v-pills-contracts a.new-matter-client-save,
#v-pills-contracts a.btn-success {
  padding: 8px 20px !important;
  margin-top: 24px !important;
  display: inline-block !important;
}

/* =====================================================
   Matter Settings tab — full v2 page styling
   ===================================================== */

/* ---- Layout container ---- */
#v-pills-matter-settings {
  max-width: 948px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* ---- Title ---- */
#v-pills-matter-settings > h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* ---- Subtitle ---- */
#v-pills-matter-settings > .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* ---- Hide old h4 if still present ---- */
#v-pills-matter-settings h4 {
  display: none !important;
}

/* ---- Hide empty statuses section ---- */
#v-pills-matter-settings .org_custom_matter_fields_statuses {
  display: none !important;
}

/* ---- White card wrapper ---- */
#v-pills-matter-settings .legalc_custom_matter_fields {
  background-color: #fff !important;
  border-radius: 12px !important;
  border: none !important;
  overflow: hidden !important;
  margin-top: 0 !important;
  padding: 0 !important;
  max-width: 948px !important;
}

/* ---- Remove old ::before card header ---- */
#v-pills-matter-settings .legalc_custom_matter_fields::before {
  display: none !important;
}

/* ---- Outer Drupal wrapper — reset margin ---- */
#v-pills-matter-settings #edit-org-matter-settings-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- Inner wrappers — no extra padding, full width ---- */
#v-pills-matter-settings .org_custom_matter_fields_inner {
  padding: 0 !important;
  width: 100% !important;
}

#v-pills-matter-settings .org_custom_matter_fields_fields {
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

#v-pills-matter-settings .org_custom_matter_fields_fields > div {
  max-width: none !important;
  width: 100% !important;
}

/* ---- Table header row ---- */
#v-pills-matter-settings .ocmf-header {
  display: flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  background-color: transparent !important;
  border-bottom: 1px solid #e9eaeb !important;
}

#v-pills-matter-settings .ocmf-header > div {
  padding: 14px 8px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  color: #737987 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  border-left: none !important;
  border-right: none !important;
}

/* ---- Table rows ---- */
#v-pills-matter-settings .ocmf-sort-row {
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid #e9eaeb !important;
  transition: background-color 0.1s ease !important;
  padding: 0 16px !important;
  margin: 0 !important;
}

#v-pills-matter-settings .ocmf-sort-row:last-child {
  border-bottom: none !important;
}

#v-pills-matter-settings .ocmf-sort-row:hover {
  background-color: #fafafa !important;
}

#v-pills-matter-settings .ocmf-sort-row > div {
  padding: 16px 8px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: #0e1016 !important;
  border-left: none !important;
  border-right: none !important;
}

/* ---- Column widths — consistent between header and rows ---- */
#v-pills-matter-settings .ocmf-sort,
#v-pills-matter-settings .ocmf-header .ocmf-sort {
  flex: 0 0 36px !important;
}

#v-pills-matter-settings .ocmf-name,
#v-pills-matter-settings .ocmf-header .ocmf-name {
  flex: 1 1 auto !important;
  font-weight: 500 !important;
}

#v-pills-matter-settings .ocmf-type,
#v-pills-matter-settings .ocmf-header .ocmf-type {
  flex: 0 0 130px !important;
}

#v-pills-matter-settings .ocmf-sort-row .ocmf-type {
  color: #737987 !important;
}

#v-pills-matter-settings .ocmf-required,
#v-pills-matter-settings .ocmf-header .ocmf-required {
  flex: 0 0 90px !important;
  text-align: center !important;
  justify-content: center !important;
  display: flex !important;
  align-items: center !important;
}

#v-pills-matter-settings .ocmf-intake,
#v-pills-matter-settings .ocmf-header .ocmf-intake {
  flex: 0 0 80px !important;
  text-align: center !important;
  justify-content: center !important;
  display: flex !important;
  align-items: center !important;
}

#v-pills-matter-settings .ocmf-actions,
#v-pills-matter-settings .ocmf-header .ocmf-actions {
  flex: 0 0 90px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  justify-content: flex-end !important;
}

/* ---- Sort handle ---- */
#v-pills-matter-settings .sort-cfields-link {
  opacity: 0.35 !important;
  transition: opacity 0.15s !important;
  display: flex !important;
  align-items: center !important;
  cursor: grab !important;
}

#v-pills-matter-settings .ocmf-sort-row:hover .sort-cfields-link {
  opacity: 0.7 !important;
}

#v-pills-matter-settings .sort-cfields-link img {
  width: 14px !important;
  height: 14px !important;
}

/* ---- Checkboxes — toggle switches (preserved) ---- */
#v-pills-matter-settings input[type='checkbox'] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 32px !important;
  height: 18px !important;
  border-radius: 9px !important;
  background-color: #dee2e6 !important;
  border: none !important;
  cursor: default !important;
  position: relative !important;
  transition: background-color 0.2s ease !important;
  flex-shrink: 0 !important;
  outline: none !important;
}

#v-pills-matter-settings input[type='checkbox']::after {
  content: '' !important;
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  transition: transform 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

#v-pills-matter-settings input[type='checkbox']:checked {
  background-color: #47b171 !important;
}

#v-pills-matter-settings input[type='checkbox']:checked::after {
  transform: translateX(14px) !important;
}

/* ---- Action icons — edit & delete (preserved) ---- */
#v-pills-matter-settings .ocmf-edit,
#v-pills-matter-settings .ocmf-delete {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 4px !important;
  color: #737987 !important;
  border: 1px solid #e9eaeb !important;
  background-color: #fff !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
}

#v-pills-matter-settings .ocmf-edit:hover {
  color: #47b171 !important;
  border-color: #47b171 !important;
  background-color: #f6fef9 !important;
}

#v-pills-matter-settings .ocmf-delete:hover {
  color: #ff6952 !important;
  border-color: #ff6952 !important;
  background-color: #fff5f5 !important;
}

#v-pills-matter-settings .ocmf-edit i,
#v-pills-matter-settings .ocmf-delete i {
  font-size: 13px !important;
}

/* ---- Hide empty actions wrapper ---- */
#v-pills-matter-settings .org_custom_matter_fields_actions {
  display: none !important;
}

/* ---- Add Field button — PRIMARY (green), positioned top-right ---- */
#v-pills-matter-settings #org_add_custom_field {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

#v-pills-matter-settings #org_add_custom_field:hover,
#v-pills-matter-settings #org_add_custom_field:focus {
  background-color: #2c854f !important;
  color: #fff !important;
}

/* =====================================================
   Sidebar — organization Edit button
   ===================================================== */
.organization_tab_inner > a.edit {
  background-color: #13bb67 !important;
  background-image: none !important;
  border: 1px solid #13bb67 !important;
  color: #fff !important;
  font-weight: 500 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out !important;
}

.organization_tab_inner > a.edit:hover,
.organization_tab_inner > a.edit:focus {
  background-color: #10a85c !important;
  border-color: #10a85c !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.organization_tab_inner > a.edit:active {
  background-color: #0e9652 !important;
  border-color: #0e9652 !important;
  color: #fff !important;
}

/* =====================================================
   Sidebar — V2 styling overrides
   ===================================================== */

/* Container: white bg, 308px width, vertical padding, rounded right edge */
.orgnaization_wrap_left {
  max-width: 308px !important;
  width: 308px !important;
  padding: 20px 10px !important;
  background-color: #fff !important;
  border-right: 1px solid #e5e7eb !important;
  min-height: 100vh !important;
}

/* Inner sidebar — reset margins */
.orgnaization_wrap_left #edit-sidebar {
  margin: 0 !important;
}

/* "Organization Settings" title */
.orgnaization_wrap_left #edit-organization-tab > h4 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  margin: 10px 15px !important;
  padding: 0 !important;
}

/* Test Corp row — keep as-is, just reset margins */
.orgnaization_wrap_left .organization_tab_inner {
  margin: 0 0 10px !important;
  padding: 0 5px !important;
}

/* Edit button — update to v2 brand-green */
.organization_tab_inner > a.edit {
  background-color: #47b171 !important;
  border: 1px solid #47b171 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
}

.organization_tab_inner > a.edit:hover,
.organization_tab_inner > a.edit:focus {
  background-color: #2c854f !important;
  border-color: #2c854f !important;
}

.organization_tab_inner > a.edit:active {
  background-color: #2c854f !important;
  border-color: #2c854f !important;
}

/* Nav pills container — reset */
.orgnaization_wrap_left #v-pills-tab {
  margin: 0 !important;
  padding: 0 !important;
}

/* Section headings (General, Team And Groups, Matters, etc.) */
.orgnaization_wrap_left #v-pills-tab > h4 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  margin: 10px 15px !important;
  padding: 10px 0 0 !important;
  border-top: 1px solid #ddd !important;
}

/* First section heading — no top border (matches v2 first divider placement) */
.orgnaization_wrap_left #v-pills-tab > h4:first-child {
  border-top: 1px solid #ddd !important;
  padding-top: 20px !important;
  margin-top: 20px !important;
}

/* Nav items (tabs and links) */
.orgnaization_wrap_left #v-pills-tab .nav-link,
.orgnaization_wrap_left #v-pills-tab > a {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #0e1016 !important;
  background: transparent !important;
  padding: 10px 16px !important;
  margin: 1px 0 !important;
  border-radius: 6px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease-in-out !important;
}

/* Nav item icons */
.orgnaization_wrap_left #v-pills-tab .nav-link i,
.orgnaization_wrap_left #v-pills-tab > a i {
  color: #737987 !important;
  margin-right: 12px !important;
  font-size: 14px !important;
  width: 16px !important;
  text-align: center !important;
}

/* Hover state */
.orgnaization_wrap_left #v-pills-tab .nav-link:hover,
.orgnaization_wrap_left #v-pills-tab > a:hover {
  background-color: #f3f4f6 !important;
  color: #0e1016 !important;
}

/* Active state — v2 surface-secondary (#E8ECF4), dark text */
.orgnaization_wrap_left #v-pills-tab .nav-link.active {
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
  border-radius: 6px !important;
  font-weight: 400 !important;
}

/* Active icons — keep darker for contrast */
.orgnaization_wrap_left #v-pills-tab .nav-link.active i {
  color: #0e1016 !important;
}

/* Sub-tab items (Export Matters nested) */
.orgnaization_wrap_left #v-pills-tab .sub-tab {
  margin: 0 !important;
  padding: 0 !important;
}

.orgnaization_wrap_left #v-pills-tab .sub-tab .nav-link,
.orgnaization_wrap_left #v-pills-tab .sub-tab a {
  padding-left: 44px !important;
  font-size: 14px !important;
}

/* =====================================================
   Policies — Add Policy button
   ===================================================== */
#v-pills-addpolicy a.new-matter-client-save,
#v-pills-addpolicy a.btn-success {
  padding: 8px 20px !important;
  margin-top: 24px !important;
  display: inline-block !important;
}

/* Users — Note info box */
.note_to_user_link {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  background-color: #e8f4fd !important;
  border: 1px solid #bee3f8 !important;
  border-left: 4px solid #3498db !important;
  border-radius: 4px !important;
  padding: 14px 16px !important;
  margin-top: 24px !important;
  font-size: 13px !important;
  color: #1a4a6b !important;
  line-height: 1.6 !important;
}

.note_to_user_link::before {
  content: 'ℹ' !important;
  font-size: 16px !important;
  color: #3498db !important;
  line-height: 1.4 !important;
  flex-shrink: 0 !important;
}

.note_to_user_link span {
  display: none !important;
}

.note_to_user_link a {
  color: #2980b9 !important;
  font-weight: 500 !important;
  word-break: break-all !important;
}

.note_to_user_link a:hover {
  color: #1a5276 !important;
  text-decoration: underline !important;
}

/* Contract Templates — standardize table */
#v-pills-contracts table tbody tr:nth-of-type(odd) {
  background-color: transparent !important;
}

#v-pills-contracts table tbody tr {
  background-color: transparent !important;
}

#v-pills-contracts table tbody td {
  padding: 14px 8px !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
}

#v-pills-contracts table thead th {
  padding: 10px 8px !important;
  border-bottom: 1px solid #dee2e6 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #495057 !important;
}

/* About — fix green border on organization card */
#v-pills-about .orgnaization-title {
  border-bottom: 1px solid #dee2e6 !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
}

/* Policies — standardize list rows */
#v-pills-addpolicy .lc-list-matters-item-v2 {
  padding: 20px 10px !important;
  border-bottom: 1px solid #dee2e6 !important;
}

#v-pills-addpolicy .lc-list-matters-item-v2-inner > div {
  vertical-align: middle !important;
}

#v-pills-addpolicy .lc-list-quotes-item-v2-left {
  padding-left: 16px !important;
}

/* =====================================================
   DocuSign — modern layout
   ===================================================== */

/* Warning box */
#edit-warning-message {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  background-color: #fff8e1 !important;
  border: 1px solid #ffe082 !important;
  border-left: 4px solid #ffc107 !important;
  border-radius: 4px !important;
  padding: 14px 16px !important;
  margin-bottom: 28px !important;
  font-size: 13px !important;
  color: #5a4a00 !important;
  line-height: 1.6 !important;
}

#edit-warning-message strong {
  color: #b8860b !important;
  margin-right: 4px !important;
}

/* Fieldset — remove native styling */
#v-pills-docusign fieldset.fieldgroup {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#v-pills-docusign fieldset legend {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #495057 !important;
  padding: 0 !important;
  margin-bottom: 16px !important;
  border-bottom: none !important;
  float: none !important;
  width: auto !important;
}

#v-pills-docusign .fieldset-wrapper {
  padding: 0 !important;
}

/* Radio items — hide native input */
#v-pills-docusign .form-type-radio {
  margin: 0 0 12px 0 !important;
}

#v-pills-docusign .form-type-radio .control-label {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 14px 18px !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #495057 !important;
  background-color: #fff !important;
  transition:
    border-color 0.15s ease-in-out,
    background-color 0.15s ease-in-out !important;
  max-width: 420px !important;
  position: relative !important;
}

#v-pills-docusign .form-type-radio .control-label:hover {
  border-color: #13bb67 !important;
  background-color: #f6fef9 !important;
}

/* Hide native radio and replace with visual indicator */
#v-pills-docusign .form-radio {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

/* Custom circular indicator before the text */
#v-pills-docusign .form-type-radio .control-label::before {
  content: '' !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 50% !important;
  margin-right: 12px !important;
  background-color: #fff !important;
  transition:
    border-color 0.15s ease-in-out,
    background-color 0.15s ease-in-out !important;
}

/* Checked state — detected via JS below, using data attribute */
#v-pills-docusign .form-type-radio.is-checked .control-label {
  border-color: #13bb67 !important;
  background-color: #f6fef9 !important;
}

#v-pills-docusign .form-type-radio.is-checked .control-label::before {
  border-color: #13bb67 !important;
  background-color: #13bb67 !important;
  box-shadow: inset 0 0 0 3px #fff !important;
}

/* Descriptive text below the cards */
#v-pills-docusign .text-muted {
  font-size: 13px !important;
  color: #6c757d !important;
  margin-top: 8px !important;
  margin-bottom: 24px !important;
}

/* Save button */
#v-pills-docusign button[type='submit'],
#v-pills-docusign input[type='submit'] {
  padding: 8px 20px !important;
  margin-top: 8px !important;
}

/* Page 1 styles migrated to v2-design-system.css (sections 3 and 4) */

/* =====================================================
   Request Form — Checkbox styling (all pages)
   Matches DocuSign card-style pattern
   ===================================================== */

/* Wrapper spacing */
form.add_request_wrap_page_1 .form-type-checkbox,
form.add_request_wrap_page_2 .form-type-checkbox {
  margin: 0 0 12px 0 !important;
}

/* Card-style label — same as DocuSign radio cards */
form.add_request_wrap_page_1 .form-type-checkbox .control-label,
form.add_request_wrap_page_2 .form-type-checkbox .control-label {
  display: flex !important;
  align-items: center !important;
  padding: 14px 18px !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #495057 !important;
  background-color: #fff !important;
  background-image: none !important;
  transition:
    border-color 0.15s ease-in-out,
    background-color 0.15s ease-in-out !important;
  max-width: 420px !important;
  position: relative !important;
  margin-bottom: 0 !important;
  border-radius: 6px !important;
}

form.add_request_wrap_page_1 .form-type-checkbox .control-label:hover,
form.add_request_wrap_page_2 .form-type-checkbox .control-label:hover {
  border-color: #13bb67 !important;
  background-color: #f6fef9 !important;
}

/* Hide native checkbox */
form.add_request_wrap_page_1 .form-type-checkbox .form-checkbox,
form.add_request_wrap_page_2 .form-type-checkbox .form-checkbox {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

/* Custom square indicator before the label text */
form.add_request_wrap_page_1 .form-type-checkbox .control-label::before,
form.add_request_wrap_page_2 .form-type-checkbox .control-label::before {
  content: '' !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 3px !important;
  margin-right: 12px !important;
  background-color: #fff !important;
  transition:
    border-color 0.15s ease-in-out,
    background-color 0.15s ease-in-out !important;
}

/* Checked state — green border and filled indicator */
form.add_request_wrap_page_1 .form-type-checkbox:has(input:checked) .control-label,
form.add_request_wrap_page_2 .form-type-checkbox:has(input:checked) .control-label {
  border-color: #13bb67 !important;
  background-color: #f6fef9 !important;
}

form.add_request_wrap_page_1 .form-type-checkbox:has(input:checked) .control-label::before,
form.add_request_wrap_page_2 .form-type-checkbox:has(input:checked) .control-label::before {
  border-color: #13bb67 !important;
  background-color: #13bb67 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 10px !important;
}

/* =====================================================
   My Organization — Matters table (v-pills-matters)
   Match contract-repository table styling
   ===================================================== */

#v-pills-matters .org-matters-table th {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  color: #737987 !important;
  text-align: left !important;
  padding: 14px 12px !important;
  border-top: none !important;
  border-bottom: 1px solid #e9eaeb !important;
  background-color: transparent !important;
  white-space: nowrap !important;
}

#v-pills-matters .org-matters-table th a {
  color: #737987 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

#v-pills-matters .org-matters-table th a:hover {
  color: #737987 !important;
  text-decoration: none !important;
}

#v-pills-matters .org-matters-table td {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  padding: 16px 12px !important;
  border-top: none !important;
  border-bottom: 1px solid #e9eaeb !important;
  vertical-align: middle !important;
}

#v-pills-matters .org-matters-table td a {
  color: #737987 !important;
  text-decoration: none !important;
}

#v-pills-matters .org-matters-table tbody tr:nth-of-type(odd),
#v-pills-matters .org-matters-table tbody tr:nth-of-type(even) {
  background-color: transparent !important;
  --bs-table-accent-bg: transparent !important;
}

/* =====================================================
   My Organization — Intake Form Settings (v-pills-intake-form-settings)
   v2 CheckboxCard style — matches Request Form Page 1 cards
   No hidden checkboxes — native behavior fully preserved
   ===================================================== */

/* Card row */
#v-pills-intake-form-settings .intake-form-setting-row {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 90px !important;
  padding: 15px 20px !important;
  border: 1px solid #d4d9e2 !important;
  border-radius: 16px !important;
  background-color: #fff !important;
  margin-bottom: 16px !important;
  position: relative !important;
  transition: border-color 0.2s ease-in-out !important;
  box-sizing: border-box !important;
}

/* Card hover */
#v-pills-intake-form-settings .intake-form-setting-row:hover {
  border-color: #47b171 !important;
}

/* Card checked state — green border */
#v-pills-intake-form-settings .intake-form-setting-row:has(input:checked) {
  border-color: #47b171 !important;
  background-color: #fff !important;
}

/* Inner header wrapper */
#v-pills-intake-form-settings .intake-setting-header {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  gap: 15px !important;
}

/* The checkbox form-item wrapper — take available space */
#v-pills-intake-form-settings .intake-setting-header .form-item {
  flex: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Style native checkbox as v2 circular indicator */
#v-pills-intake-form-settings .intake-setting-header .form-checkbox {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border: 1px solid #d4d9e2 !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  cursor: pointer !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  position: relative !important;
  vertical-align: middle !important;
  transition:
    border-color 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out !important;
  order: 999 !important;
  flex-shrink: 0 !important;
}

/* Checkbox checked — green fill with inner white dot */
#v-pills-intake-form-settings .intake-setting-header .form-checkbox:checked {
  background-color: #47b171 !important;
  border-color: #47b171 !important;
  box-shadow:
    inset 0 0 0 4px #47b171,
    inset 0 0 0 6px #fff !important;
}

/* Checkbox hover */
#v-pills-intake-form-settings .intake-setting-header .form-checkbox:hover {
  border-color: #47b171 !important;
}

/* Label — title text, v2 tokens */
#v-pills-intake-form-settings .intake-setting-header .control-label {
  display: inline !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 25px !important;
  color: #0e1016 !important;
  cursor: pointer !important;
}

/* Remove old ::before indicator from label */
#v-pills-intake-form-settings .intake-setting-header .control-label::before {
  display: none !important;
  content: none !important;
}

/* Description text — v2 subtitle style */
#v-pills-intake-form-settings .intake-setting-header .description.help-block {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  margin: 4px 0 0 29px !important;
}

/* Gear settings button */
#v-pills-intake-form-settings .intake-settings-btn {
  background: transparent !important;
  border: none !important;
  color: #737987 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  padding: 4px !important;
  margin: 0 !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  transition: color 0.15s ease !important;
  flex-shrink: 0 !important;
}

#v-pills-intake-form-settings .intake-settings-btn:hover {
  color: #0e1016 !important;
  background: transparent !important;
}

/* =====================================================
   My Organization — Features (v-pills-features)
   v2 CheckboxCard style — matches Intake Form Settings cards
   ===================================================== */

/* Override grid layout to vertical stack */
#v-pills-features #edit-features-wrap-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

#v-pills-features #edit-features-wrap-inner > .col-xl-4 {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin-bottom: 16px !important;
}

/* Card row */
#v-pills-features .features_inner {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 90px !important;
  padding: 15px 20px !important;
  border: 1px solid #d4d9e2 !important;
  border-radius: 16px !important;
  background-color: #fff !important;
  margin-bottom: 0 !important;
  position: relative !important;
  transition: border-color 0.2s ease-in-out !important;
  box-sizing: border-box !important;
  gap: 15px !important;
  height: auto !important;
}

/* Card hover — only when not disabled */
#v-pills-features .features_inner:hover {
  border-color: #47b171 !important;
}

/* Disabled card — cursor not-allowed on entire card, no hover */
#v-pills-features .features_inner:has(input:disabled),
#v-pills-features .features_inner:has(input:disabled) * {
  cursor: not-allowed !important;
}

#v-pills-features .features_inner:has(input:disabled):hover {
  border-color: #d4d9e2 !important;
}

#v-pills-features .features_inner:has(input:disabled):has(input:checked):hover {
  border-color: #47b171 !important;
}

/* Card checked state */
#v-pills-features .features_inner:has(input:checked) {
  border-color: #47b171 !important;
  background-color: #fff !important;
}

/* Hide orange icon placeholder */
#v-pills-features .features_inner > .icon {
  display: none !important;
}

/* Detail wrapper — take available space */
#v-pills-features .features_inner .detail {
  flex: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

/* Title — v2 tokens */
#v-pills-features .features_inner .detail h4 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 25px !important;
  color: #0e1016 !important;
  margin: 0 !important;
}

/* Description — v2 subtitle style */
#v-pills-features .features_inner .detail p {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  margin: 4px 0 0 0 !important;
}

/* Checkbox wrapper — no position hacks */
#v-pills-features .features_inner .checkbox {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

/* Style native checkbox as v2 circular indicator */
#v-pills-features .features_inner .form-checkbox {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border: 1px solid #d4d9e2 !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  vertical-align: middle !important;
  transition:
    border-color 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out !important;
  flex-shrink: 0 !important;
}

/* Checkbox checked — green fill with inner white dot */
#v-pills-features .features_inner .form-checkbox:checked {
  background-color: #47b171 !important;
  border-color: #47b171 !important;
  box-shadow:
    inset 0 0 0 4px #47b171,
    inset 0 0 0 6px #fff !important;
}

/* Checkbox hover */
#v-pills-features .features_inner .form-checkbox:hover {
  border-color: #47b171 !important;
}

/* Disabled checkbox — keep visual but dim */
#v-pills-features .features_inner .form-checkbox:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

#v-pills-features .features_inner .form-checkbox:disabled:checked {
  opacity: 1 !important;
}

/* Add User modal migrated to v2-design-system.css Section 9 */

/* Change Role modal (#bootstrap5Modal) migrated to v2-design-system.css Section 10 */

/* Delete Group modal migrated to v2-design-system.css Section 13 */

/* Add/Edit Field modal and Delete Field modal migrated to v2-design-system.css Section 14/14b */

/* Remove User page (form.legal-delete-org-user) migrated to v2-design-system.css Section 11 */

/* Shared — Drupal Delete Confirmation Pages — migrated to v2-design-system.css Section 17 */

/* =====================================================
   Shared — Drupal Node Add/Edit Form Pages
   (Contract Repo, Contract Templates, Contract Types,
    Contract Playbooks)
   v2 ModalRenderer pattern on full page
   ===================================================== */

/* Neutralize the .region-content outer white card from elyts.css
   so we don't get a double white card when form.node-form is inside */
.region-content:has(> .add_contract_playbook_wrap),
.region-content:has(> .add_contract_wrap),
.region-content:has(> .add_contract_type_wrap),
.region-content:has(> form.node-form),
.region-content:has(> form.node-confirm-form) {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* Also hide the raw Drupal h1 page-header when inside these wrappers */
.region-content:has(> .add_contract_playbook_wrap) > h1.page-header,
.region-content:has(> .add_contract_playbook_wrap) > nav.tabs,
.region-content:has(> .add_contract_wrap) > h1.page-header,
.region-content:has(> .add_contract_wrap) > nav.tabs,
.region-content:has(> .add_contract_type_wrap) > h1.page-header,
.region-content:has(> .add_contract_type_wrap) > nav.tabs,
.region-content:has(> form.node-form) > h1.page-header,
.region-content:has(> form.node-form) > nav.tabs,
.region-content:has(> form.node-confirm-form) > h1.page-header,
.region-content:has(> form.node-confirm-form) > nav.tabs {
  display: none !important;
}

/* Page layout — center the form card */
/* Exclude forms inside .add_request_wrap / .add_contract_wrap which have their own wrapper */
form.node-form:not([class*='add_request_wrap']):not([class*='request_page_2']) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background-color: #fff !important;
  border-radius: 24px !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
  max-width: 600px !important;
  margin: 40px auto !important;
  padding: 40px 70px !important;
  box-sizing: border-box !important;
}

/* Title — .page-cover-title */
form.node-form .page-cover-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  color: #0e1016 !important;
  text-align: center !important;
  margin-bottom: 40px !important;
  width: 100% !important;
}

/* Field wrappers — direct children of form need full width */
form.node-form > div[class*='field--type-'],
form.node-form > .form-group {
  width: 100% !important;
  margin-bottom: 20px !important;
}

/* Form groups — standard Drupal .form-item wrapper */
form.node-form .form-item,
form.node-form .form-type-textfield,
form.node-form .form-type-textarea,
form.node-form .form-type-select,
form.node-form .form-type-managed-file,
form.node-form .js-form-type-textfield,
form.node-form .js-form-type-textarea,
form.node-form .js-form-type-select {
  width: 100% !important;
  margin-bottom: 20px !important;
}

/* Labels — v2 label style */
form.node-form label.control-label,
form.node-form .form-item label {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: #0e1016 !important;
  background: white !important;
  margin-bottom: 8px !important;
}

/* Text inputs — v2 Input */
form.node-form input.form-control,
form.node-form input.form-text {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  color: #0e1016 !important;
  background-color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s !important;
  box-sizing: border-box !important;
}

form.node-form input.form-control::placeholder,
form.node-form input.form-text::placeholder {
  color: #737987 !important;
}

form.node-form input.form-control:focus,
form.node-form input.form-text:focus {
  border-color: #47b171 !important;
}

/* Select wrapper — ensure full width */
form.node-form .select-wrapper {
  width: 100% !important;
}

/* Select dropdowns — v2 Select */
form.node-form select.form-control,
form.node-form select.form-select {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 6px 16px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #0e1016 !important;
  background-color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23737987' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px !important;
  box-sizing: border-box !important;
}

form.node-form select.form-control:focus,
form.node-form select.form-select:focus {
  border-color: #47b171 !important;
}

/* TextAreas — v2 TextArea */
form.node-form textarea.form-control,
form.node-form textarea.form-textarea {
  width: 100% !important;
  min-height: 130px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 16px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  color: #0e1016 !important;
  background-color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  resize: none !important;
  transition: border-color 0.2s !important;
  box-sizing: border-box !important;
}

form.node-form textarea.form-control::placeholder,
form.node-form textarea.form-textarea::placeholder {
  color: #737987 !important;
}

form.node-form textarea.form-control:focus,
form.node-form textarea.form-textarea:focus {
  border-color: #47b171 !important;
}

/* Uppy FileDropZone — v2 FileDropZone */
form.node-form .uppy-Dashboard {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background-color: #fff !important;
}

form.node-form .uppy-Dashboard-inner {
  border: none !important;
  border-radius: 12px !important;
}

/* Upload requirements link */
form.node-form a[href*='upload-instructions'] {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #47b171 !important;
  text-decoration: none !important;
}

form.node-form a[href*='upload-instructions']:hover {
  color: #2c854f !important;
}

/* Actions container */
form.node-form #edit-actions {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 24px !important;
  padding: 0 !important;
  border: none !important;
}

/* Save/Submit button — v2 primary button */
form.node-form #edit-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 45px !important;
  min-width: 140px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  color: #fff !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  padding: 0 20px !important;
  margin-left: auto !important;
}

form.node-form #edit-submit:hover {
  background-color: #2c854f !important;
}

/* Hide glyphicon icons inside submit button */
form.node-form #edit-submit .glyphicon {
  display: none !important;
}

/* Cancel / Go Back link — v2 secondary button */
form.node-form .form-actions a.contract_go_back,
form.node-form .form-actions a.dialog-cancel,
form.node-form #edit-actions a[href]:not(#edit-submit):not([href*='delete']) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 45px !important;
  min-width: 140px !important;
  border-radius: 24px !important;
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  padding: 0 20px !important;
  text-decoration: none !important;
  order: -1 !important;
}

form.node-form .form-actions a.contract_go_back:hover,
form.node-form .form-actions a.dialog-cancel:hover,
form.node-form #edit-actions a[href]:not(#edit-submit):not([href*='delete']):hover {
  background-color: #d4d9e2 !important;
  text-decoration: none !important;
  color: #0e1016 !important;
}

/* Delete link inside edit forms — v2 danger button style */
form.node-form #edit-actions a[href*='delete'] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 45px !important;
  min-width: 140px !important;
  border-radius: 24px !important;
  background-color: #ff6952 !important;
  color: #fff !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  padding: 0 20px !important;
  text-decoration: none !important;
  order: -2 !important;
}

form.node-form #edit-actions a[href*='delete']:hover {
  background-color: #d04b38 !important;
  text-decoration: none !important;
  color: #fff !important;
}

/* Hide glyphicon icons inside cancel link */
form.node-form .form-actions a .glyphicon {
  display: none !important;
}

/* Hide hidden fields from layout */
form.node-form input[type='hidden'] {
  display: none !important;
}

/* =====================================================
   CKEditor 5 — V2 TextArea styling
   border-radius 12px, green focus border, hide powered-by
   ===================================================== */

/* Toolbar — V2 rounded top */
.ck.ck-editor .ck-toolbar {
  border-radius: 12px 12px 0 0 !important;
  border: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
}

/* Content area — V2 rounded bottom, green focus */
.ck.ck-editor .ck-editor__main > .ck-content {
  border-radius: 0 0 12px 12px !important;
  border: 1px solid #e5e7eb !important;
  border-top: none !important;
  min-height: 130px !important;
  box-shadow: none !important;
}

.ck.ck-editor .ck-editor__main > .ck-content.ck-focused {
  border-color: #47b171 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* When focused, toolbar border should also go green */
.ck.ck-editor:has(.ck-focused) .ck-toolbar {
  border-color: #47b171 !important;
}

/* Hide "Powered by CKEditor" balloon */
.ck-powered-by-balloon,
.ck.ck-balloon-panel.ck-powered-by-balloon {
  display: none !important;
}

/* Global Uppy styles migrated to v2-design-system.css Section 6 */

/* =====================================================
   Matter Export — Export Chat And Files Page
   v2 ModalRenderer pattern on full page
   ===================================================== */

/* Card container */
#legalc-export-matter-chat-and-files {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  background-color: #fff !important;
  border-radius: 24px !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
  max-width: 500px !important;
  margin: 40px auto !important;
  padding: 40px 70px !important;
  box-sizing: border-box !important;
  font-family: 'Roboto', sans-serif !important;
}

/* Hide the raw h1.page-header above the export form */
.region-content:has(> #legalc-export-matter-chat-and-files) > h1.page-header {
  display: none !important;
}

/* Title (injected via .page-cover-title or the h1 inside) */
#legalc-export-matter-chat-and-files .page-cover-title,
#legalc-export-matter-chat-and-files > h2 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  color: #0e1016 !important;
  text-align: center !important;
  width: 100% !important;
  margin-bottom: 24px !important;
}

/* Checkbox labels */
#legalc-export-matter-chat-and-files label {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  color: #0e1016 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  margin-bottom: 12px !important;
}

/* Checkbox inputs — v2 Checkbox style */
#legalc-export-matter-chat-and-files input[type='checkbox'] {
  width: 20px !important;
  height: 20px !important;
  border-radius: 6px !important;
  border: 1px solid #9ca3af !important;
  appearance: auto !important;
  accent-color: #47b171 !important;
  cursor: pointer !important;
  margin: 0 !important;
  position: unset !important;
}

/* Panel cleanup */
#legalc-export-matter-chat-and-files .panel,
#legalc-export-matter-chat-and-files .panel-default,
#legalc-export-matter-chat-and-files .panel-body {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

#legalc-export-matter-chat-and-files .panel-heading {
  display: block !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}

#legalc-export-matter-chat-and-files .panel-heading .panel-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  color: #0e1016 !important;
  text-align: center !important;
}

/* Actions area */
#legalc-export-matter-chat-and-files .export_action,
#legalc-export-matter-chat-and-files #edit-actions {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 24px !important;
}

/* Export button — v2 primary */
#legalc-export-matter-chat-and-files #edit-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 45px !important;
  min-width: 140px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  color: #fff !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  padding: 0 20px !important;
  margin-left: auto !important;
}

#legalc-export-matter-chat-and-files #edit-submit:hover {
  background-color: #2c854f !important;
}

/* Cancel link — v2 secondary */
#legalc-export-matter-chat-and-files #edit-actions > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 45px !important;
  min-width: 140px !important;
  border-radius: 24px !important;
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  padding: 0 20px !important;
  text-decoration: none !important;
  order: -1 !important;
}

#legalc-export-matter-chat-and-files #edit-actions > a:hover {
  background-color: #d4d9e2 !important;
  text-decoration: none !important;
}

/* Hide glyphicon icons inside buttons */
#legalc-export-matter-chat-and-files .glyphicon {
  display: none !important;
}

/* Inner form-actions wrapper — make inline */
#legalc-export-matter-chat-and-files #edit-export-save {
  display: inline-flex !important;
}

/* Add/Edit Group page (.create-folder-wrap) migrated to v2-design-system.css Section 12 */

/* Contract Types — Add Type Fields Page (#org-detail-page-contract-type-fields) — migrated to v2-design-system.css Section 18 */

/* CheckboxCard (Page 1 radios) migrated to v2-design-system.css section 4 */

/* =====================================================
   Send for Signature Modal — jQuery UI Dialog
   ===================================================== */

/* Modal header — remove gray background, improve typography */
.ui-dialog .ui-dialog-titlebar {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 1px solid #dee2e6 !important;
  padding: 20px 24px 16px 24px !important;
  margin: 0 !important;
}

.ui-dialog .ui-dialog-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #212529 !important;
  line-height: 1.4 !important;
}

/* Close button — modern icon */
.ui-dialog .ui-dialog-titlebar-close {
  position: absolute !important;
  top: 20px !important;
  right: 24px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease-in-out !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ui-dialog .ui-dialog-titlebar-close:hover {
  background-color: #f8f9fa !important;
}

.ui-dialog .ui-dialog-titlebar-close:active {
  background-color: #e9ecef !important;
}

/* Replace × with modern close icon using pseudo-element */
.ui-dialog .ui-dialog-titlebar-close::before {
  content: '✕' !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #6c757d !important;
  line-height: 1 !important;
}

.ui-dialog .ui-dialog-titlebar-close:hover::before {
  color: #212529 !important;
}

/* Hide default close button text/icon */
.ui-dialog .ui-dialog-titlebar-close .ui-icon {
  display: none !important;
}

/* Modal content */
.ui-dialog .ui-dialog-content {
  padding: 24px !important;
}

/* Form inputs — follow General Inquiry pattern */
.ui-dialog .form-item,
.ui-dialog .form-group {
  margin-bottom: 20px !important;
}

.ui-dialog .form-item label,
.ui-dialog .form-group label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #495057 !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 0 4px 0 !important;
  line-height: 1 !important;
}

.ui-dialog .form-item input[type='text'],
.ui-dialog .form-item input.form-control,
.ui-dialog .form-group input[type='text'],
.ui-dialog .form-group input.form-control {
  width: 100% !important;
  height: 35px !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #33363d !important;
  background-color: #fff !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  outline: 0 !important;
  transition: border-color 0.15s ease-in-out !important;
}

.ui-dialog .form-item input[type='text']:focus,
.ui-dialog .form-item input.form-control:focus,
.ui-dialog .form-group input[type='text']:focus,
.ui-dialog .form-group input.form-control:focus {
  border-color: #13bb67 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.ui-dialog .form-item textarea,
.ui-dialog .form-item textarea.form-control,
.ui-dialog .form-group textarea,
.ui-dialog .form-group textarea.form-control {
  width: 100% !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #33363d !important;
  background-color: #fff !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  outline: 0 !important;
  transition: border-color 0.15s ease-in-out !important;
  resize: vertical !important;
}

.ui-dialog .form-item textarea:focus,
.ui-dialog .form-item textarea.form-control:focus,
.ui-dialog .form-group textarea:focus,
.ui-dialog .form-group textarea.form-control:focus {
  border-color: #13bb67 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Help text */
.ui-dialog .description,
.ui-dialog .help-block {
  font-size: 12px !important;
  color: #6c757d !important;
  margin-top: 4px !important;
  line-height: 1.4 !important;
}

/* Form wrapper to properly align button */
.ui-dialog form {
  display: block !important;
}

.ui-dialog form::after {
  content: '' !important;
  display: table !important;
  clear: both !important;
}

/* Next button — align right, green styling, spacing */
.ui-dialog button[type='submit'],
.ui-dialog .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 100px !important;
  height: 35px !important;
  padding: 6px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #fff !important;
  background-color: #13bb67 !important;
  background-image: none !important;
  border: 1px solid #13bb67 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out !important;
  margin-top: 24px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  float: right !important;
}

.ui-dialog button[type='submit']:hover,
.ui-dialog .btn-primary:hover {
  background-color: #10a85c !important;
  border-color: #10a85c !important;
  color: #fff !important;
  box-shadow: none !important;
  text-decoration: none !important;
  margin-top: 24px !important;
}

.ui-dialog button[type='submit']:active,
.ui-dialog .btn-primary:active {
  background-color: #0e9652 !important;
  border-color: #0e9652 !important;
  box-shadow: none !important;
}

.ui-dialog button[type='submit']:focus,
.ui-dialog .btn-primary:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Contract Review Uppy FileDropZone migrated to v2-design-system.css Section 6 */

/* Global Uppy fallback migrated to v2-design-system.css Section 6 */

/* Contract template selection - radio buttons list (not select elements) */
#edit-contract-type:not(select) {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

/* Contract template radio button labels - align to top when description exists */
#edit-contract-type:not(select) .control-label.option {
  align-items: center !important;
}

/* Remove margin from description paragraph */
#edit-contract-type .control-label.option p {
  margin: 0 !important;
}

/* Contract Step 2 dynamic fields (form.add_request_wrap_page_3) migrated to v2-design-system.css Section 8 */

/* === Manage Fields Page (Contract Fields) — V2 === */

/* Neutralize the outer white card so we don't get a double card */
.region-content:has(> form.org-detail-page-contract-fields) {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Hide raw Drupal h1 page-header */
.region-content:has(> form.org-detail-page-contract-fields) > h1.page-header,
.region-content:has(> form.org-detail-page-contract-fields) > nav.tabs {
  display: none !important;
}

/* Form card wrapper — V2 ModalRenderer style */
form.org-detail-page-contract-fields {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background-color: #fff !important;
  border-radius: 24px !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
  max-width: 700px !important;
  margin: 40px auto !important;
  padding: 40px 80px !important;
  box-sizing: border-box !important;
  font-family: 'Roboto', sans-serif !important;
}

/* Title — V2 heading */
form.org-detail-page-contract-fields .page-cover-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  color: #0e1016 !important;
  text-align: center !important;
  margin-bottom: 30px !important;
  width: 100% !important;
}

/* Table wrapper — full width */
form.org-detail-page-contract-fields .table-responsive {
  width: 100% !important;
}

/* Table — V2 styling */
form.org-detail-page-contract-fields table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
}

form.org-detail-page-contract-fields table thead th {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #737987 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-top: none !important;
  background-color: transparent !important;
}

form.org-detail-page-contract-fields table tbody td {
  font-size: 14px !important;
  color: #0e1016 !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-top: none !important;
  background-color: transparent !important;
}

form.org-detail-page-contract-fields table tbody tr:hover {
  background-color: #f9fafb !important;
}

form.org-detail-page-contract-fields table tbody td.empty {
  color: #737987 !important;
  font-style: italic !important;
}

/* Actions container — V2 layout */
form.org-detail-page-contract-fields #edit-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 24px !important;
  gap: 12px !important;
}

/* Hide glyphicon icons inside buttons */
form.org-detail-page-contract-fields #edit-actions .glyphicon {
  display: none !important;
}

/* Cancel button — V2 secondary */
form.org-detail-page-contract-fields #edit-actions a.new-matter-client-skip,
form.org-detail-page-contract-fields #edit-actions a.btn-default {
  height: 45px !important;
  min-width: 140px !important;
  padding: 0 20px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: 'Roboto', sans-serif !important;
  color: #0e1016 !important;
  background-color: #e8ecf4 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease-in-out !important;
}

form.org-detail-page-contract-fields #edit-actions a.new-matter-client-skip:hover,
form.org-detail-page-contract-fields #edit-actions a.new-matter-client-skip:focus,
form.org-detail-page-contract-fields #edit-actions a.btn-default:hover,
form.org-detail-page-contract-fields #edit-actions a.btn-default:focus {
  background-color: #d4d9e2 !important;
  color: #0e1016 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Save button — V2 primary */
form.org-detail-page-contract-fields #edit-actions button.btn-success,
form.org-detail-page-contract-fields #edit-actions button[type='submit'] {
  height: 45px !important;
  min-width: 140px !important;
  padding: 0 20px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: 'Roboto', sans-serif !important;
  color: #fff !important;
  background-color: #47b171 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease-in-out !important;
}

form.org-detail-page-contract-fields #edit-actions button.btn-success:hover,
form.org-detail-page-contract-fields #edit-actions button.btn-success:focus,
form.org-detail-page-contract-fields #edit-actions button[type='submit']:hover,
form.org-detail-page-contract-fields #edit-actions button[type='submit']:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* === Contract Repository Message Modals (Playbook, Summary, Metadata) — V2 === */

/* Dialog container — V2 ModalRenderer */
.ui-dialog.lc-playbook-dialog,
.ui-dialog:has(.lc-playbook-message),
.ui-dialog:has(.lc-summary-message),
.ui-dialog:has(.lc-metadata-message),
.ui-dialog.v2-message-modal {
  width: 600px !important;
  max-width: 600px !important;
  background-color: #fff !important;
  border-radius: 24px !important;
  border: none !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
  padding: 40px 70px !important;
  font-family: 'Roboto', sans-serif !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box !important;
}

/* Hide default jQuery UI titlebar */
.ui-dialog.lc-playbook-dialog > .ui-dialog-titlebar,
.ui-dialog:has(.lc-playbook-message) > .ui-dialog-titlebar,
.ui-dialog:has(.lc-summary-message) > .ui-dialog-titlebar,
.ui-dialog:has(.lc-metadata-message) > .ui-dialog-titlebar,
.ui-dialog.v2-message-modal > .ui-dialog-titlebar {
  display: none !important;
}

/* Dialog content area */
.ui-dialog .lc-playbook-message,
.ui-dialog .lc-summary-message,
.ui-dialog .lc-metadata-message {
  padding: 0 !important;
  overflow-y: auto !important;
  max-height: 70vh !important;
}

/* V2 ModalHeader (injected via JS) */
.v2-msg-modal-header {
  text-align: center !important;
  margin-bottom: 32px !important;
  width: 100% !important;
}

.v2-msg-modal-header .msg-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  color: #0e1016 !important;
  margin: 0 !important;
}

.v2-msg-modal-header .msg-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  margin-top: 8px !important;
}

/* V2 Close button — top right */
.ui-dialog.lc-playbook-dialog > .v2-msg-close,
.ui-dialog:has(.lc-playbook-message) > .v2-msg-close,
.ui-dialog:has(.lc-summary-message) > .v2-msg-close,
.ui-dialog:has(.lc-metadata-message) > .v2-msg-close,
.ui-dialog.v2-message-modal > .v2-msg-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 24px !important;
  height: 24px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  color: #737987 !important;
  font-size: 18px !important;
  line-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  text-shadow: none !important;
  transition: color 0.15s ease !important;
  z-index: 10 !important;
}

.ui-dialog > .v2-msg-close:hover {
  color: #0e1016 !important;
}

/* Message body text */
.ui-dialog .lc-playbook-message,
.ui-dialog .lc-summary-message,
.ui-dialog .lc-metadata-message {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  text-align: center !important;
}

/* Loader image inside summary/metadata */
.ui-dialog .lc-summary-message img,
.ui-dialog .lc-metadata-message img,
.ui-dialog .lc-playbook-message img {
  max-width: 60px !important;
  margin: 0 auto !important;
  display: block !important;
}

/* Add Contract Type Form (Page: Name) — migrated to v2-design-system.css Section 15 + utility classes (.v2-btn-primary, .v2-btn-secondary) */

/* === Contract Playbook Form — migrated to v2-design-system.css Section 20 === */
form.add_contract_playbook_wrap_page_1 .form-item label.control-label,
form.add_contract_playbook_wrap_page_ .form-item label.control-label {
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: #0e1016 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* Text input — V2 */
form.add_contract_playbook_wrap_page_1 input.form-text.form-control,
form.add_contract_playbook_wrap_page_ input.form-text.form-control {
  min-height: 50px !important;
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  color: #737987 !important;
  background-color: #fff !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease-in-out !important;
}

form.add_contract_playbook_wrap_page_1 input.form-text.form-control:focus,
form.add_contract_playbook_wrap_page_ input.form-text.form-control:focus {
  border-color: #47b171 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Select — V2 */
form.add_contract_playbook_wrap_page_1 select.form-control,
form.add_contract_playbook_wrap_page_ select.form-control {
  min-height: 50px !important;
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 6px 16px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  color: #737987 !important;
  background-color: #fff !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: border-color 0.15s ease-in-out !important;
}

form.add_contract_playbook_wrap_page_1 select.form-control:focus,
form.add_contract_playbook_wrap_page_ select.form-control:focus {
  border-color: #47b171 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Hide Vertical Tabs */
form.add_contract_playbook_wrap_page_1 .form-type-vertical-tabs,
form.add_contract_playbook_wrap_page_ .form-type-vertical-tabs {
  display: none !important;
}

/* Form group spacing */
form.add_contract_playbook_wrap_page_1 .form-item.form-group,
form.add_contract_playbook_wrap_page_ .form-item.form-group {
  margin-bottom: 20px !important;
}

/* Actions container — flex layout */
form.add_contract_playbook_wrap_page_1 #edit-actions,
form.add_contract_playbook_wrap_page_ #edit-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 24px !important;
}

/* Next button — V2 primary */
form.add_contract_playbook_wrap_page_1 #edit-actions #edit-next {
  height: 45px !important;
  min-width: 140px !important;
  padding: 0 20px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: 'Roboto', sans-serif !important;
  color: #fff !important;
  background-color: #47b171 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease-in-out !important;
  margin-left: auto !important;
}

form.add_contract_playbook_wrap_page_1 #edit-actions #edit-next:hover,
form.add_contract_playbook_wrap_page_1 #edit-actions #edit-next:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Cancel button (native .contract_go_back) — V2 secondary */
form.add_contract_playbook_wrap_page_1 #edit-actions .contract_go_back,
form.add_contract_playbook_wrap_page_ #edit-actions .contract_go_back {
  height: 45px !important;
  min-width: 140px !important;
  padding: 0 20px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: 'Roboto', sans-serif !important;
  color: #0e1016 !important;
  background-color: #e8ecf4 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease-in-out !important;
}

form.add_contract_playbook_wrap_page_1 #edit-actions .contract_go_back:hover,
form.add_contract_playbook_wrap_page_1 #edit-actions .contract_go_back:focus,
form.add_contract_playbook_wrap_page_ #edit-actions .contract_go_back:hover,
form.add_contract_playbook_wrap_page_ #edit-actions .contract_go_back:focus {
  background-color: #d4d9e2 !important;
  color: #0e1016 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Hide glyphicon inside Cancel */
form.add_contract_playbook_wrap_page_1 #edit-actions .contract_go_back .glyphicon,
form.add_contract_playbook_wrap_page_ #edit-actions .contract_go_back .glyphicon {
  display: none !important;
}

/* === Contract Playbook Form (Page 2: Rules) — V2 === */

/* Labels — remove gray bg, V2 font */
form.add_contract_playbook_wrap_page_2 .form-item label.control-label {
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: #0e1016 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* Form group spacing */
form.add_contract_playbook_wrap_page_2 .form-item.form-group {
  margin-bottom: 20px !important;
}

/* Actions container — flex layout */
form.add_contract_playbook_wrap_page_2 #edit-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 24px !important;
}

/* Save button — V2 primary */
form.add_contract_playbook_wrap_page_2 #edit-actions #edit-submit,
form.add_contract_playbook_wrap_page_ #edit-actions #edit-submit {
  height: 45px !important;
  min-width: 140px !important;
  padding: 0 20px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: 'Roboto', sans-serif !important;
  color: #fff !important;
  background-color: #47b171 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease-in-out !important;
  margin-left: auto !important;
}

form.add_contract_playbook_wrap_page_2 #edit-actions #edit-submit:hover,
form.add_contract_playbook_wrap_page_2 #edit-actions #edit-submit:focus,
form.add_contract_playbook_wrap_page_ #edit-actions #edit-submit:hover,
form.add_contract_playbook_wrap_page_ #edit-actions #edit-submit:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Hide glyphicon inside Save */
form.add_contract_playbook_wrap_page_2 #edit-actions #edit-submit .glyphicon,
form.add_contract_playbook_wrap_page_ #edit-actions #edit-submit .glyphicon {
  display: none !important;
}

/* Go Back button — V2 secondary */
form.add_contract_playbook_wrap_page_2 #edit-actions #edit-previous {
  height: 45px !important;
  min-width: 140px !important;
  padding: 0 20px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: 'Roboto', sans-serif !important;
  color: #0e1016 !important;
  background-color: #e8ecf4 !important;
  background-image: none !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease-in-out !important;
}

form.add_contract_playbook_wrap_page_2 #edit-actions #edit-previous:hover,
form.add_contract_playbook_wrap_page_2 #edit-actions #edit-previous:focus {
  background-color: #d4d9e2 !important;
  color: #0e1016 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Hide glyphicon inside Go Back */
form.add_contract_playbook_wrap_page_2 #edit-actions #edit-previous .glyphicon {
  display: none !important;
}

/* === Add Preloaded Contract Type Modal — migrated to v2-design-system.css Sections 19 and 19b === */

/* Browse files button — migrated to .v2-file-dropzone in v2-design-system.css */

/* Remove background color from off-canvas wrapper (settings modal) */
#drupal-off-canvas-wrapper {
  background-color: transparent !important;
  background: transparent !important;
}

/* Add bottom spacing to chat messages to prevent last message from being cut off */
.lc-chat-messages {
  padding-bottom: 40px !important;
}

/* =====================================================
   Contract Templates Tab — V2 Content Area Styling
   Replicates v2 Organization Policies page layout
   ===================================================== */

/* Page-level background — light gray behind everything */
.orgnaization_wrap {
  background-color: #f3f4f6 !important;
}

/* Right content area — remove v1 white card look, make transparent */
.orgnaization_wrap_right {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-left: 0 !important;
  padding: 40px !important;
  max-width: calc(100% - 308px) !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Tab-content wrapper should also be full-width centered */
.orgnaization_wrap_right > .tab-content {
  width: 100% !important;
  max-width: 948px !important;
}

/* ---- All tab-pane titles — v2 DashboardHeader style ---- */
.orgnaization_wrap_right .tab-pane > h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 0 20px !important;
}

/* ---- Subtitle — v2 DashboardHeader subtitle ---- */
#v-pills-contracts > .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* ---- DashboardHeader: title + button row ---- */
#v-pills-contracts {
  max-width: 948px !important;
  margin: 0 auto !important;
}

#v-pills-contracts > h3 {
  margin: 0 !important;
}

/* ---- BaseTable wrapper — white card ---- */
#v-pills-contracts #edit-org-contract-wrap {
  background-color: #fff !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  max-width: 948px !important;
}

/* Table responsive wrapper — no extra spacing */
#v-pills-contracts .table-responsive {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* ---- Table ---- */
#v-pills-contracts table.table {
  margin: 0 !important;
  border-collapse: collapse !important;
  width: 100% !important;
}

/* Remove striped/hover effects from Bootstrap */
#v-pills-contracts table.table-striped > tbody > tr:nth-of-type(odd),
#v-pills-contracts table.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: transparent !important;
  --bs-table-accent-bg: transparent !important;
}

#v-pills-contracts table.table-hover > tbody > tr:hover,
#v-pills-contracts table.table-hover > tbody > tr:hover > * {
  background-color: transparent !important;
  --bs-table-accent-bg: transparent !important;
}

/* ---- thead ---- */
#v-pills-contracts table thead th {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  color: #737987 !important;
  text-align: left !important;
  padding: 14px 12px !important;
  border-top: none !important;
  border-bottom: 1px solid #e9eaeb !important;
  background: transparent !important;
  white-space: nowrap !important;
}

/* ---- tbody ---- */
#v-pills-contracts table tbody td {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  padding: 16px 12px !important;
  border-top: none !important;
  border-bottom: 1px solid #e9eaeb !important;
  vertical-align: middle !important;
}

/* Last row — no bottom border (card handles it) */
#v-pills-contracts table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Name column — bolder, darker (matches v2 text-sm font-medium text-text-1) */
#v-pills-contracts table tbody td.views-field-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
}

#v-pills-contracts table tbody td.views-field-title a {
  color: var(--v2-brand-green) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

#v-pills-contracts table tbody td.views-field-title a:hover {
  color: var(--v2-brand-green-hover) !important;
  text-decoration: underline !important;
}

/* Download link */
#v-pills-contracts table tbody td a[href*='files/'] {
  color: #47b171 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

#v-pills-contracts table tbody td a[href*='files/']:hover {
  text-decoration: underline !important;
}

/* Status — unpublished row remove pink bg */
#v-pills-contracts table tbody tr.status-unpublished {
  background-color: transparent !important;
}

/* Actions column — align right */
#v-pills-contracts table th.views-align-right,
#v-pills-contracts table td.views-align-right {
  text-align: right !important;
  padding-right: 8px !important;
}

/* Actions dots menu */
#v-pills-contracts .org-entity-list {
  border-bottom: none !important;
  padding: 0 !important;
  justify-content: flex-end !important;
}

#v-pills-contracts .org-entity-action {
  margin-left: 0 !important;
}

/* ---- Add template button — v2 primary button style ---- */
#v-pills-contracts #edit-org-contract-wrap > a.new-matter-client-save {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  margin: 20px 0 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  float: right !important;
  position: relative !important;
}

/* Plus icon before text */
#v-pills-contracts #edit-org-contract-wrap > a.new-matter-client-save::before {
  content: '+' !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin-right: 2px !important;
}

#v-pills-contracts #edit-org-contract-wrap > a.new-matter-client-save:hover,
#v-pills-contracts #edit-org-contract-wrap > a.new-matter-client-save:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Table wrapper — just block, button is absolutely positioned */
#v-pills-contracts #edit-org-contract-wrap {
  display: block !important;
}

/* Header area: title + button on same row (only when active) */
#v-pills-contracts.active.show,
#v-pills-contracts[style*='display: block'] {
  position: relative !important;
}

/* Title sits normally — no extra bottom margin, subtitle handles spacing */
#v-pills-contracts > h3 {
  margin-bottom: 0 !important;
}

/* Button positioned absolutely to top-right of panel, aligned with title */
#v-pills-contracts #edit-org-contract-wrap > a.new-matter-client-save {
  position: absolute !important;
  top: -4px !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

/* =====================================================
   Contract Templates — Pagination (v2 style)
   ===================================================== */
.view-contract-templates > nav.pager-nav {
  margin: 0 !important;
  padding: 0 !important;
  height: 63px !important;
  border-top: 1px solid #e5e7eb !important;
}

.view-contract-templates > nav.pager-nav h4 {
  display: none !important;
}

/* Pagination list — flex centered for page numbers, Prev/Next positioned absolutely */
.view-contract-templates > nav.pager-nav .pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 63px !important;
  position: relative !important;
}

/* Hide First / Last links */
.view-contract-templates > nav.pager-nav .pagination li.pager__item--first,
.view-contract-templates > nav.pager-nav .pagination li.pager__item--last {
  display: none !important;
}

/* Previous button — absolutely positioned at left edge */
.view-contract-templates > nav.pager-nav .pagination li.pager__item--previous {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.view-contract-templates > nav.pager-nav .pagination li.pager__item--previous a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 80px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Hide original text inside Previous/Next, replace via ::before/::after */
.view-contract-templates > nav.pager-nav .pagination li.pager__item--previous a > *,
.view-contract-templates > nav.pager-nav .pagination li.pager__item--next a > * {
  display: none !important;
}

.view-contract-templates > nav.pager-nav .pagination li.pager__item--previous a::before {
  content: '' !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  margin-right: 5px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M7.5 9L4.5 6L7.5 3' stroke='%23737987' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center !important;
  background-size: contain !important;
}

.view-contract-templates > nav.pager-nav .pagination li.pager__item--previous a::after {
  content: 'Previous' !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
}

/* Next button — absolutely positioned at right edge */
.view-contract-templates > nav.pager-nav .pagination li.pager__item--next {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.view-contract-templates > nav.pager-nav .pagination li.pager__item--next a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 80px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.view-contract-templates > nav.pager-nav .pagination li.pager__item--next a::before {
  content: 'Next' !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
}

.view-contract-templates > nav.pager-nav .pagination li.pager__item--next a::after {
  content: '' !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  margin-left: 5px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M4.5 3L7.5 6L4.5 9' stroke='%23737987' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center !important;
  background-size: contain !important;
}

/* Page number items — flow naturally in the centered flex container */
.view-contract-templates
  > nav.pager-nav
  .pagination
  li.pager__item:not(.pager__item--previous):not(.pager__item--next):not(.pager__item--first):not(
    .pager__item--last
  )
  a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 25px !important;
  height: 25px !important;
  min-width: auto !important;
  padding: 0 !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  transition: background-color 0.15s ease !important;
}

/* Active page number */
.view-contract-templates
  > nav.pager-nav
  .pagination
  li.pager__item.is-active:not(.pager__item--previous):not(.pager__item--next):not(
    .pager__item--first
  ):not(.pager__item--last)
  a,
.view-contract-templates
  > nav.pager-nav
  .pagination
  li.pager__item.active:not(.pager__item--previous):not(.pager__item--next):not(
    .pager__item--first
  ):not(.pager__item--last)
  a {
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
  font-weight: 500 !important;
}

/* Page number hover */
.view-contract-templates
  > nav.pager-nav
  .pagination
  li.pager__item:not(.is-active):not(.active):not(.pager__item--previous):not(
    .pager__item--next
  ):not(.pager__item--first):not(.pager__item--last)
  a:hover {
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
}

/* Page number link — keep visually-hidden accessible */
.view-contract-templates
  > nav.pager-nav
  .pagination
  li.pager__item:not(.pager__item--previous):not(.pager__item--next):not(.pager__item--first):not(
    .pager__item--last
  )
  a
  .visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  overflow: hidden !important;
  height: 1px !important;
  width: 1px !important;
}

/* =====================================================
   3-dot Dropdown Menus — v2 DropdownMenu style
   (Contract Templates + Contract Playbook + All Matters)
   ===================================================== */

/* Dropdown panel */
#v-pills-contracts .org-entity-action-inner,
.view-contract-playbook .org-entity-action-inner,
#v-pills-matters .org-entity-action-inner {
  background-color: #fff !important;
  border-radius: 12px !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
  padding: 10px !important;
  width: 140px !important;
  border: none !important;
  z-index: 100 !important;
  right: 0 !important;
  top: 100% !important;
  margin-top: 4px !important;
}

/* Dropdown links */
#v-pills-contracts .org-entity-action-inner a.three-dot-menu,
.view-contract-playbook .org-entity-action-inner a.three-dot-menu,
#v-pills-matters .org-entity-action-inner a.three-dot-menu {
  display: block !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #0e1016 !important;
  text-decoration: none !important;
  padding: 4px 8px !important;
  margin-bottom: 2px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
}

/* Hover state */
#v-pills-contracts .org-entity-action-inner a.three-dot-menu:hover,
.view-contract-playbook .org-entity-action-inner a.three-dot-menu:hover,
#v-pills-matters .org-entity-action-inner a.three-dot-menu:hover {
  background-color: #f3f3f3 !important;
  text-decoration: none !important;
}

/* Delete link — red text */
#v-pills-contracts .org-entity-action-inner a.three-dot-menu[href*='delete'],
.view-contract-playbook .org-entity-action-inner a.three-dot-menu[href*='delete'],
#v-pills-matters .org-entity-action-inner a.three-dot-menu[href*='delete'] {
  color: #ff6952 !important;
}

/* Remove last item margin-bottom */
#v-pills-contracts .org-entity-action-inner a.three-dot-menu:last-child,
.view-contract-playbook .org-entity-action-inner a.three-dot-menu:last-child,
#v-pills-matters .org-entity-action-inner a.three-dot-menu:last-child {
  margin-bottom: 0 !important;
}

/* Ensure the action wrapper positions correctly */
#v-pills-contracts .org-entity-action,
.view-contract-playbook .org-entity-action,
#v-pills-matters .org-entity-action {
  position: relative !important;
}

/* 3-dot trigger icon — subtle opacity */
#v-pills-contracts a.three-dot-link,
.view-contract-playbook a.three-dot-link,
#v-pills-matters a.three-dot-link {
  color: #737987 !important;
  text-decoration: none !important;
}

#v-pills-contracts a.three-dot-link:hover,
.view-contract-playbook a.three-dot-link:hover,
#v-pills-matters a.three-dot-link:hover {
  color: #0e1016 !important;
}

/* =====================================================
   All Matters — full v2 page styling
   ===================================================== */

/* ---- Layout container ---- */
#v-pills-matters {
  max-width: 948px !important;
  margin: 0 auto !important;
}

#v-pills-matters.active.show,
#v-pills-matters[style*='display: block'] {
  position: relative !important;
}

/* ---- Title — v2 DashboardHeader title ---- */
#v-pills-matters > h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* ---- Subtitle — org name ---- */
#v-pills-matters > .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* ---- BaseTable wrapper — white card ---- */
#v-pills-matters #edit-org-matters-wrap {
  background-color: #fff !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  max-width: 948px !important;
  display: block !important;
}

/* Table responsive wrapper — no extra spacing */
#v-pills-matters .table-responsive {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* ---- Table ---- */
#v-pills-matters table.org-matters-table {
  margin: 0 !important;
  border-collapse: collapse !important;
  width: 100% !important;
}

/* Remove striped/hover effects from Bootstrap */
#v-pills-matters table.table-striped > tbody > tr:nth-of-type(odd),
#v-pills-matters table.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: transparent !important;
  --bs-table-accent-bg: transparent !important;
}

#v-pills-matters table.table-hover > tbody > tr:hover,
#v-pills-matters table.table-hover > tbody > tr:hover > * {
  background-color: transparent !important;
  --bs-table-accent-bg: transparent !important;
}

/* ---- thead ---- */
#v-pills-matters table thead th {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  color: #737987 !important;
  text-align: left !important;
  padding: 14px 12px !important;
  border-top: none !important;
  border-bottom: 1px solid #e9eaeb !important;
  background: transparent !important;
  white-space: nowrap !important;
}

/* Sort icon color */
#v-pills-matters table thead th a {
  color: #737987 !important;
  text-decoration: none !important;
}

#v-pills-matters table thead th .glyphicon {
  color: #737987 !important;
}

/* ---- tbody ---- */
#v-pills-matters table tbody td {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  padding: 16px 12px !important;
  border-top: none !important;
  border-bottom: 1px solid #e9eaeb !important;
  vertical-align: middle !important;
}

/* Last row — no bottom border (card handles it) */
#v-pills-matters table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Title column — bolder, darker */
#v-pills-matters table tbody td:first-child {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
}

#v-pills-matters table tbody td:first-child a {
  color: #0e1016 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

#v-pills-matters table tbody td:first-child a:hover {
  text-decoration: underline !important;
}

/* Actions column — align right */
#v-pills-matters table thead th.text-right,
#v-pills-matters table tbody td:last-child {
  text-align: right !important;
  padding-right: 8px !important;
}

/* ---- New Matter button — v2 primary button style ---- */
#v-pills-matters #edit-org-matters-wrap > a.new-matter-client-save {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  float: none !important;
  position: absolute !important;
  top: -4px !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

/* Plus icon before text */
#v-pills-matters #edit-org-matters-wrap > a.new-matter-client-save::before {
  content: '+' !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin-right: 2px !important;
}

#v-pills-matters #edit-org-matters-wrap > a.new-matter-client-save:hover,
#v-pills-matters #edit-org-matters-wrap > a.new-matter-client-save:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ---- Pagination (if visible) ---- */
#v-pills-matters nav.pager-nav {
  margin: 0 !important;
  padding: 0 !important;
  height: 63px !important;
  border-top: 1px solid #e5e7eb !important;
  background-color: #fff !important;
  border-radius: 0 0 12px 12px !important;
}

#v-pills-matters nav.pager-nav h4 {
  display: none !important;
}

#v-pills-matters nav.pager-nav .pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  position: relative !important;
  list-style: none !important;
}

/* Hide First / Last links */
#v-pills-matters nav.pager-nav .pagination li.pager__item--first,
#v-pills-matters nav.pager-nav .pagination li.pager__item--last {
  display: none !important;
}

/* Previous button */
#v-pills-matters nav.pager-nav .pagination li.pager__item--previous {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

#v-pills-matters nav.pager-nav .pagination li.pager__item--previous a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 80px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

#v-pills-matters nav.pager-nav .pagination li.pager__item--previous a > *,
#v-pills-matters nav.pager-nav .pagination li.pager__item--next a > * {
  display: none !important;
}

#v-pills-matters nav.pager-nav .pagination li.pager__item--previous a::before {
  content: '' !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M7.5 9L4.5 6L7.5 3' stroke='%23737987' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

#v-pills-matters nav.pager-nav .pagination li.pager__item--previous a::after {
  content: 'Previous' !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
}

/* Next button */
#v-pills-matters nav.pager-nav .pagination li.pager__item--next {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

#v-pills-matters nav.pager-nav .pagination li.pager__item--next a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 80px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

#v-pills-matters nav.pager-nav .pagination li.pager__item--next a::before {
  content: 'Next' !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
}

#v-pills-matters nav.pager-nav .pagination li.pager__item--next a::after {
  content: '' !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M4.5 3L7.5 6L4.5 9' stroke='%23737987' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

/* Page number items */
#v-pills-matters
  nav.pager-nav
  .pagination
  li.pager__item:not(.pager__item--previous):not(.pager__item--next):not(.pager__item--first):not(
    .pager__item--last
  )
  a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 25px !important;
  height: 25px !important;
  border-radius: 4px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  line-height: 25px !important;
}

/* Active page number */
#v-pills-matters
  nav.pager-nav
  .pagination
  li.pager__item.is-active:not(.pager__item--previous):not(.pager__item--next):not(
    .pager__item--first
  ):not(.pager__item--last)
  a,
#v-pills-matters
  nav.pager-nav
  .pagination
  li.pager__item.active:not(.pager__item--previous):not(.pager__item--next):not(
    .pager__item--first
  ):not(.pager__item--last)
  a {
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
  font-weight: 500 !important;
}

/* Page number hover */
#v-pills-matters
  nav.pager-nav
  .pagination
  li.pager__item:not(.is-active):not(.active):not(.pager__item--previous):not(
    .pager__item--next
  ):not(.pager__item--first):not(.pager__item--last)
  a:hover {
  background-color: #e8ecf4 !important;
  color: #0e1016 !important;
}

/* Page number link — keep visually-hidden accessible */
#v-pills-matters
  nav.pager-nav
  .pagination
  li.pager__item:not(.pager__item--previous):not(.pager__item--next):not(.pager__item--first):not(
    .pager__item--last
  )
  a
  .visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  overflow: hidden !important;
  height: 1px !important;
  width: 1px !important;
}

/* =====================================================
   Users tab — full v2 page styling
   ===================================================== */

/* ---- Layout container ---- */
#v-pills-users {
  max-width: 948px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* ---- Title — v2 DashboardHeader title ---- */
#v-pills-users > h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* ---- Subtitle ---- */
#v-pills-users > .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* ---- Outer wrappers — transparent ---- */
#v-pills-users .org_user_wrap {
  background-color: transparent !important;
  margin: 0 !important;
  max-width: 948px !important;
}

#v-pills-users #edit-org-user-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- White card wrapper ---- */
#v-pills-users #edit-org-users-list {
  background-color: #fff !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  max-width: 948px !important;
  position: relative !important;
}

/* ---- Table header row (pseudo elements) ---- */
#v-pills-users .org_user_list_inner {
  position: relative !important;
}

#v-pills-users .org_user_list_inner::before {
  content: 'Name' !important;
  display: block !important;
  padding: 14px 12px !important;
  border-bottom: 1px solid #e9eaeb !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  color: #737987 !important;
}

/* Role column header — positioned at 50% to match role text */
#v-pills-users .org_user_list_inner::after {
  content: 'Role' !important;
  position: absolute !important;
  top: 14px !important;
  left: calc(50% + 4px) !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  color: #737987 !important;
  pointer-events: none !important;
}

/* ---- User rows — table-like layout ---- */
#v-pills-users .users_list_user.org-entity-list {
  display: flex !important;
  align-items: center !important;
  padding: 16px 12px !important;
  border-bottom: 1px solid #e9eaeb !important;
  margin: 0 !important;
  gap: 12px !important;
  position: relative !important;
}

/* Last user row — no bottom border */
#v-pills-users .users_list_user.org-entity-list:last-child {
  border-bottom: none !important;
}

/* ---- Name cell (icon + name text) ---- */
#v-pills-users .users_list_user .user_icon.org-entity_icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

#v-pills-users .users_list_user .user_icon.org-entity_icon span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1 !important;
}

#v-pills-users .users_list_user .user_icon.org-entity_icon img {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* Name + role wrapper — name fills remaining space in col 1 */
#v-pills-users .users_list_user .user_name.org-entity_name {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin-left: 0 !important;
  min-width: 0 !important;
  gap: 0 !important;
  flex: 1 !important;
}

/* Name text */
#v-pills-users .users_list_user .user_name.org-entity_name h5 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#v-pills-users .users_list_user .user_name.org-entity_name h5 a {
  color: #0e1016 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

#v-pills-users .users_list_user .user_name.org-entity_name h5 a:hover {
  color: #47b171 !important;
  text-decoration: underline !important;
}

/* Role text — positioned absolutely into the "Role" column area */
#v-pills-users .users_list_user .user_name.org-entity_name > span {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* ---- Actions column ---- */
#v-pills-users .users_list_user .user_action.org-entity-action {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  position: relative !important;
  flex-shrink: 0 !important;
  width: 90px !important;
}

/* ---- 3-dot trigger ---- */
#v-pills-users .users_list_user a.three-dot-link {
  color: #737987 !important;
  text-decoration: none !important;
  font-size: 16px !important;
}

#v-pills-users .users_list_user a.three-dot-link:hover {
  color: #0e1016 !important;
}

/* ---- Dropdown panel ---- */
#v-pills-users .user_action_link.org-entity-action-inner {
  background-color: #fff !important;
  border-radius: 12px !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
  padding: 10px !important;
  width: 140px !important;
  border: none !important;
  z-index: 100 !important;
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  margin-top: 4px !important;
}

/* ---- Dropdown links ---- */
#v-pills-users .user_action_link.org-entity-action-inner a {
  display: block !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #0e1016 !important;
  padding: 4px 8px !important;
  margin-bottom: 2px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease !important;
  background-color: transparent !important;
}

#v-pills-users .user_action_link.org-entity-action-inner a:hover {
  background-color: #f3f3f3 !important;
  color: #0e1016 !important;
  text-decoration: none !important;
}

#v-pills-users .user_action_link.org-entity-action-inner a:last-child {
  margin-bottom: 0 !important;
}

/* Remove / Delete link — red */
#v-pills-users .user_action_link.org-entity-action-inner a.org-delete-user,
#v-pills-users .user_action_link.org-entity-action-inner a.user_action_delete,
#v-pills-users .user_action_link.org-entity-action-inner a[href*='delete'] {
  color: #ff6952 !important;
}

/* ---- Add User button — v2 primary style, positioned top-right of page ---- */
#v-pills-users button#add-new-user {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  float: none !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

#v-pills-users button#add-new-user::before {
  content: '+' !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin-right: 2px !important;
}

#v-pills-users button#add-new-user:hover,
#v-pills-users button#add-new-user:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ---- Note box — keep existing blue info style ---- */
#v-pills-users .note_to_user_link {
  margin-top: 20px !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  color: #737987 !important;
}

/* ---- Hidden form and message wrappers ---- */
#v-pills-users .message_wrapper.hidden {
  display: none !important;
}

/* =====================================================
   Groups tab — full v2 page styling
   ===================================================== */

/* ---- Layout container ---- */
#v-pills-groups {
  max-width: 948px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* ---- Title ---- */
#v-pills-groups > h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* ---- Subtitle ---- */
#v-pills-groups > .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* ---- Outer wrapper — transparent ---- */
#v-pills-groups #edit-org-group-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- White card wrapper ---- */
#v-pills-groups #edit-org-groups-list {
  background-color: #fff !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  max-width: 948px !important;
  position: relative !important;
}

/* ---- Table header row (pseudo element) ---- */
#v-pills-groups .org_group_list_inner {
  position: relative !important;
}

#v-pills-groups .org_group_list_inner::before {
  content: 'Name' !important;
  display: block !important;
  padding: 14px 12px !important;
  border-bottom: 1px solid #e9eaeb !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  color: #737987 !important;
}

/* ---- Group rows — table-like layout ---- */
#v-pills-groups .groups_list_group.org-entity-list {
  display: flex !important;
  align-items: center !important;
  padding: 16px 12px !important;
  border-bottom: 1px solid #e9eaeb !important;
  margin: 0 !important;
  gap: 12px !important;
}

/* Last row — no bottom border */
#v-pills-groups .groups_list_group.org-entity-list:last-child {
  border-bottom: none !important;
}

/* ---- Icon ---- */
#v-pills-groups .groups_list_group .group_icon.org-entity_icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

#v-pills-groups .groups_list_group .group_icon.org-entity_icon span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1 !important;
}

/* ---- Name ---- */
#v-pills-groups .groups_list_group .group_name.org-entity_name {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin-left: 0 !important;
  min-width: 0 !important;
  flex: 1 !important;
}

#v-pills-groups .groups_list_group .group_name.org-entity_name h5 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#v-pills-groups .groups_list_group .group_name.org-entity_name h5 a {
  color: #0e1016 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

#v-pills-groups .groups_list_group .group_name.org-entity_name h5 a:hover {
  text-decoration: underline !important;
}

/* ---- Actions column ---- */
#v-pills-groups .groups_list_group .group_action.org-entity-action {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  position: relative !important;
  flex-shrink: 0 !important;
  width: 90px !important;
}

/* ---- 3-dot trigger ---- */
#v-pills-groups .groups_list_group a.three-dot-link {
  color: #737987 !important;
  text-decoration: none !important;
  font-size: 16px !important;
}

#v-pills-groups .groups_list_group a.three-dot-link:hover {
  color: #0e1016 !important;
}

/* ---- Dropdown panel ---- */
#v-pills-groups .group_action_link.org-entity-action-inner {
  background-color: #fff !important;
  border-radius: 12px !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
  padding: 10px !important;
  width: 140px !important;
  border: none !important;
  z-index: 100 !important;
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  margin-top: 4px !important;
}

/* ---- Dropdown links ---- */
#v-pills-groups .group_action_link.org-entity-action-inner a {
  display: block !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #0e1016 !important;
  padding: 4px 8px !important;
  margin-bottom: 2px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease !important;
  background-color: transparent !important;
}

#v-pills-groups .group_action_link.org-entity-action-inner a:hover {
  background-color: #f3f3f3 !important;
  color: #0e1016 !important;
  text-decoration: none !important;
}

#v-pills-groups .group_action_link.org-entity-action-inner a:last-child {
  margin-bottom: 0 !important;
}

/* Delete link — red */
#v-pills-groups .group_action_link.org-entity-action-inner a.admin-delete-entity,
#v-pills-groups .group_action_link.org-entity-action-inner a[href*='delete'] {
  color: #ff6952 !important;
}

/* ---- Add Group button — v2 primary style, positioned top-right ---- */
#v-pills-groups a.new-matter-client-save.btn-success {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  float: none !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

#v-pills-groups a.new-matter-client-save.btn-success::before {
  content: '+' !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin-right: 2px !important;
}

#v-pills-groups a.new-matter-client-save.btn-success:hover,
#v-pills-groups a.new-matter-client-save.btn-success:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* =====================================================
   Export Matters tab — v2 header styling
   ===================================================== */

/* ---- Layout container ---- */
#v-pills-export-matters {
  max-width: 948px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* ---- Title ---- */
#v-pills-export-matters > h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* ---- Subtitle ---- */
#v-pills-export-matters > .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* ---- Export button — v2 primary style, positioned top-right ---- */
#v-pills-export-matters a.new-matter-client-save.btn-success {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

#v-pills-export-matters a.new-matter-client-save.btn-success:hover,
#v-pills-export-matters a.new-matter-client-save.btn-success:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* =====================================================
   Contract Types tab — full v2 page styling
   ===================================================== */

/* ---- Layout container ---- */
#v-pills-contracts-type {
  max-width: 948px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* ---- Title ---- */
#v-pills-contracts-type > h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* ---- Subtitle ---- */
#v-pills-contracts-type > .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* ---- Outer wrapper — transparent ---- */
#v-pills-contracts-type #edit-org-contract-type-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- White card wrapper ---- */
#v-pills-contracts-type #edit-org-contracts-type-list {
  background-color: #fff !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  max-width: 948px !important;
  position: relative !important;
}

/* ---- Table header row (pseudo element) ---- */
#v-pills-contracts-type .org_contract_list_inner {
  position: relative !important;
}

#v-pills-contracts-type .org_contract_list_inner::before {
  content: 'Name' !important;
  display: block !important;
  padding: 14px 12px !important;
  border-bottom: 1px solid #e9eaeb !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  color: #737987 !important;
}

/* ---- Contract Type rows — table-like layout ---- */
#v-pills-contracts-type .contracts_list_contract.org-entity-list {
  display: flex !important;
  align-items: center !important;
  padding: 16px 12px !important;
  border-bottom: 1px solid #e9eaeb !important;
  margin: 0 !important;
  gap: 12px !important;
}

/* Last row — no bottom border */
#v-pills-contracts-type .contracts_list_contract.org-entity-list:last-child {
  border-bottom: none !important;
}

/* ---- Icon ---- */
#v-pills-contracts-type .contracts_list_contract .contract_icon.org-entity_icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

#v-pills-contracts-type .contracts_list_contract .contract_icon.org-entity_icon span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1 !important;
}

/* ---- Name ---- */
#v-pills-contracts-type .contracts_list_contract .contract_name.org-entity_name {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin-left: 0 !important;
  min-width: 0 !important;
  flex: 1 !important;
}

#v-pills-contracts-type .contracts_list_contract .contract_name.org-entity_name h5 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#v-pills-contracts-type .contracts_list_contract .contract_name.org-entity_name h5 a {
  color: #0e1016 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

#v-pills-contracts-type .contracts_list_contract .contract_name.org-entity_name h5 a:hover {
  text-decoration: underline !important;
}

/* ---- Actions column ---- */
#v-pills-contracts-type .contracts_list_contract .contract_action.org-entity-action {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  position: relative !important;
  flex-shrink: 0 !important;
  width: 90px !important;
}

/* ---- 3-dot trigger ---- */
#v-pills-contracts-type .contracts_list_contract a.three-dot-link {
  color: #737987 !important;
  text-decoration: none !important;
  font-size: 16px !important;
}

#v-pills-contracts-type .contracts_list_contract a.three-dot-link:hover {
  color: #0e1016 !important;
}

/* ---- Dropdown panel ---- */
#v-pills-contracts-type .contract_action_link.org-entity-action-inner {
  background-color: #fff !important;
  border-radius: 12px !important;
  box-shadow:
    0px 0px 16px -4px rgba(16, 24, 40, 0.15),
    0px 4px 6px -2px rgba(16, 24, 40, 0.05) !important;
  padding: 10px !important;
  width: 160px !important;
  border: none !important;
  z-index: 100 !important;
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  margin-top: 4px !important;
}

/* ---- Dropdown links ---- */
#v-pills-contracts-type .contract_action_link.org-entity-action-inner a {
  display: block !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #0e1016 !important;
  padding: 4px 8px !important;
  margin-bottom: 2px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease !important;
  background-color: transparent !important;
}

#v-pills-contracts-type .contract_action_link.org-entity-action-inner a:hover {
  background-color: #f3f3f3 !important;
  color: #0e1016 !important;
  text-decoration: none !important;
}

#v-pills-contracts-type .contract_action_link.org-entity-action-inner a:last-child {
  margin-bottom: 0 !important;
}

/* Delete link — red */
#v-pills-contracts-type .contract_action_link.org-entity-action-inner a[href*='delete'] {
  color: #ff6952 !important;
}

/* ---- Buttons container — positioned top-right ---- */
#v-pills-contracts-type #edit-org-contract-type-wrap {
  position: static !important;
}

/* ---- Add Contract Type button — SECONDARY (gray) ---- */
#v-pills-contracts-type a.new-matter-client-save.btn-success {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #e8ecf4 !important;
  background-image: none !important;
  color: #0e1016 !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  position: absolute !important;
  top: 3px !important;
  right: calc(270px + 12px) !important;
  margin: 0 !important;
  z-index: 5 !important;
}

#v-pills-contracts-type a.new-matter-client-save.btn-success:hover,
#v-pills-contracts-type a.new-matter-client-save.btn-success:focus {
  background-color: #d4d9e2 !important;
  color: #0e1016 !important;
  text-decoration: none !important;
}

/* ---- Add Preloaded Contract Type button — PRIMARY (green) ---- */
#v-pills-contracts-type a.use-ajax.btn-success {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

#v-pills-contracts-type a.use-ajax.btn-success::before {
  content: '+' !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin-right: 2px !important;
}

#v-pills-contracts-type a.use-ajax.btn-success:hover,
#v-pills-contracts-type a.use-ajax.btn-success:focus {
  background-color: #2c854f !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* =====================================================
   Company Domain tab — v2 header styling
   ===================================================== */

/* ---- Layout container ---- */
#v-pills-domain {
  max-width: 948px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* ---- Title ---- */
#v-pills-domain > h3 {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
  color: #0e1016 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* ---- Subtitle ---- */
#v-pills-domain > .v2-subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  color: #737987 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

/* ---- Add More button — SECONDARY (gray), positioned top-right ---- */
#v-pills-domain .add-domain {
  position: absolute !important;
  top: 3px !important;
  right: calc(134px + 12px) !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#v-pills-domain .add-domain .icon-plus-circle {
  display: none !important;
}

#v-pills-domain .add-domain button.add_more_option {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #e8ecf4 !important;
  background-image: none !important;
  color: #0e1016 !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  margin: 0 !important;
}

#v-pills-domain .add-domain button.add_more_option:hover,
#v-pills-domain .add-domain button.add_more_option:focus {
  background-color: #d4d9e2 !important;
  color: #0e1016 !important;
}

/* ---- Save Domain button — PRIMARY (green), positioned top-right ---- */
#v-pills-domain button#edit-save-domain {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 45px !important;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background-color: #47b171 !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

#v-pills-domain button#edit-save-domain .icon {
  display: none !important;
}

#v-pills-domain button#edit-save-domain:hover,
#v-pills-domain button#edit-save-domain:focus {
  background-color: #2c854f !important;
  color: #fff !important;
}
