@media (min-width: 500px) {
  .xs\:grid-cols-2 {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}


@media (max-width: 640px) {
  h1 {
    font-size: 18px;
  }

  .content-box-card.dark {
    border-radius: 1.5rem;
  }

  .content-box-card {
    margin-bottom: 1rem;
  }

  .knowledge-selection a span, .knowledge-selection a strong {
    display: inline;
    font-size: 15px !important;
    line-height: 15px;
    margin: 0 auto;
  }

  .weapon-sa-td .grade {
    border-top: 3px solid #444;
    border-bottom: 3px solid #444;
  }
  .weapon-sa-td .table-head {
    display: none;
  }

  .weapon-sa-td .weapon-type-td {
    height: 55px;
    border-top: 15px solid #555;
    padding-top: 4px;
  }


  .weapon-sa-td .weapon-type-td, .weapon-sa-td .grade, .weapon-sa-td .item-title-td, .crystal-dual {
    display: block;
    width: 100%;
  }

  .crystal-red, .crystal-blue, .crystal-green {
    display: inline-block;
    width: 33.33%;
    height: 36px;
    vertical-align: middle;
    font-size: 13px;
    line-height: 16px;
    padding-top:2px;
  }

  .content-box-card .card-body {
    padding: 0.5rem !important;
  }

  
  .tree a, .tree span li a {
    width: 110px;
  }

  .race-container, .race-bg {
    width: 80px !important;
    height: 50px !important;
  }
}

@media (min-width: 640px) {
  .weapon-type {
    transform: rotate(-90deg);
    margin-top: 65px;
    margin-bottom: -60px;
    transform-origin: 0 0;
    width: 30px;
  }

  .weapon-sa-td td, .weapon-sa-td th {
    border-bottom: 1px solid #555;
  }

  .border-top-thick td {
    border-top: 15px solid #555;
  }

  .border-top-thin td {
    border-top: 6px solid #444;
  }

  .border-bottom-thick td, .border-bottom-thick {
    border-bottom: 15px solid #555;
  }

  .weapon-type.semi-slim {
    margin-top: 110px;
    margin-bottom: -145px;
  }

  .weapon-type.slim {
    margin-top: 160px;
    margin-bottom: -180px;
  }

  .sm\:grid-cols-2 {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .sm\:grid-cols-3 {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

  .sm\:table-row-group {
    display: table-row-group;
  }

  .sm\:table-cell {
    display: table-cell;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

  .md\:table-cell {
    display: table-cell;
  }
}

@media (max-width: 1024px) {
  .filter-container select {
    margin-bottom: 6px;
  }

  .knowledge-selection a strong {
    font-size: 15px;
  }

  .knowledge-selection a span {
    font-size: 9px;
    line-height: 9px;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

  .lg\:hidden {
    display: none !important;
  }

  .lg\:inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-5 {
    grid-template-columns:repeat(5,minmax(0,1fr))
  }
  .xl\:grid-cols-4 {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }

  .xl\:table-cell {
    display: table-cell;
  }
}

@media (min-width: 1500px) {
  .xxl\:grid-cols-5 {
    grid-template-columns:repeat(5,minmax(0,1fr))
  }
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

@media (max-width: 991px) {
  .mobile-nav-container {
    display: block;
  }

  .overview {
    margin: 16px auto;
  }

  .overview.werb-row {
    margin-top: 66px;
  }

  #navigation-container {
    background-color: black;
    display: none;
    position: absolute;
    top: 55px;
    right: 0px;
    width: 300px;
    padding: 25px;
    border-bottom-left-radius: 2rem;
    background-color: #1d1f20;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
  }

  .knowledge {
    background: #1d1f20;
  }

  .hide-mobile {
    display: none;
  }

  .hide-desktop {
    display: block;
  }

  .show-mobile {
    display: block;
  }

  .mainlogo-div {
    display: none;
  }

  .navigation {
    grid-auto-flow: row;
  }
}

@media (min-width: 992px) {
  .armor-set-items {
    width: 480px;
  }

  #search-form {
    height: 62px;
  }

  .lg\:table-cell {
    display: table-cell;
  }

  .lg\:table {
      display: table;
  }

  .lg\:table-row-group {
      display: table-row-group;
  }

  .lg\:table-row {
      display: table-row;
  }
}


@media (min-width: 768px) {
  .contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .contact .contact-address,
  .contact .contact-phone,
  .contact .contact-email {
    padding: 20px 0;
  }
}


@media (max-width: 1660px) {
  .werb-sky-col {
    width: 166px;
  }

  .werb-sky-col.right {
    padding-left: 6px;
  }

  .werb-sky-col.left {
    padding-right: 6px;
  }
}

@media (min-width: 1660px) {
  .d-xxxl-block {
    display: block !important;
  }
}

@media (min-width: 1697px) {
  .smbanner-container {
    width: 336px;
    padding: 0px;
  }

  .overview {
    margin: 36px auto;
  }

  .overview.werb-row {
    margin-top: 219px;
  }
}

@media (max-width: 1400px) {
  .knowledge-selection.weapons a strong {
    font-size: 14px;
    line-height: 15px;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .swordimage-col {
    display: none;
  }

  .server-flex-col.rates {
    width: auto;
    flex: 0 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .knowledge-selection table {
    table-layout: auto;
  }

  .item-detail-cad {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}


@media (min-width: 900px) and (max-width: 1050px) {
  .swordimage-col {
    display: none;
  }

  .server-flex-col.rates {
    width: auto;
    flex: 0 0 auto;
  }
}

@media (max-width: 899px) {
  .server-flex-col.rates {
    width: auto;
    flex: 1 0 auto;
  }

  .detail-top-row > .col:nth-child(2) {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
 }

  .detail-top-row > .col:nth-child(3) {
    order: 2;
  }

  .main-info-desc {
    min-height: 260px;
  }

  .vote-chart-col {
    width: 100%;
    flex: 0 0 100%;
  }

  .vote-col {
    display: flex;
    x-justify-content: space-around;
    x-align-items: stretch;
    gap: 1.5rem;
  }

  .knowledge-selection td {
    display: block;
    padding: 0px;
  }

}

@media (min-width: 576px) and (max-width: 899px) {
  .vote-col .detail-card:nth-child(1) {
    flex: 1;
  }

  .vote-col .detail-card:nth-child(2) {
    flex: 1.5;
  }

  .clickout-btn:nth-child(2) {
    margin-top: 58px !important;
  }
}

@media (min-width: 700px) and (max-width: 780px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 780px) {
  .feature-col {
    order: 2;
    width: 100%;
    flex: 0 0 100%;
  }

  .content-ad-col{
    order: 1;
    width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 575px) {
  .vote-col {
    display: block;
  }

  .vote-col .detail-card {
    width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 510px) {
  .detail-top-row > .col:nth-child(1) {
    width: 100%;
    flex: 0 0 100%;
 }

 .swordimage-col {
    display: none;
  }

  .werb-rectangle {
    margin: 0px;
    margin: 0px auto;
  }

  

  .vote-container {
    padding: 1rem 0px;
  }
}

@media (min-width: 1393px) {
  .d-sky-col-block {
    display: block !important;
  }
}