.d-block {
  display: block !important;
}
.d-flex {
  display: flex !important;
}
.d-none {
  display: none !important;
}
.d-inline-block {
  display: inline-block !important;
}
.d-inline-flex {
  display: inline-flex !important;
}

.text-white {
  color: white;
}

.border {
  border: 1px solid black;
}

.border-white {
  border-color: white;
}

.fs-15 {
  font-size: 15px;
}

.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 1rem;
}
.p-4 {
  padding: 1.5rem;
}
.p-5 {
  padding: 2rem;
}
.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-5 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.25rem;
}
.m-2 {
  margin: 0.5rem;
}
.m-3 {
  margin: 1rem;
}
.m-4 {
  margin: 1.5rem;
}
.m-5 {
  margin: 2rem;
}
.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}
.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.my-5 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.g-1 {
  gap: 0.25rem;
}
.g-2 {
  gap: 0.5rem;
}
.g-3 {
  gap: 1rem;
}
.g-4 {
  gap: 1.5rem;
}
.g-5 {
  gap: 2rem;
}

.justify-content-center {
  justify-content: center !important;
}
.justify-content-start {
  justify-content: flex-start !important;
}
.justify-content-end {
  justify-content: flex-end !important;
}
.justify-content-between {
  justify-content: space-between !important;
}

.rounder {
  border-radius: 0.25rem;
}

.relative {
  position: relative;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}

img {
  max-width: 100%;
  height: auto;
}

.to-top-btn {
  bottom: 20px;
  right: 20px;
}
.to-top-btn #to-top {
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  align-content: center;
  border-color: #12A3EB;
  color: #12A3EB;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.075s ease-in-out;
  &:hover {
    background-color: #12A3EB;
    color: #fff;
  }
}

* {
  box-sizing: border-box;
}

.wrap {
  margin: auto;
  margin-top: .5rem;
  margin-bottom: .5rem;
  max-width: 1200px;
  min-width: unset !important;
  /* padding: 0 20px; */
  width: 100%;
}
@media screen and (max-width: 700px) {
  .wrap {
    padding: 10px;
  }
  .headerbar, .navbar, .forabg, .forumbg, .post, .panel {
    margin-left: 0;
    margin-right: 0;
  }
}
@media screen and (max-width: 425px) {
  .wrap {
    padding: 5px;
  }
}

/* Header */
.headerbar {
  border-radius: 0 0 7px 7px;
  background: unset;
  background-color: #1E90FF;
  border-radius: 0;
  padding: 5px 20px;
}
.navbar {
  padding: 5px 20px;
}
.main-menu .nav .inner {
  padding: 10px 0;
  min-height: 50px;
  align-content: center;
}
.nav-list {
  list-style: none;
  font-size: 14px;
}
.nav-list .nav-item {
  display: inline-block;
}
.nav-list .nav-item a {
  padding: 5px 20px;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.nav-list .nav-item a::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #fff;
  transition: .25s all ease-in-out;
}
.nav-list .nav-item a:hover::before {
  /* background-color: #2194ce; */
  width: 70%;
}

.nav-toggle {
  text-align: right;
  padding: 10px 5px;
  display: none;
}

#search input[type="search"] {
  /* width: 100%; */
  padding: 5px;
}

@media screen and (max-width: 883px) {
  .nav-toggle {
    position: absolute;
    right: 0px;
    top: 0px;
    display: block;
  }
  .nav-list {
    display: none;
  }
  .nav-list .nav-item {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

@media screen and (max-width: 700px) {
  .site-description {
    width: 200px;
  }
  .site-description, .search-box {
    display: inline-block;
  }
  .site-description .logo {
    display: block;
  }
}
@media screen and (max-width: 500px) {
  .site-description {
    width: 100%;
  }
  .site-description, .search-box {
    display: block;
    margin: auto;
  }
  .search-header {
    width: 100%;
    text-align: center;
    box-shadow: none;
  }
  .search-header form {
    display: inline-block;
  }
  /* .headerbar .inner {
    text-align: center;
  } */
}
/* End Header */

/* Main */
.page-left, .page-right {
  min-width: 180px;
  width: 180px;
  /* background-color: #12A3EB; */
}

.page-body .forabg .topiclist .forum-image {
  width: 100px;
  padding: 5px 0;
}
.page-body .forabg .topiclist .forum-image img {
  max-width: 100px;
  max-height: 100px;
}

@media screen and (max-width: 700px) {
  .page-left, .page-right {
    display: none;
  }
  .page-body {
    width: 100%;
  }
}

/* End Main */

/* Footer */
.page-footer {
  text-align: center;
}
.page-footer .nav-footer {
  font-size: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  .nav-item {
    display: inline-block;
    padding: 5px 10px;
  }
}

/* Other pages */
.avatar {
  max-width: 400px;
}

@media screen and (max-width: 500px) {
  .avatar {
    max-width: 100%;
  }
  
}