@import "normalize.css";
@import "csskit";

:root {
  --blue: #015770;
}

html,
body,
input,
button,
select,
textarea {
  font: 16px/1.2 'Source Sans Pro', 'Helvetica Neue', Helvetica, arial, sans-serif;
  color: #444;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 300;
}

html,
body {
  height: 100%;
}

body {
  border-top: 3px solid var(--blue);
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
  font-weight: 300;
  line-height: 1.5;
}

a {
  color: #2A8782;
  text-decoration: none;
}

a:hover {
  color: #000;
}

a:active,
a:focus {
  color: #000;
}

b {
  font-weight: 400;
}

pre,
code {
  font-family: Monaco, Menlo, monospace;
  padding: 0px 4px;
  background-color: #f8f8f8;
  border: 1px solid #e2e2e2;
  overflow: scroll;
  font-size: 12px;
}

pre {
  padding: 10px;
}

pre code {
  background-color: transparent;
  border: 0px;
  padding: 0px;
}

hr {
  border-top: 1px solid #e2e2e2;
  border-right: none;
  border-bottom: none;
  border-left: none;
  margin: 10px 0 30px 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

img.headshot {
  float: right;
  width: 120px;
  height: auto;
  margin: 0px 0px 20px 20px;
  border-radius: 90px;
}

.serif {
  font-family: Baskerville, sans-serif;
}

a.button i.fa {
  line-height: 30px;
}

#about {
  height: 30px;
  line-height: 30px;
  margin-left: 20px;
}

.about .container {
  max-width: 600px;
  margin: 30px auto;
}

.about p {
  font-size: 20px;
  line-height: 1.5;
}


/*
* SHEET EDITOR
*/

input[type="text"].sheet-name {
  margin: 0px;
  font-weight: 500;
  font-size: 2em;
  border: 0px;
  padding: 0px;
  height: 50px;
  line-height: 50px;
  width: 100%;
}

textarea.sheet-description {
  border: 0px;
  width: 100%;
  height: 20px;
  min-height: 20px;
  padding: 0px;
}

.table-wrapper {
  overflow: auto;
}

#table-editor {
  margin-top: 0px;
}

#table-editor thead {

}

#table-editor thead th {
  text-align: left;
  padding-top: 10px;
}

#table-editor thead th span.column-name {
  display: inline-block;
}

#table-editor thead th span.column-name input {
  border: 0px;
  width: 114px;
  height: 30px;
  padding-left: 5px;
}

#table-editor tbody {
  border-right: 1px solid #ccc;
}

#table-editor tbody td {
  width: 150px;
}

#table-editor tbody .row-index {
  width: 25px;
}

#table-editor textarea {
  resize: none;
  height: 32px;
  line-height: 2;
  padding: 0px 0px 0px 5px;
  border: 1px solid #ccc;
  width: 150px;
  outline: 0;
  margin: 0px;
  border-right: 0px;
  border-bottom: 0px;
  border-radius: 0px;
  min-height: 32px;
  max-height: 32px;
}

#table-editor .expand-editor {
  position: relative;
  float: right;
  margin-top: -22px;
  margin-right: 5px;
  display: none;
}

#table-editor tr:last-child td {
  border-bottom: 1px solid #ccc;
}

#table-editor td:hover > .expand-editor {
  display: inline;
}

#table-editor tbody td.row-label,
#table-editor tbody td.row-index {
  width: 20px;
  cursor: all-scroll;
  cursor: --webkit-grab;
  cursor: grab;
  border-bottom: 0px;
}

table button.destroy {
  color: color(#013545 tint(70%));
  background-color: transparent;
  border: 0px;
  letter-spacing: normal;
  line-height: 31px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0px;
  height: 31px;
  font-size: 14px;
}

table button.destroy:hover {
  color: #013545;
  background-color: #efefea;
  border: 0px;
}

.editor-button,
.button.editor-button {
  font-size: 14px;
  padding: 5px 11px;
  line-height: 32px;
  height: 42px;
  color: #555;
}

#table-view {
  width: 100%;
}

#table-view .spacer {
  display: block;
  width: 100px;
}

#table-view thead {
  font-size: 0.9em;
  background-color: #f6f6f5;
  border-bottom: 1px solid #e2e2e0;
}

#table-view thead.stuck {
  right: 50px;
}

body.el-stuck #table-view {
  margin-top: 150px;
}

#table-view th {
  text-align: left;
  width: 103px;
}

#table-view tbody tr {
  border-bottom: 1px solid #efefef;
}

#table-view tbody td {
  padding: 10px 5px;
  width: 100px;
}

#table-view .row {
  cursor: pointer;
}

#table-view .row:hover {
  background-color: #fcfcfa;
}

#main-content {
  margin-left: -32px;
  height: 500px;
}

.long-text-wrapper {
  width: 700px;
  margin: 0px auto;
}

#long-text-editor {
  border: 2px solid #f2f2f0;
  padding: 30px;
  width: 700px;
  height: 500px;
  margin-bottom: 20px;
}

#code-box {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 3px;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

#code-box textarea {
  width: 100%;
  height: 100%;
  padding: 50px;
  border: 0px;
}

#user-list, #owner-list {
  height: 40px;
}

#user-list ul, #owner-list ul {
  margin: 0px 0px 10px 0px;
  padding: 0px;
}

#user-list li, #owner-list li {
  padding: 3px 5px;
  background-color: #f5f5f3;
  display: inline-block;
  border-radius: 4px;
  border: 1px solid #f5f5f3;
}

header {
  padding: 5px;
  background-color: #f6f6f5;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e2e0;
}

header h1.site-title {
  font-size: 24px;
  margin-top: 6px;
  line-height: 1;
  float: left;
  font-weight: 400;
  letter-spacing: -1px;
}

header h1.site-title a {
  color: #535351;
  text-decoration: none;
}

header h1.site-title a:hover {
  color: #000;
}

header ul.main-nav {
  margin: 0px;
  padding: 0px;
  text-align: right;
  margin: 5px 0px 0px 0px;
  height: 40px;
}

header ul.main-nav li {
  display: inline-block;
  margin-left: 15px;
  vertical-align: top;
  text-transform: lowercase;
}


.header-settings-toggle {
  float: right;
}

.header-settings {
  margin: 5px 0px 0px -9px;
  padding: 0px;
  position: absolute;
  width: 150px;
}

.header-settings li {
  display: block;
  width: 100%;
}

.header-settings li button {
  width: 100%;
  text-align: left;
}

header li a {
  height: 36px;
  line-height: 36px;
  display: inline-block;
}

header form.sign-out {

}

header form.sign-out input {
  height: 36px;
  line-height: 36px;
  vertical-align: baseline;
}

header a.button {
  display: block;
  height: 36px;
  line-height: 25px;
}

.hidden {
  display: none;
}

.container {
  margin: 0px 50px;
}

h1.page-title {
  margin-bottom: 20px;
}


/*
* SHEET LIST
*/

.sheet-list h1 {
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sheet-list .list-item {
  height: 100px;
}

.sheet-list .list-item-info {
  float: left;
}

.sheet-list .list-item-actions {
  float: right;
  line-height: 53px;
}

.sheet-list .list-item-actions .destroy-sheet {
  margin-top: 11px;
}

.sheet-list .list-item > a {
  border-left: 10px solid #f2f2f0;
  padding: 10px 20px;
  display: block;
  margin-bottom: 20px;
  height: 70px;
}

.sheet-list .list-item > a:hover {
  border-left: 10px solid #d2d2d0;
  background-color: #fcfcfa;
}

.sheet-list .list-item-description {
  color: #999;
}

.sheet-list .list-item a:hover .list-item-description {
  color: #424240;
}


/*
* MODAL
*/

#modal {
  position: fixed;
  top: 3px;
  width: 100%;
  background-color: #fff;
  height: 100%;
  padding: 50px;
}

#close-modal {
  position: absolute;
  top: 0;
  right: 50px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

#modal h1 {
  border-bottom: 1px solid #f2f2f0;
  margin-bottom: 10px;
}


/*
* INVITES
*/

.invite-emails {
  width: 100%;
  max-width: 500px;
  height: 300px;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #e2e2e0;
}


/*
* FORMS
*/

.button, 
.button:link, 
.button:visited, 
button, 
input[type="submit"], 
input[type="reset"], 
input[type="button"] {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, arial, sans-serif;
  letter-spacing: 0px;
}

header .button.small {
  font-size: 16px;
}

fieldset {
  padding: 0px;
  margin: 0px 0px 5px 0px;
}

.settings.destroy {
  color: #b3c2c7;
  background-color: transparent;
  border: 0;
  letter-spacing: normal;
  line-height: 19px;
  margin: 0;
  padding: 0 4px;
  height: 18px;
  font-size: 14px;
}


/*
* FOOTER
*/

footer {
  margin-top: 50px;
  border-top: 1px solid #f2f2f0;
  padding-top: 20px;
}

footer ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

footer ul li {
  margin-bottom: 4px;
}
