.tasksWindow{
    
    background-color: #f1f1f1;
    padding: 0px;
    padding-bottom: 20px;
    
}

.tasksHeader{
    color: darkslategray;
    border-bottom: 1px solid white;
    padding: 10px;
    background-color: #e4e4e4;
}
.tasksHeader .heading{
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.tasksHeader #lock{
    display: inline-block;
    background-image: url(lock.png);
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    float: right;
    filter: contrast(0.2) brightness(1.5);
}

.tasksHeader #lock.locked{
    filter: none;
}

.progressBar{
    font-size: 0px;
}

.positive{
    padding: 15px 0px;
    box-sizing: border-box;
    width: 30%;
    display: inline-block;
    background-color: darkcyan;
    font-size: 16px;
    color:white;
    transition-property: width;
    transition-duration: 500ms;
    transition-timing-function: ease-in-out;
}

.negative{
    padding: 15px 0px;
    box-sizing: border-box;
    width: 70%;
    display: inline-block;
    background-color: darkgray;
    font-size: 16px;
    color:white;
    transition-property: width;
    transition-duration: 500ms;
    transition-timing-function: ease-in-out;
    
}

.tasksForm{
    padding: 20px;
    width: 95%;
    margin: auto;
    margin-top: 20px;
    background-color: snow;
}

.taskBox{
    width: 15px;
    height: 25px;
    background-color: white;
    
}

.task input[type=checkbox]:not(old){
  width   : 28px;
  margin  : 0;
  padding : 0;
  opacity : 0;
  vertical-align: middle;
}

.task input[type=checkbox]:not(old) + label{
  display      : inline-block;
  margin-left  : -28px;
  padding-left : 38px;
  background   : url('checks.png') no-repeat 0 0;
  line-height  : 25px;
}

.task input[type=checkbox]:not(old):checked + label{
  background-position : 0 -24px;
}

.task{
    font-family: sans-serif;
    margin-bottom: 10px;
    transition-property: opacity;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
}

#newItem.newItem{
    height: 40px;
    width: 30%;
    padding-left: 15px;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
}

.dangerFlag{
    display: inline-block;
    padding: 5px 15px;
    background-color: #ff0000;
    color:white;
    margin-left: 15px;
    margin-right: 15px;
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0.2;
    cursor: pointer;
    float: right;
}

.urgentFlag{
    display: inline-block;
    padding: 5px 15px;
    background-color: black;
    color:white;
    margin-right: 15px;
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0.2;
    cursor: pointer;
    float: right;
        
}

.task .urgentFlag.urgent{
    opacity: 1;
}

.task .dangerFlag.danger{
    opacity: 1;
}

.taskDone{
    opacity: 0.3;
    transition-property: all;
    transition-duration: 1000ms;
    transition-timing-function: ease-in-out;
}

.taskDone label{
     text-decoration: line-through;
    
}

#percentDone,#percentLeft{
    display: inline-block;
    margin-left: 15px;
}

.commentButton{
    display: inline-block;
    font-size: 10px;
    margin-left: 15px;
    cursor: pointer;
    vertical-align: middle;
    
}

.commentButton strong{
    font-size: 12px;
    display: inline-block;
    background-color: red;
    color: white;
    padding: 0px 5px;
}

.commentButton:after{
    display: inline-block;
    width: 0px;
    height: 0px;
    content: "";
    border:5px solid red;
    margin-left: 5px;
    margin-top: 5px;
    vertical-align: middle;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    
    
}

.commentButton.opened:after{
    margin-top: 0px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom-color:red;
}

#hideDone{
    
        float: right;
    display: inline-block;
    margin-right: 10px;
    font-size: 10px;
    vertical-align: middle;
    background-color: cadetblue;
    color: white;
    padding: 0px 5px;
    cursor: pointer;
}

.tasksForm.hideDone .taskDone{
    opacity: 0;
    -webkit-opacity: 0;
    height: 0!important;
    overflow: hidden;
    margin-bottom: 0px!important;
}

.noTasks{
    font-size: 18px;
    color: dimgrey;
    display: block;
    margin-bottom: 20px;
    
}
.comment{
    background-color: #dcdcdc;
    color: white;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    display: none;
}

.comment .commentArea{
    height: 100px;
    background-color: white;
    padding: 0px 15px;
    background-image: url(/jacktheplanner/line.jpg);
    background-size: 16px;
    line-height: 25px;
}

.comment input{
    padding: 10px;
    height: 32px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: baseline;
}

.comment .dateCreated{
    height: 10px;
    line-height: 10px;
    background-color: #efefef;
    color: grey;
    border: 1px solid #c5c5c5;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    display: inline-block;
    margin-right: 15px;
}

.comment .dateCreated:before{
    content: "Datum vytvoření: ";
    
}
.comment .noteHead{
    font-size: 13px;
    color: #717171;
    display: block;
}

.comment .saveComment{
    background-color: darkcyan;
    color: white;
    border: none;
    padding: 10px 20px;
}
.saved{
    display: none;
    margin-left: 15px;
    color: #636363;
    font-weight: bold;
    
}


.deleteTask{
    display: inline-block;
    height: 13px;
    width: 13px;
    margin-left: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(/jacktheplanner/delete.png);
    cursor: pointer;
}

.editTask{
    display: inline-block;
    height: 13px;
    width: 13px;
    margin-left: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(/jacktheplanner/edit.png);
    cursor: pointer;
}

.task .editTaskField{
    display: none;
    vertical-align: baseline;
    width: 25%;
    border-radius: 3px;
    padding: 5px;
}

.loading img{
    width: 32px;
    vertical-align: middle;
    margin-left: 15px;
    
}