/* begin atwho styles - these could be moved into more general place when necessary */
#atwho-container .atwho-view {
    background: white;
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid #b0b6bb;
    font-size: 13px;
    margin: 10px 0;
    max-height: 115px;
    overflow: hidden;
    z-index: 20004!important; /* to show up over bimodal */
}

#atwho-container .atwho-view .nano {
    width: 423px;
}

#atwho-container .atwho-view ul.scrollContent {
    height: 115px;
}

#atwho-container .atwho-view li.atwho-item {
    color: #555555;
    border: none;
    font-size: 11px;
}

#atwho-container .atwho-view .atwho-item.cur {
    background: #efefef;
    width: 100%;
}

#atwho-container .atwho-view li.no-results.cur {
    background: #ffffff !important;
    cursor: default;
}

#atwho-container .atwho-view .atwho-item.new-tag {
    border-top: 1px solid gray;
    padding-top: 5px!important;
    margin-top: 5px!important;
}

.atwho-view ul {
    margin: 10px 0 10px 0;
}

.atwho-view ul li {
    display: block;
    padding: 5px 10px;
    cursor: pointer;
}

#atwho-container .atwho-view ul li.user-typeahead {
    width: 418px;
    overflow: hidden;
}

#atwho-container .atwho-view ul li img {
    margin-right: 5px;
}
/* end atwho styles */

.expertise-container label {
    vertical-align: top;
}

.expertise-input {
    border: 1px solid #CDCDCD;
    border-radius: 4px;
    cursor: text;
    font-size: 12px;
    float: left;
    margin-bottom: 5px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    min-height: 26px;
    padding: 5px 8px 1px 8px;
    position: relative;
    width: 500px;
}

.expertise-input > .expertise-wrapper + br {
    content: '';
    display: none;
}
.expertise-input > .expertise-wrapper + br:last-child {
    display: inline-block;
}

#expertise-input:focus {
    border: 1px solid #1abc9c;
    box-shadow: none;
    outline: none;
}

#view-idea-expertise-input, #view-idea-expertise {
    border-radius: 4px;
    cursor: text;
    font-size: 12px;
    float: left;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    min-height: 20px;
    position: relative;
    width: 707px;
    height: auto;
    padding-top:5px;
}

#idea-expertise-edit-save-btn, #idea-expertise-edit-cancel-btn {
    cursor: pointer;
}

#idea-expertise-edit-wrapper #idea-expertise-input_tag {
    border: 0;
    font-size: 12px;
    margin-top: 0;
}

#idea-expertise-edit-wrapper #idea-expertise-input_tagsinput {
    width:662px;
    background:#F4F4F4;
    border:1px solid #CDCDCD;
    -webkit-border-radius: 4px;
}

#idea-expertise-edit-wrapper .ui-autocomplete{
    width:100% !important;
    margin:0 !important;
    border:1px solid #ddd !important;
}

#idea-expertise-edit-wrapper div.tagsinput {
    padding: 5px 0 0 5px;
}

#idea-expertise-edit-wrapper div.tagsinput span.tag {
    background-color: #37B088;
    border: 1px solid #33ae85;
    color: #FFF;
    -webkit-box-sizing: border-box;
    -webkit-border-radius: 4px;
    padding:0 10px;
    height:auto;
    line-height: 22px;
}

#idea-expertise-edit-wrapper div.tagsinput span.tag a {
    color: #FFF;
}

#idea-expertise-edit-wrapper{
    display:none;
}

#idea-expertise-edit-wrapper div.tagsinput input{
    width: 80px;
    margin: 0px;
    font-family: helvetica;
    font-size: 13px;
    border: 1px solid transparent;
    padding: 5px 0px !important;
    background: transparent;
    color: #000;
    outline: 0px;
    margin-right: 0px !important;
    margin-top: 5px;
}

#idea-expertise-input_tagsinput.loading:before{
    webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    content: "\f110";
    left: 690px;
    font-size: 16px;
    font-family: FontAwesome;
    height: 16px;
    margin-top: 4px;
    position: absolute;
    text-decoration: inherit;
    width: 16px;
}

.expertise-item {
    background-color: #37B088;
    border: 1px solid #33ae85;
    border-radius: 4px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    color: #FFF;
    display: inline-block;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    font-size: 12px;
    margin: -1px 0 3px 0;
    min-height: 22px;
    line-height: 22px;
    padding: 0 10px;
}

.expertise-item i {
    cursor: pointer;
    padding-left: 8px;
}

.expertise-list-container {
    display: block;
    margin: 20px 0 5px 0;
    line-height: 28px;
}

#remaining-expertise-wrapper {
    clear: both;
    float: left;
    margin: 5px 0 5px 145px;
}

li.new-expertise div:first-of-type:after {
    content: ' (New Expertise)';
}

#new-expertise-border {
    position: absolute;
    margin-top: 10px;
    margin-left: -10px;
    width: calc(100% - 12px);
    height: 0;
    border-bottom: 1px solid #dbdbdb;
}

.loading:before {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    content: "\f110";
    left: 485px;
    float: right;
    font-size: 16px;
    font-family: FontAwesome;
    height: 16px;
    position: absolute;
    text-decoration: inherit;
    width: 16px;
}

#bi-page-ct-profile-edit .profile-field-wrapper  > div:nth-child(2).expertise-input {
    background: #ffffff !important;
    float: left !important;
    width: 464px;
}
