.lightgal {   margin-bottom: 0; } .lightgal {   margin-bottom: 15px; } .lightgal .lItem {   display: block;   overflow: hidden;   position: relative;   float: left; } .lightgal .lItem > img {   -webkit-transition: -webkit-transform 0.15s ease 0s;   -moz-transition: -moz-transform 0.15s ease 0s;   -o-transition: -o-transform 0.15s ease 0s;   transition: transform 0.15s ease 0s;   -webkit-transform: scale3d(1, 1, 1);   transform: scale3d(1, 1, 1);   width: 100%; } .lightgal .lItem:hover > img {   -webkit-transform: scale3d(1.1, 1.1, 1.1);   transform: scale3d(1.1, 1.1, 1.1); } .lightgal .lItem:hover .lightgal-poster > img {   opacity: 1; } .lightgal .lItem .lightgal-poster {   bottom: 0;   left: 0;   position: absolute;   right: 0;   top: 0;   -webkit-transition: background-color 0.15s ease 0s;   -o-transition: background-color 0.15s ease 0s;   transition: background-color 0.15s ease 0s; } .lightgal .lItem .lightgal-poster > img {   left: 50%;   margin-left: -10px;   margin-top: -10px;   opacity: 0;   position: absolute;   top: 50%;   -webkit-transition: opacity 0.3s ease 0s;   -o-transition: opacity 0.3s ease 0s;   transition: opacity 0.3s ease 0s; } .lightgal a:hover .lightgal-poster {   background-color: rgba(0, 0, 0, 0.5); } .lightgal .justified-gallery > .lItem > img {   -webkit-transition: -webkit-transform 0.15s ease 0s;   -moz-transition: -moz-transform 0.15s ease 0s;   -o-transition: -o-transform 0.15s ease 0s;   transition: transform 0.15s ease 0s;   -webkit-transform: scale3d(1, 1, 1);   transform: scale3d(1, 1, 1);   height: 100%;   width: 100%; } .lightgal .justified-gallery > .lItem:hover > img {   -webkit-transform: scale3d(1.1, 1.1, 1.1);   transform: scale3d(1.1, 1.1, 1.1); } .lightgal .justified-gallery > a:hover .lightgal-poster > img {   opacity: 1; } .lightgal .justified-gallery > .lItem .lightgal-poster {   background-color: rgba(0, 0, 0, 0.1);   bottom: 0;   left: 0;   position: absolute;   right: 0;   top: 0;   -webkit-transition: background-color 0.15s ease 0s;   -o-transition: background-color 0.15s ease 0s;   transition: background-color 0.15s ease 0s; } .lightgal .justified-gallery > .lItem .lightgal-poster > img {   left: 50%;   margin-left: -10px;   margin-top: -10px;   opacity: 0;   position: absolute;   top: 50%;   -webkit-transition: opacity 0.3s ease 0s;   -o-transition: opacity 0.3s ease 0s;   transition: opacity 0.3s ease 0s; } .lightgal .justified-gallery > .lItem:hover .lightgal-poster {   background-color: rgba(0, 0, 0, 0.5); } .lightgal .video .lightgal-poster img {   height: 48px;   margin-left: -24px;   margin-top: -24px;   opacity: 0.8;   width: 48px; } .lightgal.dark .lItem {   border: 3px solid #041d1f; }