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

    .rich-text ul {
        padding-left: 19.7px;
    }

}

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

    div#share {
        bottom: 30px;
        right: 30px;
    }

    div#share a.btn {
        width: 43px;
        font-size: 16px;
    }

}

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

    img.logo-de {
        height: 60px;
        position: absolute;
        right: 120px;
        top: 50%;
        transform: translateY(-50%);
    }

    .tooltip {
        font-size: 8.5px;
    }

    .tooltip-inner {
        max-width: 200px;
        padding: 2.5px 5px;
        color: #fff;
        text-align: center;
        background-color: #000;
        border-radius: .2.5px;
    }

    section h2 {
        font-size: 25px;
        line-height: 1.16;
    }

    .h1 {
        font-size: 20.7px;
        line-height: 0.932;
    }

    .template-404 h1 {
        font-size: 24px;
    }

    .h2 {
        font-size: 12.4px;
        line-height: 1.556;
        margin-bottom: 5px;
    }

    h3, .h3 {
        font-size: 16.9px;
        line-height: 1.201;
        margin-bottom: 5px;
    }

    h4, .h4 {
        font-size: 16px;
    }

    .btn-primary {
        font-size: 12.4px;
        letter-spacing: 1px;
        padding: 7.4px 24.7px;
    }

    .border-rm-0 {
        border: 0 !important;
    }

    .row.double-negative-margin {
        margin-right: -5px;
        margin-left: -5px;
    }

    .alert-primary {
        font-size: 14px;
        line-height: 1.42;
    }

    .alert-dismissible .btn-close, .alert-dismissible .close {
        right: 11.4px;
        padding: 10px 20px;
        font-size: 14px;
    }

    #mobile-languages .active {
        background-color: rgba(255,255,255,0.4);
        font-weight: 600;
    }

    /* OVERRIDE BOOTSTRAP */

    .mb-1, .my-1 {
        margin-bottom: 2.5px !important;
    }

    .mt-1, .my-1 {
        margin-top: 2.5px !important;
    }

    .mb-3, .my-3 {
        margin-bottom: 9.6px !important;
    }

    .mt-3, .my-3 {
        margin-top: 9.6px !important;
    }

    .mb-4, .my-4 {
        margin-bottom: 14.5px !important;
    }

    .mt-4, .my-4 {
        margin-top: 14.5px !important;
    }

    .pb-4, .py-4 {
        padding-bottom: 14.5px !important;
    }

    .pt-4, .py-4 {
        padding-top: 14.5px !important;
    }

    .mb-5, .my-5 {
        margin-bottom: 29px !important;
    }

    .mt-5, .my-5 {
        margin-top: 29px !important;
    }

    .ps-3, .px-3 {
        padding-left: 9.6px !important;
    }

    .pe-3, .px-3 {
        padding-right: 9.6px !important;
    }

    .ps-4, .px-4 {
        padding-left: 14.5px !important;
    }

    .pe-4, .px-4 {
        padding-right: 14.5px !important;
    }

    .pb-5, .py-5 {
        padding-bottom: 29px !important;
    }

    .pt-5, .py-5 {
        padding-top: 29px !important;
    }

    .p-5 {
        padding: 29px !important;
    }

    /* HEADER */

    #mobile-header .wrapper {
        padding: 20px 120px;
        position: relative;
    }

    #mobile-header a.mobile-logo {
        width: 60px;
        position: absolute;
        top: 50%;
        left: 60px;
        transform: translate(-50%, -50%);
    }

    #mobile-header a.mobile-logo img {
        width: 100%;
    }

    #mobile-header a.sandwitch {
        background-color: #FF6602;
        height: 60px;
        width: 60px;
        display: block;
        position: absolute;
        top: 50%;
        right: 60px;
        transform: translate(50%, -50%);
    }

    #mobile-header a.sandwitch span {
        position: absolute;
        width: 50%;
        height: 2px;
        background-color: #FFF;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #mobile-header a.sandwitch span:before,
    #mobile-header a.sandwitch span:after {
        content: "";
        display: block;
        background-color: #FFF;
        height: 2px;
        width: 100%;
        position: absolute;
    }

    #mobile-header a.sandwitch:hover span,
    #mobile-header a.sandwitch:focus span,
    #mobile-header a.sandwitch:hover span:before,
    #mobile-header a.sandwitch:focus span:before,
    #mobile-header a.sandwitch:hover span:after,
    #mobile-header a.sandwitch:focus span:after {
        background-color: #FFF;
    }

    #mobile-header a.sandwitch span:after {
        transform: translateY(-10px);
    }

    #mobile-header a.sandwitch span:before {
        transform: translateY(10px);
    }

    /* MAIN */

    #main-column,
    .interview,
    .notes {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }

    /* BREADCRUMBS */

    #breadcrumbs li:not(:last-child) {
        padding-right: 0.5rem;
        margin-right: 0.5rem;
    }

    #breadcrumbs {
        font-size: 12px;
        line-height: 1.667;
    }

    #breadcrumbs li:not(:last-child):after {
        font-size: 8px;
    }

    /* PHRASE */

    .phrase-block .rich-text {
        font-size: 32px;
        line-height: 1.125;
    }

    .phrase-block img {
        width: 39px;
    }

    /* NOTES */

    #notes ul li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 18px !important;
        word-break: break-word;
    }

    /* TABLE */

    .table th, .table td {
        padding: 7px;
        font-size: 14px;
    }

    /* FORM */

    section form label {
        font-size: 12px;
        letter-spacing: .5px;
        line-height: 1.667;
    }

    section form .form-control {
        font-size: 13px;
    }

    section form .btn-primary {
        font-size: 12px;
        letter-spacing: .9px;
        line-height: 0.917;
    }

    /* GRID */

    .results-grid {
        margin-left: -5px;
        margin-right: -5px;
    }

    .results-grid .erasmus,
    .results-grid .teaching {
        padding: 5px;
    }

    .results-grid .erasmus .erasmus-infos h4,
    .results-grid .erasmus .opportunity-infos h4,
    .results-grid .teaching .teaching-infos h4 {
        padding: 9px 10px 10px;
        font-size: 18.6px;
        line-height: 1.183;
    }

    .results-grid .erasmus .erasmus-infos h4 span,
    .results-grid .erasmus .opportunity-infos h4 span,
    .results-grid .teaching .teaching-infos h4 span {
        padding: 0 10px 10px;
        font-size: 12.4px;
        line-height: 1.218;
    }

    .results-grid .erasmus .erasmus-infos .hover span,
    .results-grid .erasmus .opportunity-infos .hover span,
    .results-grid .teaching .teaching-infos .hover span {
        bottom: 20px;
        right: 20px;
        width: 41.2px;
        border-width: 2px;
    }

    .results-grid .erasmus .erasmus-infos .hover span,
    .results-grid .erasmus .opportunity-infos .hover span {
        bottom: 10px;
        right: 10px;
    }

    .results-grid .erasmus .erasmus-infos .hover span i,
    .results-grid .erasmus .opportunity-infos .hover span i,
    .results-grid .teaching .teaching-infos .hover span i {
        font-size: 20px;
    }

    .results-grid .result {
        padding-left: 10px;
        padding-right: 10px;
    }

    .results-grid .result a {
        margin-bottom: 20px;
    }

    .results-grid .result .result-title span {
        bottom: 0;
        right: 0;
        font-size: 18px;
        padding: 5.5px 10px;
    }

    .results-grid .result a .hover {
        opacity: 1;
    }

    /* GRID: PROJECT TEAM */

    .team .results-grid {
        padding: 0 60px;
    }

    /* CARD */

    .card-block .occhiello,
    .mobile-card-block .occhiello,
    .card-block .card-meta,
    .mobile-card-block .card-meta {
        font-size: 18px;
        line-height: 1.2;
        padding-right: 0;
    }

    .card-block h1,
    .mobile-card-block h1,
    .card-block h1.page-title,
    .mobile-card-block h1.page-title {
        font-size: 38px;
        line-height: 1.053;
        padding-right: 0;
    }

    .card-block hr {
        margin-right: -60px;
    }

    .card-block .value {
        font-size: 14px;
    }

    .card-block .rich-text {
        padding-right: 0;
    }

    .card-block .rich-text {
        font-size: 14px;
    }

    .card-block .curricula,
    .card-block .disciplinary-field,
    .card-block .language,
    .card-block .area,
    .card-block .recipient,
    .mobile-card-block .curricula,
    .mobile-card-block .disciplinary-field,
    .mobile-card-block .language,
    .mobile-card-block .area,
    .mobile-card-block .recipient {
        border-radius: 2px;
        padding: 5px;
        margin-bottom: 3px;
        font-size: 13px;
    }

    /* DOCUMENTS */

    .documents-block .document a {
        font-size: 1rem;
        padding: 0.75rem 0;
    }

    /* NEWS */

    .results-grid .article .article-title {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .results-grid .article p.date {
        font-size: 13px;
        letter-spacing: 0;
    }

    .results-grid .article .sector-tag {
        font-size: 11px;
    }

    h3.date-time {
        font-size: 16.8px;
    }

    p.subtitle {
        font-size: 13px;
        line-height: 1.462;
        padding-left: 10px;
    }

    p.location {
        font-size: 13px;
        line-height: 1.462;
        font-weight: 300;
    }

    /* GALLERY */

    .gallery-block .wrapper .hover {
        padding: 12.5px;
        font-size: 18px;
        line-height: 1.111;
    }

    .gallery-block .wrapper .project-card-title {
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .tab-content .gallery-block > div {
        max-width: 150px;
        flex-basis: 150px;
    }

    /* PUBLICATIONS */

    .section-title {
        writing-mode: horizontal-tb;
        font-size: 24px;
        letter-spacing: .5px;
        line-height: 1.167;
        padding: 0 60px;
    }

    .scrollbar {
        margin: 0 60px;
    }

    .scrollbar .handle .mousearea {
        height: 5px;
        border-radius: 2.5px;
    }

    .publications-grid {
        padding: 0 60px;
    }

    .publications-column {
        width: 345px;
        margin-right: 75px;
    }

    .mobile-publication h4, .mobile-publication h4 a,
    .publication h4, .publication h4 a {
        font-size: 16.6px;
        line-height: 1.506;
    }

    .mobile-publication p,
    .publication p {
        font-size: 13.3px;
        line-height: 1.624;
    }

    .mobile-publication {
        width: 200px;
        padding-right: 20px;
    }

    .mobile-publication img {
        margin-bottom: 15px;
    }

    .publications-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.75rem;
    }

    .publication-card h3,
    .publication-card h4 {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
        text-align: left;
    }

    .publication-card p {
        font-size: 10px;
        font-weight: 400;
        text-align: left;
        color: #6a6a6a;
    }

    .template-folderbookspage .book-year-title {
        font-size: 1.25rem;
    }

    /* INTERVIEW */

    .dialog-block p.question {
        font-size: 18px;
        line-height: 1.111;
    }

    .dialog-block .answer p,
    .dialog-block .answer ul,
    .dialog-block .answer ol {
        font-size: 14px;
        line-height: 1.571;
    }

    /* SEARCH */

    .dropdown {
        display: inline-block;
    }

    .dropdown .btn {
        width: 220px;
    }

    .dropdown-toggle::after {
        display: inline-block;
        margin-left: 4px;
        vertical-align: middle;
        content: "";
        border-top: 6px solid #FFF;
        border-end: 6px solid transparent;
        border-bottom: 0;
        border-start: 6px solid transparent;
    }

    .dropdown-menu.show {
        width: 100%;
        padding: 0;
    }

    .dropdown-item {
        padding: 7.4px 24.7px;
        font-size: 14px;
    }

    .dropdown-item.active .badge-primary {
        background-color: #FFF;
        color: #393939;
    }

    .dropdown-item.active, .dropdown-item:active {
        background-color: #FF6602;
    }

    .results-grid .page {
        padding-right: 5px;
        padding-left: 5px;
    }

    .results-grid .page a {
        padding: 15px 0;
    }

    .results-grid .page a h3 {
        font-size: 20px;
    }

    .results-grid .page a .path {
        font-size: 12px;
    }

    .results-grid .page a .path li:not(:last-child) {
        padding-right: 20px;
        margin-right: 20px;
    }

    .results-grid .page a .path li:not(:last-child):after {
        font-size: 8px;
    }

    .pagination {
        border-radius: 2.5px;
        margin-bottom: 15px;
    }

    .pagination .page-item a {
        font-size: 18px;
        padding: 7.5px 15px;
    }

    .pagination-wrapper p {
        font-size: 14px;
    }

    /* FOOTER */

    footer {
        padding-left: 0;
        padding-right: 0;
    }

    footer p {
        font-size: 13px;
        line-height: 1.538;
    }

    .slogan {
        font-size: 18px;
        line-height: 1.444;
    }

    footer label {
        font-size: 13px;
        line-height: 1.538;
    }

    footer h5 {
        font-size: 12px;
        letter-spacing: .4px;
        line-height: 1.667;
    }

    footer #full-logo {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    footer #full-logo img {
        width: 185px;
    }

    .social a {
        width: 2rem;
        height: 2rem;
    }

    .social a i {
        font-size: 0.875rem;
    }

    footer .form-control {
        font-size: 12px;
        border-radius: 1.4px;
        padding: 3.6px 7.2px;
        height: auto;
    }

    /* HOME */

    .template-homepage section h2 {
        font-size: 36px;
        line-height: 1.111;
        padding: 0 20px;
    }

    .template-homepage section p {
        font-size: 14px;
        line-height: 1.429;
    }

    .template-homepage section a.btn.btn-primary {
        height: 31.3px;
        font-size: 9.6px;
        letter-spacing: .9px;
        line-height: 1.667;
    }

    .template-homepage section .event a.btn.btn-primary {
        border: 2px solid #FFF;
        top: 19.3px;
        right: 19.3px;
        width: 41.3px;
    }

    .template-homepage section .event a.btn.btn-primary i {
        font-size: 19.8px;
    }

    .template-homepage section .events-grid,
    .template-homepage section .news-grid {
        padding: 0 60px;
    }

    .template-homepage section .event,
    .template-homepage section .article {
        width: 185px;
        margin-right: 20px;
        flex: 0 0 185px;
    }

    .template-homepage section .event .card-body {
        padding: 40px 20px 20px;
    }

    .template-homepage section .event.by-dium .card-body {
        padding: 40px 20px;
    }

    .template-homepage section .event .date {
        width: 48px;
        left: 20px;
    }

    .template-homepage section .event .date.date-range {
        width: 96px;
    }

    .template-homepage section .event .date.date-range .fas.fa-arrow-right {
        font-size: 10px;
    }

    .template-homepage section .event.by-dium .card-body:before {
        padding: 3.5px 10px 1.5px;
        letter-spacing: 10px;
        font-size: 10px;
        text-indent: 10px;
    }

    .template-homepage section .event .date p {
        font-size: 13.8px;
    }

    .template-homepage section .event .date p span {
        font-size: 19.3px;
    }

    .template-homepage section .event .date p span sup {
        font-size: 10px;
    }

    .template-homepage section .event h3.card-title {
        font-size: 12.4px;
        line-height: 1.331;
    }

    .template-homepage section .article {
        padding: 14px 16px 16px;
        margin-right: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .template-homepage section .article .article-title,
    .template-homepage section .article h3 {
        font-size: 12.4px;
        line-height: 1.331;
        margin-bottom: 6px;
    }

    .template-homepage section .article p.date {
        margin: 0 0 8px 0;
        font-size: 11px;
        letter-spacing: 0;
    }

    .template-homepage section .article .sector-tag {
        font-size: 10px;
    }

    .template-homepage section .news-header {
        gap: 8px 12px;
    }

    .template-homepage section .news-header .news-all {
        font-size: 13px;
    }

    /* NEWS & EVENTS */

    .results-grid .event {
        padding: 5px;
    }

    .results-grid .event a.btn.btn-primary {
        top: 20px;
        right: 20px;
        width: 50px;
        border: 2px solid #FFF;
    }

    .results-grid .event a.btn.btn-primary i {
        font-size: 26px;
    }

    .results-grid .event .date {
        width: 60px;
        left: 20px;
    }

    .results-grid .event .date p {
        font-size: 16px;
    }

    .results-grid .event .date p span {
        font-size: 26px;
    }

    .results-grid .event .date p span sup {
        font-size: 14px;
    }

    .results-grid .event .card-body {
        position: relative;
        padding: 50px 20px 20px;
    }

    .results-grid .event.by-dium .card-body {
        position: relative;
        padding: 50px 20px;
    }

    .results-grid .event.by-dium .card-body:before {
        padding: 5px 14px 2.5px;
        letter-spacing: 14px;
        font-size: 14px;
        font-weight: 600;
        text-indent: 14px;
    }

    .results-grid .event .card-title {
        font-size: 16px;
        line-height: 1.25;
    }

    /* FOOTER */

    footer .rich-text {
        font-size: 11px;
    }

    .tabs-container .tab-button {
        font-size: 18px;
        line-height: 1.2;
        padding-inline: 60px;
        margin-bottom: 15px;
    }
    .tabs-container .tab-content {
        padding: 0 60px;
    }

    .tabs-container .tab-button input + span {
        gap: 16px;
    }

    .tabs-container .tab-button input + span::before {
        width: 6px;
        height: 23px;
    }

}

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

    .h1 {
        font-size: 12px;
        line-height: 1;
    }

    .h2 {
        font-size: 8px;
        line-height: 1.5;
        margin-bottom: 2px;
    }

    .alert-dismissible .btn-close, .alert-dismissible .close {
        right: 0px;
        padding: 10px 20px;
        font-size: 14px;
    }

    /* HEADER */

    #mobile-header .wrapper {
        padding: 20px 140px 20px 80px;
        position: relative;
    }

    #mobile-header a.mobile-logo {
        width: 40px;
        left: 40px;
    }

    #mobile-header a.sandwitch {
        height: 40px;
        width: 40px;
        right: 40px;
    }

    #mobile-header a.sandwitch span:after {
        transform: translateY(-7px);
    }

    #mobile-header a.sandwitch span:before {
        transform: translateY(7px);
    }

    img.logo-de {
        height: 40px;
        position: absolute;
        right: 80px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* MAIN */

    #main-column,
    .interview,
    .notes {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* CARD */

    .card-block hr {
        margin-right: -20px;
    }

    /* GRID */

    .results-grid {
        margin-left: -5px;
        margin-right: -5px;
    }

    .results-grid .result {
        padding-left: 5px;
        padding-right: 5px;
    }

    .results-grid .result a {
        margin-bottom: 10px;
    }

    /* GRID: PROJECT TEAM */

    .team .results-grid {
        padding: 0 20px;
    }

    /* GRID: TEACHINGS */

    .results-grid .teaching .teaching-infos h4 {
        padding: 15px;
        font-size: 26px;
        line-height: 1.154;
    }

    .results-grid .teaching .teaching-infos h4 span {
        padding: 0 20px 20px;
        font-size: 16px;
        line-height: 1.125;
    }

    .results-grid .teaching .teaching-infos .hover span {
        bottom: 20px;
        right: 20px;
        width: 60px;
        border-width: 2px;
    }

    .results-grid .teaching .teaching-infos .hover span i {
        font-size: 32px;
    }

    /* PUBLICATIONS */

    .section-title {
        padding: 0 20px;
    }

    .scrollbar {
        margin: 0 20px;
    }

    .publications-grid {
        padding: 0 20px;
    }

    /* NOTES */

    #notes ul {
        column-count: 1;
        column-gap: 0;
    }

    /* FOOTER */

    footer #full-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding-bottom: 1.25rem !important;
    }

    footer .social {
        text-align: left;
        width: 100%;
    }

    footer .social .list-inline-item:not(:last-child) {
        margin-right: 0.75rem;
    }

    footer .footer-slogan .btn,
    footer .footer-login .btn {
        display: inline-block;
    }

    /* HOME */

    .template-homepage section .events-grid,
    .template-homepage section .news-grid {
        padding: 0 20px;
    }

    .tabs-container .tab-button,
    .tabs-container .tab-content {
        padding-inline: 20px;
    }

}

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

    .form {
        padding: 20px !important;
    }

    .form .form-group {
        padding: 0 !important;
    }

    .form button[type=submit] {
        margin-top: 20px;
    }

    /* MAIN */

    #main-column {
        padding: 1.5rem 1.25rem !important;
    }

    /* BREADCRUMBS */

    #breadcrumbs {
        padding: 0.65rem 0 !important;
        margin: 0 0 1.5rem 0 !important;
        border-bottom: 1px solid #dee2e6;
    }

    #breadcrumbs + .card-block {
        margin-top: -29px;
    }

    /* GALLERY */

    .gallery-block .wrapper {
        margin: 5px 0;
    }

    /* GRID */

    #wrapper-result-list {
        padding: 0 20px;
    }

    .results-grid .result .result-title span {
        bottom: 0;
        right: 0;
        font-size: 1.25rem;
        padding: 0.54rem 1.35rem;
        line-height: 1.42;
    }

    /* PHRASE */

    .phrase-block img {
        width: 39px;
        transform: translate(0, -37.5%);
    }

    /* CARD */

    #breadcrumbs + .wrapper-form,
    #breadcrumbs + .card-block {
        margin-top: -29px;
    }

    .card-block h1,
    .mobile-card-block h1 {
        margin-bottom: 17px;
    }

    .card-block hr {
        margin-right: 0px;
    }

    .mobile-card-block img {
        max-width: 100%;
    }

    /* BLOCKS — same inset as h1 via #main-column padding */

    .block {
        padding: 0;
    }

    /* EVENT */

    img.main-photo {
        float: none;
        padding: 0;
        width: 100%;
        margin-bottom: 20px;
    }

    /* FOOTER */

    footer.py-5 {
        padding: 0 !important;
    }

    footer .container {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    /* container has no gutter padding; neutralize .row negative margins */
    footer .container > .row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    footer #full-logo {
        border-bottom-color: rgba(255, 255, 255, 0.4) !important;
        margin-bottom: 0 !important;
        padding: 1.25rem 1.25rem 1rem !important;
    }

    footer #full-logo img {
        width: 150px;
    }

    footer .footer-info,
    footer .footer-slogan {
        padding: 1.25rem !important;
    }

    footer .footer-slogan .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    footer .footer-login {
        background-color: #4A4A4A;
        padding: 1.25rem !important;
    }

    footer .footer-login .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* HOME */

    .template-homepage section h2 {
        font-size: 32px;
        line-height: 1.25;
        padding: 0 20px;
    }

}

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

    /* GRID */

    .results-grid .result {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .results-grid .result .result-title span {
        bottom: 0;
        right: 0;
        font-size: 1.75rem;
        padding: 0 2.7rem;
    }

}

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

    .h1 br {
        display: none;
    }

}
