/* -----------------------------------------
  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;
}
/* Main report title */
h1 {
  line-height: 2;
  font-size: 1.5em;
  color: #800000;
  font-weight: 500;
  padding:.6em 0 1em;
}

/* Main report subtitle */
h2 {
  line-height: 2;
  font-size: 1.3em;
  color: #800000;
  font-weight: 500;
  margin-bottom: 2em;
}

/* Red chapter banners */
h3 {
  margin-left:-.65em;
  padding:.1em 0 .15em .65em;
  font-size: 1.1em;
}

p {
  /*line-height: 1.65;*/
  margin-top: .975em;
  margin-bottom:1.17em;
}

blockquote {
  font-style: italic;   
}

aside {
  border:1px solid #000000;
  background-color:rgb(243,219,219); 
  padding:1em;
  margin:.8em 2em 1em 0;
  float:left;
  width:230px;
}

ul {
  list-style-position: inside;
  margin-left:2em;
}

ul li {
  padding-left: 1em;
  text-indent: -1em;
  margin-top:.65em;
}

ol img {
  border:1px solid #888888;
  margin:1em auto 1.7em;
  box-shadow: 5px 8px 20px #666;
}

#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: 1em;
  text-transform: uppercase;
  color:black;
  text-decoration: none;
  outline:1px solid gray;
  margin:.3em;
}

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

nav.inner a:hover {
  background-color: whitesmoke;
}

#Header1_headerimg {
  display: inline;
}

.error {
  color:#FF0000;
}

.sidebarTitle {
  font-size: 1em;
  font-weight:400;
  text-decoration: underline;
  text-align: center;
  margin-top: 0;
  margin-bottom: .675em;
}

.hr2 {
  background: url(https://www.topospartnership.com/wp-content/themes/topos/_layout/images/bottom_border.gif) repeat-x left bottom;
  margin: 20px 0 30px 0;
  padding-bottom: 5px;
}

.row {
  width:940px;
}

.fixed {
  min-height: 1%;
  display: block;
}

.fixed:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.col-220 {
  width: 220px;
  float: left;
  margin-right: 1.17em;
}

.last {
  margin-right:0;
}

.thumbnail {
  border:1px solid gray;
  border-radius: 5px;
  padding:1em;
  margin:1em;
  display:inline-block;
}

a>.thumbnail,
 {
  text-decoration:none;
  color:#000;
}

.vid {
  border:1px solid gray;
  /*border-radius: 5px;*/
  padding:2em;
  margin:2em auto;
}

.vid figure {
  display:inline-block;
  margin:0 1em;
}

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;
}

.outline {
  border:1px solid #333;
  border-radius: 2px;
  padding:1em;
  margin-bottom:2em;
}

.form_item {
  display:inline-block;
  padding:.3em;
}

.buton {
`}

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

.edit {
  background-color: #FFFFC8;
}

.edit,
.update {
  text-decoration: none;
  color:black;
  border-radius:5px;
  border:1px solid gray;
  padding:3px 5px;
  text-align: center;
  font-size:.8em;
}

.edit:hover {
  background-color: yellow;
  cursor:pointer;
}

a.edit,
a.edit:hover,
a.edit:active,
a.edit:visited {
  color:black;
}

.update {
  background-color: cyan;
}

.update:hover {
  cursor:pointer;
  background-color: #08d1d1;
}

.delete {
  background-color: #DD0000;
  color:#FFFFFF;
  margin:2em 0;
  display:inline-block;
}

.delete:hover {
  padding:3px 5px;
  background-color: #DD0000;
}

.remove {
  background-color: #FFF;
  color:#404040;
  display: block;
  width: 60px; 
  height: 16px;
  margin:2em auto 1em;
  text-align:center;
}

.remove:hover {
  background-color: #FFDDDD;
}

.remove:visited {
  color:#404040;
}

footer {
  padding-bottom: 30px;
  color:rgb(85, 77, 77);
  font-size:.8125em;
  font-size:1em;
  line-height: 1.17em;
}

footer p,
footer a {
  color: #999;
}

footer strong {
  color:#666;
  font-size:13px;
}




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

  Media Queries

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