@charset "utf-8";
/*
Theme Name: Hombár Nagycenk Kft. 2024
Theme URI: https://www.hombarnagycenk.eu
Author: tigaman webdesign
Author URI: https://www.tigaman.hu/
Description: Cégünk 1996 óta folyamatosan fejlődés mellett van jelen a mezőgazdaságban. A magyar és német tulajdonosok szakmaisága, kellő alapot biztosít a régióban gazdálkodók számára, a mintegy 4 000 ha saját, és 10 000 ha integrált területen.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, custom-menu, featured-images, responsive, mobil ready
*/
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('font-awesome.min.css');
@import url("mobil-navigation.css");
@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;    
        

  }
}

body {
	margin: 0;
	padding: 0;
	font-size: .8vw;
	font-family: 'Oswald', sans-serif;
	background-size: 12px 12px;
	background-color: #fff;
	background-attachment: fixed;
	background-image: url(images/body_bg.png);
	background-size: 50px auto;		
}

a {
	text-decoration: none;
	color: #333333;
	transition: color .8s ease-out
}
a:hover {
	text-decoration: none;
	color: rgba(131,141,143,1);
	transition: color .8s ease-out
}
.clear {
	clear: both;
}
blockquote {
	position: relative;
	display: flex;
	align-items: center;
	padding: 2em 1em 2em 2em;
	margin: 30px auto;
	border-left: 100px solid #182509;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
	font-family: "Playfair Display", serif;
	font-size: 180%;
	width: calc(90% - 3em);
}
blockquote i {
	margin: 0px 20px;

}

blockquote:before {
	width: 100px;
	height: 100px;
	background-color: #7EB736;
	position: absolute;
	left: -50px;
	content: '';
	background-image: url(images/blockquote.png);
	background-size: 80px auto;
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
    transition: transform 1800ms;
}

blockquote:hover::before {
    transform: rotateY(180deg);
}
blockquote.classadded::before  {
    transform: rotateY(180deg);
}

blockquote p {
    margin: 0;
    color: #333;	
	flex-grow: 1;
	margin: 0 0 0 0;
}

blockquote cite {
    margin-top: 30px;
    font-style: italic;
    color: #666;
}
h1, h2, h3, h4, h5 {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
}


.topline {
	width: 90%;
	padding: 5px 5%;
	background-color: #7EB736;
	color: #FFFFFF;
	display: flex;
	justify-content: space-around;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 95%;
	letter-spacing: .4em;	
}

#menu {
	display: flex;
	width: 90%;
	position: sticky;
	top: 0;
  justify-content: space-between;
  align-items: flex-start;
	margin: 0;
	padding: 0 5%;
	z-index: 2;
	background-image: url(images/header.png);
	background-position: left top;
	background-size: 100% auto;
	background-repeat: no-repeat;
}

.logo {
	width: 20%;

}
.logo img {
	width: 90%;
	height: auto;
	margin: 15px 5%;
} 




.menu {
	width: calc(80% - 0px);
	margin: 1.5% 0 0 0%;
	padding: 0 0 0 0;
}

.menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 7em;  
	display: flex;
	justify-content: space-around;
}

.menu li {
	position: relative;
	display: inline-block;
	text-transform: uppercase;
	font-size: 120%;
	font-weight: 400;
	letter-spacing: .4em;
	margin: 0 3vw;
}

.menu li a {
	display: block;
	padding: 10px;
	color: #FFF;
	text-decoration: none;
}
.menu li a:hover {
	color: #7EB736;
	transition: .4s ease-in-out;
}

		
/* submenu  */
.menu li:hover > ul {
	display: flex;
	flex-direction: column;
	animation: slide-in 0.3s ease-in-out;
}
.menu ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	background-color:  #304A12;

}


.menu ul ul li {
	position: relative;
	margin: 0;
	list-style-type: none;
	border-bottom: 1px solid rgba(255, 255, 255, .9);	

}
.menu ul ul a {
  padding: 1em 2em;
  color: #fff;
  display: block;
  text-decoration: none;
  font-size: 70%;
  letter-spacing: 1px;  
  white-space: nowrap; 
  background: linear-gradient(to right,  #304A12, #000000);
  background-size: 200% 100%; 
  transition: background-position 0.5s ease;

}

.menu ul ul a:hover {
  background-position: -100% 0; /* Move the background position to the left */
}



.menu li > a:after {
	content: '+';
	position: absolute;
	right: -15px;
	top: 45%;
	transform: translateY(-50%);
	font-size: 250%;
	opacity: 1;
	color: #7EB736;

}
.menu li > a:only-child:after { content: ''; }
@keyframes slide-in {
    0% {
        transform: translateX(-10px); /* Change translateY to translateX */
        opacity: 0;
    }
    50% {
        transform: translateX(0); /* Change translateY to translateX */
        opacity: 1;
    }
    70% {
        transform: translateX(-5px); /* Change translateY to translateX */
    }
    100% {
        transform: translateX(0); /* Change translateY to translateX */
    }
}

 .social-buttons {
	width: 50px;
	position: relative;
}
.toggle-switch {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.headline {
	background-color:  #304A12;
	width: cacl(100% - 40px);
	padding: 20px;
	text-align: center;
	margin: 20px 0;
	color: #FFFFFF;
}
.headline h1 {
	font-size: 400%;
	margin: 0 0 0 0;

	font-weight: 700;
}
.headline span {
	font-size: 200%;
	font-weight: 400;
	margin: 0 0 0 0;

}

#content {
	width: 90%;
	margin: calc(35px - 1.5625vw) auto;
}

.newsgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 2em;
} 

.newsgriditem {
	border: 1px solid  #304A12;
	padding: 2% 2% 70px 2%;
	margin: 0 0 2em 0;
	text-align: center;
	position: relative;
	background-color: #FFFFFF;
	cursor: pointer;

}


.newsgriditem h2 {
	font-size: 220%;
	margin: 0 0 0 0;
	font-weight: 400;
}
.newsgriditemimage {
	width: 100%;
	height: auto;
	padding: 50% 0 0 0;
	margin: 0 0 1vw 0;
	position: relative;

}
.background-zoom {
	background-position: center center;
	transition: background-size 2s;
	background-size: 100% auto;	
}



.newsgriditem:hover .background-zoom, 
.sidebarnews:hover .background-zoom {
	background-size: 150% auto;  transition: background-size 2s;	background-position: center center;
}

.background-zoom:focus{
	background-size: 100% auto;  transition: background-size 2s;	background-position: center center;
}
.newscategory {
	position: absolute;
	top: 0px;
	right: 0px;
	color: #FFFFFF;
	font-size: 200%;
}
.newsdate {
	position: absolute;
	top: 0;
	left: 0;
		background-color: #7EB736;
	color: #FFFFFF;
	padding: 5px;
	font-size: 150%;
}


.newsgriditem p {
	text-align: left;
	color: rgba(0,0,0,.7);
	font-size: 145%;
	font-weight: 300;
}

.readmore {
	background-color: #7EB736;
	color: rgba(255,255,255,1);
	transition: background-color 0.5s ease;
	display: inline-block;
	padding: 10px 0;
	letter-spacing: 0.6em;
	text-transform: uppercase;
	margin: 0 0 0 0;
	font-weight: 500;
	cursor: pointer;
	position: absolute;
	bottom: 10px;
	left: 10%; /* Center horizontally */
	width: 80%;
	font-size: 80%;
}
.readmore:hover {
	background-color: rgba(0,0,0,.75);
	transition: background-color 0.5s ease;
}

.fleft {
	float: left;
	width: 70%;	
	margin: 0 2% 0 0;
}
.content {
	width: calc(100% - 2px - 4em);
	margin: 0 0 2em 0;
	border: 1px solid  rgba(0,0,0,0.1);
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
	padding: 2em 2em 50px 2em;
	font-size: 170%;
	color: rgba(0,0,0,.7);
	position: relative;
	font-weight: 300;
	background-color: #FFFFFF;
}
.content h1 {
	margin: 0 0 1em 0;
	padding: 0;
}

.content  h1::first-letter{
	color: #fff;
	display: inline-block;
	float: left;
	text-align: center;
	margin: 0px 0px 0 0;
	background-color: #7EB736;
	font-size: 110%;
	padding: 0.3em;
	border-radius: 5px;
}



.content h3 {
	margin: 1em 0 0 0;
	padding: 0;
	font-weight: 500;
}
.content p {
    line-height: 1.2; 
}
.content img, .wp-caption {
	max-width: 90%;
	height: auto;
}


.szolgaltatasok {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 2.5em;
	grid-row-gap: 2.5em;
	width: 60%;
	margin: 30px auto;
} 

.szolgaltatasok div {
	background-color: #7EB736;
	border: 1px solid  rgba(0,0,0,0.1);
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.szolgaltatasok div img {
	filter: invert(100%);
	width: 70%;
	height: auto;	
	padding: 15%;	
	transition: transform 2s;
}
.szolgaltatasok.classadded div img {
    transform: rotateY(360deg);
	transition: transform 2s;
}




	




.sidebar {
	float: left;
	width: calc(28% - 2px);
	margin: 0;
}
.box {
	margin: 0px 0 30px 0;
	border: 1px solid  rgba(126,183,54,1);
	color: #FFFFFF;
	background: rgba(126,183,54,1);
	background: linear-gradient(177deg, rgba(48,74,18,1) 0%, rgba(126,183,54,1) 35%);
}
.box:last-child {
	margin: 0px 0 0px 0;

}
 h2.boxtitle{
	border-bottom: 1px solid  #ffffff;
	text-align: center;
	width: 80%;
	margin: 0 10%;
	padding: 1vw 0;
	font-size: 200%;
	color: #FFFFFF;
}
.boxcontent {
	padding:10px  20px;	
	font-size: 200%;
	text-shadow: 2px 2px 2px #666;
}
.boxcontent img {
	max-width:100%;
}

.boxcontent ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.boxcontent li  {
	margin: 0 0 5px 0;
}


.boxcontent a  {
	font-size: 125%;
	text-transform: uppercase;
	font-weight: 300;
	color: #000;
	display: block;
}
.boxcontent a:hover  {
	text-shadow: 2px 2px 2px #000;
	color: #666;
	transition:  .4s color ease-in;

}

.footerad {
	border: 1px solid  #304A12;
	margin: 30px auto;
	max-width: 100%;
	padding: 2%;
}


#footer {
	width: 100%;
	background-color: #304A12;
	color: #FFF;
	margin: 3vw 0 0 0;
	font-size: 110%;
	font-weight: 400;
	background-image: url(images/foot_bg.png);
	background-size: 50px auto;	
	position: relative;
}
#footer a {
	font-weight: 500;
	color: #FFF;	
}
#footer a:hover {

	border-bottom: 1px solid #fff;
}
.footer1 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 0px;
	width: 90%;
	margin: 0 auto;
	padding: 20px 0 50px 0;
} 
.footer2 {
	padding: 10px 5%;
	width: 90%;
	margin: 0 auto;
	position: absolute;
	bottom: 0px;
	background-color: #182509;
}


.top {
	background-color:  #304A12;
	color: rgba(255,255,255,1);
	transition: background-color 0.5s ease;
	padding: .7vw 1vw 1vw 1vw;
	font-size: 100%;
	border: 1px solid #FFFFFF;
	position: absolute;
	top: -2vw;
	left: 50%;
	transform: translateX(-50%);	
}
a.top , a.top:hover {
	color: rgba(255,255,255,1);
}
.top:hover {
	background-color: rgba(102,102,102,1);
	transition: background-color 0.5s ease;
}



.pagination {
	display: flex;
	justify-content: space-between;
	width: 30%;
	margin: 20px auto 50px auto;
}

.pagination div {
	width: 30%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	box-shadow: 0 0 8px rgba(0,0,0,.5);
	padding: 20px 0;  
}

.pagination div:first-child, .pagination div:last-child {
	background-color: #7EB736;
	color: #FFFFFF;
	cursor: pointer;
}
.pagination div:first-child:hover, .pagination div:last-child:hover {
	background-color: #666666;
	color: #FFFFFF;
}
.pagination div a {
	color: #FFFFFF;
}
#map {
	width: 100%;
	border: 1px solid  rgba(0,0,0,0.1);
	box-shadow: 0 0 5px rgba(0,0,0,0.3);	
	margin: 0 auto;
	padding-top: 40%;
}
#info-window{

}
#info-img {
	width: 40px;
	height: 40px;
	float: left;
	margin: 0 10px 10px 10px;	
	border-radius: 10%;
}
#info-text{
	color: #666;
	width: 250px;
	font-size: 100%;
}
#info-text b{

	font-size: 200%;

}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
}

.gallery div {
  flex-basis: calc(25.00% - 2%);
  margin: 1%;
  box-shadow: 0 0 5px rgba(0, 0, 0, .4);

  overflow: hidden; 
}
.gallery div h3 {
	font-size: 100%;
	background-color: #7EB736;
	color: #FFFFFF;
	display: block;
	text-align: center;
	padding: 5px;
	font-weight: 400;
}

.gallery-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border-bottom-color: rgba(255, 255, 255, 0);
}

.gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease-in-out;
	margin: .5em 0 0 5%;
}
.gallery-item:hover img{
	transform: scale(1.1);

}
.gallery-caption {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	text-align: center;
	transform: translateY(-50%);
	background-color: #027CCB;
	color: #fff;
	padding: 3px  5px;
	white-space: nowrap; /* Prevent text from wrapping to the next line */
	overflow: hidden; /* Hide any overflowing text */
	text-overflow: ellipsis; /* Add ellipsis (...) for overflow */
	text-transform: uppercase;
	font-size: 120%;
	transition: background-color .4s ease-in-out;
}

.gallery-item:hover .gallery-caption {
	background-color: #FF3F06;

}
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.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;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    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: 80%;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}







.mobil{
	display: none;
}
.nomobil{
	display: inline;
}





/* ----------------------------  mobil -------------------------------------   */
@media screen and (max-width: 980px) {
/**/
.mobil{
	display: inline;
}
.nomobil{
	display: none;
}
body {

	font-size: 10px;

}
#header, #menu, .topline {display:none;}


blockquote {
	position: relative;
	display: flex;
	align-items: center;
	padding: .5em;
	margin: 30px auto;
	border-left: 30px solid #182509;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
	font-family: "Playfair Display", serif;
	font-size: 100%;
	width: calc(100% - 3em);
}


blockquote:before {
	width: 30px;
	height: 30px;
	background-color: #7EB736;
	position: absolute;
	left: -15px;
	content: '';
	background-image: url(images/blockquote.png);
	background-size: 20px auto;
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
    transition: transform 1800ms;
}







#content {
	width: 95%;
	margin: calc(25px - 1.5625vw) auto;
}
.newsgrid {
	grid-template-columns: repeat(1, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 1vw;
}
.fleft {
	width: 99.5%;	
	margin: 0 0.25%;
}

.content {
	width: calc(100% - 2px - 2em);
	padding: 1em 1em 50px 1em;
}
.content  h1::first-letter{

	font-size: 100%;
	margin: -5px 0px 0 0;
	padding: 4px 0.3em;

}
.szolgaltatasok {
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 1.5em;
	grid-row-gap: 1.5em;
	width: 100%;
	margin: 30px auto;
}
 .gallery div {
  flex-basis: calc(50.00% - 2%);
  margin: 1%;
  box-shadow: 0 0 5px rgba(0, 0, 0, .4);
  position: relative;
  overflow: hidden; 
}

.sidebar {
	width: calc(99.5% - 2px);
	margin: 0 .25%;
}
.footer1 {

	grid-template-columns: repeat(1, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 20px;

} 
#map {

	padding-top: 100%;
}