@use "../../variables/variables" as v;

.rdsm {
  list-style: none;
  //box-shadow: 9px 4px 33px rgba(0, 0, 0, 0.25);
  position: absolute;
  left: -420px;
  top: 61px;
  z-index: 3;

  li {
    &:first-child {
      margin-top: 16px;
    }

    margin-top: 24px;
    font-size: 0.85rem;

    > * {
      padding-top: 5px;
    }
  }

  .portal-info {
    margin-top: 5px;
    .portal-code {
      border: 2px solid #fb6f28;
      color: #fb6f28;
      padding: 4px 8px;
      border-radius: 2px;
      margin-right: 10px;
    }

    .portal-name {
      color: #fb6f28;
    }
  }

  .dict-name {
    color: v.$navigation-maincolor;
  }

  > * {
    max-width: 250px;
  }
}

.result-detail-main {
  border-radius: 8px;
  padding: 1rem;
  background-color: #ffffff;
}

@media (min-width: v.$layout-breakpoint-x-large) {
  .rdsm {
    position: fixed;
    //box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    left: 34px;
    padding-top: 0;
    padding-left: 0;
    // top: 130px;
  }
}
