/* Fonts */
@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 200;
    src: url('../Fonts/SourceSansPro-ExtraLight.ttf');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 300;
    src: url('../Fonts/SourceSansPro-Light.ttf');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 400;
    src: url('../Fonts/SourceSansPro-Regular.ttf');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 600;
    src: url('../Fonts/SourceSansPro-Semibold.otf')
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 700;
    src: url('../Fonts/SourceSansPro-Bold.ttf');
}

* {
    font: inherit;
    color: inherit;
    line-height: inherit;
    text-decoration: inherit;
    margin: 0;
    padding: 0;
}

/* Animations */
@keyframes blackout {
    0% { background-color: rgba(var(--c-black),0); }
    100% { background-color: rgba(var(--c-black),0.2); }
}

html {
    font-size: 16px;
}

body {
    margin: 0;
}

:root {
    --c-trueblack: 0, 0, 0;
    --c-black: 18, 18, 18;
    --c-white: 255, 255, 255;
    --c-truewhite: 255, 255, 255;
    --c-grey: 102, 102, 102;
    --c-grey-medium: 233, 233, 233;
    --c-grey-light: 250, 250, 250;
    --c-blue: 0, 40, 165;
    --c-info-bg: 0, 169, 255;
    --c-success-bg: 154, 222, 123;
    --c-warning-bg: 255, 196, 126;
    --c-warning: 96, 75, 50;
    --c-danger-bg: 255, 143, 143;
    --c-blue-muted: 27, 33, 74;
    --c-blue-light: 245, 245, 251;
    --c-blue-grey: 248, 248, 252;
    --c-green: 40, 150, 12;
    --c-green-attention: 0, 126, 42;
    --c-red: 255, 0, 0;
    --c-text-black: 18, 18, 18;
    --c-text-grey: 76, 76, 76;
    --page-margin: calc(50% - 620px);

}

body, input, select, button, textarea {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button, input[type=button]:not(.btn), input[type=submit]:not(.btn) {
    background: rgba(0,0,0,0);
    appearance: button;
    -webkit-appearance: button;
    cursor: pointer;
    border-radius: 0;
    border: 0;
}


body {
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: rgb(var(--c-blue-grey));
    color: rgba(var(--c-text-black),1);
}

a:focus, a:hover {
    text-decoration: none;
}

footer.footer {
    width: 100%;
    background-color: rgba(var(--c-grey-light),1);
    border-top: 1px solid rgba(0,0,0,.08);
}

footer.footer *>:first-child {
    border-top: none !important;
}

.footer-logo {
    display: flex;
    max-width: 11.25rem;
    height: 3.125rem;
    transition: opacity .2s;
    align-items: center;
    justify-content: center;
}

footer > div.bottom {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(var(--c-trueblack),.08);
}

footer div.main {
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

footer div.main div.link-list h2, footer div.main div.text-box h2 {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    color: rgba(var(--c-black), 1);
}

footer div.main div.text-box {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(var(--c-black), 1)
}

.Link:not(.layout-standalone).size-small, link:not(.layout-standalone).size-small {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

footer .link-list>li:not(:last-of-type), .footer .link-list>div:not(:last-of-type) {
    margin-bottom: 0.4375rem;
}

footer div.meta {
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(var(--c-text-grey),1);
    display: flex;
    margin-top: 5rem;
}

footer div.meta>.copyright {
    margin-right: 0.75rem;
}

footer div.meta .linklist {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style-type: none;
    gap: 0.75rem;
}

footer div.meta a:hover {
    color: rgba(var(--c-black),1);
}

footer div.meta a {
    color: rgba(var(--c-grey),1);
    transition: color .2s ease-in-out;
}

footer div.meta .linklist>li {
    list-style: none;
}

.container-bottom {
    display:none;
}

h1 {
    font-size: 2.625rem;
    line-height: 1.2;
    font-weight: 600;
    color: rgba(var(--c-black),1);
}

a {
    text-decoration: none;
    color: rgba(var(--c-blue),1);
}

.search>.Icon {
    margin-right: 1rem;
}

.btn {
    border-radius: 100px;
    padding: 6px 12px 6px 11px;
}

input.form-control, select.form-control {
    border-radius: 100px !important;
}

.input-group input, .input-group div, .input-group div>button {
    border-radius: 0 !important;
}

.input-group input:last-child, .input-group .input-group-btn:last-child>button, .input-group .input-group-btn:last-child>button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 100px !important;
    border-bottom-right-radius: 100px !important;
}

.input-group input:first-child, .input-group .input-group-btn:first-child>button {
    border-top-left-radius: 100px !important;
    border-bottom-left-radius: 100px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

textarea.form-control {
    resize: none;
    border-radius: 15px !important;
    padding: 6px 12px;
}

.btn-default {
    background-image: linear-gradient(to bottom, #fefefe 0, #dedede 100%)
}

header.navigation-header {
    position: relative;
    background-color: #fff;
    width: 100%;
    z-index: 100;
    margin: 0;
    box-shadow: 0 0.4375rem 1.375rem -0.25rem rgba(var(--c-text-black),0.075);
    padding-left: 16px;
    padding-right: 16px

}

header .rogue-logo {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 185px;
}

nav.side-menu {
    position: fixed;
    z-index: 11;
    width: 360px;
    height: calc(100vh - 185px);
    left: -320px;
    top: 185px;
    transition: left 0.2s;
}

nav.side-menu.open {
    left: 0;
}

nav.side-menu .menu-latch {
    position: absolute;
    top: 20px;
    right: 0px;
    width: 40px;
    min-height: 50px;
    padding: 10px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    color: rgb(var(--c-blue-light));
    background-color: rgb(var(--c-info-bg));
    cursor: pointer;
}

nav.side-menu .additionalButton {
    position: absolute;
    top: 90px;
    right: 0px;
    width: 40px;
    min-height: 50px;
    padding: 10px;
    border-top-right-radius : 100px;
    border-bottom-right-radius: 100px;
    color: rgb(var(--c-blue-light));
    background-color: rgb(var(--c-info-bg));
    cursor: pointer;
}

nav.side-menu .content {
    position: absolute;
    left: 0;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 320px;
    padding-top: 20px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
    height: 100%;
    border-right: 2px solid rgb(var(--c-info-bg));
    background-color: rgba(var(--c-white),1);
}

nav.side-menu.info .content {
    border-right: 2px solid rgb(var(--c-info-bg));
}

nav.side-menu.info .menu-latch, .additionalButton.info {
    color: rgb(var(--c-blue-light));
    background-color: rgb(var(--c-info-bg));
}

nav.side-menu.grey .menu-latch, .additionalButton.grey {
    color: rgb(var(--c-grey-light));
    background-color: rgb(var(--c-grey-medium));
}

nav.side-menu.primary .menu-latch, .additionalButton.primary {
    color: #fff;
    background-color: #0d6efd;
}

nav.side-menu.success .content {
    border-right: 2px solid rgb(var(--c-success-bg));
}

nav.side-menu.success .menu-latch, .additionalButton.success {
    color: rgb(var(--c-white));
    background-color: rgb(var(--c-success-bg));
}

nav.side-menu.warning .content {
    border-right: 2px solid rgb(var(--c-warning-bg));
}

nav.side-menu.warning .menu-latch, .additionalButton.warning {
    color: rgb(var(--c-warning));
    background-color: rgb(var(--c-warning-bg));
}

nav.side-menu.danger .content {
    border-right: 2px solid rgb(var(--c-danger-bg));
}

nav.side-menu.danger .menu-latch, .additionalButton.danger {
    color: rgb(var(--c-white));
    background-color: rgb(var(--c-danger-bg));
}

.notify-badge {
    position: absolute;
    font-family: 'Source Sans Pro';
    top: 5px;
    right: 5px;
}

.notify-placeholder {
    margin: auto;
    font-size: 1.2em;
    color: #666;
    padding: 15px 15px;
}

.popup-menu {
    position: absolute;
    margin-top: 10px;
    min-height: 50px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 350px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popup-menu.user {
    width: 200px;
    font-size: 17px;
}

.popup-menu.user .dropdown-header {
    font-size: 17px;
}

.popup-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 90%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    z-index: 1002;
}

.popup-menu.user::before {
    left: 88%;
}

.popup-menu::after {
    content: '';
    position: absolute;
    top: -11px; /* Slightly above the main triangle */
    left: 90%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent; /* Slightly larger */
    border-right: 11px solid transparent; /* Slightly larger */
    border-bottom: 11px solid #ccc; /* Outline color */
    z-index: 1001; /* Place it behind the main triangle */
  }

.popup-menu.user::after {
    left: 88%;
}

.popup-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.popup-menu ul li {
    padding: 10px 20px;
    cursor: pointer;
}

.popup-menu ul.dropdown-menu li {
    padding: 3px 20px;
}

.popup-menu ul li:hover {
    background-color: #f0f0f0;
}

.popup-entry-notify {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto;
    grid-gap: 5px;
    padding: 6px 10px;
    border-bottom: 1px #ccc solid;
}

.title { grid-area: title; }
.date { grid-area: date; }
.done { grid-area: done; }
.postpone { grid-area: postpone; }
.delete { grid-area: delete; }
.close { grid-area: close; }

/* All 4 buttons */
.popup-entry-notify.buttons-done-postpone-delete-close {
    grid-template-areas: "title title title title title" "date postpone done delete close";
}

/* 3 buttons - common combinations */
.popup-entry-notify.buttons-done-postpone-delete {
    grid-template-areas: "title title title title title" "date date postpone done delete";
}

.popup-entry-notify.buttons-done-postpone-close {
    grid-template-areas: "title title title title title" "date date postpone done close";
}

.popup-entry-notify.buttons-postpone-delete-close {
    grid-template-areas: "title title title title title" "date date postpone delete close";
}

/* 2 buttons */
.popup-entry-notify.buttons-done-postpone {
    grid-template-areas: "title title title title title" "date date . done postpone";
}

.popup-entry-notify.buttons-postpone-delete {
    grid-template-areas: "title title title title title" "date date . postpone delete";
}

.popup-entry-notify.buttons-postpone-close {
    grid-template-areas: "title title title title title" "date date . postpone close";
}

/* 1 button */
.popup-entry-notify.buttons-postpone {
    grid-template-areas: "title title title title title" "date date . . postpone";
}

.popup-entry-notify.buttons-done {
    grid-template-areas: "title title title title title" "date date . . done";
}

.popup-entry-notify.buttons-delete {
    grid-template-areas: "title title title title title" "date date . . delete";
}

.popup-entry-notify.buttons-close {
    grid-template-areas: "title title title title title" "date date . . close";
}

.popup-menu>.title {
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.popup-entry-notify .date {
    color: #555;
    font-size: 0.8em;
}

.popup-entry-notify>.btn, .popup-entry-notify>.btn-group>.btn {
    width: 100%;
}

.alert-notify {
    width: 500px;
    overflow: visible;
    box-shadow: unset;
    min-height: 180px;
}

.alert-notify .dropdown-menu {
    right: 0;
    left: unset;
}

.alert-notify .title {
    max-height: 80px;
    overflow-y: scroll;
}

.alert-notify .buttons {
    display: inline-flex;
    justify-content: center;
    width:100%;
    left: 0;
    bottom: 15px;
    gap: 10px;
    margin-top: 10px;
}

.alert-notify:not(:last-child) {
    opacity: 0.9;
    pointer-events: none;
    filter: grayscale(60%);
}

.alert-notify .title, .alert-notify .title a.btn {
    font-size: 1.25rem;
}

.alert-notify:has(.notify-header) {
    padding-top: 0;
}

.alert-notify .notify-header {
    width: 100%;
    display: inline-flex;
    justify-content: start;
    padding-top: 0;
}

.alert-notify .notify-header.multi {
    justify-content: space-between;
}

.alert-notify .body {
    max-height: 140px;
    overflow-y: scroll;
    padding: 3px;
    margin-top: 5px;
}

.alert-notify .body:not(:empty) {
    border: 1px solid #999;
    border-radius: 3px;
}

.alert-notify .body img {
    max-width: 100%;
}

main.container-fluid {
    width: 100%;
}

div.service-nav-container button.notify, div.service-nav-container button.user, div.service-nav-container a.user {
    display: block;
    position: relative;
    line-height: 48px;
    font-weight: 400;
    color: rgba(var(--c-text-grey), 1);
    background-color: #ffffffaa;
    border-radius: 100px;
    border: 1px solid rgba(var(--c-grey-medium), 1);
    height: 48px;
    padding-left: 16px;
    padding-right: 16px;
    align-items: center;
}

div.service-nav-container button.user.logged-in {
    background-color: #a6e2ffab;
}

main > div {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fff;
    font-size: 14px;
}

main > section.top-menu, main > section.bottom-menu {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    gap: 20px;
    background-color: #f7f8fd;
}

main > section.top-menu > div, main > section.bottom-menu > div {
    background-color: #fff;
    margin: 20px;
    padding: 15px;
}

main > section.top-menu > div img, main > section.bottom-menu > div img  {
    max-width: calc(100% + 30px);
    margin: -15px;
}

main > section.top-menu > div h3, main > section.bottom-menu > div h3 {
    margin-top: 0;
}

main {
    background-color: #fff;
    overflow-y: visible;
}



.breadcrumb {
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(var(--c-text-grey), 1);
    position: relative;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 0;
    padding: 0;
    border-radius: unset;
    white-space: nowrap;
    color: rgba(var(--c-text-grey), 1);
    background-color: white;
    overflow: hidden;
}

.breadcrumb-menu-icon {
    transform: rotate(0deg);
    margin-left: 8px;
    margin-right: 0;
    transition: transform 300ms;
}

.breadcrumb-menu-icon.open {
    transform: rotate(180deg);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin-left: 40px;
    margin-right: 40px;
}

.breadcrumb ol>li {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-bottom: 0.375rem;
}


.breadcrumb-submenu {
    position: absolute;
    z-index: 100;
    width: 21.25rem;
    max-width: 80vw;
    max-height: calc(100vh - 300px);
    padding: 1.5rem 0;
    background: rgba(var(--c-white), 1);
    box-shadow: 0px 7px 22px -4px rgba(0, 0, 0, .05);
    transform: scale(0.95);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    scrollbar-color: rgba(var(--c-blue), 1) rgba(var(--c-grey-light), 1);
}

.breadcrumb-submenu li.flyout {
    width: 100%;
    padding: 0.375rem 0 0.375rem 0;
}

.breadcrumb-submenu li.flyout:hover {
    border-left: rgba(var(--c-black), 1) solid 4px;
}

.breadcrumb-submenu li.flyout:hover a.flyout-link {
    padding-left: calc(1.5rem - 4px);
}

.breadcrumb-submenu a.flyout-link {
    display: block;
    position: relative;
    padding-left: 1.5rem;
    padding-right: 2rem;
    white-space: normal;
    color: rgba(var(--c-grey), 1);
    font-size: 14px;
}



.breadcrumb-submenu a.flyout-link:hover {
    color: rgba(var(--c-black), 1);
}

.breadcrumb ol>li:first-child a, .breadcrumb ol>li:first-child a.btn {
    margin-left: 0;
}

.breadcrumb ol>li a, .breadcrumb ol>li a.btn {
    display: flex;
    align-items: center;
    transition: color .2s ease-in-out;
    color: inherit;
    scroll-margin-left: calc(var(--page-margin) / 2);
    scroll-margin-right: calc(var(--page-margin) / 2);
}

.breadcrumb ol>li a+.Icon {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Child navigation rules */
.breadcrumb-child {
    margin-top: 0;
}

.breadcrumb-child-navigation {
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.breadcrumb-child-navigation a {
    color: inherit;
}

.breadcrumb-child-navigation li.active a {
    color: rgba(var(--c-blue),1);
}
/* End child navigation rules */

main > div:nth-of-type(2n) {
    background-color: rgb(var(--c-blue-grey));
}

.text a[href]:hover {
    text-decoration-line: underline;
}

.text a:not(.btn, .btn-xs, .no-arrow, :empty, li>a), a.uzh-internal, a.download, a.external, a.www {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
    /* display: inline-block; */
    position: relative;
    padding-left: 1em;
    white-space: normal;
    color: rgba(var(--c-blue), 1);
    margin-left: 0.175em;
    cursor: pointer;
}

.text p, .text q, .text blockquote {
    color: rgba(var(--c-text-grey), 1);
}

.text p:not(:last-child), .text q:not(:last-child), .text blockquote:not(:last-child) {
    margin-bottom: 1em;
}

.text p:not(:first-child), .text q:not(:first-child), .text blockquote:not(:first-child) {
    margin-top: 1em;
}

.text h3 {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(var(--c-black), 1);
    margin-top: 1.5em;
    margin-bottom: .5ex;
}

.text h2 {
    font-size: 1.625rem;
    line-height: 1.2;
    font-weight: 600;
    color: rgba(var(--c-black), 1);
    margin-bottom: 1em;
    scroll-margin: 1.5rem;
}

.Icon[data-name^="16"] {
    width: 1rem;
    height: 1rem;
}

label {
    font-weight: 600;
}

.Icon {
    display: inline-flex;
    vertical-align: middle;
    position: relative;
    font-size: 100%;
    width: 2rem;
    height: 2rem;
    line-height: 1;
}

.Icon>svg {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}

.link-icon, .link > .Icon[data-name^="16"] {
    flex-shrink: 0;
    margin-left: 0.75rem;
    color: rgba(var(--c-blue),1);
    transition: 200ms ease;
}

.main-nav-icon {
    display: block;
    color: rgba(var(--c-blue),1);
    margin-left: auto;
}

.back-button-icon svg {
    transform: rotate(180deg);
}

.menu-parent-link:hover > .link-icon, .link:hover > .Icon[data-name^="16"], .item .teaser .header>a:hover + .Icon[data-name^="16"] {
    margin-left: 1rem;
}

div.service-nav-container {
    justify-self: right;
    display: none;
    align-items: center;
    position: absolute;
}

nav.service {
    font-size: 0.875rem;
}

nav.service ul {
    line-height: 1.5;
    font-weight: 400;
    color: rgba(var(--c-text-grey),1);
    display: flex;
    align-items: center;
}

nav.service li {
    position: relative;
    list-style: none;
    padding-right: 0.75rem;
    margin-right: 0.75rem;
}

nav.service li:last-child {
    padding-right: 0;
    margin-right: 0;
}

nav.service a:hover {
    color: rgba(var(--c-black),1);
}

div.service-nav-container a.search {
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(var(--c-text-grey),1);
    display: inline-flex;
    border-radius: 100px;
    border: 1px solid rgba(var(--c-grey-medium),1);
    height: 48px;
    padding-left: 12px;
    padding-right: 20px;
    align-items: center;
    background-color: #ffffffe0;
}

a:active {
    outline: none;
}

nav.service a {
    display: block;
    transition: color .2s ease-in-out;
    color: rgba(var(--c-text-grey),1);
}

.container-top {
    display: flex;
    width: 100%;
    margin: auto;
    padding-top: 0.75rem;
    padding-right: 0;
    padding-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    z-index: 1;
}

header .Logo, header .Logo img {
    display: block;
    height: 2.8125rem;
    width: auto;
}

header.navigation-header h2 {
	display: inline-flex;
	border-left: none;
	flex-direction: column;
    justify-content: center;
}

header.navigation-header h2 a {
	display: block;
	transition: opacity .2s ease-in-out;
    color: rgba(var(--c-grey), 1);
}

header.navigation-header h2 a:last-child {
    color: rgba(var(--c-black), 1);
}

.header.navigation-header h2 a:hover {
    opacity: .7;
}

header.navigation-header .mobile-buttons {
    display: flex;
}

.bold {
    font-weight: bold;
}

.dev-ban {
    position: absolute;
    top: 40px;
    width: 200px;
    display: box;
    z-index: 10000;
    left: calc(50vw - 650px);
    transform: rotate(-10deg);
    padding: 2px 5px;
    opacity: 0.85;
    text-align: center;
}

.header-search, .header-burger, .header-login {
    position: relative;
    display: inline-flex;
    width: 48px;
    height: 48px;
    color: rgba(var(--c-black),1);
    align-items: center;
    justify-content: center;
}

.header-login i {
    font-size: 16pt;
}

.Icon[data-name^="24"] {
    width: 1.5rem;
    height: 1.5rem;
}

header.navigation-header h2 {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 600;
    color: #000;
    display: block;
    width: 100%;
    border-left: 0;
    margin-left: 0;
    padding-top: 1.25rem;
    flex: 100%;
}

.hidden {
    display: none !important;
}

.HeroSlideshowSlide {
  position: relative;
  --heroslideshowslide-height: 75vh;
  /*--heroslideshowslide-max-height: min(45vw, 685px);*/
  --heroslideshowslide-max-height: max(45vw, 685px);
  padding-left: var(--page-margin);
  padding-right: var(--page-margin);
  margin-bottom: 20px;
  z-index: 0;
  height: var(--heroslideshowslide-height);
  max-height: var(--heroslideshowslide-max-height);
}

.HeroSlideshowSlide>.inner {
    position: relative;
    display: flex;
    align-items: center;
}

.HeroSlideshowSlide .media {
    position: relative;
    aspect-ratio: 4/3;
    height: var(--heroslideshowslide-height);
    max-height: var(--heroslideshowslide-max-height);
    margin-left: auto;
    overflow: hidden;
}

.HeroSlideshowSlide .media>.inner {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
    background-size: cover;
}

.HeroSlideshowSlide .content {
	position: absolute;
	height: calc(var(--heroslideshowslide-height) - 140px);
	width: 90%;
    min-width: 350px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: rgba(var(--c-white),1);
	padding-right: 30px;
	padding-top: 40px;
	z-index: 1;
	transform: translate3d(0, 0, 0);
}

.big-teaser-wrapper {
    padding-left: var(--page-margin);
    padding-right: var(--page-margin);
    position: relative;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.big-teaser {
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-rows: 60px 242px 20px;
    gap: 0;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.big-teaser-left {
    grid-template-areas: 
    "image image image"
    ". text ."
    ". . .";
}

.big-teaser-right {
    grid-template-areas: 
    "image image image"
    ". text ."
    ". . .";
}

.big-teaser-auto:nth-child(even) {
    grid-template-areas: 
    "image image image"
    ". text ."
    ". . .";
}

.big-teaser-auto:nth-child(odd) {
    grid-template-areas: 
    "image image image"
    ". text ."
    ". . .";
}

.big-teaser .teaser-image {
    grid-area: image;
    background-size:cover;
    height: 100%;
    width: 100%;
}

.big-teaser .content {
    grid-area: text;
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    background-color: white;
}

.big-teaser .teaser-img {
    width: 100%;
    height: 322px;
    object-fit:cover;
}

.big-teaser .text-wrap {
    --content-area--margin-top: 1rem;
    --content-area--margin-bottom: 1.5rem;
    margin-top: var(--content-area--margin-top);
    margin-bottom: var(--content-area--margin-bottom);
}

.big-teaser .teaser-title {
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 600;
    color: rgba(var(--c-black),1);
    margin-bottom: 0.8em;
}

.big-teaser .teaser-text {
    color: rgba(var(--c-text-grey),1);
    margin-bottom: 1.1em;
}

.person-card {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(calc((calc(100% - 2 * var(--page-margin)) - calc((calc(100% - 2 * var(--page-margin)) / 12) * 8)) / 2) + var(--page-margin));
    padding-right: calc(calc((calc(100% - 2 * var(--page-margin)) - calc((calc(100% - 2 * var(--page-margin)) / 12) * 8)) / 2) + var(--page-margin));
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.person-card .inner {
    display:block;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(var(--c-trueblack),0.08);
}

.person-card .photo {
    object-fit: cover;
    width: 200px;
    height: 250px;
    margin: 0 !important;
}


.person-card h3.name {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(var(--c-black),1);
}

.person-card .details {
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(var(--c-text-grey),1);
    margin-top: 0.1em;
}

.person-card .positions {
    padding-left: 0;
}

.person-card li {
    list-style: none;
}

.person-card dl {
    margin-bottom: 0;
}

.person-card dl::after {
    clear: both;
}

.person-card .links {
    clear: both;
}

.person-card dt {
    float: left;
    clear: both;
    font-weight: 400;
}

.person-card dt::after {
    content: ":";
    padding-right: 0.25em;
}

.person-card dd {
    float: left;
}

.wrap {
    padding-left: var(--page-margin);
    padding-right: var(--page-margin);
}

.teaser-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.teaser-grid.two {
    max-width: 826px;
    margin-left: auto;
    margin-right: auto;
}

.teaser-grid .item {
    width: 100%;
    padding-right: calc(2.5rem/2);
    padding-left: calc(2.5rem/2);
}

.item .teaser {
    background-color: rgba(var(--c-white),1);
    box-shadow: 0px 7px 22px -4px rgba(0,0,0,.05);
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 2rem;
    padding-top: 0;
}

.item .teaser .header {
    position: relative;
    margin-bottom: 1rem;
}

.item .teaser .header img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 80/51;
    overflow: hidden;
}

.teaser .title {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

.teaser .title {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    color: rgba(var(--c-black),1);
}

.item .teaser .header a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.item .teaser .header a:hover + h3.title>span>span.Icon {
    margin-left: 1rem;
}

.item .teaser .body {
    margin-top: -20px;
}

.teaser .text:not(:last-child) {
    margin-bottom: 1rem;
}

.teaser .text {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(var(--c-text-grey),1);
}

.teaser .link-list>li:not(:last-of-type), .Teaser--linkList>div:not(:last-of-type) {
    margin-bottom: 0.1875rem;
}

.teaser .link-list {
    padding-left: 0;
}

.teaser .link-list > li {
    padding-left: 2rem !important;
}
.teaser .link-list>li, .teaser .link-list>div {
    position: relative;
    padding-left: calc(0.5rem + 0.25rem);
}

.teaser .link-list .Link, .teaser .link-list.link {
    position: static;
    padding-left: 0;
    background-position: 0 100%;
}

.Link:not(.layout-standalone), .link:not(.layout-standalone) {
    background-repeat: no-repeat;
    background-position: 0.875rem 100%;
    background-size: 100% 0px;
    background-image: linear-gradient(rgba(var(--c-blue),1), rgba(var(--c-blue),1));
    position: relative;
    padding-left: 0.5rem;
    white-space: normal;
    color: rgba(var(--c-blue),1);
    padding-right: 0;
}

.Link:not(.layout-standalone).size-small, .link:not(.layout-standalone).size-small {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.Link:not(.layout-standalone)[href]:hover, .link:not(.layout-standalone)[href]:hover  {
    background-size: 100% 1px;
}

.teaser .link-list .Link::before, .teaser .link-list li::before {
    position: relative;
    left: -10px;
}

.Link:not(.layout-standalone)::before,.link:not(.layout-standalone)::before {
    display: inline-block;
    position: relative;
    left: -0.375rem;
    top: 0.6875rem;
    vertical-align: top;
    width: 0.375rem;
    height: 0.375rem;
    border-style: solid;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
    content: "";
    margin-right: 4px;
}

.Link:not(.layout-standalone).size-small::before, .link:not(.layout-standalone).size-small::before {
    line-height: 1.6;
}

*, *:before, *:after {
    box-sizing: border-box;
}


li {
    list-style: none;
}

.text {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(calc((calc(100% - 2 * var(--page-margin)) - calc((calc(100% - 2 * var(--page-margin)) / 12) * 8)) / 2) + var(--page-margin));
    padding-right: calc(calc((calc(100% - 2 * var(--page-margin)) - calc((calc(100% - 2 * var(--page-margin)) / 12) * 8)) / 2) + var(--page-margin));
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    font-size: 18px;
    clear: both;
}

.position-like-text {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(calc((calc(100% - 2 * var(--page-margin)) - calc((calc(100% - 2 * var(--page-margin)) / 12) * 8)) / 2) + var(--page-margin));
    padding-right: calc(calc((calc(100% - 2 * var(--page-margin)) - calc((calc(100% - 2 * var(--page-margin)) / 12) * 8)) / 2) + var(--page-margin));
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    clear: both;
}

.text h1 {
    font-weight: 600;
    font-size: 42px;
}

.text p>img {
    display: block;
    margin: auto;
    max-width: 100%;
    margin-top: 15px;
    margin-bottom: 20px;
}

.btn-small, .qfq-subrecord-table .btn {
    padding: 4px 5px !important;
    line-height: 11px;
}

a.uzh-internal::before, a.external::before, a.www::before, a.download::before, .text a:not(div.links a, .btn, .btn-xs, .no-arrow, li>a, :empty):before {
    content: "";
    display: inline-block;
    width: 0.8888888889em;
    height: 0.8888888889em;
    position: relative;
    top: 0.1em;
    left: -1em;
    margin-right: -0.8888888889em;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgNEwxMCA4LjVNMTAgOC41TDYgMTNNMTAgOC41SDEiIHN0cm9rZT0iIzgwOTNEMiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K");
    background-repeat: no-repeat;
    background-position: left center;
}

a.download::before, .text a[href*="/dam/"]:not(div.links a, :empty, .btn, .btn-xs, .no-arrow, li>a):before
, .text a[download]:not(div.links a, :empty, .btn, :empty, .no-arrow, li>a):before, .text a[href*="/fileadmin/"]:not(div.links a, .btn, .btn-xs, :empty, .no-arrow, li a):before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='12' height='17' viewBox='0 0 12 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 15.5L11 15.5' stroke='%238094D2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10 8.5L6 12.5L2 8.5' stroke='%238094D2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 1.5L6 12.5' stroke='%238094D2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

.text a[href*="//"]:not([href*="uzh.ch/"], div.links a, .btn, .btn-xs, .no-arrow, :empty, li>a):before, a.external::before {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 11.1064L8.77817 3.32827' stroke='%238094D2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M3.12109 3.32861L8.77795 3.32861L8.77795 8.98547' stroke='%238094D2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

ol, ul, menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.text ul:not(:last-child) {
    margin-bottom: 1em;
}
.text ul:not(:first-child) {
    margin-top: 1em;
}

.text ul {
    display: block;
    margin-left: 1.25rem;
    margin-left: 0;
    color: rgba(var(--c-text-grey), 1);
}

.text ol {
    margin-left: 1.25rem;
}

.text ol>li {
    list-style:decimal;

}

.text ul>li::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: .65em;
    left: 4px;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: currentColor;

}

.text ul>li {
    list-style-type: none;
    position: relative;
    margin-bottom: 0.33em;
    padding-left: 1.875rem;
}

.text strong, .text b {
    font-weight: 600;
}


.muted-text {
    color: rgba(var(--c-text-grey),1);
}

.Link.layout-standalone {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(var(--c-black),1);
    display: inline-flex;
    align-items: center;
}

@keyframes borderleft {
    0% { border-left: 0px solid rgba(var(--c-black),0.5); padding-left: calc(1.5rem - 1px); }
    25% { border-left: 1px solid rgba(var(--c-black),1); padding-left: calc(1.5rem - 2px); }
    75% { border-left: 3px solid rgba(var(--c-black),1); padding-left: calc(1.5rem - 3px); }
    100% { border-left: 4px solid rgba(var(--c-black),1); padding-left: calc(1.5rem - 4px); }
}

@keyframes zoomIn {
    0% { zoom: 40%; }
    100% { zoom: 100%; }
}

nav.service a.is-active {
    color: rgba(var(--c-black),1);
}

nav.container-bottom {
    width: 100%;
    margin: auto;
}

nav.main-nav>ul.first-level {
    margin-block-start: 0;
    display: inline-flex;
    white-space: nowrap;
    margin-block-start: unset;
    padding-block-start: unset;
    padding: 0;
    margin:0;
}

nav.main-nav>ul.first-level>li {
    flex-shrink: 0;
    list-style: none;
    padding-left: 1rem;
    padding-right: 1rem;
}

nav.main-nav>ul.first-level>li>a {
    position:relative;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    color: rgba(var(--c-black),1);
    display: flex;
    align-items: center;
    text-align: left;
    white-space: normal;
    border-bottom: none;
    height: 65px;
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
}

ul.first-level>li>a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(var(--c-black),1);
    transition: height 0.2s ease-in;
}

ul.first-level>li>a.current::before, ul.first-level>li>a.active::before {
    background-color: rgba(var(--c-blue),1);
    height: 4px;
}

ul.first-level>li>a:hover::before {
    height: 4px;
}

main.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.subnav-container {
    position: absolute;
    z-index: 90;
    top: 130px;
    height: 0;
    width:100%;
    max-height: calc(100vh - 130px);
    background-color: white !important;
    transition: max-height 0.25s ease-in, height 0.25s ease-in-out;
    overflow-x: hidden;
    overflow-y: auto;
}

.nav-pages-container {
    display: grid;
    /*transform: translate(-100vw, 0);*/
    grid-template-columns: 100vw 100vw 100vw 100vw 100vw;
}

.subnav-grid {
    display: grid;
    grid: 1fr;
    margin-top: 15px;
    margin-bottom: 15px;
    height: min-content;
}

.menu-entry-link {
    display: grid;
    position: relative;
    grid-template-columns: auto 10px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(var(--c-text-grey),1);
    width: 100%;
    padding-top: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    transition: color .2s ease-in-out;
}

.menu-entry-link:before {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    width: 0;
    height: 100%;
    background-color: rgba(var(--c-black),1);
    transition: width .2s ease-in-out;
}

.current.menu-entry-link:before {
    background-color: rgba(var(--c-blue),1);
    width: 4px;
}

.menu-entry-link i.fas {
    line-height: 2;
}

.logos-list {
    display: flex;
    flex-wrap: wrap;
}

.logos-list img {
    height: 50px;
    width: auto;
}

.logos-list a {
    margin-right: 10px;
}

.btn > .back-label {
    margin-left: 5px;
}

.btn-link {
    text-decoration: none;
}

.menu-entry-link:hover, .menu-entry-link:active {
    color: rgba(var(--c-text-black),1);
}

.menu-entry-link:hover:before {
    width: 4px;
}

.menu-back-link {
    color: rgba(var(--c-text-grey),1);
    padding-top: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    text-align: left;
    transition: color .2s ease-in-out;
}

.menu-back-link:hover {
    color: rgba(var(--c-text-black),1);
}

.menu-parent-link {
    display: block;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    color: rgba(var(--c-black),1);
    width: 100%;
    padding-top: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.menu-parent-link:hover {
    color: rgba(var(--c-black),1);
}

.menu-blackout {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 100vh;
    animation-name: blackout;
    animation-duration: 200ms;
    animation-fill-mode: forwards;
}

ul.second-level {
    display: grid;
    grid: 30% / auto-flow dense;
    padding: 15px;
    padding-left: calc(50% - 720px);
    padding-right: calc(50% - 720px);
}

ul.second-level li {
    list-style: none;
    list-style-type: none;
    list-style-position:inside;
    margin:0;
    padding: 0;
}

.carousel-uzh-wrap .carousel {
    width: 100%;
}

.carousel-uzh-wrap .carousel-title {
    position: absolute;
    left: 0;
    bottom: 40px;
    padding: 3px 10px 3px 30px;
    background-color: white;
    color: #333;
    font-weight: bold;
}

.carousel-uzh-wrap .carousel-title > a, .carousel-uzh-wrap .carousel-title > a:hover, .carousel-uzh-wrap .carousel-title > a:active, .carousel-title > a:visited {
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

.carousel-uzh-wrap .carousel-control.left, .carousel-control.right {
    background-image: unset;
}

.carousel-uzh-wrap .carousel-date {
    position: absolute;
    left: 0px;
    bottom: 10px;
    padding: 3px 10px 3px 30px;
    background-color: white;
    color: #333;
    font-size: 0.9em;
}

.carousel-uzh-wrap .carousel-inner>.item>a>img, .carousel-inner>.item>img {
width: 100%;
aspect-ratio: 3/2;
object-fit: cover;
}

.carousel-uzh-wrap .Link.layout-standalone {
    color: white;
}

/* Align first navigation point with content */
nav ul.first-level li:first-child {
    padding-left: 0;
}

/* Hide empty service container */
nav.service:not(:has(ul li)):not(:has(ul a)):not(:has(.service-language-link)) {
    display: none;
}

/* bootstrap end of xs (mobile/tablet) */
@media (min-width: 768px) {

    

    .carousel-uzh-wrap .Link.layout-standalone {
        color: rgba(var(--c-black), 1);
    }

    .carousel-uzh-wrap .carousel-title > a, .carousel-uzh-wrap .carousel-title > a:hover, .carousel-uzh-wrap .carousel-title > a:active, .carousel-title > a:visited {
        color: #333;
        font-weight: bold;
        font-size: 1.1em;
    }

    .Link.layout-standalone {
        font-size: 1.125rem;
    }

    .big-teaser {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto; 
        gap: 40px;
    }
    
    .big-teaser-left {
        grid-template-areas: "image image image image image text text text text text text spacing";
    }
    
    .big-teaser-right {
        grid-template-areas: "spacing text text text text text text image image image image image";
    }
    
    .big-teaser-auto:nth-child(even) {
        grid-template-areas: "spacing text text text text text text image image image image image";
    }
    
    .big-teaser-auto:nth-child(odd) {
        grid-template-areas: "image image image image image text text text text text text spacing";
    }

    .big-teaser .teaser-img {
        width: 280px; 
        height: 280px; 
        object-fit:cover;
    }

    .big-teaser .text-wrap {
        --content-area--margin-top: 3rem;
        --content-area--margin-bottom: 3.5rem;
    }
    
    .big-teaser .teaser-title {
        font-size: 1.625rem;
    }
    
    .big-teaser .teaser-text {
        font-size: 18px;
    }

    footer div.main {
        padding-left: 40px;
        padding-right: 40px;
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .carousel-uzh-wrap .carousel-caption {
        display: flex;
        align-items: center;
        width: 40%;
        min-width: 489px;
        height: 80%;
        padding-right: 4.5rem;
        padding-left: 4.5rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
        text-shadow: unset;
        text-align: left;
        color: black;
        text-align: left;
        position: absolute;
        top: 10%;
        left: 0;
        background-color: #fff;
        font-size: 14px;
      }
    
    .carousel-uzh-wrap .carousel-caption>div {
        width: 100%;
      }
    
    .carousel-uzh-wrap .carousel-caption h3 {
            color: rgb(18,18,18);
            font-size: 26px;
            font-weight: 600;
            margin-bottom: 23px;
    }
    
    .carousel-uzh-wrap .carousel-caption p {
              color: rgb(76,76,76);
              font-size: 18px;
              line-height: 28px;
              margin-bottom: 23px;
    }

    .carousel-uzh-wrap .item-wrap {
        height: 630px;
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-end;
    }

    .carousel-uzh-wrap .carousel-image {
        width: auto !important;
        max-width: 70% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .carousel-uzh-wrap {
        padding: 0 100px;
        margin-top: -30px;
    }

    .container-bottom {
        display: flex;
    }

    .person-card .inner {
        display: flex;
    }

    div.service-nav-container {
        display: inline-flex;
    }

    .teaser-grid .item {
        width: 50%;
        margin-bottom: 10px;
    }

    .person-card .photo {
        margin-right: 1.5rem !important;
    }

    header.navigation-header .mobile-buttons {
        display: none;
    }

    .service-nav-container {
        display: inline-flex;
        align-items: center;
        position: absolute;
        gap: 10px;
        top: 2.125rem;
        right: 40px;
        padding-left: 2.5rem;
        /* transform: translateY(-50%); */
    }


}

@media (min-width: 901px) {

    main > section.top-menu, main > section.bottom-menu {
        grid-template-columns: 1fr 1fr;
    }

    .big-teaser .teaser-img {
        width: 380px; 
        height: 380px; 
    }

    .big-teaser .text-wrap {
        --content-area--margin-top: 5rem;
        --content-area--margin-bottom: 6.5rem;
    }

    .HeroSlideshowSlide {
        --heroslideshowslide-max-height: min(40vw, 485px);
    }

    footer div.main {
        grid-template-columns: repeat(4, 1fr);
    }

    .HeroSlideshowSlide .content {
        width: 40%;
        min-width: 350px;
        max-height: calc(var(--heroslideshowslide-max-height) - 140px);
        padding-right: 100px;
        padding-top: 40px;
        z-index: 1;
    }

    .HeroSlideshowSlide .login {
        margin-top: -30px;
    }

    .container-top {
        position: relative;
        padding-top: 1.75rem;
        padding-bottom: 2rem;
    }

    main.container-fluid {
        min-height: calc(100vh - 416px)
    }

    header.navigation-header h2 {
        display: inline-flex;
        padding-top: 1rem;
        margin-left: 1.5rem;
        padding-left: 2rem;
        padding-bottom: 1rem;
        margin-top: 0;
        margin-bottom: 0;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        width: unset;
        border-left: 1px solid rgba(var(--c-text-black),0.12);
    }

    header .Logo, header .Logo img {
        height: 3.75rem;
    }

    header.navigation-header .mobile-buttons {
        display: none;
    }

    nav.service li:not(:last-child):after {
        content: "";
        width: 0.0625rem;
        height: 0.875rem;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        border-right: 1px solid rgba(var(--c-black),0.2);
    }

    nav.service {
        font-size: 14px;
        padding: 2px 5px;
        background-color: #ffffffaa;
        border-radius: 5px;
    }

    header .rogue-logo {
        display: block;
    }

    .subnav-container {
        width: 360px;
        max-height: 90vh;
        top: 210px;
        height: auto;
    }

    .nav-pages-container {
        grid-template-columns: 360px 360px 360px 360px 360px;
    }

}

@media (min-width: 1520px) {

    .big-teaser .teaser-img {
        width: 430px; 
        height: 430px; 
    }

    header .rogue-logo {
        right: calc(50% - 720px);
    }

    .breadcrumb ol {
        margin-left: calc(50% - 720px);
        margin-right: calc(50% - 720px);
    }

    .container-centered {
        margin-left: calc(50% - 720px);
        margin-right: calc(50% - 720px);
    }

    main > section.top-menu, main > section.bottom-menu {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding-left: calc(50% - 720px);
        padding-right: calc(50% - 720px);
    }

    header.navigation-header {
        padding-left: calc(50% - 720px);
        padding-right: calc(50% - 720px);
    }

    header.navigation-header h2 {
        margin-right: 300px;
    }

    main > div {
        margin: 0;
        padding-left: calc(50% - 720px);
        padding-right: calc(50% - 720px);
    }

    footer > div.bottom {
        padding-left: calc(50% - 720px);
        padding-right: calc(50% - 720px);
    }

    footer div.main {
        padding-left: calc(50% - 720px) !important;
        padding-right: calc(50% - 720px) !important;
    }

    .teaser-grid .item {
        width: 33.3333333333%;
    }

    .teaser-grid.two .item {
        width: 50%;
    }

    /* Child navigation rules */
    .breadcrumb-child-navigation {
        margin-left: calc(50% - 720px);
        margin-right: calc(50% - 720px);
    }
    /* End child navigation rules */
}

@media (hover: hover) {
    .footer-logo:hover {
        opacity: .6;
    }
}