/*	George Druziako Heating & Cooling
	Copyright 2010-2012 George Druziako
	All rights reserved.
*/

BODY {
	background: #000;
	color: #FFF;
}

article {
	position: relative;
}

/* ========== Header styles ========== */
DIV.heading {
	display: flex;
	flex-flow: row nowrap;
	color: #FFF;
	background-color: #00F;
	background-image: url("Images/above-menu-background.png");
	background-position: bottom;
	background-repeat: repeat-x;
}
DIV.identity {
	width:auto;
}
DIV.social {
	margin-left: 1em;
	flex-grow: 1;
}
DIV.othersocial {
	float:right;
}
DIV.heading H1 {
	margin-top: 0.3ex;
}

DIV.heading P {
	margin-top: 0ex;
	color: #000;
	position: relative;
	left: 9em;
	padding-bottom: 0.3ex;
	margin-bottom: 0ex;
}
DIV.heading P A {
	color: black;
}
SPAN.slogan {
	font-style: italic;
}



/* ========== Navigation Menu ========== */
UL#navigationbar {
	color:white;
	background-color:black;
	background-image: url("Images/menu-background.png");
	background-position: bottom;
	background-repeat: repeat-x;
	clear:both;
	border: 0px;
}
UL#navigationbar LI {
	height: 2.5em;
}

UL#navigationbar > LI:first-child,
UL#navigationbar > LI {
	border: none;
}

UL#navigationbar > LI > A {
	color: #FFF;
}
@media only screen and (min-width: 750px) {
	UL#navigationbar > LI > A {
		font-weight: bold;
	}
}
UL#navigationbar > LI > A:visited {
	color: #DD8;
}
UL#navigationbar > LI > A:hover {
	background:transparent;
	color: #FA0;
	text-decoration: underline;
}

UL#navigationbar > LI > A.selected {
	background:transparent;
	background-image: url("Images/menu-background-selected.png");
	background-position: top;
	background-repeat: repeat-x;
	color: white;
	border: none;
	text-decoration: none;
}

DIV.content {
	background: #CCC;
	color: black;
	padding-left: 1ex;
	padding-right: 1ex;
}

/* ========== Gutters and content panel ========== */

DIV#leftgutter,
DIV#rightgutter {
	text-align: center;
	min-width: 20ex;
	max-width: 25ex;
}
DIV#leftgutter IMG,
DIV#rightgutter IMG {
	width: 90%;
	height: auto;
}
DIV#leftgutter UL,
DIV#rightgutter UL {
	text-align: left;
	padding-left: 2ex;
}
DIV#rightcolumn {
	border-left: thin solid #555;
}
DIV#leftcolumn {
	border-right: thin solid #555;
}

/* ========== Triage table at bottom of landing page ========== */
DIV.disambiguate {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: top;
	padding-bottom: 1ex;
	width: 100%;
}
DIV.disambiguate DIV {
	max-width: 20ex;
}
DIV.disambiguate H3 {
	margin-top: 0.5ex;
	margin-bottom: 0.5ex;
	font-size: 120%;
}
DIV.disambiguate P.triagegroup {
	margin-top:0.5ex;
	text-align: center;
}

DIV.homeaction {
	text-align: center;
}
/* Make everything else work nicely. */
DIV.homeaction A > IMG {
	max-width: 15ex;
	width: auto;
	height: auto;
}

/* ========== Body ========== */
.identity A,
#footer A,
#footnotes A,
#leftgutter A,
#rightgutter A,
#content A {
        color: #acF;
}
#footer A:visited,
.identity A,
#footnotes A:visited,
#leftgutter A:visited,
#rightgutter A:visited,
#footnotes A:visited
{
        color: #88F;
}

DIV.textcolumns {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-column-gap: 1em;
}

INPUT,
SELECT {
	position: absolute;
	left: 30ex;
}
TEXTAREA {
	left: 30ex;
}
INPUT[type=submit] {
	position:static;
}

/* ========== Special cases for print media ========== */
@media print {
	BODY,
	BODY * {
		color: black !important;
		background: none !important;
	}

	DIV.textcolumns,
	DIV.textcolumns > DIV.m4layoutrow,
	DIV.textcolumns > DIV.m4layoutrow > DIV.m4layoutcell {
		display: block;
		width: 100%;
		border: none;
	}
}

