html, body{height:100%;width: 100%; margin:0;padding: 0; background: white;box-sizing: content-box;}

*{font-family:'Roboto', Arial,sans-serif;}

.container{width: 100%;height: 100%;display: flex;align-items: center;flex-direction: column;}

.main-header {width: 100%;height: auto;background: white;display: flex;align-items: stretch;justify-content: center;
    position: fixed;top: 0;left: 0;z-index: 100;border-bottom: 1px solid #bbb;}

.main-header .logo {
    height: 25px;
    width: 25px;
    background: url('../img/galleryIcon.png') no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    opacity:0;
}


.main-header .bigLogo{
    height :auto;
    margin-top:6px; 
}

.main-header .bigLogo img{
    max-height:100%;
    max-width:100%;
}

.main-header .highLogo img.noAnimating{
    height: 44px;
}

.main-header .main-menu {
    position: absolute;
    right: 77px;
    top: 50%;
    transform: translateY(-50%);
    opacity:0;
    height:100%;
}
.main-header .main-menu ul {
    position: absolute;
    background: rgba(255,255,255,0.6);
    gap: 18px;
    margin: 0;
    right: 0px;
    padding: 0;
    list-style: none;
    align-items: center;
    z-index:-1;
    top:-300px;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

.main-header .main-menu ul.active{
    transform: translateY(346px);
}

.main-header .main-menu a {
    display: inline-block;
    padding: 4px 3px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.helveticaFont{font-family: Helvetica, Arial, sans-serif;font-size:20px;}

.main-header .main-menu a img{
	height: 25px;
    width: 25px;
}

.main-header .main-menu .menu-icon-container{
    height:100%;
    width:27px;
    background:white;
    display: flex;
    align-items: center;
}

.main-header .main-menu .menu-icon{
    position:relative;
    display:inline;
    height:25px;
    cursor:pointer;
    top:0px;
}

.carousel{width: 100%;height: auto; flex: 0 0 85%; overflow: hidden; margin:14px auto 0 auto;position: relative;
    display: flex;justify-content: center;align-items: center;}

.swipeContainer{height: 100%;width:100%;position:relative;}

.masonryContainer .swipeContainer{position:relative; width: 100%; height: 100%; overflow: hidden;}

#picCounter{position:absolute;bottom:70px; right:80px;font-size:12px;}

.carouselIcon{display:none;}

.carousel .slide{width: 100%;height: calc(100% - 50px);position: absolute;top: 32px;left: 0;
    background-size: contain;background-repeat: no-repeat;background-position: center center;
    display: flex;justify-content: center;align-items: baseline;font-size: 12px;
    transition: transform 560ms ease;color:white; opacity:0;}

.carousel .slide.active, .masonryContainer .slide.active{opacity: 1; z-index: 8;}

/*#verTodo{position: absolute;top:0;/*right:70px; z-index:10; text-decoration:none;font-weight:bold;color:black;}*/

/*#verTodo:hover{color:#3b3b3b}*/

.imgButton{z-index:9;
    position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background:transparent;
        color: rgba(255,255,255,0.8);
        border: none;
        width: 34px;
        height: 14px;
        border-radius: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size:35px;
        font-weight:100;
        text-shadow:
    -1px -1px 0 rgba(6,6,6,0.3), /* Top-left shadow */
     1px -1px 0 rgba(6,6,6,0.3), /* Top-right shadow */
    -1px  1px 0 rgba(6,6,6,0.3), /* Bottom-left shadow */
     1px  1px 0 rgba(6,6,6,0.3);
    right:80px; 
    }

.imgButton:hover{
    color:#3b3b3b;
}

.carousel-prev{left: 80px;opacity: 0;}

.collapseCarousel{position:absolute;bottom:-6px;cursor:pointer;z-index:15;}

.cssOverlay{display: flex; position:fixed; top:45px;left:0; width: 100%; height: 100vh;z-index: 10;
    background-color: rgba(255,255,255,1);overflow: auto;padding: 24px;box-sizing: border-box;align-items:center;
    justify-content: left; flex-wrap:wrap;align-content: flex-start;flex-direction:row; 
}

.viewAllImg{height:150px; width:150px;object-fit:contain;display:block;margin:15px;border:solid 1px #ebebeb; padding:10px;cursor: pointer;}

.viewAllImg:hover{border:solid 1px #bfbfbf;}

.overlay-close, .fullViewButton{top: 64px;right:80px;width:20px;height:20px;font-size:35px}


/* replaced fixed-grid masonry with column-based masonry that preserves image aspect ratios */
.grid{
    width: calc(100% - 160px);
    column-count: 4;
    column-gap: 12px;
    padding: 12px 0;
    box-sizing: border-box;
}

.grid .grid-miniature{
    display: inline-block;               /* required for column layout */
    width: 100%;
    margin: 0 0 12px;
    break-inside: avoid;                  /* prevent breaking across columns */
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    overflow: hidden;
    border-radius: 4px;
    background: #f6f6f6;
}

/* keep original image aspect ratio: fill column width, height adjusts automatically */
.grid .grid-miniature img{
    display: block;
    width: 100%;
    height: auto;                         /* preserves original aspect ratio */
    object-fit: cover;                    /* safe if you later set a fixed height on items */
}

.footer{height:100px;width:100%; background:#121215;bottom:0;left:0;color:white;position:relative;}

.footer div{align-content: center;
text-align: center;
display: grid;
place-items: center;
opacity:0.7;
}

@media (min-width: 1921px) {
    .main-header .logo {left:25%;}
    .main-header .highLogo .noAnimating{height: 72px;}
    .main-header .main-menu {right:25%;}  
    .main-header .main-menu ul.active{
    transform: translateY(375px);
}
    .carousel{margin:42px auto 0 auto}  
    .grid { column-count: 4;}
}


/* responsive column counts */
@media (max-width: 1100px) {
    .grid { column-count: 3;width:100% }
    .fullViewButton{display: none;}
    .main-header .logo {left:15px}
    .main-header .logo:nth-of-type(2) {left:60px;}
    .main-header .main-menu {right: 15px;}
    .main-header .bigLogo{height :auto;margin-top:6px; }
    /*.main-header .bigLogo img{max-height:85%;max-width:856%;}*/
    .imgButton {background:transparent;}
    .imgButton:hover{color:#3b3b3b;}
    .carousel-prev{left:10px;}
    .carousel-next{right:10px;}
    #picCounter{right: 10px;}
}

@media (max-width: 800px){
	.carousel{flex: 0 0 75%;} 
    .grid { column-count: 2; }
}

@media (max-width: 660px) {
    .carousel-prev, .carousel-next{display:none;}
    .grid { column-count: 1;}
    .collapseCarousel{display:none;}
	.carousel .slide{border:solid 1px #eee;}

    .masonryContainer.mobile .swipeContainer{position:relative; width: 100vw; height: 100vw; overflow: hidden;}
    .masonryContainer.mobile .carouselIcon{display:initial;}
    .masonryContainer.mobile .slide{position: absolute; width: 100vw; height: 100%; top: 20px; left: 0;
    background-size: contain;background-repeat: no-repeat;background-position: center center;
    display: flex;justify-content: center;align-items: baseline;font-size: 12px;
    transition: transform 560ms ease;opacity: 1;color:white;border:solid 1px #eee}

    .cssOverlay{padding:2px;display:block;text-align: center;align-items: center;padding-bottom: 50px;;}
    .viewAllImg{height:100px; width:100px;margin:0; padding:3px;display: inline;}  
}

@media (max-width: 375px) {
	.carousel{flex: 0 0 88%;}
}

@media (max-width: 320px) {
    .main-header .logo {left:5px}
    .main-header .logo:nth-of-type(2) {left:30px;}
    .main-header .main-menu {right: 5px;}
}






















