﻿
.naSelect
{
    display: inline-block;
    width: 100%;
}

.naSelect,
.naSelect *,
.naSelectList,
.naSelectList *
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
}

.naSelectBody
{
    display: -webkit-flex;
    display: flex;
    background-color: [neutral-2-background-color];
    color: [neutral-2-text-color];
    border: 1px solid #444;
    font-size: 11pt;
    font-family: 'Source Sans Pro', sans-serif;
    border-radius: 4px;
    overflow: hidden;
    height: 26px;
}

.naSelectValue
{
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    padding: 3px 8px;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.naSelectOpen
{
    width: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 3px;
    background-image: url(../file/app/1/editor/icon/selector.svg);
    background-size: 10px;
}

.naSelectList
{
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    z-index: 1;
    color: [neutral-1-background-color];
    font-size: 11pt;
    font-family: 'Source Sans Pro', sans-serif;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    border: 1px solid #222;
}

.naSelectList.naSelectActive
{
    display: inline-block;
}

.naSelect.naSelectActive .naSelectBody
{
    border-radius: 4px 4px 0 0;
}

.naSelectOption,
.naSelectActionOption,
.naSelectSeparator
{
    background-color: [neutral-2-background-color];
    white-space: nowrap;
    padding: 3px 8px;
    vertical-align: middle;
    line-height: 24px;
    position: relative;
}

.naSelectOption
{
    color: [neutral-2-text-color];
}

.naSelectActionOption
{
    text-transform: uppercase;
    color: #888;
}

.naSelectSeparator 
{
    height: 1px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.naSelectSeparator .naSelectSeparatorLine
{
    overflow: hidden;
    height: 1px;
    background: #777;
}

.naSelectSeparator .naSelectSeparatorText 
{
    float: left;
    line-height: 0px;
    height: 1px;
    vertical-align: middle;
    color: #888;
    font-weight: normal;
    margin-right: 8px;
    text-transform: uppercase;
    font-size: 0.9em;
}

.naSelectOption:hover,
.naSelectOption.hover,
.naSelectActionOption:hover
{
    background-color: [main-1-background-color];
    color: [main-1-text-color];
}

.naSelect.naSelectDisabled .naSelectValue
{
    color: #5c5c5c;
}

.naSelectInvalid
{
    border: 1px solid #ee4545 !important;
}

.naSelectOption.optionDisabled,
.naSelectValue.optionDisabled
{
    color: #aaa;
}