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

/*
  Titles
  ***
*/

h1, 
h2,
h3, 
h4, 
h5, 
h6 {
  transform: rotate(0.03deg);
  margin: 48px 0 16px 0;
  font-weight: 700;
  font-family: var(--ff-montserrat);
  color: var(--cr-azure-dark-2);
}
h1, .--like-h1 {
  line-height: 1.25;
  font-size: 42px;
}
h2, .--like-h2 {
  line-height: 1.3;
  font-size: 36px;
}
h3, .--like-h3 {
  line-height: 1.35;
  font-size: 30px;
}
h4, .--like-h4 {
  line-height: 33px;
  font-size: 24px;
}
h5, .--like-h5 {
  line-height: 1.4;
  font-size: 20px;
}
h6, .--like-h6 {
  line-height: 1.45;
  font-size: 17px;
}

/*
  Like
  ---
*/

.--like-h1, 
.--like-h2,
.--like-h3, 
.--like-h4, 
.--like-h5, 
.--like-h6 {
  transform: rotate(0.03deg);
  font-weight: 700;
  font-family: var(--ff-montserrat);
  color: var(--cr-azure-dark-2);
}

/*
  Gaps
  ---
*/

h1:first-child,
h2:first-child, 
h3:first-child, 
h4:first-child, 
h5:first-child,
h6:first-child {
  margin-top: 0;
}

/*
  SMALL
  ---
*/

h1 small, 
h2 small, 
h3 small, 
h4 small, 
h5 small, 
h6 small {
  display: block;
  line-height: 2;
  font-size: 50%;
}

/*
  IMG
  ---
*/


h1 img, 
h2 img,
h3 img, 
h4 img, 
h5 img, 
h6 img {
  margin: 0;
}

/*
  Paragraphs
  ***
*/

p, 
address {
  margin-bottom: 16px;
  line-height: 1.6;
  letter-spacing: -0.1px;
}
address {
  font-style: normal;  
}

/*
  Empty
  ---
*/

p:empty {
  display: none;
}

/*
  Blockquote
  ***
*/

blockquote {
  display: block;
  margin-bottom: 12px;
}

/*
  Paragraph
  ---
*/

blockquote p {
  margin: 0;
}

/*
  Quotes
  ...
*/

blockquote p:before {
  content: '„';
  margin-right: -3px;
}
blockquote p:after {
  content: '“';
  margin-left: -3px;
}

/*
  Quote
  ---
*/

blockquote q {
  quotes: none;
  display: block;
  margin: 8px 0 0 0;
  line-height: 1.5;
  font-size: 85%;
}

/*
  Link
  ...
*/

blockquote q a {
  color: inherit;
}


/*
  Lists
  ***
*/

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/*
  Wrappers
  ---
*/

ul,
ol {
  margin: 0 0 16px 18px;
}
ul ul,
ul ol,
ol ul,
ol ol {
  margin: 14px 0 2px 20px;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}

/*
  - undot
  ...
*/

ul.--undot, 
ol.--undot {
  margin-left: 0;
  list-style: none;
}

/*
  table
  ***
*/

table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: separate;
  border-spacing: 0 2px;
  font-size: 16px;
}

/*
  Row
  ---
*/

table tr {
  box-shadow: var(--sh-tiny);
  border-radius: var(--rd-tiny);
}
table thead tr {
  box-shadow: none;
}

/*
  - border
  ...
*/

table tr.--border {
  box-shadow: 0 0 0 1px var(--cr-grey-20);
}

/*
  cells
  ---
*/

table th, 
table td {
  vertical-align: middle;
  padding: 12px 24px;
  background-color: var(--cr-white);
  line-height: 1.5;
}
table th {
  font-weight: 400;
  color: #1E1E1E;
}

/*
  Gaps
  ...
*/

table th:first-child:last-child, 
table td:first-child:last-child {
  border-radius: var(--rd-tiny);
}
table th:first-child, 
table td:first-child {
  border-radius: var(--rd-tiny) 0 0 var(--rd-tiny);
}
table th:last-child, 
table td:last-child {
  border-radius: 0 var(--rd-tiny) var(--rd-tiny) 0;
}

/*
  thead
  ---
*/

table thead th, 
table thead td {
  padding: 10px 24px;
  background-color: var(--cr-peach-light-2) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 15px;
  font-weight: 600;
}

/*
  table
  ---
*/

.table {
  overflow-y: hidden;
  overflow-x: auto;
  margin: 24px 0;
}

/*
  Adjust TABLE
  ...
*/

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

/*
  Images
  ***
*/

img {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

/*
  - align
  ---
*/

img.--align-none {
  display: block;
  margin: 34px 0;
}
img.--align-center {
  display: table;
  margin: 34px auto;
}
img.--align-left {
  float: left;
  margin: 6px 36px 36px 0;
}
img.--align-right {
  float: right;
  margin: 6px 0 36px 36px;
}

/*
  - small
  ...
*/

img.--align-center--small {
  margin-top: 12px;
  margin-bottom: 20px;
}

/*
  Rules
  ***
*/

hr {
  height: 1px;
  position: relative;
  display: block;
  clear: both;
  margin: 32px 0;
  background-color: rgba(0, 0, 0, 0.05);
  border: none;
}

/*
  Iframe
  ***
*/

/*

iframe {
  max-width: 100%;
  max-height: 420px;
  display: block;
  margin: 42px auto 32px auto;
  border-radius: 24px;
}

*/