/* -----------------------------------------
  Table of Contents: 

  Tag Resets
  Normalize CSS
  Web Fonts
  Fluid Media
  Custom Styles
  Media Queries

----------------------------------------- */
/* -----------------------------------------

  Tag Resets

----------------------------------------- */

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
}



/* -----------------------------------------

  Normalize CSS
  https://necolas.github.com/normalize.css/

----------------------------------------- */

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-size: 100%;
  min-height: 100%;
  height:100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
section,
audio,
canvas,
video {
  display: block;
}

iframe {
  border:none;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

b,
strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

abbr[title] {
  border-bottom: 1px dotted;
}

textarea {
  overflow: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  border:1px solid black;
  padding:.5em 1em;
}

#grid th:hover {
  cursor: pointer;
}

td {
  font-size: 1.3em;
  vertical-align: top;
}

/* this is taken from an article about correcting a problem where Apple mobile devices wouldn't play iframe videos: */
a,
object,
input,
a:focus {
  outline:none;
}
a:active {
  outline:none;
}


/* -----------------------------------------

  Web Fonts

----------------------------------------- */




/* -----------------------------------------

  Fluid Media

----------------------------------------- */


figure {
  position: relative;
}

figure img,
figure object,
figure embed,
figure video,
figure iframe {
  display: block;
  max-width: 100%; 
  margin:2em auto 1em;
}

/* 
interpolation-mode
https://css-tricks.com/ie-fix-bicubic-scaling-for-images/
 */

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}


/* -----------------------------------------

  Custom Styles

----------------------------------------- */

body {
  font-family: Arial, sans-serif;
  /*font-family: "Gill Sans", sans-serif;*/
  font-size:.9em;
  line-height: 1.65;
  color:#554D4D;
  background-color: rgb(240, 242, 241);
}

a,
a:visited {
  color:blue;
}

p {
  margin-top: .975em;
  margin-bottom:1.17em;
}



#wrap {
  width:100%;
  margin:0 auto;
  padding:0 10px;
  background-color: #fff;
}

#outer-wrapper {
  width: 940px;
  margin: 0 auto;
  padding: 2em;
  background-color: #fff;
}

#header-wrapper {
  width: 940px;
  margin: 0 auto .9em;
  border: 1px solid #cccccc;
}

#header {
	margin: 5px;
	border: 1px solid #cccccc;
	text-align: center;
	color: #666666;
}

#header-inner {
  text-align: left;
}

#header-inner nav {
  display:inline;
  float:right;
  font-size:13px;
  text-transform: uppercase;
}

#header-inner nav a,
nav.inner a {
  padding:0 .53em;
  color:blue;
  text-decoration: none;
}

nav.inner {
  margin-bottom:2em;
}

nav.inner a {
  padding: .53em;
  text-transform: uppercase;
  color:blue;
  text-decoration: none;
}

nav.inner a:first-child {
  padding-left: 0;
}

#Header1_headerimg {
  display: inline;
}

.error {
  color:#FF0000;
}



input[type='text'],
input[type='password'],
input[type='url'] {
  padding:.2em;
  font-size: .965em;
}

fieldset input[type='text'],
fieldset input[type='password'],
fieldset input[type='url'] {
  margin:.2em;
  width:80%;
}

fieldset div {
  width:100%;
}

fieldset label {
  font-weight: bolder;
}


.buton {
  text-decoration: none;
  border-radius:5px;
  border:1px solid gray;
  background:#e6EEEE;
  padding:2px 4px;
  margin:5px;
  font-size: .85em;
  font-family: sans-serif;
  display:inline;
  cursor:pointer;
}

.buton:hover {
  background-color:lightblue;
}




/* -----------------------------------------

  Media Queries

----------------------------------------- */
