/**
 * Responsive / media queries – puslapių layoutai, hero, training, kontaktai
 * Priklauso: breakpoints 1699, 1599, 1504, 1499, 1399, 1299, 1100, 767, 580, 459px
 */

/* Fallback kai JS neužkrauna */
@media (max-width: 1699px) {
  body:not(.hero-cards-js-ready) #hero-info-cards {
    flex-wrap: wrap;
    margin-top: 20px;
  }

  body:not(.hero-cards-js-ready) #hero-info-cards div#info-card-1,
  body:not(.hero-cards-js-ready) #hero-info-cards div#info-card-2 {
    width: 40%;
  }

  body:not(.hero-cards-js-ready) #hero-info-cards div#info-card-1 {
    align-items: self-end;
  }

  body:not(.hero-cards-js-ready) #hero-info-cards div#info-card-2 {
    align-items: self-start;
  }

  body:not(.hero-cards-js-ready) #hero-info-cards div#info-card-3 {
    flex-basis: 100%;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
  }

  #contact-info-section {
    flex-wrap: wrap;
  }
	
	#contact-pagee-title-wrapper {
		align-self: center;
	}

  #single-post-container {
    max-width: 1214px;
    align-self: center;
  }
}

@media (max-width: 1599px) {
  #training-section-about-wrapper,
  #about-info-section {
    flex-wrap: wrap;
    row-gap: 80px;
  }

  #training-about-wrapper,
  #training-image-wrapper,
  #google-maps-container {
    width: 41%;
  }

  #training-info-cards-wrapper {
    width: 43%;
  }

  .partners-col-1,
  .shop-col-1,
  .gifts-col-1,
  .header-col-1 {
    width: 40%;
  }

  .shop-col-1 {
    justify-content: center !important;
  }

  .partners-col-1,
  .gifts-col-1 {
    align-self: center !important;
  }

  .partners-col-3 .elementor-button-wrapper,
  .shop-col-3 .elementor-button-wrapper,
  .gifts-col-3 .elementor-button-wrapper,
  .header-col-3 .elementor-button-wrapper {
    text-align: center;
  }
	
  #training-section-about-wrapper .training-col-1,
  #about-info-section .about-col-1 {
	align-self: center;
	margin-bottom: 0;
  }
}

@media (max-width: 1504px) {
  #paragraphs-image-bloks,
  #paragraphs-bloks {
    justify-content: center;
  }
}

@media (max-width: 1499px) {
  #contact-info-section,
  #about-info-section {
    flex-wrap: wrap;
  }

  #google-maps-container {
    align-items: flex-end;
  }

  #contact-page-contact-btn {
    align-self: center;
  }
}

@media (max-width: 1399px) {
  h1 {
	font-size: 36px !important;
    line-height: 40px !important;
  }
	
  h2 {
    font-size: 31.5px !important;
    line-height: 33.5px !important;
  }
	
  h3 {
	font-size: 28px !important;
    line-height: 37px !important;
  }
}

@media (max-width: 1100px) {
  #partner-page-container .gmg-oval-wrap {
    top: unset;
  }

  #hero-section-bg-image {
    position: relative;
    bottom: 30px;
  }

  #hero-info-cards.hero-cards-two-rows div#info-card-1 {
    align-items: center;
  }

  #training-image-wrapper img,
  #google-maps-container iframe,
  #about-info-section .about-page-main-img img {
    min-width: 100%;
    height: 100%;
  }

  #training-info-cards-wrapper {
    width: unset;
  }

  #posts-cards .post:last-child {
    display: none;
  }

  #google-maps-container {
    width: 100%;
  }

  .google-iframe {
    min-height: 100%;
  }

  .elementor-custom-embed {
    height: 608px;
  }

  .header-col-1 {
    width: 48%;
  }

  .partners-col-1,
  .shop-col-1,
  .gifts-col-1 {
    width: 80%;
  }
	
  .training-description-text,
  #start-of-activity p,
  #experience p,
  .category-straipsniai p,
  .category-straipsniai ul li,
  #contact-page-company-info span,
  #shop-page-container p,
  .gmg-description-text.gmg-brand-description,
  #gmg-description-text {
    font-size: 22px !important;
    line-height: 30px !important;
  }
}

@media (max-width: 767px) {
  #hero-info-cards.hero-cards-two-rows div#info-card-1,
  #hero-info-cards.hero-cards-two-rows div#info-card-2,
  #hero-info-cards.hero-cards-two-rows div#info-card-3,
  #training-about-wrapper,
  #training-image-wrapper,
  #google-maps-container,
  #shop-page-container .header-col-1 {
    width: 100%;
  }

  #single-product-content table td {
    display: block;
    width: 100% !important;
  }

  .info-card-title p,
  #training-info-cards-wrapper p {
    font-size: 20px;
    line-height: 27px;
  }

  #hero-info-cards.hero-cards-two-rows {
    margin-top: 90px;
  }

  #training-image-wrapper img,
  #google-maps-container iframe,
  #about-info-section .about-page-main-img img {
    min-width: initial;
  }

  .training-description-text p {
    color: #fff;
  }

  #training-section-about-wrapper {
    row-gap: 31px;
  }

  .gmg-cs-post-slide {
    margin-right: 12px !important;
  }

  #contact-page-container {
    padding-bottom: 80px;
  }

  .partners-col-1,
  .shop-col-1,
  .gifts-col-1,
  .header-col-1 {
    width: 90%;
  }
	
  #product-card-price .the7-heading-title {
    font-size: 27px !important;
    line-height: 33px !important;
  }
	
  .gmg-info-card-icon-svg svg {
    width: 62px !important;
  }

  .gmg-info-card-title {
    font-size: 18px !important;
    line-height: 24px !important;
  }
	
  .elementor-custom-embed {
    height: 481px;
  }
	
  #single-product-lesson .gmg-atc-submit-wrap {
	justify-content: center !important;
  }
	
  .training-text-wrapper,
  .info-card-title,
  .training-description-text,
  #start-of-activity p,
  #experience p,
  .category-straipsniai p,
  #contact-page-company-info span,
  #shop-page-container p,
  .gmg-description-text.gmg-brand-description,
  #gmg-description-text {
    font-size: 20px !important;
    line-height: 26px !important;
  }
}

@media (max-width: 499px) {
  #contact-pagee-title-wrapper {
    width: 100%;
    align-self: unset;
  }

  #contact-page-company-info {
    width: 100%;
  }

  .gmg-oval {
    min-width: unset;
    min-height: unset;
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 459px) {
  .info-card-description p,
  #training-info-cards-wrapper p {
    font-size: 16px;
    line-height: 21px;
  }

  .training-description-text p,
  #gmg-description-text p {
    font-size: 20px;
    line-height: 30px;
  }

  .training-text-wrapper {
    max-width: 250px !important;
  }

  .training-card-wrapper {
    justify-content: flex-start;
  }

  .partners-col-1,
  .shop-col-1,
  .gifts-col-1,
  .header-col-1 {
    width: 100%;
  }

  .gmg-oval-below-img img {
    min-width: unset;
    min-height: unset;
  }
}
