/* ==========================================================================
   SPECIFICS
   --------------------------------------------------------------------------
   * INVERTING CLICKABLE COLORS (commented and ready to use)
      : Nav
      : Tabs
      : Switcher
      : Dropdown

   * COMPONENTS
      : Dashlet box (New)
      : Dashlet list (New)
      : Reports box (New)
      : Stats box (New)
      : Pipeline list (New)
      : New requisition from scratch (New)

   * PAGETYPES
      : Dashboard
         : Wrapper (Override/complement)
         : Section (Override/complement)

    * OVERRIDES AND NEW STYLES:

    * 02 STRUCTURE
      : Nav

    * 03 ELEMENTS
      : Vars
      : Buttons
         : Button green
      : Fields
         : Select
         : Select2
         : Custom dropdown
      : Tag
      : Typography
         : Title
      : Toggle
         : Status toggle
         : Add note
      : Boxes

    * 04 COMPONENTS
      : Tabs
         : Section
      : fieldSpec
         : Add note field
      : Button bar
      : Tables
      : Mobile search form
      : Pagination
      : Detail view
         : Fields values
         : Aside
         : Attachments list
         : Dataset field last note
      : Resources

    * 05 MODULES
      : Banner
      : Footer
      : Header
      : List controls
         : Top
      : Breadcrumbs

    * 06 PAGETYPES
        : Body sidebar left
        : Body sidebar right
        : Glightbox (popups)
        : Ticket success

    * 07 UTILITIES
   ========================================================================== */

/* INVERTING CLICKABLE COLORS: Nav
   -------------------------------------------------------------------------- */

/* INVERTING CLICKABLE COLORS: Tabs
   -------------------------------------------------------------------------- */

/* INVERTING CLICKABLE COLORS: Switcher
   -------------------------------------------------------------------------- */

/* INVERTING CLICKABLE COLORS: Dropdown
   -------------------------------------------------------------------------- */

/* COMPONENTS: Dashlet box (New)
   -------------------------------------------------------------------------- */

.article--boxed--dashlet .article__header__count {
    vertical-align: middle;
    font-weight: var(--font--weight--bold);
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .article--boxed--dashlet .article__header__count {
        font-size: 2.8rem;
    }

}

/* Media query to target only tablet */
@media all and (min-width:751px) and (max-width:1024px) {
    .article--boxed--dashlet.article--accordion > .article__header {
        padding-right: var(--boxes--padding--outers);
    }

    .article--boxed--dashlet[class*="--accordion"]:not([class*="--accordion__open"]) > [class*="__content"] {
        display: block;
    }

}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .article--boxed--dashlet {
        display: flex;
        flex-direction: column;
    }

    .article--boxed--dashlet .article__header__count {
        font-size: 3.6rem;
    }

    .article--boxed--dashlet .article__content {
        flex-grow: 1;
    }

}

/* COMPONENTS: Dashlet list (New)
   -------------------------------------------------------------------------- */

.list--dashlet {
    margin-bottom: -.1rem;
}

.list--dashlet .list__item {
    border-bottom-width: .1rem;
    border-bottom-style: solid;
    border-bottom-color: var(--boxes--border--color);
}

.list--dashlet .list__item__text {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    min-height: calc(var(--sizing--basis) * 16);
    padding: var(--spacer--s) var(--spacer--m);
    transition: all 0.3s ease;
}

.list--dashlet .list__item:not(.partially-saved) a.list__item__text:hover {
    background-color: var(--color--clickeable);
    transition: all 0.3s ease;
}

.list--dashlet a.list__item__text .list__item__text__title {
    font-weight: var(--font--weight--bold);
    line-height: 160%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--color--clickeable);
    transition: all 0.3s ease;
}

.list--dashlet .list__item:not(.partially-saved) a.list__item__text:hover .list__item__text__title {
    color: var(--color--white);
    transition: all 0.3s ease;
}

.list--dashlet .list__item__text__subtitle {
    width: 100%;
    font-size: 1.4rem;
    line-height: 160%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: all 0.3s ease;
}

.list--dashlet .list__item:not(.partially-saved) a.list__item__text:hover .list__item__text__subtitle {
    color: var(--color--white);
    transition: all 0.3s ease;
}

/* COMPONENTS: Reports box (New)
   -------------------------------------------------------------------------- */

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .article--report.article--boxed {
        padding: var(--spacer--m) var(--spacer--m);
    }

    .article--report .article__header {
        flex-wrap: wrap;
    }

    .article--report .article__header__text {
        width: 100%
    }

    .article--report .article__header__actions {
        margin-top: var(--spacer--s);
        width: 100%
    }

    .article--report .article__header__actions .switcher {
        display: none;
    }

    .article--report .article__header + .article__content {
        margin-top: var(--spacer--s2);
    }

    .article--report .article__content__graphic {
        display: none;
    }

}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .article--report .article__header {
        align-items: baseline;
    }

    .article--report .article__header__text {
        flex-grow: initial;
        white-space: nowrap;
    }

    .article--report .article__header__actions {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        flex-grow: 1;
        margin-left: var(--spacer--m);
    }

    .article--report .article__header__actions .switcher__pointing {
        font-size: 120%;
    }

    .article--report .article__content__table {
        display: none;
    }

    .article--report .article__content__graphic .highcharts-container,
    .article--report .article__content__graphic .highcharts-container svg {
        max-width: 100%;
    }

}

/* Media query to target only tablet */
@media all and (min-width:751px) and (max-width:1024px) {
    .article--report.article--boxed {
        padding: var(--spacer--xl) var(--spacer--l) var(--spacer--l);
    }

    .article--report .article__header {
        padding-bottom: var(--spacer--m);
    }

}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .article--report.article--boxed {
        padding: var(--spacer--xl) var(--spacer--xl) var(--spacer--l);
    }

    .article--report .article__header {
        margin-bottom: var(--spacer--l);
        border-bottom-width: .1rem;
        border-bottom-style: solid;
        border-bottom-color: var(--dividers--border--color);
        padding-bottom: var(--spacer--l);
    }

}

.article--report .table .sort__item__icon {
    display: none; /* Patch: We hide the sort via CSS, this should be done via flow */
}

/* COMPONENTS: Stats box (New)
   -------------------------------------------------------------------------- */

.article--stats.article--boxed {
    padding: var(--boxes--padding--outers) var(--boxes--padding--outers);
}

.article--stats .article__header__count {
    font-size: 5.8rem;
    font-weight: 300;
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .article--stats .article__header {
        display: block;
        text-align: center;
    }

    .article--stats .article__header__text {
        margin-top: var(--spacer--xs);
    }

}

/* Media query to target only tablet */
@media all and (min-width:751px) and (max-width:1024px) {
    .article--stats .article__header {
        flex-direction: row;
    }

    .article--stats .article__header__count {
        margin-right: var(--spacer--s);
    }

}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .article--stats .article__header {
        display: block;
        text-align: center;
    }

    .article--stats .article__header__text {
        margin-top: var(--spacer--xs);
    }

}

/* COMPONENTS: Pipeline list (New)
   -------------------------------------------------------------------------- */

.list--pipeline a {
    display: flex;
    align-items: center;
    border-top-width: .1rem;
    border-top-style: solid;
    border-top-color: var(--dividers--border--color);
    padding: var(--spacer--s) 0;
}

.list--pipeline .list__item__count {
    width: calc(var(--sizing--basis) * 9);
    margin-right: var(--spacer--m);
    text-align: right;
}

.list--pipeline .list__item__count__value {
    font-size: 3.2rem;
    color: var(--color--clickeable);
}

.list--pipeline .list__item__text {
    flex-grow: 1;
}

.list--pipeline .list__item__text__title {
    font-size: 1.4rem;
}

/* COMPONENT: New requisition from scratch (New)
   -------------------------------------------------------------------------- */

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .article--from-scratch {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .article--from-scratch .article__content {
        flex-grow: 1;
    }

}

/* PAGETYPES: Dashboard: Wrapper (Override/complement)
   -------------------------------------------------------------------------- */

.body--dashboard .main__wrapper {
    padding-top: var(--spacer--l);
}

/* PAGETYPES: Dashboard: Section (Override/complement)
   -------------------------------------------------------------------------- */

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .section--dashboard .section__header {
        flex-wrap: wrap;
    }

    .section--dashboard .section__header__text__title__welcome {
        display: block;
        font-size: 1.8rem;
        font-weight: 400;
    }

    .section--dashboard .section__header__text__title__user {
        display: block;
    }

    .section--dashboard .section__header__actions {
        margin-top: var(--spacer--m);
        width: 100%;
    }

    .section--dashboard .section__header + .section__content {
        margin-top: var(--spacer--m);
    }

    .section--dashboard .section__content + .section__content {
        margin-top: var(--spacer--l);
    }

    .section--dashboard .section__content--report {
        margin-right: calc(-1 * var(--grid--laterals));
        margin-left: calc(-1 * var(--grid--laterals));
        width: auto;
        background-color: var(--color--brand--sub-2);
        padding-top: var(--spacer--l);
        padding-right: var(--grid--laterals);
        padding-bottom: var(--spacer--l);
        padding-left: var(--grid--laterals);
    }

    .section--dashboard .section__content + .section__content--stats {
        margin-top: calc(-1 * var(--spacer--l));
        margin-right: calc(-1 * var(--grid--laterals));
        margin-bottom: calc(-1 * var(--main--padding--bottom));
        margin-left: calc(-1 * var(--grid--laterals));
        width: auto;
        background-color: var(--color--brand--sub-2);
        padding-top: var(--spacer--l);
        padding-right: var(--grid--laterals);
        padding-bottom: var(--spacer--l);
        padding-left: var(--grid--laterals);
    }

}

/* Media query to target only tablet */
@media all and (min-width:751px) and (max-width:1024px) {
    .section--dashboard .section__content + .section__content {
        margin-top: var(--spacer--xl);
    }

    .section--dashboard .grid--3 > .grid__item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .section--dashboard .section__content--stats .grid > .grid__item {
        flex: 0 0 100%;
        max-width: 100%;
    }

}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .section--dashboard .section__header + .section__content {
        margin-top: var(--spacer--l);
    }

}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .section--dashboard .section__content + .section__content {
        margin-top: var(--spacer--xxl);
    }

}

/* 02 STRUCTURE: Nav
   -------------------------------------------------------------------------- */
.nav__item__link{
    font-weight: var(--font--weight--semibold);
}

.nav__item__link>img{
    margin-top: calc(-1 * 0.2rem);
}

.subnav__item__link, .portalLanguages__link{
    font-size: var(--font--size);
    font-weight: var(--font--weight--semibold);
}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .header__nav > div{
        display: flex;
        align-items: stretch;
        height: 100%;
    }

    .nav{
        align-items: stretch;
        height: 100%;
    }

    .nav__list{
        height: 100%;
        align-items: stretch;
    }

    .nav__item{
        display: inline-flex;
        height: 100%;
        align-items: center;
    }

    .header__nav .nav__item:not(.nav__item--active):not(.nav__item--has-subnav) .nav__item__link:not(.button):hover,
    .header__nav .nav__item--active:not(.nav__item--has-subnav) .nav__item__link{
        border-bottom-color: var(--color--brand);
        color: var(--color--brand);
    }

    .header__nav .nav .nav__item__link{
        border-bottom-width: .2rem;
        border-bottom-style: solid;
    }

    .nav [class*="__item__link"]{
        display: inline-flex;
        height: 100%;
        align-items: center;
    }

    .nav__item + .nav__item {
        margin-left: var(--spacer--l);
    }

    .nav__item--has-subnav--with-arrow .nav__item__link{
        padding-top: 0;
        padding-left: 0;
        padding-bottom: 0;
    }

    .nav__item--has-subnav--with-arrow:last-child .nav__item__link{
        padding-right: 0;
    }

    .nav__item__link{
        padding-right: 0;
        padding-left: 0;
    }

    .nav__item--has-subnav:hover .nav__item__link{
        background-color: transparent;
        box-shadow: none;
        border-color: transparent;
    }

    .subnav__list,
    .portalLanguages{
        top: 100%;
        border: 0;
        box-shadow: 0 2px 6px 0 rgb(0 29 67 / 20%);
        min-width: 16rem;
    }

    .nav__list--separator-left-before {
        position: relative;
        margin-left: var(--spacer--xxxl);
    }

    .nav__list--separator-left-before:before {
        content: '';
        position: absolute;
        border-left: .1rem solid var(--color--clickeable);
        height: calc(100% - (var(--spacer--s2) + var(--spacer--s2)));
        left: calc(var(--spacer--l) * -1);
        top: var(--spacer--s2);
    }

    .nav [class*="__item__link"]{
        width: 100%;
    }

    .subnav__item + .subnav__item, .portalLanguages__item + .portalLanguages__item{
        border-color: #cccccc;
    }

    .nav__item--has-subnav:hover .subnav__item:not(.subnav__item--active) .subnav__item__link:hover,
    .nav__item--has-subnav:hover .subnav__item:not(.subnav__item--active) .subnav__item__link:focus,
    .nav__item--has-subnav:hover .subnav__item:not(.subnav__item--active) .subnav__item__link:active,
    .portalLanguages__item:not(.portalLanguages__item--selected) .portalLanguages__link:hover,
    .portalLanguages__item:not(.portalLanguages__item--selected) .portalLanguages__link:focus,
    .portalLanguages__item:not(.portalLanguages__item--selected) .portalLanguages__link:active,
    .portalLanguages__item.portalLanguages__item--selected .portalLanguages__link{
        background-color: #e5e9ed;
        color: var(--color--clickeable);
    }
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .tpt_mobile-menu--from-left--moves-over{
        margin-top: var(--header--height);
    }

    .nav__item {
        border-top:0;
    }

    .nav__item__link{
        padding: var(--spacer--s2) 0;
    }

    a[class*="__trigger"].open:before{
        top: var(--header--height);
        background-color: rgba(51, 51, 51, 0.9);
    }

    a[class*="__trigger"] {
        background-color: #e8f2ff;
        background-size: 2.5rem;
        width: var(--mobile--menu--icon);
    }

    .header--mobile-menu--from-left .header__wrapper {
        padding-left: calc(var(--mobile--menu--icon) + var(--grid--laterals));
    }

    .nav {
        background-color: #0d294d;
        padding: var(--spacer--l) 0 0;
    }

    .nav__item:not(.nav__item--active) .nav__item__link,
    .nav__item:not(.nav__item--active) .nav__item__link:link,
    .nav__item:not(.nav__item--active) .nav__item__link:visited,
    .nav__item.nav__item--active .nav__item__link,
    .nav__item.nav__item--active .nav__item__link:link,
    .nav__item.nav__item--active .nav__item__link:visited,
    .portalLanguages__item:not(.portalLanguages__item--selected) .portalLanguages__link,
    .portalLanguages__item:not(.portalLanguages__item--selected) .portalLanguages__link:link,
    .portalLanguages__item:not(.portalLanguages__item--selected) .portalLanguages__link:visited,
    .subnav__item:not(.subnav__item--active) .subnav__item__link,
    .subnav__item:not(.subnav__item--active) .subnav__item__link:link,
    .subnav__item:not(.subnav__item--active) .subnav__item__link:visited,
    .portalLanguages__item--selected .portalLanguages__link,
    .subnav__item--active .subnav__item__link {
        color: var(--color--white);
    }

    .nav__item--has-subnav .nav__item__link:after{
        color: var(--color--white);
    }

}

/* Nav with button */

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .header__nav__button{
        margin-left: var(--spacer--l);
    }
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .header__nav__button .nav__list {
        padding: 0;
    }
}

/* 03 ELEMENTS: Vars
   -------------------------------------------------------------------------- */
:root{
    /* header */
    --mobile--menu--icon: 5.7rem;
}

/* 03 ELEMENTS: Buttons
   -------------------------------------------------------------------------- */
.form [class$="Button"],
.button{
    padding: var(--spacer--s) var(--spacer--l);
}

.form .cancelButton:first-child:last-child,
.form .clearButton:first-child:last-child {
    padding-left: 0;
}

.form [class$="Button"]:not(.cancelButton) + .cancelButton,
.form [class$="Button"]:not(.cancelButton) + .clearButton{
    margin-left: 0;
}

/* Button green */
.button--green,
.button--green:hover,
.button--green:focus,
.button--green:active{
    background-color: var(--color--brand--sub-3);
    border-color: var(--color--brand--sub-3);
    color: var(--color--brand--sub-1)
}

/* 03 ELEMENTS: Fields
   -------------------------------------------------------------------------- */
/* Select */
.body--ismobile.body--Safari .form input[type=date],
.body--ismobile.body--Safari .form input[type=month],
.form select:not([multiple]){
    background-position: right calc(var(--fields--padding--h) - var(--fields--border--width)) center;
}

/* Select2 */
.select2-container--default .select2-selection--multiple .select2-selection__placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container--default .select2-selection--multiple .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: var(--font);
}

.select2-container--default .select2-selection--single .select2-selection__rendered[title]{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

/* Dropdown */
.dropdown--open .dropdown__list,
.dropdown:hover .dropdown__list{
    right: auto;
    left: 0;
}

.form textarea {
    white-space: normal;
}

/* 03 ELEMENTS: Tag
   -------------------------------------------------------------------------- */
.tag{
    display: inline-flex;
    border-radius: 1rem;
    background-color: var(--color--brand--sub-2);
    font-size: 1.2rem;
    padding: var(--spacer--xxs) var(--spacer--s2);
    width: auto;
    font-weight: var(--font--weight--bold);
}

/* 03 ELEMENTS: Typography
   -------------------------------------------------------------------------- */
/* Title */
.title--default--font{
    --title--font: var(--font);
}

.title--blue{
    color: var(--color--brand--sub-1);
}

.title--white{
    color: var(--color--white);
}
/* 03 ELEMENTS: Toggle
   -------------------------------------------------------------------------- */
/* Status*/
.js_collapsible--enabled.article--details.article--status{
    border: 0;
}

.js_collapsible--enabled.article--status .article__header:after {
    margin-left: 0;
}

.js_collapsible--enabled.article--status .article__header__text {
    flex-grow: inherit;
}

/* Add note */
.js_collapsible--enabled.article--note:last-of-type{
    padding-top: var(--spacer--l);
    border: .1rem solid var(--toggle--font--color);
}

.js_collapsible--enabled.article--note .article__header:after{
    background-color: #deecff;
    border-radius: 50%;
}

.js_collapsible--enabled.article--note .article__header + .article__content{
    margin-top: 0;
}

.article--note.article--details.js_collapsible--enabled .js_collapsible__header:after{
    --toggle--height: var(--toggle--width);
    --toggle--width: var(--spacer--xl);
}

.js_collapsible--enabled.article--note .article__content .form--has-errors{
    padding-top: var(--spacer--m);
}

/* 03 ELEMENTS: Boxes
   -------------------------------------------------------------------------- */
[class*="--boxed"] {
    box-shadow: 0 2px 6px 0 var(--color--shadow);
    padding:var(--spacer--l);
}

/* 04 COMPONENTS: fieldSpec
   -------------------------------------------------------------------------- */
.fieldSpec > label,
.datasetfieldSpec > label,
.formfieldSpec > label,
.fieldSpec fieldset > legend,
.AlertCustomField label,
.DateFormField > div > label{
    font-family: var(--font--alt);
    font-weight:var(--font--weight--bold);
}

/* Add note field */
.fieldSpec--note .multipleDatasetWrapper div[id*=multipleDatasetEntry_]{
    background-color: var(--color--white);
}

.fieldSpec--note .multipleDatasetWrapper div[id*=multipleDatasetEntry_]:not(:nth-child(2)){
    padding: 0 var(--spacer--m);
}

.fieldSpec--note div[id*=multipleDatasetEntry_] .datasetFieldContainer:last-child .datasetfieldSpec{
    padding-bottom: 0;
}

/* Separator */
.form .Separator > legend{
    color: var(--color--brand--sub-1);
}

/* DateFormField */
.fieldSpec.DateFormField--inline fieldset > div select{
    background-size: var(--spacer--s2);
}

.fieldSpec.DateFormField--inline fieldset{
    --grid--columns--gap: var(--spacer--s);
    --fields--icon--width: var(--spacer--l);
}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .DateFormField--inline [class*="content"],
    /* to be deleted when we get the [class*="content"] classes added */
    /* as .fieldSpec or a .formFieldSpec, with a fieldset>legend+description+X structure */
    .DateFormField--inline.fieldSpec:not(.hasErrors) > fieldset > div:not([class]),
    .DateFormField--inline.fieldSpec.hasErrors > fieldset > div:not([class], [id]) > div:not([class]) {
        flex-direction: row;
    }

    .DateFormField--inline [class*="content"] > *,
    /* as .fieldSpec or a .formFieldSpec, with a fieldset>legend+description+X structure */
    .DateFormField--inline.fieldSpec:not(.hasErrors) > fieldset > div:not([class]) > *,
    .DateFormField--inline.fieldSpec.hasErrors > fieldset > div:not([class], [id]) > div:not([class]) > * {
        flex: 1;
    }

}
/* 04 COMPONENTS: Button bar
   -------------------------------------------------------------------------- */
.fieldSpec+.button-bar.fieldSpec{
    padding-top: var(--spacer--m);
}
/* 04 COMPONENTS: Tables
   -------------------------------------------------------------------------- */
.table--default thead tr th,
.tableField thead tr th{
    background-color: var(--color--white);
    font-family: var(--font--alt);
    font-weight: var(--font--weight--bolder);
    border-bottom-color: #111;
    table-layout: fixed;
}

.table--default{
    background: var(--color--white);
}

.table--default tbody tr>:nth-child(1) .link{
    white-space: normal;
}

.table--cards tbody tr td:nth-last-child(1) .link{
    font-size: 1.6rem;
    text-transform: none;
}

.table--cards tbody tr{
    border: .1rem solid #9c9c9c;
    border-radius: var(--table--border--radius);
}

.table--cards tbody tr>:nth-child(1){
     border-bottom: .1rem solid #9c9c9c;
}

.table--cards tbody tr>*{
    font-size: var(--font);
}
/* Media query to target only tablet */
@media all and (min-width:751px) and (max-width:1024px) {
    .table--cards tbody tr:not(.table__row--open) td:nth-last-child(1):not(:nth-child(1)){
        border-top-color: #9c9c9c;
    }
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .table--cards tbody tr.table__row--open td:nth-last-child(1):not(:nth-child(1)){
        border-top-color: #9c9c9c;
    }
}
/* Table with tag in th */
.table--cards.table--cards--with-tag tbody tr>:nth-child(1){
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: var(--spacer--s);
    justify-content: center;
}

.table--cards.table--cards--with-tag tbody tr.table__row--open td:nth-last-child(1):not(:nth-child(1)){
    margin-top: var(--spacer--s);
}

.table--cards.table--cards--with-tag tbody tr>:nth-child(1) .t--e{
    max-width: 100%;
}

.table--cards.table--cards--with-tag tbody tr>:nth-child(1) .tag + *{
    margin-top: var(--spacer--s);
}

/* 04 COMPONENTS: Tabs
   -------------------------------------------------------------------------- */

.tabs__list {
    border-bottom-width: 0;
}

.tabs__list__item {
    text-transform: initial;
    font-size: 1.8rem;
}

@media all and (max-width:1024px) {
    .tabs__placeholder {
        border-bottom-width: 0;
    }

    .tabs__list__item{
        font-size: var(--font--size);
    }

    .tabs__placeholder {
        border: .1rem solid var(--color--borders);
        border-radius: var(--border--radius--default);
        padding: 0 var(--spacer--m);
        font-family: var(--font);
        font-weight: 500;
    }

    .tabs--open .tabs__placeholder{
        border-radius: var(--border--radius--default) var(--border--radius--default) 0 0;
        border-bottom: 0;
    }

    .tabs--open .tabs__list__item--active{
        display: none;
    }

    .tabs.tabs--open .tabs__list{
        width: 100%;
        border-top: 0;
    }

   .tabs__placeholder:after{
        position: absolute;
        right: var(--spacer--m);
    }
}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .tabs__list__item {
        position: relative;
        margin-bottom: 0;
        border-bottom-width: 0;
        padding: var(--spacer--s2) var(--spacer--xl);
        font-family: var(--font--alt);
        font-weight: 600;
    }
    .tabs__list__item:before,
    .tabs__list__item:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1;
        width: 50%;
        background-color: transparent;
        transform-origin: bottom;
    }
    .tabs__list__item:before {
        border-radius: .8rem 0 0 0;
        left: 0;
        transform: skew(-18deg);
    }
    .tabs__list__item:after {
        border-radius: 0 .8rem 0 0;
        right: 0;
        transform: skew(18deg);
    }
    .tabs__list__item--active:before,
    .tabs__list__item--active:after {
        background-color: var(--color--grey--lighter);
    }
    .tabs__list__item>* {
        position: relative;
        z-index: 2;
    }
}

/* Tabs: Section */
.body--list--with-tabs .section {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.body--list--with-tabs .section__content {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    position: relative;
    background-color: var(--color--grey--lighter);
    margin-right: calc(-1 * (100vw - 100%)/2);
    margin-bottom: calc(-1 * var(--main--padding--bottom));
    margin-left: calc(-1 * (100vw - 100%)/2);
    padding-bottom: var(--main--padding--bottom);
}

.body--list--with-tabs .section__header.section__header--tabs+:not([class*="--narrow"]){
    margin-top: -.1rem;
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .body--list--with-tabs .section__header {
        flex-direction: column;
        flex-flow: column-reverse;
        gap: var(--spacer--m);
    }

    .body--list--with-tabs .section__header > * {
        width: 100%;
    }

    .body--list--with-tabs .section__header__actions .button {
        width: 100%;
    }

}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .body--list--with-tabs .main {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
    }
    .body--list--with-tabs .main__wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        width: 100%;
        --main--padding--top: var(--spacer--l);
    }
    .body--list--with-tabs .main__content {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        width: 100%;
    }
    .body--list--with-tabs .section:last-of-type {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }

}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .body--list--with-tabs .section__header__actions {
        -moz-transform: translateY(calc(-1 * var(--spacer--l)));
        -webkit-transform: translateY(calc(-1 * var(--spacer--l)));
        -o-transform: translateY(calc(-1 * var(--spacer--l)));
        -ms-transform: translateY(calc(-1 * var(--spacer--l)));
        transform: translateY(calc(-1 * var(--spacer--l)));
    }
    .body--list--with-tabs .section__content {
        margin-top: 0;

    }

    .body--list--with-tabs .section__header + .section__content{
        padding-top: var(--spacer--l);
    }

}

/* 04 COMPONENTS: Mobile search form
   -------------------------------------------------------------------------- */
/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .section--collapsible-form-search .form--search{
        top: calc(6.5rem * -1);
    }

    .section--collapsible-form-search .section__header--tabs{
        width: calc(100% - var(--toggle--width));
    }

    .section--collapsible-form-search .section__header--tabs+.section__content{
        margin-top: var(--spacer--l);
    }

    .section--collapsible-form-search .form--search .toggle--search{
         right: var(--grid--laterals);
        --toggle--background--color: var(--color--white);
        color: var(--color--brand--sub-1);
        justify-content: right;
        border-radius: 0;
        height: var(--toggle--height);
    }

    .section--collapsible-form-search .form--search .Section{
        background-color: var(--color--white);
        box-shadow: -.1rem .3rem .5rem 0 var(--color--shadow);
        padding-right: var(--grid--laterals);
        padding-left: var(--grid--laterals);
        margin-top: calc(var(--toggle--height) + 1px);
    }

    .section--collapsible-form-search .form--search.form--grid--4 .fieldSpec{
        width: 100%;
        padding-left: 0;
    }

    .section--collapsible-form-search .form--search .button-bar:not([class*=col]) button{
        width: 100%;
    }
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .section--collapsible-form-search .form--search .Section{
        margin-right: 0;
        margin-left: 0;
    }
}

/* 04 COMPONENTS: Pagination
   -------------------------------------------------------------------------- */
.list-controls{
    font-size: var(--font--size);
}

.list-controls__pagination{
    font-weight: var(--font--weight--bold);
}

.list-controls--bottom + * {
    margin-top: var(--spacer--l);
}
/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .list-controls__pagination{
        justify-content: flex-end;
    }
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .list-controls__pagination{
        justify-content: center;
    }
}

/* 04 COMPONENTS: Detail view
   -------------------------------------------------------------------------- */
.article--details .article__header + .article__content {
    margin-top: var(--spacer--l);
}

.article--details .MultipleDataSetField,
.article--details .article__content__view__field {
    padding-bottom: var(--spacer--s2);
}

.article--details .article__content__view__field__value div + div {
    margin-top: var(--spacer--s);
}

.article--details:not(.article--user) +.article--details:not(.article--user) {
    border: 0;
}

/* Fields value tag */
.article--details .regular-field-value--tag .article__content__view__field__value{
    display: inline-flex;
    border-radius: 1rem;
    background-color: var(--color--brand--sub-2);
    font-size: 1.2rem;
    padding: var(--spacer--xs) var(--spacer--s2);
    width: auto;
    font-weight: var(--font--weight--bold);
}

/* Aside */
.aside .article--details .article__footer{
    margin-top: var(--spacer--m);
}

.aside .article--details .article__header + .article__content {
    margin-top: var(--spacer--m);
}

.aside .article--details+.article--details{
    padding-top: var(--spacer--xs);
}
.aside .downloadAttachmentsForm{
    display: none;
}

/* Attachments list */
.list--attachments .list__item+.list__item {
    margin-top: var(--spacer--m);
}

/* Dataset field last note */
.article--details .dataset-field--last-note br{
    display: none;
}
.article--details .dataset-field--last-note .MultipleDataSetFieldLabel{
    display: none;
}

.article--details .dataset-field--last-note .MultipleDataSetField:first-child .MultipleDataSetFieldValue{
    font-family: var(--font--alt);
    font-size: var(--font--size--02);
    font-weight: var(--font--weight--bolder);
}

.article--details .dataset-field--last-note .MultipleDataSetField:nth-child(2) .MultipleDataSetFieldValue{
    font-size: var(--font--size--00);
}

.article--details .dataset-field--last-note .MultipleDataSetField:nth-child(3) .MultipleDataSetFieldValue{
    margin-top: var(--spacer--m);
}
.article--details .dataset-field--last-note .MultipleDataSetField:nth-child(4){
    display: none;
}

.article--details .dataset-field--last-note .MultipleDataSetField{
    padding-bottom: var(--spacer--xs);
}

.article--details .dataset-field--last-note .MultipleDataSetFields:not(:last-of-type){
    display: none;
}
/* Boxed */
.article--details.fields--boxed {
    background-color: var(--color--grey--lighter);
    box-shadow: none;
}

/* 04 COMPONENTS: Resources
   -------------------------------------------------------------------------- */
.article--resources{
    background-image: var(--resources--background);
    background-position: center;
    background-size: cover;
    border-radius: var(--boxes--border--radius);
    padding: var(--spacer--l);
    min-height: 18rem;
    display: flex;
    flex-direction: column;
}

.article--resources .article__header{
    flex-grow: 1;
    align-items: flex-start;
}
.article--resources .link{
    color: var(--color--brand--sub-2);
}

.article--resources .link--with-icon--left .link__icon{
    height: var(--link__icon--width);
}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .aside .article--resources{
        max-width: 26rem;
    }
}
/* Media query to target only tablet */
@media all and (min-width:751px) and (max-width:1024px) {
    .aside .article--resources{
        float: left;
        max-width: 50%;
    }
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .aside .article--resources{
        width: 100%;
    }
}

/* 05 MODULES: Banner
   -------------------------------------------------------------------------- */
.banner__wrapper {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.banner__text{
    text-align: center;
}

.banner__text__subtitle{
    color: var(--color--brand--sub-2);
    font-weight: var(--font--weight--bolder);
    font-family: var(--font--alt);
}

.banner__text__subtitle + *{
    margin-top: var(--spacer--m);
}

/* 05 MODULES: Footer
   -------------------------------------------------------------------------- */
.footer{
    font-size: 1.4rem;
}

.footer__links__divider {
    color: var(--color--white);
}

.footer__social + .footer__content{
    margin-top: var(--spacer--m);
}

.footer__links__divider {
    margin-left: var(--spacer--s);
    margin-right: var(--spacer--s);
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .footer__content>*+* {
        margin-top: var(--spacer--s);
    }

    .footer__social{
        justify-content: center;
    }
}

/* 05 MODULES: Header
   -------------------------------------------------------------------------- */
.header{
    font-family: var(--font--alt);
    -webkit-transition: .2s ease-in-out 0s;
    -moz-transition: .2s ease-in-out 0s;
    -ms-transition: .2s ease-in-out 0s;
    transition: .2s ease-in-out 0s;
    box-shadow: 0 2px 12px 0 rgb(151 151 151 / 26%);
}

.header__content{
    justify-content: flex-end;
    align-items: stretch;
    height: auto;
}

.header__logo{
    margin-right: auto;
    display: flex;
    align-items: center;
    height: 100%;
}

.header__wrapper{
    align-items: stretch;
    height: 100%;
}
.header__nav {
    display: flex;
    align-items: center;
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .header__nav {
        order: 2;
    }
}

/* 05 MODULES: List controls
   -------------------------------------------------------------------------- */
.list-controls--top {
    margin-bottom: var(--spacer--m);
}

* + .list-controls--top{
    margin-top: var(--spacer--l);
}

/* 05 MODULES: Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
    background-color: var(--color--white);
    font-size: var(--font--size);
}

/* 06 PAGETYPES: Body sidebar left
   -------------------------------------------------------------------------- */
.body--with-sidebar-left .main__wrapper{
    padding-bottom: 0;
}

.body--with-sidebar-left .breadcrumbs + .section {
    margin-top: var(--spacer--xxxl);
}

.body--with-sidebar-left .grid--2--sidebar .grid__item--aside-left{
    background-color: var(--color--white);
    position: relative;
    padding-right: var(--grid--columns--gap);
}

.body--with-sidebar-left .section__content+.section__content {
    margin-top: var(--spacer--xxxl);
}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .body--with-sidebar-left .grid--2--sidebar .grid__item--main{
        padding-left: calc(var(--spacing--basis) * 24);
    }

    .body--with-sidebar-left .grid--2--sidebar .grid__item--aside-left:after{
        position: absolute;
        content: '';
        right: 100%;
        background-color: var(--color--white);
        width: 50vw;
        height: 100%;
        top: 0;
    }

    .body--with-sidebar-left .main{
        background-color: var(--color--grey--lighter);
    }

    .body--with-sidebar-left .grid--2--sidebar .grid__item{
        padding-bottom: var(--main--padding--bottom);
    }

}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .body--with-sidebar-left .grid--2--sidebar .grid__item--main{
        background: var(--color--grey--lighter);
        padding-top: var(--spacer--xxl);
    }

    .body--with-sidebar-left .grid--2--sidebar > .grid__item{
        padding-bottom: var(--spacer--xxxl);
        padding-right: var(--grid--laterals);
        padding-left: var(--grid--laterals);
    }

    .body--with-sidebar-left .main__wrapper{
        padding-right: 0;
        padding-left: 0;
    }

    .body--with-sidebar-left .grid--2--sidebar--aside-left{
        margin-left: 0;
    }
}
/* 06 PAGETYPES: Body sidebar right
   -------------------------------------------------------------------------- */
.body--with-sidebar-right .main{
    background-color: var(--color--white);
}

.body--with-sidebar-right .main__wrapper{
    padding-bottom: 0;
}

.body--with-sidebar-right .breadcrumbs + .section {
    margin-top: var(--spacer--xxxl);
}

.body--with-sidebar-right .grid--2--sidebar .grid__item--aside-right{
    background-color: var(--color--grey--lighter);
    position: relative;
    padding-left: var(--grid--columns--gap);
}

.body--with-sidebar-right .section__content+.section__content {
    margin-top: var(--spacer--xxxl);
}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .body--with-sidebar-right .grid--2--sidebar .grid__item--main{
        padding-right: calc(var(--spacing--basis) * 24);
    }

    .body--with-sidebar-right .grid--2--sidebar .grid__item--aside-right:after{
        position: absolute;
        content: '';
        left: 100%;
        background-color: var(--color--grey--lighter);
        width: 50vw;
        height: 100%;
        top: 0;
    }

    .body--with-sidebar-right .grid--2--sidebar .grid__item{
        padding-bottom: var(--main--padding--bottom);
    }
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .body--with-sidebar-right .grid--2--sidebar .grid__item--aside-right{
        padding-top: var(--spacer--xxl);
    }

    .body--with-sidebar-right .grid--2--sidebar > .grid__item{
        padding-bottom: var(--spacer--xxxl);
        padding-right: var(--grid--laterals);
        padding-left: var(--grid--laterals);
    }

    .body--with-sidebar-right .main__wrapper{
        padding-right: 0;
        padding-left: 0;
    }

    .body--with-sidebar-right .grid--2--sidebar--aside-right{
        margin-left: 0;
    }
}
/* 06 PAGETYPES: Glightbox (popups)
   -------------------------------------------------------------------------- */
.goverlay,
.glightbox-mobile .goverlay {
    background: rgba(0,0,0,.30);
}

.gslide-inline,
.gslide-external {
    box-shadow: none;
    padding-top: 0;
    padding-left: var(--spacer--l);
    padding-right: var(--spacer--l);
    background: transparent;
}

.gslide-inline .ginlined-content,
.section--lightbox {
    padding: var(--spacer--xl);
}

.gprev,
.gnext {
    display: none;
}

.glightbox-clean .gslide-media {
    box-shadow: none;
    background-color: transparent;
}

.body.body--lightBox{
    background-color: transparent;
    display: flex;
    height: 100%;
}

.body--lightBox .main {
    box-shadow: 0 2px 6px 0 rgba(0, 29, 67, 0.2);
    border-radius: var(--boxes--border--radius);
}

.body--lightBox .main__wrapper {
    padding: var(--spacer--l);
}

.body--lightBox .body__content{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.body--lightBox:not(.body--ismobile) .button-bar .button,
.body--lightBox:not(.body--ismobile) .button-bar [class$="Button"]{
    width: auto;
    margin-bottom: 0;
}

.body--lightBox .button-bar{
    margin-bottom: 0;
}

.body--lightBox .button-bar > fieldset > div,
.body--lightBox .button-bar__wrap{
    margin-bottom: 0;
}

.body--lightBox:not(.body--ismobile) .button-bar:not([class*="button-bar--"]) button + button:not(.cancelButton),
.body--lightBox:not(.body--ismobile) .button-bar:not([class*="button-bar--"]) input[type="submit"] + input[type="submit"],
.body--lightBox:not(.body--ismobile) .button-bar:not([class*="button-bar--"]) .button + .button{
    margin-left: var(--spacer--m);
}

.body--lightBox .section__header + * {
    margin-top: var(--spacer--l);
}

.body--lightBox .form .fieldSpec:last-child{
    padding-bottom: 0;
}
/* 06 PAGETYPES: Body background grey
   -------------------------------------------------------------------------- */
.body--bg-grey .main{
    background-color: var(--color--grey--lighter);
}
/* 06 PAGETYPES: Ticket success
   -------------------------------------------------------------------------- */
.section--ticket-success .section__header+* {
    margin-top: var(--spacer--m);
}
.section--ticket-success .section__footer {
    margin-top: var(--spacer--l);
}
