﻿/* We use the broadest, but also least specific, reset here. */
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

:root {
	--primary-color: #003e7e;
	--secondary-color: #3466C1;
}

img (
	image-rendering: -webkit-optimize-contrast;
)

/* Link Styling */
a {
	color: var(--secondary-color);
	font-weight: bold; 
}

	a:hover {
		color: var(--primary-color);
	}

	a[href^="mailto:"] {
		font-family: 'Oswald', sans-serif; 
		font-weight:500;
	}

	a.modal.iframe, li>a.modal.iframe {
		font-family: 'Oswald', sans-serif; 
		font-weight:500;
	}


	
a:active, a:focus {
    outline: 0;
}

a:focus {
		outline: 2px solid var(--secondary-color);
		outline-offset: 2px;
	}

	a:focus img {
		outline: 2px solid var(--secondary-color);
		outline-offset: 2px;
	}

	.footer-site-info a:focus {
		filter: saturate(0.75);
		outline: 2px solid var(--secondary-color);
		outline-offset: 2px;
	}


/* Body definitions */
body {
	text-align: left;
	background: var(--primary-color);
    font: 100%/1.45 Verdana, Geneva, Arial, Helvetica, sans-serif; /* Controls font style (size, font face, color) throughout website */
	color: #333;
}

/* Image Styling */


/* List definitions */
ol, ul {
	list-style: none;
}

/* Table definitions */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

/* Inline quotes and blockquotes */
q:before {
  content: '"';
}
q:after {
  content: '"';
}
blockquote, q {
	quotes: '"' '"';
}
blockquote { 
	text-indent: -1ex; 
	margin: 20px;
	color:#333;
}

/* Large pullquotes */
blockquote.big {
	font-size: 1.5em;
	line-height: 1.4em;
	text-align: right;
	color: #666;
	quotes:'\201C' '\201D';
}
blockquote:before {
	content: open-quote;
}
blockquote:after {
	content: close-quote;
}
blockquote.big:before, blockquote.big:after {
	font-family: Georgia, Serif;
	font-size:1.8em;
}
/*The figure class is used on divs in a handful of CMS articles to do pullquotes and sidebar blockquotes*/
.figure {
	display: block;
	float: right;
	padding: 0 0 0 10px;
	margin: 0 0 10px 10px;
	width: 260px;
	border-left: 3px solid #ccc;
}
.figure p {
	text-align: right;
	padding-right:20px;
	color:#666;
	margin-top: 7px;
	font-size: 0.90em;
}
.figure p:before {
	content: "\2014\00a0";
}

/* Common formatting - for now, ignore this section from the old common, and see if we can do without it */

/* Share Tools - Print, Email, Facebook, Twitter
-----------------------------------------------------------------------------*/
div.article-content-holder div.share-utility-box ul.page-tools-b.list-type-2 {
	float: right;
	width: 75%;
	padding: 0;
	margin: 0;
}
div.article-content-holder div.share-utility-box ul.page-tools-b.list-type-2 li {
	padding-bottom:0;
}
ul.page-tools-b {
	list-style: none;
	padding: 0;
	margin: 0 !important;
}

@media (max-width: 500px) {
	ul.page-tools-b {
		display: inline-grid;
		grid-gap: .5rem;
		grid-template-columns: 1fr 1fr;
	}
}

ul.page-tools-b li {
	padding: 0 !important;
	margin: 0;
	display:inline;
	float:left;
	list-style-type:none;
}
ul.page-tools-b li a, ul.page-tools-b li a:visited {
	color: #999;
	font-size:0.9em;
	display: block;
	padding: 0px;
	border-right: 1px dotted #ccc;
}
ul.page-tools-b li a.addthis_button_compact  {
	border-right: 0;
}
.addthis_default_style .at300b, .addthis_default_style .at300m {
	margin: 0px 10px 0px 0px;
	padding:0px 10px 0px 0px;
	display:block;
	float:none;
	line-height:12px; /*Important for padding*/
}
.addthis_default_style .at15t_twitter, .addthis_default_style .at15t_print, .addthis_default_style .at15t_email, .addthis_default_style .at15t_facebook {
    margin: 0px 5px 0 0;
	padding:0px;
}
.addthis_default_style .at15t_compact {
	padding:0 0.6em 0 0;
	margin:0 0 0 0;
}

/* --------------- Definition Lists ------------------*/

article dl, #content-wrapper-wide dl, body.mceContentBody dl {
	width:550px;
	margin:0 0 1.8em 0;
	margin-top: 10px;
	margin-left: 30px;
}
article dt, #content-wrapper-wide dt, body.mceContentBody dt {
	font-weight:bold;
	color: #333;
    font-size: 1.1em;
    margin: 20px 0 3px;	
}
article dt.indent, #content-wrapper-wide dt.indent, body.mceContentBody dt.indent
article dd.indent, #content-wrapper-wide dd.indent, body.mceContentBody dd.indent {
	margin-left:30px;
}
article dl.indent, #content-wrapper-wide dl.indent, body.mceContentBody dl.indent {
	margin-left:60px;
}
article dl.double-indent, #content-wrapper-wide dl.double-indent, body.mceContentBody dl.double-indent {
	margin-left:90px;
}
article dd ul, #content-wrapper-wide dd ul, body.mceContentBody dd ul {
	font-size:1em;
}
.isolate {
	margin-top:20px;
}
/*
.section-cartridge dt { was, now */
.associated-records dt {
	color: #333;
    font-size: 1.3em;
    margin: 20px 0 0;	
}
.associated-records dl {
	margin:0 20px;
	font-weight:bold;
    width: auto;
}
.detail-record dl {
	font-weight:normal;
}


/*Temporary dumping ground to test things that will get moved elsewhere later*/
a.feedback-button {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    background-color: #003e73;
    position: fixed;
    top: 150px;
    left: -2px;
    z-index: 1000;
    padding: 8px;
    border: 2px solid white;
}
.promo920 {
    padding: 4rem 2rem;
	max-width: 80rem;
	margin:auto;
}

.promo920 img {
	width: 100%;
}


/*---------------------------------------------------------------------------


                         Link Bar 
                         ------------------------
   
				- this section styles the home page buttons
				- optional scripts and HTML for this on beta.wisconsinhistory.org


---------------------------------------------------------------------------*/
#link-bar {
	background: var(--primary-color);
}
#link-bar > div {
    display: inline-block;
    *zoom: 1;
    *display: inline;
    vertical-align: top;
    margin: 15px 0 0 20px;
}
#link-bar > div h1 {
	color:#fff;
	text-transform:uppercase;
	padding-bottom: 3px;
}
#link-bar li {
	margin-bottom:5px;
	padding-bottom: 0px ;
}

#link-bar a, #link-bar a:link, #link-bar a:active, #link-bar a:visited, #link-bar a:hover, #link-bar a:focus {
	color:#cacaca;
}
#link-bar a.disable:hover {
	color:#666 !important;
	text-decoration:none !important;
}
#link-bar a:hover {
	text-decoration:underline;
}

.social-media li a {
	background: url('/images/site/social-media-sprite-circle.png');
	display: block;
	width: 15px;
	height: 15px;
	padding: 0 0 0 26px;
}
.social-media li a.facebook {
	background-position: 0px 0px;
}
.social-media li a.facebook:hover  {
	background-position: 0px -15px;
}
/* 23 */
.social-media li a.flickr {
	background-position: -60px 0px;
}
.social-media li a.flickr:hover {
	background-position: -60px -15px;
}
/* 46 */
.social-media li a.rss {
	background-position: -120px 0px;
}
.social-media li a.rss:hover {
	background-position: -120px -15px;
}
/* 69 */
.social-media li a.tumblr {
	background-position: -180px 0px;
}
.social-media li a.tumblr:hover {
	background-position: -180px -15px;
}	
/* 92 */
.social-media li a.twitter {
	background-position: -240px 0px;
}
.social-media li a.twitter:hover {
	background-position: -240px -15px;
}			

/* 116 */
.social-media li a.youtube {
	background-position: -300px 0px;
}
.social-media li a.youtube:hover {
	background-position: -300px -15px;
}

/* 142 */

.social-media li a.e-newsletter {
	background-position: -360px 0px;
}
.social-media li a.e-newsletter:hover {
	background-position: -360px -15px;
}

/* 164 */
.social-media li a.pinterest {
	background-position: -420px 0px;
}
.social-media li a.pinterest:hover {
	background-position: -420px -15px;
}



/*---------------------------------------------------------------------------


                         EXTRA 


---------------------------------------------------------------------------*/

.buy-button {
	/*background: url('/images/site/BUY-button.gif') no-repeat 0 0 transparent;*/
    background: #ca6115 url('/images/site/box-orange-gradient.gif') top repeat-x;
	display: inline-block;
    *zoom: 1;
    *display: inline;
    vertical-align: top;
	width: 60px;
	height: 32px;
	padding: 4px 0 0 12px;
	margin: 10px 0 91px 20px;
	outline: none;
	border: none;
	color: #fff;
	font-family: Helvetica, Arial, Sans-serif, sans-serif;
	letter-spacing: -0.02em;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1.6em;
	cursor: pointer;
}


div.record-purchase-info {
    line-height: 1.3em;
    margin: 0 0 20px 20px;
    display: inline-block;
    *zoom: 1;
    *display: inline;
}




.full-record-disclaimer {
	border: 1px solid #ccc;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 15px;
    background: #f1f1f1;
}

.full-record-disclaimer h1 {
	font-size: 1.3em;
    font-weight: bold;
}

.full-record-disclaimer p {
	line-height: 1.4em; 
	margin-bottom: 1em;
}

.vr-form {
	width:49%;
	display:inline-block;
}


.major-link {
    display: inline-block;
    padding: .5rem .75rem;
    border: 3px solid var(--primary-color);
    color: #003e73;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.4rem;
    letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: .25rem;
}

.reverse {
    color: #ffffff;
    border-color: #ffffff;
    text-transform: uppercase;
}

a.reverse:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

a.major-link:hover, a.reverse.major-link:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
	text-decoration: none;
	text-shadow: none;
    box-shadow: none;
}

.minor-link { /* THIS A BAD STYLE */
    display: inline-block;
    padding: .25rem .75rem;
    border: 3px solid #5c93b9; /*Brand Colors: light blue*/
    color: #5c93b9;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: auto;
}

.directions-link {
    display: inline-block;
    padding: 5px 15px;
    border-style: solid;
    border-width: 2px;
    border-color: #8b8f4f; /*Brand Colors: Green*/
    color: #8b8f4f;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: auto;
}

.dark .major-link {
    border-color: white;
    color: white;
}

[type="submit"] {
    padding: 5px 15px;
    background-color: #ca6115;
    background-image: linear-gradient(rgba(102,102,102,0.35), transparent 50%);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}
[type="submit"]:hover {
    background-image: linear-gradient(transparent 50%, rgba(102,102,102,0.35));
}



.primary-action-button {
    background-color: #ca6115;
    font-size: 1.4rem;
    line-height: 1.4rem;
    text-transform: uppercase;
}

.secondary-action-button {
    background-color: var(--primary-color);
    font-size: 1rem;
    vertical-align: bottom;
    padding: 0 15px;
}

.card {
	 border: 1px solid #ccc; 
	 border-radius: 3px; 
	 box-shadow: 1px 1px 5px rgba(0, 0, 0, .2); 
	 background: #fff; min-height: 200px; 
	 padding: 1.5rem; 
	 margin-bottom: 1rem;
}


/* Some homepage code that needs a media query Must figure out better solution*/
#primary {
    grid-column: span 2;
}

@media (max-width: 730px) {
	#primary {
		 grid-column: span 1;
	}
}
/* End of that nonsense */

/* More nonsense */
:is(.pumpkin, .vine)::before, :is(.pumpkin, .vine)::after {
	content: '';
}

.showoff-box {
	display: grid;
	grid-template-columns: 1fr;
	background-color: #3d0050;
	
	@media (min-width: 500px) {
		grid-template-columns: 1fr 1fr;
	}
	@media (min-width: 750px) {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.pumpkin {
	grid-row: 2;
	place-self: center;
	margin-top: 50px;
	margin-bottom: 200px;
	position: relative;
	height: 1px;
	width: 200px;
	z-index: 2;
		
	&:first-child {
		display: none;
		@media (min-width: 500px) {
			display: block;
		}
	}
	&:last-child {
		display: none;
		@media (min-width: 750px) {
			display: block;
		}
	}
	
	&::before {
		position: absolute;
		left: 87px;
		top: -45px;
		
		height: 50px;
		width: 50px;
		border-left: 25px solid saddlebrown;
		border-top: 10px solid transparent;
		border-top-left-radius: 35px 50px;
	}
	
	&::after {
		position: absolute;
		
		height: 175px;
		width: 200px;
		border-radius: 45%;

		background-color: orange;

		background-image: 
		/* eyes */
		radial-gradient(ellipse at center, darkred 0%, darkred 40%, transparent 40%),
		radial-gradient(ellipse at center, darkred 0%, darkred 40%, transparent 40%),
		radial-gradient(ellipse at center, tomato 0%, tomato 40%, transparent 40%),
		radial-gradient(ellipse at center, tomato 0%, tomato 40%, transparent 40%),
		/* nose */
		radial-gradient(ellipse at center, darkred 0%, darkred 40%, transparent 40%),
		/* teeth */
		linear-gradient(50deg, transparent 50%, orange 50%),
		linear-gradient(-50deg, transparent 50%, orange 50%),
		linear-gradient(50deg, transparent 50%, orange 50%),
		linear-gradient(-50deg, transparent 50%, orange 50%),
		linear-gradient(50deg, transparent 50%, tomato 50%),
		linear-gradient(-50deg, transparent 50%, tomato 50%),
		/* mouth */
		radial-gradient(ellipse at center, white 0%, yellow 20%, transparent 40%),
		radial-gradient(ellipse at top, brown 0%, brown 60%, transparent 60%),
		radial-gradient(ellipse at top, tomato 0%, tomato 60%, transparent 60%),
		radial-gradient(ellipse at center, transparent 0%, transparent 49%, tomato 49.5%, tomato 50.5%, transparent 51%)
		;
		background-size:
		/* eyes */
		50px 50px,
		50px 50px,
		50px 50px,
		50px 50px,
		/* nose */
		50px 50px,
		/* teeth */
		20px 20px,
		20px 20px,
		20px 20px,
		20px 20px,
		20px 20px,
		20px 20px,
		/* mouth */
		40px 60px,
		150px 45px,
		156px 46px,
		180px 350px
		;
		background-position:
		/* eyes */
		40px 30px,
		110px 30px,
		37px 30px,
		113px 30px,
		/* nose */
		75px 65px,
		/* teeth */
		50px 120px,
		70px 120px,
		110px 120px,
		130px 120px,
		108px 120px,
		72px 120px,
		/* mouth */
		80px 110px,
		25px 120px,
		22px 120px,
		10px -87.5px
		;
		background-repeat: no-repeat;
		
		box-shadow: inset 5px 0 5px tomato, inset -5px 0 5px tomato;
		
		animation: flicker 1s infinite alternate;
	}
}

@keyframes flicker {
to {
	background-size:
	/* eyes */
	50px 50px,
	50px 50px,
	50px 50px,
	50px 50px,
	/* nose */
	50px 50px,
	/* teeth */
	20px 20px,
	20px 20px,
	20px 20px,
	20px 20px,
	20px 20px,
	20px 20px,
	/* mouth */
	40px 50px,
	150px 45px,
	156px 46px,
	180px 350px
	;
	background-position:
	/* eyes */
	40px 30px,
	110px 30px,
	37px 30px,
	113px 30px,
	/* nose */
	75px 65px,
	/* teeth */
	50px 120px,
	70px 120px,
	110px 120px,
	130px 120px,
	108px 120px,
	72px 120px,
	/* mouth */
	80px 120px,
	25px 120px,
	22px 120px,
	10px -87.5px
	;
}
}