﻿/*Styles for the City Council Gallery Template*/
/*Classic Gallery Styles*/
.gallery{
    display: inline-block;
    width: 100%;
    padding: 0px;
    overflow: hidden;
    height: auto;
    font-size: 0px;
    line-height: 0em;
}
.gallery .MediaGalleryContent{
    font-size: 0px;
    line-height: 0px;
}
.gallery .MediaGalleryContent .MediaGalleryDetail{
    display: block;
    font-size: 15px;
    color: black;
    line-height: 1.4em;
}
.gallery .MediaGalleryContent .MediaGalleryDetailBottom{
    font-size: 15px;
    line-height: 1.4em;
}
.gallery .MediaGalleryContent .MediaGalleryDetailBottom h2{
    float:none !important;
}

.gallery .MediaGalleryContent .MediaGalleryDetailBottom a, .gallery .MediaGalleryContent .MediaGalleryDetailBottom a:active, .gallery .MediaGalleryContent .MediaGalleryDetailBottom a:visited{
    display: inline-block;
    max-width: calc(100% - 15px);
    padding: 10px 15px;
    border-radius: 10px;
    background-color: rgba(0,43,90,.8);
    color: white;
    text-decoration: none;
    transition: background-color 0.8s, color 0.8s;
}

.gallery .MediaGalleryContent .MediaGalleryDetailBottom a:hover{
    color:#ffb738;
    text-decoration:none;
    background-color: rgba(0,0,0,.8);
}

.pageContent a.backbutton:link, .pageContent a.backbutton:active, .pageContent a.backbutton:visited{
    text-decoration:none;
    color: #30567d;
    font-size:16px;
    line-height:1.4em;
    transition:color 0.8s;
}

.pageContent a.backbutton:hover{
    color:black;
}

.gallery .MediaGalleryContent .MediaGalleryDetailBottom img{
    opacity:0;
    position:absolute;
    height:0px;
    width:0px;
}

.gallery .MediaGalleryContent .MediaGalleryDetail img{
    width: calc(100% - 15px);
    height: auto;
    margin-bottom: 15px;
}

.gallery .MediaGalleryContent p{
    font-size: 15px;
    line-height: 1.4em;
}

.gallery .MediaLibrarySort{
    font-size: 15px;
    line-height: 1.4em;
    margin-bottom: 25px;
}

.gallery .Pager{
    font-size: 15px;
    line-height: 1.4em;
    margin-bottom: 25px;
}

.gallery .photoSeparator{
    display:none;
}

/*Media Item Styles*/
.gallery .mediaItem{
    width: calc(25% - 30px);
    height: 150px;
    display:none;
    margin-right: 30px;
    background-size: contain;
    background-position: center;
    background-repeat:no-repeat;
    margin-bottom: 30px;
    display: inline-block !important;
    overflow: hidden;
    line-height: 1em;
    font-size: 15px;
    color: rgba(0,0,0,0);
    border-radius:10px;
    overflow:hidden;
    box-shadow: 0px 0px 0px 1px #bbd2eb;
    position:relative;
}

.gallery .mediaItem.hidden{
    display:none !important;
}

.gallery .mediaItem.show{
    display:inline-block;
}

/*Media Item 1280 Snap Adapt*/
@media screen and (max-width:1280px){
    .gallery .mediaItem{
        width: calc(25% - 15px);
        margin-right:15px;
        margin-bottom:15px;
    }
}

/*Media Item Mobile Styles*/
@media screen and (max-width:1250px){ .gallery .mediaItem{ height: 12vw; } }
@media screen and (max-width:900px){ .gallery .mediaItem{ width: calc(33.333% - 15px); height: 16vw; }}
@media screen and (max-width:640px){ .gallery .mediaItem{ width: calc(50% - 15px); height: 23vw; } }
@media screen and (max-width:430px){ .gallery .mediaItem{ width: calc(100% - 15px); height: 42vw; } }

/*Table Styles*/
.gallery .mediaItem table{
    width: 100%;
    height: 100%;
    background-color:rgba(0,0,0,0);
    transition:background-color 0.8s;
}

.gallery .mediaItem:hover table{
    background-color:rgba(59,91,126,0.65);
}

.gallery .mediaItem tbody{
    width:100%;
}

.gallery .mediaItem tr{
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.gallery .mediaItem td{
    display: table-cell;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.2em;
    color: rgba(0,0,0,0);
    text-shadow:0px 0px white;
    text-align: center;
    width: 100%;
}

/*Image Styles*/
.gallery .mediaItem .mediaLibraryPhoto a{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index:1;
}

.gallery .mediaItem img{
    opacity:0;
    position:absolute;
    height:0px;
    width:0px;
}

/*Hidden Description*/
.gallery .mediaItem .mediaLibraryDescription{
    opacity:0;
    transition: opacity 0.8s;
}

.gallery .mediaItem:hover .mediaLibraryDescription{
    opacity:1;
}

.pageContent .gallery .mediaItem .mediaLibraryDescription a:link, .pageContent .gallery .mediaItem a:active, .pageContent .gallery .mediaItem a:visited, .pageContent .gallery .mediaItem a:hover{
    color:rgba(0,0,0,0);
    text-decoration:none;
    text-shadow:0px 0px white;
    font-weight:bold;
} 

/*Media Item Link Styles*/
.pageContent .gallery .mediaItem a:link, .pageContent .gallery .mediaItem a:active, .pageContent .gallery .mediaItem a:visited{
    text-decoration:none;
}

.pageContent .gallery .mediaItem a:hover{
    text-decoration:underline;
}

.gallery_show{
    position: fixed; 
    top: 0px; 
    left: 0px; 
    width: 100%; 
    height: 100%; 
    z-index: 90000; 
    background-color: rgba(16,42,67,0.8);
    display:none;
}

.gallery_show.show{ 
    display:block; 
    animation-name:fadegalleryin; 
    animation-duration:0.5s; 
}

@keyframes fadegalleryin {
    from{opacity:0;}
    to{opacity:1;}
}

.gallery_margins{
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.slide_in {
    position: absolute; 
    margin-top: 100px; 
    margin-left: 200px; 
    top: 0px; left: 0px; 
    width: calc(100% - 400px); 
    height: calc(100% - 250px); 
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center; 
    overflow: hidden;
}
@media screen and (max-height:720px){
    .slide_in{
        margin-top:7.2vh;
        height: calc(100% - 14.4vh);
    }
}
@media screen and (max-height:500px){
    .slide_in{
        margin-top:0px;
        height: calc(100%);
    }
}
@media screen and (max-width:1680px){
    .slide_in{
        margin-left: 11.8vw;
        width: calc(100% - 23.809vw);
    }
}
@media screen and (max-width:1000px){
    .slide_in{
        margin-left: 100px;
        width: calc(100% - 200px);
    }
}
@media screen and (max-width:900px){
    .slide_in{
        margin-top:0px;
        height:100%;
    }
}
@media screen and (max-width:720px){
    .slide_in{
        margin-left:0px;
        width:100%;
    }
}
.slide_out {
    position:absolute;
    margin-top:100px;
    margin-left:200px;
    top:0px;
    left:-100%;
    width:calc(100% - 400px);
    height:calc(100% - 250px);
    background-size:contain; 
    background-repeat:no-repeat;
    background-position: center; 
    overflow:hidden;
}
@media screen and (max-height:720px){
    .slide_out{
        margin-top:7.2vh;
        height: calc(100% - 14.4vh);
    }
}
@media screen and (max-height:500px){
    .slide_out{
        margin-top:0px;
        height: calc(100%);
    }
}
@media screen and (max-width:1680px){
    .slide_out{
        margin-left: 11.8vw;
        width: calc(100% - 23.809vw);
    }
}
@media screen and (max-width:1000px){
    .slide_out{
        margin-left: 100px;
        width: calc(100% - 200px);
    }
}
@media screen and (max-width:900px){
    .slide_out{
        margin-top:0px;
        height:100%;
    }
}
@media screen and (max-width:720px){
    .slide_out{
        margin-left:0px;
        width:100%;
    }
}
.description{
    position:absolute;
    bottom: 15px; 
    left: 0px; 
    width: 100%; 
    text-align: center;
}
.description_text .title_text{
    font-weight:bold;
}
.descriptionBorder{    
    font-size: 16px; 
    color: white; 
    background-color: rgba(11,32,53,0.8); 
    font-weight: normal; 
    display: inline-block; 
    padding: 15px; 
    border: 2px solid white; 
    line-height: 1.4em; 
    max-width: 1220px; 
    margin-left: 15px; 
    margin-right: 15px;
}
.descriptionBorder .overflow{
    max-height: 44px;
    overflow: hidden;
}
.descriptionBorder .webitBox{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.description_text{
    display:none;
    line-height: 1.4em; 
    margin-top: 0px;    
}
@media screen and (max-width:640px){ 
    .description_text{ 
        display:none;
    }
}
.description_text.hide{
    display:none;
}
.pageContent .description a:link, .pageContent .description a:active, .pageContent .description a:visited{
    color:rgba(0,0,0,0);
    text-shadow:0px 0px white;
    text-decoration:none;
}
.pageContent .description a:hover{
    color:rgba(0,0,0,0);
    text-shadow:0px 0px white;
    text-decoration: underline;
}
.prev{
    width: 200px;
    top: 0px;
    Left: 0px;
    height: 100%;
    Display: block;
    position: absolute;
    z-index: 1;
}
@media screen and (max-width:1680px){
    .prev{
        width: 11.9vw;
    }
}
@media screen and (max-width:1000px){
    .prev{
        width: 100px;
    }
}
.prev.hide{
    display:none;
}
.prev .arrow{
    background-image: url(/App_Themes/coj4/images/menu/arrow_previous.png);
    left: 0px;
    position: absolute;
    font-size: 0px;
    background-position: center;
    background-size: 65px;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
@media screen and (max-width:1000px){
    .prev .arrow {
        background-size:6.5vw;
    }
}
@media screen and (max-width:800px){
    .prev .arrow {
        background-size:52px;
        background-position: center left 5px;
    }
}
@media screen and (max-width:500px){
    .prev .arrow {
        background-size:35px;
        background-position: center left 5px;
    }
}
.next{
    width:200px;
    top:0px;
    right:0px;
    height:100%;
    Display:block;
    position: absolute;
    z-index: 1;
}
@media screen and (max-width:1680px){
    .next{
        width: 11.9vw;
    }
}
@media screen and (max-width:1000px){
    .next{
        width: 100px;
    }
}
.next.hide{
    display:none;
}
.next .arrow {
    position: absolute;
    font-size: 0px;
    background-image: url(/App_Themes/coj4/images/menu/arrow_next.png);
    background-position: center;
    background-size: 65px;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
@media screen and (max-width:1000px){
    .next .arrow {
        background-size:6.5vw;
    }
}
@media screen and (max-width:800px){
    .next .arrow {
        background-size:52px;
        background-position: center right 5px;
    }
}
@media screen and (max-width:500px){
    .next .arrow {
        background-size:35px;
        background-position: center right 5px;
    }
}
.closeGallery{
    background-image: url(/App_Themes/coj4/images/menu/CloseX.png);
    position: absolute;
    width: 70px;
    height: 70px;
    font-size: 0px;
    display: block;
    right: 60px;
    top: 40px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 70px;
    z-index:1;
}
@media screen and (max-height:720px){
    .closeGallery{
        top: 8.333vh;
    }
}
@media screen and (max-height:500px){
    .closeGallery{
        top: 10px;
    }
}
@media screen and (max-width:1000px){
    .closeGallery{
        top: 10px;
        right: -5px;
    }
}

/*Custom pager control styles*/

.PagerControl .PagerNumberArea span {
    font-size:0px;
    padding:0px !important;
}

.PagerControl .PagerNumberArea span a {
    font-size:0px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: top;
    /*background-color:#015d93;*/
    /*border-radius:18px;*/
    height:18px;
    width:18px;
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.PagerControl .PagerNumberArea span .SelectedPage {
    font-size:15px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: top;
    border-radius:0px;
    /*background-color:rgba(0,0,0,0);*/
    /*background-color: rgba(200, 247, 255, 0.64);*/
    color:black;
    height:18px;
    width:18px;
    line-height: 1.2em;
    background-image:url();
    text-align: center;
}

.PagerControl .PagerNumberArea span .UnselectedPage {
    font-size:15px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: top;
    border-radius:0px;
    background-color:rgba(0,0,0,0);
    color:#015d93;
    line-height: 1.2em;
    background-image:url();
    text-align: center;
}

/*Top padding for photogalleries on news and events pages*/
.itemPadding {
    padding-top: 16px;
}

/*Gallery Detail View*/
.gallery h2{
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 5px;
    color: black;
    line-height: 1.2em;
    font-weight: bold;
}
.pageContent .gallery img.teaser{
    width: auto !important;
    max-width: calc(100% - 15px) !important;
    max-height: none !important;
    margin: 0px !important;
    margin-right: 0px !important;
    float: none !important;
}
.gallery .date{
    font-size:15px;
    line-height:1.4em;
    padding-right:15px;
}
.gallery .summary{
    font-size:15px;
    line-height:1.4em;
    padding-right:15px;
    padding-bottom:15px;
}
.gallery .story{
    font-size:15px;
    line-height:1.4em;
    padding-right:15px;
}
.gallery .story img{
    width: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0px !important;
    margin-right:15px !important;
    margin-bottom:15px !important;
    float: none !important;
    vertical-align:top; 
}
.gallery #sharebox{
    font-size: 15px;
    line-height: 1em;
}
.gallery .goBackButtonContainer{
    display:inline-block;
    width:100%;
    margin-top:15px;
}
.pageContent .gallery .story a:link, .pageContent .gallery .story a:active, .pageContent .gallery .story a:visited{
    color:#30567d;
    text-decoration:none;
    transition: color 0.4s;
}
.pageContent .gallery .story a:hover{
    color:black;
    text-decoration:none;
    cursor: pointer;
}
.gallery .triangleLeft{
    width: 0px;
    height: 0px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #30567d;
    vertical-align: middle;
    margin-top: -3px;
    display: inline-block;
    transition: border-right 0.4s;
    font-size: 0px;
}
.gallery a.goBackButton:hover .triangleLeft{
    border-right: 12px solid black;
}
/*Styles for the Full Screen Slide Gallery*/
/*Hide Fixed Slide Gallery Item List At Start*/
.fixedSlideGalleryItems{
    display:none;   
}
/*Hide Input Items*/
.fixedSlideGalleryContainer .fullScreenSlideGalleryItem{
    display:none;
}
.fixedSlideGalleryContainer.doesNotHaveChildren{
    display:none;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryBackground{
    position:fixed;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryCurrentBackground{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryCurrentBackground.slideInRight{
    animation-name:fixedSlideBGSlideInRight;
    animation-duration:0.8s;
    left:0px;
}
@keyframes fixedSlideBGSlideInRight{
    from{ left:-100%; }
    to{ left:0px; }
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryCurrentBackground.slideInLeft{
    animation-name:fixedSlideBGSlideInLeft;
    animation-duration:0.8s;
    left:0px;
}
@keyframes fixedSlideBGSlideInLeft{
    from{ left:100%; }
    to{ left:0px; }
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryCurrentBackground img{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryCurrentBackground iframe{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryCurrentBackground video{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryPreviousBackground{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryPreviousBackground.slideOutRight{
    animation-name:fixedSlideBGSlideOutRight;
    animation-duration:0.8s;
    left:100%;
}
@keyframes fixedSlideBGSlideOutRight{
    from{left:0px;}
    to{left:100%;}
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryPreviousBackground.slideOutLeft{
    animation-name:fixedSlideBGSlideOutLeft;
    animation-duration:0.8s;
    left:-100%;
}
@keyframes fixedSlideBGSlideOutLeft{
    from{left:0px;}
    to{left:-100%;}
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryPreviousBackground img{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryPreviousBackground iframe{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryPreviousBackground video{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryBackgroundOverlay{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.fixedSlideGalleryContainer.hasChildren .fixedSlideGalleryForeground{
    position:relative;
}
.fixedSlideGalleryForegroundColumns{
    font-size: 0px;
    line-height: 0px;
    width: 100%;
    position: relative;
}
.fixedSlideGalleryForegroundColumnLeft{
    width:calc(50% - 15px);
    margin-right:30px;
    display:inline-block;
    vertical-align:top;
}
@media screen and (max-width:1280px){
    .fixedSlideGalleryForegroundColumnLeft{
        width:calc(50% - 7.5px);
        margin-right:15px;
    }
}
@media screen and (max-width:800px){
    .fixedSlideGalleryForegroundColumnLeft{
        width:100%;
        margin-right:0px;
        margin-bottom:75px;
    }
}
.fixedSlideGalleryForegroundColumnRight{
    width:calc(50% - 15px);
    display:inline-block;
    vertical-align:top;
}
@media screen and (max-width:1280px){
    .fixedSlideGalleryForegroundColumnRight{
        width:calc(50% - 7.5px);
    }
}
@media screen and (max-width:800px){
    .fixedSlideGalleryForegroundColumnRight{
        width:100%;
    }
}
.fixedSlideGalleryForegroundColumnRight .fixedSlideGalleryForegroundColumnRightPadding{
    position:relative;
    width:100%;
    padding-top:56.25%;
}
@media screen and (max-width:1280px){
    .fixedSlideGalleryForegroundColumnRight .fixedSlideGalleryForegroundColumnRightPadding{
        width: calc(100% - 60px);
    }
}
.fixedSlideGalleryForegroundNavigation{
    position: absolute;
    top: 100%;
    width: calc(50% - 15px);
    text-align:center;
}
@media screen and (max-width:1280px){
    .fixedSlideGalleryForegroundNavigation{
        position: absolute;
        top: calc(100% - 22px);
        width: calc(50% - 7.5px);
    }
}
@media screen and (max-width:800px){
    .fixedSlideGalleryForegroundNavigation{
        position: relative;
        top:auto;
        margin-top:15px;
        width:100%;
    }
}
.fixedSlideGalleryForegroundButtonLeft{
    display:inline-block;
    position:absolute;
    width: 26px;
    height: 26px;
    background-image: url(/App_Themes/jax01/images/fullScreenGallery/26x26-chevron-left.png);
    background-size: contain;
    vertical-align:top;
}
.fixedSlideGalleryForegroundButtonRight{
    display:inline-block;
    position:absolute;
    width: 26px;
    height: 26px;
    margin-left:-26px;
    background-image: url(/App_Themes/jax01/images/fullScreenGallery/26x26-chevron-right.png);
    background-size: contain;
    vertical-align:top;
}
.fixedSlideGalleryForegroundButtons{
    position: relative;
    margin-left: 30px;
    margin-right: 30px;
    max-width:calc(100% - 60px);
    display:inline-block;
    vertical-align:top;
}
.fixedSlideGallerySquareButton{
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 3px;
    border: 2px solid white;
    width: 12px;
    height: 12px;
    background-color: white;
    transition: background-color 1s;
}
.fixedSlideGallerySquareButton:hover{
    background-color:black;
}
.fixedSlideGallerySquareButton.active{
    background-color:grey;
}
/*Fixed Slide Description*/
.fixedSlideGalleryPreviousDescription{
    position:relative;
    opacity:0;
    pointer-events:none;
    display:none;
}
.fixedSlideGalleryPreviousDescription.slideOutRight{
    animation-name:fixedSlideGalleryDescriptionSlideOutRight;
    animation-duration:0.8s;
}
@keyframes fixedSlideGalleryDescriptionSlideOutRight{
    from{opacity:1; /*left:0px;*/ }
    to{opacity:0; /*left:50px;*/ }
}
.fixedSlideGalleryPreviousDescription.slideOutLeft{
    animation-name:fixedSlideGalleryDescriptionSlideOutLeft;
    animation-duration:0.8s;
}
@keyframes fixedSlideGalleryDescriptionSlideOutLeft{
    from{opacity:1; /*left:0px;*/ }
    to{opacity:0; /*left:-50px;*/ }
}
.fixedSlideGalleryCurrentDescription{
    position:relative;
}
.fixedSlideGalleryCurrentDescription.slideInRight{
    animation-name:fixedSlideGalleryDescriptionSlideInRight;
    animation-duration:0.8s;
}
@keyframes fixedSlideGalleryDescriptionSlideInRight{
    from{opacity:0; left:-15px; }
    to{opacity:1; left:0px; }
}
.fixedSlideGalleryCurrentDescription.slideInLeft{
    animation-name:fixedSlideGalleryDescriptionSlideInLeft;
    animation-duration:0.8s;
}
@keyframes fixedSlideGalleryDescriptionSlideInLeft{
    from{opacity:0; left:15px; }
    to{opacity:1; left:0px; }
}
/*Gallery Picture Positions*/
.fixedSlideGalleryPicture0{
    position: absolute;
    top: 30px;
    left: -30px;
    width: 100%;
    height: 100%;
    display:none;
    z-index:5;
}
.fixedSlideGalleryPicture0.slideForward{
    animation-name:slideForward0;
    animation-duration:0.8s;
    pointer-events:none;
    opacity:0;
    display:block;
}
@keyframes slideForward0{
    from{ top:0px; left:0px; opacity:1 }
    to{ top:30px; left: -30px; opacity:0; }
}
.fixedSlideGalleryPicture0 img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture0 iframe{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture0 video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture1{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index:4;
}
.fixedSlideGalleryPicture1.slideForward{
    animation-name:slideForward1;
    animation-duration:0.8s;
}
@keyframes slideForward1{
    from{ top:-30px; left:30px; }
    to{ top:0px; left: 0px; }
}
.fixedSlideGalleryPicture1.slideBackward{
    animation-name:slideBackward1;
    animation-duration:0.8s;
}
@keyframes slideBackward1{
    from{ top:30px; left:-30px; opacity:0; }
    to{ top:0px; left: 0px; opacity:1; }
}
.fixedSlideGalleryPicture1.slideFadeIn{
    animation-name:slideFadeIn1;
    animation-duration:0.8s;
}
@keyframes slideFadeIn1{
    /*0%{ left:30px; opacity:0; }
    33%{ left: 0px; opacity:1; }
    100%{ left: 0px; opacity:1; }*/
    from{ left:30px; opacity:0; }
    to{ left: 0px; opacity:1; }
}
.fixedSlideGalleryPicture1 img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture1 iframe{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture1 video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture2{
    position: absolute;
    top: -30px;
    left: 30px;
    width: 100%;
    height: 100%;
    z-index:3;
}
.fixedSlideGalleryPicture2.slideForward{
    animation-name:slideForward2;
    animation-duration:0.8s;
}
@keyframes slideForward2{
    from{ top:-60px; left:60px; }
    to{ top:-30px; left: 30px; }
}
.fixedSlideGalleryPicture2.slideBackward{
    animation-name:slideBackward2;
    animation-duration:0.8s;
}
@keyframes slideBackward2{
    from{ top:0px; left:0px; }
    to{ top:-30px; left: 30px; }
}
.fixedSlideGalleryPicture2.slideFadeIn{
    animation-name:slideFadeIn2;
    animation-duration:0.8s;
}
@keyframes slideFadeIn2{
    /*0%{ left:60px; opacity:0; }
    33%{ left:60px; opacity:0; }
    66%{ left: 30px; opacity:1; }
    100%{ left: 30px; opacity:1; }*/
    from{ left:60px; opacity:0; }
    to{ left: 30px; opacity:1; }
}
.fixedSlideGalleryPicture2 img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture2 iframe{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture2 video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture3{
    position: absolute;
    top: -60px;
    left: 60px;
    width: 100%;
    height: 100%;
    z-index:2;
}
.fixedSlideGalleryPicture3.slideForward{
    animation-name:slideForward3;
    animation-duration:0.8s;
}
@keyframes slideForward3{
    from{ top:-90px; left:90px; opacity:0; }
    to{ top:-60px; left: 60px; opacity:1; }
}
.fixedSlideGalleryPicture3.slideBackward{
    animation-name:slideBackward3;
    animation-duration:0.8s;
}
@keyframes slideBackward3{
    from{ top:-30px; left:30px; }
    to{ top:-60px; left: 60px; }
}
.fixedSlideGalleryPicture3.slideFadeIn{
    animation-name:slideFadeIn3;
    animation-duration:0.8s;
}
@keyframes slideFadeIn3{
    /*0%{ left:90px; opacity:0; }
    66%{ left:90px; opacity:0; }
    99%{ left: 60px; opacity:1; }
    100%{ left: 60px; opacity:1; }*/
    from{ left:90px; opacity:0; }
    to{ left: 60px; opacity:1; }
}
.fixedSlideGalleryPicture3 img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture3 iframe{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture3 video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture4{
    position: absolute;
    top: -90px;
    left: 90px;
    width: 100%;
    height: 100%;
    z-index:1;
    display:none;
}
.fixedSlideGalleryPicture4.slideBackward{
    animation-name:slideBackward4;
    animation-duration:0.8s;
    opacity:0;
    display:block;
    pointer-events:none;
}
@keyframes slideBackward4{
    from{ top:-60px; left:60px; opacity:1; }
    to{ top:-90px; left: 90px; opacity:0; }
}
.fixedSlideGalleryPicture4 img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture4 iframe{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.fixedSlideGalleryPicture4 video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.gallery .slide_in img{
    width: 100% !important;
    height: 100%  !important;
    object-fit: contain;
    object-position: center;
}
.gallery .slide_in iframe{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}
.gallery .slide_in video{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}
.gallery .slide_out img{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}
.gallery .slide_out iframe{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}
.gallery .slide_out video{
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}