/* remotefilename=/web/css/empMail.css
 *
 *	Copyright © 2025 by FKE Internet.  All rights reserved.
 *
 *	$Id: /web/css/empMail.css,v $
 */
/**
*	CSS rulesets for the "QSL Card" handler
*
*	Author:			Fred Koschara
*	Creation Date:	August thirtieth, 2025
*	Last Modified:	August 30, 2025 @ 12:51 pm
*
*	Revision History:
*	   Date		  by		Description
*	2025/08/30	wfredk	original development, derived from qslcard.php
*/

fieldset
{	border:0;
	margin:0;
	padding:0;
}

#empMailOverlay
{	background:black url(/graphics/spinner.gif) no-repeat scroll center center;
	display:none;
	height:100%;
	left:0;
/*	opacity:0.33;	*/
	position:absolute;
	top:0;
	width:100%;
	z-index:100;
}

/* ========== BASE STRUCTURE ========== */
form.empMailForm
{	display:flex;
	flex-direction:column;
	gap:1em;
	margin:auto;
}
.empMailForm
{	margin:20px auto 0;
	max-width:800px;
	text-align:center;
}

/* ========== ROW TYPES ========== */
.empMailRow
{	column-gap:1.25em;
	display:flex;
	flex-direction:column;
	margin-bottom:0.5em;
	width:auto;
}
.empMailRow.checkboxRow
{	align-items:center;
	column-gap:0.5em;
	display:grid;
	grid-template-columns:auto 1fr;
}

/* ========== INDIVIDUAL PAIRS ========== */
.formPair
{	display:flex;
	flex-direction:column;
}

/* ========== LABELS ========== */
.formPair label,
.empMailRow label
{	font-weight:normal;
	margin-bottom:0.25em;
	text-align:left;
	white-space:nowrap;
}
.empMailRow.checkboxRow label
{	font-weight:bold;
}

/* ========== INPUTS AND TEXTAREAS ========== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea
{	border:1px solid #999999;
	border-radius:4px;
	font-size:1em;
	padding:0.1em;
}

/* ========== CAPTCHA ========== */
input.captcha5
{	font-size:14pt;
	margin:1em 0 1em 2px;
	width:96px;
}
.captchaWrapper
{	align-items:center;
	column-gap:1em;
	display:grid;
	grid-template-columns:100px 1fr;
	margin:2em auto;
	max-width:500px;
}
.captchaImage
{	height:40px;
	margin:1em auto;
}
.captchaLabel
{	margin-left:3em;
	text-align:left;
}

/* ========== BUTTONS ========== */

.empMailButtons					/* container */
{	align-items:center;
	display:flex;
	flex-wrap:wrap;
	gap:10em;
	justify-content:center;
	width:100%;
}
.emRightButton
{	align-items:center;
	background-color:#074723;
	color:gold;
	font-size:1em;
	font-weight:600;
	margin-left:7em;
	padding:0.5em 1.25em;
}
.emWrongButton
{	background-color:#200000;
	color:Gray;
	font-size:1em;
	font-weight:bold;
	padding:0.5em 1.25em;
}

/* ========== UTILITY RULESETS ========== */

.pad2em
{	padding:2em;
}
.thinbordr
{	border:1px solid White;
}

/* ========== MOBILE OVERRIDES ========== */
/* responsive stacking layout for small screens */
@media screen and (max-width:600px)
{	.empMailRow
	{	display:flex;
		flex-direction:column;
	}
	.empMailRow label
	{	margin-bottom:0.25em;
		text-align:left;
		white-space:normal;
	}
	.empMailButtons					/* container */
	{	gap:2em;
	}
	.emRightButton
	{	margin-left:2em;
	}
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	textarea
	{	width:100% !important;		/* expand for mobile */
		box-sizing:border-box;
	}
}

/* EOF: empMail.css */
