html, body {
  min-height: 100%;
}

html {
  background-image: url("images/bg_tiled.jpg");
  background-color: #E3E3E3;
  height: 100%;
}

body {
  max-width: 1200px;
  min-width: 900px;
  margin: auto;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  background-color: white;
  box-shadow: 0 0 50px #222;
}

h1, h2, h3, h4, h5, h6 {
  color: #444;
  font-family: 'Roboto Slab', serif;
}

h1 {
  font-size: 26pt;
  margin-bottom: 14px;
}

a { font-weight: 600; }
a:link, a:visited { text-decoration: underline; }
a:hover, a:active { text-decoration: underline; } 
a:active  { color: #CCC; }

button, input[type=submit] {
  background-color: dodgerBlue;
  border: none;
  border-radius: 2px;
  box-shadow: 1px 2px 2px #444;
  -moz-box-shadow: 1px 2px 2px #444;
  -webkit-box-shadow: 1px 2px 2px #444;
  color: white;
  cursor: pointer;
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
  font-weight: normal;
  margin: 8px;
  padding: 7px 15px;
  text-align: center;
  text-shadow: 1px 1px 5px #333; 
}

input[type=submit] {
  margin: 0;
}

button:hover, input[type=submit]:hover {
  background-color: #1873CC;
}

strong {
  font-weight: 600;
  color: #1760a6;
}

alert {
  font-weight: bold;
}

hr {
  border: 1px inset #CCC;
}

p img {
  max-width: 100%;
}

#indexSumm {
  font-size: 18px;
}

#profileTable {
  background-color: #F7F7F7; 
  border: 1px solid #E4E4E4; 
  box-shadow: 1px 1px 2px #999;
}

#profileTable td {
  padding: 12px;
}


/* ==========  GLOBAL CLASSES  ==========*/

.fakeLink {
  cursor: pointer;
}

.tableBorder, .tableBorder td {
  border: 1px solid black;
}

.blockText {
  padding: 0 10%;
  text-align: justify;
}

.blockText p, 
.blockText ol, 
.blockText ul {
  line-height: 1.7em;
  font-size: 18px;
}

.blockText hr {
  margin-bottom: 12px;
}

.pageSumm {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5em;
}

.dateInfo {
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
  display: block;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 1em;
  text-align: center;
}

.priceInfo {
  font-weight: 600;
  display: block;
  font-size: 18pt;
  text-align: center;
  margin: 10px;
  font-family: 'Roboto Slab', serif;
  text-shadow: 0 1px 1px #AAA;
}

/* ==========  LISTS  ==========*/

ul {
  list-style: square;
}

li { 
  border-left: 1px solid #555;
  padding-left: 10px;
  padding: 0.4em 0.7em;
}

/* ==========  FORMS  ==========*/

fieldset {
  background-color: #F7F7F7;
  border: 1px solid #E4E4E4;
  box-shadow: 1px 1px 2px #999;
  margin: auto;
  margin-top: 1em;
  padding: 0;
  width: 70%;
  min-width: 600px;
  color: #222;
}

fieldset h2 {
  border-bottom: 1px solid #E4E4E4;
  text-align: left;
  padding: 10px;
  padding-left: 40px;
  margin: 0;
}

fieldset h2, 
form label {
  color: #444;
}

form {
  text-align: left;
}

form table {
  width: 100%;
  padding: 14px;
}

form table td {
  padding: 8px 14px;
  vertical-align: top;
}

form table td:nth-child(1) {  
  white-space: nowrap;
  width: 1%;  
}

form label {
  float: right;
  font-family: 'Roboto Slab', serif;
  font-size: 12pt;
  font-weight: bold;
  margin-top: 6px;
  text-align: right;
}

form input[type=text], 
form input[type=email], 
form input[type=password], 
form input[type=number], 
form textarea, 
form select {
  border: 1px solid #DADADA;
  box-shadow: inset 0px 1px 3px #ECECEC;
  -moz-box-shadow: inset 0px 1px 3px #ECECEC;
  -webkit-box-shadow: inset 0px 1px 3px #ECECEC;
  float: right;
  font-family: 'Open Sans', sans-serif;
  font-size: 11pt;
  height: 24px;
  line-height: 20px;
  outline: 0 none;
  padding: 4px;
  width: 99%;
}

form select {
  height: 32px;
}

form textarea {
  height: 180px;
  resize: none;
}

form input[type=submit] {
  float: right;
}

.closeLink {
  color: #444;
  cursor: pointer;
  float: right;
  font-size: 10pt;
  padding: 6px 12px;
}

.closeLink:hover {
  color: #AAA;
}

form .markdownHelp {
  color: #444;
  float: right;
  font-weight: normal;
}

.markdownHelp:hover {
  color: #AAA;
  text-decoration: none;
}

/* ==========  BANNER  ========== */

#banner {
  /*background: -webkit-linear-gradient(#EEE, #FFF); /* For Safari 5.1 to 6.0 */
  /*background: -o-linear-gradient(#EEE, #FFF); /* For Opera 11.1 to 12.0 */
  /*background: -moz-linear-gradient(#EEE, #FFF); /* For Firefox 3.6 to 15 */
  /*background: linear-gradient(#EEE, #FFF); /* Standard syntax */
  background-image: url('images/banner_bg.jpg');
  background-color: #F0F0F0;
  border-bottom: 5px solid #1873CC;
  box-shadow: 0 2px 4px #AAA;
  height: 148px;
  margin-bottom: 10px;
  position: relative;
  text-align: left;
  width: 100%;
}

#banner span {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #555;
  cursor: default;
  display: block;
  float: left;
}

#banner .large {
  font-size: 60px;
  font-weight: 700;
  margin: 20px 0 0 30px;
  padding-right: 12px;
  font-family: 'Lora', serif;
  text-shadow: 0 0 4px #AAA;
}

#banner .small {
  font-size: 24px;
  font-weight: 400;
  margin-top: 30px;
  padding-left: 10px;
  font-family: 'Roboto Slab', serif;
  border-left: 2px solid #777;
  line-height: 28px;
  text-shadow: 0 0 2px #AAA;
}

#nav {
  font-family: 'Roboto Slab', serif;
  padding-left: 1px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 99%;
}

#nav button {
  background: -webkit-linear-gradient(#bedaf6, #8ba3bb); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#bedaf6, #8ba3bb); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#bedaf6, #8ba3bb); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#bedaf6, #8ba3bb); /* Standard syntax */
  background-color: #8ba3bb;
  border: 1px solid #888;
  border-bottom: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  color: white;
  float: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  margin-left: -1px;
  max-width: 150px;
  padding: 8px 0;
  text-align: center;
  text-shadow: 0 1px 3px black;
  white-space: nowrap;
  height: 40px;
  width: 100px;
}

#nav .active {
  background: linear-gradient(dodgerBlue, #1873CC);
  background: -webkit-linear-gradient(dodgerBlue, #1873CC); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(dodgerBlue, #1873CC); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(dodgerBlue, #1873CC); /* For Firefox 3.6 to 15 */
  background-color: #1873CC;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  box-shadow: inset 0 2px 1px 1px rgba(255,255,255,0.2);
  height: 42px;
  margin-top: -2px;
}

#nav button:hover {
  box-shadow: inset 0 0 5px #888;
}

#nav .active:hover {
  box-shadow: inset 0 2px 1px 1px rgba(255,255,255,0.2);
}

#adminLogin {
  float: right;
  font-family: 'Roboto Slab', serif;
  margin: 4px 12px;
}

#adminLogin, #adminLogin a {
  font-size: 10pt;
  font-weight: 400;
  color: #444;
}

#adminLogin a:link, #adminLogin a:visited { text-decoration: none; }
#adminLogin a:hover, #adminLogin a:active { text-decoration: underline; }

#socialMedia {
  float: right;
  margin-top: 2px;
}

#socialMedia img {
  filter: saturate(100%);
  -webkit-filter: saturate(100%);  /* For Webkit browsers */
  -webkit-transition: all .6s ease;  /* Transition for Webkit browsers */
}

#socialMedia img:hover {
  filter: saturate(300%);
  -webkit-filter: saturate(300%);
}

#nav a {  /* Remove underlines in safari */
  text-decoration: none;
}

/*==========  LINKS TO WORK  ==========*/

.workLink {
  display:inline-block;
  width:42%;
  margin:18px;
  height:280px;
  background-color: #F7F7F7;
  border: 1px solid #E4E4E4;
  box-shadow: 0 2px 2px #999;
  border-radius: 4px;
  color: #444;
  cursor: pointer;
  vertical-align:top;
  overflow: hidden;
  transition: background-color 0.5s ease;
}

.workLink h2 {
  border-bottom: 1px solid #E4E4E4;
  text-align: left;
  padding: 10px;
  padding-left: 20px;
  margin: 0;
  color: #444;
}

.workLink .dateInfo {
  text-align: left;
  margin: 14px 0 0 20px;
  font-size: 12px;
  color: #444;
}

.workLink .priceInfo {
  margin: 10px 20px;
  text-align: left;
  font-size: 12pt;
}

.workLink p {
  margin: 5px 20px;
  margin-top: none;
  text-align: left;
  font-weight: normal;
}

.workLink:hover {
  background-color: #EEE;
  margin: 20px 18px 16px 18px;
  box-shadow: 0 0 1px #777;
}

/*==========  MARKDOWN TABLE OVERWRITE  ==========*/

.markdownHelpTable {
  width:100%; 
  text-align:center; 
  display:none;
  padding: 4px;
  margin: 0;
  border: none;
  margin-bottom: 8px;
  white-space: normal;
}

.markdownHelpTable td {
  padding: 4px;
  vertical-align: middle;
  border: 1px solid #777;
  width: auto;
}

.markdownHelpTable th {
  color: #444;
  font-family: 'Roboto Slab', serif;
  margin: 2px;
  padding: 2px;
}

.markdownHelpTable h2 {
  border: none;
  color: #444;
  padding: 0;
  text-align: center;
}
