/*CSS buttons*/
.grid {
  width: 100%;
  margin: auto;
  max-height:416px !important;
  overflow-y: scroll;
}
.button-group {
  margin: 80px auto 20px;
  display: table;
  padding:0;
}
.button {

	padding: .8em 2em;
	color: #000;
	border:0;
	cursor: pointer;
	cursor: pointer;
	text-align: center;
	text-decoration: none;

	font-weight: 500;
	background:none;
	font-size:.9em;
	font-family:"montserrat";
	margin-bottom:4px;

	padding: 1.5em 1.2em;
	color: #fff;
	border: 2px solid #ff0;
	margin: 0 .5em;
}
.button:hover {
  background-color:#ff0;
  color: #000;
}
.button.is-checked {
    background: #ff0;
    color: #000;
}
.element-item {
  background-color: #fff;
  padding: 0;
  margin: 0;
  width: calc(20% - 3px);
  height: auto;
  display: inline-block;
}
.item-image {
  width: 100%;
  padding-bottom: 50%;
  background-size: cover;
}
.item-title {
  margin: 0;
  padding: 10px;
  height: 40px;
  overflow: hidden;
}
.item-image img{
	position:relative;
	float:left;
	width:100%;
	height:auto;
}
/* end gallery style */
body {
  background-color: #1d1e22
}
@media handheld, only screen and (max-width: 1080px) {

  .element-item {
 	   width: calc(33% - 3px);
	 }
  .grid{
  	max-height: 470px;
  }
}




@media handheld, only screen and (max-width: 480px) {
.button{
		width:45%;
		  margin-bottom:3px;
		}
  .element-item {
 	   width: calc(50% - 3px);
	}
}
