﻿.primary {
    background-color: rgba(0, 160, 255, 0.8) !important;
    color: #fff;
}

.success {
    background-color: rgba(0, 160, 0, 0.8) !important;
}

.warning {
    background-color: rgba(255, 160, 0, 0.8) !important;
    color: #111 !important;
}

.danger {
    background-color: rgba(255, 0, 0, 0.8) !important;
}

.info {
    background-color: rgba(0, 160, 160, 0.8) !important;
    color: #111 !important;
}

.dark {
    background-color: rgba(0, 0, 0, 0.8) !important;
    color: #999;
}

.btn.dark:hover {
    color: #eee;
}

.btn {
}

.hust {
    background-color: #9c100f !important;
    color: #ddd;
}
.btn.hust:hover {
    color: #fff;
}

.card {
    border: 1px solid #ddd;
}

.card, .modal-dialog {
    background-color: #fff;
    border-radius: 3px;
}

.card-header {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.card-header,
.card-body,
.card-footer {
    margin: 0;
    padding: 0.5em;
}

.card-header {
    color: #fff;
}

.card-body {
}

.card-footer {
    background-color: #eee;
    border-top: 1px solid #ddd;
}

    .card-footer > .btn {
        font-size: 0.85em;
        padding: 0.5em 0.75em;
        border-radius: 0;
        color: #fff !important;
        opacity: .85;
        transition: .3s all;
        min-width: 80px;
    }

        .card-footer > .btn:not(:first-child) {
            margin-left: 8px;
        }
        .card-footer > .btn:hover {
            opacity: 1;
        }

.fade.show {
    opacity: 1;
}

.modal-dialog .card-body {
    min-height: 10em;
}
.modal-dialog .card-footer {
    text-align: right;
}

.toast-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

.toast {
    font-size: .8em;
    border-radius: .25em;
    color: #fff;
    cursor: pointer;
    padding: 1em;
    margin-bottom: .25em;
    box-shadow: 0 .125em .25em rgba(128, 128, 128, .8);
}

.toast-header {
    font-weight: 600;
}

form {
    margin-top: 2em;
}

@media (min-width:768px) {
    .toast-content {
        width: 25%;
    }

    #main-form,
    .form-center {
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

input, select, textarea {
    max-width: 100%;
}

.form-comment,
.form-group label,
.form-group .fa {
    font-weight: 400;
    color: #99c;
}
.form-comment {
    font-size: 85%;
    display: block;
}

.form-group .fa {
    float: right;
    padding: 8px;
    margin-right: 4px;
    margin-top: -30px;
    cursor: pointer;
    width: 28px;
    height: 28px;
}

.form-group .fa:hover {
    background-color: #eee;
    clip-path: circle(50%);
}

.form-group.required label:first-child::after {
    content: ' *';
    color: #f00;
}

.form-group[class*=col-] {
}

.form-group.check-box {
    line-height: 20px;
}

.form-group.missing .form-control {
    border-color: rgba(196, 0, 0, .8);
}

    .form-group.missing .form-control:focus {
        box-shadow: 0 0 2px 1px rgba(196, 0, 0, .5);
    }

.check-box span {
    cursor: pointer;
    vertical-align: top;
    margin-left: 8px;
}

.form-options.form-control {
    padding-top: 10px;
    height: fit-content;
}

.check-box svg:focus {
    outline: 1px solid rgba(0, 140, 253, .8);
    box-shadow: 0 0 3px 1px rgba(0, 140, 253, .5);
}
.form section.row {
    margin: 0px;
}
.form section.row > h5 {
    padding: 5px 15px;
/*    font-weight: 600;
    background-color: #99c;
    color: #fff;*/
}
.form .card-footer {
    text-align: center;
}

.modal-dialog .form {
    margin: 0 !important;
    max-width: 100% !important;
}

.form .btn:focus {
    outline: unset !important;
}

.richtext-box .form-control {
    min-height: 10em;
    overflow-x: hidden;
    overflow-y: auto;
}

table.paste-result {
    font-size: 0.8em !important;
}
table.paste-result th,
table.paste-result td {
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/***************** TABS and TOOLBAR **************************/
.tabs {
    position: relative;
}

.tabs > ul > li.hide {
    display: none !important;
}

.tabs > ul > li.active {
    display: initial !important;
}

.tabs .menu .fa-bars {
    font-size: 1.4em;
}

.tabs-menu {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

    .tabs-menu:hover {
        background-color: whitesmoke;
    }

    .tabs-menu > h5 {
        font-weight: 400;
        font-size: 1.4em;
        color: rgb(0, 140, 253);
    }


@media (max-width:767px) {
    .tabs > ul > li:not(:first-child) {
        display: none;
    }
}

.tabs-content {
    padding: 10px;
    border: 1px solid #ddd;
    border-top: none;
    min-height: 20rem;
    background-color: #fff;
}

.tabs-caption {
    border-bottom: 1px solid #ddd;
}

.toolbar {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1em;
}
    .toolbar > ul {
        display: inline;
        padding: 0;
    }
    .toolbar > ul:not(:first-child) {
        margin-left: 15px;
    }

    .toolbar > ul > li {
        display: inline;
        color: #999;
        text-align: center;
        position: relative;
        cursor: pointer;
        transition: all 0.5s;
    }

        .toolbar > ul > li > .toolbar-item {
            width: 2em;
            height: 2em;
            padding-top: 0.5em;
            clip-path: circle(50%);
        }
        .toolbar > ul > li:hover > .toolbar-item {
            background-color: rgba(128, 128, 128, 0.75);
            color: #fff;
        }

        .toolbar .mixed > i {
            font-size: 0.5em;
            position: absolute;
            bottom: -0.1em;
            right: 0.1em;

            padding: 4px;
            padding-left: 1.5px;
            clip-path: circle();
            color: #fff;
            background-color: rgb(0, 140, 253);
        }
    .toolbar > .right {
        float: right;
    }

    .toolbar .actions > .btn {
        margin-top: -5px;
        padding: 3px 10px;
    }

    .toolbar li.active {
        color: red;
    }

    .toolbar [hidden] {
        display: none !important;
    }

.toolbar-item.active {
    color: rgb(0, 140, 253) !important;
}

.toolbar li.active {
    color: red;
}
.toolbar-item.active {
    color: rgb(0, 140, 253) !important;
}

.dropdown {
    position: relative;
}

    .dropdown.opened > .dropdown-menu {
        display: block;
    }
.dropdown-divider {
    margin: 0 !important;
}
/********* SLIDER ***********/
.slide {
    position: relative;
    min-height: 300px;
}

.slide-content {
    position: relative;
}
.slide-content .indicator {
    background-color: rgba(0, 0, 128, 0.5);
    color: white;
    position: absolute;
    padding: 5px 10px;
    border-radius: 4px;
    top: 2px;
    left: 2px;
}

.slide-list {
    width: 0;
    height: 100%;
    position: absolute;
    overflow-y: auto;
    transition: all 0.3s;
}

    li[class*=arrow] > span {
        color: rgb(0, 140, 253) !important;
    }
    li.disabled > span {
        color: #ccc !important;
    }

.slide-list-tool svg {
    margin-top: 3px;
}
.slide-data-size {
    margin-left: 10px;
}

.slide .sli {
    
}

.record-count {
    background-color: #f80;
    color: #fff;
    padding: 6px;
    border-radius: 4px;
}

.data-loading {
    letter-spacing: 2px;
    font-size: 120%;
}
.data-loading .fa {
    margin-left: 16px;
}

table.center {
    text-align: initial;
    margin-left: auto;
    margin-right: auto;
}


th, td {
    padding: 3px 5px;
    border-bottom: 1px solid #ccc;
}

    th > a {
        color: inherit !important;
        margin-left: 5px;
        font-size: 85%;
    }

    table.sheet {
        border: 1px solid #ccc;
        background-color: #fff;
    }
        table.sheet td {
            vertical-align: top;
            text-align: left;
            border: none;
            padding: 8px;
        }
        table.sheet tr:not(:first-child) > td {
            border-top: 1px solid #ccc;
        }

        table.sheet td:first-child {
            background-color: #666;
            color: #fff;
            text-align: left !important;
        }

.summary > td {
    font-weight: 600;
    line-height: 2.5em;
}


.prog-bar {
    min-width: 100px;
}

    .prog-bar > label {
        font-size: 90%;
        padding: 0;
        margin: 0;
        font-weight: 400;
    }

.prog-value {
    height: 6px;
    background-color: #eee;
}

    .prog-value > div {
        height: 100%;
        width: 0;
        background-color: #55dd56;
    }


.bag {
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 10px;
}

    .bag .actions {
    }

        .bag-header > .actions .fa {
            padding: 0.5em;
            cursor: pointer;
            margin-left: 0.5em;
            margin-top: -0.5em;
            clip-path: circle();
        }

            .bag-header > .actions .fa:hover {
                color: #333;
                background-color: #ccc;
            }

.bag-header {
    position: relative;
    padding: 10px;
    color: #666;
    background-color: whitesmoke;
    border-radius: 6px;
}
.bag-header .right {
    float: right;
}
.bag-header > .actions {
    position: absolute;
    right: 10px;
    top: 0;
}
.bag.open .bag-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.bag-caption {
    display: inline;
}

    .bag.open .bag-caption,
    .bag-caption:hover {
        color: #901010;
        cursor: pointer;
    }

.bag-content {
    position: relative;
    display: none;
    height: 0;
    background-color: white;
    border-radius: 0 0 6px 6px;
    padding: 10px;
    transition: all 0.3s;
    position: relative;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.bag.open .bag-content {
    display: block;
    height: auto;
    border-top: 1px solid #ccc;
}

.bag.open .fa-chevron-down {
    transform: rotate(180deg);
}

/*******************************************/
.floating-actions {
    position: absolute;
    bottom: 2em;
    right: 3em;
    background-color: rgba(255, 128, 0, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 5px 1px #ccc;
    padding: 8px;
}
.floating-actions .fa {
    margin: 0 !important;
    color: white;
}

/************** TREE ***********************/
.tree-view {
    padding: 0.3em;
}

    .tree-view > ul {
        padding-left: 1.5em;
        margin: 0;
    }

    .tree-view ul {
        list-style: none;
    }

li.tree-item {
    margin-left: -1.5em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
}

    li.tree-item > span {
        cursor: pointer;
    }
    li.tree-item > span:hover {
        color: rgb(0, 140, 253);
    }

    li.tree-item > span > .fa-folder {
        color: #f80;
    }

    li.tree-item > span > label {
        margin-left: 3px;
        font-weight: 400;
        cursor: pointer;
    }

    li.tree-item > i {
        color: transparent;
        margin-right: 0.3em;
    }

    li.tree-item.folder > i {
        color: #999;
    }

        li.tree-item.folder > i:hover {
            color: #333;
        }

    li.tree-item.folder > ul {
        display: none;
    }

    li.tree-item.folder.open > ul {
        display: block;
    }

    li.tree-item.folder.open > i {
        transform: rotate(45deg);
    }

/************* FILES ************************/

.split-panel {
    height: 400px;
}
.left-panel, .right-panel {
    min-height: 100%;
    max-height: 100%;
    border: 1px solid #ccc;
    overflow-y: auto;
    overflow-x: hidden;
}
.left-panel {
    width: 250px;
}
.right-panel {
    margin-left: 255px;
}

.folder-path {
    min-height: 20px;
    padding: 10px;
    font-size: 90%;
    color: #666;
}
.folder-path i {
    margin-left: 4px;
    margin-right: 4px;
}
.folder-path a {
    text-decoration: none;
    color: inherit;
}
.folder-path a:hover {
    color: #f80;
}

.folder-view,
.file-view {
    min-height: 100%;
}
.file-view {
    position: relative;
    background-color: #fff;
}

    .file-view > .dragdrop {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        border: 1px groove #ccc;
        background-color: rgb(0, 140, 253);
        opacity: 0;
    }

    .file-view.drag {
        background-color: rgba(0, 140, 253, 0.3);
    }

.folder-view ul {
    list-style: none;
    padding: 0;
}

.folder-view li {
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.8;
}
.folder-view li > span:hover {
    color: rgb(0, 140, 253);
}

    .folder-view li > ul {
        display: none;
        margin-left: 20px;
    }

    .folder-view li.opened > ul {
        display: block;
    }

    .folder-view li.opened > .arrow {
        transform: rotate(90deg);
    }

    .folder-view li > .arrow {
        float: left;
        padding: 4px 10px;
        color: #999;
        transition: all 0.3s;
    }
    .folder-view li > .arrow:hover {
        color: #111;
    }


.folder-content .right-panel {
    overflow-y: hidden;
}
.folder-content .icon {
    margin-right: 5px;
}
.folder .icon {
    color: #f80;
}

.file-view {
    overflow: auto;
}

.file .icon {
    color: rgba(0, 140, 253, 0.5);
}

    .file-view .check-box {
        margin: 4px 8px;
        float: left;
    }

    .line {
        cursor: pointer;
        line-height: 2em;
        padding: 5px;
    }

    .line > .check-option {
        float: left;
        margin: 0 5px;
        margin-top: 2px;
    }
        .line label {
            font-weight: 400;
        }


.file-tool {
    background-color: #eee;
    line-height: 0;
    padding-top: 0.75em;
    height: 2em;
}
    .file-tool > .check-option {
        margin-top: -0.5em;
    }
    .file-tool > .captions {
        font-size: 0.85em;
        color: #666 !important;
    }
        .file-tool > .captions a {
            text-decoration: none !important;
            color: inherit !important;
        }

    .file-view > .line:hover {
        background-color: whitesmoke;
    }
    .line > div {
        display: inline;
        line-height: 20px;
    }

.path {
    list-style: none;
    font-size: 90%;
    padding-left: 3px;
}

    .path > li {
        display: inline-block;
    }

        .path > li::after {
            content: '\\';
            margin-left: 3px;
            margin-right: 3px;
            font-size: 120%;
        }

        .path > li > a {
            color: rgb(0, 140, 253);
            text-decoration: none;
        }

            .path > li > a:hover {
                color: #f80;
            }

/****************** SVG ****************************/
rect, line, polygon, polyline, circle, ellipse {
    stroke: #999;
    fill: none;
}

.check-option {
    width: 20px;
    height: 20px;
}

    .check-option polyline {
        display: none;
    }

    .check-option.checked polyline {
        display: initial;
        stroke: rgb(0, 140, 253);
    }

.switch-option {
    width: 40px;
    height: 20px;
}

    .switch-option rect {
        fill: #eee;
    }

    .switch-option circle {
        fill: #ccc;
        stroke: none;
    }

    .switch-option.checked rect {
        fill: rgb(0, 140, 253);
    }

    .switch-option.checked circle {
        fill: white;
    }

.radio-option {
    width: 20px;
    height: 20px;
}

    .radio-option circle {
        display: none;
        fill: rgb(0, 140, 253);
        stroke: none;
    }

    .radio-option.checked rect {
        stroke: rgb(0, 140, 253);
    }

    .radio-option.checked circle {
        display: initial;
    }

.split-option.checked rect {
    stroke: rgb(0, 140, 253);
}
    .split-option.checked rect:last-child {
        fill: rgb(0, 140, 253);
    }

/************* MENU **************/
.left-bar {
    position: absolute;
    width: 40px;
    background-color: rgb(0, 96, 128);
    color: #ccc;
    min-height: 100%;
}

    .left-bar > ul {
        list-style: none;
        text-align: center;
        margin: 0;
        margin-top: 1em;
        padding: 0;
    }

        .left-bar > ul > li {
            padding-top: 0.5em;
            padding-bottom: 0.5em;
            font-size: 1.2em;
            transition: 0.3s;
            cursor: pointer;
        }

            .left-bar > ul > li:hover {
                background-color: rgba(0, 0, 0, 0.5)
            }
            .left-bar > ul > li.active {
                color: white;
            }

.flying {
    position: absolute;
    left: 40px;
    height: 100%;
    background-color: white;
    width: 250px;
    transition: 0.5s;
    z-index: 3;
}

    .flying.closed {
        width: 0;
    }

