/*

PathPaint Touch v 5.1 stylesheet
Author: Andrew Rosinski

*/



/*
||||||||||||||||||||||||||||||||||||||||||||||||||||||
	FONT IMPORT
||||||||||||||||||||||||||||||||||||||||||||||||||||||
*/


@font-face {
		font-family: 'Decima Mono';
		src: url('../fonts/decima-mono.eot');
		src: url('../fonts/decima-mono.eot') format('embedded-opentype'),
			url('../fonts/decima-mono.woff') format('woff'),
			url('../fonts/decima-mono.ttf') format('truetype'),
			url('../fonts/decima-mono.svg#DecimaMono') format('svg');
}


/*
||||||||||||||||||||||||||||||||||||||||||||||||||||||
	PAGE ELEMENTS
||||||||||||||||||||||||||||||||||||||||||||||||||||||
*/

html, body {
	margin: 0;
	height: 100%;
	width: 100%;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
	font-family: "Decima Mono", monospace;
	font-weight: 400;
	font-style: normal;
}

body {
	font-family: "Decima Mono","IBM Plex Mono", monospace;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
	color: #333333;
	padding: 0px;
	margin: 0px;
	background-size: auto;
	background: url(../animated/christmas-lines.gif) repeat center center fixed lightslategray;
	background-size: auto;
}

#sketch {
	border-radius: 0px;
	cursor:url(../cur/cursor.cur), auto;
	touch-action: none;
}

.pathpaint-canvas-container {
	position: relative;
	width: min(100%, 841px); 
	height: auto;
	margin: 0 auto;
	background: #FFF;
	border-radius: 24px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.25);
	overflow: hidden;
}

.container-fluid {
	height: auto;
	width: 100%;
	/* background: url(../animated/christmas-lines.gif) repeat center center fixed;
	background-size: auto; */
	mix-blend-mode: hard-light;
	/* mix-blend-mode:difference; */
}

h1, h2, h3, h4, h5, h6, p, span {
	font-family: "Decima Mono","IBM Plex Mono", monospace;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
}

.pathpaint-h1 {
	font-family: "Decima Mono","IBM Plex Mono", monospace;
	font-weight: 400;
	font-style: normal;
	font-size: 2rem;
	margin-right: 1rem;
	text-transform: none;
}

.close-header-mobile {
    position: fixed;
    display: block;
    width: 100%;
    height: 5rem;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    cursor: pointer;
	background-color: #00FF00;
	background-image: url(../patterns_shortlist/oblique1/oblique12.png);
	border-bottom: 5px groove #FF0000;
    background-repeat: repeat;
    background-attachment: fixed;
	display: flex;
    flex-direction: row;
	align-items: center
}

.branding-h1-50-pathprint {
    font-style: italic;
    font-size: 2rem;
    padding-left: 0.25rem;
    color: #000000;
    display: block;
    width: 100%;
    text-align: left;
    font-weight: normal;
    text-transform: none;
    margin: 0px;
    text-align: center;
}

.pathprint-highlight {
	display: inline;
	background: lightsalmon;
	font-weight: 400;
	padding: 0rem 0.25rem;	
	font-size: inherit;
	font-style: italic;
	color: lime;
}

.pathprint-edition {
	font-weight: 900;
	text-transform: uppercase;
	display: inline;
	font-style: italic;
	margin-right: 2rem;
	background: #000000;
	color: #FF0000;
	padding: 0rem 0.25rem;	
	letter-spacing: 5px;
	font-size: inherit;
}

#pathprintEdition {
	padding-top: 90px;
}

.pp-btn {
	margin: 0.5rem auto;
	font-family: "Decima Mono","IBM Plex Mono", monospace;
	font-weight: 500;
	font-style: italic;
    text-transform: capitalize;
    font-size: 1.5rem;
    border: 2px groove ghostwhite;
    background: ghostwhite;
    width: 100% !important;
    display: block !important;
    padding: 0.5rem;
}

.pp-btn-nav {
	background: ghostwhite;
	border: 2px groove #00FFFF;
	font-weight: 500;
	font-style: italic;
	border-radius: 2px;
	font-size: 1.5rem;
	padding: 0.5rem;
	width: 100% !important;
}

button:hover, .pp-btn:hover {
	cursor: pointer !important;
}

.menu-btn {
	font-family: "Decima Mono","IBM Plex Mono", monospace;
	letter-spacing: 2.5px;
	padding: 5px 20px;
	background: #00FFFF;
	color: #111111;
	border: 0px solid gray;
	border: 1px solid #777777;
	font-weight: 500;
}


h4 {
	border-bottom: 2px ridge #00FF00;
	font-weight: normal;
	text-transform: none;
	background-color: #00FF00;
	background-image: url('../icons/tiles-older/tile1.gif');
	background-repeat: repeat;
	background-attachment: fixed;
}

.brush-panel {
	margin: 90px 1rem 1.5rem;
	border-radius: 24px;
	background: rgba(255,255,255,0.95);
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	position: relative;
	z-index: 10;
}

.feature-hidden {
	display: none !important;
}

.language-switch {
	display: flex;
	align-items: center;
	margin-left: auto;
	padding: 0.5rem;
	gap: 0.5rem;
}

.language-switch select {
	border-radius: 999px;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgba(0,0,0,0.2);
	background: rgba(255,255,255,0.9);
	font-family: "Decima Mono", monospace;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.brush-panel__row {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.brush-tabs {
	width: 100%;
}

.brush-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: flex-end;
	position: relative;
}

.brush-actions .mdl-menu {
	right: 0;
	top: calc(100% + 0.75rem);
}

.pattern-placeholder {
	font-size: 0.95rem;
	color: #333;
	padding: 1rem;
	text-align: center;
	background: rgba(0,0,0,0.035);
	border-radius: 12px;
}

.pattern-group {
	margin-bottom: 1.25rem;
}

.pattern-group__title {
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #222;
	margin: 0 0 0.5rem;
}

.pattern-group__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(90px, 1fr));
	gap: 0.65rem;
}

@media (max-width: 900px) {
	.pattern-group__grid {
		grid-template-columns: repeat(4, minmax(70px, 1fr));
	}
}

@media (max-width: 640px) {
	.pattern-group__grid {
		grid-template-columns: repeat(2, minmax(120px, 1fr));
	}
}

.brush-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.brush-grid {
		grid-template-columns: repeat(3, minmax(140px, 1fr));
	}
}

@media (min-width: 1024px) {
	.brush-grid {
		grid-template-columns: repeat(4, minmax(150px, 1fr));
	}
}

.brush-grid .brush-chip {
	width: 100%;
	min-height: 72px;
	font-size: 1rem;
	text-transform: capitalize;
}

.brush-chip--pattern {
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	text-transform: capitalize;
}

.brush-panel__label {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #555;
}

.pathprint-main {
	padding: 0 1rem 4rem;
}

.canvas-shell {
	max-width: 980px;
	margin: 0 auto;
	border-radius: 32px;
	padding: 1.5rem;
	background: transparent;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.pathpaint-canvas-container canvas {
	width: 100%;
	height: auto;
	display: block;
}

.control-panel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.control-card {
	padding: 1rem;
	background: rgba(255,255,255,0.95);
	border-radius: 24px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.slider-group + .slider-group {
	margin-top: 1.25rem;
}

.control-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	align-items: start;
}

.control-tile {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.control-grid__full {
	grid-column: 1 / -1;
}

.control-label {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
	color: #333;
}

.control-tile input[type="color"] {
	width: 100%;
	height: 48px;
	border: none;
	border-radius: 16px;
	padding: 0;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
	margin-bottom: 0.75rem;
}

.control-card .mdl-button {
	width: 100%;
}

.control-helper {
	font-size: 0.75rem;
	color: #666;
	margin: -0.25rem 0 0.75rem;
}

.palette-targets,
.guide-buttons {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.palette-target,
.guide-button {
	flex: 1 1 auto;
	border-radius: 999px;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.palette-target.is-active,
.guide-button.is-active {
	background: #111111;
	color: #ffffff;
}

.quick-color-palette {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.quick-color-swatch {
	border: none;
	border-radius: 18px;
	height: 42px;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quick-color-swatch:focus-visible,
.quick-color-swatch.is-active {
	box-shadow: 0 0 0 3px rgba(0,0,0,0.3);
	transform: scale(1.05);
}

.action-dock {
	position: sticky;
	bottom: 0;
	gap: 1rem;
	justify-content: center;
}

.action-dock .mdl-button {
	background: #111;
	color: #fff;
}

.save-feedback {
	margin: 1rem auto 2rem;
	max-width: 420px;
	padding: 0.75rem 1rem;
	border-radius: 16px;
	background: rgba(17,17,17,0.85);
	color: #fff;
	font-size: 0.85rem;
	text-align: center;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	display: none;
}

.save-feedback.is-visible {
	display: block;
}

.save-feedback.is-error {
	background: rgba(230, 57, 70, 0.9);
}

@media (min-width: 900px) {
	.brush-panel {
		margin: 110px auto 2rem;
		max-width: 980px;
	}
	.pathprint-main {
		padding: 0 0 4rem;
	}
}

.canvas-guides {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
	mix-blend-mode: multiply;
}

.canvas-guides--thirds,
.canvas-guides--crosshair {
	opacity: 1;
}

.canvas-guides--thirds {
	background-image:
		linear-gradient(90deg,
			transparent,
			transparent calc(33.333% - 1px),
			rgba(0,255,255,0.7) calc(33.333% - 1px),
			rgba(0,255,255,0.7) calc(33.333% + 1px),
			transparent calc(33.333% + 1px),
			transparent calc(66.666% - 1px),
			rgba(0,255,255,0.7) calc(66.666% - 1px),
			rgba(0,255,255,0.7) calc(66.666% + 1px),
			transparent calc(66.666% + 1px)
		),
		linear-gradient(0deg,
			transparent,
			transparent calc(33.333% - 1px),
			rgba(0,255,255,0.7) calc(33.333% - 1px),
			rgba(0,255,255,0.7) calc(33.333% + 1px),
			transparent calc(33.333% + 1px),
			transparent calc(66.666% - 1px),
			rgba(0,255,255,0.7) calc(66.666% - 1px),
			rgba(0,255,255,0.7) calc(66.666% + 1px),
			transparent calc(66.666% + 1px)
		);
}

.canvas-guides--crosshair {
	background-image:
		linear-gradient(90deg,
			transparent,
			transparent calc(50% - 1px),
			rgba(255,0,102,0.7) calc(50% - 1px),
			rgba(255,0,102,0.7) calc(50% + 1px),
			transparent calc(50% + 1px)
		),
		linear-gradient(0deg,
			transparent,
			transparent calc(50% - 1px),
			rgba(255,0,102,0.7) calc(50% - 1px),
			rgba(255,0,102,0.7) calc(50% + 1px),
			transparent calc(50% + 1px)
		);
}

.btn-swatch {
    display: inline-block;
    height: 25px;
    width: 25px;
    background: lightcyan;
    border: 0px;
    margin: 2px;
}



/* Bottom & Side Toolbar */

.item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0rem 0.5rem;
}

.nav-flex {
	display: inline-flex;
    align-items: center;
    justify-content: space-around;
    margin: 0rem 0.25rem;
    flex-direction: row;
	width: 100%;
	margin: 2rem auto;
}

.item-flex {
	display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0rem;
    flex-direction: column;
	width: 100%;
}

.brush-container {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-direction: column;
	background: transparent;
	border-top: 3px groove #00FFFF;
	border-bottom: 3px groove #00FFFF;
	width: 100%;
	min-height: 25vh;

}

.bottom-toolbar {
	position: fixed;
	z-index: 1;
	max-height: 50px;
	overflow: scroll;
	padding: 0.25rem;
	border-top: 3px ridge #00FF00;
	background: url(../icons/tiles/tile3.gif) repeat fixed;
	background-color: transparent;
	overflow-x: scroll;
	width: 100%;
	max-width: 100%;
	bottom: 0px;
}

.new-side-toolbar {
	position: fixed;
    z-index: 1;
    height: 100vh;
    overflow: scroll;
    padding: 0.25rem;
    border-top: 3px groove #00FF00;
    background: url(../icons/tiles/tile3.gif) repeat fixed;
    background-color: transparent;
    overflow-x: scroll;
    width: 50%;
    top: 0px;
    left: 0px;
    left: 0px;
    border-right: 3px groove #00FFFF;
}

.button-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
	height: 100%;
	background: transparent;
}

.pathpaint-canvas-mobile-cl {
	margin: 0 auto;
	border: 3px groove #00FF00;
	width: 100%;
}

#brushSwatches1 {
	display: flex;
}

#brushSwatches2, #brushSwatches3 {
	display: flex;
	display: none;
}


/*
||||||||||||||||||||||||||||||||||||||||||||||||||||||
	PATTERN SWATCHES
||||||||||||||||||||||||||||||||||||||||||||||||||||||
*/

.pattern-bucket-pp1 {
	display: none;
	flex-direction: column;
	flex-wrap: wrap;
	height: auto;
	width: 20px;
	background: url(../patterns/grid1.gif) repeat;
	color: #333333;
	z-index: 100;
	position: fixed;
	left: 140px;
	justify-content: center;
	align-items: center;
	top: 7px;
	border: 3px ridge ghostwhite;
	outline: 3px double #00FF00;
	outline-offset: 4px;
	flex-wrap: wrap;
	padding: 4px;
	overflow: hidden;
	cursor:url(../cur/paint.gif) auto;
  }
  .pattern-bucket-pp1 > div {
	height: 20px;
	width: 100%;
	border: 0px groove transparent;
	z-index: 99;
	background-repeat: repeat !important;
	background-position: center !important;
  }

  .pattern-bucket-pp1 > div:first-of-type {
	background: url(../patterns/grid1.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(2) {
	background: url(../patterns/grid2.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(3) {
	background: url(../patterns/grid3.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(4) {
	background: url(../patterns/redlines.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(5) {
	background: url(../patterns/bluelines.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(6) {
	background: url(../patterns/gradient1.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(7) {
	background: url(../patterns/gradient2.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(8) {
	background: url(../patterns/10.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(9) {
	background: url(../patterns/11.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(10) {
	background: url(../patterns/33.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(11) {
	background: url(../patterns/crosshatch.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(12) {
	background: url(../patterns/crosshatch2.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(13) {
	background: url(../icons/tiles/tropical-fish.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(14) {
	background: url(../icons/tiles/novell1.2.gif);
  }
  .pattern-bucket-pp1 > div:nth-of-type(15) {
	background: url(../icons/tiles/questn4.gif);
  }

.brush-column {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
