#all-galleries {width:100%; max-width:768px; margin:0 auto 20px auto; background:#3e3e3e; padding:10px 0 0 0; position:relative; z-index:10;}
#all-galleries .content-inner {width:95%; max-width:671px; margin:-10px auto 0 auto; text-align:center;}
#all-galleries .content-inner a {display:inline-block; width:59px; height:59px; margin:0 2px -2px 0; padding:0; position:relative; z-index:10;}
#all-galleries .content-inner a img {position:absolute; left:0; top:0; display:block; padding:0; margin:0; width:59px; height:59px; border:0;
transition:0.25s;
-webkit-transition:0.25s;
}
#all-galleries .content-inner a:hover {z-index:100;}
#all-galleries .content-inner a img:hover {border:3px solid #aaa;
width:101px; height:101px; left:-21px; top:-21px;
}

#all-galleries .content-inner span.blank {display:inline-block; width:59px; height:59px; margin:0 2px -2px 0; padding:0;}
#all-galleries .content-inner span.grey {display:inline-block; width:59px; height:59px; margin:0 2px -2px 0; padding:0; background:#646464;}
#all-galleries .content-inner #search {width:160px; height:30px; float:left; text-align:right;}
#all-galleries .content-inner h1 {float:right; color:#95b0b9;}
#all-galleries .content-inner a p {padding:0; margin:0; position:absolute; left:-19px; top:-19px; width:101px; height:76px; padding-top:25px; font:700 15px/18px 'Lato', arial, sans-serif; color:#fff;  background:rgba(0,0,0,0.5); text-align:center;}

.fb-like {display:block; width:100%; text-align:right;}

#gallery .search {width:120px; height:30px; background:#666; border:0; border-radius:0 5px 5px 0; margin:0; padding:0 10px 0 0; color:#eee; overflow:hidden; float:right;}
#gallery .submit {width:30px; height:30px; background:#555 url(/nav_bar/search-icon.png) no-repeat center center; border-radius:5px 0 0 5px; float:left;}
#gallery .submit:hover {background-color:#95b0b9; cursor:pointer;}

@media only screen and (max-width:480px) {
#all-galleries .content-inner span.blank,
#all-galleries .content-inner span.grey {display:none;}
}