:root {
    --colour-black: #000000;

    --dxp-brand-1: #00a0ff;
    --dxp-brand-contrast-1: #ffffff;

    /*
      Dark colours
    */
    --colour-black: #000000;
    --colour-dark-blue: var(--dxp-g-brand);
    --colour-dark-grey: var(--dxp-s-dropdown-color-border);

    /*
      Outline colours
    */
    --colour-outline-grey: #cfdbd5;

    /*
      Light colours
    */
    --colour-white: var(--dxp-g-brand-contrast);
    --colour-light-grey: #f1f5f5;
    --colour-light-blue: var(--dxp-brand-1);
    --colour-green: #6ecc34;
    --colour-red: #ff0000;
    --colour-gold: #eac860;
    /*
      Announcements-Alerts colours
    */
    --colour-announcement-blue: #ccecff;
    --colour-announcement-pale-orange: #ffebd9;
    --colour-announcement-green: #d4efdb;
    --colour-announcement-red: #ffcfcd;

    /*
      Margin/padding/gap sizing
    */
    --spacing-xxx-large: var(--slds-g-spacing-6);
    --spacing-xx-large: 1.75rem;
    --spacing-x-large: var(--slds-g-spacing-5);
    --spacing-large: 1.25rem;
    --spacing-medium: var(--slds-g-spacing-4);
    --spacing-small: var(--slds-g-spacing-3);
    --spacing-x-small: var(--slds-g-spacing-2);
    --spacing-xx-small: var(--slds-g-spacing-1);

    /*
        Typography
      */
    --font-size-xx-large: var(--dxp-s-text-heading-extra-large-font-size);
    --font-size-x-large: var(--dxp-s-text-heading-large-font-size);
    --font-size-large: var(--dxp-s-text-heading-medium-font-size);
    --font-size-medium: var(--dxp-s-text-heading-small-font-size);
    --font-size-small: var(--dxp-s-text-heading-extra-small-font-size);
    --font-size-x-small: var(--dxp-s-body-text-font-size);
    --font-size-xx-small: var(--dxp-s-body-small-text-font-size);

    --font-weight-bold: var(--dxp-s-text-heading-extra-large-font-weight);
    --font-weight-semibold: var(--dxp-s-text-heading-large-font-weight);
    --font-weight-regular: var(--dxp-s-body-text-font-weight);
    --font-weight-light: var(--dxp-s-body-small-text-font-weight);
}
.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.align-center {
    align-items: center;
}
.space-between {
    justify-content: space-between;
}
.space-around {
    justify-content: space-around;
}
.align-self-center {
    align-self: center;
}
.content-section {
    height: var(--available-space);
    overflow-y: auto;
    /* -ms-overflow-style: none;
  scrollbar-width: none; */
}
.content-section-full {
    /* --footer-height: 0px;
  --header-height: 0px; */
    width: 100svw;
    height: 100svh;
}
/*
      Checkbox animation
  */
.checkbox-el {
    position: relative;
    margin-left: 4px;
    width: 25px;
    float: left;
    margin: 2px 10px 2px 1px;
    height: 25px;
    border-radius: 50%;
    vertical-align: middle;
    border: 2px solid var(--colour-outline-grey);
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    padding: 5px;
}
.checkbox-el[data-checked='true'] {
    border-color: var(--colour-green);
}

.checkbox-el input {
    width: 100%;
    height: 100%;
    position: absolute;
    top: -3px;
    left: -3px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.checkbox-circle {
    position: relative;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: scale(0.5);
    transition: all 0.25s ease-in;
}

.checkbox-el input:checked + .checkbox-circle {
    background-color: var(--colour-green);

    transform: scale(1);
}

.footer,
.header {
    --dxp-s-section-content-spacing-block-start-mobile: 0rem;
    --dxp-s-section-content-spacing-block-end-mobile: 0rem;
    --dxp-s-section-content-spacing-inline-start-mobile: 0rem;
    --dxp-s-section-content-spacing-inline-end-mobile: 0rem;
}

/*Experimental*/
c-i-t-community-theme,
community_byo-scoped-header-and-footer {
    display: flex;
    flex-direction: column;
    height: 100svh;

    > section {
        flex-grow: 1;
        overflow-y: auto;
    }
    > main {
        flex-grow: 1;
        overflow-y: auto;
    }
    > footer {
        height: fit-content;
        & community_layout-section {
            height: fit-content;
        }
    }
}

html,
body {
    height: 100%;
    font-family:
        Manrope,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        'Open Sans',
        'Helvetica Neue',
        sans-serif;
}

html {
    background: white;
}

body {
    margin: 0;
    font-size: var(--font-size-small);
}
@media (min-width: 64em) {
    body {
        font-size: var(--font-size-medium);
    }
    .header {
        min-height: 5.5rem;
    }
}
