/* 
 * Selecter v3.1.1 - 2014-05-13 
 * A jQuery plugin for replacing default select elements. Part of the Formstone Library. 
 * http://formstone.it/selecter/ 
 * 
 * Copyright 2014 Ben Plum; MIT Licensed 
 */

.selecter {
    display: block;
    margin: 10px 0;
    position: relative;
    z-index: 0;
}

.selecter .cs__element {
    *left: -999999px;
    height: 100%;
    left: 0;
    position: absolute;
    opacity: 0;
    width: 100%;
    z-index: 0;
}

.selecter .cs__element,
.selecter .cs__element:focus {
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
}

.selecter .cs__options {
    border: 1px solid #ccc;
    border-width: 0 1px 1px;
    background-color: #fff;
    display: none;
    left: 0;
    margin: 0;
    max-height: 260px;
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
    position: absolute;
    top: 100%;
    width: 100%;
    *width: auto;
    z-index: 50;
 }
 .pdp-wrapper .selecter .cs__options {
     max-height: none;
 }

.selecter .cs__group {
    background: #F9F9F9;
    border-bottom: 1px solid #e3e3e3;
    color: #999;
    display: block;
    font-size: 11px;
    padding: 5px 10px 4px;
    text-transform: uppercase;
}

.selecter .cs__item {
    background: #fff;
    color: #333;
    cursor: pointer;
    display: block;
    font-size: 10px;
    margin: 0;
    overflow: hidden;
    padding: 2px 10px;
    text-overflow: ellipsis;
    width: 100%;
}

.selecter .cs__item.selected {
    background: #F9F9F9;
}

.selecter .cs__item.disabled {
    color: #999;
    cursor: default;
}

.selecter .cs__item:first-child {
    
}

.selecter .cs__item:last-child {
    border-bottom: 0;
}

@media screen and (min-width: 980px) {
    .selecter .cs__item:hover,
    .selecter .cs__item.selected:hover {
        /*background-color: #f3f3f3;*/
    }

    .selecter .cs__item.disabled:hover {
        background-color: #fff;
    }

    .selecter:hover .cs__selected {
        /*background-color: #fff;*/
    }

    .selecter.disabled .cs__item:hover {
        background: #fff;
    }
}

/* Open */
.selecter.open {
    z-index: 3;
}

.selecter.open .cs__selected {
    z-index: 51;
}

.selecter.open .cs__selected,
.selecter.focus .cs__selected {
    background-color: #fff;
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);*/
}

/* 'Cover' Positioning */
.selecter.cover .cs__options {
    border-width: 1px;
    top: 0;
}

.selecter.cover .cs__options .cs__item.first {
}

.selecter.cover.open .cs__selected {
    z-index: 49;
}

/* 'Bottom' Positioning */
.selecter.bottom .cs__options {
    border-width: 1px 1px 0;
    bottom: 100%;
    top: auto;
}

.selecter.bottom .cs__item:last-child {
    border: none;
}

.selecter.bottom.open .cs__selected {
}

.selecter.bottom.open .cs__options {
}

/* 'Bottom' + 'Cover' Positioning */
.selecter.bottom.cover .cs__options {
    bottom: 0;
    top: auto;
}

.selecter.bottom.cover.open .cs__selected {
}

.selecter.bottom.cover.open .cs__options {
}

/* Multiple Select */
.selecter.multiple .cs__options {
    border-width: 1px;
    box-shadow: none;
    display: block;
    position: static;
    width: 100%;
}

/* 'Disabled' State */
.selecter.disabled .cs__selected {
    background: #fff;
    border-color: #999;
    color: #ccc;
    cursor: default;
}

.selecter.disabled .cs__options {
    background: #fff;
    border-color: #999;
}

.selecter.disabled .cs__group,
.selecter.disabled .cs__item {
    border-color: #eee;
    color: #ccc;
    cursor: default;
}

.selecter.disabled .cs__item.selected {
    background: #fafafa;
}

/* Scroller Support */
.selecter .cs__options.scroller {
    overflow: hidden;
}

.selecter .cs__options.scroller .scroller-content {
    max-height: 260px;
    padding: 0;
}

/* Media Queries */