@import url("https://fonts.googleapis.com/css?family=Poppins");

.search-results-container {
  position: relative;
  width: 100%;
  overflow: auto;

  /* padding: 0 17px 0 0; */
  /* box-sizing: content-box; */
  /* bottom: -1px; */
  border-radius: 0 0 11px 11px;
}

.search-results-table {
  width: 100%;
  height: 100%;
  background: var(--table-main-background);
  border-spacing: 0;
}

.search-results-table th {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.125em;
  color: var(--text-color);
  background-color: var(--table-main-background);
  height: 100%;
  padding: 5px;
}

.search-results-table thead {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 12;
  background: var(--color-white);
  border-bottom: 1px solid var(--table-border-color);
}

.search-results-table thead tr:first-child th:first-child {
  position: sticky;
  z-index: 3;
  left: 0;
  /*background: var(--color-white);*/
  background-color: var(--table-main-background);
}

.search-results-table thead .asset-content {
  z-index: 5;
}

.search-results-table thead tr:first-child th:first-child:after {
  content: none;
}

.search-results-table tbody td:first-child {
  position: sticky;
  z-index: 11;
  left: 0;
  background-color: var(--color-white);
}

/* .signIn-modal-active .search-results-table thead tr,
.signIn-modal-active .search-results-table thead tr th, */
.signIn-modal-active .search-results-table tbody td:first-child {
  overflow: hidden;
}

.signIn-modal-active .search-results-table thead {
  background-color: unset;
}

.signIn-modal-active thead.large-height::before {
  overflow: hidden;
}

.search-results-table thead .bottom-shadow,
.search-results-table thead tr:last-child>th {
  position: relative;
}

.search-results-table thead:before {
  content: "";
  background: linear-gradient(180deg,
      rgba(28, 31, 47, 0.08) 0%,
      rgba(34, 38, 57, 0) 100%);
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 82px;
  height: 23px;
  pointer-events: none;
  opacity: 0;
  transition: all 300ms ease-in-out;
  border-top: 1px solid var(--table-border-color-dark);
}

@media screen and (min-width: 1919px) {
  .search-results-table thead.large-height:before {
    top: 54px;
  }
}

.search-results-table thead:after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  opacity: 0;
}

.scrolled-y thead:after {
  opacity: 1;
}

.scrolled-y thead:before {
  opacity: 1;
  transition: all 300ms ease-in-out;
}

.search-results-table tr:first-child th:first-child:after,
.search-results-table thead tr:first-child th:first-child:after,
.search-results-table tbody tr td:first-child:after {
  content: "";
  background: linear-gradient(90deg,
      rgba(28, 31, 47, 0.06) 0%,
      rgba(34, 38, 57, 0) 100%);
  position: absolute;
  top: -1px;
  bottom: 0;
  left: 100%;
  width: 0px;
  pointer-events: none;
  transition: all 300ms ease-in-out;
  z-index: 2;
}

.ps--active-x .scrolled-x tr:first-child th:first-child:after,
.ps--active-x .scrolled-x thead tr:first-child th:first-child:after,
.ps--active-x .scrolled-x tbody tr td:first-child:after {
  width: 24px;
  transition: all 300ms ease-in-out;
}

.search-results-table tbody tr:nth-child(2n) td:first-child {
  background-color: var(--table-main-background);
}

.search-results-table th:not(:last-child),
.search-results-table th[colspan="3"]:last-child,
.search-results-table th:last-child:not([colspan]),
.search-results-table tbody td:not(:last-child) {
  border-right: 1px solid var(--table-border-color);
}

.search-results-table th[colspan],
.search-results-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--table-border-color);
}

.search-results-table th,
.search-results-table td {
  text-align: center;
  vertical-align: middle;
}

.search-results-table tbody tr:first-child td {
  border-top: 1px solid var(--table-border-color);
}

th.rotated {
  vertical-align: middle;
  text-align: center;
}

th.primary-bg {
  background-color: var(--table-primary-background);
}

th.secondary-bg {
  background-color: var(--table-secondary-background);
}

th.gray-bg {
  background-color: var(--table-gray-background);
}

th.year {
  padding: 27px 19px;
}

.search-results-table tbody tr {
  background-color: var(--color-white);
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3125em;
  color: var(--color-black);
}

.search-results-table tbody tr:nth-child(2n) {
  background-color: var(--table-main-background);
}

.asset {
  margin: auto;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.owner-content {
  vertical-align: middle;
}

.owner-content .asset {
  text-align: start;
}

.search-results-table thead tr:first-child th.asset-content:first-child {
  padding: 0;
}

.asset-content {
  vertical-align: top;
}

.asset-content-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.asset-label {
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
}

.asset-label div {
  display: flex;
  align-items: center;
}

.asset-label .icon {
  display: inline-block;
  width: 16px;
  height: 16px;
}

.asset-label .flag {
  position: relative;
  margin-right: 12px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.asset-label .flag.multi-operation,
.asset-label .flag.single-operation {
  overflow: visible;
}

.asset-label .flag.multi-operation:before,
.asset-label .flag.single-operation:before {
  position: absolute;
  content: "";
  top: 14px;
  left: 14px;
  display: block;
  width: 12px;
  height: 12px;
  background-color: #fafafa;
  background-position: center;
  border-radius: 50%;
  border: 1px solid var(--header-mobile-nav-bg-color);
  -webkit-print-color-adjust: exact !important;
}

.asset-label .flag.single-operation:before {
  background-image: url("/img/icons/singleoperation.svg");
}

.asset-label .flag.multi-operation:before {
  background-image: url("/img/icons/multiopertion.svg");
}

.asset-label .icon img {
  width: 100%;
  height: 100%;
}

.asset-label a {
  text-decoration: none;
  font-size: 14px;
  font-family: "Poppins";
  font-weight: 500;
  color: var(--text-color);
}

td:not(.asset-label) {
  vertical-align: middle;
  text-align: center;
}

.marker span {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 2px;
}

.marker .warning {
  background-color: var(--marker-warning);
}

.marker .success {
  background-color: var(--marker-sucess);
}

.marker .danger {
  background-color: var(--marker-danger);
}

.marker .info {
  background-color: var(--marker-info);
}

.locked {
  filter: blur(4px);
  opacity: 0.5;
}

.sub-rows-content {
  font-family: "Poppins";
  font-style: normal;
  font-size: 12px;
  line-height: 20px;
  text-align: left;
}

.sub-rows-content.linked-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sub-rows-content div,
.sub-rows-content li {
  margin: 0 -1px;
  padding: 5px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marker .sub-rows-content div {
  height: 32px;
  width: 32px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-rows-content div:not(:last-child),
.sub-rows-content li:not(:last-child) {
  border-bottom: 1px solid var(--table-border-color);
}

.nowrap-text {
  display: inline-block;
  white-space: nowrap;
  /*padding: 0 12px;*/
}

/*[class*="col-"] {*/
/*span#MainBody_Contacts_GridViewSample_lblPhone_1*/
span[id*="MainBody_Contacts_GridViewSample_lblPhone_"] {
  padding: 0 12px;
}

.table-text {
  display: inline-block;
  padding: 0 12px;
}

.mailto-links li {
  padding: 0 12px;
}

.search-results-table th.rotated:last-child {
  border-right: none;
}

#commodityOptions-menu div.ui-menu-item-wrapper,
#yearsOptions-menu div.ui-menu-item-wrapper {
  font-size: 12px;
  text-align: center;
}

.search-results-table tr:hover {
  background-color: var(--table-background-hover-color) !important;
}

.search-results-table tr:hover td {
  background-color: var(--table-background-hover-color) !important;
}

#export_buttons_modal,
#export_buttons_modal_mobile {
  position: absolute;
  display: none;
  border-radius: 8px;
  padding: 6px;
  margin-top: 4px;
  border: none;
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.1);
  top: 30px;
  background-color: var(--color-white);
  cursor: auto;
}

#export_buttons_modal_mobile {
  z-index: 100;
  left: 10px;
  top: 38px;
}

#export_buttons_modal.open_modal,
#export_buttons_modal_mobile.open_modal {
  display: block;
}

#export_buttons_modal div,
#export_buttons_modal_mobile div {
  display: flex;
  font-size: 12px;
  font-family: 'Poppins';
  align-items: center;
  padding: 6px 8px;
  font-weight: 400;
  border-radius: 8px;
  border: none;
}

#export_buttons_modal div:hover,
#export_buttons_modal_mobile div:hover {
  background-color: var(--table-border-color);
  cursor: pointer;
}

#export_buttons_modal div img,
#export_buttons_modal_mobile div img {
  margin-right: 6px;
}

.alertTrigger {}

.alertTriggerCreate {
  display: flex !important;
}

.alertTriggerRemove {
  display: none !important;
}

.alertTrigger[data-remove] .alertTriggerCreate {
  display: none !important;
}

.alertTrigger[data-remove] .alertTriggerRemove {
  display: flex !important;
  pointer-events: none;
}

@media screen and (max-width: 1919px) {
  th.rotated {
    vertical-align: bottom;
  }

  th.rotated span {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    white-space: normal;
  }

  .search-results-table tbody tr {
    font-size: 12px;
  }
}

/* @media screen and (max-width: 768px) { */
@media screen and (max-width: 1150px) {

  /* @media screen and (max-width: 1200px) { */
  .search-results-container {
    border-radius: 12px;
  }

  .sub-rows-content {
    font-size: 11px;
  }

  tbody td {
    max-width: 76px;
  }

  tbody td:first-child {
    max-width: 90px;
  }

  tbody td span {
    display: inline-block;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  tbody td span::after {
    content: '';
    display: block;
  }

  .asset-label div {
    max-width: 100%;
  }

  .asset-label .flag {
    flex-shrink: 0;
    margin-right: 8px;
  }
}