/* File: /css/page.css */
.page-body img {
    max-width: 100%;
    height: auto;
}

.page-body audio, .page-body video {
    max-width: 100%;
}

.page-body img[align="left"] {
    margin: 5px 10px 0 0;
}

.page-body img[align="rigth"] {
    margin: 5px 0 0 10px;
}

.attachment-insert {
    display: inline-block;
}

.edit-menu {
    float: right;
    position: relative;
    z-index: 5;
}

.edit-menu .edit-button-end {
    display: none;
}

.edit-menu #btn-save {
    color: #3b8d30;
}

.edit-menu #btn-cancel {
    color: #be3538;
}

#attachments {
    margin-bottom: 50px;
}

#attachments a:hover {
    text-decoration: none;
}

#attachments .attachment-remove {
    display: none;
}

.page-editing #attachments .attachment-remove {
    display: block;
}

.attachment {
    position: relative;
    margin-right: 5px;
    margin-top: 5px;
}

.attachment-sample {
    display: none;
}

.attachment-remove {
    text-align: center;
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    border-radius: 10px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    padding-left: 1px;
}

.attachment-remove:hover {
    color: #a12a2e;
}

.attachment-name {
    position: absolute;
    width: 80%;
    top: 30px;
    left: 10%;
    color: #000;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attachment-state {
    position: absolute;
    width: 80%;
    top: 60px;
    left: 10%;
    text-align: center;
    font-size: 32px;
}

.attachment-progress {
    position: absolute;
    width: 80%;
    top: 50px;
    left: 10%;
    height: 8px;
    padding: 2px;
    background-color: #292929;
    background-image: -moz-linear-gradient(53% 13% -90deg, rgb(58, 64, 80) 0%, rgb(58, 64, 80) 47%, rgb(46, 50, 62) 48%, rgb(46, 50, 62) 100%);
    background-image: -webkit-gradient(linear, 53% 13%, 53% 79%, color-stop(0, rgb(58, 64, 80)), color-stop(0.47, rgb(58, 64, 80)), color-stop(0.48, rgb(46, 50, 62)), color-stop(1, rgb(46, 50, 62)));
    background-image: -webkit-linear-gradient(-90deg, rgb(58, 64, 80) 0%, rgb(58, 64, 80) 47%, rgb(46, 50, 62) 48%, rgb(46, 50, 62) 100%);
    background-image: linear-gradient(-180deg, rgb(58, 64, 80) 0%, rgb(58, 64, 80) 47%, rgb(46, 50, 62) 48%, rgb(46, 50, 62) 100%);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.attachment-progress div {
    width: 0;
    height: 100%;
    background-color: #0099ff;
    background-image: -webkit-gradient(linear, 71% 25%, 71% 69%, color-stop(0, rgb(118, 177, 1)), color-stop(0.47, rgb(118, 177, 1)), color-stop(0.48, rgb(102, 153, 0)), color-stop(1, rgb(102, 153, 0)));
    background-image: -webkit-linear-gradient(-90deg, rgb(118, 177, 1) 0%, rgb(118, 177, 1) 47%, rgb(102, 153, 0) 48%, rgb(102, 153, 0) 100%);
    background-image: -moz-linear-gradient(71% 25% -180deg, rgb(118, 177, 1) 0%, rgb(118, 177, 1) 47%, rgb(102, 153, 0) 48%, rgb(102, 153, 0) 100%);
    background-image: linear-gradient(-180deg, rgb(118, 177, 1) 0%, rgb(118, 177, 1) 47%, rgb(102, 153, 0) 48%, rgb(102, 153, 0) 100%);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.attachments-list, .attachments-dnd {
    margin: 0 -10px;
    padding: 0 6px 2px;
    border: 4px dashed white;
    border-radius: 10px;
}

.attachments-dnd {
    margin-top: 10px;
    height: 200px;
    background: url('/i/upload-2.png') center bottom no-repeat;
}

.attachments-dnd-hint, .attachments-list-hint {
    margin-top: 5px;
    color: lightgray;
}

.attachments-dnd, .attachments-list-hint {
    display: none;
}

.page-editing .attachments-dnd, .page-editing .attachments-list-hint {
    display: block;
}

.page-editing .attachments-dnd, .page-editing .attachments-list {
    border-color: lightgray;
}

h3.page-sections {
    border-top: 1px solid black;
    margin-top: 30px;
}

h3.page-sections span {
    background-color: #fff;
    position: relative;
    top: -15px;
    padding-right: 20px;
}

h3.page-sections span i {
    padding-right: 10px;
}

.page-sections-item {
    font-size: 16px;
}

.page-sections-item i {
    padding-right: 5px;
}

.page-sections-item a {
    color: #000000;
}

.page-view {
    margin: -10px;
    padding: 6px;
    border: 4px dashed white;
    border-radius: 10px;
}

.page-view.upload-file {
    border: 4px dashed grey;
}

.page-view .popover {
    max-width: 400px;
    z-index: 10000;
}

.attachment-insert-popover {
    width: 300px;
}
/* File: /css/widgets/comments.css */
#comments {
    display: none;
    margin-top: 20px;
}

.comment .comment-replies {
    padding-left: 84px;
}

.comment-new > .comment-content {
    background-color: #E5FFE5;
    padding: 5px;
    border-radius: 5px;
}

.comment .comment-replies .comment-replies {
    padding-left: 63px;
}

.comment-content [data-comment-edit] {
    border: 1px solid white;
    -webkit-transition: padding .5s, border-color .5s;
    -moz-transition: padding .5s, border-color .5s;
    -ms-transition: padding .5s, border-color .5s;
    -o-transition: padding .5s, border-color .5s;
    transition: padding .5s, border-color .5s;
}

.comment-content.edit [data-comment-edit] {
    border: 1px solid lightgrey;
    /*margin: -5px;*/
    padding: 5px;
}

.comment-content {
    display: table;
    width: 100%;
    margin-bottom: 30px;
}

.comment-avatar {
    display: table-cell;
    padding-right: 20px;
    width: 64px;
    text-align: center;
    vertical-align: top;
}

.comment-avatar img {
    margin-top: 8px;
    max-width: 64px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    border-radius: 32px;;
}

.comment-replies .comment-avatar {
    padding-right: 15px;
    width: 48px;
}

.comment-replies .comment-avatar img{
    max-width: 48px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;;
}

.comment-other {
    display: table-cell;
    vertical-align: top;
}

.comment-author {
    font-weight: bold;
}

.comment-body {
    margin: 10px 0;
}

.comment-divider::after {
    display: inline-block;
    content: "|";
    margin: 0 6px;
}

.comment-info .comment-divider::after {
    font-weight: bold;
}

.comment-buttons a {
    color: grey;
}

.comment-editor-buttons {
    display: none;
    font-weight: bold;
}

.comment-editor-buttons .btn-cancel {
    color: #D9534F;
}

.comment-buttons, .comment-editor-buttons {
    clear: both;
}

@media screen and (max-width: 921px) {
    .comment-avatar {
        padding-right: 15px;
        width: 48px;
    }

    .comment-avatar img{
        max-width: 48px;
        -webkit-border-radius: 24px;
        -moz-border-radius: 24px;
        border-radius: 24px;;
    }

    .comment .comment-replies, .comment .comment-replies .comment-replies {
        padding-left: 5px;
    }

    .comment {
        border-left: 4px solid #808080;
    }

    .comment .comment {
        border-left-color: #6699cc;
    }

    .comment .comment .comment {
        border-left-color: #cc6699;
    }

    .comment .comment .comment .comment {
        border-left-color: #66cc99;
    }

    .comment .comment .comment .comment .comment {
        border-left-color: #6666cc;
    }

    .comment .comment .comment .comment .comment .comment {
        border-left-color: #cc6666;
    }

    .comment .comment .comment .comment .comment .comment .comment {
        border-left-color: #66cc66;
    }
}
/* File: /css/previewer.css */
#previewer .modal-dialog {
    -webkit-transition: width 500ms, -webkit-transform 0.3s ease-out;
    -moz-transition: width 500ms, -moz-transform 0.3s ease-out;
    -ms-transition: width 500ms;
    -o-transition: width 500ms, -o-transform 0.3s ease-out;
    transition: width 500ms, transform 0.3s ease-out;
}

#previewer .modal-body {
    -webkit-transition: height 500ms, background-size 500ms, background-image 500ms;
    -moz-transition: height 500ms, background-size 500ms, background-image 500ms;
    -ms-transition: height 500ms, background-size 500ms, background-image 500ms;
    -o-transition: height 500ms, background-size 500ms, background-image 500ms;
    transition: height 500ms, background-size 500ms, background-image 500ms;
}

#previewer-loader {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 48px;
    color: white;
}

#previewer-loader > i {
    vertical-align: middle;
    text-shadow: 0 0 10px #000;
}

#previewer-loader:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

#previewer-prev, #previewer-next {
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    font-size: 48px;
    color: rgba(255, 255, 255, .1);
    cursor: pointer;
}

#previewer-prev {
    left: 0;
    padding-left: 20px;
}

#previewer-next {
    text-align: right;
    right: 0;
    padding-right: 20px;
}

#previewer-prev:before, #previewer-next:before {
    display: inline-block;
    vertical-align: middle;
}

#previewer-prev:after, #previewer-next:after {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.previewer-zoom {
    position: absolute;
    bottom: 0;
    font-size: 48px;
    text-align: center;
    color: rgba(255, 255, 255, .1);
    width: 100%;
}

.previewer-zoom:hover {
    position: absolute;
    bottom: 0;
    font-size: 48px;
    text-align: center;
    color: #bbb;
    text-shadow: 0 0 3px #999;
}

#previewer-zoom-in, #previewer-zoom-out {
    cursor: pointer;
}

#previewer-prev:hover, #previewer-next:hover, #previewer-zoom-in:hover, #previewer-zoom-out:hover {
    color: #fff;
    text-shadow: 0 0 10px #000;
}

/* File: /css/widgets/menu.css */
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.menu-background {
    background: linear-gradient(to right, #C7C7C7, #F5F5F5, #FFFFFF);
    position: fixed;
    height: 100%;
}

.menu-auth {
    margin: 32px 0;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
}

.menu-auth a {
    color: #000;
}

.menu-auth-logout:after {
    content: "\f2f5";
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-left: 10px;
}

.menu-auth-logout.loading:after {
    content: "\f013";
    animation-name: rotation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.menu-logo {
    background: url("/i/logo-160.png") center no-repeat;
    display: inline-block;
    width: 160px;
    height: 160px;
}

.menu-left a {
    text-decoration: none;
}

.menu-left-row {
    font-size: 28px;
    text-align: center;
    margin-top: 30px;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .menu-logo {
        background: url("/i/logo-320.png") center no-repeat;
        background-size: contain;
    }
}
/* File: /css/widgets/feed.css */
.feed {
    margin: 10px 5% 0;
    border-top: 6px solid #000;
    padding-top: 10px;
    border-radius: 6px;
    position: relative;
}

.feed:after {
    content: "";
    border: 4px solid transparent;
    border-bottom-color: #000;
    display: block;
    position: absolute;
    left: calc(50% - 4px);
    top: -14px;
}

.feed-item {
    display: table;
    table-layout: fixed;
    width: 100%;
    font-size: 11px;
    margin-bottom: 10px;
}

.feed-avatar {
    display: table-cell;
    vertical-align: top;
    width: 40px;
}

.feed-avatar img {
    margin-top: 3px;
    max-width: 40px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.feed-content {
    display: table-cell;
    vertical-align: top;
    padding-left: 10px;
}

.feed-info {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-divider::after {
    display: inline-block;
    content: "|";
    margin: 0 3px;
}

.feed-title {
    font-weight: 300;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-title a {
    color: inherit;
}

.feed-time {
    color: #999999;
    font-weight: 300;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

