/*  Roles styles  */


.roles-wrap {
    position:relative;
}
.roles-busy-wrap {
    position:absolute;
    top:200px;
    bottom:0;
    left:0;
    right:0;
    background:#fff;
    display:flex;
}
.roles-list__busy {
    width:100%;
    height:80px;
    display:flex;
}
.roles-progress-spinner{
    margin:auto;
}
.roles-users {
    position: relative;
    padding: 0px 20px;
}
.roles-users-count{
    text-align:right;
    line-height:24px;
    height:24px;
    padding-right: 5%;
    padding-top: 10px;
}
.roles-users-row {
    background: #fff;
    box-shadow: 1px 1px 2px 0px #666;
    border-radius: 5px;
    width: 85%;
    margin: 2px auto 2px 0px;
    transition: width ease-in-out 300ms;
}
.roles-users-row[show-new] {
    width: 160px;
}
.roles-users-row[show-new='false'] {
    width: 160px;
}
.roles-users-row[show-new='true'] {
    width: 85%;
}
.roles-users-header {
    position:relative;
    width: 100%;
    display: inline-flex;
    background: #fff;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background ease-in-out 300ms;
    text-align: inherit;
}
.roles-users-header:hover {
    background: #eee;
}
.roles-users-header[is-selected='true']{
    border-bottom:none;
    background:#eee;
    border-bottom-right-radius:0;
    border-bottom-left-radius:0;
}
.roles-users-row__name {
    margin: auto 2px;
    width: 15%;
    font-size: 12px;
}
.roles-users-row__name-new {
    margin: auto;
    width: 100%;
    font-size: 12px;
    text-align: center;
    border-left: 1px solid #ddd;
}
.roles-users-row__name input{
    width: 100%;
    border:1px solid #ddd;
    border-radius:3px;
    height:24px;
    padding:2px 8px;
}
.roles-users-row__name input:hover{
    border:1px solid #666;
}
.roles-users-row__name input:focus{
    border:1px solid #888;
    color: #fc9005;
}
.roles-users-row__username {
    margin: auto 6px;
    width: 33%;
    font-size: 12px;
}
.roles-users-row__name span,
.roles-users-row__username span{
    color: #aaa;
}
.roles-users-row__username input {
    width: 100%;
    border:1px solid #ccc;
    border-radius:3px;
    height:26px;
    padding:2px 12px;
}
.roles-users-row__username input:hover {
    border:1px solid #666;
}
.roles-users-row__username input:focus {
    border:1px solid #888;
    color: #fc9005;
}
.roles-users-row__username-invalid{
    color:#900!important;
}
.roles-users-row__username-badextension {
    color: #d8b600 !important;
}
.roles-users-row__type {
    margin: auto auto auto 6px;
    width: 10%;
}
.roles-users-row__icon {
    margin: auto 12px;
    font-size: 16px;
    color: #000;
}
.roles-users-row__headericon {
    margin: auto 12px;
    font-size: 24px;
    color: #090;
    width: 52px;
}
.roles-users-row__headericon[is-enabled='false'] {
    color: #888;
}
.roles-users__controlls-btn-label {
    line-height: 18px;
    margin:auto;
    text-align:center;
}
.roles-users-row__icon--white {
    margin: auto 10px!important;
    font-size: 18px;
    color: #fff;
}
.roles-users-row__icon--new {
    margin: auto 10px auto 12px;
}
.roles-users-row__icon .fa-caret-right,
.roles-users-row__icon .fa-caret-down {
    font-size: 24px;
    padding: 6px 3px;
    color: #090;
}
.roles-users__controlls-btn {
    background: #009900;
    color: #fff;
    height: auto;
    margin: auto;
    padding: 6px 12px;
    font-size: 12px;
    font-size: 14px;
    display: flex;
    color: #FFF;
    line-height: 1.1;
    border-radius: 5px;
    transition: all ease-in-out 300ms;
}
.roles-users__controlls-btn:hover {
    background: #00990080;
}
.roles-users-row__controlls {
    display:inline-flex;
    margin: auto;
    width: 36%;
    height:100%;
    font-size: 12px;
}
.roles-users-row__controlls-btn {
    margin: auto 1px;
    height: 60%;
    cursor: pointer;
    padding: 0px 6px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #000;
    width: 96%;
    line-height:1.1;
    border-radius: 5px;
    padding-top: 7px;
}

.roles-users-row__controlls-btn--invite {
    min-width:64px;
    background:#00990090;
    color:#fff;
}
.roles-users-row__controlls-btn--invite-new {
    height: auto;
    margin: auto 3px;
    padding: 6px;
    font-size: 16px;
    background: #00990090;
    color: #fff;
}
.roles-users-row__controlls-btn--invite:hover {
    background: #009900;
}
.roles-users-row__controlls-btn--enable {
    background: #00880090;
    color:#fff;
}
.roles-users-row__controlls-btn--enable:hover {
    background: #080;
}
.roles-users-row__controlls-btn--cancel {
    background: #AA000090;
    color: #fff;
    height: auto;
    margin: auto;
    padding: 6px;
    font-size: 16px;
}
.roles-users-row__controlls-btn--cancel:hover {
    background: #a00;
}
.roles-users-row__controlls-btn--update {
    background: #00880090;
    color: #fff;
    height: auto;
    margin: auto 3px;
    padding: 6px;
    font-size: 16px;
}
.roles-users-row__controlls-btn--update:hover {
    background: #0B0;
}
.roles-users-row__controlls-btn--disable {
    background: #DD000090;
    color: #fff;
}
.roles-users-row__controlls-btn--disable:hover {
    background: #d00;
}
.roles-users-row__controlls-btn--disable-customer {
    background: #AA000090;
    color:#fff;
}
.roles-users-row__controlls-btn--disable-customer:hover {
    background: #a00;
}
.roles-users-row__controlls-btn--add-customer {
    background: #00AA0090;
    color: #fff;
}
.roles-users-row__controlls-btn--add-customer:hover {
    background: #00AA00;
}
.roles-users-row__controlls-btn--remove {
    color: #ff000090;
    font-size: 18px;
    padding: 7px 0px 0px 13px;
    width: 0%;
}
.roles-users-row__controlls-btn--remove:hover {
    color: #f00;
}
.roles-users-row__controlls-btn--remove-confirm {
    background-color: #333;
    color: white;
}
.roles-users-row__controlls-btn--remove-confirm:hover {
    background-color: #a00;
}
.roles-users-row__status {
    width: 24px;
    margin: auto 12px auto 0px;
    display: flex;
}
.roles-users-row__status .roles-list__busy{
    margin: auto;
    color:#ddd;
    height:auto;
}
.roles-users-row__status .roles-list__success {
    margin: auto;
    color:#090;
    font-size:16px;
}
.roles-users-row__status .roles-list__error {
    margin: auto;
    color:#900;
}
.roles-list__nav {
    width: 100%;
    margin: auto;
    display: inline-flex;
}
.roles-list__nav-tab {
    width: 100%;
    margin: auto;
    background: #ddd;
    color: #000;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    text-align: center;
    transition: all ease-in-out 300ms;
}

.roles-list__nav-tab--user:hover {
    background: #00990080 !important;
    color: #fff;
}
[user-type='user'] .roles-list__nav-tab--user {
    background: #009900EE !important;
    color: #fff;
}
[user-type='user'] .roles-list__nav-tab--user:hover {
    background: #009900!important;
        color: #fff;
}

.roles-list__nav-tab--editor:hover {
    background: #00009970 !important;
    color: #fff;
}
[user-type='editor'] .roles-list__nav-tab--editor {
    background: #000099EE !important;
    color: #fff;
}
[user-type='editor'] .roles-list__nav-tab--editor:hover {
    background: #000099!important;
}

.roles-list__nav-tab--reporter:hover {
    background: #007099 !important;
    color: #fff;
}
[user-type='reporter'] .roles-list__nav-tab--reporter {
    background: #004299 !important;
    color: #fff;
}
[user-type='reporter'] .roles-list__nav-tab--reporter:hover {
    background: #004299 !important;
    color: #fff;
}

.roles-list__nav-tab--custadmin:hover {
    background: #daa520BB!important;
    color: #fff;
}
[user-type='custAdmin'] .roles-list__nav-tab--custadmin {
    background: #daa520EE!important;
    color: #fff;
}
[user-type='custAdmin'] .roles-list__nav-tab--custadmin:hover {
    background: #daa520!important;
    color: #fff;
}

[user-type='dissabled'] .roles-list__nav-tab--dissabled {
    background: #DDD;
    color: #fff;
}
.roles-list__nav-tab[is-selected='true']{
    background:#fff;
/*    color:#000;*/
}
.roles-list__role select {
    max-width:50%;
    margin: auto auto auto 12px;
    height:26px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 12px;
}
.roles-controls{
    width:100%;
    position:relative;
}

.roles-head-title {
    padding: 60px 20px 20px 40px;
    font-size: 32px;
    line-height: 40px;
    position: relative;
    color:  white;
}
.roles-progress-bar {
    height: 5px;
    bottom: -5px;
    width: 100%;
    border-radius: 2px;
    background: #ddd;
    /*display: inline-block;*/
}
.roles-list__role {
    position:relative;
    width: 100%;
    height: 30px;
    margin: 2px auto;
    padding: 0px 26px 0px 3px;
    background: #ddd;
    border: 1px solid #eee;
    border-radius: 3px;
    display: flex;
}
.roles-list__role[is-admin='true']{
    background: #f0ad4e;
}
.roles-list__role--user {
    background: #00990050;
}
.roles-list__role--custAdmin {
    background: #daa52050;
}
.roles-list__role--editor {
    background: #00009950;
}
.roles-list__role--reporter {
    background: #7e9cc4;
}
.roles-list__role-title {
    margin: auto auto auto 12px;
    min-width: 120px;
    color: #333;
    max-width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.roles-list__role-title:hover {
    color: #fff;
}
.roles-list__new-role-title {
    margin: auto 12px;
    min-width: 80px;
}
.roles-list__role-delete {
    margin: auto 12px auto 12px;
    color: #900;
}
.roles-user-details {
    min-height: 100px;
    overflow: hidden;
}
.roles-user-details--disabled {
    padding:24px;
    display:flex;
    width:100%;
    height:100%;
}
.roles-user-details--disabled span{
    padding: 24px;
    margin:auto;
}
.roles-list__controls{
    display:flex;
    margin:24px auto;
    width: 100%;
    height:40px;
}
.roles-list__controls .roles-users-row__controlls-btn--update{
    border-radius: 3px;
}
.roles-list__noroles {
    width:100%;
    padding:12px 24px;
    display: flex;
    flex-direction: column;
    font-size:14px;
}
.roles-list__noroles span{
    margin:auto;
    font-size: 14px;
}
.roles-list__noroles .fa-book{
    color:#800;
}
.roles-list__noroles .fa-info-circle{
    color:#090;
}
.roles-list__content {
    min-height: 100px;
    min-width: 50%;
    padding: 24px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.roles-list__info {
    margin: auto 12%;
    line-height:1.2;
    display: flex;
    flex-direction:column;
}
.roles-list__info i{
    margin: auto 6px auto -22px;
    color: #090;
}
.roles-list__info em{
    color: #090;
    margin: auto 12px;
}
.roles-list__btn-add-role{
    width:auto;
    margin:auto auto auto 0px;
    padding:2px;
}
.roles-list__btn {
    padding: 2px 12px;
    margin: auto 12px auto auto;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
}

.roles-list__btn-add-role .roles-users-row__name {
    width: 100%;
    padding: 0px 6px;
}
.roles-list__btn-add-role .roles-users-row__name .fa{
    margin:auto 3px;
}
.roles-list__btn-add-role:hover {
    color:#fff;
}
.roles-list__btn-cancel {
    color: #900;
    position: absolute;
    right: -14px;
    top: 5px;
}
.roles-list__btn-cancel--new{
    right: 12px;
}
.roles-list__role-control {
    display: inline-flex;
    position: relative;
}
.roles-label {
    padding: 2px 12px;
    margin: auto 12px auto auto;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
}
.roles-label--admin {
    background: #daa52080;
}
.roles-label--admin:hover {
    background: #daa520DD;
}
.roles-label--user {
    background: #00990080;
}
.roles-label--user:hover {
    background: #009900;
}
.roles-label--editor {
    background: #00008880;
}
.roles-label--editor:hover {
    background: #000088;
}
.roles-label--reporter {
    background: #00429980;
}
.roles-label--reporter:hover {
    background: #004299;
}
.roles-list__this-survey {
    padding:12px;
    margin:auto 24px auto 48px;
}