
::-webkit-input-placeholder {
    color: #bababa;
    font-family: 'Puritan20Normal' !important;
}

:-moz-placeholder { /* Firefox 18- */
    color: #bababa;
    font-family: 'Puritan20Normal' !important;
}

::-moz-placeholder { /*  Firefox 19+ */
    color: #bababa;
    font-family: 'Puritan20Normal' !important;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.modal .close, .modal .close:hover, .modal .close:focus {
    color: #fff;
}

.printer {
    margin: 0 5px;
    cursor: pointer;
}

.event-list li.event-box {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #fff;
    border-bottom: 3px solid rgba(0, 0, 0, 0.10);
    border-left: 1px solid rgba(0, 0, 0, 0.10);
    border-right: 1px solid rgba(0, 0, 0, 0.10);
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    margin: 0 0 6px 1px;
    padding: 16px;
    position: relative;
    font-size: 14px;
}

.event-list li .event-parent {
    padding: 5px 0;
    border-bottom: 1px solid #efefef;
}

.event-list li .event-child {
    padding-left: 52px;
}

.through-line {
    text-decoration: line-through;
}

.activity .user-thumb {
    height: 36px;
    position: absolute;
    width: 36px;
}

.activity .header {
    /*margin-left: 30px;*/
}

.activity .prefix-content {
    font-weight: bold;
}

.activity .suffix-content:before {
    content: " ";
}

.activity .h-detail {
    margin-top: 10px;
}

.activity .item {
    border-top: 1px solid #efefef;
    padding: 8px 3px;
    position: relative;
}

.activity .link {
    max-width: 90%;
    font-size: 90%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.activity .parent-item {
    border-bottom: 1px solid #efefef;
}

.activity .child-item {
    margin-left: 20px;
}

.activity .event-list.j-selected > .event-box {
    /*    border-left: 1px solid #1D78C5;*/
    box-shadow: 2px 0 0 #00bcf2 inset;
}

.activity .lv-1 {
    border-top: 1px solid #efefef;
    padding: 8px 3px;
    position: relative;
}

.activity .role-wrapper {
    font-size: 90%;
    padding: 2px 6px;
    background: #ccc;
    color: #fff;
    border-radius: 3px;
}

.no-border-top {
    border-top: 0 !important;
}

.activity .create-time {
    color: #4a4a4a;
    font-size: 11px;
    font-weight: normal;
    padding-top: 6px;
}

.activity .item-name {
    margin-left: 25px;
}

.activity .icon-wrapper {
    height: 20px;
    position: absolute;
    width: 20px;
}

.activity .cloud-brand {
    border-radius: 50%;
    background-color: #A0A0A0;
    padding: 3px;
    width: 20px;
    height: 20px;
}

.aside .modal-dialog {
    height: 100%;
    position: absolute;
    width: 100%;
    overflow: hidden;
    bottom: 0;
    top: 0;
}

.aside .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.aside .modal-body {
    height: 100%;
}

.aside .tab-content {
    position: relative;
    height: 100%;
    width: 100%;
}

.aside .tabset {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aside .tabset-content {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px;
}

.aside .tab-content > .active {
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aside .activity {
    position: relative;
    height: 100%;
    width: 100%;
    right: 0;
    overflow-y: scroll;
}

.aside .nav-tabs {
    flex: 0 0 auto;
}

.aside .comment-container {
    overflow-y: scroll;
    height: 100%;
}

/* History */

.history .event-box {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    border-left: 1px solid rgba(0, 0, 0, 0.10);
    border-right: 1px solid rgba(0, 0, 0, 0.10);
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    margin: 0 0 -1px 1px;
    padding: 10px;
    position: relative;
    font-size: 14px;
}

.history .item {
    border-top: 1px solid #efefef;
    padding: 8px 3px;
    position: relative;
}

.history .item-name {
    margin-left: 30px;
}

.history .icon-wrapper {
    height: 30px;
    position: absolute;
    width: 30px;
}

.history .wrap-text {
    padding: 8px 0;
}

.history .pretty-date, .history .create-time {
    margin: 0;
    padding-top: 6px;
    font-size: 12px;
}

.history .action-icon {
    padding-top: 6px;
    position: absolute;
    height: 24px;
    width: 24px;
}

.history .header {
    /*padding-left: 30px;*/
}

.history .event-box.j-selected {
    border-left: 1px solid #1D78C5;
}

.loading-wrapper {
    margin: 15px;
}

.loading-wrapper .btn {
    padding: 6px 20px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

/* Comment */
#comment .comment-footer {
    position: relative;
}

div[contenteditable] {
    -moz-appearance: textfield-multiline;
    -webkit-appearance: textarea;
    border: 1px solid gray;
    font: medium -moz-fixed -webkit-small-control;
    height: 56px;
    overflow: auto;
    padding: 2px;
    resize: both;
}

div[mention] {
    resize: vertical;
}

.mention-tag {
    font-weight: bold;
    padding: 1px 2px;
}

/* Modify for fixed header view with new CSS */

body {
    height: 100%;
}

#container {
    height: 100%;
}

.view-animate {
    height: 100%;
}

.project-wrapper {
    height: 100%;
    position: absolute;
    top: 0; /* Minus header's height */
    bottom: 0;
    left: 220px;
    right: 15px;
}

/* Flex display */
.project-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#browse-box {
    /*    margin-top: -1px;*/
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    background-color: white;
}

body.modal-open > .ui-select-bootstrap.open {
    z-index: 2000;
}

.action-wrapper {
    display: inline-block;
    width: 100%;
}

.navbar {
    width: 200px;
    float: left;
    background-color: #fff;
    position: absolute;
    top: 80px; /* Logo */
    bottom: 0;
    border-right: 1px solid #ccc;
    border-radius: 0;
    border: 0;
    margin: 0;
}

.navbar-nav > li {
    width: 100%;
}

.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

ul.header-info > li {
    display: inline;
    position: relative;
    padding: 5px;
}

.authorized .view-animate {
    padding-left: 220px;
    padding-right: 15px; /* Prevent using row - Overflow-x */
    margin: 0;
}

.project-name {
    vertical-align: bottom;
    margin-left: 8px;
}

/* Datatable */
.dataTables_wrapper {
    overflow: hidden;
}

.dt-ctrl-wrapper {
    padding: 10px 0;
    min-height: 4em;
    display: flex;
    align-items: center;
}

.modal-body .drm-info, .modal-body .file-info {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
}

.modal-dialog .modal-content {
    border: 5px solid #ccc;
}

#header {
    width: 100%;
    background-color: #fff;
    display: inline-block;
    position: relative;
    z-index: 7;
    margin-top: 0;
}

.fixed-header {
    overflow: hidden;
}

.fixed-header .view-animate {
    height: auto;
}

/* Some code using for mobile devices */

@media (max-width: 767px) {

    .row > div:not(:last-child) {
        margin-bottom: 10px;
    }

    #logo {
        position: relative;
        margin-left: 50px;
    }

    .navbar {
        width: auto;
        position: fixed;
        z-index: 9;
        top: 0%;
        margin: 0px;
        min-height: inherit;
        border-radius: 0 2px 2px 0;
        bottom: auto;
    }

    .navbar .navbar-collapse {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-header .navbar-toggle {
        margin: 0;
    }

    .authorized .view-animate {
        position: relative;
        padding: 0 15px;
        margin: 0;
    }

    .fixed-header:not(.modal-open) {
        overflow-y: auto;
    }

    #browse-box {
        overflow: visible;
        width: 100%;
    }

    #browse-box .filename, #browse-box .filename-link {
        max-width: 100%;
        display: initial;
        white-space: normal;
        overflow: visible;
    }

    .project-wrapper {
        left: 25px;
        right: 25px;
    }

    .project-container {
        display: block;
    }

    .action-wrapper .horizontal {
        display: inline-block;
    }

    .dt-ctrl-wrapper {
        display: block;
    }
}

/* Small phone */
@media (max-width: 480px) {

    .hidden-sm-phone {
        display: none !important;
    }

    .project-name {
        display: block;
        white-space: normal;
        margin: 3px 0;
    }
}

.mask-input {
    position: relative;
}

.mask-input .wrap-input {
    height: 100%;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.mask-input input[type=file] {
    bottom: 0;
    cursor: inherit;
    font-size: 1000px !important;
    height: 300px;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: 0;
}

.btn-sm, .btn-group-sm > .btn {
    margin-top: 10px;
    margin-left: 5px;
}

.tokenfield .token .token-label {
    vertical-align: -webkit-baseline-middle !important;
    vertical-align: middle !important;
}

/************************************
Notification Pop-up*/

.dropdown {
    display: inline-block;
    margin-left: 0px;
    width: 100%;
    /*padding:10px;*/
}

.glyphicon-globe {
    font-size: 22px;
}

.glyphicon-comment {
    font-size: 22px;
}

.notifications {
    min-width: 420px;
    left: -355px;
}

.notifications-wrapper {
    overflow: auto;
    max-height: 250px;
}

.menu-title {
    color: #FF9E07;
    display: inline-block;
}

.glyphicon-circle-arrow-right {
    margin-left: 10px;
}


.notification-heading, .notification-footer {
    padding: 2px 10px;
}


.dropdown-menu.divider {
    margin: 5px 0;
}

.item-title {
    color: #000;

}

.item-info {
    color: orange;
}

.notifications a.content {
    text-decoration: none;
    background: #ccc;

}

.notification-item {
    padding: 10px;
    margin: 5px;
    background: #F5F5F5;
    border-radius: 4px;
}

.notify-number {
    margin-left: -15px;
    background-color: red;
    margin-top: -27px;
    position: absolute;
    font-size: 13px;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    height: 18px;
}

.login-box {
    background-color: #fff;
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
    margin-top: 20px !important;

}

.bg-login {
    background-color: #0571AF;
    position: absolute;
    width: 100%;
    height: 100%;
}

.textbox-search-li {
    vertical-align: -webkit-baseline-middle !important;
    vertical-align: middle !important;
    padding-top: 8px;
}

.panel-red {
    border-color: red;
}

.panel-red > .panel-heading {
    color: #fff;
    background-color: red;
    border-color: red;
}

.panel-yellow {
    border-color: yellow;
}

.panel-yellow > .panel-heading {
    color: brown;
    background-color: yellow;
    border-color: yellow;
}

.panel-green {
    border-color: green;
}

.panel-green > .panel-heading {
    color: #fff;
    background-color: green;
    border-color: green;
}

.panel-orange {
    border-color: orange;
}

.panel-orange > .panel-heading {
    color: #fff;
    background-color: orange;
    border-color: orange;
}

.center-el {
    top: 50%;
    position: absolute;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
}

.ui-select-container {
    z-index: 9999;
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}
