/* ------  Basic CSS ------  */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #6b6a6a;
    line-height: 1.625;
    font-size: 18px;
    font-weight: 300;
}

p {
    line-height: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
    line-height: 2.5rem;
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 16px 0;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 1.675rem;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: 400;
}

h6 {
    margin-bottom: 0.9rem;
    font-size: .875rem;
    line-height: 1rem;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    font-family: 'Montserrat';
}

a, a:link, a:visited, a:hover, a:focus, a:active {
    text-decoration: none;
    display: block;
}

ul, li {
    list-style: none;
    text-indent: 0;
    display: block;
}

strong {
    font-weight: 700!important;
    color: #202020!important;
}

.responsive-container {
    margin: auto;
}

.responsive-container-full {
    max-width: 100%;
    width: 100%;
}

@media only screen and (min-width: 1201px) {
    .responsive-container {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 1200px) {
    .responsive-container {
        max-width: 768px;
    }
}

@media only screen and (max-width: 768px) {
    .responsive-container {
        max-width: 480px;
    }
}

@media only screen and (max-width: 480px) {
    .responsive-container {
        max-width: 100%;
    }
}

.iframe-section {
    width: 100%;
    display: flex;
}

/* Fancybox módosítás */

.fancybox__slide {
    padding: 50px;
}

.fancybox__backdrop {
    background: rgba(255, 255, 255, 0.7);
}

.is-next, .is-prev{
    color: rgba(10, 10, 10, 0.8);
}

@media only screen and (max-width: 768px) {
    .fancybox-mobile {
        /* Adjust dimensions and styles for smaller screens */
        width: 90%;
        max-width: 400px; /* Example max-width */
        margin: 0 auto; /* Center the FancyBox */
    }

    .fancybox-mobile .f-button.is-next, .fancybox-mobile .f-button.is-prev {
        display: none;
    }

    .fancybox-mobile .fancybox__slide.has-image {
        padding: 0;
    }
}

/* /Fancybox módosítás */

/* ------  /Basic CSS ------  */


/* ------  Header ------  */

.header-transparent {
    background-color: rgba(0,0,0,0);
    transition: 0.3s;
}

.header-colored {
    background-color: rgba(0,0,0,0.65)!important;
    transition: 0.3s;
}

#header-border-event {
    height: 200px;
    position: absolute;
    width: 100%;
    background-color: rgb(60, 65, 76);
    z-index: -1 ;
    pointer-events: none;
    visibility: hidden;
}

#header-section {
    position: fixed;
    min-height: 50px;
    z-index: 999;
}

.header-container {
    display: flex;
    padding: 16px 0px;
    justify-content: center;
    align-items: center;
}

.header-image-container {
    margin-right: 25px;
}

.header-logo {
    max-width: 166px;
}

.header-list {
    width: auto;
    display: flex;
}

.header-list-item-link {
    color: white;
    padding: 0.7rem;
    font-size: clamp(12px, 17px, 22px);
    text-transform: uppercase;
    white-space: nowrap;
}

.header-list-item {
    transition: 0.2s;
}

.header-list-item:hover {
    background-color: #ea2028;
    transition: 0.2s;
}

.hamburger-menu {
    display: none;
}

/* ------  /Header ------  */

/* ------ Page hero ------ */

.gallery-hero {
    background-image: url(/media/page-hero/galeria.jpg);
}
.contact-hero {
    background-image: url(/media/page-hero/kapcsolat.jpg);
}
.about-us-hero {
    background-image: url(/media/page-hero/rolunk.jpg);
}
.mobile-cordon-hero {
    background-image: url(/media/page-hero/mobil-kordon.jpg);
}
.mobile-fence-hero {
    background-image: url(/media/page-hero/mobil-kerites.jpg);
}
.mobile-wc-hero {
    background-image: url(/media/page-hero/mobil-wc.jpg);
}
.treading-cord-hero {
    background-image: url(/media/taposo-kordon/IMG_4606_big.jpg);
    background-position-y: 40%;
}


.page-hero-section {
    height: 60%;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 54px;
}

.page-hero-section:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    height: 60%;
}

.page-hero-container {
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.page-hero-title {
    font-size: 2.9rem;
    line-height: 3rem;
    font-weight: 400;
    color: #fff;
    z-index: 99;
    text-transform: uppercase;
}

.page-hero-navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 60px;
    background-color: #ca1f26;
    position: relative;
}

.page-hero-navbar-home {
    display: inline-block!important;
}

.page-hero-navbar-page-title {
    font-size: 0.875rem;
    color: #fff;
    text-transform: uppercase;
}

.page-hero-navbar-current {
    color: #fff;
    font-size: 16px;
}

.page-hero-navbar-home {
    color: #fff;
}

/* ------ /Page hero ------ */

/* ------ Footer ------ */

#footer-section {
    background-color: #333842;
    padding: 100px 0 0;
}

.footer-main-container {
    display: flex;
    margin-bottom: 40px;
}

.footer-sub-container {
    width: 25%;
    padding: 0 15px;
}

.footer-sub-container:first-child {
    padding-left: 0;
}
.footer-sub-container:last-child {
    padding-right: 0;
}

#footer-section h5[class*="footer"] {
    color: #fff;
}

.footer-nav-list-item-link {
    color: #9299a6;
    transition: 0.2s;
}

.footer-nav-list-item-link:hover {
    color:#ca1f26;
    transition: 0.2s;
}

.footer-company-data-list-item {
    color: #9299a6;
}

.footer-highlight {
    color: #ca1f26;
}

.footer-contact-list-item {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 8%;
}

.footer-contact-list-icon-container {
    display: flex;
    align-items: baseline;
    min-width: 30%;
    justify-content: center;
    padding: 0 15px;
}

.footer-contact-list-icon {
    font-size: 25px;
    padding: 10px;
    border: 2px solid white;
    min-width: 75%;
    text-align: center;
    color: #fff;
    min-width: 100%;
}

.footer-contact-list-text {
    color: #9299a6;
}

.footer-contact-list-text-link {
    color: #9299a6;
    display: inline!important;
}

.trademark-container {
    background: #3c414c;
    text-align: center;
    padding: 35px 0 20px 0;
}

.trademark-text {
    line-height: 25px;
    max-width: 100%;
    padding-top: 15px;
    color: #fff;
}

/* ------ /Footer ------ */


/* ------ Főoldal ------  */

/* Home main */

.home-main-section {
    background-image: url(/media/home1bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 75%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-main-section:before {
    width: 100%;
    height: 75%;
    content: "";
    position: absolute;
    background-color: rgba(0,0,0,0.3);
}

.home-main-text-container {
    text-align: center;
}

.home-main-text-container * {
    color: white;
    z-index: 1;
    position: relative;
}

.home-main-title {
    font-size: 2.750rem;
    line-height: 4rem;
    color: #fff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.home-main-text {
    font-size: 16px;
}

/* /Home main */

/* Why choose us */

.why-choose-us-section {
    background-image: url(/media/servicepattern.png);
    background-repeat: repeat-x;
    background-size: cover;
    padding: 80px 0;
}

.why-choose-us-title, .why-choose-us-subtitle {
    color: rgb(107, 106, 106);
    text-align: center;
}

.separator {
    position: relative;
    margin: auto;
    width: 100px;
}

.separator:after {
    height: 3px;
    width: 50px;
    margin: 0px auto;
    position: absolute;
    background: #898989;
    right: 0;
    top: 0;
    content: "";
}

.separator:before {
    height: 3px;
    width: 50px;
    margin: 0px auto;
    position: absolute;
    background: #ca1f26;
    right: 50%;
    top: 0;
    content: "";
}

.why-choose-us-item-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 64px;
}

.why-choose-us-item {
    display: flex;
    width: 50%;
    margin-bottom: 80px;
    padding: 0 15px;
}

.why-choose-us-item:nth-child(3), .why-choose-us-item:nth-child(4) {
    margin-bottom: 40px;
}

.why-choose-us-image-container {
    margin-right: 30px;
}

.why-choose-us-image {
    max-width: 45px;
    vertical-align: super;
}

.why-choose-us-item-title {
    color: #ca1f26;
    font-weight: 400;
}

.why-choose-us-item-text {
    line-height: 24px;
    color: #262626;
    font-weight: 300;
    font-size: 18px;
}

/* Why choose us */

/* Contact form */

.contact-form-section {
    /* background: #f9f9f9; */
    position: relative;
}

.contact-form-section:before {
    position: absolute;
    content: "";
    width: 100%;
    top: -30px;
    left: 0;
    height: 30px;
    /* background-image: linear-gradient(to top, #f9f9f9, transparent); */
}

.contact-form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* border: 2px solid rgb(107, 106, 106); */
    border-radius: 4px;
    border-top: line;
    padding: 40px 0;
}

.contact-form-title, .contact-form-subtitle {
    width: 100%;
    text-align: center;
    color: #202020;
    font-weight: 400;
}

.contact-form-section .separator {
    margin-top: 10px;
    margin-bottom: 4em;
}

#contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-form-input-item {
    width: 50%;
    padding: 0 20px;
}

.contact-form-input-item:nth-child(7) {
    width: 100%;
}

.contact-form-input-item:last-child {
    text-align: center;
}

#contact-form label, #contact-form input, #contact-form textarea {
    display: block;
    width: 100%;
}

#contact-form input:focus, #contact-form textarea:focus {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    border: 1px solid black;
    outline: none;
}

#contact-form label {
    text-align: center;
}

#contact-form input {
    font-size: 14px;
    line-height: 1.42857143;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #9e9e9e;
    margin-bottom: 20px;
}

#contact-form textarea {
    height: auto;
    color: #9e9e9e;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    resize: none;
    margin-bottom: 20px;
}

#submit-btn {
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.42857143;
    text-transform: uppercase;
    background: #3c414c;
    padding: 0.7rem 2rem;
    border: 0px solid #fff;
    color: #fff;
    border-radius: 0;
    transition: all 0.3s;
}

#submit-btn:hover {
    /* color: #333; */
    background-color: #ca1f26;
    /* border-color: #adadad; */
}

.email-status-container {
    position: fixed;
    background-color: white;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 60px;
    font-size: 20px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    opacity: 1;
}

.email-status-container.off {
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

/* /Contact form */

/* ------  /Főoldal ------  */

/* ------ Product layout ------ */

/* Mobil wc */

.mobil-wc-pl-section .product-layout-title{
     text-align: justify;
}

/* /Mobil wc */

.product-layout-section {
    margin: 150px auto 150px;
}

.product-layout-text-container {
    margin-bottom: 60px;
}

.product-layout-text-container * {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #6b6a6a;
    font-family: 'Montserrat';
    line-height: 1.875rem;
}

.product-layout-text-container > * {
    margin: 30px 0;
}

.product-layout-title {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 5px;
    color: #202020;
}

.product-layout-image-container {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
}

.product-layout-image-item {
    display: flex!important;
    max-width: 100%;
    max-height: 220px;
    position: relative;
    transition: 0.4s;
    overflow: hidden;
}

.product-layout-image-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}

.product-layout-image-item:hover::before {
    opacity: 0.2;
    transition: 0.2s;
}

.product-layout-image-item img {
    max-width: 100%;
    height: auto;
    min-height: 220px;
    object-fit: cover;
    cursor: pointer;
}

/* ------ /Product layout ------ */

/* ------ Rólunk oldal ------ */

.about-us-section {
    background-image: url(/media/servicepattern.png);
    padding: 80px 0;
}

.about-us-title {
    text-align: center;
    margin: 0 0 16px;
}

.about-us-container .separator {
    margin: 0 auto 64px;
}

.about-us-text {
    margin: 0 0 15px;
    font-size: 22px;
    font-family: 'Montserrat';
    word-spacing: 5px;
    line-height: 1.875rem;
}

/* ------ /Rólunk oldal ------ */

/* ------ Galéria oldal ------ */

/* Paginationjs módosítás */

.paginationjs {
    margin-top: 50px;
}

.paginationjs-pages ul {
    display: flex;
    justify-content: center;
}

.paginationjs-pages ul {
    margin: 0 20px;
}

.paginationjs-pages ul .paginationjs-page {
    background: #BBB;
    border: none;
    border-radius: 2px;
    box-shadow: none;
    color: #fff;
    font-size: 18px;
    margin: 0 10px;
    text-decoration: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

.paginationjs-pages ul .paginationjs-page.active, .paginationjs-pages ul .paginationjs-page:hover {
    background: #666;
    transition: 0.4s;
}

.paginationjs-prev.disabled, .paginationjs-next.disabled  {
    visibility: hidden;
    pointer-events: none;
}
.paginationjs-prev, .paginationjs-next {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #BBB;
    transition: 0.4s;
    width: 20px;
}
.paginationjs-prev:hover, .paginationjs-next:hover {
    color: #666;
    transition: 0.4s;
}

/* /Paginationjs módosítás */

.gallery-section {
    margin: 100px auto 50px auto;
}

/* ------ /Galéria oldal ------ */

/* ------ Kapcsolat oldal ------ */


.contact-page-contacact-form-section {
    margin-top: 150px;
}

/* ------ /Kapcsolat oldal ------ */

/* ------ Reszponzívitás ------ */

/* Mobil menü */

@media screen and (max-width: 1300px) and (min-width: 1024px) {
    .header-container {
        max-width: 100%;
    }

    .header-list-item-link {
        font-size: clamp(12px, 1vw, 22px);
    }
}

@media screen and (max-width: 1024px){
    .header-transparent {
        background-color: #333;
    }

    .hamburger-menu {
        display: block;
        margin-left: 24px;
        height: 30px;
        width: 25px;
        z-index: 9999;
        position: absolute;
        left: 0;
    }

    .hamburger-menu .bar {
        width: 25px;
        height: 4px;
        background-color: #ccc;
        margin: 5px 0;
        border-radius: 3px;    
        position: absolute;
    }

    .hamburger-menu .bar:nth-child(1) {
        top: 0;
        left: 0;
        opacity: 1;
        transition: 0.4s;
    }

    .hamburger-menu .bar:nth-child(2) {
        top: 10px;
        left: 0;
        transition: 0.4s;
    }

    .hamburger-menu .bar:nth-child(3) {
        top: 20px;
        left: 0;
        opacity: 1;
        transition: 0.4s;
    }

    .hamburger-menu .bar:nth-child(4) {
        position: absolute;
        width: 25px;
        height: 4px;
        background-color: #ccc;
        margin: 5px 0;
        border-radius: 3px;    
        top: 10px;
    }

    .active .hamburger-menu .bar:nth-child(2) {
        transition: 0.4s;
        transform: rotateZ(45deg);
    }

    .active .hamburger-menu .bar:nth-child(4) {
        transition: 0.4s;
        transform: rotateZ(-45deg);
    }

    .active .hamburger-menu .bar:nth-child(1) {
        transition: 0.4s;
        left: -20px;
        opacity: 0;
    }

    .active .hamburger-menu .bar:nth-child(3) {
        transition: 0.4s;
        left: 20px;
        opacity: 0;
    }



    .header-container {
        max-width: 100%;
        flex-direction: row-reverse;
    }

    .header-list-item-link {
        font-size: 16px;
    }

    .header-list {
        position: absolute;
        flex-wrap: wrap;
        left: 0;
        top: 0;
        border-radius: 4px;
        overflow: hidden;   
        max-height: 75px;
        transition: 0.5s!important;
    }

    .header-list {
        width: 10%;
        padding-top: 50px;
    }

    .header-list-item {
        /* height: 0; */
        pointer-events: none;
        visibility: hidden;
        transition: none;
    }

    .active .header-list {
        transition: 0.5s!important;
        width: 30%;
        max-height: 500px;
        border: 2px double #333842;
        background-color: #202020;

    }

    .active .header-list .header-list-item {
        flex-basis: 100%;
        max-height: 50px;
        pointer-events: all;
        visibility: visible;

    }
}

@media screen and (max-width: 510px) {
    .active .header-list {
        width: 100%;
    }
}


/* Mobil menü */

/* Footer */

@media screen and (max-width: 1200px) and (min-width: 1101px) {
    .footer-main-container {
        max-width: 100%;
    }
}

@media screen and (max-width: 1100px) {
    .footer-main-container {
        flex-wrap: wrap;
    }
    .footer-sub-container {
        width: 50%;
        margin-top: 30px;
    }
    
}

@media screen and (max-width: 768px) {
    .footer-main-container {
        flex-wrap: wrap;
    }
    .footer-main-container > * {
        width: 100%;
        margin-bottom: 50px;
    }
    .footer-sub-container {
        padding: 0;
    }
    .footer-contact-list-icon-container {
        padding: 0;
        min-width: 60px;
        margin-right: 10px;
    }
}

/* /Footer */

/* Főoldal */
@media screen and (max-width: 768px) {
    .why-choose-us-item-container > * {
        width: 100%;
    }
    .home-main-text-container {
        padding: 0 5px;
    }
    
}
/* /Főoldal */

/* Kapcsolat form */

@media screen and (max-width: 768px) {
    #contact-form > * {
        width: 100%;
    }
    
}

/* /Kapcsolat form */

/* Product image container */

@media screen and (max-width: 425px) {
    .product-layout-image-container {
        grid-template-columns: auto
    }
}

/* Page hero */

@media screen and (max-width: 425px) {
    .page-hero-navbar {
        padding:15px 5px;
    }    
}
/* ------ /Reszponzívitás ------ */