/*
Theme Name: Budvill
Theme URI: http://budvill.hu/
Description: A Budvill weboldalának alapértelmezett sablonja
Author: Digitalform
Author URI: http://digitalform.hu
Version: 3.0
*/

*{
margin: 0;
border: 0;
padding: 0;
flex-wrap: wrap;
text-decoration: none;
}

*, 
*:after, 
*::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

:root {
	--color-body-text: #373939;
	--color-blue: #0272B2;
	--color-red: #d91828;
	--color-silver: #eeeeee;
	--color-silver-line: #dadada;
	--color-green: #09995a;
	--color-dark-blue: #003869;
	--color-yellow: #ffc500;
}

body { font-family: 'PT Sans', sans-serif; font-size: 16px; color: var(--color-body-text); line-height: 30px; overflow-x: hidden; }
body:before { width: 100%; height: 240px; left: 0; top: 0; background: var(--color-blue) url(images/bgr_body.png) no-repeat top center; background-size: cover; position: absolute; content: ''; z-index: -1; }
body.home:before { height: 600px; }
body.rwd_menu__opened { overflow-y: hidden; }

textarea, input, select, button { font-family: 'PT Sans', sans-serif; font-size: 15px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

hr { margin-bottom: 30px; border-top: 4px double #ddd; }

/* 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; }
.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%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.uppercase { text-transform: uppercase; }
.t_a_c { text-align: center; }
.hide { display: none; }
.red { color: #ff0000; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.p_r_50 { padding-right: 50px; }

/* Cols */
.row { width: 100%; font-size: 0; display: block; }
.row .col { font-size: 16px; vertical-align: top; display: inline-block; position: relative; }
.row .col_33 { width: 33.3333333333%; }
.row .col_50 { width: 50%; }
.row .col_66 { width: 66%; }

/* Font */
.embed_font, .sec_font { font-family: 'PT Sans Narrow', sans-serif; }
.montserrat { font-family: 'Montserrat', sans-serif; }

/* Animation */
.anim, .slick-arrow { -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-family: 'PT Sans Narrow', sans-serif; font-size: 18px !important; font-weight: 700; text-transform: uppercase; text-decoration: none !important; text-align: center; color: white !important; line-height: 50px; background: #3cadfa; border-bottom: none !important; 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: 25px; -moz-border-radius: 25px; border-radius: 25px; }
.button:hover { background: var(--color-dark-blue); }

.button.white:hover { color: #1e92c1 !important; background: white; }

.button.button_yellow { color: #000 !important; background: var(--color-yellow); }
.button.button_yellow:hover { color: white !important; background: var(--color-dark-blue); }

.button.button_white_hover:hover { color: #000 !important; background: white; }

.button_small { height: 30px; padding: 0 10px; font-size: 16px !important; font-weight: normal; line-height: 30px; }

.bounce { -webkit-animation-name: bounceRight; animation-name: bounceRight; -webkit-animation-duration: 2.3s; animation-duration: 2.3s; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; }

.button_dark { background-color: var(--color-dark-blue); }
.button_dark:hover { background-color: #111; }


/*
------------------
	COOKIE LAW
------------------
*/
#cookie-law-info-bar { padding: 15px !important; font-size: 14px; text-align: left !important; line-height: 20px; }
#cookie-law-info-bar .cli_settings_button { font-weight: 600; text-decoration: underline; }
#cookie-law-info-bar .cookie_action_close_header { width: 100%; margin: 10px 0 0 !important; text-align: center; display: block; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 100px; bottom: 0; padding-bottom: 40px; background: rgba(0 56 105 / 90%); position: fixed; z-index: 9; visibility: hidden; overflow: auto; opacity: 1; }

#rwd_menu .p_20 { padding: 20px; }
#rwd_menu .rwd_menu_wrapper { top: -100%; background: white; position: relative; }

#rwd_menu .rwd_menu_wrapper ul.main_menu li { border-bottom: 1px solid #d7e0e9; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li a { padding-left: 20px; padding-top: 10px; padding-bottom: 10px; font-size: 23px; color: var(--color-dark-blue); display: block; position: relative; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li a:before { width: 0; height: 100%; left: 0; top: 0; background: var(--color-dark-blue); position: absolute; content: ''; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li a.active:before { width: 5px; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li.menu-item-has-children a:after { width: 24px; height: 24px; margin: 0; right: 20px; top: 13px; background: url(images/icon_arrow_down_blue.svg) no-repeat center; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li.menu-item-has-children a.active:after { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } 

#rwd_menu .rwd_menu_wrapper ul.main_menu li ul { background: var(--color-dark-blue); display: none; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li ul li { border-bottom-color: rgba(255 255 255 / 20%); }
#rwd_menu .rwd_menu_wrapper ul.main_menu li ul li:last-child { border-bottom: none; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li ul li a { padding-left: 20px; font-size: 20px; font-weight: normal; text-transform: none; color: white; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li ul li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
#rwd_menu .rwd_menu_wrapper ul.main_menu li ul li a:before { display: none; }

/* Language switcher */
#rwd_menu ul.language-chooser { display: flex; flex-wrap: wrap; list-style: none; }
#rwd_menu ul.language-chooser li { width: 50px; margin-right: 3px; }
#rwd_menu ul.language-chooser li a { width: 50px; height: 50px; text-align: center; text-transform: uppercase; color: white; line-height: 50px; background: var(--color-dark-blue); display: block; }
#rwd_menu ul.language-chooser li.active a { background: var(--color-blue); }

/* RWD menu opened */
body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 1; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrapper { top: 0; background: white; position: relative; overflow: auto; }


/*
---------------
	HEADER
---------------
*/
#header { height: 140px; border-top: 5px solid var(--color-dark-blue); }
#header .inner { height: 100%; }

/* Logo */
#header .logo { width: auto; height: 70px; display: inline-block; }
#header .logo img { width: auto; height: 100%; display: block; }

/* Menu */
#header menu { height: 24px; right: 0; position: absolute; z-index: 10; }
#header menu ul { font-size: 0; }
#header menu ul li { margin-left: 40px; vertical-align: top; display: inline-block; position: relative; list-style: none; }
#header menu ul li a { font-size: 24px; color: white; }

#header menu ul li ul { width: max-content; left: 0; top: 100%; background: white; position: absolute; visibility: hidden; opacity: 0; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; -moz-box-shadow: 0 3px 4px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 4px rgba(0,0,0,0.2); box-shadow: 0 3px 4px rgba(0,0,0,0.2); }
#header menu ul li ul:after { width: 0; height: 0; left: 20px; bottom: 100%; border: solid transparent; border-bottom-color: white; border-width: 7px; position: absolute; content: ''; pointer-events: none; }

#header menu ul li ul li { margin-left: 0; border-bottom: 1px dotted #ccc; display: block; }
#header menu ul li ul li:last-child { border-bottom: none; }
#header menu ul li ul li a { height: auto; padding: 10px 15px; font-family: 'PT Sans', sans-serif; font-size: 17px; color: var(--color-dark-blue); line-height: 20px; display: block; }
#header menu ul li ul li a:hover { text-decoration: underline; color: #000; }

#header menu ul li.menu-item-has-children > a { padding-right: 25px; background: url(images/icon_arrow_down.svg) no-repeat right center; background-size: auto 15px; }

#header menu ul li.menu-item-has-children:hover ul { visibility: visible; opacity: 1; } 

/* Languages */
#header ul.language-chooser { right: -20px; top: -5px; padding: 0 20px; text-align: center; background-image: url(images/bgr_langs_left.png), url(images/bgr_langs_right.png); background-repeat: no-repeat; background-position: left top, right top; display: flex; position: absolute; list-style: none; } 
#header ul.language-chooser li { width: 40px; height: 40px; color: white; background: var(--color-dark-blue); }
#header ul.language-chooser li a { width: 40px; height: 40px; font-size: 15px; text-transform: uppercase; color: white; line-height: 40px; display: block; }
#header ul.language-chooser li a:hover { background: rgba(255,255,255,0.1); }
#header ul.language-chooser li.active a { background: var(--color-blue); }

/* RWD menu */
#header .rwd_button { width: 60px; height: 60px; right: 20px; font-size: 30px; background: transparent; position: absolute; cursor: pointer; }
#header .rwd_button .burg { width: 40px; height: 2px; left: 10px; 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: 40px; 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: -10px; left: 0; }
#header .rwd_button .burg:after { top: 10px; right: 0; }

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); }


/*
--------------
	SLIDES
--------------
*/
#slides { position: relative; }
#slides:before { width: 70%; height: 90px; left: 0; bottom: 0; background: var(--color-silver); position: absolute; content: ''; }

#slides .slick-track { background: var(--color-dark-blue); }

#slides .slick-slide { max-height: 550px; min-height: 250px; background-color: var(--color-dark-blue); background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#slides .slick-slide:before { padding-top: 44%; display: block; content: ''; }
#slides .slick-slide .cover { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }
#slides .slick-slide .content { max-width: 600px; margin-left: auto; margin-right: auto; padding: 30px 0; }
#slides .slick-slide .slide_top { width: 100%; height: 50%; text-align: center; display: flex; justify-content: center; align-items: flex-end; }
#slides .slick-slide .slide_top .content { border-bottom: 1px solid rgba(255 255 255 / 30%); }
#slides .slick-slide .slide_top .subtitle { width: 100%; font-size: 14px; font-weight: 700; color: var(--color-yellow); letter-spacing: 3px; }
#slides .slick-slide .slide_top .title { width: 100%; font-size: 50px; color: white; line-height: 1; }
#slides .slick-slide .slide_bottom { width: 100%; height: 50%; text-align: center; color: white; }
#slides .slick-slide .slide_bottom .text { font-size: 18px; line-height: 25px; }
#slides .slick-slide .slide_bottom .action_button { margin-top: 30px; }

#slides .slick-arrow { width: 50px; height: 50px; left: 50px; top: calc(50% - 25px); text-indent: -9999px; background: url(images/icon_arrow_left_white.svg) no-repeat center; background-size: 50px auto; position: absolute; z-index: 10; cursor: pointer; }
#slides .slick-arrow:hover { left: 40px; }
#slides .slick-arrow.slick-next { left: auto; right: 50px; background-image: url(images/icon_arrow_right_white.svg); }
#slides .slick-arrow.slick-next:hover { left: auto; right: 40px; }


/*
-----------------
	FRONTPAGE
-----------------
*/

/* Slide */
#slide { min-height: 455px; position: relative; z-index: 2; }
#slide .col_slide_left { width: 60%; }

#slide .col_slide_left .slider { width: 100%; height: 500px; top: 30px; display: block; position: absolute; opacity: 0; }
#slide .col_slide_left .slick-list, 
#slide .col_slide_left .slick-track, 
#slide .col_slide_left .slick-slide { height: 100%; }
#slide .col_slide_left .slider .item { width: 100%; height: 100%; background-repeat: no-repeat; background-position: center; background-size: cover; }

#slide .col_slide_left .slider .slick-dots { width: 100%; left: 0; bottom: 20px; text-align: center; position: absolute; }
#slide .col_slide_left .slider .slick-dots { font-size: 0; }
#slide .col_slide_left .slider .slick-dots li { margin: 0 7px; vertical-align: top; display: inline-block; list-style: none; }
#slide .col_slide_left .slider .slick-dots li button { width: 20px; height: 20px; text-indent: -9999px; background: white; cursor: pointer; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
#slide .col_slide_left .slider .slick-dots li button { width: 20px; height: 20px; text-indent: -9999px; background: white; cursor: pointer; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
#slide .col_slide_left .slider .slick-dots li.slick-active button { background: var(--color-blue); }

body.is-loaded #slide .col_slide_left .slider { top: 0; opacity: 1; }

#slide .col_slide_right { width: 40%; padding-left: 40px; padding-top: 40px; }
#slide .col_slide_right h4 { margin-bottom: 20px; font-size: 14px; font-weight: 700; color: var(--color-yellow); }
#slide .col_slide_right h2 { margin-bottom: 10px; font-size: 50px; color: white; line-height: 100%; }
#slide .col_slide_right .entry { font-size: 18px; color: white; line-height: 25px; }
#slide .col_slide_right .read_more_wrapper { margin-top: 30px; padding-top: 30px; position: relative; }
#slide .col_slide_right .read_more_wrapper:before { width: 80px; height: 1px; left: 0; top: 0; background: var(--color-yellow); position: absolute; content: ''; }
#slide .col_slide_right .read_more_wrapper a { font-size: 16px; font-weight: 700; color: white; border-bottom: 2px solid white; }
#slide .col_slide_right .read_more_wrapper a:hover { border-bottom-color: var(--color-yellow); }

#slide .col_slide_right h4, 
#slide .col_slide_right h2, 
#slide .col_slide_right .entry, 
#slide .col_slide_right .read_more_wrapper { top: 30px; position: relative; opacity: 0; }

body.is-loaded #slide .col_slide_right h4, 
body.is-loaded #slide .col_slide_right h2, 
body.is-loaded #slide .col_slide_right .entry, 
body.is-loaded #slide .col_slide_right .read_more_wrapper { top: 0; opacity: 1; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { padding: 70px 0; position: relative; z-index: 1; }
#aboutus:before { width: 70%; height: 100%; left: 0; top: 0; background: var(--color-silver); position: absolute; content: ''; }
#aboutus .aboutus_wrap { display: flex; flex-wrap: wrap; align-items: center; }

#aboutus .wrap_left { width: 50%; padding-right: 50px; }
#aboutus .wrap_left h2 { margin-bottom: 20px; padding-left: 100px; padding-right: 40px; font-size: 50px; color: #111; line-height: 100%; position: relative; }
#aboutus .wrap_left h2:before { width: 80px; height: 1px; left: 0; top: 10px; background: var(--color-yellow); position: absolute; content: ''; }
#aboutus .wrap_left .entry { padding-left: 100px; padding-right: 40px; font-size: 18px; color: #666; line-height: 25px; }
#aboutus .wrap_left .entry p { margin-bottom: 20px; }
#aboutus .wrap_left .read_more { margin-top: 20px; margin-left: 100px; font-size: 16px; font-weight: 700; color: #111; border-bottom: 2px solid #111; display: inline-block; }
#aboutus .wrap_left .read_more:hover { border-bottom-color: var(--color-yellow); }

#aboutus .wrap_right { width: 50%; min-height: 400px; position: relative; }
#aboutus .wrap_right .image { height: 100%; left: 0; right: 0; top: 0; position: absolute; }
#aboutus .wrap_right .image:after { width: 10px; left: -10px; top: 40px; bottom: 40px; background: var(--color-yellow); position: absolute; content: ''; }

#aboutus .wrap_right .video { margin-bottom: 30px; padding-bottom: 56.25%; padding-top: 25px; position: relative; }
#aboutus .wrap_right .video:after { width: 10px; left: -10px; top: 40px; bottom: 40px; background: var(--color-yellow); position: absolute; content: ''; }
#aboutus .wrap_right .video iframe { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }


/*	
--------------------
	OUR PRODUCTS
--------------------
*/
#our_products { padding: 100px 0 0; position: relative; }
#our_products:before { width: 100%; height: 100px; left: 0; bottom: 0; background: var(--color-silver); position: absolute; content: ''; }
#our_products .our_products_header { margin-bottom: 70px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
#our_products .our_products_header .section_title { font-size: 50px; color: #111; line-height: 1; }

.products { margin-left: -10px; margin-right: -10px; display: flex; flex-wrap: wrap; }
.products .product { width: calc(25% - 20px); margin: 50px 10px 0; padding: 30px; background: white; border: 1px solid #ddd; }
.products .product:nth-child(-n+4) { margin-top: 0; }
.products .product a.thumbnail { display: flex; justify-content: center; align-items: center; }
.products .product a.thumbnail img { width: auto; max-width: 100%; max-height: 240px; height: auto; display: block; }

.products .product .entry { padding-top: 20px; }
.products .product .entry h3 { min-height: 60px; }
.products .product .entry h3 a { font-size: 24px; font-weight: 700; color: #111; line-height: 1; }
.products .product .entry h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.products .product .entry .metas { margin-bottom: 20px; padding: 10px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.products .product .entry .metas { margin-bottom: 20px; padding: 10px 0; border-top: 1px solid #ddd; }
.products .product .entry .metas .meta { font-size: 14px; color: #777; line-height: 20px; display: flex; flex-wrap: wrap; }
.products .product .entry .metas .meta .name { width: 50%; }
.products .product .entry .button { width: 100%; height: auto; padding: 15px 10px; line-height: 20px; display: block; }


/*
---------------
	COUNTER
---------------
*/
#counter { padding: 100px 0; background: var(--color-silver); }
#counter .counter_header { margin-bottom: 50px; }
#counter .counter_header .section_title { font-size: 50px; color: #111; line-height: 1; }

#counter .point_wrap { display: flex; flex-wrap: wrap; }
#counter .point_wrap .point { width: 33.3333333333%; padding-left: 20px; border-right: 1px solid #ddd; display: flex; flex-wrap: wrap; }
#counter .point_wrap .point:first-child { padding-left: 0; }
#counter .point_wrap .point:last-child { border-right: none; }
#counter .point_wrap .point .icon { width: 100%; height: 50px; margin-bottom: 5px; }
#counter .point_wrap .point .icon img { width: auto; height: 100%; display: block; }
#counter .point_wrap .point .counter { font-size: 100px; text-align: right; line-height: 1; color: #111; letter-spacing: -5px; }
#counter .point_wrap .point .icon__text { padding-top: 14px; padding-left: 15px; padding-bottom: 15px; display: flex; flex-wrap: wrap; align-items: end; }
#counter .point_wrap .point .icon__text .text { width: 100%; font-size: 16px; font-weight: 700; color: #111; line-height: 1; }


/* 
------------
	NEWS
------------
*/
#news { padding: 70px 0; font-size: 0; background: var(--color-dark-blue); }

.news_wrapper { display: flex; flex-wrap: wrap; }
.news_wrapper .news { width: 33.3333333333%; margin-top: 50px; padding-right: 50px; }
.news_wrapper .news:nth-child(-n+3) { margin-top: 0; }
.news_wrapper .news h3 { margin-bottom: 20px; padding-left: 100px; position: relative; }
.news_wrapper .news h3:before { width: 80px; height: 1px; left: 0; top: 10px; background: #336087; position: absolute; content: ''; }
.news_wrapper .news h3 a { font-size: 25px; text-decoration: none !important; color: var(--color-blue) !important; line-height: 100%; }
.news_wrapper .news h3 a:hover { color: var(--color-dark-blue) !important; }
.news_wrapper .news .datetime { margin-bottom: 20px; padding-left: 100px; font-size: 14px; font-weight: 700; color: var(--color-blue); letter-spacing: 3px; display: block; }
.news_wrapper .news .thumbnail { margin-bottom: 20px; padding-left: 100px; }
.news_wrapper .news .thumbnail img { width: 100%; height: auto; display: block; }
.news_wrapper .news .excerpt { margin-bottom: 30px; padding-left: 100px; font-size: 16px; color: var(--color-body-text); line-height: 20px; }
.news_wrapper .news .read_more { margin-left: 100px; font-size: 16px; font-weight: 700; text-decoration: none !important; color: var(--color-blue) !important; border-bottom: 2px solid var(--color-blue); display: inline-block; }
.news_wrapper .news .read_more:hover { border-bottom-color: var(--color-dark-blue); }

body.home .news_wrapper .news h3 a, 
body.home .news_wrapper .news h3 a:hover { color: white !important; }
body.home .news_wrapper .news .excerpt { color: rgba(255 255 255 / 60%); }
body.home .news_wrapper .news .read_more:hover { border-bottom-color: white; }

/*
-----------------------
	BEFORE CONTENT
-----------------------
*/
#before_content { height: 50px; background: var(--color-silver); border-bottom: 1px solid #ddd; position: relative; }
#before_content .inner { height: 100%; }
#before_content .inner:before { display: none; }

/* Breadcrumb */
#before_content .rank-math-breadcrumb { height: 50px; font-size: 13px; font-weight: 900; color: #111; line-height: 50px; }
#before_content .rank-math-breadcrumb a { font-weight: normal; text-decoration: none; color: var(--color-dark-blue); }
#before_content .rank-math-breadcrumb a:hover { text-decoration: underline; color: #111; }

/* Social */
#before_content .share { height: 49px; right: 0; top: 0; font-size: 0; border-right: 1px solid #ddd; position: absolute; }
#before_content .share a { width: 50px; height: 49px; padding-top: 14px; text-align: center; vertical-align: top; background: white; border-left: 1px solid #ddd; display: inline-block; }
#before_content .share a svg { width: auto; height: 20px; display: inline-block; }
#before_content .share a:hover { background: var(--color-yellow); border-left-color: var(--color-yellow); }


/*
----------------
	CONTENT
----------------
*/
#container { position: relative; }
#container .container_wrap { display: flex; flex-wrap: wrap; }
#container.full .container_wrap { display: block; }

#content { width: calc(100% - 300px); max-width: 900px; padding: 50px; background: white; }
.full #content { width: 100%; max-width: none; }

/* Breadcrumb */
#content .rank-math-breadcrumb { font-size: 13px; font-weight: 900; text-transform: uppercase; line-height: 20px; } 
#content .rank-math-breadcrumb p { margin-bottom: 10px !important; }
#content .rank-math-breadcrumb a { font-weight: normal; text-decoration: none; color: var(--color-dark-blue); }
#content .rank-math-breadcrumb a:hover { text-decoration: underline; color: #111; }

#content a { text-decoration: underline; color: #3cadfa; }
#content a:hover { color: var(--color-body-text); }
#content p { margin-bottom: 20px; }

/* H tags */
#content h1 { margin-bottom: 30px; font-size: 50px; color: #111; }
#content h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; color: var(--color-blue); }
#content h4 { margin-bottom: 10px; font-size: 18px; font-weight: 700; color: #111; }

/* List */
#content ul { margin-left: 20px; margin-bottom: 20px; }
#content ul.m_l_40 { margin-left: 40px; }
#content ul.m_l_60 { margin-left: 60px; }
#content ul li { list-style: square; }

#content ul.nomargin { margin-left: 0; }
#content ul.nomargin li { list-style: none; }

/* Categories */
#content ul.product_categories { margin-left: -15px; margin-right: -15px; font-size: 0; }
#content ul.product_categories li { width: 33.3333333333%; margin-bottom: 30px; padding-left: 15px; padding-right: 15px; vertical-align: top; display: inline-block; }
#content ul.product_categories li a { height: 300px; text-decoration: none; background-repeat: no-repeat; background-position: center; background-size: cover; display: block; position: relative; overflow: hidden; }
#content ul.product_categories li .caption { width: 100%; height: 80px; left: 0; bottom: -30px; background: rgba(0,56,105,0.8); position: absolute; }
#content ul.product_categories li .caption h3 { height: 50px; margin-bottom: 0; padding: 0 20px; font-size: 20px; text-decoration: none; color: white; line-height: 50px; }
#content ul.product_categories li .caption span { height: 30px; padding: 0 20px; font-size: 13px; font-weight: 700; color: white; line-height: 30px; background: var(--color-dark-blue); display: block; }
#content ul.product_categories li .caption .count { width: 50px; height: 50px; right: 20px; top: -25px; font-size: 20px; text-align: center; color: white; line-height: 50px; background: var(--color-blue); position: absolute; }
#content ul.product_categories li a:hover .caption { bottom: 0; }

/* Product description */
#content ul.product_desc { margin-bottom: 30px; font-size: 0; }
#content ul.product_desc li { width: 25%; vertical-align: top; text-align: center; display: inline-block; }
#content ul.product_desc li.w_50 { width: 50%; }
#content ul.product_desc li .name { padding: 5px 0; font-size: 16px; background: var(--color-silver); }
#content ul.product_desc li .value { padding: 5px 0; font-size: 16px; }

/* Product summary */
#content .product_image img { max-width: 100%; height: auto; display: block; }

/* Brochure */
#content .brochure { height: 200px; padding-top: 50px; background: url(images/img_brochure.png) no-repeat left top; position: relative; }
#content .brochure .button { right: 30px; top: 100px; position: absolute; }

/* Gallery */
#content .gallery { margin-bottom: 30px; margin-left: -10px; margin-right: -10px; font-size: 0; }
#content .gallery br { display: none !important; }
#content .gallery dl { width: 20%; margin-bottom: 20px; padding-left: 10px; padding-right: 10px; vertical-align: top; display: inline-block; }
#content .gallery dl a { padding: 3px; background: white; border: 2px solid #ddd; display: block; -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; }
#content .gallery dl a:hover { border-color: var(--color-blue); }
#content .gallery dl a img { width: 100%; height: auto; border: none !important; display: block; }

/* Contact */
#content .contact_wrap { display: flex; flex-wrap: wrap; }
#content .contact_wrap .wrap_left { width: 50%; }
#content .contact_wrap .wrap_right { width: 50%; }

#content a.download { margin-bottom: 10px; padding: 16px 60px 16px 180px; font-weight: 700; text-decoration: none !important; color: var(--color-dark-blue) !important; word-break: break-all; line-height: 20px; background: var(--color-silver); display: block; position: relative; overflow: hidden; -webkit-border-radius: 25px; -moz-border-radius: 25px; border-radius: 25px; }
#content a.download:before { height: 100%; left: 0; top: 0; padding: 20px 30px 10px 70px; font-size: 13px; font-weight: 700; color: white; line-height: 14px; background: var(--color-dark-blue) url(images/icon_download_white.svg) no-repeat 30px 15px; background-size: 24px auto; position: absolute; content: 'LETÖLTÉS'; }
#content a.download:after { right: 20px; top: 50%; font-size: 13px; font-weight: 700; color: #000; line-height: 14px; position: absolute; opacity: 0.5; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
#content a.download.pdf:after { content: 'PDF'; }
#content a.download.xls:after { content: 'XLS'; }
#content a.download.doc:after, #content a.download.docx:after { content: 'DOC'; }
#content a.download + br { display: none; }

/* Taxonomy */
#content.category_tax h4 { padding-left: 20px; }

/* Iframe wrapper */
#content .iframe_wrapper { height: 0; margin-bottom: 30px; padding-bottom: 56.25%; padding-top: 25px; position: relative; }
#content .iframe_wrapper iframe { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }


/*
----------------
	SIDEBAR
----------------
*/
#sidebar { width: 300px; padding-top: 180px; padding-bottom: 30px; }
#sidebar .widget { margin-bottom: 50px; padding-bottom: 50px; padding-left: 30px; border-bottom: 1px solid #ddd; position: relative; }
#sidebar .widget:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
#sidebar .widget:before { width: 4px; height: 100%; left: 0; top: 0; background: var(--color-yellow); position: absolute; content: ''; }
#sidebar .widget h3.widget_title { margin-bottom: 20px; font-size: 30px; }

/* Widget news */
#sidebar .widget_news ul li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dotted #ddd; list-style: none; }
#sidebar .widget_news ul li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
#sidebar .widget_news ul li h4 { font-size: 20px; font-weight: bold; }
#sidebar .widget_news ul li h4 a { color: var(--color-dark-blue); }
#sidebar .widget_news ul li h4 a:hover { color: #000; }
#sidebar .widget_news ul li .datetime { font-size: 14px; color: #999; }


/*
-------------------
	CERTIFICATE
-------------------
*/
#certificate { padding: 20px 0; background: var(--color-silver); border-bottom: 1px solid #ddd; }
#certificate .inner { display: flex; justify-content: center; }
#certificate a { display: block; }
#certificate img { display: block; }


/*
---------------
	FOOTER
---------------
*/
#footer { padding: 70px 0; font-size: 17px; color: #666; line-height: 25px; border-top: 2px solid #ddd; clear: both; }
body.home #footer { border-top: none; }

#footer .footer_wrap { display: flex; flex-wrap: wrap; }
#footer .wrap_left { width: 50%; }
#footer .wrap_left .logo { margin-bottom: 30px; padding-left: 100px; padding-bottom: 30px; display: inline-block; position: relative; }
#footer .wrap_left .logo:after { width: 100%; height: 1px; left: 0; bottom: 0; background: var(--color-yellow); position: absolute; content: ''; }
#footer .wrap_left .logo img { width: auto; height: 80px; display: block; }
#footer .wrap_left .copyright { padding-left: 100px; font-size: 15px; color: #999; }

#footer .wrap_right { width: 50%; }
#footer .wrap_right h3 { margin-bottom: 20px; padding-bottom: 20px; font-size: 25px; color: #111; border-bottom: 1px solid #ddd; }
#footer .wrap_right ul li { list-style: none; }
#footer .wrap_right ul li a { color: #666; }
#footer .wrap_right ul li a:hover { text-decoration: underline; color: #111; }
#footer .wrap_right p { margin-bottom: 20px; }
#footer .wrap_right p:last-child { margin-bottom: 0; }
#footer .wrap_right strong { color: #111; }


/*
--------------
	FORM
--------------
*/
.wpcf7-form {  }
.wpcf7-form label { font-weight: 700; color: #111; } 

.form-row { margin-bottom: 20px !important; }
.form-row br { display: none !important; }
.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 textarea,
.form-row input[type=tel],
.form-row input[type=text],
.form-row input[type=email] { width: 100%; height: 50px; padding-left: 10px; background: var(--color-silver); border-left: 5px solid var(--color-silver); position: relative; }

.form-row textarea:focus,
.form-row input[type=tel]:focus,
.form-row input[type=text]:focus,
.form-row input[type=email]:focus { border-color: var(--color-dark-blue); }

.form-row input[type=submit]:disabled { color: #999 !important; background: #ccc; }

.form-row textarea { height: 150px; padding: 10px; }


/* 
----------------------
	SZÉCHENYI 2020
----------------------
*/
.szechenyi2020 { right: 0; bottom: 0; display: block; position: fixed; z-index: 11; }
.szechenyi2020 img { width: auto; height: 150px; display: block; }


/*
-------------
	BAR21
-------------
*/
.bar21 { height: 150px; left: 20px; bottom: 20px; padding: 10px; background: white; position: fixed; z-index: 100; border-radius: 10px; box-shadow: 0 2px 3px rgba(0 0 0 / 15%); }
.bar21 img { width: auto; height: 100%; display: block; }
.bar21 a { height: 100%; display: block; position: relative; z-index: 1; }
.bar21 a.bar21_close { width: 30px; height: 30px; left: 15px; top: -15px; font-size: 14px; color: white; line-height: 100%; background: var(--color-blue); display: flex; align-items: center; justify-content: center; position: absolute; z-index: 2; }
.bar21 a.bar21_close:hover { background: var(--color-yellow); }


/*
-------------------
	RWD DESIGN
-------------------
*/
@media only screen and (max-width: 1280px) {
	
	/* DEFAULT */
	body { font-size: 15px; }
	body:before { display: none; }
	body.home:before { height: 140px; }
	
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }
	
	/* HEADER */
	#header { background: var(--color-blue); }
	
	/* HEADER: Menu */
	#header menu { right: 30px; }
	#header menu ul li { margin-left: 30px; }
	#header menu ul li a { font-size: 22px; }
	#header menu ul li ul li a { font-size: 16px; }
	
	/* HEADER: Languages */
	#header ul.language-chooser { right: 10px; }
	
	/* FRONTPAGE: Slide */
	#slide { min-height: 405px; }
	#slide .col_slide_left { width: 55%; }
	#slide .col_slide_left .slider { height: 450px; }
	#slide .col_slide_right { width: 45%; }
	#slide .col_slide_right h2 { font-size: 45px; }
	#slide .col_slide_right .entry { font-size: 17px; }
	
	/* ABOUT US */
	#aboutus .wrap_left { padding-left: 20px; }
	#aboutus .wrap_left h2 { padding-left: 0; font-size: 45px; }
	#aboutus .wrap_left h2:before { display: none; }
	#aboutus .wrap_left .entry { padding-left: 0; }
	#aboutus .wrap_left .read_more { margin-left: 0; }
	#aboutus .wrap_right .image { right: 20px; }
	
	/* OUR PRODUCTS */
	.products .product { padding: 20px; }
	
	/* COUNTER */
	#counter .point_wrap .point { padding-left: 20px; }
	#counter .point_wrap .point .counter { font-size: 90px; }
	#counter .point_wrap .point .icon__text { padding-top: 5px; }
	#counter .point_wrap .point .icon__text .icon { height: 30px; }
	
	/* NEWS */
	.news_wrapper { margin-left: -15px; margin-right: -15px; }
	.news_wrapper .news { padding-left: 15px; padding-right: 15px; }
	.news_wrapper .news h3 { padding-left: 0; }
	.news_wrapper .news h3:before { display: none; }
	.news_wrapper .news .datetime { padding-left: 0; }
	.news_wrapper .news .thumbnail { padding-left: 0; }
	.news_wrapper .news .excerpt { margin-bottom: 20px; padding-left: 0; }
	.news_wrapper .news .read_more { margin-left: 0; }
	
	/* SIDEBAR */
	#sidebar { padding-top: 100px; padding-right: 20px; }
	
	/* FOOTER */
	#footer .wrap_left .logo { padding-left: 0; }
	#footer .wrap_left .copyright { padding-left: 0; }
}

@media only screen and (max-width: 960px) {
	
	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* DEFAULT */
	body:before { height: 100px; }
	
	/* HEADER */
	#header { height: 100px; border-top: none; }

	/* HEADER: Logo */
	#header .logo { height: 50px; }
	
	/* HEADER: Languages */
	#header ul.language-chooser { right: 100px; top: calc(50% - 20px); padding: 0; } 
	#header ul.language-chooser li { margin-left: 3px; }
	
	/* SLIDES */
	#slides .slick-slide .cover { display: flex; flex-wrap: wrap; justify-content: center; }
	#slides .slick-slide .content { padding: 20px 0; }
	#slides .slick-slide .slide_top { height: auto; }
	#slides .slick-slide .slide_bottom { height: auto; }

	#slides .slick-arrow { width: 50%; height: 50px; left: 0; top: auto; bottom: -50px; background-color: var(--color-dark-blue); border-top: 1px solid white; }
	#slides .slick-arrow:hover { left: 0; }
	#slides .slick-arrow.slick-next { left: auto; right: 0; border-left: 1px solid white; }
	#slides .slick-arrow.slick-next:hover { left: auto; right: 0; }
	
	/* ABOUT US */
	#aboutus { padding: 50px 0; background: var(--color-silver); }
	#aboutus:before { display: none; }
	#aboutus .wrap_left { width: 100%; margin-bottom: 30px; padding-left: 0; padding-right: 0; }
	#aboutus .wrap_left .entry { padding-right: 0; }
	#aboutus .wrap_right { width: 100%; min-height: inherit; }
	#aboutus .wrap_right .image { width: auto; height: auto; left: auto; right: auto; top: auto; position: relative; }
	#aboutus .wrap_right .image:before { padding-top: 50%; display: block; content: ''; }
	
	/* OUR PRODUCTS */
	.products .product { width: calc(33.3333333333% - 20px); }
	.products .product:nth-child(4) { margin-top: 50px; }
	body.home .products .product:nth-child(4) { display: none; }
	
	/* COUNTER */
	#counter .point_wrap .point .counter { width: 100%; text-align: left; }
	#counter .point_wrap .point .icon__text { padding-left: 0; padding-bottom: 0; }
	
	/* CONTENT */
	#content { width: 100%; padding: 30px 0; }
	
	/* CONTENT: Categories */
	#content ul.product_categories li { width: 50%; }
	
	/* CONTENT: Contact */
	#content .contact_wrap .wrap_left, 
	#content .contact_wrap .wrap_right { width: 100%; }
	
	/* FOOTER */
	#footer { padding: 50px 0; }
	#footer .wrap_left { width: 100%; margin-bottom: 50px; text-align: center; display: block; }
	#footer .wrap_right { width: 100%; display: block; }
}

@media only screen and (max-width: 768px) {
	
	/* SLIDES */
	#slides .slick-slide .slide_top .title { font-size: 40px; }
	
	/* OUR PRODUCTS */
	#our_products { padding-top: 50px; }
	#our_products .our_products_header { margin-bottom: 30px; }
	#our_products .our_products_header .section_title { font-size: 40px; }
	
	.products .product { width: calc(50% - 20px); }
	.products .product:nth-child(3) { margin-top: 50px; }
	.products .product .entry h3 a { font-size: 22px; }
	
	body.home .products .product:nth-child(4) { display: block; }
	
	/* COUNTER */
	#counter { padding: 50px 0; }
	#counter .counter_header .section_title { font-size: 40px; }
	
	/* FRONTAGE: News */
	#news { padding: 50px 0; }
	.news_wrapper .news { width: 50%; }
	.news_wrapper .news:nth-child(3) { display: none; }
	
	/* BEFORE CONTENT */
	#before_content { height: auto; }
	#before_content .inner { top: auto; padding-left: 0; padding-right: 0; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
	
	/* BEFORE CONTENT: Breadcrumb */
	#before_content .rank-math-breadcrumb { height: auto; padding: 10px 30px; line-height: 15px; }

	/* BEFORE CONTENT: Social */
	#before_content .share { height: 50px; right: auto; top: auto; border-right: none; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; position: relative; }
	#before_content .share a { width: 33.3333333333%; height: 49px; }
	
	/* CONTENT: Product description */
	#content ul.product_desc li { width: 33.3333333333%; }
	#content ul.product_desc li.w_50 { width: 33.3333333333%; }
	
	/* FOOTER */
	#footer { padding: 30px 0; }
	#footer .wrap_left .logo { margin-bottom: 20px; padding-bottom: 20px; }
}

@media only screen and (max-width: 640px) {
	
	/* DISPLAY: None */
	.hide_in_640 { display: none !important; }
	
	/* DEFAULT */
	img.alignleft, img.alignright { width: 50%; height: auto; }
	
	/* SLIDES */
	#slides .slick-slide .slide_bottom .action_button { margin-top: 0; }
	
	/* OUR PRODUCTS */
	#our_products .our_products_header .section_title { width: 100%; margin-bottom: 30px; }
	
	/* COUNTER */
	#counter .counter_header { margin-bottom: 30px; }
	#counter .counter_header .section_title { text-align: center; }
	
	#counter .point_wrap { max-width: 200px; margin: auto; text-align: center; }
	#counter .point_wrap .point { width: 100%; margin-bottom: 50px; padding-left: 0; padding-bottom: 50px; border-right: none; border-bottom: 1px solid #ddd; }
	#counter .point_wrap .point:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
	#counter .point_wrap .point .icon { height: 70px; }
	#counter .point_wrap .point .icon img { margin: auto; }
	#counter .point_wrap .point .counter { text-align: center; }
	#counter .point_wrap .point .icon__text { width: 100%; padding-top: 0; justify-content: center; }
	#counter .point_wrap .point .icon__text .text { text-align: center; }
	
	/* NEWS */
	#news { padding: 30px 0; }
	.news_wrapper { max-width: 480px; margin-left: auto; margin-right: auto; }
	.news_wrapper .news { width: 100%; margin-bottom: 30px; padding-left: 0; padding-bottom: 30px; padding-right: 0; border-bottom: 1px dotted rgba(255,255,255,0.2); display: block; }
	.news_wrapper .news:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
	.news_wrapper .news:nth-child(3) { display: block; }
	.news_wrapper .news h3 { height: auto; margin-bottom: 20px; }
	
	/* CONTENT: Categories */
	#content ul.product_categories { margin-left: 0; margin-right: 0; }
	#content ul.product_categories li { width: 100%; padding-left: 0; padding-right: 0; display: block; }
	
	/* CONTENT: Product description */
	#content ul.product_desc li { width: 50%; }
	#content ul.product_desc li.w_50 { width: 50%; }
	
	/* CONTENT: Download */
	#content a.download { margin-bottom: 10px; padding: 14px 20px 14px 80px; font-weight: 700; text-decoration: none !important; color: #222 !important; line-height: 20px; background: #f7f4ef; display: block; position: relative; overflow: hidden; -webkit-border-radius: 25px; -moz-border-radius: 25px; border-radius: 25px; }
	#content a.download:before { width: 60px; padding: 0; background-position: center; content: ''; }
	#content a.download:after { right: auto; top: auto; display: block; position: relative; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}

@media only screen and (max-width: 480px) {
	
	/* DEFAULT */
	body:before { height: 80px; }
	
	/* NAVIGATION */
	#rwd_menu { top: 80px; }
	
	/* HEADER */
	#header { height: 80px; }
	
	/* HEADER: Logo */
	#header .logo { height: 40px; }
	
	/* HEADER: Languages */
	#header ul.language-chooser { display: none !important; } 
	
	/* SLIDES */
	#slides .slick-slide .slide_top .content { padding-bottom: 0; border-bottom: none; }
	#slides .slick-slide .slide_top .title { font-size: 30px; }
	
	/* OUR PRODUCTS */
	.products .product { padding: 10px; }
	.products .product .entry h3 a { font-size: 18px; }
	.products .product .entry .button { font-size: 15px !important; }
	
	/* CONTENT: Product description */
	#content ul.product_desc li { width: 100%; display: block; }
	#content ul.product_desc li.w_50 { width: 100%; }
	
	/* FOOTER */
	#footer .wrap_right .col { width: 100%; margin-bottom: 30px; text-align: center; display: block; }
	#footer .wrap_right .col:last-child { margin-bottom: 0; }
}

@media only screen and (max-width: 375px) { 

	/* OUR PRODUCTS */
	.products { margin-left: 0; margin-right: 0; }
	.products .product { width: 100%; margin: 50px 0 0; }
	.products .product:nth-child(2) { margin-top: 50px; }
	.products .product a.thumbnail img { max-height: none; }
}
