.alert {
    display: none;
    position: fixed;
    top: 5%;
    left: 50%;
    margin-left: -15%;
    width: 30%;
    z-index: 9999; 
}

#sec-top, #sec-bottom {
    margin-top: 5px;
    margin-bottom: 5px;
}

h1 {
    margin: 0;
}

#guest-area, #user-area, #tasks-area {
    display: none;
}

.greetings {
    display: inline-block;
    margin-right: 10px;
    min-width: 150px;
    font-weight: bold;
    text-align: right;
}

#tasks-table caption {
    border: 1px solid #ddd;
    padding: 0;
}

#tasks-table thead th {
    border-top: none;
    border-bottom: none;
}

#tasks-table thead tr:first-of-type th{
    background: #666;
    color: #fff;
}

#tasks-table thead tr.fltrow th{
    background: #999;
}

#tasks-table .flt_checklist_item label {
    margin-bottom: 0;
}

#tasks-table .div_checklist {
    height: 83px;
}

#tasks-table td p:last-of-type {
    margin-bottom: 0;
}

th, .actions {
    text-align: center;
}

tr.task-done td {
    text-decoration: line-through;
    color: #BBB !important;
}

tr.task-done td .popover {
    color: #333;
}

td.task-due {
    background: #D00;
    color: #FFF !important;
}

a.hash-link {
    display: inline-block;
}

.edit-task-link, .delete-task-link, .close-task-link {
    padding-left: 2px;
    padding-right: 2px;
}

.help-block.with-errors {
    padding: 0;
}

#tasks-area {
    position: relative;
}

#task-quick-add {
    border: 5px solid #ddd;
    padding: 10px 10px 0;
    /*width: 100%;*/
}

#task-quick-add .form-group {
    margin-left:3px;
    margin-right:3px;
}

#task-quick-add .tokenfield.form-control {
    width: 100% !important;
}

#submit-item-inline {
    width: 100%;
}

.list-group {
    margin: 0;
}

.list-group.checked-list-box {
    max-height: 100px;
    overflow: auto;
}

.list-group-item {
    padding: 5px 15px;
}

.state-icon {
    margin-right: 10px;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

* html .ui-autocomplete {
    height: 200px;
}

.invisible {
    height: 0;
    width: 0;
    position: absolute;
    top: -99999px;
}

.invalid {
    border-bottom: 1px dotted #D00;
}

.gap-bottom {
    margin-bottom: 20px;
}

#all-tags-tokenfield {
    width: 100% !important;
}

.tokenfield .token {
    margin: -1px 10px 10px 0;
}

.tokenfield .token .token-label {
    padding-left: 5px;
    padding-right: 5px;
    color: #333;
}

.tokenfield .token .close {
    padding-left: 4px;
    opacity: 0.8;
    background: #999;
    color: #fff;
    border-radius: 2px;
}

.tokenfield .token:hover .close {
    background: #666;
    opacity: 1;
}

.version {
    text-align: right;
    font-size: small;
    margin-right: 15px;
}

@media (min-width:768px) {
    #dtp-creation-date-inline input[type=text], #dtp-due-date-inline input[type=text] {
        width: 100px;
    }

    #task-quick-add .tokenfield.form-control {
        width: 150px !important;
    }

    #desc-container-inline, #desc-inline {
        min-width: 250px;
    }

    #desc-inline {
        width: 100%;
    }

    #state-inline {
        max-width: 120px;
        min-width: 100px;
    }

    #task-quick-add .help-block.with-errors {
        margin-bottom: 0;
        min-height:20px;
        font-size:11px;
    }

    #task-quick-add .help-block.with-errors ul {
        margin-bottom: 0;
    }

    #desc-container-inline {
        width: calc(100% - 210px);
    }

    #submit-item-inline {
        width: auto;
    }
}

@media (min-width:1200px) {
    #desc-container-inline {
        width: calc(100% - 940px);
    }
}
