@charset "UTF-8";
/*Area Colors*/
/*inputFields*/
/*Buttons*/
/*Schriftarten*/
@media only screen and (max-width: 750px) and (min-width: 641px) {
  .iconsright {
    display: none;
  }

  .toolButton {
    display: block !important;
    box-shadow: none;
    -webkit-box-shadow: none;
  }

  .nontextualcolumn {
    display: none;
  }
}
@media only screen and (max-width: 1250px) {
  #menu, #history_context_form {
    display: none;
  }

  .menuGrid tr {
    background-color: #FFFFFF ;
  }

  .center_box {
    grid-column: 1/3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
  }

  .activateColumn, .backBttn {
    display: table-cell;
  }

  .showSideBar, .moveBack {
    bottom: 5px;
  }

  .fa-bars, .fa-chevron-left {
    font-size: x-large;
  }

  .reflowTitle {
    display: none;
  }

  .logo {
    display: none;
  }

  .toolMenu, .toolButton {
    display: none;
  }

  .ui-sidebar {
    background-color: #316582 ;
    overflow-y: scroll;
    position: absolute;
  }

  .ui-icon-closethick {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .ui-sidebar .fa {
    color: #EFF4F8;
    font-size: 1.5em;
    padding-right: 20px;
  }

  .recordheader {
    margin-left: 0px;
  }

  .main_table.ui-datatable tbody td a:nth-of-type(2):not(.ui-widget), .messageValue {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .groupRowContent td:nth-child(2) {
    word-break: break-all;
    word-break: break-word;
  }

  .entrycolumn table {
    table-layout: fixed;
    width: 100%;
  }

  .listWorkflowButton {
    height: 25px;
    font-weight: 400;
  }

  .mobileRi {
    display: none;
  }

  .folderEntry {
    white-space: normal;
    word-break: break-all;
  }

  /************access right styles************/
  .accessRightTable table {
    width: 100%;
    table-layout: fixed;
  }

  /************record styles************/
  .recordsubtable > tbody > tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto 1fr;
    grid-template-rows: auto 1fr;
  }

  .recordsubtable .data_group_row {
    height: auto;
  }

  .recordcontent .entrycolumn.ui-datatable tbody td.displayname {
    width: auto;
  }

  .ui-datatable-reflow .ui-datatable-data td[role="gridcell"] .ui-column-title {
    color: #898989;
  }

  .study_list_grid > tbody > tr {
    display: -ms-grid;
    display: grid;
    height: auto;
  }

  .study_list_grid td:nth-child(2) {
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .togglerows tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .togglerows tr td {
    display: block;
  }

  .togglerows tr td:nth-child(1) {
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .togglerows tr td:nth-child(2) {
    -ms-grid-row: 2;
    grid-row: 2;
  }

  .togglerows tr td:nth-child(3) {
    -ms-grid-row: 3;
    grid-row: 3;
  }

  .togglerows tr td:nth-child(4) {
    -ms-grid-row: 4;
    grid-row: 4;
  }

  .togglerows tr td:nth-child(5) {
    -ms-grid-row: 5;
    grid-row: 5;
  }

  .togglerows tr td:nth-child(6) {
    -ms-grid-row: 6;
    grid-row: 6;
  }

  #topmenu {
    z-index: 40;
  }

  .dataExportTable tr {
    line-height: 100%;
  }

  .dataExportTable tr .ui-button {
    height: auto;
  }

  #menuSide {
    height: 100%;
  }

  .showSideBar {
    bottom: 5px;
  }

  /**************************Pop Leftmenu **********************/
  .ui-menu-dynamic.ui-contextmenu.templates_panel li, .ui-menu-dynamic.ui-contextmenu.templates_panel a {
    height: auto;
  }

  .ui-menu-dynamic.ui-contextmenu.templates_panel span, .ui-selectonemenu-panel .ui-selectonemenu-list-item {
    overflow: hidden;
    white-space: nowrap;
    word-break: break-all;
    word-break: break-word;
  }

  .ui-sidebar-left {
    display: block;
  }
  
  .bookAppointmentPanel{
    width:100%;
  }
  
  .keywordSearchPanel {
    width: 100%;
  }
  
  .decisionTable.ui-datatable {
    width: 100%;
  }
  
  .timeSlot .ui-g-12 {
    width: auto;
  }
  
}
@media only screen and (max-width: 850px) and (min-aspect-ratio: 13 / 9) {
  body.login {
    display: flex;
    flex-direction: column;
	background: #F9F9F9;
  }

  body {
    -webkit-overflow-scrolling: touch !important;
  }

  #topmenu .ui-button {
    height: auto;
    margin-top: 3px;
  }

  .nontextualcolumn {
    display: none;
  }

  .ui-selectonemenu .ui-selectonemenu-trigger .ui-icon {
    margin-top: auto;
  }

  .login .ui-panel {
    padding: unset;
    padding-top: 0px;
    margin: auto;
    height: fit-content;
    -moz-border-radius: none;
    -webkit-border-radius: none;
    border-radius: none;
    background: #F9F9F9;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .login_form {
    padding-top: 0px;
    max-width: 800px;
    height: 100%;
    align-self: flex-start;
  }
  
  .logintitle {
    font-size: 1.8em;
  }

  .spaceColumn, #fmLogin .title_row, #fmResetPwd .title_row, #fmCaptcha .title_row, .loginfooter {
    display: none;
  }

  .login .ui-selectonemenu {
    height: unset;
  }

  .login_form .ui-panelgrid {
    height: auto;
  }

  .login input {
    font-size: 1em;
    height: 50px;
  }

  .login_input .ui-inputfield {
    width: 100%;
    height: 40px;
  }

  .login_input .ui-inputfield.ui-inputtext,
  .login_input .ui-inputfield.ui-password {
    width: 100%;
  }

  .login .ui-button {
    height: 40px;
    margin-top: 10px;
    width: 130px;
    font-size: 1em;
    display: block;
  }

  .login .ui-button-text {
    padding: 0px;
    text-align: center;
  }

  .ui-message-error-detail {
    font-size: 1em;
  }

  .login_input .bold {
    height: 0px;
    display: inline-block;
    font-size: 1em;
    margin-top: 0px;
  }

  table.login_grid table tr:first-child td {
    font-size: 1em;
  }

  .page_container {
    display: grid;
    display: -ms-grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: 30px 1fr;
    grid-template-rows: 30px 1fr;
    grid-template-areas: "head" "body";
  }

  .ui-panelgrid .ui-panelgrid-cell {
    padding-top: 0px;
  }

  .ui-panelgrid .highlightBG .ui-panelgrid-cell {
    padding-top: 4px;
  }

  /************general styles************/
  #contentUnit {
    overflow: hidden;
  }

  .tabscontainer {
    overflow-y: scroll;
  }

  /************Sidebar styles************/
  #menu {
    display: none;
  }

  #menuSide {
    background-color: #316582 ;
  }

  #menuSide .fa {
    color: white;
  }

  .ui-sidebar-active {
    background-color: #316582 ;
    overflow-x: scroll;
  }

  .activateColumn, .backBttn {
    display: unset;
  }

  h3 span {
    margin-right: 10px;
  }

  .ui-icon-closethick {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  tr.title_space {
    height: 0px;
  }

  td.ui-panelgrid-cell.title_column {
    padding-top: 0;
    padding-right: 10px;
    padding-left: 20px;
  }

  .title_column {
    height: 10%;
  }

  .chili_footer, .chili_login_logo {
    max-height: 0px;
  }

  /************ Top-Bar Styles************/
  .showSideBar {
    top: unset;
  }

  .topbar {
    width: 85%;
  }

  .topbar .titlearea td, .page_title {
    width: 100%;
  }

  .topbar .leftRight {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr auto;
    grid-template-columns: 1fr auto;
  }

  .topbar .ui-toolbar-group-left {
    width: auto;
    grid-column: 1;
    overflow: hidden;
    padding-left: 20px;
    height: unset;
  }

  .page_title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2em;
    width: 100%;
    margin-left: 0px;
  }

  #topmenu, #topmenu .menuGrid tr {
    background-color: #FFFFFF ;
  }

  .topbar .fa, .topbar .ui-icon.fa {
    font-size: 1.5em;
  }

  .topbar div {
    padding: 0px;
  }

  .titlearea {
    height: auto;
    table-layout: fixed;
    width: 100%;
  }

  .center_box {
    display: grid;
    display: -ms-grid;
  }

  .rightMenu .ui-button-icon-only {
    margin-right: 0px;
    margin-top: 0px !important;
    margin-bottom: 0px;
    padding-bottom: 4px;
  }

  #menubar .ui-toolbar {
    height: 25px;
    margin-right: 2px;
  }

  .rightMenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .rightMenu .ui-separator.vertical {
    display: none;
  }

  .rightMenu .ui-selectonemenu {
    width: 180px;
  }

  .rightMenu .fa-user-circle-o {
    top: 10px;
  }

  .currUser {
    display: none;
  }

  .patients_grid {
    grid-template-rows: 40px 1fr;
    -ms-grid-rows: 40px 1fr;
  }

  .optionsbar {
    padding-bottom: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 10px;
  }

  div.main_table {
    grid-template-rows: auto 1fr;
    -ms-grid-rows: auto 1fr;
    font-size: 1em;
  }

  .ui-datatable .ui-datatable-scrollable-body {
    overflow-x: hidden;
  }

  .ui-state-highlight .ui-icon, .ui-state-default .ui-icon {
    transform: scale(1.25);
  }

  .fa-bars {
    font-size: inherit;
  }

  .main_table .ui-state-default a:link {
    font-size: 1.5em;
  }

  .reflowTitle {
    display: unset;
  }

  .logo {
    display: none;
  }

  .menuGrid tr {
    background-color: #FFFFFF ;
  }

  .backBttn .fa, .activateColumn .fa, .topbar .fa {
    color: #25384C ;
  }

  .showSideBar, .moveBack {
    bottom: 2px;
  }

  .fa-bars, .fa-chevron-left {
    font-size: medium;
  }

  .fastRi {
    display: inline-block;
  }

  .fastRi button {
    display: block;
    margin: auto;
    width: auto;
  }

  .fastRi .ui-column-title {
    display: none;
  }

  /************Reflow für den DataTable************/
  .main_table thead th,
  .main_table tfoot td,
  .externalManager thead th,
  .externalManager tfoot td {
    display: none;
  }

  .main_table .ui-datatable-data td {
    text-align: left;
    overflow: visible;
    grid-template-columns: 1fr 1fr;
    grid-column: 1/3;
    float: left;
    clear: left;
  }

  .main_table .ui-datatable-data.ui-widget-content,
  .externalManager .ui-datalist-data.ui-widget-content {
    border: 0px none;
  }

  .main_table .ui-datatable-data tr.ui-widget-content,
  .externalManager .ui-datatable-data tr.ui-widget-content {
    border-left: 0px none;
    border-right: 0px none;
  }

  .main_table .ui-datatable-data td:not(.fastRi) .ui-column-title,
  .externalManager .ui-datatable-data td .ui-column-title {
    padding: .4em;
    min-width: 30%;
    display: inline-block !important;
    margin: -.4em 1em -.4em -.4em;
  }

  .patients_grid .ui-datatable tbody td a:first-of-type:not(.ui-widget) span {
    white-space: normal;
    word-break: break-all;
  }

  .patients_grid .ui-datatable td:not(.patientOptions) {
    border-bottom: 1px solid #F1F1F1  !important;
  }

  .patients_grid .ui-datatable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  .main_table tbody td:not(.fastRi) {
    display: grid !important;
  }

  .patients_grid .patientList table td:not(.nextWorkflowColumn) .ui-column-title {
    display: none !important;
  }

  .patients_grid .main_table tr {
    display: grid;
    grid-template-columns: 2fr 2fr 0.5fr;
    line-height: 25px;
  }

  .patients_grid .main_table td:nth-last-child(2) {
    text-align: right !important;
    grid-column: 3;
    -ms-grid-column: 3;
    grid-row: 1/5;
    -ms-grid-row: 1;
    -ms-grid-row-span: 4;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
  }

  .patients_grid .main_table tr td:not(:nth-last-child(2)) a {
    display: inline-block;
  }

  .mobileRi {
    display: block;
    height: 25px;
    font-weight: 400;
    margin: auto;
    margin-left: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .listWorkflowButton {
    overflow: hidden;
  }

  .listWorkflowButton span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  td.nextWorkflowColumn {
    width: auto;
  }

  .patients_grid .ui-datatable tbody td a:nth-of-type(2):not(.ui-widget) {
    margin-left: 20px;
  }

  .patients_grid .main_table tr .filter_column, .patients_grid .main_table tr td:nth-last-child(2) .ui-column-title,
  .patients_grid .main_table tr td.ui-column-unselectable:not(.nextWorkflowColumn) {
    display: none !important;
  }

  /************paginator style************/
  .patients_grid .ui-datatable .ui-paginator {
    padding-top: 0px;
  }

  .ui-paginator a {
    height: 100%;
    padding-top: 0px;
  }

  .ui-paginator a.ui-state-active {
    background: #E7E7E7 ;
  }

  .patient_options {
    display: none;
  }

  /************Searchresults styles************/
  .searchresults .patients_grid {
    height: 100%;
  }

  .table_options_panel {
    display: none;
  }

  .extraheight {
    display: none;
  }

  /***********UserActivities styles************/
  .sessionTable {
    margin-left: 0px;
  }

  #logentrytable {
    margin-left: 0px;
    width: 100%;
  }

  /************Messagesent styles************/
  #msgtabs .contentmargin {
    margin: 0px;
    height: 29px;
    text-align: center;
    color: #FFFFFF ;
    background-color: #6FAFC7;
  }

  .msgTabs, .msgTabs div.ui-tabs-panels, #msgtabs .ui-tabs-panels div.ui-corner-bottom, .msgTabs form {
    height: 100%;
  }

  .msgTabs .main_table {
    height: calc(100% - 70px);
  }

  .msgTabs .main_table tr td:first-child .ui-column-title {
    display: none;
  }

  .msgTabs .main_table tr td:first-child {
    display: inline-block;
    padding-top: 5px;
    text-align: left !important;
  }

  .msgTabs .ui-datatable-selectable td:last-child .ui-column-title {
    display: none !important;
  }

  .fa.fa-envelope-open-o, .fa.fa-envelope-o {
    grid-area: inherit;
  }

  .ui-panel-content .fa:hover {
    transform: none;
  }

  /************NewMessage Styles************/
  #messageform .contentmargin {
    margin-left: 0px;
  }

  #messageform .contentmargin tr:nth-child(2) td:first-child {
    padding-left: 0px;
  }

  .masterdatacolumns input, .masterdatacolumns textarea {
    width: 95%;
  }

  .messageForPatient {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  #messageform td.displayname {
    width: 20%;
  }

  /************Fileentry styles************/
  .groupRows_div {
    display: none !important;
  }

  .record_toggler .ui-column-title {
    display: none !important;
  }

  .groupicons tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .groupicons tr td:first-child {
    margin-left: 20px;
  }

  .groupRows {
    background-color: #E2EAF0 ;
  }

  .togglerows {
    margin-left: 10px;
    width: 100%;
  }

  #recordcolumns table {
    display: grid;
    display: -ms-grid;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
  }

  #recordcolumns .masterdatatable tr {
    display: grid;
    display: -ms-grid;
  }

  #recordcolumns table tr td.displayname {
    font-weight: 600;
    text-align: left;
  }

  #recordcolumns table tr {
    height: auto;
  }

  #recordcolumns table tr textarea {
    width: 95%;
    height: 75px;
  }

  .ui-fileupload-buttonbar .ui-button {
    height: auto;
  }

  .ui-button-icon-left.ui-icon.ui-c.ui-icon-plusthick {
    position: absolute;
  }

  table.main_panel {
    table-layout: fixed;
    width: 100%;
  }

  .group_select {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr 1fr;
    -ms-grid-rows: 1fr;
  }

  .group_select .ui-selectonemenu {
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .group_select .ui-autocomplete, .group_select label {
    -ms-grid-row: 2;
    grid-row: 2;
  }

  /************approval management styles************/
  #shareform .ui-reflow-dropdown, #shareform .ui-reflow-label {
    display: none;
  }

  /************record styles************/
  .groupicons td.ui-panelgrid-cell {
    width: 30px !important;
  }

  .desktopHeader {
    display: none;
  }

  .recordheader .headercols table {
    table-layout: fixed;
    width: 100%;
  }

  .recordheader.patientData > div > table > tbody > tr:first-of-type {
    display: grid;
    display: -ms-grid;
  }

  .toolIcons {
    display: none;
  }

  .toolMenu, .toolButton {
    display: block;
  }

  .toolButton {
    box-shadow: none;
    -webkit-box-shadow: none;
  }

  .toolButton span.ui-button-icon-left.fa-caret-square-o-down {
    margin-top: -9px;
  }

  .paneltoolbar.optionsbar.forumtoolbar {
    height: unset;
  }

  .forumtoolbar .ui-selectonemenu:nth-of-type(2) {
    display: none;
  }

  .record_toggler {
    padding-top: 8px !important;
  }

  .folderEntryTable table, .recordcontent .groupRows {
    table-layout: auto;
    width: auto;
  }

  .recordcontent .groupRows {
    background-color: #E7E7E7 ;
  }

  .baseData .groupRowContent {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .baseData .groupRowContent td:nth-child(2) {
    -ms-grid-row: 2;
    grid-row: 2;
  }

  .headercols tr.ui-datatable-even {
    background: #E2EAF0;
  }

  .recordsubtable.leftalignedtable table tbody {
    display: table;
  }

  /************Search Styles************/
  .tabscontainer .smalltext {
    margin-bottom: 10px;
  }

  .tabscontainer div.ui-tabs-panels {
    height: auto;
  }

  .searchdialog {
    width: 98% !important;
  }

  .searchPanel {
    margin-left: 0px;
  }

  .searchPanel .highlightBG input {
    width: 100%;
  }

  .searchPanel textarea {
    width: 80%;
  }

  /************Create Patient styles************/
  .masterdatatable .displayname {
    text-align: left;
  }

  .masterdatatable tr.ui-widget-content {
    display: grid;
    display: -ms-grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .recordheader.patientData #recordheader_form\:headermodel_data > tr:first-of-type {
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    display: -ms-grid;
  }

  .entrycolumn tbody tr:nth-child(odd), .expandedRow {
    background-color: #FFFFFF ;
  }

  /************Forum styles************/
  .forumEntries {
    margin-left: 0px;
  }

  .forumEntries .ui-treenode-children {
    padding-left: 0px;
  }

  .forumEntries .contentmargin {
    margin-left: 0px;
  }

  .forum_grid tr:first-of-type, .topic_grid tr:first-of-type td {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .topic_grid {
    width: 100%;
    table-layout: fixed;
  }

  .forum_comment {
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
  }

  .forum_subject {
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .forum_user, .forum_date, .displayUser, .recordDate {
    -ms-grid-row: 2;
    grid-row: 2;
    white-space: normal;
  }

  .forumtoolbar .tooltip {
    display: none;
  }

  .forumEntries .ui-tree-container li.ui-treenode-parent:nth-child(even) {
    background-color: #E2EAF0;
  }

  .forumEntries {
    margin-left: 0px;
  }

  .topic_grid {
    width: 100%;
    table-layout: fixed;
  }

  .forumEntries .topic_grid .ui-panelgrid-cell {
    height: auto;
  }

  /************external************/
  .externalManager .ui-reflow-label, .externalManager .ui-reflow-dropdown {
    display: none;
  }

  .externalShareconf {
    overflow-y: scroll;
    height: 100%;
  }

  /************accessprotocol styles************/
  .logT {
    width: 100%;
  }

  .logT table {
    table-layout: fixed;
    width: 100%;
  }

  .accessRightTable.ui-datatable tr:nth-child(even), .logT.ui-datatable tr:nth-child(even), .logentryTable.ui-datatable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  .logentryTable {
    width: 100%;
    margin-left: 0px !important;
  }

  .logentryTable table {
    width: 100%;
  }

  /************Forum styles************/
  .masterdatatable table {
    table-layout: fixed;
    width: 100%;
  }

  .masterdatatable table textarea, .masterdatatable table input {
    width: 92%;
  }

  .patients_grid .ui-column-unselectable:not(.nextWorkflowColumn) {
    display: none !important;
  }

  .patientOptions {
    display: block;
  }

  /************accessright styles************/
  .accessRightTable select, .accessRightTable label {
    display: none !important;
  }

  .accessRightTable table {
    table-layout: fixed;
    width: 100%;
  }

  .externalShareSettingsTable {
    width: auto !important;
  }

  .externalShareSettingsTable td {
    text-align: left;
  }

  .accessRightTable tbody td {
    white-space: normal !important;
  }

  /************document styles************/
  .subhead tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .subhead {
    height: auto;
    padding-left: 0px !important;
  }

  .subhead tr td:nth-child(2) {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 1;
    grid-column: 1;
  }

  .subhead tr td:nth-child(3) {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .docFile .ui-panel-titlebar {
    margin-bottom: 0px;
  }

  .documentTables .contentmargin {
    margin-left: 0px;
    margin-right: 0px;
  }

  .documentTables .groups_panel, .uploadDataTable table {
    table-layout: fixed;
    width: 100%;
  }

  .uploadDataTable td {
    border-bottom: 1px solid #c3c3c3  !important;
  }

  .uploadDataTable td:first-of-type {
    border-top: 1px solid #c3c3c3  !important;
  }

  .uploadDataTable {
    background: _separator_;
  }

  /************Base data styles************/
  .baseData {
    width: 100%;
    margin-left: 0px;
    max-width: none;
  }

  /************Data upload************/
  .uploadDescription {
    width: 100%;
  }

  .dataexport input {
    width: 100%;
  }

  .dataexport textarea {
    width: 98%;
  }

  .dataexport table {
    table-layout: fixed;
    width: 100%;
  }

  /************RI nextWorkflow************/
  .nextWorkflowColumn:not(.fastRi) button {
    width: auto;
    margin-left: 20px;
  }

  /************Data export************/
  .dataExportTable thead {
    display: none;
  }

  .dataExportTable tr {
    display: grid;
    display: -ms-grid;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
  }

  .dataExportTable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  .dataExportTable tr td:first-child {
    display: grid !important;
    display: -ms-grid !important;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
  }

  .dataExportTable tr td:not(:first-child) .ui-column-title {
    display: none !important;
  }

  /************Foldermanager************/
  .smallTableMobile table {
    table-layout: fixed;
    width: 100%;
  }

  .smallTableMobile td {
    display: grid !important;
    display: -ms-grid;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
    word-break: break-all;
    word-break: break-word;
  }

  .smallTableMobile tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  /************HDS***********/
  .autoRespondConfig table {
    table-layout: fixed;
    width: 100%;
  }

  .autoRespondConfig table tr {
    display: grid;
    display: -ms-grid;
  }

  .autoRespondDate input {
    width: auto;
  }

  .autoRespondText, .autoRespondDeputy {
    width: 95%;
  }

  .quickSearch {
    width: 100px;
  }

  .mobileHeader {
    display: block;
    margin-top: 5px;
  }

  .mobileHeader .patientData > div > table > tbody > tr:first-child {
    /*no IE on purporse*/
    display: grid;
  }

  .mobileHeader .ui-datatable table {
    width: 100%;
  }

  .mobileHeader .ui-accordion-header {
    background-color: #6FAFC7;
  }

  .mobileHeader .ui-icon.ui-icon-triangle-1-e {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .mobileHeader .ui-icon.ui-icon-triangle-1-s {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }
}
@media only screen and (max-width: 640px) and (max-aspect-ratio: 13 / 9) {
  .ui-tabs ul li a {
    font-size: 0.75em;
    padding-right: 0px !important;
  }

  body {
    font-size: 1em;
  }

  .small_table td {
    border-bottom: 1px solid #F1F1F1  !important;
  }

  .small_table.no_border_bottom td {
    border-bottom: none !important;
  }

  .ui-growl {
    left: 2%;
  }

  .toolMenu.popupmenu ul li a {
    font-size: 1em !important;
  }

  body.login {
    display: flex;
    flex-direction: column;
	background: #F9F9F9;
  }

  .ui-selectonemenu .ui-selectonemenu-trigger .ui-icon {
    margin-top: auto;
  }

  .login_grid {
    margin: auto;
    height: auto;
  }

  .login .loginpanel.ui-panel {
    padding: 0;
    -moz-border-radius: none;
    -webkit-border-radius: none;
    border-radius: none;
    background: #F9F9F9;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 100%;
    height: 100%;
    display: grid;
    display: -ms-grid;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
    grid-template-areas: "login";
  }

  .spaceColumn, #fmLogin .title_row, #fmResetPwd .title_row, #fmCaptcha .title_row, .loginfooter {
    display: none;
  }

  #fmLogin .ui-selectonemenu {
    height: unset;
    width: 94%;
  }

  .login_form {
    margin: unset;
    max-width: unset;
    height: 100%;
    width: 100%;
    align-self: flex-start;
    -ms-flex-item-align: start;
  }

  .logintitle {
    font-size: 1.75em;
  }

  .usernameField {
    margin-bottom: 2%;
  }

  .login_input tr:nth-child(2) div {
    padding-top: 0px;
  }

  .login_grid .error_row {
    line-height: 200%;
  }

  .loginfooter {
    font-size: 1em;
  }

  .login_input {
    margin: auto;
  }

  .login_input .ui-inputfield {
    width: 100%;
    height: 45px;
    font-size: 1em;
  }

  .login_input .ui-inputfield.ui-inputtext,
  .login_input .ui-inputfield.ui-password {
    width: 100%;
  }

  tr.title_space {
    height: 40px;
  }

  .title_column {
    height: 10%;
  }

  .login_input .bold {
    display: inline-block;
    font-size: 0.9em;
    margin-top: 0px;
    margin-bottom: 5%;
  }

  .login .ui-button {
    font-size: 1em;
    width: 100%;
    text-align: center;
    height: 45px;
  }

  .login .loginButton {
    padding-right: 3px;
    padding-top: 10%;
  }

  td.filter_column {
    display: none !important;
  }

  .ui-message-error {
    width: auto;
    height: auto;
  }

  .ui-message-error-detail {
    font-size: 1em;
  }

  .logo .ui-panel {
    width: 100px;
  }

  .chili_login_logo {
    height: 45px;
    margin-top: 0px;
  }

  .chili_footer {
    height: 45px;
  }

  .logo .ui-panelgrid {
    width: auto;
  }

  .logo.ui-panelgrid, .logo.ui-panelgrid-cell {
    width: auto;
  }

  .menuGrid .ui-panel .ui-panel-content {
    width: 95px;
  }

  .menuGrid .ui-panelgrid, .menuGrid .ui-panelgrid-cell {
    height: auto;
  }

  .page_container {
    /*no IE on purpose*/
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 35px 1fr;
    grid-template-areas: "head" "body";
    background-color: #FFFFFF ;
    grid-row: 2;
    -ms-grid-row: 2;
  }

  .center_box {
    display: grid;
    display: -ms-grid;
  }

  .nontextualcolumn {
    display: none !important;
  }

  .patientCount {
    grid-column: 1;
    grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-row: 1;
  }

  .folderSelection {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
    grid-row: 2;
    grid-column: 2;
  }

  /*Sidebar Styles*/
  .ui-sidebar .ui-menu .ui-submenu-icon {
    color: #EFEFEF ;
  }

  #menu {
    display: none;
  }

  .showSideBar {
    margin-right: unset;
    top: unset;
  }

  .showSideBar, .moveBack {
    bottom: 0px;
  }

  .ui-icon-closethick {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .ui-sidebar-left {
    width: 100%;
    background: #316582 ;
  }

  .bottomLogo {
    margin-bottom: 10%;
  }

  .ui-menu .ui-menu-list .ui-widget-header {
    font-size: 1em;
  }

  .ui-menu .ui-widget-header h3 {
    margin-top: 10px;
  }

  .leftmenubar .ui-menuitem {
    /*no webkit-box on purpose*/
    margin-top: unset;
    margin-left: 10px;
    height: 48px;
    display: flex;
    display: -ms-flexbox;
    align-items: center;
  }

  .ui-menu .ui-menuitem-link {
    padding-top: unset;
    padding-bottom: unset;
    width: 100%;
  }

  .popupmenu.ui-menu .ui-menuitem-link {
    width: 92%;
  }

  .history_overlay_menu, .search_overlay_menu {
    width: auto;
  }

  #patienttabs ul li {
    width: 32%;
  }

  .optionsbar {
    height: auto;
    padding-left: 5px;
    padding-right: 0px;
  }

  .optionsbar .ui-selectonemenu {
    margin-left: 0px;
  }

  .optionsbar .ui-toolbar-group-right {
    margin-left: auto;
    float: right;
  }

  .ui-separator.vertical {
    margin: unset;
    height: auto;
  }

  div.main_table {
    display: grid;
    display: -ms-grid;
    grid-template-rows: auto 1fr;
    -ms-grid-columns: auto 1fr;
    font-size: 1em;
    overflow-x: hidden;
    table-layout: auto;
  }

  .mobileRi {
    display: block;
    height: 25px;
    font-weight: 400;
    margin: auto;
    margin-left: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .listWorkflowButton {
    overflow: hidden;
  }

  .listWorkflowButton span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  td.nextWorkflowColumn {
    width: auto;
  }

  .patients_grid .patientList table td:not(.nextWorkflowColumn) .ui-column-title {
    display: none !important;
  }

  .reflowTitle {
    display: unset;
  }

  .main_table .ui-datatable-scrollable-body {
    overflow-x: hidden;
  }

  .searchresults .ui-paginator {
    height: 100%;
  }

  .ui-datatable-resizable thead th {
    width: 15%;
    font-size: 1em;
    margin-bottom: 20px;
    margin-left: 20px;
    padding-right: 40px;
    padding-left: 25px;
  }

  .ui-selectcheckboxmenu-panel {
    width: 100% !important;
  }

  .ui-selectcheckboxmenu-panel .ui-selectcheckboxmenu-list-item label {
    white-space: break-spaces;
  }

  .ui-shadow {
    box-shadow: none;
  }

  .iconDescription {
    display: none;
  }

  .patients_grid {
    -ms-grid-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    height: calc(100% - 33px);
    grid-template-rows: auto 1fr 0px;
    -ms-grid-rows: auto 1fr 0px;
  }

  .patients_grid .ui-datatable tbody td a:nth-of-type(2):not(.ui-widget) {
    margin-left: 20px;
  }

  .patients_grid .table_options_panel {
    display: none;
  }

  .patients_grid .ui-datatable tbody td a:first-of-type:not(.ui-widget) span {
    white-space: normal;
    word-break: break-all;
  }

  .patients_grid .ui-datatable td {
    border-bottom: 1px solid #F1F1F1  !important;
  }

  .patients_grid .ui-toolbar-group-left {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .labelFilter {
    -ms-grid-row: 3;
    grid-row: 3;
    -ms-grid-column: 1;
    grid-column: 1;
    display: block;
  }

  .filterSelection {
    -ms-grid-row: 3;
    grid-row: 3;
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .labelFolder {
    -ms-grid-row: 2;
    grid-row: 2;
    display: block;
    text-align: left;
  }

  .editFolder {
    -ms-grid-column: 3;
    grid-column: 3;
    -ms-grid-row: 2;
    grid-row: 2;
    display: block;
  }

  .patients_grid .ui-toolbar-group-right {
    margin-bottom: auto;
  }

  .patients_grid .ui-datatable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  .patient_options {
    margin: unset;
    display: none;
    background-color: #E7E7E7 ;
  }

  .patientOptions a:not(:first-of-type) {
    padding-left: 10px;
  }

  .searchresults .patient_options {
    display: block;
  }

  .searchresults .patients_grid {
    height: calc(100% - 41px);
  }

  .patient_options button {
    margin-top: 5%;
  }

  .extraheight {
    display: none;
  }

  .patientTabs tbody tr td br {
    display: none;
  }

  .patientTabs tbody tr td:nth-last-child(2) {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    max-width: 120px;
    text-align: left;
  }

  .patientTabs tbody tr td:nth-last-child(2) a {
    width: 50%;
  }

  .patientTabs tbody td:nth-last-child(2) .ui-column-title {
    display: none !important;
  }

  .ui-sidebar-left.ui-sidebar-active {
    overflow-y: auto;
  }

  /************general settings for selectcheckbox************/
  .ui-selectcheckboxmenu-multiple {
    width: 100%;
  }

  .ui-selectcheckboxmenu-multiple ul li {
    width: 95%;
  }

  .ui-selectcheckboxmenu-multiple ul li .ui-selectcheckboxmenu-token-label {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 80%;
  }

  /***********Top Menu Styles***********/
  #topmenu .ui-button {
    height: 28px;
    margin-right: 3px;
    width: 28px;
    margin-top: -2px;
  }

  #topmenu .menuGrid tr {
    line-height: 25px;
    background-color: #FFFFFF ;
  }

  #topmenu .ui-selectonemenu {
    font-size: 0.8em;
  }

  .topmenu .button {
    bottom: 15px;
  }

  .topmenu .ui-icon {
    height: auto;
    width: auto;
  }

  .topbar .leftRight {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr auto;
    grid-template-columns: 1fr auto;
  }

  .topbar .ui-toolbar-group-left {
    width: auto;
    grid-column: 1;
    overflow: hidden;
    height: unset;
  }

  .activateColumn {
    width: 10%;
  }

  .topbar {
    width: 80%;
  }

  .rightMenu .ui-button-icon-only {
    margin-bottom: 0;
    margin-top: 5px;
  }

  #topmenu .fa, #topmenu .ui-icon.fa {
    font-size: 1.25em;
  }

  .rightMenu .fa-user-circle-o {
    padding-top: 1px;
  }

  .ui-button-icon-only .ui-icon {
    width: auto;
    height: auto;
  }

  .logoGraphic {
    width: 45px;
  }

  .titlearea {
    height: auto;
    width: 100%;
    table-layout: fixed;
  }

  .menuGrid .logo {
    display: none;
  }

  .backBttn .fa, .activateColumn .fa, .topbar .fa {
    color: #25384C ;
  }

  .currUser {
    display: none;
  }

  .backBttn, .activateColumn {
    display: inline-block;
  }

  .ui-toolbar-group-left {
    font-size: 1em;
  }

  .ui-toolbar-group-right {
    height: 20px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .page_title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2em;
    margin-left: 0px;
    margin-top: 2px;
  }

  .ui-selectonemenu-panel.ui-widget.ui-input-overlay, .ui-menu-dynamic.ui-contextmenu.templates_panel {
    max-width: 100%;
  }

  .ui-menu-dynamic.ui-contextmenu.templates_panel li, .ui-menu-dynamic.ui-contextmenu.templates_panel a {
    height: auto;
  }

  .ui-menu-dynamic.ui-contextmenu.templates_panel span, .ui-selectonemenu-panel .ui-selectonemenu-list-item {
    overflow: hidden;
    white-space: nowrap;
    word-break: break-all;
    word-break: break-word;
  }

  .ui-selectonemenu-filter {
    font-size: 16px;
  }

  /***********Paginator styles***********/
  .ui-paginator a {
    width: 95%;
    height: 100%;
  }

  .patients_grid .ui-datatable .ui-paginator {
    grid-template-columns: repeat(6, 1fr);
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    height: unset;
  }

  .ui-paginator select {
    font-size: 1em;
    height: 100%;
  }

  .patientTabs .main_table table thead tr {
    line-height: 60px;
  }

  .ui-selectonemenu input.ui-selectonemenu-label {
    height: 50px;
    font-size: 40px;
  }

  .ui-paginator select option {
    font-size: 20px;
  }

  tr.ui-widget-content.ui-datatable-empty-message td {
    text-align: left;
  }

  .ui-toolbar-group-right .rightMenu {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .ui-paginator-pages, .ui-paginator a.ui-state-active {
    background-color: #E7E7E7 ;
  }

  .ui-datatable-resizable th.ui-resizable-column {
    padding-left: 5%;
  }

  .main_table.ui-datatable tbody td:not(.nontextualcolumn):not(.patientOptions):not(.ui-column-unselectable), .main_table.ui-datatable tbody td.nextWorkflowColumn:not(.fastRi), .releaseTable td, .devTable td {
    padding-left: 10px;
    overflow: visible;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    -ms-grid-columns: 1fr 1fr;
  }

  .fastRi {
    display: inline-block;
  }

  .fastRi button {
    display: block;
    margin: auto;
    width: auto;
  }

  .fastRi .ui-column-title {
    display: none !important;
  }

  .main_table.ui-datatable tbody td a:nth-of-type(2):not(.ui-widget) {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ui-datatable th .ui-column-title {
    width: auto;
  }
  
  .ui-divider.vertical {
    height: 100%;
  }

  /***********MessageFolder styles***********/
  .masterdatatable td.displayname {
    font-size: 1em;
    text-align: left;
    padding: 0px;
  }

  .masterdatatable tbody td.contentvalue {
    padding: 0px;
  }
  
  .masterdatatable {
    margin-left: unset;
    table-layout: fixed;
    width: 100%;
    margin-top: 10px;
  }

  .masterdatatable .ui-selectonemenu {
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
  }

  .masterdatatable tr.ui-widget-content {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
  }

  .recordsubtable .ui-datatable-tablewrapper table {
    width: 95%;
  }

  .entryfieldsTable tr td:nth-child(1) {
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .entryfieldsTable tr td:nth-child(2) {
    display: block;
    -ms-grid-row: 2;
    grid-row: 2;
  }

  .inner_center input, .inner_center textarea {
    width: 100%;
    font-size: 1em;
    box-sizing: border-box;
  }

  .msgTabs div.contentmargin {
    margin: unset;
    line-height: 40px;
    background: #6FAFC7;
    color: #FFF ;
    text-align: center;
  }

  .msgTabs tbody tr td {
    grid-template-areas: "left right";
  }

  .fa.fa-envelope-o, .fa.fa-envelope-open-o {
    grid-area: left;
    text-align: left;
  }

  .msgTabs, .msgTabs div.ui-tabs-panels, .ui-tabs-panels .ui-tabs-panel.ui-widget-content.ui-corner-bottom, .msgTabs form {
    height: 100%;
  }

  .msgTabs .main_table {
    height: calc(100% - 120px);
  }

  #messageform .contentmargin {
    margin-left: 0px;
    table-layout: fixed;
    width: 100%;
  }

  #messageform td.displayname {
    width: 30%;
  }

  .msgTabs .ui-datatable-selectable td:last-child .ui-column-title {
    display: none;
  }

  .group_select {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: 1fr 1fr;
  }

  .group_select .ui-selectonemenu {
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .group_select label {
    -ms-grid-row: 2;
    grid-row: 2;
  }

  .group_select .ui-autocomplete {
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .messageForPatient {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .messageform .group_select .ui-autocomplete {
    grid-row: 1;
    -ms-grid-row: 1;
  }

  .ui-panel-content .fa:hover {
    transform: none;
  }

  /***********UserActivtities Styles***********/
  .sessionTable {
    margin-left: 0px;
    width: 100%;
  }

  #tab_view_log_evaluation .ui-datatable-scrollable-body {
    margin-left: 0px;
    width: 100%;
  }

  #tab_view_log_evaluation .ui-datatable-scrollable-body table {
    width: 100%;
  }

  #tab_view_log_evaluation .ui-datatable-scrollable-body tr td span {
    margin-right: 0px;
  }

  #tab_view_show_current_users .ui-datatable-scrollable-body {
    margin-left: 0px;
    width: 100%;
  }

  #tab_view_show_current_users .ui-datatable-scrollable-body table {
    width: 100%;
  }

  #tab_view_show_current_users .ui-datatable-scrollable-body tr td span {
    margin-right: 0px;
  }

  .sessionlogTable {
    width: 100%;
  }

  .sessionDetails {
    font-size: 0.8em;
  }

  /***********Extern clearance***********/
  .userClearance span {
    width: 10%;
    white-space: normal;
  }

  .externalManager input {
    width: unset;
  }

  .inputColumn .hasDatepicker {
    width: 50%;
  }

  .externalManager td:nth-child(7) {
    display: grid !important;
    display: -ms-grid !important;
    grid-template-columns: 1.1fr 2fr;
    -ms-grid-columns: 1.1fr 2fr;
    white-space: normal;
  }

  .externalManager {
    width: 100%;
  }

  .externalManager table {
    width: 100%;
  }

  .externalManager .ui-reflow-label, .externalManager .ui-reflow-dropdown {
    display: none;
  }

  .externalShareSettingsTable {
    table-layout: fixed;
    width: 100%;
  }

  .externalShareSettingsTable .ui-selectonemenu {
    width: 80%;
  }

  /************Fileentry styles***********/
  .recordheader.patientData #recordheader_form\:headermodel_data > tr:first-of-type {
    display: grid;
    display: -ms-grid;
  }

  .recordheader.patientData > div > table > tbody > tr:first-of-type {
    display: grid;
    display: -ms-grid;
  }

  .groupRows_div {
    display: none !important;
  }

  .record_toggler .ui-column-title {
    display: none !important;
  }

  .groupicons tr {
    display: -webkit-flex;
    display: flex;
    display: -ms-flexbox;
  }

  .groupicons tr td:first-child {
    margin-left: 20px;
  }

  .groupRows {
    background-color: #E2EAF0 ;
  }

  .togglerows {
    margin-left: 10px;
  }

  #recordcolumns table {
    display: grid;
    display: -ms-grid;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
    margin-left: 0px;
  }

  #recordcolumns table.navigationbuttons .ui-button {
    height: auto;
    min-height: 36px;
  }

  #recordcolumns table tr {
    height: auto;
  }

  #recordcolumns table textarea {
    height: 75px;
  }

  #recordcolumns table tr .displayname {
    font-weight: 600;
  }

  #recordcolumns .masterdatatable tr {
    display: grid;
    display: -ms-grid;
    margin-top: 10px;
  }

  #recordcolumns .ui-fileupload-choose .ui-button-icon-left {
    position: absolute;
  }

  #recordcolumns .tertiary .ui-fileupload-choose {
    height: auto;
  }

  .ui-fileupload-buttonbar .ui-button {
    height: auto;
  }

  #verifypatientsform .patients_grid {
    height: 100%;
    grid-template-rows: auto 1fr;
    -ms-grid-columns: auto 1fr;
  }

  #verifypatientsform .main_table {
    grid-template-rows: auto 1fr;
    -ms-grid-rows: auto 1fr;
  }

  #verifypatientsform .ui-paginator a, #verifypatientsform .ui-paginator select {
    height: 100%;
  }

  #shareform label, #shareform select {
    display: none;
  }

  .recordheader .ui-datatable table {
    width: 100%;
  }

  .togglerows > div > table {
    width: 100%;
    table-layout: auto;
  }

  /************record Styles************/
  .desktopHeader {
    display: none;
  }

  .mobileHeader {
    display: block;
    margin-top: 5px;
  }

  .mobileHeader .patientData > div > table > tbody > tr:first-child {
    /*no IE on purporse*/
    display: grid;
  }

  .mobileHeader .ui-datatable table {
    width: 100%;
  }

  .mobileHeader .ui-accordion-header {
    background-color: #6FAFC7;
  }

  .mobileHeader .ui-icon.ui-icon-triangle-1-e {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .mobileHeader .ui-icon.ui-icon-triangle-1-s {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .recordheader {
    margin-left: 0px;
    margin-bottom: 0px;
  }

  .groupicons td.ui-panelgrid-cell {
    width: 30px !important;
  }

  .toolIcons {
    display: none;
  }

  .toolMenu, .toolButton {
    display: block;
  }

  .toolMenu ul {
    display: flex;
    display: -ms-flexbox;
    font-size: 1em;
  }

  .paneltoolbar.optionsbar.forumtoolbar {
    height: unset;
    padding-left: 5px;
  }

  .toolButton {
    box-shadow: none;
    -webkit-box-shadow: none;
    height: auto;
  }

  .toolButton span {
    margin-top: -9px !important;
  }

  .paneltoolbar .ui-toolbar-group-right {
    margin-left: auto;
    width: 35px;
  }

  .toolMenu.ui-menu .ui-menuitem {
    margin-right: 5px;
  }

  .groupRows .record_toggler {
    padding-top: 7px !important;
  }

  .tooglerows td {
    white-space: nowrap;
  }

  .recordheader .ui-widget-content.ui-datatable-even > td, .recordheader .ui-widget-content.ui-datatable-odd > td {
    word-break: break-all;
    word-break: break-word;
  }

  .entrycolumn tbody tr:nth-child(odd), .expandedRow {
    background-color: #FFFFFF ;
  }

  .entrycolumn tbody tr:nth-child(odd), .expandedRow .groupRowContent {
    background-color: inherit;
  }

  .entrycolumn {
    margin-left: 0px;
    max-width: 100%;
    width: auto;
  }

  .recordcontent .ui-datatable-tablewrapper .entrycolumn tr td.ui-panelgrid-cell.contentvalue {
    white-space: normal;
    min-width: 300px;
  }

  #recordcolumns table.navigationbuttons {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .recordcontent table {
    table-layout: auto;
  }

  .recordheader .headercols table {
    width: 100%;
    table-layout: fixed;
  }

  .entrycolumn td.displayname {
    margin-left: 7px;
  }

  .baseData .groupRowContent {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .baseData .groupRowContent td:nth-child(2) {
    -ms-grid-row: 2;
    grid-row: 2;
  }

  .headercols tr.ui-datatable-even {
    background: #E2EAF0;
  }

  .recordsubtable.leftalignedtable table tbody {
    display: table;
  }

  /************SearchStyles************/
  .tabscontainer .smalltext {
    margin-bottom: 10px;
  }

  .tabscontainer div.ui-tabs-panels {
    height: calc(100% - 40px);
  }

  .searchPanel {
    margin-left: 0px;
  }

  .searchdialog {
    width: 98% !important;
  }

  .navigationbuttons {
    margin: 0px;
  }

  .navigationbuttons tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .navPat, .performSearch {
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .navPat {
    -ms-grid-column: 1;
    grid-column: 1;
  }

  .performSearch {
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .searchUpdate, .saveSearch {
    -ms-grid-row: 2;
    grid-row: 2;
  }

  .searchUpdate {
    -ms-grid-column: 1;
    grid-column: 1;
  }

  .saveSearch {
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .editeSearch {
    -ms-grid-row: 3;
    grid-row: 3;
  }

  /************Patientupload styles************/
  .masterdatatable table {
    table-layout: fixed;
    width: 100%;
  }

  .patUploadTable table td:first-child, .accountableGroupsCheckboxMenu, .masterdatatable .accountableGroupsCheckboxMenu ul li {
    width: 100%;
  }

  .masterdatatable .accountableGroupsCheckboxMenu ul {
    width: 95%;
  }

  .accountableGroupsCheckboxMenu .ui-icon-close {
    display: none !important;
  }

  .masterdatatable .displayname {
    text-align: left;
  }

  /************Dataexport styles************/
  .dataexport textarea {
    width: 80%;
  }

  /************column display************/
  .ui-picklist-buttons .ui-icon {
    width: 16px;
    height: 16px;
  }

  .ui-picklist.ui-picklist-responsive {
    width: auto;
  }

  .column_settings {
    overflow: scroll;
  }

  .column_picklist {
    margin-left: 15px;
    margin-right: 15px;
  }

  /************Folder edit************/
  .permissionTable td:not(.normScreenFolderAct), .logT td {
    display: -ms-grid !important;
    display: grid !important;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .folderPermission {
    text-align: inherit;
  }

  .addPermissions span {
    padding: 0px !important;
    text-align: center;
  }

  .normScreenFolderAct {
    display: none !important;
  }

  .smallScreenFolderAct .ui-column-title {
    display: none !important;
  }

  .smallScreenFolderAct a:not(:first-of-type) {
    margin-left: 15px;
  }

  .smallTableMobile table {
    table-layout: fixed;
    width: 100%;
  }

  .smallTableMobile td {
    display: grid !important;
    grid-template-columns: 1fr;
    word-break: break-all;
    word-break: break-word;
  }

  .smallTableMobile tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  #foldermanager .contentpadding {
    padding-left: 15px;
    padding-right: 15px;
  }

  /************Accesrights************/
  .accessRightTable table, .accessRightTable, .accessRightTable div:first-of-type {
    width: 100%;
  }

  .accessRightTable label, .accessRightTable select {
    display: none !important;
  }

  .accessRightTable.ui-datatable tr:nth-child(even), .logT.ui-datatable tr:nth-child(even), .logentryTable.ui-datatable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  .selection {
    margin-left: 0px;
  }

  .externalShareSettingsTable td {
    text-align: left;
  }

  /************external Share************/
  .externalShareInput .ui-inputfield {
    width: 100%;
  }

  .logT {
    width: 100%;
  }

  .logT table {
    width: 100%;
    table-layout: fixed;
  }

  .externalShareconf table {
    table-layout: fixed;
    width: 94%;
  }

  .logentryTable {
    margin-left: 0px !important;
  }

  .logentryTable td {
    display: -ms-grid !important;
    display: grid !important;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    white-space: normal;
    word-break: break-all;
  }

  /************accessprotocol************/
  .accessProtocolLog {
    table-layout: fixed;
    width: 100%;
  }

  .accessProtocolLog tr:last-child td:nth-child(2) {
    width: 50%;
  }

  .accessProtocolLog tr:last-child .ui-selectcheckboxmenu {
    width: 100%;
  }

  .accessProtocolLog tr:last-child .ui-selectcheckboxmenu ul li {
    width: 95%;
  }

  .accessProtocolLog tr:last-child .ui-selectcheckboxmenu ul li .ui-icon-close {
    display: none;
  }

  .accessProtocolLog tr:last-child .ui-selectcheckboxmenu ul li .ui-selectcheckboxmenu-token-label {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  .patients_grid .ui-column-unselectable:not(.nextWorkflowColumn) {
    display: none !important;
  }

  .patientOptions {
    display: block;
  }

  .smallScreenFolderAct {
    display: block;
  }

  #contentUnit {
    overflow: hidden;
  }

  /************ActivityLog************/
  .selection.contentmargin {
    table-layout: fixed;
    width: 100%;
  }

  /************document styles************/
  .subhead tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .subhead {
    height: auto;
    padding-bottom: 0px;
    padding-left: 0px !important;
  }

  .subhead tr td:nth-child(2) {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 1;
    grid-column: 1;
  }

  .subhead tr td:nth-child(3) {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .docFile .ui-panel-titlebar {
    margin-bottom: 0px;
  }

  .documentTables .contentmargin {
    margin-left: 0px;
    margin-right: 0px;
  }

  .documentTables .groups_panel, .uploadDataTable table {
    table-layout: fixed;
    width: 100%;
  }

  .uploadDataTable td {
    border-color: #c3c3c3  !important;
  }

  .uploadDataTable td:first-of-type {
    border-top: 1px solid #c3c3c3  !important;
  }

  /************data upload************/
  .fileUploadBttn .ui-button-text-icon-left {
    height: auto;
  }

  .uploadDataTable {
    background: #EEF2F5;
  }

  .uploadArea {
    margin-left: 0px !important;
    padding-left: 0px !important;
  }

  .ui-fileupload-filename {
    word-break: break-all;
  }

  .docUploadCheckbox {
    text-align: left;
  }

  .uploadAction .ui-column-title {
    display: none !important;
  }

  .uploadArea input {
    width: 100%;
  }

  #tab_view_dataexport .ui-tabs-panels {
    width: auto;
  }

  .dataexport .navigation_buttons tr {
    display: -ms-grid;
    display: grid;
  }

  .dataexport .navigation_buttons td:first-child {
    -ms-grid-column: 1;
    grid-column: 1;
  }

  .dataexport .navigation_buttons td:nth-child(2) {
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .dataexport .navigation_buttons td:nth-child(3) {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 1;
    grid-column: 1;
  }

  .dataexport input {
    width: 100%;
  }

  .dataexport .ui-button-text-only {
    height: auto;
  }

  .dataexport .newSQLRequest {
    table-layout: fixed;
    width: 100%;
  }

  .dataExportTable thead {
    display: none;
  }

  .dataExportTable tr {
    display: grid;
    display: -ms-grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .dataExportTable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  .dataExportTable tr td:first-child {
    display: grid !important;
    display: -ms-grid;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
  }

  .dataExportTable tr td:not(:first-child) .ui-column-title {
    display: none !important;
  }

  .documentTable .ui-reflow-label, .documentTable .ui-reflow-dropdown {
    display: none;
  }

  .documentTable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  /************HDS options************/
  .releaseTable, .devTable {
    margin-left: 0px;
  }

  .releaseTable.ui-datatable tr:nth-child(even), .devTable.ui-datatable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  .releaseTable img {
    display: inline-block;
  }

  .releaseTable .editColumn .ui-column-title {
    display: none !important;
  }

  .autoRespondConfig table {
    table-layout: fixed;
    width: 100%;
  }

  .autoRespondConfig table tr {
    display: grid;
    display: -ms-grid;
  }

  .autoRespondDate input {
    width: auto;
  }

  .autoRespondConfig .navigationbuttons button:nth-child(2) {
    margin-left: 5px;
  }

  .autoRespondConfig .navigationbuttons button:nth-child(3) {
    margin-top: 5px;
  }

  .quickSearch {
    width: 100px;
    margin-top: 7px;
  }

  /************RI nextWorkflow************/
  .nextWorkflowColumn:not(.fastRi) button {
    width: auto;
    margin-left: 20px;
  }

  /************RI creation************/
  .saveDeleteBack tr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .saveDeleteBack td:first-child {
    -ms-grid-column: 1;
    grid-column: 1;
  }

  .saveDeleteBack td:nth-child(2) {
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .saveDeleteBack td:nth-child(3) {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 2;
    grid-row: 2;
  }

  #touchTrigger {
    position: absolute;
    height: 100%;
    grid-row: 1;
    visibility: hidden;
    width: 40%;
    z-index: 1000;
  }

  /************Styles onCallDuty-Plugin************/
  .ocdTableHeader .ui-button-icon-only .ui-icon {
    width: 16px;
    height: 17px;
  }

  .ui-datatable table.ocdTableHeader {
    table-layout: auto;
  }

  .workFlowLabel {
    margin: 0 5px 0 10px;
  }

  .recordBttnsGroup {
    padding-top: 10px !important;
  }
}
@media only screen and (max-width: 460px) and (max-aspect-ratio: 13 / 9) {
  .recordoptions .addFolder, .recordoptions .selectOneMenuFilter {
    display: none;
  }
}
@media only screen and (min-width: 641px) and (max-width: 900px) and (max-aspect-ratio: 13 / 9) {
  /************reflow style************/
  .subtable th .ui-column-title {
    display: none;
  }

  .entryfieldsTable .ui-datatable-reflow .ui-datatable-data td[role="gridcell"] .ui-column-title {
    display: block;
  }

  .recordsubtable .ui-datatable-reflow .ui-datatable-data td[role="gridcell"] .ui-column-title {
    display: inline-block;
  }

  .entryfieldsTable .ui-datatable-reflow thead th,
  .recordsubtable .ui-datatable-reflow thead th,
  .ui-datatable-reflow tfoot td {
    display: none;
  }

  .entryfieldsTable .ui-datatable-reflow .ui-datatable-data td,
  .recordsubtable .ui-datatable-reflow .ui-datatable-data td {
    text-align: left;
    display: block;
    border: 0px none;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    clear: left;
  }

  .entryfieldsTable .ui-datatable-reflow .ui-datatable-data.ui-widget-content,
  .recordsubtable .ui-datatable-reflow .ui-datatable-data.ui-widget-content {
    border: 0px none;
  }

  .entryfieldsTable .ui-datatable-reflow .ui-datatable-data tr.ui-widget-content,
  .recordsubtable .ui-datatable-reflow .ui-datatable-data tr.ui-widget-content {
    border-left: 0px none;
    border-right: 0px none;
  }

  .entryfieldsTable .ui-datatable-reflow .ui-datatable-data td .ui-column-title,
  .recordsubtable .ui-datatable-reflow .ui-datatable-data td .ui-column-title {
    padding: .4em;
    min-width: 30%;
    display: inline-block;
    margin: -.4em 1em -.4em -.4em;
  }

  .recordsubtable .ui-datatable-tablewrapper table {
    width: 95%;
  }

  .page_container {
    /*no IE on purporse*/
    grid-template-columns: 1fr;
    grid-template-areas: "head" "body";
    grid-template-rows: auto 1fr;
    -ms-grid-rows: auto 1fr;
  }

  .nontextualcolumn {
    display: none !important;
  }

  a {
    -webkit-tap-highlight-color: transparent;
  }

  /************Reflow für den DataTable************/
  .main_table thead th,
  .main_table tfoot td,
  .externalManager thead th,
  .externalManager tfoot td {
    display: none;
  }

  .main_table .ui-datatable-data td:not(.nontextualcolumn) {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-column: 1/3;
    width: auto !important;
  }

  .main_table .ui-datatable-data.ui-widget-content,
  .externalManager .ui-datalist-data.ui-widget-content {
    border: 0px none;
  }

  .main_table .ui-datatable-data tr.ui-widget-content,
  .externalManager .ui-datatable-data tr.ui-widget-content {
    border-left: 0px none;
    border-right: 0px none;
  }

  #mergeForm .main_table td .ui-column-title,
  .externalManager .ui-datatable-data td .ui-column-title {
    padding: .4em;
    min-width: 30%;
    display: inline-block !important;
    margin: -.4em 1em -.4em -.4em;
  }

  .main_table .ui-datatable-data td .ui-column-title {
    display: none;
  }

  /************patientmanagement styles************/
  #topmenu, #menubar {
    height: 100%;
  }

  #topmenu td, #topmenu table, #topmenu tbody, #topmenu tr {
    display: inline-block;
    height: 100%;
  }

  #topmenu tr, #topmenu table, #topmenu tbody {
    width: 100%;
  }

  .rightMenu .user_button {
    margin: 0px;
    float: right;
  }

  .rightMenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .showSideBar {
    top: unset;
  }

  .backBttn .fa, .activateColumn .fa, .topbar .fa {
    font-size: 20px;
    color: #25384C ;
  }

  #topmenu .rightMenu .ui-separator.vertical {
    display: none;
  }

  .topbar .fa {
    font-size: 13px;
  }

  .topbar {
    background-color: #FFFFFF ;
    width: 85%;
    float: right;
  }

  #topmenu button {
    height: auto;
  }

  .patients_grid {
    grid-template-rows: auto 1fr;
    -ms-grid-rows: auto 1fr;
  }

  .patients_grid .table_options_panel {
    display: none;
  }

  .patient_options {
    margin: unset;
    display: none;
  }

  .searchresults .patient_options {
    display: block;
  }

  .searchresults .patients_grid {
    height: calc(100% - 41px);
  }

  .patient_options button {
    margin-top: 5%;
  }

  .extraheight {
    display: none;
  }

  body {
    -webkit-overflow-scrolling: touch !important;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) {
    grid-column: 3;
    -ms-grid-column: 3;
    grid-row: 1/5;
    -ms-grid-row: 1;
    -ms-grid-row-span: 4;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
    padding-left: 10px;
    line-height: 100%;
    vertical-align: bottom;
    text-align: right;
  }

  .patientTabs .patients_grid tbody tr {
    /*no IE on purporse*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .reflowTitle {
    display: unset;
  }

  td.filter_column {
    display: none !important;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: end;
    align-self: flex-end;
    padding-top: 3%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 28px;
    width: 28px;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) a i {
    margin: auto;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) span.ui-column-title {
    display: none !important;
  }

  .patientTabs .patients_grid tbody tr td:last-child {
    display: none;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) .filter_column {
    display: none !important;
  }

  .mobileRi {
    display: block;
    height: 25px;
    font-weight: 400;
    margin: auto;
    margin-left: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .patients_grid .ui-datatable tbody td a:nth-of-type(2):not(.ui-widget) {
    margin-left: 20px;
  }

  .patients_grid .ui-datatable tbody td a:first-of-type:not(.ui-widget) span {
    white-space: normal;
    word-break: break-all;
  }

  .patients_grid .ui-datatable td {
    border-bottom: 1px solid #F1F1F1 ;
  }

  .patients_grid .ui-datatable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  /************Styles für die Navleiste************/
  .activateColumn {
    width: 5%;
  }

  #topmenu table.currUser {
    width: auto;
  }

  .menuGrid .currUser td {
    margin-left: 10px;
    margin-top: 5px;
  }

  .currentuser {
    margin: 0px;
  }

  .topbar .ui-selectonemenu label {
    width: 88%;
  }

  .topbar .leftRight {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr auto;
    grid-template-columns: 1fr auto;
  }

  .topbar .titlearea td, .page_title {
    width: 100%;
  }

  .fa-user-circle-o {
    top: 7px;
  }

  .menubar li .fa {
    color: #EFF4F8;
    padding-right: 20px;
  }

  .topmenu, .menuGrid {
    height: 100%;
  }

  a i {
    margin-right: 2%;
  }

  .page_container .menuGrid div {
    padding: unset;
  }

  .logo div {
    height: 50px;
  }

  .logo {
    display: none !important;
  }

  .ui-separator.vertical {
    height: 100%;
  }

  .page_title {
    margin: unset;
    font-size: 1.5em;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menuGrid .ui-panelgrid {
    height: 50px;
  }

  .showSideBar, .moveBack {
    bottom: 3px;
  }

  .rightMenu .ui-selectonemenu {
    margin-right: 0px;
    width: 180px;
  }

  .topbar .ui-toolbar-group-left {
    width: auto;
    grid-column: 1;
    -ms-grid-column: 1;
    overflow: hidden;
    padding-left: 20px;
  }

  /************SidebarStyles************/
  #menu {
    display: none;
  }

  .ui-sidebar-left {
    background: #316582 ;
    overflow-y: auto;
  }

  .ui-icon-closethick {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  /************MessageSent styles************/
  .masterdatatable td.displayname {
    font-size: 1em;
    text-align: left;
    padding-left: 10px;
  }

  .masterdatatable tbody td.contentvalue {
    padding-left: unset;
    padding-right: 5%;
  }

  .masterdatatable {
    margin-left: unset;
  }

  .inner_center input, .inner_center textarea {
    width: 95%;
    font-size: 1em;
  }

  table .fa {
    margin-top: 1%;
  }

  .msgTabs .ui-datatable td {
    grid-template-areas: "left right";
  }

  .msgTabs .ui-datatable td:not(:first-child) .ui-column-title {
    display: block;
  }

  .fa.fa-envelope-o, .fa.fa-envelope-open-o {
    grid-area: left;
    text-align: left;
  }

  .msgTabs .ui-datatable tr td:first-child {
    margin-top: 20px;
  }

  .msgTabs .fa.fa-trash, .msgTabs .fa.fa-envelope-o, .msgTabs .fa.fa-envelope-open-o {
    font-size: 1.75em;
  }

  .msgTabs, .msgTabs div.ui-tabs-panels, .ui-tabs-panels .ui-tabs-panel.ui-widget-content.ui-corner-bottom, .msgTabs form {
    height: 100%;
  }

  .msgTabs .main_table {
    height: calc(100% - 6%);
    overflow: auto;
  }

  .msgTabs .inner_center {
    overflow: hidden;
  }

  .msgTabs div.contentmargin {
    margin: unset;
    line-height: 40px;
    background: #6FAFC7;
    color: #FFF ;
    text-align: center;
  }

  .msgTabs .ui-datatable-selectable td:last-child .ui-column-title {
    display: none;
  }

  .msgTabs #contentUnit_content {
    overflow-y: hidden;
  }

  /************NewMessage Styles************/
  .messageform table {
    margin-left: 0px;
  }

  td.displayname {
    text-align: left;
  }

  .accessRightTable tbody td {
    white-space: normal !important;
    text-align: left;
  }

  /************UserActivities stlyes************/
  .contentscroll .small_table, .small_table table {
    width: 100%;
    margin-left: 0px !important;
  }

  /************Folder Management************/
  #foldermanager table td {
    display: table-cell;
  }

  /************History styles************/
  .iconsright .fa {
    margin-left: 3px;
  }

  /************NewPatient styles************/
  #verifypatientsform .ui-paginator {
    height: 100%;
  }

  /************Useractivities styles************/
  #tab_view_log_evaluation .sessionTable {
    margin-left: 0px;
  }

  #tab_view_show_current_users .sessionTable {
    margin-left: 0px;
  }

  .externalManager input {
    width: 50%;
  }

  .selectPermission {
    width: 50%;
    padding: 0px;
  }

  .selectPermission label {
    padding: 0px;
  }

  .externalManager .ui-calendar input {
    padding: 0px;
  }

  .externalManager td:first-child .ui-column-title {
    display: none !important;
  }

  .externalManager td {
    text-align: left;
    display: grid;
    display: -ms-grid;
    grid-template-columns: 20% 50%;
    -ms-grid-column-span: 20% 50%;
    width: auto !important;
  }

  /************column settings styles***********/
  .ui-picklist.ui-picklist-responsive {
    width: auto;
    display: block;
  }

  .ui-picklist.ui-picklist-responsive > div {
    display: block;
    width: 100% !important;
  }

  .ui-picklist.ui-picklist-responsive .ui-picklist-buttons {
    text-align: center;
    height: auto;
    padding: 5px 0px;
  }

  .ui-picklist.ui-picklist-responsive .ui-picklist-buttons button {
    display: inline;
    width: 20%;
  }

  .ui-picklist.ui-picklist-responsive .ui-picklist-source-controls.ui-picklist-buttons {
    padding-bottom: 5px;
  }

  .ui-picklist.ui-picklist-responsive .ui-picklist-target-controls.ui-picklist-buttons {
    padding-top: 5px;
  }

  .column_settings {
    overflow-y: scroll;
  }

  .column_settings ul li {
    width: 50%;
  }

  .patients_grid .ui-column-unselectable:not(.nextWorkflowColumn) {
    display: none !important;
  }

  .patientOptions {
    display: block;
  }

  /************Ri Worklfowbutton***********/
  .nextWorkflowColumn .ui-column-title {
    display: inline-block !important;
  }

  .nextWorkflowColumn button {
    text-align: center !important;
    margin-left: 20px;
    width: auto;
  }

  /************HDS***********/
  .autoRespondConfig table {
    table-layout: fixed;
    width: 100%;
  }

  .autoRespondConfig table tr {
    display: grid;
    display: -ms-grid;
  }

  .autoRespondDate input {
    width: auto;
  }

  .desktopHeader {
    display: none;
  }

  .mobileHeader {
    display: block;
    margin-top: 5px;
  }

  .mobileHeader .patientData > div > table > tbody > tr:first-child {
    /*no IE on purporse*/
    display: grid;
  }

  .mobileHeader .ui-datatable table {
    width: 100%;
  }

  .mobileHeader .ui-accordion-header {
    background-color: #6FAFC7;
  }

  .mobileHeader .ui-icon.ui-icon-triangle-1-e {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .mobileHeader .ui-icon.ui-icon-triangle-1-s {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .recordheader .ui-widget-content.ui-datatable-even > td, .recordheader .ui-widget-content.ui-datatable-odd > td {
    word-break: break-all;
    word-break: break-word;
  }
}
@media only screen and (min-width: 851px) and (max-width: 900px) and (max-height: 600px) and (min-aspect-ratio: 13 / 9) {
  .page_container {
    /*no IE on purporse*/
    grid-template-columns: 1fr;
    grid-template-areas: "head" "body";
    grid-template-rows: 40px 1fr;
    -ms-grid-rows: 40px 1fr;
  }

  #contenUnit_content {
    overflow-y: scroll;
  }

  a {
    -webkit-tap-highlight-color: transparent;
  }

  .main_table {
    font-size: 1em;
  }

  /************Reflow für den DataTable************/
  .main_table thead th,
  .main_table tfoot td,
  .externalManager thead th,
  .externalManager tfoot td,
  .logentryTable thead th,
  .logentryTable tfoot td {
    display: none;
  }

  .main_table .ui-datatable-data td,
  .externalManager td,
  .logentryTable td {
    display: grid;
    display: -ms-grid;
    grid-template-columns: 1fr 2fr;
    -ms-grid-columns: 1fr 2fr;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1/3;
    width: auto !important;
  }

  .main_table .ui-datatable-reflow .ui-datatable-data.ui-widget-content, .externalManager .ui-datatable-reflow .ui-datatable-data.ui-widget-content,
  .logentryTable .ui-datatable-reflow .ui-datatable-data.ui-widget-content {
    border: 0px none;
  }

  .main_table .ui-datatable-reflow tr.ui-widget-content {
    border-left: 0px none;
    border-right: 0px none;
  }

  #mergeForm .main_table td .ui-column-title,
  .externalManager td .ui-column-title,
  .logentryTable tbody td .ui-column-title {
    padding: .4em;
    min-width: 30%;
    display: inline-block !important;
    margin: -.4em 1em -.4em -.4em;
  }

  .main_table .ui-datatable-reflow .ui-datatable-data td .ui-column-title {
    display: none;
  }

  .patients_grid table td:not(.nextWorkflowColumn) .ui-column-title {
    display: none !important;
  }

  .patientTabs .patients_grid tbody td:not(:nth-last-child(2)) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1/3;
    grid-auto-rows: auto;
  }

  td.filter_column {
    display: none !important;
  }

  .patientTabs .patients_grid tbody tr {
    /*no IE on purporse*/
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
  }

  .patientTabs .patients_grid tbody td:nth-last-child(2) {
    grid-column: 3;
    grid-row: 1/5;
    -ms-grid-column: 3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 4;
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
    padding-left: 10px;
    line-height: 100%;
    vertical-align: bottom;
    text-align: right;
  }

  .nontextualcolumn {
    display: none !important;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) .filter_column {
    display: none !important;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: end;
    align-self: flex-end;
    padding-top: 3%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 28px;
    width: 28px;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) a i {
    margin: auto;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) span.ui-column-title {
    display: none !important;
  }

  .patientTabs .patients_grid tbody tr td:last-child {
    display: none;
  }

  .patientTabs .table_options_panel {
    display: none;
  }

  .patients_grid .ui-datatable td {
    border-bottom: 1px solid #F1F1F1  !important;
  }

  .patients_grid .table_options_panel {
    display: none;
  }

  .patients_grid .ui-column-unselectable:not(.nextWorkflowColumn) {
    display: none;
  }

  .nextWorkflowColumn .ui-column-title {
    display: inline-block !important;
  }

  .nextWorkflowColumn button {
    width: 50%;
  }

  .nextWorkflowColumn button .ui-button-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #topmenu table.currUser {
    width: auto;
  }

  .mobileRi {
    display: block;
    height: 25px;
    font-weight: 400;
    margin: auto;
    margin-left: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .patients_grid {
    grid-template-rows: auto 1fr auto;
    -ms-grid-rows: auto 1fr auto;
    height: calc(100% - 40px);
  }

  .reflowTitle {
    display: unset;
  }

  .leftRight {
    -ms-grid-columns: auto auto;
    grid-template-columns: auto auto;
    display: -ms-grid;
    display: grid;
    background-color: #FFFFFF ;
  }

  #topmenu, #menubar {
    height: 100%;
  }

  #topmenu td, #topmenu table, #topmenu tbody, #topmenu tr {
    display: inline-block;
    height: 100%;
  }

  #topmenu tr, #topmenu table, #topmenu tbody {
    width: 100%;
  }

  #topmenu td:last-child {
    width: 90%;
  }

  .showSideBar, .moveBack {
    bottom: 0px;
  }

  .rightMenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .rightMenu .ui-selectonemenu {
    width: 200px;
    height: 25px;
    margin-top: 5px;
  }

  .ui-toolbar-group-left, #topmenu .titlearea, #topmenu .titlearea tbody, #topmenu .titlearea tr, #topmenu .titlearea td {
    width: auto;
  }

  .ui-toolbar-group-left {
    -ms-grid-column: 1;
    grid-column: 1;
    text-align: left;
  }

  .page_title {
    width: 250px;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: unset;
  }

  .rightMenu .user_button {
    margin: 0px;
    top: 2px;
  }

  .topbar .fa-user-circle-o {
    transform: unset;
    top: 5px;
  }

  .backBttn .fa, .showSideBar .fa {
    font-size: 20px;
    color: #25384C ;
  }

  .showSideBar {
    top: unset;
  }

  #topmenu button {
    height: auto;
  }

  .currUser td {
    margin-top: 5px;
  }

  .menuGrid .currUser {
    height: auto !important;
  }

  .currentuser {
    margin-left: 0px;
    margin-right: 0px;
  }

  .patient_options {
    margin: unset;
  }

  .patients_grid tr:nth-child(odd) {
    background: #E2EAF0 ;
  }

  .activateColumn {
    width: 5%;
  }

  .topmenu, .menuGrid {
    height: 100%;
  }

  .page_container .menuGrid div {
    padding: unset;
  }

  .logo div {
    height: 50px;
  }

  .logo {
    display: none !important;
  }

  .ui-separator.vertical {
    height: 100%;
  }

  .menuGrid .ui-panelgrid {
    height: 50px;
  }

  #menu {
    display: none;
  }

  .ui-sidebar-left {
    background: #316582 ;
    overflow-y: auto;
  }

  .ui-icon-closethick {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .menubar li .fa {
    color: #EFF4F8;
    padding-right: 20px;
  }

  /************Paginator styles************/
  .ui-paginator a {
    height: unset;
  }

  /************MessageSent styles************/
  .trash {
    margin-top: 5%;
  }

  table .fa {
    margin-top: 1%;
  }

  .msgTabs .ui-datatable td {
    text-align: left !important;
  }

  .msgTabs .ui-datatable dt .ui-column-title {
    display: block !important;
  }

  .msgTabs .ui-datatable tr td:first-child {
    margin-top: 20px;
  }

  .fa.fa-trash {
    font-weight: 400;
    width: 10%;
  }

  .msgTabs .fa.fa-trash, .fa.fa-envelope-o, .fa.fa-envelope-open-o {
    font-size: 1.25em;
    font-weight: 400;
  }

  .msgTabs, .msgTabs div.ui-tabs-panels, .ui-tabs-panels .ui-tabs-panel.ui-widget-content.ui-corner-bottom, .msgTabs form {
    height: 100%;
  }

  .msgTabs .main_table {
    height: calc(100% - 60px);
    grid-template-columns: auto 1fr;
    -ms-grid-columns: auto 1fr;
    overflow: auto;
  }

  .msgTabs div.contentmargin {
    margin: 0px;
    line-height: 40px;
    background: #6FAFC7;
    color: #FFF ;
    text-align: center;
  }

  .msgTabs .inner_center {
    overflow: hidden;
  }

  .msgTabs .ui-datatable-selectable td:last-child .ui-column-title {
    display: none;
  }

  .msgTabs .ui-datatable td:not(:last-child) .ui-column-title {
    display: inline-block;
  }

  .msgTabs .fa.fa-envelope-o, .msgTabs .fa.fa-envelope-open-o {
    -ms-grid-column: 1;
    grid-column: 1;
  }

  /************NewMessage Styles************/
  .messageform table {
    margin-left: 0px;
  }

  .messageform table:nth-child(2) {
    table-layout: fixed;
    width: 100%;
  }

  .messageform textarea {
    width: 98%;
  }

  /************UserActivities stlyes************/
  .contentscroll .small_table, .small_table table {
    width: 100%;
  }

  /************AccessRights styles************/
  .accessRights {
    width: unset !important;
  }

  .accessRightTable tbody td {
    white-space: normal !important;
  }

  /************Useractivities styles************/
  #tab_view_log_evaluation .sessionTable {
    margin-left: 0px;
  }

  #tab_view_show_current_users .sessionTable {
    margin-left: 0px;
  }

  .externalManager input {
    width: 50%;
  }

  .selectPermission {
    width: 50%;
    padding: 0px;
  }

  .selectPermission label {
    padding: 0px;
  }

  .externalManager .ui-calendar input {
    padding: 0px;
  }

  .externalManager td:first-child .ui-column-title {
    display: none !important;
  }

  .externalManager td {
    grid-template-columns: 20% 50%;
    -ms-grid-columns: 20% 50%;
  }

  /************column setting styles************/
  .column_picklist {
    margin-left: 0px;
  }

  /************data Export************/
  .newSQLRequest input, .newSQLRequest textarea {
    width: 98%;
  }

  /************basedata************/
  .recordheader.patientData #recordheader_form\:headermodel_data > tr:first-of-type {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .recordheader.patientData #recordheader_form\:headermodel_data > tr:first-of-type td:first-child {
    -ms-grid-column: 1;
    grid-column: 1;
  }

  .recordheader.patientData #recordheader_form\:headermodel_data > tr:first-of-type td:nth-child(2) {
    -ms-grid-column: 2;
    grid-column: 2;
  }

  .recordheader.patientData #recordheader_form\:headermodel_data > tr:first-of-type td:nth-child(3) {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 2;
    grid-row: 2;
  }

  #record_tabs .optionsbar {
    padding-left: 5px;
  }

  /************hds configurations************/
  .releaseTable {
    margin-left: 0px;
  }

  /************patientrecord styles************/
  .forumEntries {
    margin-left: 0px;
  }

  .forumEntryTree {
    margin-left: 0px;
  }

  .forumEntries .ui-treenode-label.ui-corner-all {
    width: 95%;
  }

  .folderEntry {
    white-space: normal;
    word-break: break-all;
  }

  /************Log styles************/
  .logentryTable {
    margin-left: 0px !important;
  }

  .logentryTable.ui-datatable tr:nth-child(even) {
    background-color: #E2EAF0;
  }

  /************columnsettings************/
  .column_settings {
    overflow: scroll;
  }

  .desktopHeader {
    display: none;
  }

  .mobileHeader {
    display: block;
    margin-top: 5px;
    background-color: #6FAFC7;
  }

  .mobileHeader .patientData > div > table > tbody > tr:first-child {
    display: grid;
  }

  .mobileHeader .ui-datatable table {
    width: 100%;
  }

  .mobileHeader .ui-icon.ui-icon-triangle-1-e {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .mobileHeader .ui-icon.ui-icon-triangle-1-s {
    background-image: url(../images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-aristo);
  }

  .recordheader .ui-widget-content.ui-datatable-even > td, .recordheader .ui-widget-content.ui-datatable-odd > td {
    word-break: break-all;
    word-break: break-word;
  }
}
/************IE styles************/
@media only screen and (-ms-high-contrast: none) and (min-width: 641px) and (max-width: 900px) and (max-aspect-ratio: 13 / 9), (-ms-high-contrast: none) and (max-width: 640px) and (max-aspect-ratio: 13 / 9), (-ms-high-contrast: none) and (min-width: 851px) and (max-width: 900px) and (max-height: 900px) and (min-aspect-ratio: 13 / 9), (-ms-high-contrast: none) and (max-width: 850px) and (min-aspect-ratio: 13 / 9) {
  .table-reflow-desktop thead th,
  .table-reflow-desktop tfoot td {
    display: none;
  }

  .main_table .ui-datatable-data td {
    text-align: left;
    display: block;
    width: 100% !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    clear: left;
  }

  .table-reflow-desktop .ui-datatable-data.ui-widget-content {
    border: 0px none;
  }

  .table-reflow-desktop .ui-datatable-data tr.ui-widget-content {
    border-left: 0px none;
    border-right: 0px none;
  }

  .table-reflow-desktop .ui-datatable-data td .ui-column-title {
    padding: .4em;
    min-width: 250px;
    display: inline-block;
    margin: -.4em 1em -.4em -.4em;
  }

  .table-reflow-desktop .ui-datatable tr {
    display: table-row !important;
  }

  .patients_grid .main_table tr td:not(:nth-last-child(2)) a {
    width: 250px;
    display: inline-block;
  }

  .nextWorkflowColumn .ui-column-title {
    width: 250px;
  }

  .patientOptions a:not(:first-child) {
    padding-left: 20px;
  }

  .patientTabs .patients_grid td:nth-last-child(2) {
    text-align: left !important;
    width: 100% !important;
  }

  .patientTabs .patients_grid tbody tr td:nth-last-child(2) a {
    display: inline;
  }

  .showSideBar {
    top: 0px;
  }

  .ui-menu {
    widows: 12.5em;
  }

  .backBttn, .activateColumn {
    display: inline-block;
  }

  .rightMenu {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-column-align: end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .msgTabs .ui-datatable td:not(:first-child) .ui-column-title, .msgTabs .ui-datatable td:not(:last-child) {
    display: inline-block;
    min-width: 30%;
  }

  .fa.fa-envelope-o, .fa.fa-envelope-open-o, .msgTabs .fa-remove {
    float: left;
  }

  .record_toggler .ui-column-title {
    display: none !important;
  }

  #contentUnit_content {
    overflow: hidden !important;
  }
}
@media only screen and (-ms-high-contrast: none) and (max-width: 640px) and (max-aspect-ratio: 13 / 9) {
  .ui-selectonemenu.mandant {
    margin-top: 10px;
  }

  .subtable tr.data_group_row > td:nth-child(2) {
    -ms-grid-row: 2;
    grid-row: 2;
    display: block;
  }

  .subtable tr td:nth-child(1) {
    display: block;
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .subtable tr td:nth-child(2) {
    display: block;
    -ms-grid-row: 2;
    grid-row: 2;
  }

  .subtable tr td:nth-child(3) {
    display: block;
    -ms-grid-row: 3;
    grid-row: 3;
  }

  .subtable tr td:nth-child(4) {
    -ms-grid-row: 4;
    grid-row: 4;
    display: block;
  }

  .subtable tr td:nth-child(5) {
    display: block;
    -ms-grid-row: 5;
    grid-row: 5;
  }
}
@media only screen and (-ms-high-contrast: none) and (min-width: 641px) and (max-width: 900px) and (max-aspect-ratio: 13 / 9) {
  #topmenu td, #topmenu table, #topmenu tbody, #topmenu tr {
    display: inline-block;
    height: 100%;
  }

  .titlearea td {
    display: table-cell;
  }

  .menuGrid .ui-panelgrid {
    height: 25px;
  }

  .topbar .titlearea td, .page_title {
    width: 100%;
  }

  .page_title {
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0px;
  }

  .rightMenu .user_button {
    top: 2px;
    margin-right: 10px;
    margin-bottom: 9px;
  }

  .titlearea {
    table-layout: fixed;
    height: 25px;
  }

  .showSideBar, .moveBack {
    margin-top: 4px;
  }

  .topbar .rightMenu {
    height: 25px;
  }

  .rightMenu .fa {
    font-size: 20px;
  }
}
@media only screen and (-ms-high-contrast: none) and (max-width: 850px) and (min-aspect-ratio: 13 / 9) {
  .titlearea td {
    display: table-cell;
  }

  .titlearea {
    table-layout: fixed;
  }

  .menuGrid .ui-panelgrid {
    height: 25px;
  }
}
@media only screen and (-ms-high-contrast: none) and (min-width: 851px) and (max-width: 900px) and (max-height: 600px) and (min-aspect-ratio: 13 / 9) {
  #topmenu td, #topmenu table, #topmenu tbody, #topmenu tr {
    display: inline-block;
  }

  .titlearea td {
    display: table-cell;
  }

  .titlearea {
    table-layout: fixed;
    width: 100% !important;
  }

  .menuGrid .ui-panelgrid {
    height: 25px;
  }
}
@media only screen and (-ms-high-contrast: none) and (max-width: 640px) and (max-aspect-ratio: 13 / 9), (-ms-high-contrast: none) and (max-width: 850px) and (min-aspect-ratio: 13 / 9) {
  .nextWorkflowColumn button {
    margin-left: 0px;
  }
}
@media only screen and (-ms-high-contrast: none) and (max-width: 640px) and (max-aspect-ratio: 13 / 9) {
  .patientOptions {
    max-width: none !important;
  }

  .login_input .ui-selectonemenu {
    height: 45px;
  }

  .bottomLogoDiv {
    -ms-grid-columns: 1fr 90px 1fr;
    grid-template-columns: 1fr 90px 1fr;
  }
}
