/*
	(c)2021 - visuallizard.com

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

:root {
    --black: #000000;
    --white: #ffffff;
    --ltgrey: #dddddd;
    --grey: #999999;
    --dkgrey: #333333;
    --yellow: #ffcc00;
    --green: #339900 ;
    --red: #aa0000;
    --blue: #0077cc;

    /* brand colouring - primary */
    --riverclayred: #5c0f0f;
    --deepcurrant: #380a0a;
    --wintersun: #fff5ed;
    --gatheringglow: #eb6340;
    /* brand colouring - secondary */
    --canopygreen: #82874a;
    --canopygreen-deep: #404f36;
    --canopygreen-lite: #e3e899;
    --prairieochre: #b58030;
    --prairieochre-deep: #81471e;
    --prairieochre-lite: #ffcd4d;
    --bigskyblue: #5778c4;
    --bigskyblue-deep: #1c1c54;
    --bigskyblue-lite: #d5e6ff;
    --twilightthistle: #bfadd4;
    --twilightthistle-deep: #743e68;
    --twilightthistle-lite: #e9e6ff;
}


img { max-width: 100%; }
div.message { flex: 0 0 100%; max-width: 100%; font-size: 1.25rem; font-weight: 500; }
div.message i.icon { width: 2rem; height: 2rem; }
div.container > div.main-region { flex: 0 0 100%; max-width: 100%; }
.center { width: 100%; text-align: center; }

/* !mobile menu styles */
.mobile-menu-toggle {
    display: block;
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0;
    font-size: 1.6rem;
    text-indent: -999em;
    background: url("../../../img/icon-menu-open.svg") no-repeat center center;
    background-size: contain;
}
.mobile-menu-toggle.active {
    background: url("../../../img/icon-menu-close.svg") no-repeat center center;
}

button.btn,
a.btn,
a.btn-lite,
a.btn-dark {
    display: inline-flex;
    width: auto;
    border: none;
    margin-top: 3rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 15%;
    background: none;
    transition: all 0.2s ease;
}
button.btn.btn-dark,
a.btn.btn-dark {
    padding: 2rem 5rem 1.8rem 2rem;
    border: 1px solid var(--riverclayred);
    background-color: transparent;
    background-image: url("../../../img/icon-arrow-dark.svg");
    background-repeat: no-repeat;
    background-position: 95% calc(50% - 2px);
    background-size: 24px 24px;
    color: var(--riverclayred);
}
button.btn.btn-dark:hover,
a.btn.btn-dark:hover,
button.btn.btn-dark:active,
a.btn.btn-dark:active {
    background-color: var(--riverclayred);
    background-image: url("../../../img/icon-arrow-lite.svg");
    color: var(--wintersun);
}
button.btn.btn-lite,
a.btn.btn-lite {
    padding: 2rem 5rem 1.8rem 2rem;
    border: 1px solid var(--wintersun);
    background-color: transparent;
    background-image: url("../../../img/icon-arrow-lite.svg");
    background-repeat: no-repeat;
    background-position: 95% calc(50% - 1px);
    background-size: 24px 24px;
    color: var(--wintersun);
}
button.btn.btn-lite {
    background-color: var(--riverclayred);
}
button.btn.btn-lite:hover,
a.btn.btn-lite:hover,
button.btn.btn-lite:active,
a.btn.btn-lite:active {
    background-color: var(--wintersun);
    background-image: url("../../../img/icon-arrow-dark.svg");
    color: var(--riverclayred);
}

.form-block {
    display: block;
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 3rem 0;
    margin: 0 auto;
}
form.fm-form {
    max-width: none;
}
.fm-form input[type="text"],
.fm-form input[type="email"],
.fm-form textarea {
    border: 1px solid var(--riverclayred);
    border-radius: 0.5rem;
    background: none;
    color: var(--riverclayred);
}
.fm-form > div > label {
    margin: 0 0 1rem 0;
    font-size: 1.6rem;
    font-weight: 400;
}



/* ! [[ Gallery module ]] */
ul.galleries {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    column-gap: 2%;
    row-gap: 1.25rem;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}
    ul.galleries li.gallery {
        display: block;
        position: relative;
        flex: 0 0 23.5%;
        max-width: 23.5%;
    }
        ul.galleries li.gallery figure {
            display: block;
            position: relative;
            width: 100%;
            height: 180px;
            margin: 0;
        }
        ul.galleries li.gallery > a {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            z-index: 1;
        }
        ul.galleries li.gallery div.gallery-text {
            display: block;
            position: relative;
            color: #000;
        }
            ul.galleries li.gallery div.gallery-text h3 {
                margin: 0.5rem 0 1.5rem 0;
            }

.gallery-set {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1rem 5rem;
    border-radius: 5px;
    list-style-type: none;
    overflow: hidden;
}
.gallery-set .slick-slide {
    top: 50%;
    margin: 0 0.5rem;
    padding: 0;
    max-width: 480px;
}
.slick-arrow { text-indent: -999em; }
.slick-arrow.slick-prev { background-image: url('../../../img/icon-arrow-dark.svg'); transform: translateY(-50%) scaleX(-1); left: 0; }
.slick-arrow.slick-next { background-image: url('../../../img/icon-arrow-dark.svg'); transform: translateY(-50%); right: 0; }

.gallery-set .slick-slide > div {
    display: block;
    line-height: 0;
    border-radius: 1rem;
    overflow: hidden;
}
.gallery-set .slick-slide li {
    display: block;
    position: relative;
}
.gallery-set .slick-slide li a {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    cursor: pointer;
}



/* ! [[ General List styles - Jury display ]] */
div.jury-set {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    row-gap: 5rem;
}
div.jury-set > div.jury-item:first-child {
    margin-top: 0;
}
div.jury-item {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    row-gap: 2rem;
    width: 100%;
    padding: 0;
    margin: 0;
}
div.jury-item > h3 {
    display: block;
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
}
div.jury-item > div.jury-bio {
    display: block;
    position: relative;
    flex: 0 0 64%;
    max-width: 64%;
    padding: 0;
    margin: 0;
}
div.jury-item > div.jury-bio > *:last-child { margin: 0; }
div.jury-item > figure {
    display: block;
    position: relative;
    flex: 0 0 32%;
    max-width: 32%;
}



/* ! [[ Winners list / Submissions list ]] */
ul.winners-list,
ul.submissions-list {
    padding: 0;
    margin: 0 0 1.5rem 0;
    list-style: none;
}
ul.winners-list li,
ul.submissions-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 0;
}
ul.winners-list li:nth-child(odd),
ul.submissions-list li:nth-child(odd) {
    background-color: var(--riverclayred);
    color: var(--wintersun);
}
ul.winners-list li a,
ul.submissions-list li a {
    display: block;
    position: relative;
    flex: 0 0 75%;
    max-width: 75%;
    font-weight: 700;
    color: inherit;
}



/* ! [[ General List - Featured Links ]] */
div.link-set {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    column-gap: 4%;
    row-gap: 3rem;
    width: 100%;
    padding: 0;
    margin: 5rem auto;
}
    a.link-item {
        display: flex;
        position: relative;
        justify-content: center;
        align-items: center;
        flex: 0 0 30%;
        max-width: 30%;
        min-height: 15rem;
        padding: 4rem 3rem;
        border-radius: 1.5rem;
        margin: 0;
        font-size: 2.4rem;
        font-weight: 600;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;
        background-color: var(--grey);
        color: var(--riverclayred);
        transition: all 0.2s ease;
    }
    div.link-set a.link-item:nth-child(1n+1) { background-color: var(--gatheringglow); }
    div.link-set a.link-item:nth-child(1n+2) { background-color: var(--prairieochre); }
    div.link-set a.link-item:nth-child(1n+3) { background-color: var(--canopygreen); }
    div.link-set a.link-item:nth-child(1n+4) { background-color: var(--bigskyblue); }
    div.link-set a.link-item:nth-child(1n+5) { background-color: var(--twilightthistle); }
    div.link-set a.link-item:nth-child(1n+6) { background-color: var(--deepcurrant); color: var(--wintersun); }
    div.link-set a.link-item:hover,
    div.link-set a.link-item:focus { background-color: var(--bigskyblue-deep); color: var(--wintersun); }



/* ! [[ Form styles ]] */
form.fm-form,
form.auth-form {
    display: flex;
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}
form.fm-form div.input-text,
form.fm-form div.input-email,
form.fm-form div.input-password,
form.fm-form div.input-select,
form.fm-form div.input-textarea,
form.fm-form div.g-recaptcha,
form.auth-form div.input-text,
form.auth-form div.input-email,
form.auth-form div.input-password,
form.auth-form div.input-select,
form.auth-form div.input-textarea {
    display: block;
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
}
form.fm-form div > label,
form.auth-form div > label {
    display: block;
    position: relative;
    padding: 0;
    margin: 0 0 0.5rem 0;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 2%;
}
[type="file"] + label output { margin-top: 0.5rem; }
form.auth-form div.input-select select {
    width: 100%;
    height: 36px;
}
form.auth-form p.description {
    display: block;
    flex: 0 0 100%; max-width: 100%;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}
form.auth-form p.description:before { content: "-- "; }
form.auth-form p.description:after { content: " --"; }
form.auth-form input[disabled] { opacity: 0.5; }
/*
form.fm-form button[type="submit"],
form.auth-form button[type="submit"] {
    padding: 0.75rem 1.25rem 0.625rem 1.25rem;
    font-size: 1.25rem;
    background: #eaea89;
    color: #000;
}
*/


.auth-block,
.auth-form-block {
    display: block;
    max-width: 800px;
    padding: 1.5rem;
    margin: 0 auto 2rem auto;
}
.auth-form input,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form select,
.auth-form textarea,
.auth-form-block input,
.auth-form-block input[type="text"],
.auth-form-block input[type="email"],
.auth-form-block select,
.auth-form-block textarea {
    border: 1px solid var(--riverclayred);
    border-radius: 0.5rem;
    background: none;
    color: var(--riverclayred);
}
.auth-form > div > label,
.auth-form-block > div > label {
    margin: 0 0 1rem 0;
    font-size: 1.6rem;
    font-weight: 400;
}
div.controls-group {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 1rem;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
}
div.controls-group > .button {
    border-color: var(--riverclayred);
    background-color: var(--wintersun);
    color: var(--riverclayred);
}
div.controls-group > .button,
div.controls-group > .button + .button { margin: 0; }



/* ! [[ Participant form styles ]] */
ul.button-set {
    display: flex;
    position: relative;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 2%;
    row-gap: 1.25rem;
    width: 100%;
    max-width: 700px;
    padding: 0;
    margin: 2rem auto;
    list-style: none;
}
    ul.button-set li {
        display: block;
        position: relative;
        flex: 0 0 49%;
        max-width: 49%;
    }
        ul.button-set li > a.button {
            display: block;
            position: relative;
            margin: 0;
        }



/* ! Constant Contact form customized styles */
div.ctct-form-embed div.ctct-form-defaults {
    padding: 0 !important;
    margin: 0 0 5rem 0;
    background-color: transparent !important;
    color: var(--wintersun) !important;
}
form.ctct-form-custom {

}
div.ctct-form-embed.form_0 div.ctct-form-defaults h2.ctct-form-header,
.ctct-form-embed.form_0 .ctct-form-defaults .ctct-form-text, .ctct-form-embed.form_0 .ctct-form-custom .ctct-form-label, .ctct-form-embed.form_0 .ctct-form-custom .ctct-form-listname, .ctct-form-embed.form_0 .ctct-form-custom .ctct-form-lists-legend, .ctct-form-embed.form_0 .ctct-form-custom .ctct-form-date-slash, .ctct-form-embed.form_0 .ctct-form-defaults .ctct-gdpr-text, .ctct-form-embed.form_0 .ctct-form-defaults .ctct-gdpr-text .ctct-form-footer-link, .ctct-form-embed.form_0 .ctct-form-defaults .ctct-gdpr-text .ctct-form-footer-privacy-link {
    color: var(--wintersun) !important;
}
div.ctct-form-embed form.ctct-form-custom .ctct-form-required::before {
    top: -1rem !important;
    left: 4.8rem !important;
    color: var(--wintersun) !important;
    font-size: 2rem !important;
}
div.ctct-form-embed div.ctct-form-defaults h2.ctct-form-header {
    font-family: "the-seasons", "Times New Roman", sans-serif !important;
    font-size: 3.2rem !important;
    font-weight: 700 !important;
    line-height: 1.125 !important;
}
div.ctct-form-embed div.ctct-form-defaults p {
    margin: 0 0 1.5rem 0 !important;
}
div.ctct-form-embed.form_0 div.ctct-form-defaults label.ctct-form-label {
    font-size: 1.6rem !important;
    color: var(--wintersun) !important;
}
div.ctct-form-embed form.ctct-form-custom input.ctct-form-element {
    background-color: var(--wintersun) !important;
    color: var(--riverclayred) !important;
}
div.ctct-form-embed div.ctct-form-defaults p.ctct-form-text {
    font-family: "Inter Tight", Arial, sans-serif !important;
    font-weight: 400 !important;
}
div.ctct-form-embed div.ctct-form-defaults p.ctct-gdpr-text {
    font-size: 1.4rem !important;
}
div.ctct-form-embed form.ctct-form-custom button.ctct-form-button {
    display: inline-block;
    width: auto;
    max-width: 10rem;
    padding: 1rem 0 !important;
    border: none !important;
    background: none !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: left !important;
    color: var(--wintersun) !important;
}
div.ctct-form-embed form.ctct-form-custom button.ctct-form-button:hover {
    text-decoration: underline !important;
}
