﻿
.lead {
    font-size: 1.25em;
    line-height: 1.6em;
    text-align: left;
    margin-left: 20px;
}

* {
    /*transition*/
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    box-sizing: border-box;
    margin: 0;
}

h2 .fa-check {
    font-size: 30px;
    margin-right: 10px;
    color: #F05A28;
}

#todo-list {
    width: 100%;
    margin: 0 auto 20px auto;
    padding: 20px;
    background: white;
    position: relative;
    /*box-shadow*/
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    /*border-radius*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

    #todo-list:before {
        content: "";
        position: absolute;
        z-index: -1;
        /*box-shadow*/
        -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.4);
        -moz-box-shadow: 0 0 20px rgba(0,0,0,0.4);
        box-shadow: 0 0 20px rgba(0,0,0,0.4);
        top: 50%;
        bottom: 0;
        left: 10px;
        right: 10px;
        /*border-radius*/
        -webkit-border-radius: 100px / 10px;
        -moz-border-radius: 100px / 10px;
        border-radius: 100px / 10px;
    }

.todo-wrap {
    display: block;
    position: relative;
    padding-left: 35px;
    /*box-shadow*/
    -webkit-box-shadow: 0 2px 0 -1px #ebebeb;
    -moz-box-shadow: 0 2px 0 -1px #ebebeb;
    box-shadow: 0 2px 0 -1px #ebebeb;
}

    .todo-wrap:last-of-type {
        /*box-shadow*/
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

/*input[type="checkbox"] {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
    top: -600px;*/
    /*pointer-events: none;*/
/*}*/

.todo {
    display: inline-block;
    font-weight: 200;
    padding: 10px 5px;
    height: 37px;
    position: relative;
}

    .todo:before {
        content: '';
        display: block;
        position: absolute;
        top: calc(50% + 2px);
        left: 0;
        width: 0%;
        height: 1px;
        background: #cd4400;
        /*transition*/
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .todo:after {
        content: '';
        display: block;
        position: absolute;
        z-index: 0;
        height: 18px;
        width: 18px;
        top: 9px;
        left: -25px;
        /*box-shadow*/
        -webkit-box-shadow: inset 0 0 0 2px #d8d8d8;
        -moz-box-shadow: inset 0 0 0 2px #d8d8d8;
        box-shadow: inset 0 0 0 2px #d8d8d8;
        /*transition*/
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        /*border-radius*/
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }

    .todo:hover:after {
        /*box-shadow*/
        -webkit-box-shadow: inset 0 0 0 2px #949494;
        -moz-box-shadow: inset 0 0 0 2px #949494;
        box-shadow: inset 0 0 0 2px #949494;
    }

    .todo .fa-check {
        position: absolute;
        z-index: 1;
        left: -31px;
        top: 0;
        font-size: 1px;
        line-height: 36px;
        width: 36px;
        height: 36px;
        text-align: center;
        color: transparent;
        text-shadow: 1px 1px 0 white, -1px -1px 0 white;
    }

:checked + .todo {
    color: #717171;
}

    :checked + .todo:before {
        width: 100%;
        #003F7F
    }

    :checked + .todo:after {
        /*box-shadow*/
        -webkit-box-shadow: inset 0 0 0 2px #003F7F;
        -moz-box-shadow: inset 0 0 0 2px #003F7F;
        box-shadow: inset 0 0 0 2px #003F7F;
    }

    :checked + .todo .fa-check {
        font-size: 20px;
        line-height: 35px;
        color: #003F7F;
    }
/* Delete Items */

.delete-item {
    display: block;
    height: 36px;
    width: 36px;
    line-height: 36px;
    right: 0;
    top: 0;
    text-align: center;
    color: #d8d8d8;
    opacity: 100%;
    cursor: pointer;
}

.delete-static {
    color: #F05A28;
}

.todo-wrap:hover .delete-item {
    opacity: 100;
}

.delete-item:hover {
    color: #F05A28;
    cursor: pointer;
}
/* Add Items */

#add-todo {
    padding: 25px 0 0 0;
    font-size: 14px;
    font-weight: 200;
    color: #d8d8d8;
    display: inline-block;
    cursor: pointer;
}

    #add-todo:hover {
        color: #6bc569;
        /*transition*/
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
    }

    #add-todo .fa-plus {
        font-size: 14px;
        /*transition*/
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
    }

.input-todo:read-only {
    border: none;
    outline: none;
    font-weight: 200;
    position: relative;
    top: -1px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.editing {
    height: 0;
    overflow: hidden;
}

    .editing.todo-wrap {
        box-shadow: 0 0 400px rgba(0,0,0,.8),inset 0 0px 0 2px #ebebeb;
    }

