
/* Gallery */
.album-wrapper {
    position: relative;
    overflow: hidden;
    /* max-width: 408px; */
    width: 100%;
    max-height: 532px;
    margin: 0 auto 30px;
}

.album-wrapper .img-block {
    max-height: 270px;
    overflow: hidden;
    position: relative;
    display: block;
}
.album-wrapper .img-block img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    /*height: 300px;*/
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}
.album-wrapper .img-block:before,
.album-wrapper:hover .img-block:before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border: 1px solid #ffffff;
}

.album-wrapper:hover .img-block img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}

.album-wrapper .album-desc {
    /* height: 105px; */
    font-size: 14px;
    font-family: 'Play', sans-serif;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
    background-color: #cb534c;
    /* margin-bottom: 10px; */
    position: absolute;
    bottom: 10px;
    left: 10px;
    /* right: 10px */
    padding: 14px;
    margin-right: 10px;
}

.album-wrapper:hover .desc-wrapper {
    display: block;
    position: absolute;
    max-width: inherit;
    width: inherit;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    color: #ffffff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.album-wrapper:hover .desc-wrapper .desc-block {
    height: 100%;
}

.album-wrapper:hover .desc-wrapper .more-btn {
    position: absolute;
    bottom: 30%;
    left: 50%;
    margin: -25px 0 0 -77.5px;
    max-width: 200px;
    transition: none;
    color: #ffffff !important;
}

.album-wrapper .desc-wrapper {
    padding: 10px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: absolute;
}

.album-wrapper .desc-wrapper .desc-block {
    border: 1px solid rgba(255,255,255,0.7);
    padding: 25px;
}

.album-wrapper:not(:hover) .desc-wrapper .more-btn {
    display: inline-block;
    padding: 0;
    width: auto;
    border: none;
    transition: none;
    color: #242424;
}

.album-wrapper:hover .desc-wrapper .more-btn:hover {
    color: #242424 !important;
}

.fancybox-skin.fancybox-photo {
    border-radius: 0;
    background: none;
}
.fancybox-photo .fancybox-image {
    /* max-width: calc(100% - 500px); */
}
.fancybox-opened .fancybox-skin.fancybox-photo {
    box-shadow: none;
    padding: 55px !important;
}

.fancybox-photo .fancybox-title-float-wrap {
    right: auto;
    bottom: 55px;
    margin-bottom: 0;
    text-align: left;
    left: 55px
}

.fancybox-photo .fancybox-title-float-wrap .child {
    margin-right: 0;
    text-shadow: none;
    background: #cb534c;
    white-space: normal;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 20px;
}

.fancybox-photo .fancybox-nav {
    top: 50%;
}

.fancybox-photo .fancybox-next {
    right: -55px;
}
.fancybox-photo .fancybox-prev {
    left: -55px;
}

.fancybox-photo .page-link {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 2px;
}

.fancybox-photo .page-link.arrow-link {
    color: #fff;
    border: 2px solid #EDF6FD;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fancybox-photo .page-link.arrow-link:hover {
    background: #EDF6FD;
    color: #000000;
}

.fancybox-photo .fancybox-close-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    background: #D74D52;
    color: #ffffff;
    top: 0;
    right: 0;
}
.fancybox-photo .fancybox-close-photo svg {
    width: 35px;
    height: 35px;
}
