/********** Template CSS **********/
:root {
    --primary: #3CB815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
}

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

/*** Reszponzív design ***/

/* Mobil eszközök (max-width: 768px) */
@media only screen and (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0.625em;
    }

    .about-container {
        height: auto;
        padding: 1.25em;
    }

    .about-container .row {
        flex-direction: column;
    }

    .about-container .col-lg-9,
    .about-container .col-lg-3 {
        width: 100%;
        padding-right: 0;
    }

    .about-container .text-box {
        padding: 1.25em 0;
    }

    .about-container .image-box {
        width: 100%;
        height: auto;
        margin-bottom: 1.25em;
    }

    .about-container .image-box img {
        width: 100%;
        height: auto;
    }

    .navbar .navbar-nav {
        margin-top: 0.625em;
        border-top: 0.0625em solid #000000b3;
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0.625em 0;
    }
}

/* Tablet eszközök (min-width: 769px és max-width: 1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }

    .about-container {
        height: auto;
        padding: 1.875em;
    }

    .about-container .col-lg-9 {
        width: 70%;
    }

    .about-container .col-lg-3 {
        width: 30%;
    }

    .about-container .image-box {
        width: 100%;
        height: auto;
    }

    .about-container .image-box img {
        width: 100%;
        height: auto;
    }
}

/* Asztali és nagyobb képernyők (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .container {
        max-width: 67.3%;
    }

    .about-container {
        height: 13em;
    }

    .about-container .col-lg-9 {
        width: 75%;
    }

    .about-container .col-lg-3 {
        width: 25%;
    }

    .about-container .image-box {
        width: 15.75em;
        height: 12.9375em;
    }

    .about-container .image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/*** Egyéb stílusok ***/

.about-container {
    border-radius: 1.375em;
    border-bottom: 0.0625em solid #949595;
    margin-top: 1.875em;
    background: #fff;
    overflow: hidden;
}

.about-container .text-box h2 a {
    color: #0685c8;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.5em;
}

.about-container .text-box p {
    margin: 0.625em 0 0.9375em;
    display: block;
    max-height: 5em;
    overflow: hidden;
    color: #546169;
    line-height: 1.25em;
}

.about-container .text-box {
    padding: 1.25em;
}

.about-container .image-box {
    position: relative;
    overflow: hidden;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.about-container .image-box img {
    display: block;
    width: 100%;
    height: auto;
}

.btn-default {
    display: block;
    width: 7.5em;
    height: 1.875em;
    background: #546169;
    border-radius: 0.125em;
    border: 0.0625em solid #546169;
    color: #fff;
    line-height: 1.75em;
    text-align: center;
    text-decoration: none;
    transition: all ease-in-out 0.2s;
}

.btn-default:hover {
    border: 0.0625em solid #546169;
    background: #fff;
    color: #546169;
}

.btn-default i {
    padding-left: 0.3125em;
    font-size: 0.9375em;
    position: relative;
    top: 0.0625em;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background: url(../img/body-top-bg.png) top center no-repeat;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    overflow: auto;
    padding: 1.2500em 0 0;
    color: #d2d3d4;
    display: block;
    background-color: #d2d3d4;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 1.875em;
    bottom: 1.875em;
    z-index: 99;
}

.my-6,
.py-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: all .5s;
    font-size: 1.0625em;
    border-radius: 1.25em;
    border: none;
    cursor: pointer;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 2.375em;
    height: 2.375em;
}

.btn-sm-square {
    width: 2em;
    height: 2em;
}

.btn-lg-square {
    width: 3em;
    height: 3em;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: grid;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .nav-item .dropdown-menu {
    -webkit-transform: rotateX(-75deg);
    -moz-transform: rotateX(-75deg);
    -ms-transform: rotateX(-75deg);
    -o-transform: rotateX(-75deg);
    transform: rotateX(-75deg);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
    transition: all .5s;
}

.fixed-top {
    transition: all .5s;
}

.top-bar {
    height: 2.8125em;
    border-bottom: 0.0625em solid #838383;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 0.5em;
}

.navbar .navbar-nav .nav-link {
    padding: 1.5625em 0.9375em;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 0.625em;
        border-top: 0.0625em solid #000000b3;
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0.625em 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: all .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: all .5s;
        opacity: 1;
    }
}

/* Links inside the navbar */
.navbar a {
    float: left;
    font-size: 1em;
    color: white;
    text-align: start;
    padding: 0.825em 1em;
    text-decoration: none;
}

/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 1em;
    border: none;
    outline: none;
    padding: 1.5625em 0.9375em;
    background-color: inherit;
    font-family: inherit;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover,
.dropdown:hover .dropbtn {
    background-color: #7F807F;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: fixed;
    background-color: #f9f9f9;
    min-width: 10em;
    box-shadow: 0em 0.5em 1em 0em #00000033;
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 0.75em 1em;
    text-decoration: none;
    display: block;
    text-align: start;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (also change the direction - make the "cart" column go on top) */
@media (max-width: 800px) {
    .row {
        flex-direction: column-reverse;

    }

    .col-25 {
        margin-bottom: 1.25em;
    }
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 1.5625em;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 3.75em;
    height: 0.125em;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 5.625em;
    height: 0.125em;
    top: 0.625em;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 0.3125em;
    padding: 0;
    text-align: start;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: all .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 0.625em;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 0.0625em;
    box-shadow: none;
}

.footer .copyright {
    padding: 1.5625em 0;
    font-size: 0.9375em;
    border-top: 0.0625em solid #ffffff1a;
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.footer p {
    color: #3CB815;
    text-align: start;
}

.footer h4 {
    text-align: start;
}

.footer .text-center {
    color: #EEEEEE;
}

.container {
    justify-content: center;
    align-items: center;
    color: black;
    border-radius: 1.25em;
    padding: 0.125em 1em;
    margin: auto;
    max-width: 67.3%;
}

input {
    padding: 0.625em;
    border-radius: 1.25em;
}

label {
    margin-bottom: 0.625em;
    display: block;
    overflow: hidden;
}


/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 6.25em;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: #000000;
    /* Fallback color */
    background-color: #000000e6;
    /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 43.75em;
}


/* Add Animation */
.modal-content,
#caption,
#caption2 {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/*** product.html  other style ***/
table,
td,
th {
    border: 0.0625em solid black;
    text-align: center;
    border-collapse: collapse;
}

th {
    background-color: #09FF00;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #e6e6e6;
    ;
}

tr:hover {
    background-color: #d2d3d4;
}

hr {
    border: 0.8125em solid #000000;
}


/*** index.html style ***/
.slider-container {
    overflow: hidden;
    background: #fff;
    border-bottom: 0.0625em solid #949595;
    -webkit-border-radius: 0.125em;
    -moz-border-radius: 0.125em;
    -ms-border-radius: 0.125em;
    border-radius: 0.125em;
}

.about-container {
    -webkit-border-radius: 0.125em;
    -moz-border-radius: 0.125em;
    -ms-border-radius: 0.125em;
    border-radius: 1.375em;
    border-bottom: 0.0625em solid #949595;
    margin-top: 1.875em;
    height: 13em;
    background: #fff;
    overflow: hidden;
}

.col-lg-9 {
    padding-right: 2.1875em;
}

.col-lg-3 {
    padding-right: 0;
}

.about-container .text-box h2 a {
    color: #0685c8;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.5em;
}

.about-container .text-box p {
    margin: 0.625em 0 0.9375em;
    display: block;
    max-height: 5em;
    overflow: hidden;
    color: #546169;
    line-height: 1.25em;
}

.about-container .text-box {
    padding: 1.25em;
}

.bx-wrapper {
    margin: 0;
    overflow: auto;
    border-radius: 1.375em;
}

.bx-wrapper .bx-viewport {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    left: 0;
    border: 0;
    margin: 0.625em;
    width: 60.5em !important;
}

.bx-wrapper li {
    position: relative;
    height: 23.4375em;
}

.bx-wrapper .image-box {
    position: absolute;
}

.about-container .image-box .image-overlay,
.about-container .image-box .image {
    width: 15.75em;
    height: 12.9375em;
    position: absolute;
    z-index: 100;
}

.bx-wrapper .text-box {
    position: absolute;
    width: 20.625em;
    height: 23.4375em;
    background: #000000cc;
    color: #fff;
    padding: 1.875em;
}

.bx-wrapper .text-box .slider-btn {
    -webkit-border-radius: 0.125em;
    -moz-border-radius: 0.125em;
    -ms-border-radius: 0.125em;
    border-radius: 0.125em;
    -webkit-transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
    border: 0.0625em solid #fff;
    display: block;
    width: 7.5em;
    margin-top: 1.875em;
    padding: 0.375em 0;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.bx-wrapper li {
    position: relative;
    height: 23.4375em;
}

.bx-wrapper .bx-controls-direction a {
    width: 1.0625em;
    height: 1.6875em;
    background: url(../img/slider-arrows.png);
    top: auto;
    bottom: 1.875em;
}

.bx-wrapper .bx-default-pager {
    position: absolute;
    top: 2.1875em;
    left: 1.875em;
    z-index: 9999;
    text-align: start;
    width: 12.5em;
    height: 1em;
    padding-top: 0;
}

.arrow-container {
    margin: 1.875em 0;
    color: #546169;
    text-shadow: 0 0.0625em #fff;
    text-align: center;
}

.arrow-container .content-box {
    position: relative;
}

.map-container {
    border-top: 0.0625em solid #bebebe;
    padding: 1.875em 0;
    background: #fff;
    text-align: center;
}

.wrapper>.map-container {
    margin-bottom: -1.25em;
}

.map-container .content-box {
    height: 22.5625em;
    border-bottom: 0.0625em solid #acacac;
}

.bx-wrapper .bx-default-pager .bx-pager-item a.active {
    background: #fff;
}

.bx-wrapper .bx-controls-direction a {
    right: 1.875em;
    background-position: -1.4375em 0;
}

.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
    top: auto;
    left: auto;
}

.wrapper {
    padding-bottom: 1.25em;
    padding-top: 10%;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/* Remove the gap between images, videos, audio and canvas and the bottom of their containers */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* Allow only vertical resizing of textareas */
.hidden {
    display: none;
    visibility: hidden;
}

.invisible {
    visibility: hidden;
}

/* Clearfix */

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}


/* Box-Sizing default */
*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ArtShop base styles */

::-moz-selection {
    background: #333;
    text-shadow: none;
    color: #fff;
}

::selection {
    background: #333;
    text-shadow: none;
    color: #fff;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.btn-default {
    display: block;
    width: 7.5em;
    height: 1.875em;
    background: #546169;
    border-radius: 0.125em;
    border: 0.0625em solid #546169;
    color: #fff;
    line-height: 1.75em;
    text-align: center;
    text-decoration: none;
    transition: all ease-in-out 0.2s;
    -webkit-transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;

    &:hover {
        border: 0.0625em solid #546169;
        background: #fff;
        color: #546169;
    }

    i {
        padding-left: 0.3125em;
        font-size: 0.9375em;
        position: relative;
        top: 0.0625em;
    }
}


/* cookie  */
.cookies-eu-banner {
    background: #444;
    color: #fff;
    padding: 0.375em;
    font-size: 0.8125em;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.cookies-eu-banner button {
    text-decoration: none;
    background: #222;
    color: #fff;
    border: 0.0625em solid #000;
    cursor: pointer;
    padding: 0.25em 0.4375em;
    margin: 0.125em 0;
    font-size: 0.8125em;
    font-weight: 700;
}

.cookies-eu-banner button:hover {
    background: #fff;
    color: #222;
}

/*** altalanos_jog; impresszum; adatkezeles other style ***/
.boxJog {
    width: 25em;
    margin-left: 7.5em;
}


/*** szolgaltatasok style ***/
.wrapper .left-content {
    background: #fff;

}

.wrapper .left-content,
.wrapper .sidebar .box {
    -webkit-border-radius: 0.125em;
    -moz-border-radius: 0.125em;
    -ms-border-radius: 0.125em;
    border-radius: 1.375em;
    padding: 1.875em;
    border-bottom: 0.0625em solid #aaa;
}

.article-page .meta-box {
    margin-bottom: 2.5em;
    position: relative;

}

.article-page .meta-box>.image-box {
    width: 40%;
    height: 10.75em;
    overflow: hidden;
    float: left;
}

.article-page .meta-box>.text-box {
    width: 60%;
    height: 10.75em;
    overflow: auto;
    float: left;
    background: #eee;
    padding: 1.25em;
    color: #546169;
}

.article-page .meta-box>.text-box p {
    margin: 0.875em 0 0;
    font-size: 0.8125em;
    line-height: 1.125em;
    color: #333;
    max-height: 4.5em;
    overflow: hidden;
}

.article-page .meta-box>.text-box h2 {
    margin: 0 0 0.875em;
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1.5em;
    letter-spacing: -0.02em;
}

.article-page article h1,
.article-page article h2,
.article-page article h3,
.article-page article h4,
.article-page article h5,
.article-page article h6,
.article-page article p,
.article-page article ul {
    margin: 1.25em 0;
}

element.style {
    text-align: justify;
}

.article-page article {
    line-height: 1.375em;
    color: #546169;
}

body h3 {
    font-size: 1.125em;
    line-height: 1.5em;
}

.article-page article ul {
    margin-left: 1.25em;
}

.szolgaltatasH1 {
    padding-bottom: 1.25em;
}

div.wpcf7 {
    margin: auto;
    padding: 0;
    text-align: start;
}

.wrapper form p.info {
    font-style: italic;
    color: #546169;
}


/*** galeria style ***/
span.wpcf7-form-control-wrap {
    position: relative;
}

small {
    font-size: 0.9375em;
}

/*** thx style ***/
.thxa {
    font-size: 1.4375em;
    text-decoration: underline;
    cursor: auto;
    text-decoration-line: underline;
    text-decoration-style: double;
    text-transform: uppercase;
    text-shadow: 0.125em 0.125em 0.3125em #0095FF;
}

/*** hirdetes style ***/
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    color: #b10707;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 40px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #000;
}