/* Bridge only: keeps GreyTheme's original classes/layout and adapts CMS pages. */
.navbar .nav_container .flex {
  min-height: 80px;
}

.navbar .nav_container ul.nav_list,
.navbar .nav_container ul {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
}

.navbar .nav_container ul.nav_list li a,
.navbar .nav_container ul li a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar_wrapper {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.user_area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.user_area span {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.user_area img {
  width: 18px;
  height: 18px;
}

.nav_toggle {
  display: none;
  width: 36px;
  cursor: pointer;
}

.nav_toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}

.greytheme-news-block {
  margin-bottom: 12px;
}

.asidebar {
  align-content: flex-start;
  overflow: visible;
}

.asidebar .aside_block {
  flex: 0 0 100%;
  height: auto;
  min-height: 0;
  z-index: 1;
}

.asidebar .aside_content {
  position: relative;
  z-index: 8;
}

.asidebar .aside_title {
  position: relative;
  z-index: 8;
}

.aside-ranking-block,
.aside-events-block {
  clear: both;
}

.aside-ranking-block {
  margin-bottom: 0;
}

.hall_fame li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  min-height: 38px;
}

.hall_fame li .rank {
  margin-right: 0;
}

.hall_fame li .nickname {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hall_fame li .score {
  min-width: 34px;
  text-align: right;
  color: var(--gold-2);
}

.background_cover {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  border-radius: 10px;
}

.background_cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  filter: grayscale(.25);
}

.page-header {
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 28px;
}

.page-title h1,
.page-title h2 {
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .45);
}

.page-title span,
.page-title p,
.page-title h5 {
  color: var(--grey-12);
}

.page-container {
  width: 100%;
  position: relative;
  background: var(--grey-1);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 12px;
}

.page-container::before {
  background: url(../images/elementos/col_border_lg.png) no-repeat;
  width: 100%;
  height: 97%;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 0;
  z-index: 7;
  content: "";
}

.breadcrumb {
  position: relative;
  z-index: 8;
  background: transparent;
  margin-bottom: 16px;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: var(--grey-12);
}

.breadcrumb-item.active {
  color: var(--gold-2);
}

.page-container .container,
.page-container .row,
.page-container .df_block,
.page-container .alert,
.page-container form,
.page-container table {
  position: relative;
  z-index: 8;
}

.post_item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--dark-grey-opacity-2);
}

.post_header_cover {
  min-height: 150px;
  background: var(--grey-4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.post_header_cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greytheme-item-cover img {
  width: auto;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55));
}

.greytheme-item-card h5 {
  color: #fff;
}

.greytheme-item-icon,
.greytheme-rank-avatar {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-right: 8px;
}

.greytheme-table-block {
  margin-bottom: 12px;
}

.greytheme-table {
  margin-bottom: 0;
  background: transparent;
}

.greytheme-table th {
  color: var(--gold-2);
  border-color: var(--grey-5);
}

.greytheme-table td {
  color: var(--grey-12);
  border-color: var(--grey-5);
  vertical-align: middle;
}

.greytheme-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.greytheme-form-grid label,
.greytheme-checks label {
  display: grid;
  gap: 6px;
  color: var(--grey-12);
  font-size: 13px;
}

.greytheme-form-grid input,
.greytheme-form-grid select,
.greytheme-copy-field input,
.greytheme-bid-form input {
  width: 100%;
  min-height: 40px;
  background: var(--grey-4);
  border: 1px solid var(--grey-5);
  border-radius: 4px;
  color: #fff;
  padding: 0 12px;
}

.greytheme-checks {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--grey-4);
  border: 1px solid var(--grey-5);
  border-radius: 6px;
}

.greytheme-checks label {
  display: flex;
  align-items: center;
}

.register-consent-checks .form-check {
  align-items: center;
}

.register-consent-checks .form-check-input {
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0;
}

.register-consent-checks .form-check-label {
  line-height: 1.35;
}

.greytheme-copy-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  text-align: left;
}

.greytheme-copy-field span {
  grid-column: 1 / -1;
  color: var(--grey-12);
}

.greytheme-bid-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  width: 100%;
}

.greytheme-workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.greytheme-workshop-item {
  min-height: 126px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--grey-4);
  border: 1px solid var(--grey-5);
  border-radius: 6px;
  text-align: center;
}

.greytheme-workshop-item img {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.workshop-warehouse-view>.row {
  display: grid;
  grid-template-columns: 276px minmax(360px, 1fr);
  align-items: start;
}

.workshop-warehouse-view .morpheus-warehouse {
  width: 276px;
  max-width: 276px;
  overflow: visible;
}

.workshop-warehouse-view .morpheus-warehouse .greytheme-item-grid {
  background: rgba(7, 8, 11, .86);
  border-color: rgba(160, 168, 180, .28);
}

.workshop-warehouse-view .workshop-item {
  min-width: 0;
}

.workshop-warehouse-view .workshop-item .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.workshop-warehouse-view #workshop-item h2 {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  font-size: 25px;
  line-height: 1.2;
}

.workshop-basic-options>.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.workshop-extra-options>.row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 340px);
}

.workshop-flags>.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(70px, 1fr));
}

.workshop-warehouse-view .card {
  min-width: 0;
}

.workshop-warehouse-view .card-header h6 {
  margin-bottom: 0;
  font-size: 12px;
}

.workshop-warehouse-view .form-check {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workshop-excellent-card .form-check {
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 28px;
}

.workshop-excellent-card label {
  line-height: 1.25;
}

.workshop-upgrade-price .price {
  min-width: 92px;
}

.greytheme-item-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 58px;
}

.greytheme-item-preview .image {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
}

.greytheme-item-preview img {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .65));
}

.greytheme-item-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 60;
  width: max-content;
  max-width: 260px;
  transform: translateX(-50%);
  display: none;
  padding: 10px 12px;
  background: rgba(7, 7, 10, .96);
  border: 1px solid var(--grey-5);
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .55);
  color: var(--grey-12);
  text-align: center;
  pointer-events: none;
}

.greytheme-item-preview:hover .greytheme-item-tooltip {
  display: grid;
  gap: 3px;
}

.greytheme-item-tooltip strong {
  color: var(--gold-2);
  margin-bottom: 4px;
}

.greytheme-item-tooltip .excellent {
  color: #67d66f;
}

.greytheme-item-tooltip .blue {
  color: #78a8ff;
}

.greytheme-item-tooltip .purple,
.greytheme-item-tooltip .harmony {
  color: #c18cff;
}

.greytheme-item-tooltip .ancient {
  color: #62d1b4;
}

.greytheme-item-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), 32px);
  grid-template-rows: repeat(var(--rows), 32px);
  width: max-content;
  max-width: 100%;
  padding: 4px;
  background: rgba(5, 5, 8, .55);
  border: 1px solid var(--grey-5);
  overflow: visible;
}

.greytheme-item-cell {
  width: 32px;
  height: 32px;
  border-right: 1px solid rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  background: rgba(255, 255, 255, .015);
}

.greytheme-grid-item {
  position: absolute;
  left: calc(4px + var(--item-left));
  top: calc(4px + var(--item-top));
  width: var(--item-width);
  height: var(--item-height);
  display: grid;
  place-items: center;
  z-index: 3;
}

.greytheme-grid-item .greytheme-item-preview,
.greytheme-grid-item .greytheme-item-preview .image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.greytheme-grid-item img {
  max-width: var(--item-width);
  max-height: var(--item-height);
}

.greytheme-char-card {
  overflow: visible;
}

.greytheme-char-visuals {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  overflow: visible;
}

.greytheme-char-equipment,
.greytheme-char-bag {
  overflow: visible;
}

.greytheme-equipment-map {
  position: relative;
  width: 256px;
  min-width: 256px;
  height: 253px;
  background: rgba(5, 5, 8, .42);
  overflow: visible;
}

.greytheme-equipment-map>img {
  width: 256px;
  height: 253px;
  object-fit: contain;
  opacity: .98;
}

.greytheme-equipment-slot {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: visible;
}

.greytheme-equipment-slot .greytheme-item-preview,
.greytheme-equipment-slot .greytheme-item-preview .image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.greytheme-equipment-slot img {
  max-width: 100%;
  max-height: 100%;
}

.greytheme-equipment-slot.slot0 {
  left: 0px;
  top: 75px;
  width: 64px;
  height: 100px;
}

.greytheme-equipment-slot.slot1 {
  left: 192px;
  top: 75px;
  width: 64px;
  height: 100px;
}

.greytheme-equipment-slot.slot2 {
  left: 96px;
  top: 4px;
  width: 64px;
  height: 66px;
}

.greytheme-equipment-slot.slot3 {
  left: 96px;
  top: 75px;
  width: 64px;
  height: 100px;
}

.greytheme-equipment-slot.slot4 {
  left: 96px;
  top: 180px;
  width: 64px;
  height: 66px;
}

.greytheme-equipment-slot.slot5 {
  left: 0px;
  top: 180px;
  width: 64px;
  height: 66px;
}

.greytheme-equipment-slot.slot6 {
  left: 192px;
  top: 180px;
  width: 64px;
  height: 66px;
}

.greytheme-equipment-slot.slot7 {
  left: 160px;
  top: 4px;
  width: 96px;
  height: 66px;
}

.greytheme-equipment-slot.slot8 {
  left: 0px;
  top: 4px;
  width: 64px;
  height: 66px;
}

.greytheme-equipment-slot.slot9 {
  left: 66px;
  top: 75px;
  width: 28px;
  height: 32px;
}

.greytheme-equipment-slot.slot10 {
  left: 66px;
  top: 180px;
  width: 28px;
  height: 32px;
}

.greytheme-equipment-slot.slot11 {
  left: 162px;
  top: 180px;
  width: 28px;
  height: 32px;
}

@media (max-width: 760px) {
  .greytheme-equipment-map {
    transform: scale(.75);
    transform-origin: top left;
    margin-bottom: -64px;
  }
}

.greytheme-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.greytheme-action-grid .button {
  width: 100%;
  margin: 0;
  border: 0;
}

.greytheme-rich-content {
  color: var(--grey-12);
  line-height: 1.7;
}

.greytheme-rich-content h1,
.greytheme-rich-content h2,
.greytheme-rich-content h3,
.greytheme-rich-content h4 {
  color: #fff;
  margin: 18px 0 10px;
}

.greytheme-rich-content p {
  margin-bottom: 12px;
}

.greytheme-rich-content a {
  color: var(--gold-2);
}

.ajax-container>.greytheme-content {
  width: 100%;
  background: var(--grey-1);
  border-radius: 10px;
  padding: 25px 27px;
  position: relative;
}

.ajax-container>.greytheme-content::before {
  background: url(../images/elementos/col_border_lg.png) no-repeat;
  width: 100%;
  height: 97%;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 0;
  z-index: 7;
  content: "";
}

.footer {
  padding: 40px 0;
}

.online {
  color: #2ed573 !important;
}

.offline {
  color: #ff4757 !important;
}

@media (max-width: 980px) {
  .nav_toggle {
    display: block;
  }

  .navbar .nav_container ul.nav_list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    padding: 18px;
    background: rgba(31, 33, 42, .98);
    flex-direction: column;
    z-index: 200;
  }

  .navbar .nav_container.navbar_collapse ul.nav_list {
    display: flex;
  }

  .greytheme-form-grid,
  .greytheme-copy-field,
  .greytheme-bid-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .workshop-inventory-grids {
    justify-content: center !important;
  }
}
