/* RME BEGIN */

:root {
    --bs-body-font-size: 0.875rem
}

.static-top.navbar .menu-bar > .navbar-nav > li > a {
  font-family: "Segoe UI Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px; }

.button2, .btn-default {
  color: #323130;
  border-radius: .625rem;
  border-color: #e1ddda;
  padding: 6px 10px;
  border-style: solid;
  background-color: #ffffff;
  box-shadow: 0px 1px 2px 0px gray;
  }

    .btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active {
    background-color: #ffffff;
    border-color: #e1ddda;
    box-shadow: 0px 1px 2px 0px gray;
    }

    .button2:not(.gjs-selected):hover, .btn-default:not(.gjs-selected):hover {
    color: #323130;
    background-color: #F9FAFB;
    border-color: #e1ddda; 
    box-shadow: 0px 1px 2px 0px gray;}
  .button2:not(.gjs-selected):active, .button2.active:not(.gjs-selected), .btn-default:not(.gjs-selected):active, .btn-default.active:not(.gjs-selected) {
    color: #323130;
    background-color: #F9FAFB;
    box-shadow: 0px 1px 2px 0px gray;}
  .button2:focus, .button2.focus, .btn-default:focus, .btn-default.focus {
    color: #323130;
    background-color: #F9FAFB; 
    box-shadow: 0px 1px 2px 0px gray;}

.table {
    vertical-align: middle
}    

.table>thead {
    vertical-align: middle;
    background-color: #F9FAFB; 
}

/*.table>thead {
    vertical-align: middle;
    background-color: #ffffff; 
}*/

.table>td {
    vertical-align: middle;
    font-family: "Segoe UI Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.table { --bs-table-hover-bg: #F9FAFB; }
.table-striped { --bs-table-striped-bg: #ffffff; }

/*.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: #ffffff;
}*/

.table tbody tr:hover > td, .table tbody tr:hover > th {
    --bs-table-accent-bg: #F9FAFB;
}

.table tbody tr:hover {
    background-color: #F9FAFB;
}

body {
    background-color: #F9FAFB;
}

.btn-primary {
  color: #2d6b5f;
  background-color: #2d6b5f;
  border-color: #2d6b5f;
  border-radius: .625rem;
  font-family: "Segoe UI Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  padding: 6px 20px;
  background-color: #2d6b5f;
  color: #FFFFFF; }
  .btn-primary:hover {
    color: #FFFFFF;
    background-color: #245549;
    border-color: #245549; }
  .btn-primary:active, .btn-primary.active {
    color: #FFFFFF;
    background-color: #245549;
    border-color: #245549; }
    .btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus {
      color: #FFFFFF;
      background-color: #245549;
      border-color: #245549; }
  .btn-primary:focus, .btn-primary.focus {
    color: #FFFFFF;
    background-color: #245549;
    border-color: #245549; }

h2, .h2, .section-landing .row > div .section-landing-sub-heading, .page_section h2, .color-inverse h2, h2 p {
    font-family: "Segoe UI Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #3b755e;
}

p.smallText {
    font-family: "Segoe UI Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px; }

/* RME END */

.entitylist {
    border: none;
    /*background-color: #F9FAFB;*/
}

.entity-grid {
    /*border: 1px solid #f2f2f2;*/
    border: none;
    border-radius: .625rem;
    box-shadow: 0px 0px 2px 0px gray;
}

.entity-grid>.view-grid>table {
    margin: 0 !important;
}

.entity-grid>.grid-actions {
    margin: 0;
    padding: 10px 10px 5px 10px;
}

.entitylist-search>input {
    border-radius: 0;
}

.entity-grid table thead th,
.entity-grid table thead th a {
    font-weight: 600;
}

.row.sectionBlockLayout>.container,
.row.sectionBlockLayout>.container-lg,
.row.sectionBlockLayout>.container-md,
.row.sectionBlockLayout>.container-sm,
.row.sectionBlockLayout>.container-xl,
.row.sectionBlockLayout>.container-xxl {
    max-width: 90%;
}

.pagination>.active>a,
.pagination>.active>a:hover {
    background-color: transparent !important;
    color: var(--portalThemeColor8) !important;
    border: none !important;
    font-weight: 600;
    text-decoration: none !important;
}

.page-item:not(.active) .page-link {
    color: var(--portalThemeColor2);
}

.pagination a:hover,
.pagination a:focus,
.pagination a:focus-visible,
.pagination>.active>a:focus {
    background-color: transparent !important;
    color: var(--portalThemeColor8) !important;
    border: none;
    font-weight: 600;
    box-shadow: none !important;
}

.pagination>li>a {
    width: auto !important;
}

a {
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
}

input.form-control {
    border-radius: 2px !important;
}

select.form-control {
    border-radius: 2px !important;
    border: 1px solid #949494 !important;
}

.crmEntityFormView {
    border: none !important;
}

ul.dropdown-menu.show {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --bs-dropdown-border-radius: 0.275rem;
    --bs-dropdown-border-width: 0px;
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    padding: 4px 16px !important;
    text-decoration: none !important;
    background-color: #efefef !important;
}

/* MODAIS */
.modal-content {
    border-radius: .175rem !important;
}

.entity-grid .modal-lg,
.entity-grid .modal-xl {
    height: 90%;
}

.entity-grid .modal-content {
    height: 100%;
}

.entity-grid iframe,
.modal-form .modal-body iframe {
    height: 100%;
}

@media (min-width: 992px) {

    .entity-grid .modal-lg,
    .entity-grid .modal-xl {
        --bs-modal-width: 800px !important;
    }
}

@media (min-width: 1200px) {

    .entity-grid .modal-lg,
    .entity-grid .modal-xl {
        max-width: 1500px !important;
        width: 80% !important;
    }
}

.custom-badge {
    float: none;
    border-radius: 2px;
    box-shadow: none;
    padding: 5px;
}

.custom-badge-warning {
    background-color: rgb(255 224 131) !important;
    color: rgb(174 130 0) !important;
}

.custom-badge-success {
    background-color: rgb(202 255 170) !important; 
    color: rgb(95 156 2) !important;
}

.custom-badge-error {
    background-color: rgb(255 144 144) !important;
    color: rgb(166 55 55) !important;
}


/* OPPORTUNITY LIFE CYCLE PROGRESS BAR */

.progress-container {
  width: 100%;
  background: #f3f1f2;
  border: none;
  margin-bottom: 10px;
}
.progress-bar {
  height: 36px;
  background: #64be6f;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s;
}

.notification-badge {
    position: absolute;
    top: 12px;
    right: 0;
    transform: translate(50%, -20%);
    background: red;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    height: 18px;
    width: 18px;
}

.notification-badge-table {
    color: #ff0000;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    padding: 3px;
    margin-left: 5px;
    position: absolute;
}

.notifications {
    position: absolute;
    top: 40px;
    width: 100%;
}

