html {
  padding-top: 25px;
  background-color: #2f4f4f;
}

h1 {
  font-family: 'Varela Round', 'Arial Black', serif;
  font-weight: normal;
  color: #6A94CC;
  font-size: 3em;
  margin: 0;
}

body {
  width: 90%;
  padding: 10px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 10px 10px 10px rgba(0,0,0,.5);
  background-color: #d8fafa;
}

p {
  font-family: "Open Sans", arial, serif;
  font-size: 1.25em;
  color: #1b1b1b;
  line-height: 150%;
  margin-top: 20px;
  margin-left: 10px;
}

ul {
  font-family: "Palatino Linotype", Baskerville, serif;
}

.introList {
  color: #666666;
  font-family: 'Varela Round', Helvetica, sans-serif;
  font-size: 1.2em;
  line-height: 150%;
  margin-left: 0;
  margin-bottom: 25px;
}

.instructList {
  font-family: "Palatino Linotype", Baskerville, serif;
  font-size: 1.25em;
  line-height: 150%;
  color: #616161;
}

h2 {
  color: #B1967C;
  font-family: 'Varela Round', 'Arial Black', serif;
  font-weight: normal;
  font-size: 2.2em;
  border-bottom: 2px white solid;
  padding: 0 0 2px 10px;
  margin: 0;
}

h3 {
  color: #6E50CA;
  font-family: 'Varela Round', 'Arial Black', serif;
  font-weight: normal;
  font-size: 1.6em;
}

ol {
  counter-reset: section;
  list-style-type: none;
}

ol > li::before {
  counter-increment: section;
  content: counters(section,".") " ";
  font-weight: bold;
}

#showHide {
  font-size: .5em;
  margin-left: 10px;
}

.intro {
  color: #666666;
  font-family: 'Varela Round', Helvetica, sans-serif;
  font-size: 1.2em;
  margin-left: 0;
  margin-bottom: 25px;
}

.bold {
	font-weight: bold;
}

a {
  font-family: "Palatino Linotype", Baskerville, serif;
  color: #6A94CC;
  text-decoration: underline;
  cursor: auto;
}

table {
  font-family: 'Varela Round', 'Arial Black', serif;
  padding: 0 0 2px 10px;
  margin: 0;
}

th {
    background-color: #E1EDEB;
    text-align: left;
}

td {
  padding-left: 5px;
  padding-right: 5px;
}

tr:nth-child(even) {
    background-color: #DDEBF7;
}

tr:nth-child(odd) {
    background-color: #FFFFFF;
}

div#captumPanel table tbody tr {
  background-color:white
}

/* File button from https://www.viget.com/articles/styling-native-file-upload-input-field/ */
input[type="file"] {
    position: relative;
}

input[type="file"]::file-selector-button {
    width: 136px;
    color: transparent;
}

/* Need this to support Firefox */
@supports (-moz-appearance: none) {
    input[type="file"]::file-selector-button {
        color: white;
    }
}

/* Faked label styles and icon */
input[type="file"]::before {
    position: absolute;
    pointer-events: none;
    top: 10px;
    left: 16px;
    height: 20px;
    width: 20px;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
}

input[type="file"]::after {
    position: absolute;
    pointer-events: none;
    top: 11px;
    left: 40px;
    color: white;
    font-weight: bold;
    content: "Upload File";
}


/* file upload button */
input[type="file"]::file-selector-button {
    border-radius: 4px;
    padding: 0 16px;
    height: 40px;
    cursor: pointer;
    background-color: #2f4f4f;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
    margin-right: 16px;
    transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
    background-color: #31A535;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
    background-color: #e5e7eb;
}

/* loading spinner */
.overlay{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255,255,255,0.8) url("../images/loader.gif") center no-repeat;
}

/* Turn off scrollbar when body element has the loading class */
body.loading{
    overflow: hidden;
}
/* Make spinner image visible when body element has the loading class */
body.loading .overlay{
    display: block;
}

input[type="submit"]  {
  font-size: .8em;
  color: white;
  background-color: #2f4f4f;
  border-radius: 5px;
  box-shadow: 0 0 4px white;
}
