﻿/*
 * Select padrão   
 */
.list-key-obj.readonly .field {
    border: none;
    line-height: 38px;
    display: block;
    text-align: left !important;
    background-color: transparent;
}

.list-key-obj:not(.readonly) .field.stroke {
    line-height: 38px;
    display: block;
    text-align: left;
    background-color: #FBFBFB;
    border: 1px solid #7F7F7F;
    color: #7F7F7F;
}

.list-key-obj:not(.readonly) .field {
    border: 1px solid #D9D9D9;
    line-height: 42px;
    display: block;
    text-align: left;
    background-color: #FBFBFB;
}

.list-key-obj .field input[type=text],
.list-key-obj .field input[type=search] {
    background-color: transparent;
    border: none;
    padding: 10px;
    width: calc(100% - 45px) ;
    font-size: 12pt;
    color: #243E61;
}

.list-key-obj.readonly .field > i {
    display: none;
}

.list-key-obj .field.stroke i {
    line-height: 38px;
    /*padding: 11px;*/
    cursor: pointer;
    border-left: 1px solid #7F7F7F;
    color: #7F7F7F;
    text-align: center;
    width: 40px;
    float: right;
}

.list-key-obj .field i {
    line-height: 43px;
    /*padding: 15px;*/
    cursor: pointer;
    border-left: 1px solid #D9D9D9;
    color: #7F7F7F;
    text-align: center;
    width: 45px;
    float: right;
}

.list-key-obj:not(.readonly) .field.select {
    cursor: pointer;
}

.list-key-obj:not(.readonly) .field.select:hover {
    background-color: #F2F2F2;
}

.list-key-obj .field.select ul {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 45px;
    border: 1px solid #D9D9D9;
    background-color: #F2F2F2;
    width: 100%;

    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.list-key-obj .field.select ul li {
    display: block;
    width: 100%;
    padding: 10px;
    line-height: 30px;
}

.list-key-obj .field.select label {
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 5px 10px;
    width: calc(100% - 50px);
    font-size: 12pt;
    color: #243E61;
    line-height: 28px;
    display: inline-block;
}

.list-key-obj .field.select.stroke label{
    width: calc(100% - 65px);
}

.list-key-obj .field.select.open ul {
    display: block;
    z-index: 10;
    max-height: 204px;
    overflow-x: hidden;
    overflow-y: auto;
}

.list-key-obj .field.select ul li:hover {
    cursor: pointer;
    background-color: #F8F8F8;
}

/*DROPDOWN*/

.dropdown {
    display: inline-block;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-appearance: none;
    -webkit-user-select: none;

    background-color: #FBFBFB;
    border: 1px solid #C4C4C4;
    color: #243E61;
    font-size: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    height: 40px;
    line-height: 30px;
    cursor: pointer;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dropdown.disabled {
    background-color: #EEEEEE;
    border: 1px solid #AAAAAA;
}

.dropdown ul {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 45px;
    border: 1px solid #C4C4C4;
    background-color: #F6F6F6;
    width: 100%;

    max-height: 200px;
    overflow: hidden;
    overflow-y: auto;
}

.dropdown ul li {
    display: block;
    width: 100%;
    /*padding: 10px;*/
    line-height: 30px;
}

.dropdown ul li p {
    padding: 10px;
    margin: 0;
}

.dropdown label {
    background-color: transparent;
    border: none;
    padding: 0px 10px;
    width: calc(100% - 50px);
    font-size: 12pt;
    color: #243E61;
    line-height: 38px;
    display: inline-block;
	text-overflow: ellipsis;
    overflow: hidden;
}

.dropdown.disabled label {
    color: #BFC1C4;
}

.dropdown.open ul {
    display: block;
    z-index: 10;
}

.dropdown ul li:hover {
    cursor: pointer;
    background-color: #FFF;
}

.dropdown.unique:before,
.dropdown.disabled:before { 
    display: none;
}

.dropdown:before { 
    background-color: #FFF;
    color: #7F7F7F;
    padding: 12px 17px;
    content: "\f0d7";
    position: absolute;
    right: 1px;
    top: 0px;
    bottom: 0px;
    border-left: 1px solid #C4C4C4;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    z-index: 2;
}