/* ------ Medium and xs devices (tablets, 1440px and 1240px) -----*/
@media (max-width: 1240px) and (max-width: 1440px) {
  html {
    font-size: 50%;
  }
}

/* ------ Medium and xs devices (tablets, 1239.99px and 1040px) -----*/
@media (max-width: 1040px) and (max-width: 1239.99px) {
  html {
    font-size: 45%;
  }
}

/* ------ Medium and xs devices (tablets, 1039.99px and 992px) -----*/
@media (max-width: 992px) and (max-width: 1039.99px) {
  html {
    font-size: 42%;
  }
}

/* ------ Medium and xs devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  .feature-banner {
    height: auto;
    object-fit: cover;
  }

  .owl-prev {
    right: 1rem;
  }

  .owl-next {
    left: 1rem;
  }

  #kontaktai {
    margin-bottom: 0px;
  }

  html {
    font-size: 50%;
  }

  .container-fluid {
    max-width: 720px;
  }

  .hero-block-title {
    text-align: center;
    margin: 0 auto;
  }

  .info .cta {
    justify-content: center;
  }

  .left.red-option-selection-divider,
  .right.red-option-selection-divider {
    height: 24rem;
    padding: 0 3rem;
  }

  .block-title p {
    width: auto;
  }

  .block-title {
    padding-left: 0;
    padding-right: 0;
    margin-top: 5rem;
    max-width: 100%;
  }

  .automachine_slider {
    padding-left: 4rem;
    padding-right: 4rem;
    margin: 2rem auto;
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .option-entry {
    margin-bottom: 1rem;
  }

  .option-description {
    padding-left: 2rem;
  }

  .option-list {
    padding: 1.5rem;
  }

  .automachine_slider .owl-nav {
    width: calc(100% - 8rem);
  }

  /* ============== Contact area ================ */
  .gallery_slider {
    width: 100%;
  }

  .contact_left {
    padding: 0;
    display: flex;
    flex-direction: column-reverse;
  }

  .contact_right {
    padding: 0;
    margin-top: -6rem;
  }

  .offer-form-wrapper {
    padding: 8rem 0 8rem 0;
  }

  .tc-form__desc {
    margin: 0;
  }

  .black-edition-section {
    padding: 4rem 0;
    margin: 2rem 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .features-slider-section {
    padding: 4rem 0;
    top: 1px;
    position: relative;
  }

  .hero-block-title {
  padding-left: unset;
  padding: 10px;
}

  .features-slider-section .block-title h2 {
    font-size: 2.8rem;
  }

  .features-slider-section .simple-text-block-content p {
    font-size: 1.6rem;
  }

  .feature-slide.wide-slide,
  .feature-slide.medium-slide,
  .feature-slide.narrow-slide {
    width: 100%;
  }

  .feature-content {
    height: 40rem;
  }

  .feature-text {
    padding: 3rem 2rem 2rem;
  }

  .feature-text h3 {
    font-size: 2rem;
  }

  .feature-text p {
    font-size: 1.4rem;
  }

  .features-slider .owl-nav {
    top: 1rem;
    right: 1rem;
  }

  .features-slider .owl-nav button {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.6rem;
  }

  .black-edition-section .block-title {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .black-edition-section h2 {
    font-size: 2.8rem!important;
    margin-bottom: 0;
  }

  .black-edition-section .simple-text-block-content p {
    font-size: 1.6rem;
  }

  .contact_left img {
    margin-top: -5rem;
  }

  .tc-form-submit-wrapper {
    margin: 0 auto;
  }
}

/* ------ Medium and xs devices (tablets, 767px and down) -----*/
@media (max-width: 767px) {
  html {
    font-size: 50%;
  }

  .desktop-hero {
    display: none;
  }

  .mobile-hero {
    display: block;
  }

  .sb-content {
    min-height: 345px;
  }

  .sb-content.hibridas {
    min-height: 390px;
  }

  .container-fluid {
    max-width: 540px;
    padding: 0 2rem;
  }

  .container {
    padding: 0 2rem;
  }

  .offer-form-wrapper .container>.row {
    padding: 0;
  }

  .cta {
    flex-direction: column;
  }

  .left.red-option-selection-divider,
  .right.red-option-selection-divider {
    text-align: center;
    height: 22rem;
  }

  .or.red-option-selection-divider {
    top: 50%;
  }

  .left.red-option-selection-divider>div,
  .right.red-option-selection-divider>div {
    margin: 0 auto;
  }

  .left.red-option-selection-divider>div button,
  .right.red-option-selection-divider>div button {
    float: none !important;
    margin-top: 1.2rem;
  }

  .large-text.red-option-selection-divider {
    font-size: 3.8rem;
  }

  .block-title p {
    font-size: 1.5rem;
    padding-top: 0.5rem;
  }

  .simple-text-block-content {
    margin-bottom: 3.5rem;
  }

  .block-title h1,
  .block-title h2 {
    font-size: 3.4rem;
    width: 100%;
    overflow: visible;
    line-height: 1.2;
    padding-bottom: 1rem;
    height: auto;
    text-align: center;
  }

  .block-title-v2 .simple-text-block-content {
    margin: 0;
  }

  .automachine_slider {
    padding-left: 3rem;
    padding-right: 3rem;
    margin: 2rem auto;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .option-list {
    width: 100%;
    padding: 1rem 0;
  }

  .option-selection-divider {
    padding: 0rem 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .gallery_area h2 {
    margin-bottom: 2rem;
  }

  .gallery_image {
    height: 30rem;
  }

  .offer-form-wrapper {
    padding: 7rem 0 10rem 0;
  }

  .tc-form-submit-wrapper input {
    width: 100%;
  }

  .tc-form-submit-wrapper {
    width: 100%;
  }

  .contact_left img {
    margin-top: -3rem;
  }

  .contact_right {
    margin-top: -4rem;
  }

  .has-border:not(:last-child) {
    padding-bottom: 4rem;
    margin-bottom: 4rem;
  }

  .footer-nav ul {
    gap: 4rem;
  }

  .footer-nav ul li {
    margin: 0;
  }

  .footer-nav ul li a {
    font-size: 1.6rem;
  }

  .blury_content {
    font-size: 2rem;
    padding: 16rem 6rem;
  }

  .wpcf7-form-control {
    height: 4rem;
  }

  .info h1 {
    font-size: 5rem;
  }

  .info .cta {
    margin-top: 2rem;
  }

  .automachine_slider .owl-nav {
    width: calc(100% - 6rem);
  }

  .owl-nav button {
    width: 3rem;
    height: 3rem;
  }

  .simple-text-block-content {
    text-align: center;
  }

  .textarea_input {
    height: 10rem;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.32vw;
  }

  .container {
    padding: 0 2rem;
    max-width: 100%;
  }

  .gallery_image {
    height: 25rem;
  }
}