.photos .p-item {
    margin-bottom: 24px;
    position: relative;
}

.photos .p-item:before {
    left: 0;
    top: 0;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform: scale3d(0, 0, 0);
    -moz-transform: scale3d(0, 0, 0);
    -ms-transform: scale3d(0, 0, 0);
    -o-transform: scale3d(0, 0, 0);
    transform: scale3d(0, 0, 0);
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
    border-radius: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.photos .p-item:hover:before {
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    opacity: 1;
    filter: alpha(opacity=100);
}

.photos .p-item img {
    width: 100%;
    border-radius: 2px;
}

.photos .btn-float {
    z-index: 1;
    bottom: 40px;
    right: 40px;
    position: fixed;
}



/*
 * Lightbox  
 */

.lightbox .lightbox-item {
    position: relative;
}

.lightbox .lightbox-item>img {
    width: 100%;
}

.lightbox .lightbox-item:before {
    left: 0;
    top: 0;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform: scale3d(0, 0, 0);
    -moz-transform: scale3d(0, 0, 0);
    -ms-transform: scale3d(0, 0, 0);
    -o-transform: scale3d(0, 0, 0);
    transform: scale3d(0, 0, 0);
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
    border-radius: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.lightbox .lightbox-item:hover:before {
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    opacity: 1;
    filter: alpha(opacity=50);
}

.lightbox .lightbox-item:hover {
    cursor: pointer;
}

.lightbox [data-src]:before,
.lightbox [data-src]:after {
    content: " ";
    display: table;
}

.lightbox [data-src]:after {
    clear: both;
}

.lightbox [data-src]:before,
.lightbox [data-src]:after {
    content: " ";
    display: table;
}

.lightbox [data-src]:after {
    clear: both;
}

.lightbox .lightbox-item:not(.p-item) {
    border: 3px solid #fff;
    position: relative;
    box-shadow: 0 0 6px rgba(178, 178, 178, 0.61);
}

body {
    font-family: roboto;
    font-size: 13px;
    color: #5e5e5e;
    background-color: #edecec;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-weight: 400;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1000ms;
    animation-duration: 1000ms;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
button,
input,
i,
a {
    -webkit-font-smoothing: antialiased;
}

*,
*:active,
*:hover {
    outline: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

a:hover,
a:focus {
    color: #0a6ebd;
    text-decoration: none;
}
#lightGallery-action.hasThumb {
    margin-left: -46px;
    line-height: 1.42857143 !important;
}
