﻿/*
---------------------------------------- .wrapper -------------------------------------
    --------------------------- .headerTitleContainer ------------------------------
    |             |  TITEL
    | .headerLogo |  Subtitel
    |             |                                                LOGIN BUTTON
    ----------------------------------------------------------------------------
    | HOME                                   [ GER ][ FRA ][ Theme v][ PRINT ]
    ----------------------------------------------------------------------------
    |
    |----------------------------- .contentWrapper ------------------------------
    | ------- .sidebar ------- | ------------------ .mainContent ----------------
*/
/*** Sidebar Navigation ***/
.navigation-container-root table {
  margin: 0;
}

td.navigation-inhalt {
  padding-left: 0 !important;
  cursor: pointer;
}

.navigation-container td {
  opacity: 0;
}
.navigation-container td a {
  display: inline-block;
  width: 100%;
  text-decoration: none !important;
}
.navigation-container td a:visited, .navigation-container td a:hover, .navigation-container td a:active {
  text-decoration: none !important;
}

.navigation-container-root table {
  display: flex;
  flex-direction: row;
  margin-bottom: 0;
}
.navigation-container-root table tbody,
.navigation-container-root table tr {
  display: contents;
}
.navigation-container-root table td {
  display: block;
  overflow: hidden;
  padding-block: 4px;
}

/*** Sidebar Navigation - Triangle Icons ***/
tr.navigation-parent > td.navigation-inhalt > :first-child::before,
tr.navigation-root > td.navigation-inhalt > :first-child::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 20px;
  margin-right: 8px;
  background: url("images/icons/triangle.png") no-repeat center center;
  background-size: 12px 6px;
  transform: rotate(90deg);
  transition: transform 0.3s ease-out;
  vertical-align: top;
}

tr.navigation-leaf > td.navigation-inhalt > :first-child::before {
  content: none;
  display: inline-block;
  width: 30px;
  height: 20px;
}

.expandAccordian > tbody > tr > td.navigation-inhalt > :first-child::before,
.expandAccordian > tbody > tr > td.navigation-inhalt > :first-child::before {
  transform: rotate(180deg);
}

/*** Sidebar Navigation - Hide unnecessary table cells ***/
table.navigation-title td:not(.navigation-inhalt) {
  display: none;
}

/*** Sidebar Navigation - Indent nested navigation blocks ***/
.navigation-container {
  padding-left: 20px;
}

/*** Sidebar Navigation - Expansion states ***/
table.navigation-title.expandAccordian + .navigation-container td {
  transition: max-height 0.3s 0s ease-out, padding 0.3s 0s ease-out, opacity 0.2s 0.1s !important;
  max-height: 54px;
  opacity: 1;
}

table.navigation-title:not(.expandAccordian) + .navigation-container td {
  transition: max-height 0.3s 0s ease-out, padding 0.3s 0s ease-out, opacity 0.1s !important;
  max-height: 0px;
  overflow: hidden;
  opacity: 0;
  padding-block: 0;
  margin-block: 0;
}

/*** END Sidebar Navigation ***/
.themePickerPanel {
  position: absolute;
  top: 2px;
  right: 2px;
}

.language-picker {
  display: flex;
  flex-direction: row;
  font-size: 0;
  gap: 6px;
}

.language-picker > * {
  display: block;
  font-size: 14px;
}

.headerBar {
  padding: 0 4px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
}
.headerBar button.menuPanelOpener, .headerBar button.userPanelToggler, .headerBar label.menuPanelOpener, .headerBar label.userPanelToggler {
  display: none;
}
.headerBar .homeLink {
  order: 1;
  margin-right: auto;
}
.headerBar .menuPanelOpener {
  order: 2;
}
.headerBar .linkButton {
  font-weight: bold;
}
.headerBar #userPanelContainer {
  white-space: wrap;
}

.header {
  height: 76px;
  overflow: hidden;
}

svg {
  width: 20px;
  height: 20px;
}

.contentWrapper {
  overflow: hidden;
}

.sidebar,
.contentWrapper .mainContent,
.form-button,
.headerBar,
.header,
.linkButton {
  transition: color 0.3s, width 0.3s, margin 0.3s, background-color 0.3s;
}

.sidebar {
  width: 292px;
  margin: 0;
  overflow: hidden;
  display: none;
  transition: left 0.3s ease-out;
  position: relative;
  overflow: visible;
  z-index: 99;
  opacity: 1 !important;
}
.sidebar .topic-title {
  display: none;
}

.sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 500vh;
  background: var(--sidebar-color);
  z-index: -1;
}

td.topic-title {
  padding-block: 0;
}

.topic-title span {
  display: inline-block;
  line-height: 16px;
  padding-block: 8px;
}

:not(td).topic-title {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.contentWrapper .mainContent {
  margin: 0;
  box-sizing: border-box;
}

#mobileTitleContainer,
#menuPanelHeaderbar,
#userPanelContainer {
  display: none;
}

.topic-container td.topic-inhalt #ctl00_WebPartManager1_gwpBrn_VorlesungsverzeichnisBaum1_Brn_VorlesungsverzeichnisBaum1_tvVorlesungsverzeichnisn2Nodes td {
  padding: 0 5px 0 0;
}
.topic-container td.topic-inhalt table#ctl00_WebPartManager1_ResultatAnzeigenWP1 .result-row td:nth-child(4) {
  word-break: break-all;
}
.topic-container td.topic-inhalt table#ctl00_WebPartManager1_gwpDateTimePicker1_DateTimePicker1_PopupCalendar td a,
.topic-container td.topic-inhalt table#ctl00_WebPartManager1_gwpDatePicker1_DatePicker1_PopupCalendar td a,
.topic-container td.topic-inhalt #ctl00_WebPartManager1_gwpBrn_RessourcenKalender1_Brn_RessourcenKalender1_Calendar1 td a,
.topic-container td.topic-inhalt #ctl00_WebPartManager1_gwpMeinStundenplanStudentGrafisch1_MeinStundenplanStudentGrafisch1_Calendar1 td a,
.topic-container td.topic-inhalt #ctl00_WebPartManager1_gwpMeinStundenplanDozGrafisch1_MeinStundenplanDozGrafisch1_Calendar1 td a {
  text-decoration: none;
}

.sidebar .topic-container td.topic-inhalt {
  border: 0;
}
.sidebar .topic-container td.topic-inhalt > div > table:only-child + div {
  display: block;
  border: 1px solid red;
}

.sidebar {
  box-sizing: border-box;
}
.sidebar .WebPartZone-Navigation {
  width: 100%;
  height: 100%;
}
.sidebar .menuPanelNavContainer {
  height: calc(100% - 42px);
  overflow-y: auto;
  display: inline-block;
  padding: 0 0 0 10px;
}

div.contentWrapper tr > td table tr > td > table.topic-container td.topic-title {
  padding: 0;
  padding-top: 10px;
}

div.page div.wrapper {
  min-width: 340px;
}

.contentWrapper .mainContent {
  box-sizing: border-box;
  width: calc(100% - 292px);
}
.contentWrapper .mainContent .WebPartZone-Topic {
  width: 100%;
  padding-top: 12px;
}

.header-bar-navigation-link {
  margin: 0;
  padding: 0;
}

#ctl00_WebPartManager1_gwpBrn_AnlassDetail_Brn_AnlassDetail_ctlModulDetail_dgrModulDetail .anlassWebAnsichtHinweis,
#ctl00_WebPartManager1_gwpBrn_AnlassDetail1_Brn_AnlassDetail1_ctlModulDetail_dgrModulDetail .anlassWebAnsichtHinweis {
  margin: 0 0;
}
#ctl00_WebPartManager1_gwpBrn_AnlassDetail_Brn_AnlassDetail_ctlModulDetail_dgrModulDetail .anlassWebAnsichtHinweis li,
#ctl00_WebPartManager1_gwpBrn_AnlassDetail1_Brn_AnlassDetail1_ctlModulDetail_dgrModulDetail .anlassWebAnsichtHinweis li {
  word-break: break-word;
}
#ctl00_WebPartManager1_gwpBrn_AnlassDetail_Brn_AnlassDetail_ctlModulDetail_dgrModulDetail .anlassWebAnsichtSubModulVerwendung td,
#ctl00_WebPartManager1_gwpBrn_AnlassDetail1_Brn_AnlassDetail1_ctlModulDetail_dgrModulDetail .anlassWebAnsichtSubModulVerwendung td {
  padding: 0 16px 0 0;
}

@media only screen and (max-device-width: 1199px), only screen and (max-width: 1199px) {
  .topic-inhalt .WebPart-Standard, .topic-inhalt .form-footer {
    box-sizing: border-box;
  }
  .contentWrapper {
    min-width: initial;
  }
  .WebPart-SingleColumn,
  .WebPartZone-Topic,
  #ctl00_WebPartManager1_SuchregisterWP1 .form-footer {
    width: initial;
  }
  .WebPart-SingleColumnWithSidebar-Container {
    flex-direction: column;
  }
  .WebPart-SingleColumnWithSidebar-Sidebar {
    margin: 0;
  }
  #ctl00_WebPartManager1_SuchregisterWP1 .WebPart-Standard > div {
    display: block;
  }
  #ctl00_WebPartManager1_SuchregisterWP1 .form-footer,
  #ctl00_WebPartManager1_SuchregisterWP1 .WebPart-Standard,
  .mainContent .WebPartZone-Topic,
  .mainContent > #topic-left > .WebPartZone-Topic > tbody,
  .mainContent > #topic-left > .WebPartZone-Topic > tbody > tr,
  .mainContent > #topic-left > .WebPartZone-Topic > tbody > tr > td {
    width: 100%;
  }
}
/********************** 800 PX **************/
.menuPanelOpener {
  display: none;
}

.userPanelToggler {
  display: none;
}

@media only screen and (max-device-width: 800px), only screen and (max-width: 800px) {
  /*** **/
  .mobileHeaderButton {
    background: url("images/icons/menu.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px 20px;
    height: 100%;
    width: 42px;
    display: inline-block;
    font-size: 0.1px;
    color: transparent;
    margin: 0;
    padding: 0;
  }
  .mobileHeaderButton.homeLink {
    background-image: url("images/icons/home.svg");
  }
  .mobileHeaderButton.menuPanelOpener {
    background-image: url("images/icons/menu.svg");
  }
  .mobileHeaderButton.userPanelToggler {
    background-image: url("images/icons/user.svg");
  }
  /** Toolbar */
  .registeredTitle {
    margin: 0;
    padding: 0;
  }
  #pageTitle {
    width: calc(100% - 84px);
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
  }
  /** NAVIGATION */
  .sidebar {
    transition: left 0.3s ease-out;
    left: -292px;
    width: 292px;
    top: 0;
    z-index: 99;
    height: 100%;
    position: absolute;
  }
  .sidebar #menuPanelHeaderbar {
    background-color: #dd0000;
    height: 42px;
    padding: 0;
    margin: 0;
    display: block;
    overflow: hidden;
  }
  .sidebar #menuPanelHeaderbar #goToHome,
  .sidebar #menuPanelHeaderbar #closeMenuPanel {
    background-color: transparent;
    color: #fff;
    border: 0;
    outline: none;
    padding: 11px;
    cursor: pointer;
  }
  .sidebar #menuPanelHeaderbar #goToHome, .sidebar #menuPanelHeaderbar #pageTitle {
    float: left;
  }
  .sidebar #menuPanelHeaderbar #pageTitle {
    line-height: 42px;
  }
  .sidebar #menuPanelHeaderbar #closeMenuPanel {
    float: right;
  }
  .sidebar.opened {
    left: 0;
  }
  .linkButton.printLink {
    display: none;
  }
  #navOverlay {
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 9;
    width: 100%;
    height: 100%;
    visibility: collapse;
    z-index: 200;
    transition: visibility 0s 1s, background-color 0.3s;
  }
  #navOverlay.modalOverlay {
    background-color: var(--black-200);
    visibility: visible;
    transition: visibility 0s, background-color 0.3s;
  }
  .header,
  .userPanel {
    display: none;
  }
  .countdown {
    padding: 10px;
    box-sizing: border-box;
  }
  .headerBar {
    border: 0;
    background-color: #dd0000;
    height: 42px;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    gap: 0;
  }
  .headerBar #mobileTitleContainer {
    display: block;
    text-align: center;
    flex: 1;
  }
  .headerBar #mobileTitleContainer #mobileTitle {
    font-weight: bold;
    color: #fff;
  }
  .headerBar .language-picker {
    display: none;
  }
  .headerBar .homeLink > * {
    display: none;
  }
  .headerBar .homeLink::before {
    content: none;
  }
  .headerBar #userPanelContainer {
    position: absolute;
    right: 10px;
    top: 50px;
    border: 1px solid #999;
    margin: 0;
    padding: 4px 8px;
    overflow: hidden;
    background-color: #fdfdfd;
    box-sizing: border-box;
  }
  .headerBar #userPanelContainer.shown {
    display: block;
    box-shadow: 4px 5px 3px rgba(130, 130, 130, 0.3);
  }
  .headerBar #userPanelContainer .mainInnerPanel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .headerBar #userPanelContainer .mainInnerPanel .loginLink {
    margin-left: auto;
  }
  .headerBar #userPanelContainer .innerUserPanel .languagePicker span {
    color: var(--orange-300) !important;
  }
  div.contentWrapper div#navOverlay div.sidebar table tr > td table tr > td > table.topic-container {
    height: 100%;
  }
  #userPanelContainer {
    max-width: calc(100% - 100px);
    min-width: 230px;
    width: 100%;
  }
  #userPanelContainer .innerUserPanel {
    width: 100%;
    line-height: initial;
  }
  #userPanelContainer .innerUserPanel .mainInnerPanel {
    float: left;
    width: 100%;
    border-bottom: 1px solid #aaa;
    padding: 10px 0;
  }
  #userPanelContainer .innerUserPanel .languagePicker {
    float: right;
    width: 100%;
    padding: 6px 0;
  }
  #userPanelContainer .innerUserPanel .registeredName {
    box-sizing: border-box;
    padding: 5px;
  }
  /** CONTENT */
  .contentWrapper {
    margin-top: 44px;
  }
  .contentWrapper .mainContent {
    width: 100%;
  }
  #ctl00_WebPartManager1_gwpLogin1_Login1_PanelLogin {
    padding-inline: 8px !important;
  }
}
.personal_calendar_appointments {
  display: none;
}

@media only screen and (max-device-width: 800px) {
  .form-input-tall > table {
    display: flex;
    flex-direction: column;
  }
  .form-input-tall > table > tbody {
    display: contents;
  }
  .form-input-tall > table > tbody > tr {
    display: contents;
  }
  .form-input-tall > table > tbody > tr > td {
    display: block;
  }
}
@media only screen and (max-device-width: 400px), only screen and (max-width: 400px) {
  html {
    font-size: 52.4% !important;
  }
  /*Responsive Form*/
  #ctl00_WebPartManager1_gwpBrn_AnlassDetail1_Brn_AnlassDetail1_ctlModulDetail_FormView1 .form {
    display: flex;
    flex-direction: column;
  }
  #ctl00_WebPartManager1_gwpBrn_AnlassDetail1_Brn_AnlassDetail1_ctlModulDetail_FormView1 .form > tbody {
    display: contents;
  }
  #ctl00_WebPartManager1_gwpBrn_AnlassDetail1_Brn_AnlassDetail1_ctlModulDetail_FormView1 .form > tbody > tr {
    display: flex;
    flex-wrap: wrap;
  }
  #ctl00_WebPartManager1_gwpBrn_AnlassDetail1_Brn_AnlassDetail1_ctlModulDetail_FormView1 .form > tbody > tr > td:first-child {
    flex-basis: 100%;
  }
  #ctl00_WebPartManager1_gwpBrn_AnlassDetail1_Brn_AnlassDetail1_ctlModulDetail_FormView1 .form > tbody > tr > td {
    display: block;
    flex: 1;
  }
}
@media (min-width: 321px) and (max-width: 1025px) {
  .EditDialog_FieldContainer {
    margin-left: 0px !important;
    width: 100% !important;
    padding-left: 0px !important;
    overflow-x: scroll;
  }
  .EditDialog_FormContainer {
    overflow-x: scroll;
  }
  .CstGrid_Container {
    overflow-x: scroll;
  }
}
@media only screen and (min-width: 1200px) {
  .EditDialog_ActionPanel > div {
    margin: 8px auto;
  }
}
.statusResponsive {
  border: 1px solid var(--gray-200);
  float: right;
  white-space: nowrap;
  margin: 0 12px;
}
