/* Styles for sortable trees */


/* basic sortable tree markup - start */

.element-list-wrapper .header-container {
    font-weight: bold;
}

.element-list-wrapper .element-list {
    list-style: none;
    width: 100%;
    padding: 0;
}

.element-list-wrapper .element-container {
    padding: 8px 0;
    display: table;
    table-layout: fixed;
    width: 100%;
}
.element-list-wrapper .element-container > div {
    display: table-cell;
    padding: 0 0.3em;
    overflow: hidden;
}

.element-list-wrapper .header-container > div {
    vertical-align: bottom;
}

.element-list-wrapper li > .element-container {
    border-top: 1px solid #DDDDDD;
    transition: background-color 0.2s;
}
.element-list-wrapper li > .element-container:hover {
    background-color: #F5F5F5;
}

/* basic sortable tree markup - end */



/* sortable handlers - start */
.element-list-wrapper .element-container > .sorting {
    padding: 0;
    vertical-align: middle;
    width: 7em;
}
.element-list-wrapper .element-container > .sorting .move {
    cursor: move;
    margin-right: 0.6em;
}
.element-list-wrapper .element-container > .sorting .up,
.element-list-wrapper .element-container > .sorting .down {
    cursor: pointer;
    font-size: 0.9em;
    margin-right: 0.1em;
}
.element-list-wrapper li:first-child > .element-container > .sorting .up,
.element-list-wrapper li:last-child > .element-container > .sorting .down {
    color: #c2c2c2;
    cursor: default;
}
/* sortable handlers - end */


/* blank field to resize list */
.element-list-wrapper .element-container > .resize {
    padding: 0;
    width: 0;
}

/* name field in list */
.element-list-wrapper .element-container > .name {
    width: auto;
}

@media screen and (max-width: 1366px) {
    /* blank field to resize list */
    .element-list-wrapper .element-container > .resize {
        width: auto;
    }

    /* name field in list */
    .element-list-wrapper .element-container > .name {
        width: 15em;
    }
}

/* alias field in list */
.element-list-wrapper .element-container > .alias {
    width: 10em;
}
/* alias field in list */
.element-list-wrapper .element-container > .phone {
    width: 10%;
}

/* controls */
.element-list-wrapper .element-container > .control {
    width: 8%;
    text-align: right;
    padding-right: 1em;
}
.element-list-wrapper .element-container > .control > a {
    margin-left: 10px;
}

/* publish in list */
.element-list-wrapper .element-container > .publish-status {
    width: 7em;
    text-align: center;
}

/* position in list */
.element-list-wrapper .element-container > .position {
    width: 5em;
    text-align: center;
}

/* image in list */
.element-list-wrapper .element-container > .thumb-image {
    width: 10em;
    text-align: center;
}

/* date in list */
.element-list-wrapper .element-container > .date {
    width: 13em;
}

/* flags - start */
.element-list-wrapper .toggle-flag-container {
    text-align: center;
}
.element-list-wrapper .toggle-flag {
    text-decoration: none;
}
.element-list-wrapper .toggle-flag.glyphicon-ok-circle {
    color: #419641;
}
.element-list-wrapper .toggle-flag.glyphicon-ban-circle,
.control .glyphicon-trash {
    color: #AF294D;
}
/* flags - end */



/* Sorting controls */
.sorting-control {
    display: none;
}
.sorting-control.enabled {
    display: block;
}
.sorting-control span {
    font-weight: bold;
    display: inline-block;
    margin-right: 0.2em;
}
.sorting-control {
    margin-bottom: 0.3em;
}
/* date in list */
.element-list-wrapper .element-container > .date_shorter {
    width: 9%;
}
.element-list-wrapper .element-container > .date_only {
    width: 7%;
}
/* project in list */
.element-list-wrapper .element-container > .project {
    width: 11%;
}
/* fio in list */
.element-list-wrapper .element-container > .fio {
    width: 20%;
    padding-left: 20px;
}
.element-list-wrapper .element-container > .fio.favorite {
    background: url("../images/star_top_active.png") no-repeat scroll 0px top transparent;
}
/* todonext in list */
.element-list-wrapper .element-container > .todonext {
    width: 8%;
}
/* id_number in list */
.element-list-wrapper .element-container > .id_number {
    width: 3%;
}
/* description in list */
.element-list-wrapper .element-container > .description {
    width: 24%;
}
div.yellow a{
    color: #ffaf17;
}
div.red a{
    color: #cc3300;
}
div.green a{
    color: #008000;
}
.date_shorter a, .date_only a {
    color: #333333;
}
.element-container .no_todonext-status {
    width: 14em;
}