.transition-on .item{
    transition: 1s top, 600ms left;
}

.item-open .real-list.root [item-id] {
    pointer-events: none;
}

.item{
    position: fixed;
    top: 110%;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-bottom: 0;
}

p.item-msg {
    font-size: small;
    margin-top: 8px;
}

.item.opened{
    top: 126px;
}

.priority-list .item-description {
    height: 100px;
    overflow: auto;
    display: inline-block;
}

.item.priority-item .navigation, .item.priority-item {
    border-color: red;
}

.slim-navbar .item.opened{
    top: 0;
}

.item .label, .item .description{
    background: none;
    border: none;
    padding: 0;
    resize: none;
    width: 90%;
}

input.label[disabled] {
    color: white;
}

.item .label{
    vertical-align: middle;
    font-size: 42px;
    font-family: inherit;
}

.item .description{
    font-size: 20px;
}

.item .description.html{
    font-size: 15px;
    opacity: 0.5;
    margin-top: 15px;
}

textarea::-webkit-input-placeholder, input::-webkit-input-placeholder {
    color: #aba445;
    letter-spacing: 2px;
}

textarea:disabled{
    color: black;
}

.colors{
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 5px;
    border: 2px solid black;
    border-radius: 3px;
}

.colors.selected{
    border-color: white;
}

.item .overflow{
    max-height: 70%;
    overflow-y: auto;
}

.item[item-id=late-and-today] .overflow{
    max-height: 80%;
    overflow-y: auto;
}

.keywords{
    margin: 10px -10px;
    font-size: 14px;
}

.keywords .tag{
    padding: 5px;
    background: #00000042;
    margin: 4px;
}

.list{
    padding: 0 25px 25px 25px;
}

.warning-list{
    font-size: 200%;
    text-align: center;
    margin-top: 100px;
    display: none;
    cursor: default;
}

.transition-on .real-list span[item-id]{
    transition: 500ms background;
}

.transition-on .real-list span[item-id] .father_string{
    transition: 500ms background;
}

.real-list span[item-id]{
    margin: 10px 0;
    padding: 10px;
    font-size: 20px;
    display: inline-block;
    width: 100%;
    word-break: break-word;
    position: relative;
    white-space: nowrap;
}

.notify span[item-id]{
    margin-top: 30px;
}

.real-list span[item-id].nested-brothers{
    padding-bottom: 0;
    margin-bottom: 0;
}

.real-list span[item-id].nested{
    border-top: 1px solid #f3e85b;
}

.real-list .nested-separator{
    height: 12px;
}

.real-list span[item-id].nested .father_string{
    display: none;
}

/*.real-list span[item-id].nested{
    margin-top: -10px !important;
}

.real-list span[item-id].nested .father_string{
    display: none;
}*/

.real-list span[item-id] .searchable{
    white-space: normal;
}

.real-list span[item-id] .searchable.link{
    color: #228c87;
    text-decoration: underline;
    cursor: pointer;
}

.real-list span[item-id] video{
    max-width: 100%;
}

.flow .real-list span[item-id]{
    text-align: left;
    margin-top: 20px;
}

.notify .real-list span[item-id].nested{
    margin-top: 0px;
    margin-bottom: 0px;
}

.real-list span[item-id].pinned{
    border-left: 3px solid rgba(0, 0, 0, 0.1);
}

/*.real-list span[item-id]:hover, .real-list span[item-id]:focus, .real-list span[item-id]:hover .father_string, .real-list span[item-id]:focus .father_string{
    background: rgb(255, 243, 83) !important;
}*/

.real-list span[item-id] small{
    opacity: 0.5;
    font-size: 70%;
    /*white-space: pre-line !important;*/
    white-space: pre-wrap !important;
    overflow: auto;
    display: block;
    max-height: 300px;
}

.real-list{
    /*column-count: 3;*/
    /*column-fill: balance;*/
}

/*.real-list > span{
    width: 33%;
}

.real-list > span:nth-child(3n+1){
    clear: left;
}*/

@media screen and (max-width:1000px) {

    .real-list{
        /*column-count: 2;*/
    }
/*
    .real-list > span{
        width: 50%;
    }


    .real-list > span:nth-child(2n+1){
        clear: left;
    }
*/
}

@media screen and (max-width:640px) {

    .real-list{
        /*column-count: 1;*/
    }

/*    .real-list > span{
        width: 100%;
    }

    .real-list > span:nth-child(1n+1){
        clear: left;
    }*/

    .real-list span[item-id] small{
        max-height: 200px;
    }

}

[item-id] .x{
    visibility: hidden;
    vertical-align: middle;
    margin-top: -4px;
    display: inline-block;
}

[item-id] .x.checked{
    visibility: visible;
}

.path{
    text-align: center;
    display: none;
}

p.label-holder span.checkbox{
    font-size: 42px;
    margin-right: 8px;
    vertical-align: middle;
}

p.label-holder {
    white-space: nowrap;
}

.checkbox{
    cursor: crosshair;
}

.opened .navigation{
    top: -26px;
}

.transition-on .navigation{
    transition: 500ms margin-top ease, 200ms padding-bottom, 1s top;
}

.navigation{
    position: absolute;
    top: 0;
    right: 20px;
    padding: 5px 10px 7px 10px;
    color: #000000b8;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid #0000001c;
    border-bottom: 0;
    max-width: 215px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.item.blank .navigation{
    display: none;
}

.sub-holder{
    height: 18%;
}

.sub-holder > div{
    display: inline-block;
    vertical-align: middle;
}

.date-holder{
    border: 1px solid black;
    padding: 4px 10px;
    margin-left: 12px;
    background: #ff0071;
    color: white;
    width: max-content;
}

.date-holder input[type=date]{
    border: 0;
    background: transparent;
    margin-left: 6px;
    color: white;
}

.prazo{
    display: inline-block;
    opacity: 1 !important;
    padding: 4px 6px 2px;
    background: #5cb619;
    font-size: 12px !important;
    color: white;
    border-left: 2px solid #91ff3f;
    cursor: default;
    vertical-align: middle;
    position: relative;
}

.prazo.future{
    background: #2997a9;
    border-left: 2px solid #8c8114;
}

.prazo.today{
    background: #b5a700;
    border-left: 2px solid #8c8114;
}

.prazo.today:after {
    content: "(hoje)";
    margin-left: 5px;
    opacity: 0.8;
    position: absolute;
    right: 8px;
    top: 4px;
}

@media screen and (max-width: 500px){

    .prazo.today:after{
        top: 3px;
        right: 12px;
    }

    p.label-holder span.checkbox{
        vertical-align: middle;
        margin-top: 10px;
        display: inline-block;
    }

}

@media screen and (min-width: 500px){

    .prazo.today:hover:after, .prazo.today:focus:after {
        color: transparent;
    }

}

.prazo.late{
    background: #e24029;
    border-left: 2px solid #8c1414;
    font-weight: bold;
}

input[type=date].prazo{
    border: 0;
    color: white;
    font-weight: bold;
    padding-left: 5px;
    font-size: 11px;
    padding: 0px 0 2px 4px;
    vertical-align: middle;
    margin-top: 4px;
}


.sub-menu-items img{
    margin: 0 10px;
    cursor: pointer;
    vertical-align: middle;
}

.sub-menu-items .priotity-n{
    font-size: 0.7em;
}

p.sub-menu-items {
    margin-top: 8px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.sub-menu-items .postponed, .sub-menu-items .late{
    float: left;
    width: 22px;
}

.sub-menu-items .push-open{
    float: left;
    height: 20px;
}

.postponed{
    font-size: 0.8em;
    margin-left: 6px;
    opacity: 0.6;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    background: #fcf379;
    color: #a2990f;
    padding: 10px;
}

.overlay .outer{
    display: table;
    height: 100%;
    width: 100%;
    text-align: center;
    border: 3px dashed #ded559;
}

.overlay .outer > div{
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}

.overlay input[type=file]{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.item img, .item video{
    max-height: 100px;
    margin: 6px;
    vertical-align: middle;
    max-width: 100%;
}

.fileholder img, .fileholder video{
    margin: 10px 0 12px;
    display: block;
}

.fileholder{
    margin-bottom: 10px;
}

.item button{
    border: 0;
    font-size: 12px;
    vertical-align: middle;
    padding: 8px 10px 6px;
    border-radius: 100px;
    background: #dfd245;
    display: inline-block;
    color: black;
    font-weight: bold;
    cursor: pointer;
}

.item button:hover{
    background: #eadd4f;
}

.percent{
    display: none;
    font-size: 14px;
    vertical-align: middle;
    color: crimson;
    margin-right: 2px;
}

span[item-id]pan[item-id].has-child .percent{
    display: inline;
}

.searchbar [item-id] .father_string{
    background: #ccc340;
    padding-top: 0;
}

.have-father-string{
    margin-top: 24px !important;
}

.priority-list [item-id] .father_string{
    left: 0;
}

.father_string{
    position: absolute;
    top: -14px;
    left: 15px;
    font-size: 12px;
    background: #ccc340;
    border-top-right-radius: 10px;
    border: 1px solid transparent;
    padding-right: 10px;
    padding-left: 10px;
    border-top-left-radius: 10px;
    padding-top: 3px;
    max-width: 100%;
    overflow: hidden;
}

.search-overlay .father_string{
    top: -20px;
    left: 0;
}

a.coverfile{
    margin-right: 15px;
    color: black;
}

.father-item{
    cursor: pointer;
    max-width: 80px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
}

.father-item:hover{
    background: rgba(255, 255, 255, 0.2);
}

span[item-id].has-child {
    border-left: 3px dotted rgba(0, 0, 0, 0.1);
}

.fileholder img{
    cursor: pointer;
    border: 1px solid #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

.fileholder video{
    cursor: pointer;
    border: 1px solid #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 100px;
}

.sub-holder-toggler{
    display: none;
    padding: 12px;
    text-align: center;
    margin: 10px;
}

.sub-holder-toggler .ball{
    width: 6px;
    height: 6px;
    background: black;
    margin: 20px 10px;
    display: inline-block;
    border-radius: 100px;
    opacity: 0.4;
}

.progress{
    background: red;
    display: block;
    font-size: 0.8em;
    padding-top: 4px;
    text-align: center;
    color: white;
}

.alt-key .item-label:hover, .alt-key .item-description:hover{
    background: #e6da57;
    cursor: pointer;
}

.item-label:focus, .item-description:focus{
    background: #e6da57;
}

.item-description{
    white-space: break-spaces;
}

/*
 * @todo Permitir filtros em todos os itens
 */
.filtros{
    display: none;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.filtros label{
    display: none;
}

.filtros select{
    padding: 5px 6px;
}

[item-id=late-and-today] .filtros, [item-id=late-and-today] label.prazos-type{
    display: block;
}

[item-id=workflow] .filtros, [item-id=workflow] label.flow-type{
    display: block;
}

.tag-group .tag{
    border-radius: 4px;
    background: #f6ca65;
    padding: 3px 6px;
    margin: 0;
    display: inline-block;
    cursor: pointer;
    margin-right: 5px;
    font-size: 0.6em;
}

.tags-editor{
    /*display: block !important;*/
}

.tags-editor .tag{
    border-radius: 4px;
    background: #f6ca65;
    padding: 5px 8px;
    margin: 6px 6px 10px;
    display: inline-block;
    color: black;
    cursor: pointer;
    transition: 600ms background;
}

.tags-editor .tag:hover{
    background: #f9c141;
}

[item-id].environment-drag{
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.drag-item-droppable .father_string{
    left: 160px;
}

.drag-item-droppable .drag-tooltip {
    position: absolute;
    bottom: 100%;
    font-size: 0.7em;
    background: #c73b5a !important;
    padding: 3px 8px 1px;
    color: white;
}

.highlighted{
    background-color: #ff0071 !important;
}

.priority-list{
    text-align: center;
    white-space: nowrap;
    overflow: auto;
}

.priority-list [item-id]{
    white-space: normal;
    background: rgb(255, 243, 80) !important;
    position: relative;
    display: inline-block;
    border: 1px solid #ccc240;
    padding: 10px;
    vertical-align: middle;
    margin: 10px;
    text-align: left;
    word-break: break-all;
    max-width: 180px;
    height: 160px;
    font-size: 0.5em;
}

.priority-list [item-id]:hover{
    transition: scale(1);
}

.priority-list [item-id] img {
    max-height: 60px;
    word-break: break-all;
}

.priority-list [item-id] .fileholder button{
    display: none;
}

.priority-list [item-id] .father_string{
    background: rgb(254, 241, 80) !important;
    white-space: pre;
    border: 1px solid #ccc240;
    border-bottom: 0;
    margin-left: 5px;
    border-radius: 0;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.priority-label{
    display: block;
    margin-top: 10px;
    font-size: 0.8em;
}

.priority-label span{
    color: #ff0039;
    padding: 4px 8px 3px 8px;
    border: 2px solid #ff0039;
}

.priority-label span:hover{
    background: #ff0039;
    color: white;
}

.priority-label span:hover:before {
    content: "Remover ";
}

@media screen and (max-width: 500px){

    .priority-list{
        margin-top: 30px;
        margin-bottom: -15px;
    }

    .priority-list [item-id]{
        width: 100%;
        margin: 15px 0;
    }

}

.ctrl-key [item-id]:hover{
    outline: 2px solid #c8e583;
}

[item-id]:focus{
    outline: 2px solid #c8e583;
}

.ctrl-key [item-id]:hover .navigation{
    border-color: 1px solid #c8e583 !important;
}

.ctrl-key [item-id]:hover .father_string{
    border: 1px solid #c8e583 !important;
    border-bottom: none !important;
}

.item-selected{
    outline: 1px solid #58c1ac !important;
}

.item-selected .navigation{
    border-color: #58c1ac !important;
}

.item-selected .father_string{
    border: 1px solid #58c1ac !important;
    border-bottom: none;
}

[item-id="0"]{
    outline: 0 !important;
}

.item.fake .overflow{
    max-height: 80%;
}

.fake .sub-holder {
    display: none;
}

.fake span.father_string {
    /*left: -1px;*/
}

.show-overflow{
    text-align: center;
    padding: 10px;
}

.total-late{
    background: red;
    color: wheat;
    font-size: 0.8em;
    padding: 4px 6px 2px;
    vertical-align: middle;
    margin: 0 8px 0 0;
    border-radius: 4px;
    cursor: pointer;
}

.search-not-found{
    opacity: 0.1;
}

.review-label-paste textarea{
    width: 100%;
    height: 200px;
    resize: none;
    margin-bottom: 10px;
}

.quick-item{
    position: fixed;
    width: 10px;
    height: 10px;
    background: red;
    cursor: move;
}

.max-height-200{
    max-height: 200px;
    overflow: auto;
}

.item-button button{
    font-size: 2em;
}

.sub-holder .timer{
    margin-left: 10px;
    border: 1px dashed;
    padding: 8px 11px;
    border-radius: 30px;
}

.sub-holder .timer button{
    vertical-align: middle;
    padding: 4px;
    margin-left: 8px;
}

.late-timer{
    border: 1px solid silver;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}