﻿/*
Theme Name: Födémtech Kft.
Theme URI: https://fodemtech.hu
Description: A Födémtech Kft. weboldalának 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: 'DM Sans'; 
	src: url("fonts/dm-sans-regular.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'DM Sans'; 
	src: url("fonts/dm-sans-medium.woff2") format('woff2');
	font-weight: 500; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'DM Sans'; 
	src: url("fonts/dm-sans-medium-italic.woff2") format('woff2');
	font-weight: 500; 
	font-style: italic;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'DM Sans'; 
	src: url("fonts/dm-sans-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-dark-alpha-50: #00000080;
	--color-orange: #F98C27;
	--color-blue: #092D44;
	--color-silver: #F3F3F4;
	--color-silver-line: #E7E7E7;
	--color-green: #22574D;
	--color-red: #EC1000;
	--color-eggshell: #B9BEC3;
	
	--inner: 1400px;
	--website-width: 1920px;
}

body { margin: auto; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 400; line-height: 25px; background: #666666; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden !important; }

textarea, input, select, button { font-family: 'DM Sans', 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: 3px solid var(--color-silver-line); }

/* Classes */
.clear { clear: both; }
.inner { max-width: var(--inner); margin-left: auto; margin-right: auto; position: relative; }
.inner.inner_900 { max-width: 900px; }
.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: 15px !important; font-weight: 700; text-transform: uppercase; text-decoration: none !important; color: #FFFFFF !important; line-height: 20px; background: var(--color-orange); display: inline-flex; align-content: center; justify-content: center; border-radius: 5px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; cursor: pointer; }
.button:hover { color: #FFFFFF !important; background: var(--color-blue); }
.button:after { display: none !important; }

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

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

/* 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-silver-line); clear: none; cursor: poDM Sans; 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: var(--website-width); margin: auto; background: #FFFFFF; position: relative; }


/*
------------------
	NAVIGATION
------------------
*/
#rwd-menu { left: 0; top: 80px; right: 0; bottom: 0; background: var(--color-blue); position: fixed; z-index: 1000; visibility: hidden; opacity: 0%; }
#rwd-menu .rwd-menu-wrapper { inset: 0; padding: 50px; background: var(--color-blue); position: absolute; z-index: 1000; overflow: auto; }
#rwd-menu .rwd-menu-wrapper label { margin-bottom: 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: rgba(255 255 255 / 0.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:last-child { margin-bottom: 0 !important; }
#rwd-menu ul.menu li a { font-size: 18px; text-decoration: none; color: #FFFFFF; line-height: 100%; }
#rwd-menu ul.menu li a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* Primary Menu */
#rwd-menu ul.menu.primary-menu { display: flex; flex-direction: column; gap: 10px; }
#rwd-menu ul.menu.primary-menu li a { font-size: 40px; }

/* Action button */
#rwd-menu .action_button { margin-bottom: 30px; }
#rwd-menu .action_button .button { width: 100%; }

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

/*
--------------
	HEADER
--------------
*/
#header { height: 100px; }
#header .header_wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; position: relative; }

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

/* Menu */
#header ul.menu { width: 100%; height: 100%; left: 0; top: 0; display: flex; justify-content: center; gap: 30px; position: absolute; z-index: 1; list-style: none; }
#header ul.menu li { height: 100%; display: flex; align-items: center; position: relative; }
#header ul.menu li:after { width: 100%; height: 5px; left: 0; bottom: 0; background: var(--color-orange); display: none; position: absolute; content: ''; }
#header ul.menu li a { font-size: 18px; font-weight: 700; color: var(--color-dark); line-height: 20px; }

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

/* Application button */
#header a.button { position: relative; z-index: 2; }

/* RWD button */
#header .rwd_button { width: 60px; height: 50px; right: 20px; top: 50%; background: var(--color-orange); position: absolute; border-radius: 5px; 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); }


/*
--------------
	SLIDER
--------------
*/
#slider { height: 730px; color: #FFFFFF; position: relative; }


/* Slider left */
#slider .slider-left { width: 50%; height: calc(100% - 60px); padding-left: calc((100% - var(--inner)) / 2); padding-bottom: 100px; background: url(images/dot.png), linear-gradient(to right, rgba(9 45 68 / 100%) 0px, rgba(9 45 68 / 100%) calc(100% - 200px), rgba(9 45 68 / 90%) 100%); background-position: left top; background-repeat: repeat; display: flex; align-items: end; align-content: end; position: relative; z-index: 2; } 
#slider .slider-left:after { width: calc(100% - 200px); height: 20px; left: 0; bottom: -20px; background: var(--color-orange); position: absolute; content: ''; } 
#slider .slider-left h1 { width: 100%; font-size: clamp(28px, 5vw, 60px); font-weight: 700; line-height: 100%; }
#slider .slider-left .slider-text { width: 100%; margin-top: 50px; }
#slider .slider-left .slider-text-wrap { width: calc(100% - 150px); padding-top: 20px; border-top: 1px solid #FFFFFF; }
#slider .slider-left .slider-link { margin-top: 50px; }

/* Slider right */
#slider .slider-right { width: calc(50% + 200px); height: 100%; right: 0; top: 0; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; z-index: 1; }


/*
--------------------------
	WHY INSULATE ATTIC
--------------------------
*/
#why-insulate-attic { padding-top: 100px; }
#why-insulate-attic h2 { width: 100%; margin-bottom: 30px; padding-top: 30px; font-size: clamp(26px, 4vw, 40px); font-weight: 700; position: relative; }
#why-insulate-attic h2::before { width: 20px; height: 5px; left: 0; top: 0; background: var(--color-orange); position: absolute; content: ''; }

#why-insulate-attic ul { list-style: none; }
#why-insulate-attic ul li { margin-bottom: 20px; padding-left: 30px; position: relative; }
#why-insulate-attic ul li:last-child { margin-bottom: 0; }
#why-insulate-attic ul li::before { width: 10px; height: 10px; left: 0; top: 7px; background: var(--color-orange); position: absolute; content: ''; }

#why-insulate-attic ol { margin-left: 20px; }
#why-insulate-attic ol li { margin-bottom: 20px; }
#why-insulate-attic ol li:last-child { margin-bottom: 0; }

#why-insulate-attic .wia-image { width: 100%; margin-top: 100px; position: relative; }
#why-insulate-attic .wia-image:before { width: 100%; height: 50%; left: 0; bottom: 0; background: var(--color-silver); position: absolute; content: ''; }
#why-insulate-attic .wia-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#why-insulate-attic .wia-image .wia-image-wrapper { height: 100%; max-height: 650px; overflow: hidden; border-radius: 5px; }

#why-insulate-attic .wia-description { margin-top: 70px; padding-bottom: 70px; border-bottom: 2px solid var(--color-silver-line); position: relative; }
#why-insulate-attic .wia-description h3 { max-width: 50%; padding-top: 30px; font-size: clamp(18px, 3vw, 30px); font-weight: 700; line-height: 120%; position: relative; }

#why-insulate-attic .wia-boxes { width: 100%; display: flex; gap: 20px; }
#why-insulate-attic .wia-boxes .box { flex: 1; padding: 30px; background: var(--color-silver); border-radius: 5px; }
#why-insulate-attic .wia-boxes .box h3 { width: 100%; margin-bottom: 20px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; color: var(--color-dark); line-height: 100%; }

#why-insulate-attic .action_button { margin-top: 50px; }


/*
------------------
	REFERENCES
------------------
*/
#references { margin-top: 50px; position: relative; }
#references::before { width: 100%; height: 50%; left: 0; bottom: 0; background: var(--color-silver); position: absolute; content: ''; }
#references .references { position: relative; overflow: hidden; }
#references .references .glide__track { overflow: hidden; }
#references .references .glide__slides { display: flex; flex-wrap: nowrap; list-style: none; }
#references .references .glide__slide { padding: 0 !important; flex-shrink: 0; list-style: none; }
#references .references .glide__slide::before { display: none !important; }
#references .references .glide__slide a { width: 100%; outline: 2px solid transparent; outline-offset: 2px; display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 5px; }
#references .references .glide__slide a:hover { outline-color: var(--color-silver-line); }
#references .references .glide__slide img { width: 100%; height: 100%; display: block; object-fit: cover; }

#references .glide__arrows { display: flex; justify-content: center; gap: 20px; }
#references .glide__arrows button { width: 50px; height: 50px; font-size: 18px !important; font-weight: 700; color: #FFFFFF !important; background: var(--color-orange); display: inline-flex; align-content: center; justify-content: center; border-radius: 5px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; cursor: pointer; } 
#references .glide__arrows button:hover { background: var(--color-blue); }


/*
-------------------
	APPLICATION
-------------------
*/
#application { padding: 100px 0; background: var(--color-silver); }
#application h2 { margin-bottom: 30px; font-size: clamp(26px, 4vw, 40px); font-weight: 700; }
#application .application-intro { max-width: 50%; margin-bottom: 30px; }


/*
------------
	BLOG
------------
*/
#blog { padding: 100px 0; }
#blog h2 { margin-bottom: 50px; font-size: var(--font-size-h2); line-height: 100%; }

.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-list .blog-item { background: var(--color-silver); border-radius: 5px; overflow: hidden; }
.blog-list .blog-item .thumbnail { display: block; }
.blog-list .blog-item .thumbnail img { width: 100%; height: auto; display: block; }
.blog-list .blog-item .entry { padding: 20px 30px; }
.blog-list .blog-item .entry h3 { font-size: inherit !important; }
.blog-list .blog-item .entry h3 a { font-size: 24px !important; text-decoration: none !important; color: #000000 !important; line-height: 120% !important; }
.blog-list .blog-item .entry h3 a:hover { text-decoration: underline !important; }
.blog-list .blog-item .entry .datetime { margin-bottom: 20px; font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--color-dark); line-height: 100%; display: flex; align-items: center; gap: 20px; }
.blog-list .blog-item .entry .datetime::after { flex: 1; height: 1px; background: var(--color-dark); content: ''; }
.blog-list .blog-item .entry .excerpt { margin-top: 10px; font-size: 16px; line-height: 25px; }
.blog-list .blog-item .entry .excerpt p { margin-bottom: 0 !important; }


/*
-----------
	FAQ
-----------
*/
#faq { padding: 100px 0; }
#faq h2 { margin-bottom: 30px; font-size: clamp(26px, 4vw, 40px); font-weight: 700; }
#faq .faq_intro { max-width: 50%; margin-bottom: 30px; }

.faq_accordion .faq_item { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--color-silver-line); }
.faq_accordion .faq_item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.faq_accordion .faq_item .faq_question { margin-bottom: 0 !important; padding-right: 50px; font-size: 30px; font-weight: 700; line-height: 100%; position: relative; cursor: pointer; display: flex; }

.faq_accordion .faq_item .faq_question .faq_icon { width: 30px; height: 30px; right: 0; top: 0; background: var(--color-silver); position: absolute; border-radius: 5px; }
.faq_accordion .faq_item .faq_question .faq_icon:before { width: 4px; height: 16px; left: 13px; top: 7px; background: #FFFFFF; position: absolute; content: ''; }
.faq_accordion .faq_item .faq_question .faq_icon:after { width: 16px; height: 4px; left: 7px; top: 13px; background: #FFFFFF; position: absolute; content: ''; }

.faq_accordion .faq_item:hover .faq_question .faq_icon { background: var(--color-orange); }

.faq_accordion .faq_item .faq_question.active .faq_icon { background: var(--color-orange); }
.faq_accordion .faq_item .faq_question.active .faq_icon:before { height: 4px; top: 13px; }

.faq_accordion .faq_item .faq_content { padding-top: 30px; display: none; overflow: hidden; transition: max-height 0.5s ease; }
.faq_accordion .faq_item .faq_content.open { display: block; }
.faq_accordion .faq_item .faq_content p { margin-bottom: 20px; }
.faq_accordion .faq_item .faq_content p:last-child { margin-bottom: 0 !important; }
.faq_accordion .faq_item .faq_content ul { margin-bottom: 20px; margin-left: 20px; }
.faq_accordion .faq_item .faq_content ol { margin-bottom: 20px; margin-left: 20px; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { padding: 10px 0; background-color: var(--color-blue); }
#before_content .rank-math-breadcrumb { font-size: 14px; font-weight: 700; color: #FFFFFF; line-height: 100%; }
#before_content .rank-math-breadcrumb p { margin-bottom: 0 !important; }
#before_content .rank-math-breadcrumb a { font-weight: 400; text-decoration: underline; color: #FFFFFF; }
#before_content .rank-math-breadcrumb .separator { font-weight: 400; }


/*
------------------
	HERO IMAGE
------------------
*/
#hero-image { height: 300px; background: var(--color-silver); }
#hero-image h1 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; line-height: 100%; }

#hero-image .hero-image-wrapper { height: 100%; display: flex; }
#hero-image .hero-image-wrapper .block-left { width: 50%; padding-left: calc((100% - 1400px) / 2); padding-right: 50px; padding-bottom: 50px; display: flex; justify-content: end; flex-direction: column; gap: 20px; position: relative; }
#hero-image .hero-image-wrapper .block-right { width: 50%; position: relative; overflow: hidden; }
#hero-image .hero-image-wrapper .block-right img { width: 100%; height: 100%; display: block; position: absolute; object-fit: cover; object-position: center; }

.rank-math-breadcrumb { font-size: 14px; line-height: 20px; }
.rank-math-breadcrumb p { margin-bottom: 0 !important; }
.rank-math-breadcrumb a { text-decoration: underline; color: var(--color-dark); }
.rank-math-breadcrumb a:hover { color: var(--color-gold); }


/*
---------------
	CONTENT
---------------
*/
#content { padding: 50px 0; }
body.page-id-19 #content, 
body.page-template-application #content { background: var(--color-silver); }
body.page-template-contact #content { padding: 0; }

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

#content h1 { width: 100%; margin-bottom: 30px; font-size: clamp(30px, 4vw, 50px); font-weight: 700; color: var(--color-dark); line-height: 100%; }
#content h2 { width: 100%; margin-bottom: 20px; font-size: clamp(20px, 3.5vw, 42px); font-weight: 700; color: var(--color-dark); line-height: 100%; }
#content h3 { width: 100%; margin-bottom: 20px; font-size: clamp(18px, 3vw, 36px); font-weight: 700; color: var(--color-blue); line-height: 100%; }

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

#content table { width: 100%; margin-bottom: 30px; border-collapse: collapse; border: 1px solid var(--color-silver-line); }
#content table thead tr th { padding: 5px 10px; font-size: 14px; text-align: left; line-height: 20px; background: var(--color-silver); border: 1px solid var(--color-silver-line); }
#content table tbody tr td { padding: 10px; text-align: left; line-height: 20px; border: 1px solid var(--color-silver-line); }

/* Blockquote */
#content blockquote { margin: 50px 0; padding: 40px 40px 40px 60px; font-size: 22px; font-weight: 500; color: var(--color-dark); line-height: 1.5; background-color: color-mix(in srgb, var(--color-gold) 7%, #FFFFFF 93%); border-left: 4px solid var(--color-gold); position: relative; border-radius: 5px; }
#content blockquote::before { left: 20px; top: 5px; font-family: 'Playfair Display', serif; font-size: 80px; color: var(--color-gold); position: absolute; opacity: 0.3; content: "“"; }
#content blockquote p:last-child { margin-bottom: 0 !important; }

/* CF7 */
#content .owner-block { width: 100%; display: none; justify-content: space-between; }
#content .owner1 { display: flex; }

/* Contact */
#content .contact_wrap { padding-top: 100px; padding-bottom: 100px; display: flex; }
#content .contact_wrap > div { width: 50%; }
#content .contact_wrap > div:first-child { padding-right: 200px; }

#content .contact_wrap .meta a { font-size: 30px; font-weight: 700; text-decoration: none !important; line-height: 100%; }
#content .contact_wrap .meta a:hover { text-decoration: underline !important; text-decoration-thickness: 1px; }
#content .contact_wrap .meta span { width: 100%; margin-top: 5px; display: block; }

#content #contact_cf7 { padding: 100px 0; background: var(--color-silver); }
#content #contact_cf7 .contact_cf7_intro { max-width: 50%; margin-bottom: 30px; }

/* References */
#content .references .reference-item { margin-bottom: 50px; }
#content .references .reference-item h3 { margin: 18px 0 8px; font-size: 22px; line-height: 1.2; }
#content .references .reference-item p { margin: 0; font-size: 16px !important; line-height: 1.2 !important; }

#content .references .reference-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
#content .references .reference-image { background: #EEEEEE; border-radius: 5px; position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
#content .references .reference-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
#content .references .reference-image span { left: 12px; top: 12px; padding: 6px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #FFFFFF; background: rgba(0,0,0,.65); border-radius: 5px; position: absolute; }

/* Single Post */
#content .single-grid-layout { display: grid; grid-template-columns: 280px minmax(0, 960px); gap: 70px; }
#content .single-grid-layout .grid-aside { height: fit-content; top: 20px; position: sticky; }
#content .single-grid-layout .grid-aside .share { margin-top: 20px; display: flex; gap: 10px; }
#content .single-grid-layout .grid-aside .share label { width: 100%; font-size: 16px; font-weight: 700; }

#content .single-grid-layout .grid-aside .share a, 
#content .single-grid-layout .grid-aside .share button { width: 50px; height: 50px; text-indent: -9999px; text-decoration: none !important; color: #FFFFFF !important; background: var(--color-orange) no-repeat center / auto 20px; border: none !important; display: flex; align-items: center; justify-content: center; border-radius: 5px; cursor: pointer; -webkit-transition: 0.2s; transition: 0.2s; }
#content .single-grid-layout .grid-aside .share .facebook { background-image: url(images/icon-facebook-white.svg); }
#content .single-grid-layout .grid-aside .share .x { background-image: url(images/icon-x-white.svg); }
#content .single-grid-layout .grid-aside .share .email { background-image: url(images/icon-mail-white.svg); }
#content .single-grid-layout .grid-aside .share .copy-link { background-image: url(images/icon-link-white.svg); }
#content .single-grid-layout .grid-aside .share .copy-link.copied { background-image: none; }
#content .single-grid-layout .grid-aside .share .copy-link.copied::after { font-size: 18px; font-weight: 700; text-indent: 0; color: #FFFFFF; line-height: 1; content: '✓'; }

#content .single-grid-layout .grid-aside .share a:hover, 
#content .single-grid-layout .grid-aside .share button:hover { background-color: var(--color-blue); }

#content .single-grid-layout .grid-aside .share i { font-size: 16px; }

/* Reading Time */
#content .reading-time { font-size: 14px; font-weight: 500; color: var(--color-gold); line-height: 1; letter-spacing: 0.02em; background-color: color-mix(in srgb, var(--color-gold) 7%, #FFFFFF 93%); border: 1px solid var(--color-gold); border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
#content .reading-time::before { width: 12px; height: 12px; background: url(images/icon-time.svg) no-repeat left center / auto 100%; content: ''; }

/* Team */
#content .team-members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
#content .team-members .team-member { min-width: 0; }
#content .team-members .team-member-image { margin-bottom: 20px; background: #EEEEEE; position: relative; overflow: hidden; border-radius: 5px; aspect-ratio: 4 / 5; }
#content .team-members .team-member-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
#content .team-members .team-member-image.no-image { background: repeating-linear-gradient(-45deg, #f5f5f5, #f5f5f5 8px, #ececec 8px, #ececec 9px); }

#content .team-members .team-member-content h3 { margin: 0 0 12px !important; font-size: 22px !important; font-weight: 700; line-height: 1.2; }

/* Gallery */
#content .gallery { display: flex; gap: 30px; }
#content .gallery .gallery-item { width: calc((100% - 60px) / 3); }
#content .gallery .gallery-item a { display: block; overflow: hidden; border-radius: 5px; outline: 2px solid transparent; outline-offset: 2px; }
#content .gallery .gallery-item a:hover { outline-color: var(--color-silver-line); }
#content .gallery .gallery-item img { width: 100%; height: auto; display: block; }


/*
--------------
	FOOTER
--------------
*/
#footer { color: var(--color-eggshell); background: var(--color-blue); border-bottom: 20px solid var(--color-orange); }
#footer a { text-decoration: underline; color: #FFFFFF; }
#footer a:hover { text-decoration: none; }
#footer p { margin-bottom: 20px; }
#footer strong { color: #FFFFFF; }

/* Footer top */
#footer .footer_top { padding: 100px 0; }
#footer .footer_top ul { list-style: none; }
#footer .footer_top ul li { margin-bottom: 15px; position: relative; }
#footer .footer_top ul li:last-child { margin-bottom: 0; }
#footer .footer_top ul li:before { width: 10px; height: 10px; left: -30px; top: 12px; background: var(--color-orange); display: none; position: absolute; content: ''; }
#footer .footer_top ul li a { font-size: 30px; text-decoration: none !important; color: var(--color-eggshell); line-height: 100%; }

#footer .footer_top ul li.current-menu-item:before { display: block; }
#footer .footer_top ul li.current-menu-item a { color: #FFFFFF; }

#footer .footer_top .footer_top_wrap { display: flex; }
#footer .footer_top .footer_top_wrap > div { flex: 1; }
#footer .footer_top .footer_top_wrap .meta a { font-size: 25px; text-decoration-thickness: 1px; line-height: 40px; display: inline-block; }
#footer .footer_top .footer_top_wrap .meta a:hover { text-decoration: underline; }
#footer .footer_top .footer_top_wrap .footer_text { margin-top: 30px; }

#footer .footer_top .social_media_wrap { margin-top: 30px; display: flex; }
#footer .footer_top .social_media_wrap a { width: 50px; height: 50px; margin-right: 10px; font-size: 0; background-color: var(--color-orange); background-repeat: no-repeat; background-position: center; background-size: auto 20px; display: flex; border-radius: 5px; }
#footer .footer_top .social_media_wrap a:hover { opacity: 90%; }
#footer .footer_top .social_media_wrap a.facebook { background-image: url(images/icon-facebook-white.svg); }
#footer .footer_top .social_media_wrap a.youtube { background-image: url(images/icon-youtube-white.svg); }
#footer .footer_top .social_media_wrap a.instagram { background-image: url(images/icon-instagram-white.svg); }
#footer .footer_top .social_media_wrap a.tiktok { background-image: url(images/icon-tiktok-white.svg); }

/* Footer bottom */
#footer .footer_bottom { padding: 20px 0; font-size: 14px; border-top: 1px solid rgba(255 255 255 / 10%); }
#footer .footer_bottom img { position: relative; z-index: 2; }
#footer .footer_bottom ul { width: 100%; height: 100%; left: 0; top: 0; display: flex; align-items: center; justify-content: center; position: absolute; z-index: 1; list-style: none; }
#footer .footer_bottom ul li { margin: 0 10px; }
#footer .footer_bottom ul li:first-child { margin-left: 0; }
#footer .footer_bottom ul li:last-child { margin-right: 0; }
#footer .footer_bottom ul li a:hover { text-decoration: underline; }
#footer .footer_bottom .copyright { position: relative; z-index: 2; }

#footer .footer_bottom .footer_bottom_wrap { display: flex; align-items: center; justify-content: space-between; }


/*
-----------------
	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: 5px; }
#scroll_up:hover { background-color: var(--color-dark); }


/*
------------
	FORM
------------
*/
.form_row { width: 100%; margin-bottom: 20px; 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; align-items: center; }
.form_row br { display: none !important; }
.form_row label { width: 100%; margin-bottom: 5px; font-weight: 700; display: block; }

.form_row a { text-decoration: underline; color: var(--color-dark); }
.form_row a:hover { text-decoration: none; }

.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=date], 
.form_row input[type=email], 
.form_row input[type=number] { 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: 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=date]:focus, 
.form_row input[type=email]:focus, 
.form_row input[type=number]:focus { background: #FFFFFF; outline-color: var(--color-dark); }

.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, .p-l-20 { padding-left: 20px; }
	.p_r_20, .p-r-20 { padding-right: 20px; }
	
	/* SLIDER */
	#slider { height: 700px; }

	/* SLIDER: Slider left */
	#slider .slider-left { padding-left: 20px; }
	
	/* HEADER: Menu */
	#header ul.menu { gap: 20px; }
	#header ul.menu li a { font-size: 16px; }
	
	/* BLOG */
	.blog-list { gap: 20px; }
	
	/* BEFORE CONTENT */
	#hero-image .hero-image-wrapper .block-left { padding-left: 20px; }
}

@media only screen and (max-width: 1280px) { 
	
	/* CONTENT: Gallery */
	#content .gallery { gap: 20px; }
	#content .gallery .gallery-item { width: calc((100% - 40px) / 3); }
}

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

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	.show_in_960_flex { display: flex !important; }
	
	/* HEADER */
	#header { height: 80px; }

	/* SLIDER */
	#slider { height: auto; display: flex; }

	/* SLIDER: Slider left */
	#slider .slider-left { width: 100%; height: auto; padding: 50px 20px !important; order: 2; } 
	#slider .slider-left:after { width: calc(100% - 100px); bottom: auto; top: -20px; } 
	#slider .slider-left .slider-text-wrapper { width: 100%; }

	/* SLIDER: Slider right */
	#slider .slider-right { width: 100%; height: auto; right: auto; top: auto; position: relative; order: 1; }
	#slider .slider-right:before { padding-top: 50%; display: block; content: ''; }
	
	/* WHY INSULATE ATTIC */
	#why-insulate-attic { padding-top: 50px; }
	#why-insulate-attic .why_insulate_attic_wrap > div { flex: auto; }
	#why-insulate-attic .why_insulate_attic_wrap .wrap_left { padding-right: 0; }

	#why-insulate-attic .wia-image { margin-top: 50px; }

	#why-insulate-attic .wia-description { margin-top: 50px; padding-bottom: 50px; }
	#why-insulate-attic .wia-description h3 { max-width: none; }
	
	#why-insulate-attic .wia-boxes .box { flex: auto; }
	
	/* APPLICATION */
	#application { padding: 50px 0; }
	#application .application-intro { max-width: none; }
	
	/* BLOG */
	.blog-list { grid-template-columns: repeat(2, 1fr); }
	.blog-list .blog-item .entry { padding: 20px; }
	
	/* FAQ */
	#faq { padding: 50px 0; }
	#faq .faq_intro { max-width: none; }
	
	/* HERO IMAGE */
	#hero-image { height: auto; }
	#hero-image .hero-image-wrapper .block-left { width: 100%; padding: 30px 20px; order: 1; }
	#hero-image .hero-image-wrapper .block-right { width: 100%; aspect-ratio: 21 / 9; order: 2; }
	
	/* CONTENT */
	#content { padding: 30px 0; }
	
	/* CONTENT: Contact */
	#content .contact_wrap { padding-top: 50px; padding-bottom: 50px; }
	#content .contact_wrap > div { width: 100%; }
	#content .contact_wrap > div:first-child { padding-right: 0; }
	
	#content #contact_cf7 { padding: 50px 0; }
	#content #contact_cf7 .contact_cf7_intro { max-width: none; }
	
	/* CONTENT: Single Post */
	#content .single-grid-layout { grid-template-columns: 1fr; gap: 40px; }
	#content .single-grid-layout .grid-aside { height: auto; top: auto; position: static; }
	
	/* CONTENT: Team */
	#content .team-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	
	/* CONTENT: Gallery */
	#content .gallery .gallery-item { width: calc((100% - 20px) / 2); }
}

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

	/* DEFAULT */
	.fullwidth_in_768 { width: 100%; }

	/* NAVIGATION */
	#rwd-menu .rwd-menu-wrapper { padding: 50px 30px; }
	
	/* NAVIGATION: Primary Menu */
	#rwd-menu ul.menu.primary-menu li a { font-size: 32px; }
	
	/* FAQ */
	.faq_accordion .faq_item .faq_question { font-size: 26px; }
	
	/* CONTENT: References */
	#content .references .reference-images { gap: 8px; }
	#content .references .reference-image { border-radius: 8px; }
	#content .references .reference-image span { left: 8px; top: 8px; padding: 5px 8px; font-size: 10px; }
	
	/* CONTENT: Team */
	#content .team-members { grid-template-columns: 1fr; gap: 35px; }

	/* FOOTER: Footer top */
	#footer .footer_top { padding: 50px 0; }
	#footer .footer_top ul li:before { display: none !important; }

	#footer .footer_top .footer_top_wrap > div { flex: auto; }
	#footer .footer_top .footer_top_wrap > div.pages { margin-bottom: 50px; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom img { display: none; }
	#footer .footer_bottom ul { height: auto; left: auto; top: auto; justify-content: start; position: relative; }
	
	/* FORM */
	.form_row .button { width: 100%; }
	.form_row.form_row_first, 
	.form_row.form_row_last { width: 100%; }
	
	.wpcf7-form .wpcf7-spinner { margin: 13px !important; display: none; }
	.wpcf7-form.submitting .wpcf7-spinner { display: block; }
	.wpcf7-form.submitting .wpcf7-submit.has-spinner { width: calc(100% - 50px) !important; }
}

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

	/* HEADER: Logo */
	#header .logo img { height: 40px !important; }
	
	/* BLOG */
	.blog-list { grid-template-columns: 1fr; }
}
