* { box-sizing: border-box; }

/* ---- button ---- */
.filters-button-group{
  text-align: center;
}

.button {
  display: inline-block;
  padding: 7px 21px;
  margin-bottom: 30px;
  background: #EEE;
  border: none;
  color: #222;
  font-size: 15px;
  cursor: pointer;
  margin-left: 5px;
  
}

.button:hover {
  background-color: #28F;
  color: #fff;
}

.button:active,
.button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
}

.button:active {

}
.button:first-child {
  margin-left: 0px;
}

/* ---- button-group ---- */

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  border-radius: 0;
  margin-left: 0;
}

.button-group .button:first-child {}
.button-group .button:last-child {}

/* ---- isotope ---- */

.grid {
  margin-left: -10px !important;
  margin-right: -10px !important;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .element-item ---- */
.non-filter{
  margin-left: -10px !important;
  margin-right: -10px !important;
}
.non-filter:after {
  content: '';
  display: block;
  clear: both;
}
.element-item {
  position: relative;
  float: left;
  padding:10px 10px;
}
.galfilter-1{
  width:100%;
}
.galfilter-2{
  width:50%;
}
.galfilter-3{
  width:33.33333333%;
}
.galfilter-4{
  width:25%;
}
.port{
  float:left;
  width:100%;
  position: relative;
  border:1px solid #e7e7e7;
}
.port .image{
  position: relative;
  overflow: hidden;
}
.port .image:before{
  content: '';
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .8;
  -moz-transition: all 0.50s ease;
  -webkit-transition: all 0.50s ease;
  -ms-transition: all 0.50s ease;
  -o-transition: all 0.50s ease;
}
.port img{
  width: 100%;
  max-width: 100%;
  height:100%;
}
.port .port-title{
  text-align: center;
  padding:13px 0px 0px 0px;
  margin-bottom: 0px;
  font-size: 16px !important;
  font-weight: 600;
}
.port p{
  text-align: center;
  padding:0px 0px 3px 0px;
  color:#aaa;
}
.port-content{
  float:left;
  width:100%;
  padding:0px 0 10px 0px;
  background: #fff;
}
.cat-list{
  float:left;
  width:100%;
  text-align: center;
}
.cat-item{
  display: inline-block;
  color:#aaa;
  font-size: small;
}
.cat-list .cat-item:after{
  content:'/';
}
.cat-list .cat-item:last-child:after{
  content:' ';
}

/* Hover CSS Area */
.port:hover .image:before{
  background: #28F;
}
.port:hover .image img{
  transform: scale(1.1);
  -moz-transition: all 0.50s ease;
  -webkit-transition: all 0.50s ease;
  -ms-transition: all 0.50s ease;
  -o-transition: all 0.50s ease;
}

.port:hover .port-title{
  color: #28F;
  -moz-transition: all 0.50s ease;
  -webkit-transition: all 0.50s ease;
  -ms-transition: all 0.50s ease;
  -o-transition: all 0.50s ease;
}
.button:hover{
  -moz-transition: all 0.50s ease;
  -webkit-transition: all 0.50s ease;
  -ms-transition: all 0.50s ease;
  -o-transition: all 0.50s ease;
}

@media only screen and (min-width: 541px) and (max-width: 912px) {
  .grid {
    width: 100%;
    display: inline-block !important;
  }
  .element-item{
    display: inline-block;
    width: 50%;
  }
}
@media only screen and (min-width: 320px) and (max-width: 540px) {
  .grid {
    width: 100%;
    display: inline-block !important;
  }
  .element-item{
    display: inline-block;
    width: 100%;
  }
}