﻿/* Move down content because we have a fixed navbar that is 50px tall */
html {
    font-family: "Segoe UI",Segoe,Tahoma,Helvetica,Arial,Sans-Serif,SegoeUI-Regular-final;
    height: 100%;
}

a {
    opacity: 0.75;
}

    a:hover {
        opacity: 1;
    }

.repository-file-dropzone {
    border-radius: 0.25rem;
    border-style: dashed;
    border-width: 1px;
    border-color: #007bff;
    position: absolute;
    background-color: #fff;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    text-align: center;
}

.repository-file-mask {
    border-radius: 0.25rem;
    border-style: dashed;
    border-width: 1px;
    border-color: #007bff;
    position: absolute;
    background-color: #fff;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    text-align: center;
}

#sidebar a, .header a {
    opacity: 1;
}

body, .btn, .form-control {
    font-size: 0.85rem;
}

.btn-sm, .form-control-sm {
    font-size: 0.75rem;
}

body {
    padding-top: 44px;
    background-color: #f1f1f1;
    height: 100%;
}

    body.login-form {
        margin: auto;
        width: 600px;
    }

        body.login-form .content {
            margin: 0px;
            padding: 20px;
        }

.breadcrumb {
    padding: 0.75rem 1.25rem 0rem 0.25rem;
}

div.header {
    line-height: 1;
    font-weight: 100;
    overflow: auto;
    display: flex;
    font-size: 20px;
    background: #000;
    color: #fff;
    height: 44px;
}

    div.header a {
        text-decoration: none;
        color: #fff;
    }

div.header-links {
    line-height: 1.5;
    display: table;
    padding: 5px 0px;
    height: 100%;
}

a.header-link {
    display: table-cell;
    vertical-align: middle;
    padding: 0px 20px;
    border-right: solid 1px #666666;
}

div.header a.header-link:last-child {
    border-right: none;
}

a.header-home {
    font-size: 28px;
    padding-top: 6px;
    width: 50px;
    text-align: center;
    background: #a80000;
}

    a.header-home:hover {
        background: #e81123;
    }

div.header-actions {
    display: table;
    height: 100%;
    margin-left: 10px;
}

div.header-action {
    font-size: 24px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    border-right: solid 1px #666666;
    height: 100%;
    width: 50px;
    cursor: pointer;
    position: relative;
}

    div.header-action:hover, div.header-user:hover {
        background-color: #666666;
    }

    div.header-action.active, div.header-user.active {
        background: #fff;
        color: #000;
    }

    div.header-action .avatar {
        background: #a80000;
        border-radius: 50%;
        display: table;
        width: 20px;
        margin: 0 auto;
        font-size: 10px;
        position: absolute;
        top: 4px;
        right: 4px;
    }

        div.header-action .avatar span {
            display: table-cell;
            vertical-align: middle;
            height: 20px;
            width: 20px;
            text-align: center;
            color: #fff;
        }

        div.header-action .avatar.hidden {
            display: none;
        }

div.header-user {
    height: 100%;
    cursor: pointer;
    display: table-cell;
    font-size: 18px;
    width: auto;
    padding: 4px 5px 4px 20px;
}

    div.header-user span {
        margin-top: 4px;
        display: block;
        font-size: 12px;
    }

div.header-initials {
    margin-left: 10px;
    font-size: 20px;
    float: right;
    line-height: 35px;
    height: 35px;
    width: 35px;
    text-align: center;
    border-radius: 50%;
    background: #a80000;
    color: #fff;
}

.header-search {
    display: flex;
    flex: 1;
    line-height: 1;
    margin-left: auto;
    position: relative;
    font-size: small;
    padding: 8px;
    max-width: 600px;
}

div.header .header-search .fa-search {
    float: left;
    background: #3c3c3c;
    padding: 6px;
    font-size: 28px;
}

#headerSearch {
    flex: 1;
    margin: 0;
    border: none;
    padding: 4px 4px 4px 4px;
    color: #fff;
    background-color: #3c3c3c;
}

.header-search input:focus {
    outline: none;
}

#headerSearch.search-empty {
    font-style: italic;
}

.autocomplete-suggestions {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #999;
    background: #FFF;
    cursor: default;
    overflow: auto;
    -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
    -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
    box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-no-suggestion {
    font-size: small;
    padding: 2px 5px;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: bold;
    color: #000;
}

.autocomplete-group {
    padding: 2px 5px;
    font-size: 16px;
    font-weight: bold;
    color: #004578;
    display: block;
    border-bottom: 1px solid #808080;
}

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.table-hover tbody tr, .clickable-row, .editable-row, .selectable-row {
    cursor: pointer;
}

.hidden {
    display: none;
}

/*.form-control {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-size: 0.9rem;
}*/

.card-header {
    padding: 0.75rem;
}

.card-body.details {
    font-size: small;
    padding: 10px 20px 0px 20px;
}

    .card-body.details .row div {
        margin-bottom: 5px;
    }

.card {
    margin-bottom: 20px;
}

.card-warning {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
    color: #F0F0F0;
}

    .card-warning:hover {
        border-color: #f07c4e;
    }

    .card-warning a {
        color: #fff;
    }

h1 {
    margin-bottom: 20px;
    padding-bottom: 9px;
    border-bottom: 1px solid #eee;
}

h2 {
    margin-top: 20px;
    font-size: 1.5em;
}

h3 {
    margin-top: 20px;
    font-size: 1.2em;
}

.col-form-label {
    color: GrayText;
}

.navbar {
    color: #fff;
}

.sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    border-right: 1px solid #eee;
}

.placeholders {
    padding-bottom: 3rem;
}

.placeholder img {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#sidebar {
    width: inherit;
    min-width: 220px;
    max-width: 220px;
    float: left;
    height: 100%;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #3c3c3c;
    bottom: 0;
}

    #sidebar .list-group-item:first-child {
        border-radius: unset;
    }


#main {
    height: 100%;
    overflow: auto;
    padding: 0px 15px;
}

.breadcrumb {
    background-color: transparent;
}

body.login-form, body.login-form .header {
    margin: auto;
    width: 600px;
    margin-top: 5%;
}

    body.login-form .content {
        margin: 0px;
        padding: 20px;
    }

#sidebar .card {
    margin-bottom: 0px;
}


#sidebar .card, #sidebar .card-header {
    background-color: transparent;
    border: none;
    padding: 0px;
}

    #sidebar .card a.collapsed, a.nav-action {
        background-color: #212121;
    }

    #sidebar .card-header a {
        background-color: #666666;
    }

        #sidebar .card-header a, #sidebar .card-header a:hover, a.nav-action, a.nav-action:hover {
            display: block;
            padding: 10px;
            color: #ffffff;
            text-decoration: none;
        }

            #sidebar .card-header a:hover, a.nav-action:hover {
                background-color: #666666;
            }

#sidebar .card-block {
    background-color: #333333;
    padding: 0px;
}

    #sidebar .card-block .list-group-item {
        background-color: transparent;
        border: none;
        font-size: 14px;
        display: block;
        padding: 10px 10px 10px 40px;
        color: #fFffff;
        text-decoration: none;
    }

        #sidebar .card-block .list-group-item:hover {
            background-color: #666666;
        }

    #sidebar .card-block .list-group-item-active {
        background: #a80000;
    }

#sidebar .card-separator {
    border-top: solid 1px #666666;
}

#sidebar .list-group {
    margin: 0px;
}

form-control input, form-control-plaintext {
    font-size: 10px;
}

.form-control-plaintext {
    color: #495057;
    font-size: 0.9rem;
}

.content {
    margin: 0px 35px;
    padding: 20px;
    background-color: #fff;
}

.modal-dialog {
    position: fixed;
    margin: auto;
    width: 800px;
    max-width: 800px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal-content {
    height: 100%;
    border-radius: 0;
    border: none;
}

.modal-body {
    height: 100%;
    overflow-y: auto;
    padding-top: unset;
}

.modal.fade .modal-dialog {
    right: 0;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal-header {
    border: solid 1px #fff;
    background-color: #3c3c3c;
    color: #f8f8f8;
    font-weight: 100;
    padding: 15px 0 0 110px;
    border-bottom: #fff solid 20px;
    height: 110px;
}

    .modal-header p {
        font-size: 1.2em;
    }

    .modal-header span {
        display: block;
        font-size: 0.8em;
    }

    .modal-header a {
        margin-right: 30px;
        color: #c8c8c8;
        font-size: 1.2em;
    }

        .modal-header a:hover {
            color: #fff;
        }

/*td.icon, th.icon {
    width: 60px;
}*/

.item-list .avatar {
    background: #666666;
    border-radius: 50%;
    display: table;
    width: 24px;
    margin: 0 auto;
    font-size: 0.8rem;
}

    .item-list .avatar span {
        display: table-cell;
        vertical-align: middle;
        height: 24px;
        width: 24px;
        text-align: center;
        color: #f8f8f8;
    }

.modal-header .avatar {
    position: fixed;
    right: 710px;
    top: 20px;
    background: #666666;
    border-radius: 50%;
    display: table;
    font-weight: bold;
    width: auto;
    margin: 0 auto;
    border: solid 1px #fff;
}

    .modal-header .avatar span {
        display: table-cell;
        vertical-align: middle;
        height: 75px;
        width: 75px;
        text-align: center;
        padding: 0 15px;
        font-weight: 100;
        font-size: 1.2em;
    }

label, label.form-check-label, .field-validation-error {
    color: #666666;
    font-size: 0.8rem;
}

.btn-action {
    cursor: pointer;
    display: inline-block;
    color: #fff;
    width: 120px;
    margin-right: 20px;
    font-weight: 100;
    font-size: 0.9rem;
    padding: 4px;
    text-align: center;
    background: #106ebe;
    border: solid 1px #106ebe;
}

    .btn-action:hover {
        border: solid 1px #000;
    }

.btn-modal-save, button.btn-modal, .btn-modal {
    cursor: pointer;
    display: block;
    float: left;
    width: 120px;
    margin-right: 20px;
    font-size: 0.9rem;
    padding: 4px;
    text-align: center;
    border: solid 1px #106ebe;
}

.btn-modal-save {
    cursor: pointer;
    color: #fff;
    background: #106ebe;
    border: solid 1px #106ebe;
    font-weight: 100;
}

    .btn-modal-save:hover {
        border: solid 1px #000;
        color: #fff;
        text-decoration: none;
    }

button.btn-modal, a.btn-modal {
    color: #106ebe;
    background: #fff;
}

    button.btn-modal:hover, a.btn-modal:hover {
        border: solid 1px #000;
        color: #fff;
        background: #106ebe;
        text-decoration: none;
    }

.btn-modal-save:disabled {
    cursor: default;
    background: #666666;
    border: solid 1px #666666;
}

    .btn-modal-save:disabled:hover {
        background: #666666;
        border: solid 1px #666666;
    }

.delete-item-modal .modal-header {
    background-color: #d9534f;
}

    .delete-item-modal .modal-header .avatar {
        background-color: #a80000;
    }

.delete-item-modal .btn-modal-save {
    background-color: #d9534f;
    border-color: #d9534f;
}

    .delete-item-modal .btn-modal-save:hover {
        border: solid 1px #000;
    }


.field-validation-error {
    color: #a94442;
}

label.form-group {
    color: #106ebe;
    font-size: 1rem;
}

.form-check-label {
    font-size: 1rem;
}

.text-success {
    color: #107c10;
}

button.action-progress, button.action-complete, button.action-failure {
    cursor: default;
    color: #fff;
}

    button.action-progress, button.action-progress:hover {
        background-color: #f0ad4e;
        border-color: #f0ad4e;
    }

    button.action-complete, button.action-complete:hover {
        background-color: #5cb85c;
        border-color: #5cb85c;
    }

    button.action-failure, button.action-failure:hover {
        background-color: #d9534f;
        border-color: #d9534f;
    }

.card table {
    margin: 0px;
    font-size: small;
}

.card th{
    border-top: none;
}

.card-body table tbody tr:first-child td {
    border-top: none;
}

.card tr td:first-child, .card tr th:first-child {
    padding-left: 15px;
}

.card tr td:last-child, .card tr th:last-child {
    padding-right: 15px;
}

.card tr td.icon {
    width: 25px;
    padding-right: 0px;
}

.card tr td:first-child .icon {
    padding-left: 10px;
}


div.action-placeholder {
    background: #fff;
    margin-right: -15px;
    height: 100%;
    padding: 10px 20px !important;
}

    div.action-placeholder h2 {
        font-weight: normal;
    }

div.action-pannel-close {
    float: right;
    padding: 1px 4px 0px 4px;
    cursor: pointer;
    border: solid 1px transparent;
}

    div.action-pannel-close:hover {
        color: #1b1e21;
        background-color: #d6d8d9;
        border-color: #c6c8ca;
    }

.action-panel {
    padding-top: 5px;
    border-top: solid 1px #cccccc;
}

#actionPannelLoading, #ModalPopupLoading {
    width: 10%;
    height: 1px;
    background-color: #a80000;
    position: relative;
    -webkit-animation: mymove 2s infinite; /* Safari 4.0 - 8.0 */
    animation: mymove 2s infinite;
    animation-direction: alternate;
}

/* Safari 4.0 - 8.0 */
#actionPannelLoading {
    -webkit-animation-timing-function: linear;
}

/* Standard syntax */
#actionPannelLoading {
    animation-timing-function: linear;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes mymove {
    from {
        left: 0px;
    }

    to {
        left: 90%;
    }
}

/* Standard syntax */
@keyframes mymove {
    from {
        left: 0px;
    }

    to {
        left: 90%;
    }
}

.card-body label {
    margin-bottom: 0;
    color: #818182;
}

#sidebar .card-header svg:first-child, #sidebar a.nav-action svg {
    margin-right: 10px;
}

.action {
    color: #007bff;
    cursor: pointer;
    opacity: 0.75;
}

.card-header .action {
    margin-top: 2px;
    float: right;
}

    .card-header .action.fa-plus {
        font-size: 1.25em;
    }

    .card-header .action.fa-edit {
        font-size: 1.1em;
    }

.action:hover {
    opacity: 1;
    color: #0056b3;
}

i.delete-action, i.delete-action i.action {
    color: #1b1e21;
}

    i.delete-action:hover, i.delete-action i.action:hover {
        color: darkred;
    }

#navAccordion svg.fa-angle-down, #navAccordion svg.fa-angle-up {
    font-size: 1.75em;
    float: right;
}

.btn-fixed {
    font-size: 14px;
    width: 120px;
}

.btn {
    cursor: pointer;
}

.btn-action-group {
    width: 100%;
}

    .btn-action-group .btn {
        cursor: pointer;
        margin-top: 20px;
    }

        .btn-action-group .btn i {
            margin-top: 2px;
            margin-right: 10px;
        }

        .btn-action-group .btn:first-child {
            margin-top: 0px;
        }

        .btn-action-group .btn:last-child {
            margin-bottom: 20px;
        }

.table-sm {
    font-size: small;
}

.card-body.details.row {
    padding: 0.5rem 1rem 0 1rem;
    font-size: small;
}

.card-body.details label, .card-body.details div {
    margin-bottom: 0.5rem;
}

.scroll-y {
    max-height: 30vh;
    overflow: auto;
    overflow-x: hidden;
}

td.datafield-icon, td.datafield-save, td.datafield-selector {
    width: 20px;
}

td.datafield-alternate input.form-control {
    font-size: small;
    padding: 1px;
}

.datafield-value span:hover {
    text-decoration: underline;
    cursor: pointer;
}

.datafield-value span.disabled:hover {
    text-decoration: none;
    cursor: default;
}

table.nowrap th.message {
    width: 40%;
}

table.nowrap th.count, table.nowrap td.count {
    width: 10%;
}

table.nowrap th.icon, table.nowrap td.icon {
    width: 32px;
}


table.nowrap {
    table-layout: fixed;
}

    table.nowrap td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

input[type=file] {
    font-size: 0.9rem;
}

.hidden-text {
    color: transparent;
    background: #dddddd;
}

.img-edit {
    cursor: pointer;
}

.img-thumbnail {
    font-size: small;
}

div.dragging-over * {
    pointer-events: none;
}

.dragging-over {
    /* -moz-, -o-, -webkit- prefixes omitted for brevity */
    transition: border-width 0.1s ease-in-out;
    border-top: 10px solid #f0f0f0;
}

#PasswordStrength {
    height: 5px;
    border-radius: 0px;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.card-body.details div {
    margin-bottom: unset;
}

.card-body {
    font-size: 0.8rem;
}

.card-header.nav-tabs {
    padding-top: 8px;
    padding-bottom: 0px;
}

.dropdown-item {
    cursor: pointer;
}

.row.font-awesome .icon-key {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row.font-awesome .card {
    opacity: 0.9;
}

    .row.font-awesome .card:hover {
        opacity: 1;
        cursor: pointer;
    }

.nav-item svg {
    margin-right: 0.5rem;
}

.fa-2x .fa-layers-counter {
    font-size: 1.5em;
}

.maxh-300 {
    max-height: 300px;
    overflow-y: auto;
}

.maxh-600 {
    max-height: 600px;
    overflow-y: auto;
}

.mce-container {
    max-height: calc(100vh - 100px);
}

tr.striped-odd {
    background-color: rgba(0, 0, 0, 0.05);
}

a.dropdown-item {
    opacity: 1;
}

.dropdown-item {
    font-size: 80%;
}

    .dropdown-item.disabled, .dropdown-header {
        cursor: default;
    }

/*Repositories*/

.folder .fa-folder, .repository-folder .fa-folder-open {
    color: #ecc849;
}

.folder .text-muted .fa-folder, .folder .text-muted .fa-folder-open {
    color: unset;
}

.repository-file-thumbnail .repository-file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card.repository-file-thumbnail .card-body {
    height: 260px;
}

.card.repository-file-thumbnail .card-body, .card.repository-file-thumbnail .card-img-top {
    overflow: hidden;
}

.repository-file-thumbnail a:hover {
    text-decoration: none;
}


.ui-datepicker {
    z-index: 9999 !important;
}

.table-hover tbody tr.no-hover:hover {
    background-color: unset;
    cursor: unset;
}

td.delete-icon, th.delete-icon {
    width: 24px;
}

code {
    font-size: 1em;
}

pre {
    margin-bottom: unset;
}

.form-control:focus {
    box-shadow: unset;
}

.btn:focus {
    box-shadow: unset;
}

.input-group-text {
    font-size: unset;
}

.btn:disabled {
    cursor: unset;
}

.btn .fa-layers-counter {
    color: #fff;
    background-color: transparent;
    border: solid 1px #fff;
    font-size: 3.25em;
    line-height: 1em;
    min-width: 2em;
    height: 2em;
}

span.counter {
    background-color: tomato;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    line-height: 1.6em;
    text-align: center;
    width: 1.6em;
}

.spinner {
    width: 100px;
}

    .spinner input {
        text-align: right;
    }

.input-group-btn-vertical {
    position: relative;
    white-space: nowrap;
    width: 1%;
    vertical-align: middle;
    display: table-cell;
}

    .input-group-btn-vertical > .btn {
        display: block;
        float: none;
        width: 100%;
        max-width: 100%;
        padding: 8px;
        margin-left: -1px;
        position: relative;
        border-radius: 0;
    }

        .input-group-btn-vertical > .btn:first-child {
            border-top-right-radius: 4px;
        }

        .input-group-btn-vertical > .btn:last-child {
            margin-top: -2px;
            border-bottom-right-radius: 4px;
        }

    .input-group-btn-vertical i {
        position: absolute;
        top: 0;
        left: 4px;
    }

.grab {
    color: unset;
    width: 10px;
    cursor: grab;
}

.grabbed {
    box-shadow: 0 0 13px #000;
}

.grabCursor, .grabCursor * {
    cursor: grabbing !important;
}

.table.table-ellipsis tbody td {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.tox-tinymce {
    width: 100%;
}

.disabled {
    cursor: default;
}

.btn.disabled {
    background-color: #bbb;
}

.btn.disabled {
    border-color: #808080;
}

.table-sort [data-sort] {
    cursor: pointer;
}
    /* This is for the sort up and down icon */
    .table-sort [data-sort]::after {
        margin-left: .25rem;
        content: url('data:image/svg+xml;utf8,<svg width=\'6\' height=\'10\' viewBox=\'0 0 6 10\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'><path fill-rule=\'evenodd\' clip-rule=\'evenodd\' d=\'M3 0L6 4H0L3 0ZM3 10L0 6H6L3 10Z\' fill=\'%238898aa\'/></svg>');
    }

input:-moz-disabled {
    color: transparent;
}

input:disabled {
    color: transparent;
}
