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

   * ELEMENTS
      : Count (New)

   * COMPONENTS
      : Tables (Override/complement)
      : Cards (Override/complement)
      : Social share bar (Override/complement)
      : Result (New)

   * MODULES
      : Banner
         : Extra (New)

   * PAGETYPES
      : Dashboard
         : Section (Override/complement)
      : Search jobs
         : Section (Override/complement)
   ========================================================================== */

   /* ELEMENTS: Fonts
   -------------------------------------------------------------------------- */

@font-face {
    font-family: 'avenir';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/AvenirNextW05-Medium.woff2') format('woff2'),
        url('../fonts/AvenirNextW05-Medium.woff') format('woff');
}

@font-face {
    font-family: 'avenir';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/AvenirNextW05-Demi.woff2') format('woff2'),
        url('../fonts/AvenirNextW05-Demi.woff') format('woff');
}


/* HELPER CLASS */

[class*="--bold"]{
    font-weight: bold;
}

/* BLOCKS: Header : Nav
   -------------------------------------------------------------------------- */

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .nav__list--separator-left {
        border-left-width: 0.2rem;
        border-left-color: var(--color--borders--sub-2);
        height: 3.3rem;
    }

    .nav__item--has-subnav:hover .nav__item__link {
        border-radius: 0;
    }

    .nav__item--has-subnav--overflows-not .subnav__list, .nav__item--has-subnav--overflows-not .portalLanguages {
        border-radius: 0;
    }
}

.nav__item--has-subnav--with-arrow .nav__item__link:after {
    content: "\f107";
    margin-left: var(--spacer--s);
    width: var(--toggle--w--default);
    font: normal normal normal 2.4rem/2.4rem FontAwesome;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: var(--color--clickeable);
}

.nav__item--has-subnav--with-arrow:hover .nav__item__link:after {
    content: "\f106";
}

.nav__item--has-subnav--with-arrow .nav__item__link:before {
    content: "";
    width: 0;
    border-top: 0;
}

.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 {
    color: var(--header--font--color);
}

.nav__item--has-subnav:hover .subnav__item:not(.subnav__item--active) .subnav__item__link:hover {
    color: var(--color--clickeable);
    background-color: unset;
}

.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 {
    color: inherit;
}

.nav__item:not(.nav__item--active) .nav__item__link:hover {
    color: var(--header--clickeable--color);
    text-decoration: underline;
}

.nav__item:not(.nav__item--active).nav__item--has-subnav .nav__item__link:hover {
    text-decoration: none;
}

.nav__item--active .nav__item__link,
.nav__item--active .nav__item__link:link,
.nav__item--active .nav__item__link:visited,
.nav__item--active .nav__item__link:hover,
.nav__item--active .nav__item__link:focus,
.nav__item--active .nav__item__link:active {
    color: var(--header--clickeable--color);
    cursor: pointer;
}

/* BLOCKS: Nav : Mobile Menu
   -------------------------------------------------------------------------- */

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .nav__item,
    .subnav__item {
        border-top-width: 0;
        border-bottom-width: .15rem;
        border-bottom-style: solid;
        border-bottom-color: var(--dividers--border--color);
    }

    .nav__item.nav__item--active {
        border-bottom-color: var(--header--clickeable--color);
    }

    .nav__item.nav__item--active.nav__item--has-subnav {
        border-bottom-width: 0;
    }

    .nav__item.nav__item--active.nav__item--has-subnav .nav__item__link {
        padding-bottom: 0;
    }

    .nav__item--has-subnav--open .nav__item__link:before,
    .nav__item--has-subnav.nav__item--active .nav__item__link:before {
        content: "";
    }

    .nav__item--has-subnav--with-arrow .nav__item__link:after {
        position: absolute;
        right: 0;
    }

    .subnav__item__link {
        font-size: 1.6rem;
    }
}

/* BLOCKS: Footer
   -------------------------------------------------------------------------- */

.footer__content {
    justify-content: flex-end;
}

.footer__rights {
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-end;
}

.footer__rights__logo {
    margin-right: 0;
}

.footer__rights__copy {
    color: var(--color--brand--sub-3);
    width: 100%;
    text-align: right;
    border-top: 0.1rem solid var(--color--borders);
    margin-top: var(--spacer--xs);
    padding-top: var(--spacer--s);
}

@media all and (max-width: 750px){
    .footer__content {
        display: block;
    }
}

/* BLOCKS: Banner
   -------------------------------------------------------------------------- */

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .banner--main .banner__text__title {
        font-weight: 600;
    }
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .banner--main .banner__text__title {
        font-size: 2.2rem;
    }
    .banner__wrapper {
        padding-top: calc(var(--banner--padding--top)*2.5);
    }
}

/* ELEMENTS: Count (New)
   -------------------------------------------------------------------------- */

.count {
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    min-width: 3rem;
    height: 3rem;
    background-color: var(--color--font--sub-2);
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    color: #FFFFFF;
}

/* MODULES: Banner: Extra (New)
   -------------------------------------------------------------------------- */

.banner--extra {
    --banner--background--color: var(--color--brand--sub-1);

    background-color: var(--banner--background--color);
    color: var(--banner--font--color);
}

.banner--extra .banner__wrapper {
    --banner--padding--top: var(--spacer--xxxl);
    --banner--padding--bottom: var(--spacer--xxxl);

    justify-content: center;
    gap: var(--spacer--m);
}

/* PAGETYPES: LOGIN
   -------------------------------------------------------------------------- */

.body--login {
    background-image: unset;
    background-color: var(--color--brand--sub-6);
}

/* PAGETYPES: Dashboard ==> Top Section header
   -------------------------------------------------------------------------- */

.section__header__text__title__welcome {
    font-size: 4rem;
}

.section--dashboard:first-child .section__header {
    border-bottom: 0.1rem solid var(--color--borders--sub-3);
    padding-bottom: var(--spacer--l);
}

.section--dashboard .section__header__count {
    margin-right: var(--spacer--s);
}

.section--dashboard .section__header__text {
    display: flex;
    align-items: baseline;
    gap: var(--spacer--s);
}

.section--dashboard .section__header__text__title {
    color: var(--color--font--sub-2);
}

.section--dashboard .section__header__text .link {
    font-size: 1.4rem;
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .section--dashboard .list-controls {
        display: none;
    }

    
}

/* PAGETYPES: Dashboard ==> Bottom Section SUBMITTED CANDIDATES
   -------------------------------------------------------------------------- */

.table--dashboardSubmitted tbody tr td:last-child .button--tertiary {
    white-space: nowrap;
}

.table--cards.table--dashboardSubmitted tbody tr > *:nth-child(1) {
    background-color: var(--color--borders--sub-2);
    border-bottom: 0.1rem solid var(--color--brand--sub-4);
    padding-bottom: var(--spacer--s);
    height: auto;
}

.table--cards.table--dashboardSubmitted tbody tr > *:nth-child(1) .link {
    color: var(--color--brand--sub-6);
}

.table--cards.table--dashboardSubmitted tbody tr .table__row__toggle {
    height: 100%;
    line-height: 4rem;
}

.table--cards.table--dashboardSubmitted tbody tr td:nth-child(2) {
    padding-bottom: calc(var(--boxes--padding--inners) * .5);
    padding-top: var(--boxes--padding--inners);
}

.table--cards.table--dashboardSubmitted tbody tr td:nth-child(3) {
    border-top: unset;
    padding-top: calc(var(--boxes--padding--inners) * .5);
}

.table--cards.table--dashboardSubmitted tbody tr td[data-th]:nth-child(n+2):not(:nth-last-child(1)):before {
    content: attr(data-th)":\00a0 ";
    display: inline-block;
}

@media all and (max-width: 750px){
     .table--cards:not(.table--cards--with-no-toggle).table--dashboardSubmitted tbody tr:not(.table__row--open) td:nth-child(n+2):not(:nth-last-child(1)) {
        display: none;
    }
}

/* PAGETYPES: Search jobs (Open positions): Section (Override/complement)
   -------------------------------------------------------------------------- */

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .section--search-jobs .section__header {
        display: none;
    }

    .section--search-jobs .section__header + .section__content {
        margin-top: 0;
    }

    .section--search-jobs .section__content--searchForm {
        padding-bottom: var(--spacer--l);
        margin-bottom: var(--spacer--l);
        border-bottom: 0.1rem solid var(--color--borders--sub-3);
    }

}

@media all and (max-width:1024px) {
    .section--collapsible-form-search .section__header__text {
        border-bottom-color: var(--color--borders--sub-3);
    }

    .section--collapsible-form-search .form--search .form__toggle {
        background-color: var(--color--brand--sub-1);
    }
}

@media all and (max-width:750px) {

    .section__content--flexOrder {
        display: flex;
        flex-direction: column;
    }
    
    .section__content--flexOrder .list-controls--top {
        order: 0;
    }

    .section__content--flexOrder .list-controls--bottom {
        order: 1;
    }

    .section__content--flexOrder .section__content__results {
        order: 2;
    }
}

/* PAGETYPE: Job detail
-------------------------------------------------------------------------------- */

.body--jobDetail .section .article__header__text__title__icon {
    font-size: 1.6rem;
}

@media all and (max-width:1024px){
    .article--view-more--aside {
        background-color: unset;
    }
}

.methodButton--file {
    background-image: var(--icon-method--file);
}
.methodButton--paste {
    background-image: var(--icon-method--paste);
}
.methodButton--later {
    background-image: var(--icon-method--later);
}

/* PAGETYPE:Refer Candidate (form)
-------------------------------------------------------------------------------- */

.body--referCandidate .main .banner__text__title,
.body--referCandidate .main .banner__text__title .link {
    color: var(--color--font--sub-2);
}

/* PAGETYPE:Refer Candidate Success
-------------------------------------------------------------------------------- */

.body--referCandidateSuccess .section__header__text__title,
.body--referCandidateSuccess .section__header__text__title .link {
    color: var(--color--font--sub-2);
}

.body--referCandidateSuccess .button {
    min-width: 18.6rem;
}

/* PAGETYPE:My Referrals
-------------------------------------------------------------------------------- */

.body--myReferrals .section__header {
    border-bottom: 0.1rem solid var(--color--brand--sub-1);
    padding-bottom: var(--spacer--m);
}

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

/* PAGETYPE: Candidate detail
-------------------------------------------------------------------------------- */

.body--candidateDetail .section .article__header__text__title__icon {
    font-size: 1.6rem;
}

.body--candidateDetail .list--attachments .list__item__actions .link:first-child {
    padding-right: 0.8rem;
}

.body--candidateDetail .list--attachments .list__item__actions .link:not(:first-child) {
    padding: 0 8px;
}

/* PAGETYPE: PROFILE
---------------------------------------------------------------------------------------- */

.banner__text__subtitle {
    text-transform: none;
}

.body--profile .section .article__header__text__title__icon {
    font-size: 1.6rem;
}

/* PAGETYPE: ResumeUpload (Reg. Methods)
---------------------------------------------------------------------------------------- */

@media all and (min-width: 751px){
    .grid--methods {
        justify-content: center;
    }
}


/* COMPONENTS: Tables (Override/complement)
   -------------------------------------------------------------------------- */

.table__wrap {
    border-left: unset;
    border-right: unset;
    border-top: unset;
}

.table--default thead tr th,
.tableField thead tr th {
    border-bottom-color: var(--color--brand--sub-4);
    background-color: var(--color--borders--sub-2);
}

.table--default tbody tr td:nth-last-child(1) {
    display: flex;
    align-items: center;
    gap: var(--spacer--s);
    width: auto;
    white-space: nowrap;
}

.table--default tbody tr td:nth-last-child(1) .button {
    min-height: calc(var(--buttons--height) * .8);
    padding: var(--spacer--xs) var(--spacer--xs);
    line-height: calc((var(--buttons--height) * .8) - ( var(--spacer--xs) * 2) - 2px) ;
}

.table--default tbody tr td:nth-last-child(1) .button--primary {
    padding: var(--spacer--xs) var(--spacer--l);
}

/* COMPONENTS: Cards (Override/complement)
   -------------------------------------------------------------------------- */
@media all and (min-width:1025px){
    .table--cards tbody tr {
        flex: 0 0 calc(25% - var(--grid--columns--gap));
        max-width: calc(25% - var(--grid--columns--gap));
    }
}

.table--cards tbody tr > *:nth-child(1) {
    font-size: 2rem;
}

.table--cards tbody tr td:nth-child(2) {
    padding-bottom: var(--spacer--s);
}

.table--cards tbody tr td:nth-last-child(1) {
    gap: var(--spacer--m);
}

.table--cards tbody tr td:nth-last-child(1) .button--primary {
    min-height: calc(var(--buttons--height) * .8);
    padding: var(--spacer--xs) var(--spacer--l);
    line-height: calc((var(--buttons--height) * .8) - ( var(--spacer--xs) * 2) - 2px) ;
}

.table--cards tbody tr td:nth-last-child(1) .button--secondary,
.table--cards tbody tr td:nth-last-child(1) .button--tertiary {
    margin-bottom: -0.1rem;
    border-radius: unset;
    border: unset;
    border-bottom-width: 0.1rem;
    border-bottom-style: solid;
    border-bottom-color: transparent;
    min-height: unset;
    background-color: unset;
    padding: 0;
    font-size: 1.2rem;
    font-family: inherit;
    line-height: 1.4rem;
    font-weight: var(--font--weight--bold);
    text-transform: uppercase;
    color: var(--color--clickeable);
}

/* COMPONENTS: Social share bar (Override/complement)
   -------------------------------------------------------------------------- */

.share--popUp {
    display: inline-flex;
}

/* COMPONENTS: Result (New)
   -------------------------------------------------------------------------- */

.article--result + .article--result {
    margin-top: 1.2rem;
}

.article--result .article__header {
    align-items: flex-start;
}

.article--result .article__header__text__title a {
    color: var(--color--font--sub-2);
}

.article--result .article__header__text__title a:hover {
    text-decoration: underline;
}

.article--result .article__header__text__subtitle {
    margin-top: var(--spacer--xxs);
    font-size: 1.4rem;
}

.article--result .article__header__text__content {
    padding-top: var(--spacer--m);
}

.article--result .article__header__actions {
    display: flex;
    align-items: center;
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .article--result {
        border-radius: var(--boxes--border--radius);
        border-width: 0.1rem;
        border-style: solid;
        border-color: var(--boxes--border--color);
    }

    .article--result .article__header {
        flex-direction: column;
        align-items: stretch;
    }

    .article--result .article__content {
        padding: 0 var(--boxes--padding--outers) var(--boxes--padding--outers) var(--spacer--m);
    }

    .article--result .article__header > * {
        width: 100%;
        padding-right: var(--boxes--padding--outers);
        padding-left: var(--boxes--padding--outers);
    }

    .article--result .article__header__text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        min-height: var(--boxes__heading--height);
        padding: var(--boxes--padding--outers) 0;
    }

    .article--result .article__header__text__title {
        font-size: 1.8rem;
        padding-left: var(--boxes--padding--outers);
        padding-right: var(--boxes--padding--outers);
    }

    .article--result .article__header__text__title a {
        color: var(--color--clickeable);
    }

    .article--result .article__header__text__subtitle > span {
        font-size: 1.4rem;
        display: block;
        width: 100%;
        padding-left: var(--boxes--padding--outers);
        padding-top: var(--spacer--m);
    }

    .article--result .article__header__text__subtitle > span:first-child {
        padding-bottom: var(--spacer--s);
        padding-top: var(--spacer--xs);
    }

    .article--result .article__header__text__subtitle > .separator {
        display: none;
    }

    .article--result .article__header__text__subtitle .list-item-ref {
        border-top: 0.1rem solid var(--boxes--border--color);
    }

    .article--result .article__header__text__subtitle .labelData {
        font-weight: 600;
    }

    .article--result .article__header__actions {
        border-top-width: 0.1rem;
        border-top-style: solid;
        border-top-color: var(--boxes--border--color);
        padding-top: var(--boxes--padding--inners);
        padding-bottom: var(--boxes--padding--inners);
    }

    .article--result .article__header__actions > * + * {
        margin-left: var(--boxes--padding--inners);
    }

    .article--result .article__header__actions .button {
        display: block;
        width: 100%;
        min-height: 0;
        border-radius: 0;
        padding: 0;
        font-size: 1.2rem;
        text-transform: uppercase;
        line-height: 4.3rem;
    }

    .article--result .article__header__actions .button:hover {
        background-color: transparent;
        border: 0.1rem solid var(--color--clickeable);
        color: var(--color--clickeable);
    }

}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .article--result {
        padding-top: calc(var(--boxes--padding--inners) * .5);
        padding-bottom: calc(var(--boxes--padding--inners) * .5);
    }

    .article--result .article__header__actions > * + * {
        margin-left: var(--spacer--s);
    }

}

/* FORMFIELDS: MULTIPLEDATASETFIELD
-------------------------------------------------------------- */

.removeDatasetRow,
.removeDatasetRow:hover {
    background-size: 1.6rem;
    color: var(--color--error);
    background-image: var(--action--icon--remove);
}

.addDatasetRow,
.addDatasetRow:hover {
    background-image: var(--action--icon--add);
    background-size: 1.6rem;
    color: var(--color--clickeable);
}

div[class*="fieldSpec"].MultipleDatasetEntryFormField [id*="multipleDatasetEntry_"]{
    background-color: unset;
}