/*
Theme Name: D360
Author: Good Robot
Author URI: https://goodrobot.lu  
Description: Entirely disables the WordPress theme system and lets you design every part of your site with Breakdance, while keeping other theme functionality like templates overrides and functions.php.
Version: 1.0.0
Tested up to: 5.9
Requires PHP: 7
License: GNU General Public License v2 or later // todo no idea about this
License URI: LICENSE
Text Domain: breakdance

Requires Breakdance to be installed.
/*-------------------------------------------------------------- */


body, html {
    padding: 0;
    margin: 0;
}


:root {
    --grey25: #FCFCFD;
    --grey50: #F9FAFB;
    --grey100: #F5F7FA;
    --borders: #D4DDEA;
    --grey300: #A6B1C2;
    --grey400: #445B78;
    --grey500: #575E6A;
    --grey600: #373C48;
    --grey700: #292D36;
        
  }
  figure {
  margin: 24px 0;
  border-radius: 10px;
  overflow:hidden;
  }
  
  .navigation {
    width:220px !important;
  }
  @media (min-width:767px){
  .wrapper {
    width: calc(100% - 220px) !important;
  }
  }



.breakdance .note {
    display: flex;
    padding: 16px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    border-radius: 5px;
    border-left: 2px solid var(--yellow-400, #FAC515);
    background: var(--yellow-50, #FEFBE8);
    margin: 24px 0;
    
}

.breakdance .note h6 {
    color: var(--grey600);
    font-weight: 600;
    line-height: 20px;
    margin: 0;
    font-size: 14px;
    letter-spacing: initial;
    text-transform: initial;
}
.breakdance .note p {
    color: var(--grey400);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin:0
}

.breakdance .note.prerequisites {
    border-left: 2px solid var(--primary-blue-500, #007BFF);
    background: var(--primary-blue-50, #EFF4FF);
}
.breakdance .note.important {
    border-color: var(--error-500, #F04438);
    background: var(--error-50, #FEF3F2);
}

#toc-menu {
    gap: 24px;
    flex-direction: column;
}
#toc-menu h2 {
    color: var(--grey-grey-300, #A6B1C2);
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}
#toc-menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
}
#toc-menu > ul li {
    margin: 8px 0;
}
#toc-menu > ul#toc-list > li:first-of-type {
    margin: 0;
}
#toc-menu > ul li a {
    color: var(--grey400);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none !important;
    display: block;
    transition: all .2s ease;
}
#toc-menu > ul li.active a {
    color: var(--bde-brand-primary-color);
}

#toc-menu ul li ul {
    padding-left: 12px;
}

#documentation_article h2 {
    margin-top: 96px;
}
#documentation_article h3 {
    margin-top: 48px;
}


.search-popup #searchwp-form-1 .swp-input, 
.search-popup #searchwp-form-1 .swp-select {
    appearance: none;
    background: #FFF;
    border: 0;
    color: var(--grey600);
    flex: 1;
    font: inherit;
    font-size: 1.2em;
    height: 50px;
    outline: 0;
    padding: 0 16px;
    border-radius: 4px;
    box-shadow: 0px 0px 0px 1px #00000025;
}

.search-popup #searchwp-form-1 .swp-input::placeholder {
    color: var(--grey300)
}
.search-popup #searchwp-form-1 .swp-input:focus {
    background-color: var(--bde-form-input-focused-background-color);
    border-color: var(--bde-form-input-focused-border-color);
    box-shadow: var(--bde-form-input-focused-shadow);
    outline: 0;
}


.searchwp-live-search-results {
    background: var(--grey100);
    margin: 0 -24px;
    padding: 24px;
    width: 100% !important;
    right: 0;
    max-width: 750px;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
    display: flex !important;
    flex-direction: column;
    gap: 6px;
}

.searchwp-live-search-result p {
    display: flex;
    margin: 0;
}
.searchwp-live-search-result p a {
    color: var(--bde-body-text-color);
    text-decoration: none;
    display: flex;
    flex-grow: 1;
    padding: 16px;
    background-color: #FFF;
    border-radius: 5px;
    font-family: system-ui;
    font-size: 15px;
}
.searchwp-live-search-result p a:hover {
    background-color: var(--bde-brand-primary-color);
    color: white;
}

.fid-latest-post {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
}
.fid-latest-post img {
    width: 200px;
    border-radius: 10px;
    height: fit-content !important;
}
.fid-latest-post .text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fid-latest-post .text h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}
.fid-latest-post .text h4,
.fid-latest-post .text .excerpt,
.fid-latest-post .text .link {
    color: white;
}
.fid-latest-post .text .excerpt {
    font-size: 14px;
    line-height: 1.4;
    max-width: 50%;
    opacity: .8;
}
.fid-latest-post .text .link {
    margin-top: 12px;
    text-decoration: none;
}
.fid-latest-post .text .link:hover {
    color: var(--bde-brand-primary-color);
}

figure.wp-block-table table td {
    border: 1px solid var(--borders);
    line-height: 1.4;
    padding: 12px;
}
figure.wp-block-table table tbody > tr:first-of-type td {
    color: var(--grey600);
}
figure.wp-block-table table tbody > tr:not(:first-of-type) td:first-of-type {
    color: var(--bde-brand-primary-color);
}

figure.wp-block-table table tbody > tr > td:first-of-type,
figure.wp-block-table table tbody > tr > td:nth-child(2) {
    white-space: nowrap;
}
figcaption.wp-element-caption {
    text-align: center;
    font-size: 13px;
    font-style: italic;
}