﻿/*
Theme Name: SABLONNEVE
Theme URI: https://domain.hu
Description: Leírás
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: 'Inter'; 
	src: url("fonts/inter-regular.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

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

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

@font-face { 
	font-family: 'Cherston Script'; 
	src: url("fonts/cherston-script.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

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

:root {
	--color-ivory: #F9F9F7;
	--color-linen: #F0F0EA;
	--color-gold: #C19A5B;
	--color-dark: #131313;
	--color-border: #C6C5C2;
	--color-pink: #FEF7F7;
	--color-green: #006451;
	--color-red: #8B1E1E;
	
	--font-size-h3: clamp(22px, 3vw, 40px);
}

body { margin: auto; font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 400; line-height: 30px; background: #666666; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden !important; }

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

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: 2px solid var(--color-border); }

/* Tags */
h1 { font-size: clamp(36px, 6vw, 70px); font-weight: 400; line-height: 100%; }
h2 { font-size: clamp(34px, 4.5vw, 60px); font-weight: 400; line-height: 100%; }
h3 { font-size: clamp(22px, 3vw, 40px); font-weight: 400; line-height: 120%; }
h1, h2, h3, h4 { font-weight: normal; }

.inner { max-width: 1400px; margin-left: auto; margin-right: auto; position: relative; }
.inner.inner_960 { max-width: 960px; }
.clear { clear: both; }

.sec_font { font-family: 'Playfair Display', serif; }
.center { text-align: center; }
.uppercase { text-transform: uppercase; }

.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.hide { display: none !important; }
.red { color: var(--color-red); }

/* Button */
.button { width: fit-content; height: 54px !important; padding: 0 20px !important; font-size: 16px !important; text-decoration: none !important; text-transform: uppercase; color: #FFFFFF !important; line-height: 20px !important; background: var(--color-dark) !important; border: none !important; display: inline-flex; align-content: center; justify-content: center; position: relative; border-radius: 27px !important; cursor: pointer; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { background: var(--color-gold) !important; }
.button:after { display: none !important; }

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

/* Animation */
.anim, :before, :after { -webkit-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); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }

.waypoint.fade_up { opacity: 0%; transform: translateY(50px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.waypoint.visible.fade_up { opacity: 100%; transform: translateY(0); }

/* 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-border); 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-border-radius: 5px; border-radius: 5px; }
input[type="radio"] { -webkit-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-dark); 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 */
#website { max-width: 1920px; margin: auto; background: var(--color-ivory); position: relative; }
body.post-type-archive-testimonial #website { background: var(--color-linen); }


/*
----------------------
	ROTATE WARNING
----------------------
*/
.rotate_warning { width: 100%; height: 100%; inset: 0; padding: 20px; font-size: 18px; line-height: 25px; text-align: center; background: var(--color-ivory); display: none; align-items: center; align-content: center; justify-content: center; position: fixed; z-index: 100000; }
.rotate_warning img { width: auto; height: 60px; display: block; }
.rotate_warning .rotate_warning_img { width: 100%; margin-bottom: 20px; display: flex; justify-content: center; }
.rotate_warning .rotate_warning_text { max-width: 400px; margin: auto; }


/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { left: 0; top: 80px; right: 0; bottom: 0; padding: 20px; background: #FFFFFF; position: fixed; z-index: 1000; visibility: hidden; opacity: 0%; }

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

/* Menu */
#rwd_menu ul.menu { list-style: none; }
#rwd_menu ul.menu li { margin: 5px 0; }
#rwd_menu ul.menu li a { font-size: 18px; text-decoration: none; color: var(--color-dark); line-height: 100%; display: block; }
#rwd_menu ul.menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* Primary Menu */
#rwd_menu ul.menu.primary_menu li { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--color-border); }
#rwd_menu ul.menu.primary_menu li a { font-size: 20px; font-weight: 700; }

/* 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 {  }

/* RWD button */
#header .rwd_button { height: 54px; margin-left: 10px; padding: 0 15px 0 55px; color: #FFFFFF; background: var(--color-gold); align-items: center; position: relative; border-radius: 27px; cursor: pointer; }
#header .rwd_button .burg { width: 30px; top: calc(50% - 2px); left: 15px; position: absolute; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 30px; 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); }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
.rank-math-breadcrumb { margin-bottom: 20px; font-size: 14px; line-height: 20px; }
.rank-math-breadcrumb p { margin-bottom: 0 !important; }


/*
---------------
	CONTENT
---------------
*/
#content {  }


/* 
------------------------
	FLEXIBLE CONTENT
------------------------
*/
#content .flc .flc_item_wrap { display: flex; }
#content .flc .flc_item_wrap.alignright { justify-content: end; }
#content .flc .flc_item_wrap.aligncenter { justify-content: center; }

#content .flc .flc_item_wrap .flc_item_col { width: 50%; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text { padding: 50px 50px 50px 0; display: flex; flex-direction: column; justify-content: center; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text h3 { margin: 10px 0; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text p:last-child { margin-bottom: 0 !important; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text .text { margin: 10px 0; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_image { height: 600px; overflow: hidden; border-radius: 15px; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_image img { width: 100%; height: 100%; object-fit: cover; }

/* Intro */
#content .flc .flc_item_intro { margin: 100px 0; display: flex; }

#content .flc .flc_item_intro h2 { margin-bottom: 30px; }
#content .flc .flc_item_intro h3 { margin-bottom: 30px; }
#content .flc .flc_item_intro .text { max-width: 80%; }
#content .flc .flc_item_intro .flc_item_intro_inside { max-width: 60%; }

#content .flc .flc_item_image_text { margin: 100px 0; }
#content .flc .flc_item_image_text.has_background  { padding: 50px 0; }


/*
--------------
	FOOTER
--------------
*/
#footer {  }


/*
-----------------
	SCROLL UP
-----------------
*/
#scroll_up { width: 50px; height: 50px; right: 20px; bottom: 30px; background: var(--color-orange) url(images/icon-arrow-up-white.svg) no-repeat center / auto 20px; display: none; position: fixed; z-index: 10; cursor: pointer; border-radius: 50%; }
#scroll_up:hover { background-color: var(--color-dark); }


/*
------------
	FORM
------------
*/
.wpcf7_wrap { margin-top: 50px; margin-bottom: -50px; padding: 50px 0; background: var(--color-linen); }
.wpcf7_wrap p { width: 100%; margin-bottom: 20px !important; }
.wpcf7_wrap h3 { width: 100%; margin-bottom: 30px; }

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

.form_row p { margin-bottom: 0 !important; display: flex; }
.form_row br { display: none !important; }
.form_row label { width: 100%; padding-top: 10px; font-size: 14px; font-weight: 700; display: block; }

.form_row .wpcf7-list-item { margin: 0; position: relative; }
.form_row .wpcf7-list-item label { top: auto; padding-left: 35px; line-height: 20px; display: block; position: relative; }
.form_row .wpcf7-list-item input[type=checkbox] { left: 0; top: 1px; position: absolute; }

.form_row select, 
.form_row textarea, 
.form_row input[type=tel], 
.form_row input[type=text], 
.form_row input[type=email], 
.form_row input[type=password] { width: 100%; height: 50px; padding-left: 10px; font-size: 16px; background: #FFFFFF; border: 1px solid var(--color-border); outline: 2px solid transparent; outline-offset: 2px; border-radius: 5px; flex: 1; }

.form_row select:focus, 
.form_row textarea:focus, 
.form_row input[type=tel]:focus, 
.form_row input[type=text]:focus, 
.form_row input[type=email]:focus, 
.form_row input[type=password]:focus, 
.form_row select.filled, 
.form_row textarea.filled,
.form_row input[type=tel].filled, 
.form_row input[type=text].filled,
.form_row input[type=email].filled,
.form_row input[type=password].filled { background: #FFFFFF; outline-color: var(--color-border); }

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

.wpcf7 { margin-bottom: 30px; }
.wpcf7-form { display: flex; flex-wrap: wrap; justify-content: space-between; }
.wpcf7-acceptance label { font-weight: 400; text-transform: none; }
.wpcf7-form-control-wrap { flex: 1; }
.wpcf7-list-item label { width: 100%; padding-top: 0; font-size: 14px; }


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

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