﻿/*
Theme Name: Top Service KFT
Theme URI: https://topservice.hu
Description: A Top Service KFT weboldal alapértelmezett sablonja.
Author: 360 Marketing
Author URI: https://360-marketing.hu
Version: 1.0
*/

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

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

@font-face { 
	font-family: 'GT Walsheim'; 
	src: url("fonts/gt-walsheim-medium.woff2") format('woff2');
	font-weight: 500; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
@font-face { 
	font-family: 'GT Walsheim'; 
	src: url("fonts/gt-walsheim-bold.woff2") format('woff2');
	font-weight: 700; 
	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-silver: #F7F8F9;
	--color-silver-line: #DCE0E3;
	--color-green: #22574d;
	--color-red: #E4002B;
	--color-steel-blue: #333F48;
	--color-midnight-blue: #21282E;
	--color-midnight-blue-80: #21282ECC;
	
	--section-spacing: 100px;
}

body { margin: auto; font-family: 'GT Walsheim', sans-serif; font-size: 19px; 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: 'GT Walsheim', 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: 20px 0; border-top: 1px solid var(--color-charcoal); }

/* Classes */
.clear { clear: both; }
.inner { max-width: 1400px; margin-left: auto; margin-right: auto; position: relative; }
.inner.inner_960 { max-width: 960px; }
.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; }

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

/* Button */
.button { height: 50px; padding: 0 30px; font-size: 18px !important; font-weight: 500; text-decoration: none !important; color: #FFFFFF !important; line-height: 20px; background: var(--color-red); 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; }
.button:hover { color: #FFFFFF !important; background: var(--color-dark); }
.button:after { display: none !important; }
.button.button_white_hover:hover { color: var(--color-dark) !important; background-color: #FFFFFF !important; }

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

.history_back_button { height: 30px; padding: 0 20px; font-size: 16px !important; font-weight: 500; text-decoration: none !important; color: #FFFFFF !important; line-height: 20px; background: var(--color-dark); 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; cursor: pointer; }

/* 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; clear: none; cursor: poGT Walsheim; 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-dark); position: relative; border-radius: 8px; display: block; content: ''; }
input[type="checkbox"]:checked:before { width: 100%; height: 100%; left: 0; top: 0; color: #FFFFFF; background: var(--color-dark); position: relative; display: flex; align-items: center; justify-content: center; content: '✓'; }

/* Website */
#website { max-width: 1920px; margin: auto; background: #FFFFFF; position: relative; }


/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { left: 0; top: 90px; right: 0; bottom: 0; background: var(--color-midnight-blue); position: fixed; z-index: 1000; visibility: hidden; opacity: 0%; }
#rwd_menu .rwd_menu_wrap { inset: 20px; padding: 50px; background: var(--color-steel-blue); position: absolute; z-index: 1000; overflow: auto; }
#rwd_menu .rwd_menu_wrap label { margin-bottom: 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: rgba(255 255 255 / 75%); display: block; }

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

/* Menu */
#rwd_menu ul.menu { list-style: none; }
#rwd_menu ul.menu li { margin-bottom: 10px !important; line-height: 20px; position: relative; }
#rwd_menu ul.menu li:last-child { margin-bottom: 0 !important; }
#rwd_menu ul.menu li a { font-size: 18px; text-decoration: none; color: #FFFFFF; line-height: 100%; display: block; }
#rwd_menu ul.menu li a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

#rwd_menu ul.menu li.menu-item-has-children > a:after { width: 30px; height: 30px; right: 0; top: 2px; background: url(images/icon-arrow-down-white.svg) no-repeat center; background-size: 16px; border: 1px solid rgba(255 255 255 / 20%); position: absolute; content: ''; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
#rwd_menu ul.menu li.menu-item-has-children.open > a:after { ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg); }

#rwd_menu ul.menu li ul { max-height: 0; padding: 0; list-style: disc; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.2s ease; }
#rwd_menu ul.menu li.open ul { max-height: 1000px; padding: 20px 0; }
#rwd_menu ul.menu li ul li { margin-bottom: 10px !important; }
#rwd_menu ul.menu li ul li a { font-size: 18px !important; line-height: 100% !important; }

/* Primary Menu */
#rwd_menu ul.menu.primary_menu li { margin-bottom: 15px !important; line-height: 40px; }
#rwd_menu ul.menu.primary_menu li a { font-size: 40px; }

/* 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: 90px; }
#header .header_wrap { height: 100%; display: flex; align-items: center; }

/* Logo */
#header a.logo { margin-right: 40px; }
#header a.logo img { display: block; }

/* Menu */
#header ul.menu { display: flex; align-items: center; list-style: none; position: relative; z-index: 10; }
#header ul.menu li { height: 50px; margin-right: 30px; display: flex; align-items: center; position: relative; }
#header ul.menu li:last-child { margin-right: 0; }
#header ul.menu li a { font-size: 18px; font-weight: 500; color: var(--color-dark); line-height: 20px; }
#header ul.menu li.current-menu-item a { text-decoration: underline; }

#header ul.menu li ul { width: max-content; left: 0px; top: 100%; padding: 20px; background: #FFFFFF; border-top: 3px solid var(--color-red); display: block; position: absolute; list-style: none !important; visibility: hidden; opacity: 0; border-radius: 0 0 10px 10px; box-shadow: 0 3px 5px rgba(0 0 0 / 5%); }
#header ul.menu li ul:before { width: 0; height: 0; bottom: 100%; left: 30px; border: solid transparent; pointer-events: none; border-color: transparent; border-bottom-color: var(--color-red); border-width: 10px; position: absolute; content: ''; }
#header ul.menu li ul li { height: auto; margin-bottom: 5px; margin-right: 0 !important; line-height: inherit; display: block; }
#header ul.menu li ul li:last-child { margin-bottom: 0; }
#header ul.menu li ul li a { padding: 12px 10px; text-decoration: none !important; line-height: 100%; display: block; border-radius: 5px; }
#header ul.menu li ul li a:hover { background: var(--color-silver); }

#header ul.menu li.menu-item-has-children { padding-right: 20px; }
#header ul.menu li.menu-item-has-children:after { width: 12px; height: 100%; right: 0; top: 0; background: url(images/icon-arrow-down-dark.svg) no-repeat right center / auto 12px; position: absolute; content: ''; }
#header ul.menu li.menu-item-has-children:hover ul { visibility: visible; opacity: 100%; }

/* Phone and Contact button */
#header .phone__contact_button { margin-left: auto; }
#header .phone__contact_button a { margin-left: 40px; }
#header .phone__contact_button a:first-child { margin-left: 0; }
#header .phone__contact_button a.phone { padding-left: 30px; font-size: 17px; font-weight: 500; color: var(--color-dark); background: url(images/icon-phone-dark.svg) no-repeat left center / auto 16px; }
#header .phone__contact_button a.phone:hover { text-decoration: underline; }

/* RWD button */
#header .rwd_button { width: 50px; height: 50px; margin-left: 20px; background: var(--color-red); position: relative; border-radius: 25px; cursor: pointer; }
#header .rwd_button .burg { width: 30px; top: calc(50% - 2px); left: 10px; 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); }


/*
--------------
	SLIDER
--------------
*/
#slider { height: 85vh; max-height: 750px; background: var(--color-midnight-blue); position: relative; }
#slider .glide__track { height: 100%; }
#slider .glide__slides { height: 100%; }
#slider .glide__slide { height: 100%; color: #FFFFFF; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#slider .glide__slide .slide_cover { width: 100%; height: 100%; inset: 0; background: var(--color-midnight-blue-80); position: absolute; }
#slider .glide__slide .slide_cover .slide_wrap { height: 100%; padding-bottom: 150px; display: flex; align-content: end; justify-content: space-between; }
#slider .glide__slide .slide_cover .slide_title { max-width: 50%; font-size: clamp(36px, calc(24px + 3.5vw), 80px); line-height: 100%; }
#slider .glide__slide .slide_cover .slide_caption { width: 50%; max-width: 440px; padding-top: 20px; border-top: 1px solid #FFFFFF; }
#slider .glide__slide .slide_cover .slide_caption div { width: 100%; }
#slider .glide__slide .slide_cover .slide_caption .button { margin-top: 30px; }

#slider .glide__navigation { height: 60px; left: calc(((100% - 1400px) / 2) + 80px); bottom: 50px; color: #FFFFFF; line-height: normal; display: flex; align-items: center; position: absolute; z-index: 10; }

#slider .scroll_down { width: 60px; height: 60px; left: calc((100% - 1400px) / 2); bottom: 50px; background: url(images/icon-arrow-down-white.svg) no-repeat center / auto 20px; border: 1px solid rgba(255 255 255 / 20%); position: absolute; border-radius: 50%; cursor: pointer; }
#slider .scroll_down:hover { border-color: rgba(255 255 255 / 100%); }


/*
----------------
	SERVICES
----------------
*/
#services { padding-top: var(--section-spacing); padding-bottom: var(--section-spacing); background: var(--color-silver) url(images/bgr-services.png) no-repeat right 50px / 40% auto; }
#services .service_content { width: 50%; }
#services .service_content.has_list { margin-bottom: 100px; }
#services .service_content .subtitle { margin: 20px 0; font-size: 15px; font-weight: 500; text-transform: uppercase; color: var(--color-red); }
#services .service_content .title { margin: 20px 0; font-size: clamp(36px, 5vw, 50px); line-height: 100%; }

#services .services_list .glide__slides { display: flex; }
#services .services_list .glide__slides .glide__slide { height: auto !important; padding-bottom: 100px; background: #FFFFFF; border: 1px solid var(--color-silver-line); position: relative; overflow: hidden; border-radius: 10px; }
#services .services_list .glide__slides .glide__slide .thumbnail { width: 100%; height: 250px; display: flex; justify-content: center; align-items: center; overflow: hidden; }
#services .services_list .glide__slides .glide__slide .thumbnail img { width: 100%; height: 100%; object-fit: cover; }
#services .services_list .glide__slides .glide__slide .entry { padding: 20px; }
#services .services_list .glide__slides .glide__slide .entry h3 { margin-bottom: 0 !important; }
#services .services_list .glide__slides .glide__slide .entry h3 a { font-size: clamp(22px, 2.5vw, 30px); text-decoration: none !important; color: var(--color-dark) !important; line-height: 100%; }
#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-red); 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-silver-line); 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); }


/*
-----------
	USP
-----------
*/
#usp { padding-top: var(--section-spacing); padding-bottom: var(--section-spacing); }
#usp.has_image { padding-top: 0 !important; }
#usp .usp_title { max-width: 50%; margin: 20px 0; font-size: clamp(36px, 5vw, 50px); line-height: 100%; }

#usp .usp_image { position: relative; }
#usp .usp_image:before { width: 100%; height: 50%; left: 0; top: 0; background: var(--color-silver); position: absolute; content: ''; }
#usp .usp_image .usp_image_wrap { height: 70vh; margin-bottom: 100px; overflow: hidden; border-radius: 10px; }
#usp .usp_image .usp_image_wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

#usp .usp_points_wrap { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
#usp .usp_points_wrap .usp_point_item .count { margin-bottom: 20px; padding-bottom: 20px; color: var(--color-red); border-bottom: 1px solid var(--color-silver-line); }
#usp .usp_points_wrap .usp_point_item .title { margin-bottom: 10px; font-size: 25px; font-weight: 700; line-height: 100%; }


/*
---------------
	CONTACT
---------------
*/
#contacts { position: relative; }
#contacts .contacts_image { width: 100%; height: 100vh; top: 0; background-repeat: no-repeat; background-position: center; background-size: cover; position: sticky; z-index: 1; }
#contacts .contacts_content { width: 50%; min-height: calc(100vh - 400px); margin-top: calc(-100vh + 400px); margin-left: auto; padding-top: 80px; padding-right: calc((100% - 1400px) / 2); padding-bottom: 80px; padding-left: 100px; background: #FFFFFF; position: relative; z-index: 2; }
#contacts .contacts_content .contact_title { margin: 20px 0; font-size: clamp(36px, 5vw, 50px); line-height: 100%; }
#contacts .contacts_content .contact_text { margin: 20px 0; }
#contacts .contacts_content .contact_meta { margin-top: 80px; font-size: 24px; font-weight: 700; line-height: 30px; }
#contacts .contacts_content .contact_meta h4 { margin-bottom: 10px; font-size: 15px !important; font-weight: 500; text-transform: uppercase; color: var(--color-red); }
#contacts .contacts_content .contact_meta a { text-decoration: none; color: var(--color-dark); }
#contacts .contacts_content .contact_meta a:hover { text-decoration: underline; text-decoration-thickness: 1px; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { height: 300px; background: var(--color-silver) url(images/bgr-services.png) no-repeat right 20px / auto 300%; position: relative; }
#before_content h1 { width: 100%; padding-right: 50%; font-size: clamp(32px, 6vw, 60px); line-height: 100%; }
#before_content .before_content_wrap { height: 100%; padding-bottom: 50px; display: flex; align-items: space-between; align-content: space-between; }

/* Breadcrumb */
#before_content .rank-math-breadcrumb { width: 100%; padding: 10px 0; font-size: 15px; line-height: 20px; display: flex; align-items: center; border-bottom: 1px solid var(--color-silver-line); }
#before_content .rank-math-breadcrumb a { text-decoration: underline; color: var(--color-dark); }


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

#content p { margin-bottom: 30px; }
#content h2 { margin-bottom: 20px; font-size: clamp(32px, 4vw, 48px); line-height: 130%; }
#content h3 { margin-bottom: 20px; font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; color: var(--color-red); line-height: 130%; }

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

/* Contact */
#content .contact_wrap { display: flex; }
#content .contact_wrap .contact_left { width: 50%; padding-right: 100px; font-size: clamp(22px, 2.5vw, 30px); line-height: 130%; }
#content .contact_wrap .contact_left a { text-decoration: underline !important; color: var(--color-red) !important; }

#content .contact_wrap .contact_right { width: 50%; }

#content .contact_wrap .contact_meta { margin-top: 50px; font-size: 24px; font-weight: 700; line-height: 30px; }
#content .contact_wrap .contact_meta:first-child { margin-top: 0; }
#content .contact_wrap .contact_meta h4 { margin-bottom: 10px; font-size: 15px !important; font-weight: 500; text-transform: uppercase; color: var(--color-red); }
#content .contact_wrap .contact_meta a { text-decoration: none; color: var(--color-dark); }
#content .contact_wrap .contact_meta a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* Map */
#content #map_canvas { height: 500px; margin-top: 100px; }

/* Services */
#content .cards { display: flex; flex-direction: row; align-items: flex-start; gap: 100px; }
#content .card { width: 100%; top: 50px; color: #FFFFFF; background: #FFFFFF; overflow: hidden; border-radius: 10px; position: sticky; transform-origin: center top; transition: transform 0.1s linear; }
#content .card h2.card_header { margin-bottom: 0 !important; padding: 20px 30px; font-size: clamp(20px, 2vw, 28px); color: #FFFFFF; line-height: 100%; background: var(--color-steel-blue); }
#content .card .card_image { height: 400px; background-color: var(--color-silver); border-radius: 0 0 10px 10px; position: relative; overflow: hidden; }
#content .card .card_image img { width: 100%; height: 100%; object-fit: cover; }
#content .card .card_cover { width: 100%; height: 100%; inset: 0; padding: 30px; background: rgba(0 0 0 / 50%); display: flex; align-items: end; align-content: end; position: absolute; }
#content .card .card_cover .excerpt { max-width: 50%; margin-bottom: 30px; }
#content .card .card_cover .excerpt p { margin-bottom: 0 !important; }
#content .card .card_cover .action_button { width: 100%; }

#content .card:nth-child(1n) { top: 50px; }
#content .card:nth-child(2n) { top: 80px; }
#content .card:nth-child(3n) { top: 110px; }
#content .card:nth-child(4n) { top: 140px; }
#content .card:nth-child(5n) { top: 170px; }
#content .card:nth-child(6n) { top: 200px; }
#content .card:nth-child(7n) { top: 230px; }
#content .card:nth-child(8n) { top: 260px; }
  

/*
--------------
	FOOTER
--------------
*/
#footer { color: #FFFFFF; background: var(--color-steel-blue); }
#footer h4 { margin-bottom: 10px; font-size: 15px; font-weight: 500; text-transform: uppercase; color: rgba(255 255 255 / 50%); line-height: 20px; }
#footer ul { margin-left: 20px; }
#footer ul li a { color: #FFFFFF; }
#footer ul li a:hover { text-decoration: underline; }

#footer .footer_top { padding: 50px 0; }
#footer .footer_top .footer_top_wrap { display: flex; }
#footer .footer_top .footer_top_wrap .wrap_left { width: 25%; }
#footer .footer_top .footer_top_wrap .wrap_right { width: 50%; display: flex; justify-content: end; align-content: space-between; }

#footer .footer_top .social_media_wrap { width: 100%; margin-top: 20px; display: flex; justify-content: end; }
#footer .footer_top .social_media_wrap a { width: 50px; height: 50px; margin-left: 10px; font-size: 0; background-repeat: no-repeat; background-position: center; background-size: auto 20px; border: 1px solid rgba(255 255 255 / 20%); border-radius: 50%; }
#footer .footer_top .social_media_wrap a:hover { border-color: #FFFFFF; }
#footer .footer_top .social_media_wrap a.facebook { background-image: url(images/icon-facebook-white.svg); }
#footer .footer_top .social_media_wrap a.linkedin { background-image: url(images/icon-linkedin-white.svg); }
#footer .footer_top .social_media_wrap a.youtube { background-image: url(images/icon-youtube-white.svg); }

#footer .footer_bottom { padding: 30px 0; font-size: 15px; color: rgba(255 255 255 / 50%); background: var(--color-midnight-blue); }
#footer .footer_bottom .footer_bottom_wrap { display: flex; align-items: center; justify-content: space-between; }
#footer .footer_bottom a { text-decoration: underline; color: #FFFFFF; }
#footer .footer_bottom 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
------------
*/
.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; 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-silver-line); outline: 2px solid transparent; outline-offset: 2px; border-radius: 3px; 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-text); }

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

	#slider .glide__navigation { left: 100px; }
	#slider .scroll_down { left: 20px; }
	
	/* CONTACT */
	#contacts .contacts_content { min-height: calc(100vh - 300px); margin-top: calc(-100vh + 300px); padding-right: 20px; }
}

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

	/* DISPLAY: None */
	.hide_in_1280 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* CONTACT */
	#contacts .contacts_content { min-height: calc(100vh - 200px); margin-top: calc(-100vh + 200px); margin-left: auto; padding-top: 50px; padding-bottom: 50px; padding-left: 50px; }
	#contacts .contacts_content .contact_meta { margin-top: 50px; }
}

@media only screen and (max-width: 960px) { 
	
	:root {
		--section-spacing: 50px;
	}

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

	/* SLIDER */
	#slider { height: 75vh; }
	#slider .glide__slide .slide_cover .slide_wrap { padding-bottom: 50px; }
	#slider .glide__slide .slide_cover .slide_title { max-width: 100%; margin-bottom: 30px; }
	#slider .glide__slide .slide_cover .slide_caption { width: 100%; max-width: 480px; }
	
	/* SERVICES */
	#services .service_content { width: 100%; }
	#services .service_content.has_list { margin-bottom: 50px; }

	#services .services_list .glide__slides { flex-wrap: wrap !important; gap: 20px; }
	#services .services_list .glide__slides .glide__slide { width: calc(50% - 10px); }
	
	/* USP */
	#usp .usp_image .usp_image_wrap { height: auto; margin-bottom: 50px; overflow: hidden; }
	#usp .usp_title { max-width: 100%; }
	
	#usp .usp_points_wrap { grid-template-columns: 1fr; gap: 50px; }
	
	/* CONTACT */
	#contacts { padding-top: 200px; }
	#contacts .contacts_image { inset: 0; height: 100%; top: auto; position: absolute; }
	#contacts .contacts_content { width: 75%; min-height: auto; margin-top: 0; }
	
	/* BEFORE CONTENT */
	#before_content { height: 250px; }
	
	/* CONTENT: Services */
	#content .cards { gap: 50px; }
	#content .card .card_cover .excerpt { max-width: none; margin-bottom: 20px; }
	
	/* CONTENT: Contact */
	#content .contact_wrap .contact_left { width: 100%; padding-right: 0; }
	#content .contact_wrap .contact_right { width: 100%; }

	/* CONTENT: Map */
	#content #map_canvas { height: 400px; margin-top: 50px; }
	
	/* FOOTER */
	#footer .footer_top .footer_top_wrap .wrap_left { width: 50%; }
	#footer .footer_top .footer_top_wrap .wrap_left.pages { order: 2; }
	#footer .footer_top .footer_top_wrap .wrap_left.useful_info { order: 3; }
	#footer .footer_top .footer_top_wrap .wrap_right { width: 100%; margin-bottom: 50px; justify-content: start; order: 1; }

	#footer .footer_top .social_media_wrap { justify-content: start; }
}

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

	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrap { padding: 30px; }
	#rwd_menu ul.menu.primary_menu li { margin-bottom: 10px !important; line-height: 30px; }
	#rwd_menu ul.menu.primary_menu li a { font-size: 32px; }
	
	/* HEADER: Phone and Contact button */
	#header .phone__contact_button a.phone { padding-left: 0; background: none; }
	
	/* SERVICES */
	#services .services_list .glide__slides .glide__slide { width: 100%; }
	#services .services_list .glide__slides .glide__slide .thumbnail { height: 200px; }
	
	/* CONTACT */
	#contacts { padding-top: 100px; }
	#contacts .contacts_content { width: calc(100% - 20px); }
	
	/* BEFORE CONTENT */
	#before_content { height: 200px; }
	#before_content h1 { padding-right: 20%; }
	#before_content .before_content_wrap { padding-bottom: 20px; }
	
	/* CONTENT: Map */
	#content #map_canvas { height: 300px; }
	
	/* FOOTER */
	#footer .footer_top .footer_top_wrap .wrap_left { width: 100%; }
	#footer .footer_top .footer_top_wrap .wrap_left.pages { margin-bottom: 50px; }
}
