.button {
    display: inline-block;
    padding: 0.5em 1.0em;
    border-radius: 4px;
    background: #ffffff;
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #000000;
    margin: 10px;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    transition: background 0.3s;
}

#grid-container.hiddenall {
    height: 930px!important;
    overflow: hidden;
}

#grid-container::before {
    content: '';
    z-index: 100;
    width: 100%;
    height: 300px;
    display: block;
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

#grid-container.no-before:before{
    content:none;
}

#view-all {
    position: absolute;
    bottom: 50px;
    z-index: 1000;
    background: var(--blue);
    display: block;
    white-space: nowrap;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 20px 30px;
    border-radius: 5px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 100px;
    color: var(--white);
}

.button:hover {
    background-color: rgba(0,0,0,0.1);
}

.button:active {
    background-color: rgba(0,0,0,0.1);
    outline: none;
}

.button-group {
    margin: 20px 0;
    text-align: center;
}

.button-group:after {
    content: '';
    display: block;
    clear: both;
}

img {
    vertical-align: middle;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.grid article {
    background-color: #FFFFFF;
    display: block;
    float: left;
    margin: 1%;
    width: 31.3%;
    overflow: hidden;
    border-radius: 10px;
}

.grid article img,.grid article iframe {
    border-radius: 10px;
}

.top-photo {
    display: flex;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    margin-top: 10px;
}

.top-photo--line {
    border-bottom: 2px solid var(--blue);
    opacity: 0.2;
    margin: 30px 15px;
}

.top-photo .top-photo--image {
    width: 33%;
    padding: 10px;
}

.top-photo .top-photo--content {
    width: 66%;
    padding: 10px 10px 10px 20px;
}

.top-photo--image img {
    width: 100%;
    border-radius: 10px;
}

.top-photo--text {
    font-size: 18px;
    font-weight: 400;
}

.top-photo--content h1 {
    font-size: 40px;
    line-height: 1em;
    font-weight: bold;
    margin-top: 0;
}

h2.gallery-title {
    font-size: 40px;
    line-height: 1.2em;
    font-weight: bold;
    display: block;
    padding: 10px;
    text-align: center;
}

@media (max-width: 767px) {
    .grid article {
        width: 48%;
    }
}

@media (max-width: 479px) {
    .grid article {
        margin: 2% 0;
    }
}

article iframe {
    min-height: 250px;
    width: 100%;
}