/* ===========================================================
 *
 *  Name:          selectordie_theme_03.css
 *  Updated:       2014-07-07
 *  Created by:    Per V @ Vst.mn
 *  What?:         Custom "theme" for Select or Die
 *                 To use this theme, include this file
 *                 instead of the .selectordie.css file
 *
 *
 *  Oddny | Cogs 'n Kegs
 * =========================================================== */

/* Remove, change to fit your needs */
@import url(http://fonts.googleapis.com/css?family=Lato:400,700);

.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;

        padding: 17px;
        background-color: #ffffff;
        border: 1px solid #d5d5d5;
        /*border-radius: 3px;*/
        color: #828282;
        text-align: left;
        outline: 0;
        outline-offset: -2px; /* Opera */
        cursor: pointer !important;
    }

    /* Up/Down arrows */
    .sod_select:before,
    .sod_select:after
        {
            content: "\25B2";
            position: absolute;
            right: 15px;
            top: 12px;
            color: #bbbbbb;
            font-size: 7px;
            display: none;
        }

        /* Down arrow */
        .sod_select .sod_label:after
            {
                display: block;
                font-family: "fish";
                content: "\e75e";
                top: 50%;
                bottom: auto;
                font-size: 1rem;
                color: #dc582a;
                margin-top: -8px;
                transition: transform 0.3s ease 0s;
                position: absolute;
                right: 15px;
            }

        .sod_select.open .sod_label:after {
            /*content: "\e75f";*/
            transform: rotate(180deg);
            transition: transform 0.3s ease 0s;
        }

    /* Change the border color on hover, focus and when open */
    .sod_select:hover,
    .sod_select.open,
    .sod_select.focus
        {
            border-color: #dbdbdb;
        }

        .sod_select.focus { box-shadow: 0 0 2px rgba(0,0,0,.1); }

        .sod_select.open
            {
                /*border-radius: 3px 3px 0 0;*/
                color: #919191;
                box-shadow: 1px 2px 5px rgba(0,0,0,.1);
            }

            .sod_select.open.above
                {
                    /*border-radius: 0 0 3px 3px;*/
                    box-shadow: 1px -2px 5px rgba(0,0,0,.1);
                }

    /* When the entire SoD is disabled, go crazy! */
    .sod_select.disabled,
    .sod_select.disabled:hover
        {
            opacity: .8;
            color: #b2b2b2;
            cursor: not-allowed;
        }

    /* The "label", or whatever we should call it. Keep the first three lines for truncating. */
    .sod_select .sod_label
        {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;

            padding-right: 25px;
        }

        .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;
            min-width: 75%;
            top: 100%;
            left: 0;
            /*display: none;*/
            display: block;
            visibility: hidden;
            opacity: 0;
            height: auto;
            width: 100.5%;
            margin: 0 0 0 -1px;
            background: #fff;
            border: 1px solid #dbdbdb;
            border-top: none;
            /*border-radius: 0 0 3px 3px;*/
            box-shadow: 1px 2px 5px rgba(0,0,0,.1);
            z-index: 100;
            /*transition: all 0.2s ease 0s;*/
           /* max-height: 15rem;
            overflow: auto;*/
        }

        /* The "divider" shown above the list */
        .sod_select .sod_list_wrapper:before
            {
                content: "";
                position: absolute;
                left: 10px;
                right: 10px;
                height: 1px;
                top: -1px;
                background: #dbdbdb;
            }

        /* Shows the option list (don't edit) */
        .sod_select.open .sod_list_wrapper { 
            display: block;
            visibility: visible;
            opacity: 1;
            /*transition: all 0.2s ease 0s;*/
            top: 100%;
        }

        /* Don't display the options when  */
        .sod_select.disabled.open .sod_list_wrapper { display: none;  }

        /* When the option list is displayed above the SoD */
        .sod_select.above .sod_list_wrapper
            {
                top: auto !important;
                bottom: 100%;
                /*border-radius: 3px 3px 0 0;*/
                border-top: 1px solid #dbdbdb;
                border-bottom: none;
                box-shadow: 1px -2px 5px rgba(0,0,0,.1);
            }

            .sod_select.above .sod_list_wrapper:before
                {
                    content: "";
                    position: absolute;
                    left: 10px;
                    right: 10px;
                    height: 1px;
                    bottom: -1px;
                    top: auto;
                    background: #dbdbdb;
                }


    /* Options list container */
    .sod_select .sod_list
        {
            overflow-y: auto;
            padding: 0;
            margin: 0;
            /*border-radius: 3px;*/
            width: 100%;
        }

        /* All the options. Keep the first three lines for truncating... */
        .sod_select .sod_option
            {
                /*overflow: hidden;*/
                /*white-space: nowrap;*/
                /*text-overflow: ellipsis;*/

                position: relative;
                padding: 12px 30px 12px 15px;
                list-style-type: none;
                color: #676767;
                cursor: pointer;
            }

            /* Optgroups */
            .sod_select .sod_option.optgroup,
            .sod_select .sod_option.optgroup.disabled
                {
                    background: inherit;
                    color: #939393;
                    font-size: 10px;
                    font-style: italic;
                }

                /* Children of an optgroup */
                .sod_select .sod_option.groupchild { padding-left: 20px; }

            /* Disabled option */
            .sod_select .sod_option.disabled
                {
                    background: inherit;
                    color: #cccccc;
                }

            /* Hover state for options, also used when a user uses his/hers up/down keys */
            .sod_select .sod_option.active
                {
                    background: #fafafa;
                    color: #009ca6;
                }

            /*Make room for the check mark */
            .sod_select .sod_option.selected
                {
                    padding-right: 30px;
                    font-weight: 700;
                }

                /* Displays a check mark for the selected option */
                .sod_select .sod_option.selected:before
                    {
                        content: "";
                        position: absolute;
                        right: 15px;
                        top: 50%;
                        -webkit-transform: translateY(-50%);
                            -ms-transform: translateY(-50%);
                                transform: translateY(-50%);
                        display: inline-block;
                        color: #808080;
                        height: 9px;
                        width: 10px;
                        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMTAgOSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTAgOSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8Zz4NCgk8cGF0aCBmaWxsPSIjRDlEOUQ4IiBkPSJNNCw2LjdDMy42LDYuMywzLjUsNi4xLDMuMSw1LjdDMi42LDUuMiwyLDQuNiwxLjUsNC4xYy0wLjgtMC44LTIsMC40LTEuMiwxLjJjMC45LDAuOSwxLjksMS45LDIuOCwyLjgNCgkJYzAuNywwLjcsMS4zLDEsMiwwQzYuNyw2LDguMywzLjcsOS44LDEuNUMxMC41LDAuNSw5LTAuMyw4LjMsMC42bDAsMEM2LjcsMi45LDUuNyw0LjQsNCw2LjciLz4NCjwvZz4NCjwvc3ZnPg0K);
                    }

                /* Add a .no_highlight class to you SoD to hide the check mark */
                .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;
            }