html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  
}

.nav-link {
    color: #000;
}

.nav-link:hover {
    color: #fe4502;
}

.tooltip-inner {
    background: #fff;
    color: #000;
    border: 1px solid #aaa;
}

.tooltip-inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popover-header {
    margin: 0;
    padding: 0.5rem;
}

.popover-body {
    padding: 0.5rem;
    white-space: pre-line;
}

option.main-folder {
    background: #eee;
}

option.sub-folder {
    margin-left: 20px;
}



#main-wrapper {
    display: flex;
}

#menu {
    height: 100vh;
    flex: 0 0 320px;
    background: #fff;
    display: flex;
    box-shadow: 0 16px 38px -12px rgb(0 0 0 / 56%), 0 4px 25px 0 rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(0 0 0 / 20%);
    flex-direction: column;
    border-right: 1px solid #cecece;
    z-index: 2;
}

#logo {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    flex-direction: column;
    flex: 0 0 250px;
    padding: 20px 20px 35px;
    border-bottom: 1px solid #cecece;
    margin-bottom: 20px;
}

#menu .nav-link {
    padding-left: 25px;
}

#menu .nav-item.active {
    font-weight: bold;
}

#main {
    flex: 1 1 auto;
    background: #eee;
    padding: 1rem 2rem;
    z-index: 1;
    height: 100vh;
    overflow: auto;
}

#main-header {
    padding: 10px 0px;
    margin-bottom: 15px;
}

.page-title {
    font-size: 2rem;
    margin: 0;
}

.page-options {
    position: absolute;
    right: 0px;
    top: -62px;
}




/* Login */

#login-wrapper {
    width: 430px;
    margin: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#login {
    width: 100%;
}



/* Verfahren */

#verfahren-info {
    font-size: 1rem;
    width: 30vw;
}

#verfahren-info .verfahren-name {
    font-size: 1.2rem;
}

#verfahren-info span {
    font-weight: bold;
    padding-right: 10px;
    display: inline-block;
}

#verfahren-wrapper {
    position: relative;
}

#verfahren-log-wrapper {
    max-height: calc(100vh - 275px);
    overflow: auto;
}

#AccantumFiles, #AccantumFolders {
    background: #fff;
    padding: 5px 0px;
    max-height: 400px;
    overflow: auto;
}

#AccantumFiles .accantum-file {
    padding: 2px 10px;
    white-space: nowrap;
}

.accantum-file{
    white-space: nowrap;
}

.accantum-file .file-check{
    vertical-align: top;
}

.accantum-file .file-name{
    white-space: pre-wrap;
}

#AccantumFolders .accantum-folder {
    padding: 2px 10px;
    display: flex;
    flex-wrap: wrap;
    white-space: nowrap;
    padding-right: 0;
}

#AccantumFolders > .accantum-folder {
    padding-right: 10px;
}

.folderlist, .filelist {
    height: 400px;
    overflow: auto;
}

.accantum-folder .folder-name {
    flex: 1;
    padding: 0 5px;
    white-space: nowrap;
}

.accantum-folder.active > .folder-name, .accantum-folder.active > .folder-select {
    background-color: #eee;
    margin: 0;
}

.accantum-folder .folder-children {
    flex: 1 1 100%;
}

.accantum-folder .folder-children {
    margin-left: 11px;
}

.accantum-folder .form-check .form-check-input {
    float: none;
    margin-left: 0;
}


#verfahren-list .verfahren {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    background: #fff;
    line-height: 28px;
    padding: 0px 10px;
}

.card-option {
    position: absolute;
    right: 15px;
    top: 6px;
}


.nav-tabs .nav-link:disabled {
    color: #aaa;
}

#add-institution {
    position: absolute;
    right: 13px;
}

#institution-modal form, #institution-modal table{
    width: 100%;
}

.inst-name {
    width: 40%;
}

#institution-modal .inst-pflicht, #institution-modal .inst-person-anzahl {
    text-align: center;
}

.institution-name, .institution-ansprechpartner {
    flex: 1 1 0;
}

form#institution-list-form {
    max-height: 70vh;
    overflow: auto;
}

th.inst-select, td.inst-select {
    width: 40px;
}

th.inst-person, td.inst-person {
    width: 35%;
}

.institution-fileselect-info {
    width: 35%;
}

#institution-selected .list-group {
    max-height: calc(100vh - 300px);
    overflow: auto;
    min-height: 200px;
}

#institution-fileselect-wrapper {
    max-height: calc(100vh - 300px);
    overflow: auto;
    min-height: 200px;
}

#institution-request-table-wrapper {
    max-height: calc(100vh - 300px);
    overflow: auto;
    min-height: 200px;
}

#institution-files-file-list, #institution-files-inst-list {
    max-height: calc(100vh - 275px);
    min-height: 200px;
    overflow: auto;
}

.institution-request-info, .institution-end-info {
    width: 35%;
}

.institution-request-action {
    width: 300px;
    text-align: right;
}

.institution-end-action {
    width: 430px;
    text-align: right;
}

#institution-checklist {
    overflow: auto;
    max-height: 70vh;
}

#freiabe-message {
    white-space: pre-wrap;
}

#feedback-institution {
    background: #eee;
    padding: 10px;
    margin-bottom: 1.5rem;
}

#feedback-modal .feedback {
    cursor: pointer;
}

#feedback-modal .feedback.active {
    background: #eaeaea;
    color: #000;
    border-color: #bbb;
}

.institution-file {
    white-space: nowrap;
}

.institution-file .form-check-label {
    white-space: normal;
}

#create-certificat-afile-list, #create-certificat-file-list {
    max-height: 300px;
    overflow: auto;
}

#create-end-file-list {
    list-style: none;
}


/* Institutionen */
#institutionen-wrapper {
    position: relative;
}

.institution {
}

.institution .institution-option {
    text-align: right;
}

/* Global  helpers*/

#message-box {
    position: fixed;
    right: 20px;
    top: 5px;
    z-index: 9999;
    width: 500px;
    max-width: 100%;
}

.message {
    width: 100%;
    transition: all 0.7s ease 0s;
    opacity: 1;
    transform: translateX(0px);
    margin-bottom: 0.5rem;
}

.message.hide {
    transition: all 0.7s ease 0s;
    opacity: 0;
    transform: translateX(30px);
}

.message .card-header {
    font-size: 1rem;
}

.message .card-body {
    padding-top: 8px;
    padding-bottom: 8px;
}

.message-close {
    right: 5px;
    position: absolute;
    top: 5px;
    z-index: 2;
    color: #fff;
}