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

@media only screen and (max-width: 1350px) {

  .nav-sub {
    overflow-x: scroll;
    padding-bottom: 0;
  }
  .nav-sub:before {
    display: none;
  }
  .nav-sub a:after {
    display: none;
  }

}

@media only screen and (max-width: 1250px) {

  h1, 
  h2,
  h3, 
  h4, 
  h5, 
  h6 {
    margin-top: 36px;
  }
  h1, .--like-h1 {
    line-height: 1.3;
    font-size: 44px;
  }
  h2, .--like-h2 {
    line-height: 1.35;
    font-size: 36px;
  }
  h3, .--like-h3 {
    line-height: 1.4;
    font-size: 32px;
  }
  h4, .--like-h4 {
    line-height: 1.45;
    font-size: 26px;
  }
  h5, .--like-h5 {
    line-height: 1.5;
    font-size: 22px;
  }
  h6, .--like-h6 {
    line-height: 1.55;
    font-size: 18px;
  }

  /***/

  .list__head .nav-sub {
    display: none;
  }

  /***/

  .box__inset {
    padding: 64px 64px 48px 64px;
  }

  /***/

  .site-head {
    left: 24px;
    right: 24px;
    padding: 16px 0;
  }
  .site-head .burger {
    display: block;
  }
  .site-head .button {
    margin: 7px 0 0 16px;
  }
  .site-head .list-socials {
    margin: 20px 0 0 16px;
  }
  .site-head__logo {
    height: 64px;
    margin: 0;
  }
  .site-head__nav {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    display: none;
    background-color: rgba(0, 44, 89, 0.85);
    backdrop-filter: blur(6px);
  }
  .site-head__nav.--visible {
    display: block;
  }
  .site-head__nav__list {
    display: table-cell;
    vertical-align: middle;
    padding: 100px 24px;
    text-align: center;
  }
  .site-head__nav__list:before {
    display: none;
  }
  .site-head__nav__list > li {
    display: block;
    margin: 0;
  }
  .site-head__nav__list > li > a {
    height: auto;
    padding: 16px 0;
    text-transform: none;
    font-weight: 500;
    font-size: 28px;
  }
  .site-head__nav__list > li > a:after {
    display: none;
  }
  .site-head__nav .nav-drop {
    pointer-events: all;
    position: static;
    margin: 0;
    padding: 0;
    transform: none;
    white-space: initial;
    opacity: 1;
    transition: none;
  }
  .site-head__nav .nav-drop__list {
    background: transparent;
  }
  .site-head__nav .nav-drop__list:before {
    display: none;
  }
  .site-head__nav  .nav-drop__list > li {
    display: inline-block;
  }
  .site-head__nav  .nav-drop__list > li > a {
    padding: 4px 8px;
    font-size: 20px;
  }
  .site-head__langs {
    margin: 20px 0 0 20px;
  }

  /***/

  .site-promo {
    padding: 0 24px;
  }
  .site-promo__inset {
    padding: 200px 0 280px 0;
  }
  .site-promo__image {
    display: none;
  }
  .site-promo__background {
    display: block;
  }

  /***/

  .site-section {
    padding: 0 24px;
  }
  .site-section + .site-section {
    margin-top: 84px;
  }

  /***/

  .site-section-divider {
    margin-top: 84px;
  }

  /***/

  .site-banner {
    margin-top: 84px;
  }

  /***/

  .site-foot {
    margin-top: 84px;
    padding: 0 24px;
  }
  .site-foot__inset {
    padding: 42px 0;
    text-align: center;
  }
  .site-foot .list-socials {
    float: none;
    margin: 16px 0 0 0;
  }
  .site-foot__contacts {
    margin-bottom: 0;
  }
  .site-foot__about {
    max-width: 360px;
    width: auto;
    height: auto;
    float: none;
    margin: 0 auto;
    padding: 0;
  }
  .site-foot__about img {
    display: none;
  }
  .site-foot__note--align-right {
    margin-top: 8px;
  }

  /***/

  .site-form__window {
    box-sizing: border-box;
    max-height: calc(100% - 64px - 64px);
    width: auto;
    height: auto;
    left: 64px;
    top: 64px;
    right: 64px;
    bottom: auto;
  }

  /***/

  .site-message {
    padding-top: 180px;
    padding-bottom: 60px;
    text-align: center;
    font-size: 18px;
  }

}

@media only screen and (max-width: 1150px) {

  .list-stats--boxed {
    padding: 76px 64px 52px 64px;
    background-color: rgba(255, 255, 255, 0.5);
  }
  .list-stats__list {
    margin: 0 0 -24px 0;
  }
  .list-stats__item {
    margin: 0 0 24px 0;
    padding: 0 24px;
  }
  .list-stats__item .icon {
    width: 54px;
    height: 54px;
  }
  .list-stats__item__number {
    min-width: 120px;
    font-size: 34px;
  }

}

@media only screen and (max-width: 1050px) {

  .item-contact__main {
    font-size: 30px;
  }

  /***/

  .list--contain-news .list__item.--col-3 {
    width: 50%;
  }
  .--layout-home .list--contain-news .list__item.--col-3:nth-child(3) {
    display: none;
  }
  .list--contain-teams .list__item.--col-4, 
  .list--contain-dirs .list__item.--col-4, 
  .list--contain-reference .list__item.--col-4 {
    width: 33.33%;
  }

  .list--gaps-huge .list__inset {
    margin: 0 -24px -42px -24px;
    font-size: 0;
  }
  .list--gaps-huge .list__item {
    margin-bottom: 42px;
  }
  .list--gaps-huge .list__item__inset {
    margin: 0 24px;
  }

  /***/

  .detail-contact__head {
    padding-top: 200px;
    padding-bottom: 84px;
  }
  .detail-contact__content {
    margin: 0;
  }
  .detail-contact__content .map-google {
    margin: 0 -24px;
  }

  /***/

  .site-pin {
    right: 32px;
    bottom: 32px;
  }

}

@media only screen and (max-width: 950px) {

  .grid-dgqpbo .grid__col--size-50, 
  .grid-dgqpbo .grid__col--size-33 {
    width: 100%;
  }

  /***/

  .item-split__inset {
    padding: 0;
  }
  .item-split .button {
    margin-top: 20px;
  }
  .item-split__format {
    margin-top: 6px;
  }
  .item-split__content {
    width: auto;
    float: none;
    padding: 32px 42px 26px 42px;
  }
  .item-split__image {
    height: 320px;
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    display: block;
  }

  /***/

  .list--gaps-large .list__inset {
    margin: 0 -24px -42px -24px;
  }
  .list--gaps-large .list__item {
    margin-bottom: 42px;
  }
  .list--gaps-large .list__item__inset {
    margin: 0 24px;
  }

  /***/

  .detail-contact__content__inset {
    padding-bottom: 42px;
  }
  .detail-contact__content .list--contain-contacts {
    margin-top: 42px;
  }

  /***/

  .site-links {
    padding-left: 24px;
    padding-right: 24px;
  }

  /***/

  .carousel--boxed .carousel__inset {
    padding: 32px 74px;
  }
  .carousel .slick-arrow.slick-prev {
    left: -74px;
  }
  .carousel .slick-arrow.slick-next {
    right: -74px;
  }

  /***/

  .list-stats--boxed {
    padding: 32px 42px 26px 42px;
  }
  .list-stats__item {
    padding: 0 16px;
  }
  .list-stats__item .icon {
    width: 46px;
    height: 46px;
  }
  .list-stats__item__number {
    min-width: 100px;
    font-size: 38px;
  }

  /***/

  .box__inset {
    padding: 32px 42px 26px 42px;
  }

  /***/

  .site-promo__excerpt {
    font-size: 20px;
  }

  /***/

  .site-section + .site-section {
    margin-top: 64px;
  }

  /***/

  .site-section-divider {
    height: 460px;
    margin-top: 64px;
  }

  /***/

  .site-banner {
    margin-top: 64px;
  }

  /***/

  .site-links {
    margin-top: 64px;
    padding-top: 64px;
  }

  /***/

  .site-foot {
    margin-top: 64px;
  }

}

@media only screen and (max-width: 900px) {

  .list--contain-contacts .list__item.--col-3 {
    width: 50%;
  }

}

@media only screen and (max-width: 850px) {

  .button {
    margin-top: 8px;
  }

  /***/

  .item-new__image, 
  .item-dir__image {
    max-height: 250px;
  }

  /***/

  .list--contain-dirs .list__item.--col-4, 
  .list--contain-dirs .list__item.--col-3 {
    width: 50%;
  }
  .list--contain-boxes .list__item.--col-2 {
    width: 100%;
  }
  .list--contain-boxes .list__item.--col-2 .box__inset {
    min-height: 1px !important;
  }

}

@media only screen and (max-width: 750px) {

  h1, .--like-h1 {
    font-size: 34px;
  }
  h2, .--like-h2 {
    font-size: 30px;
  }
  h3, .--like-h3 {
    font-size: 26px;
  }
  h4, .--like-h4 {
    font-size: 22px;
  }
  h5, .--like-h5 {
    font-size: 18px;
  }

  /***/

  body, .grid__col {
    font-size: 16px;
  }
  html, body {
    background-color: #002D59;
  }

  /***/

  .subtitle {
    font-size: 15px;
  }

  /***/

  .backlink__text {
    max-width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /***/

  .item-quote__content {
    font-size: 22px;
  }

  /***/

  .item-contact__main {
    font-size: 24px;
  }

  /***/

  .item-new__title {
    height: auto;
    font-size: 18px;
  }
  .item-new__meta {
    margin-bottom: 8px;
  }
  .item-new__tags {
    margin-top: 8px;
  }

  /***/

  .list-stats__title {
    margin-bottom: 24px;
  }
  

  /***/

  .list--contain-teams .list__item.--col-4 {
    width: 50%;
  }
  .list--contain-news .list__item.--col-3 {
    width: 100%;
  }
  .list__head {
    margin-bottom: 24px;
  }

  /***/

  .detail-contact__head .list--contain-contacts {
    margin-top: 32px;
  }
  .detail-contact__head {
    padding-top: 140px;
    padding-bottom: 42px;
  }

  /***/

  .site-head .button span:first-child {
    display: none;
  }
  .site-head .button span:last-child {
    display: inline;
  }

  /***/

  .site-section + .site-section {
    margin-top: 42px;
  }
  .site-section__head {
    margin-bottom: 24px;
  }

  /***/

  .site-section-divider {
    height: 360px;
    margin-top: 42px;
  }

  /***/

  .site-banner {
    margin-top: 42px;
  }
  .site-banner .button {
    margin-top: 20px;
  }

  /***/

  .site-promo__inset {
    padding: 150px 0 240px 0;
  }
  .site-promo .backlink, .site-promo .subtitle {
    margin-bottom: 24px;
  }

  /***/

  .site-foot {
    margin-top: 42px;
  }
  .site-foot__contacts {
    font-size: 18px;
  }
  .site-foot__contacts a {
    font-weight: 700;
    font-size: 26px;
  }

  /***/

  .site-form__window {
    max-height: calc(100% - 24px - 24px);
    left: 24px;
    top: 24px;
    right: 24px;
  }

  /***/

  .site-links {
    margin-top: 42px;
    padding-top: 42px;
  }

  /***/

  .site-message {
    padding-top: 144px;
    padding-bottom: 42px;
    text-align: center;
    font-size: 16px;
  }

}

@media only screen and (max-width: 650px) {

  .button {
    padding: 12px 22px 13px 22px;
    font-size: 15px;
  }

  /***/

  .input {
    padding: 10px 14px 12px 14px;
    font-size: 15px;
  }

  /***/

  .field {
    margin-bottom: 12px;
  }

  /***/

  .form .button {
    margin-top: 20px;
  }

  /***/

  .site-head .button {
    margin-top: 10px;
  }

  /***/

  .site-form__window {
    max-height: none;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 32px;
  }
  .site-form .icon-close {
    right: 32px;
    top: 40px;
  }

  /***/

  .site-message {
    padding-top: 126px;
    padding-bottom: 0;
  }
  .site-message .button {
    margin: 16px 4px 0 4px;
  }
  .site-message__excerpt {
    margin-top: 12px;
  }

}

@media only screen and (max-width: 550px) {

  .item-quote__content {
    font-size: 20px;
  }

  /***/

  .item-dir__title {
    width: auto;
    height: auto;
    display: block;
    padding: 16px 22px;
  }

  /***/

  .item-contact .button {
    margin: 12px 0 0 0;
  }
  .item-contact__content p:last-child {
    margin: 0;
  }

  /***/

  .list--contain-teams .list__item.--col-4,
  .list--contain-dirs .list__item.--col-4, 
  .list--contain-dirs .list__item.--col-3, 
  .list--contain-contacts .list__item.--col-3 {
    width: 100%;
  }

  /***/

  .site-head .button {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    border-radius: 32px;
    color: #fff !important;
  }
  .site-head .list-socials {
    display: none;
  }

  /***/

  .site-promo__excerpt {
    margin-top: 16px;
    font-size: 18px;
  }

  /***/

  .site-foot__inset {
    padding: 32px 0;
  }
  .site-foot__contacts {
    font-size: 16px;
  }
  .site-foot__contacts a {
    margin: 0 6px;
    font-size: 22px;
  }
  .site-foot__separator {
    margin: 24px 0;
  }

  /***/

  .site-message__excerpt br {
    display: none;
  }

  /***/

  .site-pin {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: linear-gradient(to bottom, rgba(0,45,89,0) 0%,rgba(0,45,89,1) 100%);
  }
  .site-pin .button {
    display: block;
    text-align: center;
  }

}

@media only screen and (max-width: 450px) {

  .site-form .grid__col--size-50 {
    width: 100%;
  }

}