/* ===========================================================
 *
 *  Name:          selectordie.css
 *  Updated:       2014-07-07
 *  Created by:    Per V @ Vst.mn
 *  What?:         Base CSS for Select or Die
 *
 *  Copyright (c) 2014 Per Vestman
 *  Dual licensed under the MIT and GPL licenses.
 *
 *  No, I don't usually comment my CSS, but in this
 *  case it might "help" someone.
 *
 *  Oddny | Cogs 'n Kegs
 * =========================================================== */


.sod_select,
.sod_select *
    {
        -webkit-box-sizing: border-box;
           -moz-box-sizing: border-box;
                box-sizing: border-box;
        -webkit-user-select: none;
           -moz-user-select: none;
            -ms-user-select: none;
    }

/* The SoD - Please keep this first three lines intact, otherwise all hell will break looooooose */
.sod_select
    {
        display: inline-block;
        position: relative;
        line-height: 1;

        width: 100px;
        line-height: 32px;
        border: 1px solid #000;
        background: #fff;
        color: #444;
        outline: 0;
        outline-offset: -2px; /* Opera */
        cursor: default;
    }


    /* Change the border color on hover, focus and when open */
    .sod_select:hover,
    .sod_select.open,
    .sod_select.focus { border-color: #AA9555; }

    .sod_select.open { color: #919191; }


    /* The "label", or whatever we should call it. Keep the first three lines for truncating. */
    .sod_select .sod_label
        {
            display: block;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;

            padding-right: 15px;
        }

    .sod_select .sod_prefix { /* Use this if you're using a prefix and want to style it */ }
    .sod_select .sod_placeholder { /* Use this if you're using a placeholder and want to style it */ }



    /* Options list wrapper */
    .sod_select .sod_list_wrapper
        {
            position: absolute;
            top: 100%;
            left: -1px;
            display: none;

            min-width: 100px;
            background: #eee;
            border: 1px solid #AA9555;
            border-top: none;
            color: #888;
        }

        /* Shows the option list (don't edit) */
        .sod_select.open .sod_list_wrapper { display: block;  }


    /* Options list container */
    .sod_select .sod_list
        {
            display: block;
            overflow-y: auto;
            padding: 0;
            margin: 0;
        }

        /* All the options. Keep the first three lines for truncating... */
        .sod_select .sod_option
            {
                display: block;
                position: relative;
            }


            /* Hover state for options, also used when a user uses his/hers up/down keys */
            .sod_select .sod_option.active
                {
                    background: #EDEDE4;
                    color: #575748;
                }

            /*Make room for the check mark */
            .sod_select .sod_option.selected
                {
                    font-weight: bold;
                }

                /* Add a .no_highlight class to you SoD to hide the check mark and don't bold the option */
                .sod_select.no_highlight .sod_option.selected { font-weight: 300; }
                .sod_select.no_highlight .sod_option.selected:before { display: none; }

            .sod_select .sod_option.link { /* If data-link is set on a specific option */ }
            .sod_select .sod_option.linkexternal { /* If data-link-external is set on a specific option */ }



    /* Hide native select */
    .sod_select select { display: none !important; }

        /* The native select in touch mode. Keep this first line. Sorry, keep everything. */
        .sod_select.touch select
            {
                -webkit-appearance: menulist-button;

                position: absolute;
                top: 0;
                left: 0;
                display: block !important;
                height: 100%;
                width: 100%;
                opacity: 0;
                z-index: 1;
            }









.cover_sod
        {
            font-size: 95%;
            width: 100px;
            height: 30px;
            padding-left: 5px;
            background: #fff;
            border: 1px solid #AA9555;
            border-radius: none;
            color: #575748;
        }

        .cover_sod:hover
            {
                background: #fff;
                border-color: #AA9555;
            }

        .cover_sod.open
            {
                background: #fff;
                border-color: #AA9555;
                color: #575748;
                border-radius:none;
            }

        .cover_sod.focus { border-color: #AA9555; }


        /*=arrow=*/
        .cover_sod:before
            {
                content: "";
                display: inline-block;
                background: url('../img/select.png') 0 0 no-repeat;           

                width: 10px;
                height: 7px;
                position: absolute;
                right: 10px;
                top: 12px;
            }

            .cover_sod:after { display: none; }


        .cover_sod .sod_list_wrapper
            {
                border: 1px solid #AA9555;
                border-radius: none;
                border-top: none;
                background-color: #fff;
                z-index: 99;
            }

        .cover_sod .sod_option {
            padding: 0px 8px;
        }