/*
Theme Name: Dél-Nyírségi Paktumterület
Theme URI: https://delnyirsegipaktum.hu
Description: A Dél-Nyírségi Paktumterület weboldalának alapértelmezett sablonja.
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

*{
margin: 0;
padding: 0;
border: 0;
flex-wrap: wrap;
text-decoration: none; 
}

*, 
*:after, 
*::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

:root {
	--color-green: #115740;
	--color-red: #e22632;
	--color-dark: #383838;
	--color-silver: #f5f5f5;
	--color-silver-line: #cacdd4;
}

body { margin: auto; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 400; color: var(--color-dark); line-height: 30px; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden; }

textarea, input, select, button { font-family: 'DM Sans', sans-serif; font-size: 18px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

hr { width: 100%; margin: 30px 0; border-top: 5px solid var(--color-silver-line); clear: both; }

img.alignleft { margin: 0 20px 5px 0; float: left; }
img.alignright { margin: 0 0 5px 20px; float: right; }
img.aligncenter { margin: 0 auto 20px auto; display: block; }

img.alignleft, 
img.alignright, 
img.aligncenter { padding: 4px; border: 1px solid var(--color-silver-line); }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1280px; margin-left: auto; margin-right: auto; position: relative; }
.inner_800 { max-width: 800px; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.hide { display: none !important; }
.red, .acf-required { color: var(--color-red); }
.b_r_3 { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.sec_font { font-family: 'Source Serif Pro', serif; }

/* Animation */
.anim, .service .thumbnail img { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.anim_cubic { -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -moz-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -o-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }

/* Button */
.button, .wpem-theme-button { height: 50px; padding: 0 30px; font-size: 17px !important; font-weight: 700; text-decoration: none !important; text-align: center; color: white !important; line-height: 50px; background: var(--color-green); display: inline-block; position: relative; cursor: pointer; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover, .wpem-theme-button:hover { background: var(--color-dark); }
.button:after { display: none !important; }

.button:disabled, 
.button:disabled:hover { color: #cec5ba !important; background-color: #f6f3f0; }

.button.button_red { background-color: var(--color-red); }
.button.button_red:hover { background-color: var(--color-dark); }

.button.button_empty { color: var(--color-dark) !important; line-height: 47px; background-color: transparent; border: 2px solid var(--color-silver-line); }
.button.button_empty:hover { border-color: var(--color-dark); }

.button.button_small { height: 40px; padding: 0 20px; font-size: 16px !important; line-height: 40px; }
.button.button_huge { height: 60px; line-height: 60px; }

.button_fullwidth { width: 100%; height: auto; padding: 15px 10px; text-align: center; line-height: 20px; display: block; }

.button.facebook { background: #0084ff; }
.button.facebook:hover { background-color: var(--color-dark); }
.button.instagram { background: #dd2a7b; }
.button.instagram:hover { background-color: var(--color-dark); }

/* Checkbox and radio */
input[type="checkbox"], 
input[type="radio"] { width: 24px; height: 24px; margin: -4px 4px 0 0 !important; padding: 0 !important; text-align: center !important; background-color: white; border: 1px solid #534741; clear: none; cursor: pointer; display: inline-block; line-height: 0; outline: 0; vertical-align: middle !important; -webkit-appearance: none; -webkit-box-shadow: none; box-shadow: none; -webkit-transition: .05s border-color ease-in-out; transition: .05s border-color ease-in-out; }
input[type="radio"] { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

input[type="radio"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: var(--color-red); position: relative; border-radius: 8px; display: block; content: ''; }
input[type="checkbox"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: var(--color-red); position: relative; display: block; content: ''; }


/*
------------------
	COOKIE BAR
------------------
*/
#cookie-law-info-bar { padding: 0 !important; text-align: left !important; }
#cookie-law-info-bar .cookie_text { padding: 40px; font-size: 16px !important; line-height: 25px !important; }
#cookie-law-info-bar .cookie_text h3 { width: 100%; margin-bottom: 10px; font-size: 25px; font-weight: 700; }
#cookie-law-info-bar .action_buttons { height: 100px; background: #f7f7f7; border-top: 1px solid #efeff3; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
#cookie-law-info-bar .action_buttons a { width: auto !important; height: 50px; margin: 0 5px !important; padding: 0 20px; font-size: 16px !important; font-weight: 700; line-height: 50px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
#cookie-law-info-bar .action_buttons a.cli_settings_button { background: white !important; }

.cli-tab-container .cli-row { overflow-y: hidden; } 
.cli-tab-footer .wt-cli-privacy-accept-btn { height: 50px; padding: 0 20px; font-size: 16px !important; font-weight: 700; line-height: 50px; background-color: #1f9978 !important; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }

.cli-switch input:checked + .cli-slider { background-color: #1f9978 !important; }


/*
----------------
	FANCYBOX
----------------
*/
#dialog_login { width: 100%; max-width: 400px; padding: 0; position: relative; }

#dialog_login .preloader { width: 100%; height: 100%; left: 0; top: 0; background: rgba(255 255 255 / 90%) url(images/preloader_64.gif) no-repeat center; display: none; position: absolute; z-index: 10; }

#dialog_login .message p { margin-bottom: 20px; padding: 10px; font-size: 15px; line-height: 20px; border: 1px solid transparent; position: relative; }
#dialog_login .message p.error { color: #e30613; background: #fff5f5; border-color: #e30613; }

#dialog_login .dialog_header { padding: 30px; }
#dialog_login .dialog_header h4 { font-size: 26px; font-weight: 500; color: #000; line-height: 100%; }

#dialog_login .dialog_content { padding: 30px; background: var(--color-silver); }

#dialog_login .dialog_footer { font-size: 16px; color: #202020 }
#dialog_login .dialog_footer a { color: #202020 }
#dialog_login .dialog_footer a:hover { text-decoration: underline; color: #000; }
#dialog_login .dialog_footer .signup { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-silver-line); }
#dialog_login .dialog_footer .signup a { text-decoration: underline; color: #000; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 80px; bottom: 0; padding: 50px; font-size: 18px; background: rgba(240 240 240 / 80%); position: fixed; z-index: 100; visibility: hidden; opacity: 0; overflow: hidden; }
#rwd_menu .rwd_menu_wrap { width: 400px; height: 100%; right: -100%; top: 0; padding-bottom: 30px; background: var(--color-green); position: absolute; overflow-y: auto; }

/* Primary menu */
#rwd_menu ul.primary_menu { margin-bottom: 30px; border-top: 1px solid rgba(255 255 255 / 10%); list-style: none; }
#rwd_menu ul.primary_menu li { border-bottom: 1px solid rgba(255 255 255 / 10%); }
#rwd_menu ul.primary_menu li a { padding: 15px 10px 15px 25px; font-size: 24px; font-weight: 700; color: white; line-height: 1; display: block; position: relative; }
#rwd_menu ul.primary_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

#rwd_menu ul.primary_menu li.menu-item-has-children > a:before { width: 0; height: 100%; left: 0; top: 0; background: #313131; position: absolute; content: ''; }
#rwd_menu ul.primary_menu li.menu-item-has-children > a:after { width: 20px; height: 20px; right: 20px; top: 16px; background: url(images/icon_arrow_down_white.svg) no-repeat right center; background-size: cover; position: absolute; content: ''; }
#rwd_menu ul.primary_menu li.menu-item-has-children.open > a:before { width: 8px; }
#rwd_menu ul.primary_menu li.menu-item-has-children.open > a:after { ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg); }

#rwd_menu ul.primary_menu li ul { background: white; display: none; }
#rwd_menu ul.primary_menu li ul li { border-bottom-color: #eee; }
#rwd_menu ul.primary_menu li ul li:last-child { border-bottom: none; }
#rwd_menu ul.primary_menu li ul li a { left: auto !important; padding: 15px 0 15px 25px; font-size: 17px; color: #333 !important; line-height: 20px; opacity: 100% !important; }
#rwd_menu ul.primary_menu li ul li.open > a:before { display: none; }

/* Secondary menu */
#rwd_menu ul.secondary_menu { margin-bottom: 30px; list-style: none; }
#rwd_menu ul.secondary_menu li { margin-bottom: 15px; padding: 0 25px; }
#rwd_menu ul.secondary_menu li a { font-size: 18px; font-weight: 700; color: white; line-height: 1; display: block; }
#rwd_menu ul.secondary_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* LI animation */
#rwd_menu ul li a { left: 10px; position: relative; opacity: 0%; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
#rwd_menu ul > li.fly-in-out > a { left: 0; opacity: 100%; }

/* Button */
#rwd_menu .button_wrapper { padding: 0 25px; position: relative; z-index: 0; opacity: 0; }
#rwd_menu .button { width: auto !important; padding: 0 !important; text-align: center; background: #2e2e2e; display: block; }
#rwd_menu .button:before { background: #2e2e2e; }

body.rwd_menu__opened #rwd_menu { opacity: 1; visibility: visible; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrap { right: 0; }
body.rwd_menu__opened #rwd_menu .button_wrapper { opacity: 1; }


/*
--------------
	HEADER
--------------
*/
#header { width: 100%; height: 80px; left: 0; top: 0; padding: 0 50px; background: white; position: fixed; z-index: 100; }
body.search #header, 
body.page-id-45 #header, 
body.fixed_header #header, 
body.single-product #header, 
body.page-template-signup #header, 
body.page-template-aboutus #header, 
body.post-type-archive-product #header, 
body.page-template-add-new-product #header { border-bottom: 1px solid var(--color-silver-line); }

#header .inner { max-width: none; height: 100%; }
#header .header_wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }

/* Logo and menu */
#header .logo_menu { height: 100%; display: flex; flex-wrap: wrap; align-items: center; }
#header .logo_menu .logo { max-width: 250px; height: 100%; margin-right: 50px; font-size: 22px; font-weight: 700; color: var(--color-dark); line-height: 100%; border-right: 1px solid var(--color-silver-line); display: flex; align-items: center; }

/* Menu */
#header .logo_menu ul { display: flex; flex-wrap: wrap; list-style: none; }
#header .logo_menu ul li { margin-right: 30px; }
#header .logo_menu ul li:last-child { margin-right: 0; }
#header .logo_menu ul li a { font-size: 17px; font-weight: 700; color: var(--color-dark); line-height: 20px; }
#header .logo_menu ul li.current-menu-item a { color: var(--color-red); }


/*
----------------
	DROWDOWN
----------------
*/
.dropdown { position: relative; }
.dropdown .dropdown_menu { left: 0; display: none; position: absolute; }
.dropdown .dropdown_menu.active { display: block; }

#header .action_buttons { display: flex; position: relative; }
#header .action_buttons a.signup { margin-right: 20px; }

#header .action_buttons a.add_new_ad { margin-right: 20px; font-weight: 600; color: var(--color-dark); display: flex; align-items: center; } 
#header .action_buttons a.add_new_ad:hover { text-decoration: underline; } 
#header .action_buttons a.add_new_ad img { width: auto; height: 30px; margin-right: 5px; display: block; } 

#header .action_buttons a.settings { padding: 0 20px; display: flex; align-items: center; } 
#header .action_buttons a.settings img { width: auto; height: 30px; margin-right: 5px; display: block; } 

#header .action_buttons ul.dropdown_menu { width: 240px; left: auto; right: 0; top: calc(100% + 15px); padding: 8px 0; background: white; list-style: none; -moz-box-shadow: 0 10px 70px rgb(32 41 49 / 15%); -webkit-box-shadow: 0 10px 70px rgb(32 41 49 / 15%); box-shadow: 0 10px 70px rgb(32 41 49 / 15%); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
#header .action_buttons ul.dropdown_menu:before { width: 0; height: 0; bottom: 100%; right: 20px; border: solid transparent; pointer-events: none; border-color: rgba(255 255 255 / 0%); border-bottom-color: white; border-width: 10px; position: absolute; content: ''; }	
#header .action_buttons ul.dropdown_menu li a { padding: 12px 0 12px 60px; font-size: 16px; font-weight: 600; color: var(--color-dark); line-height: 20px; background-repeat: no-repeat; background-position: 30px center; background-size: auto 18px; display: block; } 
#header .action_buttons ul.dropdown_menu li a:hover { background-color: var(--color-silver); } 
#header .action_buttons ul.dropdown_menu li a.settings { background-image: url(images/icon_settings.svg?v=1); } 
#header .action_buttons ul.dropdown_menu li a.user { background-image: url(images/icon_user.svg?v=1); } 
#header .action_buttons ul.dropdown_menu li a.my_products { background-image: url(images/icon_products.svg?v=1); } 
#header .action_buttons ul.dropdown_menu li a.add { background-image: url(images/icon_add.svg?v=1); } 
#header .action_buttons ul.dropdown_menu li a.view { background-image: url(images/icon_view.svg?v=1); } 
#header .action_buttons ul.dropdown_menu li a.logout { background-image: url(images/icon_logout.svg?v=1); } 
#header .action_buttons ul.dropdown_menu li.sep { margin: 6px 0; border-top: 1px solid var(--color-silver-line); } 

/* RWD button */
#header .rwd_button { height: 50px; right: 20px; padding: 0 20px 0 60px; font-size: 18px; font-weight: 700; text-align: center; color: white; line-height: 50px; background: var(--color-green); position: absolute; cursor: pointer; }
#header .rwd_button .burg { width: 30px; height: 2px; left: 20px; top: 50%; background: white; display: block; position: absolute; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 30px; height: 2px; background: white; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: -8px; left: 0; }
#header .rwd_button .burg:after { top: 8px; right: 0; }

body.rwd_menu__opened #header .rwd_button .burg { background: transparent; }
body.rwd_menu__opened #header .rwd_button .burg:before { top: 0; -webkit-transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 0; -webkit-transform: rotate(-45deg); }

/* RWD nav opened */
body.rwd_menu__opened #header .logo img { width: auto !important; height: 66px !important; }


/*
--------------
	SLIDER
--------------
*/
#slider { height: 600px; background-color: #313131; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#slider .cover { width: 100%; height: 100%; left: 0; top: 0; background: rgba(58 58 60 / 50%); position: relative; }
#slider .slider_wrap { height: 100%; padding-bottom: 100px; display: flex; flex-wrap: wrap; align-content: end; }
#slider .slider_wrap h1 { margin-bottom: 30px; font-size: 50px; font-weight: 400; color: white; line-height: 100%; }
#slider .filter { width: 100%; height: 120px; background: var(--color-silver); display: flex; flex-wrap: wrap; }
#slider .filter .form_row { width: 25%; height: 100%; margin-bottom: 0 !important; padding: 0 20px; border-right: 1px solid #e6e6e6; display: flex; flex-wrap: wrap; align-content: center; }
#slider .filter .form_row .button { width: 100%; display: block; }


/*
-----------------------
	LATEST PRODUCTS
-----------------------
*/
#latest_products { padding: 70px 0; }
#latest_products .latest_products_header { margin-bottom: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
#latest_products .header_title { font-size: 40px; font-weight: 600; color: #3a3a3c; line-height: 100%; }


/*
-------------------
	NEW AUTHORS
-------------------
*/
#new_authors { padding: 70px 0; background: #e7e9e9; }
#new_authors .latest_products_header { margin-bottom: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
#new_authors .header_title { font-size: 40px; font-weight: 600; color: #3a3a3c; line-height: 100%; }

.authors_wrap { margin-left: -10px; margin-right: -10px; display: flex; flex-wrap: wrap; }
.authors_wrap .author { width: calc(33.3333333333% - 20px); height: 140px; margin: 20px 10px 0; padding: 20px; background: white; border: 1px solid var(--color-silver-line); display: flex; flex-wrap: wrap; }
.authors_wrap .author:nth-child(-n+3) { margin-top: 0; }
.authors_wrap .author .author_gravatar { width: 98px; height: 100%; }
.authors_wrap .author .author_gravatar img { width: 100%; height: 100%; display: block; }
.authors_wrap .author .author_name { width: calc(100% - 98px); height: 100%; padding-left: 20px; display: flex; flex-wrap: wrap; align-content: center; }
.authors_wrap .author .author_name a { width: 100%; font-size: 22px; font-weight: 600; text-decoration: none !important; color: #3a3a3c; line-height: 100%; }
.authors_wrap .author .author_name a:hover { text-decoration: underline !important; text-decoration-thickness: 1px !important; }
.authors_wrap .author .author_name .city { margin-top: 10px; font-size: 16px; }

/* Author header */
#author_header { height: 200px; background: #3a3a3c url(images/bgr_author_header.png) repeat center; position: relative; }
#author_header .inner { height: 100%; }
#author_header .avatar_wrap { left: 0; bottom: -40px; padding: 10px; background: white; position: absolute; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -moz-box-shadow: 0 2px 3px rgba(0 0 0 / 10%); -webkit-box-shadow: 0 2px 3px rgba(0 0 0 / 10%); box-shadow: 0 2px 3px rgba(0 0 0 / 10%); }
#author_header .avatar_wrap img { width: 150px; height: auto; display: block; }

#author_content .bio { margin-bottom: 30px; }
#author_content .contacts { margin-bottom: 30px; }
#author_content .action_buttons { margin-bottom: 20px; display: flex; flex-wrap: wrap; }
#author_content .action_buttons a { margin: 10px 10px 10px 0; display: flex; align-items: center; justify-content: center; }
#author_content .action_buttons a img { width: auto; height: 20px; margin-right: 10px; display: block; }

/* Author's products */
#author_products { padding: 70px 0; background: var(--color-silver); }
#author_products .header_title { margin-bottom: 30px; font-size: 40px; font-weight: 600; color: #3a3a3c; line-height: 100%; }

#author_search { margin-bottom: 30px; display: flex; flex-wrap: wrap; -moz-box-shadow: 0 1px 2px rgba(0 0 0 / 10%); -webkit-box-shadow: 0 1px 2px rgba(0 0 0 / 10%); box-shadow: 0 1px 2px rgba(0 0 0 / 10%); }
#author_search input[type=text] { width: calc(100% - 60px); height: 60px; padding-left: 15px; border: 1px solid var(--color-silver-line); border-right: none; }
#author_search input[type=submit] { width: 60px; height: 60px; background: var(--color-green) url(images/icon_search_white.svg) no-repeat center; background-size: auto 24px; cursor: pointer; }
#author_search input[type=submit]:hover { background-color: #313131; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { margin-bottom: 70px; position: relative; }
#aboutus:before { width: 100%; height: 50px; left: 0; top: 0; background: #e7e9e9; position: absolute; content: ''; z-index: -1; }

#aboutus .aboutus_wrap { display: flex; flex-wrap: wrap; }
#aboutus .aboutus_wrap .wrap_left { width: 50%; padding-top: 120px; padding-right: 50px; padding-bottom: 50px; padding-left: calc((100% - 1280px) /2); }
#aboutus .aboutus_wrap .wrap_left .title { margin-bottom: 20px; font-size: 50px; font-weight: 600; line-height: 100%; }
#aboutus .aboutus_wrap .wrap_left .text p { margin-bottom: 20px; }

#aboutus .aboutus_wrap .wrap_right { width: 50%; background-color: #3a3a3c; background-repeat: no-repeat; background-position: center; background-size: cover; }


/* 
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { height: 200px; font-size: 15px; font-weight: 700; color: white; line-height: 20px; background: var(--color-green); position: relative; }
#before_content .before_content_wrap { height: 100%; display: flex; flex-wrap: wrap; position: relative; z-index: 0; }
#before_content .before_content_wrap .wrap_left { width: 50%; padding-left: calc((100% - 1280px) /2); display: flex; flex-wrap: wrap; align-content: center; }
#before_content .before_content_wrap .wrap_left h1 { font-size: 50px; color: white; line-height: 100%; }
#before_content .before_content_wrap .wrap_right { width: 50%; background-repeat: no-repeat; background-position: center; background-size: cover; }

#before_content .rank-math-breadcrumb { width: 100%; margin-bottom: 10px; font-size: 16px; font-weight: 700; color: white; }
#before_content .rank-math-breadcrumb a { font-weight: 400; text-decoration: underline; color: rgba(255 255 255 / 50%); }
#before_content .rank-math-breadcrumb a:hover { color: rgba(255 255 255 / 100%); }

/* Empty */
#before_content.empty { padding-top: 50px; background: white; }
#before_content.empty h1 { font-size: 50px; color: var(--color-dark); line-height: 100%; }
#before_content.empty .inner { height: 100%; }
#before_content.empty .inner:after { width: 100%; max-width: 700px; height: 10px; left: 0; bottom: 0; background: var(--color-green); position: absolute; content: ''; }

#before_content.empty .rank-math-breadcrumb { color: var(--color-dark); }
#before_content.empty .rank-math-breadcrumb a { color: #b3b3b3; }
#before_content.empty .rank-math-breadcrumb a:hover { color: #b3b3b3; }


/*
------------
	HERO
------------
*/
#hero { min-height: 200px; background-color: #313131; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#hero:before { padding-top: 30%; display: block; content: ''; }
#hero .cover { width: 100%; height: 100%; left: 0; top: 0; background: rgba(49 49 49 / 50%); position: absolute; }
#hero .inner { height: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; }
#hero .inner h1 { font-size: 70px; color: white; line-height: 100%; }
#hero .inner .rank-math-breadcrumb { width: 100%; font-size: 16px; font-weight: 700; text-align: center; color: white; flex-basis: 100%; }
#hero .inner .rank-math-breadcrumb a { font-weight: 400; text-decoration: underline; color: rgba(255 255 255 / 80%); }
#hero .inner .rank-math-breadcrumb a:hover { color: rgba(255 255 255 / 100%); }


/*
-------------------------
	FILTER IN ARCHIVE
-------------------------
*/
#filter_in_archive { background: var(--color-silver); }
#filter_in_archive .filter { height: 120px; background: var(--color-silver); display: flex; flex-wrap: wrap; }
#filter_in_archive .filter .form_row { width: 25%; height: 100%; margin-bottom: 0 !important; padding: 0 20px; border-right: 1px solid #e6e6e6; display: flex; flex-wrap: wrap; align-content: center; }
#filter_in_archive .filter .form_row:last-child { border-right: none; }
#filter_in_archive .filter .form_row .button { width: 100%; display: block; }


/*
---------------
	CONTENT
---------------
*/
#container { padding-top: 80px; }

#content { padding: 50px 0; background: var(--color-silver); }
body.author #content { padding-top: 70px; background: transparent; }
body.single-product #content, 
body.post-type-archive-product #content { background: transparent; }

#content p { margin-bottom: 20px; }
#content a { text-decoration: underline; color: var(--color-dark); }
#content a:hover { text-decoration: none; }

#content ul { margin-bottom: 30px; margin-left: 30px; list-style: square; } 
#content ul.acf-checkbox-list { margin-left: 0 !important; display: flex; flex-wrap: wrap; list-style: none; }
#content ul.acf-checkbox-list li { margin: 10px 20px 10px 0; }
#content ul.acf-checkbox-list li label { font-weight: 400; }

#content h1 { margin-bottom: 20px; font-size: 50px; color: var(--color-dark); line-height: 100%; }
#content h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; line-height: 100%; }
#content h3.has_line { padding-bottom: 10px; border-bottom: 2px dashed var(--color-silver-line); }

/* Table */
#content .table_wrap { margin-bottom: 30px; }
#content table.custom_1 { width: 100%; margin-bottom: 20px; border-collapse: collapse; table-layout: fixed; }
#content table.custom_1 thead tr th { padding: 10px; font-size: 16px; text-align: left; color: white; line-height: 18px; background: var(--color-green); }
#content table.custom_1 tbody tr td { padding: 10px; font-size: 16px; text-align: left; line-height: 20px; border-bottom: 1px solid var(--color-silver-line); }


/*
---------------
	PROFILE
---------------
*/
ul.notice, .acf-notice, #message { width: 100%; margin-bottom: 30px; margin-left: 0 !important; padding: 20px; color: #000; background: #f6fefc; border: 2px solid #1f9978; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
ul.notice.error, .acf-notice.acf-error-message { background: #fef8f6; border-color: var(--color-red); }
ul.notice li, .acf-notice li { margin-left: 20px; }
.acf-notice p, #message p { margin-bottom: 0 !important; }

/* Tab */
#loggedin { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid var(--color-silver-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
#loggedin .action_buttons { display: flex; flex-wrap: wrap; }
#loggedin .action_buttons a { width: 140px; height: 140px; margin-right: 10px; background: white; font-size: 16px; font-weight: 700; text-align: center; color: var(--color-dark); line-height: 18px; border: 1px solid var(--color-silver-line); display: flex; flex-wrap: wrap; align-content: center; justify-content: center; -moz-box-shadow: 0 1px 2px rgba(0 0 0 / 7%); -webkit-box-shadow: 0 1px 2px rgba(0 0 0 / 7%); box-shadow: 0 1px 2px rgba(0 0 0 / 7%); }
#loggedin .action_buttons a.active, 
#loggedin .action_buttons a:hover { border-color: var(--color-green); -moz-box-shadow: 0 5px 7px rgba(0 0 0 / 10%); -webkit-box-shadow: 0 5px 7px rgba(0 0 0 / 10%); box-shadow: 0 5px 7px rgba(0 0 0 / 10%); }
#loggedin .action_buttons a img { width: auto; height: 40px; margin-bottom: 10px; display: block; flex-basis: 100%; }
#loggedin .action_buttons a span { width: 100%; min-height: 36px; display: block; }

.tab_wrap .tab_content { display: none; }

/* Product table */
table.product_table { width: 100%; border-collapse: collapse; border-spacing: 0; table-layout: fixed; }
table.product_table thead tr th { text-align: left; }
table.product_table thead tr th.product_thumbnail { width: 100px; }
table.product_table thead tr th.product_action_buttons { width: 250px; }

table.product_table tbody tr td { padding: 10px 0; border-bottom: 1px solid var(--color-silver-line); }
table.product_table tbody tr td.product_thumbnail { width: 100px; }
table.product_table tbody tr td.product_thumbnail a { width: 100px; height: 100px; padding: 5px; text-align: center; border: 3px solid var(--color-silver-line); display: block; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
table.product_table tbody tr td.product_thumbnail a:hover { border-color: var(--color-green); }
table.product_table tbody tr td.product_thumbnail a img { width: 100%; height: auto; margin: auto; display: block; }

table.product_table tbody tr td.product_name { padding-left: 30px; }
table.product_table tbody tr td.product_name a { font-size: 20px; font-weight: 700; text-decoration: underline; color: var(--color-dark); line-height: 100%; }
table.product_table tbody tr td.product_name small { margin-top: 10px; display: block; }
table.product_table tbody tr td.product_action_buttons { width: 250px; text-align: right; }
table.product_table tbody tr td.product_action_buttons a { vertical-align: top; }


/*
----------------
	PRODUCTS
----------------
*/
.results { margin-bottom: 20px; }
.results .count { font-weight: 700; }

.products { margin-left: -10px; margin-right: -10px; display: flex; flex-wrap: wrap; }
.products .product { width: calc(25% - 20px); margin: 20px 10px 0; padding-bottom: 60px; background: var(--color-silver); border: 1px solid var(--color-silver-line); position: relative; }
.products .product:nth-child(-n+4) { margin-top: 0; }

.products .product .thumbnail { padding: 20px; background: white; display: block; }
.products .product .thumbnail img { width: 100%; height: auto; display: block; }

.products .product .title { min-height: 90px; padding: 0 20px; background: white; }
.products .product .title a { font-size: 20px; font-weight: 600; text-decoration: none !important; color: #3a3a3c; line-height: 100%; display: inline-block; }
.products .product .title a:hover { text-decoration: underline !important; text-decoration-thickness: 1px !important; }

.products .product .meta { padding: 20px; font-size: 16px; line-height: 26px; background: var(--color-silver); }
.products .product .meta a { text-decoration: underline; color: var(--color-dark); }
.products .product .meta a:hover { text-decoration: none; }

.products .product .read_more { height: 60px; left: -1px; right: -1px; bottom: -1px; font-size: 17px !important; font-weight: 700; text-decoration: none !important; text-align: center; color: white !important; line-height: 60px; background: var(--color-green); display: block; position: absolute; }
.products .product .read_more:hover { background: var(--color-dark) !important; }

/* Pagination */
.products .pagination { width: 100%; margin-top: 50px; display: flex; flex-wrap: wrap; justify-content: center; position: relative; }
.products .pagination span.pages { font-size: 14px; font-weight: 700; text-transform: uppercase; right: 10px; position: absolute; }

.products .pagination a, 
.products .pagination span.current { width: 50px; height: 50px; margin: 0 1px; text-align: center; text-decoration: none !important; color: var(--color-dark); line-height: 50px; }
.products .pagination a:hover { background: var(--color-silver); }
.products .pagination span.current { color: white; background: var(--color-green); }


/*
---------------
	PRODUCT
---------------
*/
.product_wrap { margin-bottom: 70px; display: flex; flex-wrap: wrap; }

/* Breadcrumb */
.product_wrap .summary .rank-math-breadcrumb { margin-bottom: 10px; font-size: 16px; font-weight: 700; color: var(--color-dark); }
.product_wrap .summary .rank-math-breadcrumb a { font-weight: 400; text-decoration: underline; color: #999; display: inline-block; border-bottom: none !important; position: relative; z-index: 1; }
.product_wrap .summary .rank-math-breadcrumb a:hover { color: var(--color-dark); }
.product_wrap .summary .rank-math-breadcrumb .separator { font-weight: 400; color: #999; }

.product_wrap .summary h1 { font-size: 50px; color: var(--color-dark); line-height: 100%; }

/* Images */
.product_wrap .images { width: 50%; display: flex; flex-wrap: wrap; justify-content: center; }
.product_wrap .images a { width: 130px; height: 130px; margin: 0 10px; padding: 5px; text-align: center; border: 3px solid var(--color-silver-line); display: block; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.product_wrap .images a:hover { border-color: var(--color-green); }
.product_wrap .images a img { width: 100%; height: auto; margin: auto; display: block; }

.product_wrap .images a:first-child { width: 100%; height: auto; max-height: 600px; margin: 0 0 50px !important; padding: 0; border: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
.product_wrap .images a:first-child img { width: auto; max-width: 100%; height: auto; max-height: 100%; }

/* Summary */
.product_wrap .summary { width: 50%; padding-left: 50px; }

/* Meta */
.product_wrap .product_meta { margin-bottom: 30px; }
.product_wrap .product_meta div:not(.web) { padding: 10px 0 10px 35px; background-repeat: no-repeat; background-position: left center; background-size: 24px auto; border-bottom: 1px dashed #ddd; }
.product_wrap .product_meta div.material { background-image: url(images/icon_material.svg); }
.product_wrap .product_meta div.location { background-image: url(images/icon_location.svg); }
.product_wrap .product_meta div.price { background-image: url(images/icon_price.svg); }
.product_wrap .product_meta div.ways_to_sell { font-size: 15px; background-image: url(images/icon_market.svg); }
.product_wrap .product_meta div.ways_to_sell span { margin-right: 10px; }

/* Share */
.product_wrap .product_share { margin-bottom: 30px; display: flex; flex-wrap: wrap; }
.product_wrap .product_share h5 { width: 100%; font-size: 13px; font-weight: 700; text-transform: uppercase; display: block; }
.product_wrap .product_share a { width: 50px; height: 50px; margin-right: 10px; text-indent: -9999px; background-color: var(--color-green); background-repeat: no-repeat; background-position: center; background-size: auto 20px; display: inline-block; }
.product_wrap .product_share a:hover { background-color: var(--color-dark); }
.product_wrap .product_share a.facebook { background-image: url(images/icon_facebook_white.svg); }
.product_wrap .product_share a.twitter { background-image: url(images/icon_twitter_white.svg); }
.product_wrap .product_share a.mail { background-image: url(images/icon_mail_white.svg); }

/* Author */
.product_author_card { width: 100%; height: 140px; margin-bottom: 30px; padding: 20px; background: #f9f9f9; border: 1px solid var(--color-silver-line); display: flex; flex-wrap: wrap; position: relative; }
.product_author_card:before { height: 20px; right: 0; top: 0; padding: 0 10px; font-size: 12px; font-weight: 700; line-height: 20px; background: var(--color-silver-line); position: absolute; content: 'TERMELŐ'; }
.product_author_card .author_gravatar { width: 98px; height: 100%; }
.product_author_card .author_gravatar img { width: 100%; height: 100%; display: block; }
.product_author_card .author_name { width: calc(100% - 98px); height: 100%; padding-left: 20px; display: flex; flex-wrap: wrap; align-content: center; }
.product_author_card .author_name a { width: 100%; font-size: 22px; font-weight: 600; text-decoration: none !important; color: #3a3a3c; line-height: 100%; }
.product_author_card .author_name a:hover { text-decoration: underline !important; text-decoration-thickness: 1px !important; }
.product_author_card .author_name .city { margin-top: 10px; font-size: 16px; }


/*
------------
	CITY
------------
*/
.towns { margin: 0 -10px 50px -10px; display: flex; flex-wrap: wrap; }
.towns .town { width: calc(20% - 20px); margin: 20px 10px 0; text-decoration: none !important; padding: 20px; background: white; border: 1px solid var(--color-silver-line); display: flex; flex-wrap: wrap; justify-content: center; -moz-box-shadow: 0 1px 2px rgba(0 0 0 / 7%); -webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 7%); box-shadow: 0 1px 2px rgb(0 0 0 / 7%); } 
.towns .town:nth-child(-n+5) { margin-top: 0; } 
.towns .town:hover { border-color: var(--color-green); -moz-box-shadow: 0 5px 7px rgba(0 0 0 / 10%); -webkit-box-shadow: 0 5px 7px rgb(0 0 0 / 10%); box-shadow: 0 5px 7px rgb(0 0 0 / 10%); }
.towns .town .town_image_wrap { width: 100%; height: 150px; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; }
.towns .town .town_image_wrap img { width: auto; max-width: 90%; height: auto; max-height: 100%; display: block; }
.towns .town h4 { width: 100%; font-weight: 700; text-align: center; }

/* Meta */
.town_meta { margin-bottom: 30px; }
.town_meta div { padding: 10px 0 10px 35px; background-repeat: no-repeat; background-position: left center; background-size: 24px auto; border-bottom: 1px dashed #ddd; }
.town_meta div.area { background-image: url(images/icon_area.svg); }
.town_meta div.population { background-image: url(images/icon_population.svg); }
.town_meta div.marker { background-image: url(images/icon_marker.svg); }

/* Gallery */
.town_gallery { padding: 50px 0; background: white; }
.town_gallery h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; line-height: 100%; }
.town_gallery ul.gallery { margin-left: -10px !important; margin-right: -10px; margin-bottom: 0; list-style: none; display: flex; flex-wrap: wrap; }
.town_gallery ul.gallery li { width: calc(20% - 20px); margin: 20px 10px 0; }
.town_gallery ul.gallery li:nth-child(-n+5) { margin-top: 0; }
.town_gallery ul.gallery li a { padding: 5px; text-align: center; border: 3px solid var(--color-silver-line); display: block; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.town_gallery ul.gallery li a:hover { border-color: var(--color-green); }
.town_gallery ul.gallery li a img { width: 100%; height: auto; margin: auto; display: block; }


/*
--------------
	FOOTER
--------------
*/
#footer { color: white; background: #3a3a3c; }

/* Footer top */
#footer .footer_top { padding: 70px 0; }
#footer .footer_top p { margin-bottom: 20px; font-size: 15px; line-height: 20px; }
#footer .footer_top a { text-decoration: underline; color: white; }
#footer .footer_top a:hover { text-decoration: none; }
#footer .footer_top h3 { margin-bottom: 20px; font-size: 24px; font-weight: 700; line-height: 100%; }
#footer .footer_top ul { list-style: none; }
#footer .footer_top ul li { padding-left: 20px; position: relative; cursor: pointer; }
#footer .footer_top ul li:before { width: 4px; height: 4px; left: 0; top: 13px; background: var(--color-green); position: absolute; content: ''; }
#footer .footer_top ul li a { color: white; }
#footer .footer_top ul li a:hover { text-decoration: underline; }

#footer .footer_top .footer_top_wrap { display: flex; flex-wrap: wrap; }
#footer .footer_top .footer_top_wrap .wrap_left { width: 33.3333333333%; }
#footer .footer_top .footer_top_wrap .wrap_left.logo_social_media { display: flex; flex-wrap: wrap; align-content: space-between; }

#footer .footer_top .footer_top_wrap .logo { max-width: 300px; margin-bottom: 30px; font-size: 30px; text-decoration: none !important; color: white; line-height: 100%; display: inline-block; }

#footer .footer_top .footer_top_wrap .social_media { margin-top: 20px; display: flex; }
#footer .footer_top .footer_top_wrap .social_media a { width: 60px; height: 60px; margin-right: 10px; text-indent: -9999px; background-color: var(--color-green); background-repeat: no-repeat; background-position: center; background-size: auto 30px; display: block; }
#footer .footer_top .footer_top_wrap .social_media a:hover { opacity: 90%; }
#footer .footer_top .footer_top_wrap .social_media a.facebook { background-image: url(images/icon_facebook_white.svg); }
#footer .footer_top .footer_top_wrap .social_media a.instagram { background-image: url(images/icon_instagram_white.svg); }
#footer .footer_top .footer_top_wrap .social_media a.youtube { background-image: url(images/icon_youtube_white.svg); }

/* Footer bottom */
#footer .footer_bottom { padding: 20px 0; color: rgba(255 255 255 / 50%); background: #313131; }
#footer .footer_bottom .footer_bottom_wrap { display: flex; flex-wrap: wrap; justify-content: center; }
#footer .footer_bottom .footer_bottom_wrap .sep { margin: 0 10px; }

/* Newsletter */
#footer form.mailster-form { margin-bottom: 0 !important; }
#footer form.mailster-form .mailster-form-fields { display: flex; flex-wrap: wrap; justify-content: space-between; }
#footer form.mailster-form .mailster-form-fields .mailster-wrapper { width: 100%; margin-bottom: 10px; }

#footer form.mailster-form .mailster-form-fields .mailster-wrapper input[type=text], 
#footer form.mailster-form .mailster-form-fields .mailster-wrapper input[type=email] { width: 100%; height: 50px; padding-left: 10px; font-size: 18px; color: white; background: transparent; border: 1px solid #757577; border-bottom-width: 2px; }
#footer form.mailster-form .mailster-form-fields .mailster-wrapper.error input[type=text], 
#footer form.mailster-form .mailster-form-fields .mailster-wrapper.error input[type=email] { border-color: var(--color-red); outline: none; }

#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-lastname-wrapper, 
#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-firstname-wrapper { width: calc(50% - 5px); }

#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-privacy-policy-wrapper label { padding-left: 35px; font-size: 14px; color: #ccc; line-height: 20px; display: block; position: relative; }
#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-privacy-policy-wrapper input[type=checkbox] { left: 0; top: 2px; position: absolute; }
#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-privacy-policy-wrapper.error input[type=checkbox] { outline: none; }

#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-submit-wrapper { margin-top: 0 !important; margin-bottom: 0 !important; }
#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-submit-wrapper input { width: 100%; background-color: var(--color-green); }
#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-submit-wrapper input:hover { color: #313131 !important; background-color: white; }

#footer form.mailster-form .mailster-form-info { margin-bottom: 10px; font-size: 14px !important; }
#footer form.mailster-form .mailster-form-info.error { color: #000; line-height: 20px; background: #fef8f6; border: 2px solid var(--color-red); }
#footer form.mailster-form .mailster-form-info p { margin-bottom: 10px !important; font-size: 14px !important; }
#footer form.mailster-form .mailster-form-info ul { margin-left: 20px; }
#footer form.mailster-form .mailster-form-info ul li { padding-left: 0 !important; list-style: square !important; }
#footer form.mailster-form .mailster-form-info ul li:before { display: none; }
#footer form.mailster-form .mailster-form-info.success p { margin-bottom: 0 !important; }


/*
------------------
	COOKIE BAR
------------------
*/
#cookie-law-info-bar { font-size: 14px; line-height: 20px; }
#cookie-law-info-bar .cli_settings_button { font-weight: 700; text-decoration: underline; }


/*
------------
	FORM
------------
*/
form:not(.acf-form) { display: flex; flex-wrap: wrap; justify-content: space-between; }
form h3 { width: 100%; }
form p { width: 100%; }

.form_row { margin-bottom: 20px; position: relative; }
.form_row.form_row_first { width: calc(50% - 10px); }
.form_row.form_row_last { width: calc(50% - 10px); }
.form_row.form_row_wide { width: 100%; }

.form_row br { display: none !important; }
.form_row label { width: 100%; margin-bottom: 5px; font-size: 15px; font-weight: 900; color: var(--color-dark); line-height: 20px; display: block; }
.form_row small.info { margin-top: -5px; margin-bottom: 5px; display: block; }

.form_row select, 
.form_row textarea, 
.form_row input[type=tel], 
.form_row input[type=url], 
.form_row input[type=text], 
.form_row input[type=email], 
.form_row input[type=number], 
.form_row input[type=password] { width: 100%; height: 50px; padding-left: 10px; font-size: 18px; background: white; border: 1px solid var(--color-silver-line); border-bottom-width: 2px; }

.form_row input[type=text]:read-only { color: #ccc; cursor: no-drop; }

.form_row textarea { min-height: 150px; padding: 10px; resize: vertical; }

/* ACF form */
.acf-form .acf-field { width: 100% !important; margin-bottom: 20px; }
.acf-form .acf-field label { width: 100%; margin-bottom: 5px; font-size: 15px; font-weight: 900; color: var(--color-dark); line-height: 20px; display: block; }
.acf-form .acf-field .description { width: 100%; margin-bottom: 0 !important; font-size: 13px; line-height: 20px; display: block; }

.acf-form select, 
.acf-form textarea, 
.acf-form input[type=tel], 
.acf-form input[type=url], 
.acf-form input[type=text], 
.acf-form input[type=email], 
.acf-form input[type=number], 
.acf-form input[type=password] { width: 100%; height: 50px; padding-left: 10px; font-size: 18px; background: white; border: 1px solid var(--color-silver-line); border-bottom-width: 2px; }

.acf-form textarea { min-height: 150px; padding: 10px; resize: vertical; }

.acf-form .acf-field.acf-field-6238d586370fe { padding-top: 20px; border-top: 3px solid var(--color-silver-line); }

/* Avatar */
form.update-user-profile-avatar table tbody tr:first-child p { display: none !important; }
form.update-user-profile-avatar table tbody tr:first-child p#wp_user_profile_avatar_add_button_existing { display: block !important; }
form.update-user-profile-avatar table tbody tr td { padding: 0 !important; }

form.update-user-profile-avatar #wp-user-profile-avatar-preview { display: none !important; }
form.update-user-profile-avatar #wp-user-profile-avatar-thumbnail span { display: none !important; }
form.update-user-profile-avatar #wp-user-profile-avatar-undo-button .button { display: none !important; }
form.update-user-profile-avatar #wp-user-profile-avatar-remove-button .button { height: auto !important; padding: 0 !important; text-decoration: underline !important; color: var(--color-red) !important; line-height: 20px !important; background: transparent !important; }
form.update-user-profile-avatar #wp-user-profile-avatar-remove-button .button:hover { color: var(--color-dark) !important; }

#upload_avatar_responce { color: #1f9978 !important; }


/*
----------
	UI
----------
*/
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover { border: 1px solid var(--color-green) !important; background: var(--color-green) !important; }


/*
----------------------
	SZÉCHENYI 2020
----------------------
*/
#szechenyi2020 { width: auto; height: 150px; right: 0; bottom: 0; display: inline-block; position: fixed; z-index: 100; }
#szechenyi2020 img { width: auto; height: 100%; display: block; }


/*
-------------------
	RWD DESIGN
-------------------
*/
@media only screen and (max-width: 1440px) { 

	/* DISPLAY: None */
	.hide_in_1440 { display: none !important; }
	
	/* HEADER: Logo and menu */
	#header { padding: 0 20px; }
}

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

	/* DEFAULT */
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }

	/* HEADER */
	#header { padding: 0; }
	
	/* HEADER: Logo and menu */
	#header .logo_menu .logo { max-width: 200px; margin-right: 30px; }
	
	/* HEADER: Menu */
	#header .logo_menu ul li { margin-right: 20px; }
	
	/* SLIDER */
	#slider { height: 500px; }
	#slider .slider_wrap { padding-bottom: 0; align-content: center; }
	#slider .slider_wrap h1 { font-size: 40px; }
	
	/* NEW AUTHORS: Author header */
	#author_header .avatar_wrap { left: 20px; }
	
	/* ABOUT US */
	#aboutus .aboutus_wrap .wrap_left { padding-left: 20px; }
	#aboutus .aboutus_wrap .wrap_left .title { font-size: 40px; }
	
	/* BEFORE CONTENT */
	#before_content .before_content_wrap .wrap_left { padding-left: 20px; }
	#before_content .before_content_wrap .wrap_left h1 { font-size: 40px; }
	
	/* BEFORE CONTENT: Empty */
	#before_content.empty h1 { font-size: 40px; }
	
	/* HERO */
	#hero .inner h1 { font-size: 60px; }
	
	/* CITY */
	.towns .town { width: calc(25% - 20px); } 
	.towns .town:nth-child(5) { margin-top: 20px; } 
}

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

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* HEADER: Logo and menu */
	#header .logo_menu .logo { margin-right: 0; border-right: none; }
	
	/* SLIDER */
	#slider .slider_wrap h1 { font-size: 30px; }
	#slider .filter { height: auto; }
	#slider .filter .form_row { width: 50%; height: 100px; }
	#slider .filter .form_row:nth-child(1), 
	#slider .filter .form_row:nth-child(2) { border-bottom: 1px solid #e6e6e6; }
	
	/* LATEST PRODUCTS */
	#latest_products { padding: 50px 0; }
	#latest_products .header_title { font-size: 30px; }

	/* NEW AUTHORS */
	#new_authors { padding: 50px 0; }
	#new_authors .header_title { font-size: 30px; }

	.authors_wrap .author { width: calc(50% - 20px); }
	.authors_wrap .author:nth-child(3) { margin-top: 20px; }
	
	/* NEW AUTHORS: Author's products */
	#author_products { padding: 50px 0; }
	#author_products .header_title { font-size: 30px; }
	
	/* ABOUT US */
	#aboutus { margin-bottom: 0; }
	#aboutus:before { display: none; }

	#aboutus .aboutus_wrap .wrap_left { width: 100%; padding-top: 50px; padding-right: 20px; }
	#aboutus .aboutus_wrap .wrap_left .title { margin-bottom: 20px; font-size: 30px; }

	#aboutus .aboutus_wrap .wrap_right { width: 100%; }
	#aboutus .aboutus_wrap .wrap_right:before { padding-top: 50%; display: block; content: ''; }
	
	/* BEFORE CONTENT */
	#before_content .before_content_wrap .wrap_left { width: 100%; height: 100%; padding-right: 20px; position: relative; z-index: 2; }
	#before_content .before_content_wrap .wrap_right { width: 100%; height: 100%; left: 0; top: 0; position: absolute; opacity: 20%; }

	/* BEFORE CONTENT: Empty */
	#before_content.empty { height: auto; }
	#before_content.empty .inner { height: 100%; padding-bottom: 50px; }
	
	/* HERO */
	#hero .inner h1 { font-size: 50px; }
	
	/* CONTENT: Table */
	#content .table_wrap { overflow-x: auto; }
	#content table.custom_1 { min-width: 960px; }
	
	/* FILTER IN ARCHIVE */
	#filter_in_archive .filter { height: auto; }
	#filter_in_archive .filter .form_row { width: 50%; height: 100px; }
	#filter_in_archive .filter .form_row:nth-child(1), 
	#filter_in_archive .filter .form_row:nth-child(2) { border-bottom: 1px solid #e6e6e6; }
	
	/* CONTENT */
	#content { padding: 30px 0; }
	
	/* PROFILE: Tab */
	#loggedin .action_buttons { width: 100%; order: 2; }
	#loggedin .user_display_name { width: 100%; margin-bottom: 20px; order: 1; }
	
	/* PRODUCT */
	.product_wrap h1 { font-size: 40px !important; }
	
	/* PRODUCT: Summary */
	.product_wrap .summary { width: 50%; padding-left: 30px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding: 50px 0; }
	#footer .footer_top .footer_top_wrap .wrap_left { width: 50%; }
	#footer .footer_top .footer_top_wrap .wrap_left.newsletter { width: 100%; margin-top: 30px; padding-top: 30px; border-top: 2px solid rgba(255 255 255 / 10%); }
}

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

	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_768 { display: block !important; }
	
	/* LATEST PRODUCTS */
	#latest_products .header_title { width: 100%; margin-bottom: 20px; }
	#latest_products .button { width: 100%; }
	
	/* NEW AUTHORS */
	#new_authors .header_title { width: 100%; margin-bottom: 20px; }
	#new_authors .button { width: 100%; }
	
	/* HERO */
	#hero .inner h1 { font-size: 40px; }
	
	/* CONTENT */
	#content h1 { font-size: 40px; }

	/* PROFILE: Product table */
	table.product_table { display: block; }
	table.product_table tbody { display: block; }
	table.product_table tbody tr { margin-bottom: 20px; background: white; border: 1px solid var(--color-silver-line); display: block; }
	table.product_table tbody tr td { padding: 10px; display: block; }
	table.product_table tbody tr td.product_thumbnail { width: 100%; }
	table.product_table tbody tr td.product_name { padding-left: 10px; }

	/* PRODUCTS */
	.products .product { width: calc(33.3333333333% - 20px); }
	.products .product:nth-child(4) { margin-top: 20px; }
	
	/* PRODUCT: Images */
	.product_wrap .images { width: 100%; margin-bottom: 30px; }
	.product_wrap .images a { width: 100px; height: 100px; }
	.product_wrap .images a:first-child { margin: 0 0 30px !important; }
	
	/* PRODUCT: Summary */
	.product_wrap .summary { width: 100%; padding-left: 0; }
	
	/* CITY */
	.towns .town { width: calc(33.3333333333% - 20px); } 
	.towns .town:nth-child(4) { margin-top: 20px; } 
	
	/* CITY: Gallery */
	.town_gallery ul.gallery li { width: calc(25% - 20px); }
	.town_gallery ul.gallery li:nth-child(5) { margin-top: 20px; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom { text-align: center; }
	#footer .footer_bottom .copyright { width: 100%; display: block; }
}

@media only screen and (max-width: 640px) { 
	
	/* SLIDER */
	#slider { height: auto; }
	#slider .slider_wrap { padding-top: 50px; padding-bottom: 50px; }
	#slider .slider_wrap h1 { font-size: 26px; }
	#slider .filter .form_row { width: 100%; }
	#slider .filter .form_row:nth-child(3) { border-bottom: 1px solid #e6e6e6; }
	
	/* NEW AUTHORS */
	.authors_wrap { margin-left: 0; margin-right: 0; }
	.authors_wrap .author { width: 100%; margin: 20px 0 0; }
	.authors_wrap .author:nth-child(2) { margin-top: 20px; }

	/* PROFILE: Tab */
	#loggedin .action_buttons { justify-content: space-between; }
	#loggedin .action_buttons a { width: calc(33.3333333333% - 10px); height: 120px; margin-right: 0; font-size: 15px; }
	#loggedin .action_buttons a img { height: 30px; }
	
	/* FILTER IN ARCHIVE */
	#filter_in_archive .filter .form_row { width: 100%; }
	#filter_in_archive .filter .form_row:nth-child(3) { border-bottom: 1px solid #e6e6e6; }
	
	/* PRODUCTS */
	.products .product { width: calc(50% - 20px); }
	.products .product:nth-child(3) { margin-top: 20px; }
	.products .product .thumbnail { padding: 10px; }
	.products .product .title { min-height: 70px; padding: 0 10px; }
	.products .product .title a { font-size: 18px; }
	.products .product .meta { padding: 10px; font-size: 15px; line-height: 24px; }
	
	/* CITY */
	.towns .town h4 { font-size: 16px; } 
	
	/* CITY: Gallery */
	.town_gallery ul.gallery li { width: calc(33.3333333333% - 20px); }
	.town_gallery ul.gallery li:nth-child(4) { margin-top: 20px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap .wrap_left { width: 100%; }
	#footer .footer_top .footer_top_wrap .wrap_left.logo_social_media > div { width: 100%; }
	#footer .footer_top .footer_top_wrap .wrap_left.pages { margin-top: 30px; padding-top: 30px; border-top: 2px solid rgba(255 255 255 / 10%); }
	
	/* FOOTER: Newsletter */
	#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-lastname-wrapper, 
	#footer form.mailster-form .mailster-form-fields .mailster-wrapper.mailster-firstname-wrapper { width: 100%; }
	
	/* FORM */
	.form_row.form_row_first, 
	.form_row.form_row_last { width: 100%; }
	
	/* FORM: ACF form */
	.acf-field.acf-field-checkbox ul li { width: 100%; }
}

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

	/* DEFAULT */
	.button.button_full_width_in_480 { width: 100%; height: auto; padding: 15px 10px; line-height: 20px; display: block; }

	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrap { width: calc(100% - 20px); }
	
	/* NEW AUTHORS */
	.authors_wrap .author .author_name a { font-size: 20px; }
	.authors_wrap .author .author_name .city { font-size: 15px; }
	
	/* NEW AUTHORS: Author header */
	#author_content .action_buttons a { width: 100%; margin: 10px 0; }
	
	/* BEFORE CONTENT */
	#before_content { height: auto; }
	#before_content .before_content_wrap .wrap_left { padding-top: 50px; padding-bottom: 50px; }
	
	/* PRODUCTS */
	.products .product .meta strong { display: block; }
	.products .product .read_more { font-size: 16px !important; }
	
	/* CITY */
	.towns .town { width: calc(50% - 20px); } 
	.towns .town .town_image_wrap { height: 100px; }
	.towns .town:nth-child(3) { margin-top: 20px; } 
	
	/* CITY: Meta */
	.town_meta { font-size: 16px; }
	
	/* CITY: Gallery */
	.town_gallery ul.gallery li { width: calc(50% - 20px); }
	.town_gallery ul.gallery li:nth-child(3) { margin-top: 20px; }
}

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

	/* HEADER: Logo */
	#header .logo_menu .logo { max-width: 150px; font-size: 18px; }
	
	/* HEADER: RWD button */
	#header .rwd_button { font-size: 16px; }
	
	/* PRODUCTS */
	.products { margin-left: 0; margin-right: 0; }
	.products .product { width: 100%; margin: 20px 0 0; }
	.products .product:nth-child(2) { margin-top: 20px; }
	.products .product .title { min-height: auto; padding: 10px; }
	.products .product .title a { font-size: 20px; }
}