/* 
Theme Name: Invisible Ink
Description: Custom theme for Yakima Indivisible
Author: Invisible Ink
Author URI: https://www.invisibleink.com
Version: 1.0
*/

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/uploads/2025/08/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Black';
    src: url('/wp-content/uploads/2025/08/Montserrat-Black.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	min-width: 320px;
	scroll-behavior: smooth;
	}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

img	{
	max-width: 100%;
	height: auto;
	border: 0;
	}
	
body	{
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: normal;
	font-size: 100%;
	font-size: calc(1em + .15vw) !important;
	line-height: 1.5;
	background: #1f448b;
	}
	
div	{
	position: relative;
	width: 100%;
	padding: 0;
	margin: 0;
	}
	
	/* Fonts */
	
h1, h2, h3, h4, h5, h6	{
	padding: 0;
	margin: 0;
	font-family: 'Montserrat Black', sans-serif;
	font-weight: normal;
	line-height: 1.1;
	}
	
h1	{	
	font-size: 2.5em;
	}
	
h2	{
	margin: 0 0 20px 0;
	font-size: 2em;
	}
	
h3	{	
	margin: 0 0 20px 0;
	font-size: 1.75em;
	}
	
h4	{
	margin: 15px 0;
	font-size: 1.75em;
	}
	
h5	{ 
	margin: 0 0 15px 0;
	font-size: 1.5em;
	}
	
h6	{
	font-size: 1.25em;
	margin: 0 0 15px 0;
	}
	
p	{
	padding: 0;
	margin: 0 0 15px 0;
    word-break: break-word; 
	}

@media screen and (min-width: 640px) { 

	/* Minimum width to prevent floated items display issue */
	h2:before, h4:before, p:before {
	  content: "";
	  width: 250px;
	  display: block;
	  overflow: hidden;
	  }

}

strong, b	{
	font-family: 'Montserrat Black', sans-serif;
	font-weight: normal;
	}
	
ul	{margin-bottom: 20px;}
	
a	{
	font-family: 'Montserrat Black', sans-serif;
	font-weight: normal;
	color: #1d2f3b;
	}

a:hover	{color: #1b75bb;}

	/* Dividers */

hr	{
	height: 1px;
	margin: 15px 0;
	border-bottom: 1px dashed #1d2f3b;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	color: #fff;
	background: transparent;
	}
	
	/* Images */

img	{border: 0;}

	/* Tables */

.chart	{
	margin-bottom: 20px;
	border: 0;
	border-spacing: 1px;
	width: 100%;
	}
	
.chart tr:nth-child(1)	{background: #1b75bb; color: #fff; 	
	font-family: 'Montserrat Black', sans-serif;
	font-weight: normal;}
.chart tr:nth-child(1) a	{color: #fff !important;}
.chart tr:nth-child(2n+2)	{background: #e5e5e5;}
.chart tr:hover	{background: #e3e3e3;}
	
.chart td {padding: 8px 10px;}

	/* Buttons */

button, .btn { 
	padding: 12px 20px;
	margin: 5px 8px 5px 0 !important;
	border: 0;
	border-radius: 30px;
	cursor: pointer;
	font-family: 'Montserrat Black', sans-serif;
	font-weight: normal;
	font-size: 1.1em;
	color: #fff; 
	line-height: 1;
	background: transparent;
	background: #1f448b;
    -webkit-appearance: none; /* Remove iOS default formatting */
	appearance: none;
    transition: all 0.2s ease-in-out;
	} 

button	{width: auto; overflow: visible;}

.btn:hover, .btn:focus, button:hover, button:focus {
	color: #fff;
	background: #1b75bb;
    }

button, a:link.btn, a:visited.btn, a:hover.btn, a:focus.btn	{
	text-decoration: none;
	display: inline-block;
	}
	
a:hover.btn, a:focus.btn	{color: #fff;}
	
	/* Navigation */

.menu	{
	z-index: 900;
	background: #fff;
	}

@media screen and (min-width: 980px) and (min-height: 800px) { 

	.menu	{
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		}

	body.header-not-at-top .menu img	{
		width: 65%;
		height: auto;
		}

	div {scroll-margin: 150px 0 0 0;}
	
}

.menu img	{
	display: block;
	padding: 10px 5px;
	}
	
	/* Mobile menu button */
.menu-button {
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
	text-indent: -9999px;
	overflow: hidden;
	border: none;
	cursor: pointer;
	background: url(/wp-content/themes/invisible-ink/img/icons.png) 0 0 no-repeat;
	} 

#menutoggle, .menu-toggle, [id^=menu-item-label] {display: none;}

	@supports (display: flex) {
	
		.menu	{
			display: -webkit-box;
			display: -moz-box;
			display: -ms-flexbox;
			display: -webkit-flex;
			display: flex;
			min-height: 0;
			min-width: 0;
			-ms-flex-wrap: wrap;
			flex-wrap: wrap; 
			-webkit-box-pack: justify;
			-moz-box-pack: justify;
			-ms-flex-pack: justify;
			justify-content: space-between;
			-webkit-box-align: center;
			-moz-box-align: center;
			-ms-flex-align: center;
			-webkit-align-items: center;
			align-items: center;
			width: 100%;
			}

		.menu .logo	{
			-webkit-box-flex: 0;
			-moz-box-flex: 0;
			-ms-flex: 0 0 250px;
			flex: 0 0 250px;
			}
	
		.menu-button {
			-webkit-box-flex: 0;
			-moz-box-flex: 0;
			-ms-flex: 0 0 50px;
			flex: 0 0 50px;
			}
	
		.nav-wrapper {
			-webkit-box-flex: 1;
			-moz-box-flex: 1;
			-ms-flex: 1 0 100%;
			flex: 1 0 100%;
			}
	
	}
	
#menutoggle:checked ~ div {
	max-height: 1000px; 
	transition: max-height 0.3s ease-in;
	}

#menutoggle:checked ~ .menu-button	{background: url(/wp-content/themes/invisible-ink/img/icons.png) -50px 0 no-repeat !important;}

	/* Menu  wrapper and basic resets */
.nav-wrapper {
	position: relative;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	background: #1b75bb;
	}
	
.menu-bar, .menu-bar li, .menu-bar ul {
	padding: 0;
	margin: 0;
	list-style: none;
	}
	
.menu-bar a {display: block;}
		
	/* Tier 1 */
	
.menu-bar > li	{border-bottom: 1px solid #000;}
	
.menu-bar li > a, .menu-toggle {
	padding: 12px 15px;	
	font-family: 'Montserrat Black', sans-serif;
	font-weight: normal;
	font-size: 1em;
	color: #fff;
	text-decoration: none;
	}
	
.menu-bar > li a:hover, .menu-toggle:hover	{text-decoration: underline;}
	
.menu-toggle {
	display: block;
	border: none;
	cursor: pointer;
	}

.menu-toggle + a {display: none;}

.menu-bar ul {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	position: static;
	text-transform: none;
	background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1.0));
    background-size: 100% 100% !important;
	}

[id^=menu-item-label]:checked + ul {
	max-height: 1000px; 
	transition: max-height 0.3s ease-in;
	}

	/* Tier 2 */
	
.menu-bar ul li > a {
	position: relative;
	font-family: 'Montserrat Black', sans-serif;
	font-weight: normal;
	color: #fff;
	padding: 8px 20px 8px 35px;
	}

	/* Add bullet points  */
.menu-bar ul li > a:before {
	content: "• ";
	position: absolute;
	top: 50%;
	left: 23px;	
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	}
	
.menu-bar ul li:last-child {margin-bottom: 15px;}

.site-search	{
	width: 100%;
	padding: 15px 0;
	background: #1f448b;
	}
	
#search	{
	position: relative;
	width: 90%;
	max-width: 400px;
	margin: 0 auto;
	}

#search label	{display: none;}

#search input	{
	width: 100%;
	outline: none;
	padding: 10px 35px 10px 15px;
	margin: 0;
	font-size: 1em;
	border: 0;
	border-radius: 30px;
	background: #fff;
	color: #000;
	}

#search ::-webkit-input-placeholder {color: #999;}
#search :-moz-placeholder {color: #999;}
#search ::-moz-placeholder {color: #999;}
#search :-ms-input-placeholder {color: #999 !important;}
#search ::-ms-input-placeholder {color: #999;}
#search ::placeholder {color: #999;}
	
#search button	{
	position: absolute;
	top: 3px;
	right: 5px;
	display: block;
	background: url(/wp-content/themes/invisible-ink/img/icons.png) -110px -10px no-repeat;
	box-shadow: 0 0 0 0;
	width: 30px;
	height: 30px;
	cursor: pointer;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	border: 0;
	border-radius: 0 !important; /* Fix FF ghosting issue */
	text-indent: -9999px;
	z-index: 500;
	transition: none;
	outline: 0;
	}
	
@media screen and (min-width: 1224px) { 

	.menu	{
		box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1); 
		-webkit-box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1); 
		-moz-box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1); 
		padding: 10px 20px;
		}
		
	.menu img	{padding: 0;}
	
	@supports (display: flex) {
	
		.menu .logo	{
			-ms-flex: 0 0 300px;
			flex: 0 0 300px;
			}
	
	}
	
	.menu-button, .menu-toggle {display: none;}

	.nav-wrapper	{
		max-height: none;
		overflow: visible;
		transition: none;
		background: none;
		z-index: 10;
		}
	
	.menu-bar	{
		position: relative;
		z-index: 15;
		}
	
	@supports (display: flex) {
	
		.nav-wrapper {
			display: -webkit-box;
			display: -moz-box;
			display: -ms-flexbox;
			display: -webkit-flex;
			display: flex;
			min-height: 0;
			min-width: 0;
			-webkit-box-pack: end;
			-moz-box-pack: end;
			-ms-flex-pack: end;
			justify-content: flex-end;
			-webkit-box-align: center;
			-moz-box-align: center;
			-ms-flex-align: center;
			-webkit-align-items: center;
			align-items: center;  
			-webkit-box-flex: 1;
			-moz-box-flex: 1;
			-ms-flex: 1 0 860px;
			flex: 1 0 860px;
			}
	
		.menu-bar	{
			display: -webkit-box;
			display: -moz-box;
			display: -ms-flexbox;
			display: -webkit-flex;
			display: flex;
			min-height: 0;
			min-width: 0;
			-ms-flex-wrap: wrap;
			flex-wrap: wrap; 
			-webkit-box-pack: end;
			-moz-box-pack: end;
			-ms-flex-pack: end;
			justify-content: flex-end;
			-webkit-box-align: center;
			-moz-box-align: center;
			-ms-flex-align: center;
			-webkit-align-items: center;
			align-items: center;  
			}
	
		.site-search {
			-webkit-box-flex: 0;
			-moz-box-flex: 0;
			-webkit-flex:  0; 
			-ms-flex: 0 0 35px; 
			flex: 0 0 35px;
			}
	
	}
	
	.menu-toggle + a {display: block;}
	
	[id^=drop]:checked + ul, .menu-bar li > ul {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease-out;
		}
	
	.menu-bar li:hover > ul {
		max-height: 1000px; 
		transition: max-height 0.3s ease-in;
		position: absolute; 
		top: 100%; 
		} 

		/* Tier 1 */
		
	.menu-bar > li {
		position: relative;
		display: inline-block; /* Non flex support */
		width: auto;
		border-bottom: none;
		border-radius: 25px;
		}
	
	@supports (display: flex) {
	
		.menu-bar > li {
			-webkit-box-flex: 0;
			-moz-box-flex: 0;
			-webkit-flex:  0; 
			-ms-flex: 0 0 auto; 
			flex: 0 0 auto;
			}
	
	}
	
	.menu-bar li > a {
		padding: 12px 20px;	
		font-family: 'Montserrat Black', sans-serif;
		font-weight: normal;
		color: #1f448b;
		}

	.menu-bar li:hover  {background: #9f2d90;}
	
	.menu-bar li:hover > a {
		color: #fff;
		text-decoration: none;
		}
	
	.menu-bar .current > a, .menu-bar .current-page-parent a, .menu-bar .current_page_item a	{text-decoration: underline !important;}
	
	.menu-item-has-children	{
		border-radius: 25px 25px 0 0 !important;
		}
	
		/* Tier 2 */
		
	.menu-bar ul {
		max-height: none;
		min-width: 275px;
		overflow: visible;
		position: absolute;
		z-index: 20;
		background: #9f2d90;
		}
		
	.menu-bar ul li {
		width: 100%;
		min-width: 275px;
		/* display: list-item; */
		position: relative;
		}
		
	.menu-bar li:last-child:hover > ul {right: 0;} 

	.menu-bar ul li > a:before {content: "";}
	
	.menu-bar ul li:last-child {margin-bottom: 0;}

	.menu-bar ul li > a {
		color: #fff;
		padding: 10px 20px;
	font-family: 'Montserrat Black', sans-serif;
	font-weight: normal;
		font-size: .85em;
		text-transform: none;
		}
	
	.menu-bar ul li > a:hover {
		color: #fff;
		background: #1f448b;
		}
	
	.site-search	{
		width: auto;
		padding: 0;
		z-index: 800;
		background: none;
		}
	
	#search	{
		width: 35px;
		height: 35px;
		max-width: none;
		margin: 0;
		}

	#search input	{
		position: absolute;
		top: 0;
		right: 0;
		width: 25px;
		padding: 10px 30px;
		background: none;
		overflow: hidden;
		z-index: 100;
		}

	#search:hover input, #search input:focus	{
		width: 350px;
		padding: 10px 40px 10px 15px;
		color: #fff;
		background: #1b75bb;
		transition: all 0.2s ease-in-out;
		}

	#search button::after { /* Prevent icon swap flicker */
		content: "";
		background: url(/wp-content/themes/invisible-ink/img/icons.png) -160px -10px no-repeat;
		opacity: 0;
		transition: opacity 0.5s;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		}
		
	#search:hover button::after, #searchinput:focus ~ button::after {
		opacity: 1;
		transition: opacity 0.5s;
		}
    
}

@media screen and (min-width: 1624px) { 

	@supports (display: flex) {
	
		.menu .logo	{
			-ms-flex: 0 0 400px;
			flex: 0 0 400px;
			}
	
	}
	
}	

.site-content	{background: #fff;}

	/* Footer */

.footer	{
	padding: 15px;
	color: #fff;
	background: #1b75bb;
	z-index: 100;
	text-align: center;
	}

.footer a	{color: #fff;}

.social	{
	list-style: none;
	margin: 0;
	padding: 0;
	}
	
.social li	{
	display: inline-block;
	vertical-align: middle;
	padding: 0;
	margin: 5px;
	}
	
.social li a	{
	display: block;
	width: 50px;
	height: 50px;
	background-image: url(/wp-content/themes/invisible-ink/img/icons.png);
    background-repeat: no-repeat;
	text-indent: -9999px;
	overflow: hidden;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
    transition: all 0.2s ease-in-out;
	}
	
#instagram	{background-position: 0 -100px;}
#facebook	{background-position: -50px -100px;}
#bsky	{background-position: -150px -100px;}
#tiktok	{background-position: -300px -100px;}
#email	{background-position: -300px -50px;}
	
.social li a:hover	{background-color: #1f448b;}
	
#jump2top	{
	display: inline-block;
	width: 50px;
	height: 50px;
	margin: 0 10px;
	background: url(/wp-content/themes/invisible-ink/img/icons.png) -250px -50px no-repeat;
	text-align: left;
	text-indent: -9999px;
    overflow: hidden;
	text-decoration: none;
	opacity: 0.5;
    transition: all 0.2s ease-in-out;
	}
	
#jump2top:hover	{
	top: -10px;
	opacity: 1.0;
	}

#popup	{
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px 20px 20px 60px;
	color: #fff;
	background: rgba(0, 0, 0, .65);
	z-index: 950;
	font-size: .85em;
	}

#popup *, #popup a:hover	{color: #fff;}
#popup p	{margin: 0; 
	z-index: 100;}

#popup #closePopup	{
	display: block;
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	padding: 5px 12px;
	color: #fff;
	background: #1b75bb;
	border-radius: 100%;
	z-index: 999;
	cursor: pointer;
	}

#popup #closePopup:hover	{
	color: #1b75bb;
	background: #fff;
	}
	
@media screen and (min-width: 768px) { 

	@supports (display: flex) {
	
		.footer	{
			display: -webkit-box;
			display: -moz-box;
			display: -ms-flexbox;
			display: -webkit-flex;
			display: flex;
			min-height: 0;
			min-width: 0;
			-webkit-box-pack: justify;
			-moz-box-pack: justify;
			-ms-flex-pack: justify;
			justify-content: space-between;
			-ms-flex-wrap: wrap;
			flex-wrap: wrap; 
			-webkit-box-align: center;
			-moz-box-align: center;
			-ms-flex-align: center;
			-webkit-align-items: center;
			align-items: center;
			text-align: left;
			}

		.copyright	{
			-webkit-box-flex: 1;
			-moz-box-flex: 1;
			-ms-flex: 1 0 300px;
			flex: 1 0 300px;
			margin: 0;
			}

		.footer .footer-links	{
			display: -webkit-box;
			display: -moz-box;
			display: -ms-flexbox;
			display: -webkit-flex;
			display: flex;
			min-height: 0;
			min-width: 0;
			-webkit-box-pack: end;
			-moz-box-pack: end;
			-ms-flex-pack: end;
			justify-content: flex-end;
			-webkit-box-align: center;
			-moz-box-align: center;
			-ms-flex-align: center;
			-webkit-align-items: center;
			align-items: center;
			-webkit-box-flex: 1;
			-moz-box-flex: 1;
			-ms-flex: 1 0 400px;
			flex: 1 0 400px;
			}
	
	}
	
	.social	{
		padding-right: 15px;
		-webkit-box-flex: 0;
		-moz-box-flex: 0;
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		border-right: 1px dashed #e5e5e5;
		}
	
	#jump2top	{margin: 0 0 0 20px;}
	
}

@media screen and (min-width: 960px) { 

	.footer	{padding: 15px 30px;}

	.social li	{margin: 5px;}
	
}

@media
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (   min--moz-device-pixel-ratio: 2),
	only screen and (     -o-min-device-pixel-ratio: 2/1),
	only screen and (        min-device-pixel-ratio: 2),
	only screen and (                min-resolution: 192dpi),
	only screen and (                min-resolution: 2dppx) { 

	.top-links .login:after	{background: url(/wp-content/themes/invisible-ink/img/icons@2x.png) -415px -113px no-repeat;}
	
	.menu-button	{background: url(/wp-content/themes/invisible-ink/img/icons@2x.png) 0 0 no-repeat;}
	
	#menutoggle:checked ~ .menu-button	{background: url(/wp-content/themes/invisible-ink/img/icons@2x.png) -50px 0 no-repeat !important;}

	#search button	{background: url(/wp-content/themes/invisible-ink/img/icons@2x.png) -110px -10px no-repeat;}
	
    #cart	{background: url(/wp-content/themes/invisible-ink/img/icons@2x.png) -200px 0 no-repeat;}
    
	@media screen and (min-width: 1224px) { 

		#search button::after {background: url(/wp-content/themes/invisible-ink/img/icons@2x.png) -160px -10px no-repeat;}
		
		#breadcrumbs	{background: #1b75bb url(/wp-content/themes/invisible-ink/img/texture@2x.jpg) center center no-repeat;}
	
	}
	
	.social li a	{background-image: url(/wp-content/themes/invisible-ink/img/icons@2x.png);}
	
	#jump2top	{background: url(/wp-content/themes/invisible-ink/img/icons@2x.png) -250px -50px no-repeat;}
	
}
