/*
Theme Name: MyFive
Theme URI: https://photom.hu/
Author: Hennel Mariann
Author URI: https://photom.hu/rlam
Description: Basic Block Theme by Emese Pocsik
Tags: one-column, custom-colors, custom-menu
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myfive
*/

@media screen and (max-width: 1199px) {
    body {
        font-size: 18px;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
}

body.page-template-default.page:not(.home):not(.front-page) .wp-block-post-title::after,
body.single-referencia .wp-block-post-title::after {
    content: "";
    display: block;
    margin-top: 12px;
    width: 30%;
    border-bottom: 2px solid #49274a;
}

a {
    text-decoration: none;
}

a:hover {
    color: #49274a;
}

aligncenter {
    text-align: center;
}

.floating-button {
    position: fixed;
    top: 40px;
    right: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    background-color: #94618e;
    color: #f8eee7 !important;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    background-color: #94618e;
    color: #49274a !important;
}

@media only screen and (max-width: 768px) {
    .floating-button {
        top: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 14px;
    }
}

img {
    border-radius: 10px;
}

.kismamaruhak-tabs .tab-labels {
    background: #94618e;
    color: #f8eee7;
    border-radius: 1rem;
}

.kismamaruhak-tabs .tab-labels li.active {
    border: solid 1px #94618e !important;
    background: #f8eee7 !important;
    color: #49274a !important;
}

.kismamaruhak-tabs .tab-content {
    border: none !important;
}

.header-btn .custom-btn.btn-5 {
    padding: 0.8rem 0.2rem !important;
    width: 15rem;
}

.sidebar-btn .custom-btn {
    width: 14rem;
    font-size: 16px;
    padding: 0.5rem 0.3rem;
}

/* Főoldal */

.services-columns .wp-block-cover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.services-columns .wp-block-cover:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1200px) {
    .services-columns.wp-block-columns {
        display: flex;
        flex-wrap: wrap !important;
        gap: 24px;
    }

    .services-columns.wp-block-columns > .wp-block-column {
        flex: 0 0 calc(50% - 12px) !important;
        max-width: calc(50% - 12px);
        min-width: 0;
    }
}

@media (max-width: 782px) {
    .services-columns.wp-block-columns > .wp-block-column {
        flex: 0 0 100% !important;
        max-width: 100%;
    }
}


/* =============================================
   WP Lista blokk reset
   ============================================= */
.mainhero-container ul.wp-block-list {
    padding-inline-start: 0 !important;
    margin: 0;
    list-style: none;

    /* Grid */
    display: grid;
    grid-template-columns: 4fr 1fr 2fr 1fr 2fr;
    position: relative;
    overflow: visible !important;
    width: 100%;
}

.mainhero-container ul.wp-block-list > li {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.mainhero-container ul.wp-block-list > li::marker {
    content: none;
}

.mainhero-container ul.wp-block-list > li img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =============================================
   Grid pozicionálás + align-self a nyújtás ellen
   ============================================= */
.mainhero-container ul.wp-block-list > li:nth-child(1) {
    grid-row: 2 / span 4;
    grid-column: 1 / span 3;
    align-self: end;
    z-index: 1;
}

.mainhero-container ul.wp-block-list > li:nth-child(2) {
    grid-row: 1 / span 4;
    grid-column: 3 / span 3;
    align-self: start;
    z-index: 2;
}

.mainhero-container ul.wp-block-list > li:nth-child(3) {
    grid-row: 4 / span 3;
    grid-column: 2 / span 4;
    align-self: end;
    z-index: 3;
}

/* =============================================
   Külső wrapper – max-height ide kerül
   CSS osztály: main-hero
   ============================================= */
.main-hero {
    overflow: visible;
    max-height: none;
    padding-bottom: clamp(80px, 8vw, 160px);
}

/* =============================================
   Oszlopok blokk
   CSS osztály: hero-columns
   ============================================= */
.hero-columns > .wp-block-column {
    min-width: 0;
}

/* =============================================
   Reszponzív
   ============================================= */
@media only screen and (max-width: 900px) {
    .main-hero {
        max-height: none;
    }

    .hero-columns {
        flex-direction: column;
    }
}

/* Mobilon teljes szélesség */
@media only screen and (max-width: 540px) {
    .wp-block-image.alignright {
        float: none;
        max-width: 100%;
        margin: 0 0 1rem 0;
    }
}


.mainhero-buttonbox {
    clear: both;
}

/*FAQ-blokkok*/
.faq-label {
    cursor: pointer;
    margin: 0;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: #94618e !important;
    margin-bottom: 8px;
    border-radius: 1rem;
}

.wp-block-cb-faq {
    margin: 0.5rem 0;
}

.faq-label h3 {
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    color: #f8eee7;
}

.faq-label h3:hover {
    color: #49274a;
}

.faq-label:after {
    background: #f8eee7 !important;
}

.faq-content {
    display: none;
    padding: 0 1rem;
    border: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 1rem;
}

.faq-content a {
    color: #94618e;
    text-decoration: none;
}

.faq-content a:hover {
    color: #49274a;
}

/* Fotózás landing oldalak */

.hero-sub {
    position: relative;
    margin-bottom: -5rem;
}

.hero-sub:before {
    content: "";
    background: #e2decd;
    display: block;
    top: 15%;
    right: 0;
    width: 80%;
    height: 50%;
    position: absolute;
}

.photo-hero {
    margin-top: -3rem;
    padding-top: 0;
}

.photo-hero ul li::marker {
    color: transparent;
}

.photo-hero ul {
    display: grid;
    grid-template-columns: 1fr 2fr 3fr;
    max-width: 680px;
    position: relative;
}

.photo-hero li:nth-child(1) {
    grid-row: 1 / span 4;
    grid-column: 2 / span 2;
}


.photo-hero li:nth-child(2) {
    grid-row: 3 / span 4;
    grid-column: 1 / span 3;
    z-index: 2;
}

.photo-titlebox {
    padding-top: 10%;
}

.photo-title {
    position: relative;
    background: #c9b7bc;
    padding: 50px;
    text-align: left;
}


@media screen and (max-width: 767px) {
    .hero-sub {
        position: relative;
        margin-bottom: -3rem;
    }

    .hero-sub:before {
        width: 90%;
    }

    .photo-titlebox {
        padding-top: 0;
        margin-top: -2rem;
        margin-bottom: 4rem;
    }

    .photo-hero {
        padding-top: 0;
    }
}



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

    .photo-hero ul,
    .elony-box ul {
        display: block;
        max-width: 100%;
    }

    .photo-hero li img,
    .elony-box li img {
        width: 100% !important;
    }

    .hero-sub {
        margin-bottom: 0;
    }
}

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

.process-card {
    width: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
}

@media (max-width: 781px) {
    .process-card {
        min-height: 250px;
    }

}

.process-card__number {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.2;
}


.photostudio {
    clear: both;
}

/*Női fotózás aloldal */
/* Columns stacking – tablet és kisebb képernyőkön */
@media (max-width: 1024px) {
    .wp-block-columns.is-not-stacked-on-mobile {
        flex-wrap: wrap !important;
    }

    .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column {
        flex-basis: 100% !important;
        min-width: 100% !important;
    }

}

.noi-fotozas-card {
    min-height: 1300px;
}

/* Csomagok - táblák */

.artabla {
    padding: 0 1.5rem;
}

.price-post {
    margin: 5px;
}

.price-container {
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    -ms-transition: color 1s ease;
    -o-transition: color 1s ease;
    display: inline;
    position: relative;
    z-index: 2;
    text-decoration: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-user-select: none;
    user-select: none;
    padding: 15px;
    transition: color 1s ease;
    box-shadow: 1px 3px 10px 1px rgba(0, 0, 0, 0.6)
}

.price-container:hover {
    color: 49274a;
}

.price {
    padding: 0 1rem 1rem 1rem;
}

.price-post table thead {
    background: #49274a !important;
    color: #f8eee7 !important;
    text-align: center;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
}

.price-post table thead tr th {
    font-weight: 400 !important;
}

.valaszthato-studio a {
    color: #94618e;
}

.valaszthato-studio a:hover {
    color: #49274a;
}

.valaszthato-studio ul li {
    list-style-type: none;
}


/* Oktatás oldal */

.oktatas-ikon {
    background-color: #C9B7BC;
    border-radius: 50%;
}

.oktatas-ikon img {
    padding: 0.7rem;
}

.oktatas-why {
    min-height: 100px;
}

/* Blog */

.wp-block-post-excerpt__more-text a span {
    color: #f8eee7;
}

.wp-block-post-excerpt__more-text a span:hover {
    color: #957083;
}

.bejegyzes-mintasablon li {
    padding: 1.5rem;
    box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -webkit-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    -moz-box-shadow: 1px 3px 7px rgba(40, 34, 24, 0.3);
    background: #49274a;
    border-radius: 5px;

}

.bejegyzes-mintasablon li a,
.bejegyzes-mintasablon li p {
    color: #f8eee7;
    border-radius: 5px;

}

.bejegyzes-mintasablon .wp-block-post-terms a,
.wp-block-tag-cloud a {
    color: #94618e;
    padding: 0;
    margin-right: 0.6rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.bejegyzes-mintasablon .wp-block-post-terms a:hover {
    color: #f8eee7;
    transform: translateY(-2px);
}

.wp-block-tag-cloud a:hover {
    color: #49274a;
    transform: translateY(-2px);
}

.bejegyzes-mintasablon .wp-block-post-terms a::after,
.wp-block-tag-cloud a::after {
    content: "|";
    color: #94618e;
    margin-left: 0.6rem;
}

.bejegyzes-mintasablon .wp-block-post-terms a:last-of-type::after,
.wp-block-tag-cloud a:last-of-type::after {
    content: "";
    margin-left: 0;
}


.bejegyzes-mintasablon .wp-block-post-terms a::after {
    content: "|";
    color: #94618e;
    margin-left: 0.6rem;
}

.bejegyzes-mintasablon .wp-block-post-terms a:last-of-type::after {
    content: "";
    margin-left: 0;
}

@media screen and (max-width: 767px) {
    .blog-kiemeltkep img {
        object-fit: contain !important;
        height: auto !important;
    }

    .blog-kiemeltkep {
        height: auto !important;
    }
}


.single-post-layout {
    padding-bottom: 4rem;
    padding-top: 0;
    margin-top: 0;
}

.post-hero {
    padding: 9rem 1.5rem !important;
    background: #c9b7bc;
    margin-top: 0;
}

.post-hero .wp-block-post-title {
    max-width: 920px;
    margin: 0 auto;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.95;
}

.post-shell {
    padding: 0 1.5rem;
    margin-top: -4.5rem;
    position: relative;
    z-index: 1;
}

.post-grid {
    gap: 2rem;
    align-items: flex-start;
}

.post-sidebar-left,
.post-sidebar-right {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}

.post-card,
.sidebar-box,
.author-box {
    background: #f8eee7;
    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.04),
        0 12px 30px rgba(0, 0, 0, 0.08);
}

.post-card {
    padding: 2rem;
    border-radius: 18px;
}

.sidebar-box {
    padding: 1.5rem;
    border-radius: 14px;
    font-size: 1rem;
}

.author-box {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: 14px;
}

.post-card .wp-block-post-featured-image {
    margin-bottom: 1.5rem;
}

.post-card .wp-block-post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.post-meta-row {
    margin-bottom: 1.75rem;
    min-height: 24px;
}

/* TOC a post contentből a bal oldali sávba */
.post-sidebar-left .wp-block-rank-math-toc-block {
    margin: 0;
}

.post-card .wp-block-rank-math-toc-block {
    display: none;
}

@media (max-width: 1100px) {
    .post-grid {
        flex-wrap: wrap !important;
    }

    .post-sidebar-left {
        flex-basis: 100% !important;
        order: 1;
        position: static;
    }

    .post-main {
        flex-basis: 100% !important;
        order: 2;
    }

    .post-sidebar-right {
        flex-basis: 100% !important;
        order: 3;
        position: static;
    }
}

@media (max-width: 768px) {
    .post-hero {
        padding: 2rem 1rem 1.25rem;
    }

    .post-shell {
        padding: 0 1rem;
    }

    .post-card {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .sidebar-box,
    .author-box {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .post-card .wp-block-post-featured-image img {
        border-radius: 10px;
    }
}

/* TOC sidebar – stílusok */
.post-sidebar-left .wp-block-rank-math-toc-block nav ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.post-sidebar-left .wp-block-rank-math-toc-block nav ul li {
    padding: 4px 0 4px 10px;
    border-left: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.post-sidebar-left .wp-block-rank-math-toc-block nav ul li a {
    font-size: 16px;
    color: #49274a;
    text-decoration: none;
    display: block;
}

.post-sidebar-left .wp-block-rank-math-toc-block nav ul li a:hover {
    color: #94618e;
}

.post-sidebar-left .wp-block-rank-math-toc-block nav ul li.toc-active > a {
    color: #94618e;
    font-weight: 600;
}

.post-sidebar-left .wp-block-rank-math-toc-block nav ul li.toc-active {
    border-left-color: #94618e;
}

/* Footer */
footer {
    background: #49274a;
    color: #f8eee7;
}

footer .wp-block-columns {
    padding-left: 0 !important;
}

footer li.contact-phone a span:before,
footer li.contact-mail a span:before {
    display: none;
}

footer h3 {
    text-transform: none !important;
}

.vl {
    border-left: 2px solid #f8eee7;
    height: 550px;
    min-height: 200px;
    padding-left: 2rem !important;
}

.vl h3 {
    color: #f8eee7;

}

.vl a {
    text-decoration: none;
}

@media screen and (max-width: 781px) {
    .vl {
        border-left: none;
        margin-top: 0 !important;
        height: 100% !important;
    }

    footer .socials {
        text-align: center !important;
    }

    .footer-menu,
    .footer-menu a {
        text-align: center !important;
    }

    footer .wp-block-columns {
        padding-right: 0 !important;
    }
}

.page-id-43 .footer-lila {
    display: none;
}

.gotop {
    width: 3rem;
    height: 3rem;
    line-height: 2rem;
    background: #957083;
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 15%);
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

.gotop:hover {
    border: solid 1px #281822;
}

.gotop svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.gotop svg path {
    fill: #ffffff;
}


.portrait-ref-card {
    display: flex;
    justify-content: center;
}


/* Főoldal */

.main-hero:before {
    content: "";
    background: #e2decd;
    display: block;
    top: 15%;
    left: 0;
    width: 80%;
    height: 50%;
    position: absolute;
}

.main-hero {
    position: relative;
}

.mainhero-title {
    position: relative;
}


.mainhero-container {
    margin-top: -30px !impratant;
}

.mainhero-container ul li::marker {
    color: transparent !important;
}

.mainhero-container ul {
    display: grid;
    grid-template-columns: 4fr 1fr 2fr 1fr 2fr;
    position: relative;
    overflow: hidden;
    max-height: clamp(1000px, 70vh, 800px);
}

.mainhero-container ul > * {
    max-width: 680px;
}

.mainhero-container ul img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 2 / 3;
}

.mainhero-container li:nth-child(1) {
    grid-row: 2 / span 4;
    grid-column: 1 / span 3;
}

.mainhero-container li:nth-child(2) {
    grid-row: 1 / span 4;
    grid-column: 3 / span 3;
    z-index: 2;
}

.mainhero-container li:nth-child(3) {
    grid-row: 4 / span 3;
    grid-column: 2 / span 4;
    z-index: 2;
}

.focim {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Vertikálisan rotáló szöveg főcímben */
@keyframes vertical {
    0% {
        opacity: 0;
    }

    4% {
        opacity: 0;
        -webkit-transform: rotateX(-180deg);
        transform: rotateX(-180deg);
    }

    10% {
        opacity: 1;
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    38% {
        opacity: 1;
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    45% {
        opacity: 0;
        -webkit-transform: translateY(-90px);
        transform: translateY(-90px);
    }

    80% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.verticalflip {
    font-size: 2rem;
    font-weight: 500;
    padding-bottom: 15%;
    text-transform: uppercase;
    text-align: center;
}

.verticalflip span {
    animation: vertical 7.5s linear infinite 0s;
    -ms-animation: vertical 7.5s linear infinite 0s;
    -webkit-animation: vertical 7.5s linear infinite 0s;
    color: var(--lila);
    position: absolute;
    opacity: 0;
    right: 0;
    left: 0;
    padding: 3px;
}

.verticalflip span:nth-child(2) {
    -ms-animation-delay: 2.5s;
    -webkit-animation-delay: 2.5s;
    animation-delay: 2.5s;
}

.verticalflip span:nth-child(3) {
    -ms-animation-delay: 5s;
    -webkit-animation-delay: 5s;
    animation-delay: 5s;
}

/* Szolgáltatások blokk */
.mainpage-2,
.mainpage-6 {
    background: linear-gradient(#e2decd, #e2decd) right bottom/100% 85% no-repeat;
    position: relative;
}

.mainpage-textblock {
    min-height: 100px;
}

@media screen and (max-width: 767px) {
    .mainpage-textblock {
        padding-top: 0;
    }
}

.mainpage-4 {
    background: linear-gradient(#c9b7bc, #c9b7bc) right bottom/100% 85% no-repeat;
    position: relative;
}

.lila-box {
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.other span {
    color: #e2decd;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-left: 5%;
}

.other svg {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.other path {
    fill: #e2decd;
}

/* Oktatás aloldal */

@media screen and (max-width: 781px) {
    .oktatas-hero .mainpage-textblock {
        padding-top: 0 !important;
    }

    .oktatas-kor {
        min-height: 100px !important;
    }
}

/* Karácsonyi fotózás aloldal ÷/
/* Easy appointment plugin */
.xmas-form {
    display: none !important;
}


.booking {
    background: #4b234a;
    padding: 90px 5vw;
    display: flow-root;
}

.booking .wp-block-group__inner-container {
    display: flow-root;
}

.booking .ea-bootstrap,
.booking .ea-bootstrap * {
    box-sizing: border-box;
}

.booking .ea-bootstrap {
    clear: both;
    width: 100%;
    max-width: 1200px;
}

.booking .ea-bootstrap .form-horizontal .control-label {
    text-align: left !important;
}

.booking .ea-bootstrap label {
    font-size: 1.2rem;
    font-weight: normal;
}

.booking .ea-bootstrap .ea-label {
    font-size: 1rem !important;
}

.booking .ui-datepicker a:hover,
.booking .ui-datepicker td:hover a {
    color: #49274a !important;

}

.booking .ui-datepicker .ui-datepicker-current-day {
    background-color: #c9b7bc !important;
}

.booking .ea-bootstrap.ea-bootstrap .selected-time,
.booking .ea-bootstrap.ea-bootstrap .selected-time:hover {
    background-color: #49274a !important;
    color: #f8eee7 !important;
}


#booking-overview {
    font-size: 1.2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.booking .ea-bootstrap .btn-primary {
    color: #f8eee7 !important;
    background-color: #94618e !important;
    border-color: #94618e !important;
    padding: 1rem 0.5rem;
    font-size: 1.2rem;
}

.booking .ea-bootstrap {
    word-wrap: break-word;
}

.booking .ea-bootstrap .disabled .block {
    border-radius: 10px;
}

.ea-bootstrap button.ea-submit.btn-primary.booking-button {
    min-width: 14rem;
    max-width: 100%;
    padding: 1rem 2rem !important;
    box-sizing: border-box;

    background: #94618e !important;
    color: #f8eee7 !important;
    border: none !important;

    font-family: inherit;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.1rem;

    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;
}

.ea-bootstrap button.ea-submit.btn-primary.booking-button:hover {
    background: transparent !important;
    color: #94618e !important;
}

.ea-bootstrap button.ea-submit.btn-primary.booking-button::before,
.ea-bootstrap button.ea-submit.btn-primary.booking-button::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 0;
    background: #94618e;
    transition: 400ms ease all;
}

.ea-bootstrap button.ea-submit.btn-primary.booking-button::after {
    right: auto;
    top: auto;
    left: 0;
    bottom: 0;
}

.ea-bootstrap button.ea-submit.btn-primary.booking-button:hover::before,
.ea-bootstrap button.ea-submit.btn-primary.booking-button:hover::after {
    width: 100%;
    transition: 800ms ease all;
}

/* Lightbox záró X */
.glightbox-clean .gclose {
    width: 3rem !important;
    height: 3rem !important;

}

/* Karácsonyi fotózás oldal */
/* customizable snowflake styling */
.snowflake {
    color: #fff;
    font-size: 3em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
}

@-webkit-keyframes snowflakes-fall {
    0% {
        top: -10%;
    }

    100% {
        top: 100%;
    }
}

@-webkit-keyframes snowflakes-shake {
    0% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }

    50% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px);
    }

    100% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
}

@keyframes snowflakes-fall {
    0% {
        top: -10%;
    }

    100% {
        top: 100%;
    }
}

@keyframes snowflakes-shake {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(80px);
    }

    100% {
        transform: translateX(0px);
    }
}

.snowflake {
    position: fixed;
    top: -10%;
    z-index: 9999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    -webkit-animation-name: snowflakes-fall, snowflakes-shake;
    -webkit-animation-duration: 10s, 3s;
    -webkit-animation-timing-function: linear, ease-in-out;
    -webkit-animation-iteration-count: infinite, infinite;
    -webkit-animation-play-state: running, running;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
}

.snowflake:nth-of-type(0) {
    left: 1%;
    -webkit-animation-delay: 0s, 0s;
    animation-delay: 0s, 0s;
}

.snowflake:nth-of-type(1) {
    left: 10%;
    -webkit-animation-delay: 1s, 1s;
    animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(2) {
    left: 20%;
    -webkit-animation-delay: 6s, .5s;
    animation-delay: 6s, .5s;
}

.snowflake:nth-of-type(3) {
    left: 30%;
    -webkit-animation-delay: 4s, 2s;
    animation-delay: 4s, 2s;
}

.snowflake:nth-of-type(4) {
    left: 40%;
    -webkit-animation-delay: 2s, 2s;
    animation-delay: 2s, 2s;
}

.snowflake:nth-of-type(5) {
    left: 50%;
    -webkit-animation-delay: 8s, 3s;
    animation-delay: 8s, 3s;
}

.snowflake:nth-of-type(6) {
    left: 60%;
    -webkit-animation-delay: 6s, 2s;
    animation-delay: 6s, 2s;
}

.snowflake:nth-of-type(7) {
    left: 70%;
    -webkit-animation-delay: 2.5s, 1s;
    animation-delay: 2.5s, 1s;
}

.snowflake:nth-of-type(8) {
    left: 80%;
    -webkit-animation-delay: 1s, 0s;
    animation-delay: 1s, 0s;
}

.snowflake:nth-of-type(9) {
    left: 90%;
    -webkit-animation-delay: 3s, 1.5s;
    animation-delay: 3s, 1.5s;
}

/* Location section */

.xmas-idopontok {
    display: none !important;
}



#locations {
    position: relative;
}

#locations::before {
    content: "";
    position: absolute;
    inset: 0;
    top: -18vw;
    left: -1vw;
    background: url("img/karacsonyfa.svg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 35vw;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-20deg);
    transform-origin: center center;
}

#locations > * {
    position: relative;
    z-index: 1;
}

@media only screen and (max-width: 1024px) {
    #locations::before {
        display: none;
    }
}
