/* ==========================================================================
   Paranoia Works - Base Stylesheet (main2g.css)
   Adapted from Paranoia Text Encryption
   ========================================================================== */

body {
	background-color: #ffffff;
	font-family: arial, sans-serif;
	margin-top: 0px;
	margin-bottom: 0.6em;
	margin-right: 8px;
	margin-left: 0.6em;
	padding: 0px;
}

hr {
	color: #888888;
	background-color: #888888;
	height: 1px;
	border: 0;
}

h1 {
	font-size: 125%;
	font-weight: bold;
	background: linear-gradient(to bottom, #d2d2d7 0%, #f3f3f3 100%);
	color: #454545;
	text-align: left;
	margin-top: -0.6em;
	margin-left: -0.6em;
	margin-right: -8px;
	padding-left: 0.6em;
	padding-right: 0.6em;
	padding-top: 1.5em;
	padding-bottom: 1.0em;
	border-top: 1px solid #AAAAAA;
	border-bottom: 1px solid #AAAAAA;
}

h1.asH2 {
	font-size: 125%;
	font-weight: bold;
	background: linear-gradient(to bottom, #d2d2d7 0%, #fafafa 100%);
	color: #454545;
	margin-top: 0px;
	margin-left: -0.6em;
	margin-right: -8px;
	padding-left: 0.6em;
	padding-right: 0.6em;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
	border-top: 1px solid #AAAAAA;
	border-bottom: 1px solid #AAAAAA;
}

h2 {
	font-size: 125%;
	font-weight: bold;
	background: linear-gradient(to bottom, #d2d2d7 0%, #fafafa 100%);
	color: #454545;
	margin-top: 0px;
	margin-left: -0.6em;
	margin-right: -8px;
	padding-left: 0.6em;
	padding-right: 0.6em;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
	border-top: 1px solid #AAAAAA;
	border-bottom: 1px solid #AAAAAA;
}

.strokeYellow {
	color: black;
	text-shadow: -1px 0 yellow, 0 1px yellow, 1px 0 yellow, 0 -1px yellow;
}

.strokeGreen {
	color: black;
	text-shadow: -1px 0 #AAFFAA, 0 1px #AAFFAA, 1px 0 #AAFFAA, 0 -1px #AAFFAA;
}

img {
	border: 0px;
}

a {
	color: #098572;
	font-size: 100%;
	font-weight: bold;
}

a:hover {
	color: #ff0000;
}

ul {
	list-style-type: disc;
	list-style-position: outside;
	margin-left: 0.8em;
	padding-left: 0.0em;
}

ul li {
	margin: 0.15em;
}

ul.menu {
	list-style-type: none;
	list-style-position: outside;
	padding-left: 0.0em;
	padding-bottom: 0.3em;
	margin: 0px;
}

ul.menu li {
	background: url("/img/arrow_right_large.png") no-repeat center top;
	background-position: left;
	padding-left: 14px;
	padding-bottom: 0.0em;
}

div.gradient {
	background: linear-gradient(to bottom, #d2d2d7 0%, #fafafa 100%);
	color: #454545;
	padding-top: 0.6em;
	padding-bottom: 0.7em;
	margin-left: -0.6em;
	margin-right: -8px;
	padding-left: 0.6em;
	padding-right: 0.6em;
	border-top: 1px solid #AAAAAA;
	border-bottom: 1px solid #AAAAAA;
}

div.floatRight {
	float: right;
	text-align: right;
	padding-top: 0.2em;
}

div.floatLeft {
	float: left;
	text-align: left;
	padding-top: 0.2em;
}

.textToRight {
	text-align: right !important;
}

div.correctMargins {
	margin-top: -1.18em;
	margin-bottom: -1.6em;
}

.font120 {
	font-size: 120%;
}

/* ---------- Buttons ---------- */

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 30px;
    border: 1px solid #1a6ebd;
    border-radius: 4px;
    background: #f0f6ff;
    text-decoration: none;
    margin-left: 4px;
    transition: background 0.15s, border-color 0.15s;
	margin-top: -6px;
}

.icon-btn:hover {
    background: #ddeeff;
    border-color: #1055aa;
}

.btnLight,
button.downred-button,
button.downgreen-button,
button.erase-button,
button.download-button {
	border: solid 1px #969696;
	border-radius: 3px;
	moz-border-radius: 3px;
	font-size: 14px;
	color: #323232;
	padding: 5px 16px;
	margin-bottom: 3px;
	cursor: pointer;
	background-color: #ffffff;
	background-image: linear-gradient(top, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(49%, #d7d7d7), color-stop(51%, #c8c8c8), color-stop(100%, #f6f6f6));
	background-image: -moz-linear-gradient(top, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	background-image: -webkit-linear-gradient(top, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	background-image: -o-linear-gradient(top, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	background-image: -ms-linear-gradient(top, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0);
}

button.downred-button {
	padding-left: 26px;
	height: 34px;
	min-width: 85px;
	background-image: url('/img/red_arrow_down_button.webp'), linear-gradient(to bottom, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	background-image: url('/img/red_arrow_down_button.webp'), -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(49%, #d7d7d7), color-stop(51%, #c8c8c8), color-stop(100%, #f6f6f6));
	background-repeat: no-repeat, repeat;
	background-position: left center, center;
	background-size: 22px 20px, auto;
}

button.downgreen-button {
	padding-left: 26px;
	height: 34px;
	min-width: 85px;
	background-image: url('/img/green_arrow_down_button.webp'), linear-gradient(to bottom, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	background-image: url('/img/green_arrow_down_button.webp'), -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(49%, #d7d7d7), color-stop(51%, #c8c8c8), color-stop(100%, #f6f6f6));
	background-repeat: no-repeat, repeat;
	background-position: left center, center;
	background-size: 22px 20px, auto;
}

button.erase-button {
	padding-left: 26px;
	height: 34px;
	background-image: url('/img/erase_button.webp'), linear-gradient(to bottom, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	background-image: url('/img/erase_button.webp'), -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(49%, #d7d7d7), color-stop(51%, #c8c8c8), color-stop(100%, #f6f6f6));
	background-repeat: no-repeat, repeat;
	background-position: left center, center;
	background-size: 22px 20px, auto;
}

button.download-button {
	padding-left: 28px;
	height: 34px;
	min-width: 100px;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='20' viewBox='0 0 22 20'%3E%3Cpath d='M11 13l-5-5h3V2h4v6h3zM4 16h14v2H4z' fill='%23098572'/%3E%3C/svg%3E"),
		linear-gradient(to bottom, #ffffff 0%, #d7d7d7 49%, #c8c8c8 51%, #f6f6f6 100%);
	background-repeat: no-repeat, repeat;
	background-position: 5px center, center;
	background-size: 20px 18px, auto;
}


.btnLight:hover,
button.downred-button:hover,
button.downgreen-button:hover,
button.erase-button:hover,
button.download-button:hover {
	border: solid 1px #FFAA00;
}

.btnLight:active {
	background: #b4b4c8;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b4b4c8), color-stop(100%, #7878a0));
	background: linear-gradient(top, #b4b4c8 0%, #7878a0 100%);
}

button.downred-button:active {
	background-image: url('/img/red_arrow_down_button.webp'), linear-gradient(to bottom, #b4b4c8 0%, #7878a0 100%);
	background-image: url('/img/red_arrow_down_button.webp'), -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b4b4c8), color-stop(100%, #7878a0));
}

button.downgreen-button:active {
	background-image: url('/img/green_arrow_down_button.webp'), linear-gradient(to bottom, #b4b4c8 0%, #7878a0 100%);
	background-image: url('/img/green_arrow_down_button.webp'), -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b4b4c8), color-stop(100%, #7878a0));
}

button.erase-button:active {
	background-image: url('/img/erase_button.webp'), linear-gradient(to bottom, #b4b4c8 0%, #7878a0 100%);
	background-image: url('/img/erase_button.webp'), -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b4b4c8), color-stop(100%, #7878a0));
}

button.download-button:active {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='20' viewBox='0 0 22 20'%3E%3Cpath d='M11 13l-5-5h3V2h4v6h3zM4 16h14v2H4z' fill='%23098572'/%3E%3C/svg%3E"),
		linear-gradient(to bottom, #b4b4c8 0%, #7878a0 100%);
}

button:disabled,
button[disabled] {
	opacity: 0.45;
	cursor: default;
}

button:disabled:hover,
button[disabled]:hover {
	border: solid 1px #969696;
}

/* ---------- Overlay / Spinner ---------- */

#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.7);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) { 
	ul.menu li {
		background: url("../img/arrow_right_large@2x.png") no-repeat center top #FFFFFF;
		background-size: 9px 12px;
		background-position: left;
		padding-left: 14px;
		padding-bottom: 0.0em;
	}
}
