.page-list-non-blanks {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

#workspace_wrapper {
    height: 100%;
    z-index: 3;
}

#workspace_wrapper:empty {
    height: auto;
}

/*page styles*/
.mp-container {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    white-space: nowrap;

    overflow: auto;
    background-color: white;

    /*fix margin between inline blocks*/
    font-size: 0;
    left: 260px;
}

.vertical-filters .mp-container {
    left: 35px;
}

/*panel styles*/
.mp-panel {
    position: relative;
    font-size: 13px;
    display: inline-block;
    height: 100%;
    white-space: normal;
    background-color: var(--surface, #FFF);
    overflow: hidden;
    /*remove whitespace under inline-block element*/
    margin-bottom: -8px;
    border-right: 1px solid var(--selection-dark, #F8F8F8);
}

.mp-table {
    display: table;
    height: 100%;
    width: 100%;
}

/*panel disabled*/
.mp-panel.disabled {
    border-left-color: transparent;
    background: var(--panel-disabled, #efefef);
}

.mp-panel.disabled .page-item-icon-url,
.mp-panel.disabled img {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.5;
}

.mp-panel ul.page-list li.selected > .page-item-inside > .item-contents {
    margin-top: 1px; /* to compensate "border-top: none" in previous rule (so item won't change its height whem select/unselect) */
}

.mp-panel.disabled * {
    color: #AAA !important;
    text-shadow: 1px 1px 0 #FFF;
    background-color: transparent !important;
}

.mp-panel.disabled .mp-actions > .selected {
    text-shadow: 1px 1px 0 #333;
    color: #DDD;
}

.item-state {
    width: auto !important;
    font-size: 8px;
    line-height: 16px;
    text-transform: uppercase;
    vertical-align: 1px;
}

/*.mp-panel .selected > .page-item-inside .item-state {*/
    /*color: #fff;*/
/*}*/

.mp-panel.close-animation {
    transform: translatex(-500px);
    -webkit-transform: translatex(-500px);
    -o-transform: translatex(-500px);
    -moz-transform: translatex(-500px);
}

/*panel header :: first row*/
.mp-header {
    display: table-row;
    background-color: #fff;
}

.mp-header .mp-name-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    position: relative;
    height: 46px;
    padding-top: 5px;
    cursor: default;

}

/*.mp-panel-color {*/
    /*position: absolute;*/
    /*left: 0;*/
    /*top: 0;*/
    /*height: 4px;*/
    /*width: 100%;*/
    /*z-index: 90;*/
    /*display: none;*/
/*}*/

.mp-header .mp-name {
    margin: 5px 10px;
    margin-top: 1px;
    line-height: 36px;
    font-weight: var(--panel-title-weight, 300);
    font-family: var(--title-font, 'Open Sans', sans-serif);
    color: var(--panel-title-color, #da7959);
    font-size: 29px;
    position: relative;
    word-break: break-all;
    overflow: hidden;
    float: left;
    display: inline-block;
}

.mp-header .mp-name a {
    color: #333;
}

.mp-actions {
    position: relative;
    float: right;
    display: flex;
    height: 36px;
    z-index: 89;
    padding-right: 3px;
    background-color: #fff;
}

.mp-panel.disabled .mp-actions:before {
    border: none !important;
}

.mp-panel.disabled .mp-actions {
    border-left: none;
}

.mp-actions > i, .mp-actions > a.mp-page-reopen {
    padding-top: 14px;
    font-size: 16px;
    padding-bottom: 10px;
    width: 16px;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: none;
}

.mp-actions > i:hover, .mp-actions > a.mp-page-reopen:hover {
    color: #000;
}

.mp-settings-icon {
    position: relative;
}

.mp-settings-counter {
    position: absolute;
    right: -2px;
    top: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 11px;
    line-height: 12px;
    padding: 0 3px;
    background-color: #fff;
}

.mp-name-sub_label {
    font-size: 13px;
    line-height: 18px;
    border-bottom: 0;
    padding-left: 10px;
    color: #e6e6e6;
}

.mp-header .mp-name {
    float: left;
    flex: 1 2 auto;
}

.mp-header .mp-name .mp-name-sub_label a {
    text-decoration: none;
}

.mp-unselect-everything {
    overflow: hidden;
    font-size: 90%;
    padding: 0 0 5px 10px;

}

.mp-unselect-everything a {
    color: #AAA !important;
}

/*panel settings :: second row*/
.mp-settings-container {
    padding: 3px;
}

.mp-settings {
    display: table-cell;
    padding: 3px 6px 3px 3px;
}

.mp-actions > * {
    display: block;
    float: left;
    cursor: pointer;
    opacity: .5;
    padding: 4px 5px;
    width: 12px;
    height: 16px;
    text-align: center;
}

.mp-actions > a:hover {
    color: #666;
}

.mp-actions > .selected {
    background: #fff;
    color: #ABABAD;
    border: 1px solid #d0d0d0;
    border-bottom-color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    opacity: 1;
}

.mp-actions > .rbc-icon-gear {
    margin-left: 1px;
    margin-right: 1px;

}

.mp-actions > .rbc-icon-gear.selected {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -1px;
    padding-bottom: 11px;
}

.mp-filter-icon {
    opacity: .8;
}

.mp-filter-icon.active {
    color: red;
    opacity: 1;
}

.mp-filter-icon.active:hover {
    color: red;
}

.mp-panel-settings {
    border-bottom: 1px solid #d0d0d0;
    border-top: 1px solid #d0d0d0;
    margin-top: -5px;
}

.mp-actions .mp-close {
    display: block;
    vertical-align: top;
    text-align: center;
}


.mp-actions .mp-resize.mp-resize-expand {
    background-image: url(../img/expand.png);
}

.mp-actions > .mp-resize:hover {
    opacity: .7;
}

.mp-actions .mp-resize.mp-resize-disabled,
.mp-panel.disabled .mp-actions .mp-resize {
    opacity: 0.2;
}

.p-settings__select-all {
    text-transform: uppercase;
    font-size: 11px;
    cursor: pointer;
    margin-left: 15px;
    color: #498DD1;
}

/*panel content :: third row*/
.mp-content-row {
    display: table-row;
}

.mp-content-cell {
    display: table-cell;
    position: relative;
    height: 100%;
}

.mp-content.ajax-indicator {
    min-height: 80%;
}

.mp-content {
    height: 100%;
    width: 100%;
    overflow: auto;
    position: absolute;
}

/*list of closed panels*/
.mp-closed-block {
    width: 260px;
    overflow: hidden;
    height: 100%;

}

.mp-closed-block h4 {
    margin-top: 4ex;
}

.vertical-filters .mp-closed-block {
    width: 35px;
    z-index: 2;
}

.mp-closed-list {

}

.mp-closed-list, .mp-closed-list > li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;

}

.mp-closed-list > li.has_filters {
    color: #515151;
}

.mp-closed-list > li {
    cursor: pointer;
    overflow: hidden;
    text-transform: uppercase;
    border-bottom: 1px inset #fff;
    text-align: left;
    padding: 10px 12px;
}

.mp-closed-list > .icon-gear:before {
    margin: 0;
}

.vertical-filters .mp-closed-list > li {
    line-height: 36px;
    text-align: center;
    padding: 0;
}

.mp-closed-list > li:hover {
    background: #e6e6e6;
}

/*.mp-closed-list .closed-panel-color {*/
    /*position: absolute;*/
    /*left: 0;*/
    /*top: 0;*/
    /*height: 100%;*/
    /*display: none;*/
    /*width: 3px;*/
    /*border-top-left-radius: 2px;*/
    /*border-bottom-left-radius: 2px;*/
/*}*/

.vertical-filters .mp-closed-list li .panel-name {
    display: inline-block;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    white-space: nowrap;
    margin: 10px 0;
}

.panel-name .count {
    display: none;
}

.vertical-filters .panel-name .count {
    display: inline-block;
    position: static !important;
    margin: 0 0 0 1ex !important;
    border: none;
    font-style: normal;
    box-shadow: inset 1px -1px 0 rgba(0, 0, 0, 0.2), inset -1px 1px 0 rgba(255, 255, 255, 0.2), -1px 1px 1px rgba(0, 0, 0, 0.2);
}

.vertical-filters .panel-name .count.items-count {
    background: #E2E2E2;
    border: 1px solid #fff;
    box-shadow: none;
    text-shadow: none;
    color: #737373;
    font-weight: 100;
}

.mp-closed-list .selected-items {
    line-height: 1.6;
    margin: 1ex 0;
    width: 85%;
    font-weight: normal;
    text-transform: none;
}

.mp-closed-list .selected-items .tag {
    color: #868686;
    background: #E2E2E2;
    text-shadow: none;
    padding: 2px 5px;

    margin-bottom: 4px;
    display: inline-block;
}

.vertical-filters .mp-closed-list .not-for-vertical {
    display: none;
}

.mp-closed-list .nothing-filtered {
    text-transform: none;
    float: right;
    color: #BBB;
    text-shadow: 1px 1px 0 #FFF;
}

.vertical-filters .mp-closed-list li .panel-name:after {
    content: "";
    float: left;
    margin-top: 100%;
}

/*advanced styles*/
.panel-type-switcher {
    margin-top: -1px;
    padding: 10px 6px 4px 6px;
    float: right;
    margin-left: 4px;
    font: 14px Verdana, sans-serif;
}

.panel-type-switcher a,
.panel-type-switcher label {
    position: relative;
    display: inline-block;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 3px;
    border-radius: 3px;
}

.panel-type-switcher > a > span {
    pointer-events: none;
}

.panel-type-switcher label input {
    display: none;
}

.panel-type-switcher .items-count {

    display: inline-block;
    text-align: center;
    opacity: 0.8;
    font-size: 11px
}

.mp-panel.disabled .panel-type-switcher a.current {
    background-color: #DDD;
    color: #AAA;
    text-shadow: 1px 1px 1px #FFF;
}

.subtasks-module .panel-type-switcher {
    margin: 0 0 15px 0;
    padding: 0;
}

.staffed-filters,
.scheduled-filters {
    text-align: center;
}

.staffed-filters {
    width: 100px;
}

.scheduled-filters {
    width: 70px;
}

.staffed-filters .panel-type-switcher,
.scheduled-filters .panel-type-switcher {
    font-size: 17px;
    padding: 1px 0 0 0;
    margin-left: 0;
}

.staffed-filters span:before,
.scheduled-filters span:before {
    position: relative;
    top: 1px;
}

td.workload-cell.expanded:before {
    content: ' ';
    display: block;
    position: absolute;
    top: -3px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #F2F2F2;
    border: 1px solid #D7D7D7;
    border-bottom-width: 0;
    border-radius: 5px 5px 0 0;
}

.toggle-week a.like-selected .week_number {
    color: #FFF;
}

.toggle-week a.like-unselected .week_number {
    color: #607890;
}

.mp-actions.ajax-indicator {
    background-image: none !important;
}

.mp-actions.ajax-indicator  .ajax-indicator-place:before {
    visibility: hidden;
}

.mp-actions.ajax-indicator  .ajax-indicator-place {
    background-image: url(../img/ajax.gif) !important;
    background-position: center center;
    background-repeat: no-repeat;
}

.panel-type-switcher a {
    color: #868686;
    transition: background-color 300ms ease, border 300ms ease;
}

.page-settings .row {
    margin: 1ex auto;
}

.page-settings select {
    width: 100%;
}

.page-settings .button-group .button.active {
    border: 1px solid #D5D5D5;
    background: #F7F7F7;
    box-shadow: inset 1px 2px 2px rgba(0,0,0,.15);
}

ul.page-list,
li.page-item {
    list-style: none;
    margin: 0;
    padding: 0;
    transition: background-color 200ms ease, border 200ms ease;
}

ul.page-list li {
    position: relative;
}

ul.page-list li.load-more {
    cursor: pointer;
}

.item-name-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
}

.item-description-value {
    opacity: 0.5;
    margin-top: 1ex;
    font-size: 12px;
}

.page-item.is_deleted > .page-item-inside .item-name-value {
    text-decoration: line-through;
}

li .page-item-inside {
    border: 0;
    border-top: 1px dotted #F8F8F8;
}

li .page-item-inside {
    padding: 12px 2px 12px 26px;
}

.load-more .page-item-inside {
    padding: 8px 2px;
}

ul.page-list-non-blanks .page-item-inside {
    padding-bottom: 0;
    border-bottom: 1px solid #F8F8F8;
    margin-bottom: -1px;
}

ul.page-list-non-blanks > .page-item-inside:first-child {
    border-bottom: 0;
}

.page-item > ul > .page-item:first-child > .page-item-inside {
    border-top: 0;
}

.page-item > ul > .page-item:last-child > .page-item-inside {
    border-bottom: 0;
}


.page-item-inside.page-item-inside-custom {
    padding: 12px 0 0 0;
}

.page-item-inside .expanded-content,
.page-item-inside .item-statistics {
    padding-bottom: 1ex;
}

.expanded-content {
    padding-right: 10px;
}

.expanded-content button {
    vertical-align: bottom;
}

.expanded-content .rbc-icon-checkmark:before,
.expanded-content .rbc-icon-cross2:before {
    font-size: 18px;
    margin-top: 2px;
    display: inline-block;
}

ul.page-list li .page-item-inside > table {
    table-layout: fixed;
    position: relative;
    border-collapse: separate;
    padding: 0;
}

ul.page-list li > .page-item-inside > table.item-collapsed {
    padding-bottom: 8px;
}

.is_container > .page-item-inside {
    cursor: pointer;
    padding-left: 12px !important;
    color: #555 !important;
    border: none !important;
}

.is_container > .page-item-inside:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    right: 0;
    background-color: #FDFDFD;;
    border-bottom: 1px dotted #F8F8F8;
    border-top: 1px dotted #F8F8F8;
}

.is_container.selected > .page-item-inside:before {
    background-color: #C2DDEF;
}

.is_container .is_container > .page-item-inside:before {
    top: -1px;
}

.page-item-right-icon {
    float: right;
    width: 16px;
    text-align: center;
    height: 16px;
}

.page-item-subitems-expander {
    display: inline-block;
    width: 12px;
    height: 12px;
    color: darkgray;
    margin-left: 2px;
}

ul.page-list li .handle.ajax-indicator:before {
    display: none;
}

ul.page-list li .expander:before {
    content: '\e17a';
}

ul.page-list li .item-collapsed .expander:before {
    content: 'a';
}

/*ul.page-list li.selected > .page-item-inside .expander:before {*/
    /*color: #e4e4e4;*/
/*}*/

.handle.ajax-indicator {
    background-position: 0 0;
}

.handler.ajax-indicator:before {
    visibility: hidden;
}

.handle {
    display: inline-block;
    text-align: center;
}

.page-item-read-only > .page-item-inside .handle {
    opacity: 0.4;
}

.page-item ul {
    margin-left: 32px;
}

.page-item-inside-deemphasize .icon-tag,
.page-item-inside-deemphasize .icon-record,
.page-item-inside-deemphasize .tag-item {
    opacity: 0.5;
    color: #666 !important;
}

.is_container > .page-item-inside .item-name-value,
.page-item-inside-deemphasize .item-name-value {
    opacity: 0.5;
}

.is_container > .page-item-inside .item-name-value {
    font-size: 16px;
}

.is_container > ul > .is_container > .page-item-inside .item-name-value {
    font-size: 14px;
}

ul.page-list li .item-collapsed .expanded-content {
    display: none;
}

.add-new-item-icon, .handle.icon-info, .handle.icon-forbidden {
    position: absolute;
    top: 12px;
    left: 6px;
    font-size: 7px;
}

ul.page-list li.page-item-blank .add-new-item-icon:before {
    font-size: 12px;
    content: '\e0b4';
}

.mp-panel.disabled ul.page-list li.selected > .page-item-inside {
    background: #DDD !important;
}

ul.page-list li.selected > .page-item-inside .temporaryhighlight {
    background: #5792B6;
}

.mp-panel ul.page-list li.selected.is_container > .page-item-inside > .item-contents {
    margin-top: 0; /* decompensate (see "compensate" above) */
}

.item-statistics {
    padding-top: 1ex;
}

.item-statistics table {
    width: 95%;
}

.item-statistics table td {
    padding: 2px;
    border-top: 1px dotted silver;
}

.item-statistics table td:first-of-type {
    padding-right: 6px;
}

.item-statistics table tr:first-of-type td {
    border-top: none;
}

div.page-item-inside.disallow-drop {
    opacity: 0.4;
}

div.page-item-inside {
    cursor: pointer;
}

div.page-item-inside:hover {
    background-color: #F0F0F0;
}

li.is_container > div.page-item-inside,
li.page-item-blank > div.page-item-inside {
    cursor: default;
}

li.is_container > div.page-item-inside:hover,
li.page-item-blank > div.page-item-inside:hover {
    background-color: transparent;
}

.mp-panel .item-counter {
    background: inherit;
}

.mp-panel li.selected > .page-item-inside .item-counter {
    border-color: #FFF;
    opacity: 0.7;
}

.mp-closed-block {
    background-color: #f8f8f8;
}

label .label {
    margin-bottom: 1ex;
    height: auto !important;
}

.mp-custom-html {
    margin: 2px 6px 10px 10px;
}

ul.workspace_history li {
    margin: 0.5ex auto;
    list-style: square outside;
}

.page-item-id {
    display: none;
}

.page-item-left-icon {
    text-align: center;
    display: inline-block;
    width: 12px;
    height: 12px;
    position: relative;
}

.scroll-holder {
    width: 6px;
}

.expander-holder {
    width: 24px;
}

.counter-cell {
    width: 45px;
}

.page-item .undo-resort,
.page-item .item-counter {
    display: block;
    float: right;
    font-size: 11px;
    line-height: 12px;
    height: 12px;
    padding: 1px 4px;
    min-width: 13px;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid;
    color: #737373;
}

.page-item .undo-resort {
    border-color: #CECECE;
}

.page-item .item-counter {
    border-color: #F0F0F0;
    background-color: #f0f0f0;
}

.item-like-counter {
    display: inline-block;
    font-size: 11px;
    float: right;
    line-height: 12px;
    margin-right: 3px;
    height: 12px;
    padding: 1px 5px;
    min-width: 11px;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #F0F0F0;
    color: #737373;
    background: #f0f0f0;
}

.page-item .undo-resort {
    display: inline-block;
    margin-right: 3px;
}

.undo-resort .rbc-icon-revert:before {
    position: relative;
    top: 1px;
}

.page-item .input-name {
    margin-top: -6px;
    margin-bottom: 3px;
}

.page-item textarea.input {
    resize: none;
}

.page-item-parent-candidates {
    margin-top: 1ex;
    margin-right: 20px;
}

.page-item-parent-candidates select {
    width: 100%;
    margin-bottom: 1ex;
    font-size: 14px;
}

.page-item-blank .input {
    background: inherit;
    border: none;
    box-shadow: none;
    margin-bottom: -3px;
}

.page-item-blank .handle:before {
    color: #CCC;
}

.page-item-error {
    background: #FCC;
}

.ui-draggable-helper {
    padding: 1ex !important;
    background: #FFF;
    opacity: 0.9;
    border-radius: 5px;
    border: 1px solid silver;
    -webkit-box-shadow: 4px 4px 4px rgba(50, 50, 50, 0.5);
    -moz-box-shadow: 4px 4px 4px rgba(50, 50, 50, 0.5);
    box-shadow: 4px 4px 4px rgba(50, 50, 50, 0.5);
    cursor: move;
    max-width: 400px;
    font-size: 13px;
}

.ui-draggable-helper ul li {
    width: 100%;
    white-space: normal;
    text-overflow: ellipsis;
}

.task-sortable-placeholder {
    outline: 2px solid #888;
    list-style-type: none;
    z-index: 1;
}

.task-sortable-placeholder.mjs-nestedSortable-error {
    outline: 2px solid #CC0000;
}

@-moz-document url-prefix() {
    .task-sortable-placeholder {
        outline: 1px solid #888;
        margin-top: -1px;
        background: #888;
        height: 1px;
    }
    .task-sortable-placeholder.mjs-nestedSortable-error {
        outline: 1px solid #CC0000;
        background: #CC0000;
    }
}

.draggable-ghost {
    opacity: 0.5;
}

.temporaryhighlight {
    background: #EEE;
}

.workload-row .rbc-icon-arrow-expand {
    opacity: 0.6;
    font-size: 17px;
}

.workload-row .rbc-icon-calendar {
    width: 24px;
    height: 24px;
    display: inline-block;
    opacity: 0.6;
}

.workload-row .rbc-icon-calendar:before {
    vertical-align: middle;
}

.tag-item {
    text-transform: capitalize;
}

.full-calendar {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 13px !important;
}

.mp-content-cell.scrolled-down .mp-content-scroll-shadow-place:before {
    display: block;
    content: ' ';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    height: 6px;
    left: 0;
    right: 0;
    border-top: 1px solid #D0D0D0;
}

.page-item-inside {
    position: relative;
    overflow: hidden;
}

div.page-item-inside.disable-hover:hover {
    background-color: transparent;
}

.is_container .page-item-inside {
    overflow: visible; /* undo above 'hidden', so :before block will support negative margin-left */
}

.task-edge-color {
    position: absolute;
    left: -1px;
    top: 1px;
    bottom: 1px;
    width: 4px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.task-edge-color .task-edge-color-white-overlay {
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    position: absolute;
}

.task_prev_next {
    float: right;
    margin-left: 10px;
    margin-top: -4px;
}

.task_prev_next .disabled {
    opacity: 0.4;
}

.task-square-color {
    border-radius: 2px;
    /*box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset -1px -1px 0 rgba(0, 0, 0, 0.15);*/
    vertical-align: middle;
    margin-top: -2px;
}

.task-table-nowrap {
    white-space: nowrap;
}

.task-name-td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;

}

td.task-table-prop {
    font-size: 11px;
}

.full-calendar .fc-today {
    background-color: #fff7f4 !important;
}

.item-contents {
    padding: 0 3px;
    width: 100%;
}

.mp-panel-hint {
    color: #999;
}

.extra-expanded-item-info {
    padding-left: 24px;
}

.task-card-object {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 1px;
    border-radius: 3px;
    height: 22px;
    font: 13px OpenSans, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    position: relative;
}

.task-card-object-contents {
    height: 100%;
    overflow: hidden;
}

.task-card-object a {
    color: #555 !important;
    text-decoration: none;
    line-height: 20px;
}

.task-card-object a:hover {
    text-decoration: underline;
}

.task-card {
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1)
}

.rightSortable .task-card-object,
.rightSortable .cardObjectSortablePlaceholder {
    float: right;
    margin-left: 0;
}

.leftSortable .task-card-object,
.leftSortable .cardObjectSortablePlaceholder {
    float: left;
    margin-right: 0;
}

.cardSortableArea.ui-sortable {
    min-height: 30px;
}

.task-row-wrap {
    display: table;
    width: 100%;
}

.task-row {
    display: table-row;
    width: 100%;
}

.task-rows {
    overflow: hidden;
}

.cardSortableArea {
    display: table-cell;
}

@media all {
    /** Just a group of tweaks and special rules for certain card objects **/
    .task-card-object-type_summary2 {
        font-size: 11px;
        line-height: 11px;
        height: 26px;
    }

    .task-card-object-type_summary3 {
        font-size: 13px;
        line-height: 16px;
        height: 50px;
    }

    .task-card-object-type_image {
        height: 100px;
        float: none !important;
    }

    .task-card-object__name-wrapper {
        font-size: 12px;
    }

    .task-card-object__image-wrapper {
        background-size: 100%;
        background-position: 50% 50%;
        background-repeat: no-repeat no-repeat;
        height: 100%
    }

    .task-size-3 .task-card-object-type_summary3 {
        font-size: 13px;
        line-height: 16px;
        height: 67px;
    }

    .task-size-1 .task-card-object-type_summary1 {
        height: 19px;
    }

    .task-card-object-type_tags {
        height: 100%;
        max-height: 50px;
    }

    .task-card-object-type_tags .icon-tag {
        padding-left: 3px;
    }

    .task-card-object-type_human_readable_id {
        font-size: 12px;
    }

    .task-card-object-type_owner {
        padding: 2px;
    }

    .task-card-object-type_assignee1 img,
    .task-card-object-type_assignee3 img {
        margin-right: 1px;
    }

    .task-card-object-type_attachments .task-card-object-contents {
        padding-left: 5px;
    }
}

.appointment-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.appointment-progress-thin {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
}

.percent-difference {
    font-size: 18px;
    line-height: normal;
    margin-top: -30px;

}

.gauge-info-table td {
    text-align: center;
    font-size: 12px;
}

.no-margin-left {
    margin-left: 0;
}

.selected .program-account-tag {
    color: #FFF;
}

.page-item.load-more .load-more-icon {
    color: #A8A8A8;
}

.page-item.load-more .item-name-value {
    font-family: monospace;
    font-size: 0.9em;
}

/*virtualization*/
li.item-ghost {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*calendar panel*/

.mp-content-calendar .ui-datepicker-multi-12 {
    width: 240px !important;
}

.mp-content-calendar .ui-datepicker-month,
.mp-content-calendar .ui-datepicker-year,
.mp-content-calendar .ui-widget-content {
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    /*font-weight: normal;*/
}

.mp-content-calendar .ui-widget-header a {
    opacity: .3;
}

.mp-content-calendar .cal-checkbox-th {
    width: 25px;

}

.mp-content-calendar .cal-checkbox-td {
    text-align: center;
    vertical-align: middle;
}

.dp-week-selected > td[data-handler] > a,
.dp-week-selected > td.dp-checked {
    color: #fff;
}

.mp-content-calendar .ui-datepicker {
    border-radius: 0;
    padding: 0;
}

.mp-content-calendar .ui-widget-content {
    border: 0;
}

.mp-content-calendar .ui-widget-header {
    background: none;
    border: 0;
    border-top: 1px dotted #f8f8f8;
    border-radius: 0;
}

.mp-content-calendar .ui-datepicker-group:first-child .ui-widget-header:first-child {
    border-top: 0;
}



.mp-content-calendar a.ui-state-default {
    border: none;
    background: none;
}

.mp-content-calendar .cal-checkbox {
    opacity: .4;
}

.mp-content-calendar .cal-checkbox:checked {
    opacity: 1;
}

/*people panel*/
.pp-user-icon {
    border-radius: 3px;
    vertical-align:middle;
}

.pp-online-status {
    color: #CBCBCB;
    font-size: 10px;
    margin-left:2px;
}

.pp-online-status.online {
    color: #69C427;
}

.pp-name {
    vertical-align:middle;
    padding-left:2px;
}

.mp-content-people .item-contents {
    padding:0;
}
/*end of people panel*/

/*stream panel*/
.mp-content-stream .page-item {
    background: #fff;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #F8F8F8;
}

.mp-stream-my-wall {
    background-color: #fff;
}

.mp-content-stream .stream-spacer {
    height: 10px;
    margin-top: 13px;
    width: 92% !important;
    border-top: 1px solid #E2E2E2;
    display: inline-block;
}
/*end of stream panel*/

/*appointment list*/
.appointment-list .page-item-inside {
    padding-left: 8px;
}

.mp-content > ul.page-list:first-child > .page-item:first-child > .page-item-inside,
.mp-content > ul.page-list:first-child > .page-item:first-child > .page-item-inside:before,
.mp-content > ul.page-list:first-child > .page-item:first-child {
    border-top: 0 !important;
}

/*end of appointment list*/
.expander:hover {
    color: #000;
}

.expander.expanded:before {
    content: '\e17a';
}

.mp-closed-list .hide-filters .rbc-icon-gear {
    float: left;
}

.mp-closed-list li.hide-filters {
    padding-left: 8px;
    padding-top: 11px;
    padding-bottom: 6px;
}

.vertical-filters .mp-closed-list li.hide-filters {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.hide-filters .rbc-icon-gear:before {
    font-size: 16px;
}

.vertical-filters .hide-filters .rbc-icon-gear {
    margin-top: 4px;
    margin-left: 8px;
    height: 32px;
}

.page-item-subitems-expander .rbc-icon-arrow-expand {
    line-height: 20px;
}

.mp-money-wrapper {
    border-top: 1px solid #F8F8F8;
    border-bottom: 1px solid #F8F8F8;
    background-color: #FCFCFC;
}

.mp-money-wrapper th {
    text-transform: lowercase;
    font-variant: small-caps;
    color: #858585;
    font-size: 14px;
}

.mp-money-wrapper table {
    margin-top: 5px;
}

.mp-money-wrapper table tr {
    line-height: 18px;
}

.mp-money-wrapper table tr:nth-child(even) {
    background-color: #f3f3f3;
}

.mp-money-wrapper table tbody tr:hover {
    background-color: #529AD5;
    color: #fff;
}

.mp-money-row-name {
    padding-left: 10px;
    text-transform: lowercase;
    font-variant: small-caps;
    -webkit-font-smoothing: antialiased;
    color: #858585;
    font-size: 14px;
    vertical-align: middle;
}

.mp-money-wrapper table tbody tr:hover .mp-money-row-name {
    color: #fff;
}

.mp-money-percent-column {
    width: 10%;
    text-align: right;
    padding-right: 15px;
}

.mp-money-wrapper .money-currency-info {
    margin-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.mp-money-header {
    padding-left: 10px;
    line-height: 28px;
    cursor: pointer;
}

.mp-money-header [class^="rbc-icon-"]:before,
.mp-money-header [class*="rbc-icon-"]:before {
    position: relative;
    top: 1px;
    left: -1px;
}

.mp-content-task_details {
    padding-left: 7px;
    box-sizing: border-box;
}

.mp-sch-add-to-program {
    margin-right: 12px;
    float: right;
    position: relative;
}

.mp-sch-choose-rate {
    position: absolute;
    z-index: 4;
    border-radius: 4px;
    padding: 7px;
    width: 400px;
    box-shadow: 1px 1px 3px #F8F8F8;
    background-color: #fff;
    right: 0;
    border: 1px solid #f8f8f8;
}

.mp-sch-rate-table {
    width: 100%;
}
.mp-sch-rate-table td {
    vertical-align: middle;
}

.mp-sch-rate-label {
    font-size: 13px;
    color: #888;
    text-align: center;
}

.mp-sch-rate-table col {
    width: 60px;
}
.mp-sch-rate-table col:first-child {
    width: 140px;
}
.mp-sch-rate-table col:last-child {
    width: 80px;
}

.mp-sch-rate-category {

}
.mp-sch-rate-costs td {
    padding: 0 3px;
    font-size: 13px;
}
.mp-sch-rate-costs td:first-child {
    font-size: 12px;
}
.mp-sch-rate-costs input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding-top: 3px;
    padding-bottom: 2px;
}

.mp-sch-rate-costs select {
    padding-left: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    width: 80px;
}
.mp-sch-rate-category .rbc-icon-cross {
    float: right;
    font-size: 12px;
    cursor: pointer;
}

.mp-sch-rate-category td {
    padding: 4px 0;
}

.mp-sch-rate-actions td {
    padding-top: 14px;
}

.mp-outer-search-wrapper {
    padding: 6px 4px;
}

.mp-outer-search-wrapper .smart-search {
    background-color: #FDFDFD;
}

.mp-outer-search-cell {
    position: relative;
}

.mp-outer-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    line-height: 15px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mp-hide-empty {
    line-height: 15px;
}

.mp-content-task li.selected > .page-item-inside,
.mp-content-task li.selected > .page-item-inside:hover {
    color: #444 !important;
}


/*styles for task time blocks (used by Worklogs and Schedule views)*/
.time-blocks-wrapper {
    border: 1px solid #ccc;
    padding: 6px;
    background-color: #FCFCFC;
    border-radius: 4px;
    clear: both;
}

.time-blocks-label {
    color: #aaa;
}

.time-block {
    display: inline-block;
    border: 1px solid #ccc;
    margin-right: 10px;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    background-color: #fff;
    z-index: 200;
}

.time-block.time-block-current {
     border: 1px solid #3475B6;
     background-color: #498DD1;
     color: #fff;
 }
.time-block.time-block-disabled {
     color: #afafaf;
     border: 1px dashed #ccc;
 }
/*end of styles for task time blocks*/


/*Styles for New item for Task and Deliverable panel*/
.ni-flex-box-wrapper > .page-item-inside {
    margin: 0;
    padding: 10px 0 !important;
}
.ni-flex-box {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding-top: 1px;
}
.ni-flex-item {
    align-self: auto;
    min-height: auto;
}
.ni-entity-type {
    flex: 0 1 auto;
    min-width: 30px;
    padding-left: 2px;
}
.ni-entity-type > select{
    display: none;
}
.ni-add-icon {
    flex: 0 1 auto;
    min-width: 20px;
    text-align: center;
    color: #aaa;
}
.ni-add-icon > .ajax-indicator:before {
    display: none;
}
.ni-add-icon > span {
    position: relative;
    display: block;
    height: 10px;
    width: 10px;
}

.ni-add-icon > span:before {
    position: absolute;
    font-size: 10px;
    top: 0;
    left: 6px;
}
.ni-name {
    flex: 1 1 auto;
    padding-left: 4px;
    padding-right: 6px;
    box-sizing: border-box;
}
textarea.ni-name-textarea {
    display: block;
    width: 100%;
    border: 0;
    background: inherit;
    box-shadow: none;
    line-height: 20px;
    vertical-align: middle;
    padding: 0;
    resize: none;
}
textarea.ni-name-textarea:focus {
    outline: 0;
}
span.ni-select {
    display: block;
    border: 0;
    padding-right: 0;
    border-radius: 0;
    margin: 0;
    height: auto;
    line-height: normal;
}
span.ni-select.focus {
    box-shadow: none !important;
}
span.ni-select.select-clone {
    background-color: transparent;
}

span.ni-select > .select-arrow {
    display: none;
}
span.ni-select > select {
    border: 0;
    display: none;
}
span.ni-select > .select-value {
    position: static;
    border-radius: 0;
    border: 0;
    color: #aaa;
    background-color: #FCFCFC;
    padding: 0 3px;
    margin: 0;
}



span.select.ni-select > .drop-down {
    padding-top: 0;
    top: -4px;
    z-index: 100;
}
span.select.ni-select.reversed > .drop-down {
    top: auto;
    bottom: 0;
}
/*End of styles for New item for Task and Deliverable panels*/

.tag-square-color {
    border-radius: 2px;
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 3px;

}

.stage-highlighted {
    color: #498DD1 !important;
}


/* MARKET PANEL STYLES */

.market__body {

}

.market_title-block{
    display:inline-block;
    margin-right:20%;
}

.market__budget-block {
    display:inline-block;
    position:absolute;
    text-align: right;
    right: 0;
    top: 26px;
    padding: 0 10px 0 0;

}

.market__header {
    position: relative;
    padding-right: 20px;
}

.market__header-left{
    display:inline-block;
    float: left;
    width:75%;
    margin-bottom: 15px;
}

.market__header-right{
    display:inline-block;
    float: right;
    width: 20%;
    text-align:right;
    padding-top:2px;
}

.market__subhead_light{
    padding:10px 0 0 0;
    color:darkgray;
}

.market__deal-info{
    padding:10px 0 10px 0;
    color:grey;
    text-align:center;
}

.market-talent__accordion {

}

.market__user-name {
    font-size: 16px;
    font-weight: bold;
    padding: 0 0 20px 0;
}

.market__description_short {
    width:100%;
}

.market-talent__header {
    padding: 20px 0 0 0;

}


.market__budget-value{
    font-size: 16px;
    font-weight:bold;
}
.market__story-point-value{
    font-size: 14px;
    margin-top: 5px;
}
.market__due-date-value{
    font-size: 12px;
}




/*
////////////////////////////
////TALENT PANEL STYLES/////
////////////////////////////
*/



.talent{
    // border-top: 1px solid #f9f9f9;
    padding: 24px 15px 10px 15px;
    color: #666;
    cursor: default;
}

.selected .talent{
    // background-color: #f8f8f8;
    position: relative;
}
.talent--collapsed .talent__accordion{
    max-height: 64px;
    padding: 0 20px 0 20px;
}

.selected .talent:before{
    content: "";
    position: absolute;
    width: 2px;
    background-color: #da7959;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.talent__header-left{
    float: left;
    width: 50px;
    padding: 10px 0 0 0;
}
.market-place .talent__avatar{
    float: left;
}

.talent__avatar{
    width: 50px;
    height: 50px;
    margin: 0 15px 5px 0;
    text-align: center;
    letter-spacing: 0;
    font-size: 0;
    border-radius: 50%;
    border: 1px solid #f2f2f2;
    overflow: hidden;
}

.talent__avatar:after{
    content: "";
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
    }
.talent__avatar > img{
    max-width: 100%;
    max-height: 100%;
    letter-spacing: normal;
    border: none;
    vertical-align: middle;
    display: inline-block;
    margin: 0 auto;
}

.talent__header-info{
    position: relative;
    margin-left: 55px ;
    padding:10px 0 0 20px;
}

.talent__subtitle_user-name{
    font-size: 14px;
    font-weight: bold;
    padding:  4px 0 5px 0;
}

.talent__user-name{
    font-size: 16px;
    font-weight: bold;
    padding:  4px 0 5px 0;
}
.talent__skill-scale{
    position: absolute;
    right: 0;
    top: 10px;
}

.talent__skill-scale-value{
    position: absolute;
    right: 20px;
    top: 0;
}

.talent__tagline{
    margin-top: 0px;
}

.talent__skill-scale-decoration{
    position: relative;
    width: 10px;
    height: 20px;
    border: 1px solid #7c7c7c;
    border-radius: 2px;
    color: #7c7c7c;
    background-image: linear-gradient(to top, #82ca9c 0, #82ca9c  1%, transparent 1%);
}

.talent__skill-scale-decoration:after{
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 60%;
    height: 1px;
    background-color: #7c7c7c;
    z-index: 2;
}

.talent__skill-scale-decoration:before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 2px;
    left: 0;
    right: 60%;
    background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 2px, #7c7c7c 2px , #7c7c7c 3px );
    z-index: 2;
}
.talent__geo{
    clear: both;
}

.talent__geo-item{
    display: inline-block;
    margin-right: 10px;
}


.talent__header-control{
    display: inline-block;
    margin-right: 10px;
    padding: 14px 10px 0px 2px;
    border-radius: 3px;
    background-color: transparent;
    transition: background-color .3s;
    color:darkgray;
}
.talent__header-control:hover{
    cursor: pointer;
    background-color: #eee;

}
.talent__header{

    position: relative;
    padding-top:10px;
}
.talent__header-control-circle{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #386e6e;
}

.talent__header-control--likes > span:first-of-type{
    color: #da7959;
}
.talent__more-btn{
    position: relative;
    margin: 10px -15px 0;
    padding: 10px;
    font-size: 12px;
    text-align: center;
    color: #38353f;
    cursor: pointer;
}
.talent__more-btn:hover{
    background-color: #e8e8e8;
}
.talent__more-btn:before,
.talent__more-btn:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 1;
}
.talent__more-btn:before{
    left: 0;
    right: 0;
    height: 1px;
    background-color: #f4f4f4;
    margin-left: -30px;
}

.market__bottom-border {
    border: 1px solid #f4f4f4;
    border-width: 0 0 1px 0;
    height:20px;
    text-align:center;
}

.talent__more-btn:after{
    width: 8px;
    height: 8px;
    background-color: #fff;
    border: 1px solid #f4f4f4;
    border-width: 1px 1px 0 0;
    margin-left: -4px;
    transform: rotate(-45deg);
    transform-origin: 100% 100%;
}

.talent--collapsed .talent__more-btn:after{
    // background-image: linear-gradient(135deg, transparent 0, transparent 50%,  #f9f9f9 50% );
    background-color: #fff;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg) translateY(8px);;
    }

.talent--collapsed .talent__more-btn:hover:after{
    background-color: #e8e8e8;;
}

.talent__accordion{
    max-height: 9999px;
    transition: max-height 1s;
    overflow: hidden;
}
ul.skill-list,
ul.role-list{
    list-style-type: none;
    padding: 15px 0 0 0;
    margin: 0;
}
.skill-list__item{
    display: inline-block;
    margin-bottom: 5px;
    color:darkgray;
}

.skill-list__dicipline-indent{
    width:21px;
    margin-left:6px;
    text-align:right;
}

.skill-list__task-indent{
    width:33px;
    margin-left:18px;
    text-align:right;
}

.skill-list__level-indent{
    width:45px;
    margin-left:24px;
    text-align:right;
}


.skill-list__item:not(:last-child){
    margin-right: 25px;
}

.skill-list__dot-white {
    background-color: #ffffff;
    position: relative;
    padding: 2px 10px 2px 25px;
    display: inline-block;
    border-radius: 10px;
    margin-right: 10px;
}

.skill-list__dot-level{
    position: relative;
    padding: 2px 10px 2px 10px;
    display: inline-block;
    background-color: #f4f4f4;
    border-radius: 10px;
    margin-right: 10px;
}


.skill-list__dot{
    position: relative;
    padding: 2px 10px 2px 25px; 
    display: inline-block;
    background-color: #f4f4f4;
    border-radius: 10px;
    margin-right: 10px;
}
.skill-list__sign{
    position: absolute;
    background-color: #fff;
    width: 18px;
    line-height: 18px;
    border: 1px solid;
    border-color: #498cb6;
    color: #498cb6;
    font-size: 13px;
    border-radius: 50%;
    padding-left:1px;
    vertical-align: center;
    text-align: center ;
    top: 0;
    left:0px;
    text-transform: uppercase;
}



.role-list{
    width: 90%;
    position: relative;
    /* border-top: 1px solid #f9f9f9; */
    margin-bottom: 5px;
    color:darkgray;
}

.role-list__label{
    width: 70%;
    float: left;
    overflow: auto;
}
.role-list__rate{
    width: 30%;
    float: right;
    overflow: auto;

    text-align: right;
}
.talent__bio, .market__description {
    padding: 15px 0 0 0;
    color:darkgray;
}

.view-count{
    display: block;
    text-align: center;
    font-size: 10px;
    opacity: .6;
}
.view-count-value{
    display: block;
    line-height: 1;
}



.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}

/* Application-wide Formatting */
.currency {
    font-size:80%;
    text-transform:uppercase;
    padding-left:5px;
}
.per_hour {
    padding-left:5px;
}
.per_hour:before {
    font-size:80%;
    content: " / "
}
.per_hour:after{
    content: rbc-icon-clock;
}