/**
 * Styles
 *
 * @author Lex Lexter <hi@leximo.cz>
 * @version 1.0.0
 * @website https://leximo.cz/
 */

@font-face {
  font-family: 'Mirai Fallback';
  size-adjust: 100%;
  src: local('Arial');
}

/*
  Bodies
  ***
*/

html {
  background-color: #F8F6F5;
}
body {
  max-width: 1464px;
  margin: 0 auto;
  padding: 24px;
  font: 400 20px 'Mirai', 'Mirai Fallback', Arial, Helvetica, sans-serif;
  color: #636069;
}

/*
  Links
  ***
*/

a {
  color: #636069;
}
a:hover {
  color: #28272A;
}

/*
  Forms
  ***
*/

input, textarea, select, button {
  font: 400 18px 'Mirai', 'Mirai Fallback', Arial, Helvetica, sans-serif;
}

/*
  elem
  ***
*/

.--admin .elem {
  position: relative;
}

/*
  Border
  ---
*/

.--admin .elem:before {
  content: '';
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border: 1px dashed transparent;
  border-radius: 4px;
  transition: 150ms linear;
}

/* hover */

.--admin .elem:hover:before {
  border-color: #333;
}

/*
  Label
  ---
*/

.--admin .elem[data-style]:after {
  content: attr(data-style);
  pointer-events: none;
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 10;
  transform: translate(-50%, -50%) rotate(-6deg);
  padding: 5px 8px 5px 8px;
  background-color: #333;
  border-radius: 24px;
  font-size: 12px;
  color: #fff;
  opacity: 0;
  transition: 150ms linear;
}

/* hover */

.--admin .elem[data-style]:hover:after {
  opacity: 1;
}

/*
  icon
  ***
*/

.icon {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background: center center no-repeat;
}

/*
  link
  ***
*/

.link {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  color: #312783;
}

/* hover */

.link:hover, a:hover .link {
  color: #312783;
}

/*
  + Same
  ---
*/

.link + .link {
  margin-left: 42px;
}

/*
  - color
  ---
*/

.link--color-light {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}

/*
  Adjust icon
  ---
*/

.link .icon {
  margin-left: 4px;
  fill: #312783;
  transition: 150ms ease-in-out;
}

/* hover */

.link:hover .icon, a:hover .link .icon {
  transform: translateX(5px);
}

/*
  - color
  ---
*/

.link--color-light .icon {
  fill: #fff;
}

/* hover */

.link--color-light:hover, a:hover .link--color-light {
  color: #fff;
}

/*
  backlink
  ***
*/

.backlink {
  position: relative;
  display: block;
  padding: 59px 52px 52px 118px;
  background-color: #fff;
  border-radius: 24px;
  line-height: 1.6;
  text-decoration: none;
  font-size: 16px;
  color: #28272A;
  transition: 150ms linear;
}

/* hover */

.backlink:hover {
  box-shadow: 0 8px 16px rgba(73, 67, 129, 0.1);
}

/*
  Adjust icon
  ---
*/

.backlink .icon {
  width: 48px;
  height: 48px;
  position: absolute;
  left: 42px;
  top: 52px;
  display: block;
  background-color: #312783;
  border-radius: 8px;
}

/*
  SVG
  ...
*/

.backlink .icon svg {
  width: 10px;
  height: 16px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  fill: #fff;
}

/*
  BOLD
  ---
*/

.backlink b {
  display: block;
  margin-bottom: 6px;
  line-height: 1.2;
  font-weight: 500;
  font-size: 32px;
}

/*
  gallery
  ***
*/

.gallery {
  overflow: hidden;
  margin: 32px -12px -12px -12px;
  font-size: 0;
}

/*
  Removal
  ---
*/

.gallery br, 
.gallery p {
  display: none;
}

/*
  item
  ---
*/

.gallery-item {
  width: 100%;
  display: inline-block;
  margin: 12px 0;
}

/*
  LINK, IMG
  ...
*/

.gallery-item a, 
.gallery-item a img {
  display: block;
}
.gallery-item a {
  overflow: hidden;
  margin: 0 12px;
  border-radius: 0 0 24px 0;
}
.gallery-item a img {
  width: 100%;
  transition: transform 150ms ease-in-out;
}

/* hover */

.gallery-item a:hover img {
  transform: scale(1.1);
}

/*
  - cols
  ...
*/

.gallery.gallery--cols-1 .gallery-item {
  width: 100%;
}
.gallery.gallery--cols-2 .gallery-item {
  width: 50%;
}
.gallery.gallery--cols-3 .gallery-item {
  width: 33.33%;
}
.gallery.gallery--cols-4 .gallery-item {
  width: 25%;
}
.gallery.gallery--cols-5 .gallery-item {
  width: 20%;
}
.gallery.gallery--cols-6 .gallery-item {
  width: 16.66%;
}
.gallery.gallery--cols-7 .gallery-item {
  width: 14.28%;
}
.gallery.gallery--cols-8 .gallery-item {
  width: 12.5%;
}
.gallery.gallery--cols-9 .gallery-item {
  width: 11.11%;
}
.gallery.gallery--cols-10 .gallery-item {
  width: 10%;
}

/*
  definition
  ***
*/

.definition {
  overflow: hidden;
  margin: 42px 0;
  padding: 24px 32px 0 32px;
  background-color: #fff;
  border-radius: 8px;
}

/*
  + Same
  ---
*/

.definition + .definition {
  margin-top: -34px;
}

/*
  title
  ---
*/

.definition__title {
  width: 220px;
  float: left;
  line-height: 1.7;
  font-weight: 500;
  color: #28272A;
}

@media only screen and (min-width: 701px) {

  /*
    - numeric
    ...
  */

  .definition--numeric .definition__title {
    width: 60px;
    text-align: center;
  }

}

/*
  - numeric
  ...
*/

.definition--numeric .definition__title {
  font-weight: 400;
  color: inherit;
}
.definition--numeric .definition__title:after {
  content: '.';
}

/*
  content
  ---
*/

.definition__content {
  margin-left: 252px;
}

@media only screen and (min-width: 701px) {

  /*
    - numeric
    ...
  */

  .definition--numeric .definition__content {
    margin-left: 92px;
  }

}

/*
  item-dir
  ***
*/

.item-dir__inset {
  position: relative;
  display: block;
  padding: 56px 42px 57px 42px;
  background-color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-size: 16px;
  transition: 150ms linear;
}

/* hover */

a.item-dir__inset:hover {
  box-shadow: 0 8px 16px rgba(73, 67, 129, 0.1);
}

/*
  Adjust link
  ---
*/

.item-dir .link {
  margin-top: 35px;
}

/*
  icon
  ---
*/

.item-dir__icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 39px;
  background-color: #312783;
  border-radius: 8px;
}

/*
  title
  ---
*/

.item-dir__title {
  overflow: hidden;
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*
  excerpt
  ---
*/

.item-dir__excerpt {
  height: 50px;
  overflow: hidden;
  margin: 8px 0 0 0;
  line-height: 1.5;
}

/*
  list
  ***
*/

.list__inset {
  margin: 0 -4px -8px -4px;
  font-size: 0;
}

/*
  - layout
  ---
*/

.--layout-page .list--contain-boxes {
  margin-top: 24px;
}
.--layout-dir .list--contain-boxes {
  margin-top: 24px;
}

/*
  item
  ---
*/

.list__item {
  display: inline-block;
  vertical-align: top;
}
.list__item__inset {
  margin: 0 4px 8px 4px;
}

/*
  head-section
  ***
*/

.head-section {
  background-color: var(--color);
  border-radius: 32px;
  color: var(--color-light);
}
.head-section__inset {
  padding: 48px 118px 49px 118px;
}

/*
  chapter
  ---
*/

.head-section__chapter {
  margin: 0 0 6px 0;
  font-size: 14px;
}

/*
  title
  ---
*/

.head-section__title {
  margin: 0;
  color: #fff;
}

/*
  LINK
  ---
*/

.head-section__title a {
  text-decoration: none;
  color: inherit;
}
.head-section__title a:hover {
  color: var(--color-light);
}

/*
  excerpt
  ---
*/

.head-section__excerpt {
  margin: 16px 0 0 42.45%;
}

/*
  head
  ---
*/

.head-section__head {
  width: 30%;
  float: left;
}

/*
  foot
  ---
*/

.head-section__foot {
  padding: 23px 118px 23px 118px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*
  icon
  ...
*/

.head-section__foot__icon {
  width: 48px;
  height: 48px;
  margin-right: 44px;
  background-color: var(--color-light);
  border-radius: 8px;
}

/*
  SVG
*/

.head-section__foot__icon svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  fill: var(--color);
}

/*
  nav
  ...
*/

.head-section__foot__nav {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

/*
  site-promo
  ***
*/

.site-promo {
  position: relative;
  overflow: hidden;
}

/*
  head
  ---
*/

.site-promo__head {
  padding: 64px 122px 64px 116px;
}

/*
  image
  ---
*/

.site-promo__image {
  width: 39.9%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: var(--color) center center no-repeat;
  background-size: cover;
  border-radius: 32px;
}

/*
  Dots
  ...
*/

.site-promo__image:before {
  content: '';
  width: 8px;
  position: absolute;
  left: -4px;
  top: 32px;
  bottom: 32px;
  background: url('../img/dots/large.svg') center top repeat-y;
  background-size: 100% auto;
}

/*
  content
  ---
*/

.site-promo__content {
  width: 60.1%;
  background-color: var(--color);
  border-radius: 32px;
  color: #fff;
}
.site-promo__content__inset {
  padding: 72px 120px 116px 118px;
}

/*
  LINK
  ...
*/

.site-promo__content a {
  color: inherit;
  transition: 150ms linear;
}
.site-promo__content a:hover {
  color: var(--color-light);
}

/*
  title
  ---
*/

.site-promo__title {
  margin: 0;
  line-height: 1.5;
  font-size: 18px;
  color: var(--color-light);
}

/*
  excerpt
  ---
*/

.site-promo__excerpt {
  margin: 28px 0 0 0;
  line-height: 1.17;
  font-weight: 500;
  font-size: 48px;
}

/*
  logo
  ---
*/

.site-promo__logo {
  width: 120px;
  float: left;
  padding: 12px 0 12px 16px;
  background: url('../img/dots/small.svg') left top repeat-y;
  line-height: 1.06;
  text-decoration: none;
  font-weight: 500;
  font-size: 28px;
  transition: 150ms linear;
}

/*
  - size
  ...
*/

.site-promo__logo--small {
  font-size: 18px;
}

/*
  doctor
  ---
*/

.site-promo__doctor {
  box-sizing: border-box;
  width: 370px;
  position: relative;
  float: right;
  margin: 2px 0 0 0;
  padding: 20px 94px 12px 0;
  line-height: 1.45;
  text-align: right;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-light);
}

/*
  LINK
  ...
*/

.site-promo__doctor a {
  font-weight: 600;
  color: #fff;
}

/*
  IMG
  ...
*/

.site-promo__doctor img {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -34px;
  background-color: #fff;
  background-clip: border-box;
  border: 5px solid #fff;
  border-radius: 50%;
}

/*
  site-section
  ***
*/

.site-section {
  position: relative;
}

/*
  - layout
  ---
*/

.--layout-dir .site-section {
  margin-top: 124px;
}
.--layout-page .site-section {
  margin-top: 26px;
}

/*
  Adjust head-section
  ---
*/

.site-section .head-section {
  margin-bottom: 118px;
}

/*
  content
  ---
*/

.site-section__content {
  max-width: 816px;
  margin: 0 auto;
  padding: 0 42px;
}

/*
  Adjust format
  ...
*/

@media only screen and (min-width: 1101px) {

  .site-section__content h2 {
    font-size: 40px;
  }

}

/*
  Adjust backlink
  ...
*/

.site-section__content .backlink {
  margin-top: 64px;
}

/*
  site-doctor
  ***
*/

.site-doctor {
  position: relative;
  overflow: hidden;
  margin: 112px 0 0 0;
}

/*
  image
  ---
*/

.site-doctor__image {
  width: 39.9%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--color) center center no-repeat;
  background-size: cover;
  border-radius: 32px;
}

/*
  Dots
  ...
*/

.site-doctor__image:before {
  content: '';
  width: 8px;
  position: absolute;
  top: 32px;
  right: -4px;
  bottom: 32px;
  background: url('../img/dots/large.svg') center top repeat-y;
  background-size: 100% auto;
}

/*
  content
  ---
*/

.site-doctor__content {
  margin-left: 39.9%;
  padding: 136px 118px 110px 118px;
  background-color: var(--color);
  border-radius: 32px;
  color: #fff;
}

/*
  title
  ---
*/

.site-doctor__title {
  margin: 0;
  color: #fff;
}

/*
  position
  ---
*/

.site-doctor__position {
  margin: 1px 0 0 0;
  font-size: 18px;
  color: var(--color-light);
}

/*
  format
  ---
*/

.site-doctor__format {
  margin-top: 42px;
}

/*
  site-bar
  ***
*/

.site-bar {
  box-sizing: border-box;
  width: 1464px;
  position: fixed;
  left: 50%;
  top: 24px;
  overflow: hidden;
  margin: -100px 0 0 -732px;
  padding: 24px 118px;
  background-color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  color: var(--color-light);
  opacity: 0;
  transition: 250ms ease-in-out;
}

/* - active */

.site-bar.--active {
  margin-top: 0;
  opacity: 1;
}


/*
  LINK
  ...
*/

.site-bar a {
  color: var(--color);
}
.site-bar a:hover {
  color: #28272A;
}

/*
  logo
  ---
*/

.site-bar__logo {
  position: relative;
  overflow: hidden;
  float: left;
  margin-right: 42px;
  padding: 4px 0 4px 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 24px;
}

/*
  - size
  ...
*/

.site-bar__logo--small {
  padding-top: 7px;
  padding-bottom: 8px;
  font-size: 16px;
}

/*
  Adjust icon
  ...
*/

.site-bar__logo .icon {
  position: absolute;
  left: 0;
  top: 0;
  fill: var(--color);
}

/*
  back
  ---
*/

.site-bar__back {
  display: block;
  margin-top: 7px;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

/*
  Adjust icon
  ...
*/

.site-bar__back .icon {
  top: -2px;
  margin-right: 4px;
  fill: var(--color);
}

/*
  nav
  ---
*/

.site-bar__nav {
  margin: 6px 0 0 0;
  line-height: 1;
}

/*
  doctor
  ---
*/

.site-bar__doctor {
  box-sizing: border-box;
  position: relative;
  float: right;
  margin: -6px 0;
  padding: 12px 66px 12px 0;
  line-height: 1.45;
  text-align: right;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-light);
}

/*
  IMG
  ...
*/

.site-bar__doctor img {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -22px;
  border-radius: 50%;
}

/*
  site-message
  ***
*/

.site-message {
  margin: 0 10%;
  padding: 118px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  text-align: center;
}

/*
  Adjust link
  ---
*/

.site-message .link {
  margin: 32px 8px 0 8px;
}

/*
  Adjust flash
  ---
*/

.site-message .flash {
  margin-top: 42px;
}

/*
  title
  ---
*/

.site-message__title {
  margin: 0;
}

/*
  excerpt
  ---
*/

.site-message__excerpt {
  margin: 24px 0 0 0;
  font-size: 18px;
}

/*
  site-foot
  ***
*/

.site-foot {
  max-width: 1100px;
  margin: 42px auto 16px auto;
  padding: 2px 0 2px 24px;
  background: url('../img/site-foot.svg') left top no-repeat;
  font-size: 16px;
}

/*
  LINK
  ---
*/

.site-foot a {
  font-weight: 700;
  color: var(--color);
}
.site-foot a:hover {
  color: #28272A;
}

/*
  IMG
  ---
*/

.site-foot img {
  position: relative;
  bottom: -4px;
  margin-left: 3px;
  border-radius: 0;
}

/*
  text
  ---
*/

.site-foot__text {
  margin: 0;
}

@media only screen and (min-width: 1301px) {

  /*
    - align
    ...
  */

  .site-foot__text--align-left {
    float: left;
  }
  .site-foot__text--align-right {
    float: right;
  }

}




.dev-overlay{display:none;}