﻿.ul {
    margin: 0;
    padding: 0;
}

    /* Style the list items */
    .ul .li {
        cursor: pointer;
        position: relative;
        padding: 12px 8px 12px 40px;
        background: #fff;
        font-size: 16px;
        transition: 0.2s;
        padding: 8px;
        line-height: 1.42857143;
        vertical-align: top;
        border-top: 1px solid #ddd;
        /* make the list items unselectable */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        list-style-type: none;
    }

        /* Set all odd list items to a different color (zebra-stripes) */
        .ul .li:nth-child(odd) {
            background: #f9f9f9;
        }

        /* Darker background-color on hover */
        .ul .li:hover {
            background: #ddd;
            padding: 8px;
            line-height: 1.42857143;
            vertical-align: top;
            border-top: 1px solid #ddd;
        }

        /* When clicked on, add a background color and strike out text */
        .ul .li.checked {
            background: #888;
            color: #fff;
            text-decoration: line-through;
        }

            /* Add a "checked" mark when clicked on */
            .ul .li.checked::before {
                content: '';
                position: absolute;
                border-color: #fff;
                border-style: solid;
                border-width: 0 2px 2px 0;
                top: 10px;
                left: 16px;
                transform: rotate(45deg);
                height: 10px;
                width: 7px;
            }

/* Style the ClzDelete button */
.ClDelete {
    position: absolute;
    right: 0;
    top: 0;
    padding: 8px;
    line-height: 1.42857143;
    color: #337ab7;
}

    .ClDelete:hover {
        background-color: #337ab7;
        color: white;
    }

/* Style the header */
.header {
    background-color: transparent;
    padding: 5px 5px;
    color: black;
    text-align: center;
}

    /* Clear floats after the header */
    .header:after {
        content: "";
        display: table;
        clear: both;
    }
