.filters-group-wrap {
  height: fit-content !important;
  margin-bottom: 1em;
}

.shuffleImageContainer{
  width: 60%;
  height: calc(60%*9/16);
  background-size: contain;
  background-position: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 0.3em;
  box-shadow: 1px 1px 2px white inset, -1px -1px 2px 0 white inset;
  background-repeat: no-repeat;
}

.picture-item {
  font-size: calc(6pt + 0.3vh);
    text-align: center;
    width: 80%;
    overflow-wrap: break-word;

}

.picture-item a {
  margin: 0.8em auto 0 auto;
  display:block;
  text-align: center;
  width: max-content;
  /*color: #4e4e4e;*/
  color: #3498db;
  padding: 2px 9px;
  font-size: 95%;
  text-decoration: underline;
  margin-bottom: 1em;
}

.gallerytable {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.tablekey {
  font-weight: bold;
  text-align: right;
  padding-right: .2em;
}

.tableval {
  font-weight: normal;
  text-align: left;
}

.picture-item h3 {
  text-align: center;
  width: 80%;
  overflow-wrap: break-word;
  font-size: 120%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  height: 2.3em;
  overflow: hidden;
  margin-bottom: 0.5em;
  margin-top:0.8em;
}


/* Small reset */
*,
::before,
::after {
  box-sizing: border-box;
}

figure {
  margin: 0;
  padding: 1em 0.1em 0.2em 0.1em;
}

figure:hover {
    /*border: 1px solid #69696945;
    border-radius: 2%;
    background-color: white;
    box-shadow: 5px 5px 5px #00000054;*/

    border: 1px solid #69696945;
    background-color: white;
    box-shadow: 5px 5px 5px #00000054;
    border-radius: 2%;
    padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

a,
a:visited {
  color: #126298;
}

a:hover {
  text-decoration: underline;
}

a:active {
  color: #2ecc71;
}

p {
  margin: 1em 0;
  line-height: 1.4;
}

/*
  Shuffle needs either relative or absolute positioning on the container
  It will set it for you, but it'll cause another style recalculation and layout.
  AKA worse performance - so just set it here
 */
.my-shuffle-container {
  position: relative;
  overflow: hidden;
}

.my-sizer-element {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.picture-item {
  height: 220px;
  margin-top: 24px;
}
.picture-item img {
  display: block;
  width: 60%;
  object-fit: contain;
  margin: auto;
  display: block;
  margin-bottom: .7em;
}

@supports ((-o-object-fit: cover) or (object-fit: cover)) {
  .picture-item img {
    max-width: none;
    -o-object-fit: contain;
       object-fit: contain;
  }
}
.picture-item--h2 {
  height: 464px;
  /* 2x the height + 1 gutter */
}

.picture-item__inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #ecf0f1;
}

.picture-item__details {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: baseline;
          align-items: baseline;
  -webkit-box-pack: justify;
          justify-content: space-between;
  width: 100%;
  padding: 1em;
}

.picture-item__description {
  width: 100%;
  padding: 0 2em 1em 1em;
  margin: 0;
}

.picture-item__title {
  flex-shrink: 0;
  margin-right: 4px;
}

.picture-item__tags {
  flex-shrink: 1;
  text-align: right;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .picture-item--overlay .picture-item__details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    -webkit-backdrop-filter: blur(7px);
            backdrop-filter: blur(7px);
    color: white;
    overflow: hidden;
  }
  .picture-item--overlay .picture-item__description {
    display: none;
  }
  .picture-item--overlay a {
    color: white;
    text-shadow: 0 0 1px black;
  }
}
@media screen and (max-width: 767px) {
  .picture-item {
    height: 170px;
    margin-top: 20px;
  }

  .picture-item__details,
  .picture-item__description {
    font-size: 0.875em;
    padding: 0.625em;
  }

  .picture-item__description {
    padding-right: 0.875em;
    padding-bottom: 1.25em;
  }

  .picture-item--h2 {
    height: auto;
  }
}
.filter-label {
  display: block;
  padding: 0;
  margin-top: 0;
  margin-bottom: 4px;
  color: #554540;
}

.filters-group {
    padding: 0;
    border: 0;
    position: relative;
    text-align: center;
    margin: 2vh auto 0 auto;
}

.filters-group-wrap {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
            justify-content: space-between;
  }

.btn-group:after, .btn-group:before {
  content: " ";
  display: table;
}

.btn-group:after {
  clear: both;
}

.btn-group .btn {
  float: left;
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: 3px 0 0 3px;
}

.btn-group .btn:not(:first-child) {
  margin-left: -1px;
}

.btn-group .btn:last-child {
  border-radius: 0 3px 3px 0;
}

.btn-group label.btn input[type=radio] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.btn {
  display: inline-block;
  padding: .75em .8em;
  text-align: center;
  border-radius: 3px;
  border: 1px solid #fe4847;
  color: #fe4847;
  font-size: 1rem;
  background-color: rgba(52, 73, 94, 0);
  -webkit-transition: .2s ease-out;
  transition: .2s ease-out;
  cursor: pointer;
  -webkit-appearance: none;
}

@media (-moz-touch-enabled: 0), (pointer: fine) {
  .btn:hover {
    color: #fff;
    text-decoration: none;
    background-color: #fe4847;
  }
}
.btn:focus {
  outline-width: 0;
  box-shadow: 0 0 0 2px rgba(52, 73, 94, 0.4);
}

.btn.active, .btn:active {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
  color: #fff;
  background-color: #fe4847;
}

.btn:focus.active {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(52, 73, 94, 0.4);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .7;
  color: #fe4847;
  background-color: rgba(52, 73, 94, 0);
}

.btn--primary {
  color: #3498db;
  border-color: #3498db;
  background-color: rgba(52, 152, 219, 0);
}

@media (-moz-touch-enabled: 0), (pointer: fine) {
  .btn--primary:hover {
    background-color: #3498db;
  }
}
.btn--primary:focus {
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.4);
}

.btn--primary.active, .btn--primary:active {
  background-color: #3498db;
}

.btn--primary:focus.active {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(52, 152, 219, 0.4);
}

.btn--primary:disabled {
  color: #3498db;
  background-color: rgba(52, 152, 219, 0);
}

@media screen and (max-width: 767px) {
  .btn {
    font-size: 0.875rem;
  }
}
.textfield {
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  border: 2px solid #95a5a6;
  border-radius: 4px;
  padding: .5em;
  font-size: 1rem;
  color: #fe4847;
  -webkit-transition: 0.15s;
  transition: 0.15s;
}

.textfield::-webkit-input-placeholder {
  color: #95a5a6;
  -webkit-transition: 0.15s;
  transition: 0.15s;
}

.textfield:-ms-input-placeholder {
  color: #95a5a6;
  -ms-transition: 0.15s;
  transition: 0.15s;
}

.textfield::-ms-input-placeholder {
  color: #95a5a6;
  -ms-transition: 0.15s;
  transition: 0.15s;
}

.textfield::-moz-placeholder {
  color: #95a5a6;
  -moz-transition: 0.15s;
  transition: 0.15s;
}

.textfield::placeholder {
  color: #95a5a6;
  -webkit-transition: 0.15s;
  transition: 0.15s;
}

.textfield:hover {
  outline-width: 0;
  color: #5d6d77;
  border-color: #5d6d77;
}

.textfield:hover::-webkit-input-placeholder {
  color: #5d6d77;
}

.textfield:hover:-ms-input-placeholder {
  color: #5d6d77;
}

.textfield:hover::-ms-input-placeholder {
  color: #5d6d77;
}

.textfield:hover::-moz-placeholder {
  color: #5d6d77;
}

.textfield:hover::placeholder {
  color: #5d6d77;
}

.textfield:focus {
  outline-width: 0;
  border-color: #fe4847;
}

.textfield:focus::-webkit-input-placeholder {
  color: #fe4847;
}

.textfield:focus:-ms-input-placeholder {
  color: #fe4847;
}

.textfield:focus::-ms-input-placeholder {
  color: #fe4847;
}

.textfield:focus::-moz-placeholder {
  color: #fe4847;
}

.textfield:focus::placeholder {
  color: #fe4847;
}

.shuffle_container {
  padding-left: 3.5%;
  padding-right: 3.5%;
}

.shuffle_container:after,
.shuffle_container:before {
  content: " ";
  display: table;
}

.shuffle_container:after {
  clear: both;
}

.row {
  margin-left: auto;
  margin-right: auto;
}

.row:after,
.row:before {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

.row .row {
  margin-left: -8px;
  margin-right: -8px;
}

/* Ensure images take up the same space when they load */
/* https://vestride.github.io/Shuffle/images */
.aspect {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
}

.aspect__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.aspect--16x9 {
  padding-bottom: 56.25%;
}

.col-1\@xs,
.col-2\@xs,
.col-3\@xs,
.col-4\@xs,
.col-5\@xs,
.col-6\@xs,
.col-1\@sm,
.col-2\@sm,
.col-3\@sm,
.col-4\@sm,
.col-5\@sm,
.col-6\@sm,
.col-7\@sm,
.col-8\@sm,
.col-9\@sm,
.col-10\@sm,
.col-11\@sm,
.col-12\@sm,
.col-1\@md,
.col-2\@md,
.col-3\@md,
.col-4\@md,
.col-5\@md,
.col-6\@md,
.col-7\@md,
.col-8\@md,
.col-9\@md,
.col-10\@md,
.col-11\@md,
.col-12\@md {
  position: relative;
  box-sizing: border-box;
  min-height: 1px;
  padding-left: 8px;
  padding-right: 8px;
  height: calc(170px + 7vh);
}

.col-1\@xs,
.col-2\@xs,
.col-3\@xs,
.col-4\@xs,
.col-5\@xs,
.col-6\@xs {
  float: left;
}

.col-1\@xs {
  width: 16.66667%;
}

.col-2\@xs {
  width: 33.33333%;
}

.col-3\@xs {
  width: 50%;
}

.col-4\@xs {
  width: 66.66667%;
}

.col-5\@xs {
  width: 83.33333%;
}

.col-6\@xs {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .col-1\@sm,
  .col-2\@sm,
  .col-3\@sm,
  .col-4\@sm,
  .col-5\@sm,
  .col-6\@sm,
  .col-7\@sm,
  .col-8\@sm,
  .col-9\@sm,
  .col-10\@sm,
  .col-11\@sm,
  .col-12\@sm {
    float: left;
  }

  .col-1\@sm {
    width: 8.33333%;
  }

  .col-2\@sm {
    width: 16.66667%;
  }

  .col-3\@sm {
    width: 25%;
  }

  .col-4\@sm {
    width: 33.33333%;
  }

  .col-5\@sm {
    width: 41.66667%;
  }

  .col-6\@sm {
    width: 50%;
  }

  .col-7\@sm {
    width: 58.33333%;
  }

  .col-8\@sm {
    width: 66.66667%;
  }

  .col-9\@sm {
    width: 75%;
  }

  .col-10\@sm {
    width: 83.33333%;
  }

  .col-11\@sm {
    width: 91.66667%;
  }

  .col-12\@sm {
    width: 100%;
  }

  .shuffle_container {
    padding-left: 7%;
    padding-right: 7%;
  }

  .row {
    max-width: 1200px;
  }
}
@media screen and (min-width: 1024px) {
  .col-1\@md,
  .col-2\@md,
  .col-3\@md,
  .col-4\@md,
  .col-5\@md,
  .col-6\@md,
  .col-7\@md,
  .col-8\@md,
  .col-9\@md,
  .col-10\@md,
  .col-11\@md,
  .col-12\@md {
    float: left;
  }

  .col-1\@md {
    width: 8.33333%;
  }

  .col-2\@md {
    width: 16.66667%;
  }

  .col-3\@md {
    width: 25%;
  }

  .col-4\@md {
    width: 33.33333%;
  }

  .col-5\@md {
    width: 41.66667%;
  }

  .col-6\@md {
    width: 50%;
  }

  .col-7\@md {
    width: 58.33333%;
  }

  .col-8\@md {
    width: 66.66667%;
  }

  .col-9\@md {
    width: 75%;
  }

  .col-10\@md {
    width: 83.33333%;
  }

  .col-11\@md {
    width: 91.66667%;
  }

  .col-12\@md {
    width: 100%;
  }
}