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

.format {
  /* HM... */
}

/*
  titles
  ***
*/

h1, h2, h3, h4, h5, h6, .like-h1, .like-h2, .like-h3, .like-h4, .like-h5, .like-h6 {
  margin: 40px 0 20px 0;
  line-height: 1.3;
  color: #0f2325;
}
h1:first-child, h1.pos-first,
h2:first-child, h2.pos-first,
h3:first-child, h3.pos-first,
h4:first-child, h4.pos-first,
h5:first-child, h5.pos-first,
h6:first-child, h6.pos-first {
  margin-top: 0;
}
h1, .like-h1 {
  font-size: 48px;
  color: #4a2501;
}
h1 .tag, .like-h1 .tag {
  margin-top: -10px;
}
h2, .like-h2 {
  font-size: 35px;
}
h2 .tag, .like-h2 .tag {
  margin-top: 15px;
}
h3, .like-h3 {
  font-size: 24px;
}
h3 .tag, .like-h3 .tag {
  margin-top: 15px;
}
h3.size-small, .like-h3.size-small {
  font-size: 22px;
}
h4, .like-h4 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #4a2501;
}
h5, .like-h5 {
  margin-bottom: 15px;
  font-size: 18px;
}
h6, .like-h6 {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 16px;
}

/*
  small
  ---
*/

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
  font-weight: 200;
  font-size: 70%;
}
.like-h1 small {
  position: relative;
  top: -6px;
}
.like-h2 small {
  display: block;
  line-height: inherit;
  font-size: 50%;
}

/*
  paragraphs
  ***
*/

p, address {
  margin-bottom: 24px;
  line-height: 1.8;
}
address {
  font-style: normal;
}

/*
  type-excerpt
  ---
*/

p.type-excerpt, address.type-excerpt {
  margin-bottom: 24px;
  font-weight: 500;
}

/*
  has-bg
  ...
*/

p.type-excerpt.has-bg {
  display: inline-block;
  padding: 15px 10px;
  border: 2px dashed #fff;
  border-radius: 5px;
}
p.type-excerpt.has-bg > span {
  position: relative;
  top: -1px;
  margin: 0 5px;
  display: inline-block;
  vertical-align: middle;
  font-size: 150%;
}

/*
  blockqote
  ***
*/

blockquote {
  margin-bottom: 25px;
  font: italic 100% 'Georgia';
}

/*
  format
  ---
*/

blockquote > p {
  margin: 0;
  line-height: 1.5;
  font-size: 130%;
}
blockquote > q {
  display: block;
  margin-top: 15px;
}

/*
  lists
  ***
 */

ul, ol {
  margin-bottom: 18px;
}
ol {
  margin-left: 0;
  counter-reset: item;
}
li {
  position: relative;
  margin-bottom: 6px;
  line-height: 1.7;
}
ul > li {
  padding-left: 26px;
}
ol > li {
  padding-left: 50px;
}

/*
  adjust iframe
  ---
*/

li > iframe:last-child {
  margin-bottom: 0;
}

/*
  dots
  ---
*/

ul > li:before {
  content: '';
  width: 7px;
  height: 7px;
  position: absolute;
  left: 0;
  top: 9px;
  background-color: #4a2501;
  border-radius: 100%;
}

/*
  mark-none
  ---
*/


ul.mark-none > li {
  margin-bottom: 8px;
  padding-left: 0;
}
ul.mark-none > li:before {
  display: none;
}

/*
  mark-check
  ---
*/

ul[class*="mark"] > li:before, ul > li[class*="mark"]:before {
  width: 24px;
  height: 24px;
  top: 2px;
  background-color: transparent;
  border-radius: 0;
  font: 24px 'unicons';
}
ul.mark-check > li:before, ul > li.mark-check:before {
  content: '\e8d8';
  color: #14c758;
}
ul.mark-cancel > li, ul > li.mark-cancel {
  color: #c9c9c9;
}
ul.mark-cancel > li:before, ul > li.mark-cancel:before {
  content: '\ebee';
  color: #c9c9c9;
}
ul.mark-gift > strong:first-child > li, ul > li.mark-gift > strong:first-child {
  color: #db1950;
}
ul.mark-gift > li:before, ul > li.mark-gift:before {
  content: '\ea2b';
  top: 0;
  color: #db1950;
}

/*
  counter
  ---
 */

ol > li:before {
  content: counter(item) '';
  counter-increment: item;
  width: 28px;
  position: absolute;
  left: 0;
  top: 1px;
  padding: 6px 0 5px 2px;
  background-color: #4a2501;
  border-radius: 4px;
  line-height: 1 !important;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

/*
  next levels
  ---
 */

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

/*
  strong
  ---
 */

/* li > strong:first-child {
  position: relative;
  top: -1px;
  display: inline-block;
  line-height: 1.6;
  font-weight: 500;
  font-size: 19px;
  color: #01636d;
} */

/*
  table
  ***
*/

table {
  width: 100%;
  margin-bottom: 35px;
  font-size: 14px;
}
table th, table td {
  vertical-align: middle;
  padding: 14px 18px 14px 18px;
  border: 1px solid #e3e2e5;
  line-height: 1.75;
}
table th {
  font-weight: 500;
}
table tbody th {
  font-size: 115%;
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

/*
  thead
  ---
*/

table thead th, table thead td {
  background-color: #fed349;
  border-color: #e0b324;
}

/*
  tbody
  ---
*/

table tbody + tbody tr:first-child th, table tbody + tbody tr:first-child td {
  border-top: 3px solid #fed349;
}

/*
  tfoot
  ---
*/

table tfoot th, table tfoot td {
  background-color: #fff9e5;
}

/*
  table
  ---
*/

.table {
  overflow-y: auto;
  margin-bottom: 35px;
}
.table table {
  margin-bottom: 0;
}

/*
  iframe
  ---
*/

iframe, .iframe {
  width: 100%;
  margin: 30px 0;
}
.iframe iframe {
  margin: 0;
}

/*
  hr
  ***
*/

hr {
  height: 0;
  border: none;
  border-top: 3px dashed #01636d;
}
