﻿/*
Theme Name: IKANOV Ügyvédi Iroda
Theme URI: https://ikanov.hu
Description: Az IKANOV Ügyvédi Iroda weboldal alapértelmezett sablonja
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

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

@font-face { 
	font-family: 'Inter'; 
	src: url("fonts/inter-regular.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'Inter'; 
	src: url("fonts/inter-italic.woff2") format('woff2');
	font-weight: 400; 
	font-style: italic;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'Inter'; 
	src: url("fonts/inter-medium.woff2") format('woff2');
	font-weight: 500; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
@font-face { 
	font-family: 'Inter'; 
	src: url("fonts/inter-bold.woff2") format('woff2');
	font-weight: 700; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'Playfair Display'; 
	src: url("fonts/playfairdisplay-regular.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

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

:root {
	--color-dark: #000000;
	--color-blue: #14203b;
	--color-blue-50: #14203b80;
	--color-light-blue: #c3cfeb;
	--color-sand: #faf7f2;
	--color-dark-sand: #f6f2eb;
	--color-gold: #b29063;
	--color-green: #22574d;
	--color-red: #ec1000;
}

body { margin: auto; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 400; color: var(--color-dark); line-height: 30px; background: #666666; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden !important; }

textarea, input, select, button { font-family: 'Inter', sans-serif; font-size: 16px; outline: none; }

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

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

hr { width: 100%; margin: 30px 0; border-top: 2px solid var(--color-dark-sand); }

/* Classes */
.clear { clear: both; }
.inner { max-width: 1280px; margin-left: auto; margin-right: auto; position: relative; }
.inner.inner_800 { max-width: 800px; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.hide { display: none !important; }
.red { color: var(--color-red); }

.center { text-align: center; }
.uppercase { text-transform: uppercase; }
.sec_font, blockquote { font-family: "Playfair Display", serif; }

/* Animation */
.anim, .download, :before, :after { -webkit-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); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }

/* Button */
.button { height: 50px; padding: 0 30px; font-size: 16px !important; font-weight: 700; text-decoration: none !important; color: #ffffff !important; line-height: 20px; background: var(--color-gold); display: inline-flex; align-content: center; justify-content: center; cursor: pointer; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { background-color: var(--color-dark) !important; }
.button:after { display: none !important; }

.button.button_white_hover:hover { color: var(--color-blue) !important; background: #ffffff !important; }

.button:disabled, 
.button:disabled:hover { color: rgba(0 0 0 / 50%) !important; background-color: var(--color-dark-sand) !important; }

/* Website wrapper */
#website { max-width: 1800px; min-height: 100vh; margin: auto; background: #ffffff; }
body.fancybox-active #website, 
body.compensate-for-scrollbar #website { filter: blur(5px); }

/* 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: #ffffff; border: 1px solid rgba(0 0 0 / 15%); 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; }
input[type="radio"] { -webkit-border-radius: 50%; border-radius: 50%; }

input[type="radio"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: var(--color-red); position: relative; border-radius: 8px; display: block; content: ''; }

input[type="checkbox"]:checked { border-color: var(--color-gold); }
input[type="checkbox"]:checked:before { width: 100%; height: 100%; left: 0; top: 0; color: #ffffff; background: var(--color-gold); position: relative; display: flex; align-items: center; justify-content: center; content: '✓'; }


/*
----------------
	FANCYBOX
----------------
*/
.fancybox__container .fancybox__content { width: 100%; max-width: 1200px; padding: 0 !important; }
.fancybox__container .fancybox__content .custom-close { width: 60px; height: 50px; margin-bottom: 30px; font-size: 20px; line-height: normal; background: var(--color-sand); border: 1px solid var(--color-sand); cursor: pointer; }
.fancybox__container .fancybox__content .custom-close:hover { background: #ffffff; border-color: var(--color-gold); }

.fancybox__container.team-overlay .fancybox__content { width: 100%; max-width: 1200px; padding: 0 !important; background: transparent !important; }
.fancybox__container.team-overlay .fancybox__slide { padding: 50px 20px !important; }

.fancybox__container.team-overlay .team-popup { height: calc(100vh - 100px); background: #ffffff; box-shadow: 0 1px 1px rgba(0 0 0 / 20%); }
.fancybox__container.team-overlay .team-popup .team_member_content { height: 100%; display: flex; }
.team_member_content .team_member_content_left { width: 50%; padding: 50px; display: flex; align-content: space-between; }

.team_member_content .team_member_content_left .content_left_top { }
.team_member_content .team_member_content_left .content_left_top h2 { margin-bottom: 20px; font-size: clamp(30px, 3vw, 40px); line-height: 100%; }

.team_member_content .team_member_content_left .content_left_bottom { width: 100%; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--color-gold); display: flex; }
.team_member_content .team_member_content_left .content_left_bottom div { width: 50%; }
.team_member_content .team_member_content_left .content_left_bottom a { color: var(--color-dark); flex: 1; }
.team_member_content .team_member_content_left .content_left_bottom a:hover { text-decoration: underline; }

.team_member_content .team_member_content_right { width: 50%; height: 100%; overflow: hidden; }
.team_member_content .team_member_content_right img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.team_member_content .team_member_content_right img.centerpos { object-position: center; }


/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { left: 0; top: 100px; right: 0; bottom: 0; position: fixed; z-index: 1000; visibility: hidden; overflow: hidden; }
#rwd_menu .rwd_menu_wrap { width: 100%; height: 100%; top: -100%; background: var(--color-blue); position: relative; z-index: 1000; overflow: auto; }
#rwd_menu .rwd_menu_wrap label { margin-bottom: 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--color-gold); line-height: 100%; display: block; }

/* Section */
#rwd_menu .rwd_menu_section.primary_menu_wrap { padding: 20px 20px 50px 20px; background: #ffffff; }
#rwd_menu .rwd_menu_section.useful_info_wrap { padding: 50px 20px; }

/* Primary Menu */
#rwd_menu ul.menu.primary_menu { list-style: none; }
#rwd_menu ul.menu.primary_menu li { border-bottom: 1px solid var(--color-dark-sand); position: relative; }
#rwd_menu ul.menu.primary_menu li.menu-item-has-children:after { width: 30px; height: 30px; right: 0; top: 10px; background: var(--color-light-blue) url(images/icon-arrow-down-white.svg) no-repeat center / auto 12px; position: absolute; content: ''; border-radius: 50%; }
#rwd_menu ul.menu.primary_menu li.menu-item-has-children.open:after { transform: rotate(180deg); }
#rwd_menu ul.menu.primary_menu li a { padding: 10px 0; font-size: 30px; color: var(--color-blue); line-height: 100%; display: block; }

#rwd_menu ul.menu.primary_menu li ul { margin-left: -20px; margin-right: -20px; padding: 30px 0; font-family: 'Inter', sans-serif; background: var(--color-sand); display: none; list-style: none; }
#rwd_menu ul.menu.primary_menu li ul li { margin-bottom: 15px; padding: 0 20px 0 40px; border-bottom: none; }
#rwd_menu ul.menu.primary_menu li ul li:last-child { margin-bottom: 0; }
#rwd_menu ul.menu.primary_menu li ul li a { padding: 0 0 0 15px; font-size: 18px; position: relative; }
#rwd_menu ul.menu.primary_menu li ul li a:hover { text-decoration: underline; }
#rwd_menu ul.menu.primary_menu li ul li a:before { width: 6px; height: 6px; left: 0; top: 7px; background: var(--color-gold); position: absolute; content: ''; border-radius: 50%; }

/* Useful Info */
#rwd_menu ul.menu.useful_info { margin-left: 20px; color: var(--color-light-blue); }
#rwd_menu ul.menu.useful_info li a { color: var(--color-light-blue); }
#rwd_menu ul.menu.useful_info li a:hover { text-decoration: underline; color: #ffffff; }

#rwd_menu ul.language-chooser { margin-top: 50px; text-transform: uppercase; border: 1px solid rgba(255 255 255 / 10%); display: flex; list-style: none; }
#rwd_menu ul.language-chooser li { border-right: 1px solid rgba(255 255 255 / 10%); flex: 1; }
#rwd_menu ul.language-chooser li:last-child { border-right: none; }
#rwd_menu ul.language-chooser li a { height: 50px; text-transform: uppercase; color: #ffffff; display: flex; align-items: center; justify-content: center; }
#rwd_menu ul.language-chooser li img { display: none; }
#rwd_menu ul.language-chooser li.active a { background: rgba(255 255 255 / 5%); }

/* Action button */
#rwd_menu .action_button .button { background-color: #000000 !important; }

/* RWD menu is opened */
body.rwd_menu__opened #rwd_menu { visibility: visible; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrap { top: 0; }


/*
--------------
	HEADER
--------------
*/
#header { height: 120px; left: calc((100% - 1800px) /2); right: calc((100% - 1800px) /2); padding: 10px 50px 0; background: #ffffff; position: fixed; z-index: 100; }
#header:before { height: 10px; left: 150px; right: 150px; top: 0; background: var(--color-blue); position: absolute; content: ''; }
#header .header_wrap { height: 100%; position: relative; }
#header .contact_button__language_switcher { right: 0; top: 50%; display: flex; align-items: center; position: absolute; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 2; }

/* Logo */
#header .logo { left: 0; top: 50%; position: absolute; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 2; }
#header .logo img { display: block; }

/* Language switcher */
#header .language_switcher { width: 50px; height: 50px; margin-left: 10px; position: relative; }
#header .language_switcher ul { width: 100%; height: 50px; padding-top: 50px; text-transform: uppercase; background: var(--color-sand); list-style: none !important; position: absolute; overflow: hidden; }
#header .language_switcher ul li { width: 100%; height: 50px; }
#header .language_switcher ul li.active { left: 0; top: 0; position: absolute; }
#header .language_switcher ul li a { height: 100%; font-weight: 700; color: #000000; display: flex; align-items: center; justify-content: center; }
#header .language_switcher ul li img { display: none !important; }

#header .language_switcher:hover ul { height: auto; overflow: auto; }

/* Menu */
#header ul.menu { width: 100%; height: 100%; left: 0; top: 50%; display: flex; justify-content: center; position: absolute; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 1; list-style: none; }
#header ul.menu li { height: 100%; margin: 0 15px; display: flex; align-items: center; position: relative; }
#header ul.menu li a { font-weight: 500; color: var(--color-blue); }
#header ul.menu li.current_page_item > a, 
#header ul.menu li.current-page-ancestor > a { color: var(--color-gold); }

#header ul.menu li ul { width: max-content; max-width: 370px; left: 0; top: calc(100% - 15px); padding: 40px; background: #ffffff; border-top: 5px solid var(--color-gold); position: absolute; border-radius: 3px; box-shadow: 0 5px 5px rgba(0 0 0 / 10%); visibility: hidden; opacity: 0; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
#header ul.menu li ul li { margin: 0 0 20px !important; }
#header ul.menu li ul li:last-child { margin-bottom: 0 !important; }
#header ul.menu li ul li a { padding-left: 15px; line-height: 20px; display: inline-block; position: relative; }
#header ul.menu li ul li a:hover { text-decoration: underline; }
#header ul.menu li ul li a:before { width: 6px; height: 6px; left: 0; top: 7px; background: var(--color-gold); position: absolute; content: ''; border-radius: 50%; }

#header ul.menu li.menu-item-has-children:after { width: 0; height: 0; left: 50%; bottom: 15px; margin-left: -10px; border: solid transparent; pointer-events: none; border-color: transparent; border-bottom-color: var(--color-gold); border-width: 10px; position: absolute; opacity: 0; content: ''; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
#header ul.menu li.menu-item-has-children:hover:after { bottom: 5px; opacity: 100%; }
#header ul.menu li.menu-item-has-children:hover ul { top: calc(100% - 5px); visibility: visible; opacity: 100%; }

/* RWD button */
#header .rwd_button { width: 60px; height: 50px; margin-left: 10px; background: var(--color-blue); position: relative; cursor: pointer; }
#header .rwd_button .burg { width: 30px; top: calc(50% - 2px); left: 15px; position: absolute; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 30px; height: 2px; background: #ffffff; position: absolute; content: ''; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: calc(50% - 4px); left: 0; }
#header .rwd_button .burg:after { top: calc(50% + 4px); right: 0; }

body.rwd_menu__opened #header .rwd_button .burg:before { top: 50%; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 50%; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }

/* Scrolled */
body.scrolled #header { box-shadow: 0 8px 6px -6px rgba(0 0 0 / 10%); }


/*
-------------
	SLIDE
-------------
*/
#slide { max-height: 650px; color: #ffffff; background: var(--color-blue); position: relative; overflow: hidden; }
#slide:before { padding-top: 45%; display: block; content: ''; }
#slide .cover { inset: 0; position: absolute; }

#slide .slide_image { height: 100%; right: 0; top: 0; position: absolute; }
#slide .slide_image img { width: auto; height: 100%; display: block; position: relative; z-index: 1; -webkit-mask-image: linear-gradient(to right, rgba(20 32 59 / 0%) 0%, rgba(20 32 59 / 100%) 50%, rgba(20 32 59 / 100%) 100%); mask-image: linear-gradient(to right, rgba(20 32 59 / 0%) 0%, rgba(20 32 59 / 100%) 50%, rgba(20 32 59 / 100%) 100%); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

#slide .slide_wrap { height: 100%; display: flex; align-items: center; align-content: center; position: relative; z-index: 2; }
#slide .slide_wrap h1 { max-width: 60%; margin: 15px 0; font-size: clamp(32px, 5vw, 60px); line-height: 100%; position: relative;  }
#slide .slide_wrap h1:before { width: 300px; height: 1px; right: calc(100% + 20px); bottom: 20px; background: var(--color-gold); position: absolute; content: ''; }
#slide .slide_wrap .slide_text { max-width: 60%; margin: 15px 0; color: var(--color-light-blue); }
#slide .slide_wrap .slide_text p { margin-bottom: 30px; }
#slide .slide_wrap .slide_text p:last-child { margin-bottom: 0 !important; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { padding: 100px 0; }
#aboutus .aboutus_text { max-width: 960px; margin: 20px auto; }
#aboutus .aboutus_text.aboutus_text_big { font-size: clamp(25px, 3vw, 30px); color: var(--color-blue); line-height: 150%; }
#aboutus .aboutus_text p { margin-bottom: 20px; }
#aboutus .aboutus_text p:last-child { margin-bottom: 0; }
#aboutus .aboutus_text span { text-decoration: underline; text-decoration-thickness: 1px; color: var(--color-gold); }


/*
-----------
	USP
-----------
*/
#usp { padding: 100px 0; background: var(--color-blue) url(images/img-map.png) no-repeat center / auto auto; }
#usp .usp_wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; }
#usp .usp_wrap .usp img { width: auto; height: 40px; margin-bottom: 20px; display: block; }
#usp .usp_wrap .usp h3 { margin: 20px 0; font-size: clamp(25px, 3vw, 30px); color: #ffffff; line-height: 100%; }
#usp .usp_wrap .usp .usp_text { margin: 20px 0; color: var(--color-light-blue); }


/*
------------
	TEAM
------------
*/
#team { padding: 100px 0; position: relative; z-index: 0; }
#team:before { width: 100%; height: 250px; left: 0; bottom: 0; background: var(--color-sand); position: absolute; content: ''; z-index: -1; }
#team h2 { margin-bottom: 30px; font-size: clamp(30px, 3vw, 40px); line-height: 100%; }

#team-sidebar { width: 800px; height: 100%; right: 0; top: 0; background: white; position: fixed; z-index: 1000; }

.team_wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 70px 40px; }
.team_wrap article h3 { width: max-content; margin-top: 20px; font-size: 25px; color: var(--color-blue); line-height: 100%; position: relative; z-index: 2; }
.team_wrap article h3:before { width: 100%; height: 10px; left: 0; top: -30px; background: var(--color-gold); position: absolute; content: ''; }

.team_wrap article .thumbnail img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }


/*
--------------------
	PRACTIC AREA
--------------------
*/
#practicearea { padding: 0 0 100px; background: var(--color-sand); }
#practicearea h2 { margin-bottom: 30px; font-size: clamp(30px, 3vw, 40px); line-height: 100%; }
#practicearea h5 { margin-bottom: 10px; font-size: 12px; font-weight: 700; color: var(--color-gold); line-height: 100%; }

ul.practicearea { margin-left: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; list-style: none !important; }
ul.practicearea li { padding: 20px 0 20px 60px; border-bottom: 1px solid var(--color-gold); position: relative; }
ul.practicearea > li:nth-child(-n+3) { border-top: 1px solid var(--color-gold); }
ul.practicearea li .count { width: 40px; height: 26px; left: 0; top: 50%; font-size: 14px; font-weight: 700; color: #ffffff; line-height: normal; background: var(--color-gold); display: flex; align-items: center; justify-content: center; position: absolute; border-radius: 13px; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
ul.practicearea li a { font-weight: 500; color: var(--color-blue); }
ul.practicearea li a:hover { text-decoration: underline; }


/*
------------
	BLOG
------------
*/
#blog { padding: 100px 0; background: var(--color-dark-sand); }
#blog h2 { margin-bottom: 30px; font-size: clamp(30px, 3vw, 40px); line-height: 100%; }
#blog h5 { margin-bottom: 10px; font-size: 12px; font-weight: 700; color: var(--color-gold); line-height: 100%; }

.blog_grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.blog_grid article { top: 0; background: #ffffff; position: relative; }
.blog_grid article:hover { top: -10px; box-shadow: 0 10px 20px rgba(0 0 0 / 10%); }

.blog_grid article .thumbnail { display: block; position: relative; }
.blog_grid article .thumbnail img { width: 100%; height: auto; display: block; }
.blog_grid article .thumbnail .category { width: max-content; height: 24px; left: 0; bottom: -12px; padding: 0 15px; font-size: 12px; font-weight: 700; text-decoration: none !important; text-transform: uppercase; color: #ffffff !important; line-height: normal; background: var(--color-gold); display: flex; align-items: center; position: absolute; }

.blog_grid article .entry { padding: 40px 30px; }
.blog_grid article .entry h3 { margin-bottom: 0 !important; }
.blog_grid article .entry h3 a { font-size: clamp(20px, 3vw, 25px) !important; text-decoration: none !important; color: var(--color-blue) !important; line-height: 100%; }
.blog_grid article .entry h3 a:hover { text-decoration: underline !important; }
.blog_grid article .entry .datetime { font-weight: 700; color: var(--color-gold); }


/*
------------------
	HERO IMAGE
------------------
*/
#hero_image { padding: 50px 0; color: #ffffff; background: var(--color-blue); }
#hero_image .hero_wrap { display: flex; }
#hero_image .hero_wrap .hero_wrap_left { flex: 1; padding-right: 50px; display: flex; align-content: space-between; }
#hero_image .hero_wrap .hero_wrap_left h1 { font-size: clamp(30px, 4vw, 45px); }
#hero_image .hero_wrap .hero_wrap_left .reading_time { margin-bottom: 20px; font-size: 14px; }

#hero_image .hero_wrap .hero_wrap_left .share_this_post { display: flex; }
#hero_image .hero_wrap .hero_wrap_left .share_this_post label { width: 100%; font-size: 14px; font-weight: 700; display: block; }
#hero_image .hero_wrap .hero_wrap_left .share_this_post a { min-width: 50px; height: 50px; margin-right: 10px; background: var(--color-gold); display: flex; align-items: center; justify-content: center; }
#hero_image .hero_wrap .hero_wrap_left .share_this_post a:hover { opacity: 90%; }
#hero_image .hero_wrap .hero_wrap_left .share_this_post a img { width: auto; height: 20px; display: block; }
#hero_image .hero_wrap .hero_wrap_left .share_this_post.active a.copy_to_clipboard { padding: 0 20px; text-decoration: none !important; color: white !important; }
#hero_image .hero_wrap .hero_wrap_left .share_this_post.active a.copy_to_clipboard img { display: none; }
#hero_image .hero_wrap .hero_wrap_left .share_this_post.active a.copy_to_clipboard span { display: block !important; }

#hero_image .hero_wrap .hero_wrap_right { flex: 1; }
#hero_image .hero_wrap .hero_wrap_right img { width: 100% !important; height: auto !important; display: block; }


/*
-----------------
	RANK MATH
-----------------
*/
.rank-math-breadcrumb { margin-bottom: 20px; font-size: 14px; color: #ffffff; line-height: 20px; }
.rank-math-breadcrumb p { margin-bottom: 0 !important; }
.rank-math-breadcrumb a { text-decoration: underline !important; color: var(--color-light-blue); }
.rank-math-breadcrumb a:hover { color: #ffffff; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { height: 350px; color: #ffffff; background: var(--color-blue); }
#before_content.simple { height: auto; padding: 10px 50px; }
#before_content .before_content_wrap { display: flex; }
#before_content .before_content_wrap .wrap_left { width: 50%; padding: 50px; display: flex; align-content: end; }
#before_content .before_content_wrap .wrap_left h1 { margin-top: 20px; font-size: clamp(30px, 4vw, 45px); line-height: 100%; }

#before_content .before_content_wrap .wrap_right { width: 50%; height: 350px; }
#before_content .before_content_wrap .wrap_right img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

#before_content .rank-math-breadcrumb { width: 100%; margin-bottom: 0 !important; }


/*
---------------
	CONTENT
---------------
*/
#container { padding-top: 120px; }
body.archive.category #container, 
body.page-template-blog-archive #container, 
body.post-type-archive-practicearea #container { background: var(--color-dark-sand); }

#content { padding: 50px 0; font-size: 18px; }
#content p { margin-bottom: 30px; }
#content a { text-decoration: underline; color: var(--color-gold); }
#content a:hover { color: var(--color-dark); }

#content a.download { width: 100%; padding: 25px 160px 25px 70px; font-size: 16px !important; font-weight: 700; text-decoration: none !important; color: var(--color-dark) !important; line-height: 20px !important; background: url(images/icon-download-pdf.svg) no-repeat 20px center / auto 40px; border-top: 1px solid var(--color-dark-sand); border-bottom: 1px solid var(--color-dark-sand); display: block; position: relative; }
#content a.download:hover { background-color: var(--color-sand); }
#content a.download:after { width: 120px; height: 50px; right: 20px; top: 11px; background: var(--color-dark-sand) url(images/icon-download-dark.svg) no-repeat center / auto 14px; position: absolute; content: ''; }
#content a.download:hover:after { background-color: var(--color-gold); background-image: url(images/icon-download-white.svg); }

#content a.download.doc, 
#content a.download.docx { background-image: url(images/icon-download-doc.svg); }

#content a.download.xls, 
#content a.download.xlsx { background-image: url(images/icon-download-xls.svg); }

#content h1 { margin-bottom: 30px; font-size: clamp(30px, 4vw, 45px); line-height: 100%; }
#content h2 { margin-bottom: 30px; font-size: clamp(22px, 3.5vw, 32px); line-height: 100%; }
#content h3 { margin-bottom: 20px; font-size: clamp(20px, 3vw, 25px); font-weight: 700; color: var(--color-gold); line-height: 100%; }

#content ul { margin-bottom: 20px; margin-left: 20px; }
#content ol { margin-bottom: 20px; margin-left: 20px; }

#content blockquote { margin: 0 -50px 20px; padding: 40px 100px 40px 50px; font-size: 25px; line-height: 150% !important; background: var(--color-sand); position: relative; }
#content blockquote:before { width: 60px; height: 60px; right: 0; top: 0; background: var(--color-dark) url(images/icon-quote-white.svg) no-repeat center / auto 24px; position: absolute; content: ''; }
#content blockquote p:last-child { margin-bottom: 0 !important; }

/* Media Gallery */
#content .media_gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
#content .media_gallery .media_item { text-decoration: none !important; color: var(--color-dark) !important; background: var(--color-sand); }
#content .media_gallery .media_item .iframe_wrap { height: 0; padding-bottom: 56.20%; position: relative; }
#content .media_gallery .media_item .iframe_wrap img, 
#content .media_gallery .media_item .iframe_wrap iframe { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }
#content .media_gallery .media_item .media_intro { padding: 10px; font-size: 14px; font-weight: 700; line-height: 20px; }

/* Contact */
#content .contact_wrap { margin-bottom: 50px; display: flex; }
#content .contact_wrap .wrap_left { width: 50%; padding-right: 50px; }
#content .contact_wrap .wrap_right { width: 50%; }
#content .contact_wrap .wrap_right img { width: 100%; height: auto; display: block; }
  
/* CF7 */
#cf7_wrap { margin-bottom: -50px; padding: 100px 0; background: var(--color-sand); }
#map_canvas { height: 500px; margin-top: 50px; margin-bottom: -50px; }

/*
--------------
	FOOTER
--------------
*/
#footer { color: #ffffff; line-height: 25px; background: var(--color-blue) url(images/img-map.png) no-repeat right -500px top -10% / auto auto; }
#footer p { margin-bottom: 30px; }
#footer ul { line-height: 30px; list-style: none; }
#footer ul li { color: var(--color-gold); }
#footer ul li a { color: #ffffff; position: relative; }
#footer ul li a:after { width: 100%; height: 2px; left: 0; bottom: -2px; background: var(--color-gold); position: absolute; content: ''; }
#footer ul li a:hover:after { background: #ffffff; }

/* Footer top */
#footer .footer_top_wrap { padding: 100px 0; border-bottom: 1px solid rgba(255 255 255 / 20%); display: flex; }
#footer .footer_top_wrap .wrap_left { width: 50%; }
#footer .footer_top_wrap .wrap_left .social_media { display: flex; }
#footer .footer_top_wrap .wrap_left .social_media a { width: 50px; height: 50px; margin-right: 10px; font-size: 0; background: var(--color-gold) url(images/icon-facebook-white.svg) no-repeat center / auto 22px; }
#footer .footer_top_wrap .wrap_left .social_media a:hover { opacity: 90%; }
#footer .footer_top_wrap .wrap_left .social_media a.instagram { background-image: url(images/icon-instagram-white.svg); }
#footer .footer_top_wrap .wrap_left .social_media a.twitter { background-image: url(images/icon-x-white.svg); }
#footer .footer_top_wrap .wrap_left .social_media a.linkedin { background-image: url(images/icon-linkedin-white.svg); }
#footer .footer_top_wrap .wrap_left .social_media a.youtube { background-image: url(images/icon-youtube-white.svg); }

#footer .footer_top_wrap .wrap_right { width: 50%; display: grid; grid-template-columns: 1fr 1fr; }

/* Footer bottom */
#footer .footer_bottom_wrap { padding: 50px 0; color: var(--color-light-blue); }


/*
------------
	FORM
------------
*/
.form_row { width: 100%; margin-bottom: 10px; position: relative; }
.form_row.form_row_first { width: calc(50% - 10px); }
.form_row.form_row_last { width: calc(50% - 10px); }
.form_row.form_row_nolabel { padding-left: 200px; }

.form_row p { margin-bottom: 0 !important; display: flex; }
.form_row br { display: none !important; }
.form_row label { width: 100%; padding-top: 10px; font-size: 16px; font-weight: 700; display: block; }

.form_row .wpcf7-list-item { margin: 0; position: relative; }
.form_row .wpcf7-list-item label { top: auto; padding-left: 35px; line-height: 20px; display: block; position: relative; }
.form_row .wpcf7-list-item input[type=checkbox] { left: 0; top: 1px; position: absolute; }

.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=password] { width: 100%; height: 50px; padding-left: 10px; font-size: 16px; background: #ffffff; border: 1px solid rgba(0 0 0 / 15%); outline: 2px solid transparent; outline-offset: 1px; flex: 1; }

.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=password]:focus { background: #ffffff; outline-color: var(--color-gold); }

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

.wpcf7 { margin-bottom: 30px; }
.wpcf7 a { text-decoration: underline; color: var(--color-dark); }
.wpcf7 a:hover { color: var(--color-gold); }

.wpcf7-form { display: flex; flex-wrap: wrap; justify-content: space-between; }
.wpcf7-acceptance label { font-weight: 400; text-transform: none; }
.wpcf7-form-control-wrap { flex: 1; }
.wpcf7-list-item label { width: 100%; padding-top: 0; font-size: 16px; }


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

	/* HEADER */
	#header { left: 0; right: 0; }
}

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

	/* FANCYBOX */
	.fancybox__container .fancybox__content { max-width: 960px !important; }
	.fancybox__container.team-overlay .team-popup { height: calc(100vh - 200px); }
	.team_member_content .team_member_content_left { padding: 30px; }
	
	/* HEADER */
	#header:before { left: 100px; right: 100px; }
}

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

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

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

	/* HEADER */
	#header { height: 100px; padding: 10px 20px 0; }
	
	/* TEAM */
	.team_wrap { grid-template-columns: 1fr 1fr 1fr; }

	/* BEFORE CONTENT */
	#before_content { height: 300px; }
	#before_content.simple { height: auto; padding: 10px 20px; }
	#before_content .before_content_wrap .wrap_left { padding: 50px 20px; }
	#before_content .before_content_wrap .wrap_right { height: 300px; }
	
	/* HERO IMAGE */
	#hero_image { padding: 50px 20px; }

	/* CONTENT */
	#container { padding-top: 100px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top_wrap > .wrap_left { width: 100%; margin-bottom: 50px; }
	#footer .footer_top_wrap .wrap_right { width: 100%; }
}

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

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

	/* FANCYBOX */
	.fancybox__container.team-overlay .team-popup { height: auto !important; }
	.team_member_content .team_member_content_left { width: 100% !important; }
	.team_member_content .team_member_content_right { display: none !important; }
	.team_member_content .team_member_content_left .content_left_bottom div { width: 100%; }

	/* HEADER */
	#header:before { left: 20px; right: 20px; }
	
	/* SLIDE */
	#slide { max-height: none; }
	#slide:before { display: none; }
	#slide .cover { inset: 0; display: flex; position: relative; }

	#slide .slide_image { height: auto; right: auto; top: auto; position: relative; }
	#slide .slide_image img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to top, rgba(20, 32, 59, 0%) 0%, rgba(20, 32, 59, 100%) 50%, rgba(20, 32, 59, 100%) 100%); mask-image: linear-gradient(to top, rgba(20, 32, 59, 0%) 0%, rgba(20, 32, 59, 100%) 50%, rgba(20, 32, 59, 100%) 100%); }
	#slide .slide_wrap { height: auto; padding: 0 20px 50px; }
	#slide .slide_wrap h1 { max-width: none; }
	#slide .slide_wrap h1:before { display: none; }
	#slide .slide_wrap .slide_text { max-width: none; }
	
	/* ABOUT US */
	#aboutus { padding: 50px 20px; }
	
	/* USP */
	#usp { padding: 50px 0; }
	
	/* TEAM */
	#team { padding: 50px 0; }
	
	.team_wrap { grid-template-columns: 1fr 1fr; gap: 50px 40px; }
	
	/* PRACTIC AREA */
	#practicearea { padding: 0 0 50px; }
	ul.practicearea { display: grid; grid-template-columns: repeat(2, 1fr); }
	ul.practicearea > li:nth-child(-n+2) { border-top: 1px solid var(--color-gold); }
	ul.practicearea > li:nth-child(3) { border-top: none; }
	
	/* BLOG */
	#blog { padding: 50px 0; }
	.blog_grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
	.blog_grid article .entry { padding: 30px 20px; }
	body.home .blog_grid article:nth-child(3) { display: none !important; }
	
	/* BEFORE CONTENT */
	#before_content .before_content_wrap { position: relative; }
	#before_content .before_content_wrap .wrap_left { width: 100%; inset: 0; background: var(--color-blue-50); position: absolute; z-index: 2; }
	#before_content .before_content_wrap .wrap_right { width: 100%; position: relative; z-index: 1; }
	
	/* HERO IMAGE */
	#hero_image { padding: 20px; }
	#hero_image .hero_wrap .hero_wrap_left { flex: auto; margin-bottom: 20px; padding-right: 0; }
	#hero_image .hero_wrap .hero_wrap_right { flex: auto; }
	
	/* CONTENT */
	#content blockquote { margin: 0 0 20px; }
	
	/* CONTENT: Contact */
	#content .contact_wrap .wrap_left { width: 100%; padding-right: 0; }
	#content .contact_wrap .wrap_right { width: 100%; }
	
	/* CF7 */
	#cf7_wrap { padding: 50px 0; }
	#map_canvas { height: 400px; }

	/* FOOTER: Footer top */
	#footer .footer_top_wrap { padding: 50px 0; }
	#footer .footer_top_wrap > .wrap_left { width: 100%; }
}

@media only screen and (max-width: 768px) { 
	
	/* USP */
	#usp .usp_wrap { grid-template-columns: 1fr; }
	
	/* BEFORE CONTENT */
	#before_content { height: 250px; }
	#before_content .before_content_wrap .wrap_right { height: 250px; }
	
	/* CONTENT */
	#content blockquote { padding: 20px 80px 20px 20px; }
	
	/* CONTENT: Media Gallery */
	#content .media_gallery { grid-template-columns: 1fr; }
	
	/* FOOTER: Footer top */
	#footer .footer_top_wrap .wrap_right { grid-template-columns: 1fr; }
	#footer .footer_top_wrap .wrap_right ul { margin-bottom: 50px; }
	#footer .footer_top_wrap .wrap_right ul:last-child { margin-bottom: 0; }
}

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

	/* DISPLAY: None */
	.hide_in_640 { display: none !important; }
	
	/* TEAM */
	.team_wrap { grid-template-columns: 1fr; }
	
	/* PRACTIC AREA */
	ul.practicearea { grid-template-columns: repeat(1, 1fr); }
	ul.practicearea > li:nth-child(2) { border-top: none; }
	
	/* BLOG */
	.blog_grid { grid-template-columns: 1fr; }
	
	/* FORM */
	.form_row.form_row_first, 
	.form_row.form_row_last { width: 100%; }
}
