/*
Theme Name: KBT ABC
Theme URI: https://kbtabc.hu
Description: A KBT ABC weboldal alapértelmezett sablonja.
Author: KBT ABC
Author URI: https://kbtabc.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 { font-family: book antiqua, palatino, serif; font-size: 17px; font-weight: 400; color: #000; line-height: 30px; overflow-x: hidden; }
body.rwd_menu__opened { overflow: hidden; }

textarea, input, select, button { font-family: book antiqua, palatino, serif; font-size: 17px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

hr { height: 30px; border-top: 3px 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_900 { max-width: 900px; }
.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; }
.center { text-align: center !important; }
.hide { display: none !important; }
.red { color: #ff0000; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.sec_font, .button { font-family: 'Roboto', sans-serif; }

/* Animation */
.anim, ul.menu li a:after { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.anim_cubic { -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -moz-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -o-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }
.anim_cubic_long { -webkit-transition: all 3s cubic-bezier(0.19, 1, 0.22, 1); -moz-transition: all 3s cubic-bezier(0.19, 1, 0.22, 1); -o-transition: all 3s cubic-bezier(0.19, 1, 0.22, 1); transition: all 3s cubic-bezier(0.19, 1, 0.22, 1); }

/* Button */
.button { height: 50px; padding: 0 30px; font-size: 17px !important; font-weight: 700; text-decoration: none !important; text-transform: uppercase; text-align: center; color: white !important; line-height: 50px; background: #38953c; display: inline-block; position: relative; cursor: pointer; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -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; }
.button:hover { background: #231f20; }
.button:disabled { color: white; background: #ccc; }

.button.button_blue { color: white; background: #0a34fd; }
.button.button_blue:hover { background: #231f20; }

.button.button_purple { color: white; background: #682e91; }
.button.button_purple:hover { background: #231f20; }

.button.button_mustard { color: white; background: #d69f31; }
.button.button_mustard:hover { background: #231f20; }

.button.button_dark { color: white; background: #231f20; }
.button.button_dark:hover { background: #000; }

.button.button_nopadding { width: 100%; height: auto; padding: 15px; line-height: 20px; }

/* 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: #38953c; 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: #38953c; position: relative; display: block; content: ''; }


/*
----------------
	FANCYBOX
----------------
*/
.fancybox-content { max-width: 600px; padding: 30px; font-size: 17px; }
.fancybox-content h3 { margin-bottom: 10px; font-size: 25px; font-weight: 700; color: #1072a9; line-height: 30px; }
.fancybox-content p { margin-bottom: 20px; }
.fancybox-content p:last-child { margin-bottom: 0; }

.fancybox-content.people { max-width: 800px; max-height: 500px; padding: 0; overflow: hidden; }
.fancybox-content.people .main_text_wrap { display: flex; flex-wrap: wrap; }
.fancybox-content.people .main_text_wrap .wrap_left { width: calc(100% - 370px); max-height: 500px; padding: 40px; overflow: auto; }
.fancybox-content.people .main_text_wrap .wrap_right { width: 370px; }
.fancybox-content.people .main_text_wrap .wrap_right img { display: block; }

.fancybox-content.people .fancybox-close-small path { fill: white; }


/*
-----------------------
	COOKIE LAW INFO
-----------------------
*/
#cookie-law-info-bar { width: 100% !important; max-width: 320px !important; padding: 20px !important; text-align: left !important; font-size: 14px !important; line-height: 20px; }
#cookie-law-info-bar span { display: block; }

#cookie-law-info-bar .cli_action_button { width: 100% !important; height: 40px !important; margin-left: 0 !important; margin-top: 10px; padding: 0 !important; font-size: 15px !important; font-weight: 700; text-align: center; line-height: 40px !important; display: block; }
#cookie-law-info-bar .cli_action_button:hover { opacity: 0.9; }

#cookie-law-info-bar .cli_settings_button { width: 100% !important; height: 40px !important; margin-left: 0 !important; padding: 0 !important; font-size: 15px !important; font-weight: 700; text-align: center; color: #292929 !important; line-height: 40px !important; background-color: transparent !important; border: 1px solid #ddd !important; display: block; }
#cookie-law-info-bar .cli_settings_button:hover { border-color: #292929 !important; }


/*
---------------------
	ROTATE DEVICE
---------------------
*/
#rotate_device { width: 100%; height: 100%; left: 0; top: 0; font-weight: 700; color: white; background: #004b58; position: fixed; z-index: 100000; }
#rotate_device .entry { left: 50%; top: 50%; position: absolute; -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%); }
#rotate_device .entry img { width: 100px; height: auto; margin: auto; display: block; }
#rotate_device .entry p { margin-top: 20px; line-height: 20px; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 100px; bottom: 0; background: rgba(200 200 200 / 50%); position: fixed; z-index: 100; overflow: hidden; opacity: 0; visibility: hidden; }
#rwd_menu .rwd_menu_wrap { width: 300px; height: 100%; right: -100%; top: 0; background: white; position: absolute; }
#rwd_menu label { font-size: 13px; color: #38953c; display: block; }
#rwd_menu select { min-width: 60px; height: 40px; color: white; background: #a3a3a3; }

/* Main menu */
#rwd_menu ul.main_menu { margin-bottom: 30px; border-top: 1px solid #ddd; } 
#rwd_menu ul.main_menu li { list-style: none; border-bottom: 1px solid #ddd; } 
#rwd_menu ul.main_menu li a { left: 10px; padding: 15px 30px; font-size: 22px; font-weight: 700; color: #231f20; line-height: 1; display: block; position: relative; opacity: 0; }
#rwd_menu ul.main_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* Footer menu */
#rwd_menu ul.footer_menu { margin-bottom: 30px; } 
#rwd_menu ul.footer_menu li { margin-bottom: 15px; list-style: none; } 
#rwd_menu ul.footer_menu li a { left: 10px; padding: 0 30px; font-size: 17px; color: #231f20; line-height: 20px; display: block; position: relative; opacity: 0; }
#rwd_menu ul.footer_menu li a:hover { text-decoration: underline; }

/* LI animation */
#rwd_menu ul li.fly-in-out a { left: 0; opacity: 1; }

/* 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 { height: 120px; padding: 0 70px; position: relative; }
body.category #header { border-bottom: 1px solid #ddd; }

#header .inner { max-width: none; height: 100%; }

/* Logo */
#header a.logo { height: 100px; left: 20px; display: inline-block; position: absolute; z-index: 2; }
#header a.logo img { width: auto; height: 100%; display: block; }

/* Menu */
#header ul.menu { width: 100%; height: 100%; left: 0; display: flex; flex-wrap: wrap; justify-content: center; position: absolute; z-index: 1; list-style: none; }
#header ul.menu li { height: 100%; margin: 0 20px; }
#header ul.menu li a { height: 100%; font-size: 19px; color: #231f20; line-height: 20px; display: flex; align-items: center; position: relative; }
#header ul.menu li a:after { width: 0; height: 3px; left: 50%; bottom: -1px; background: #1868a8; position: absolute; content: ''; }
#header ul.menu li a:hover:after { width: 100%; left: 0; }
#header ul.menu li.current-menu-item a:after, 
#header ul.menu li.current_page_item a:after, 
#header ul.menu li.current-post-parent a:after { width: 100%; left: 0; }

/* Apply button */
#header a.button.apply { right: 20px; position: absolute; z-index: 2; }

/* Facebook */
#header a.facebook { width: 70px; height: 100%; right: 0; top: 0; display: flex; align-items: center; justify-content: center; position: absolute; z-index: 2; }

/* RWD button */
#header .rwd_button { width: 60px; height: 50px; right: 20px; background: #231f20; position: absolute; cursor: pointer; z-index: 2; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
#header .rwd_button .burg { width: 30px; height: 2px; left: 15px; background: white; display: block; position: relative; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 30px; height: 2px; background: white; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: -8px; left: 0; }
#header .rwd_button .burg:after { top: 8px; right: 0; }

body.rwd_menu__opened #header .rwd_button { background: #f5f6f6; }
body.rwd_menu__opened #header .rwd_button .burg { background: transparent !important; }
body.rwd_menu__opened #header .rwd_button .burg:before { top: 0; background: #231f20;-webkit-transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 0; background: #231f20; -webkit-transform: rotate(-45deg); }


/*
--------------
	SLIDER
--------------
*/
#slider { padding: 0 70px; position: relative; }
#slider:before { width: 320px; height: calc(100% - 100px); right: 0; top: -120px; position: absolute; content: ''; }
#slider .slider_image { height: 100%; max-height: 670px; min-height: 250px; background-color: #231f20; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; overflow: hidden; }
#slider .slider_image:before { padding-top: 40%; display: block; content: ''; }
#slider .slider_image .cover { width: 100%; height: 100%; left: 0; top: 0; background-color: #231f20; position: absolute; opacity: 1; }
body.is_loaded #slider .slider_image .cover { opacity: 0; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { padding: 70px 0; }
#aboutus .aboutus_wrap { display: flex; flex-wrap: wrap; align-items: center; }
#aboutus .aboutus_wrap .box_left { width: 50%; padding-top: 100px; padding-right: 50px; padding-bottom: 30px; padding-left: calc((100% - 1280px) /2); position: relative; }
#aboutus .aboutus_wrap .box_left:before { width: calc(100% + 100px); height: 100%; left: 0; top: 50px; background: #f5f6f6; position: absolute; content: ''; z-index: -1; }
#aboutus .aboutus_wrap .box_left .subtitle { font-size: 20px; font-weight: 700; color: #0a34fd; line-height: 20px; }
#aboutus .aboutus_wrap .box_left .title { margin-top: 10px; font-size: 45px; font-weight: 300; color: #231f20; line-height: 1; }
#aboutus .aboutus_wrap .box_left .text { margin-top: 20px; font-size: 17px; text-align: justify; color: #5f5f5f; line-height: 30px; }
#aboutus .aboutus_wrap .box_left .button { margin-top: 30px; }

#aboutus .aboutus_wrap .box_right { width: 50%; position: relative; }
/*#aboutus .aboutus_wrap .box_right .image { top: 0; right: calc(100% - 640px); bottom: 0; left: 0; background-color: #231f20; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; }*/
#aboutus .aboutus_wrap .box_right .image { position: relative; }
#aboutus .aboutus_wrap .box_right .image:before { width: calc(100% - 80px); height: 100%; right: -20px; top: 20px; background: #682e91; position: absolute; content: ''; z-index: -1; }
#aboutus .aboutus_wrap .box_right .image img { width: 100%; height: auto; display: block; }


/*
----------------
	SERVICES
----------------
*/
#services { padding: 70px 0; }
#services .intro { max-width: 660px; margin: 0 auto 50px; }
#services .subtitle { font-size: 20px; font-weight: 700; color: #0a34fd; line-height: 20px; }
#services .title { margin-top: 10px; font-size: 45px; font-weight: 300; color: #231f20; line-height: 1; }
#services .text { margin-top: 20px; font-size: 17px; color: #5f5f5f; line-height: 30px; }

.services_wrap { margin-left: -15px; margin-right: -15px; display: flex; flex-wrap: wrap; }
.services_wrap .service { width: calc(50% - 30px); margin: 30px 15px 0; border: 1px solid #e4e4e4; border-top: none; }
.services_wrap .service.no_thumbnail { border-top: 1px solid #e4e4e4; }
.services_wrap .service:nth-child(-n+2) { margin-top: 0; }
.services_wrap .service .thumbnail { position: relative; }
.services_wrap .service .thumbnail img { width: calc(100% + 2px); height: auto; margin: -1px -1px 0; display: block; position: relative; }
.services_wrap .service .thumbnail .name_wrap { width: 100%; left: 0; bottom: 0; padding: 20px; background: -webkit-gradient(linear,left bottom,left top,color-stop(10%,rgba(0,0,0,.75)),to(transparent)); background: -webkit-linear-gradient(bottom,rgba(0,0,0,.75) 10%,transparent); background: -moz-linear-gradient(bottom,rgba(0,0,0,.75) 10%,transparent 100%); background: linear-gradient(0deg,rgba(0,0,0,.75) 10%,transparent); position: absolute; }
.services_wrap .service .thumbnail .name_wrap .name { width: 100%; margin-bottom: 10px !important; font-size: 22px !important; font-weight: 700; color: white !important; line-height: 1; display: block; }
.services_wrap .service .thumbnail .name_wrap small { width: 100%; color: #ddd; font-size: 15px; line-height: 17px !important; display: block; }

.services_wrap.columns-3 .service { width: calc(33.3333333333% - 30px); }
.services_wrap.columns-3 .service:nth-child(-n+3) { margin-top: 0; }

body.home .services_wrap .service { width: calc(33.3333333333% - 30px); }
body.home .services_wrap .service:nth-child(-n+3) { margin-top: 0; }

.services_wrap .service .entry { padding: 20px 30px; }
.services_wrap .service .entry h3 { margin-bottom: 10px; font-size: 26px; font-weight: 700; line-height: 1; }
.services_wrap .service .entry small { margin-bottom: 20px; font-size: 14px; color: #5f5f5f; line-height: 17px; display: block; }
.services_wrap .service .entry.blue h3, 
.services_wrap .service .entry.blue h3 a { color: #0a34fd !important; }
.services_wrap .service .entry.green h3, 
.services_wrap .service .entry.green h3 a { color: #38953c !important; }
.services_wrap .service .entry.purple h3, 
.services_wrap .service .entry.purple h3 a { color: #682e91 !important; }
.services_wrap .service .entry h3 a:hover { color: #231f20 !important; }

.services_wrap .service .entry .text { margin-top: 10px !important; font-size: 17px; color: #5f5f5f; line-height: 25px; }
.services_wrap .service .entry .text p:last-child { margin-bottom: 0 !important; }

.services_wrap .service .entry ul { margin-top: 10px !important; margin-left: 15px !important; margin-bottom: 0 !important; font-size: 17px; color: #5f5f5f; line-height: 25px; list-style: square; }
.services_wrap .service .entry.blue ul { color: #0a34fd; }
.services_wrap .service .entry.green ul { color: #38953c; }
.services_wrap .service .entry.purple ul { color: #682e91; }
.services_wrap .service .entry ul li br { display: none; }
.services_wrap .service .entry ul li span { color: #5f5f5f; }


/*
---------------
	REVIEWS
---------------
*/
#reviews { color: white; background-color: #231f20; background-repeat: no-repeat; background-position: center; background-size: cover; /*background-blend-mode: luminosity;*/ position: relative; z-index: 1; }
#reviews .cover { width: 100%; padding: 70px 0 250px; position: relative; }
#reviews .reviews_text { margin-bottom: 20px; padding-top: 60px; font-size: 30px; font-weight: 700; text-shadow: 1px 1px rgba(0 0 0 / 50%); line-height: 40px; background: url(images/icon_quote_white.svg) no-repeat center top; background-size: auto 30px; }
#reviews .reviews_image { margin-bottom: 10px; }
#reviews .reviews_image img { width: auto; height: 50px; margin: auto; display: block; }
#reviews .reviews_author { font-size: 20px; font-weight: 700; line-height: 30px; }
#reviews .reviews_add_info { font-size: 16px; font-weight: 700; color: #38953c; line-height: 20px; }

#reviews.no_apply_form .cover { padding-top: 100px; padding-bottom: 100px; }


/*
-------------
	APPLY
-------------
*/
#apply { margin-top: -150px; position: relative; z-index: 2; }
#apply .inner { padding-left: 70px; padding-right: 70px; }
#apply .title { margin-bottom: 30px; font-size: 40px; font-weight: 300; color: #231f20; line-height: 1; }
#apply .apply_wrap { background: #f7f5f5; display: flex; flex-wrap: wrap; }
#apply .apply_wrap .box_left { width: 480px; background-color: #231f20; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#apply .apply_wrap .box_left .gradient { width: 100%; height: 100%; left: 0; top: 0; background: -moz-linear-gradient(top,  rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 100%); background: -webkit-linear-gradient(top,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.9) 100%); background: linear-gradient(to bottom,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.9) 100%); position: absolute; }
#apply .apply_wrap .box_left .text { width: 100%; left: 0; bottom: 50px; padding: 0 30px; font-size: 30px; color: white; line-height: 1; position: absolute; }
#apply .apply_wrap .box_left .text .icon { width: 70px; height: 70px; margin: 0 auto 30px; background: white url(images/icon_calendar_green.svg) no-repeat center; background-size: auto 32px; }
#apply .apply_wrap .box_right { width: calc(100% - 480px); padding: 50px; }


/*
------------
	NEWS
------------
*/
#news { padding: 70px 0; }
#news .subtitle { font-size: 20px; font-weight: 700; color: #0a34fd; line-height: 20px; }
#news .title { max-width: 540px; margin: 10px auto 50px; font-size: 45px; font-weight: 300; color: #231f20; line-height: 1; }

.news_wrap { margin-left: -20px; margin-right: -20px; display: flex; flex-wrap: wrap; }
body.home .news_wrap { margin-bottom: 50px; }

.news_wrap .news { width: calc(33.3333333333% - 40px); margin: 40px 20px 0; padding-bottom: 60px; border: 1px solid #e4e4e4; border-top: none; position: relative; }
.news_wrap .news:nth-child(-n+3) { margin-top: 0; }
.news_wrap .news .thumbnail { border-bottom: none !important; display: block; position: relative; overflow: hidden; }
.news_wrap .news .thumbnail img { width: calc(100% + 2px); max-width: none !important; height: auto; margin-left: -1px; margin-right: -1px; display: block; transform: scale(1) translateZ(0); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }
.news_wrap .news .thumbnail:hover img { -ms-transform: scale(1.03) translateZ(0); -webkit-transform: scale(1.03) translateZ(0); transform: scale(1.03) translateZ(0); }

.news_wrap .news .thumbnail .datetime { width: 66px; height: 70px; right: 0; top: 0; text-align: center; color: white; background: #682e91; display: flex; flex-wrap: wrap; align-content: center; position: absolute; }
.news_wrap .news .thumbnail .datetime .day { width: 100%; font-size: 30px; font-weight: 700; line-height: 1; }
.news_wrap .news .thumbnail .datetime .month { width: 100%; font-size: 14px; font-weight: 700; line-height: 16px; }

.news_wrap .news .entry { padding: 20px 30px; }
.news_wrap .news .entry .category { margin-bottom: 10px; font-size: 15px; font-weight: 700; color: #682e91; line-height: 16px; }
.news_wrap .news .entry.blue .category { color: #0a34fd; }
.news_wrap .news .entry.green .category { color: #38953c; }
.news_wrap .news .entry h3 { margin-bottom: 0 !important; }
.news_wrap .news .entry h3 a { font-size: 22px; text-decoration-thickness: 1px; color: #231f20 !important; line-height: 30px; border-bottom: none !important; display: inline-block; }
.news_wrap .news .entry h3 a:hover { text-decoration: underline !important; background-color: none !important; }
.news_wrap .news .entry .excerpt { margin-top: 10px; font-size: 16px; color: #555; line-height: 20px; }
.news_wrap .news .entry .excerpt p:last-child { margin-bottom: 0 !important; }

.news_wrap .news .action_button { height: 60px; left: 30px; right: 30px; bottom: 0; border-top: 1px solid #e4e4e4; position: absolute; }
.news_wrap .news .action_button a { height: 100%; font-size: 14px; font-weight: 700; text-decoration: none !important; color: #231f20 !important; line-height: 60px; border-bottom: none !important; display: block; position: relative; }
.news_wrap .news .action_button a:hover { text-decoration: underline !important; }
.news_wrap .news .action_button a:after { width: 30px; height: 30px; right: 0; top: calc(50% - 15px); background: #e4e4e4 url(images/icon_arrow_right.svg) no-repeat center; background-size: auto 10px; position: absolute; content: ''; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.news_wrap .news .action_button a:hover:after { background-color: #682e91; background-image: url(images/icon_arrow_right_white.svg); }

/* Sessions */
.sessions_wrap { margin-bottom: 50px; margin-left: -20px; margin-right: -20px; display: flex; flex-wrap: wrap; justify-content: center; }
.sessions_wrap .session { width: calc(33.3333333333% - 40px); top: 0; margin: 40px 20px 0; padding: 40px 30px; background: #f5f6f6; border-bottom: none !important; position: relative; }
.sessions_wrap .session:hover { top: -5px; }
.sessions_wrap .session:nth-child(-n+3) { margin-top: 0; }
.sessions_wrap .session h4 { margin-bottom: 10px; font-size: 22px; font-weight: 700; color: #231f20; line-height: 1; }
.sessions_wrap .session img { width: calc(100% + 2px); height: auto; margin-left: -1px; margin-right: -1px; margin-bottom: 20px; display: block; }
.sessions_wrap .session .datas { margin-bottom: 20px; font-size: 16px; color: #231f20; }
.sessions_wrap .session .datas span { font-weight: 700; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { height: 250px; color: white; background-color: #231f20; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#before_content h1 { margin-bottom: 20px; font-size: 50px; font-weight: 400; line-height: 1; }
#before_content h1.smaller { font-size: 40px; }
#before_content .cover { height: 100%; background: rgba(35 31 32 / 60%); display: flex; align-items: center; position: relative; }

/* Breadcrumb */
#before_content .rank-math-breadcrumb { padding: 5px 20px; font-size: 16px; line-height: 20px; background: rgba(255 255 255 / 20%); display: inline-block; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; }
#before_content .rank-math-breadcrumb a { text-decoration: underline; color: white; }


/*
----------------
	CONTENT
----------------
*/
#content { padding: 50px 0; }
body.single-sessions #content, 
body.page-template-contact #content { padding-bottom: 0; }

#content h1 { margin-bottom: 30px; font-size: 50px; line-height: 1; }
#content h2 { margin-bottom: 30px; font-size: 30px; font-weight: 700; line-height: 1; }
#content h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; color: #0a34fd; line-height: 1; }

#content p { margin-bottom: 20px; text-align: justify; }
#content a:not(.button, .noborder) { color: #0a34fd; border-bottom: 1px solid #0a34fd; }
#content a:not(.button, .noborder):hover { background-color: rgba(54 117 175 / 10%); }

#content a.noborder { border-bottom: none !important; }
#content a.noborder:hover { background-color: none !important; }

#content img { max-width: 100%; height: auto; }

#content blockquote { margin-bottom: 20px; padding: 20px 100px 20px 20px; font-size: 20px; font-style: italic; background: #f5f6f6 url(images/icon_quote.svg) no-repeat 96% 20px; background-size: auto 40px; border-left: 5px solid #0a34fd; }
#content blockquote p:last-child { margin-bottom: 0; }

/* List */
#content ul { margin-left: 30px; margin-bottom: 20px; }
#content ol { margin-left: 30px; margin-bottom: 20px; }

#content ul.gallery { margin-left: -10px !important; margin-right: -10px; display: flex; flex-wrap: wrap; list-style: none; }
#content ul.gallery li { width: calc(25% - 20px); margin: 20px 10px 0; }
#content ul.gallery li:nth-child(-n+4) { margin-top: 0; }
#content ul.gallery li a { display: block; position: relative; outline: 3px solid transparent; }
#content ul.gallery li a:hover { outline: 3px solid #0a34fd; }
#content ul.gallery li a img { width: 100%; height: auto; display: block; }

#content table { width: 100%; margin-bottom: 20px; border-collapse: collapse; }
#content table thead th { padding: 10px; font-size: 14px; text-transform: uppercase; text-align: left; line-height: 16px; border-bottom: 3px solid #ddd; }
#content table tbody td { padding: 10px; font-size: 16px; text-align: left; line-height: 20px; border-bottom: 1px solid #ddd; }

/* Section */
#content .section { padding-top: 50px; padding-bottom: 50px; }

#content .more-link { display: none !important; }

/* Meta */
#content .meta_single { margin-bottom: 30px; }
#content .meta_single div { padding: 5px 0; font-size: 17px; line-height: 20px; border-bottom: 1px solid #ddd; }

/* 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; }

/* Pagination */
#content .pagination { margin-top: 50px; text-align: center; }
#content .pagination .pages { margin-bottom: 10px; font-size: 14px; font-weight: 700; text-transform: uppercase; text-align: center; border-bottom: 1px solid #ddd; display: block; }
#content .pagination a, 
#content .pagination .current { width: 50px; height: 50px; margin: 0 4px 4px; font-weight: 700; text-decoration: none !important; vertical-align: top; color: #231f20; line-height: 50px; background: rgba(95 180 86 / 10%); border-bottom: none !important; display: inline-block; }
#content .pagination a:hover { background: rgba(56 149 60 / 30%); }
#content .pagination .current { color: white; background: #38953c; }

/* Form */
#content .form { padding: 50px 0; background: #f5f6f6; }

/* wp_caption */
#content .wp-caption img { width: 100%; height: auto; display: block; }
#content .wp-caption .wp-caption-text { padding: 10px; font-size: 13px; line-height: 16px; background: #f7f5f5; }

/* Post metas */
#content .post_metas { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #ddd; display: flex; flex-wrap: wrap; }
#content .post_metas .meta { margin-right: 20px; padding-left: 25px; font-size: 16px; line-height: 20px; background-repeat: no-repeat; background-position: left center; background-size: auto 16px; }
#content .post_metas .meta.datetime { background-image: url(images/icon_calendar.svg); }
#content .post_metas .meta.reading_time { background-image: url(images/icon_clock.svg); }

/* Main text */
#content .main_text_wrap { display: flex; flex-wrap: wrap; }

/* Services */
#content .location { padding: 70px 0; background: #f5f6f6; }
#content .prices { padding: 70px 0; }
#content .prices .prices_wrap { margin-left: -10px; margin-right: -10px; margin-bottom: 30px; display: flex; flex-wrap: wrap; }
#content .prices .prices_wrap .price_cat { width: calc(50% - 20px); margin: 20px 10px 0; }
#content .prices .prices_wrap .price_cat:nth-child(-n+2) { margin-top: 0; }
#content .prices .prices_wrap .price_cat .price_cat_header { height: 60px; padding: 0 20px; color: white; background: #682e91; display: flex; align-items: center; }
#content .prices .prices_wrap .price_cat .price_cat_entry { height: calc(100% - 60px); padding: 20px; font-size: 17px; color: #5f5f5f; border: 1px solid #e4e4e4; border-top: none; }
#content .prices .prices_wrap .price_cat .price_cat_entry p:last-child { margin-bottom: 0 !important; }

/* People */
.people_wrap { margin-left: -20px; margin-right: -20px; display: flex; flex-wrap: wrap; justify-content: center; }
.people_wrap .people { width: calc(33% - 40px); margin: 40px 20px 0; border: 1px solid #ddd; position: relative; }
.people_wrap .people:nth-child(-n+3) { margin-top: 0; }
.people_wrap .people .thumbnail { width: 100%; display: block; position: relative; overflow: hidden; }
.people_wrap .people .thumbnail img { width: 100%; max-width: none; height: auto; display: block; transform: scale(1) translateZ(0); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }
.people_wrap .people .entry { width: 100%; left: 0; bottom: 0; padding: 20px; background: -webkit-gradient(linear,left bottom,left top,color-stop(10%,rgba(0,0,0,.75)),to(transparent)); background: -webkit-linear-gradient(bottom,rgba(0,0,0,.75) 10%,transparent); background: -moz-linear-gradient(bottom,rgba(0,0,0,.75) 10%,transparent 100%); background: linear-gradient(0deg,rgba(0,0,0,.75) 10%,transparent); position: absolute; }
.people_wrap .people .entry h3 { width: 100%; margin-bottom: 10px !important; font-size: 22px !important; font-weight: 700; color: white !important; line-height: 1; display: block; }
.people_wrap .people .bio { padding: 20px; font-size: 17px; }
/*
.people_wrap .people .entry.green h3 { color: #38953c !important; }
.people_wrap .people .entry.purple h3 { color: #682e91 !important; }
*/
.people_wrap .people .entry small { width: 100%; color: #ddd; font-size: 15px; line-height: 17px !important; display: block; }


/*
---------------
	FOOTER
---------------
*/
#footer { color: white; background: #1e73be; }

/* Footer top */
#footer .footer_top .footer_top_wrap { height: 150px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
#footer .footer_top .footer_top_wrap .wrap_left { height: 100%; display: flex; align-items: center; }

#footer .footer_top .footer_top_wrap .wrap_left .logo { width: auto; height: 100px; display: inline-block; }
#footer .footer_top .footer_top_wrap .wrap_left .logo img { width: auto; height: 100%; display: block; }

#footer .footer_top .footer_top_wrap .wrap_left ul { margin-left: 50px; padding-left: 50px; display: flex; flex-wrap: wrap; position: relative; list-style: none; }
#footer .footer_top .footer_top_wrap .wrap_left ul:before { width: 1px; height: 100%; left: 0; top: 0; background: rgba(255 255 255 / 15%); position: absolute; content: ''; }
#footer .footer_top .footer_top_wrap .wrap_left ul li { margin-right: 30px; }
#footer .footer_top .footer_top_wrap .wrap_left ul li a { font-size: 16px; color: white; line-height: 20px; }
#footer .footer_top .footer_top_wrap .wrap_left ul li a:hover { text-decoration: underline; }

#footer .footer_top .footer_top_wrap .wrap_right { height: 100%; display: flex; flex-wrap: wrap; align-items: center; }
#footer .footer_top .footer_top_wrap .wrap_right a { width: 60px; height: 60px; margin-left: 10px; background-color: rgba(255 255 255 / 10%); background-repeat: no-repeat; background-position: center; background-size: auto 24px; display: block; }
#footer .footer_top .footer_top_wrap .wrap_right a:hover { background-color: rgba(255 255 255 / 20%); }
#footer .footer_top .footer_top_wrap .wrap_right a.facebook { background-image: url(images/icon_facebook_white.svg); }
#footer .footer_top .footer_top_wrap .wrap_right a.linkedin { background-image: url(images/icon_linkedin_white.svg); }
#footer .footer_top .footer_top_wrap .wrap_right a.instagram { background-image: url(images/icon_instagram_white.svg); }

/* Footer bottom */
#footer .footer_bottom .inner { padding-top: 20px; padding-bottom: 20px; font-size: 16px; color: white; border-top: 1px solid rgba(255 255 255 / 10%); }


/*
--------------
	FORM
--------------
*/
.form-row { margin-bottom: 10px; }
.form-row.form-row-first { width: calc(50% - 10px); float: left; }
.form-row.form-row-last { width: calc(50% - 10px); float: right; }
.form-row.form-row-wide { clear: both; }

.form-row br { display: none; }
.form-row label { font-size: 16px; font-weight: 400; text-align: left; color: #000; line-height: 24px; display: block; }
.form-row a { text-decoration: none; color: #231f20; }

.form-row .button { width: 100%; }

.form-row select, 
.form-row textarea, 
.form-row input[type=tel], 
.form-row input[type=text], 
.form-row input[type=email], 
.form-row input[type=number] { width: 100%; height: 50px; padding-left: 15px; background: white; border: 1px solid #ddd; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }

.form-row select:focus, 
.form-row textarea:focus, 
.form-row input[type=tel]:focus, 
.form-row input[type=text]:focus, 
.form-row input[type=email]:focus, 
.form-row input[type=number]:focus { border-color: #231f20; }

.form-row textarea { min-height: 150px; padding: 15px; resize: vertical; }

.wpcf7-list-item { margin: 0; }


/*
-----------
	RWD
-----------
*/
@media only screen and (max-width: 1440px) { 

	/* HEADER */
	#header { height: 100px; padding: 0 50px 0 0; }
	
	/* HEADER: Logo */
	#header a.logo { height: 80px; }
	
	/* HEADER: Menu */
	#header ul.menu li { height: 100%; margin: 0 15px; }
	
	/* SLIDER */
	#slider { padding: 0; }
	#slider:before { width: 300px; }
}

@media only screen and (max-width: 1280px) { 

	/* DEFAULT */
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }
	
	/* HEADER: Menu */
	#header ul.menu li { margin: 0 10px; }
	#header ul.menu li a { font-size: 17px; }

	/* HEADER: Apply button */
	#header a.button.apply { padding: 0 20px; }
	
	/* SLIDER */
	#slider:before { width: 260px; }
	
	/* ABOUT US */
	#aboutus .aboutus_wrap .box_left { padding-left: 20px; }
	
	/* SERVICES */
	.services_wrap { margin-left: -10px; margin-right: -10px; }
	.services_wrap .service { width: calc(50% - 20px); margin: 40px 10px 0 10px; }
	.services_wrap .service .entry h3 { font-size: 22px; }
	
	body.home .services_wrap .service { width: calc(33.3333333333% - 20px); }
	
	/* APPLY */
	#apply .inner { padding-left: 20px; padding-right: 20px; }
	#apply .apply_wrap .box_left { width: 400px; }
	#apply .apply_wrap .box_right { width: calc(100% - 400px); padding: 50px 30px; }
	
	/* NEWS: Sessions */
	.sessions_wrap .session { width: calc(50% - 40px); }
	.sessions_wrap .session:nth-child(3) { margin-top: 40px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap { height: auto; padding: 30px 0; }
	#footer .footer_top .footer_top_wrap .wrap_left { width: 100%; margin-bottom: 30px; display: block; }

	#footer .footer_top .footer_top_wrap .wrap_left .logo { width: 100%; margin: 0 auto 20px; display: inline-block; }
	#footer .footer_top .footer_top_wrap .wrap_left .logo img { display: inline-block; }

	#footer .footer_top .footer_top_wrap .wrap_left ul { width: 100%; margin-left: 0; padding-left: 0; justify-content: center; }
	#footer .footer_top .footer_top_wrap .wrap_left ul:before { display: none; }
	#footer .footer_top .footer_top_wrap .wrap_left ul li { margin: 0 15px; }

	#footer .footer_top .footer_top_wrap .wrap_right { width: 100%; justify-content: center; }
	#footer .footer_top .footer_top_wrap .wrap_right a { margin: 0 5px; }
}

@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 { padding: 0; }
	
	/* HEADER: Apply button */
	#header a.button.apply { right: 100px; }
	
	/* SLIDER */
	#slider:before { display: none; }
	
	/* ABOUT US */
	#aboutus { padding: 0 0 20px 0; }
	#aboutus .aboutus_wrap .box_left { width: 100%; padding-top: 50px; padding-right: 20px; padding-bottom: 50px; background: #f5f6f6; }
	#aboutus .aboutus_wrap .box_left:before { display: none; }

	#aboutus .aboutus_wrap .box_right { width: 100%; }
	/*#aboutus .aboutus_wrap .box_right .image { top: auto; right: auto; bottom: auto; left: auto; position: relative; }*/
	#aboutus .aboutus_wrap .box_right .image { position: relative; }
	#aboutus .aboutus_wrap .box_right .image:before { width: auto; left: 20px; right: 20px; }
	
	/* SERVICES */
	#services { padding: 50px 0; }
	
	.services_wrap { margin-left: 0; margin-right: 0; }
	.services_wrap .service { width: 100%; margin: 30px 0 0 !important; border-top: 1px solid #ddd; display: flex; flex-wrap: wrap; align-items: center; }
	.services_wrap .service:first-child { margin-top: 0 !important; }
	.services_wrap .service .thumbnail { width: 50%; }
	.services_wrap .service .entry { width: 50%; }
	.services_wrap .service .entry h3 { font-size: 22px; }
	
	.services_wrap.columns-3 .service { width: 100%; }
	.services_wrap.columns-3 .service:nth-child(-n+3) { margin-top: 0; }
	
	body.home .services_wrap .service { width: 100%; }
	
	.services_wrap .service.no_thumbnail .entry { width: 100%; }
	
	/* REVIEWS */
	#reviews .cover { padding: 50px 0; }
	#reviews.no_apply_form .cover { padding-bottom: 50px; }

	/* APPLY */
	#apply { margin-top: 0; }
	#apply .inner { padding-left: 0; padding-right: 0; }
	#apply .apply_wrap .box_right { width: 100%; }
	
	/* NEWS */
	#news { padding: 50px 0; }
	
	.news_wrap { margin-left: -10px; margin-right: -10px; }
	.news_wrap .news { width: calc(33.3333333333% - 20px); margin: 40px 10px 0; }
	.news_wrap .news .entry { padding: 20px; }
	.news_wrap .news .entry h3 a { font-size: 20px; }
	.news_wrap .news .action_button { left: 20px; right: 20px; }
	
	/* NEWS: Sessions */
	.sessions_wrap {  margin-left: -15px; margin-right: -15px; }
	.sessions_wrap .session { width: calc(50% - 30px); margin: 30px 15px 0; }
	.sessions_wrap .session:nth-child(3) { margin-top: 30px; }
	
	/* BEFORE CONTENT */
	#before_content { height: auto; }
	#before_content .cover { padding: 50px 0; }
	
	/* CONTENT: People */
	.people_wrap { margin-left: -15px; margin-right: -15px; }
	.people_wrap .people { width: calc(50% - 30px); margin: 30px 15px 0; }
	.people_wrap .people:nth-child(3) { margin-top: 30px; }	
}

@media only screen and (max-width: 768px) { 

	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }

	/* FANCYBOX */
	.fancybox-content.people { max-height: none; }
	.fancybox-content.people .main_text_wrap .wrap_left { width: 100%; max-height: none; padding: 20px; }
	.fancybox-content.people .fancybox-close-small path { fill: #000; }
	
	/* ABOUT US */
	#aboutus .aboutus_wrap .box_left .title { font-size: 40px; }

	/* SERVICES */
	#services .title { font-size: 40px; }
	.services_wrap .service .entry h3 { font-size: 17px; }
	
	/* REVIEWS */
	#reviews .reviews_text { font-size: 26px; line-height: 30px; }
	
	/* NEWS */
	#news .title { font-size: 40px; }

	.news_wrap .news { width: calc(50% - 20px); margin: 30px 10px 0; }
	.news_wrap .news:nth-child(3) { margin-top: 30px; }
	body.home .news_wrap .news:nth-child(3) { display: none; }
	
	/* BEFORE CONTENT */
	#before_content h1 { margin-bottom: 0 !important; font-size: 40px; }
	#before_content h1.smaller { font-size: 30px; }
	
	/* BEFORE CONTENT: Breadcrumb */
	#before_content .rank-math-breadcrumb { display: none; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: calc(33.3333333333% - 20px); }
	#content ul.gallery li:nth-child(4) { margin-top: 20px; }
	
	/* CONTENT: Services */
	#content .location { padding: 50px 0; }
	#content .prices { padding: 50px 0; }
	#content .prices .prices_wrap { margin-left: 0; margin-right: 0; }
	#content .prices .prices_wrap .price_cat { width: 100%; margin: 20px 0 0; }
	#content .prices .prices_wrap .price_cat:nth-child(2) { margin-top: 20px; }
}

@media only screen and (max-width: 640px) { 

	/* SERVICES */
	.services_wrap { max-width: 480px; margin-left: auto; margin-right: auto; }
	.services_wrap .service .thumbnail { width: 100%; }
	.services_wrap .service .entry { width: 100%; padding: 20px; }
	
	/* NEWS: Sessions */
	.sessions_wrap { width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; }
	.sessions_wrap .session { width: 100%; margin: 30px 0 0; }
	.sessions_wrap .session:nth-child(2) { margin-top: 30px; }
	
	/* CONTENT: People */
	.people_wrap { max-width: 400px; margin-left: auto; margin-right: auto; }
	.people_wrap .people { width: 100%; margin: 30px 0 0; }
	.people_wrap .people:nth-child(2) { margin-top: 30px; }
	
	/* FORM */
	.form-row.form-row-first, 
	.form-row.form-row-last { width: 100%; float: none; }
}

@media only screen and (max-width: 480px) { 

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* DEFAULT */
	.button_full_in_480 { width: 100%; height: auto; padding: 15px 20px; line-height: 20px; }
	
	img.alignleft,
	img.alignright { width: 50%; height: auto; }

	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrap { width: 100%; }

	/* NAVIGATION: Main menu */
	#rwd_menu ul.main_menu li a { padding: 15px 20px; }

	/* NAVIGATION: Footer menu */
	#rwd_menu ul.footer_menu li a { padding: 0 20px; }
	
	/* NEWS */
	.news_wrap { margin-left: 0; margin-right: 0; }
	.news_wrap .news { width: 100%; margin: 30px 0 0; }
	.news_wrap .news:nth-child(2) { margin-top: 30px; }
	.news_wrap .news .entry h3 a { font-size: 22px; }
	body.home .news_wrap .news:nth-child(3) { display: block; }
	
	/* NEWS: Sessions */
	.sessions_wrap .session { padding: 30px 20px; }
	
	/* CONTENT */
	#content { padding: 30px 0; } 
	#content h1, 
	#content h2 { margin-bottom: 20px; font-size: 8vw; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: calc(50% - 20px); }
	#content ul.gallery li:nth-child(3) { margin-top: 20px; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom .rights { display: block; }
}
