/* !Format (Author: mail@jandousek.cz) */

.format {
  /* TODO */
}

/*
  titles
  ***
*/

h1, h2, h3, h4 {
  margin: 40px 0 15px 0;
  font-weight: 400;
  color: #1A1818;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child {
  margin-top: 0;
}
h1, .like-h1 {
  line-height: 1.22;
  letter-spacing: -1.3px;
  font-size: 48px;
}
h2, .like-h2 {
  line-height: 1.35;
  letter-spacing: -1.2px;
  font-size: 34px;
}
h3, .like-h3 {
  line-height: 1.45;
  letter-spacing: -1.1px;
  font-size: 22px;
}
h4, .like-h4 {
  line-height: 1.5;
  letter-spacing: -0.8px;
  font-size: 20px;
}

/*
  adjust anchor
  ---
*/

h2 .anchor, h3 .anchor {
  width: 30px;
  display: inline-block;
  margin: 0 10px 0 -40px;
  text-align: right;
}

/*
  parahraphs
  ***
*/

p, address {
  margin-bottom: 20px;
  line-height: 2;
  letter-spacing: -0.3px;
}

/*
  adjust link
  ---
*/

p .link {
  margin: 0;
}

/*
  type-subtitle
  ---
*/

p.type-subtitle {
  color: #2FB3B4;
}

/*
  blockquote
  ---
*/

blockquote {
  position: relative;
  margin: 40px 0;
  font-family: 'Times new Roman';
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

/*
  format
  ...
*/

blockquote p {
  font-style: italic;
  font-size: 22px;
  color: #1a1818;
}



/*
  lists
  ***
*/

ul, ol {
  margin-bottom: 25px;
}
ul {
  margin-left: 1px;
}
ol {
  margin-left: 18px;
}
li {
  position: relative;
  margin-bottom: 6px;
  line-height: 1.65;
}
ul > li {
  padding-left: 24px;
  list-style: none;
}
ul > li:before {
  content: '';
  width: 6px;
  height: 6px;
  position: absolute;
  left: 0;
  top: 8px;
  border: 3px solid #2FB3B4;
  border-radius: 100%;
}
ol > li {
  padding-left: 5px;
  list-style: decimal;
}

/*
  next levels
  ---
*/

li > ul, li > ol {
  margin-top: 20px;
  margin-bottom: 20px;
}

/*
  tables
  ***
*/

table {
  width: 100%;
  margin-bottom: 20px;
  font-size: 15px;
}
table th, table td {
  padding: 12px 16px;
  background-color: #fff;
  border: 1px solid #ddd;
  line-height: 1.6;
}
table th {
  color: #1A1818;
}

/*
  thead
  ---
*/

table thead th, table thead td {
  border: none;
  border-bottom: 3px solid #2FB3B4;
}

/*
  - table
  ---
*/

.table {
  overflow-x: auto;
  margin-bottom: 20px;
}

/*
  adjust table
  ...
*/

.table table {
  min-width: 500px;
  margin: 0;
}

/*
  img
  ---
*/

img.align-left, img.align-right, img.align-center, img.align-none {
  border-radius: 6px;
}
img.align-left, img.align-right {
  max-width: 40%;
}
img.align-left {
  float: right;
  margin: 10px 35px 30px 0;
}
img.align-right {
  float: right;
  margin: 10px 0 30px 35px;
}
img.align-center, img.align-none {
  display: table;
  margin-top: 30px;
  margin-bottom: 30px;
}
img.align-center {
  margin-left: auto;
  margin-right: auto;
}

/*
  round
  ---
*/

img.round-circle {
  border-radius: 1000px;
}

/*
  inline
  ***
*/

strong, b {
  font-weight: 600;
  color: #1A1818;
}
