#gallerywrap{margin-top:30px}
#gallerywrap li{list-style-type:none;max-width:25%;float:left;margin:0;padding:0;position:relative}
#gallerywrap li img{display:block;max-width:100%;border-top-width:1px;border-top-style:solid;border-top-color:rgba(255,255,255,0.2)}
#gallerywrap li img:hover{ opacity:0.8}
#gallerywrap li div.gallery-inner{margin:5px}
#gallerywrap li:hover{background-attachment:scroll;background-image:url(images/trans.png);background-repeat:repeat; }
#gallerywrap .gallery-data{margin-top:1px;-webkit-box-shadow: 0px 4px 0px rgba(50, 50, 50, 0.03);

-moz-box-shadow:    0px 4px 0px rgba(50, 50, 50, 0.03);

box-shadow:         0px 4px 0px rgba(50, 50, 50, 0.03);

border:1px solid rgba(234,234,234,0.5);color:rgba(0,0,0,0.6);background-attachment:scroll;background-image:url(images/trans.png);background-repeat:repeat;padding:10px}
#gallerywrap .gallery-data h4{margin-bottom:5px}
#gallerywrap .gallery-data p{font-size:12px;background-image:url(images/icon-portfolio.gif);background-repeat:no-repeat; background-position:right top}
#portfolio-meta-image{}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
#gallerywrap li {max-width:25%;}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
#gallerywrap li { max-width: 33.3% }
}
@media only screen and (max-width: 767px) {
#gallerywrap li { max-width: 100% }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
#gallerywrap li { max-width: 50%; }
}