@charset "UTF-8";

/* Modern 2025 Typography - Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/*html5 display rule*/
address, article, aside, canvas, content, details, figcaption, figure, footer, header, hgroup, nav, menu, nav, section, summary {
	display: block;
}

body {
	background-color:  #ffffff;
	
	/* Modern 2025 Typography */
	font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: #2c3e50;
	margin-bottom: auto;
	}

h1 {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.3;
	margin-top: 1.2em;
	margin-bottom: 0.5em;
	}

h2 {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.35;
	margin-top: 1.5em;
	margin-bottom: 0.6em;
	}

h3 {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 1.3em;
	margin-bottom: 0.5em;
	}

h4 {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 1.2em;
	margin-bottom: 0.4em;
	}

h5 {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 1em;
	margin-bottom: 0.4em;
	}

/* Better paragraph and list spacing */
p {
	margin-bottom: 1.2em;
	line-height: 1.65;
	}

/* Reduce margin for paragraphs followed by embeds/iframes */
p + embed,
p + iframe {
	margin-top: 0.5em;
	}

/* Ensure embeds display properly */
embed, iframe {
	display: block;
	margin: 0.5em 0;
	}

li {
	margin-bottom: 0.5em;
	line-height: 1.6;
	}

ul, ol {
	margin-bottom: 1.2em;
	}

/* Welcome box enhanced readability */
.welcome-box {
	font-size: 17px;
	line-height: 1.7;
	}

.welcome-box p {
	margin-bottom: 1.3em;
	}

header {
	width:970px;
	background-color: #a23a11;
	border-bottom-color: #a23a11;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	box-shadow: 0 3px 8px rgba(0,0,0,0.15);
	min-height: 200px;
	padding-bottom: 10px;
}

content{
	width:970px;
	margin: 0 20px;
		background-color: #fff7e6;

}



header h1 {
	padding:5px 0px 0px 20px;
	color:#fff7e6;
	background-color: #a23a11;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	letter-spacing: 0.2px;
	margin-top: 0.5em;
}

/* Plating Wizard header - Algerian font with sparkles */
header h1.plating-wizard-header {
	font-family: 'Algerian', 'Almendra', 'MedievalSharp', Georgia, serif !important;
}
	margin-bottom: 0.3em;
}

header#logo-images {
	height:197px; 
/* 	width:970px; */
	margin-top:5px;
	margin-bottom:0px;
	background-color: #a23a11;
	}

header#logo-images img {	
	border:1px solid #a23a11;
} 







/* figure out styling for stamp page header */

.stampheader {
   	background-color: #a23a11;
}


.stampheader .stampimage {
     color:#a23a11;
     margin-bottom:10px;
}


.stampheader .stamptext {
    font-family: Georgia, "Times New Roman", Times, serif;
	font-size:26px;
    padding:5px 0px 0px 20px;
	color:#fff7e6;
	background-color: #a23a11;
	text-shadow: 3px 3px 3px #888;
}

.stampheader .stampimage,

.stampheader .stamptext {
    display: inline-block;
    vertical-align: center;
}





/* set left margins for bootstrap containers such as checkbox */
div.logo-images {
   	margin-top:5px;
	margin-right:auto;
	margin-bottom:0px;
	margin-left:20px;
}

/* set left margins for bootstrap containers such as checkbox */
div.cardmargins {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* set left margins for bootstrap containers such as checkbox */
div.container {
    margin-left: 5px;
    margin-right: 5px;
}

#design img {
	margin: 0px 30px 0px 175px;
}

#guide-dots img {
	margin: 0px 30px 0px 175px;
}	

triangle {
    display: none; /* visibility: hidden works too */
}

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

nav {
	width: 970px;
	padding: 0 0 8px 0;
	margin-top: 0;
	margin-bottom: 0;
	border-top: 8px solid #a23a11;
	box-shadow: inset 2px 0 0 #a23a11, inset -2px 0 0 #a23a11;
	overflow: hidden;
	background-color: #fff7e6;
	position: relative;
	z-index: 1;
	/* PERMANENT FRAME LINES - using inset box-shadow for consistent rendering */
	/* Rust border-top fills gap between header and buttons */
}

nav ul {
	display: flex;
	align-items: center;
	padding: 0 2px;
	margin: 0;
	width: 100%;
	gap: 0;
	box-sizing: border-box;
	/* 2px padding on each side pushes buttons inward, away from frame lines */
}

nav li{
	list-style-type:none;
	margin: 0;
	flex: 1 1 auto;
}

nav li a{
	font-family: Georgia, "Times New Roman", Times, serif;
	text-decoration:none;
	border-color: #a23a11;
	border-width: 3px;
	display:block;
	padding: 6px 10px;
	font-size: 16px;
	font-weight: 500;
	border-radius: 0 0 4px 4px;
	transition: all 0.3s ease;
	letter-spacing: 0px;
	white-space: nowrap;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	/* Rounded bottom corners only - flat top sits flush with header */
}

nav li a:link{
	color:#a23a11;
	text-shadow: none;
	border:1px solid #a23a11;
	background-color: #fff7e6;
}
nav li a:visited{
	color:#a23a11;
}
nav li a:hover{
	font-family: Georgia, "Times New Roman", Times, serif;
	color:#fff7e6;
	background-color: #a23a11;
	box-shadow: 0 2px 5px rgba(162, 58, 17, 0.25);
	transform: translateY(-0.5px);
}

/* Special styling for Etcetera! nav link */
nav li a.nav-etcetera {
	background-color: #fff7e6;
	color: #2d6a4f;
	font-weight: 600;
}

nav li a.nav-etcetera:hover {
	background: linear-gradient(135deg, #2d6a4f 0%, #40826d 100%);
	color: #fff7e6;
}

/* Special styling for Plating Wizard nav link - Harry Potter style */
nav li a.nav-plating-wizard:link,
nav li a.nav-plating-wizard:visited {
	font-family: 'Algerian', 'Almendra', 'MedievalSharp', Georgia, serif !important;
	background: linear-gradient(135deg, #a0522d 0%, #cd853f 50%, #a0522d 100%) !important;
	color: #ffd700 !important;
	font-weight: 700 !important;
	font-size: 16px !important; /* Match other nav buttons */
	letter-spacing: 0px !important; /* Match other nav buttons */
	padding: 6px 0px !important; /* No left-right padding */
	border: 1px solid #a23a11 !important; /* Match other nav buttons */
	border-radius: 0 0 4px 4px !important; /* Match other nav buttons */
	box-sizing: border-box !important; /* Match other nav buttons */
	position: relative;
	will-change: transform, box-shadow;
	animation: pulse-plating-wizard 2s ease-in-out infinite !important;
}

/* Base state (when not active) - only apply animation if not active */
nav li a.nav-plating-wizard:not(:active):not(.active) {
	animation: pulse-plating-wizard 2s ease-in-out infinite !important;
}

/* Selected/Active state - NO animation */
nav li a.nav-plating-wizard:active,
nav li a.nav-plating-wizard.active {
	font-family: 'Algerian', 'Almendra', 'MedievalSharp', Georgia, serif !important;
	background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #8b4513 100%) !important;
	color: #fffacd !important;
	font-weight: 700 !important;
	font-size: 16px !important; /* Match other nav buttons */
	letter-spacing: 0px !important; /* Match other nav buttons */
	padding: 6px 0px !important; /* No left-right padding */
	border: 1px solid #a23a11 !important; /* Match other nav buttons */
	border-radius: 0 0 4px 4px !important; /* Match other nav buttons */
	box-sizing: border-box !important; /* Match other nav buttons */
	animation: none !important; /* No animation when selected - highest priority */
}

/* Pulse animation for unchecked state - similar to 3¢ Stamp Exchange */
@keyframes pulse-plating-wizard {
	0% {
		transform: scale(1);
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 4px 15px rgba(162,58,17,0.5);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	}
}

/* Hover state - keep pulse animation */
nav li a.nav-plating-wizard:hover {
	background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #8b4513 100%) !important;
	color: #fffacd !important;
	font-family: 'Algerian', 'Almendra', 'MedievalSharp', Georgia, serif !important;
	font-size: 16px !important; /* Match other nav buttons */
	letter-spacing: 0px !important; /* Match other nav buttons */
	padding: 6px 0px !important; /* No left-right padding */
	border: 1px solid #a23a11 !important; /* Match other nav buttons */
	border-radius: 0 0 4px 4px !important; /* Match other nav buttons */
	box-sizing: border-box !important; /* Match other nav buttons */
	animation: pulse-plating-wizard 2s ease-in-out infinite !important; /* Keep pulse on hover */
}

nav li a:active{
	color:#fff7e6;
	background-color:#8b3110;
	transform: translateY(0px);
}

/* Special styling for DC (Dick's Celler) nav link */
nav li#dicks-celler-nav-item {
	background-color: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
}

nav li a.nav-dc:link,
nav li a.nav-dc:visited,
nav li a.nav-dc:hover,
nav li a.nav-dc:active {
	background-color: #dc2626 !important;
	color: white !important;
	border: 1px solid #a23a11 !important;
	padding: 6px 0px !important; /* No left-right padding */
}

nav li a.nav-dc:hover {
	background-color: #b91c1c !important;
	transform: translateY(-0.5px);
	box-shadow: 0 2px 5px rgba(220, 38, 38, 0.25);
}

nav li a.nav-dc:active {
	background-color: #991b1b !important;
	transform: translateY(0px);
}
	

article {
	width:970px;
	margin-left:0px;
	margin-right:20px;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	padding-top:10px;
	padding-bottom: 0px !important;
	position: relative;
	/* PERMANENT FRAME LINES - using inset box-shadow for consistent rendering with inner gradients */
	box-shadow: inset 2px 0 0 #a23a11, inset -2px 0 0 #a23a11;
	/* Animated INNER lines appear inside the frame lines */
	/* No transition - instant changes */
	}

/* Ensure content articles (not footer) have zero bottom margin/padding to connect with footer article */
article:not(.footer-wrapper) {
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
	}

/* Remove bottom margin from the last child inside content articles to eliminate gap */
article:not(.footer-wrapper) > *:last-child {
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
	}

/* Also target last child of last child (for nested structures like divs inside divs) */
article:not(.footer-wrapper) > *:last-child > *:last-child {
	margin-bottom: 0px !important;
	}

/* Target last child inside forms (for wizard pages where form is the main content) */
article:not(.footer-wrapper) form > *:last-child,
article:not(.footer-wrapper) form > *:last-child > *:last-child {
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
	}

/* Rosette watermarks at corners - positioned to match actual stamp structure */
/* Size: 20% of page width (970px * 0.20 = 194px) */
/* Position: edges align with inner lines, touching header/footer */
/* Only apply to content articles, NOT the footer article */

/* ROSETTE CODE - SAVED FOR FUTURE USE 
 * Uncomment to add rosette watermarks at upper corners
 *
article:not(:has(footer))::before {
	content: '';
	position: absolute;
	width: 194px;
	height: 194px;
	top: -19px;
	left: -1px;
	background-image: url('/static/images/rosetta-square.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 50%;
	opacity: 0.40;
	pointer-events: none;
	z-index: 1000;
}

article:not(:has(footer))::after {
	content: '';
	position: absolute;
	width: 194px;
	height: 194px;
	top: -19px;
	right: -1px;
	background-image: url('/static/images/rosetta-square.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 50%;
	opacity: 0.40;
	pointer-events: none;
	z-index: 1000;
}
*/

/* Inner Line Animation States - mimicking stamp plating characteristics */
/* 4 states total: two inner lines (left+right), no inner lines, left only, right only */
/* Frame lines are CSS borders, animation only controls INNER lines */

/* State 1: Two inner lines (one on left, one on right) */
/* Using left-based positioning for both to ensure symmetry */
article.inner-lines-both {
	background-image: 
		linear-gradient(to bottom, #a23a11 0, #a23a11 100%),
		linear-gradient(to bottom, #a23a11 0, #a23a11 100%);
	background-size: 2px 100%, 2px 100%;
	background-position: left 6px top, right 6px top;
	background-repeat: no-repeat;
}

/* State 2: No inner lines (frame only - borders show through) */
article.inner-lines-none {
	background-image: none;
}

/* State 3: Single inner line left only */
article.inner-lines-left {
	background-image: 
		linear-gradient(to bottom, #a23a11 0, #a23a11 100%);
	background-size: 2px 100%;
	background-position: left 6px top;
	background-repeat: no-repeat;
}

/* State 4: Single inner line right only */
article.inner-lines-right {
	background-image: 
		linear-gradient(to bottom, #a23a11 0, #a23a11 100%);
	background-size: 2px 100%;
	background-position: right 6px top;
	background-repeat: no-repeat;
}

article h1, h2, h3, p {
	margin-left:20px;
	margin-right:20px;
	padding-top:5px;
	}

article .card-deck {
	margin-left: 0px;
	margin-right: 0px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	}

article .card {
	padding: 0;
	flex: 0 0 450px;
	min-width: 450px;
	max-width: 450px;
	}

article .card-header {
	padding: 10px !important;
	}

article .card-body {
	padding: 10px !important;
	}

article .card-footer {
	padding: 10px !important;
	}

article p {
	padding-top:2px;
	padding-bottom:8px;
	line-height:1.6;
	}

article h1{
	color:#a23a11;
	font-size:26px;
	text-transform: capitalize;
	text-shadow: 0px 0px 0px #888;
	margin-bottom: 8px;
	margin-top: 15px;
}	
	
article h2{
	color:#a23a11;
	font-size:28px;
	text-transform: capitalize;
	text-shadow: 0px 0px 0px #888;
	margin-bottom: 8px;
	margin-top: 18px;
	padding-top: 15px;
	border-top: 1px solid rgba(162, 58, 17, 0.2);
}

article h1:first-of-type,
article h2:first-of-type {
	border-top: none;
	padding-top: 8px;
}

article h3{
	color:#a23a11;
	font-size:16px;
	text-transform: capitalize;
	margin-bottom: 6px;
	margin-top: 12px;
}

article ul {
	line-height: 1.7;
	margin-bottom: 10px;
}

article ul li {
	margin-bottom: 5px;
}

article a {
	color: #a23a11;
	text-decoration: none;
	transition: all 0.2s ease;
}

article a:hover {
	color: #8b3110;
	text-decoration: underline;
}

.welcome-box {
	background-color: #fffaf0;
	border-bottom: 3px solid #a23a11;
	padding: 15px 20px;
	margin: 15px 20px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.welcome-box p {
	margin-bottom: 12px;
}

.welcome-box p:last-child {
	margin-bottom: 0;
}

.key-features-list {
	background-color: #fffaf0;
	padding: 15px 20px 10px 45px;
	margin: 10px 20px;
	border-radius: 4px;
	border-bottom: 3px solid #a23a11;
}

.key-features-list li {
	color: #333;
	margin-bottom: 6px;
}
	
footer {
	width: 970px;
	border-top-color: #a23a11;
	border-top-width: 1px;
	border-top-style: solid;
	clear:both;
	background-color: #a23a11;
	font-family:, Georgia, "Times New Roman", Times, serif;
	color:#ffffff;
	font-size: 12px;
	border-bottom-width: 10px;
	padding-bottom:10px;
	margin-top: 0;
	/* Footer's parent article has frame lines */
	}

/* Footer article (wraps the footer element) - ensure seamless connection with content article */
article.footer-wrapper {
	margin-top: -1px !important;
	padding-top: 0px !important;
	/* Negative margin makes it overlap slightly with article above, connecting frame lines */
	box-shadow: inset 2px 0 0 #a23a11, inset -2px 0 0 #a23a11;
	}
	
footer section.first {
	float:left;
	width:240px;
	padding-top:0px;
	padding-bottom:0px;
	}

footer section.first p {
	color:#f2f3ed;
	font-size: 12px;
	line-height: 16px;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	}	
	
footer section {
	float:left;
	width:226px;
	padding-top:0px;
	padding-bottom:0px;
	color:#a23a11;
	}
	
footer section h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color:#ffffff;
	font-size:14px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #ffffff;
	padding-bottom: 0px;
	text-transform: capitalize;
	font-weight:normal;
	}
		
footer section p {
	color:#fff7e6;
	font-size: 12px;
	line-height: 16px;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	}
	
.clearing {
	clear:both;
}

/* Plating Wizard Form - Allow button groups to wrap */
.btn-group,
.btn-group-xs {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 5px;
	width: 100% !important;
}

.btn-group .btn,
.btn-group-xs .btn {
	float: none !important;
	margin-bottom: 5px;
	flex-shrink: 0;
}

/* Ensure labels wrap within button groups */
.btn-group > label,
.btn-group-xs > label {
	float: none !important;
	display: inline-flex !important;
	align-items: center;
}

/* Ensure ul containers don't restrict width */
form ul {
	width: 100%;
	overflow: visible;
}

/* Pulse animation for Stamps Needed button */
@keyframes pulse-stamps-needed {
	0% {
		transform: scale(1);
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 4px 15px rgba(198,40,40,0.5);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	}
}

.stamps-needed-pulse {
	/* Animation disabled - uncomment line below to reactivate pulsing */
	/* animation: pulse-stamps-needed 4s ease-in-out infinite; */
	animation: none; /* Pulsing deactivated - see commented line above to reactivate */
}

.stamps-needed-pulse:hover {
	animation: none;
	background-color: #2d6a4f !important; /* Dark green to match font color */
	color: white !important;
	transform: scale(1.02);
}
