/*!
Theme Name: Gégény
Theme URI: https://them.es/starter
Author: 
Author URI: 
Description: 
Version: 3.7.0
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: gegeny
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
    width: 100%;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
    width: 100%;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition:
		filter 0.2s ease-in,
		-webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.legacy-article h2 > a {
	font-size: inherit;
}

/* THEME CUSTOMIZATIONS */

/* szechenyi */

body {
	overflow-x: hidden;
}

hr.green-2 {
    border-top: 2px solid #c8d971;
    opacity: 1;	
	margin-bottom: 0;
}

#scroll-top {
  position: fixed;
  bottom: 280px;
  right: 15px;
  z-index: 99;
  font-size: 22px;
  border: none;
  outline: none;
  background: #c66765;
  color: #fff;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  line-height: 50px;
  text-align: center;
  box-shadow: 0 3px 24px rgb(0 0 0 / 10%);
  transition: all .5s ease-in-out;
}

.sz_plus,.sz_2020 {
    display: none;
    position: fixed;
    z-index: 1;
}
.sz_plus {
    bottom:0;
    left:0;    
}

.sz_plus img {
    height: auto;
    width: 400px;
}

.sz_2020 {
    bottom:0;
    right:0;    
}

.sz_2020 img {
    height: auto;
    width: 400px;
}

.close-btn,.close-btn-2020 {
	position: absolute;
    display: inline-block;
    height: 25px;
    width: 25px;
    text-align: center;
    vertical-align: top;
    color: #fff;
    background-color: #c66765;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    text-decoration: none;
    margin-left: -10px;
    margin-top: -12px;
    line-height: 20px;
    border:none;
    padding:0;
    padding-bottom: 5px;
}
.close-btn-2020 {
    position: absolute;
    right: 0;
}

button.close-btn {
    left: 12px;
    top: -15px;
}

.sz_plus.show,.sz_2020.show {
  display: block !important;
}

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

	.sz_plus, .sz_2020 {
		width: 48%;
	}

    .sz_2020 img,
	.sz_plus img {
        height: auto;
		max-width: 100%;
    }

    .close-btn-2020 {
        top: -10px;
    }

    #scroll-top {
        bottom: 40vw;
    }

}

.header-date .date {
	text-transform: capitalize;
}

/* logo */
.brand img {
    width: 260px;
    max-width: 100%;
    height: auto;
}

/* fejlec */
.header-inner {
    min-height: initial;
    padding: 8px 28px;
}

.section-heading {
    margin-left:-32px;
}

.header-date {
    width: auto;
}

.header-contact {
    width: auto;
}

.header-contact ul {
    list-style: none;
    padding-left:0;
}

.header-contact ul li i {
    background: #c8d971;
    color: #fff;
    padding: 5px;
    margin-right: 15px;
}

.header-contact ul li.tel i {background-color: #616F78;}
.header-contact ul li.email i {background-color: #c8d971;}
.header-contact ul li.fb i {background-color: #FDB874;}

.header-contact a,
.site-footer a {
    text-decoration: none;
}

.header-contact a:hover,
.site-footer a:hover {
    text-decoration: underline;
}

.site-header {
	padding-bottom: 5px;
}



.main-nav .nav-link {
    font-weight: bold;
	text-transform: uppercase;
}

.main-nav .two-line {
    line-height: 1.3;
    white-space: normal;
}

.main-nav .nav-item {
	flex:min-content;
}

.main-nav .nav-link:hover, 
.main-nav .nav-link:focus
{
    color: #fff;
    background-color: #5d6e06;
}

.main-nav .nav-link.current
{
    color: #fff;
    background-color: #928072;
}

.main-nav .dropdown-item:hover {
    color: #fff;
    background: #928072;
}

.main-nav .current-menu-parent > .nav-link,
.main-nav .current-menu-parent .dropdown-item.current {
	color: #fff;
	background-color: #928072;
}


.main-layout .section-heading {
    padding:0;
    margin-top: 24px;
}

.main-layout .section-heading > * {
    display: block;
    padding: 14px 28px 12px;
    line-height: 1.1;
}

.main-layout .section-heading h1,
.main-layout .section-heading h2
{
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.legacy-article {
    padding: 22px 30px 0px 22px;
}

.article-image {
    max-width: 275px;
    width: 100%;
    height: auto;
}

article.project .article-image {
    max-width: 360px;
    width: auto;
    height: auto;
}

hr.article-spacer {
    margin: 1rem 34px;
    border-top: 3px solid #c66765;    
}

.site-footer p {
    font-size: 13px;
    line-height: 1.8;
}

.copyright {
    font-size: 12px;
}

.main-layout {
	display: flex;
	gap: initial;
    /* margin-bottom: 10px; */
}

/* teszt */
.main-layout {
    /* margin-top: -10px; */
    /* margin-bottom: 0; */
    /* padding-top: 15px; */
    padding-bottom: 15px;
}


.main-layout .content-column .section-heading:first-of-type {
    margin-top: 0;
}


body:not(.home) .main-layout .section-heading {
margin-top: 0;
margin-right: -12px;
}

/* WordPress lapozó formázása Bootstrap 5 -re */
.wp-bootstrap-pagination ul.page-numbers {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content: center; 
    gap:15px;
}

.wp-bootstrap-pagination ul.page-numbers li {
    margin: 0;
}

.wp-bootstrap-pagination ul.page-numbers .page-link, 
.wp-bootstrap-pagination ul.page-numbers a.page-numbers,
.wp-bootstrap-pagination ul.page-numbers span.page-numbers {
    position: relative;
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    color: #fff; 
    text-decoration: none;
    background-color: #c8d971;
    border: 1px solid #fff;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Hover  */
.wp-bootstrap-pagination ul.page-numbers a.page-numbers:hover {
    color: #fff;
    background-color: #5D6E06;
    border-color: #5D6E06;
}

/* Aktív  */
.wp-bootstrap-pagination ul.page-numbers span.current {
    z-index: 3;
    color: #fff;
    background-color: #928072; 
    border-color: #928072;
}

/* Első és utolsó elemek lekerekítése (opcionális) */
.wp-bootstrap-pagination ul.page-numbers li:first-child .page-numbers {
    /* border-top-left-radius: 0.375rem; */
    /* border-bottom-left-radius: 0.375rem; */
}
.wp-bootstrap-pagination ul.page-numbers li:last-child .page-numbers {
    /* border-top-right-radius: 0.375rem; */
    /* border-bottom-right-radius: 0.375rem; */
}

/* "menü" felirat mobilmenü mellett */
.site-header nav.navbar > div > span {
    font-size: 12px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    padding-left:18px;
    color: #464f16;
}

.single .link-back {
    color:#c66765;
}

/* Általános oldalak */

.generic-page .content {
    color: rgb(67, 77, 86);
    font-size: 14px;
    line-height: 23px;
}

.generic-page .content .row {
    margin-bottom: 25px;
}

.generic-page .content .page-content-inner {
    margin:0 4px;
}

.generic-page .content .page-content-inner a {
 color: #0000ee
}

.generic-page .content .page-content-inner li {
 line-height: 2.0;
}

.generic-page .content .page-content-inner li a {
 color: rgb(67, 77, 86);
}

.generic-page .content .page-content-inner li a:hover {
 color: #c66765;
}

.faz-revisit-bottom-left {
    bottom:150px !important;
}

.generic-page .content .page-content-inner p a {
 color: rgb(67, 77, 86);
}

.generic-page .content .page-content-inner p a:hover {
 color: #c66765;
}


/**/

@media (min-width: 768px) {
	.content-column {
		border-right: 2px solid #e6e6e6;	
	}

    /* szürke sáv aloldalakra, mint főoldalon */

    body:not(.home) .section-column {
        border-right: 2px solid #e6e6e6;
        padding-right:24px;
    }

}

@media (min-width: 991px) {
	.header-contact-wrapper {
	border-left: 2px solid #e6e6e6;	
	}

}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px;
    }

}

@media (max-width: 1260px) {
    .site-footer {
        margin: 0 auto;
		width: calc(100% - 32px);
        /* padding: 0 36px; */
    }

}

@media (max-width: 1199px) {
    .main-nav .nav-link {
        font-size: 12px;
    }

}

@media (max-width:991px) {

    body.page-template-pagetemplate-homepage .pagecontent > h2 {
        margin-left: -12px;
        margin-right: -12px;
        padding-left:48px !important;
    }

    body.page-template-pagetemplate-homepage .pagecontent > h2:after {
        display: none;
    }

    .site-shell {
      
    } 

    .section-heading {
        margin-left:-12px;
        margin-right: -12px;
    }

    /* cimsor elotti diszites */
    .section-heading::after { 
        display: none;
    }   

    .header-contact {
        text-align: left;
        line-height: 2.8;
        padding:0;
        margin:0;
        border:0;

    }

}



@media (max-width: 767px) {
	.site-footer {
		width: 100%;
	}

    .quote {
        font-size: 15px;
    } 

    .page-content-inner > .row > .col-md-6 > img {
        padding-bottom: 20px;
    }    

    .legacy-article {
        padding: 22px 12px 0px 12px;
    }

    /* TESZT BETÜMÉRET MOBILRA */  
    .generic-page .content {
        font-size: 15px;
    }    

}


/* SZIN TESZTEK */

 .section-heading-brown {
    background: var(--color-header-one);
}
.section-heading-green {
    background: var(--color-header-two);
}

.main-nav,
.main-nav .nav-item {
    background-color: var(--color-primary);
}

.main-nav .current-menu-parent > .nav-link, 
.main-nav .current-menu-parent .dropdown-item.current,
.main-nav .nav-link.current {
    background-color: var(--color-secondary);
}

.main-nav .nav-link:hover, .main-nav .nav-link:focus {
    background-color: var(--color-menu-hover-one);
}

.main-nav .dropdown-item:hover {
    background-color: var(--color-menu-hover-second);
}

body.page-template-pagetemplate-homepage .pagecontent > h2 {
    background: var(--color-header-third) !important;
}

.wp-bootstrap-pagination ul.page-numbers .page-link, .wp-bootstrap-pagination ul.page-numbers a.page-numbers, .wp-bootstrap-pagination ul.page-numbers span.page-numbers {
    background-color: var(--color-pagin-base);
}

.wp-bootstrap-pagination ul.page-numbers span.current {
    background-color: var(--color-pagin-active);
}

.wp-bootstrap-pagination ul.page-numbers a.page-numbers:hover {
    background-color: var(--color-pagin-hover);
    border-color: var(--color-pagin-hover);    
}



/* KEZDOOLDAL TARTALMA SIMA EDITORRAL */

body.page-template-pagetemplate-homepage .pagecontent > h2 {
    padding: 0;
    margin-top: 24px;
    margin-left: -32px;
    background: var(--gegeny-red);  
    margin-top: 34px;  

    position: relative;
    min-height: 50px;
    padding: 14px 28px 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;    

}

body.page-template-pagetemplate-homepage .pagecontent > h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 28px;
    height: 12px;
    background: url(assets/images/title_corner.png) left top / auto 12px no-repeat;
}

body.page-template-pagetemplate-homepage .pagecontent > hr {
    border-top: 2px solid #c8d971;
    opacity: 1;
    /* margin-bottom: 0;     */
}

body.page-template-pagetemplate-homepage .pagecontent > h3 {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 700;
    color: var(--gegeny-text);
}

body.page-template-pagetemplate-homepage .pagecontent > *:not(div) {
    padding-left:22px;
    padding-right: 30px;;
}

body.page-template-pagetemplate-homepage .pagecontent > *:not(div):first-of-type {
    margin-top: 22px;
}

body.page-template-default .content li:not(ul li):not(ol li) {
    margin-left:18px;
}




/* Galéria */

.gallery-item a {
    width: 100%;
}

.gallery-item a img {
    width: 100%;
    height: auto;
    padding: 0 10px;
}

/* süti plugin ikon */

.faz-btn-revisit-wrapper {
/*    display: none !important;*/
}


