/*
Theme Name: Öreg Bence Ponyva
Theme URI: https://oregbenceponyva.hu/
Description: Az Öreg Bence Ponyva weboldal alapértelmeeztt 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-sand: #f9efe6;
	--color-green: #439639;
	--color-red: #ce1126;
	--color-dark: #000000;
	--color-brown: #a16d5f;
	--color-gray: #3f3c37;
	--color-silver-line: #f2dcc8;
}

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

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

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

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

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

/* 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%); transform: translateY(-50%); }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.hide { display: none !important; }
.red { color: var(--color-red); }
.b_r_3 { -webkit-border-radius: 3px; border-radius: 3px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

/* 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); }

/* Checkbox and radio */
input[type="checkbox"], 
input[type="radio"] { width: 24px; height: 24px; margin: -4px 10px 0 0 !important; padding: 0 !important; text-align: center !important; background-color: white; border: 1px solid rgba(0 0 0 / 50%); 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 { background: var(--color-dark); border-color: var(--color-dark); }
input[type="checkbox"]:checked:before { width: 100%; height: 100%; left: 0; top: 0; font-weight: 700; text-align: center; color: white; line-height: normal; position: relative; display: flex; align-items: center; justify-content: center; content: '✓'; }

/* DEFAULT */
.button { height: 50px; padding: 0 30px; font-size: 18px !important; font-weight: 700; text-decoration: none !important; text-align: center; color: white !important; line-height: normal; background-color: var(--color-gray); display: inline-flex; align-items: center; justify-content: center; position: relative; cursor: pointer; border-radius: 25px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { background: var(--color-dark); }

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

.button.button_outline { color: var(--color-dark) !important; background-color: transparent; border: 2px solid var(--color-gray); }
.button.button_outline:hover { border-color: var(--color-dark); }
.button.button_has_icon { padding-left: 45px; background-repeat: no-repeat; background-position: 15px center; background-size: auto 20px; }
.button.button_has_icon.square { background-image: url(images/icon_square_dark.svg); }
.button.button_has_icon.triangle { background-image: url(images/icon_triangle_dark.svg); }

.button:disabled, 
.button:disabled:hover { color: white !important; background-color: #ccc !important; }


/*
---------------
	CONTENT
---------------
*/
#content { padding: 50px 0; }

#content h1 { margin-bottom: 20px; font-size: 40px; line-height: 100%; }
#content h3 { margin-bottom: 10px; font-size: 25px; font-weight: 700; line-height: 100%; }

#content p { margin-bottom: 20px; }

/* Media Tree */
#content ul.mfm-media-tree { margin-bottom: 30px; list-style: none; }
#content ul.mfm-media-tree ul { margin-left: 25px; margin-bottom: 20px; list-style: none; }

/* Message */
#content .message p.error { padding: 5px 10px; color: white; background: var(--color-red); border-radius: 3px; }


.editor-styles-wrapper [lang]:not([lang="hu"]) {
    display: none;
}


/* FORM */
.wpcf7 { display: flex; justify-content: space-between; }

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

.wpcf7 .form_row label { margin-bottom: 5px; font-size: 16px; font-weight: 700; line-height: 20px; display: block; }

.wpcf7 .form_row textarea, 
.wpcf7 .form_row input[type=tel], 
.wpcf7 .form_row input[type=text], 
.wpcf7 .form_row input[type=email], 
.wpcf7 .form_row input[type=number], 
.wpcf7 .form_row input[type=password] { width: 100%; height: 46px; padding-left: 10px; background: white; outline: 1px solid var(--color-silver-line); border-radius: 5px; }

.wpcf7 .form_row textarea:focus, 
.wpcf7 .form_row input[type=tel]:focus, 
.wpcf7 .form_row input[type=text]:focus, 
.wpcf7 .form_row input[type=email]:focus, 
.wpcf7 .form_row input[type=number]:focus, 
.wpcf7 .form_row input[type=password]:focus { outline-width: 3px; }

.wpcf7 .form_row textarea { min-height: 200px; resize: vertical; }

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

	
}

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

}

@media only screen and (max-width: 480px) { 
	
	/* DEFAULT */
	.logo { width: auto; height: 100px; }
	
	/* CONTENT */
	#content { padding: 30px 0; }
}
