@import url(../../root.css);
@media screen and (max-width: 1600px) {
  /*===== HEADER =====*/
  .menu a {
    text-decoration: none;
    padding: 39px 25px;
    font-size: 1.063rem;
    transition: all 0.4s;
  }

  /*================= 3 BLOKKOS BANNER ===================*/
  .farmanimal__bg:hover .frame::before {
    width: 90%;
    height: 95%;
    top: 20px;
    left: 20px;
    visibility: visible;
    opacity: 1;
  }
  .genetics__bg:hover .frame::before,
  .formula__bg:hover .frame::before {
    width: 96%;
    height: 91%;
    top: 20px;
    left: 20px;
    visibility: visible;
    opacity: 1;
  }  
}

@media screen and (max-width: 1440px) {
  /*===== SLIDER ALATTI 3 KÁRTYA =====-*/
  .services-section .card .card-body h2 {
    font-size: 1.125rem;
  }
  .services-section .card .card-body p {
    font-size: 0.813rem;
  }
  .services-section .card {
    height: 140px;
  }
  /*===== NEWS 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;
  }
  .recent-articles .single-recent .what-cap {
    padding: 10px 10px 30px 10px;
  }
  /* Navigation Arrows */
  .recent-articles .slick-arrow {
    position: absolute;
    bottom: -43px;
    font-size: 1.5rem;
  }
  .recent-articles .slick-next span {
    position: relative;
  }
  .recent-articles .slick-prev.slick-arrow {
    transform: rotate(180deg);
  }
  /*===== MAIN SERVICES =====*/
  .left__container {
    width: 35%;
  }
  .genetics__bg:hover .frame::before,
  .formula__bg:hover .frame::before {
    width: 95.5%;
  }
  /*===== CONTACT =====*/
  .contact-section .title {
    font-size: 1.75rem;
    padding: 55px 100px 65px 100px;
  }
  .contact-section .contact-container .contact-map {
    width: 50%;
  }
  .contact-section .contact-container .contact-data {
    width: 40%;
  }
  .contact-container .contact-data .line {
    width: 100%;
  }
}

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

@media screen and (max-width: 1366px) {
  /* SLIDER ALATTI KÁRTYÁK */
  .services-section .card .card-body h2 {
    font-size: 1.125rem;
  }
  .services-section .card .card-body p {
    font-size: 0.813rem;
  }
  .services-section .card {
    height: 140px;
  }
}

@media screen and (max-width: 1280px) {
  /*===== SLIDER ALATTI KÁRTYÁK =====*/
  .services-section .card {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media screen and (max-width: 1200px) {
  /*===== HEADER =====*/
  .logo {
    line-height: 120px;
  }
  .logo img {
    width: 200px;
  }
  .menu a {
    color: var(--agro-dark-green-color);
    text-decoration: none;
    padding: 39px 15px;
    font-size: 1.125rem;
    transition: 0.4s;
  }
  .menu #phone {
    padding: 15px 15px 15px 25px;
    margin-left: 5px;
  }
}

@media screen and (max-width: 1024px) {
  /*===== HEADER =====*/
  .show-menu-btn, .hide-menu-btn {
    display: block;
  }
  .show-menu-btn {
    color: var(--genex-first-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;
  }
  .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;
    width: max-content;
    margin: auto;
  }
  .hide-menu-btn {
    position: absolute;
    top: 35px;
    right: 20px;
    color: var(--genex-first-color);
  }
  .show {
    right: 0;
  }
  /*===== SLIDER ALATTI KÁRTYÁK =====*/
  .services-section .card {
    height: 170px;
  }
  .services-section .card {
    flex-direction: column-reverse;
    text-align: initial;
  }
  .services-section .card .card-logo {
    justify-content: center;
    align-items: center;
  }
  .services-section .card .card-logo #josera {
    width: 50%;
  }
  .services-section .card .card-logo #sprayfo {
    width: 50%;
    padding-top: 35px;
    margin-right: 0px;
  }
  .services-section .card .card-btn {
    align-items: flex-end;
  }
  .genetics__bg .content .subtitle,
  .formula__bg .content .subtitle {
    width: 80%;
  }
  /*===== HÍREK 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;
  }
  .recent-articles .slick-arrow {
    position: absolute;
    bottom: -43px;
    font-size: 1.5rem;
  }
  .recent-articles .slick-next span {
    position: relative;
  }
  .recent-articles .slick-prev.slick-arrow {
    transform: rotate(180deg);
    color: #0f3d89;
  }
  .recent-articles .slick-prev.slick-arrow:hover {
    color: red;
  }
  /*===== 3 BLOKKOS KONTÉNEREK =====*/
  .section {
    flex-direction: column;
    width: 100%;
  }
  .left__container {
    height: 395px;
    margin-right: 0px;
    margin-bottom: 15px;
  }
  .left__container, .right__container {
    width: 100%;
  }
  .farmanimal__bg {
    background-image: url(../img/banner1_mobile.png);
    height: 395px;
    background-size: cover;
    background-position-y: -600px;
  }
  .farmanimal__bg .frame {
    flex-direction: column-reverse;
    justify-content: space-evenly;
  }
  
  .farmanimal__bg .frame::before {
    content: '';
    width: 106%;
    height: 100%;
    top: 0px;
    left: 0px;
    visibility: hidden;
    opacity: 0;
  }
  .farmanimal__bg:hover .frame::before {
    width: 100%;
    height: 90%;
    top: 20px;
    left: 20px;
    visibility: visible;
    opacity: 1;
  }
  .farmanimal__bg .frame .content .subtitle {
    width: 100%;
  }
  .farmanimal__bg .frame .image .image__josera {
    width: 200px;
    position: absolute;
    top: 2rem;
    left: 2rem;
  }
  .formula__bg {
    background-size: cover;
  }
  .frame {
    width: 95%;
    height: 90%;
    justify-content: end;
  }
  .frame .content {
    width: 70%;
  }
  .frame .content .title, .frame .content .subtitle {
    color: var(--white-color);
  }
  /*===== 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: space-around;
    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;
  }
  /*===== MAIN SERVICES =====*/
  .section-wrapper {
    padding: 2rem 1rem;
  }
  .agrar-container {
    flex-direction: column;
  }
  .agrar-container .image .sponsore {
    position: relative;
    width: 100% !important;
    flex-direction: row;
    max-height: 300px;
  }
  .column-reverse {
    flex-direction: column-reverse;
  }
  .image {
    padding: 30px;
  }
  .flex-item img {
    width: auto;
    height: 40px;
    margin: 20px;
  }
  .p-l-100 {
    padding-left: 20px;
  }
  .p-r-100 {
    padding-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  /*===== SLIDER =====*/
  .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    display: none;
  }
  #blog-page .heading1 {
    padding: 0px 10px;
  }
  /*===== SLIDER ALATTI 3 KÁRTYA =====*/
  .services-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .services-section .card {
    height: auto;
    width: 100%;
    margin: 20px 0px;
    flex-direction: row;
  }
  .services-section .card .card-logo img {
    width: 65%;
    height: auto;
    margin: 15px;
  }
  .services-section .card .card-logo #josera {
    margin-top: 20px;
    margin-right: 65px;
  }
  .services-section .card .card-logo #sprayfo {
    width: 50%;
    padding-top: 0px;
    position: unset;
    margin-top: 10px;
    margin-right: 50px;
  }
  /*===== 3 BLOKKOS KONTÉNER =====*/
  .frame .content {
    padding: 10px;
  }
  .frame .content .title {
    font-size: 2rem;
  }
  .frame .content .subtitle {
    width: 65%;
  }
  .formula__bg .content img {
    padding-left: 70px;
    width: 290px;
  }
  .genetics__bg {
    height: 325px;
  }
  /*===== NEWS SLIDER =====*/
  .dot-style .slick-dots {
    text-align: center;
    right: 38%;
    top: 100%;
    position: absolute;
  }
  .recent-articles .slick-prev.slick-arrow {
    transform: rotate(180deg);
    color: #0f3d89;
  }
  .recent-articles .slick-next span {
    position: relative;
  }
  /*===== 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: 350px;
    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: 1.5rem;
  }
  .footer-section .all_info .f_services ul {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
  }
  /* Márkák */
  .footer-section .all_info .f_brand h1 {
    font-size: 1.5rem;
  }
  .footer-section .all_info .f_brand ul {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
  }
  /* Kapcsolat */
  .footer-section .all_info .f_contact h1 {
    font-size: 1.5rem;
  }
  .footer-section .all_info .f_contact ul {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
  }
  .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 Section =========*/
  .nav__sublink {
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
  }

  /*===== SLIDER =====*/
  .swiper-container1 .swiper-pagination {
    display: none;
  }
  .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.5rem;
  }
  .swiper-container1 .swiper-slide .slide-content p {
    font-size: 1rem;
  }
  .banner__btn {
    width: 100%;
  }

  /*===== SLIDER ALATTI 3 KÁRTYA =====*/
  .services-section .card .card-logo #josera {
    margin-top: 20px;
    margin-right: 40px;
    width: 58%;
  }
  .services-section .card .card-logo #sprayfo {
    width: 55%;
    padding-top: 0px;
    position: unset;
    margin-top: 10px;
    margin-right: 20px;
  }


  /*===== NEWS SLIDER =====*/
  .dot-style .slick-dots {
    text-align: center;
    right: 30%;
    top: 100%;
    position: absolute;
  }
  .recent-articles .slick-prev.slick-arrow {
    transform: rotate(180deg);
    color: #0f3d89;
  }
  .recent-articles .slick-next span {
    position: relative;
  }


  /*===== 3 BLOKKOS KONTÉNER =====*/
  .left__container, .farmanimal__bg, .genetics__bg, .blur__genex, .formula__container, .formula__bg, .blur__img {
    height: 300px;
  }
  .farmanimal__bg {
    background-position-y: -365px;
  }
  .left__container, .genetics__bg {
    margin-bottom: 50px;
  }
  .frame {
    width: 90%;
    height: 85%;
  }
  .frame .content {
    width: 100%;
    padding: 0px;
    padding-top: 0px;
    padding-left: 3px;
  }
  .frame .content .title {
    font-size: 1.3rem;
  }
  .frame .content .subtitle {
    font-size: .7rem;
  }
  .farmanimal__bg .frame .image .image__josera {
    width: 120px;
    height: auto;
  }
  .farmanimal__bg:hover .frame::before {
    width: 102%;
    height: 88%;
    top: 15px;
    left: 15px;
    visibility: visible;
    opacity: 1;
  }
  .genetics__bg:hover .frame::before,
  .formula__bg:hover .frame::before {
    width: 92%;
    height: 88%;
    top: 15px;
    left: 15px;
    visibility: visible;
    opacity: 1;
  }
  .frame .image {
    padding: 5px;
  }
  .farmanimal__bg .frame .image .image__josera {
    top: 1rem;
    left: 1rem;
  }
  .frame .image img {
    width: auto;
    height: 45px;
  }
  
  .farmanimal__bg .frame .content {
    padding-top: 18px;
    padding-left: 18px;
  }

  .genetics__bg .content img {
    height: 60px;
    padding-left: 13px;
  }
  .genetics__bg .content .title {
    font-size: 1.3rem;
  }
  .genetics__bg .content .subtitle {
    font-size: .7rem;
    width: 80%;
  }
  .genetics__bg .content .title, .genetics__bg .content .subtitle {
    padding-left: 17px;
  }
  .formula__bg .content img {
    width: 150px;
    padding-left: 15px;
  }
  .formula__bg .content .title {
    font-size: 1.3rem;
  }
  .formula__bg .content .subtitle {
    font-size: .7rem;
    width: 80%;
  }
  .formula__bg .content .title, .formula__bg .content .subtitle {
    padding-left: 17px;
  }
  .farmanimal__bg .content .more .more__link, .genetics__bg .content .more .more__link, .formula__bg .content .more .more__link {
    padding: .6rem 1rem;
    font-size: .7rem;
  }
  .genetics__bg .content .more_genex .more__link, .formula__bg .content .more_sprayfo .more__link {
    margin-left: 1rem;
  }


  /*===== 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: 300px;
    height: auto;
  }
  .footer-section .all_info .f_company p {
    font-size: 1.25rem;
    text-align: center;
  }
  /* 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 span {
    font-size: 0.938rem;
    font-weight: 400;
    color: #ffffff99;
    padding: 10px;
    text-align: center;
  }
}

@media screen and (max-width: 375px) {
  /*===== HEADER =====*/
  .logo {
    margin-left: 0px;
  }
  /*===== NEWS SLIDER =====*/
  .dot-style .slick-dots {
    text-align: center;
    right: 25%;
    top: 100%;
    position: absolute;
  }
  .recent-articles .slick-prev.slick-arrow {
    transform: rotate(180deg);
    color: #0f3d89;
  }
  .recent-articles .slick-next span {
    left: 55px;
    position: relative;
  }
  /*===== 3 BLOKKOS KONTÉNER =====*/
  .left__container, .farmanimal__bg, .genetics__bg, .blur__genex, .formula__container {
    height: 260px;
  }
  .formula__bg, .blur__img {
    height: 300px;
  }
  .farmanimal__bg {
    background-position-y: -270px;
  }
  .frame {
    width: 88%;
    height: 80%;
  }
  .frame .content {
    padding: 40px;
  }
  .farmanimal__bg .frame .content {
    padding-top: 75px;
  }
  .frame .content .title {
    font-size: 1.2rem;
  }
  .frame .content .subtitle {
    font-size: .6rem;
  }
  .frame .image {
    padding: 5px;
    padding-left: 20px;
    position: absolute;
  }
  .farmanimal__bg .frame .image .image__josera {
    top: -5rem;
    left: 1.2rem;
  }
  /*===== CONTACT =====*/
  .contact-container .contact-data h2 {
    line-height: 2;
  }
  .contact-container .contact-data ul {
    width: 90%;
  }
  /*===== CONTACT =====*/
  .footer-section .all_info .f_company img {
    width: 300px;
    height: auto;
    margin-right: 20px;
  }
}

@media screen and (max-width: 320px) {
  /*===== 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 3 KÁRTYA =====*/
  .services-section .card .card-body h2 {
    font-size: 1rem;
  }
  .services-section .card .card-body span {
    font-size: .6rem;
  }
  .services-section .card .card-logo #josera {
    margin-right: 50px;
  }


  /*===== NEWS SLIDER =====*/
  .dot-style .slick-dots {
    text-align: center;
    right: 20%;
    top: 100%;
    position: absolute;
  }
  .recent-articles .slick-prev.slick-arrow {
    transform: rotate(180deg);
    color: #0f3d89;
  }
  .recent-articles .slick-next span {
    left: 55px;
    position: relative;
  }


  /*===== 3 BLOKKOS KONTÉNER =====*/
  .frame .image img {
    height: 35px;
  }
  .frame .content .title {
    font-size: 1rem;
  }
  .frame .content .subtitle {
    font-size: .6rem;
    width: 100%;
  }
  .genetics__bg .content {
    padding: 10px;
  }
  .genetics__bg .content .subtitle, .formula__bg .content .subtitle {
    font-size: .6rem;
    padding-left: 10px;
  }
  .farmanimal__bg .frame .content .subtitle {
    width: 100%;
  }
  .farmanimal__bg .frame .content {
    padding-top: 15px;
  }
  .genetics__bg .content .title, .formula__bg .content .title {
    padding-left: 10px;
  }
  .farmanimal__bg .frame .image {
    padding: 0px;
  }
  .farmanimal__bg .frame .image .image__josera {
    width: 90px;
    top: -7.2rem;
  }
  .formula__bg .content {
    padding: 10px;
  }
  .genetics__bg .content img {
    height: 50px;
    padding-left: 10px;
  }
  .formula__bg .content img {
    width: 95px;
  }

  .farmanimal__bg:hover .frame::before {
    width: 100%;
    height: 75%;
    top: 15px;
    left: 15px;
    visibility: visible;
    opacity: 1;
  }
  .formula__bg, .blur__img {
    height: 250px;
  }
  .genetics__bg .content .more_genex .more__link, .formula__bg .content .more_sprayfo .more__link {
    margin-left: .5rem;
  }


  /*===== 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: 250px;
  }
  .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;
  }
}