/*
Theme Name: Profidental - Dr. Papp Szilvia weboldala
Theme URI: https://profidental.hu
Description: Profidental - Dr. Papp Szilvia weboldalának alapértelmezett sablonja
Author: Effix-marketing Kft.
Author URI: https://effix.hu
Version: 1.0
*/

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

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

body { margin: auto; font-family: 'Noto Sans', sans-serif; font-size: 18px; font-weight: 400; color: #000; line-height: 30px; background: #f7f6f4; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden; }

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

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

hr { margin: 30px 0; border-top: 5px solid #efefed; }

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

img.alignleft, 
img.alignright, 
img.aligncenter { padding: 4px; border: 1px solid #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; }
.inner_900 { max-width: 900px; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.vertical_center { left: 50%; position: relative; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.hide { display: none !important; }
.red { color: #f1655c; }
.b_r_3 { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

/* Animation */
.anim, a.facebook:before { -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 20px; font-size: 17px !important; font-weight: 700; text-decoration: none !important; text-align: center; color: white !important; line-height: 50px; background: #3d78b6; 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: #133e69; }
.button:after { display: none !important; }

.button:disabled, 
.button:disabled:hover { color: #999 !important; background-color: #f5f5f5; border-color: #ddd; }

.button.button_small { height: 36px; line-height: 36px; -webkit-border-radius: 18px; -moz-border-radius: 18px; border-radius: 18px; }

.button.button_empty { color: #103869 !important; line-height: 46px; background: white !important; border: 2px solid #103869; }
.button.button_empty:hover { color: white !important; background: #103869 !important; }

.button.button_empty_white { color: white !important; line-height: 46px; background: transparent !important; border: 2px solid white; }
.button.button_empty_white:hover { color: white !important; background: #103869 !important; }

.button.button_empty_dark { color: white !important; line-height: 46px; background: transparent !important; border: 2px solid #133e69; }
.button.button_empty_dark:hover { color: white !important; background: #103869 !important; }

.button.button_small.button_empty_dark, 
.button.button_small.button_empty_white { font-weight: normal; line-height: 34px; }

.button.button-has-margin {
	margin: 0.5rem;
}
/* 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 #828282; 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: #32b67a; 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: #32b67a; position: relative; display: block; content: ''; }

/* Website */
#website { max-width: 1600px; margin: auto; background: white; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 100px; bottom: 0; padding: 50px; font-size: 18px; background: rgba(200 200 200 / 50%); position: fixed; z-index: 100; visibility: hidden; opacity: 0; overflow: hidden; }
#rwd_menu .rwd_menu_wrap { width: 300px; height: 100%; right: -100%; top: 0; background: white; position: absolute; overflow-y: auto; }

#rwd_menu ul.main_menu { margin-bottom: 30px; border-top: 1px solid #eee; list-style: none; }
#rwd_menu ul.main_menu li { border-bottom: 1px solid #eee; }
#rwd_menu ul.main_menu li a { padding: 10px 10px 10px 25px; font-size: 22px; font-weight: 700; color: #133e69; line-height: 1; display: block; }
#rwd_menu ul.main_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

#rwd_menu ul.footer_menu { margin-bottom: 30px; list-style: none; }
#rwd_menu ul.footer_menu li { margin-bottom: 15px; padding: 0 25px; }
#rwd_menu ul.footer_menu li a { font-size: 18px; font-weight: 700; color: #3d78b6; line-height: 1; display: block; }
#rwd_menu ul.footer_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%; }

/* Language chooser */
#rwd_menu ul.language-chooser { padding: 0 25px; list-style: none; display: flex; }
#rwd_menu ul.language-chooser li { margin-right: 10px; }
#rwd_menu ul.language-chooser li a { width: 40px; height: 40px; font-size: 15px; text-transform: uppercase; text-align: center; color: #133e69; line-height: 40px; background: #eee; display: block; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
#rwd_menu ul.language-chooser li.active a { color: white; background: #133e69; }

/* RWD menu opened */
body.rwd_menu__opened #rwd_menu { opacity: 1; visibility: visible; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrap { right: 0; }


/*
--------------
	HEADER
--------------
*/
#header { width: 100%; height: 150px; position: relative; z-index: 10; }

/* Logo */
#header .logo { left: 50px; top: 30px; position: absolute; z-index: 2; }

/* Infoblock and menu */
/*
#header .infoblock__menu { width: 100%; height: 100%; position: absolute; z-index: 1; }
#header .infoblock { height: 36px; top: 30px; line-height: 36px; display: flex; justify-content: flex-end; position: absolute; }
#header .infoblock .button { margin-left: 20px; }
*/

#header .infoblock__menu { width: auto; height: 100%; left: 50%; padding-top: 40px; display: flex; flex-wrap: wrap; align-content: space-between; justify-content: end; position: absolute; z-index: 1; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); }
#header .infoblock { height: 36px; top: 30px; line-height: 36px; display: flex; justify-content: flex-end; }
#header .infoblock .button { width: max-content; margin-left: 20px; }

/* Menu */
#header ul.menu { width: max-content; height: 50px; padding: 0 5px; background: white; display: flex; flex-wrap: wrap; align-items: center; list-style: none; -webkit-border-radius: 25px; -moz-border-radius: 25px; border-radius: 25px; -moz-box-shadow: 0 0 20px rgba(0 0 0 / 20%); -webkit-box-shadow: 0 0 20px rgba(0 0 0 / 20%); box-shadow: 0 0 20px rgba(0 0 0 / 20%); }
#header ul.menu li { height: 100%; margin: 0 20px; }
#header ul.menu li a { color: #133e69; line-height: 50px; display: block; }
#header ul.menu li.booking { height: 40px; margin-right: 0; }
#header ul.menu li.booking a { padding: 0 15px; color: white; line-height: 40px; background: #3d78b6; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; }
#header ul.menu li.booking a:hover { background: #103869; }

/* Language chooser */
#header ul.language-chooser { right: 50px; top: 30px; display: flex; position: absolute; z-index: 2; list-style: none; }
#header ul.language-chooser li { margin-left: 10px; }
#header ul.language-chooser li a { width: 46px; height: 36px; font-size: 16px; text-align: center; text-transform: uppercase; color: #133e69; line-height: 32px; border: 2px solid #133e69; display: block; -webkit-border-radius: 18px; -moz-border-radius: 18px; border-radius: 18px; }
#header ul.language-chooser li.active a { color: white; background: #133e69; border-color: #133e69; }

body.home #header ul.language-chooser li a { color: white; border-color: white; }
body.home #header ul.language-chooser li.active a { color: #133e69; background: white; border-color: white; }

/* RWD button */
#header .rwd_button { width: 60px; height: 50px; right: 20px; font-size: 20px; text-align: center; line-height: 48px; background: #133e69; position: absolute; cursor: pointer; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; z-index: 3; }
#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 { background: white; }
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); }


/*
-------------
	SLIDE
-------------
*/
#slide { max-height: 860px; margin-top: -150px; margin-bottom: 20px; position: relative; }
#slide:before { padding-top: 45%; display: block; content: ''; }
#slide .slide_wrap { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }

/* Text */
#slide .text { width: 100%; height: 100%; left: 0; top: 0; padding-left: 120px; padding-right: 50%; padding-bottom: 100px; font-weight: 700; color: #3d78b6; display: flex; flex-wrap: wrap; align-content: center; position: absolute; }
#slide .text h1 { width: 100%; font-size: 50px; font-weight: 700; line-height: 1; }
#slide .text h2 { width: 100%; margin: 10px 0; font-size: 30px; font-weight: 700; line-height: 1; }

/* Image */
#slide .image { width: 100%; height: 100%; text-align: right; position: relative; }
#slide .image img { width: auto; height: 100%; display: inline-block; }

#slide .image_2 { width: 340px; height: 330px; bottom: 0; left: calc((100% - 1280px) /2); position: absolute; }
#slide .image_2 img { width: 100%; height: 100%; display: block; }


/*
-----------------------------
	ABOUT ME and SERVICES
-----------------------------
*/
#aboutme__services { background-color: #103869; background-image: url(images/bgr_aboutme_services.svg), url(images/bgr_aboutme_services_2.svg); background-position: center top, center; background-repeat: no-repeat; background-size: contain, cover; }


/*
----------------
	ABOUT ME
----------------
*/
#aboutme .aboutme_wrap { display: flex; flex-wrap: wrap; }
#aboutme .aboutme_wrap .image { width: 420px; height: 320px; background-color: #103869; background-repeat: no-repeat; background-position: center; background-size: cover; -webkit-border-radius: 0 160px 160px 0; -moz-border-radius: 0 160px 160px 0; border-radius: 0 160px 160px 0; }

/* Text */
#aboutme .aboutme_wrap .text { width: calc(100% - 420px); padding: 30px 420px 30px 50px; }
#aboutme .aboutme_wrap .text p { margin-bottom: 30px; }
#aboutme .aboutme_wrap .text p:last-child { margin-bottom: 0; }


/*
----------------
	SERVICES
----------------
*/
#services { padding: 330px 0 20px; }
#services .title { margin-bottom: 50px; font-size: 24px; font-weight: 700; color: white; line-height: 1; }
#services .services_wrap { margin-left: -10px; margin-right: -10px; display: flex; flex-wrap: wrap; }
#services .services_wrap .service { width: calc(25% - 20px); height: 310px; margin: 20px 10px 0; padding: 30px 20px; color: white; line-height: 25px; border: 2px solid #3d78b6; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; }
#services .services_wrap .service:nth-child(-n+4) { margin-top: 0; }
#services .services_wrap .service img { width: auto; height: 80px; margin: 0 auto 30px; display: block; }
#services .services_wrap .service .service_title { margin-bottom: 10px; font-weight: 700; }


/*
-------------
	STOCK
-------------
*/
#stock { height: 800px; background: #f9f9f9 url(images/dr-papp-szilvia_slide__04.jpg) no-repeat center; background-size: cover; }
#stock .backgrounds { height: 100%; background-image: url(images/bgr_stock_top.svg), url(images/bgr_stock_bottom.svg); background-repeat: no-repeat; background-position: center top, center bottom; background-size: 100% auto; }
#stock .inner { height: 100%; display: flex; align-items: center; }
#stock .text { width: 50%; font-size: 40px; font-weight: 700; color: #133e69; line-height: 1; }


/*
------------------
	TECHNOLOGY
------------------
*/
#technology .title { margin-bottom: 30px; font-size: 24px; font-weight: 700; color: #133e69; line-height: 1; }
#technology .technology_wrap { display: flex; flex-wrap: wrap; }
#technology .technology_wrap .button { width: 250px; margin-bottom: 10px; font-size: 16px !important; cursor: default !important; }
#technology .technology_wrap .button:hover { background: transparent !important; }
#technology .technology_wrap .technology_title { width: 100%; margin-bottom: 10px; font-size: 18px; font-weight: 700; color: white; line-height: 20px; }

#technology .technology_wrap .wrap_left { width: 450px; padding-right: 40px; text-align: right; background: #3d78b6 url(images/bgr_technology_left.svg); -webkit-border-radius: 0 100px 100px 0; -moz-border-radius: 0 100px 100px 0; border-radius: 0 100px 100px 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: flex-end; }
#technology .technology_wrap .wrap_center { width: calc(100% - 940px); height: 320px; margin: 0 20px; background-color: #133e69; background-repeat: no-repeat; background-position: center; background-size: cover; -webkit-border-radius: 100px; -moz-border-radius: 100px; border-radius: 100px; }
#technology .technology_wrap .wrap_right { width: 450px; padding-left: 40px; background: #3d78b6 url(images/bgr_technology_left.svg); -webkit-border-radius: 100px 0 0 100px; -moz-border-radius: 100px 0 0 100px; border-radius: 100px 0 0 100px; display: flex; flex-wrap: wrap; align-content: center; }


/*
---------------
	BOOKING
---------------
*/
#booking { padding: 100px 0 0; }
#booking .intro p:not(.button) { max-width: 500px; margin: 0 auto 30px; font-size: 24px; font-weight: 700; color: #133e69; line-height: 1; }


/*
------------
	NEWS
------------
*/
#news { padding: 100px 50px; }
#news .title { margin-bottom: 30px; font-size: 24px; font-weight: 700; color: #133e69; line-height: 1; }

.news_wrapper { margin-left: -20px; margin-right: -20px; display: flex; flex-wrap: wrap; }
.news_wrapper article { width: calc(33.3333333333% - 40px); margin: 40px 20px 0; border-bottom: 1px solid #133e69; }
.news_wrapper article:nth-child(-n+3) { margin-top: 0; }
.news_wrapper article a.thumbnail { display: block; }
.news_wrapper article a.thumbnail img { width: 100%; height: auto; display: block; }
.news_wrapper article .entry { padding: 20px 10px; line-height: 20px; }
.news_wrapper article .entry h3 { margin-bottom: 10px; }
.news_wrapper article .entry h3 a { font-size: 18px; font-weight: 700; color: #133e69; display: block; }
.news_wrapper article .entry h3 a:hover { color: #000; }
.news_wrapper article .entry .datetime { margin-bottom: 10px; color: #3d78b6; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { margin-top: 20px; padding: 15px 50px; background: #133e69; } 
#before_content .rank-math-breadcrumb { font-size: 15px; color: white; line-height: 20px; } 
#before_content .rank-math-breadcrumb a { text-decoration: underline; color: white; } 


/*
---------------
	CONTENT
---------------
*/
#content { padding: 50px 0; }
body.archive.category #content { padding-left: 30px; padding-right: 30px; }

#content h1 { margin-bottom: 20px; font-size: 50px; font-weight: 400; color: #133e69; line-height: 1.4; }
#content h3 { margin-bottom: 10px; font-size: 25px; font-weight: 700; color: #3d78b6; line-height: 1.4; }

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

#content a { text-decoration: underline; color: #3d78b6; }
#content a:hover { color: #000; }

#content ul { margin-left: 50px; margin-bottom: 20px; }
#content ol { margin-left: 50px; margin-bottom: 20px; list-style: decimal; }

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

/* Booking */
.booking_wrap { margin: auto; padding: 30px 0; border-top: 5px solid #eee; display: flex; flex-wrap: wrap; align-items: center; }
.booking_wrap.row-1 { padding-top: 0; border-top: none; }
.booking_wrap .wrap_left { width: 50%; height: 390px; }
.booking_wrap .wrap_left .image { width: 390px; height: 390px; margin: auto; background-color: #133e69; background-repeat: no-repeat; background-position: center; background-size: cover; }
.booking_wrap .wrap_right { width: 50%; }
.booking_wrap .wrap_right h3 { margin-bottom: 10px; font-size: 25px; font-weight: 700; color: #3d78b6; line-height: 1.4; }
.booking_wrap .wrap_right p { margin-bottom: 20px; }

.calendar_wrap { height: 0; overflow: hidden; }
.calendar_wrap.active { height: auto; overflow: hidden; }


/*
--------------
	FOOTER
--------------
*/
#footer { background-color: #133e69; background-image: url(images/map.webp); background-image: -webkit-image-set(url(images/map.webp) 1x); background-image: image-set(url(images/map.png) 1x); background-repeat: no-repeat; background-position: center right; position: relative; }
#footer .footer_wrap { background: url(images/bgr_footer.svg) no-repeat right bottom; background-size: 100% auto; }

/* Footer top */
#footer .footer_top { padding: 50px; }
#footer .footer_top .footer_top_wrap { display: flex; flex-wrap: wrap; }
#footer .footer_top .footer_top_wrap p { margin-bottom: 10px; }
#footer .footer_top .footer_top_wrap ul { list-style: none; }
#footer .footer_top .footer_top_wrap ul.menu_footer { margin-top: 100px; }
#footer .footer_top .footer_top_wrap ul li a { font-size: 16px; color: white; }
#footer .footer_top .footer_top_wrap ul li a:hover { text-decoration: underline; }

#footer .footer_top .footer_top_wrap a.logo { width: 100%; display: block; }
#footer .footer_top .footer_top_wrap a.logo img { margin: auto; display: block; }
#footer .footer_top .footer_top_wrap a.facebook { width: 40px; height: 40px; background: white url(images/icon_facebook.svg) no-repeat center; background-size: auto 24px; display: block; position: relative; }
#footer .footer_top .footer_top_wrap a.facebook:before { width: 40px; height: 40px; background: rgba(255 255 255 / 10%); position: absolute; content: ''; z-index: -1; -webkit-transform: scale(100%); -ms-transform: scale(100%); transform: scale(100%); -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
#footer .footer_top .footer_top_wrap a.facebook:hover:before { -webkit-transform: scale(200%); -ms-transform: scale(200%); transform: scale(200%); }

#footer .footer_top .footer_top_wrap .wrap_left { width: 220px; display: flex; flex-wrap: wrap; }
#footer .footer_top .footer_top_wrap .wrap_left.logo__facebook { justify-content: center; align-content: space-between; z-index: 0; }

/* Footer bottom */
#footer .footer_bottom { padding: 20px 50px; font-size: 14px; color: white; line-height: 20px; }
#footer .footer_bottom a { color: white; }
#footer .footer_bottom a:hover { text-decoration: underline; }

/*
------------------
	PRICE TABLE
------------------
*/
.prices_table {border-collapse:collapse; line-height:1.2;}

.prices_table th {color:#283371; text-transform:uppercase; font-size: 1.5rem; text-align:right}

.prices_table tr td{padding:0.5rem 1rem; text-align:right;}

.prices_table tr:nth-of-type(even) {background-color:#e8eefa}

.prices_table th:first-of-type {text-align:left;} 

.prices_table tr td:first-of-type {font-weight:bold; padding:0.5rem; text-align:left;} 


@media only screen and (max-width: 600px) { 
	.prices_table th {font-size:0.825rem;}
	.prices_table tr {font-size: 14px;}
	.prices_table tr td {padding:0.5rem;}
}
   


/*
------------------
	COOKIE BAR
------------------
*/
#cookie-law-info-bar { font-size: 14px; line-height: 20px; }
#cookie-law-info-bar .cli_settings_button { font-weight: 700; text-decoration: underline; }


/*
------------
	FORM
------------
*/
.form_row { margin-bottom: 20px; position: relative; }
.form_row.form_row_first { width: 50%; width: calc(50% - 15px); float: left; }
.form_row.form_row_last { width: 50%; width: calc(50% - 15px); float: right; }
.form_row.form_row_wide { clear: both; }

.form_row textarea, 
.form_row input[type=text], 
.form_row input[type=email] { width: 100%; height: 50px; font-size: 17px; background: transparent; border-bottom: 1px solid #ddd; }

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


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

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

	/* HEADER: Menu */
	#header ul.menu li { margin: 0 15px; }
	
	/* HEADER: Language chooser */
	#header ul.language-chooser { right: 20px; }
	
	/* SLIDE: Image */
	#slide .image_2 { width: 268px; height: 260px; }
	
	/* BEFORE CONTENT */
	#before_content { padding: 15px 20px; } 
	
	/* TECHNOLOGY */
	#technology .technology_wrap .wrap_left { width: 400px; }
	#technology .technology_wrap .wrap_center { width: calc(100% - 840px); }
	#technology .technology_wrap .wrap_right { width: 400px; }
}

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

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

	/* DEFAULT */
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }
	
	/* HEADER: Infoblock */
	#header .infoblock { left: auto; right: 140px; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); }
	
	/* HEADER: Menu */
	#header ul.menu { left: auto; right: 20px; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); }
	#header ul.menu li { margin: 0 5px; }
	#header ul.menu li a { font-size: 14px; }
	
	/* SLIDE */
	#slide:before { padding-top: 60%; }

	/* SLIDE: Text */
	#slide .text { padding-left: 20px; padding-right: 60%; padding-bottom: 0; }
	#slide .text h1, 
	#slide .text h2 { position: relative; z-index: 2; }
	#slide .text h1 { font-size: 4vw; }
	#slide .text h2 { font-size: 2.6vw; }
	
	/* ABOUT ME: Text */
	#aboutme .aboutme_wrap .text { width: calc(100% - 420px); padding: 30px 50px; }
	
	/* SERVICES */
	#services .services_wrap .service { width: calc(33.3333333333% - 20px); }
	#services .services_wrap .service:nth-child(4) { margin-top: 20px; }
	
	/* TECHNOLOGY */
	#technology .technology_wrap .button { width: 100%; }

	#technology .technology_wrap .wrap_left { width: 300px; padding: 0 20px; }
	#technology .technology_wrap .wrap_center { width: calc(100% - 640px); }
	#technology .technology_wrap .wrap_right { width: 300px; padding: 0 20px; }
	
	/* NEWS */
	#news { padding: 100px 20px; }
	
	.news_wrapper { margin-left: -10px; margin-right: -10px; }
	.news_wrapper article { width: calc(33.3333333333% - 20px); margin: 40px 10px 0; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding: 50px 20px; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom { padding: 20px; }
}


@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 { height: 100px; }
	
	/* HEADER: Logo */
	#header .logo { top: 10px; }
	#header .logo img { width: auto; height: 80px; display: block; }

	/* HEADER: Infoblock */
	#header .infoblock { width: auto !important; top: 32px; right: 110px; }
	
	/* HEADER: Language chooser */
	#header ul.language-chooser { display: none; }
	
	/* SLIDE */
	#slide { margin-top: -100px; }
	
	/* ABOUT ME and SERVICES */
	#aboutme__services { background-image: none; }

	/* ABOUT ME */
	#aboutme { background: white; }
	#aboutme .aboutme_wrap .image { width: 50%; height: auto; -webkit-border-radius: 0 50px 50px 0; -moz-border-radius: 0 50px 50px 0; border-radius: 0 50px 50px 0; }
	#aboutme .aboutme_wrap .image:before { padding-top: 50%; display: block; content: ''; }

	/* ABOUT ME: Text */
	#aboutme .aboutme_wrap .text { width: 100%; padding: 30px 20px; }
	
	/* SERVICES */
	#services { padding: 50px 0; }
	#services .services_wrap .service { height: auto; }
	
	/* NEWS */
	#news { padding: 50px 20px; }
	
	.news_wrapper article { width: calc(50% - 20px); }
	.news_wrapper article:nth-child(3) { margin-top: 40px; }
	body.home .news_wrapper article:nth-child(3) { display: none; }
	
	/* BEFORE CONTENT */
	#before_content { margin-top: 0; }
	
	/* CONTENT: Booking */
	.booking_wrap .wrap_left { width: 100%; height: 200px; margin-bottom: 30px; }
	.booking_wrap .wrap_left .image { width: 200px; height: 200px; }
	.booking_wrap .wrap_right { width: 100%; }
	
	/* FOOTER */
	#footer { background-image: none; }
	#footer .footer_wrap { background: none; }

	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap ul { padding-right: 30px; }
	#footer .footer_top .footer_top_wrap ul.menu_footer { margin-top: 0; }

	#footer .footer_top .footer_top_wrap a.logo { width: auto; display: block; }
	
	#footer .footer_top .footer_top_wrap .wrap_left.logo__facebook { width: 100%; margin-bottom: 50px; justify-content: space-between; align-items: center; }
	#footer .footer_top .footer_top_wrap .wrap_left.pages { width: 50%; }
	#footer .footer_top .footer_top_wrap .wrap_right { width: 50%; }

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

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

	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }
	
	/* SERVICES */
	#services .services_wrap .service { width: calc(50% - 20px); }
	#services .services_wrap .service:nth-child(3) { margin-top: 20px; }
	
	/* STOCK */
	#stock { height: auto; background-image: url(images/dr-papp-szilvia_slide__05.jpg); }
	#stock .inner:before { padding-top: 140%; display: block; content: ''; }
	#stock .text { width: 100%; left: 0; top: 20%; padding: 0 20px; font-size: 30px; text-align: center; position: absolute; }
	
	/* TECHNOLOGY */
	#technology .technology_wrap { padding: 0 20px; }

	#technology .technology_wrap .wrap_left { width: 100%; padding: 20px; text-align: center; -webkit-border-radius: 50px 50px 0 0; -moz-border-radius: 50px 50px 0 0; border-radius: 50px 50px 0 0; justify-content: center; }
	#technology .technology_wrap .wrap_center { width: 100%; height: auto; margin: 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
	#technology .technology_wrap .wrap_center:before { padding-top: 40%; display: block; content: ''; }
	#technology .technology_wrap .wrap_right { width: 100%; padding: 20px; text-align: center; -webkit-border-radius: 0 0 50px 50px; -moz-border-radius: 0 0 50px 50px; border-radius: 0 0 50px 50px; }

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

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

	/* DISPLAY: None */
	.hide_in_640 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_640 { display: block !important; }

	/* SLIDE */
	#slide { min-height: inherit; }
	#slide:before { display: none; }
	#slide .slide_wrap { width: auto; height: auto; left: auto; top: auto; display: block; position: relative; }

	/* SLIDE: Text */
	#slide .text { width: 100%; height: auto; left: 0; top: 100px; padding-right: 20px; text-align: center; color: #133e69; display: block; position: absolute; }
	#slide .text h1 { font-size: 30px; }
	#slide .text h2 { font-size: 20px; }

	/* SLIDE: Image */
	#slide .image img { width: 100%; height: auto; display: block; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap ul { width: 50%; }
	#footer .footer_top .footer_top_wrap .wrap_left.pages { width: 100%; margin-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .wrap_right { width: 100%; }
}

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

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* SLIDE */
	#slide:before { padding-top: 130%; }
	
	/* SERVICES */
	#services .services_wrap { margin-left: 0; margin-right: 0; }
	#services .services_wrap .service { width: 100%; margin: 20px 0 0; }
	#services .services_wrap .service:nth-child(2) { margin-top: 20px; }
	
	/* STOCK */
	#stock .inner:before { padding-top: 160%; }
	#stock .text { top: 17%; font-size: 20px; }
	
	/* NEWS */
	#news { padding: 50px 20px; }
	
	.news_wrapper { margin-left: 0; margin-right: 0; }
	.news_wrapper article { width: 100%; margin: 40px 0 0; }
	.news_wrapper article:nth-child(2) { margin-top: 40px; }
	body.home .news_wrapper article:nth-child(3) { display: block; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap .wrap_right .button { width: 100%; }
}

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

	/* DEFAULT */
	.button.button_small { height: auto; padding: 6px 10px; line-height: 20px; }

	.button.button_small.button_empty_dark, 
	.button.button_small.button_empty_white { line-height: 20px; }

	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap ul { width: 100%; padding-right: 0; }
	#footer .footer_top .footer_top_wrap ul:first-child { margin-bottom: 20px; }
}

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

	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrap { width: 100%; }
	
	#rwd_menu ul.main_menu li a { padding: 10px 10px 10px 20px; }
	#rwd_menu ul.footer_menu li { margin-bottom: 15px; padding: 0 20px; }
	
	/* NAVIGATION: Language chooser */
	#rwd_menu ul.language-chooser { padding: 0 20px; }
	
	/* SLIDE */
	#slide:before { padding-top: 160%; }
}

#gallery-1 .gallery-item {
	margin-top: 0 !important;
	padding: 0 4px;
}
#gallery-1 img {
	height: auto;
    border: 0 !important;
}
.mejs-container {
	max-height: 440px;
}
.wp-video-shortcode {
	max-height: 440px;
}
.mejs-overlay-play {
	width: 100% !important;
}
.mejs-container-fullscreen .wp-video-shortcode {
	max-height: revert;
}