/* 177 */
body {
	font: 75% Verdana, Geneva, sans-serif;
	color: #3a4b59;
	background: #3a4b59;
}
#container {
	/*background:#fff url(../img/ContainerBG6.jpg);*/
	display:flex;
	flex-wrap:wrap;
	background-color: #fff;
	margin: 20px auto;
	width:98%;
	max-width: 960px;
	border:#D4D5D7 solid 2px;
}
header {
width: 100%;
height:0;
padding-bottom: 19%;
background: url(../img/Dzong.jpg) no-repeat;
background-size:cover;
border-bottom:10px solid #3a4b59;
}
nav {
	box-sizing: border-box;
	width:20%;
	max-width: 175px;
	padding: 0 20px 0 15px;
	font-size:1.1em;
	line-height:1.2em;
	border-right: 1px #000 solid;
}
nav h2 {
	text-align:center;
	margin:20px 0 10px 0;
	font-size:1.5em;
	line-height:1.3;
}
nav ul{
	margin:10px 0;
	padding:0;
	list-style:none;
	border-top:1px solid #3a4b59;
}
nav li{
	margin:0;
	padding:0;
	border-bottom:1px solid #3a4b59;
}
nav a{
	font-weight:bold;
	color:#903;
	text-decoration:none;
	display:block;
	padding:7px 0 7px 2px;
}
nav a:hover {
	color:#fff;
	background-color:#92a5ad;
}
.centered {
	text-align:center;	
}
#content {
	box-sizing: border-box;
	width:80%;
	max-width: 720px;
	padding: 0 0px 30px 30px;
	font-size:1.2em;
	line-height:1.5;
	position:relative;
}
#content h1 {
	text-align:center;
	font-size:1.7em;
	line-height:1.2;
	margin:15px 0;
}
#content h2 {
	font-size:1.1em;
	border-bottom:1px solid #903;
	padding-bottom:2px;
	margin:25px 0 3px 0;
	clear:both;
}
#content h3 {
	text-align:center;
	font-size:1.1em;
}
#content h4 {
	text-size:1.2em;
	text-align:left;
	margin-bottom:0;
	margin-left:20px;
}
#content p {
    margin: 3px 0 20px 20px;
    font-family: Verdana, Geneva, sans-serif;
    /* [disabled]text-align: center; */
}
#content img {
	max-width:100%;
}
#content p.code {
	font-size: 1.3em;
	margin-left: 20px;
	font-family: "Courier New", Courier, monospace;
	line-height: 1.3;
	font-weight:bold;
}
#content ul {
	margin-top:3px;
	margin-bottom:20px;
}
#content ol {
	margin-top:10px;
	margin-bottom:20px;
}
#content li {
	margin-bottom:10px;
	line-height:1.3;
}
#content a {
	font-weight:bold;
	color:#903;
	text-decoration:none;
}
#content a:hover {
	color:#004;
}
.illustration {
	text-align:center;	
}
#content p.wideIllustration {
	margin-left:0;
	text-align:center;
}
#content div.callout {
	width:250px;
	float:right;
	margin:0 0 5px 10px;
	padding:15px 10px 0px 20px;
	border:1px solid #903;
}
#content div.callout h3 {
	text-align:center;
	margin:0 0 10px 0;
}
#content div.callout p {
	margin-left:0;
}
#copyright {
	width:100%;
	box-sizing:border-box;
	background-color:#3a4b59;
	color:#D4D5D7;
	text-align:center;
	border:#3a4b59 solid 1px;
}
#copyright p {
	margin:5px;
}
/*--- General Content -------- */
.alert {
	color:#900;
	font-weight:bold;
	text-align:center;
}
table {
	border-spacing:0;
}
form {
	margin:0;
	width:90%;
	text-align:center;
}
form div {
	padding:8px 0;
}
form label {
	font-weight:bold;
	line-height:1.5;
}

textarea {
	width:95%;
	height:150px;
}
form select, input {
	max-width:90%;
}
form table {
	width:98%;	
	margin:20px auto;
}
form table th {
	text-align:right;
	vertical-align:top;
}
form table td {
	vertical-align:top;
	padding:10px 0;
}
.forminstructions {
	font-size:.9em;
	font-weight:normal;
	text-align: left;
}
#regTable td {
	padding: 6px;
	text-align:left;
}
#regTable th {
	text-align:right;	
}
form select, input {
	width:95%;
}
input.radio {
	width:auto;	
}
input.checkbox {
	width:auto;	
}
input.button {
	width:auto;	
}
input.veryShort {
	width:30px;
}
input.graded {
	width:auto;
	text-align:center;
	padding:2px 4px;
}
.button {
	text-align:center;
}
.button input {
	width:auto;
}
input.deleteButton {
	margin:2px 3px;	
}
.number {
	text-align:right;	
}

.dataTable {
	border:1px solid #3a4b59;
	border-spacing:0;
	width:auto;
	max-width:98%;
	margin:20px auto;
}
.dataTable th {
	border:1px solid #3a4b59;
	padding:4px;
	background-color:#3a4b59;
	color:white;
}
.dataTable td {
	border:1px solid #3a4b59;
	padding:4px;
	vertical-align:top;
	word-break: break-all;
}
.dataTable table {
	border:none;
	margin:0;
}
.dataTable table td {
	border:none;
}
table caption {
	font-weight:bold;
	font-size:1.2em;	
}
table caption {
	font-size:1.1em;
	padding-bottom:10px;
	font-weight:bold;
}
/*---------- Various Pages ------------*/
#gifJpgTable {
	width:95%;
}
.tableLeftBlack {
	width:auto;
	float:left;
	margin:0 10px 5px 20px;
	border:1px solid #000;
	background-color:#000;
}
.tableRightWhite {
	width:auto;
	float:right;
	margin:0 0 5px 10px;
	border:1px solid #000;
	background-color:#fff;
}
table#antiAlias {
	margin:0 auto 20px auto;
	border:1px solid #000;
	border-collapse:collapse;
}
table#antiAlias td {
	vertical-align:bottom;
	text-align:right;
	border:1px solid #000;
	width:175px;
}
table#antiAlias th {
	vertical-align:bottom;
	border:1px solid #000;
}
table.matteTable {
	margin:0 auto 20px auto;
	border:1px solid #000;
	border-spacing:0;
}
table.matteTable td {
	border:1px solid #000;
	padding:4px 10px;
	font-weight:normal;
	text-align:left;
	vertical-align: middle;
	min-width:103px;
}
table.matteTable img {
	width:103px;
	height:101px;
}


/*---------- Class Files Pages ----------*/
#unitNav ul {
	margin:0;
	padding:0;
	text-align:center;
}
#unitNav li {
	display:inline;
	list-style:none;
}
#unitNav a {
	padding:0 15px;	
}
table.fontList {
	width:auto;
	margin:20px auto;
}
table.fontList td {
	vertical-align:top;
	padding:0 10px;
}

/* ---------- Registration Page --------------- */
#registrationForm table {
	border:1px solid #cdcdcf;
	border-collapse:collapse;
}
#registrationForm table th {
	border:1px solid #cdcdcf;
	padding:10px 2px;
}
#registrationForm table td {
	border:1px solid #cdcdcf;
	padding:10px 2px;
}
/*-------------- General Pages ------------- */
#letterGradeTable td {
	text-align:center;
}
#generalLink {
	text-align:right;
	position:absolute;
	top:10px;
	right:40px;
}
/* -------------- Software and textbooks ----------------*/
div.bookAdContainer {
	width:100%;
	height:240px;	
}
div.bookAd {
	width:120px;
	float:left;
	margin:0 20px;	
}
/*-------------------- Teacher Pages -------------- */
#assignmentTable td {
	padding:0;	
}
#assignmentTable input.assignmentName {
	width:300px;	
}
#assignmentTable table td {
	padding:0 6px;	
}
#assignmentTable table td.idCell {
	width:30px;
	text-align:right;
	padding:4px 0;
}
textarea.oneStudentGrades {
	width:98%;
	height:100px;
	max-width:98%;
}
textarea.sendEmail {
	width:95%;
	height:400px;
}
td.totalPoints {
	text-align:right;
	padding-right:10px;
}
.variable {
	color: #900;
}
.changeableInfo {
	font-style: italic;
	font-weight: bold;
	color: #0A0;
}
#content .code .comments {
	color:#56AE56;	
	font-family:Verdana, Arial, sans-serif;
	font-size:.9em;
}
dl.example {
	color:#333;	
}
dl {
	margin-top:10px;
	margin-left:20px;
}
#amazon {
	padding: 0px 2%;
	border: 1px solid #D1D0A1;
	margin-top:0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	float:right;
	width:46%;
}

@media (max-width: 600px) {
/*header {
	background:url(../img/Dzong.jpg) no-repeat;
	height:110px;
}*/
#content {
	box-sizing: border-box;
	width:98%;
	margin:0 auto;
	padding: 0 5px;
	font-size: 1.2em;
	line-height: inherit;
	position: relative;
}
nav {
	box-sizing: border-box;
	width:98%;
	max-width: 98%;
	margin:0 auto;
	padding: 0;
	font-size: 1.1em;
	line-height: 1.2em;
	border-right-width: 0px;
}
nav ul {
	display:flex;
	flex-wrap: wrap;
	}
nav ul li {
	width:48%;
	border:1px solid #555;
	padding-left:5px;
	}	
form select, input {
	width:98%;
}
}
@media (max-width: 360px) {
nav ul li {
	width:47%;
	}
}