/*
Theme Name: Befektetésed.hu
Theme URI: https://befektetesed.hu
Description: A befektetesed.hu weboldal alapértelmeeztt sablonja
Author: 360 Marketing
Author URI: https://360-marketing.hu
Version: 1.0
*/

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

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

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

@font-face { 
	font-family: 'Cera Pro'; 
	src: url("fonts/cera-pro-medium.woff2") format('woff2');
	font-weight: 500; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'Cera Pro'; 
	src: url("fonts/cera-pro-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/playfairdisplay-italic.woff2") format('woff2');
	font-weight: 400; 
	font-style: italic;
	font-stretch: normal;
	font-display: swap;
}

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

:root {
	--color-dark: #000000;
	--color-green: #01db80;
	--color-dark-green: #09543d;
	--color-sand: #f5f3ee;
	--color-dark-sand: #fbebd6;
	--color-gray-nurse: #dfe3de;
	--color-skeptic: #b5ded2;
	--color-silver: #f5f5f5;
	--color-red: #f55534;
}

body { max-width: 2000px; margin: auto; padding: 0 50px 50px; font-family: 'Cera Pro', 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 !important; }

textarea, input, select, button { font-family: 'Cera Pro', 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 { margin: 20px 0; border-top: 2px solid var(--color-gray-nurse); }

/* 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%); }
.hide { display: none !important; }
.red { color: var(--color-red); }

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

/* Animation */
.anim, :before, :after { -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 { height: 50px; padding: 0 30px; font-size: 18px !important; font-weight: 700; text-decoration: none !important; color: var(--color-dark) !important; line-height: 20px; background: var(--color-green); display: inline-flex; align-content: center; justify-content: center; cursor: pointer; transition: all 0.2s ease-out; border-radius: 25px; }
.button:hover { color: white !important; background-color: var(--color-dark-green); }
.button:after { display: none !important; }

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

.button.button_h40 { height: 40px; padding: 0 15px; font-size: 17px !important; line-height: 40px; }
.button.button_h30 { height: 30px; padding: 0 10px; font-size: 15px !important; line-height: 30px; }

.button.button_white_hover:hover { color: var(--color-dark) !important; background: white !important; }

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

/* 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 #ddd; 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"]:hover, 
input[type="checkbox"]:hover, 
input[type="radio"]:checked, 
input[type="checkbox"]:checked { border-color: #aaa99f; }

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; color: var(--color-green); line-height: 14px; position: relative; display: block; content: '✓'; }


/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { left: 0; top: 100px; right: 0; bottom: 0; background: var(--color-green); 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-dark-green); position: absolute; border-radius: 30px; z-index: 1000; }
#rwd_menu label { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--color-green); }

/* Contact */
#rwd_menu .contacts_wrap { margin-bottom: 50px; padding-top: 20px; border-top: 1px solid var(--color-green); }
#rwd_menu .contacts_wrap .button { width: 100%; }

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

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

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

/*
--------------
	HEADER
--------------
*/
#header { height: 100px; }
#header .header_wrap { height: 100%; }

/* Logo */
#header .logo { left: 0; top: 50%; position: absolute; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 2; }
#header .logo img { display: block; }

/* Menu */
#header ul.menu { left: 50%; top: 50%; display: flex; position: absolute; list-style: none; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); z-index: 1; }
#header ul.menu li { margin: 0 20px; }
#header ul.menu li a { font-weight: 700; color: var(--color-dark); }
#header ul.menu li a:hover { text-decoration: underline; }

#header ul.menu li.current-menu-item a, 
#header ul.menu li.current-post-ancestor a { text-decoration: underline; color: var(--color-dark-green); }

/* Contact button */
#header .button.contact_button { right: 0; top: 50%; position: absolute; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 2; }

/* RWD button */
#header .rwd_button { width: 50px; height: 50px; right: 20px; background: var(--color-green); display: inline-block; position: absolute; border-radius: 50%; cursor: pointer; }
#header .rwd_button .burg { width: 40px; height: 40px; top: 5px; left: 5px; position: absolute; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 20px; 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: calc(50% - 4px); left: 10px; }
#header .rwd_button .burg:after { top: calc(50% + 4px); right: 10px; }

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

/* Fixed Header */
body.fixed_header #header { left: 50px; right: 50px; background: white; position: fixed; z-index: 100; border-radius: 0 0 30px 30px; box-shadow: 0 0 20px rgba(0 0 0 / 10%); -webkit-animation: header_down 1s infinite; animation: header_down 1s infinite; animation-iteration-count: 1; }

/* Keyframes */
@-webkit-keyframes header_down {
	from { top: -70px; }
	to { top: 0; }
}
@keyframes header_down {
	from { top: -70px; }
	to { top: 0; }
}


/*
--------------
	SLIDER
--------------
*/
#slider { height: calc(100vh - 100px); max-height: 700px; color: white; background: var(--color-dark-green) url(images/bgr_slider.png) repeat-x left top; border-radius: 30px; }
#slider .slider_wrap { height: 100%; line-height: 100%; display: flex; align-items: center; }

#slider .text_wrap { padding-right: 50px; flex: 1; }
#slider .text_wrap .title { margin: 30px 0; font-size: clamp(2.375rem, 2.4vw + 1.594rem, 4.75rem); font-weight: 500; line-height: 100%; }
#slider .text_wrap .title span { font-family: 'Playfair Display', sans; font-style: italic; display: inline-block; position: relative; z-index: 0; }
#slider .text_wrap .title span:before { width: calc(100% + 10px); height: calc(100% + 25px); left: -5px; top: 0; background: url(images/icon_oval_green.svg) no-repeat bottom center; background-size: 100% auto; position: absolute; content: ''; z-index: -1; }
#slider .text_wrap .text { margin: 30px 0; line-height: 30px; }

#slider .slide_marquee_wrap { width: 540px; height: 100%; display: flex; justify-content: space-between; overflow: hidden; }
#slider .slide_marquee_wrap .slide_marquee { width: calc(50% - 20px); height: 100%; }
#slider .slide_marquee_wrap .slide_marquee.first { -webkit-mask-image: linear-gradient(to bottom, rgba(249 249 251 / 100%) 1%, rgba(249 249 251/ 100%) 80%, rgba(249 249 251 / 0%) 100%); mask-image: linear-gradient(to bottom, rgba(249 249 251 / 100%) 1%, rgba(249 249 251/ 100%) 80%, rgba(249 249 251 / 0%) 100%); }
#slider .slide_marquee_wrap .slide_marquee.last { -webkit-mask-image: linear-gradient(to bottom, rgba(249 249 251 / 0%) 0%, rgba(249 249 251 / 0%) 0%, rgba(249 249 251 / 100%) 20%, rgba(249 249 251 / 100%) 100%); mask-image: linear-gradient(to bottom, rgba(249 249 251 / 0%) 0%, rgba(249 249 251 / 0%) 0%, rgba(249 249 251 / 100%) 20%, rgba(249 249 251 / 100%) 100%); }
#slider .slide_marquee_wrap .slide_marquee .slide_image_wrap { width: 100%; -webkit-animation: animate-marquee-vert 30s infinite linear; animation: animate-marquee-vert 30s infinite linear; transition: .7s margin-left ease-out; will-change: transform; }
#slider .slide_marquee_wrap .slide_marquee .slide_image_wrap.inverse { -webkit-animation: animate-marquee-vert-inverse 30s infinite linear; animation: animate-marquee-vert-inverse 30s infinite linear; transition: .7s margin-left ease-out; will-change: transform; }
#slider .slide_marquee_wrap .slide_marquee .slide_image_wrap img { max-width: 100%; height: auto; margin: 40px 0; display: block; border-radius: 10px; }

.marquee { display: flex; flex-wrap: nowrap !important; white-space: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(to right, rgba(255 255 255 / 0%) 0%, rgba(255 255 255 / 100%) 30%, rgba(255 255 255 / 100%) calc(100% - 30%), rgba(255 255 255 / 0%) 100%); mask-image: linear-gradient(to right, rgba(255 255 255 / 0%) 0%, rgba(255 255 255 / 100%) 30%, rgba(255 255 255 / 100%) calc(100% - 30%), rgba(255 255 255 / 0%) 100%); }
.marquee .logos_wrap { margin: 20px 0; display: flex; flex-wrap: nowrap !important; white-space: nowrap; -webkit-animation: animate-marquee-vert 50s infinite linear; animation: animate-marquee-vert 50s infinite linear; transition: .7s margin-left ease-out; will-change: transform, margin-left; }
.marquee.second_row .logos_wrap { animation-direction: reverse; }

.marquee .logo img { width: auto; max-width: 200px; height: auto; max-height: 80px; display: block; }

@-webkit-keyframes animate-marquee-vert {
	0% { transform: translateY(0%) translateZ(0); }
	100% { transform: translateY(-100%) translateZ(0); }
}

@keyframes animate-marquee-vert { 
	0% { transform: translateY(0%) translateZ(0); }
	100% { transform: translateY(-100%) translateZ(0); }
}

@-webkit-keyframes animate-marquee-vert-inverse {
	0% { transform: translateY(-100%) translateZ(0); }
	100% { transform: translateY(0%) translateZ(0); }
}

@keyframes animate-marquee-vert-inverse { 
	0% { transform: translateY(-100%) translateZ(0); }
	100% { transform: translateY(0%) translateZ(0); }
}


/*
----------------------
	MARKETING TEXT
----------------------
*/
.marketing_text_wrap { margin: 100px 0; }
.marketing_text_wrap .marketing_title { margin-bottom: 30px; font-size: 30px; font-weight: 700; color: var(--color-dark-green); line-height: 100%; }
.marketing_text_wrap .marketing_text { font-size: 40px; font-weight: 400; color: var(--color-dark); line-height: 120%; }
.marketing_text_wrap .marketing_text span { font-weight: 700; display: inline-block; position: relative; z-index: 0; }
.marketing_text_wrap .marketing_text span:before { width: calc(100% + 40px); height: calc(100% + 40px); left: -20px; top: -20px; background: url(images/icon_oval_dark_sand.svg) no-repeat center; background-size: contain; position: absolute; content: ''; z-index: -1; }


/*
-------------
	CARDS
-------------
*/
#cards { margin: 100px 0; }
#cards .card { height: 500px; margin-bottom: 50px; background-color: var(--color-sand); display: flex; border-radius: 30px; }
#cards .card:last-child { margin-bottom: 0; }
#cards .card:nth-child(3n+2) { background: var(--color-dark-sand); }
#cards .card:nth-child(3n) { background: var(--color-gray-nurse); }
#cards .card .card_wrap_left { width: 50%; padding: 30px; background-repeat: no-repeat; display: flex; align-items: center; align-content: center; }
#cards .card .card_wrap_left .count { width: 50px; height: 50px; margin-bottom: 30px; font-size: 20px; font-weight: 700; color: white; line-height: normal; background: var(--color-dark-green); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
#cards .card .card_wrap_left .card_title { width: 100%; margin-bottom: 30px; font-size: 40px; font-weight: 700; color: var(--color-dark); line-height: 100%; }

#cards .card:nth-child(3n+1) .card_wrap_left { background-image: url(images/bgr_card_1.png); background-position: center top; }
#cards .card:nth-child(3n+2) .card_wrap_left { background-image: url(images/bgr_card_2.png); background-position: right center; }
#cards .card:nth-child(3n) .card_wrap_left { background-image: url(images/bgr_card_3.png); background-position: center bottom; }

#cards .card .card_wrap_right { width: 50%; background-repeat: no-repeat; background-position: center; background-size: cover; border-radius: 0 30px 30px 0; }


/*
------------------
	ADVANTAGES
------------------
*/
#advantages { padding: 100px 0; background: var(--color-sand); border-radius: 30px 30px 0 0; }
#advantages .advantages_title { margin-bottom: 30px; font-size: 40px; font-weight: 700; color: var(--color-dark-green); line-height: 100%; }
#advantages .advantages_wrap { margin-left: -15px; margin-right: -15px; display: flex; }
#advantages .advantages_wrap .advantage { width: calc(33.3333333333% - 30px); margin: 30px 15px 0; padding: 50px 30px 100px; color: var(--color-dark-green); background: var(--color-skeptic); position: relative; border-radius: 30px; }
#advantages .advantages_wrap .advantage:nth-child(-n+3) { margin-top: 0; }
#advantages .advantages_wrap .advantage:nth-child(3n+2) { background: var(--color-gray-nurse); }
#advantages .advantages_wrap .advantage:nth-child(3n) { background: var(--color-dark-sand); }
#advantages .advantages_wrap .advantage .advantage_title { margin-bottom: 30px; font-size: 20px; font-weight: 700; line-height: 100%; }
#advantages .advantages_wrap .advantage .advantage_text { font-size: 30px; font-weight: 700; line-height: 120%; }
#advantages .advantages_wrap .advantage .advantage_count { width: 50px; height: 50px; right: 20px; bottom: 20px; font-size: 20px; font-weight: 700; color: white; line-height: normal; background: var(--color-dark-green); display: flex; align-items: center; justify-content: center; position: absolute; border-radius: 50%; }


/*
------------
	NEWS
------------
*/
#news { margin-bottom: 30px; padding: 100px 0; background: var(--color-sand); border-radius: 0 0 30px 30px; position: relative; }
#news:before { height: 10px; left: calc((100% - 1280px) /2); right: calc((100% - 1280px) /2); top: 0; background: var(--color-gray-nurse); position: absolute; content: ''; }
#news .news_title { margin-bottom: 30px; font-size: 40px; font-weight: 700; color: var(--color-dark-green); line-height: 100%; }

.news_wrap { margin-left: -15px; margin-right: -15px; display: flex; }
.news_wrap .news { width: calc(33.3333333333% - 30px); margin: 100px 15px 0; color: var(--color-dark-green); position: relative; border-radius: 30px; }
.news_wrap .news:nth-child(-n+3) { margin-top: 0; }
.news_wrap .news a.thumbnail { display: block; }
.news_wrap .news a.thumbnail img { width: 100% !important; height: auto !important; display: block; border-radius: 30px; }

.news_wrap .news .entry { padding-top: 20px; }
.news_wrap .news .entry .tags__datetime { margin-bottom: 20px; display: flex; justify-content: space-between; }
.news_wrap .news .entry .tags { display: flex; }
.news_wrap .news .entry .tags a { height: 24px; margin: 0 10px 10px 0; padding: 0 10px; font-size: 14px; font-weight: 500; text-decoration: none !important; color: var(--color-dark) !important; line-height: 24px; background: var(--color-gray-nurse); border-radius: 12px; }
.news_wrap .news .entry .tags a:hover { background: var(--color-skeptic); }
.news_wrap .news .entry .datetime { font-size: 14px; font-weight: 500; color: var(--color-dark); line-height: 24px; }
.news_wrap .news .entry h3 { margin-bottom: 0 !important; }
.news_wrap .news .entry h3 a { font-size: 30px; font-weight: 500; text-decoration: none !important; color: var(--color-dark-green) !important; line-height: 120%; display: inline-block; }
.news_wrap .news .entry h3 a:hover { text-decoration: underline !important; color: var(--color-dark) !important; text-decoration-thickness: 1px; }

/* Releated */
.news_wrap.releated .news { max-width: 406px; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
.rank-math-breadcrumb { margin-bottom: 10px; font-size: 14px; font-weight: 700; line-height: 20px; }
.rank-math-breadcrumb p { margin-bottom: 0 !important; }
.rank-math-breadcrumb a { font-weight: normal; color: var(--color-dark-green) !important; }


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

#content { margin-bottom: 30px; padding: 50px 0; background: var(--color-sand); border-radius: 30px; }

#content h1 { margin-bottom: 30px; font-size: 50px; font-weight: 500; line-height: 100%; }
#content h2 { margin-bottom: 30px; font-size: 40px; line-height: 100%; }
#content h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; color: var(--color-green); line-height: 100%; }
#content h4 { margin-bottom: 10px; font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 100%; }

#content p { margin-bottom: 30px; }
#content a { text-decoration: underline; color: var(--color-green); }
#content a:hover { color: var(--color-dark); }
#content img { max-width: 100%; }

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

#content blockquote { margin-bottom: 30px; padding: 30px; background: white; border-left: 5px solid var(--color-green); }
#content blockquote p:last-child { margin-bottom: 0 !important; }

/* All categories */
#content .all_categories { margin-bottom: 30px; display: flex; }
#content .all_categories a { margin: 0 10px 10px 0; padding: 10px 20px; font-size: 16px; font-weight: 500; text-decoration: none !important; color: var(--color-dark) !important; line-height: 20px; background: var(--color-gray-nurse); border-radius: 20px; }
#content .all_categories a:hover { text-decoration: underline !important; background: var(--color-green); }
#content .all_categories a span { width: 20px; height: 20px; font-size: 14px; color: white !important; background: var(--color-dark-green); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }

/* Hero Image */
#content .hero_image { margin-bottom: 50px; display: flex; }

#content .hero_image .hero_wrap_left { width: 50%; padding-right: 50px; display: flex; align-items: space-between; align-content: space-between; }
#content .hero_image .hero_wrap_left .hero_wrap_left_bottom { width: 100%; }
#content .hero_image .hero_wrap_left .reading_time { margin-bottom: 30px; font-size: 14px; }
#content .hero_image .hero_wrap_left .post_tags { width: 100%; display: flex; }
#content .hero_image .hero_wrap_left .post_tags label { width: 100%; margin-bottom: 10px; font-size: 16px; font-weight: 700; display: block; }
#content .hero_image .hero_wrap_left .post_tags a { height: 24px; margin: 0 10px 10px 0; padding: 0 10px; font-size: 14px; font-weight: 500; text-decoration: none !important; color: var(--color-dark) !important; line-height: 24px; background: var(--color-gray-nurse); border-radius: 12px; }
#content .hero_image .hero_wrap_left .post_tags a:hover { background: var(--color-skeptic); }

#content .hero_image .hero_wrap_right { width: 50%; }
#content .hero_image .hero_wrap_right img { width: 100% !important; height: auto !important; border: 1px solid var(--color-silver-line); display: block; border-radius: 30px; }

/* Pagination */
#content .pagination { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--color-gray-nurse); display: flex; justify-content: center; }
#content .pagination .pages { display: none; }

#content .pagination a, 
#content .pagination .current { width: 50px; height: 50px; margin: 0 3px; font-size: 18px; font-weight: 700; text-decoration: none !important; background: var(--color-gray-nurse); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
#content .pagination .current { color: white !important; background: var(--color-dark-green); }

/* Prev / Next Post */
#prev_next_post { margin-top: 50px; border-top: 1px solid var(--color-gray-nurse); }
#prev_next_post .prev_next_post_wrap { display: flex; }
#prev_next_post .prev_next_post_wrap a { height: 70px; font-weight: 700; color: var(--color-dark-green); display: flex; align-items: center; justify-content: center; flex-grow: 1; flex-basis: 0; }
#prev_next_post .prev_next_post_wrap a:hover { color: var(--color-dark); }
#prev_next_post .prev_next_post_wrap a:nth-child(2) { border-left: 1px solid var(--color-gray-nurse); }


/*
--------------
	FOOTER
--------------
*/
#footer { padding-top: 75px; color: white; background: var(--color-dark-green) url(images/bgr_footer.png) no-repeat 90% top; border-radius: 30px; }

/* Footer top */
#footer .footer_top { padding-top: 75px; padding-bottom: 75px; border-top: 1px solid var(--color-green); border-bottom: 1px solid var(--color-green); }
#footer .footer_top .footer_top_wrap { display: flex; justify-content: space-between; }
#footer .footer_top .footer_top_wrap .wrap_left { width: 50%; }
#footer .footer_top .footer_top_wrap .wrap_left h2, 
#footer .footer_top .footer_top_wrap .wrap_left h3 { margin-bottom: 20px; font-size: 40px; font-weight: 700; color: var(--color-green); line-height: 120%; }
#footer .footer_top .footer_top_wrap .wrap_left p { margin-bottom: 20px; }
#footer .footer_top .footer_top_wrap .wrap_left p:last-child { margin-bottom: 0; }
#footer .footer_top .footer_top_wrap .wrap_left .button { height: 60px; color: white !important; background: transparent !important; border: 2px solid var(--color-green); border-radius: 30px; }
#footer .footer_top .footer_top_wrap .wrap_left .button:hover { border-color: white; }

#footer .footer_top .footer_top_wrap .wrap_right { display: flex; justify-content: end; }
#footer .footer_top .footer_top_wrap .wrap_right ul { list-style: none; }
#footer .footer_top .footer_top_wrap .wrap_right ul li { margin-bottom: 10px; }
#footer .footer_top .footer_top_wrap .wrap_right ul li:last-child { margin-bottom: 0; }
#footer .footer_top .footer_top_wrap .wrap_right ul li a { color: white; }
#footer .footer_top .footer_top_wrap .wrap_right ul li a:hover { text-decoration: underline; }
#footer .footer_top .footer_top_wrap .wrap_right .page_menus { width: 200px; }
#footer .footer_top .footer_top_wrap .wrap_right .page_menus_title { margin-bottom: 20px; font-size: 30px; font-weight: 500; color: var(--color-green); line-height: 100%; }

/* Footer bottom */
#footer .footer_bottom { padding-top: 30px; padding-bottom: 30px; text-align: right; }


/*
------------
	FORM
------------
*/
.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.form_row_wide { width: 100%; }

.form_row p { margin-bottom: 0 !important; }
.form_row br { display: none !important; }
.form_row label { font-size: 16px; font-weight: 700; text-transform: uppercase; 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] { width: 100%; height: 50px; padding-left: 10px; font-size: 17px; background: white; border: 1px solid rgba(0 0 0 / 10%); outline: 2px solid transparent; outline-offset: 2px; }

.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 { outline-color: var(--color-gray-nurse); border-radius: 2px; }

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

.wpcf7 { margin-bottom: 30px; }
.wpcf7 .wpcf7-form { display: flex; flex-wrap: wrap; justify-content: space-between; }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; text-transform: none; }

body.single-post .wpcf7-form { margin-bottom: 30px; }


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

	/* DEFAULT */
	body { padding: 0 20px 20px; }
	
	/* SLIDER */
	#slider .slide_marquee_wrap { width: 450px; }
}

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

	/* DEFAULT */
	.p_l_20 { padding-left: 30px; }
	.p_r_20 { padding-right: 30px; }
	
	/* HEADER: Logo */
	#header .logo { left: 20px; }

	/* HEADER: Contact button */
	#header .button.contact_button { right: 20px; }
	
	/* HEADER: Fixed Header */
	body.fixed_header #header { left: 20px; right: 20px; }
	
	/* SLIDER */
	#slider { max-height: 600px; }
	
	/* NEWS */
	#news:before { left: 20px; right: 20px; }
	
	/* CONTENT */
	#content { padding: 30px 0; }
	#content h1 { font-size: 40px; }
	#content h2 { font-size: 30px; }
}

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

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* SLIDER */
	#slider { height: auto; max-height: none; }
	#slider .text_wrap { width: 100%; padding: 50px 0; }
	#slider .slide_marquee_wrap { width: 100%; max-width: 640px; height: 500px; margin: auto; }
	
	/* MARKETING TEXT */
	.marketing_text_wrap { margin: 75px 0; }
	.marketing_text_wrap .marketing_title { font-size: 25px; }
	.marketing_text_wrap .marketing_text { font-size: 30px; }
	
	/* CARDS */
	#cards { margin: 75px 0; }
	#cards .card { height: auto; }
	#cards .card .card_wrap_left { width: 100%; padding: 30px; }
	#cards .card .card_wrap_left .card_title { font-size: 30px; }
	
	#cards .card .card_wrap_right { width: 100%; border-radius: 0 0 30px 30px; }
	#cards .card .card_wrap_right:before { padding-top: 60%; display: block; content: ''; }
	
	/* ADVANTAGES */
	#advantages { padding: 75px 0; }
	#advantages .advantages_title { font-size: 30px; }
	#advantages .advantages_wrap { margin-left: 0; margin-right: 0; }
	#advantages .advantages_wrap .advantage { width: 100%; margin: 30px 0 0; padding: 30px 30px 100px; }
	#advantages .advantages_wrap .advantage:nth-child(2), 
	#advantages .advantages_wrap .advantage:nth-child(3) { margin-top: 30px; }
	#advantages .advantages_wrap .advantage .advantage_text { font-size: 25px; }

	/* NEWS */
	#news { padding: 75px 0; }
	#news .news_title { font-size: 30px; }

	.news_wrap .news { width: calc(50% - 30px); }
	.news_wrap .news:nth-child(3) { margin-top: 100px; }
	
	body.home .news_wrap .news:nth-child(3) { display: none; }
		
	/* CONTENT */
	#content .inner_800 { max-width: none; }
	
	/* CONTENT: Hero Image */
	#content .hero_image .hero_wrap_left { width: 100%; padding-right: 0; }
	#content .hero_image .hero_wrap_left .reading_time { margin-top: -20px; margin-bottom: 20px; }
	#content .hero_image .hero_wrap_left .hero_wrap_left_bottom { margin-bottom: 30px; }

	#content .hero_image .hero_wrap_right { width: 100%; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding-top: 50px; padding-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .wrap_left { width: 100%; margin-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .wrap_left h2, 
	#footer .footer_top .footer_top_wrap .wrap_left h3 { font-size: 30px; }

	#footer .footer_top .footer_top_wrap .wrap_right { width: 100%; display: flex; justify-content: end; }
	#footer .footer_top .footer_top_wrap .wrap_right .page_menus { width: 50%; }
	#footer .footer_top .footer_top_wrap .wrap_right .page_menus_title { font-size: 25px; }

	/* FOOTER: Footer bottom */
	#footer .footer_bottom { text-align: center; }
}

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

	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }	
	
	/* SLIDER */
	#slider .slide_marquee_wrap .slide_marquee { width: calc(50% - 10px); height: 100%; }
	#slider .slide_marquee_wrap .slide_marquee .slide_image_wrap img { margin: 20px 0; }
	
	/* NEWS */
	#news { padding: 50px 0; }

	.news_wrap { margin-left: 0; margin-right: 0; }
	.news_wrap .news { width: 100%; margin: 50px 0 0; }
	.news_wrap .news:nth-child(2), 
	.news_wrap .news:nth-child(3) { margin-top: 50px; }
	
	body.home .news_wrap .news:nth-child(3) { display: block; }
	
	.news_wrap.releated .news { max-width: none; }
	
	/* FOOTER: Footer bottom  */
	#footer .footer_bottom .law { width: 100%; display: block; }
	
	/* FORM */
	.form_row.form_row_first, 
	.form_row.form_row_last { width: 100%; }
}

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

	/* DEFAULT */
	.button { width: 100%; }
	body { padding: 0 10px 10px; }
	
	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrap { left: 10px; top: 10px; right: 10px; bottom: 10px; padding: 30px; }
	
	/* HEADER: Logo */
	#header .logo { left: 10px; }
	
	/* HEADER: RWD button */ 
	#header .rwd_button { right: 10px; }
	
	/* MARKETING TEXT */
    .marketing_text_wrap { padding: 0 10px; }
	
	/* CONTENT */
	#content h1 { font-size: 8vw; }
	
	/* CONTENT: Hero Image */
	#content .hero_image .hero_wrap_left .share_this_post a { font-size: 14px; }
	#content .hero_image .hero_wrap_left .share_this_post.active a.copy_to_clipboard { padding: 0 15px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding-top: 50px; padding-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .wrap_left { width: 100%; margin-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .wrap_left h2, 
	#footer .footer_top .footer_top_wrap .wrap_left h3 { font-size: 30px; }

	#footer .footer_top .footer_top_wrap .wrap_right { width: 100%; display: flex; justify-content: end; }
	#footer .footer_top .footer_top_wrap .wrap_right .page_menus { width: 100%; margin-top: 30px; }
	#footer .footer_top .footer_top_wrap .wrap_right .page_menus:first-child { margin-top: 0; }
}
