@font-face {
    font-family: "Bradley Hand";
    src: local('?'), url("fonts/bradley_hand_itc_tt_bold.woff2") format('woff2'), url("fonts/bradley_hand_itc_tt_bold.ttf") format('truetype');
}

@font-face{
    font-family: "Meera";
    src: local('?'), url(fonts/Meera.eot), url(fonts/Meera.woff) format("woff"), url(fonts/Meera.ttf) format("truetype"), url(fonts/Meera.svg#Meera) format("svg");
}

#magazine-family-gallery .head {
    text-align: center;
    margin-top: 95px;
    padding-bottom: 30px;
}

#magazine-family-gallery .head .month {
    color: #002252;
    font-size: 30px;
    font-weight: bold;
    width: 540px;
    margin: auto;
    text-align: right;
    font-family: "Raleway", sans-serif;
    line-height: 14px;
}

#magazine-family-gallery.success .head .month {
    width: 385px;
}

#magazine-family-gallery .hero {
    height: 600px;
    background: #464d53;
}

#magazine-family-gallery .hero .owl-prev, #magazine-family-gallery .hero .owl-next {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #585f65;
    border-radius: 50%;
    color: #fff;
    transform: rotate(-45deg);
    line-height: 0;
    text-align: center;
    cursor: pointer;
}

#magazine-family-gallery .hero .owl-next {
    transform: rotate(45deg);
}

#magazine-family-gallery .hero .owl-carousel {
    padding: 40px 20px;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper {
    display: none !important;
}

#magazine-family-gallery .hero .owl-carousel.owl-loaded .image-wrapper {
    display: block !important;
}

#magazine-family-gallery .hero .owl-carousel .owl-stage-outer {
    height: 100%;
}
#magazine-family-gallery .hero .owl-carousel .owl-stage {
    display: flex;
    height: 100%;
}
#magazine-family-gallery .hero .owl-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
    justify-content: center;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper {
    position: relative;
    height: 100%;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper .bg {
    filter: blur(2 s5px);
    -webkit-filter: blur(25px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper .content {
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 2;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper .image {
    max-height: 100%;
    object-fit: contain;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper .caption {
    height: 70px;
    width: 100%;
    background: #fff;
    position: absolute;
    bottom: 0;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper .caption img {
    width: auto;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper .caption .text {
    text-align: center;
    font-family: "Bradley Hand", cursive;
    width: 100%;
    text-align: center;
    padding-top: 12px;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper .caption .text div:first-of-type {
    color: #000;
    font-size: 19px;
    font-weight: bold;
}

#magazine-family-gallery .hero .owl-carousel .image-wrapper .caption .text div:last-of-type {
    color: #f82249;
    font-size: 16px;
}

#magazine-family-gallery.success .hero .owl-carousel .image-wrapper .caption .text div:last-of-type {
    color: #f82249;
    font-size: 15px;
    line-height: 19px;
    white-space: nowrap;
}

#magazine-family-gallery .gallery .message-wrapper .bg {
    height: 530px;
    width: 535px;
    background: url("/images/family-beach.jpg") no-repeat center, #ffffff;
    background-size: cover;
    opacity: .1;
    position: absolute;
}

#magazine-family-gallery.success .gallery .message-wrapper .bg {
    background: url("/images/wedding-couple.jpg") no-repeat center, #ffffff;
    background-size: cover;
}

#magazine-family-gallery .gallery .message-wrapper .message {
    font-family: "Meera";
    height: 530px;
    width: 530px;
    position: absolute;
    padding: 75px;
    text-align: center;
}

#magazine-family-gallery.success .gallery .message-wrapper .message {
    padding: 133px;
}

#magazine-family-gallery .gallery .message-wrapper .message p {
    font-size: 21px;
    line-height: 26px;
    color: #464d53;
}

#magazine-family-gallery .gallery .message-wrapper .message p:first-of-type {
    font-size: 26px;
    color: #f82249;
}

#magazine-family-gallery.success .gallery .message-wrapper .message p:first-of-type {
    font-size: 23px;
    line-height: 30px;
    color: #464d53;
}

#magazine-family-gallery .gallery .message-wrapper .message p:last-of-type span {
    font-size: 20px;
}

#magazine-family-gallery .gallery .image-wrapper {
    border: 10px solid #464d53;
    margin: 5px;
}

#magazine-family-gallery .gallery .image-wrapper .image {
    padding: 8px;
    width: 225px;
    height: 226px;
    max-width: 100%;
}

#magazine-family-gallery .gallery .icon {
    position: absolute;
    bottom: 0;
    right: 6px;
    z-index: 1;
}

#magazine-family-gallery.success .gallery .icon {
    bottom: -2px;
    right: 16px;
}

#magazine-family-gallery .gallery .caption {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    left: 38px;
    bottom: 23px;
    color: #fff;
    width: 209px;
    padding: 5px 12px 5px 5px;
    font-family: "Bradley Hand", cursive;
    font-size: 15px;
    line-height: 18px;
    padding-right: 33px;
}

#magazine-family-gallery .gallery a.view-more {
    float: right;
    font-size: 15px;
    margin-right: 20px;
    font-family: "Raleway", sans-serif;
}