/**
 * Responsive
 *
 * @author Lex Lexter <hi@leximo.cz>
 * @version 1.0.0
 * @website https://leximo.cz/
 */

@media only screen and (max-width: 1550px) {

  .form__gdpr {
    width: auto;
    float: none;
    margin: 0 0 16px 0;
    text-align: left;
    white-space: initial;
  }

  .site-promo {
    padding-left: 6%;
    padding-right: 6%;
  }

  .site-foot__inset {
    background: #2A2A2C;
  }

  .site-foot__socials {
    margin-right: 0;
  }
  .site-foot__contacts {
    margin-right: 0;
  }
  .site-foot__contacts:after {
    right: 0;
  }
  .site-foot__nav {
    margin-right: 0;
  }
  .site-foot__about {
    width: 600px;
  }
  .site-foot__separator {
    margin-right: 0;
  }
  .site-foot__links, 
  .site-foot__cards {
    margin-right: 0;
  }

}

@media only screen and (max-width: 1350px) {

  body {
    padding: 0;
  }

  .--layout-post .site-head {
    border-radius: 0;
  }

  .site-promo {
    border-radius: 0;
  }
  .site-promo__link {
    height: 36px;
    padding: 27px 0 0 0;
    background-image: url('../img/titles/07.svg');
  }
  .site-promo__link .link {
    transform: translateX(-60%);
  }

  .site-section {
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 0;
  }
  .site-section--bcg__title {
    background-image: url('../img/titles/08.svg');
  }

  .site-reviews {
    padding: 0 24px;
  }
  .site-reviews .carousel {
    margin-right: 0;
  }
  .site-reviews .carousel:after {
    display: none;
  }

  .site-foot {
    margin-bottom: 0;
  }
  .site-foot__inset {
    border-radius: 0;
  }
  .site-foot__title {
    background-image: url('../img/titles/06.svg');
  }

}

@media only screen and (max-width: 1250px) {

  textarea.input {
    height: 100px;
    min-height: 100px;
  }

  .list__title {
    margin-bottom: 42px;
  }

  .detail-page {
    padding-top: 64px;
  }

  .site-promo {
    padding: 64px 24px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 68%,rgba(255,255,255,0) 100%);
  }
  .site-promo--dark {
    background: #2A2A2C;
  }
  .site-promo__inset {
    width: auto;
    max-width: 760px;
    display: block;
    margin: 0 auto;
  }
  .site-promo__content {
    width: auto;
    display: block;
    padding: 0;
    text-align: center;
  }
  .site-promo__note {
    max-width: 480px;
    margin: 42px auto 0 auto;
    padding: 0;
  }
  .site-promo__note .icon {
    position: static;
    display: block;
    margin: 0 auto 0 auto;
  }
  .site-promo__media {
    display: block;
    margin: 42px 0 0 0;
    border-radius: 24px;
  }
  .site-promo__image {
    max-width: 360px;
  }
  .site-promo__link {
    left: -10000px;
  }

  .--layout-category .site-section--contain-posts, 
  .--layout-post .site-section--contain-posts {
    margin-top: 84px;
  }
  .--layout-home .site-section--contain-packages {
    margin-top: 120px;
  }
  .site-section--brd {
    padding-top: 84px;
  }

  .--layout-category .site-reviews {
    margin-top: 84px;
  }
  .site-reviews .carousel {
    margin-top: 64px;
  }

  .site-foot {
    margin-top: 84px;
  }
  .site-foot__inset {
    padding: 64px;
  }
  .site-foot__contacts {
    padding-bottom: 64px;
  }
  .site-foot__nav {
    width: auto;
    float: none;
    margin: 64px 0 16px 0;
    text-align: center;
  }
  .site-foot__nav a {
    width: auto;
    margin: 0;
    padding: 0 12px 12px 12px;
  }
  .site-foot__about {
    width: auto;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    text-align: center;
  }
  .site-foot__separator {
    margin: 42px 0 0 0;
  }

}

@media only screen and (max-width: 1150px) {

  .site-head__nav__list > li > a {
    padding: 0 16px;
  }

}

@media only screen and (max-width: 1050px) {

  body {
    font-size: 17px;
  }

  h1, .--like-h1 {
    line-height: 1.15;
    font-size: 46px;
  }
  h2, .--like-h2 {
    line-height: 1.2;
    font-size: 40px;
  }
  h3, .--like-h3 {
    line-height: 1.25;
    font-size: 32px;
  }
  h4, .--like-h4 {
    line-height: 1.3;
    font-size: 24px;
  }
  h5, .--like-h5 {
    line-height: 1.35;
    font-size: 20px;
  }
  h6, .--like-h6 {
    line-height: 1.4;
    font-size: 18px;
  }

  .input {
    padding: 13px 20px 13px 20px;
    border-radius: 6px;
    font-size: 16px;
  }

  .field {
    margin-bottom: 16px;
  }

  .item-post__title {
    max-height: 54px;
  }

  .accordion__title {
    padding: 20px 84px 20px 26px;
    font-size: 18px;
  }
  .accordion__title:before, 
  .accordion__title:after {
    right: 26px;
  }
  .accordion__content {
    padding: 0 26px 16px 26px;
  }

  .detail-post {
    padding-top: 62px;
  }
  .detail-post__image {
    margin-top: 42px;
  }
  .detail-post__content {
    margin-top: 42px;
  }
  .detail-post__excerpt {
    font-size: inherit;
  }

  .site-head__inset {
    padding: 16px 0;
  }
  .site-head .burger {
    display: block;
  }
  .site-head .button {
    margin: 0;
  }
  .site-head__logo {
    margin: 7px 0 0 0;
  }
  .site-head__nav {
    pointer-events: none;
    width: 280px;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 1px;
    background-color: #fff;
    box-shadow: 16px 16px 42px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0 24px;
    opacity: 0;
    transition: opacity 150ms;
  }
  .site-head--dark .site-head__nav {
    margin-top: 0;
  }
  .site-head__nav.--active {
    pointer-events: all;
    opacity: 1;
  }
  .site-head__nav__list {
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
  }
  .site-head__nav__list > li {
    display: block;
    padding: 10px 16px;
  }
  .site-head__nav__list > li > a {
    padding: 0;
  }
  .site-head__nav__list > li:first-child > a {
    padding-top: 24px;
  }
  .site-head__nav__list > li:last-child > a {
    padding-bottom: 24px;
  }
  .site-head__nav__list > li > a > span {
    padding: 0;
  }
  .site-head__nav__list > li > a > span:after {
    display: none;
  }

  .site-promo__inset {
    max-width: 640px;
  }
  .--layout-category .site-promo__media {
    display: none;
  }

  .--layout-category .site-section--contain-posts {
    margin-top: 42px;
  }

  .--layout-home .site-section--contain-why {
    margin-top: 112px;
  }
  .--layout-home .site-section--contain-how, 
  .--layout-home .site-reviews, 
  .--layout-home .site-section--contain-faq, 
  .--layout-home .site-section--contain-posts {
    margin-top: 84px;
  }
  .site-section__content {
    margin-top: 42px;
  }
  .site-section--bcg {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .site-section--bcg__title {
    display: none;
  }

  .site-message {
    padding-top: 84px;
  }

  .site-foot__inset {
    padding: 42px;
  }
  .site-foot__socials {
    margin-bottom: 24px;
  }
  .site-foot__contacts {
    padding-bottom: 42px;
  }
  .site-foot__contacts .icon {
    display: none;
  }
  .site-foot__contacts a {
    margin: 0 12px;
    font-size: 36px;
  }
  .site-foot__contacts a:before {
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0;
    font-size: 16px;
    color: #929292;
  }
  .site-foot__contacts a[href*="mailto"]:before {
    content: 'E-mail';
  }
  .site-foot__contacts a[href*="tel"]:before {
    content: 'Telefon';
  }
  .site-foot__copy {
    width: auto;
    float: none;
    margin-top: 24px;
    text-align: center;
  }
  .site-foot__cards {
    float: none;
    margin: 16px auto 0 auto;
  }
  .site-foot__links {
    float: none;
    margin: 16px 0 0 0;
    text-align: center;
  }
  .site-foot__links a {
    margin: 0 8px;
  }
  .site-foot__nav {
    margin-top: 32px;
    margin-bottom: 0;
  }
  .site-foot__separator {
    margin-top: 16px;
  }
  .site-foot__title {
    width: 280px;
  }

}

@media only screen and (max-width: 950px) {

  .list-progress__item {
    margin-bottom: 18px;
    font-size: 16px;
  }
  .list-progress__item__title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .list--contain-dirs .list__item.--col-4 {
    width: 50%;
  }

  .section-split__inset {
    padding: 0;
    text-align: center;
  }
  .section-split__format {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-split__image {
    width: auto;
    height: 400px;
    position: static;
    display: block;
    margin-top: 42px;
  }
  .section-split__format {
    margin-top: 16px;
  }

}

@media only screen and (max-width: 850px) {

  body {
    font-size: 16px;
  }

  h1, 
  h2,
  h3, 
  h4, 
  h5, 
  h6 {
    margin-top: 36px;
  }

  img.--align-center {
    margin: 32px auto;
  }
  img.--align-none {
    margin: 32px 0;
  }

  .gallery {
    margin-top: 24px;
    margin-bottom: 0;
  }

  .table, 
  .box, 
  .tip, 
  .accordion {
    margin: 24px 0;
  }

  .box + .box, 
  .tip + .tip, 
  .accordion + .accordion {
    margin-top: -12px;
  }

  .--layout-home .site-section--contain-packages {
    margin-top: 84px;
  }

}

@media only screen and (max-width: 800px) {

  .list--contain-posts .list__item.--col-3 {
    width: 50%;
  }
  .--layout-home .list--contain-posts .list__item.--col-3:nth-child(3) {
    display: none;
  }

}

@media only screen and (max-width: 750px) {

  h1, .--like-h1 {
    font-size: 36px;
  }
  h2, .--like-h2 {
    font-size: 30px;
  }
  h3, .--like-h3 {
    font-size: 26px;
  }
  h4, .--like-h4 {
    font-size: 22px;
  }
  h5, .--like-h5 {
    font-size: 18px;
  }
  h6, .--like-h6 {
    font-size: 16px;
  }

  .tip, .box {
    padding: 24px 32px 8px 32px;
  }
  .tip__content {
    margin-top: 8px;
  }

  .form-inquiry {
    padding: 32px 24px;
  }

  .head-01 .button {
    margin-top: 16px;
  }

  .item-post__title {
    max-height: 48px;
  }
  .item-post__excerpt {
    margin-top: 8px;
  }

  .list__title {
    margin-bottom: 32px;
  }
  .list__foot {
    margin-top: 32px;
  }

  .list--contain-dirs .list__item.--col-4, 
  .list--contain-dirs .list__item.--col-3 {
    width: 50%;
  }

  .detail-page__head {
    margin-bottom: 32px;
  }
  .detail-page__excerpt {
    margin-top: 12px;
  }

  .detail-post, .detail-page {
    padding-top: 42px;
  }
  .detail-post__head {
    margin: 0;
  }
  .detail-post__image {
    margin: 32px -24px 0 -24px;
  }
  .detail-post__image img {
    display: block;
    border-radius: 0;
  }
  .detail-post__content {
    margin-top: 32px !important;
  }
  .detail-post__excerpt {
    font-size: inherit;
  }

  .site-promo {
    padding-top: 42px;
    padding-bottom: 0;
  }
  .site-promo__inset {
    max-width: none;
  }
  .site-promo__media {
    margin: 32px -24px 0 -24px;
  }
  .site-promo__media .form-inquiry {
    box-shadow: 0 8px 64px rgba(0, 0, 0, 0.2);
    border-radius: 0;
  }
  .site-promo__image {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  .site-promo__excerpt {
    margin-top: 12px;
  }
  .site-promo__date {
    margin-bottom: 12px;
  }
  .site-promo__content .button {
    margin-top: 16px;
  }

  .--layout-post .site-section--contain-posts {
    margin-top: 64px;
  }
  .site-section--brd {
    padding-top: 64px;
  }

  .detail-post__content {
    margin-top: 42px;
  }

  .--layout-home .site-section--contain-how, 
  .--layout-home .site-section--contain-why {
    margin-top: 52px;
  }
  .--layout-home .site-reviews, 
  .--layout-home .site-section--contain-faq, 
  .--layout-home .site-section--contain-posts {
    margin-top: 36px;
  }
  .--layout-home .site-section--contain-packages {
    margin-top: 52px;
  }
  .site-section__content {
    margin-top: 26px;
  }
  
  .--layout-category .site-reviews {
    margin-top: 64px;
  }
  .site-reviews .carousel {
    margin-top: 42px;
  }

  .site-message {
    padding-top: 62px;
  }
  .site-message .button {
    margin: 16px 8px 0 8px;
  }
  .site-message__excerpt {
    margin-top: 16px;
  }

  .site-foot {
    margin-top: 64px;
  }
  .site-foot__inset {
    padding: 46px 24px;
  }

}

@media only screen and (max-width: 650px) {

  .gallery--cols-4 .gallery-item {
    width: 33.33%;
  }

}

@media only screen and (max-width: 600px) {

  .item-post__date {
    padding-right: 16px;
  }

  .list--contain-posts .list__item.--col-3 {
    width: 100%;
  }

}

@media only screen and (max-width: 550px) {

  h1, .--like-h1 {
    font-size: 32px;
  }
  h2, .--like-h2 {
    font-size: 28px;
  }
  h3, .--like-h3 {
    font-size: 26px;
  }

  .link .icon {
    display: block;
    margin: 0 auto 12px auto;
  }

  .--layout-category .site-section--contain-posts {
    margin-top: 32px;
  }
  .--layout-post .site-section--contain-posts {
    margin-top: 24px;
  }
  .site-section--brd {
    padding-top: 32px;
  }
  .site-section__content {
    margin-top: 24px;
  }
  
  .--layout-category .site-reviews {
    margin-top: 42px;
  }
  .site-reviews .carousel {
    margin-top: 32px;
  }

  .site-message {
    padding-top: 32px;
  }
  .site-message__excerpt br {
    display: none;
  }

  .site-foot {
    margin-top: 42px;
  }
  .site-foot__inset {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .site-foot__contacts {
    padding-bottom: 28px;
  }
  .site-foot__contacts__title {
    margin-bottom: 18px;
  }
  .site-foot__contacts a {
    display: block;
    font-size: 28px;
  }
  .site-foot__contacts a {
    margin: 0 0 16px 0;
  }
  .site-foot__contacts a:last-child {
    margin-bottom: 0;
  }
  .site-foot__nav {
    margin-bottom: 6px;
  }
  .site-foot__nav a {
    margin: 0;
    padding: 0 6px 6px 6px;
  }
  .site-foot__title {
    width: auto;
    float: none;
    height: auto;
    padding: 20px 24px;
    background: #2A2A2C;
    border-bottom: 1px solid #3c3c3f;
  }
  .site-foot__title .link {
    margin-left: 0;
  }

}

@media only screen and (max-width: 500px) {

  .button {
    padding: 10px 18px;
  }

  .input {
    font-size: 15px;
  }

  .rating {
    font-size: 0;
  }
  .rating__stars {
    top: 0;
    margin-right: 0;
  }

  .list--contain-dirs .list__item.--col-4, 
  .list--contain-dirs .list__item.--col-3, 
  .list--contain-dirs .list__item.--col-2, 
  .list--contain-packages .list__item.--col-2 {
    width: 100%;
  }

  .site-head .burger {
    margin-left: 0;
  }
  .site-head .button {
    display: none;
  }

}

@media only screen and (max-width: 450px) {

  .form-inquiry .grid__col--size-50 {
    width: 100%;
  }

  .gallery--cols-4 .gallery-item {
    width: 50%;
  }

  .site-head__nav {
    width: auto;
    left: 16px;
    right: 16px;
    border-radius: 0 0 24px 24px;
  }

}