html, body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito';
  min-height: 100vh; }

footer {
  /*bottom: 0;*/ }

@font-face {
  font-family: 'Nunito';
  src: url("../fonts/static/Nunito-Medium.ttf") format("truetype"); }
footer {
  background-color: #666;
  bottom: 0;
  width: 100%;
  color: #fff;
  text-align: center; }

footer a {
  color: #fff;
  margin: 0 20px; }

table {
  margin: 20px auto 20px auto;
  border: 1px solid #ddd;
  border-radius: 10px; }

th {
  font-weight: bold;
  padding: 3px 25px;
  background-color: #ddd; }

th:first-child {
  border-radius: 7px 0 0 0; }

th:last-child {
  border-radius: 0 7px 0 0; }

td {
  padding: 3px 25px; }

.main_content {
  width: 80%;
  min-height: calc(100vh - 174px);
  margin: 20px auto 20px auto;
  padding: 20px;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 20px; }

@media (max-width: 1250px) {
  h1 {
    font-size: 1.4em; }
  .main_content {
    width: calc(100% - 10px);
    min-height: calc(100vh - 82px);
    margin: 0;
    padding: 5px;
    background-color: #fff;
    border: 0; } }

@media (max-width: 800px) {
  h1 {
    font-size: 1.2em; } }

@media (max-width: 600px) {
  h1 {
    font-size: 1.1em; } }

@media (max-width: 450px) {
  h1 {
    font-size: 1.1em; } }
header {
  position: relative;
  width: 100%;
  height: 70px;
  background-color: #eee;
  line-height: 70px; }

header .logo {
  display: inline-block;
  width: 60px;
  height: 60px;
  background-image: url(/img/logo/hubs.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 5px 10px 5px 10px; }

header .title {
  display: inline-block;
  position: absolute;
  font-size: 30px;
  margin-left: 20px; }

header .search-bar {
  width: 100px;
  right: 140px;
  display: inline-block;
  position: absolute;
  z-index: 1;
  text-align: center;
  transition: width 0.3s, right 0.3s, background-color 0.3s; }

header .search-bar input {
  width: 100%;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: 0;
  padding: 9px;
  margin-left: auto;
  margin-right: auto;
  transition: width 0.3s, margin 0.3s; }

header .search-bar input:focus {
  width: 90%; }

header .search-bar:has(input:focus) {
  background-color: #aaa;
  right: 0px;
  width: 100%; }

header .account {
  display: inline-block;
  position: absolute;
  height: 70px;
  right: 0;
  top: 0;
  margin: 0px 10px 0px 10px; }

header .cart {
  display: inline-block;
  position: absolute;
  height: 70px;
  right: 0;
  top: 0;
  margin: 0px 10px 0px 10px; }

@media (max-width: 1250px) {
  header {
    height: 50px;
    line-height: 50px; }
  header .logo {
    width: 40px;
    height: 40px;
    margin: 5px 10px 5px 10px; }
  header .title {
    margin-left: 10px; } }

@media (max-width: 600px) {
  header .title {
    font-size: 20px;
    margin-left: 5px; }
  header .search-bar {
    width: 50px; } }
.article-tile {
  display: inline-block;
  position: relative;
  margin: 10px;
  padding: 10px;
  width: 150px;
  height: 200px;
  border: 1px solid #ddd;
  border-radius: 10px;
  vertical-align: top;
  transition: box-shadow 0.3s, background-color 0.3s;
  background-color: #fff; }

.article-tile:hover {
  background-color: #fff;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.3); }

.article-tile a {
  color: #000; }

.article-tile .article-tile-name {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical; }

.article-tile .article-tile-image {
  position: absolute;
  width: 100%;
  height: 145px;
  left: 0;
  top: 53px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat; }

.article-tile .article-tile-price {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  text-align: center; }

@media (max-width: 800px) {
  .article-tile {
    width: 130px;
    height: 170px;
    margin: 8px;
    border-radius: 8px; }
  .article-tile .article-tile-image {
    height: 115px; } }

@media (max-width: 600px) {
  .article-tile {
    width: 100px;
    height: 150px;
    margin: 6px;
    border-radius: 6px; }
  .article-tile .article-tile-image {
    height: 95px; } }

@media (max-width: 450px) {
  .article-tile {
    width: calc(33% - 34px);
    height: 120px;
    margin: 5px;
    border-radius: 5px; }
  .article-tile .article-tile-image {
    height: 65px; } }
.article-details {
  min-height: 440px; }

.article-details .article-detail-box {
  display: inline-block;
  width: calc(100% - 450px);
  margin-bottom: 20px; }

.article-details .article-price {
  font-size: 1.4em;
  font-weight: bold; }

.article-details .article-description {
  text-align: justify; }

.article-details .article-image {
  width: 250px;
  height: 250px;
  border: 1px solid #ddd;
  display: inline-block;
  float: left;
  margin: 20px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat; }

.article-details .article-image a img {
  width: 100%; }

button.article-into-cart {
  padding: 10px;
  background-color: #50db50;
  border: 1px solid #aaa;
  border-radius: 20px;
  color: #000;
  font-weight: bold; }

a.partner-button {
  padding: 10px;
  background-color: #50db50;
  border: 1px solid #424242;
  border-radius: 20px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  line-height: 40px;
  transition: background-color 0.3s, padding 0.3s; }

a.partner-button:hover {
  background-color: #97ff97;
  border-radius: 20px;
  color: #000; }

.category-breadcrumbs {
  /*border: 1px solid #ccc;*/
  margin-top: 20px; }

@media (max-width: 1250px) {
  .article-details .article-detail-box {
    width: calc(70vw - 20px); }
  .article-details .article-image {
    width: calc(30vw - 20px);
    height: 30vw;
    margin: 0 5px 5px 0; }
  .category-breadcrumbs {
    margin-top: 0px; } }

@media (max-width: 600px) {
  .article-details .article-detail-box {
    width: calc(100vw - 220px); }
  .article-details .article-image {
    width: 200px;
    height: 200px; } }

@media (max-width: 450px) {
  .article-details .article-detail-box {
    width: calc(100vw - 170px); }
  .article-details .article-image {
    width: 150px;
    height: 150px; } }
