﻿/* Permission Grid Style */
table.dnnPermissionsGrid,
table.dnnGrid,
table.dnnASPGrid {
    margin-bottom: 20px;
    border: 1px solid #c9c9c9;
}

    table.dnnPermissionsGrid {
        color: #777;
    }

    table.dnnPermissionsGrid tr.dnnGridHeader td {
        padding: 4px 4px 4px 4px;
        vertical-align: middle;
        line-height: 120%;
        text-align: center;
    }

    table.dnnPermissionsGrid tr.dnnGridItem td,
    table.dnnPermissionsGrid tr.dnnGridAltItem td {
        padding: 5px 4px 5px 4px;
        border-top: 1px solid #c9c9c9;
        border-bottom: 1px solid #c9c9c9;
        width: 70px;
        text-align: center;
    }

    table.dnnPermissionsGrid tr.dnnGridItem td.permissionHeader,
    table.dnnPermissionsGrid tr.dnnGridAltItem td.permissionHeader {
        border-right: 1px solid #c9c9c9;
        text-align: left;
        padding-left: 10px;
        width: 150px;
    }

    table.dnnPermissionsGrid tr.dnnGridHeader td.permissionHeader {
        padding-left: 10px;
        text-align: left;
    }

    .dnnPermissionsGrid > .dnnFormItem label {
        margin-right: 8px;
        color: #777;
    }

    .dnnPermissionsGrid > .dnnFormItem select {
        width: 25%;
        margin: 0 5px 5px 0;
        min-width: 180px;
        color: #777;
    }

    .dnnPermissionsGrid > .dnnFormItem input {
        margin-bottom: 0;
        height: 17px;
        color: #777;
        width: 25%;
    }
    .dnnPermissionsGrid > .dnnFormItem ul.token-input-list-facebook {
        display: inline-block;
        vertical-align: top;
    }

    .dnnPermissionsGrid > .dnnFormItem > .leftGroup {
        margin-right: 35px;
        float:left;
    }

    .dnnPermissionsGrid > .dnnFormItem >  .rightGroup {
        float: left;
    }

    .dnnPermissionsGrid > .dnnFormItem >  .rightGroup  > .dnnSecondaryAction {
        position: absolute;
    }

    .dnnPermissionsGrid > .dnnFormItem {
        margin-bottom: 18px;
        overflow: auto;
    }

div.dnnPermissionsGrid {
    -webkit-user-select: none;
     -moz-user-select: -moz-none;
      -ms-user-select: none;
          user-select: none;
}
div.dnnPermissionsGrid .roles-container {
    min-height: 41px;
}
div.dnnPermissionsGrid .roles-container .simple-button {
    margin-left: 10px;
    padding-bottom: 6px;
    text-transform: uppercase;
}
div.dnnPermissionsGrid .roles-container select {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin-left: 15px;
}
div.dnnPermissionsGrid .users-container {
    overflow: visible;
}
div.dnnPermissionsGrid .users-container > label {
    display: block;
    font-weight: bold;
    line-height: 30px;
}
div.dnnPermissionsGrid .users-container .simple-button {
    margin-left: 10px;
    text-transform: uppercase;
}
div.dnnPermissionsGrid .users-container .token-input-list-facebook {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
table.dnnPermissionsGrid .dnnGridHeader td {
    background: none;
}
table.dnnPermissionsGrid .dnnGridItem {
    background-color: #f2f2f2;
}
table.dnnPermissionsGrid .dnnGridAltItem {
    background-color: #fff;
}
table.dnnPermissionsGrid .dnnItem td span {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
table.dnnPermissionsGrid .dnnItem td span {
    background: url("../Images/icon-permission-sprint.png") no-repeat center center;
}
table.dnnPermissionsGrid .dnnItem td span.permission-locked {
    background-position: -64px 0;

}
table.dnnPermissionsGrid .dnnItem td span.permission-granted {
    background-position: -32px 0;
}
table.dnnPermissionsGrid .dnnItem td span.permission-denied {
    background-position: -48px 0;
}
table.dnnPermissionsGrid .dnnItem td span.permission-unchecked {
    background-position: -16px 0;
}
table.dnnPermissionsGrid td.permissionHeader + td {
    background-image: -webkit-gradient(linear,left top,right top,color-stop(0, rgba(201, 201, 201, 0.7)),color-stop(5px, rgba(201, 201, 201, 0)));
    background-image: -o-linear-gradient(right, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
    background-image: -moz-linear-gradient(left, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
    background-image: -webkit-linear-gradient(left, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
    background-image: -ms-linear-gradient(left, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
    background-image: linear-gradient(to right, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
}
table.dnnPermissionsGrid td.last {
    background-image: -webkit-gradient(linear,right top,left top,color-stop(0, rgba(201, 201, 201, 0.7)),color-stop(5px, rgba(201, 201, 201, 0)));
    background-image: -o-linear-gradient(right, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
    background-image: -moz-linear-gradient(right, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
    background-image: -webkit-linear-gradient(right, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
    background-image: -ms-linear-gradient(right, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
    background-image: linear-gradient(to left, rgba(201, 201, 201, 0.7) 0, rgba(201, 201, 201, 0) 5px);
}
table.dnnPermissionsGrid .dnnItem td.permissionGridActions {
    border-left: 1px solid #c9c9c9;
}
table.dnnPermissionsGrid .dnnItem td.permissionGridActions a {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    background: url("../Images/icon-permission-sprint.png") no-repeat 0 0;
}

div.dnnPermissionsGrid ul.token-input-list-facebook {
    padding: 5px !important;
}
div.dnnPermissionsGrid .token-input-list-facebook .token-input-input-token-facebook input[type="text"] {
    padding: 3px;
}
div.dnnPermissionsGrid .token-input-list-facebook .token-input-token-facebook {
    margin: 2px;
}

div.dnnPermissionsGrid a.simple-button {
    display: inline-block;
    padding: 9px 24px;
    border: 1px solid #bfbfbf;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #000;
    text-decoration: none;
}