
.grid-item {
    padding-left: 3px !important;
    padding-right: 3px !important;
    margin: 2px;
}

* {
    box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background-color: lightblue;
}

#filters {
    display: inline;
}

#filters-label {
    display: inline;
    float: left;
    margin-right: 10px;
    padding-top: 2px;
    font-size: 1.5rem;
}


#filters-spacer {
    height: 8px;
}

.sizing {
    margin-bottom: 18px;
    float: right;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 8px;
}


.dropdown {
  font-size: 1.2rem;
}

.dropdown option {
    font-size: 1.2rem !important;
}

/* ---- button ---- */

.button {
  display: inline-block;
  padding: 0.5em 1.0em;
  background: #EEE;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: #222;
  font-family: sans-serif;
  font-size: 16px;
  text-shadow: 0 1px white;
  cursor: pointer;
}

.button:hover {
  background-color: #8CF;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group {
  margin-bottom: 20px;
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
.button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; }

/* ---- isotope ---- */

.grid {
<!--  border: 1px solid #333;-->
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.ui-tabs .ui-tabs-panel {
    padding: 8px 2px 0px 4px !important;
    padding-left: 2px;
    padding-top: 8px;
    padding-right: 0px;
    padding-bottom: 4px;
}

/* Default to large-screen device (tablet or pc) */
#filters-buttons-container {
    display: block;
}
#filters-dropdown-container {
    display: none;
}

/* Styles for narrower screens */
@media screen and (max-width: 1040px) {
    #filters-buttons-container {
        display: none;
    }
    #filters-dropdown-container {
        display: block;
    }
    .button {
        font-size: 18px;
        padding: 2 2 2 2;
    }
    body {
      margin: 4px 4px 4px 4px !important;
    }
}

#building-controls {
    height: 32px;
}

.item-count-overlay:after {
  content: var(--content,"");
  margin: 18% 10px 10px 10px;
  position: absolute;
  width: var(--width, 100%);
  height: var(--height, 100%);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-size: 15% auto;
  background-repeat: no-repeat;
}

.one-count:after {
  background-image: url(../images/itemcount-1.png);
}

.two-count:after {
  background-image: url(../images/itemcount-2.png);
}

/*   background:url(https://i.imgur.com/DDdKwlk.png) no-repeat 0 0; */
