
body {
	margin: 0;
	padding: 5px;
}

body, p, li, td, th, input, textarea, select {
	font-family: sans-serif;
	font-size: small;
}

input, textarea, select {
	padding: 2px;
}

/*
table {
	border-collapse: collapse;
}
*/

h1, h2, h3, h4 {
	font-size: large;
	font-weight: normal;
	margin: 0px;
}

a, a:link, a:visited, a:active {
	color: blue;
	text-decoration: underline;
}

a:hover {
	color: blue;
	text-decoration: underline;
}

div.box {
	width: 600px;
	margin: auto;
	margin-top: 60px;
	text-align: left;
}

.header {
	margin: 4px;
}

.notice {
	margin: 0px;
	padding: 6px 10px;
	background: #fff8c4;
	border-radius: 15px;
}

.nav, .locale, .enterName {
	float: right;
	margin-left: 20px;
	text-align:right;
	clear: right;
}

.errorInput {
	border: 3px solid red;
}

.errorMessage {
	font-weight: bold;
	color: red;
	vertical-align: top;
}

.successMessage {
	font-weight: bold;
	color: #00dd00;
	vertical-align: top;
}

.pageTite {
	margin: 0px;
}

.button {
}

.textContent {
	width: 650px;
	margin-left: 100px;
}

.textContentWide {
	margin-left: 100px;
}

.textContentMiddle {
	text-align: center;
}


.label {
	text-align: right;
	/* font-weight:bold; */
	white-space: nowrap;
	vertical-align: top;
}

.field {
	white-space: nowrap;
	vertical-align: top;	
}

.link {
	font-size: large;
	margin: 20px;
	/* font-weight: bold; */
	text-align: center;
}

.timezoneGroup {
	/* font-weight: bold; */
	background: silver;
}

.question {
	font-weight: bold;
	font-size: small;
	margin-top: 10px;
	cursor: pointer;
	cursor: hand;
}

.answer {
	margin: 20px;
}

.options {
	
}

.optionsVisible {
	background: #EFEFEF;
	border: 2px solid #DEDEDE;
}

.options table {
	margin-left: 100px;
	margin-right: 100px;
}

.panel {
	padding: 20px;
	text-align: left;
	border: 2px solid #DEDEDE;
	background: #fff url(/static/pics/background.gif) repeat-x;
}

.panelAlt {
	padding: 20px;
	text-align: left;
}

.panelResultsCode {
	padding: 20px;
	text-align: left;
	border: thin solid black;
}

.settings h3 {
	margin:0;
}

.headerDay {
	margin-top: 4px;
	margin-bottom: 6px;
}

.headerDate {
	font-size: 16px;
	margin-top: 6px;
}

.headerMonth {

}

.slot {
	padding: 0px;
	margin: 0px;
}

.gridText {
	font-size: 12px;
}

.office {
	font-weight:bold;
}

.proposed {
background: #EFEFEF;
}

.weekday {
	background: #EFEFEF;
}

.weekend {
	background: #DEDEDE;
}

.canDoBad {
	background: #CCFF66;
}

/* not used, .canDo is redefined as needed */
.canDoNeutral {
	background: #669900;
}

.canDoGood {
	background: #00FF00;
}

.canDo {
	background: #00FF00;
}

.cantDo {
	background: #CC0000;
}

.minute {
	text-align: right;
}

.dateHeader {
	text-align: center;
	font-weight:bold;
}

.canDoRespondent {
	background: #00bb00;
}

.empty {
	font-family: monospace;
}

.comments {
	font-weight: bold;
	margin-left: 10px;
	margin-top: 50px;
}

.paintingInactive {
}

.paintingActive {
	font-weight: bold;
}

.paintingCurrent {
	height: 60px;
	width: 60px;
}

.paintingChoice {
	clear: both;
	cursor: pointer;
	cursor: hand;
}

.paintingKey {
	clear: both;
}

.paintingPallet {
	height: 20px;
	width: 20px;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

.respondents, .resultsOptions {
	margin-left: 10px;
	background: white;
}

.respondentCurrent, .respondentActive, .respondentActiveProblem, .respondentInactive {
	text-decoration: underline;
}

.respondentActive {
	color: blue;
}

.respondentCurrent {
	color: #00bb00;
}

.respondentActiveProblem {
	text-decoration: line-through;
	color: red;
}

.respondentActiveCanDoBad {
	color: #CCFF66;
}

.respondentActiveCanDo {
	color: #00FF00;
}

.respondentActiveCanDoGood {
	color: #00FF00;
}

.respondentInactive {
	font-style: italic;
	color: gray;
	text-decoration: none;
}

.respondentPopup {
	display:none;
	position:relative;
}

.respondentPopupInner {
	padding: 10px;
	width: 220px;
	background-color: white;
	border: thin solid black;
	position:absolute;
	top:-5px;
	left:30px;
}

.cantCount {
	text-align: right;
	padding: 2px;
	font-size: 8px;
	color: red;
}

.footer {
	clear: both;
	padding-top: 60px;
	color: gray;
	text-align: center;
	font-size: x-small;
}

.footer a, .footer a:link, .footer a:visited, .footer a:active {
	color: gray;
	text-decoration: none;
}

.footer a:hover {
	color: gray;
	text-decoration: underline;
}

.inThePast {
	background: #DDDDDD;
}

.resolutionButton {
	background: #DEDEDE;
	padding: 4px;
}

.pressed {
	color: #00ff00;
}

.resultsCode {
	font-weight: bold;
	font-size: xx-large;
	text-align: center;
	margin: 50px;
}

.resultsCodeAbove, .resultsCodeBelow {
	font-size: large;
}

.resultsCodeBelow {
	text-align: right;
}

.pricing {
	border-spacing: 30px;
}

.pricing tr td {
	width: 200px;
	padding: 10px;
	vertical-align: top;
	text-align: center;
	border: 2px solid #DEDEDE;
	background: #fff url(/static/pics/background.gif) repeat-x;
}

.pricing tr td ul {
	text-align: left;
	margin: 0px;
	padding: 0px;
	padding-left: 20px;
	width: 180px;
}

.pricing tr td h3 {
	font-size: 30px;
	font-weight: bold;
} 

.pricing tr td h4 {
	color: #669900;
	font-size: 23px;
}

.pricing tr td p {
	margin-top: 5px;
}

.pricingHeader {
	height: 100px;
}

.pricingBody {
	height: 220px;
}

.pricingMore {
	font-weight: bold;
	font-size: 14px;
}

.systemMessage {
	font-weight: bold;
}

.highlight {
	background-color: #CCFF66;
}

.panelMain {
	text-align: center;
	margin-left: 170px;
}

.panelMain table, .panelMain div {
	margin: 0px auto;
}

.panelLeft {
	width: 160px;
	left: 15px;
	padding-bottom:200px;
	float: left;
}

.beta {
	font-style: italic;
	color: red;
}

.accessOption {
	width: 50px;
	text-align: center;
}

.pageInstructions {
	width:600px;
	float: left;
	padding-top: 100px;
	text-align: left;
	font-size: small;
}


/* grid or list on the respond page: see respond.js */

html:not(.js) .gridOnly, html:not(.js) .jsOnly,
.show-list .gridOnly, .show-grid .listOnly {
	display: none;
}

#grid {
	/* touch-action is set by touchPaint in shared.js */
	-webkit-user-select: none;
	user-select: none;
}

.viewSwitch {
	margin: 10px 0;
}

.viewSwitch button {
	padding: 4px 14px;
	border: 1px solid #999;
	background: white;
	cursor: pointer;
}

.viewSwitch button:first-child {
	border-radius: 4px 0 0 4px;
	border-right: none;
}

.viewSwitch button:last-child {
	border-radius: 0 4px 4px 0;
}

.show-grid #viewGrid, .show-list #viewList {
	background: #DEDEDE;
	font-weight: bold;
}

.palette {
	vertical-align: top;
	width: 170px;
}

.listView {
	margin: 10px auto;
	border-spacing: 2px;
}

.listHeading {
	text-align: left;
	padding-top: 14px;
}

.listLabel {
	text-align: right;
	white-space: nowrap;
	padding-right: 8px;
}

.listOption {
	width: 60px;
	padding: 0;
}

.listOption label {
	display: block;
	padding: 6px 0;
	cursor: pointer;
}

.listOption input {
	width: 18px;
	height: 18px;
	margin: 0;
}

/* a phone, or a narrow window */

@media (max-width: 600px) {
	body {
		padding: 8px;
	}
	.nav {
		float: none;
		margin-left: 0;
		text-align: center;
	}
	.locale {
		float: none;
		margin: 6px 0;
	}
	.enterName {
		float: none;
		margin: 10px 0;
		text-align: left;
	}
	input, select, textarea {
		max-width: 100%;
	}
	.textContent, .textContentWide {
		width: auto;
		margin-left: 0;
	}
	div.box {
		width: auto;
		margin-top: 20px;
	}
	.options table {
		margin-left: 0;
		margin-right: 0;
	}
	.panelMain {
		margin-left: 0;
	}
	.panelLeft {
		float: none;
		width: auto;
		padding-bottom: 20px;
	}
	.pageInstructions {
		float: none;
		width: auto;
		padding-top: 20px;
	}
	.respondLayout > tbody > tr > td {
		display: block;
		width: auto;
	}
	.palette .paintingCurrent {
		height: 20px;
		width: auto;
	}
	.palette .paintingChoice {
		clear: none;
		display: inline-block;
		margin-right: 12px;
	}
	.footer {
		padding-top: 30px;
	}
}
