/*
Theme Name: Center Print Nyomda Debrecen
Theme URI: http://centerprint.hu/
Description: A Center Print Nyomda Debrecen weboldalának alapértelmezett sablonja
Author: ReklámGuru
Author URI: http://reklamguru.hu
Version: 1.0
*/

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

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

:root {
	--color-red: #C72213;
	--color-red-a10: rgba(219 8 49 / 5%);
	--color-dark: #27282d;
	--color-silver: #f8f8f8;
	--color-silver-line: #dddddd;
}

body { font-family: 'Roboto', sans-serif; font-size: 17px; color: var(--color-dark); line-height: 30px; background: var(--color-silver); }
body.home { background: #FFFFFF; }

textarea, input, select, button { font-family: 'Roboto', sans-serif; font-size: 18px; color: #23315a; outline: none; }

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

hr { height: 30px; border-top: 2px dotted var(--color-dark); clear: both; }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1200px; margin-left: auto; margin-right: auto; position: relative; }
.inner_600 { max-width: 600px; }
.inner_900 { max-width: 900px; }
.alignleft { margin: 0 20px 5px 0; float: left; }
.alignright { margin: 0 0 5px 20px; float: right; }
.aligncenter { margin: 0 auto 20px auto; display: block; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.uppercase { text-transform: uppercase; }
.t_a_c, .center { text-align: center; }
.t_a_r { text-align: right; }
.hide { display: none !important; } 

.b_r_3 { -webkit-border-radius: 3px; border-radius: 3px; }

.b_r_5 { -webkit-border-radius: 5px; border-radius: 5px; }

.b_r_50p { -webkit-border-radius: 50%; border-radius: 50%; }

.red { color: #fe0000; }

.sec_font, h3 { font-family: 'Ubuntu', sans-serif; font-weight: 700; }



/* Cols */

.row { width: 100%; font-size: 0; display: block; }

.col { font-size: 16px; vertical-align: top; display: inline-block; position: relative; }

.col_75 { width: 75%; }

.col_66 { width: 66%; }

.col_60 { width: 60%; }

.col_50 { width: 50%; }

.col_40 { width: 40%; }

.col_33 { width: 33.3333333333%; }

.col_25 { width: 25%; }



.row_table { width: 100%; display: table; }

.row_table > .col { display: table-cell; }



/* Animation */
#content ul.sidebar_list li a, 
.anim { -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.anim_1 { -webkit-transition: all 0.1s ease-out; transition: all 0.1s 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); }

/* Button */
.button { height: 50px; padding: 0 20px; font-size: 17px !important; font-weight: 700; text-transform: uppercase; text-decoration: none !important; color: #FFFFFF !important; line-height: 20px; background-color: var(--color-red); display: inline-flex; justify-content: center; align-items: center; position: relative; cursor: pointer; -webkit-border-radius: 25px; border-radius: 25px; }
.button:hover { background-color: var(--color-dark); }

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

.button_60 { height: 60px; }
.button_full { width: 100%; padding: 0; display: block; }

/* ID */
#website { left: 0; position: relative; }


/*
-------------
	MODAL
-------------
*/
.mfp-container { padding: 0 20px; }
.white-popup { width: auto; max-width: 840px; margin: 20px auto; padding: 20px; background: #FFFFFF; position: relative; }
.white-popup .mfp-close { width: 40px; height: 40px; background: #FFFFFF; }
.white-popup img { width: 100%; max-width: 800px; height: auto; display: block; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 400px; top: 80px; bottom: 0; right: -100%; background: var(--color-dark); position: fixed; z-index: 9; overflow: auto; box-shadow: 0 5px 5px rgba(0 0 0 / 10%); }

/* Make offer */
#rwd_menu .make_offer_wrap { padding: 20px 20px 0; background: #FFFFFF; }
#rwd_menu .make_offer_wrap .button { width: 100%; }

/* Menu */
#rwd_menu ul.menu_main { padding: 20px; background: #FFFFFF; list-style: none; }
#rwd_menu ul.menu_main li { border-bottom: 1px solid var(--color-silver-line); }
#rwd_menu ul.menu_main li a { padding: 10px 0; font-size: 20px; font-weight: 700; color: var(--color-dark); display: block; position: relative; }
#rwd_menu ul.menu_main li a:hover { color: #000000; }

#rwd_menu ul.menu_main li.menu-item-has-children > a:after { width: 16px; height: 16px; right: 0; top: 50%; background: url(images/icon-arrow-down-red-circle.svg) no-repeat right center / auto 100%; position: absolute; content: ''; transition: transform 0.3s ease-out; transform: translateY(-50%); }
#rwd_menu ul.menu_main li.menu-item-has-children > a.active:after { transform: translateY(-50%) rotate(180deg); }

#rwd_menu ul.menu_main li ul { margin-left: -20px; margin-right: -20px; padding: 10px 20px; background: var(--color-silver); display: none; list-style: none; }
#rwd_menu ul.menu_main li ul li:last-child { border-bottom: none; }
#rwd_menu ul.menu_main li ul li a { padding: 10px 0; font-size: 18px; font-weight: normal; line-height: 100%; }
#rwd_menu ul.menu_main li ul li a:hover { text-decoration: underline; }

/* Footer menu */
#rwd_menu ul.menu_footer { padding: 20px; }
#rwd_menu ul.menu_footer li a { color: #FFFFFF; }
#rwd_menu ul.menu_footer li a:hover { text-decoration: underline; }

body.rwd_menu__opened #rwd_menu { right: 0; }


/*
--------------
	HEADER
--------------
*/
#header { width: 100%; height: 80px; left: 0; top: 0; background: #FFFFFF; position: fixed; z-index: 20; }
#header .header_wrap { height: 100%; display: flex; justify-content: end; align-items: center; }
#header .menu__language_switcher { width: max-content; height: 100%; display: flex; justify-content: end; align-items: start; }

/* Logo */
#header .logo { width: auto; height: 100%; left: 0; top: 0; display: flex; align-items: center; position: absolute; }
#header .logo img { width: auto; height: 50px; display: block; }

/* Menu */
#header ul.menu { height: 100%; display: flex; }
#header ul.menu li { height: 100%; margin: 0 10px; display: flex; align-items: center; position: relative; list-style: none; }
#header ul.menu li:first-child { margin-left: 0; }
#header ul.menu li:last-child { margin-right: 0; }
#header ul.menu li a { font-size: 18px; font-weight: 700; color: var(--color-dark); line-height: 100%; display: block; position: relative; }
#header ul.menu li a:after { width: 0; height: 5px; left: 0; bottom: -10px; background: var(--color-red); position: absolute; content: ''; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
#header ul.menu li a:hover:after { width: 100%; }

#header ul.menu li.menu-item-has-children { padding-right: 25px; }
#header ul.menu li.menu-item-has-children:after { width: 16px; height: 16px; right: 0; top: 50%; background: url(images/icon-arrow-down-red-circle.svg) no-repeat right center / auto 15px; position: absolute; content: ''; -webkit-transform: translateY(-50%); transform: translateY(-50%); }

#header ul.menu li.current_page_item a:after, 
#header ul.menu li.current_page_parent a:after { width: 100%; }

#header ul.menu li ul { width: max-content; left: 0; top: 100%; background: #FFFFFF; display: block; position: absolute; opacity: 0; visibility: hidden; -webkit-box-shadow: 0 3px 3px rgba(0 0 0 / 20%); box-shadow: 0 3px 3px rgba(0 0 0 / 20%); }
#header ul.menu li ul li { margin: 0; border-bottom: 1px solid var(--color-silver-line); display: block; }
#header ul.menu li ul li:last-child { border-bottom: none; }
#header ul.menu li ul li a { padding: 10px 20px; font-size: 16px; font-weight: 400; color: var(--color-dark) !important; line-height: 20px; display: block; }
#header ul.menu li ul li a:hover { color: var(--color-red) !important; }
#header ul.menu li ul li a:after { display: none !important; }
#header ul.menu li ul li.current_page_item a { font-weight: 700; color: #000000 !important; }

#header ul.menu li.menu-item-has-children:hover a:after { width: 100%; }

#header ul.menu li.menu-item-has-children:hover ul { opacity: 1; visibility: visible; }

/* Language switcher */
#header ul.wpm-language-switcher { height: 80px; margin-left: 30px; padding-top: 80px; position: relative; overflow: hidden; }
#header ul.wpm-language-switcher:hover { height: auto; }
#header ul.wpm-language-switcher li { width: 80px; height: 80px; font-size: 20px; font-weight: 700; text-align: center; color: #FFFFFF; line-height: 80px; background: var(--color-red); }
#header ul.wpm-language-switcher li.active { right: 0; top: 0; position: absolute; }
#header ul.wpm-language-switcher li a { width: 80px; height: 100%;  color: #FFFFFF; display: block; }
#header ul.wpm-language-switcher li a:hover { text-decoration: underline; }
#header ul.wpm-language-switcher li img { display: none; }
#header ul.wpm-language-switcher li span { color: #FFFFFF; }

/* RWD menu */
#header .rwd_button { width: 80px; height: 80px; font-size: 30px; background: #FFFFFF; position: relative; cursor: pointer; }
#header .rwd_button .burg { width: 40px; height: 2px; left: 20px; background: var(--color-dark); display: block; position: relative; -webkit-transition: 0.2s; transition: 0.2s; }

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

#header .rwd_button .burg:before { top: -10px; left: 0; }
#header .rwd_button .burg:after { top: 10px; right: 0; }

body.rwd_menu__opened #header .rwd_button { background: var(--color-dark); }
body.rwd_menu__opened #header .rwd_button .burg { background: transparent; }
body.rwd_menu__opened #header .rwd_button .burg:before { top: 0; background: #FFFFFF;-webkit-transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 0; background: #FFFFFF; -webkit-transform: rotate(-45deg); }

/* RWD menu is open */
body.rwd_menu__opened #header { background: var(--color-silver); }

/* Fixed header */
body.fixed_header #header { -webkit-box-shadow: 0 10px 10px rgba(0 0 0 / 10%); box-shadow: 0 10px 10px rgba(0 0 0 / 10%); }
body.rwd_menu__opened.fixed_header #header { -webkit-box-shadow: none !important; box-shadow: none !important; }


/*
--------------
	SLIDER
--------------
*/
#slider { height: calc(100vh - 120px); position: relative; }
#slider .slider_for { height: 100%; }

#slider .slick-list, 
#slider .slick-track, 
#slider .slick-slide { height: 100%; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }

#slider .slick-slide .cover { inset: 0; width: 100%; height: 100%; background: rgba(0 0 0 / 40%) url(images/pattern.png) repeat left top; position: absolute; }
#slider .slick-slide .title { margin-bottom: 10px; font-size: clamp(32px, 5vw, 60px); color: #FFFFFF; line-height: 100%; }
#slider .slick-slide .text { font-size: 16px; color: #FFFFFF; line-height: 150%; }
#slider .slick-slide .button { margin-top: 50px; }

#slider .slider_nav_wrapper { width: 100%; left: 0; bottom: 0; position: absolute; z-index: 2; }
#slider .slider_nav_wrapper .slider_nav { height: 140px; position: relative; }
#slider .slider_nav_wrapper .slider_nav:before { width: 100%; height: 1px; left: 0; top: 0; background: #505152; position: absolute; content: ''; }
#slider .slider_nav_wrapper .slider_nav .slick-track { font-size: 0; }
#slider .slider_nav_wrapper .slider_nav .slick-slide { width: 33.3333333333%; padding-top: 30px; padding-left: 30px; vertical-align: top; border-top: 1px solid transparent; display: inline-block; cursor: pointer; outline: none; }
#slider .slider_nav_wrapper .slider_nav .slick-slide .info { padding-left: 30px; font-size: 20px; font-weight: 900; color: #FFFFFF; line-height: 20px; position: relative; }
#slider .slider_nav_wrapper .slider_nav .slick-slide .info .count { left: 0; top: 0; font-size: 15px; font-weight: normal; color: #FFFFFF; opacity: 0.5; position: absolute; }
#slider .slider_nav_wrapper .slider_nav .slick-slide .info .small { font-size: 15px; font-weight: normal; color: #FFFFFF; opacity: 0.5; display: block; }

#slider .slider_nav_wrapper .slider_nav .slick-slide.slick-current { border-top-color: #FFFFFF; }
#slider .slider_nav_wrapper .slider_nav .slick-slide.slick-current .info .count { color: var(--color-red); opacity: 1; }

/* Dots */
#slider ul.slick-dots { width: 100%; left: 0; bottom: 0; margin-left: 0 !important; text-align: center; position: absolute; }
#slider ul.slick-dots li { margin: 0 7px; padding-left: 0; vertical-align: top; display: inline-block; }
#slider ul.slick-dots li:before { display: none; }
#slider ul.slick-dots li button { width: 20px; height: 20px; text-indent: -9999px; background: #FFFFFF; cursor: pointer; -webkit-border-radius: 50%; border-radius: 50%; }
#slider ul.slick-dots li.slick-active button { background: var(--color-red); }

#scroll_to { height: 40px; font-size: 14px; color: #999; line-height: 40px; border-bottom: 1px solid #e1e1e1; display: block; }
#scroll_to img { width: 20px; height: 20px; margin-bottom: 4px; margin-right: 5px; vertical-align: middle; display: inline-block; }


/*
----------------
	SERVICES
----------------
*/
#services { padding: 70px 0; }
#services .services_wrapper { display: flex; gap: 20px; }
#services .services_wrapper .service { width: calc((100% - 40px) / 3); height: 380px; padding: 50px 20px 0; text-align: center; border: 3px solid var(--color-silver-line); display: flex; flex-direction: column; justify-content: start; align-items: center; position: relative; }
#services .services_wrapper .service img { width: auto; max-width: 100px; height: auto; max-height: 80px; margin-bottom: 20px; display: block; }
#services .services_wrapper .service .title { margin-bottom: 20px; font-size: 30px; color: var(--color-dark); }
#services .services_wrapper .service .text { font-size: 16px; line-height: 25px; }

#services .services_wrapper .service .read_more { left: 20px; right: 20px; bottom: 20px; position: absolute; }
#services .services_wrapper .service .read_more a { width: 44px; height: 44px; font-size: 16px; font-weight: 700; background: var(--color-red); display: inline-block; position: relative; overflow: hidden; -webkit-border-radius: 22px; border-radius: 22px; }
#services .services_wrapper .service .read_more a:before { width: 32px; height: 32px; left: 6px; top: 6px; background: white url(images/icon_plus.png) no-repeat center; position: absolute; content: ''; -webkit-border-radius: 50%; border-radius: 50%; }

#services .services_wrapper .service:hover .read_more a { width: 220px; }
#services .services_wrapper .service:hover .read_more a:hover { background: var(--color-dark); }

#services .services_wrapper .service .read_more a span { height: 44px; left: 45px; color: #FFFFFF; line-height: 46px; white-space: nowrap; display: block; position: absolute; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { padding: 50px 0; }

#aboutus .aboutus_top { margin-bottom: 50px; display: flex; }
#aboutus .aboutus_top .image { width: 50%; }
#aboutus .aboutus_top .image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

#aboutus .aboutus_top .text { width: 50%; padding: 50px 0 50px 50px; }

#aboutus .aboutus_bottom .col_text_2 { padding-right: 100px; font-size: 20px; font-weight: 700; color: var(--color-dark); line-height: 170%; }
#aboutus .aboutus_bottom .col_text_3 { font-size: 16px; color: #666; line-height: 170%; }


/*
--------------------
	MAIN CONTENT
--------------------
*/
#main-content { padding: 50px 0; background: var(--color-silver); }
#main-content a {font-weight: 700; color: var(--color-red); }
#main-content .printing-house-debrecen, #main-content #main-services, #main-content .center-print-debrecen { margin-bottom: 75px;}
#main-content .main-services .col_text_2, #main-content .center-print-debrecen-description .col_text_2 { padding-right: 100px; font-size: 0.875rem; color: #27282d; line-height: 170%; }
#main-content .main-services .col_text_3, #main-content .center-print-debrecen-description .col_text_3 { font-size: 0.875rem; color: #27282d; line-height: 170%; }
#main-content .main-services .row, #main-content .center-print-debrecen-description .row { display: block; }

#main-content .main-page-cta { margin-top: 30px; padding: 25px; font-size: 1.5rem; text-align: center; font-weight: 700; line-height: 150%; border: 3px solid var(--color-silver-line); }
#main-content .main-page-cta p:last-child { margin-top: 0; }

#main-content .columns { margin-bottom: 30px; display: flex; gap: 50px; }
#main-content .columns > .col { width: calc((100% - 50px) / 2); }


/*
--------------------
	LATEST POSTS
--------------------
*/
#latest_posts { padding: 50px 0; }
#latest_posts .blog_archive { margin-bottom: 50px; }

/* Blog archive */
.blog_archive { display: flex; gap: 50px; }
.blog_archive article { width: calc((100% - 50px) / 2); }
.blog_archive article a.thumbnail { display: block; overflow: hidden; }
.blog_archive article a.thumbnail img { width: 100%; height: auto; display: block; position: relative; z-index: 1; transform: scale(1) translateZ(0); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }
.blog_archive article a.thumbnail:hover img { -ms-transform: scale(1.05) translateZ(0); -webkit-transform: scale(1.05) translateZ(0); transform: scale(1.05) translateZ(0); }

.blog_archive article .entry { padding-top: 20px; }
.blog_archive article .entry h3 a { color: var(--color-red) !important; text-decoration: none !important; }
.blog_archive article .entry h3 a:hover { text-decoration: underline !important; }
.blog_archive article .entry .datetime { font-size: 14px; line-height: 100%; }
.blog_archive article .entry .excerpt { font-size: 16px; line-height: 25px; }


/*
--------------------
	CONTACT FORM
--------------------
*/
#contact_form { padding: 70px 0; background: var(--color-silver); }
#contact_form h2 { font-size: 40px !important; }
#contact_form textarea { height: 200px; }
#contact_form .col.col_textarea { padding-left: 20px; }


/*
------------------
	MAIN TITLE
------------------
*/
#main_title { height: 300px; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; z-index: 1; }
#main_title .cover { inset: 0; width: 100%; height: 100%; background: rgba(0 0 0 / 50%) url(images/pattern.png) repeat left top; position: absolute; }
#main_title .inner { height: 100%; text-align: center; display: flex; justify-content: center; align-items: center; }


/*
---------------
	CONTENT
---------------
*/
#main { min-height: 300px; padding: 50px 0; background: #FFFFFF; position: relative; z-index: 2; }
#main.nopadding { padding: 0; }
#main a { text-decoration: underline; color: var(--color-red); }
#main a:hover { color: var(--color-dark); }

#main .main_wrap { display: flex; }
#main .main_wrap .wrap_left { width: 50%; }
#main .main_wrap .wrap_left nav { top: 130px; position: sticky; }
#main .main_wrap .wrap_right { min-width: 0; flex: 1; }

#content { padding-top: 80px; }
#content h1 { padding-bottom: 20px; font-size: clamp(32px, 4vw, 50px); color: #FFFFFF; position: relative; }
#content h1:after { width: 50px; height: 2px; left: 50%; bottom: 0; margin-left: -25px; background: var(--color-red); position: absolute; content: ''; }

#content h2 { margin-bottom: 50px; font-size: clamp(24px, 3vw, 36px); color: var(--color-dark); position: relative; }
#content h2.has_line { padding-bottom: 30px; }
#content h2.has_line:after { width: 50px; height: 2px; left: 50%; bottom: 0; margin-left: -25px; background: var(--color-red); position: absolute; content: ''; }
#content h2.has_line_left:after { left: 0; margin-left: 0; }

#content h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; line-height: 120%; clear: both; }
#content h4 { margin-bottom: 10px; font-size: 15px; font-weight: 700; clear: both; }

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

/* Table */
#content table { width: 100%; margin-bottom: 30px; text-align: left; border-collapse: collapse; border-spacing: 0; }
#content table thead th { padding: 10px; font-size: 12px; text-transform: uppercase; color: #FFFFFF; line-height: 15px; background: var(--color-red); }
#content table tbody td { padding: 10px; font-size: 15px; line-height: 15px; border: 1px solid #ddd; }

/* Images */
#content img { max-width: 100%; } 
#content img.alignnone, 
#content img.aligncenter, 
#content img.alignleft, 
#content img.alignright { max-width: 100%; height: auto; }
#content img.alignnone { margin-bottom: 30px; display: block; }

/* WP Caption */
#content .wp-caption { max-width: fit-content; margin-bottom: 30px; }
#content .wp-caption .wp-caption-text { margin-bottom: 0 !important; padding: 10px; font-size: 14px; font-weight: 700; line-height: 20px; background: var(--color-silver); }

/* List */
#content ul { margin-bottom: 20px; margin-left: 30px; }
#content ul li { padding-left: 20px; position: relative; list-style: none; }
#content ul li:before { width: 6px; height: 6px; left: 0; top: 12px; background: var(--color-red); position: absolute; content: ''; }

#content ul.nomargin { margin-left: 0; }
#content ul.nomargin li { padding-left: 0; }
#content ul.nomargin li:before { display: none; }

#content ul.gallery { margin-left: -10px; margin-right: -10px; font-size: 0; }
#content ul.gallery li { width: 33.3333333333%; margin-bottom: 20px; padding-left: 10px; padding-right: 10px; vertical-align: top; display: inline-block; }
#content ul.gallery li a { border: 2px solid #dbdbdb; display: block; }
#content ul.gallery li a:hover { border-color: #b2b2b2; }
#content ul.gallery li img { width: 100%; height: auto; display: block; }



#content ul.sidebar_list { margin-left: 0; }

#content ul.sidebar_list li { padding-left: 0; line-height: 18px; border-bottom: 1px dotted #ddd; list-style: none; }

#content ul.sidebar_list li:before { display: none; }

#content ul.sidebar_list li a { padding: 15px 0; font-size: 17px; font-weight: 900; text-decoration: none; color: var(--color-dark); line-height: 18px; display: block; }

#content ul.sidebar_list li a:hover { padding-left: 15px; }

#content ul.sidebar_list li.current_page_item a { padding: 15px; color: #FFFFFF; background: var(--color-red); }

#content ul.dc { margin-left: 0; border-top: 1px solid #ddd; }
#content ul.dc li { padding: 10px 10px 10px 40px; background: url(images/icon_document.svg) no-repeat center left; background-size: auto 32px; border-bottom: 1px solid #ddd; list-style: none; }
#content ul.dc li:before { display: none; }

/* Contact */
#content .contact_wrap { display: flex; }
#content .contact_wrap .wrap_left { width: 50%; padding-right: 50px; }
#content .contact_wrap .wrap_right { width: 50%; }

#content .maps_wrap { min-height: 600px; display: flex; }
#content .maps_wrap .wrap_left { width: 50%; background: url(images/centerprint_debrecen_bejarat.jpg) no-repeat center; background-size: cover; }
#content .maps_wrap .wrap_right { width: 50%; }
#content .maps_wrap .wrap_right iframe { height: 100%; }
#content .maps_wrap .wrap_right .cmplz-placeholder-parent { height: 100% !important; }

/* Has sidebar */
#content .wrap_left.wrap_sidebar { width: 300px; margin-right: 50px; position: relative; }
#content .wrap_left.wrap_sidebar h4 { margin-bottom: 20px; font-size: 18px; color: var(--color-red); }

/* Video wrapper */
#content .video_wrapper { height: 0; padding-bottom: 56.25%; padding-top: 25px; position: relative; }
#content .video_wrapper iframe { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }

/* History */
#content .history { position: relative; }
#content .history article { width: 50%; margin-bottom: 80px; padding-right: 70px; float: left; position: relative; }
#content .history article:nth-child(2) { margin-top: 200px; }
#content .history article:nth-child(2n) { padding-left: 70px; padding-right: 0; float: right; }
#content .history article .history_wrapper { background: #ececec; }
#content .history article .history_wrapper .image { position: relative; }
#content .history article .history_wrapper .image img { width: 100%; height: auto; display: block; }
#content .history article .history_wrapper .entry { padding: 40px; }
#content .history article .history_wrapper .entry:before { width: 70px; right: 0; top: 50%; border-bottom: 3px dotted var(--color-red); position: absolute; z-index: 1; content: ''; }
#content .history article .history_wrapper .entry:after { width: 30px; height: 30px; right: -16px; top: 50%; margin-top: -13px; background: #FFFFFF; border: 5px solid var(--color-red); position: absolute; z-index: 2; content: ''; -webkit-border-radius: 50%; border-radius: 50%; }
#content .history article:nth-child(even) .history_wrapper .entry:before { left: 0; right: auto; }
#content .history article:nth-child(even) .history_wrapper .entry:after { left: -14px; right: auto; }
#content .history article .history_wrapper .entry .year { margin-bottom: 20px; font-size: 40px; }
#content .history article .history_wrapper .entry .text { font-size: 16px; color: #666; line-height: 25px; }

#content .history article.has_image .image:before { width: 70px; right: -70px; top: 50%; border-bottom: 3px dotted var(--color-red); position: absolute; z-index: 1; content: ''; }
#content .history article.has_image .image:after { width: 30px; height: 30px; right: -86px; top: 50%; margin-top: -13px; background: #FFFFFF; border: 5px solid var(--color-red); position: absolute; z-index: 2; content: ''; -webkit-border-radius: 50%; border-radius: 50%; }
#content .history article.has_image:nth-child(even) .image:before { left: -70px; right: auto; }
#content .history article.has_image:nth-child(even) .image:after { left: -84px; right: auto; }

#content .history article.has_image .entry:before { display: none; }
#content .history article.has_image .entry:after { display: none; }

#content .history article:nth-child(1) { order: 1; }
#content .history article:nth-child(2) { order: 2; }
#content .history article:nth-child(odd) { clear: both; }
#content .history article:nth-child(odd) .history_wrapper .entry:before { top: 30px; }
#content .history article:nth-child(odd) .history_wrapper .entry:after { top: 30px; }


/* Portfolio */

#content .portfolio .portfolio_wrapper { margin-left: -10px; margin-right: -10px; }

#content .portfolio .portfolio_wrapper article { padding-left: 10px; padding-right: 10px; }


/*
--------------
	FOOTER
--------------
*/
#footer { font-size: 16px; color: #FFFFFF; background: var(--color-dark); border-top: 10px solid var(--color-red); }

/* Footer top */
#footer .footer_top { padding: 50px 0; }
#footer .footer_top a { color: #FFFFFF; }
#footer .footer_top a:hover { text-decoration: underline; }
#footer .footer_top h4 { margin-bottom: 20px; font-size: 18px; font-weight: 700; color: var(--color-red); line-height: 100%; }
#footer .footer_top ul { margin-left: 20px; }
#footer .footer_top ul li.menu-item-home { display: none !important; }

#footer .footer_top .footer_top_wrap { display: flex; }
#footer .footer_top .footer_top_wrap > div { flex: 1; }
#footer .footer_top .footer_top_wrap > div.logo__social_media { display: flex; align-content: space-between; }

#footer .footer_top .footer_top_wrap .logo img { width: auto; height: 50px; display: block; }
#footer .footer_top .footer_top_wrap .social_media_wrap { width: 100%; display: flex; }
#footer .footer_top .footer_top_wrap .social_media_wrap a { width: 50px; height: 50px; margin-right: 10px; text-indent: -9999px; background: rgba(255 255 255 / 10%) no-repeat center / auto 20px; display: flex; border-radius: 50%; }
#footer .footer_top .footer_top_wrap .social_media_wrap a:hover { background-color: rgba(255 255 255 / 20%); }
#footer .footer_top .footer_top_wrap .social_media_wrap a.facebook { background-image: url(images/icon-facebook-white.svg); }
#footer .footer_top .footer_top_wrap .social_media_wrap a.instagram { background-image: url(images/icon-instagram-white.svg); }
#footer .footer_top .footer_top_wrap .social_media_wrap a.youtube { background-image: url(images/icon-youtube-white.svg); }
#footer .footer_top .footer_top_wrap .social_media_wrap a.tiktok { background-image: url(images/icon-tiktok-white.svg); }

/* Footer bottom */
#footer .footer_bottom .footer_bottom_wrap { padding-top: 20px; padding-bottom: 20px; text-align: center; line-height: 20px; border-top: 1px solid rgba(255 255 255 / 10%); display: flex; justify-content: center; }
#footer .footer_bottom .footer_bottom_wrap .sep { margin: 0 10px; }


/*
--------------------------
	PÁLYÁZATI BANNEREK
--------------------------
*/
.grant-block { right: 0; bottom: 0; position: fixed; z-index: 100; }
.grant-block img { width: auto; height: 150px; display: block; }
.grant-block a { display: block; position: relative; z-index: 1; }
.grant-block a.grant-close { width: 30px; height: 30px; right: 20px; top: -12px; font-size: 16px; color: #000000 !important; background: #FFFFFF; border: 1px solid var(--color-silver-line); display: flex; align-items: center; justify-content: center; position: absolute; z-index: 2; }
.grant-block a.grant-close:hover { border-color: var(--color-blue); }

.grant-block.grant-szechenyi { left: 0; right: auto; }
.grant-block.grant-szechenyi img { height: 100px; }

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

	.grant-block.grant-szechenyi img { height: 64px; }
}


/*
------------
	FORM
------------
*/
.form-row { margin-bottom: 20px !important; }
.form-row.fields_info { font-size: 15px; text-align: right; line-height: 50px; }
.form-row.form-row-first { width: 48%; float: left; }
.form-row.form-row-last { width: 48%; float: right; }
.form-row.form-row-wide { width: 100%; float: none; clear: both; }

.form-row br { display: none; }
.form-row label { margin-bottom: 5px; font-size: 15px; font-weight: 700; color: var(--color-dark); line-height: 16px; display: block; }

.form-row select,
.form-row textarea,
.form-row input[type=tel],
.form-row input[type=date],
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=number],
.form-row input[type=password] { width: 100%; height: 50px; padding-left: 15px; font-size: 16px; background: #FFFFFF; outline: 1px solid var(--color-silver-line); }

.form-row select:focus,
.form-row textarea:focus,
.form-row input[type=tel]:focus,
.form-row input[type=date]:focus,
.form-row input[type=text]:focus,
.form-row input[type=email]:focus,
.form-row input[type=number]:focus,
.form-row input[type=password]:focus { background: var(--color-silver); outline: 2px solid var(--color-dark); outline-offset: 1px; }

.form-row input[type=tel].small,
.form-row input[type=date].small,
.form-row input[type=text].small,
.form-row input[type=email].small,
.form-row input[type=number].small,
.form-row input[type=password].small { width: 100px; }

.form-row select { min-width: 100px; }
.form-row select.small { width: auto; margin-right: 10px; }

.form-row input[type=file] { font-size: 15px; }
.form-row textarea { height: 150px; padding: 15px; resize: vertical; }

.form-row.white_input textarea,
.form-row.white_input input[type=tel],
.form-row.white_input input[type=text],
.form-row.white_input input[type=email],
.form-row.white_input input[type=password] { background: #FFFFFF; }

.wpcf7-list-item { margin: 0 20px 0 0 !important; }

input.wpcf7-not-valid, 
select.wpcf7-not-valid, 
textarea.wpcf7-not-valid { border-color: var(--color-red) !important; }


/*
------------------
	RWD DESIGN
------------------
*/
@media only screen and (max-width: 1200px) { 
	
	/* DISPLAY: Block */
	.show_in_1200 { display: block !important; }

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

	/* HEADER */
	#header .header_wrap { padding-right: 0 !important; }

	/* HEADER: Logo */
	#header .logo { left: 20px; }

	/* HEADER: Menu */
	#header ul.menu li a { font-size: 19px; }

	#header ul.menu li.menu-item-15, 
	#header ul.menu li.menu-item-694 { display: none !important; }

	/* SLIDER */
	#slider { height: 90vh; }
	#slider .slick-slide .cover { padding: 0 30px; }
	#slider .slick-slide .title { font-size: 48px; }
	#slider .slider_nav_wrapper .slider_nav .slick-slide { padding-left: 20px; }

	/* CONTACT FORM */
	#contact_form h2 { text-align: center; }
	#contact_form h2.has_line:after { left: 50%; margin-left: -25px; }
	#contact_form h2 br { display: none; }
	#contact_form .row { display: block; }
	#contact_form .row .col { width: 100%; display: block; }
	#contact_form .col.col_textarea { padding-left: 0; }
	#contact_form .form-row.t_a_r { text-align: center; }
}

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

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }

	/* SLIDER */
	#slider .slider_nav_wrapper .slider_nav { height: 100px; }
	#slider .slider_nav_wrapper .slider_nav .slick-slide { padding-top: 20px; padding-right: 10px; }
	#slider .slider_nav_wrapper .slider_nav .slick-slide .info { padding-left: 0; }

	/* SERVICES */
	#services { padding: 50px 0; }
	#services .services_wrapper .service { width: calc((100% - 20px) / 2); }

	/* ABOUT US */
	#aboutus .aboutus_top { margin-bottom: 30px; }
	#aboutus .aboutus_top .image { width: 100%; }
	#aboutus .aboutus_top .text { width: 100%; padding: 30px 0 0; }
	
	/* MAIN CONTENT */
	#main-content .columns > .col { width: 100%; }
	
	/* MAIN TITLE */
	#main_title { height: 250px; }

	/* CONTENT */
	#main .main_wrap .wrap_left { width: 100%; }
	
	/* CONTENT: Contact */
	#content .contact_wrap .wrap_left { width: 100%; padding-right: 0; }
	#content .contact_wrap .wrap_right { width: calc(100%  + 60px); margin-left: -30px; margin-right: -30px; margin-bottom: 30px; padding: 50px 30px; background: var(--color-silver); }
	
	#content .maps_wrap { min-height: inherit; }
	#content .maps_wrap .wrap_right { width: 100%; }
	#content .maps_wrap .wrap_right iframe { width: 100% !important; height: 300px !important; }

	/* CONTACT FORM */
	#contact_form { padding: 50px 0; }

	/* CONTENT: Has sidebar */
	#content .row_has_sidebar { display: block; }
	#content .row_has_sidebar .col_entry { display: block; }
	
	/* CONTENT: History */
	#content .history article .history_wrapper .entry { padding: 30px; }
	#content .history article .history_wrapper .entry .year { font-size: 30px; }

	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap > div.logo__social_media { flex: none; width: 100%; margin-bottom: 50px; justify-content: space-between; align-items: center; }
	#footer .footer_top .footer_top_wrap .social_media_wrap { width: auto; }
}


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

	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }

	/* SLIDER */
	#slider .slick-slide .text { font-size: 18px; }
	#slider .slick-slide .button { margin-top: 30px; }

	/* SERVICES */
	#services .services_wrapper .service .read_more a { width: auto; padding: 0 20px; }
	#services .services_wrapper .service .read_more a:before { display: none; }
	#services .services_wrapper .service:hover .read_more a { width: auto; }
	#services .services_wrapper .service .read_more a span { left: auto; position: relative; }

	/* CONTACT FORM */

	#contact_form h2 { font-size: 6vw !important; }

	/* MAIN TITLE */
	#main_title { height: 200px; }

	/* CONTENT: History */

	#content .history:before { display: none; }

	#content .history article { width: 100%; margin-bottom: 30px; padding-right: 0; float: none; }

	#content .history article:nth-child(2) { margin-top: 0; }

	#content .history article:nth-child(2n) { padding-left: 0; float: none; }

	#content .history article .history_wrapper .entry:before { display: none; }

	#content .history article .history_wrapper .entry:after { display: none; }



	#content .history article.has_image .image:before { display: none; }

	#content .history article.has_image .image:after { display: none; }

	

	/* CONTENT: Blog archive */
	.blog_archive article { width: 100%; }
}

@media only screen and (max-device-width: 768px) and (orientation: portrait) { 
	
	/* SLIDER */
	#slider { height: 60vh; }
}

@media only screen and (max-width: 640px) { 
	
	/* DISPLAY: None */
	.hide_in_640 { display: none !important; }

	/* SLIDER*/ 
	#slider .slick-slide .button { margin-top: 20px; }

	/* SERVICES */
	#services .services_wrapper .service { width: 100%; height: auto; padding: 30px 20px; }
	#services .services_wrapper .service .title { font-size: 20px; }
	#services .services_wrapper .service .text { margin-bottom: 30px; }
	#services .services_wrapper .service .read_more { left: auto; right: auto; bottom: auto; position: relative; }
	#services .services_wrapper .service .read_more a { width: 100%; }

	/* ABOUT US */
	#aboutus .aboutus_top .image { height: 350px; }
	
	/* FORM */
	.form-row.form-row-first, 
	.form-row.form-row-last { width: 100%; float: none; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap > div { flex: none; width: 100%; margin-bottom: 50px; }
	#footer .footer_top .footer_top_wrap > div:last-of-type { margin-bottom: 0; }
	#footer .footer_top .footer_top_wrap .social_media_wrap { width: 100%; margin-top: 30px; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom { font-size: 15px; }
}

@media only screen and (max-width: 480px) { 
	
	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* NAVIGATION */
	#rwd_menu { width: 100%; }
	
	/* HEADER: Logo */
	#header .logo img { height: 40px; }
	
	/* ABOUT US */
	#aboutus .aboutus_top .image { height: 250px; }
}
