/*
 Theme Name:   UnderStrap Child
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       Holger Koenemann
 Author URI:   http://www.holgerkoenemann.de
 Template:     understrap
 Version:      0.5.5
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: holger1411/understrap-child
*/

@font-face {
  font-family: 'Proxima Nova';
  src: url('/wp-content/themes/unicore/fonts/Proxima-Nova-Semibold-webfont.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/wp-content/themes/unicore/fonts/Proxima-Nova-Thin-webfont.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('/wp-content/themes/unicore/fonts/Proxima-Nova-Alt-Black-webfont.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* * {
  font-family: "Proxima Nova", sans-serif;
} */

.wrapper-facet-courses#full-width-page-wrapper {
    padding-top: 0;
    background-color: #f2f7fb;
  }
  .wrapper-facet-courses .container {
    max-width: 100%;
    padding: 0;
  }
  .wrapper-facet-courses .row {
    width: 100%;
    margin: 0;
  }
  .wrapper-facet-courses .row .cont {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .row-facets-header {
    background-color: #006ab4;
    border: 1px solid #707070;
  }
  .facets-top {
    padding-top: 60px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ffffff40;
  }
  .facets-top > div {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }
  .facets-top > div > span {
    color: #fff;
    font-size: 16px;
    line-height: 18px;
    font-weight: 600;
  }
  .facet-bottom {
    padding-top: 24px;
    padding-bottom: 56px;
    align-items: center;
  }
  .facet-application-online {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
  }
  .facet-application-online span {
    color: #fff;
    font-size: 16px;
    line-height: 18px;
    font-weight: 600;
  }
  .wrapper-facet-courses .facetwp-facet {
    margin-bottom: 0;
  }
  .wrapper-facet-courses .facetwp-facet-reset a {
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    background-image: url(img/reset.svg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 20px;
    padding-left: 20px;
    display: inline-block;
  }
  .facetwp-facet-online_application .facetwp-display-value {
    display: none;
  }
  .facetwp-facet-online_application .facetwp-checkbox[data-value="1"] {
    width: 64px;
    height: 40px;
    border-radius: 32px;
    background-color: #e2e8f0;
    background-image: none;
    position: relative;
    padding: 0;
    margin: 0;
  }
  .facetwp-facet-online_application .facetwp-checkbox[data-value="1"]::after {
    content: "";
    box-shadow: 0px 2px 2px #00000029;
    height: 32px;
    width: 32px;
    position: absolute;
    right: 24px;
    margin: 4px;
    display: block;
    background-color: #fff;
    border-radius: 16px;
    transition: right 0.2s ease;
  }
  .facetwp-facet-online_application .facetwp-checkbox.checked[data-value="1"] {
    background-color: #80b5d9;
  }
  .facetwp-facet-online_application
    .facetwp-checkbox.checked[data-value="1"]::after {
    right: 0;
    box-shadow: 0px 2px 2px #00000029;
  }
  .gpnf-nested-entries {
    min-width: 100% !important;
  }
  
  a.chosen-single span,
  .gf_placeholder {
    font-style: italic;
  }
  
  .facetwp-counter {
    display: none;
  }
  .facetwp-facet-online_application .facetwp-checkbox[data-value="0"] {
    display: none;
  }
  
  .facets-top,
  .facet-bottom,
  .facet-loop-inner {
    display: flex;
    justify-content: space-between;
  }
  .facet-loop-inner {
    align-items: center;
  }
  
  .gpnf-nested-entries th {
    background-color: #006ab4 !important;
    border-color: #006ab4 !important;
    color: #fff !important;
  }
  .gpnf-nested-entries {
    border-color: #006ab4;
  }
  .gpnf-nested-entries-container button {
    border: 1px solid #006ab4;
    border-radius: 4px;
    background-color: #fff;
    color: #006ab4;
    font-size: 18px;
    line-height: 21px;
    padding: 13px 12px 14px;
    transition: background-color 0.2s ease;
  }
  .gpnf-nested-entries-container button:hover {
    background-color: #006ab41a;
  }
  .gform_footer {
    justify-content: center;
  }
  .gform_footer input {
    border: 1px solid #006ab4;
    border-radius: 4px;
    background-color: #006ab4;
    color: #fff;
    font-size: 18px;
    line-height: 21px;
    padding: 13px 12px 14px;
    transition: background-color 0.2s ease;
    font-weight: 700;
  }
  .gform_footer input:hover {
    background-color: #005997;
  }
  .gform_wrapper.gravity-theme .chosen-container-single .chosen-single {
    border: 1px solid #006ab4;
    background: #fff;
    border-radius: 8px;
  }
  .gform_wrapper.gravity-theme
    .chosen-container-active.chosen-with-drop
    .chosen-single {
    border: 1px solid #006ab4;
    background: #fff;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    height: 38px;
  }
  .gform_wrapper.gravity-theme .chosen-container .chosen-drop {
    border-color: #006ab4;
  }
  .gform_wrapper.gravity-theme input[type="email"],
  .gform_wrapper.gravity-theme input[type="url"],
  .gform_wrapper.gravity-theme input[type="text"] {
    border: 1px solid #006ab4;
    background: #fff;
    border-radius: 8px;
    line-height: 23px;
  }
  .ginput_container_consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .ginput_container_consent input[type="checkbox"] {
    margin-top: 5px;
  }
  .ginput_container_select select {
    border: 1px solid #006ab4;
    border-radius: 8px;
    line-height: 25px;
    height: 41px;
  }
  .ginput_container_textarea textarea {
    border: 1px solid #006ab4;
    background: #fff;
    border-radius: 8px;
  }
  .gform_wrapper.gravity-theme .chosen-container-single .chosen-single {
    background: none !important;
    height: 41px !important;
    border: 1px solid #006ab4 !important;
    border-radius: 8px !important;
  }
  .gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices {
    background: none !important;
    border: 1px solid #006ab4 !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 3px;
  }
  .gform_wrapper.gravity-theme
    .chosen-container-multi
    .chosen-choices
    li.search-choice {
    margin: 0 5 !important;
  }
  .gform_wrapper.gravity-theme
    .chosen-container-multi
    .chosen-choices
    li.search-field
    input[type="text"] {
    height: 21px !important;
  }
  .facets-top {
    gap: 16px;
  }
  .facets-top > div {
    flex: 0 1 33.33%;
    max-width: 33.33%;
  }
  .facetwp-input-wrap {
    width: 100%;
  }
  .facetwp-facet input.facetwp-search {
    width: 100%;
  }
  .facetwp-type-fselect .fs-wrap {
    width: 100%;
    cursor: pointer;
  }
  .facetwp-type-fselect .fs-wrap .fs-label-wrap {
    border-radius: 8px;
    position: relative;
  }
  .facetwp-type-fselect .fs-label-wrap .fs-arrow {
    background-image: url(img/down-arrow.svg);
    width: 11px;
    height: 7px;
    border: none;
    right: 16px;
  }
  .facetwp-type-fselect .fs-dropdown {
    margin-top: 8px;
  }
  .facetwp-type-fselect .fs-wrap .fs-search {
    padding: 21px 24px 22px 64px;
    background-color: #fff;
    color: #0f172a;
  }
  .facetwp-type-fselect .fs-wrap .fs-search input {
    color: #0f172a;
    font-size: 18px;
    line-height: 21px;
  }
  .facetwp-type-fselect .fs-wrap .fs-label-wrap .fs-label {
    padding: 21px 24px 22px;
    cursor: pointer;
  }
  .facets-top .fs-search::before {
    content: url(img/search-blue.svg);
    display: block;
    height: 32px;
    display: block;
    position: absolute;
    left: 15px;
    top: 17px;
  }
  .facetwp-facet-search .facetwp-icon {
    right: auto;
    left: 0;
    width: 64px;
    opacity: 1;
  }
  .facetwp-facet-search .facetwp-icon:before {
    background-image: url(img/search-blue.svg);
    background-repeat: no-repeat;
    background-size: 32px;
    width: 64px;
    background-position: center;
  }
  .facets-top .fs-search input::placeholder,
  .facets-top input::placeholder {
    color: #475569 !important;
  }
  .facets-top .fs-open .fs-search,
  .facetwp-input-wrap.focus {
    background-color: white;
    border: 1px solid #006ab4;
    outline: 4px solid #80b5d9bf;
  }
  .wrapper-facet-courses .facetwp-type-fselect .fs-option .fs-option-label {
    color: #475569;
    font-size: 16px;
    line-height: 18px;
    word-break: break-word;
    white-space: normal;
  }
  .fs-options {
    padding-top: 6px;
  }
  
  .facetwp-facet input.facetwp-search {
    border: 1px solid #1f82b0;
    height: 64px;
    border-radius: 8px;
    padding: 21px 24px 19px 64px;
  }
  .facets-top .fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: #006ab4;
  }
  .row-facets-body {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .facetwp-template {
    padding-top: 40px;
  }
  .facet-results-text {
    display: flex;
    gap: 4px;
    color: #2a3256;
    font-size: 16px;
    line-height: 18px;
    font-weight: 600;
  }
  .facetwp-facet-sort_ select {
    padding: 20px 24px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    line-height: 18px;
    width: 200px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(img/down-arrow.svg);
    background-size: 11px 7px;
    background-position: center right 24px;
    background-repeat: no-repeat;
  }
  .facet-loop-inner {
  }
  .facetwp-template {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(16px, 2.5vw, 40px);
  }
  .course-card {
    display: flex;
    background-color: #fff;
    border: 2px solid #006ab41a;
    border-radius: 16px;
  
    justify-content: space-between;
    flex-direction: column;
    /*flex: 1 1 auto;
      max-width: calc(33.33% - clamp(16px, 2.5vw, 40px));*/
  }
  .course-card-main {
    padding: 35px 32px 28px;
  }
  .course-card-footer {
    padding: 32px;
    border-top: 2px solid #e5f0f7;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    min-height: 117px;
    align-items: center;
  }
  .course-university a {
    color: #475569;
    font-size: 16px;
    line-height: 18px;
    text-decoration: underline;
  }
  .course-title {
    padding-top: 17px;
    font-size: 20px;
    line-height: 28px;
    color: #0f172a;
  }
  .course-title a {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
  }
  .course-title a:hover {
    background-size: 100% 2px;
    color: #006ab4;
  }
  
  .course-title a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  .course-link a,
  .course-online a {
    font-size: 18px;
    line-height: 21px;
  }
  .course-link a {
    display: inline-block;
    color: #006ab4;
    border: 1px solid #006ab4;
    border-radius: 4px;
    padding: 13px 12px 14px;
    font-weight: 500;
  }
  .course-link a:hover {
    background-color: #006ab41a;
  }
  .course-online a {
    color: #ffffff;
    border: 1px solid #006ab4;
    border-radius: 4px;
    padding: 13px 12px 14px 34px;
    font-weight: 600;
    background-color: #006ab4;
    display: inline-block;
    background-image: url(img/apply-online.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center left 12px;
  }
  .course-online a:hover {
    background-color: #005997;
    color: #fff;
  }
  .course-no-call {
    font-style: italic;
    font-size: 16px;
  }
  
  .facetwp-pager {
    display: flex;
    justify-content: center;
    padding-top: 28px;
    font-size: 16px;
    line-height: 18px;
  }
  .local-partner-wrapper {
    background: #e0edf4;
  }
  
  .partner-cards {
    column-count: 2;
    column-gap: 40px;
  }
  .partner-single-card {
    background-color: #fff;
    border-radius: 16px;
    margin-bottom: 40px;
    break-inside: avoid-column;
  }
  .partner-single-card-logo {
    padding: 16px 21px;
  }
  .partner-single-card-text {
    padding: 24px 16px;
    border-top: 1px solid #e0edf4;
    border-bottom: 1px solid #e0edf4;
  }
  .partner-single-card-text h3 {
    font-family: "Proxima Nova";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    color: #000;
  }
  .partner-single-card-text p {
    font-family: "Proxima Nova";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    color: #000;
  }
  .partner-other-logos {
  }
  .partner-other-logos-inner {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
  }
  .partner-other-logos-img {
    padding: 16px 16px;
    display: flex;
    align-items: center;
    box-shadow: 1px -1px #e0edf4 inset;
    transform: translate(-1px, 1px);
    flex: 1 1 auto;
    justify-content: center;
  }
  
  @media (max-width: 1190px) {
    .course-card-footer .course-link a {
      padding: 8px;
      font-size: 16px;
      line-height: 18px;
    }
    .course-card-footer .course-online a {
      padding: 8px 8px 8px 28px;
      font-size: 15px;
      line-height: 18px;
      background-size: 14px;
    }
    .course-card-main {
      padding: 30px 24px 20px;
    }
    .course-card-footer {
      padding: 24px;
      min-height: 86px;
      gap: 8px;
    }
  }
  
  @media (max-width: 979px) {
    .facetwp-template {
      grid-template-columns: 1fr 1fr;
    }
    .fs-wrap,
    .facetwp-facet input.facetwp-search {
      font-size: 18px;
      line-height: 18px;
    }
  }
  
  @media (max-width: 768px) {
    .facetwp-template {
      grid-template-columns: 1fr;
    }
    .facets-top {
      flex-wrap: wrap;
    }
    .facets-top > div {
      max-width: calc(50% - 8px);
      flex: 0 1 50%;
    }
    .facets-top .facet-search {
      flex: 0 1 100%;
      max-width: 100%;
    }
    .partner-cards {
      column-count: 1;
    }
  }
  @media (max-width: 535px) {
    .facets-top {
      flex-direction: column;
    }
    .facets-top > div {
      max-width: 100%;
    }
  }
  
  /* Custom CSS new Unicore project */
  
  :root {
    --f-11: 0.6875rem; /*11 px @ 1200px*/
    --f-12: 0.75rem; /*12 px @ 1200px*/
    --f-14: 0.875rem; /*14 px @ 1200px*/
    --f-16: clamp(0.875rem, 0.8056rem + 0.2778vw, 1rem); /*16 px @ 1120px* | 14 px @ 400px*/
    --f-18: 1.125rem; /*18 px @ 1200px*/
    --f-20: 1.25rem; /*20 px @ 1200px*/
    --f-24: 1.5rem; /*24 px @ 1200px*/
    --f-32: clamp(
      1.5rem,
      1.2222rem + 1.1111vw,
      2rem
    ); /*32 px @ 1120px | 24px @ 400px*/
    --f-40: 2.5rem; /*40 px @ 1200px*/
  
    --mainBakground: #cce1f0; /*Blue 200, ma così ha un ruolo*/
    --unhcrBlue: #006ab4;
    --blue200: #cce1f0;
    --blue100: #f2f7fb;
    --grey600: #475569;
    --grey400: #94a3b8;
    --grey300: #cbd5e1;
    --grey200: #e2e8f0;
    --grey100: #f1f5f9;
  
    --statusRed-900: #7f1d1d;
    --statusRed-700: #b91c1c;
    --statusRed-500: #ef4444;
    --statusRed-200: #fecaca;
  
    --statusAmber-900: #78350f;
    --statusAmber-200: #fde68a;
  
    --statusGreen-900: #14532d;
    --statusGreen-200: #bbf7d0;
  
    --defaultShadow: 0px 8px 24px 0px rgba(0, 106, 180, 0.08);
    --paddingShellInline: clamp(8px, -3.1304px + 3.4783vw, 40px); /*8px @ 320px | 40px @ 1240px*/

  }
  
  /*Tutti i title sono bold a meno che non abbiano la dicitura "lite"*/
  [class^="title"]:not([class*="-regular"]) {
    font-weight: bold;
  }
  [class^="title-L"] {
    font-size: var(--f-32);
    line-height: 1.25;
  }
  [class^="title-M"] {
    font-size: var(--f-24);
    line-height: 1.17;
  }
  [class^="title-S"] {
    font-size: var(--f-18);
    line-height: 1.5;
  }
  [class^="title-XS"] {
    font-size: var(--f-16);
    line-height: 1.25;
  }
  [class^="title-XXS"] {
    font-size: var(--f-14);
    line-height: 1.14;
  }
  
  /*Block e body sono fw:normal di default, se si aggiunge "-bold" diventano fw:700 */
  [class*="block"] {
    font-weight: 500;
  }
  [class*="body"] {
    font-weight: 500;
  }
  [class*="bold"] {
    font-weight: 700;
  }
  
  [class*="block-L"] {
    font-size: var(--f-16);
    line-height: 1;
  }
  [class*="block-M"] {
    font-size: var(--f-14);
    line-height: 1;
  }
  [class*="block-S"] {
    font-size: var(--f-12);
    line-height: 1;
  }
  [class*="block-XS"] {
    font-size: var(--f-11);
    line-height: 1;
  }
  
  [class*="body-M"] {
    font-size: var(--f-16);
    line-height: 1.5;
  }
  [class*="body-S"] {
    font-size: var(--f-14);
    line-height: 1.428;
  }
  [class*="body-XS"] {
    font-size: var(--f-12);
    line-height: 1.33;
  }
  .head-underline {
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--grey300);
  }
  .head-underline:has(> .delete) {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  
  .mw720 {
    max-width: 720px;
    margin-inline: auto;
  }
  .blue-text {
    color: var(--unhcrBlue);
  }
  
  .grey-600 {
    color: var(--grey600);
  }

  .grey-400 {
    color: var(--grey400);
  }
  a.blue-text:hover,
  a.blue-text:focus{
    color: var(--unhcrBlue);
  }
  a.grey-600:hover,
  a.grey-600:focus{
    color: var(--grey600);
  }

  span.required{
    color: var(--statusRed-900);
    font-size: var(--f-16);
    padding-left: 2px;
  }
  .cta-16-12 {
    cursor: pointer;
    border: none;
    padding: 16px 12px;
    color: white;
    background-color: var(--unhcrBlue);
    border-radius: 40px;
    max-width: fit-content;
  }
  .cta-16-12.outline {
    background-color: transparent;
    border: 1px solid var(--unhcrBlue);
    color: var(--unhcrBlue);
  }
  
  .cta-12-12 {
    cursor: pointer;
    border: none;
    padding: 12px;
    color: white;
    background-color: var(--unhcrBlue);
    border-radius: 8px;
    max-width: fit-content;
  }
  .cta-12-12.outline {
    background-color: transparent;
    border: 1px solid var(--unhcrBlue);
    color: var(--unhcrBlue);
  }
  .cta-16-12:hover:not(.cta-grey):not(.outline):not(.upload-file):not(.add-circle),
  .cta-12-12:hover:not(.cta-grey):not(.outline):not(.upload-file):not(.add-circle) {
    color: white;
    background-color: var(--unhcrBlue);
    box-shadow: 0px 2px 6px 0px rgba(0, 106, 180, 0.20), 0px 2px 30px 0px rgba(0, 106, 180, 0.30);
  }
  .cta-16-12:focus:not(.cta-grey):not(.outline),
  .cta-12-12:focus:not(.cta-grey):not(.outline) {
    color: white;
    background-color: var(--unhcrBlue);
    outline: none;
  }
  .cta-16-12.outline:hover,
  .cta-12-12.outline:hover {
    background: rgba(0, 106, 180, 0.08);
    box-shadow: none;
  }
  .cta-16-12.outline:focus,
  .cta-12-12.outline:focus {
    background: rgba(0, 106, 180, 0.12);
    outline: none;
  }
  .cta-16-12.clear:focus,
  .cta-12-12.clear:focus {
    background: rgba(71, 85, 105, 0.08);
    outline: none;
  }
  .cta-16-12.clear:focus,
  .cta-12-12.clear:focus {
    background: rgba(71, 85, 105, 0.12);
    outline: none;
  }
  .cta-16-12.add-circle,
  .cta-12-12.add-circle,
  .cta-16-12.add-circle:hover,
  .cta-12-12.add-circle:hover {
    background-image: url(img/icons-set/add_circle.svg);
    background-repeat: no-repeat;
    background-position: center left 12px;
    padding-left: 40px;
    line-height: 24px;
  }
  .cta-16-12.add-circle:hover,
  .cta-12-12.add-circle:hover {
    box-shadow: 0px 2px 6px 0px rgba(0, 106, 180, 0.20), 0px 2px 30px 0px rgba(0, 106, 180, 0.30);
  }
  .cta-16-12.upload-file,
  .cta-12-12.upload-file,
  .cta-16-12.upload-file:hover,
  .cta-12-12.upload-file:hover {
    background-image: url(img/icons-set/upload_file.svg);
    background-repeat: no-repeat;
    background-position: center left 12px;
    padding-left: 40px;
    line-height: 24px;
  }
 


  .cta-grey {
    background-color: var(--grey100);
    color: var(--grey600);
  }
  .cta-grey:hover{
    background: linear-gradient(0deg, rgba(71, 85, 105, 0.08) 0%, rgba(71, 85, 105, 0.08) 100%), #F1F5F9;
    color: var(--grey600);
  }
  .cta-grey:not(.clear):hover{
    background: linear-gradient(0deg, rgba(71, 85, 105, 0.08) 0%, rgba(71, 85, 105, 0.08) 100%), #F1F5F9;
    box-shadow: 0px 2px 30px 0px #CBD5E1, 0px 2px 6px 0px #CBD5E1;
    color: var(--grey600);
  }
  .cta-grey:focus{
    background: linear-gradient(0deg, rgba(71, 85, 105, 0.12) 0%, rgba(71, 85, 105, 0.12) 100%), #F1F5F9;
    color: var(--grey600);
  }
  .cta-grey.outline {
    background-color: transparent;
    border: 1px solid var(--grey300);
    color: var(--grey600);
  }


  .cta-16-12.delete,
  .cta-12-12.delete{
      color: var(--statusRed-700);
      border: none;
  }
  .cta-16-12.delete:not(.clear),
  .cta-12-12.delete:not(.clear){
      background-color: var(--statusRed-200);
  }
  .cta-16-12.delete:hover,
  .cta-12-12.delete:hover{
    background-color: rgba(185, 28, 28, 0.08) !important;
    color: var(--statusRed-700) !important;
    box-shadow: none !important;
  }
  .cta-16-12.delete:focus,
  .cta-12-12.delete:focus{
    background-color: rgba(185, 28, 28, 0.12);
    color: var(--statusRed-700);
    box-shadow: none;
  
  }
  
  .br-8 {
    border-radius: 8px;
  }
  .br-16 {
    border-radius: 16px;
  }
  .br-40 {
    border-radius: 40px;
  }
  .clear {
    background-color: transparent;
  }
  .no-style{
    background-color: transparent;
    border: none;
  }
  .label-status {
    margin: 0;
    padding: 4px;
    text-transform: capitalize;
    max-width: fit-content;
    display: inline-block;
  }

  .error-login-message.label-status{
    text-transform: none;
  }
  .label-status:not(.br-8):not(.br-16) {
    border-radius: 4px;
  }
  .label-status.pending {
    color: var(--statusAmber-900);
    background-color: var(--statusAmber-200);
  }
  .label-status.refugee_status_confirmed,
  .label-status.approved {
    color: var(--statusGreen-900);
    background-color: var(--statusGreen-200);
  }
  .label-status.refugee_status_denied,
  .label-status.rejected {
    color: var(--statusRed-900);
    background-color: var(--statusRed-200);
  }
  .label-status.blue {
    color: var(--unhcrBlue);
    background-color: var(--blue200);
  }
  .label-status.grey {
    padding-inline: 6px;
    color: var(--grey600);
    background-color: var(--blue100);
  }
  .label-status.grey :has(>.span){
    padding: 4px 12px 4px 6px;
  }
  .label-status.blue button {
    color: var(--unhcrBlue);
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 10px;
  }
  .label-status.gender {
    background-color: var(--grey300);
    color: black;
    min-width: 20px;
    text-align: center;
  }
  .info-icon {
    width: 16px;
    height: 16px;
    background-image: url(img/icons-set/info.svg);
    display: inline-block;
    vertical-align: middle;
    content: "";
  }
  .warning-icon {
    width: 16px;
    height: 16px;
    background-image: url(img/icons-set/warning.svg);
    display: inline-block;
    vertical-align: middle;
    content: "";
  }
  .reset-filter-button{
    border: none;
    background-color: transparent;
    background-image: url(img/icons-set/reset-filter.svg);
    padding: 14px 16px;
    align-self: end;
    color: var(--unhcrBlue);
    background-repeat: no-repeat;
    background-position: center left 12px;
    padding-left: 44px;
    min-height: 61px;
    display: flex;
    align-items: center;
  }
  .check-symbol {
    width: 20px;
    height: 20px;
    background-image: url(img/icons-set/check.svg);
    display: inline-block;
    vertical-align: middle;
    content: "";
    margin-right: 4px;
  }
  .denied-symbol {
    width: 20px;
    height: 20px;
    background-image: url(img/icons-set/denied.svg);
    display: inline-block;
    vertical-align: middle;
    content: "";
    margin-right: 4px;

  }
  .red-alert {
    display: inline-block;
    color: white;
    background-color: var(--statusRed-700);
    border-radius: 60px;
    max-width: fit-content;
    padding: 2px 4px;
    text-align: center;
    vertical-align: middle;
  }
  
  .wrap {
    width: 100%;
    background-color: var(--mainBakground);
    padding: 40px 0;
    overflow: hidden;
  }
  .wrap button:focus{
    outline: none;
  }

  /*Imposta l'ombra solo alla shell più esterna*/
  .shell:not(.shell *) {
    box-shadow: var(--defaultShadow);
    width: 100%;
    max-width: min(calc(100% - 40px), 1200px);
    margin: 0 auto;
  }
  .shell:not(.shell *):has(> .shell) {
    display: flex;
    gap: 16px;
  }
  
  .shell {
    padding-inline: var(--paddingShellInline);
    width: 100%;
    border-radius: 24px;
    background-color: white;
  }
  .shell .shell {
    border-radius: 16px;
  }
  .shell:has(> .shell) {
    background-color: var(--blue100);
    padding: 16px;
  }
  
  /*Login style*/
  .shell.login {
    overflow: hidden;
    padding-inline: 0;
    display: flex;
    min-height: 631px;
  }
  .login-img-wrapper {
    flex: 0 1 720px;
    align-self: stretch;
  }
  
  .login-img-wrapper img {
    object-fit: cover;
    height: 100%;
  }
  
  .login-text {
    display: flex;
    flex-direction: column;
    padding: 40px 80px;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    flex: 1 0 480px;
  }
  .login-text h1,
  .login-text h1 + p {
    margin: 0;
  }
  
  .login-text > p:first-child {
    margin-bottom: auto;
  }
  
  .signup-form,
  .login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 56px;
  }
  .login-form:last-child{
    margin-bottom: auto;
  }
  .signup-form a,
  .login-form a {
    color: var(--grey600);
  }
  
  .signup-form input[type="submit"],
  .login-form input[type="submit"] {
    max-width: 100%;
    margin-top: 32px;
  }
  
  .input-wrapper {
    position: relative;
    max-width: 320px;
  }
  .inputFloating {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 36px 8px 16px;
    color: black;
    border-radius: 8px 8px 0px 0px;
    border: none;
    border-bottom: 1px solid var(--grey600);
    transition: border-bottom 250ms;
    background-color: transparent;
  }
  
  .inputFloating.error {
    border-bottom: 1px solid var(--statusRed-900);
  }
  
  .inputFloating.reverse {
    background-color: var(--grey100);
  }
  .inputFloating.filter {
    background-color: var(--blue200);
    border: none;
    border-radius: 8px;
  }
  
  .inputFloating:focus {
    /* border-bottom: 2px solid var(--grey600); */
  }
  
  .inputFloating.error:focus-visible,
  .inputFloating.error:focus {
    border: 2px solid var(--statusRed-900);
  }
  .inputFloating::placeholder {
    visibility: hidden;
  }
  .inputFloating.centered{
      padding: 20px 16px;
  }

  span.inputFloating ,
  select.inputFloating {
    min-height: 61px;
    appearance: none;
    padding: 20px 16px;
    background-image: url(img/icons-set/arrow-down-2025.svg);
    background-repeat: no-repeat;
    background-position: right 16px center;
  }
  .page-template-student-edit-profile .main-zone select.inputFloating {
    max-width: 100%;
  }

  select.inputFloating:invalid {
    color: var(--grey600);
  }
  
  /* select.inputFloating:invalid + .course-selection-wrapper {
    display: none;
  } */

  textarea.inputFloating{
    padding: 16px;
  }
  textarea#description{
    min-height: 176px;
  }
  textarea#criteria{
    min-height: 104px;
  }
  #output-choice-container {
    margin-top: 8px;
    padding: 8px 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
  }
  .labelInside {
    position: absolute;
    top: 18px;
    left: 16px;
    color: var(--grey600);
    pointer-events: none;
    transform-origin: left center;
    transition: transform 250ms;
  }
  
  .inputFloating:focus + .labelInside,
  .inputFloating:not(:placeholder-shown) + .labelInside {
    transform: translateY(-60%) scale(0.75);
  }
  
  .inputFloating.error + .labelInside {
    color: var(--statusRed-900);
  }
  
.togglerPasswordChekbox{
    display: none;
  }
  .passwordToggler {
    position: absolute;
    top: 14px;
    right: 16px;
    color: var(--grey600);
    cursor: pointer;
    transform-origin: right center;
  }
  
  .signup-line {
    margin-top: auto;
    display: flex;
    gap: 4px;
    width: 100%;
    justify-content: center;
  }
  
  .signup-line a {
    color: #000;
  }
  
  .signup-line a:hover {
    color: #000;
    text-decoration: underline;
  }
  
  /* SIGNUP */
  .shell.signup {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 56px 80px 40px;
  }
  .signup-form > .input-wrapper {
    max-width: 100%;
  }

  .signup-form .name-wrapper {
    display: flex;
    gap: 8px;
  }
  .signup-form .name-wrapper .input-wrapper {
    flex: 1 1 196px;
  }
  .input-wrapper label + p {
    margin-top: 8px;
  }
  .checkbox-wrapper {
    display: flex;
    gap: 8px;
    align-items: flex-start;
  }
  .signup-form + .signup-line {
    margin-top: 24px;
  }
  
  /*DASHBOARD Studente e Università*/
  .shell.dashboard {
    min-height: 632px;
  }
  .dashboard .shell.left-side-dashboard {
    display: flex;
    max-width: 304px;
    padding: 0px;
    flex-direction: column;
    gap: 8px;
  }
  
  .shell.user-info {
    flex: 1 1 394px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px;
    gap: 8px;
  }
  
  .shell.user-info > .user-name + a {
    /* Da margine tra nome e pulsante quando il profilo non è completo */
    margin-top: 16px;
  }
  
  .shell.user-info > .user-name + p {
    /* A profilo completo, avvicino il country al nome */
    margin-top: -4px;
  }
  
  .shell.user-info div {
    margin-top: auto;
  }
  .shell.user-info div.status-line {
    margin-top: 0;
  }
  .shell.user-info div p {
    margin-bottom: 4px;
  }
  
  .shell.user-info .user-name {
    margin: 0;
  }
  
  .bluebox {
    background-color: var(--blue200);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .new-application-notice {
    display: flex;
    column-gap: 4px;
    row-gap: 8px;
    flex-wrap: wrap;
  }
  .new-application-notice p {
    margin: 0;
  }
  .new-application-notice p:last-child {
    width: 100%;
  }
  .shell.main-zone {
    padding: 16px;
    flex: auto;
    gap: 6px;
    display: flex;
    flex-direction: column;
  }
  /*Se da sola, ha 40 di padding, se ne ha un'altra all'interno, allora viene ridotto*/
  .shell.main-zone {
    padding: 40px;
  }
  .shell.main-zone:has(> .shell) {
    margin: 0;
    padding: 40px 24px 24px 24px;
  }
  
  .shell.main-zone .shell {
    padding: 24px 40px 40px;
  }
  
  .choice-title {
    color: var(--unhcrBlue);
  }
  
  .application-form .above-input {
    margin-top: 16px;
  }
  .above-input {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    margin-top: 24px;
  }
  .above-input * {
    margin-bottom: 0;
  }
  .above-input .info-icon {
    margin-right: auto;
  }
  
  .application-form select + select {
    margin-top: 16px;
  }
  .application-form .button-line {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
  }
  .application-form .button-line .warning-icon {
    margin-right: -10px;
    margin-bottom: 2px;
  }
  .grey-notice {
    color: var(--grey600);
    background-color: var(--blue100);
    padding: 16px 8px;
    text-align: center;
    border-radius: 16px;
    margin: 0;
  }
  .notice {
    color: var(--statusAmber-900);
    padding: 4px;
    border-radius: 4px;
    background-color: var(--statusAmber-200);
  }
  
  .loader-wrapper {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
  }

.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: 
    radial-gradient(farthest-side,var(--unhcrBlue) 94%,#0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%,var(--unhcrBlue));
  -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  animation: l13 1s infinite linear;
}
@keyframes l13{ 
  100%{transform: rotate(1turn)}
}
  
  .shell.first-choice-wrapper:has(> .showcase-wrapper) {
    background-color: transparent;
    padding-inline: 0;
  }
  .shell.second-choice-wrapper:has(> .showcase-wrapper) {
    background-color: transparent;
    padding-inline: 0;
  }
  .course-line {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--grey300);
    border-radius: 16px;
    background-color: white;
  }
  
  .showcase-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    justify-content: center;
  }
  .showcase-wrapper + a {
    margin: 40px 0 0 auto;
  }
  .showcase-title {
    display: flex;
    align-items: center;
    padding: 0 16px;
  }
  .showcase-title p {
    color: var(--grey600);
  }
  .showcase-title * {
    margin: 0;
  }
  .showcase-title p:last-of-type {
    margin-left: auto;
  }
  .course-line * {
    margin: 0;
  }
  /*Specifico per uni*/
  .logo-uni {
    box-sizing: border-box;
    border-radius: 50%;
    border: 2px solid var(--blue200);
    background-color: white;
    height: 96px;
    width: 96px;
    object-fit: cover;
  }
  
  /*Moduli ricerca*/
  .shell.explore-wrapper {
    padding: 0;
    flex-direction: column;
    overflow: hidden;
  }
  /* .explore-wrapper a {
    color: var(--grey600);
    padding: 16px 0;
  } */
  
  .explore-wrapper a:hover {
    color: var(--grey600);
  }
  .explore-wrapper .explore-header {
    background-color: white;
    padding: 32px 40px;
  }
  .explore-wrapper .shell.explore-body {
    padding: 16px 40px 32px;
    background-color: var(--blue100);
  }
  .title-search-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
    margin: 16px 0;
  }
  .title-search-wrapper p {
    margin: 0;
  }
  .search-bar {
    flex: 1 1 auto;
    background-color: var(--blue100);
    color: var(--grey600);
    padding: 12px 16px 12px 48px;
    border-radius: 100px;
    border: none;
    background-image: url(img/icons-set/search.svg);
    background-position: left 16px center;
    background-repeat: no-repeat;
  }
  .search-bar::placeholder {
    color: var(--grey600) !important;
  }
  .title-filter-wrapper .above-input {
    margin-bottom: 4px;
  }
  .filter-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
    /*TEST*/
    flex-wrap: wrap;
  }
  @media (max-width: 600px) {
    .explore-header .title-search-wrapper{
      flex-wrap: wrap;
      row-gap: 14px;
    }
  }
  .filter-wrapper .title-filter-wrapper {
    flex: 1 1 auto;
  }
  .explore-body.info-row-type {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .info-row {
    border-radius: 16px;
    border: 2px solid var(--blue-200);
    background: white;
    display: grid;
    align-items: center;
    padding: 8px 16px;
    gap: 16px;
  }

  .info-row-head.row-5{
    display: grid;
  }
  .info-row-head.row-5 p {
    margin-bottom: 0;
    margin-left: 8px;
    margin-top: 16px;
  }

  .info-row-head.row-5 p:first-child {
    margin-left: 16px;
  } 
  .info-row-head.row-5,
  .info-row.row-5 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
  .info-row.row-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .info-row p {
    margin: 0;
  }
  .info-row.row-5.pending {
   border: 2px solid var(--blue200);
  }
  .verify-button {
    margin-inline: auto;
    border: none;
    background-color: transparent;
    padding: 12px;
    color: var(--grey600);
    cursor: pointer;
    text-align: center;
  }
  .verify-button.grey-400 {
    color: var(--grey400);
  }
  /*Multi step*/
  .dashboard .shell.left-side-dashboard.multi-step {
    padding: 40px 40px 40px 32px;
  }
  .multi-step p {
    margin: 0;
  }
  .title-multi-step {
    margin-bottom: 24px;
  }
  .multi-step ol {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--unhcrBlue);
    padding: 0;
  }
  
  /* The switch - the box around the slider */
  .switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 88px;
    height: 48px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--grey200);
    transition: 0.4s;
    border-radius: 30px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 32px;
    width: 32px;
    border-radius: 50%;
    left: 8px;
    bottom: 8px;
    background-color: white;
    transition: 0.4s;
  }
  
  input:checked + .slider {
    background-color: var(--unhcrBlue);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px var(--unhcrBlue);
  }
  
  input:checked + .slider:before {
    transform: translateX(120%);
    background-color: white;
  }
  
  input[type="file"].hide {
    display: none;
  }
  .custom-file-upload {
  
  }
  
  .focal-point-header {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .focal-point-header div * {
      margin: 0;
  }
  .focal-point-header a{
    margin-left: auto;
  }
  /*Specifico per il cambio info profile*/
  .focal-point-header + .head-underline{
    display: flex;
    gap: 24px;
    margin-block: 40px;
  }
  
  .focal-point-shell{
      padding-top: 16px;
      padding-bottom: 40px;
  }
  .focal-point-shell .mw720{
      margin-top: 40px;
  }
  .focal-point-shell .input-wrapper{
    max-width: 100%;
  }
  .focal-point-shell .input-wrapper .passwordToggler{
    top: 18px;
  }
  .create-course-form{
      display: flex;
      flex-direction: column;
      gap: 24px;
      margin-top: 16px;
  }
  .create-course-form button{
      margin-left: auto;
  }
  .create-course-form + div{
      margin-top: 40px;
      width: 100%;
      border-top: 1px solid var(--grey300) ;
  }
  
  .change-fp-name,
  .change-fp-password{
      display: flex;
      flex-direction: column;
      gap: 24px;
      margin-bottom: 40px;
  }
  .change-fp-name button,
  .change-fp-password button{
    margin-left: auto;
  }
  .change-fp-password{
    display: none;
  }
  fieldset:not(fieldset fieldset) {
    display: flex; 
    flex-direction: column; 
    gap: 4px;
    border-top: 4px solid var(--grey100);
    margin-top: 24px;
    margin-bottom: 28px;
    justify-content: space-evenly;
  }
  /*Tolgo il bordo ai primi fieldset*/
  fieldset:first-child{
    margin-top: 0;
    border-top: none;
  }
  fieldset:not(fieldset *) > p,
  fieldset:not(fieldset *) > h3{
    margin-bottom: 0;
    margin-top: 28px;
  }
  fieldset fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }
  .change-image-row{
    margin-top: 40px;
  }
  .change-image-row label{
    margin-left: 16px;
  }
  
  #founding-rector > div{
   flex: 1 1 auto;
  }
 
  #edit-university-form-button{
    margin-left: auto;
    margin-top: 28px;
  }
  
  fieldset#mail-phone-fs :first-child{
    flex: 0 1 420px;
  }
  fieldset#mail-phone-fs :last-child{
    flex: 0 1 276px;
  }
  fieldset#last-two-lines-update-university > :first-child,
  fieldset#last-two-lines-update-university > :nth-child(2){
    flex: 0 1 348px;
  }
  /*Per rimuovere le frecce dall'input type number*/
  /* Chrome, Safari, Edge, Opera */
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  /* Firefox */
  input[type=number] {
    -moz-appearance: textfield;
  }

  #filter-course-wide,
  #filter-topic-wide {
    flex: 0 1 494px;
  }

  #filter-course-medium,
  #filter-topic-medium,
  #filter-university-medium {
    flex: 0 1 324px;
  }
  #first-choice-filter{
    max-width: fit-content;
  }

#confirmationModalDeleteCourse{
  width: 100%;  
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex; 
  justify-content: center; 
  align-items: center;
  z-index: 1000;
}
#confirmationModalDeleteCourse > div {
  background: white; 
  padding: 24px; 
  border-radius: 16px; 
  text-align: right;
  max-width: 410px;
}
#confirmationModalDeleteCourse > div :last-child{
  margin-left: 14px;
}

/* Pagina che mostra le informazioni dell'università */
#university-showcase{
  padding-top: 16px;
  padding-bottom: 40px;
}
#university-showcase >div{
  --fluid-8-40: clamp(8px, -3.1304px + 3.4783vw, 40px);
  display: flex;
  padding: var(--paddingShellInline);
}
#university-showcase .logo-uni + h1{
  max-width: 250px;
}
#courses-offered{
  margin-inline: calc( -1 * var(--paddingShellInline)); /*Stesso valore dell'padding inline della shell*/
  background-color: var(--blue100);
  flex-direction: column;
}
#university-showcase .left-side-text {
  flex: 0 1 363px;
}
#university-showcase .right-side-text {
  display: flex;
  flex: 0 1 741px;
  flex-direction: column;
  gap: 32px;
}
#university-showcase #single-detail >p:first-child{
  margin-bottom: 8px;
}
#support {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 4px solid var(--grey100);
}
#support .right-side-text p:first-child{
  margin-bottom: 4px;
}
#support  #uni-mail{
  margin-top: -32px;
}
.courses-card-group{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  container-type: inline-size;
}
@media (min-width: 1000px) {
  .courses-card-group {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
  }
}

.course-card-v2 {
  border-radius: 16px;
  padding: 16px;
  flex: 0 1 362px;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.course-card-v2 a.title-S,
.course-card-v2 a.title-S:hover,
.course-card-v2 a.title-S:focus {
  width: 100%;
  color: black;
  margin-bottom: 8px;
}

.course-card-v2 a:nth-last-child(2) {
  margin-left: auto;
  margin-right: 8px;
}

.course-card-v2:has(> a:nth-last-child(3):first-child){
  padding-top: 24px;
}

.dashboard .main-zone > .step-form {
  display: none; /* Nasconde tutti i form, li mostro con JS */
  flex-direction: column;
  flex: 1 0 auto;
}

.step-form form{
  display: flex; 
  flex-direction: column;
  flex: 1 0 auto;
}
.step-form .name-wrapper{
  display: flex;
  gap: 16px;
}

.step-form .input-wrapper{
  flex: 1 1 auto;
  max-width: none;
}
.step-form .input-wrapper:has(+ .buttons-line){
  margin-bottom: 80px;
}
.step-form .buttons-line{ 
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 24px;
}

/* Dashboard operation */
.operation-dashboard .explore-body.info-row-type {
  padding-inline: 0;
  background-color: transparent;
}
.operation-dashboard .head-underline{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.operation-dashboard .head-underline p{
  margin-bottom: 0px;
}
.operation-dashboard .user-info {
  max-height: 402px ;
}
.operation-dashboard .user-info p:first-of-type:has(+ .user-name){
  margin-bottom: 0;
}
.operation-dashboard .info-row-type > a:last-child{
  margin-top: 24px;
  margin-left: auto;
}
#operation-research-body{
  padding-top: 0;
}
/*Forse da cambiare step-form con #education-skills" */

.step-form fieldset button {
 margin-left: auto;
 margin-top: 16px;
}
.step-form .single-language-wrapper {
 display: flex;
 gap: 16px;
 flex-wrap: wrap;
}
.step-form .line-remove-button{
    display: flex;
    flex: 0 0 100% ;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0px;
}
.single-language-wrapper .line-remove-button button{
  margin-top: 0;
}
.step-form .single-language-wrapper .input-wrapper:first-child {
flex: 1 1 416px;
}
.step-form .single-language-wrapper .input-wrapper {
  flex: 1 1 158px;
  }

.shell.nr-students{
  display: flex;
  gap: 24px;
  padding: 16px 8px;
  align-items: center;
}
/* TEST ONLY ATTRIBUTES */
.page-template-unicore2025 .shell:not(.shell .shell){
  margin-bottom: 80px;
}
#first-row-data-single-professional-experience{
  display: flex;
  gap: 16px;
}
#first-row-data-single-professional-experience div:has(> input[type="date"]){
  flex: 0 0 160px;
  max-width: 160px;
}
#first-row-data-single-professional-experience div:not(:has(> input[type="date"])){
  flex: 0 0 200px;
}
#professional-experience-container textarea{
  min-height: 104px;
}
#verify-email-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
#verify-email-form input{
  flex: 1 0 auto;
  width: 100%;
}

/* Style for UC dashboard */
.shell-edition {
    transform-style: preserve-3d;
    transition: transform 1s;
    position: relative;
}

.front,
.back {
    backface-visibility: hidden;
}

.back {
    position: absolute;
    width: 100%;
    transform: rotateY(180deg);
    margin-inline: auto;
    top: 0;
    left: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.shell-edition .back button{
  margin-left: auto;
}
.shell-edition.flipped {
    transform: rotateY(180deg);
}
table.applicants-by-country tr:nth-child(even){background-color: #f2f2f2;}
.back-edition-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#rotateButton {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.page-template-UC-edit-student #admissibility-output .buttons-line button.next-button {
  display: none;
}
/* .page-template-FP-edit-application form div:is(.confirmation-box, .rejection-box) div:last-child, */
/* .page-template-FP-edit-application form div:is(.confirmation-box, .rejection-box) button[type="submit"]{
  margin-top: 25px;
} */
.page-template-FP-edit-application form div:is(.confirmation-box, .rejection-box) .input-wrapper + div{
  margin-top: 25px;
}
.page-template-FP-edit-application form + a{
  margin-left: auto;
}

.send-to-repechage-zone{
    margin: -40px;
    margin-bottom: 8px;
    background-color: var(--unhcrBlue);
    padding: 20px;
    border-radius: 16px 16px 0 0;
}

/* Style for calendar */

/* Basic Modal Styles */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    /* Auto margin for older browsers */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more specific */
    max-width: 500px;
    /* Max width */
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Close Button */
.modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.modal-content p {
    margin: 10px 0;
}

/* Style for the link inside the modal */
#modal-link a {
    color: #007bff;
    /* Or your theme's link color */
    text-decoration: none;
}

#modal-link a:hover {
    text-decoration: underline;
}

#modal-link span {
    /* Handle 'N/A' text */
    color: #6c757d;
    /* Greyish text for N/A */
}
