:root {
	--bg-color: #250370;
	--text-color-burgundy: #380101;
}

body {
	font-family: Tahoma, sans-serif;
}

.main-content-container,
.planning-inner {
	margin: 0 auto !important;
}

.main-blog-container.main-blog-container {
	max-width: 1340px !important;
	margin: 0 auto !important;
	padding: 20px !important;
}

.sr-only {
	border: 0;
	clip: rect(0, 0, 0, 0);
	display: block;
	font-size: 1px;
	height: 1px;
	line-height: 1px;
	margin: -1px;
	outline: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* CONTACTS LINE */
.contacts-line {
	align-items: center;
	display: flex !important;
	height: 44px;
	justify-content: space-between;
	padding: 0 20px;
	margin-top: 0;
	max-width: 100% !important;
}

.contacts-line-item.contacts-line-item {
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 !important;
}

.contacts-line-item p,
.contacts-line-item figure {
	margin-top: 0;
}

.contacts-line-item a,
.contacts-line-item a:active,
.contacts-line-item a:hover,
.contacts-line-item a:visited {
	color: #fff;
	text-decoration: none;
}

.contacts-line-item img {
	font-size: 24px;
	margin-right: 25px;
}

.contacts-line-item--phone2 {
	padding-left: 50px;
}

.contacts-line-item--icons-last img {
	margin-right: 0;
}

@media (max-width: 1200px) { 
	.contacts-line {
		height: auto;
		flex-wrap: wrap;
		justify-content: space-around;
		padding: 10px !important;
	}
}

@media (max-width: 768px) {
	.contacts-line-container {
		background-color: #81769b;
	}

	.contacts-line-item {
		margin-right: 25px;
	}
	.contacts-line {
		gap: 10px;
		margin: 0 !important;
	}

	.contacts-line-item--phone2 {
		padding-left: 25px;
	}
}

/* NAV */
.ok-menu-container {
	border: none;
}

.ok-menu {
	height: 82px;
	max-width: 100% !important;
	padding: 0 !important;
}

.ok-menu a {
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	line-height: 40px;
	padding: 0 !important;
	text-transform: uppercase;
}

.ok-menu a:visited {
	color: #fff;
}

.ok-menu .current-menu-item.current-menu-item {
	color: #f94103 !important;
}

.ok-menu a:hover {
	color: #5ca7f7;
	text-decoration: none;
}

.ok-menu ul {
	flex-direction: unset !important; 
}

.ok-menu ul li {
	margin-right: 20px;
}

.ok-menu figure {
	height: 82px;
	line-height: 0;
	width: 222px !important;
}

.ok-menu figure img {
	max-width: none;
}

.wp-block-navigation__responsive-container-open {
	margin-right: 20px !important;
	border: solid 1px #fff;
	border-radius: 4px;
	padding: 10px;
}

.wp-block-navigation__responsive-container-close {
	margin-right: 10px;
	margin-top: 20px;
}

.wp-block-navigation__responsive-container {
	background-color: var(--bg-color) !important;
	color: #fff !important;
}

.ok-menu .is-menu-open {
	padding: 10px !important;
}

.ok-menu .is-menu-open ul {
	display: block !important;
	margin-right: 0 !important;
}

.ok-menu  .is-menu-open ul li {
	line-height: 40px !important;
	padding: 20px;
}

@media (max-width: 1900px) { 
	.ok-menu a {
		font-size: 15px;
	}
}

@media (max-width: 1200px) { 
	.ok-menu a {
		font-size: 13px;
	}

	.ok-menu ul {
		margin-right: 20px;
	}

	.ok-menu ul li {
		margin-right: 0;
	}
}

@media (max-width: 1024px) { 
	.ok-menu a {
		line-height: 1;
	}
}

/* MAIN PAGE*/
.main-page.main-page {
	background-image: url(/wp-content/themes/otthonkelte/img/bg-main-page.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 1800px 0 750px 0 !important;	
	position: relative;
}

.text-container {
	background-color:rgba(255, 255, 255, 0.8);
	color: var(--text-color-burgundy);
	font-size: 40px;
	line-height: 1.2;
	max-width: 100% !important;
	font-weight: bold;
	padding: 30px;
	width: 1500px;
}

.text-container--discount {
	background-color:rgba(255, 255, 255, 0.8);
	color: var(--text-color-burgundy);
	font-size: 40px;
	font-weight: bold;
	line-height: 1.2;
	margin-top: -300px !important;
	padding: 30px;
	position: absolute;
}

.text-container--discount:empty {
	display: none;
}

.text-container--first {
	margin: 0 0 300px 0 !important;
}

.text-container--second {
	margin: 0 0 450px auto !important;
}

.text-container--third {
	margin: 0 auto;
	width: 1000px;
}

.main-page h1, 
.main-page h2 {
	color: var(--text-color-burgundy);
	font-size: 60px;
	font-weight: bold;
	margin: 0 !important;
}

.text-container ul {
	list-style: none;
	padding-left: 0;
	margin: 0 !important;
}

.text-container ul li::before {
	content: "- ";
}

@media (max-width: 1921px) { 
	.main-page.main-page {
		padding-top: 1300px !important;
		padding-bottom: 300px !important;
	}
}

@media (max-width: 1700px) { 
	.main-page.main-page {
		padding-top: 1100px !important;
		padding-bottom: 500px !important;
	}

	.text-container {
		font-size: 30px;
		width: 1200px;
	}

	.text-container--discount {
		font-size: 30px;
	}

	.text-container--first {
		margin: 0 0 150px 0 !important;
	}
	
	.text-container--second {
		margin: 0 0 150px auto !important;
	}

	.text-container--third {
		width: 1000px;
	}

	.main-page h1, 
	.main-page h2 {
		font-size: 40px;
	}
}

@media (max-width: 1280px) {
	.main-page.main-page {
		padding-top: 800px !important;
		padding-bottom: 500px !important;
	}

	.text-container {
		font-size: 20px;
		width: 900px;
	}

	.text-container--third {
		width: 900px;
	}

	.text-container--discount {
		font-size: 20px;
		margin-top: 0 !important;
		top: 100px;
	}

	.main-page h1, 
	.main-page h2 {
		font-size: 30px;
	}
} 

@media (max-width: 1024px) {
	.text-container,
	.text-container--third {
		width: 600px;
	}
}

@media (max-width: 768px) {
	.main-page.main-page {
		padding-top: 800px !important;
		padding-bottom: 500px !important;
	}

	.text-container--first {
		margin: 0 0 150px 0 !important;
	}

	.text-container--second {
		margin: 0 0 150px auto !important;
	}

	.main-page h1, 
	.main-page h2 {
		font-size: 24px;
	}

	.text-container,
	.text-container--discount {
		font-size: 18px;
		padding: 15px;
	}
}

@media (max-width: 500px) {
	.main-page.main-page {
		padding-top: 220px !important;
		background-size:   100% auto;
		padding-bottom: 0!important;
		background-color: #333;
	}

	.text-container--first {
		margin: 0 0 50px 0 !important;
	}

	.text-container--second {
		margin: 0 0 50px auto !important;
	}
}


/* ABOUT US*/
.about-us {
	background-image: url(/wp-content/themes/otthonkelte/img/bg-about-us-lg.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #011b01;
	font-size: 34px;
	font-weight: bold;
	justify-content: center;
	line-height: 1.2;
	min-height: 100vh;
	padding: 80px;
	text-align: center;
}

.about-us h1 {
	color: #011b01;
	font-size: 34px;
	font-weight: bold;
	line-height: 1;
	margin: 0 auto;
}

@media (max-width: 1920px) {
	.about-us {
		font-size: 24px;
	}

	.about-us h1 {
		font-size: 24px;
	}
}

@media (max-width: 1400px) {
	.about-us {
		font-size: 20px;
	}

	.about-us h1 {
		font-size: 20px;
	}
}

@media (max-width: 1024px) {
	.about-us {
		padding: 20px;
		font-size: 16px;
	}

	.about-us h1 {
		font-size: 16px;
	}
}

/* PLANNING */
.planning {
	background-image: url(/wp-content/themes/otthonkelte/img/bg-planning.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #040100;
	font-size: 34px;
	font-weight: bold;
	justify-content: center;
	line-height: 1.2;
	min-height: 100vh;
	padding: 80px;
	text-align: center;
}

.planning h1 {
	color: #040100;
	font-size: 34px;
	font-weight: bold;
	line-height: 1;
	margin: 0 auto;
}

.planning-inner {
	background-color:rgba(255, 255, 255, 0.6);
	padding: 20px;
	margin: 0 auto !important;
}

@media (max-width: 1920px) { 
	.planning {
		font-size: 24px;
	}
}

@media (max-width: 1400px) { 
	.planning {
		font-size: 20px;
	}
}

@media (max-width: 1024px) { 
	.planning {
		padding: 20px;
		font-size: 16px;
	}

	.planning-inner {
		padding: 10px;
	}
}

/* IMPLEMENTATION */
.implementation {
	background-image: url(/wp-content/themes/otthonkelte/img/bg-implementation.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #090474;	
	font-size: 34px;	
	font-weight: bold;
	justify-content: center;
	line-height: 1.2;
	min-height: 100vh;
	padding: 80px;
}

.implementation > .main-content-container {
	display: flex;
	flex-direction: unset;
	justify-content: space-between;
}

.implementation h1 {
	color: #090474;
	font-size: 34px;
	font-weight: bold;
	line-height: 1;
	margin: 0 auto;
	width: 100%;
	text-align: center;
}

.implementation p {
	width: 48.5%;
}

@media (max-width: 1920px) { 
	.implementation {
		font-size: 24px;
	}
}

@media (max-width: 1400px) { 
	.implementation {
		font-size: 20px;
	}
}

@media (max-width: 1024px) { 
	.implementation {
		font-size: 16px;
		padding: 20px;
	}

	.implementation p {
		width: 100%;
	}
}

/* REFERENCES */
.references {
	background-image: url(/wp-content/themes/otthonkelte/img/bg-references.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #040100;
	font-size: 30px;
	justify-content: center;
	line-height: 1.2;
	min-height: 100vh;
	padding: 40px;
	text-align: center;
}

.references h1 {
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	line-height: 1;
	margin: 0 auto;
}

.references .wp-block-image {
	margin-bottom: 50px !important;
}

.references .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: none;
	bottom: -65px;
	font-size: 18px;
	font-weight: bold;
	height: 75px;
	overflow: hidden;
	text-transform: uppercase;
}

.references .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
	display: none;
}

@media (max-width: 1024px) { 
	.references {
		padding: 20px;
	}

	.references .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
		font-size: 12px;
	}
}


/* PROJECTS */
.projects {
	background-image: url(/wp-content/themes/otthonkelte/img/bg-projects.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 20px 0;
	text-align: center;
	font-size: 18px;
	line-height: 1.2;
	min-height: calc(100vh - 340px);
	color: #040100;
	justify-content: center;
}

.projects .has-global-padding {
	padding: 0 !important;
}

.projects h1 {
	color: #250371;
	font-size: 20px;
	font-weight: bold;
	line-height: 1;
	margin: 0 auto;
	background-color:rgba(255, 255, 255, 0.8);
	padding: 10px;
}

.project-list {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(6, 1fr);
}

.project-item {
	margin-top: 0;
}

.project-item p:first-child {
	background-color: #fcf005;
	color: #250371;
	padding: 5px;
	font-weight: bold;
}

.project-item p:last-child {
	background-color: #fc05e4;
	color: #fcdf05;
	padding: 5px;
	font-weight: bold;
	margin-top: 0;
}

.project-item figure {
	margin-top: 0 !important;
}

.project-item img {
	cursor: pointer;
	height: auto !important;
	contain: size !important;
    contain-intrinsic-size: 3000px 1500px;
}

.projects .wp-block-gallery {
	display: none;
}

@media (max-width: 1280px) { 
	.projects {
		font-size: 16px;
	}

	.project-list {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
	}
}

@media (max-width: 1024px) { 
	.project-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) { 
	.project-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* CONTACT */
.contact-outer {
	background-image: url(/wp-content/themes/otthonkelte/img/bg-contact.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;	
	min-height: 100vh;
	justify-content: center;
}

.contact {
	align-items: stretch;
	color: #0410fa;
	display: flex;
	flex-direction: unset;
	font-size: 34px;
	font-weight: bold;
	justify-content: space-between;
	line-height: 1.2;
	margin: 0 auto !important;
	padding: 80px;
	width: 100%;
	
}

.contact-inner.contact-inner {
	background-color:rgba(192, 218, 246, 0.8);
	padding: 20px !important;
	width: 35%;
}

.contact h1 {
	color: #0410fa;
	font-size: 34px;
	font-weight: bold;
	line-height: 1.2;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100%;
}

.contact p {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.contact-imgs.contact-imgs {
	display: flex;
	flex-wrap: wrap;
	padding: 0 !important;
	width: 55%;
	flex-direction: column;
    justify-content: space-between;
}

.contact-imgs.contact-imgs figure {
	margin: 0 !important;
	max-width: 100%;
	width: 100%;
}

.contact-imgs.contact-imgs figure:first-child {
	margin-bottom: 20px;
}

.contact-imgs.contact-imgs figure img {
	width: 100%;
}

@media (max-width: 1920px) {
	.contact {
		font-size: 24px;
	}

	.contact h1 { 
		font-size: 24px;
	}
} 

@media (max-width: 1400px) { 
	.contact {
		font-size: 20px;
		line-height: 1.2;
	}

	.contact h1 { 
		font-size: 20px;
		line-height: 1.2;
	}
}

@media (max-width: 1024px) { 
	.contact {
		padding: 20px 20px 0 20px;
		font-size: 16px;
	}

	.contact h1 { 
		font-size: 16px;
	}

	.contact-inner.contact-inner,
	.contact-imgs.contact-imgs {
		width: 100%;
	}

	.contact-imgs img {
		margin-bottom: 20px;
	}
}

/* FOOTER */
footer .wp-block-group.footer-logo {
	background-color: var(--bg-color);
	display: block !important;
	max-width: 100%;
	padding: 50px 0 !important;
	text-align: center;
}

.footer-logo img {
	height: 70px;
}

/* WORDPRESS OVERRIDES */
main.wp-block-group {
	margin-top: 0 !important;
}

footer.wp-block-template-part {
	margin-block-start: 0 !important;
}

.has-global-padding {
	padding-right: 0 !important;
    padding-left: 0 !important;
}

.is-layout-constrained > .alignwide {
	max-width: 100% !important;
}

.blog-list-container {
	min-height: 100vh;
}

/* MEOW LIGHTBOX OVERRIDES */
.mwl-img:focus {
	opacity: 1 !important;
}