/*
Theme Name: IGPark
Theme URI: https://divid.hu
Update URI: false
Author: Bajai Károly
Author URI: https://divid.hu
Description: IGPark FSE sablon
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: igpark
Tags: 
*/

/* css reset */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
	height: auto;
}
/* add class inline to image if float is required*/
input, button, textarea, select {
	font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}
p strong, strong {
	font-weight: 700;
}
#root, #__next {
	isolation: isolate;
}
/* end reset */

html {
    scroll-behavior: smooth;
}

.scroll-to-top-wrapper {
    position: absolute;
    top: 110vh;
    right: 80px;
    bottom: 0;
    width:0;
}
.scroll-to-top-link {
    position: sticky;
    left: calc(100% - 48px);
    top: calc(100vh - 5rem);
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    text-decoration: none;
	z-index: 5;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border: none;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container li {
	background-color: rgba(231,231,232, 0.6);
}
.wp-block-navigation-submenu li a {
	font-size: 18px;
}
header nav .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	padding-top: 52px;
}
header nav .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container ul {
	padding-top: 0px;
}
.wp-block-navigation-submenu li {
	border-bottom: 1px solid black;
}
.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
	min-width: 300px;
}
footer a {
	color: var(--wp--preset--color--base);
}
footer a:hover {
	color: var(--wp--preset--color--accent-2);
}

.elrejteni {
    display: none !important;
}
.elrejt .forminator-label {
    display: none !important;
}
.keret {
    padding-inline: 55px !important;
}
.forminator-ui.forminator-design--material .forminator-button-submit {
    background-color: var(--wp--preset--color--accent-2) !important;
    color: var(--wp--preset--color--contrast) !important;
    border-radius: 0 !important;
    border: 1px solid var(--wp--preset--color--accent-2) !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    padding: 8px 20px 7px 20px !important;
    text-transform: uppercase !important;
    border-radius: 5px !important;
}
.forminator-ui.forminator-design--material .forminator-button-submit:hover {
	background-color: transparent !important;
    color: var(--wp--preset--color--base) !important;
}
.forminator-consent__label p a:visited {
    color: var(--wp--preset--color--base);
}
.forminator-consent__label p a:hover {
    color: var(--wp--preset--color--accent-2);
}
.wp-block-navigation__responsive-container-open {
	width: 40px;
	height: 40px;
}
.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
    width: 40px;
    height: 40px;
}

body #powerTip {
    background-color: #fff;
}
body #powerTip.n:before {
    border-top: 10px solid rgb(255, 252, 252);
}
body #powerTip.s:before {
    border-bottom: 10px solid #fff;
}
body #powerTip.e:before {
    border-right: 10px solid #fff;
}
body #powerTip.w:before {
    border-left: 10px solid #fff;
    right: -10px
}
body #powerTip.ne:before,body #powerTip.nw:before {
    border-top: 10px solid #fff;
    border-top: 10px solid rgba(255,255,255,1);
}
body #powerTip.se:before,body #powerTip.sw:before {
    border-bottom: 10px solid #fff;
    border-bottom: 10px solid rgba(255,255,255,1);
}
body #powerTip.nw-alt:before,body #powerTip.ne-alt:before,body #powerTip.sw-alt:before,body #powerTip.se-alt:before {
    border-top: 10px solid #fff;
    border-top: 10px solid rgba(255,255,255,1);
}
body #powerTip.sw-alt:before,body #powerTip.se-alt:before {
    border-bottom: 10px solid #fff;
    border-bottom: 10px solid rgba(255,255,255,1);
}
body #powerTip .box_view_html {
    color: #000;
}
body #powerTip .box_view_html p {
    margin: 0;
}
body #powerTip .box_view_html span.close_ihp svg {
    fill: #000;
}

.lineafter > div {
    position: relative;
}
.lineafter > div::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -34px;
    width: 2px;
    height: 100%;
    background-color: #000;
}


.wp-block-lcb-logo-carousel .alcb__logo-image img, .wp-block-lcb-logo-carousel.grey .alcb__logo-image img  {
    margin-inline: auto;
}
.wp-block-lcb-logo-carousel.grey .alcb__logo-image img {
    filter: grayscale(100%);
}
.wp-block-lcb-logo-carousel.grey .alcb__logo-image img:hover {
    filter: grayscale(0%);
}

.pozicio-relativ {
    position: relative;
    overflow: hidden;
}
.pozicio-abszolut {
    position: absolute;
    bottom: calc( -100% + 60px );
    left: 0%;
    width: 100%;
    height: 100%;
    transition: bottom 0.5s ease-in-out;
}
@media screen and (max-width: 1200px) {
    .pozicio-abszolut {
        position: relative;
        top: -40px;
        right: 0;
        width: 90%;
        height: 100%;
        transition: none;
        left: 50%;
        transform: translateX(-50%);
    }
}

.wp-block-tiptip-hyperlink-group-block:hover .pozicio-abszolut {
    bottom: 0%;
}
.scale figure {
    overflow: hidden;
}
.scale figure img {
    transition: all 0.5s ease-in-out;
}
.wp-block-tiptip-hyperlink-group-block:hover .scale figure img {
    transform: scale(1.2);
}
figure.wp-block-gallery.scale figure a {
    overflow: hidden;
}
figure.wp-block-gallery.scale figure a img {
    transition: all 0.5s ease-in-out;
}
figure.wp-block-gallery.scale figure a:hover img {
    transform: scale(1.2);
}

/* 2 col right (not equal width) img full, extend content */
.right-img-full {
    position: absolute;
    width: calc( 832px + ( ( 100vw - 1280px ) / 2 ) );
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
}
.right-img-full img {
    overflow: auto;
}
/* end */

/* 2 col right (equal width) img full, extend content */
.right-img-full-equal {
    position: absolute;
    width: calc( 615px + ( ( 100vw - 1280px ) / 2 ) );
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
}
.right-img-full-equal img {
    overflow: auto;
}
/* end */

/* 2 col left (equal width) img full, extend content */
:not(.wp-block) .left-img-full-equal {
    position: absolute;
    width: calc( 615px + ( ( 100vw - 1280px ) / 2 ) );
    right: 0;
    top: 0;
    bottom: 0;
    left: calc( -( 100vw - 1280px ) / 2 );
}
.left-img-full-equal img {
    overflow: auto;
}
/* end */
@media screen and (max-width: 767px) {
    .right-img-full-equal, :not(.wp-block) .left-img-full-equal {
        position: static;
    }
}

:not(.wp-block).wp-block-group.text-spin-wrapper {
    display: block;
    height: 100px;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    gap: 0px;
}
:not(.wp-block).wp-block-group.text-spin-wrapper .wp-block-group {
    flex: 1 0 100%;
    position: relative;
    right: 100%;
    animation: text-spin 12s ease-in-out infinite;
}
:not(.wp-block).wp-block-group.text-spin-wrapper p {
    position: relative;
    left: 15px;
    width: 100%;
    display: block;
    opacity: 1;
}
@keyframes text-spin {
    0% {
        right: 100%;
    }
    2% {
        right: 0%;
    }
    23% {
        right: 0%;
    }
    25% {
        right: -100%;
    }
    27% {
        right: -100%;
    }
    48% {
        right: -100%;
    }
    50% {
        right: -200%;
    }
    52% {
        right: -200%;
    }
    73% {
        right: -200%;
    }
    75% {
        right: -300%;
    }
    77% {
        right: -300%;
    }
    98% {
        right: -300%;
    }
    100% {
        right: -400%;
    }
   
}
/*:not(.wp-block).text-spin-wrapper {
    display: block;
    height: 100px;
    overflow: hidden;
}

:not(.wp-block).text-spin-wrapper p {
    position: relative;
    left: 15px;
    width: 100%;
    height: 100px;
    display: block;
    opacity: 0;
    animation: text-spin 9s ease-in-out infinite;
}
@keyframes text-spin {
    0% {
        transform: translate(-50%, 0px);
        opacity: 0;
    }
    2% {
        transform: translate(0%, 0px);
        opacity: 1;
    }
    31% {
        transform: translate(0%, 0px);
        opacity: 1;
    }
    33% {
        transform: translate(100%, 0px);
        opacity: 0;
    }
    33.1% {
        transform: translate(-50%, -110px);
        opacity: 0;
    }
    35% {
        transform: translate(0%, -110px);
        opacity: 1;
    }
    64% {
        transform: translate(0%, -110px);
        opacity: 1;
    }
    66% {
        transform: translate(100%, -110px);
        opacity: 0;
    }
    66.1% {
        transform: translate(-50%, -222px);
        opacity: 0;
    }
    68% {
        transform: translate(0%, -222px);
        opacity: 1;
    }
    97% {
        transform: translate(0%, -222px);
        opacity: 1;
    }
    99% {
        transform: translate(100%, -222px);
        opacity: 0;
    }
}*/
.text-spin-wrapper p::before {
    position: absolute;
    content: url(../../uploads/2025/02/logo-part.png);
    top: 7px;
    left: -15px;
    width: 21px;
    height: 39px;
}
@media screen and (max-width: 767px) {
    .text-spin-wrapper p::before {
        top: 0px;
    }
}
/*.text-drop-wrapper {
    display: block;
    height: 100px;
    overflow: hidden;
}
.text-drop-wrapper p {
    width: 100%;
    height: 200px;
    display: block;
    opacity: 0;
    animation: text-drop 9s ease-in-out infinite;
}
@keyframes text-drop {
    0% {
        transform: translate(0%, -500px);
        opacity: 0;
    }
    2% {
        transform: translate(0%, -422px);
        opacity: 1;
    }
    31% {
        transform: translate(0%, -422px);
        opacity: 1;
    }
    33% {
        transform: translate(0%, -210px);
        opacity: 0;
    }
    35% {
        transform: translate(0%, -210px);
        opacity: 1;
    }
    64% {
        transform: translate(0%, -210px);
        opacity: 1;
    }
    66% {
        transform: translate(0%, 0px);
        opacity: 0;
    }
    68% {
        transform: translate(0%, 0px);
        opacity: 1;
    }
    97% {
        transform: translate(0%, 0px);
        opacity: 1;
    }
    99% {
        transform: translate(0%, 200px);
        opacity: 0;
    }
    100% {
        transform: translate(0%, -500px);
        opacity: 0;
    }
}*/

.wp-block-post-template ul {
    list-style-type: disc;
    padding-left: 20px;
}

#scrollup {
	position: fixed;
	bottom: 15px;
	right: 15px;
	display: none;
	z-index: 2;
	text-align: center;
}
#scrollup svg {
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    font-size: 25px;
    line-height: 40px;
    color: white;
}
.img-bottom-margin img {
    margin-bottom: -150px;
}

@media screen and (max-width: 767px) {
    .wp-block-navigation-submenu li {
        border-bottom: none;
    }
    :root :where(.wp-block-navigation a:where(:not(.wp-element-button))) {
        font-size: 18px;
    }
    .wp-block-navigation-submenu li a {
        font-size: 16px;
    }
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
        row-gap: 20px
    }
    .lineafter > div::after {
        display: none;
    }
    .wp-container-core-post-template-is-layout-1 {
        grid-template-columns: 1fr !important;
    }
    /* .pozicio-abszolut {
        width: 90%;
    } */
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .wp-container-core-post-template-is-layout-1 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    /* .pozicio-abszolut {
        width: 80%;
    } */
}

@media screen and (max-width: 1023px) {
    .img-bottom-margin img {
        margin-bottom: 0px;
    }
}

.wp-block-gallery.has-nested-images figure.wp-block-image { 
    flex-grow: 0;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
    aspect-ratio: 840 / 476;
}
.projekt-cim {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    padding: 50px;
    padding-left: calc( ( 100vw - 1280px ) / 2 );
}
@media screen and (max-width: 1280px) {
    .projekt-cim {
        padding-left: 20px;
    }
}
.bg-duo {
    background-image: linear-gradient(90deg,rgb(255,255,255) 50%,rgb(106,123,111) 50%);
}
@media screen and (max-width: 767px) {
    .bg-duo {
        background-image: linear-gradient(90deg,rgb(106,123,111) 50%,rgb(106,123,111) 50%);
    }
}

.stk-button:hover .stk-button__inner-text {
    color: var(--wp--preset--color--contrast) !important;
}
a.stk-button:hover {
    background: transparent !important;
}
.stk-button:hover .stk--inner-svg svg:last-child:not(.ugb-custom-icon):not(.stk-custom-icon), 
.stk-button:hover .stk--inner-svg svg:last-child:not(.ugb-custom-icon):not(.stk-custom-icon) :is(g,path,rect,polygon,ellipse) {
    fill: var(--wp--preset--color--contrast) !important;
}

@media screen and (max-width: 800px) {
	/* hamburger button */
	.wp-block-navigation__responsive-container-open  {
	  	display: block !important;
	}
	/* full menu */
	.wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
	  	display: none !important;
	}
}

.home .wp-block-query ul ul {
    list-style: square;
}
/* .leaflet {
    position: fixed;
    top: 240px;
    right: -120px;
    width: 190px;
    z-index: 5;
    display: block;
    transition: right 0.3s ease-in-out;
}
.leaflet p a {
    white-space: nowrap;
    color: var(--wp--preset--color--contrast) !important;
}
.leaflet:hover {
    right: -15px;
}
.leaflet:hover p a {
    color: var(--wp--preset--color--contrast) !important;
} */
.leaflet-uj {
    position: fixed;
    top: 240px;
    /* right: -120px; */
    right: 0px;
    width: 110px;
    z-index: 5;
    display: block;
    /* transition: right 0.3s ease-in-out; */
}
.wp-block.leaflet-uj {
    position: relative;
    width: 120px;
    top: 0;
}
:not(.wp-block) .leaflet-uj a {
    padding-right: 80px;
    word-break: keep-all;
}
:not(.wp-block) .leaflet-uj:hover a {
    color: var(--wp--preset--color--base) !important;
}
@media screen and (max-width: 767px) {
    /* .leaflet {
        top: 250px;
    } */
    .leaflet-uj {
        top: 200px;
    }
}
/* .home h2 {
    position: relative;
} */
/* .home h2::before {
    position: absolute;
    content: url(../../uploads/2025/02/vonal.png);
    top: 7px;
    left: -15px;
    width: 22px;
    height: 41px;
} */

.wp-block .wrap_svl {
    position: relative;
}
.wp-block .tips {
    position: absolute;
}

/*.wp-block-navigation-submenu li a span {
    position: relative;
    padding-right: 30px;
}
.wp-block-navigation-submenu li a span::after {
    position: absolute;
    top: 0px;
    right: 0;
    content: url(../../uploads/2025/02/arrow-right.svg);
    width: 15px;
    height: 13px;
}*/
.home h3.wp-block-post-title {
    position: relative;
    padding-right: 30px;
}
.home h3.wp-block-post-title::after {
    position: absolute;
    top: 0px;
    right: 0;
    content: url(../../uploads/2025/02/arrow-right-gold.svg);
    width: 26px;
}
.polylang_langswitcher {
    list-style: none;
    display: flex;
    margin: 0;
}
.polylang_langswitcher li {
    margin-left: 10px;
    font-size: 18px;
}
@media screen and (max-width: 450px) {
    .wp-block-site-logo img {
        max-width: 140px;
    }
}

/*contact form 7*/
.wpcf7 label, .wpcf7-response-output{
    color: rgb(255, 255, 255);
}
.wpcf7 label a{
    color: rgb(211, 179, 126);
    
}

