/* Shared styles for legal pages (EULA, Commercial License) */

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 30px;
}

#write {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 100px;
}

@media only screen and (min-width: 1400px) {
  #write { max-width: 1024px; }
}

@media only screen and (min-width: 1800px) {
  #write { max-width: 1200px; }
}

a {
  color: #4183c4;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 1.4;
}

h1 {
  font-size: 2.25em;
  line-height: 1.2;
  border-bottom: 1px solid #eee;
}

h2 {
  font-size: 1.75em;
  line-height: 1.225;
  border-bottom: 1px solid #eee;
}

h3 {
  font-size: 1.5em;
  line-height: 1.43;
}

h4 { font-size: 1.25em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; color: #777; }

p, blockquote, ul, ol, dl, table {
  margin: 0.8em 0;
}

ul, ol {
  padding-left: 30px;
}

li > ol, li > ul {
  margin: 0;
}

blockquote {
  border-left: 4px solid #dfe2e5;
  padding: 0 15px;
  color: #777;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  word-break: initial;
}

table tr {
  border: 1px solid #dfe2e5;
}

table tr:nth-child(2n), thead {
  background-color: #f8f8f8;
}

table th {
  font-weight: bold;
  border: 1px solid #dfe2e5;
  border-bottom: 0;
  padding: 6px 13px;
}

table td {
  border: 1px solid #dfe2e5;
  padding: 6px 13px;
}

hr {
  height: 2px;
  padding: 0;
  margin: 16px 0;
  background-color: #e7e7e7;
  border: 0 none;
  overflow: hidden;
}

@media print {
  body { padding: 0; }
  #write { padding: 0; }
  html { font-size: 13px; }
}
