﻿.square {
    position:relative;
    width: 100%;

    overflow: hidden;
}

.square-img {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scale(1.0);
    transition: all 0.5s ease;
    /*padding: 2px;*/
}

.square:hover {
    cursor: pointer;
}

.square:hover .square-img {
    transform: scale(1.2);
    transition: all 0.5s ease;
}

.square:hover .overlay {
    opacity: 1;
    transition: all 0.5s linear;
}

.overlay {
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s linear;
}

.gallery-img {
    padding: 2px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img-display {
    background: white;
    padding: 5px;
    max-width: 100%;
    max-height: 85vh;
    display: inline;
}

span.gallery-img-story {
    display: inline;
    color: white;
    font-weight: 300;
    font-style: italic;
    position: relative;
}

.modal-backdrop {
   opacity: 0.9 !important;
   background: radial-gradient(#374046, black);
   animation-duration: 0.4s;
   animation-name: opacityChange;
}

@keyframes opacityChange {
    from {opacity: 0;}
    to {opacity: 0.9;}
}

@keyframes opacityChangeFull {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes opacityChangeReverse {
    from {opacity: 1;}
    to {opacity: 0;}
}

.modal {
    align-content:center;
    padding: 0 !important;
}

#modalDisplay {
    padding-right: 0px !important;
}

.modal-dialog {
  display: inline-block;
  top: 50%;
  left: 50%;
  margin-left: -16px;
  width: 95%;
  transform: translate(-50%, -50%) !important;
}

.fadeSlow {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.75s ease;
}

.fadeSlow.show {
    opacity: 1;
    transform: scale(1);
}

@keyframes changeBackground {
    from {background-position: left top;}
    to {background-position: bottom right; }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 100% !important;
    }
}

@media (min-width: 576) {
    .modal-lg {
        max-width: 100% !important;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: none !important;
        margin-left: -31px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

.filter {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter a {
    cursor: pointer;
}

.filter .fa-filter {
    padding-top: 10px;
    font-size: 1.25em;
    color: #888888;
}

.gallery-container {
    animation-name: opacityChangeFull;
    animation-duration: 0.75s;

    margin-bottom: 80px;
    padding: 20px 20px 5px 20px;
}

h3 {
    font-family: 'Lato';
    font-weight: 300;
}

.gallery-container h3 {
    margin-bottom: 35px;
}

.btn-circle.btn-xl {
    width: 60px;
    height: 60px;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 24px;
    line-height: 1.33;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
    margin: 0 auto;
}

.collapseContainer {
    display: none;
}

.collapseContainer button {
    margin-bottom: 20px;
}

.collapseContainer.collapseDark button {
    margin-bottom: 5px;
}

.top-left-body {
    position: absolute;
    left: 0px;
    z-index: 999;
    text-align: left;
    width: 100vw;
}

.collapseContainer a.nav-link {
    background-color: #fcfcfc;
    cursor: pointer;
}

.left-margin {
    margin-left: 10%;;
}

@media (max-width: 767px) {
    div.gallery {
        max-width: 80%;
    }
}

@media (max-width: 625px) {
    .filter {
        display: none;
    }

    .navigation {
        display: none;
    }

    a.navbar-brand {
        font-size: 1.25em;
    }

    .logo-wrapper {
        margin: 0 auto;
    }

    .collapseContainer {
        display: block;
    }

    .collapseContainer a.nav-link:after { 
        border-bottom: none;
    }

    .collapseContainer.collapseDark a.nav-link { 
        background-color:#888888;
        color:white;
        text-align: center;
    }

    #collapseHeader,#collapseFilter {
        position: relative;
        left: -5px;
        width: 100vw;
        text-align: center;
    }

    .collapseContainer a.nav-link:hover, .collapseContainer a.active, .collapseContainer.collapseDark a.nav-link:hover, .collapseContainer.collapseDark a.active {
        background-color: rgb(221, 221, 221);
        color: black;
    }
}

@media (max-width: 400px) {
    a.navbar-brand {
        font-size: 1.1em;
    }

    #header {
        height: 70px;
    }
}

@media (max-width: 375px) {
    .logo-wrapper {
        padding-left: 40px;
    }
}