﻿/*
Theme Name: Hajó Bazár Theme
Theme URI: https://patu.hu/
Description: Patu Theme alap sablon
Author: Patuzzi Norbert
Author URI: https://patu.hu/
Template:
Version: 1.0
Tags: alap, minimal, white, grey, silver, patu, patuzzi, norbert
Text Domain: hajobazar-theme

License:
License URI:
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
	margin: 0px;
	padding: 0px;
	font-family: 'Montserrat', sans-serif;
	overflow-x: hidden;
}

ul.menu {
	padding-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}

a, a:link, a:visited {
	text-decoration: none;
	color: #484848;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	transition: 0.5s;
}

a:hover, .topbar a:hover .topbar-item {
	text-decoration: underline;
	color: #005580;
}

.topbar-right a:hover {
	text-decoration: none !important;
}

p {
	margin-top: 0px !important;
}

.inline-block {
	display: inline-block;
}

.vtop {
	vertical-align: top;
}

.vmiddle {
	vertical-align: middle;
}

.inner {
	max-width: 1130px;
	padding-left: 10px;
	padding-right: 10px;
	margin-left: auto;
	margin-right: auto;
}

.fixed {
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	z-index: 999;
}

.page-loggedin-admin .fixed {
	top: 32px;
}

.main-container {
	margin-top: 103px;
}

/* TOPBAR ÉS HEADER */
.topbar {
	background-color: #dfe6e8;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
}

.topbar-item {
	margin-right: 10px;
}

.topbar-left {
	width: calc(100% - 34px);
}

.topbar-right {
	width: 30px;
	text-align: right;
}

.header {
	background-color: #fff;
	padding-top: 10px;
	font-size: 14px;
	background-image: url('/wp-content/themes/hajobazar-theme/images/header-bg.png');
	background-repeat: repeat-x;
	background-position: bottom left;
}

.header .mainmenu ul li {
	display: inline-block;
	vertical-align: middle;
	margin-left: 20px;
	margin-right: 20px;
}

.header .mainmenu ul li a, .header .mainmenu ul li a:hover {
	text-decoration: none !important;
}

.header .mainmenu {
	margin-right: 10px;
	width: calc(100% - 312px);
}

.top-button {
	background-color: #1aaf5d;
	padding: 10px;
	color: #fff;
	font-weight: bold;
	border-radius: 4px;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	transition: 0.5s;
}

.top-button:hover {
	background-color: #11924b;
}

.header .inner {
	padding-bottom: 15px;
	background-image: url('/wp-content/themes/hajobazar-theme/images/header-color-bg.png');
	background-repeat: repeat-x;
	background-position: bottom left;
}

/* FŐOLDAL */
.home-section-categories {
	background-color: #ecf0f1;
	padding-top: 10px;
	padding-bottom: 20px;
}

.parent-category {
	width: calc((100% - 30px) / 4);
	background-color: #f8fbfc;
	min-height: 241px;
}

.parent-category-1, .parent-category-2, .parent-category-3, .footer-column-1, .footer-column-2, .footer-column-3 {
	margin-right: 10px;
}

.category-header {
	background-color: #fff;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 10px;
	padding-right: 10px;
}

.category-title {
	font-weight: bold;
	width: calc(100% - 30px);
}

.category-count {
	width: 30px;
	text-align: right;
	color: #999;
}

.child-category {
	font-size: 12px;
	padding: 10px;
}

.child-category-title {
	width: calc(100% - 25px);
}

.child-category-count {
	width: 24px;
	text-align: right;
	color: #999;
}

.inner-home-section {
	padding-top: 20px;
	padding-bottom: 20px;
}

/* FOOTER */
.footer {
	background-color: #ecf0f1;
	padding-bottom: 20px;
	background-image: url('/wp-content/themes/hajobazar-theme/images/header-bg.png');
	background-repeat: repeat-x;
	background-position: top left;
}

.footer .inner {
	padding-top: 25px;
	background-image: url('/wp-content/themes/hajobazar-theme/images/header-color-bg.png');
	background-repeat: repeat-x;
	background-position: top left;
}

.footer-column {
	width: calc((100% - 44px) / 4);
}

.footer-column-title {
	font-weight: normal;
	font-size: 18px;
	line-height: 40px;
	color: #484848;
	margin-bottom: 10px;
}

.footer-column-content {
	font-size: 14px;
}

.footer-column .latest-post {
	padding-bottom: 6px;
	margin-bottom: 6px;
	border-bottom: 1px dotted #aaa;
}

.footer-column .latest-post-5 {
	border-bottom: 0px;
	margin-bottom: 0px;
}

.footer-copyright {
	background-color: #dfe6e8;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer-copyright-left {
	width: 450px;
}

.footer-copyright-menu {
	width: calc(100% - 456px);
	text-align: right;
}

.footer-copyright ul li {
	display: inline-block;
	vertical-align: middle;
	margin-left: 10px;
}

/* PAGE HEADER */
.page-header {
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #ecf0f1;
	margin-bottom: 40px;
}

.page-header h1, .post-title, .post-sidebar-title {
	font-size: 30px;
	color: #484848;
}

.main-content {
	width: calc(100% - 266px);
	margin-right: 20px;
	margin-bottom: 20px;
}

.sidebar-content {
	width: 200px;
	border: 10px solid #ecf0f1;
	padding: 10px;
	text-align: center;
	margin-bottom: 20px;
}

.sidebar-content img, .post-sidebar-block-designed img {
	border-top: 1px solid #ecf0f1;
	margin-top: 20px;
	padding-top: 20px;
}

.sidebar-content-first {
	border-top: 0px !important;
	padding-top: 0px !important;
}

.post-sidebar {
	width: 300px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.category-sidebar-content {
	width: 240px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.post-main-content {
	width: calc(100% - 326px);
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
}

.post-price {
	background-color: #f6f6f6;
	color: #1aaf5d;
	padding: 10px;
	text-align: center;
	font-weight: bold;
	font-size: 32px;
	margin-bottom: 10px;
}

.post-text {
	margin-top: 10px;
}

.post-sidebar-title, .category-sidebar-title {
	margin-top: 20px;
	margin-bottom: 20px;
	font-weight: bold;
}

.post-sidebar-author {
	font-size: 20px;
	margin-bottom: 10px;
}

.post-sidebar-contact {
	font-size: 18px;
	margin-bottom: 10px;
}

.post-sidebar-block-bordered {
	margin-top: 20px;
	border: 3px solid #ecf0f1;
	padding-left: 17px;
	padding-right: 17px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.post-meta-item {
	padding-top: 5px;
	padding-bottom: 5px;
}

.post-meta-value {
	text-align: center;
}

.post-sidebar-block-designed {
	border: 10px solid #ecf0f1;
	padding: 10px;
	text-align: center;
	margin-top: 20px;
}

.post-sidebar-form {
	margin-top: 20px;
}

.gallery-item {
	width: calc(25% - 14px);
	display: inline-block;
	vertical-align: middle;
	padding-left: 5px;
	padding-right: 5px;
}

.gallery-item img {
	width: 100%;
	height: auto;
}

.category-page-item {
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
	margin-right: 10px;
	width: calc(50% - 24px);
}

.category-page-item img {
	width: 100%;
	height: auto;
}

.category-page-item .post-price {
	font-size: 20px;
}

.category-sidebar-content .parent-category {
	width: calc(100% - 10px);
	border: 5px solid #ecf0f1;
	margin-bottom: 10px;
}

.old-post-warning {
	background-color: #f6f6f6;
	padding: 10px;
	text-align: center;
	font-weight: bold;
	font-size: 26px;
	margin-bottom: 10px;
}

.post-sidebar-form input[type="text"], .post-sidebar-form input[type="email"], .post-sidebar-form textarea {
	border: 5px solid #f6f6f6;
	padding: 10px;
	width: calc(100% - 30px);
	margin-top: 10px;
}

.form-submit {
	background-color: #1aaf5d;
	padding: 10px;
	color: #fff;
	text-transform: uppercase;
	border-radius: 4px;
	border: 0px;
	font-size: 16px;
	margin-top: 10px;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	transition: 0.5s;
}

.inner-home-section .category-page-item {
	width: calc(25% - 24px);
}

.listing-edit-page .acf-button, .listing-create-page .acf-button {
	background-color: #1aaf5d;
	padding: 10px;
	color: #fff;
	font-weight: bold;
	border-radius: 4px;
	border: 0px;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	transition: 0.5s;
}

.listing-edit-page .acf-button:hover, .listing-create-page .acf-button:hover {
	background-color: #11924b;
}

.my-listing {
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
	margin-right: 10px;
	width: calc(50% - 20px);
}

.my-listing img {
	width: 100%;
	height: auto;
}

.mobile-menu {
	display: none;
	margin-left: 10px;
	margin-right: 10px;
	width: calc(100% - 10px);
}

@media (max-width: 959px) {
	.menu-fomenu-container {
		display: none;
	}
	.mobile-menu {
		display: block;
	}
}

@media (max-width: 782px) {
	.page-loggedin-admin .fixed {
		top: 46px;
	}
}

@media (max-width: 767px) {
	.parent-category {
		display: block;
		margin-right: 0px;
		width: 100%;
		margin-bottom: 10px;
		min-height: inherit;
	}
	.inner-home-section .category-page-item {
		width: calc(50% - 24px);
		margin-bottom: 10px;
	}
	.footer-column {
		width: calc(50% - 8px);
		margin-bottom: 10px;
	}
	.footer-column-2 {
		margin-right: 0px;
	}
	.footer-copyright-left {
		margin-bottom: 6px;
	}
	.footer-copyright-left, .footer-copyright-menu {
		width: 100%;
		display: block;
		text-align: center;
	}
	.main-content, .category-sidebar-content, .post-main-content, .post-sidebar {
		display: block;
		width: 100%;
		margin-right: 0px;
	}
	.sidebar-content {
		width: calc(100% - 40px);
	}
}

@media (max-width: 499px) {
	.inner-home-section .category-page-item {
		width: calc(100% - 20px);
		display: block;
	}
	.footer-column {
		width: 100%;
	}
	.footer-column-1, .footer-column-3 {
		margin-right: 0px;
	}
	.footer-copyright-menu ul li {
		display: block;
		padding-top: 4px;
		padding-bottom: 4px;
	}
	.category-page-item {
		width: calc(100% - 20px);
		display: block;
	}
}
