﻿ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width:200px; /*button width 1/2*/
    margin: 0 auto;
    -moz-box-shadow: 0 0 5px #111;
    -webkit-box-shadow: 0 0 5px #111;
    box-shadow: 0 0 5px #111;
}

    ul li label {
        background: #575e63; /* fallback color */
        border-top: 1px solid #878e98;
        border-bottom: 1px solid #33373d;
        color: #fff;
        text-shadow: 0 1px 1px #000;
        letter-spacing: 0.09em;
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#575e63), to(#3f4347));
        background: -webkit-linear-gradient(top, #575e63, #3f4347);
        background: -moz-linear-gradient(top, #575e63, #3f4347);
        background: -moz-linear-gradient(top, #575e63, #3f4347);
        background: -o-linear-gradient(top, #575e63, #3f4347);
    } 

    ul li input[type='checkbox'] {
        display: none;
    }

    ul li label {
        display: block;
        padding: 12px;
        padding-right:0;
        padding-left:0;
        width: 200px; /*Button width 2/2*/
    }

    ul li i {
        font-size: 18px;
        vertical-align: middle;
        width: 20px;
        display: inline-block;
    }

    ul li span {
        float: right;
        background: #48515c;
        border: 1px solid #3c434c;
        border-bottom: 1px solid #707781;
        padding: 4px 12px;
        font-size: 10px;
        -moz-border-radius: 12px;
        border-radius: 12px;
        -moz-box-shadow: inset 0 0 10px #111;
        -webkit-box-shadow: inset 0 0 10px #111;
        box-shadow: 0 0 10px #111;
        position: relative;
    }

    ul li label:hover {
        background: #566f82; /* fallback color */
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#566f82), to(#3e505e));
        background: -webkit-linear-gradient(top, #566f82, #3e505e);
        background: -moz-linear-gradient(top, #566f82, #3e505e);
        background: -moz-linear-gradient(top, #566f82, #3e505e);
        background: -o-linear-gradient(top, #566f82, #3e505e);
    }


    ul li input[type='checkbox']:checked ~ label {
        background: #fff; /* fallback color */
        border-top: 1px solid #878e98;
        border-bottom: 1px solid #2799db;
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#999));
        background: -webkit-linear-gradient(top, #fff, #999);
        background: -moz-linear-gradient(top, #fff, #999);
        background: -moz-linear-gradient(top, #fff, #999);
        background: -o-linear-gradient(top, #fff, #999);
    }


    ul li input[type='checkbox']:checked ~ .options {
        height: auto;
        display: block;
        min-height: 40px;
        max-height: 300px;
    }

    ul ul {
        background: #fff;
        margin: 0;
        padding: 0;
        -moz-box-shadow: inset 0 2px 2px #b3b3b3;
        -webkit-box-shadow: inset 0 2px 2px #b3b3b3;
        box-shadow:  0 2px 2px #b3b3b3;
    }

        ul ul li a {
            display: block;
            padding: 6px 12px;
            color: #999;
            text-decoration: none;
        }

            ul ul li a:hover {
                color: #44c6eb;
            }


        ul ul li {
            border-bottom: 1px solid #ccc;
        }

            ul ul li:first-child {
                padding-top: 6px;
            }

            ul ul li:last-child {
                padding-bottom: 6px;
                border: 0;
            }

.options {
    height: 0;
    display: block;
    overflow: hidden;
}




