* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI',
    Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol';
  margin: 0;
  margin-bottom: 60px;
  padding: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  color: var(--dark-color);
  font-size: 18px;
  line-height: 1.5rem;
}

[hidden] {
  display: none;
}

label {
  font-weight: bold;
}

input[name='age'] {
  display: none;
}

.small-text {
  font-size: .8em;
}

span.spamprotection {
  display:none;
}

.auction-container {
  padding: 0px 16px;
}

.nav-current-language {
  border: 1px solid rgba(255,255,255,.5);
}

/* Footer */
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

footer > .container {
  padding-right: 15px;
  padding-left: 15px;
  text-align: center;
}

footer a {
  padding: 0px 10px !important;
}

div.lot {
  cursor: pointer;
}

.register {
  max-width: 500px;
  margin: 0 auto;
}

#registerForm input[name='email'], #sell_valuate input[name='email'] {
  display: none;
}

.register input {
  margin-bottom: 1em;
}

.login {
  max-width: 500px;
  margin: 0 auto;
}

.login input {
  margin-bottom: 1em;
}

/* LOT GALLERY */

.lot-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.lot-gallery a, .lot-gallery a:link, .lot-gallery a:visited {
  text-decoration: none;
  color: #000 !important;
}

.lot-gallery .lot-item {
  width: 260px;
  margin: 4px 4px;
  padding: 4px;
  border: 1px solid #f3f3f3;
}

.lot-gallery .lot-item img {
  margin: 0;
  width: 100%;
}

.lot-gallery table {
  font-size: 12px;
  width: 100%;
}

.lot-gallery table tr {
  vertical-align: top;
}

.lot-gallery .lot-item .lot-description {
  padding: 4px;
}

.lot-gallery .lot-item .lot-description h1 {
  font-size: 12px;
  line-height: 1em;
  font-weight: bold;
  text-transform: uppercase;
  
}

.lot-gallery .lot-item .lot-description p {
  font-size: 12px;
  line-height: 1em;
  margin-bottom: .7em;
}

.lot-gallery .image-wrapper {
  background: #f3f3f3;
  text-align: center;
  position: relative;
}

.lot-gallery .image-wrapper span {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: #000;
  color: #fff;
  text-align: left;
  padding: 2px 10px;
  font-size: 10px;
}

.lot-gallery .image-wrapper span.quality {
  position: absolute;
  bottom: 0px;
  left: calc(50%);
  background-color: green;
  color: #fff;
  text-align: left;
  padding: 2px 10px;
  font-size: 10px;
}

.lot-gallery .lot-item .image-wrapper.sold {
  height: 250px;
  padding-top: 80px;
}

.lot-gallery .image-wrapper img {
  max-width: 100%;
}

/* Lot detail */

.lot-detail {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.lot-detail .image-area {
  flex: 1;
  margin-right: 0;
}

.lot-detail .info-area {
  flex: 1;
}

.lot-detail .image-wrapper, .lot-detail .lot-description {
  max-width: 450px;
  margin-left: auto;
  margin-right: 30px;
}

.lot-detail .lot-description {
  margin-top: 10px;
}

.lot-detail .image-wrapper img {
  max-width: 100%;
}

.lot-detail .highestbidder {
  color: red;
  font-weight: bold;
}

/* Admin */

.slim-input {
  display: inline-block;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#picture-cost {
  max-width: 50px;
}

#sell-fee, #buy-fee, #insurance-cost {
  max-width: 70px;
}

.imagebank-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.imagebank-wrapper .lot-wrapper {
  border: 1px solid #ebebeb;
  width: 100px;
  padding: 2px;
  margin: 4px 4px;
  text-align: center;
}

.imagebank-wrapper .lot-wrapper .lot-image p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.imagebank-wrapper .lot-wrapper .commands ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.imagebank-wrapper .lot-wrapper img {
  max-width: 100%;
}

#modal-image {
  max-width: 100%;
}

/* Print Objects */

.summary {
  text-transform: uppercase;
  font-weight: bold;
}

@media print {    
  .no-print, .no-print * {
    display: none !important;
  }
}

.print_object_page_header { 
  text-align: right; 
  margin-bottom: 50px;
}

.print_object_table { 
  width: 100%; 
  border-collapse: collapse; 
}

.page_break { 
  page-break-after: always;
}

ul.list-inline {
  display: inline-block;
  margin-bottom: 0;
  margin-right: .5rem;
}

ul.list-inline > li {
  display: inline-block;
  margin-right: .5rem;
  cursor: pointer;
}

.user-nav {
  margin-bottom: 40px;
}

.user-nav strong {
  margin-right: .5rem;
}

ul.user > li.selected {
  font-weight: bold;
  color: #007bff;
}

.gdpr-wrapper {
  position: fixed;
  top: 56px;
  right: 0;
  left: 0;
  z-index: 1029;
  padding-top: 12px;
  background-color: #000;
  color: #fff;
  display: none;
}

.gdpr-wrapper p {
  padding-right: 20px;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  margin-bottom: 20px;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

@media only screen and (max-width: 600px) {

  .gdpr-wrapper p {
    text-align: center;
  }

  .gdpr-wrapper button {
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  
}

@media (max-width: 520px) {

  .lot-gallery .lot-item {
    width: 100%;
    margin: 4px 0px;
  }

  .navbar-brand {
    font-size: 1em !important;
  }
  
}

@media (max-width: 768px) {
  
  .lot-detail {
    flex-direction: column;
  }

  .lot-detail .image-area {
    flex: 1;
    margin-right: 0;
    margin: 0 auto;
  }

  .lot-detail .image-wrapper, .lot-detail .lot-description {
    margin: 0 auto;
    min-width: 100%;
  }

  .lot-detail .lot-description {
    margin-top: 10px;
    margin-bottom: 10px;
  }

}