﻿/*
Theme Name: Ételrendelés DEMO
Theme URI: https://digitalform.hu
Description: Ez egy demó weboldal, amely a heti menürendelés funkció fejlesztésének tesztelésére szolgál. A cél egy olyan rendszer kialakítása, ahol a felhasználók napi bontásban rendelhetnek leveseket, főételeket és süteményeket.
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

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

@font-face { 
	font-family: 'Avenir'; 
	src: url("fonts/avenir-regular.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}


@font-face { 
	font-family: 'Avenir'; 
	src: url("fonts/avenir-italic.woff2") format('woff2');
	font-weight: 400; 
	font-style: italic;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'Avenir'; 
	src: url("fonts/avenir-demi.woff2") format('woff2');
	font-weight: 600; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}


@font-face { 
	font-family: 'Avenir'; 
	src: url("fonts/avenir-bold.woff2") format('woff2');
	font-weight: 700; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

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

:root {
	--color-dark: #231F20;
	--color-dark-sand: #EBE1D7;
	--color-sand: #F8F5F2;
	--color-line: #E9E8E6;
	--color-brown: #4A4741;
	--color-red: #ec1000;
	--color-green: #355F3B;
	--color-yellow: #ebca22;
}

body { margin: auto; font-family: 'Avenir', sans-serif; font-size: 17px; font-weight: 600; line-height: 25px; background: var(--color-dark); overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden !important; }

textarea, input, select, button { font-family: 'Avenir', sans-serif; font-size: 16px; outline: none; }

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

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; }

hr { width: 100%; margin: 20px 0; border-top: 1px solid var(--color-line); }

/* Classes */
.clear { clear: both; }
.inner { max-width: 1400px; margin-left: auto; margin-right: auto; position: relative; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.hide { display: none !important; }
.red { color: var(--color-red); }

.center { text-align: center; }
.uppercase { text-transform: uppercase; }
.sec_font { font-family: 'Din Condensed', sans-serif; }

/* Animation */
.anim, :before, :after { -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }

/* Button */
.button { height: 50px; padding: 0 25px; font-family: 'Avenir', sans-serif; font-size: 16px !important; font-weight: 700; text-decoration: none !important; color: #ffffff !important; line-height: 20px; background: var(--color-brown); display: inline-flex; align-content: center; justify-content: center; cursor: pointer; border-radius: 5px; -webkit-transition: all 0.1s ease-out; transition: all 0.1s ease-out; }
.button:hover { background: var(--color-dark); }
.button:after { display: none !important; }
.button:active { }

.button.button_white { color: var(--color-dark) !important; background: #ffffff; }

.button.button_green { color: #ffffff !important; background: var(--color-green); }
.button.button_green:hover { background: var(--color-dark); }

.button:disabled, 
.button:disabled:hover { color: rgba(255 255 255 / 30%) !important; background-color: var(--color-brown) !important; }

/* 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: #ffffff; border: 1px solid var(--color-dark-sand); clear: none; cursor: pointer; display: inline-block; line-height: 0; outline: 0; vertical-align: middle !important; border-radius: 3px; -webkit-appearance: none; -webkit-box-shadow: none; box-shadow: none; }
input[type="radio"] { border-radius: 50%; }

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

input[type="checkbox"]:checked { background: var(--color-green); border-color: var(--color-green); }
input[type="checkbox"]:checked:before { width: 100%; height: 100%; left: 0; top: 0; color: #ffffff; position: relative; display: flex; align-items: center; justify-content: center; content: '✓'; }

#website { max-width: 1600px; min-height: 100vh; margin: auto; padding: 0 100px; background: var(--color-sand); }

/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { left: 0; top: 80px; right: 0; bottom: 0; background: #000000; position: fixed; z-index: 1000; visibility: hidden; opacity: 0%; }
#rwd_menu .rwd_menu_wrap { left: 20px; top: 20px; right: 20px; bottom: 20px; padding: 50px; background: var(--color-green); position: absolute; z-index: 1000; }
#rwd_menu .rwd_menu_wrap label { margin-bottom: 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: rgba(255 255 255 / 75%); display: block; }

/* Section */
#rwd_menu .rwd_menu_section { margin-bottom: 50px; }

/* Menu */
#rwd_menu ul.menu { list-style: none; }
#rwd_menu ul.menu li { margin-bottom: 10px !important; }
#rwd_menu ul.menu li:last-child { margin-bottom: 0 !important; }
#rwd_menu ul.menu li a { font-size: 18px; text-decoration: none; color: #ffffff; line-height: 100%; }
#rwd_menu ul.menu li a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* Primary Menu */
#rwd_menu ul.menu.primary_menu li { margin-bottom: 15px !important; }
#rwd_menu ul.menu.primary_menu li a { font-size: 40px; }

/* Action button */
#rwd_menu .action_button .button { background-color: #000000 !important; }

/* RWD menu is opened */
body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 100%; }

/*
--------------
	HEADER
--------------
*/
#header { height: 140px; border-top: 10px solid var(--color-brown); }
#header a { font-weight: 700; color: var(--color-dark); }
#header a:hover { text-decoration: underline; }

#header .header_wrap { height: 100%; display: flex; align-items: start; justify-content: space-between; position: relative; }
#header .header_left { height: 50%; display: flex; align-items: center; position: relative; z-index: 2; }
#header .header_left ul { display: flex; list-style: none; }
#header .header_left ul li { margin-right: 30px; }
#header .header_left ul li:last-child { margin-right: 0; }


#header .header_right { height: 50%; display: flex; align-items: center; position: relative; z-index: 2; }

/* Logo */
#header .logo { width: 100%; height: 100%; left: 0; top: 0; display: flex; justify-content: center; position: absolute; z-index: 1; }
#header .logo:before { width: 100%; height: 1px; left: 0; top: 50%; background: var(--color-dark); position: absolute; content: ''; z-index: -1; }
#header .logo:after { width: 100%; height: 50%; left: 0; top: 0; background: var(--color-sand); position: absolute; content: ''; z-index: -1; }
#header .logo a.logo-holder { width: fit-content; height: 100%; padding: 0 20px; background: var(--color-sand); display: flex; align-items: center; border-radius: 0 0 10px 10px; }
#header .logo a.logo-holder img { width: auto; height: 100%; max-height: 100px; display: block; }

/* Profile */
#header .profile { height: 30px; padding-left: 30px; background: url(images/icon-user-dark.svg) no-repeat left center / auto 20px; display: flex; align-items: center; }

/* Ajax Cart */
#header .ajax_cart { height: 30px; margin-left: 30px; padding-left: 30px; background: url(images/icon-basket-dark.svg) no-repeat left center / auto 26px; display: flex; align-items: center; position: relative; z-index: 2; }
#header .ajax_cart .count { font-size: 18px; color: var(--color-dark); line-height: normal; }

/* RWD button */
#header .rwd_button { width: 70px; height: 58px; right: 20px; top: 50%; background: var(--color-green); position: absolute; border-radius: 0 15px 0 15px; cursor: pointer; }
#header .rwd_button .burg { width: 40px; top: calc(50% - 2px); left: 15px; position: absolute; }

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

#header .rwd_button .burg:before { top: calc(50% - 4px); left: 0; }
#header .rwd_button .burg:after { top: calc(50% + 4px); right: 0; }

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

/* Fixed Header */
body.fixed_header #header { left: calc((100% - 1400px) / 2); right: calc((100% - 1400px) / 2); top: 0; position: fixed; z-index: 100; }
body.fixed_header #header .logo .logo-holder { height: 65%; }
body.fixed_header #header .logo .logo-holder img { max-height: 80%; }


/*
------------------
	SLIDE GRID
------------------
*/
.slide_grid { width: 100%; height: 500px; margin: 0 auto; display: grid; grid-template-columns: 1fr 356px; gap: 0; }
.slide_grid h3 { margin-bottom: 20px; font-size: clamp(1.25rem, 2vw + 1rem, 2rem); font-weight: 700; line-height: 100%; }
.slide_grid p { margin: 10px 0; font-size: 18px; }
.slide_grid p:last-child { margin-bottom: 0; }

/* BAL OLDAL */
.grid_1_content { background: var(--color-dark) url(images/img-01.jpg) no-repeat center / cover; position: relative; }
.grid_1_content h1 { margin: 10px 0; font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 700; }
.grid_1_content .cover { inset: 0; padding: 30px 70px; padding-right: 20%; color: #ffffff; background: linear-gradient(to right, rgba(0 0 0 / 50%) 0%, rgba(0 0 0 / 50%) 50%, rgba(0 0 0 / 0%) 100%); display: flex; flex-direction: column; justify-content: end; align-items: flex-start; position: absolute; }

.grid_2_content { padding: 25px; font-size: 16px; color: #ffffff; line-height: 22px; background: var(--color-brown) url(images/bgr-slide-grid-01.png) no-repeat right bottom / auto auto; display: flex; align-content: space-between; }
.grid_2_content .daily_menu_main { width: 100%; }
.grid_2_content .daily_menu_date { margin-bottom: 20px; padding-bottom: 20px; font-size: 16px; border-bottom: 1px solid rgba(255 255 255 / 20%); display: flex; align-items: center; justify-content: space-between; }
.grid_2_content .daily_menu_date .daily_menu_label { width: fit-content; padding: 5px 10px; color: var(--color-dark); background: #ffffff; border-radius: 5px; }
.grid_2_content .daily_menu_date .date { text-transform: capitalize; }
.grid_2_content .countdown { margin-bottom: 10px; font-size: 14px; }

.grid_2_content .food { margin-bottom: 15px; }
.grid_2_content .food label { font-size: 14px; text-transform: uppercase; color: rgba(255 255 255 / 75%); display: block; }
.grid_2_content .food ul { margin-left: 20px; }

.grid_3_content { color: white; background: var(--color-dark) url(images/img-cola-02.jpg) no-repeat center bottom / cover; position: relative; }
.grid_3_content .cover { inset: 0; padding: 30px 40px; background: linear-gradient(to bottom, rgba(0 0 0 / 0) 0%, rgba(0 0 0 / 80%) 50%, rgba(0 0 0 / 80%) 100%); display: flex; align-items: end; align-content: end; position: absolute; }

/* JOBB OLDALI blokk */
.slide_column_right { height: 100%; background: #222; overflow: hidden; }
.slide_column_right img { width: 100%; height: 100%; object-fit: cover; }


/*
---------------------------
	CURRENT WEEKLY MENU
---------------------------
*/
#current-weekly-menu { padding: 50px 0; }
#current-weekly-menu h2 { margin-bottom: 20px; font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2.5rem); font-weight: 700; }

.weekly-menu-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.weekly-menu-wrapper .day-box { width: 100%; padding-bottom: 50px; background: #ffffff; border: 1px solid var(--color-dark-sand); outline: 2px solid transparent; outline-offset: 2px; border-radius: 10px; position: relative; }
.weekly-menu-wrapper .day-box:hover { outline-color: var(--color-dark-sand); }
.weekly-menu-wrapper .day-box h3 { height: 80px; margin-bottom: 0 !important; padding: 10px; font-size: 25px !important; font-weight: 700; text-align: center; background: #ffffff; border-bottom: 1px solid var(--color-dark-sand); display: flex; align-content: center; justify-content: center; border-radius: 10px 10px 0 0; }
.weekly-menu-wrapper .day-box h3 small { width: 100%; font-size: 20px !important; display: block; }
.weekly-menu-wrapper .day-box .entry { padding: 20px; }
.weekly-menu-wrapper .day-box .entry .food { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--color-dark-sand); }
.weekly-menu-wrapper .day-box .entry .food label { font-size: 14px; text-transform: uppercase; color: var(--color-yellow); display: block; }
.weekly-menu-wrapper .day-box .entry .food ul { margin-left: 20px; margin-bottom: 0 !important; }
.weekly-menu-wrapper .day-box .button { left: 20px; right: 20px; bottom: 20px; position: absolute; }








.day-block {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
}

.day-block h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.meal {
    margin-bottom: 1rem;
}

.meal ul {
    margin: 0;
    padding-left: 1.5rem;
}












/*
---------------
	CONTENT
---------------
*/
#container { }
body.fixed_header #container { padding-top: 140px; }

/* Content */
#content { padding: 30px 0 50px; }
#content p { margin-bottom: 20px; }

#content a { text-decoration: underline; color: var(--color-dark); }

#content ul { margin-left: 20px; margin-bottom: 20px; }
#content ol { margin-left: 20px; margin-bottom: 20px; }

#content h1 { margin-bottom: 30px; font-size: clamp(1.75rem, 3vw + 1rem, 3rem); font-weight: 700; }
#content h2 { margin-bottom: 30px; font-size: clamp(1.5rem, 2.5vw + 1rem, 2.5rem); }
#content h3 { margin-bottom: 20px; font-size: clamp(1.25rem, 2vw + 1rem, 2rem); font-weight: 700; line-height: 100%; }
  
/* 
------------
	MAIN
------------
*/
.menu-day-block { display: flex; justify-content: space-between; }

/* Images */
.menu-day-block .images { width: 550px; }

/* Separator */
.menu-day-block .separator { width: 150px; display: flex; align-items: center; justify-content: center; }

/* Summary */
.menu-day-block .summary { flex: 1; }

/* Description */
.menu-day-block .menu_description { width: 100%; margin-top: 50px; }
.menu-day-block .menu_description h3 { padding-bottom: 20px; color: var(--color-green) !important; border-bottom: 1px solid var(--color-line); }


/*
--------------
	FOOTER
--------------
*/
#footer { border-top: 1px solid var(--color-dark); border-bottom: 1px solid var(--color-dark); }
#footer .footer_wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; }
#footer .footer_wrap h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; line-height: 100%; }
#footer .footer_wrap .wrap_left { padding: 40px;border-right: 1px solid var(--color-dark); }
#footer .footer_wrap .wrap_left:last-child { border-right: none; }


/*
-----------------
	COPYRIGHT
-----------------
*/
#copyright { padding: 20px 0; font-size: 16px; text-align: center; }


/*
------------
	FORM
------------
*/
.form_row { margin-bottom: 20px; }
.form_row label { margin-bottom: 5px; font-weight: 700; line-height: 20px; display: block; }

.form_row select, 
.form_row input[type="text"], 
.form_row input[type="number"] { width: 100%; height: 46px; padding-left: 10px; background: white; border: 1px solid var(--color-dark); border-radius: 5px; }

.form_row input.small { width: 100px; }

.form_row.total { padding: 20px; color: var(--color-dark); background: var(--color-yellow); /*border-color: color-mix(in srgb, var(--color-peach) 50%, #000000 50%);*/ border-radius: 10px; }


.form_row_block { display: flex; }
.form_row_block .form_row.cakes { flex: 1; }
.form_row_block .form_row.cake_quantity_wrap { width: 100px; margin-left: 20px; }

