.thumb { margin-bottom:1.1rem; } .thumb img{ border:none; padding:0; } .caption { padding-top:.75rem; margin:0; font-family: 'Nunito Sans',sans-serif; font-weight: 300; line-height:1; } .w-20 { -webkit-box-flex: 0; -ms-flex: 0 0 50% !important; flex: 0 0 50% !important; max-width: 50%; } @media (min-width: 768px){ .w-20 { -webkit-box-flex: 0; -ms-flex: 0 0 25% !important; flex: 0 0 25% !important; max-width: 25%; }} @media (min-width: 1200px){ .w-20 { -webkit-box-flex: 0; -ms-flex: 0 0 20% !important; flex: 0 0 20% !important; max-width: 20%; }} .w-20 { padding:.5rem; } .w-20 img{ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;margin-bottom:.25rem } a.darken img { display: block; -webkit-transition: all 0.5s linear; -moz-transition: all 0.5s linear; -ms-transition: all 0.5s linear; -o-transition: all 0.5s linear; transition: all 0.5s linear; } a.darken:hover img { opacity: 0.7; }