/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.1.1
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization
-------------------------------------------------------------- */

/* 404 */
.error404 .error .page-content {
	box-shadow: 0px 15px 25px -10px rgba(0,0,0,0.0);
	border-radius: 0;
	margin: 80px 0 100px;
	min-height: 350px;
}

:root {
  --global-xs-spacing: 1em;
  --global-sm-spacing: 1.5rem;
  --global-md-spacing: 2rem;
  --global-lg-spacing: 2.5em;
  --global-xl-spacing: 3.5em;
  --global-xxl-spacing: 88px;
  --global-kb-spacing-xs:12px;
  --global-kb-spacing-sm:24px;
  --global-kb-spacing-md:32px;
  --global-kb-spacing-lg:48px;
  --global-kb-spacing-xl:74px;
  --global-kb-spacing-xxl:88px;
  --global-kb-spacing-4xl:140px;
  --global-kb-gap-lg:88px;
}

body {overflow-wrap:break-word; word-break:normal; hyphens:none;}


/* ROW STYLING
-------------------------------------------------------------- */

/* Banner */

.banner {
    background-color: var(--global-palette1);
    background-image: url('https://reflab.dk/wp-content/themes/kadence-child/svg/dotsbordeux.svg'); 
    background-repeat:repeat; 
    background-position:left top; 
    background-size:176px auto;
}
.banner > .kt-row-column-wrap {
    max-width:1000px; 
    margin-left:auto; 
    margin-right:auto;	
    padding-left:var(--global-content-edge-padding); 
    padding-right:var(--global-content-edge-padding);   
}

.banner .wp-block-kadence-column .kt-inside-inner-col {min-height:50px; border:0px solid red;}
@media (min-width:768px) {.banner .wp-block-kadence-column .kt-inside-inner-col {min-height:120px;}}
@media (min-width:1024px) {.banner .wp-block-kadence-column .kt-inside-inner-col {min-height:250px;}}

/* Empty section */
.section-empty {display:none;}
@media (min-width:768px) {.section-empty {display:block;}}

.entry-content > .kb-row-layout-wrap > .kt-row-column-wrap {
	padding-left: var(--global-content-edge-padding);
	padding-right: var(--global-content-edge-padding);
}

/* Row max width */
.row-1230 > .kt-row-column-wrap {max-width:1230px; margin-left:auto; margin-right:auto;	padding-left:var(--global-content-edge-padding); padding-right:var(--global-content-edge-padding);}
.row-1000 > .kt-row-column-wrap {max-width:1000px; margin-left:auto; margin-right:auto;	padding-left:var(--global-content-edge-padding); padding-right:var(--global-content-edge-padding);}



/* TEXT STYLING
-------------------------------------------------------------- */

/* text modifications */
h1, .single-content h1, h3, .single-content h3, h4 .single-content h4, h5, .single-content h5, h6, .single-content h6 {padding:0; margin:1.5em 0 0.2em;}
h2, .single-content h2 {padding:0; margin:1.5em 0 1.0em;}
p, .single-content p {margin:0 0 1em; line-height:1.4;}

/* Intro text */
p.intro {font-size: 26px; font-weight:500; margin:0 0 1.5em; line-height:1.3;}

/* Intro i sidebar - class: intro-in-sidebar */
p.intro-in-sidebar {font-size:26px; font-weight:500; margin:0 0 1.5em; color:var(--global-palette1); line-height:1.3;}

/* H2 special styling */
.specialheadline h2 {font-size:40px; font-weight:400; margin:0.8em 0 0.5em;}
h2.specialheadline {font-size:40px; font-weight:400; margin:0.8em 0 0.5em;}

@media (min-width:768px) {
.specialheadline h2 {font-size:44px; font-weight:400; margin:0.8em 0 0.5em;}
h2.specialheadline {font-size:44px; font-weight:400; margin:0.8em 0 0.5em;}
}

/* H3 like style - class: subheading */
.wp-block-kadence-advancedheading.subheading, p.subheading {font-size:20px; font-weight:600; line-height:1.2; margin:1.5em 0 0.2em;}
.editor-styles-wrapper p.subheading {font-size:20px; font-weight:600; line-height:1.2; margin:1.5em 0 0.2em;}

/* Feature text */
.feature-bold {font-size:34px; font-weight:700; line-height:1.2;}
@media (min-width:1024px) {.feature-bold {font-size:36px; font-weight:700; line-height:1.2;}}

.feature {font-size:26px; font-weight:500; line-height:1.2;}
@media (min-width:1024px) {.feature {font-size:34px; font-weight:500; line-height:1.2;}}

/* Image spacing - class: img-spacing */
.wp-block-kadence-image.img-spacing:last-child {margin-top:1.5em; margin-bottom:0;}
.wp-block-kadence-image.img-spacing:not(:last-child) {margin-top:1.5em; margin-bottom:3.0em;}
.img-spacing {margin-top:1.4em; margin-bottom:3.0em;}

/* Image caption */
.caption, .wp-element-caption, figcaption {font-size:16px; font-weight:400; color:var(--global-palette7); line-height:1.3;}

/* Image caption above - text above image */
.single-content .caption-above {font-size:22px; font-weight:500; margin:0 0 0.7em; color:var(--global-palette7); line-height:1.3;}

/* Image caption above - text above image */
.single-content .caption-above {font-size:22px; font-weight:500; margin:0 0 0.2em; color:var(--global-palette7); line-height:1.3;}

/* Lists */
.list-large {font-size:24px; font-weight:400;}
.list-large-accent {font-size:24px; font-weight:400; color: var(--global-palette1);}



/* LIST STYLING
-------------------------------------------------------------- */

/* List - standard content list */
ul.wp-block-list {margin:0 0 1em; padding:0; list-style:none;}
ul.wp-block-list li {
    padding-left:1em;
    margin-bottom:0.8em;
    background-image: url("https://reflab.dk/wp-content/themes/kadence-child/svg/circle.svg");
    background-repeat:no-repeat;
    background-color:inherit;
    background-size:4px 4px;
    background-position:0 calc(0.5em - 2px);
}
ul.wp-block-list li > ul {margin-top:0.8em;}


/* List - list with lines between links and arrows - class: linklist */
ul.linklist {list-style:none; padding:0; margin:1.5em 0 2.5em; max-width:845px; border-top:1px solid var(--global-palette7);}
ul.linklist li {list-style:none; padding-left:0; margin-bottom:0; background-image:none;}
ul.linklist li a {
display:block;
padding:17px 0;
background-repeat:no-repeat;
background-color:inherit;
background-size:56px auto;
background-position:right center;
padding-right:66px;
background-image: url('https://reflab.dk/wp-content/themes/kadence-child/svg/arrowred.svg');
font-size:24px;
font-weight:400;
color:var(--global-palette7);
border-bottom:1px solid var(--global-palette7);
}


/* linklist in sidebar - class: linklist-in-sidebar */
ul.linklist-in-sidebar {list-style:none; padding:0; margin:0; max-width:800px; border-top:1px solid var(--global-palette1);}
ul.linklist-in-sidebar li {list-style:none; padding-left:0; margin-bottom:0; background-image:none;}
ul.linklist-in-sidebar li a {
display:block;
padding:16px 0 62px;
background-repeat:no-repeat;
background-color:inherit;
background-size:56px auto;
background-position:left calc(100% - 8px);
background-image: url('https://reflab.dk/wp-content/themes/kadence-child/svg/arrowred.svg');
color:var(--global-palette1);
border-bottom:1px solid var(--global-palette1);
}


/* linklist on blue background - class: blue */
.blue {background-color: var(--global-palette8);}

ul.linklist-on-blue {list-style:none; padding:0; margin:0; max-width:800px; border-top:1px solid var(--global-palette9);}
ul.linklist-on-blue li {list-style:none; padding-left:0; margin-bottom:0; background-image:none;}
ul.linklist-on-blue li a {
display:block;
padding:14px 0;
background-repeat:no-repeat;
background-color:inherit;
background-size:36px auto;
background-position:right center;
padding-right:50px;
background-image: url('https://reflab.dk/wp-content/themes/kadence-child/svg/arrowred.svg');
font-weight:400;
color:var(--global-palette1);
border-bottom:1px solid var(--global-palette9);
}


/* linklist on yellow background - class: yellow */
.yellow {background-color: var(--global-palette10);}

ul.linklist-on-yellow {list-style:none; padding:0; margin:0; max-width:800px; border-top:1px solid var(--global-palette9);}
ul.linklist-on-yellow li {list-style:none; padding-left:0; margin-bottom:0; background-image:none;}
ul.linklist-on-yellow li a {
display:block;
padding:14px 0;
background-repeat:no-repeat;
background-color:inherit;
background-size:36px auto;
background-position:right center;
padding-right:50px;
background-image: url('https://reflab.dk/wp-content/themes/kadence-child/svg/arrowred.svg');
font-weight:400;
color:var(--global-palette1);
border-bottom:1px solid var(--global-palette9);
}


/* SIDEBAR - class: sidebar-submenu
-------------------------------------------------------------- */
.sidebar-submenu {border:0px solid red;}
.sidebar-submenu p {font-weight:600; margin-bottom:6px;}
.sidebar-submenu ul {list-style:none; margin:0; padding:0; border:0px solid red;}
.sidebar-submenu ul ul {padding:0 0 20px 20px; border:0px solid blue;}
.sidebar-submenu ul.wp-block-page-list a {font-weight:400; display:block; padding:5px 0; border:0px solid red;}
.sidebar-submenu ul.wp-block-page-list .current-menu-item > a {font-weight:500; color: var(--global-palette2);}


/* ROW STYLING
-------------------------------------------------------------- */

/* Row with headlines */
.row-with-headline h2, .single-content .row-with-headline h2 {font-size:32px; font-weight:400; margin: 0 0 0.6em; max-width:1200px;}
@media (min-width:1024px) {.row-with-headline h2, .single-content .row-with-headline h2 {font-size:38px;}}
.row-with-headline .feature {font-size:24px; font-weight:500; line-height:1.2;  max-width:1000px;}
@media (min-width:1024px) {.row-with-headline .feature {font-size:26px; font-weight:500; line-height:1.4;}}
.row-with-headline h3, .single-content .row-with-headline h3  {padding:0; margin:1.0em 0 1.0em; font-weight:500; font-size:26px; line-height:1.2;}
@media (min-width:1024px) {.row-with-headline h3, .single-content .row-with-headline h3  {font-size:26px;}}


/* Dots on yellow background - class: dots-bg-yellow */
.dots-bg-yellow {
background-color: var(--global-palette10);
background-image: url('https://reflab.dk/wp-content/themes/kadence-child/svg/dotsyellow.svg');
background-repeat:repeat;
background-position:center 30px;
background-size:176px auto;
}

/* Dots on blue background - class: dots-bg-blue */
.dots-bg-blue {
background-color: var(--global-palette8);
background-image: url('https://reflab.dk/wp-content/themes/kadence-child/svg/dotsblue.svg');
background-repeat:repeat;
background-position:center 30px;
background-size:176px auto;
}

/* Vertical lines between columns in Row on desktop */
@media (min-width:768px) {
.lines .kt-row-column-wrap {position:relative;}
.lines .kt-row-column-wrap::before,
.lines .kt-row-column-wrap::after {
    content: "";
    position: absolute;
    top: var(--global-kb-spacing-xxl, 5rem);
    bottom: var(--global-kb-spacing-4xl, 8rem);
    width: 2px;
    background: #fff;
    pointer-events: none;
}
.lines .kt-row-column-wrap::before {left: calc(66.666% + 9px);}
.lines .kt-row-column-wrap::after {left: calc(33.333% - 9px);}
}


/* PAGES  
-------------------------------------------------------------- */

/* Our people */
.people img {border:0px solid red;}
.people p {font-size:20px; margin-top:4px; color:var(--global-palette1);}
.people p strong {font-weight:600;}



/* HEADER 
-------------------------------------------------------------- */

/* Place logo and menu */
.site-branding {margin: 0 0 0 0;}
.header-navigation .menu {margin:-15px -15px 0 0;}
@media (min-width:1024px) {.site-branding {margin: 0 0 0 -10px;}}


/* Nav desktop */

/* no level 3 */
.header-navigation ul ul ul.sub-menu {display:none!important;}

/* padding på dropdown */
.header-navigation ul li ul.sub-menu, .header-navigation ul li ul.submenu {padding-bottom:20px;}

/* right aligned dropdown */
@media screen and (max-width:1750px) {
.header-navigation ul li:last-child ul.sub-menu, .header-navigation ul li:last-child ul.submenu {right:0; left:auto; text-align:right;}
}

/* svg arrows hidden */
.nav-drop-title-wrap {padding-right:0;}
.nav--toggle-sub .dropdown-nav-toggle {display:none;}
 

/* Nav mobile */

.popup-drawer .drawer-header {padding:20px 20px 0 0; min-height:auto; border:0px solid red;}
.popup-drawer .drawer-header .drawer-toggle {position:relative;	height:1em;	width:1em; border:0px solid red;}
.popup-drawer .drawer-content {padding:0 40px 40px;}

/* level 2 */
.mobile-navigation ul ul {padding-left:20px; padding-bottom:40px}
.mobile-navigation ul ul li {font-weight:400; font-size:24px; line-height:1;}

/* level 3 */
.mobile-navigation ul ul ul {padding-left:20px; padding-bottom:0px;}



/* FOOTER
-------------------------------------------------------------- */

/* general */

@media (min-width:1024px) {body .site-footer-row.site-footer-row-columns-4.site-footer-row-column-layout-left-forty {grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.98fr) minmax(0, 0.98fr) minmax(0, 0.69fr);}}

.site-top-footer-inner-wrap {grid-row-gap:0;}

/* footer col 1 */
.site-footer-top-section-1 .widget_media_image {padding:0 0 80px; margin-bottom:0; max-width:400px;}
footer .site-footer-top-section-1 #media_image-5.widget_media_image img {max-width:262px!important; margin:-10px 0 0 -11px;}

/* footer col 2 */
.site-footer-top-section-2 .widget_text {border-top:1px solid var(--global-palette8); padding:16px 0 16px; margin-bottom:0;}
.site-footer-top-section-2 .widget_text:last-child {border-bottom:0;}

/* footer col 3 */
.site-footer-top-section-3 .widget {border-top:1px solid var(--global-palette8); padding:16px 0 16px; margin-bottom:0;}
.site-footer-top-section-3 .widget_text:last-child {border-bottom:0;}

/* footer col 4 */
.site-footer-top-section-4 .widget {border-top:1px solid var(--global-palette8); padding:0 0 0; margin-bottom:0;}

@media (min-width:1024px) {
.site-footer-top-section-2 .widget_text:last-child {border-bottom:1px solid var(--global-palette8);}
.site-footer-top-section-3 .widget_text:last-child {border-bottom:1px solid var(--global-palette8);}
}

/* footer text */
footer.site-footer p {margin:0 0 0; line-height:1.6;}
footer .site-footer-top-section-4 .widget li {line-height:1.6;}
.site-footer-top-section-4 .widget li a {padding:15px 0 15px; border-bottom:1px solid var(--global-palette8);}
