/* 
Theme Name: Basic Theme 
Theme URI: https://torinoablak.hu/
Author: Everest Webdesign
Author URI: http://everestwebdesign.hu
Description: Basic Theme by torinoablak.hu
Version: 1.0 
License: GNU General Public License v2 or later 
License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Text Domain: basic-theme
*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;

}


body {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    background-color: #F0F0F0;

}

.fo {
    margin-top: -80px;
    margin-bottom: 160px;
}

.fo2 {
    margin-top: -80px;

}

.center-box {
    width: 90%;
    max-width: 1520px;
    margin: 0 auto;
    color: #052C1F;
    font-size: 18px;
    font-family: "Open Sans", sans-serif;

}

.align-center {
    text-align: center;
}

p {
    margin-bottom: 18px;
    line-height: 1.6;
    font-family: "Open Sans", sans-serif;
    color: #536962;

}




img {
    width: 100%;
    display: block;
}

.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideshow 10s infinite;
    z-index: 100;
}



h4 {
    font-size: 24px;
}

header {
    background-color: rgba(9, 48, 37, 0.83);
    display: block;
    justify-content: center;
    align-items: center;
    max-height: 100%;
    z-index: 1000;

    position: relative;


}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(9, 48, 37, 0.83);
    z-index: 1000;
}

.ter {
    margin-bottom: 180px;
}

#logo {
    display: block;
    width: 250px;
    position: relative;


}

#logo img {
    display: block;
    width: 150px !important;
    position: relative;
    padding: 20px;
    float: left;
}
.counter {
    border-top: solid 3px #fff;
    margin-top: 30px;
    padding-top: 30px;
}
.item-list {
    height: 100%!important;
}
.top-menu li {
    margin-left: 50px;
    display: inline-block;
    color: #fff;
    margin-bottom: 5px;
}

.top-menu .social {
    margin-left: 10px;
    display: inline-block;
    color: #fff;
}

.top-menu ul {
    margin-left: 90px;
    display: inline-block;

}

#social img {
    margin: 10px;
    width: 40px;
    display: inline-block;
}

#main-menu {
    text-align: center;
    padding: 20px 0;
}

#main-menu ul {
    display: inline-block;
}

#main-menu li {
    display: inline-block;

}

#main-menu li a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    margin: 20px 0px 0px 10px;
    font-size: 1rem;
    text-align: center;
    font-family: "Open Sans", sans-serif;

}

.slide {
    margin: 0;
}
.last-minute h3 {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    margin: 20px 0px 0px 10px;
    font-size: 1rem;
    text-align: center;
    font-family: "Open Sans", sans-serif!important;
     background-color: #90874D;
    padding: 15px;
}
.last-minute {
 margin-bottom: 15px;
}
.hero {
    background-image: url(../img/hero1.png);
    background-size: cover;

}

.hangulat-hero {
    background-image: url(img/hangulathero.jpg);
    background-size: cover;
    padding-top: 20px;
}

.kornyek-hero {
    background-image: url(img/kornyek.jpg);
    background-size: cover;
    padding-top: 300px;
}

.hero-fahaziko {
    background-image: url(img/fahaziko.jpg);
    background-size: cover;
    padding-top: 20px;
}

.hero-decor {
    color: rgba(255, 255, 255, 0.61) !important;
    font-size: 2.5rem !important;
    font-family: "Yanone Kaffeesatz", sans-serif !important;


}

.box {
    max-width: 500px;

}

.typing-container {
    width: max-content;
    margin: 0 auto;
}



@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

#typing-effect-container {
    width: 100%;
    height: 60px;
    /* Változtasd meg erre a méretre a div magasságát, amelynek megfelelően szeretnéd állítani */
    overflow: hidden;
}

#typing-effect {
    font-size: 30px;
    /* Változtasd meg erre a méretre a szöveg méretét, ha szükséges */
    white-space: nowrap;
    /* Ez megakadályozza, hogy a szöveg sortöréseket tartalmazzon */
    color: #fff;
    opacity: 0.6
}


section.full-wide > .content-box {
    max-width: 90% !important;
    padding: 0 1rem;
    margin: 0 auto;
}

.hero h1,
.benn-hero h1,
.hangulat-hero h1,
.kornyek-hero h1,
.hero-fahaziko h1 {
    color: #fff;
    font-size: 2.5rem;
}


.hangulat-hero h1 {
    position: relative;
    width: 60%;
    padding-bottom: 250px;
    padding-top: 100px;
    
}

.hangulat-hero h1 {
    position: relative;
    width: 60%;
    padding-bottom: 200px;

}

.benn-hero h1 {
    width: 60%;
    position: relative;
   
    padding-top: 100px;
}

.hangulat-text {
    position: relative;
    margin-top: -500px;
}

.benn {
    position: relative;
}

.benn img {
    display: block;
}

.benn h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: white;
    /* A szöveg színe */
}

.benn p {
    position: relative;
    

}

.hangulat .has-background-dim:not([class*=-background-color]),
.wp-block-cover-image .has-background-dim:not([class*=-background-color]),
.wp-block-cover-image.has-background-dim:not([class*=-background-color]),
.wp-block-cover.has-background-dim:not([class*=-background-color]) {
    background-color: transparent !important;
}

.overlay-work {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    transition: 0.5s ease;
    opacity: 0;
    filter: rgba(115, 145, 191, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-work:hover {

    opacity: 1;
    background-color: rgba(115, 145, 191, 1);

}

.hangulat-text h1 {
    color: #fff;
}

.hero p,
.kornyek-hero p,
.benn-hero h3,
.hero-fahaziko p,
.hero-fahaziko h2 {
    width: 80%;
    color: #fff;
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;

}

.hero .button {
    margin-bottom: 120px;
}



h1 {
    font-size: 2.5rem;
    font-family: "Shadows Into Light Two", cursive;

    line-height: 1.5;
    text-transform: uppercase;
}

.hero-text p {
    margin-top: 20px;

}

.hero-text h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 30px;
    float: left;
    line-height: 1.2;

}

.hero-text p {
    color: #fff;
    margin-top: -30px;
    margin-bottom: 0;
    font-size: 1.5rem;
}



.button {
    display: inline-block;
    width: auto;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    border: solid 3px #fff;
    background-color: #385F81;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
}

.button:before {
    content: "";
    width: 20px;
    background-image: url(img/hero1.png);
}

.button:hover {
    display: inline-block;
    width: auto;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    border: solid 3px #385F81;
    background-color: #fff;
    color: #385F81;
    text-decoration: none;
    font-weight: 600;
}

.button2,
.read-more {
    display: inline-block;
    width: auto;
    position: relative;
    color: #385F81;
    float: right;
}

.read-more {
    border: none !important;
    cursor: pointer;
    padding: 0 !important;
    border-radius: 0 !important;
    line-height: 0 !important;
    text-decoration: underline;
}

h2 {
    font-size: 2rem;

    line-height: 1.5;
    font-family: "Shadows Into Light Two", cursive;

    color: #385F81;
}
.s {
   font-size: 1rem!important;  
}
.m {
   font-size: 1.5rem!important;  
}

h3 {
    font-size: 1.5rem;
    font-family: "Shadows Into Light Two", cursive;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 600;
    color: #385F81;
}

.right {
    text-align: right !important;

}

.left {
    text-align: left !important;

}

.wp-block-cb-reviews .review-txt {
    border-radius: 0rem !important;
    background: none !important;
    padding: 1rem;
    margin-bottom: 2rem;
    position: relative;
        padding: 1.2rem!important;
}

.wp-block-cb-reviews .review-txt p {
    color: #536962;
}

.wp-block-cb-reviews .review-txt:after {
    opacity: 0;
}

.decor-h2 {
    color: #3E741D;
    font-size: 1rem;
    z-index: 1;
    position: relative;
    font-family: "Yanone Kaffeesatz", sans-serif;
    font-weight: 300;
}

.decor-h2-white {
    color: #fff;
    font-size: 1rem;
    z-index: 1;
    position: relative;
}

.testimonial {
    background-color: #90874D;
}

.card1,
.card2 {
    background-color: #fff;
    box-shadow: 30px 30px 30px 0px rgba(0, 0, 0, 0.16);
    padding: 20px 40px;
    order: -1;
}
.more-content {
    margin-top: 40px;
}
.card {
    background-color: #fff;
    box-shadow: 30px 30px 30px 0px rgba(0, 0, 0, 0.16);
   
    order: -1;
}

.kornyek-text {
    padding: 30px 30px;

    text-transform: none;
}

.kornyek-text2 {
    padding: 30px 30px;
    margin-bottom: 50px;
    text-transform: none;
    display: block;
}

.kornyek-text h1 {
    padding: 30px;
    text-align: center;
    text-transform: none;

}

.kornyek-text2 h1 {
    padding: 30px;
    text-align: center;
    text-transform: none;
    display: block;
}

.kornyek-card,
.kornyek-card2,
.kornyek-card3,
.kornyek-card4,
.kornyek-card5,
.kornyek-card6 {
    position: relative;
    /* Relatív pozíciózás a pszeudo-elemhez */
    background-image: url(img/bogacs.jpg);
    box-shadow: 30px 30px 30px 0px rgba(0, 0, 0, 0.16);
    background-size: cover;

    min-height: 400px;
    margin-top: 40px;

}

.kornyek-card7,
.kornyek-card8,
.kornyek-card9,
.kornyek-card10,
.kornyek-card11,
.kornyek-card12 {
    position: relative;
    /* Relatív pozíciózás a pszeudo-elemhez */
    background-image: url(img/bogacs.jpg);
    box-shadow: 30px 30px 30px 0px rgba(0, 0, 0, 0.16);
    background-size: cover;

    min-height: 400px;
    margin-top: 40px;

}

.kornyek-card13,
.kornyek-card14,
.kornyek-card15,
.kornyek-card16,
.kornyek-card17,
.kornyek-card18 {
    position: relative;
    /* Relatív pozíciózás a pszeudo-elemhez */
    background-image: url(img/bogacs.jpg);
    box-shadow: 30px 30px 30px 0px rgba(0, 0, 0, 0.16);
    background-size: cover;

    min-height: 400px;
    margin-top: 40px;

}

.kornyek-card19,
.kornyek-card20,
.kornyek-card21,
.kornyek-card22,
.kornyek-card23,
.kornyek-card24 {
    position: relative;
    /* Relatív pozíciózás a pszeudo-elemhez */
    background-image: url(img/bogacs.jpg);
    box-shadow: 30px 30px 30px 0px rgba(0, 0, 0, 0.16);
    background-size: cover;

    min-height: 400px;
    margin-top: 40px;

}

.kornyek-card25,
.kornyek-card26,
.kornyek-card27 {
    position: relative;
    /* Relatív pozíciózás a pszeudo-elemhez */
    background-image: url(img/bogacs.jpg);
    box-shadow: 30px 30px 30px 0px rgba(0, 0, 0, 0.16);
    background-size: cover;

    min-height: 400px;
    margin-top: 40px;

}

.kornyek-card2 {
    background-image: url(img/szomoja.jpg);
}

.kornyek-card3 {
    background-image: url(img/noszvaj.jpg);
}

.kornyek-card4 {
    background-image: url(img/cserepfalu.jpg);
}

.kornyek-card5 {
    background-image: url(img/mezokovesd.jpg);
}

.kornyek-card6 {
    background-image: url(img/eger.jpg);
}

.kornyek-card7 {
    background-image: url(img/bukkgyalogtura.jpg);
}

.kornyek-card8 {
    background-image: url(img/kaptarkovektura.jpg);
}

.kornyek-card9 {
    background-image: url(img/bukkkerekpartura.jpg);
}

.kornyek-card10 {
    background-image: url(img/kerekpartura-javorkut.jpg);
}

.kornyek-card11 {
    background-image: url(img/kenutura.jpg);
}

.kornyek-card12 {
    background-image: url(img/varazstorony.jpg);
}

.kornyek-card13 {
    background-image: url(img/meseut.jpg);
}

.kornyek-card14 {
    background-image: url(img/szafaribusz.jpg);
}

.kornyek-card15 {
    background-image: url(img/okocentrum.jpg);
}

.kornyek-card16 {
    background-image: url(img/tiszatavivizisetany.jpg);
}

.kornyek-card17 {
    background-image: url(img/vadvirag.jpg);
}

.kornyek-card18 {
    background-image: url(img/pocaktomo.jpg);
}

.kornyek-card19 {
    background-image: url(img/onkiszolgalo.jpg);
}

.kornyek-card20 {
    background-image: url(img/oregtolgy.jpg);
}

.kornyek-card21 {
    background-image: url(img/bazsalikom.jpg);
}

.kornyek-card22 {
    background-image: url(img/saritanya.jpg);
}

.kornyek-card23 {
    background-image: url(img/rozmarong.jpg);
}

.kornyek-card24 {
    background-image: url(img/csendulo.jpg);
}

.kornyek-card25 {
    background-image: url(img/zsenge.jpg);
}

.kornyek-card26 {
    background-image: url(img/rozika.jpg);
}

.kornyek-card27 {
    background-image: url(img/vadvirag.jpg);
}

.kornyek-card:hover:after,
.kornyek-card2:hover:after,
.kornyek-card3:hover:after,
.kornyek-card4:hover:after,
.kornyek-card5:hover:after,
.kornyek-card6:hover:after {
    content: "";
    /* Tartalom nélküli pszeudo-elem létrehozása */
    position: absolute;
    /* Abszolút pozícionálás */
    top: 0;
    /* Felül pozícionálás */
    left: 0;
    /* Balra pozícionálás */
    width: 100%;
    /* Teljes szélesség */
    height: 100%;
    /* Teljes magasság */
    background-color: rgba(144, 135, 77, 0.8);
    /* Átlátszó szín hozzáadása */
    z-index: 1;
    /* Az elem mögé kerül */
    transition: background-color 0.3s ease;
    /* Átmenet a háttérszín megváltoztatásához */
}

.kornyek-card7:hover:after,
.kornyek-card8:hover:after,
.kornyek-card9:hover:after,
.kornyek-card10:hover:after,
.kornyek-card11:hover:after,
.kornyek-card12:hover:after {
    content: "";
    /* Tartalom nélküli pszeudo-elem létrehozása */
    position: absolute;
    /* Abszolút pozícionálás */
    top: 0;
    /* Felül pozícionálás */
    left: 0;
    /* Balra pozícionálás */
    width: 100%;
    /* Teljes szélesség */
    height: 100%;
    /* Teljes magasság */
    background-color: rgba(144, 135, 77, 0.8);
    /* Átlátszó szín hozzáadása */
    z-index: 1;
    /* Az elem mögé kerül */
    transition: background-color 0.3s ease;
    /* Átmenet a háttérszín megváltoztatásához */
}

.kornyek-card13:hover:after,
.kornyek-card14:hover:after,
.kornyek-card15:hover:after,
.kornyek-card16:hover:after,
.kornyek-card17:hover:after,
.kornyek-card18:hover:after {
    content: "";
    /* Tartalom nélküli pszeudo-elem létrehozása */
    position: absolute;
    /* Abszolút pozícionálás */
    top: 0;
    /* Felül pozícionálás */
    left: 0;
    /* Balra pozícionálás */
    width: 100%;
    /* Teljes szélesség */
    height: 100%;
    /* Teljes magasság */
    background-color: rgba(144, 135, 77, 0.8);
    /* Átlátszó szín hozzáadása */
    z-index: 1;
    /* Az elem mögé kerül */
    transition: background-color 0.3s ease;
    /* Átmenet a háttérszín megváltoztatásához */
}

.kornyek-card19:hover:after,
.kornyek-card20:hover:after,
.kornyek-card21:hover:after,
.kornyek-card22:hover:after,
.kornyek-card23:hover:after,
.kornyek-card24:hover:after {
    content: "";
    /* Tartalom nélküli pszeudo-elem létrehozása */
    position: absolute;
    /* Abszolút pozícionálás */
    top: 0;
    /* Felül pozícionálás */
    left: 0;
    /* Balra pozícionálás */
    width: 100%;
    /* Teljes szélesség */
    height: 100%;
    /* Teljes magasság */
    background-color: rgba(144, 135, 77, 0.8);
    /* Átlátszó szín hozzáadása */
    z-index: 1;
    /* Az elem mögé kerül */
    transition: background-color 0.3s ease;
    /* Átmenet a háttérszín megváltoztatásához */
}

.kornyek-card25:hover:after,
.kornyek-card26:hover:after,
.kornyek-card27:hover:after {
    content: "";
    /* Tartalom nélküli pszeudo-elem létrehozása */
    position: absolute;
    /* Abszolút pozícionálás */
    top: 0;
    /* Felül pozícionálás */
    left: 0;
    /* Balra pozícionálás */
    width: 100%;
    /* Teljes szélesség */
    height: 100%;
    /* Teljes magasság */
    background-color: rgba(144, 135, 77, 0.8);
    /* Átlátszó szín hozzáadása */
    z-index: 1;
    /* Az elem mögé kerül */
    transition: background-color 0.3s ease;
    /* Átmenet a háttérszín megváltoztatásához */
}

.kornyek-card:hover .kornyek-text2 p,
.kornyek-card2:hover .kornyek-text2 p,
.kornyek-card3:hover .kornyek-text2 p,
.kornyek-card4:hover .kornyek-text2 p,
.kornyek-card5:hover .kornyek-text2 p,
.kornyek-card6:hover .kornyek-text2 p {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
}

.kornyek-card7:hover .kornyek-text2 p,
.kornyek-card8:hover .kornyek-text2 p,
.kornyek-card9:hover .kornyek-text2 p,
.kornyek-card10:hover .kornyek-text2 p,
.kornyek-card11:hover .kornyek-text2 p,
.kornyek-card12:hover .kornyek-text2 p {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
}

.kornyek-card13:hover .kornyek-text2 p,
.kornyek-card14:hover .kornyek-text2 p,
.kornyek-card15:hover .kornyek-text2 p,
.kornyek-card16:hover .kornyek-text2 p,
.kornyek-card17:hover .kornyek-text2 p,
.kornyek-card18:hover .kornyek-text2 p {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
}

.kornyek-card19:hover .kornyek-text2 p,
.kornyek-card20:hover .kornyek-text2 p,
.kornyek-card21:hover .kornyek-text2 p,
.kornyek-card22:hover .kornyek-text2 p,
.kornyek-card23:hover .kornyek-text2 p,
.kornyek-card24:hover .kornyek-text2 p {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
}

.kornyek-card25:hover .kornyek-text2 p,
.kornyek-card26:hover .kornyek-text2 p,
.kornyek-card27:hover .kornyek-text2 p {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
}

.kornyek-text2 p {
    position: relative;
    /* Relatív pozíciózás */
    z-index: 2;
    /* A szöveg az átlátszó réteg előtt helyezkedik el */
    opacity: 0;
    /* Kezdeti állapot: a szöveg láthatatlan */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
    color: #fff;
    text-align: left;
    display: block;

}


.kornyek-card h1,
.kornyek-card2 h1,
.kornyek-card3 h1,
.kornyek-card4 h1,
.kornyek-card5 h1,
.kornyek-card6 h1 {
    position: relative;
    z-index: 2;
    background-color: rgba(9, 48, 37, 0.83);
    padding: 20px;
    display: inline-block;
font-size: 2rem;
    color: #fff;
    text-align: left !important;
 font-weight: 400;
    font-family: "Yanone Kaffeesatz", sans-serif;

}

.kornyek-card7 h1,
.kornyek-card8 h1,
.kornyek-card9 h1,
.kornyek-card10 h1,
.kornyek-card11 h1,
.kornyek-card12 h1 {
    position: relative;
    z-index: 2;
    background-color: rgba(9, 48, 37, 0.83);
    padding: 20px;
    display: inline-block;
font-size: 2rem;
    color: #fff;
    text-align: left !important;
 font-weight: 400;
    font-family: "Yanone Kaffeesatz", sans-serif;

}

.kornyek-card13 h1,
.kornyek-card14 h1,
.kornyek-card15 h1,
.kornyek-card16 h1,
.kornyek-card17 h1,
.kornyek-card18 h1 {
    position: relative;
    z-index: 2;
    background-color: rgba(9, 48, 37, 0.83);
    padding: 20px;
    display: inline-block;
font-size: 2rem;
    color: #fff;
    text-align: left !important;
     font-weight: 400;
    font-family: "Yanone Kaffeesatz", sans-serif;


}

.kornyek-card19 h1,
.kornyek-card20 h1,
.kornyek-card21 h1,
.kornyek-card22 h1,
.kornyek-card23 h1,
.kornyek-card24 h1 {
    position: relative;
    z-index: 2;
    background-color: rgba(9, 48, 37, 0.83);
    padding: 20px;
    display: inline-block;
 font-weight: 400;
    font-family: "Yanone Kaffeesatz", sans-serif;
font-size: 2rem;
    color: #fff;
    text-align: left !important;

}

.kornyek-card25 h1,
.kornyek-card26 h1,
.kornyek-card27 h1 {
    position: relative;
    z-index: 2;
    background-color: rgba(9, 48, 37, 0.83);
    padding: 20px;
    display: inline-block;
font-size: 2rem;

    color: #fff;
    text-align: left !important;
    font-weight: 400;
    font-family: "Yanone Kaffeesatz", sans-serif;

}

.kornyek-card:hover .kornyek-text2 h1,
.kornyek-card2:hover .kornyek-text2 h1,
.kornyek-card3:hover .kornyek-text2 h1,
.kornyek-card4:hover .kornyek-text2 h1,
.kornyek-card5:hover .kornyek-text2 h1,
.kornyek-card6:hover .kornyek-text2 h1 {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
    background-color: transparent;
}

.kornyek-card7:hover .kornyek-text2 h1,
.kornyek-card8:hover .kornyek-text2 h1,
.kornyek-card9:hover .kornyek-text2 h1,
.kornyek-card10:hover .kornyek-text2 h1,
.kornyek-card11:hover .kornyek-text2 h1,
.kornyek-card12:hover .kornyek-text2 h1 {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
    background-color: transparent;
}

.kornyek-card13:hover .kornyek-text2 h1,
.kornyek-card14:hover .kornyek-text2 h1,
.kornyek-card15:hover .kornyek-text2 h1,
.kornyek-card16:hover .kornyek-text2 h1,
.kornyek-card17:hover .kornyek-text2 h1,
.kornyek-card18:hover .kornyek-text2 h1 {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
    background-color: transparent;
}

.kornyek-card19:hover .kornyek-text2 h1,
.kornyek-card20:hover .kornyek-text2 h1,
.kornyek-card21:hover .kornyek-text2 h1,
.kornyek-card22:hover .kornyek-text2 h1,
.kornyek-card23:hover .kornyek-text2 h1,
.kornyek-card24:hover .kornyek-text2 h1 {
    opacity: 1;
    /* Szöveg megjelenítése */
    transition: opacity 0.3s ease;
    /* Átmenet a szöveg megjelenítéséhez */
    background-color: transparent;
}

.img1 {
    width: 100%;
}

.img2 {
    width: 80%;
}

.card1 .button2 {
    float: right;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.card1 .button,
.card2 .button {
    margin-top: 40px;
}

.card1 p {
    padding-top: 30px;
    text-align: right;
    width: 90%;
    position: relative;
    right: -10%;
}

.card2 p {

    text-align: left;
}

.ikon-card {
    background-color: #90874D;
    padding: 50px;
}

.ikon-card img {
    width: 100%;

    position: relative;
    margin-top: -120px;
}

.ikon-card p {
    color: #fff;
    top: -50px;
    position: relative;
}

.list ul,
.list-p {
    position: relative;
       padding-left: 20px;
line-height: 1.2;
}

.list li {
    font-family: "Open Sans", sans-serif;
    margin-bottom: 10px;

}
.ikon {
    margin-top: 40px;
}

.list li:before {
    content: "";
    background-image: url(img/dot2.png);
 display: inline-block;
    position: relative;
    height: 10px;
    width: 10px;
    background-size: cover;
    margin-left: 10px;
    margin-right: 10px;
}
.list2 li:before {
    content: "";
    background-image: url(img/dot.png);
    display: block;
    position: relative;
    height: 10px;
    width: 10px;
    background-size: cover;
    margin-left: -20px;
    top: 16px;
}
div.my_carousel .prev svg path, div.my_carousel .next svg path {
    fill: #fff!important;
    stroke-width: 2px!important;
    width: 3rem;
    height: auto;
   display: none!important;
}

.benn-hero h3 {
    color: #fff;
}
div.my_carousel .prev, div.my_carousel .next {
    position: absolute;
    display: flex;
    justify-content: center;
    cursor: pointer;
    top: 50%;
    margin-top: -38px;
    width: 38px;
    height: 38px;
    background:transparent!important;
    box-shadow: none!important;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}
div.my_carousel .prev:before {
    content: "";
   width: 50px;
    height: 50px;
    border-radius: 50%;
    content: "";
    position: absolute;
    left: 30px;
    background: transparent;
    z-index: 1;
    background-image: url(img/nyil2.png);
    background-size: cover;
    filter: drop-shadow(10px 0px 10px rgba(11, 11, 50, 0.3));
    left: -5px;
    margin-bottom: 20px;
}
div.my_carousel .next:before {
    content: "";
   width:50px;
    height: 50px;
    border-radius: 50%;
    content: "";
    position: absolute;
    left: 30px;
    background: transparent;
    z-index: 1;
    background-image: url(img/nyil1.png);
    background-size: cover;
    filter: drop-shadow(10px 0px 10px rgba(11, 11, 50, 0.3));
    left: -5px;
    margin-bottom: 20px;
}

.accordionh3 {
    color: #AF8748;
    margin-bottom: 100px;
}

div.my_carousel .prev {
    left: 0px !important;
}

div.my_carousel .next {
    right: 0px !important;
}

div.my_carousel .prev svg, div.my_carousel .next svg {
    width: 20px;
    height: auto;
}
.card-textbox {
    padding: 20px;

}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4%;
}





.testimonilas img {
    width: 25%;
    margin: 40px 0;
}

::marker {
    content: none !important;
}

.reviews-slider {

    position: relative;
    width: 100%;
}

.next-review,
.prev-review {
    cursor: pointer;
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-top: -350px;
    z-index: 5;
    border-radius: 50%;
    background: #000;
}

.reviews-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.next-review {
    right: 50px;
}

.prev-review {
    left: 50px;
}

.next-review:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -4px;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #926032;
}

.prev-review:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #926032;
}

.reviews-slider li:before {
    content: none;
}

.reviews-slider ul {
    display: block;
    white-space: nowrap;
    font-size: 0;
    position: relative;
    padding: 0;
    margin: 0;
    vertical-align: top;
}

.reviews-title {
    text-align: center;
    margin-bottom: 10px;
}

.reviews-slider li {
    display: inline-block;
    position: relative;
    width: 100%;
    white-space: initial;
    font-size: initial;
    padding: 0;
    margin: 0;
    vertical-align: top;
}

.reviews img {
    width: 400px;
    filter: drop-shadow(20px 20px 10px rgba(11, 11, 50, 0.3));
    margin-bottom: 60px;
    transform: rotate(-4deg);
    box-shadow: -30px 30px 0px 0px rgba(28, 80, 76, 1);
}

.reviews li p {
    background-color: #FDF3E4;
    padding: 30px;
    width: 80%;
    text-align: center;
    position: relative;
    left: 10%;
}

.carousel {
    padding: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;

}

.rolunk {
    margin: 80px 0;
}

.about {
    background-image: url(img/bg2.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.about-img img {
    width: 100%;
}

.image img {
    width: 100%;
}

.image-text {
    background-color: #AF8748;
    padding: 20px;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    margin-top: 55px;
    display: inline-block;
    text-align: center;
    position: relative;
    margin-bottom: 80px;
    top: -200px;
    text-align: left;
}

.image-text a {
    color: #B10707;
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
}

.carousel ul.slides {
    display: block;
    white-space: nowrap;
    font-size: 0;
    position: relative;
}

ul {
    list-style: none;
    /* Ezzel elrejted az alapértelmezett felsorolásjelzést */
}

.carousel li.slide {
    display: inline-block;
    position: relative;
    width: 100%;
    white-space: initial;
    font-size: initial;
}

#carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#carousel-wrap {
    width: 100%;
    overflow: hidden;
}

#carousel ul.slides {
    display: block;
    white-space: nowrap;
    font-size: 0;
    position: relative;
}

#carousel li.slide {
    display: inline-block;
    position: relative;
    width: 100%;
    white-space: initial;
    font-size: initial;
}

#carousel li.slide a {
    display: block;
}

#next-slide,
#prev-slide {
    cursor: pointer;
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-top: -350px;
    z-index: 5;
    border-radius: 50%;
    background: #fff;
}

#next-slide {
    right: 10px;
}

#prev-slide {
    left: 10px;
}

#next-slide:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -4px;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #AF8748;
}

#prev-slide:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #AF8748;
}

#navigation {
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    height: 30px;
    bottom: 0;
    z-index: 5;
    padding-bottom: 50px;
}

#navigation div {
    display: inline-block;
    height: 20px;
    width: 20px;
    background: #f5f5f5;
    z-index: 5;
    border-radius: 50%;
    cursor: pointer;
    margin: 10px;
}



.target {
    background-color: #fff;
}

.target p,
.target li p {
    color: #707070;
}


::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    /* gördítősáv rejtve */
}



.galery img {
    width: 100%;
}

a {
    color: #fff;
    text-decoration: none;
}
.wpbc_container .wpbc_button_light, .wpbc_container.wpbc_container_booking_form .wpbc_button_light {
   display: inline-block!important  ;
    width: auto!important  ;
    position: relative!important  ;
    padding: 15px!important  ;
    border-radius: 10px!important  ;
    border: solid 3px #fff!important  ;
    background-color: #385F81!important  ;
    color: #fff!important  ;
    text-decoration: none!important  ;
    font-weight: 600!important  ;
    margin-bottom: 40px!important  ;    
}
div.wpforms-container-full .wpforms-form input[type=submit], div.wpforms-container-full .wpforms-form button[type=submit], div.wpforms-container-full .wpforms-form .wpforms-page-button {
    display: inline-block!important  ;
    width: auto!important  ;
    position: relative!important  ;
    padding: 15px!important  ;
    border-radius: 10px!important  ;
    border: solid 3px #fff!important  ;
    background-color: #385F81!important  ;
    color: #fff!important  ;
    text-decoration: none!important  ;
    font-weight: 600!important  ;
    margin-bottom: 40px!important  ;   
    
}
.wpbc_container .wpbc_button_light:hover, .wpbc_container.wpbc_container_booking_form .wpbc_button_light:hover {
   display: inline-block!important  ;
    width: auto!important  ;
    position: relative!important  ;
    padding: 15px!important  ;
    border-radius: 10px!important  ;
    border: solid 3px #385F81!important  ;
    background-color: #fff!important  ;
    color: #385F81!important  ;
    text-decoration: none!important  ;
    font-weight: 600!important ;!
}
div.wpforms-container-full .wpforms-form input[type=submit]:hover, div.wpforms-container-full .wpforms-form button[type=submit]:hover, div.wpforms-container-full .wpforms-form .wpforms-page-button:hover {
 display: inline-block!important  ;
    width: auto!important  ;
    position: relative!important  ;
    padding: 15px!important  ;
    border-radius: 10px!important  ;
    border: solid 3px #385F81!important  ;
    background-color: #fff!important  ;
    color: #385F81!important  ;
    text-decoration: none!important  ;
    font-weight: 600!important ;! 
    
}

#go-to-top {
    background: #90874D;
    ;
    line-height: 2rem;
    position: fixed;
    bottom: 0;
    right: 1rem;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 10000;
    font-size: smaller;
    color: #fff;
}

.benn img {
    width: 100%;
}

.benn-hero {
    background-image: url(img/kinnbenn-hero.jpg);
    background-size: cover;
    padding-top: 20px;

}

body .is-layout-constrained > .alignleft {
    float: none !important;
    margin-inline-start: 0;
    margin-inline-end: 2em;
}





.contact-wall {
    background-image: url(img/contactwall.jpg);
    background-size: cover;

}

.contact-data {
    padding-top: 200px;
}

.contact-data ul li {
    margin-bottom: 20px;
}

.contact-data ul {
    margin-left: 35px;
}

.tel3:before {
    content: "";
    background-image: url(img/tel2.png);
    display: block;
    position: absolute;
    height: 25px;
    width: 25px;
    background-size: contain;
    margin-left: -40px;
}

.mail3:before {
    content: "";
    background-image: url(img/mail2.png);
    display: block;
    position: absolute;
    height: 19px;
    width: 25px;
    background-size: contain;
    margin-left: -40px;
}

.gps3:before {
    content: "";
    background-image: url(img/gps2.png);
    display: block;
    position: absolute;
    height: 25px;
    width: 18px;
    background-size: contain;
    margin-left: -40px;
}
.tel2 a:before {
    content: "";
    background-image: url(img/tel2.png);
    display: block;
    position: absolute;
    height: 25px;
    width: 25px;
    background-size: contain;
    margin-left: -40px;
}

.mail2 a:before {
    content: "";
    background-image: url(img/mail2.png);
    display: block;
    position: absolute;
    height: 19px;
    width: 25px;
    background-size: contain;
    margin-left: -40px;
}

.gps2 a:before {
    content: "";
    background-image: url(img/gps2.png);
    display: block;
    position: absolute;
    height: 25px;
    width: 18px;
    background-size: contain;
    margin-left: -40px;
}

.footer-contact .tel3:before {
    content: "";
    background-image: url(img/tel.png);
    display: block;
    position: absolute;
    height: 25px;
    width: 25px;
    background-size: cover;
    margin-left: -40px;
}

.footer-contact .mail3:before {
    content: "";
    background-image: url(img/mail.png);
    display: block;
    position: absolute;
    height: 23px;
    width: 25px;
    background-size: contain;
    margin-left: -40px;
}

.footer-contact .gps3:before {
    content: "";
    background-image: url(img/gps.png);
    display: block;
    position: absolute;
    height: 25px;
    width: 21px;
    background-size: contain;
    margin-left: -40px;
}

.tel2 a,
.gps2 a,
.mail2 a {
    color: #093025;
}
.tel3 a,
.gps3 a,
.mail3 a {
    color: #fff;
}
.tel a,
.gps a,
.mail a {
    color: #fff;
}

.contact ul {
    position: relative;
    margin-bottom: 50px;
        left: 35px;
}
:where(.wp-block-columns) {
    margin-bottom: 0em!important;
}
.wp-block-cb-tabs {
    margin: 0rem 0%!important;
}
.contact ul li {

    margin-bottom: 10px;
}

.contact-img {
    display: none;
}

.contact-spacer {
    height: 220px;
}

.contact {
    padding: 20px;
}

#map {
    margin-bottom: 40px;
    width: 80%;
}

#footer-logo {
    display: inline;
}

.footer-contact,
.top-menu {
    display: inline-block;
    color: #fff;
}

.top-menu {
    background-color: #90874D;

    display: block;
    width: 100%;
    font-size: 0.8rem;
}

.top-menu ul li {

    font-size: 0.8rem;
}

.top-menu ul li {}

.footer-contact p {
    display: inline-block;
    color: #fff;
    margin-left: 60px;
}

#foot-menu {}

footer,
#copyright {
    background-color: #092F24;
    font-family: "Open Sans", sans-serif;
    color: #fff;
}

.tel:before {
    content: "";
    background-image: url(img/tel.png);
    display: block;
    position: absolute;
    height: 20px;
    width: 20px;
    background-size: cover;
    margin-left: -30px;
}

.mail:before {
    content: "";
    background-image: url(img/mail.png);
    display: block;
    position: absolute;
    height: 18px;
    width: 20px;
    background-size: contain;
    margin-left: -30px;
}

.gps:before {
    content: "";
    background-image: url(img/gps.png);
    display: block;
    position: absolute;
    height: 20px;
    width: 17px;
    background-size: contain;
    margin-left: -30px;
}

.top-menu .social img {
    width: 20px !important;
    height: 20px !important;
    top: 7px;
    position: relative;
}

div.my_carousel .nav {
    display: none !important;
}

#copyright p {
    font-size: 0.8rem;
    font-family: "Open Sans", sans-serif;
    color: #fff;
    padding-bottom: 40px;
}

#footer-logo img {
    display: inline-block;
    width: 150px !important;
    margin: 20px;
}

footer li {
    display: inline-block;
    color: #fff;
    font-family: "Open Sans", sans-serif;

}

footer li p {
    display: inline-block;
    margin-left: 60px;
    color: #fff;
    font-size: 1rem;
}

.footer-contact .tel3 a,
.gps3 a,
.mail3 a {
    color: #fff;
}

footer nav li a:before {
    content: "";
    background-image: url(img/dot.png);
    display: inline-block;
    position: relative;
    height: 10px;
    width: 10px;
    background-size: cover;
    margin-left: 10px;
    margin-right: 10px;
}

footer h2 {
    color: #707070;
}

.social ul {
    display: inline-block;
}

.social li {
    display: inline-block;
    margin: 2rem 3rem;
}

.social li img {
    width: 100%;
}

.postimg {
    width: 50%;
}
.bookingform .card {
    padding: 60px;
}
.price {
    background-image: url(img/contact.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.price-text {
    padding-top: 300px;
    padding-bottom: 30px;
   
    position: relative;
}

.price-text h1 {
    width: 60%;
    color: #fff;
}

.price-text h4 {
    color: #fff;
    width: 60%;
    padding-top: 40px;
    font-weight: 400;
    line-height: 1.5;
}

.arak-card {
    background-image: url(img/arak-card.png);
    background-size: cover;
    padding: 5px;
}

.arak-h4 {
    color: #536962 !important;
    margin-top: 20px;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-block-cb-tabs .tab-labels {
    margin: 0;
    position: relative;
    background: none !important;
    border-radius: 0px !important;
    padding: 8px;
    overflow: hidden;
    border-bottom: none !important;
}

.wp-block-cb-tabs .tab-labels li.active {
    background-color: #56876B !important;
    z-index: 2;

    border-radius: 0px !important;
    color: #fff;
}


.wp-block-cb-tabs .tab-labels li {
    background-color: #fff!important;
    z-index: 2;
    box-shadow: none !important;
    border-radius: 0px !important;
    color: #56876B ;
    margin-left: -10px !important;
    font-size: 20px;
}

.wp-block-cb-tabs .tab-content {
    border-radius: 0rem !important;

    position: relative;
    transition: all ease-in-out 0.3s;

    background-color: #fff !important;
    box-shadow: 30px 30px 30px 0px rgba(0, 0, 0, 0.16);
    border-top: solid 5px #56876B !important;
    order: -1;
}

.wp-block-cb-tabs.horizontal .tab-labels {
    display: inline-flex;
    margin-bottom: 0rem !important;

}

.wp-block-cb-tabs .tab-content {
    margin-top: -8px;
}

.card2 .read-more {
    float: left !important;
}

.tab2 .tab-labels li {
    background-color: #fff!important;
    z-index: 2;
    box-shadow: none !important;
    border-radius: 0px !important;
    color: #56876B;
    margin-left: -10px !important;
    font-size: 20px;
}
.tab2 .tab-labels li:hover,
.wp-block-cb-tabs .tab-labels li:hover {
   text-decoration: underline;
    font-weight: 600;
}
div.my_carousel .item-list .item > div {
    box-shadow: none !important;
    padding: 1rem!important;
    width: 90%!important;
    background-color: #fff;
 
    display: inline-block;
    position: relative;
    border-radius: 20px;
}
.wp-block-cb-reviews .review-txt:before {
   width: 60px;
    height: 60px;
    border-radius: 50%;
    content: "";
    position: absolute;
    left: 30px;
    background: #fff;
    z-index: 1;
    background-image: url(img/jel.png);
    background-size: cover;
    top: -30px;
    left: 10px;
    margin-bottom: 20px;
}

@media only screen and (min-width: 1920px) and (max-width: 3800px) {

    div.my_gallery img,
    div.my_masonry img,
    div.my_carousel img,
    img {
        width: 100%;
        /* A képek teljes szélességre való kiterjesztése */
        height: auto;
        /* Megőrzi a képarányt */
        max-width: 1920px;
        /* A maximális szélesség beállítása 1920 pixelre */
        margin-left: auto;
        /* A képek középre igazítása */
        margin-right: auto;
        /* A képek középre igazítása */
    }
}

@media only screen and (min-width: 1880px) {
    .img1 {
        width: 60% !important;

        position: relative;

    }
}

@media only screen and (min-width: 1550px) {
    .img1 {
        width: 100%;

        position: relative;
    }



    .img3 {
        width: 60%;
        position: relative;
    }

    .img4 {
        width: 70%;

        position: relative;
        order: -1;
    }

    .img42 {
        width: 100%;
        left: 25%;
        position: relative;
    }

    .img5 {
        width: 60%;
        position: relative;
    }
}

@media only screen and (min-width: 1240px) and (max-width: 1549px) {
    .img1 {
        width: 80%;

        position: relative;
    }

    .img2 {
        width: 60%;
        left: 40%;
        position: relative;
    }

    .img3 {
        width: 100%;

        position: relative;
    }

    .img4 {
        width: 90%;

        position: relative;
        order: -1;
    }

    .img42 {
        width: 100%;
        left: 25%;
    }

    .img5 {
        width: 90%;

        position: relative;
    }

}

@media only screen and (max-width: 1030px) {
    #main-menu li a {
        font-size: 1rem;
        margin: 20px 0px 0px 0px;
    }

    .kornyek-card,
    .kornyek-card2,
    .kornyek-card3,
    .kornyek-card4,
    .kornyek-card5,
    .kornyek-card6 {
        min-height: 350px;
    }

    .kornyek-card7,
    .kornyek-card8,
    .kornyek-card9,
    .kornyek-card10,
    .kornyek-card11,
    .kornyek-card12 {
        min-height: 350px;
    }

    .kornyek-card13,
    .kornyek-card14,
    .kornyek-card15,
    .kornyek-card16,
    .kornyek-card17,
    .kornyek-card18 {
        min-height: 350px;
    }

    .kornyek-card19,
    .kornyek-card20,
    .kornyek-card21,
    .kornyek-card22,
    .kornyek-card23,
    .kornyek-card24 {
        min-height: 350px;
    }

    .kornyek-card25,
    .kornyek-card26 {
        min-height: 350px;
    }

    .kornyek-card1 h1,
    .kornyek-card2 h1,
    .kornyek-card3 h1,
    .kornyek-card4 h1,
    .kornyek-card5 h1,
    .kornyek-card6 h1 {
        font-size: 2rem;
    }

    .kornyek-card7 h1,
    .kornyek-card8 h1,
    .kornyek-card9 h1,
    .kornyek-card10 h1,
    .kornyek-card11 h1,
    .kornyek-card12 h1 {
        font-size: 2rem;
    }

    .kornyek-card12 h1,
    .kornyek-card13 h1,
    .kornyek-card14 h1,
    .kornyek-card15 h1,
    .kornyek-card16 h1,
    .kornyek-card17 h1 {
        font-size: 2rem;
    }

    .kornyek-card18 h1,
    .kornyek-card19 h1,
    .kornyek-card20 h1,
    .kornyek-card21 h1,
    .kornyek-card22 h1,
    .kornyek-card23 h1 {
        font-size: 2rem;
    }

    .kornyek-card24 h1,
    .kornyek-card25 h1,
    .kornyek-card26 h1 {
        font-size: 2rem;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1239px) {
    #main-menu li a {
        display: inline-block;
        text-decoration: none;
        color: #fff;
        margin: 20px 0px 0px 0px;
        font-size: 1.1rem;
        text-align: center;
        font-family: "Open Sans", sans-serif;

    }

    nav li a {
        padding: 10px 10px;
    }

    .img1,
    .img3,
    .img4,
    .img42 {
        width: 100%;

    }

    .img5 {
        width: 100%;
        position: relative;
    }

    .img4 {
        order: 1;
        display: flex;
    }
}

@media only screen and (min-width: 2142px) {
    .img2 {
        width: 30%;
        left: 60%;
    }

    .img6 {
        width: 70%;
        left: 60%;
    }
}

@media only screen and (min-width: 1550px) and (max-width: 2141px) {


    .img2 {
        width: 50%;
        position: relative;
        left: 50%;
    }

    .img6 {
        width: 70%;
        left: 30%;
        position: relative;
    }
}

@media only screen and (min-width: 1040px) and (max-width: 1239px) {



    .img2 {
        width: 100%;

    }

    .img3 {
        width: 130%;

    }

    .img4 {
        width: 100%;

    }

}

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

    .img2 {
        width: 100%;
        position: relative;
    }

    #logo img {
        display: block;
        width: 120px !important;
        position: relative;
        padding: 20px;
        float: left;
    }

    .hero p {
        width: 70%;
    }

}



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

     h2 {
    font-size: 1.5rem;
}
        h1, .hero h1, .benn-hero h1, .hangulat-hero h1, .kornyek-hero h1, .hero-fahaziko h1 {
    font-size: 2rem;
}
    #logo img {
    display: block;
   
    position: relative;
    padding: 20px;
    float: left;
}
    #main-menu {
    text-align: center;
    padding: 0px 0; 
}
    .top-menu {
        display: none;
    }

    .wp-block-cb-tabs .tab-panel {
        width: 100%;
        padding: 0 !important;
        display: none;
    }

    .img5 {
        width: 80%;
        left: 10%;
        position: relative;
    }

    .contact-spacer {
        height: 40px;
    }

    .ter {
        margin-bottom: 300px;
    }

    .sticky {
        position: fixed;
        top: 0;
        width: 100%;
        background-color: rgba(9, 48, 37, 0.83);
        z-index: 1000;

    }

    .hero-decor {
        padding-top: 100px;
    }

    .hero p {
        width: 100%;
    }

    .lista {
        order: -2;
        display: grid;
    }

    .kornyek-card,
    .kornyek-card2,
    .kornyek-card3,
    .kornyek-card4,
    .kornyek-card5,
    .kornyek-card6 {

        min-height: 400px;

    }

    .benn h1 {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: white;
    }

    h1,
    .hero h1,
    .benn-hero h1 {
        font-size: 1.5rem;
    }

    .benn-hero h1 {
        width: 60%;

        padding-top: 100px;
        font-size: 1.5rem;
    }

    .contact-img img {
        width: 100%;
    }

    .contact-img {
        display: flex;

        width: 100%;
    }

    .contact-data {
        padding-top: 60px;
    }

    .serviceh3 {
        font-size: 1.5rem;
    }

    .button2 {}

    .decor {
        font-size: 1.5rem;
        top: 40px;
    }



    span:before,
    span:after {
        display: none;
    }

    .gari-img {
        margin-bottom: 80px;
    }

    footer h2 {
        font-size: 0.5rem;
        font-family: 'Montserrat Alternates', sans-serif;
        line-height: 1.5;
        /* margin-top: 80px; */
        margin-bottom: 30px;
        display: inline;
    }


}




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

    .testimonilas img {
        width: 50%;

    }




}

@media only screen and (max-width: 606px) {
    .contact-img {
        display: flex;

        width: 100%;
    }
}

@media only screen and (max-width: 287px) {
    .contact-img {}
}

@media only screen and (max-width: 450px) {
        .animatedfsmenu .animatedfs_menu_list .afsmenu li a {
    transition: .3s all;
    position: relative;
        text-align: right!important;
}

    .kornyek-card,
    .kornyek-card2,
    .kornyek-card3,
    .kornyek-card4,
    .kornyek-card5,
    .kornyek-card6 {

        min-height: 300px;

    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .testimonilas img {
        width: 50%;

    }

    .hero-text {
        left: 0px;
        width: auto;
        position: relative;
        padding-top: 80px;
        padding: 20px;

    }

    .serviceh3 {
        font-size: 1rem;
    }

    .decor {
        font-size: 1rem;
        top: 40px;
    }

    .title-container span {
        color: #052C1F;
        font-size: 1.2rem !important;
        margin: 0 10px;
        text-wrap: wrap;
        text-align: center;
        padding: 0 20px;
    }

    span:before,
    span:after {
        display: none;
    }


}

@keyframes zoomIn {
    from {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    50% {
        opacity: 1;
    }
}
