/*
	(c)2021 - visuallizard.com

	General Layout Styles.
	Sets major blocking to elements that appear across the site in different templates.
	All can be removed and started from scratch or elements can be adjusted individually.
*/

: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;
}

.container {
/*
    Set site maximum width only here and use this class to centre and contain the content in browser window.
    Use "max-width" instead of "width" for auto-responsiveness.
    Keep horizontal padding to prevent content touching viewport edges. Adjust them in responsive.css for specific breakpoint if needed.

*/
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}
.main-region {
    display: block;
    position: relative;
    width: 100%;
}

.site-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    color: var(--wintersun);
}
.site-header,
.site-header.scrolled {
    background-color: var(--bigskyblue-deep);
}
.site-header.home,
.site-header.home.scrolled {
    background-color: var(--bigskyblue-deep);
}



header > .container {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    column-gap: 2rem;
    padding: 0 1rem;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
}

.site-title {
    display: block;
    flex: 1 0 15%;
    max-width: 340px;
    height: auto;
    margin: 0;
}
nav.main-nav .site-title { display: none; }
    .site-title > a {
        display: block;
        position: relative;
        height: auto;
        text-decoration: none;
        color: inherit;
        font-size: 4.25rem;
        font-weight: 600;
        text-transform: uppercase;
        line-height: 1;
        transition: all 0.2s ease-in-out;
    }
    .site-header.scrolled .site-title > a {
        font-size: 3.2rem;
    }



/* 	! SECTIONS	*/
main {

}
	main .container {
        display: flex;
        position: relative;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        column-gap: 2%;
        row-gap: 1rem;
        width: 100%;
        max-width: 1200px;
        padding: 3rem 1rem;
        margin: 0 auto;
    }
    main.internal .container {
        max-width: 1000px;
    }
main.home > .container { padding: 0; }
main.home section {
    padding: 10rem 0;
}
main.home section#introduction .container {
    max-width: 900px;
    padding: 0 1rem;
    text-align: center;
}
main.home section#introduction .container > h2:first-child {
    margin-top: 0;
}
main.home section#introduction p {
    font-size: 2.4rem;
}
main.home section#introduction a.btn {
    margin: 0 auto;
}
main.home section#contest-announcements {
    background-color: var(--bigskyblue-lite);
    background-image: url("../../../img/background-wh-contest.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
main.home section#contest-announcements .container {
    align-items: center;
}
main.home section#contest-announcements .container div.contest-info {
    display: block;
    position: relative;
    flex: 0 0 48%;
    max-width: 48%;
}
main.home section#contest-announcements .container div.contest-info:nth-child(2) {
    text-align: right;
}
main.home section#contest-announcements .container div.contest-info > h2:first-child {
    margin-top: 0;
}
main.home section#contest-announcements .container div.contest-info > img:nth-child(1){
    position: relative;
    right: 0;
    width: 450px;
    height: 550px;
    object-fit: cover;
    object-position: 50% 100%;
}
main.home section#contest-announcements .container div.contest-info > img:nth-child(2) {
    position: absolute;
    width: 250px;
    height: auto;
    left: 0;
    bottom: -6rem;
}
main.home section#contest-announcements p {
    font-size: 2.4rem;
}
main.home section#the-forks {
    background-color: var(--prairieochre-deep);
    background-image: url("../../../img/background-wh-theforks.jpg?x");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
main.home section#the-forks .container {
    row-gap: 2rem;
    align-items: flex-end;
}
main.home section#the-forks .container > img {
    display: block;
    position: relative;
    flex: 0 0 40%;
    max-width: 40%;
}
main.home section#the-forks .container div.place-to-meet {
    display: block;
    position: relative;
    flex: 0 0 55%;
    max-width: 55%;
    padding: 5rem 8rem 5rem 5rem;
    border-top-left-radius: 5rem;
    background-color: var(--gatheringglow);
}
main.home section#the-forks h2 {
    margin-top: 0;
}
main.home section#the-forks p {
    font-size: 2.4rem;
}


    .main-region {
        display: flex;
        position: relative;
        justify-content: space-between;
        align-items: stretch;
        flex-wrap: wrap;
        column-gap: 4%;
        row-gap: 2rem;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .main-region .contact-column {
        display: block;
        position: relative;
        flex: 1 0 32%;
        max-width: 32%;
    }
    .contact-column#contact-form {
        max-width: 64%;
    }
        .main-region .contact-column h2 {
            font-family: "Inter Tight", Arial, sans-serif;
            font-size: 3.2rem;
            font-weight: 600;
            letter-spacing: 2%;
        }
        .main-region .contact-column h3 {
            font-size: 2rem;
        }


	/* ! Regions for Layout Module */
	.region-row {
		display: flex;
	}
		.region-cell {
			width: 100%;
			padding: 2rem 5%;
		}
		.region-cell:first-child {
			padding-left: 0;
		}
		.region-cell:last-child {
			padding-right: 0;
		}


/* ! NAVIGATIONS  */

/* General for all levels and navs: */
.nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-item {
	position: relative;
	display: block;
	vertical-align: top;
}
.nav-link {
	display: block;
	padding: .5rem;
	color: inherit;
	text-decoration: none;
	transition: all .3s;

	line-height: 1.25;
}
.nav-link:hover {
	text-decoration: underline;
    color: var(--bigskyblue-lite);
}
.nav-item[data-nav-status='has-active'] > .nav-link {
	text-decoration: underline;
    color: var(--bigskyblue-lite);
}
.nav-item[data-nav-status='active'] > .nav-link {
	text-decoration: underline;
    color: var(--bigskyblue-lite);
}

	/* 	Main nav specific (opinionated) */
	.main-nav {
		display: block;
        position: relative;
        flex: 1 0 55%;
        max-width: 70%;
		padding: 0.5rem 0;
        margin: 0
	}

	/* Level 1 (horizontal) */
	.main-nav .nav-1 {
		display: flex;
        flex-direction: row;
        justify-content: space-between;
        font-family: "the-seasons", "Times New Roman", sans-serif;
        font-size: 2rem;
        font-weight: 700;
	}
	.main-nav .nav-1 > li {

	}
    .main-nav .nav-1 span.submenu { display: none; }
    .main-nav .nav-1 > li > a { text-align: center; }
    .main-nav .nav-1 > li.active > a,
    .main-nav .nav-1 > li.has-active > a { text-decoration: underline; }

	/* all sub-lists (drop-downs & drop-sides) */
	.sub-list {
		display: block;
        position: absolute;
        top: 0;
        left: auto;
        width: 300px;
        margin: 0;
        padding: 0;

        background-color: var(--wintersun);
        border-radius: 2px;
        box-shadow: 2px 2px 5px var(--bigskyblue);

        transition: all 0.2s ease;
        z-index: 1000;
	}
	li              > .sub-list { visibility: hidden;  opacity: 0; }
    li:hover        > .sub-list { visibility: visible; opacity: 1; }
    li:focus-within > .sub-list { visibility: visible; opacity: 1; }

	.sub-list .sub-list { left: 100%; }

    :nth-last-child(1) > .nav-2,
    :nth-last-child(2) > .nav-2 { right: 0; left: auto; }

    :nth-last-child(1) > .nav-2 .nav-list,
    :nth-last-child(2) > .nav-2 .nav-list { right: 100%; left: auto; }

    :nth-last-child(1) > .nav-2 .has-sub > .nav-link::after,
    :nth-last-child(2) > .nav-2 .has-sub > .nav-link::after { transform: scaleX(-1); }



	/* Level 2 (the only drop-down ) */
    .nav-2 {
        top: 100%;
        font-family: "Inter Tight", Arial, sans-serif;
        font-weight: 400;
    }
    .nav-2 > li {
        display: block;
    }
    .nav-2 > li > a {
        display: block;
        padding: 1rem;
        color: var(--riverclayred);
    }
    .nav-2 > li.has-active > a.nav-link,
    .nav-2 > li.active > a.nav-link,
    .nav-2 > li > a.nav-link:hover,
    .nav-2 > li > a.nav-link:visited,
    .nav-2 > li > a.nav-link:active,
    .nav-2 > li > a.nav-link:focus,
    .nav-2 > li[data-nav-status="active"] > a.nav-link {
        background-color: var(--bigskyblue-lite);
        color: var(--riverclayred);
    }

	/* Level 3, etc. */
    .nav-3 {

    }
    .nav-3 > li {
        display: block;
    }
    .nav-3 > li > a {
        display: block;
        padding: 1rem;
        color: var(--riverclayred);
    }
    .nav-3 > li.has-active > a,
    .nav-3 > li.active > a,
    .nav-3 > li > a:hover,
    .nav-3 > li > a:visited,
    .nav-3 > li > a:active,
    .nav-3 > li > a:focus {
        background-color: var(--prairieochre-lite);
        color: var(--riverclayred);
    }


    /* Has-subs Chevron indicators */
    .has-sub > .nav-link {
        padding-right: 1.5em;
    }
    .has-sub > .nav-link::after {
        position: absolute;
        top: 0.8rem;
        margin: auto;
        right: 0.8rem;
        content: " ";
        background: no-repeat right center url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><path fill='%23fff5ed' d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' /></svg>");
        display: block;
        width: 1.6rem;
        height: 1.6rem;
        background-size: 100%;
        transform-origin: center center;
    }
    nav .nav-2 > .has-sub > .nav-link::after {
        background: no-repeat right center url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><path fill='%235c0f0f' d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' /></svg>");
        width: 1.4rem;
        height: 1.4rem;
    }
    nav .nav-1 > .has-sub > .nav-link::after {
        transform: rotate(90deg);
    }



/* ! Hero Banner */
div.hero-banner {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;

    text-align: center;
    background-color: var(--bigskyblue-deep);
    color: var(--wintersun);
    overflow: hidden;
}
div.hero-banner-background {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background-image:
        linear-gradient(
            var(--bigskyblue-deep) 0% 2%,
            transparent 10% 100%
        )
    ;
}
div.hero-banner > div.banner-set,
div.internal-banner > div.page-banners {
    filter: brightness(70%);
}
div.banner-set div.banner > img,
div.page-banners div.banner > img {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
}
div.hero-banner > .container,
div.internal-banner > .container {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 100vw;
    padding: 0 3rem;
}
div.hero-banner > .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
div.page-banner h1 {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    font-family: "the-seasons", "Times New Roman", sans-serif;
    font-weight: 400;
    line-height: 1;
    color: var(--wintersun);
}
div.hero-banner div.banner {
    width: 100%;
    margin-top: -5rem;
}
div.hero-banner img.banner-img {
    width: 100%;
    height: 100%;
    filter: opacity(0.4);
    object-fit: cover;
    object-position: 50% 50%;
}
div.hero-banner .container p.h1 {
    display: block;
    position: relative;
    flex: 1 0 60%;
    max-width: 73%;
    text-align: left;
    line-height: 1.1
}
div.hero-banner .container > img {
    display: block;
    position: relative;
    flex: 0 0 25%;
    max-width: 25%;
}



div.internal-banner {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    max-height: 50vh;
    padding: 0;

    text-align: center;
    background-color: var(--bigskyblue);
    color: var(--wintersun);
    overflow: hidden;
}
div.internal-banner .container {
    z-index: 2;
}
div.internal-banner h1 {
    line-height: 1.1;
}
div.internal-banner > div.img-gradient {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: linear-gradient(
        var(--bigskyblue-deep),
        transparent
    );
}
div.internal-banner div.banner {
    height: 50%;
    max-height: 50vh;
}
div.internal-banner div.banner > img {
    display: block;
    bottom: 0;
    z-index: 0;
    width: 100%;
    object-fit: cover;
    filter: opacity(0.6);
}

/* ! Banners: defaults */
/* .banners {
	margin-bottom: 2em;
}
	.banner {
		position: relative;
	}
		.banner-link {
			display: block;
		}
			.banner-img {
				display: block;
				width: 100%;
				height: auto;
			}
			.banner-container {
				position: absolute;
				top: 0;
				bottom: 0;
				left: 0;
				right: 0;
				margin: 0 auto;
				padding: 1em;
				padding: 5%;

				display: flex;
				align-items: center;
				justify-content: center;
			}
			.upperleft    .banner-container { align-items: flex-start; justify-content: flex-start; }
			.uppercentre  .banner-container { align-items: flex-start; justify-content: center;     text-align: center; }
			.upperright   .banner-container { align-items: flex-start; justify-content: flex-end;   }
			.middleleft   .banner-container { align-items: center;     justify-content: flex-start; }
			.middlecentre .banner-container { align-items: center;     justify-content: center;     text-align: center; }
			.middleright  .banner-container { align-items: center;     justify-content: flex-end;   }
			.lowerleft    .banner-container { align-items: flex-end;   justify-content: flex-start; }
			.lowercentre  .banner-container { align-items: flex-end;   justify-content: center;     text-align: center; }
			.lowerright   .banner-container { align-items: flex-end;   justify-content: flex-end;   }

			.banner-text {
				display: block;
				width: 100%;
				margin: 0;
				max-width: 800px;
				color: #fff;

				text-align: left;
				text-transform: none;
				transition: color .2s;
			}
			.banner-link:hover .banner-text {
				opacity: .5;
			}
				.banner-title {
					color: inherit;
					font-size: 50px;
					font-size: calc(1.5em + 2vw);
					margin-top: 0;
					margin-bottom: 0;
					text-transform: none;
				}
				.banner-subtitle {
					color: inherit;
					font-size: 30px;
					font-size: calc(1em + 2vw);
					margin-top: 0;
					margin-bottom: 0;
					text-transform: none;
				}
				.banner-desc {

				} */

	/* ! Banners: Featured - slider */
	.featured-banners {

	}
		.featured-banners .banner-img {
			object-fit: cover;
			min-height: 200px;
			max-height: 500px;
			/* this sets vertical boundaries to Featured Banners
			 and prevents them from shrinking or growing beyond set height values
			 when viewport is either too short (mobile) or unknowingly large (wide monitors) */
		}

	/* ! Banners: Grid Fixed item width */
	.grid-fixed.banners {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		width: 102%;
		margin: 0 -1% 0;
		padding: 0;
	}
		.grid-fixed .banner {
			display: inline-block;
			width: 25%;
			padding: 1em 1%;
		}
		.grid-fixed .banner-link {
			display: flex;
			align-items: center;
			height: 100%;
		}
		.grid-fixed .banner-img {
			transition: transform .3s;
		}
		.grid-fixed .banner-link:hover .banner-img {
			transform: scale(1.1);
		}
		.grid-fixed .banner-title {
			font-size: 20px;
		}

	/* ! Banners: Grid Flex item width
	(usually for sponsor logos where width is unknown. Set module settings to something like Width:0 and Height:100px ) */
	.grid-flex.banners {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		width: 102%;
		margin: 0 -1% 1em;
		padding: 0;
	}
		.grid-flex .banner {
			width: auto;
			margin: 1em 1%;
			padding: 0;
		}
		.grid-flex .banner-link {

		}
		.grid-flex .banner-img {
			display: block;
			width: auto;
			height: 100%;
			max-height: 100px;
			margin: 0;
			transition: all .3s;
		}
		.grid-flex .banner:hover .banner-img {
			transform: scale(1.1);
		}
		.grid-flex .banner-title {
			font-size: 20px;
		}

/* ! Galleries */


/* ! Documents */
.document-category {
	position: relative;
	width: 100%;
	padding: 1em 0;
	margin: 0 0 1.5em 0;
}
	.document-category > h3 {
		display: block;
		position: relative;
		flex-basis: 100%;
		max-width: 100%;
		padding: 0;
	}
	.document-cat-desc {
		display: block;
		position: relative;
		flex-basis: 100%;
		max-width: 100%;
		padding: 0;
	}
	.document-items {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		grid-gap: 2rem;
		align-items: stretch;

		padding-top: .5rem;
	}
		.document-item {
			display: flex;
			flex-direction: column;
			position: relative;
			padding: 2.5rem 2rem 1rem;
			margin: 1rem 0 0;
			border: 1px solid hsla(209, 64%, 22%, 0.2);
			border-radius: .25rem;

			text-align: center;
		}

			.document-item .document-title {
				margin-bottom: 1rem;
			}
			.document-item .document-desc {
				text-align: left;
				font-size: 80%;
			}
			.document-item .document-desc * {
				font-size: inherit;
			}
			.document-item .doc-link {
				padding: .75rem 2rem;
				margin-top: auto;
			}

			.doc-icon {
				width: 3rem;
				height: 3rem;
				display: flex;
				color: inherit;

				position: absolute;
				top: -1.5rem;
				left: 0;
				right: 0;
				margin: 0 auto;
				padding: .5rem;
				border-radius: 50%;
				border: 1px solid hsla(209, 64%, 22%, 0.2);
				background-color: #fff;
			}
			.doc-icon .svg-label {
				margin: 0 .5rem 0 0;
				font-weight: bold;
				font-style: normal;
				font-size: 10px;
				letter-spacing: .03em;
				text-transform: uppercase;
				color: inherit;
			}



/* ! Site Footer  */
footer {
    position: relative;
    clear: both;
    padding: 5rem 0;
    margin: 0;
    background-color: var(--riverclayred);
    color: var(--wintersun);
}

footer > .container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
footer > .container:first-child {
    border-bottom: 2px solid var(--gatheringglow);
}
footer > .container section {
    display: block;
    position: relative;
    flex: 0 0 40%;
    max-width: 40%;
    padding: 0;
}
    footer > .container section > h2 {
        font-size: 3.2rem;
    }
    footer > .container section > h2:first-of-type {
        margin-top: 0;
    }
    footer > .container section h3 {
        font-size: 2rem;
        font-weight: 600;
    }
    footer a {
        color: inherit;
        transition: all 0.2s ease;
    }
    footer a:hover,
    footer a:focus {
        color: var(--white);
    }
    footer p {
        line-height: 1.75;
    }
    footer p.copyright {
        display: block;
        margin: 5rem 0 0 0;
    }
    footer nav.footer-legal-nav ul {
        display: flex;
        position: relative;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        column-gap: 2.2rem;
        row-gap: 0.8rem;
        list-style: none;
        padding: 0;
        margin: 5rem 0 0 0;
    }
        footer nav.footer-legal-nav ul li a {
            display: block;
            position: relative;
            text-decoration: none;
        }

/* ! Error Pages */
.error-header {
	font-size: 50px;
}
.error-code {
	font-size: 12px;
}
