* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Fira Sans", sans-serif;
}
:root {
  --gray: #777777;
  --green: #2AA890;
  --white: #fff;
  --black: #000;
  --section-background: #edf5f5;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  overflow: auto;
  scrollbar-width: none;
}
.thg-mobile-header, .mobile-title{
  display: none;
}
.thg-main-project-wrapper {
  display: flex;
  width: 100%;
}
.thg-sidebar-wrapper {
  background-color: var(--black);
  width: 240px;
  color: var(--white);
  width: 25%;
  position: relative;
}
.sidebar-list li {
  padding: 14px 14px 14px 16px;
  font-size: 16px;
  display: flex;
  filter: brightness(70%);
  transition: all 300ms ease-in-out;
}
.sidebar-list li:hover {
  background: rgba(42, 168, 144, 0.2);
  filter: brightness(100%);
  cursor: pointer;
}
.collection-icon {
  background: url(../img/collection-icon.svg);
  height: 18px;
  width: 18px;
  display: inline-block;
  margin-right: 12px 
}
.overview-icon {
  background: url(../img/overview-icon.svg);
  height: 18px;
  width: 18px;
  display: inline-block;
  margin-right: 12px 
}
.sidebar-icon {
  background: url(../img/sidebar-icon.svg);
  height: 18px;
  width: 18px;
  display: inline-block;
  margin-right: 12px 
}
.thg-main-content-wrapper {
  background-color: var(--section-background);
}
table {
  border-collapse: collapse;
  width: 100%;
  background-color: var(--white);
  border-radius: 15px;
  font-size: 14px;
  margin: 0 24px;
}
th, td {
  border-bottom: 2px solid var(--section-background);
  padding: 10px;
  text-align: center;
}
td {
  width: fit-content 
}
th {
  font-size: 12px;
  font-weight: 400;
}
button {
  background-color: var(--green);
  color: var(--white);
  border: none;
  border-radius: 10px;
  width: 64px;
  height: 37px;
  cursor: pointer 
}
.bin-icon {
  background: url(../img/bin-icon.svg);
  width: 32px;
  height: 32px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
}
.thg-logo-sidebar-wrapper {
  padding: 12px 12px 12px 16px;
  margin-bottom: 30px 
}
.thg-logo {
  background: url(../img/logo.svg);
  width: 73px;
  height: 36px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.thg-button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.sidebar-button {
  width: 208px;
  height: 52px;
  font-size: 1rem;
  position: absolute;
  bottom: 20px;
}
.sidebar-button-mobile{
  position: absolute;
  bottom: 20px;
  width: 58px;
  display: none;
}
.thg-main-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 12px 12px 12px 24px;
}
.thg-main-content-header ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  font-size: 14px;
  color: var(--gray) 
}
.thg-main-content-header span {
  font-size: 24px;
  line-height: 150%;
}
.thg-table-wrapper {
  display: flex;
  justify-content: center;
}
.thg-main-content-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem 0;
  margin: 0 auto;
}
.thg-main-content-stats-tile {
  background-color: var(--white);
  height: 89px;
  width: 23%;
  border-radius: 12px;
  display: flex;
  align-items: center;
}
.thg-stats-icon {
  background: url(../img/stat-icon-1.svg);
  height: 45px;
  width: 45px;
  background-position: center;
  background-size: cover;
  margin-left: 16px;
}
.graded-icon {
  background: url(../img/total-grade-icon.svg);
  height: 45px;
  width: 45px;
  background-position: center;
  background-size: cover;
}
.sold-icon {
  background: url(../img/total-sold-icon.svg);
  height: 45px;
  width: 45px;
  background-position: center;
  background-size: cover;
}
.value-icon {
  background: url(../img/value-icon.svg);
  height: 45px;
  width: 45px;
  background-position: center;
  background-size: cover;
}
.amount-sold-icon {
  background: url(../img/sold-icon.svg);
  height: 45px;
  width: 45px;
  background-position: center;
  background-size: cover;
}
.sale-icon {
  background: url(../img/highest-icon.svg);
  height: 45px;
  width: 45px;
  background-position: center;
  background-size: cover;
}
.thg-stats-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 0 16px 12px 
}
.thg-stats-text {
  color: var(--gray);
  font-size: 14px;
  line-height: 150%;
}
.thg-stats-amount {
  font-size: 24px;
  line-height: 150%;
}
.thg-pagination-wrapper {
  margin: 16px;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 10px 
}
.thg-pagination-wrapper span {
  background: var(--white);
  border-radius: 50%;
  height: 32px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease-in-out;
  color: var(--gray);
  font-family: "Nunito Sans", sans-serif;
}
.thg-pagination-wrapper span:hover {
  background: var(--green);
  cursor: pointer;
}
span.active-pagination {
  background: var(--green);
  color: var(--white);
}
.thg-main-content-header ul, .thg-main-content-header li {
  display: flex;
  align-items: center;
}
.thg-main-content-header span {
  margin-left: 10px 
}
/* ===============catalog================= */
.thg-catalog .thg-main-content-header span.thg-catalog-title {
  opacity: 0 
}
.thg-main-content-wrapper {
  width: 100%;
}
.thg-main-content-catalog {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.thg-catalog-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.thg-catalog-tile {
  height: 324px;
  width: 294px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.thg-catalog-tile-img {
  background: url(../img/catalog-image.png);
  height: 245px;
  width: 262px;
}
.thg-catalog-tile-description-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
}
.thg-tile-catalog-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 45px;
  font-weight: 100;
}
.thg-filters-wrapper {
  width: 90%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem 
}
h1 {
  font-size: 28px;
  line-height: 150%;
  font-weight: 500;
  margin-top: 32px 
}
h2 {
  font-size: 16px;
  line-height: 150%;
  color: var(--gray);
  font-weight: 400 
}
.thg-search-wrapper {
  background-color: var(--white);
  width: 50%;
  border-radius: 10px;
  padding: 5px;
  margin: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.thg-search-wrapper span:last-of-type {
  font-size: 14px;
  color: var(--gray);
  line-height: 150%;
  font-weight: 300;
}
.thg-search {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 5px;
}
.search-icon {
  background: url(../img/search-icon.svg);
  height: 14px;
  width: 14px;
  background-position: center;
  background-size: cover;
  display: inline-block;
}
.thg-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  gap: 5px;
  font-size: 12px;
  font-weight: 300;
  cursor: pointer;
}
.filter-icon {
  background: url(../img/filter-icon.svg);
  height: 12px;
  width: 14px;
  background-position: center;
  background-size: cover;
  display: inline-block;
}
.link-icon {
  background: url(../img/link-icon.svg);
  height: 12px;
  width: 14px;
  background-position: center;
  background-size: cover;
  display: inline-block;
}
.close-icon {
  background: url(../img/close-icon.svg);
  height: 30px;
  width: 30px;
  background-position: center;
  background-size: cover;
  display: inline-block;
  align-self: flex-end;
  margin: 24px 
}
.arrows-icon {
  background: url(../img/two-arrows-icon.svg);
  height: 15px;
  width: 15px;
  background-position: center;
  background-size: cover;
  display: inline-block;
}
.ebay-link {
  background-color: var(--white);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  width: 85px;
  margin-left: 170px;
  margin-top: 12px 
}
.arrow-icon {
  background: url(../img/arrow-icon.svg);
  height: 18px;
  width: 18px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.thg-parallel-filter, .thg-country-filter {
  background: var(--white);
  width: 50%;
  height: 66px;
  border-radius: 12px;
  border: 1px solid #D6D6D6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.arrow-th {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px 
}
.two-arrows-icon {
  background: url(../img/two-arrows-icon.svg);
  background-position: center;
  background-size: cover;
  display: inline-block;
  height: 14px;
  width: 14px;
}
.right-arrow-icon{
  background: url(../img/right-arrow-icon.svg);
  background-position: center;
  background-size: cover;
  display: inline-block;
  height: 14px;
  width: 14px;
  margin-right:16px 
}
input {
  accent-color: var(--green);
  height: 20px;
  width: 20px;
  color:var(--white);
}
label {
  font-size: 14px;
}
.thg-parallel-filter span, .thg-country-filter span {
  font-size: 28px;
  line-height: 150%;
  margin-left: 20px;
  margin-right:20px 
}
.thg-input-checkbox {
  display: flex;
  align-items: center;
  margin-right: 20px 
}
.thg-input-checkbox label {
  padding-left:5px ;
  padding-right: 12px 
}
/* =====================POPUP========================= */
.thg-popup-wrapper {
  background-color: var(--white);
  width: 483px;
  display: none;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top:0;
  right:0;
  min-height:100%;
}
.thg-popup-first-section {
  display: flex;
  align-items: center;
  gap: 2rem 
}
.thg-ebay-button {
  width: 145px;
  height: 40px;
  background: var(--white);
  color: var(--green);
  border: 1px solid var(--green) 
}
.popup-checkbox-wrapper {
  height: 48px;
  background: var(--section-background);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 208px;
}
.thg-popup-second-section, .thg-popup-seconda-section, .thg-popup-secondb-section, .thg-popup-secondc-section, .thg-popup-third-section {
  display: flex;
  width: 90%;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-bottom: 1px solid #E4E4E4;
  gap: 15px 
}
.thg-popup-secondb-section .col {
  width:30%;
  border-right:2px solid #edf5f5;
}
.thg-popup-secondb-section .col:last-child {
  border-right:none;
}
.thg-popup-secondb-section .col .row {
  width:100%;
}
.thg-popup-secondb-section .col .row span.heading {
  background:#edf5f5;
  color:#666;
  text-align:left;
  width: 90px;
  display: inline-block;
  height: 30px;
  padding: 5px;
}
.thg-popup-secondb-section .col .row span.value {
  background:#fff;
  color:#666;
  text-align:left;
  padding-left:15px;
  display: inline-block;
}
.thg-grade {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  background-color: var(--section-background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 16px;
}
.thg-popup-fourth-section, .thg-popup-fifth-section {
  display: flex;
  gap: 1rem;
  padding: 2rem 0;
  width: 90%;
  justify-content: center;
}
.thg-purchase-price-wrapper, .thg-purchase-date-wrapper {
  background-color: var(--section-background);
  height: 85px;
  width: 50%;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  justify-content: center;
}
button.popup-cancel {
  width: 209px;
  height: 52px;
  background: var(--white);
  color: var(--green);
  border: 1px solid var(--green) 
}
button.popup-add-to-card {
  width: 210px;
  height: 52px;
}
.popup-purchase-price, .popup-purchase-date {
  font-size: 24px;
  line-height: 150%;
  margin-bottom: 0px;
}
.thg-purchase-price-wrapper p:first-of-type, .thg-purchase-date-wrapper p:first-of-type {
  font-size: 14px;
  color: var(--gray);
  line-height: 150%;
  margin-bottom: 0px;
}
.popup-checkbox-wrapper span {
  padding-left: 16px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  margin-right: 16px 
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 0px;
  bottom: 0px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked+.slider {
  background-color: var(--green) 
}
input:focus+.slider {
  box-shadow: 0 0 1px var(--green) 
}
input:checked+.slider:before {
  transform: translateX(22px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
@media(max-width:1300px){
  .sidebar-list li span:last-of-type{
      display: none 
 }
  .thg-sidebar-wrapper{
      width: 60px;
 }
  .thg-logo-sidebar-wrapper {
      padding: 12px;
 }
  .thg-logo{
      height:27px;
      width: 45px;
      background-size: 90%;
 }
  .sidebar-button{
     display: none;
 }
  .sidebar-button-mobile{
      display: block;
 }
  .thg-parallel-filter, .thg-country-filter {
      flex-direction: column;
      align-items: flex-start;
      height:78px;
      justify-content: center;
      gap:12px 
 }
  .thg-parallel-filter span, .thg-country-filter span{
      font-size:16px;
 }
  .thg-filters-wrapper {
      width:90% 
 }
  .thg-input-checkbox {
      margin-left:8px 
 }
}
@media (max-width:1023px){
  .thg-popup-wrapper {
      width: 100% 
 }
  .thg-logo {
      height: 36px;
      width: 72px;
      background-size: 90%;
 }
  .thg-sidebar-wrapper,.thg-main-content-header ul,.thg-main-content-header {
      display: none 
 }
  .thg-main-content-stats-tile {
      width:45% 
 }
  .thg-stats-text {
      font-size:12px 
 }
  .thg-stats-amount{
      font-size:24px 
 }
  .thg-main-content-stats-tile{
      height:70px;
 }
  .thg-stats-content{
      padding:8px 
 }
  table th:nth-child(3),table td:nth-child(3), table th:nth-child(6),table td:nth-child(6), table th:nth-child(7),table td:nth-child(7), table th:nth-child(8),table td:nth-child(8), table th:nth-child(9),table td:nth-child(9), table th:nth-child(10),table td:nth-child(10), table th:nth-child(11),table td:nth-child(11), table th:nth-child(12),table td:nth-child(12), table th:nth-child(13),table td:nth-child(13) {
      display: none 
 }
  .thg-mobile-header{
      display: flex;
      background-color: var(--black);
      width:100%;
      height:68px;
      align-items: center;
      justify-content: space-between;
      padding:0 1rem 
 }
  .thg-menu-mobile{
      background: url(../img/mobile-menu-icon.svg);
      height: 36px;
      width: 36px;
      display: inline-block;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
 }
  .mobile-title{
      background: var(--section-background);
      display: block;
      font-size: 20px;
      padding:16px 
 }
  .thg-catalog-title {
      font-size:20px 
 }
  .thg-search-wrapper {
      width: 90% 
 }
  .thg-filters-wrapper {
      flex-direction: column;
      align-items: center 
 }
  .thg-parallel-filter ,.thg-country-filter {
      width: 100%;
      height:120px;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center
 }
  .thg-country-filter {
      height: 90px;
 }
  .thg-parallel-filter span,.thg-country-filter span {
      font-size:16px;
      font-weight:500 
 }
  .thg-parallel-filter .thg-input-checkbox,.thg-country-filter {
      flex-wrap: wrap;
      gap:1rem;
 }
  .thg-input-checkbox {
      width: 80%;
      padding:8px 
 }
  .thg-popup-wrapper {
      width: 90%;
      left: 50%;
      top:150px;
      transform: translatex(-50%);
      border-radius:12px 
 }
  .popup-checkbox-wrapper {
      width:150px 
 }
}
.thg-parallel-filter span{
  font-size:28px;
  margin-left:20px 
}
