/*
Theme Name: Fizess Most
Theme URI: http://demo.zozothemes.com/inzofin/
Template: inzofin
Author: Legow Hosting Kft.
Author URI: https://www.legow.hu/
Description: An Inzofin child theme.
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fizessmost
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

:root {
    --primary-color: #93c021;
    --secondary-color: #3c3c3b;
    --complementary-color: #c52231;
    --white-color: #ffffff;
    --light-gray: #a6a6a1;

    --link-color: var(--primary-color);
    --link-hover-color: var(--secondary-color);

    --menu-color: var(--white-color);
    --menu-hover-color: var(--secondary-color);
    --mobile-menu-color: var(--secondary-color);
    --mobile-menu-active-color: var(--primary-color);

    --footer-link: var(--primary-color);
    --footer-link-hover: var(--white-color);

    --wp--style--global--content-size: 1200px;
	--wp-block-spacer-30: 30px;
    --wp-block-spacer-100: 100px;
    --service-img-height: 150px;
}


/* GENERAL */
.content {
	width: 90%;
	margin: 0 auto;
}

/* Buttons */
.wp-block-button__link {
    padding: calc(.333em + 2px) calc(1.667em + 2px);
}
.wp-block-button__link:hover, .wp-block-file .wp-block-file__button:hover, .wp-block-search .wp-block-search__button:hover {
    background: var(--link-hover-color) !important;
    color: var(--white-color);
}

/* Horizontal decor line*/
.horizontal-line {
    margin-left: 0;
    width: 30%;
}
.wp-block-separator.has-background:not(.is-style-dots) {
    height: 1.5px;
}

/* WEBSITE NAME AND DESCRIPTION */
.main-logo {
    display: none;
}

/* MAIN MENU */
header.inzofin-header {
    position: absolute;
    width: 100%;
    background: transparent;
    z-index: 9000;
}
header.inzofin-header .header-inner .inzofin-main-menu > li > a::before,
header.inzofin-header .header-inner .inzofin-main-menu > li > a::after {
    background: var(--menu-hover-color);
}
.navbar {
    background: transparent;
}
.navbar a,
ul.inzofin-main-menu > li > a, 
ul.inzofin-main-menu > li > .main-logo {
    color: var(--menu-color);
}
.navbar a:hover,
ul.inzofin-main-menu > li > a:hover, 
ul.inzofin-main-menu > li > .main-logo:hover {
    color: var(--menu-hover-color);
}
.navbar-inner {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;

}

/* Search in header */
.nav.pull-right {
    display: none;
}

/* PAGE */
#page {
    width: 100%;
}
.container, .boxed-container, .boxed-container .site-footer.footer-fixed {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}
.alignfull {
    width: 100%;
}

.inzofin-content > .inzofin-content-inner, .search-results .inzofin-content > .inzofin-content-inner {
    padding: 0;
}

/* First block */
.first-block {
    margin-bottom: 0;
}
.first-block #svg1 {
	width: 80%;
}

/* How it works */
#how-it-works {
    margin-top: -40px;
}

/* Services */
#services .wp-block-column {
    padding: .5em 1em;
	height: fit-content;
}
#services .wp-block-cover {
	min-height: 250px;
}
/* Icon */
#services .wp-block-cover img {
    min-height: var(--servive-img-height);
    height: 150px;
}
#services .wp-block-cover .wp-block-cover__image-background {
    object-fit: contain;
}

/* Text hover */
#services .wp-block-column:hover {
    background: var(--primary-color);
    opacity: 0.8;
    transition: all .3s ease; 
}
#services .wp-block-column .wp-block-cover__inner-container {
    opacity: 0;
    transform: translateY(50px);
}
#services .wp-block-column:hover .wp-block-cover__inner-container {
    opacity: 1;
    transition: all .4s ease; 
    transform: translateY(0px);
}

/* Prices */
#prices .wp-block-column {
    padding: 1em 1em;
    border: 1px solid var(--light-gray);
    box-shadow: -3px 3px 5px 1px var(--secondary-color);
	height: 650px;
}
#prices h5.wp-block-heading::first-letter {
    background: var(--secondary-color);
    padding-left: 30px;
}

/* Triangles */
.triangles {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}
.triangles .wp-block-group__inner-container {
    max-width: 100%;
}
.triangles .wp-block-columns:where(.wp-block-columns.is-layout-flex) {
    gap: 0;
}
.triangle-left {
    width: 100%;
    height: 100px;
	background: var(--primary-color);
    clip-path: polygon(0% 0%, 101% 0%, 100% 100%);
}
.triangle-right {
    width: 100%;
    height: 100px;
	background: var(--primary-color);
    clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
}

/* Title of the page */élkemrg
header#page-title {
    display: none;
}
/* Featured image */
.size-large {
    width: 100%;
}

/* FOOTER */
footer.site-footer {
    background: var(--secondary-color);
}
footer.site-footer .footer-middle-wrap a {
    color: var(--footer-link);
}
footer.site-footer .footer-middle-wrap a:hover {
    color: var(--footer-hover-link);
}
.footer-top-wrap,
.footer-middle-wrap {
    margin: 0 auto;
}
.footer-top-wrap .row,
.footer-middle-wrap .row {
    margin-left: 0;
    margin-right: 0;
}
.footer-top-wrap {
    background: transparent;
    border-bottom-color: var(--secondary-color);
}
.footer-middle-wrap {
    border-bottom-color: var(--secondary-color);
}
.footer-middle-wrap .col-lg-3:first-child::before,
.footer-middle-wrap::before {
    background: transparent;
}
.footer-middle-wrap .col-lg-3:first-child::after {
    border-bottom-color: transparent;
}
.site-footer .col-lg-3 .widget {
    margin-bottom: 0;
}
.footer-middle-sidebar #svg1 {
	width: 100%;
}

/* COPYRIGHT */
.copyright-text-wrap {
    display: none;
}
.footer-bottom {
    background: transparent;
}

/* BACK TO TOP */
.back-to-top > i {
    background: var(--primary-color);
}

/* RESPONSIVE */
@media only screen and (max-width: 600px) {
	.content{
		width: 100%;
	}
}

@media only screen and (max-width: 781px) {
    /* Headers */
    h2 { font-size: 2.3em; }
    h3 { font-size: 2em; }
    h4 { font-size: 1.7em; }
    h5 { font-size: 1.5em; }

    /* First block */
    .first-block .wp-block-cover__image-background {
        display: none;
    }
	.first-block .wp-block-column {
        text-align: center;
    }
	.first-block h2 {
        font-size: 2.1em;
    }
    /* Horizontal decor line*/
    .horizontal-line {
        margin-left: auto;
    }
    .first-block .wp-block-button {
        margin: 0 auto;
    }
	
    /* Services */
    /* Text hover */
    #services .wp-block-column {
        margin-bottom: var(--wp-block-spacer-100);
    }
    #services .wp-block-column:hover {
        background: none;
    }
    #services .wp-block-column .wp-block-cover__inner-container,
    #services .wp-block-column:hover .wp-block-cover__inner-container {
        margin-top: var(--wp-block-spacer-30);
		opacity: 1;
        transform: translateY(var(--service-img-height));
		transition: all .4s ease;
		animation-name: fadeUp;
		animation-duration: 1.5s;
		animation-delay: .5s;
    }
	@keyframes fadeUp {
		0% {
			opacity: 0;
			transform: translateY( calc( var(--service-img-height) + 50px ));
		}
		100% {
			opacity: 1;
			transform: translateY( var(--service-img-height) );
		}
    }
		
	/* Prices */
    #prices .wp-block-column {
        height: fit-content;
    }

    /* FOOTER */
    footer.site-footer .container .row{
        text-align: center;
    }
}

.mobile-bar {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .mobile-bar.active {
        display: block;
    }
    /* MOBILE MENU */
    .mobile-bar {
        box-shadow: 0px 0px 20px 0px var(--mobile-menu-color);
    }
    /* Close button */
    .close:active {
        background: var(--mobile-menu-color);
    }
    .close::before, .close::after {
        background: var(--mobile-menu-active-color);
    }
    /* Menu items */
    .mobile-bar li a,
    .mobile-header-items li a {
        color: var(--mobile-menu-color);
    }
    .mobile-header-items li a:hover,
    .mobile-bar li a:hover,
    .mobile-header-items li a:active,
    .mobile-bar li a:active {
        color: var(--mobile-menu-active-color);
    }
    ul.inzofin-mobile-menu li.menu-item:active {
        background: var(--mobile-menu-color);
        color: var(--mobile-menu-active-color);
    }
    .mobile-header-items li a i,
    ul.inzofin-mobile-menu li {
        padding-left: 20px;
    }
    /* Search */
    .mobile-bar-items .input-group .form-control:focus {
        border-color: var(--mobile-menu-active-color) !important;
    }
    .mobile-bar-items .input-group .input-group-btn .btn {
        background: var(--mobile-menu-active-color);
    }
    .mobile-bar-items .input-group .input-group-btn .btn:active {
        background: var(--mobile-menu-color);
    }
    /* Footer */
    .footer-middle-wrap {
        width: 100%;
    }
}

@media only screen and (min-width: 1025px) {

    /* PAGE */
    /* First block */
    .first-block .wp-block-cover__image-background {
/*        -o-object-fit: unset;
        object-fit: unset;*/
    }
	
	.first-block {
		position: relative;
		overflow: visible;
	}
	
	.first-block::after {
		content: ' ';
		height: 150%;
		width: 115%;
		position:absolute;
		top: -1em;
		right: 0;
		background-image: image-set(
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full.png') 1x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-768x349.png') 2x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-1536x699.png') 4x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-2048x932.png') 8x
		);
		background-repeat: no-repeat;
		background-size: contain;
    	background-position: right -5vh;
	}
}

@media only screen and (min-width: 1435px) {

    /* PAGE */
    /* First block */
    .first-block .wp-block-cover__image-background {
/*        -o-object-fit: unset;
        object-fit: unset;*/
    }
	
	.first-block {
		position: relative;
		overflow: visible;
	}
	
	.first-block::after {
		content: ' ';
		height: 140%;
		width: 105%;
		position:absolute;
		top: -1em;
		right: 0;
		background-image: image-set(
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full.png') 1x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-768x349.png') 2x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-1536x699.png') 4x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-2048x932.png') 8x
		);
		background-repeat: no-repeat;
		background-size: contain;
    	background-position: right -10vh;
	}
}

@media only screen and (min-width: 2000px) {

    /* PAGE */
    /* First block */
    .first-block .wp-block-cover__image-background {
/*        -o-object-fit: unset;
        object-fit: unset;*/
    }
	
	.first-block {
		position: relative;
		overflow: visible;
	}
	
	.first-block::after {
		content: ' ';
		height: 142%;
		width: 105%;
		position:absolute;
		top: -1em;
		right: 0;
		background-image: image-set(
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full.png') 1x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-768x349.png') 2x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-1536x699.png') 4x,
			url('https://www.fizessmost.hu/wp-content/uploads/2023/06/homapage-first-graphics-full-2048x932.png') 8x
		);
		background-repeat: no-repeat;
		background-size: contain;
    	background-position: right -15vh;
	}
}


.hidden {
	display: none;
}

.functionality-showcase {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 3em;
    height: 950px;
    background-color: var(--primary-color);
}

.functionality-showcase h2 {
    display: block;
    padding-bottom: 1.5em;
    margin-bottom: 0;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    color: #93c021;
    background-color: white;
}

.functionality-showcase .functions {
    position: relative;
    display: grid;
    grid-template: "a b c" / 1fr 1fr 1fr;
    width: 100%;
}

.functionality-showcase .function {
    width: 100%;
    background-color: white;
}

.functionality-showcase .function[open] {
    width: 100%;
    background-color: var(--primary-color);
    opacity: 1;
}

.functionality-showcase .function:open {
    width: 100%;
    background-color: var(--primary-color);
    opacity: 1;
}

.functionality-showcase .function[open] summary {
    pointer-events: none;
}
.functionality-showcase .function:open summary {
    pointer-events: none;
}

.functionality-showcase .function:hover {
    opacity: .8;
    transition: opacity .3s ease;
}


.functionality-showcase .function[open]:hover {
    opacity: 1;
}

.functionality-showcase .function .details {
    position: absolute;
    background-color: var(--primary-color);
    left: 0;
    width: 100vw;
    min-height: 650px;
    padding: 2em;
    display: grid;
    grid-template: "a b" / minmax(auto, 50%) minmax(auto, 50%);
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 1s;
}

.functionality-showcase .function:open .details
{
    transform: translateY(0);
    opacity: 1;
}

.functionality-showcase details.function[open] .details
{
    transform: translateY(0);
    opacity: 1;
}

.functionality-showcase .details-text {
    padding: 1em;
    font-size: 1.2em;
    line-height: 2em;
    color: black;
}

.functionality-showcase .tab {
    list-style: none;
    padding: 1em;
    text-align: center;
    min-height: 6em;
    position: relative;
}

.functionality-showcase .tab > h3 {
    font-size: 1.5em;
}

.details-images {
    width: 100%;
    display: flex;
    justify-content: center;
}

.slider-container {
    width: 80%;
}

@media only screen and (max-width: 1024px) {
    .functionality-showcase {
        height: auto;
    }

    .functionality-showcase .functions {
        grid-template: "a" 1fr;
        padding-bottom: 2em;
    }

    .functionality-showcase .tab {
        padding: 1em 3.5em;
    }

    .functionality-showcase details.function summary::after
    {
        display: block;
        content: ' ►';
        position: absolute;
        top: 1em;
        right: 3em;
    }

    .functionality-showcase details.function:open summary::after
    {
        content: " ▼";
    }

    .functionality-showcase details.function[open] summary::after{
        content: " ▼";
    }

    .functionality-showcase .function .details {
        position: static;
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding-top: 0;
        align-items: center;
    }

    .functionality-showcase .details-text {
        margin: 0 0 2em 0;
        width: 95%;
        text-align: justify;
    }

    .slider-container {
        width: 95%;
    }
}