figure{
    margin: 0;
}
td.user-mo a {
    color: #0A51A1;
    text-decoration: none;
    font-size: 16px;
}
td.user-mo {
    padding-top: 10px;
    padding-bottom: 10px;
}
.swiper-wrapper{
    height: auto;
}
.swiper-container {
    margin: 20px auto;
}
.swiper-block{
    position:relative;
    background: black;
}
.swiper-paginator{
    margin-top: 5px;
}
.swiper-paginator > span {
    margin: 5px;
}
.swiper-pagination-bullet-active{
    background-color: #0E54A2;
}
img.pswp__img {
    max-width: none !important;
}

@media(min-width:420px) and (max-width:520px){
    .swiper-button-next{
        right: -moz-calc((100% - 400px)/2 + 10px);
        right: calc((100% - 400px)/2 + 10px);
    }
    .swiper-button-prev{
        left: -moz-calc((100% - 400px)/2 + 10px);
        left: calc((100% - 400px)/2 + 10px);
    }
}

/**
 * Safari hack for fullscreen youtube video
 * Safari force set position to static for all parents of fullscreened element
 */
.pswp--open ~ div, .pswp--open ~ header, .pswp--open ~ main, .pswp--open ~ footer {
    position: relative !important;
    z-index: -1 !important;
}

:-webkit-full-screen-ancestor:not(iframe) ~ * {
    display: none;
}
.youtube-video-wrapper:-webkit-full-screen-ancestor:not(iframe), .citnow-wrapper:-webkit-full-screen-ancestor:not(iframe) {
    height: 100vh;
}
/** \ Safari hack */

.swiper-slide-active {
    display: flex;
    flex-direction: column;
}

.swiper-slide-active > figure {
    margin-top: auto;
    margin-bottom: auto;
}
