@import url(../../root.css);
@media screen and (max-width: 1600px) {
  /*===== HEADER =====*/
  .menu a {
    color: var(--black-color);
    text-decoration: none;
    padding: 39px 25px;
    font-size: 1.063rem;
    transition: all 0.4s;
  }
  /*===== CARDS =====*/
  .cards__section .card {
    margin: 10px;
  }
  /*===== CARD LISTS - Terméklista =====*/
  .product__description {
    padding: 35px;
  }
  .product__image {
    height: max-content;
  }
  .card__section {
    margin-top: -115px;
  }
  .card__container {
    width: 75%;
  }
  /*===== PRODUCTS =====*/
  .owl-carousel .item .box__item {
    padding: 15px;
  }
  /*===== BLOCKS =====*/
  .blocks__section {
    flex-direction: column;
  }
  .block__img, .block__content {
    height: 475px;
  }
  /*===== VIDEOSLIDER =====*/
  .recent-articles .single-recent .what-img img {
    height: 280px;
  }
}

@media screen and (max-width: 1440px) {
  /*===== HEADER =====*/
  .logo img {
    width: 150px;
    left: 100px;
  }
  /*===== SLIDER =====*/
  /* H2 címsor */
  .swiper-slide .content h2 {
    font-size: 1.375rem;
  }
  /* Gomb */
  .swiper-slide .content .link {
    width: 250px;
    height: 55px;
    padding: 10px 5px 15px 20px;
    font-size: 1.063rem;
  }
  .swiper-slide .content .link i {
    margin: 5px 0 0 20px;
  }
  /*===== SLIDER ALATTI 4 KÁRTYA =====-*/
  .cards__section .card .card-body h2 {
    font-size: 1.125rem;
  }
  .cards__section .card .card-body p {
    font-size: 0.813rem;
  }
  .cards__section .card {
    height: 140px;
  }
  /*===== PRODUCTS =====*/
  .owl-carousel .item .box__item .box__title {
    font-size: 1.2rem;
  }
  .owl-carousel .item .box__item .box__subtitle {
    font-size: 0.7rem;
  }
  .owl-carousel .item .box__item .features li {
    font-size: 0.8rem;
  }
  /*===== BLOCKS =====*/
  .blocks__section {
    flex-direction: column;
  }
  .block__img, .block__content {
    height: 422px;
  }
  /*===== VIDEO SLIDER =====*/
  .recent-articles .single-recent .what-cap {
    padding: 10px 10px 30px 10px;
  }
  .recent-articles .single-recent .what-img img {
    height: 230px;
  }
}

@media screen and (max-width: 1400px) {
  /*===== HEADER =====*/
  .logo {
    line-height: 120px;
  }
  .logo img {
    width: 200px;
  }
}

@media screen and (max-width: 1366px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 1200px) {
  /*===== HEADER =====*/
  .logo {
    line-height: 120px;
  }
  .logo img {
    width: 200px;
  }
  .menu a {
    color: var(--white-color);
    text-decoration: none;
    padding: 39px 15px;
    font-size: 1.125rem;
    transition: 0.4s;
  }
  .menu #phone {
    padding: 15px 15px 15px 25px;
    margin-left: 5px;
  }
  .menu .businessLines i {
    border: 1px solid var(--white-color);
    color: var(--white-color);
  }
  .nav__sublink {
    z-index: 999;
  }
  .nav__sublink a {
    color: var(--black-color);
  }
}

@media screen and (max-width: 1024px) {
  /*===== HEADER =====*/
  .logo_aggr .logo__img {
    width: 265px;
    padding-right: 3rem;
  }
  .logo img {
    left: 145px;
  }
  .show-menu-btn, .hide-menu-btn {
    display: block;
  }
  .show-menu-btn {
    color: var(--josi-red-color);
  }
  .menu {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #333;
    right: -100%;
    top: 0;
    text-align: center;
    padding: 80px 0;
    line-height: normal;
    transition: 0.4s;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .menu li {
    display: block;
    width: max-content;
  }
  .menu a {
    display: block;
    padding: 20px;
    color: #fff;
    width: max-content;
    margin: auto;
    margin-bottom: 5px;
  }
  .menu #phone {
    margin-left: 0px;
    padding: 15px;
    height: 50px;
    margin: auto;
  }
  .hide-menu-btn {
    position: absolute;
    top: 35px;
    right: 20px;
    color: var(--white-color);
  }
  .show {
    right: 0;
  }
  .nav__sublink {
    width: max-content;
    position: absolute;
    left: 5%;
    top: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--card-bg-color);
    box-shadow: 0 10px 8px 0 rgb(129 154 180 / 16%);
    display: none;
  }
  .nav__sublink li {
    list-style: none;
    height: max-content;
    line-height: 3;
  }
  .nav__sublink li a {
    color: var(--black-color);
  }
  .nav__sublink li i {
    width: 20px;
    height: 20px;
    border: solid 1px var(--white-color);
    border-radius: 50%;
    font-size: 1rem;
    padding: 1px 0px 0px 0px;
    margin: 2px 0 2px 10px;
    color: var(--black-color);
    text-align: center;
  }
  .nav__sublink li a:hover i {
    border: solid 1px var(--josi-red-color);
    color: var(--josi-red-color);
  }
  /* Hover-re lenyíló sublink */
  .menu #fyi-li-has-sub:hover .nav__sublink {
    display: flex;
    z-index: 999;
  }
  /*===== SLIDER =====*/
  .swiper-slide .content h2 {
    font-size: 1.375rem;
  }
  .swiper-slide .content .link {
    width: 250px;
    height: 55px;
    padding: 10px 5px 15px 20px;
    font-size: 1.063rem;
  }
  .swiper-slide .content .link i {
    margin: 5px 0 0 20px;
  }
  /*===== CARDS =====*/
  .cards__section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .cards__section .card {
    width: 95%;
  }
  .card__buttons {
    z-index: 999;
  }
  .card__button1, .card__button2, .card__button3 {
    background-color: var(--josi-red-color);
  }
  .card__button1 a, .card__button2 a {
    color: var(--white-color);
  }
  .card__button1 i, .card__button2 i, .card__button3 i {
    border: 1px solid var(--white-color) !important;
    color: var(--white-color);
  }
  .sertes .card__button1 a, .card__button2 a, .card__button3 a {
    color: var(--white-color);
  }
  /*===== PRODUCTS =====*/
  .owl-carousel .item {
    width: 95%;
  }
  .owl-carousel .item .box__item {
    display: flex;
    height: 270px;
    width: auto;
    background-color: var(--card-bg-color);
    border: 1px solid var(--card-bg-color);
    margin-bottom: 20px;
    cursor: pointer;
    padding: 30px;
    transition: all .3s;
  }
  /*===== BLOCKS =====*/
  .block__img, .block__content {
    height: 285px;
  }
  /*===== SERVICES =====*/
  .services__section {
    border-top: 2px solid var(--genex-green-color);
  }
  .services__wrapper {
    flex-direction: column;
  }
  .services__content .services__subtitle {
    font-size: 1.2rem;
  }
  /*===== PRODUCT LISTS  - Terméklista =====*/
  .products__container {
    flex-direction: column-reverse;
    align-items: center;
  }
  .product__description, .product__image {
    width: 90%;
  }
  .card__section .card__container {
    width: 100%;
  }
  .card__section .card__container .box__item {
    padding: 5px;
  }
  /*===== CONTACT =====*/
  .contact-section .title {
    font-size: 1.75rem;
    padding: 55px 100px 65px 100px;
  }
  .contact-section .contact-container .contact-data {
    width: 70%;
  }
  .contact-container .contact-data .line {
    width: 100%;
  }
  .contact-section .contact-container .contact-map {
    width: 70%;
  }
  /*===== FOOTER =====*/
  .footer-section .all_info .f_company {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin-left: 10px;
    margin-top: 30px;
  }
  .footer-section .all_info .f_company p {
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 0px;
  }
  .footer-section .all_info .f_company img {
    width: 250px;
    height: auto;
  }
  /* Szolgáltatások */
  .footer-section .all_info .f_services h1 {
    font-size: 1rem;
  }
  .footer-section .all_info .f_services ul {
    font-size: 0.75rem;
  }
  /* Márkák */
  .footer-section .all_info .f_brand h1 {
    font-size: 1rem;
  }
  .footer-section .all_info .f_brand ul {
    font-size: 0.75rem;
  }
  .footer-section .all_info .f_contact h1 {
    font-size: 1rem;
  }
  .footer-section .all_info .f_contact ul {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 992px) {
  /*===== SLIDER =====*/
  .swiper-container1 .swiper-slide .slide-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 768px) {
  /*===== HEAER =====*/
  .logo img {
    width: 150px;
  }
  /*===== SLIDER =====*/
  .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    display: none;
  }
  #blog-page .heading1 {
    padding: 0px 10px;
  }
  /*===== SLIDER ALATTI 4 KÁRTYA =====*/
  .cards__section {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .cards__section .card {
    height: auto;
    width: 70%;
    flex-direction: row;
    margin: auto;
    margin-bottom: 20px;
  }
  .cards__section .card .card-logo img {
    width: 65%;
    height: auto;
    margin: 15px;
  }
  .cards__section .card .card-logo #josera {
    margin-top: 20px;
    margin-right: 110px;
  }
  .cards__section .card .card-logo #sprayfo {
    width: 50%;
    padding-top: 0px;
    position: unset;
    margin-top: 10px;
    margin-right: 70px;
  }
  .cards__section .card .card-logo {
    flex-direction: column;
  }
  .cards__section .card .card-logo h2 {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  /*===== PRODUCTS =====*/
  .owl-carousel .item .box__content {
    display: none;
  }
  /*===== BLOCKS =====*/
  .left__container, .right__container {
    flex-direction: column;
    align-items: center;
  }
  .block__content, .block__img {
    width: 100%;
  }
  .block__img img{
	width: 100%;
	height: auto;
  }
  .block__img{
	max-height:360px;
	height:fit-content;
  }

  .block__content {
    height:fit-content;
    min-height: 360px;
  }
  /*===== VIDEO SLIDER =====*/
  .recent-articles .single-recent .what-img img {
    height: 290px;
  }
  .dot-style .slick-dots {
    text-align: center;
    right: 38%;
    top: 100%;
    position: absolute;
  }
  /*===== PRODUCT LISTS  - Terméklista =====*/
  .card__section .card__container {
    grid-template-columns: repeat(1, 1fr);
  }
  .card__section .card__container {
    width: 80%;
  }
  /*===== FOOTER =====*/
  .footer-section .all_info {
    align-items: left;
  }
  .footer-section .all_info .f_company {
    padding-left: 0px;
  }
  /* Cég logó, leírás */
  .footer-section .all_info .f_company img {
    width: 200px;
    height: auto;
  }
  .footer-section .all_info .f_company p {
    font-size: 1rem;
    text-align: center;
  }
  /* Szolgáltatások */
  .footer-section .all_info .f_services h1 {
    font-size: 2rem;
  }
  .footer-section .all_info .f_services ul {
    font-size: 1rem;
  }
  /* Márkák */
  .footer-section .all_info .f_brand h1 {
    font-size: 2rem;
  }
  .footer-section .all_info .f_brand ul {
    font-size: 1rem;
  }
  /* Kapcsolat */
  .footer-section .all_info .f_contact h1 {
    font-size: 2rem;
  }
  .footer-section .all_info .f_contact ul {
    font-size: 1rem;
  }
  .footer-flex-grid {
    display: flex;
    justify-content: center;
    flex-direction: column !important;
  }
  .column-25 {
    flex: 0 100%;
  }
  .footer-section footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: auto;
    border-top: solid 1px #ffffff30;
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 425px) {
  /*===== HEADER =====*/
  .logo {
    margin-left: 0px;
  }
  .logo img {
    width: 135px;
    left: 156px;
  }
  .logo_aggr .logo__img {
    width: 200px;
  }
  
  /*===== SLIDER =====*/
  .section-wrapper {
    padding: 2rem 2rem;
  }
  .swiper-container1 .swiper-slide .slide-content span {
    font-size: 0.875rem;
    width: 140px;
    height: 35px;
    padding: 7px 5px 5px 5px;
  }
  .swiper-container1 .swiper-slide .slide-content h2 {
    font-size: 1.75rem;
  }
  .swiper-container1 .swiper-slide .slide-content p {
    font-size: 1rem;
  }
  .banner__btn {
    width: 100%;
    justify-content: center;
  }
  .swiper-container1 .swiper-pagination {
    display: flex;
    flex-direction: column;
  }
  .swiper-container1 .swiper-pagination .swiper-pagination-bullet {
    margin: 5px 10px !important;
  }
  /*===== CARDS =====*/
  .cards__section .card {
    width: 100%;
  }
  /*===== BLOCKS =====*/
  .left__container, .right__container {
    flex-direction: column;
    align-items: center;
  }
  .block__img, .block__content {
    height: fit-content;
    width: 82.5%;
  }
  .block__content h3 {
    font-size: 1.2rem;
  }
  .block__content p {
    font-size: .7rem;
  }
  /*===== SERVICES =====*/
  .section__title {
    font-size: 2rem;
  }
  .services__content .services__subtitle {
    font-size: 0.8rem;
  }
  .services__content {
    padding: 30px;
  }
  .services__content .services__img {
    height: 65px;
  }
  /*===== VIDEO SLIDER =====*/
  .recent-articles .single-recent .what-img img {
    height: 240px;
  }
  /*===== PRODUCT LISTS  - Terméklista =====*/
  .product__description .title {
    font-size: 1.5rem;
  }
  .card__section .card__container .box__item {
    display: block;
  }
  .card__container .box__item .box__title {
    text-align: center;
  }
  .card__container .box__item .box__icon {
    justify-content: center;
  }
  .card__container .box__item .box__subtitle, .card__container .box__item .features {
    display: none;
  }
  /*===== CONTACT =====*/
  .contact-section .title {
    padding: 50px 20px 60px 20px;
  }
  .contact-section .title h1 {
    font-size: 1.375rem;
  }
  .contact-container .contact-data h1 {
    font-size: 1.625rem;
    text-align: center;
  }
  .contact-section .contact-container .contact-data {
    width: 90%;
  }
  .contact-container .contact-data .infos .info-company {
    width: 60px;
    height: 60px;
    padding: 14px 15px 10px 14px;
  }
  .contact-container .contact-data .infos .info-img {
    width: 60px;
    height: 60px;
    padding: 13px 13px 13px 13px;
    cursor: pointer;
  }
  .contact-container .contact-data .infos .info span {
    font-size: 0.75rem;
  }
  .contact-section .contact-container .contact-map {
    width: 90%;
  }
  /*===== FOOTER =====*/
  .footer-section .all_info .f_company img {
    width: 200px;
    height: auto;
  }
  .footer-section .all_info .f_company .company__description {
    padding-left: 20px;
    font-size: 1rem;
    text-align: left;
  }
  /* Szolgáltatások */
  .footer-section .all_info .f_services h1 {
    font-size: 1.5rem;
  }
  .footer-section .all_info .f_services ul {
    font-size: 1rem;
  }
  /* Márkák */
  .footer-section .all_info .f_brand h1 {
    font-size: 1.5rem;
  }
  .footer-section .all_info .f_brand ul {
    font-size: 1rem;
  }
  /* Kapcsolat */
  .footer-section .all_info .f_contact h1 {
    font-size: 1.5rem;
  }
  .footer-section .all_info .f_contact ul {
    font-size: 1rem;
  }
  .footer-section footer .f_company_name {
    padding-left: 0px;
  }
  .footer-section footer .f_company_name span {
    font-size: 0.938rem;
    font-weight: 400;
    padding: 10px;
    text-align: center;
  }
}

@media screen and (max-width: 375px) {
  /*===== HEADER =====*/
  .logo {
    margin-left: 0px;
  }
  /*===== SLIDER =====*/
  .swiper-container1 .swiper-pagination .swiper-pagination-bullet {
    font-size: .8rem;
  }
  /*===== PRODUCTS =====*/
  .products .single-recent .what-img img {
    height: 220px;
  }
  /*===== BLOCKS =====*/
  .block__img, .block__content {
    height: fit-content;
  }
  .block__content h3 {
    font-size: 1rem;
  }
  .block__content p {
    font-size: .7rem;
  }
  /*===== VIDEO SLIDER =====*/
  .recent-articles .single-recent .what-img img {
    height: 220px;
  }
  /*===== CONTACT =====*/
  .contact-container .contact-data h2 {
    line-height: 2;
  }
  .contact-container .contact-data ul {
    width: 90%;
  }
  /*===== FOOTER =====*/
  .footer-section .all_info .f_company img {
    width: 200px;
    height: auto;
    margin-right: 20px;
  }
}

@media screen and (max-width: 320px) {
  /*===== BASE =====*/
  .section-wrapper {
    padding: 2rem 1rem;
  }
  /*===== HEADER =====*/
  .logo img {
    width: 100px;
    left: 120px;
  }
  .logo_aggr .logo__img {
    width: 160px;
  }
  /*===== SLIDER =====*/
  .swiper-container1 {
    height: 500px;
  }
  .swiper-container1 .swiper-slide .slide-content h2 {
    font-size: 1.375rem;
  }
  .swiper-container1 .swiper-slide .slide-content p {
    font-size: 1rem;
  }
  /*===== SLIDER ALATTI 4 KÁRTYA =====*/
  .cards__section .card .card-body h2 {
    font-size: 1rem;
  }
  .cards__section .card .card-body span {
    font-size: .6rem;
  }
  .cards__section .card .card-logo #josera {
    margin-right: 50px;
  }
  /*===== BLOCKS =====*/
  .block__img, .block__content {
    height: fit-content;
  }
  .left__container #szarvasmarha, .right__container #borju, .left__container #szilazs, .right__container #sertes {
    padding: 5px;
  }
  .block__content .button a {
    font-size: .8rem;
  }
  .block__content .button {
    display: flex;
    align-items: center;
  }
  /*===== SERVICES =====*/
  .section__title {
    font-size: 1.5rem;
  }
  /*===== PRODUCTS =====*/
  .dot-style .slick-dots {
    text-align: center;
    right: 20%;
    top: 100%;
    position: absolute;
  }
  .products .single-recent .what-img img {
    height: 200px;
  }
  .products .single-recent .what-cap img {
    height: 40px;
  }
  /*===== NEWS SLIDER =====*/
  .dot-style .slick-dots {
    text-align: center;
    right: 20%;
    top: 100%;
    position: absolute;
  }
  .recent-articles .single-recent .what-img img {
    height: 200px;
  }
  .recent-articles .single-recent .what-cap img {
    height: 40px;
  }
  /*===== CONTACT =====*/
  .contact-section .contact-container .contact-data {
    width: 90%;
  }
  .contact-container .contact-data .infos .info-company {
    width: 50px;
    height: 50px;
    padding: 10px 10px 10px 10px;
  }
  .contact-container .contact-data .infos .info-img {
    width: 50px;
    height: 50px;
    padding: 10px 10px 10px 10px;
    cursor: pointer;
  }
  .contact-container .contact-data .infos .info-img img {
    width: 30px;
    height: 30px;
  }
  .contact-container .contact-data .infos .info span {
    font-size: 0.625rem;
  }
  .contact-section .contact-container .contact-map {
    width: 90%;
  }
  /*===== FOOTER =====*/
  .footer-section .all_info .f_company img {
    width: 180px;
  }
  .footer-section .all_info .f_company p {
    font-size: 0.875rem;
    text-align: left;
  }
  /* Szolgáltatások */
  .footer-section .all_info .f_services h1 {
    font-size: 1.25rem;
  }
  .footer-section .all_info .f_services ul {
    font-size: 0.875rem;
  }
  /* Márkák */
  .footer-section .all_info .f_brand h1 {
    font-size: 1.25rem;
  }
  .footer-section .all_info .f_brand ul {
    font-size: 0.875rem;
  }
  /* Kapcsolat */
  .footer-section .all_info .f_contact h1 {
    font-size: 1.25rem;
  }
  .footer-section .all_info .f_contact ul {
    font-size: 0.875rem;
  }
  .footer-section footer .f_documents ul {
    font-size: 0.75rem;
  }
  .footer-section footer .f_company_name span {
    font-size: 0.688rem;
  }
}