﻿/*
Theme Name: D E V I D I O N
Theme URI: https://devidion.hu
Description: A Devidion (Tóth Edina) 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-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/playfair-display-regular.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'Cherston Script'; 
	src: url("fonts/cherston-script.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-ivory: #F9F9F7;
	--color-linen: #F0F0EA;
	--color-gold: #C19A5B;
	--color-dark: #131313;
	--color-border: #C6C5C2;
	--color-pink: #FEF7F7;
	--color-green: #006451;
	--color-red: #8B1E1E;
	
	--font-size-h3: clamp(22px, 3vw, 40px);
}

body { margin: auto; font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 400; 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; }

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: 20px 0; border-top: 2px solid var(--color-border); }

/* Tags */
h1 { font-size: clamp(36px, 6vw, 70px); font-weight: 400; line-height: 100%; }
h2 { font-size: clamp(34px, 4.5vw, 60px); font-weight: 400; line-height: 100%; }
h3 { font-size: clamp(22px, 3vw, 40px); font-weight: 400; line-height: 120%; }
h1, h2, h3, h4 { font-weight: normal; }

.inner { max-width: 1400px; margin-left: auto; margin-right: auto; position: relative; }
.inner.inner_960 { max-width: 960px; }
.clear { clear: both; }

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

.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.hide { display: none !important; }
.red { color: var(--color-red); }

/* Button */
.button { width: fit-content; height: 54px !important; padding: 0 20px !important; font-size: 16px !important; text-decoration: none !important; text-transform: uppercase; color: #FFFFFF !important; line-height: 20px !important; background: var(--color-dark) !important; border: none !important; display: inline-flex; align-content: center; justify-content: center; position: relative; border-radius: 27px !important; cursor: pointer; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { background: var(--color-gold) !important; }
.button:after { display: none !important; }

.button.button_outline { color: var(--color-dark) !important; background: transparent !important; border: 1px solid var(--color-dark) !important; }
.button.button_outline.button_outline_white { color: #FFFFFF !important; border-color: #FFFFFF !important; }
.button.button_outline.button_outline_white:hover { border-color: var(--color-gold) !important; }

.button.button_has_arrow:after { width: 34px; height: 34px; background: #FFFFFF; display: block; content: ''; }

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

.history_back_button { height: 40px; padding: 0 20px; background: var(--color-border); border-radius: 20px; cursor: pointer; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.history_back_button:hover { color: #FFFFFF !important; background: var(--color-dark); }

/* Animation */
.anim, :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); }

.waypoint.fade_up { opacity: 0%; transform: translateY(50px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.waypoint.visible.fade_up { opacity: 100%; transform: translateY(0); }

/* 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 var(--color-border); 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-border-radius: 5px; border-radius: 5px; }
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-dark); position: relative; border-radius: 8px; display: block; content: ''; }

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

/* Website */
#website { max-width: 1920px; margin: auto; background: var(--color-ivory); position: relative; }
body.post-type-archive-testimonial #website { background: var(--color-linen); }


/*
----------------------
	ROTATE WARNING
----------------------
*/
.rotate_warning { width: 100%; height: 100%; inset: 0; padding: 20px; font-size: 18px; line-height: 25px; text-align: center; background: var(--color-ivory); display: none; align-items: center; align-content: center; justify-content: center; position: fixed; z-index: 100000; }
.rotate_warning img { width: auto; height: 60px; display: block; }
.rotate_warning .rotate_warning_img { width: 100%; margin-bottom: 20px; display: flex; justify-content: center; }
.rotate_warning .rotate_warning_text { max-width: 400px; margin: auto; }


/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { left: 0; top: 80px; right: 0; bottom: 0; padding: 20px; background: #FFFFFF; position: fixed; z-index: 1000; visibility: hidden; opacity: 0%; }

/* Section */
#rwd_menu .rwd_menu_section { margin-bottom: 50px; }

/* Menu */
#rwd_menu ul.menu { list-style: none; }
#rwd_menu ul.menu li { margin: 10px 0; }
#rwd_menu ul.menu li a { font-size: 18px; text-decoration: none; color: var(--color-dark); line-height: 100%; display: block; }
#rwd_menu ul.menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* Primary Menu */
#rwd_menu ul.menu.primary_menu li { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--color-border); }
#rwd_menu ul.menu.primary_menu li a { font-size: 20px; font-weight: 700; }

/* Language switcher */
#rwd_menu ul.language_switcher { border: 1px solid var(--color-border); display: flex; list-style: none; border-radius: 15px; overflow: hidden; }
#rwd_menu ul.language_switcher li { flex: 1; border-right: 1px solid var(--color-border); }
#rwd_menu ul.language_switcher li:last-child { border-right: none; }
#rwd_menu ul.language_switcher li.active { background: var(--color-ivory); }
#rwd_menu ul.language_switcher li a { padding: 20px; font-weight: 700; color: var(--color-dark); display: flex; justify-content: center; align-items: center; }

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

/* RWD menu is opened */
body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 100%; }


/*
--------------
	HEADER
--------------
*/
#header { height: 100px; background: var(--color-ivory); border-bottom: 1px solid var(--color-border); position: relative; z-index: 10; }
#header .header_wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }

/* Logo */
#header .logo { width: 100%; max-width: 200px; height: auto; max-height: 50px; display: block; position: relative; z-index: 2; }
#header .logo img { width: 100% !important; height: auto !important; display: block; }

/* Menu */
#header ul.menu { inset: 0; width: 100%; height: 100%; display: flex; justify-content: center; position: absolute; list-style: none; }
#header ul.menu li { height: 100%; margin: 0 10px; display: flex; align-items: center; position: relative; }
#header ul.menu li:after { width: 100%; height: 5px; left: 0; bottom: -1px; background: var(--color-dark); display: none; position: absolute; content: ''; }
#header ul.menu li a { font-size: 17px; color: var(--color-dark); }

#header ul.menu li.current-menu-item:after, 
#header ul.menu li.current-menu-parent:after { display: block; }

/* Action button + Language switcher */
#header .action_button__language_switcher { display: flex; }

/* Language switcher */
#header .language_switcher { width: 54px; height: 54px; margin-left: 10px; position: realtive; }
#header .language_switcher ul { width: 54px; height: 54px; padding-top: 54px; background: #FFFFFF; border: 1px solid var(--color-border); position: absolute; overflow: hidden; border-radius: 30px; }
#header .language_switcher ul li { width: 100%; height: 54px; padding: 5px; }
#header .language_switcher ul li.active { left: 0; top: 0; position: absolute; }
#header .language_switcher ul li a { width: 100%; height: 100%; font-size: 16px; font-weight: 700; color: #000000; background: var(--color-sand); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
#header .language_switcher ul li a:hover { background: var(--color-linen); }

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

/* RWD button */
#header .rwd_button { height: 54px; margin-left: 10px; padding: 0 15px 0 55px; color: #FFFFFF; background: var(--color-gold); align-items: center; position: relative; border-radius: 27px; 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); }

/* Is Home */
body.home #header { border-bottom: none; }
body.rwd_menu__opened #header { background: #FFFFFF; border-bottom-color: transparent; }


/*
-------------
	SLIDE
-------------
*/
#slide { max-height: 750px; background-color: var(--color-dark); background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#slide:before { padding-top: 48%; display: block; content: ''; }
#slide .cover { inset: 0; width: 100%; height: 100%; position: absolute; background: linear-gradient(to right, rgba(19 19 19 / 75%) 0%, rgba(19 19 19 / 0%) 75%, rgba(19 19 19 / 0%) 100%); }
#slide .inner { height: 100%; }
#slide .slide_content { max-width: 50%; height: 100%; color: #FFFFFF; display: flex; align-content: center; }
#slide .slide_content h1 { width: 100%; margin: 10px 0; }
#slide .slide_content .slide_text { width: 100%; margin: 10px 0; }
#slide .slide_content .button { margin-top: 50px; display: inline-flex !important; }


/*
-------------
	INTRO
-------------
*/
#intro { padding: 100px 0; border-bottom: 1px solid var(--color-border); }
#intro .intro_title_wrap { margin-bottom: 50px; display: grid; grid-template-columns: 200px 620px 1fr; }
#intro .intro_title_wrap h2 { margin: 0 !important; text-align: right; grid-column: 2 / 3; position: relative; z-index: 0; }
#intro .intro_title_wrap h2::before { left: -10%; top: 0; font-family: 'Cherston Script', cursive; font-size: 60px; color: var(--color-gold); line-height: 100%; position: absolute; z-index: -1; content: 'Bemutatkozás'; transform: rotate(-10deg); transform-origin: left top; }

#intro .text_columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

body.en #intro .intro_title_wrap { grid-template-columns: 200px 700px 1fr; }
body.en #intro .intro_title_wrap h2::before { left: 0; content: 'About me'; }


/*
----------------
	SERVICES
----------------
*/
#services { padding: 100px 0; }
#services .services_header { margin-bottom: 50px; }
#services .services_header .subtitle { padding-left: 30px; line-height: 30px; position: relative; }
#services .services_header .subtitle::before { width: 12px; height: 12px; left: 0; top: 8px; background: var(--color-dark); position: absolute; content: ''; border-radius: 50%; }

#services .services_list .glide__slides { display: flex; }
#services .services_list .glide__slides .glide__slide { height: auto !important; padding-top: 30px; border-top: 1px solid var(--color-border); position: relative; }
#services .services_list .glide__slides .glide__slide a.service_title { margin-bottom: 20px; font-size: clamp(24px, 3vw, 32px); text-decoration: none !important; color: var(--color-dark) !important; line-height: 100%; display: inline-block; }
#services .services_list .glide__slides .glide__slide a.thumbnail { width: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 15px; }
#services .services_list .glide__slides .glide__slide a.thumbnail img { width: 100%; height: 100%; object-fit: cover; transform: scale(1) translateZ(0); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }
#services .services_list .glide__slides .glide__slide a.thumbnail:hover img { -ms-transform: scale(1.05) translateZ(0); -webkit-transform: scale(1.05) translateZ(0); transform: scale(1.05) translateZ(0); }

#services .services_list .glide__slides .glide__slide .excerpt { padding-top: 20px; }
#services .services_list .glide__slides .glide__slide .entry h3 a:hover { text-decoration: underline !important; text-decoration-thickness: 1px; }
#services .services_list .glide__slides .glide__slide .read_more { width: 100%; height: 60px; left: 0; bottom: 0; font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--color-dark) !important; line-height: normal; border-top: 1px solid var(--color-silver-line); display: flex; align-items: center; justify-content: center; position: absolute; }
#services .services_list .glide__slides .glide__slide .read_more:hover { color: var(--color-red) !important; line-height: normal; border-top: 1px solid var(--color-silver-line); display: flex; align-items: center; justify-content: center; position: absolute; }

#services .progress_bar__navigation { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; }
#services .progress_bar__navigation .services_progress { width: calc(100% - 200px); height: 6px; background: rgba(0 0 0 / 5%); position: relative; border-radius: 3px; }
#services .progress_bar__navigation .services_progress .services_progress_bar { height: 100%; left: 0; top: 0; background: var(--color-gold); position: absolute; border-radius: 3px; }

#services .progress_bar__navigation .services_nav { display: flex; }
#services .progress_bar__navigation .services_nav button { width: 60px; height: 60px; margin-left: 10px; font-size: 0; background: transparent url(images/icon-arrow-left-dark.svg) no-repeat center / auto 20px; border: 1px solid var(--color-border); border-radius: 50%; cursor: pointer; }
#services .progress_bar__navigation .services_nav button:hover { border-color: var(--color-dark); }
#services .progress_bar__navigation .services_nav button.services-next { background-image: url(images/icon-arrow-right-dark.svg); }


/*
---------------------
	PARTNER LOGOS
---------------------
*/
.partner_logos { padding: 0 0 100px; }
.partner_logos h2 { margin-bottom: 50px; font-size: var(--font-size-h3); }

.partner_logos .marquee_logo { display: flex; flex-wrap: nowrap !important; white-space: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(to right, rgba(0 0 0 / 0%) 0%, #000000 20%, #000000 calc(100% - 20%), rgba(0 0 0 / 0%) 100%); mask-image: linear-gradient(to right, rgba(0 0 0 / 0%) 0%, #000000 20%, #000000 calc(100% - 20%), rgba(0 0 0 / 0%) 100%); }
.partner_logos .marquee_logo .logos_wrap { display: flex; flex-wrap: nowrap !important; white-space: nowrap; -webkit-animation: animate-marquee 50s infinite linear; animation: animate-marquee 50s infinite linear; transition: .7s margin-left ease-out; will-change: transform, margin-left; }
.partner_logos .marquee_logo .logos_wrap .logo_item { width: max-content; height: 100px; margin: 0 50px; display: flex; justify-content: center; align-items: center; }
.partner_logos .marquee_logo .logos_wrap .logo_item img { width: 100%; max-width: 300px !important; height: auto !important; max-height: 100px; display: block; }

@-webkit-keyframes animate-marquee {
	0% { transform: translateX(0%) translateZ(0); }
	100% { transform: translateX(-100%) translateZ(0); }
}

@keyframes animate-marquee { 
	0% { transform: translateX(0%) translateZ(0); }
	100% { transform: translateX(-100%) translateZ(0); }
}


/*
--------------------
	TESTIMONIALS
--------------------
*/
.testimonials { padding: 100px 0; background: var(--color-linen); }
.testimonials .testimonials_header { margin-bottom: 70px; padding-top: 100px; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; }
.testimonials .testimonials_header h2 { margin: 0 !important; }

.testimonials_grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 25px; }
.testimonials_grid article { padding: 30px; background: #FFFFFF; border-radius: 15px; }
.testimonials_grid article .author_meta { height: 50px; margin-bottom: 20px; display: flex; align-items: center; }
.testimonials_grid article .author_meta img { width: 50px; height: 50px; margin-right: 20px; display: block; border-radius: 50%; }
.testimonials_grid article .author_meta .name_company { display: flex; align-items: center; }
.testimonials_grid article .author_meta .name_company .name { width: 100%; font-weight: 700; line-height: 120%; }
.testimonials_grid article .author_meta .name_company .company { width: 100%; font-size: 14px; line-height: 120%; }
.testimonials_grid article .author_text { font-size: 20px; line-height: 30px; }

.testimonials .testimonials_grid article:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.testimonials .testimonials_grid article:nth-child(1) .author_text { font-size: 30px; line-height: 40px; }
.testimonials .testimonials_grid article:nth-child(2) { grid-column: 2; grid-row: 1; }
.testimonials .testimonials_grid article:nth-child(3) { background: var(--color-pink); grid-column: 3; grid-row: 1 / span 2; }
.testimonials .testimonials_grid article:nth-child(3) .author_text { font-size: 30px; line-height: 40px; }
.testimonials .testimonials_grid article:nth-child(4) { grid-column: 2; grid-row: 2; }


/*
---------------
	GALLERY
---------------
*/
#gallery { padding: 100px 0; }
#gallery .gallery_header { margin-bottom: 70px; display: flex; align-items: end; justify-content: space-between; }
#gallery .gallery_header h2 { margin-bottom: 0 !important; }
#gallery .gallery_header .subtitle { padding-left: 30px; line-height: 30px; position: relative; }
#gallery .gallery_header .subtitle::before { width: 12px; height: 12px; left: 0; top: 8px; background: var(--color-dark); position: absolute; content: ''; border-radius: 50%; }
#gallery .gallery_header .left_column { flex: 1; }
#gallery .gallery_header .right_column { width: 50%; }

/* Albums */
.df_albums_wrap { display: flex; flex-wrap: wrap; gap: 20px; }
.df_albums_wrap .df_album { width: calc((100% - 40px) / 3); }
.df_albums_wrap .df_album a.thumbnail { margin-bottom: 10px; display: block; outline: 3px solid transparent; position: relative; outline-offset: 2px; overflow: hidden; border-radius: 15px; }
.df_albums_wrap .df_album a.thumbnail:hover { outline-color: var(--color-gold); }
.df_albums_wrap .df_album a.thumbnail img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.df_albums_wrap .df_album h3 a { font-size: 24px !important; font-weight: 700 !important; text-decoration: none !important; color: #000000 !important; line-height: 120% !important; display: inline-block; }
.df_albums_wrap .df_album h3 a:hover { text-decoration: underline !important; }
.df_albums_wrap .df_album .count { margin-bottom: 5px; font-size: 14px; }
.df_albums_wrap .df_album .date { font-size: 14px; }

.df_albums_wrap .df_album.layout_2 a.thumbnail { color: #FFFFFF !important; }
.df_albums_wrap .df_album.layout_2 .thumbnail_cover { width: 100%; height: 100%; inset: 0; padding: 20px 30px; background: linear-gradient(to bottom, rgba(19 19 19 / 0%) 0%, rgba(19 19 19 / 100%) 100%); display: flex; flex-direction: column; justify-content: end; position: absolute; z-index: 2; }
.df_albums_wrap .df_album.layout_2 .thumbnail_cover h3 { margin-bottom: 0 !important; font-size: 18px !important; font-weight: 700 !important; line-height: 20px !important; order: 1; }
.df_albums_wrap .df_album.layout_2 .thumbnail_cover .date { order: 2; }

/* Gallery */
.df_gallery_wrap { display: flex; flex-wrap: wrap; gap: 20px; }
.df_gallery_wrap .df_gallery { width: calc((100% - 40px) / 3); }
.df_gallery_wrap .df_gallery a { display: flex; align-items: center; justify-content: center; outline: 3px solid #eeeeee; outline-offset: 2px; overflow: hidden; border-radius: 2px; }
.df_gallery_wrap .df_gallery a:hover { outline-color: var(--color-dark-green); }
.df_gallery_wrap .df_gallery a img { width: auto; max-width: 100%; height: auto; max-height: 100%; display: block; }

.df_gallery_wrap_inline { margin-bottom: 50px; }
.df_gallery_wrap_inline:last-child { margin-bottom: 0; }
.df_gallery_wrap_inline .caption { padding: 10px; font-size: 14px; line-height: 20px; border-bottom: 3px solid var(--color-dark-green); }

@media only screen and (max-width: 960px) { 
	
	/* CONTENT: Albums */
	.df_albums_wrap .df_album { width: calc((100% - 20px) / 2); }
	.df_albums_wrap .df_album.layout_2 .thumbnail_cover { padding: 20px; }
	
	/* CONTENT: Gallery */
	.df_gallery_wrap .df_gallery { width: calc((100% - 20px) / 2); }
}

@media only screen and (max-width: 640px) { 
	
	/* CONTENT: Albums */
	.df_albums_wrap .df_album { width: 100%; }
	
	/* CONTENT: Gallery */
	.df_gallery_wrap .df_gallery { width: 100%; }
}


/*
----------------------
	BEFORE CONTENT
----------------------
*/
.rank-math-breadcrumb { margin-bottom: 20px; font-size: 14px; line-height: 20px; }
.rank-math-breadcrumb p { margin-bottom: 0 !important; }


/*
---------------
	CONTENT
---------------
*/
#content { padding: 50px 0; }
body.page-template-flexible-content #content { padding: 0; }

#content p { margin-bottom: 30px; }
#content a { text-decoration: underline; color: var(--color-dark); }
#content a:hover { text-decoration: none; }
#content img { max-width: 100%; height: auto; }

#content h1 { margin-bottom: 50px; }
#content h2 { margin-bottom: 30px; }
#content h3 { margin-bottom: 20px; }

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

#content table { width: 100%; margin-bottom: 30px; border: 1px solid var(--color-border); border-collapse: collapse; }
#content table thead tr th { padding: 10px 20px; font-size: 14px; text-transform: uppercase; line-height: 16px; border-bottom: 3px solid var(--color-border); }
#content table tbody tr td { padding: 20px; font-size: 18px; line-height: 20px; border-bottom: 1px solid var(--color-border); }

/* Sevices Inline */
#content .services_list { display: flex; gap: 40px; }
#content .services_list .service_item { width: calc((100% - 80px) / 3); height: auto !important; padding-top: 30px; border-top: 1px solid var(--color-border); position: relative; }
#content .services_list .service_item a.service_title { margin-bottom: 20px; font-size: clamp(24px, 3vw, 32px); text-decoration: none !important; color: var(--color-dark) !important; line-height: 100%; display: inline-block; }
#content .services_list .service_item a.thumbnail { width: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 15px; }
#content .services_list .service_item a.thumbnail img { width: 100%; height: 100%; object-fit: cover; transform: scale(1) translateZ(0); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }
#content .services_list .service_item a.thumbnail:hover img { -ms-transform: scale(1.05) translateZ(0); -webkit-transform: scale(1.05) translateZ(0); transform: scale(1.05) translateZ(0); }

#content .services_list .service_item .excerpt { padding-top: 20px; }
#content .services_list .service_item .entry h3 a:hover { text-decoration: underline !important; text-decoration-thickness: 1px; }
#content .services_list .service_item .read_more { width: 100%; height: 60px; left: 0; bottom: 0; font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--color-dark) !important; line-height: normal; border-top: 1px solid var(--color-silver-line); display: flex; align-items: center; justify-content: center; position: absolute; }
#content .services_list .service_item .read_more:hover { color: var(--color-red) !important; line-height: normal; border-top: 1px solid var(--color-silver-line); display: flex; align-items: center; justify-content: center; position: absolute; }

/* Single Post */
#content .taxonomy_subtitle { padding-left: 30px; line-height: 30px; position: relative; }
#content .taxonomy_subtitle::before { width: 12px; height: 12px; left: 0; top: 8px; background: var(--color-dark); position: absolute; content: ''; border-radius: 50%; }

#content .featured_image { margin-bottom: 30px; }
#content .featured_image img { display: block; border-radius: 15px; }

/* Contact */
#content .contat_wrap { display: flex; }
#content .contat_wrap .contat_col { width: 50%; }
#content .contat_wrap .contat_col.contat_col_left { padding-right: 100px; }
#content .contat_wrap .contat_col.contat_col_right .wpcf7 { margin-bottom: 0 !important; padding: 50px 40px; background: var(--color-linen); border-radius: 15px; }
#content .contat_wrap .contat_col .contat_col_inside { top: 50px; position: sticky; }

#content .contat_wrap .contat_col .contact_meta_wrap { padding-top: 30px; border-top: 1px solid var(--color-border); }
#content .contat_wrap .contat_col .contact_meta_wrap .meta { padding-left: 30px; background-repeat: no-repeat; background-position: left center; background-size: auto 20px; }
#content .contat_wrap .contat_col .contact_meta_wrap .meta.phone { background-image: url(images/icon-phone-gold.svg); }
#content .contat_wrap .contat_col .contact_meta_wrap .meta.email { background-image: url(images/icon-email-gold.svg); }


/* 
------------------------
	FLEXIBLE CONTENT
------------------------
*/
#content .flc .flc_item_wrap { display: flex; }
#content .flc .flc_item_wrap.alignright { justify-content: end; }
#content .flc .flc_item_wrap.aligncenter { justify-content: center; }

#content .flc .flc_item_wrap .flc_item_col { width: 50%; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text { padding: 50px 50px 50px 0; display: flex; flex-direction: column; justify-content: center; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text h3 { margin: 10px 0; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text p:last-child { margin-bottom: 0 !important; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text .text { margin: 10px 0; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_image { height: 600px; overflow: hidden; border-radius: 15px; }
#content .flc .flc_item_wrap .flc_item_col.flc_item_col_image img { width: 100%; height: 100%; object-fit: cover; }

/* Intro */
#content .flc .flc_item_intro { margin: 100px 0; display: flex; }

#content .flc .flc_item_intro h2 { margin-bottom: 30px; }
#content .flc .flc_item_intro h3 { margin-bottom: 30px; }
#content .flc .flc_item_intro .text { max-width: 80%; }
#content .flc .flc_item_intro .flc_item_intro_inside { max-width: 60%; }

#content .flc .flc_item_image_text { margin: 100px 0; }
#content .flc .flc_item_image_text.has_background  { padding: 50px 0; }


/*
--------------
	FOOTER
--------------
*/
#footer { color: #FFFFFF; background: var(--color-dark); }
#footer a { color: #FFFFFF; }

/* Footer top */
#footer .footer_top { padding-top: 100px; }
#footer .footer_top .footer_top_wrap { display: flex; }

#footer .footer_top .footer_top_wrap .logo { width: 100%; margin-bottom: 50px; }

#footer .footer_top .footer_top_wrap .footer_top_col { width: 25%; }
#footer .footer_top .footer_top_wrap .footer_top_col.full { width: auto; flex: 1; text-align: right; }
#footer .footer_top .footer_top_wrap .footer_top_col img { width: auto; height: 30px; margin-bottom: 20px; display: block; }
#footer .footer_top .footer_top_wrap .footer_top_col small { display: block; }
#footer .footer_top .footer_top_wrap .footer_top_col strong { font-size: 24px; font-weight: 700; }
#footer .footer_top .footer_top_wrap .footer_top_col a.go_up { width: 50px; height: 50px; font-size: 0; background: #FFFFFF url(images/icon-arrow-up-dark.svg) no-repeat center / auto 16px; display: inline-block; border-radius: 50%; }
#footer .footer_top .footer_top_wrap .footer_top_col a.go_up:hover { background-color: var(--color-linen); }

#footer .footer_top .footer_top_wrap .pages_copyright_wrap { width: 100%; margin-top: 50px; padding-bottom: 20px; font-size: 17px; border-bottom: 1px solid rgba(255 255 255 / 10%); display: flex; align-items: center; justify-content: space-between; }
#footer .footer_top .footer_top_wrap .pages_copyright_wrap ul { display: flex; list-style: none; }
#footer .footer_top .footer_top_wrap .pages_copyright_wrap ul li { margin-right: 40px; }
#footer .footer_top .footer_top_wrap .pages_copyright_wrap ul li:last-child { margin-right: 0; }
#footer .footer_top .footer_top_wrap .pages_copyright_wrap ul li a:hover { text-decoration: underline; }

/* Footer bottom */
#footer .footer_bottom { padding: 20px 0; }
#footer .footer_bottom .footer_bottom_wrap { display: flex; align-items: center; justify-content: space-between; }

#footer .footer_bottom .social_links { display: flex; }
#footer .footer_bottom .social_links a { width: 50px; height: 50px; margin-right: 10px; padding: 0 20px; font-size: 0; background-repeat: no-repeat; background-position: center; background-size: auto 20px; border: 1px solid rgba(255 255 255 / 15%); display: inline-flex; align-content: center; justify-content: center; border-radius: 25px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
#footer .footer_bottom .social_links a:hover { border-color: rgba(255 255 255 / 100%); }
#footer .footer_bottom .social_links a.social-facebook { background-image: url(images/icon-facebook-white.svg); }
#footer .footer_bottom .social_links a.social-youtube { background-image: url(images/icon-youtube-white.svg); }
#footer .footer_bottom .social_links a.social-linkedin { background-image: url(images/icon-linkedin-white.svg); }

#footer .footer_bottom .author { width: fit-content; font-size: 14px; }
#footer .footer_bottom .author a { text-decoration: underline; color: #FFFFFF; }
#footer .footer_bottom .author a:hover { text-decoration: none; }


/*
-----------------
	SCROLL UP
-----------------
*/
#scroll_up { width: 50px; height: 50px; right: 20px; bottom: 30px; background: var(--color-orange) url(images/icon-arrow-up-white.svg) no-repeat center / auto 20px; display: none; position: fixed; z-index: 10; cursor: pointer; border-radius: 50%; }
#scroll_up:hover { background-color: var(--color-dark); }


/*
------------
	FORM
------------
*/
.wpcf7_wrap { margin-top: 50px; margin-bottom: -50px; padding: 50px 0; background: var(--color-linen); }
.wpcf7_wrap p { width: 100%; margin-bottom: 20px !important; }
.wpcf7_wrap h3 { width: 100%; margin-bottom: 30px; }

.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 p { margin-bottom: 0 !important; display: flex; }
.form_row br { display: none !important; }
.form_row label { width: 100%; padding-top: 10px; font-size: 14px; 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 var(--color-border); outline: 2px solid transparent; outline-offset: 2px; border-radius: 5px; 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, 
.form_row select.filled, 
.form_row textarea.filled,
.form_row input[type=tel].filled, 
.form_row input[type=text].filled,
.form_row input[type=email].filled,
.form_row input[type=password].filled { background: #FFFFFF; outline-color: var(--color-border); }

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

.wpcf7 { margin-bottom: 30px; }
.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: 14px; }


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

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

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

	/* DISPLAY: None */
	.hide_in_1280 { display: none !important; }
	.show_in_1280 { display: block !important; }
	.show_in_1280_flex { display: inline-flex !important; }
	
	/* HEADER */
	#header { height: 80px; }
	
	/* CONTENT: Sevices Inline */
	#content .services_list { gap: 20px; }
	#content .services_list .service_item { width: calc((100% - 20px) / 2); }
	
	/* FOOTER */
	#footer .footer_top .footer_top_wrap .footer_top_col { width: 33.3333333333%; }
}

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

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* SLIDE */
	#slide:before { display: none; }
	#slide .cover { position: relative; }
	#slide .slide_content { max-width: none; padding: 50px 0; display: block; }
	#slide .slide_content .slide_text { font-size: 16px; line-height: 25px; }
	
	/* INTRO */
	#intro { padding: 50px 0; }
	#intro .intro_title_wrap { grid-template-columns: 100px 1fr 100px; }
	#intro .intro_title_wrap h2::before { font-size: 40px; }

	#intro .text_columns { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	#intro .text_columns .col.col_empty { display: none; }
	
	body.en #intro .intro_title_wrap { grid-template-columns: 100px 1fr 100px; }
	
	/* SERVICES */
	#services { padding: 50px 0; }
	
	/* PARTNER LOGOS */
	.partner_logos { padding: 0 0 50px; }
	.partner_logos .marquee_logo .logos_wrap { -webkit-animation: animate-marquee 30s infinite linear; animation: animate-marquee 30s infinite linear; }
	.partner_logos .marquee_logo .logos_wrap .logo_item { height: 80px; margin: 0 30px; }
	.partner_logos .marquee_logo .logos_wrap .logo_item img { max-width: 250px !important; max-height: 80px; }
	
	/* TESTIMONIALS */
	.testimonials { padding: 50px 0; }
	.testimonials .testimonials_header { margin-bottom: 50px; padding-top: 0; border-top: none; }

	.testimonials .testimonials_grid { grid-template-columns: 1fr; }
	.testimonials .testimonials_grid article { grid-column: auto !important; grid-row: auto !important; }
	.testimonials .testimonials_grid article .author_text { font-size: 22px !important; line-height: 32px !important; }

	.testimonials_grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	
	/* GALLERY */
	#gallery { padding: 50px 0; }
	#gallery .gallery_header { margin-bottom: 50px; padding-top: 50px; }
	#gallery .gallery_header h2 { margin-bottom: 20px !important; }
	#gallery .gallery_header .left_column { flex: none; }
	#gallery .gallery_header .right_column { width: 100%; }
	
	/* CONTENT: Contact */
	#content .contat_wrap .contat_col { width: 100%; }
	#content .contat_wrap .contat_col.contat_col_left { margin-bottom: 50px; padding-right: 0; }
	#content .contat_wrap .contat_col.contat_col_right .wpcf7 { padding: 30px 20px; }
	
	/* FLEXIBLE CONTENT */
	#content .flc .flc_item_wrap .flc_item_col { width: 100%; }
	#content .flc .flc_item_wrap .flc_item_col.flc_item_col_text { margin-bottom: 20px; padding: 0; order: 1; }
	#content .flc .flc_item_wrap .flc_item_col.flc_item_col_image { height: 500px; order: 2; }

	/* FLEXIBLE CONTENT: Intro */
	#content .flc .flc_item_intro { margin: 50px 0; }
	#content .flc .flc_item_intro .text { max-width: none; }
	#content .flc .flc_item_intro .flc_item_intro_inside { max-width: none; }

	#content .flc .flc_item_image_text { margin: 50px 0; }
	#content .flc .flc_item_image_text.has_background { padding: 30px 0; }

	/* FOOTER: Footer top */
	#footer .footer_top { padding-top: 50px; }
	#footer .footer_top .footer_top_wrap .footer_top_col { width: 100%; order: 2; }
	#footer .footer_top .footer_top_wrap .footer_top_col.phone { margin-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .footer_top_col.full { order: 1; }
	#footer .footer_top .footer_top_wrap .pages_copyright_wrap { order: 3; }
	#footer .footer_top .footer_top_wrap .pages_copyright_wrap ul { width: 100%; margin-bottom: 20px; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom .social_links { width: 100%; margin-bottom: 20px; }	
}

@media only screen and (min-width: 961px) { 

	/* RWD MENU */
	#rwd_menu { visibility: hidden !important; opacity: 0% !important; }
}

/* LANDSCAPE – max 960px */
@media only screen and (max-width: 960px) and (orientation: landscape) {
	
	/* ROTATE WARNING */
	.rotate_warning { display: flex; }
}

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

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

	/* HEADER: Logo */
	#header .logo { max-width: 150px; max-height: 30px; }
	
	/* HEADER: Language switcher */
	#header .language_switcher { width: 50px; height: 50px; }
	#header .language_switcher ul { width: 50px; height: 50px; padding-top: 50px; }
	#header .language_switcher ul li { height: 50px;  }

	/* HEADER: RWD button */
	#header .rwd_button { height: 50px; font-size: 16px; }
	
	/* INTRO */
	#intro .intro_title_wrap { grid-template-columns: 1fr 20px; }
	#intro .intro_title_wrap h2 { text-align: left; grid-column: 1 / 2; }
	#intro .intro_title_wrap h2::before { left: auto !important; right: 0; }

	#intro .text_columns { grid-template-columns: 1fr; }
	
	body.en #intro .intro_title_wrap { grid-template-columns: 1fr 20px; }
	
	/* PARTNER LOGOS */
	.partner_logos .marquee_logo .logos_wrap .logo_item { height: 60px; }
	.partner_logos .marquee_logo .logos_wrap .logo_item img { max-width: 200px !important; max-height: 60px; }
	
	/* TESTIMONIALS */
	.testimonials_grid { grid-template-columns: 1fr; }
	
	/* CONTENT: Sevices Inline */
	#content .services_list .service_item { width: 100%; }
	
	/* FLEXIBLE CONTENT */
	#content .flc .flc_item_wrap .flc_item_col.flc_item_col_image { height: 400px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap .pages_copyright_wrap ul { margin-left: 20px; display: block; list-style: disc; }
	#footer .footer_top .footer_top_wrap .pages_copyright_wrap ul li { margin-right: 0; }
	
	/* FORM */
	.wpcf7 .button { width: 100%; }
}

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

	/* HEADER: Logo */
	#header .logo { max-width: 120px; max-height: 25px; }
}
