html {
  height: 100%;
}

body {
  margin: 0;
  background-color: #F5F5FF;
  font-family: Helvetica, Arial, FreeSans, sans-serif;
  color: #454545;
  font-size: 14px;
  position: relative;
}

.clear {
  clear: left;
}

#container {
  height: 100%;
}

h1, h2, h3 {
  font-family: Verdana, Helvetica, Arial, FreeSans, sans-serif;
}

h1 {
  margin: 0;
  padding-top: 20px;
  font-size: 45px;
  font-weight: 700;
  font-style: normal;
}

h2 {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
}

h3 {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
}

/**
 * text
 */

a {
  text-decoration: none;
  color: #4267B6;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

h1 .small {
  font-size: 16px;
  font-weight: normal;
}

p .small {
  font-size: 13px;
  margin-top: 60px;
}

.nobreak {
  white-space: nowrap;
}

pre {
  clear: left;
}

ul,
ol,
p,
.descLayout pre {
  margin-bottom: 1.5em;
  clear: left;
}

li {
  margin-bottom: 1.3em;
}

ul.tight li {
  margin-bottom: 0.3em;
}

ul {
  padding-left: 30px;
}

ul ul {
  margin-top: 1.5em;
}

.descLayout pre {
  margin-left: 0.5em;
}

.warning {
  border: 1px solid #D4D8EB;
  padding: 10px;
  background: #F0F1F8;
  box-shadow: 2px 2px 7px #777;
  margin-bottom: 40px;
}

.warning strong {
  background: #747477;
  color: #FFF;
  border-radius: 4px;
  padding: 2px 4px;
}

/**
 * Handsontable
 */

.handsontable {
  margin-bottom: 10px;
  color: #000;
  z-index: 2;
  font-size: 12px;
}

.handsontable li {
  margin-bottom: 0; /* will be not needed after Handsontable 0.8.16 */
}

/**
 * home page
 */
body.home {
  background: #FFF;
}

body.home h1 {
  position: relative;
}

body.home h2 {
  margin-top: 40px;
}

body.home #domainNotice {
  display: none;
}

body.home .centerLayout {
  margin: 0 auto;
  padding-bottom: 10px;
}

body.home .linkColumn {
  float: left;
  margin-left: 89px;
}

body.home .linkColumn.first {
  margin-left: 0;
}

body.home #container ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

body.home #container ul ul {
  padding: 10px 0 0 15px;
}

body.home #container ul li {
  margin: 0 0 10px 0;
}

body.home pre.javascript {
  display: none;
}

.state-loaded {
  display: none;
}

.alert {
  color: #c09853;
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

/**
* buttons
**/
button,
.button {
  font-family: Helvetica, Arial, FreeSans, sans-serif; /*Firefox tries to use system font on button*/
  display: inline-block;
  padding: 6px 9px;
  margin: 0 2px 0 0;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: none;
  -moz-user-select: none;
  background-color: #bbb;
  color: white;
}

button:hover,
.button:hover {
  background-color: #999999;
  text-decoration: none;
}

button.mini {
  padding: 3px 5px;
  font-size: 11px;
  line-height: 16px;
  margin-top: -3px;
}

.show-source {
  background-color: #8fbb6d;
}

.show-source:hover {
  background-color: #76bb4c;
}

.show-source:before {
  content: 'Show source code';
}

.show-source.shown:before {
  content: 'Hide source code';
}

.inline-buttons button,
.inline-buttons .button {
  float: left;
}

.button-github {
  background-color: #9a9a9a;
}

.button-github:hover {
  background-color: #7a7a7a;
}

.button-twitter {
  background-color: #00ACED;
}

.button-twitter:hover {
  background-color: #0095CC;
}

.button-google-groups {
  background-color: #D44332;
}

.button-google-groups:hover {
  background-color: #BC2520;
}
