/* Global Style */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


h1, h2, h3 {
  font-family: "Bebas Neue", sans-serif; }

p {
  font-family: "Montserrat", sans-serif; }

span {
  font-family: "Montserrat", sans-serif; }

a {
  font-family: "Montserrat", sans-serif; }

html {
  font-size: 16px; }
  @media (max-width: 1024px) {
    html {
      font-size: 14px; } }

body {
  font-family: "Montserrat", sans-serif;
  color: #000;
}


/*--------------------------------------------------------------
## Modals
--------------------------------------------------------------*/

.modal-dialog .modal-body .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.modal-dialog .modal-body .close-btn img {
  width: 32px;
  height: 32px;
}

.add-opportunity-modal .modal-dialog,
.add-company-modal .modal-dialog {
  max-width: 900px;
}

.view-company-modal .modal-dialog {
  max-width: 1000px;
}

.add-opportunity-modal .modal-dialog .modal-body,
.view-company-modal .modal-dialog .modal-body,
.add-company-modal .modal-dialog .modal-body {
  padding: 30px;
  position: relative;
  font-size: 14px;
}

.sub-title {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: 5px;
}

.company-members ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.modal a {
  color: #244793;
  text-decoration: underline;
}
.company-logo {
  width: 100px;
  margin-bottom: 10px;
}
.view-opportunity-modal .modal-dialog {
  max-width: 1000px;
}
.view-opportunity-modal .modal-dialog .modal-body .opportunity-info p {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}
.view-opportunity-modal .modal-dialog .modal-body .opportunity-info p.item-title {
  font-weight: 400;
}
.view-opportunity-modal .modal-dialog .modal-body {
  padding: 30px;
  position: relative;
}
.view-opportunity-modal .modal-dialog .modal-body .title-part h2 {
  font-size: 28px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
}
.contacts-page .contacts-section .contacts-table table .opportunity-num a.view-opportunity {
  display: inline-block;
}

.activity-tab {
  display: none;
}
.activity-tab.active {
  display: block;
}

.drag-area {
  background: #20386a05;
  position: relative;
  border: 1px solid #ccc;
  border-style: dashed;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #696969;
}

.getFile {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.file-upload .uploadButton {
  margin-left: auto;
  background: #20386a;
  color: #fff;
  border: 0;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
}

.file-upload {
  display: flex;
  flex-direction: column;
}
.file-list {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  margin-top: 10px;
}

.file-list li {
  display: inline-block;
  background: #20386a;
  color: #fff;
  padding: 4px 10px 4px 20px;
  border-radius: 3px;
  margin-right: 10px;
  font-size: 14px;
}
.drag-area.dragover {
  background: #20386a14;
}

.remove-file {
  display: inline-block;
  background-image: url(../images/x-close.svg);
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  background-size: 15px;
  background-position: center;
  vertical-align: middle;
  margin-left: 10px;
  cursor: pointer;
}

.file-uploaded {
  display: inline-block;
  background-image: url(../images/icon-check2.svg);
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  background-size: 15px;  
  background-position: center;
  vertical-align: middle;
  margin-left: 10px;
}

.btn.btn-outline-primary {
  padding: 8px 15px;
  border: 1px solid #ccc;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all ease 0.3s;
  display: inline-block;
  border-radius: 2px;
}

.modal .btn-outline-primary {
  color: #000;
  text-decoration: none;
}

.btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}
.view-opportunity-modal .modal-dialog .modal-body .opportunity-info .row.opportunity-note p {
  font-weight: 400;
}

.search-dropdown-wrap {
  position: relative;
}

.search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1;
  border: 1px solid #ccc;
  padding: 0px 0px;
  box-shadow: 0 4px 5px 0px rgba(0,0,0,0.2);
  top: calc(100% + 5px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.search-dropdown.active {
    opacity: 1;
    visibility: visible;
}
.search-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-dropdown-wrap .search-input {
  padding-left: 10px;
}

.search-dropdown-list li {
  border-bottom: 1px solid #cccccc78;
  transition: 0.3s;
}
.search-dropdown-list li a {
    padding: 10px 10px;
    display: block;
}
.search-dropdown-list li:hover {
  background: #fbfbfc;
  cursor: pointer;
}
.modal-notification .alert {
  width: 100%;
}
.modal-notification .alert .btn {
    display: block;
    margin-top: 10px;
}
.add-company-modal .uploadButton,
.add-opportunity-modal .uploadButton,
.add-drawdown-modal .uploadButton,
.add-note-modal .uploadButton,
.add-approval-modal .uploadButton {
  display: none;
}
.form-submitted .company-info, 
.form-submitted .contact-info,  
.form-submitted .opportunity-info, 
.form-submitted .approval-info, 
.form-submitted .drawdown-info, 
.form-submitted .note-info, 
.form-submitted .file-upload {
  max-height: 0;
  overflow: hidden;
  transition-timing-function: cubic-bezier(0, 0, 0.38, 0.88);
}

.company-info, 
.contact-info, 
.approval-info, 
.drawdown-info, 
.note-info, 
.file-upload, 
.opportunity-info {
  transition: 0.5s;
  max-height: 1000px;
  transition-timing-function: cubic-bezier(0, 0, 0.96, 0.43);
}
.files-added .alert-success {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}
.js-reset-form,
.add-company-modal .add-note {
  display: none;
}
.form-submitted .js-reset-form,
.add-company-modal .form-submitted .add-note {
  display: inline-block;
}
.form-submitted .js-add-new-company-upload,
.form-submitted .js-add-new-opportunity-upload,
.form-submitted .js-add-new-drawdown-upload,
.form-submitted .js-add-new-note-upload,
.form-submitted .js-add-new-approval-upload {
  display: none;
}
.js-open-add-opportunity-modal {
  margin-right: 4px;
}

.note-wrap .note-content {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: 1s;
}
.note-wrap a {
  border: 0;
  outline: 0;
}
.note-wrap.active .note-content {
  -webkit-line-clamp: unset;
}
.activity-log-scroll {
  max-height: 500px;
  overflow-x: auto;
}

.activity-log-scroll::-webkit-scrollbar {
width: 7px;
}

/* Track */
.activity-log-scroll::-webkit-scrollbar-track {
background: #f4f4f4;
  border-radius:5px
}

/* Handle */
.activity-log-scroll::-webkit-scrollbar-thumb {
background: #888;
  border-radius:5px
}

/* Handle on hover */
.activity-log-scroll::-webkit-scrollbar-thumb:hover {
background: transparent;
}
.add-approval-modal .modal-dialog {
  max-width: 900px;
}

.view-approval-modal .modal-dialog .modal-body .title-part h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 30px;
  color: #000;
  text-align: center;
}
.view-approval-modal .modal-dialog .modal-body .approval-info p {
  margin-bottom: 5px;
  font-size: 16px;
}
.view-approval-modal .modal-dialog .modal-body .approval-info p.sub-title {
  text-align: right;
  font-weight: 700;
}
.view-approval-modal .modal-dialog {
  max-width: 900px;
}
.view-approval-modal .modal-dialog .modal-body .approval-info .btn-wrp a {
  padding: 8px 15px;
  border: 1px solid #222;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all ease 0.3s;
  display: inline-block;
}
.view-approval-modal .modal-dialog .modal-body .approval-info .btn-wrp {
  margin-top: 20px;
  text-align: center;
}
.view-approval-modal .modal-dialog .modal-body .approval-info .btn-wrp a:hover {
  background-color: #000;
  color: #fff;
}
.view-approval-modal .modal-dialog .modal-body {
  padding: 30px;
  position: relative;
  font-size: 14px;
}
.add-drawdown-modal .modal-dialog {
  max-width: 900px;
}
.add-drawdown-modal .modal-dialog .modal-body {
  padding: 30px;
  position: relative;
  font-size: 14px;
}
.add-drawdown-modal .modal-dialog .modal-body .form-group select {
  height: 34px;
  font-size: 14px;
}
.view-drawdown-modal .modal-dialog .modal-body .drawdown-info p.sub-title {
  text-align: right;
  font-weight: 700;
}
.view-drawdown-modal .modal-dialog {
  max-width: 900px;
}
.view-drawdown-modal .modal-dialog .modal-body .title-part h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 30px;
  color: #000;
  text-align: center;
}
.view-drawdown-modal .modal-dialog .modal-body {
  padding: 30px;
  position: relative;
  font-size: 14px;
}
.view-drawdown-modal .modal-dialog .modal-body .drawdown-info p {
  margin-bottom: 5px;
  font-size: 16px;
}

.edit-company-modal .modal-dialog {
  max-width: 900px;
}

.add-company-modal .is-prospect,
.add-company-modal .is-vendor {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.assign-rep-modal .modal-dialog {
  max-width: 750px;
}

.add-company-modal .nav-tabs {
  margin-left: 0;
}

.nav-tabs .nav-link {
  outline: none;
  cursor: pointer;
}

#import {
  min-height: 520px;
}


.import-block .progress {
  display: none;
}

.import-block.import-started .progress {
  display: flex;
}

.form-edit-company select {
  height: 35px;
  width: 100%;
  margin-bottom: 0.5rem;
}
.search-dropdown-list li.disabled {
  background: #f1f1f1;
  pointer-events: none;
}
.edit-contact-modal .modal-dialog {
  max-width: 900px;
}





.company-logo-wrap,
.view-company-modal .company-members li {
  position: relative;
}
.bf-tooltip {
  position: absolute;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 1;
  padding: 0.7rem 0.9rem;
  width: auto;
  font-size: 0.8rem;
  border-radius: 3px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
  border: 1px solid #dee2e6;
  bottom: calc(100% + 11px);
  right: 50%;
  transform: translateX(0%);
}

.company-logo-wrap:hover .bf-tooltip,
.company-members li:hover .bf-tooltip  {
  opacity: 1;
  visibility: visible;
}

.bf-tooltip:after {
  content: '';
  position: absolute;
  right: 50%;
  bottom: -7px;
  background: #fff;
  border: 1px solid #dee2e6;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-top: 0;
  border-left: 0;
}
.view-company-modal .company-members li .bf-tooltip {
  right: auto;
  /* left: 50%;
  transform: translateX(-50%); */
}

.personal-info .name a {
  font-size: 1rem;
  font-weight: 400;
}
/*--------------------------------------------------------------
## Modals
--------------------------------------------------------------*/



/*--------------------------------------------------------------
## Contacts Page
--------------------------------------------------------------*/

.last-contact-date {
  display: flex;
  justify-content: space-between;
}

.last-contact-date .add-note svg {
  width: 24px;
  height: 24px;
  margin-left: 5px;
}

.search-wrp {
  display: flex;
  justify-content: flex-end;
}

.search-wrp .search-contacts {
  margin-right: auto;
}

.search-wrp .search-contacts select {
  height: 39px;
  padding: 0 0.4rem;
  outline: none;
  background: #fff;
  max-width: 180px;
}
#available_cities {
  text-transform: capitalize;
}
.search-wrp a {
  margin-left: 5px;
}

.search-contacts input {
  height: 39px;
  padding: 0 15px 0 42px;
  outline: none;
  background-image: url(../images/search.png);
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 11px 9px;
  border-radius: 0;
  width: 230px; 
}
.contacts-page .contacts-section .add-new-btn-wrp a.btn-primary {
  color: #fff;
  border: 0;
}
.option-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.option-menu ul {
  position: absolute;
  right: 0;
  list-style: none;
  margin: 0;
  background: #fff;
  padding: 10px;
  z-index: 1;
  border-radius: 3px;
  border: 1px solid #dee2e6;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  width: 180px;
  top: 31px;
  filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.2));
}

.option-menu li {
  position: relative;
}

.option-menu li a {
  cursor: pointer;
  white-space: nowrap;
}

.option-menu li:hover > ul {
  opacity: 1;
  visibility: visible;
}
.option-menu ul li {
    margin-bottom: 7px;
}
.option-menu ul:after {
    content: '';
    position: absolute;
    right: 42px;
    top: -7px;
    background: #fff;
    border: 1px solid #dee2e6;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    border-bottom: 0;
    border-right: 0;
}

.last-contact-date .contact-date {
  position: relative;
  cursor: pointer;
}

.contact-date-note {
  position: absolute;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 1;
  padding: 0.7rem 0.9rem;
  width: 20rem;
  font-size: 0.8rem;
  border-radius: 3px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
  border: 1px solid #dee2e6;
  bottom: calc(100% + 11px);
  right: 50%;
  transform: translateX(50%);
}

.last-contact-date .contact-date:hover .contact-date-note {
  opacity: 1;
  visibility: visible;
}

.contact-date-note:after {
  content: '';
  position: absolute;
  right: 50%;
  bottom: -7px;
  background: #fff;
  border: 1px solid #dee2e6;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-top: 0;
  border-left: 0;
}

.per-page-select {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.per-page-select label {
  white-space: nowrap;
  margin-bottom: 0;
  margin-right: 1rem;
}

.per-page-select select {
  width: 4.5rem;
}

.pagination {
  margin-left: 0;
}

.pagination li a {
  color: #244793;
}

.contacts-table .add-contact-icon svg {
  width: 24px;
  height: 24px;
  margin-left: 5px;
}

.contacts-table .add-contact-icon {
  display: block;
  margin-left: auto;
  width: 31px;
}

.btn-sort {
  border: 0;
  position: absolute;
  right: 0px;
  width: 20px;
  height: 23px;
  padding: 0 0 0 5px;
  cursor: pointer;
  background: transparent;
}

.contacts-table th {
    position: relative;
    padding-right: 20px;
}

.btn-sort:before {
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 4px 5px 4px;
    border-color: transparent transparent #000000 transparent;
    transform: rotate(0deg);
    display: block;
    margin-bottom: 3px;
}

.btn-sort:after {
    content: '';
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: #000000 transparent transparent transparent;
    transform: rotate(0deg);
}
.btn-sort:focus {
  outline: none;
}
.btn-sort.active[data-order=DESC]:after {
  border-color: #9aa8c7 transparent transparent transparent;
}
.btn-sort.active[data-order=ASC]:before {
  border-color: transparent transparent #9aa8c7 transparent;
}
/*--------------------------------------------------------------
## Contacts Page
--------------------------------------------------------------*/



/*--------------------------------------------------------------
## Opportunities Page
--------------------------------------------------------------*/

.opportunities-page .opportunities-section .opportunities-table table p.view-option a {
  flex: none;
}

.opportunities-page .opportunities-section .opportunities-table table p.view-option a svg {
  margin-left: 5px;
} 

.opportunities-page .opportunities-section .opportunities-table table .view-option {
  justify-content: flex-end;
}

.opportunities-page .opportunities-section .opportunities-table table .view-option span {
  margin-right: auto;
}
.view-approval-modal .slick-prev:before, .view-approval-modal .slick-next:before {
  color: #000;
}
.opportunities-page .view-approval-modal .modal-dialog .modal-body .approval-info .btn-wrp {
  margin-bottom: 20px;
}

.opportunities-filter select {
  height: 39px;
  padding: 0 0.4rem;
  outline: none;
  background: #fff;
  max-width: 180px;
}

.opportunities-page .opportunities-section .add-new-btn-wrp.opportunities-filter {
  display: flex;
  justify-content: flex-start;
}

/*--------------------------------------------------------------
## Opportunities Page
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Dashboard Page
--------------------------------------------------------------*/

.activity-section, .reminders-section {
  font-size: 14px;
  margin-bottom: 7rem;
}

.activity_type {
  margin-bottom: 0;
}

.activity-table-filter {
  margin-bottom: 1rem;
}

.activity-table-filter select,
.reminders-table-filter select {
  padding: 0.3rem 0.3rem;
  outline: none;
}

.dismiss {
  border: 0;
  background: transparent;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0 auto;
  display: block;
  cursor: pointer;
}

.reminders-table .reminders-table-content .passed-date {
  background-color: rgb(255 246 246);
}

.reminders-table .reminders-table-content .active-date {
  background-color: #f7f9ff;
}
/*--------------------------------------------------------------
## Dashboard Page
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Approvals Page
--------------------------------------------------------------*/

.approvals-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.approvals-section .approvals-table table tbody tr:last-child {
  background-color: transparent;
}

.approvals-section .approvals-table table tbody tr:last-child td {
  border: none;
}

.approvals-section .approvals-table table a {
  color: #244793;
  text-decoration: underline;
}

.approvals-section .approvals-table table {
  font-size: 14px;
  border: none;
}

/*--------------------------------------------------------------
## Approvals Page
--------------------------------------------------------------*/



/*--------------------------------------------------------------
## Drawdowns Page
--------------------------------------------------------------*/

.drawdowns-table table tbody tr:last-child td {
  border: none;
}
.drawdowns-table table tbody tr:last-child {
  background-color: transparent;
}
.drawdowns-table table {
  font-size: 14px;
  border: none;
}
/*--------------------------------------------------------------
## Drawdowns Page
--------------------------------------------------------------*/