/*
Theme Name: NewsRoom - Eszerződés.hu
Theme URI: https://eszerzodes.hu
Description: Default blog / news theme of the eSzerződés.hu
Author: Eszerződés
Author URI: https://eszerzodes.hu
Version: 1.0
*/

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

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

:root {
	--color-text: #62748e;
	--color-red: #c60649;
	--color-red-a10: rgba(198 6 73 / 10%);
	--color-dark: #091c2e;
	--color-dark-end: #11444a;
	--color-silver: #f5f5f5;
	--color-gray: #dddddd;
}

body { margin: auto; font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; color: var(--color-text); line-height: 26px; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden; }
body.category-sajtomegjelenesek { background: var(--color-silver); }

textarea, input, select, button { font-family: 'Open 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: 2px solid var(--color-gray); 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; }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1280px; margin-left: auto; margin-right: auto; position: relative; }
.inner.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: #e22632; }
.b_r_3 { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.b_r_5 { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

/* Animation */
.anim, ul li a, :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: 14px !important; font-weight: 700; text-decoration: none !important; text-align: center; text-transform: uppercase; color: white !important; line-height: 50px; background: var(--color-red); 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; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.button:hover { background: var(--color-dark); }
.button:after { display: none !important; }

.button:disabled, 
.button:disabled:hover { color: #ccc !important; background-color: var(--color-sand); }

.button.button_h40 { height: 40px; padding: 0 20px; line-height: 40px !important; }

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

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

/* 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: #e22632; 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: #e22632; position: relative; display: block; content: ''; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 60px; bottom: 0; padding: 50px; font-size: 18px; background: rgba(255 255 255 / 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: linear-gradient(45deg, var(--color-dark) 0%, var(--color-dark-end) 100%); 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: 15px; font-weight: 700; color: white; line-height: 100%; display: block; position: relative; }
#rwd_menu ul.primary_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* 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: 15px; font-weight: 700; color: white; line-height: 100%; 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: 60px; left: 0; top: 0; background: var(--color-dark); background: -moz-linear-gradient(left, var(--color-dark) 0%, var(--color-dark-end) 100%); background: -webkit-linear-gradient(left, var(--color-dark) 0%,var(--color-dark-end) 100%); background: linear-gradient(to right, var(--color-dark) 0%,var(--color-dark-end) 100%); position: fixed; z-index: 100; }
#header .inner { max-width: none; height: 100%; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }

/* Logo */
#header a.logo img { width: auto; height: 30px; display: block; }

/* Menu and buttons */
#header .menu__buttons { height: 100%; display: flex; align-items: center; }

#header .menu__buttons ul { display: flex; list-style: none; }
#header .menu__buttons ul li { margin-right: 20px; }
#header .menu__buttons ul li a { font-size: 16px; color: white; }
#header .menu__buttons ul li a:hover { text-decoration: underline; }

/* RWD button */
#header .rwd_button { width: 60px; height: 60px; right: 0; top: 0px; background: transparent; border-left: 1px solid rgba(255 255 255 / 20%); position: absolute; cursor: pointer; } 
#header .rwd_button .burg { width: 30px; height: 2px; left: 15px; top: 50%; background: white; display: block; position: relative; -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 { background: var(--color-dark); border-left-color: var(--color-dark); }
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); }

/* PROGRESS BAR */
#header .progress { width: 100%; height: 3px; left: 0; bottom: -3px; position: absolute; z-index: 101; }
#header .progress .progress-bar { width: 0; height: 3px; background: var(--color-red); }


/*
-------------------
	LATEST NEWS
-------------------
*/
#latest_news { padding: 70px 0; }
#latest_news h2 { margin-bottom: 50px !important; }

#latest_news form.search { max-width: 500px; margin: 0 auto 50px; padding: 10px; border: 1px solid var(--color-gray); display: flex; justify-content: space-between; }
#latest_news form.search input[type=text] { width: calc(100% - 120px); height: 40px; font-size: 17px; }

#latest_news .latest_news_wrap { display: flex; }
#latest_news .latest_news_wrap .wrap_left { width: 50%; padding-right: 20px; }
#latest_news .latest_news_wrap .wrap_right { width: 50%; padding-left: 20px; }

#latest_news .latest_news_wrap .news_wrap { margin-left: 0; margin-right: 0; display: block; }
#latest_news .latest_news_wrap .news_wrap .news { width: 100%; margin: 0; }

.news_wrap { margin-left: -15px; margin-right: -15px; display: flex; }
.news_wrap .news { width: calc(33.3333333333% - 30px); margin: 30px 15px 0; position: relative; }
.news_wrap .news:nth-child(-n+3) { margin-top: 0; }
.news_wrap .news .thumbnail { margin-bottom: 20px; display: block; }
.news_wrap .news .thumbnail img { width: 100%; height: auto; display: block; }

.news_wrap .news .entry .datetime__author { margin-bottom: 10px; font-size: 14px; color: var(--color-dark); }
.news_wrap .news .entry h3 { margin-bottom: 10px !important; font-size: 25px; font-weight: 700; color: var(--color-red); line-height: 100%; }
.news_wrap .news .entry h3 a { text-decoration: none !important; color: var(--color-red); line-height: 120%; }
.news_wrap .news .entry h3 a:hover { text-decoration: underline !important; text-decoration-thickness: 1px; }
.news_wrap .news .entry .excerpt { font-size: 15px; }

.news_wrap .news .post_tags { margin-top: 20px; display: flex; }
.news_wrap .news .post_tags a { height: 30px; margin-right: 10px; margin-bottom: 10px; padding: 0 10px; font-size: 13px; text-decoration: none !important; color: var(--color-dark) !important; line-height: 100%; background-color: white; border: 1px solid var(--color-gray); display: flex; align-content: center; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; }
.news_wrap .news .post_tags a:hover { text-decoration: underline !important; color: var(--color-red) !important; background: var(--color-red-a10); border-color: var(--color-red); }

/* Inline */
.news_wrap.inline { margin-left: 0; margin-right: 0; display: block; }
.news_wrap.inline .news { width: 100%; margin: 40px 0 0 !important; display: flex; justify-content: space-between; }
.news_wrap.inline .news:first-child { margin: 0 !important; }
.news_wrap.inline .news .thumbnail { width: 300px; margin-bottom: 0 !important; }

.news_wrap.inline .news .entry { width: calc(100% - 320px); }
.news_wrap.inline .news .entry h3 { font-size: 20px !important; }
.news_wrap.inline .news .entry .excerpt { line-height: 20px; }

.news_wrap.inline .news .post_tags { display: none !important; }

/* Has border */
.news_wrap .press { width: calc(33.3333333333% - 30px); margin: 30px 15px 0; padding: 30px 30px 150px; background: white; border: 1px solid var(--color-gray); position: relative; }
.news_wrap .press .thumbnail { padding: 30px 0; display: block; }
.news_wrap .press .thumbnail img { width: auto; height: 30px !important; margin: auto; display: block; }

.news_wrap .press .entry .datetime__author { margin-bottom: 10px; font-size: 14px; color: var(--color-dark); }
.news_wrap .press .entry h3 { font-size: 20px !important; font-weight: 700; line-height: 120%; }
.news_wrap .press .entry h3 a { text-decoration: none !important; color: var(--color-dark) !important; line-height: 120%; display: block; }
.news_wrap .press .entry h3 a:hover { text-decoration: underline !important; text-decoration-thickness: 1px; }

.news_wrap .press .read_more { left: 30px; right: 30px; bottom: 30px; height: 50px; font-size: 18px; font-weight: 700; text-decoration: none !important; color: var(--color-dark) !important; line-height: 50px; position: absolute; }
.news_wrap .press .read_more:hover { text-decoration: underline !important; }
.news_wrap .press .read_more:after { width: 50px; height: 50px; right: 0; top: 0; background: var(--color-red) url(images/icon_arrow_right_white.svg) no-repeat center; background-size: auto 20px; position: absolute; content: ''; }

.news_wrap.slick-slider { display: block; }
.news_wrap.slick-slider .slick-list { margin-left: -10px; margin-right: -10px; }
.news_wrap.slick-slider .slick-track { display: flex; }
.news_wrap.slick-slider .press { height: auto; margin-top: 0; }

/* Is archive */
#container.has_sidebar .news_wrap .news { width: calc(50% - 30px); }
#container.has_sidebar .news_wrap .news:nth-child(3) { margin-top: 40px; }


/*
--------------------
	LATEST PRESS
--------------------
*/
#latest_press { padding: 70px 0; }
#latest_press .intro { margin-bottom: 50px; }
#latest_press .latest_press_wrap { display: flex; }
#latest_press .latest_press_wrap .wrap_left { width: 50%; padding: 70px 70px 70px 0; }
#latest_press .latest_press_wrap .wrap_left h2 { font-size: 36px; line-height: 120%; }
#latest_press .latest_press_wrap .wrap_right { width: 50%; background-color: var(--color-dark); background-repeat: no-repeat; background-position: center; background-size: cover; }


/*
---------------------
	NEWS ABOUT US
---------------------
*/
#news_about_us { padding: 70px 0; background: var(--color-silver); }
#news_about_us .news_about_us_header { margin-bottom: 30px; display: flex; align-items: center; justify-content: space-between; }
#news_about_us .news_about_us_header h2 { margin-bottom: 0 !important; }
#news_about_us .news_about_us_header .controls { display: flex; }
#news_about_us .news_about_us_header .controls div { width: 50px; height: 50px; background: var(--color-red) url(images/icon_arrow_right_white.svg) no-repeat center; background-size: auto 20px; cursor: pointer; }
#news_about_us .news_about_us_header .controls div.prev { margin-right: 10px; background-image: url(images/icon_arrow_left_white.svg); }
#news_about_us .news_about_us_header .controls div:hover { background-color: var(--color-dark); }

#news_about_us .progress { height: 4px; margin-top: 50px; background-color: var(--color-gray); background-image: linear-gradient(to right, var(--color-red), var(--color-red)); background-repeat: no-repeat; background-size: 0 100%; display: block; overflow: hidden; transition: background-size .4s ease-in-out; }

#news_about_us ul.slick-dots { width: 100%; margin-left: 0 !important; margin-top: 30px; display: flex; justify-content: center; list-style: none; }
#news_about_us ul.slick-dots li { margin: 0 8px; }
#news_about_us ul.slick-dots li button { width: 12px; height: 12px; font-size: 0; background: var(--color-dark); cursor: pointer; transform: rotate(45deg); }
#news_about_us ul.slick-dots li.slick-active button { background: var(--color-red); }


/*
--------------------
	TESTIMONIALS
--------------------
*/
#testimonials { padding: 70px 0; background: var(--color-dark) url(images/bgr_dots.png) no-repeat left bottom; }
#testimonials .testimonial img { width: auto; height: 30px; margin: 0 auto 30px; display: block; }
#testimonials .testimonial .testimonial_content { max-width: 800px; margin: 0 auto 30px; font-size: 24px; font-weight: 700; color: white; line-height: 40px; }
#testimonials .testimonial .testimonial_author { font-weight: 700; color: white; }

#testimonials ul.slick-dots { margin-top: 30px; display: flex; justify-content: center; list-style: none; }
#testimonials ul.slick-dots li { margin: 0 8px; }
#testimonials ul.slick-dots li button { width: 12px; height: 12px; font-size: 0; background: white; cursor: pointer; transform: rotate(45deg); }
#testimonials ul.slick-dots li.slick-active button { background: var(--color-red); }


/*
---------------------
	PRESS CONTACT
---------------------
*/
#press_contact { padding: 70px 0; position: relative; }
#press_contact:before { width: calc(50% - 30px); top: 140px; bottom: 0; left: 0; background: var(--color-silver); position: absolute; content: ''; }

#press_contact .press_contact_wrap { display: flex; }

#press_contact .press_contact_wrap .wrap_left { width: 50%; position: relative; }
#press_contact .press_contact_wrap .wrap_left .image { width: 100%; max-width: 640px; height: 100%; top: 0; right: 0; bottom: 0; background-color: var(--color-dark); background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; }
#press_contact .press_contact_wrap .wrap_left .image:after { height: 10px; left: 30px; right: 30px; bottom: -10px; background: var(--color-red); position: absolute; content: ''; }

#press_contact .press_contact_wrap .wrap_right { width: 50%; padding-top: 50px; padding-right: calc((100% - 1280px) /2); padding-bottom: 50px; padding-left: 70px; }
#press_contact .press_contact_wrap .wrap_right .meta { min-height: 50px; margin-bottom: 30px; padding-left: 70px; font-size: 24px; font-weight: 700; color: var(--color-dark); line-height: 100%; display: flex; align-items: center; align-content: center; position: relative; }
#press_contact .press_contact_wrap .wrap_right .meta:last-child { margin-bottom: 0; }
#press_contact .press_contact_wrap .wrap_right .meta h4 { width: 100%; margin-bottom: 4px !important; }
#press_contact .press_contact_wrap .wrap_right .meta:before { width: 50px; height: 50px; left: 0; top: 0; background-color: var(--color-red); background-repeat: no-repeat; background-position: center; background-size: auto 24px; position: absolute; content: ''; }
#press_contact .press_contact_wrap .wrap_right .meta.phone:before { background-image: url(images/icon_phone_white.svg); }
#press_contact .press_contact_wrap .wrap_right .meta.email:before { background-image: url(images/icon_email_white.svg); }
#press_contact .press_contact_wrap .wrap_right .meta.address:before { background-image: url(images/icon_marker_white.svg); }


/*
-----------------
	DOWNLOADS
-----------------
*/
#downloads { padding: 70px 0; }
#downloads .intro { margin-bottom: 30px; }
#downloads .downloads_wrap { display: flex; justify-content: space-between; }
#downloads .downloads_wrap .file { width: calc(50% - 20px); height: 150px; margin-top: 40px; padding: 0 130px 0 50px; font-size: 26px; font-weight: 700; text-decoration: none !important; color: white !important; line-height: 100%; background: var(--color-dark); display: flex; align-items: center; align-content: center; position: relative; }
#downloads .downloads_wrap .file:nth-child(-n+2) { margin-top: 0; }
#downloads .downloads_wrap .file:after { width: 50px; height: 50px; right: 50px; top: calc(50% - 25px); background: url(images/icon_download.svg) no-repeat center; background-size: cover; position: absolute; content: ''; }
#downloads .downloads_wrap .file .info small { width: 100%; margin-bottom: 10px; padding-left: 20px; font-size: 14px; text-transform: uppercase; line-height: 18px; letter-spacing: 2px; background: url(images/icon_document_white.svg) no-repeat left center; background-size: auto 100%; display: block; }
#downloads .downloads_wrap .file.pdf .info div:after { content: ', PDF'; }
#downloads .downloads_wrap .file.xls .info div:after { content: ', XLS'; }
#downloads .downloads_wrap .file.doc .info div:after { content: ', DOC'; }
#downloads .downloads_wrap .file.svg .info div:after { content: ', SVG'; }
#downloads .downloads_wrap .file.jpg .info div:after { content: ', JPG'; }
#downloads .downloads_wrap .file.png .info div:after { content: ', PNG'; }


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

#content { padding: 50px 0; }
body.home #content, 
body.page-id-8 #content { padding: 0; }

#content p { margin-bottom: 20px; }
#content img { max-width: 100%; height: auto; }

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

/* Breadcrumbs */
#content .rank-math-breadcrumb { font-size: 14px; font-weight: 700; color: var(--color-dark); line-height: 20px; }
#content .rank-math-breadcrumb a { font-weight: normal; }
#content .rank-math-breadcrumb .separator { font-weight: normal; }

/* H tags */
#content h1 { margin-bottom: 20px; font-size: 50px; font-weight: 700; color: var(--color-dark); line-height: 120%; }
#content h2 { margin-bottom: 20px; font-size: 40px; font-weight: 700; color: var(--color-dark); line-height: 100%; }
#content h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; color: var(--color-red); line-height: 100%; }
#content h4 { margin-bottom: 10px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--color-red); line-height: 100%; }

/* List */
#content ul { margin-left: 20px; margin-bottom: 20px; list-style: square; }

/* Single */
#content .single_excerpt { margin-bottom: 20px; font-size: 18px; color: var(--color-dark); line-height: 30px; }
#content .datetime_author_single { margin-bottom: 20px; padding: 10px 0; font-size: 14px; line-height: 20px; border-top: 1px solid var(--color-gray); border-bottom: 1px solid var(--color-gray); }

#content .share_post { margin-bottom: 30px; display: flex; }
#content .share_post label { width: 100%; font-weight: 700; color: var(--color-dark); display: block; }
#content .share_post a { width: 50px; height: 50px; margin-right: 10px; font-size: 0; background-color: var(--color-dark-end); background-repeat: no-repeat; background-position: center; background-size: auto 20px; display: block; }
#content .share_post a:hover { background-color: var(--color-dark) !important; }
#content .share_post a.facebook { background-color: #1b74e4; background-image: url(images/icon_facebook_white.svg); }
#content .share_post a.whatsapp { background-color: #25d366; background-image: url(images/icon_whatsapp_white.svg); }
#content .share_post a.linkedin { background-color: #0a66C2; background-image: url(images/icon_linkedin_white.svg); }
#content .share_post a.messenger { background-color: #007ff7; background-image: url(images/icon_messenger_white.svg); }
#content .share_post a.mail { background-image: url(images/icon_email_white.svg); }

/* Author */
#content .author_wrap { padding: 20px; background: var(--color-silver); }
#content .author_wrap .wrap_top { margin-bottom: 20px; }
#content .author_wrap .wrap_top img { width: 100px; height: auto; margin: 0 auto 10px; display: block; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
#content .author_wrap .wrap_top .name { font-weight: 700; color: var(--color-dark); }
#content .author_wrap .wrap_bottom { }
#content .author_wrap .wrap_bottom .description { width: 100%; margin-bottom: 20px; font-size: 14px; line-height: 20px; }
#content .author_wrap .wrap_bottom .action_button { text-align: center; }

/* Related posts */
#content .related_posts { margin-top: 70px; margin-bottom: -50px; padding: 70px 0; background: var(--color-silver); }

/* Tags */
#content .tags { margin-bottom: 30px; font-size: 14px; display: flex; align-items: center; }
#content .tags a { height: 30px; margin-left: 10px; padding: 0 10px; font-size: 13px; text-decoration: none !important; color: var(--color-dark) !important; line-height: 100%; border: 1px solid var(--color-gray); display: flex; align-content: center; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; }
#content .tags a:hover { text-decoration: underline !important; color: var(--color-red) !important; background: var(--color-red-a10); border-color: var(--color-red); }

/* Is archive */
#container.has_sidebar { display: flex; }
#container.has_sidebar #content { width: calc(100% - 400px); }

/* Pagination */
#content .pagination { margin-top: 30px; display: flex; position: relative; }
#content .pagination .pages { display: none !important; }
#content .pagination a, 
#content .pagination span.current { width: 50px; height: 50px; margin-right: 10px; background-color: var(--color-silver); display: flex; justify-content: center; align-items: center; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
#content .pagination span.current { color: white; background-color: var(--color-dark); }

/* Iframe wrapper */
.iframe_wrapper { height: 0; margin-bottom: 30px; padding-bottom: 56.25%; padding-top: 25px; position: relative; }
.iframe_wrapper iframe { width: 100%; height: 100%; left: 0; top: 0; position: absolute; } 


/*
---------------
	SIDEBAR
---------------
*/
#sidebar { width: 400px; padding: 50px 0 50px 70px; }
#sidebar .sidebar_wrap { top: 80px; position: sticky; }

#sidebar .widget { margin-bottom: 50px; }
#sidebar .widget:last-child { margin-bottom: 0; }
#sidebar .widget_title { margin-bottom: 10px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--color-red); line-height: 100%; }

/* Close Sidebar */
#sidebar .close_sidebar_wrap { margin-bottom: 30px; }
#sidebar .close_sidebar_wrap .button { width: 100%; }

/* Search */
#sidebar .widget.widget_search form { width: 100%; margin: 0 auto 50px; padding: 10px; border: 1px solid var(--color-gray); display: flex; justify-content: space-between; }
#sidebar .widget.widget_search input[type=text] { width: calc(100% - 120px); height: 40px; font-size: 16px; }

/* Categories */
#sidebar #tag_cloud-3 a { width: 100%; padding: 5px 0; font-size: 15px !important; color: var(--color-dark); line-height: 20px; border-bottom: 1px solid var(--color-gray); display: block; }
#sidebar #tag_cloud-3 a:hover { text-decoration: underline; }

/* Tags */
#sidebar #tag_cloud-2 .tagcloud { display: flex; }
#sidebar #tag_cloud-2 .tagcloud a { height: 30px; margin-right: 10px; margin-bottom: 10px; padding: 0 10px; font-size: 13px; text-decoration: none !important; color: var(--color-dark) !important; line-height: 100%; border: 1px solid var(--color-gray); display: flex; align-content: center; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; }
#sidebar #tag_cloud-2 .tagcloud a:hover { text-decoration: underline !important; color: var(--color-red) !important; background: var(--color-red-a10); border-color: var(--color-red); }
#sidebar #tag_cloud-2 .tagcloud a span { margin-left: 5px; }


/*
--------------
	FOOTER
--------------
*/
#footer { background: var(--color-dark); }

/* Footer top */
#footer .footer_top { padding: 70px 0; }
#footer .footer_top .footer_top_wrap { display: flex; justify-content: space-between; }

#footer .footer_top h3 { margin-bottom: 30px; font-size: 30px; font-weight: 700; color: var(--color-red); line-height: 100%; }
#footer .footer_top h4 { margin-bottom: 30px; font-size: 14px; font-weight: 600; color: rgba(255 255 255 / 80%); letter-spacing: 1px; }

#footer .footer_top p { margin-bottom: 20px; font-size: 18px; font-weight: 600; color: white; line-height: 100%; }
#footer .footer_top p a { text-decoration: underline; color: white; }
#footer .footer_top p a:hover { text-decoration: none; }

#footer .footer_top ul { min-width: 250px; list-style: none; }
#footer .footer_top ul li a { padding-left: 15px; text-decoration: none; color: white; display: inline-block; position: relative; }
#footer .footer_top ul li a:hover { padding-left: 20px; text-decoration: underline; }
#footer .footer_top ul li a:before { width: 4px; height: 4px; left: 0; top: 10px; background: var(--color-red); position: absolute; content: ''; }
#footer .footer_top ul li a:hover:before { width: 9px; }

#footer .footer_top .logo { margin-bottom: 50px; display: inline-block; }
#footer .footer_top .logo img { width: auto; height: 30px; display: block; }

#footer .footer_top .social_media { margin-top: 30px; display: flex; }
#footer .footer_top .social_media a { width: 50px; height: 50px; margin-right: 10px; font-size: 0; background-color: rgba(255 255 255 / 10%); background-repeat: no-repeat; background-position: center; background-size: auto 20px; display: block; }
#footer .footer_top .social_media a:hover { background-color: rgba(255 255 255 / 20%); }
#footer .footer_top .social_media a.facebook { background-image: url(images/icon_facebook_white.svg); }
#footer .footer_top .social_media a.youtube { background-image: url(images/icon_youtube_white.svg); }
#footer .footer_top .social_media a.linkedin { background-image: url(images/icon_linkedin_white.svg); }
#footer .footer_top .social_media a.tiktok { background-image: url(images/icon_tiktok_white.svg); }

/* Footer bottom */
#footer .footer_bottom { padding: 30px 0; position: relative; }
#footer .footer_bottom:after { height: 1px; left: calc((100% - 1280px) /2); right: calc((100% - 1280px) /2); top: 0; background: rgba(255 255 255 / 10%); position: absolute; content: ''; }


/*
------------
	FORM
------------
*/
.wpcf7-form { display: flex; flex-wrap: wrap; justify-content: space-between; }
.wpcf7-form h3 { margin: 20px 0; font-size: 24px; font-weight: 700; color: var(--color-burgundy); line-height: 100%; }
.wpcf7-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 p { margin-bottom: 0 !important; }
.form-row br { display: none !important; }
.form-row label { width: 100%; margin-bottom: 5px; font-size: 15px; font-weight: 900; color: #383838; line-height: 20px; display: block; }

.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=number] { width: 100%; height: 50px; padding-left: 10px; font-size: 18px; background: white; border: 1px solid var(--color-line); outline: 3px solid transparent; -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; }

.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=number]:focus { border-color: var(--color-yellow); outline-color: var(--color-yellow-a20); }

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

.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0 !important; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label { padding-left: 35px; font-weight: 400; position: relative; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label input[type=checkbox] { left: 0; top: 0; margin-top: 0 !important; position: absolute; }


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

	/* DEFAULT */
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }
	
	/* HEADER */
	#header .inner { padding: 0 20px; }
	
	/* LATEST NEWS */
	#latest_news .latest_news_wrap .wrap_left { width: 50%; padding-right: 10px; }
	#latest_news .latest_news_wrap .wrap_right { width: 50%; padding-left: 10px; }
	
	/* NEWS */
	.news_wrap { margin-left: -10px; margin-right: -10px; }
	
	/* NEWS: Inline */
	.news_wrap.inline .news .thumbnail { width: 260px; }

	.news_wrap.inline .news .entry { width: calc(100% - 280px); }
	.news_wrap.inline .news .entry h3 { font-size: 19px !important; }
	.news_wrap.inline .news .entry .excerpt { display: none; }
	
	/* NEWS: Has border */
	.news_wrap .news { width: calc(33.3333333333% - 20px); margin: 30px 10px 0; }
	.news_wrap .press { width: calc(33.3333333333% - 20px); margin: 30px 10px 0; }
	
	/* NEWS: Is archive */
	#container.has_sidebar .news_wrap .news { width: calc(50% - 20px); }
	#container.has_sidebar .news_wrap .news:nth-child(3) { margin-top: 30px; }

	/* NEWS ABOUT US */
	#news_about_us .news_wrap { margin-left: 0; margin-right: 0; }
	
	/* LATEST PRESS */
	#latest_press .latest_press_wrap .wrap_left { padding: 50px 50px 50px 0; }
	
	/* DOWNLOADS */
	#downloads .downloads_wrap .file { width: calc(50% - 10px); margin-top: 20px; }

	/* CONTENT: Is archive */
	#container.has_sidebar #content { width: calc(100% - 300px); }
	
	/* SIDEBAR */
	#sidebar { width: 300px; padding: 50px 0 50px 50px; }
}

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

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* HEADER */
	#header .inner { padding-right: 80px; }
	
	/* LATEST NEWS */
	#latest_news { padding: 50px 0; }
	#latest_news .latest_news_wrap .wrap_left { width: 100%; margin-bottom: 30px; padding-right: 0; }
	#latest_news .latest_news_wrap .wrap_right { width: 100%; padding-left: 0; }
	
	/* NEWS */
	.news_wrap .news { width: calc(50% - 20px); }
	.news_wrap .news:nth-child(3) { margin-top: 30px; }
	
	/* NEWS: Inline */
	.news_wrap.inline .news .thumbnail { width: 300px; margin-bottom: 0 !important; }

	.news_wrap.inline .news .entry { width: calc(100% - 320px); }
	.news_wrap.inline .news .entry h3 { font-size: 20px !important; }
	.news_wrap.inline .news .entry .excerpt { display: block; }
	
	.news_wrap.inline .news .post_tags { display: flex !important; }
	
	/* NEWS ABOUT US */
	#news_about_us { padding: 50px 0; }
	
	/* LATEST PRESS */
	#latest_press { padding: 50px 0; }
	#latest_press .latest_press_wrap .wrap_left { width: 100%; padding: 20px 0 0; order: 2; }
	#latest_press .latest_press_wrap .wrap_left h2 { font-size: 30px; }
	#latest_press .latest_press_wrap .wrap_right { width: 100%; order: 1; }
	#latest_press .latest_press_wrap .wrap_right:before { padding-top: 50%; display: block; content: ''; }
	
	/* TESTIMONIALS */
	#testimonials { padding: 50px 0; }
	#testimonials .testimonial .testimonial_content { font-size: 22px; }
	
	/* PRESS CONTACT */
	#press_contact { padding: 50px 0; border-bottom: 1px solid var(--color-gray); }
	#press_contact:before { display: none; }

	#press_contact .press_contact_wrap .wrap_right { width: 100%; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; }		
	
	/* DOWNLOADS */
	#downloads { padding: 50px 0; }
	#downloads .downloads_wrap .file { padding: 0 130px 0 30px; font-size: 22px; }
	
	/* CONTENT */
	#content { padding: 30px 0; }
	
	/* CONTENT: H tags */
	#content h1 { font-size: 40px; }
	#content h2 { font-size: 30px; }
	#content h3 { font-size: 22px; }
	
	/* CONTENT: Related posts */
	#content .related_posts { margin-top: 50px; margin-bottom: -30px; padding: 50px 0; }
	#content .related_posts .news_wrap .news:nth-child(3) { display: none !important }
	
	/* CONTENT: Is archive */
	#container.has_sidebar #content { width: 100%; }
	
	/* SIDEBAR */
	#sidebar { width: 300px; height: 100%; left: -300px; top: 60px; padding: 20px; background: white; border-right: 1px solid var(--color-gray); /*display: none;*/ position: fixed; z-index: 100; overflow: auto; }
	body.opened_sidebar #sidebar { left: 0; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding: 50px 0; }
	#footer .footer_top .footer_top_wrap .wrap_left { width: 100%; margin-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .wrap_right { width: 100%; }
	
	#footer .footer_top .logo { margin-bottom: 20px; }
}

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

	/* TESTIMONIALS */
	#testimonials { padding: 50px 0; }
	#testimonials .testimonial .testimonial_content { font-size: 20px; line-height: 30px; }
	
	/* DOWNLOADS */
	#downloads .downloads_wrap .file { width: 100%; height: 150px; }
	#downloads .downloads_wrap .file:nth-child(2) { margin-top: 20px; }
}

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

	/* DISPLAY: None */
	.hide_in_640 { display: none !important; }
	
	/* NEWS */
	.news_wrap { margin-left: 0; margin-right: 0; }
	.news_wrap .news { width: 100%; margin: 30px 0 0; }
	.news_wrap .news:nth-child(2) { margin-top: 30px; }
	
	/* NEWS: Inline */
	.news_wrap.inline .news { margin: 30px 0 0 !important; }
	.news_wrap.inline .news .thumbnail { width: 100%; margin-bottom: 10px !important; }

	.news_wrap.inline .news .entry { width: 100%; }
	
	/* NEWS: Is archive */
	#container.has_sidebar .news_wrap .news { width: 100%; }
	#container.has_sidebar .news_wrap .news:nth-child(2) { margin-top: 30px; }
}

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

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrap { width: calc(100% - 20px); }
	
	/* LATEST PRESS */
	#latest_press .latest_press_wrap .wrap_left h2 { font-size: 25px; }
	
	/* PRESS CONTACT */
	#press_contact .press_contact_wrap .wrap_right .meta { font-size: 18px; }
	
	/* DOWNLOADS */
	#downloads .downloads_wrap .file { height: 120px; padding: 0 100px 0 20px; }
	#downloads .downloads_wrap .file:after { width: 40px; height: 40px; right: 20px; top: calc(50% - 20px); }
	
	/* CONTENT */
	#content { padding: 20px 0; }
	
	/* CONTENT: H tags */
	#content h1 { font-size: 30px; }
	#content h2 { font-size: 25px; }
	#content h3 { font-size: 20px; }
	
	/* CONTENT: Single */
	#content .datetime_author_single .reading_time { display: block; }
	
	/* CONTENT: Related posts */
	#content .related_posts { margin-bottom: -20px; }
	
	/* CONTENT: Open Sidebar */
	#content .open_sidebar_wrap .button { width: 100%; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom { padding: 20px 0; position: relative; }
	#footer .footer_bottom .law { display: block; }	
}
