/*
    (c)2021 - visuallizard.com

    General styles.
    Template, view, plugin and element specific, etc.
*/

/* !test elements */



img { max-width: 100%; }

/* ! [[ Banner styles ]] */
.banner-set {
    display: block;
    position: relative;
}
.banner-set div { padding: 0; line-height: 0; }



/* ! [[ Gallery styles ]] */
div.galleries-set {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    column-gap: 2%;
    row-gap: 1rem;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
}
div.galleries-set > div {
    display: block;
    position: relative;
    flex-basis: 32%;
    max-width: 32%;
    margin: 0;
    padding: 0;
    text-align: center;
}
    div.galleries-set > div figure {
        margin: 0;
    }
    div.galleries-set > div h3 {
        display: block;
        position: relative;
        margin: 0;
        border: 1px solid #000;
        border-radius: 1rem;
    }
        div.galleries-set > div h3 a {
            display: block;
            padding: 1.5rem;
            border-radius: 1rem;
        }
        div.galleries-set > div h3 a:hover {
            background: #deeeff;
        }

.gallery-box {
    position: relative;
    display: block;
    margin: 0;
    height: 0;
    padding-top: 100%;
    background-size: cover;
}
.gallery-box a {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    justify-content: flex-end;
    color: #fff;

    transform: scale(1);
    cursor: pointer;
}
.gallery-text {

}
.gallery-title {
    margin-bottom: 0;
}


/* list of galleries */
/* div.galleries-set, */
div.gallery-set {
    display: flex;
    position: relative;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 2%;
    row-gap: 1rem;
    width: 100%;
    padding: 2rem 0;
    margin: 0 auto;
}
    div.gallery-set div.gallery-image {
        display: block;
        position: relative;
        flex-basis: 32%;
        max-width: 32%;
        border-radius: 10%;
        border: 2px solid transparent;
        transition: all 0.5s ease;
    }
    div.gallery-set div.gallery-image:nth-child(odd):hover { border: 2px solid #000; transform: perspective(60rem) rotateY(5deg) rotateZ(-1deg); box-shadow: -10px 0px 0px #000; }
    div.gallery-set div.gallery-image:nth-child(even):hover { border: 2px solid #000; transform: perspective(60rem) rotateY(-5deg) rotateZ(1deg); box-shadow: 10px 0px 0px #000; }
        div.gallery-set div.gallery-image img {
            border-radius: 9%;
            filter: sepia(70%);
            transition: all 0.2s ease;
        }
        div.gallery-set div.gallery-image:hover img {
            filter: sepia(0%);
        }
    div.gallery-set p.back {
        display: block;
        position: relative;
        flex-basis: 100%;
    }




/* ! [[ Bulletin Module ]] */
div#progress {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    transform-origin: left center;
    width: 100%;
    height: 10px;
    margin: 0;
    background-color: #006699;

    animation: progress linear;
    animation-range: 0% calc(100% - 200px);
    animation-timeline: scroll(nearest block);
}
@keyframes progress {
    from { transform: scaleX(0); }
}
div.article-set {}
div.article-set article {
    display: block;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    border: 1px solid #000;
    background: rgba(255,255,255,0.5);
    color: #000;
    transform-origin: center center;
    transition: all 0.2s ease;
}
div.article-set article:hover,
div.article-set article:focus-within { background: #deeeff; }
div.article-set article:nth-child(odd) {  }
div.article-set article:nth-child(even) {  }
div.article-set article:nth-child(odd):hover,
div.article-set article:nth-child(odd):focus-within { transform: perspective(150rem) rotateY(1deg); box-shadow: -5px 0px 0px #000; }
div.article-set article:nth-child(even):hover,
div.article-set article:nth-child(odd):focus-within { transform: perspective(150rem) rotateY(-1deg); box-shadow: 5px 0px 0px #000; }
div.article-set article h2 { display: block; text-align: center; }
div.article-set article h2 a { display: block; color: inherit; }
div.article-set article h2 a:hover { text-decoration: underline; }
div.article-set article time { display: block; padding: 0.5rem; border-top: 1px solid; text-align: right; }

article.article-view {
    padding: 2rem;
    margin: 0 0 2rem 0;
    border: 1px solid #000;
    border-radius: 30px;
    background: rgba(255,255,255,0.8);
    transition: all 1s ease;
}
article.article-view:hover { box-shadow: 0px 0px 10px #000; }
article.article-view a { font-weight: 700; color: #006699; }
article.article-view a:hover { text-decoration: underline; }
article.article-view a.button { border: 2px solid #006699; background: #fff; color: #006699; }
article.article-view a.button:hover { text-decoration: none; background: #006699; color: #fff; }

/* -- experimental colouring
article.article-view.style-1 { background: #77aa33; color: #000; box-shadow: -500px 0px 0px 0px #77aa33, 500px 0px 0px 0px #77aa33; }
article.article-view.style-2 { background: #006699; color: #fff; box-shadow: -500px 0px 0px 0px #006699, 500px 0px 0px 0px #006699; }
article.article-view.style-3 { background: #ffcc00; color: #000; box-shadow: -500px 0px 0px 0px #ffcc00, 500px 0px 0px 0px #ffcc00; }
article.article-view.style-4 { background: #ff2200; color: #fff; box-shadow: -500px 0px 0px 0px #ff2200, 500px 0px 0px 0px #ff2200; }
article.article-view.style-5 { background: #770033; color: #fff; box-shadow: -500px 0px 0px 0px #770033, 500px 0px 0px 0px #770033; }
article.article-view.style-6 { background: #ffcc00; color: #000; box-shadow: -500px 0px 0px 0px #ffcc00, 500px 0px 0px 0px #ffcc00; }
article.article-view.style-1 a { color: #333; }
article.article-view.style-2 a { color: #eee; }
article.article-view.style-3 a { color: #333; }
article.article-view.style-4 a { color: #eee; }
article.article-view.style-5 a { color: #eee; }
article.article-view.style-6 a { color: #333; }
article.article-view.style-1 a.button { background: #fff; color: #77aa33; }
article.article-view.style-2 a.button { background: #fff; color: #006699; }
article.article-view.style-3 a.button { background: #000; color: #fff; }
article.article-view.style-4 a.button { background: #fff; color: #ff2200; }
article.article-view.style-5 a.button { background: #fff; color: #770033; }
article.article-view.style-6 a.button { background: #000; color: #fff; }
*/

/* ! [ Articles - general ] */


/* ! [ Articles - Index ] */
    .articles-index .more-all {
        display: none;
    }

/* ! [ Articles - Latest ] */
    .articles-latest {

    }
    .articles-latest .article-items {

    }
    .articles-latest .article-item {

    }
    .articles-latest .pagination-links {
        display: none;
    }

/* ! [ Articles - Single article (Bulletin view) ] */
    .article-view {

    }
    .article-view .article-headline {
        display: block;
        padding: 1rem 0;
        text-align: center;
    }
        .article-view .article-headline > a {
            display: block;
        }
    .article-view .article-meta {
        display: block;
        position: relative;
        padding: 1rem 0;
    }
        .article-view .article-meta time.article-date {
            display: inline-block;
            position: relative;
            padding: 0.5rem;
            border-bottom: 2px solid;
            font-size: 1.25rem;
        }
    .article-view .article-img {

    }

/* ! [ Archive List ] */
    .archive-list {
        list-style: none;
        margin: 0;
        padding-left: 1rem;
    }
    .archive-list.year {
        margin-top: 1rem;
    }
        .archive-list.month {

        }
            .archive-articles {
                padding-left: 1rem
            }
