.item {
    height: 500px;
}

a.ag-img {
    display: block;
    height: 240px;   
    line-height: 240px;
    text-align: center;
}

a.ag-img img {
    display: inline-block;
    margin: auto;
    max-height: 230px;
}

img{
        vertical-align: middle;
}

.ag-box-tittle {
    display: block;
    border-bottom: none;
    border-top: 1px solid #ccc;
    padding: 10px 0 0;
    line-height: 20px;
}

.ag-box-tittle h6 {
    margin-top: 4px;
    font-style: italic;
    font-size: 14px;
    font-weight: 300;
    font-family: 'Raleway', sans-serif;
    line-height: 20px;
}

.ag-box-tittle h5 {
    margin-top: 0;
    margin-bottom: 2px;
    font-style: italic;
    font-size: 14px;
    font-weight: 300;
    font-family: 'Raleway', sans-serif;
    line-height: 20px;
}

.ag-box-tittle h4 {
  font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    line-height: 20px;
}

.ag-box-tittle span{
  font-weight: 300;
  line-height: 20px;
}

.ag-artwork-container{
    height: 280px;
}

.red{color:red;   font-family: 'Raleway', sans-serif;}


.ag-filter{padding: 0; margin:0 0 0 25px;}
.ag-filter li{display:  inline-block; list-style: none; }
.ag-filter li a.selected{
    border: 1px solid #000;
    text-decoration: none;
}

.ag-filter li a {
    float: left;
    border: 1px solid #ececec;
    font-size: 10px;
    text-transform: uppercase;
    padding: 10px 20px;
    color: #141414;
}


@media (min-width: 1200px){

    a.ag-img img {
      max-height: 100%;
    }

    .ag-image-wrapper {
      margin-bottom: 17px;
      display: block;
    }  

    .ag-box-tittle{
      height: 150px;
      line-height: 20px;
    }
}



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

    .item { 
        height: auto;
        padding-bottom: 30px;
    }

     .ag-image-wrapper{
        width: 100%;
        margin-bottom: 40px;
    }

    a.ag-img {
        height: auto !important;
    }

    .ag-artwork-container { 
        height: auto;
    }

}
