@import url(https://fonts.googleapis.com/css?family=Roboto);
@import url(https://fonts.googleapis.com/css?family=Poppins);

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

#logo-item {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Poppins';
    margin: 10px;
}

@media screen and (min-width: 769px) {
    body {
        margin: 20px;
        margin-left: 25px
    }
}

@media screen and (max-width: 768px) {
    body {
        margin: 10px;
    }
}

#core {
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 40px;
}

@media screen and (min-width: 769px) {
    #content {
        margin-left: 20px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    #content {
        margin-left: 0px;
        margin-right: -10px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .field.is-grouped {
        flex-direction: column;
    }
    .field.is-grouped .control {
        margin-bottom: 5px !important;
    }
}


.input {
  max-width: 400px;
}

.box {
  max-width: 600px;
}

.naked-table {
    background-color: unset;
}

.naked-table tbody tr td {
  padding-left: 0;
  padding-bottom: 0;
  padding-top: 0;
  border: none;
}

.no-addon {
  margin-left: 10px;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.no-addon button {
  border-bottom-left-radius: inherit;
  border-top-left-radius: inherit;
}

.progress {
    border-radius: 5px;
}

@media screen and (min-width: 1350px) {
    .case-file-upload-date-right-side {
        display: table-cell;
    }
}

@media screen and (max-width: 1349px) {
    .case-file-upload-date-right-side {
        display: none;
    }
}

.custom-editor {
    border: solid 1px #dbdbdb;
    border-radius: 5px;
    padding: 10px;
    height: fit-content;
    min-height: 250px;
    overflow-y: auto;
}

.custom-editor:hover {
    border-color: #b5b5b5;
}


.custom-editor img {
    border: 1px solid #dbdbdb;
    border-radius: 2px;
    padding: 5px;
}

.card-content .content img {
    border: 1px solid #dbdbdb;
    border-radius: 2px;
    padding: 5px;

    max-width: 96%;
}

tr {
    max-height: 20px;
}

td {
    max-height: 20px;
    max-width: 400px;
    overflow: hidden;
}

.table.is-striped tbody tr:not(.is-selected):nth-child(2n) {
    background-color: #f9f9f9;
}

.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover {
    background-color: #f6f6f6;
}

.clickable-row:hover {
    cursor: pointer;
}

#uploading-animation {
    display: block;
}

#uploading-animation #text {
    font-size: .75em;
}

#uploading-animation progress {
    margin: auto;
    width: 100px;
}

.table-container {
    margin: 10px;
    margin-top: 30px;
}

abbr {
    text-decoration-thickness: from-font;
    white-space: nowrap;
}

@media screen and (min-width: 1350px) {
    span#new-folder-label:before {
        content: "Neuer Ordner";
    }
    span#rename-folder-label:before {
        content: "Ordner umbenennen";
    }
    span#upload-file-label:before {
        content: "Datei hochladen";
    }
    span.file-button-label {
        display: inherit;
    }
}

@media screen and (max-width: 1349px) and (min-width: 769px) {
    span#new-folder-label:before {
        content: "Neu";
    }
    span#rename-folder-label:before {
        content: "Umbenennen";
    }
    span#upload-file-label:before {
        content: "Hochladen";
    }
    span.file-button-label {
        display: inherit;
    }
}

@media screen and (max-width: 768px) {
    span#new-folder-label:before {
        content: "Neuer Ordner";
    }
    span#rename-folder-label:before {
        content: "Umbenennen";
    }
    span#upload-file-label:before {
        content: "Hochladen";
    }
    span.file-button-label {
        display: inherit;
    }
}

.table-container .table tbody tr td.calendar-cell-td {
    text-align: center; 
    border-right-width: 1px; 
    border-right-color: #00000010;
    padding: 0;
}

.table-container .table tbody tr td div.calendar-cell {
    height: 45px;
    padding: 0;
}

.table-container .table tbody tr td div.calendar-cell:hover {
    cursor: pointer;
    background-color: #eee;
}

.calendar-entry {
    background-color: #98b9cf;
    border-radius: 3px;
    padding: 6px; 
    margin: 2px;
    line-height: 10px;
    font-size: 15px;
    white-space: nowrap;
}

@media screen and (min-width: 769px) {
    .navbar-burger {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .navbar-burger {
        display: block;
    }
}

@media screen and (min-width: 769px) {
    .menu {
        display: block !important;
    }
}

@media screen and (min-width: 769px) {
    .folder-section {
        padding: 3rem 3rem 3rem 0rem;
    }
}

@media screen and (max-width: 768px) {
    .folder-section {
        padding: 0rem 2rem 3rem 2rem;
    }
}

@media screen and (min-width: 1770px) {
    .case-file-right-side-buttons {
        display: table-cell;
    }

    .case-file-left-side-buttons {
        display: none;
    }
}

@media screen and (max-width: 1769px) {
    .case-file-left-side-buttons {
        display: table-cell;
        padding-left: 25px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

@media screen and (min-width: 440px) {
    .service-unit-worker-label {
        position: absolute; 
        left: 160px;
    }
}

@media screen and (max-width: 439px) {
    .service-unit-worker-label {
        position: relative; 
    }
}

@media screen and (min-width: 440px) {
    .service-unit-title {
        position: absolute; 
        left: 320px;

        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        width: calc(100% - 380px);
    }
}

@media screen and (max-width: 439px) {
    .service-unit-title {
        position: relative; 
    }
}

#service-unit-documentation-content {
    background-color: #f7f7f7; 
    padding: 5px;
    margin-top: 5px;
}

.archive-mode-bar {
    background: #ffe961;
    padding: 8px 15px;
    margin-right: 40px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.add-button {
    margin-right: 0px !important;
}

.diff-remove-line {
    background: #ff8888;
    border-radius: 2px;
    padding: 2px;
    margin: 2px;
}

.diff-remove-line b {
    font-family: monospace;
    margin: 5px;
}

.diff-add-line {
    background: #8adc91;
    border-radius: 2px;
    padding: 2px;
    margin: 2px;
}

.diff-add-line b {
    font-family: monospace;
    margin: 5px;
}

.hoverable-modal-card {
    cursor: zoom-in;
}

.todo-list {

}

.todo-entry .checkbox {
    padding: 10px;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #fff;
}

.todo-entry .checkbox input {
    margin-right: 8px;
}

.todo-entry .checkbox:hover  {
    background-color: #f5f5f5;
    cursor: pointer;
}

.loading-spinner {
    scale: 2;
    opacity: 0.8;
    animation: spin 1s linear infinite;
    position: relative;
    top: 40%;
    left: 45%;
}


@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

#total-hours-display {
    margin: 10px; 
    margin-top: 35px;

    display: flex;
    align-items: center;
}

#total-hours-display b {
    margin-left: 5px;
    margin-right: 5px;
}

.contract-card {
    max-width: 1200px;
}

.contract-card-template {
    display: none;
}

.section {
    background-color: #f9f9f9;
    border-radius: 5px;
}

#directory-buttons {
    background-color: #eee;
    padding: 7px 10px 7px 15px;
    border-radius: 5px;
}

.panel-block {
    border-radius: 5px;
}
.panel-block.is-active {
    background-color: #eee !important;
}

#file-list {
    background-color: unset;
}

.file-cta {
    background-color: #fff;
}

.file-label:hover .file-cta {
    background-color: #485fc7;
    color: #fff;
}

.pagination a {
    background-color: #fff;
}

.control input[type=date] {
    width: auto;
}