

/*
 * Plugin for fancy toggle buttons
 * bootstrap-toggle
 */
.toggle {
  display: inline-block;
  background-color: #5bb75b;
  background-image: -ms-linear-gradient(top,#62c462,#51a351);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));
  background-image: -webkit-linear-gradient(top,#62c462,#51a351);
  background-image: -o-linear-gradient(top,#62c462,#51a351);
  background-image: -moz-linear-gradient(top,#62c462,#51a351);
  background-image: linear-gradient(top,#62c462,#51a351);
  border-radius: 4px;
  -moz-border-radius: 4px;
  border: 1px solid #555;
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  width: 60px;
  position: relative;
  bottom: -2px;
  height: 20px;
}

.toggle:before {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.toggle.disabled {
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
  background-image: -ms-linear-gradient(top,#fff,#e6e6e6);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
  background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
  background-image: -o-linear-gradient(top,#fff,#e6e6e6);
  background-image: linear-gradient(top,#fff,#e6e6e6);
  background-repeat: repeat-x;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color: #e6e6e6;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.toggle.disabled:after {
  color: #555;
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

.toggle.danger,
.toggle.disabled-danger {
  background-color: #ee5f5b;
  background-image: -moz-linear-gradient(top,#ee5f5b,#bd362f);
  background-image: -ms-linear-gradient(top,#ee5f5b,#bd362f);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));
  background-image: -webkit-linear-gradient(top,#ee5f5b,#bd362f);
  background-image: -o-linear-gradient(top,#ee5f5b,#bd362f);
  background-image: linear-gradient(top,#ee5f5b,#bd362f);
  background-repeat: repeat-x;
  border-color: #bd362f #bd362f #802420;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color: #bd362f;
}

.toggle.disabled.disabled-danger:after {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.toggle.warning,
.toggle.disabled-warning {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top,#fbb450,#f89406);
  background-image: -ms-linear-gradient(top,#fbb450,#f89406);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));
  background-image: -webkit-linear-gradient(top,#fbb450,#f89406);
  background-image: -o-linear-gradient(top,#fbb450,#f89406);
  background-image: linear-gradient(top,#fbb450,#f89406);
  background-repeat: repeat-x;
  border-color: #f89406 #f89406 #ad6704;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color: #f89406;
}

.toggle.disabled.disabled-warning:after {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.toggle.success,
.toggle.disabled-success {
  background-color: #5bb75b;
  background-image: -moz-linear-gradient(top,#62c462,#51a351);
  background-image: -ms-linear-gradient(top,#62c462,#51a351);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));
  background-image: -webkit-linear-gradient(top,#62c462,#51a351);
  background-image: -o-linear-gradient(top,#62c462,#51a351);
  background-image: linear-gradient(top,#62c462,#51a351);
  background-repeat: repeat-x;
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color: #51a351;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.toggle.disabled.disabled-success:after {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.toggle.primary,
.toggle.disabled-primary {
  background-color: #0074cc;
  background-image: -moz-linear-gradient(top,#08c,#05c);
  background-image: -ms-linear-gradient(top,#08c,#05c);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#05c));
  background-image: -webkit-linear-gradient(top,#08c,#05c);
  background-image: -o-linear-gradient(top,#08c,#05c);
  background-image: linear-gradient(top,#08c,#05c);
  background-repeat: repeat-x;
  border-color: #05c #05c #003580;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color: #05c;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.toggle.disabled.disabled-primary:after {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.toggle.info,
.toggle.disabled-info {
  background-color: #49afcd;
  background-image: -moz-linear-gradient(top,#5bc0de,#2f96b4);
  background-image: -ms-linear-gradient(top,#5bc0de,#2f96b4);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));
  background-image: -webkit-linear-gradient(top,#5bc0de,#2f96b4);
  background-image: -o-linear-gradient(top,#5bc0de,#2f96b4);
  background-image: linear-gradient(top,#5bc0de,#2f96b4);
  background-repeat: repeat-x;
  border-color: #2f96b4 #2f96b4 #1f6377;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color: #2f96b4;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.toggle.disabled.disabled-info:after {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.toggle.inverse,
.toggle.disabled-inverse {
  background-color: #414141;
  background-image: -moz-linear-gradient(top,#555,#222);
  background-image: -ms-linear-gradient(top,#555,#222);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#555),to(#222));
  background-image: -webkit-linear-gradient(top,#555,#222);
  background-image: -o-linear-gradient(top,#555,#222);
  background-image: linear-gradient(top,#555,#222);
  background-repeat: repeat-x;
  border-color: #222 #222 #000;
  border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  *background-color: #222;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.toggle.inverse:before,
.toggle.disabled.disabled-inverse:after {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.toggle:before,
.toggle:after {
  position: absolute;
  left: 0;
  padding-left: 11px;
  line-height: 20px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .4px;
}

.toggle:before {
  content: "ON";
  content: attr(data-enabled);
  padding-left: 9px;
}

.toggle.disabled:before {
  content: "";
  padding-left: 20px;
}

.toggle.disabled:after {
  right: 4px;
  left: auto;
  content: "OFF";
  content: attr(data-disabled);
}

.toggle .check {
  display: block;
  width: 26px;
  height: 20px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  background-color: #f5f5f5;
  background-image: -ms-linear-gradient(top,#fff,#e6e6e6);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
  background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
  background-image: -o-linear-gradient(top,#fff,#e6e6e6);
  background-image: linear-gradient(top,#fff,#e6e6e6);
  background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
  border: 1px solid #ccc;
  border-color: #ccc;
  border-color: rgba(0,0,0,0.02) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  position: absolute;
  top: -1px;
  left: -1px;
}

.toggle .check:hover {
  cursor: pointer;
}

.toggle input[type=checkbox] {
  display: none
}

.toggle input[type=checkbox]:checked + label.check {
  top: -1px; left: 35px;
  -webkit-box-shadow: rgba(0,0,0,0.05) -1px 0 2px;
}

.toggle input[type=checkbox] + label.check {
  top: -1px; left: -1px;
  -webkit-box-shadow: rgba(0,0,0,0.05) 1px 0 2px;
}

/* End bootstrap-toggle */

#group-permissions {
    margin-top: -10px;
}

#group-permissions .permission-module {
    font-weight: bold;
    margin: 10px;
}

#group-permissions .permission-container {
    position: relative;
    border: 1px solid #DDD;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    margin-bottom: 10px;
}

#group-permissions .public {
    line-height: 26px;
}

#group-permissions .action {
    position: relative;
    border-top: 1px solid #DDD;
    height: 30px;
}

#group-permissions .permission-container > .action {
    border-top: 0;
    cursor: pointer;
}

#group-permissions .action-container {
    display: none;
}

#group-permissions .inner {
    padding-left: 20px;
}

#group-permissions .name {
    line-height: 30px;
    margin-left: 10px;
}

#group-permissions .name .icon-chevron-right {
    opacity: 0.2;
}

#group-permissions .toggle-box {
    position: absolute;
    right: 5px;
    top: 2px;
    height: 24px;
}

#group-permissions .toggle-box .toggle-loading {
    position: absolute;
    width: 16px;
    height: 16px;
    background: transparent url('/images/acl/ajax-loader.gif') no-repeat center center;
    left: -20px;
    top: 5px;
}

#group-permissions .toggle-help {
    margin-top: 1px;
    vertical-align: top;
    cursor: help;
    display: inline-block;
}

#group-permission-help {
    position: absolute;
    top: 200px;
    right: 50px;
    max-width: 200px;
}

#group-permission-help .icon-chevron-left {
    opacity: 0.7;
}

#group-block-options {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

#group-block-options .block-loading,
#group-block-options .block-help-text {
    position: absolute;
    padding: 10px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    width: 60%;
    top: 50px;
    left: 50%;
    margin-left: -30%;
}

#group-block-options .block-help-text {
    text-align: center;
    background-color: #FDFDFD;
}

#group-block-options .block-loading {
    height: 50px;
    background: #FDFDFD url('/images/acl/ajax-loader.gif') no-repeat center center;
}

#group-access .tab-content {
    position: relative;
    margin-left: -1px;
}

#group-tabs {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    margin-right: 0;
    border-right: 0;
}

#group-tabs li .tab {
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#group-tabs li.active .tab {
    border-right: 0;
    margin-right: -2px;
}

#group-tabs li .admin-icon {
    background-repeat: no-repeat !important;
    background-position: 5px 10px;
    float: left;
    margin: -10px 0 0 -4px;
    width: 28px;
    height: 28px;
}

#group-tabs .group-tab-name {
    margin-top: 3px;
}

#group-tabs .admin-icon {
    cursor: pointer;
    display: inline-block;
    background: transparent url('/images/acl/star_gray.png') no-repeat top left;
    vertical-align: middle;
    width: 16px;
    height: 16px;
}

#group-tabs .admin-icon.admin-icon-on {
    background-image: url('/images/acl/star.png');
}

#group-tabs .admin-icon.loading {
    background-image: url('/images/acl/ajax-loader.gif');
}

.from-container {
    max-height: 184px;
}

.container-type {
    color: #999;
}

.no-elements-in-set {
    text-align: center;
    color: #CCC;
    font-size: 2em;
    line-height: 1.5;
    margin-bottom: 0;
}

.element {
    display: inline-block;
    vertical-align: top;
    padding: 5px;
    margin: 5px 3px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    width: 100px;
    height: 50px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
    z-index: 1500;
}

.element .text {
    text-align: left;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    line-height: 20px;
}

.element.ui-selecting,
.element.ui-selected {
    color: #FEFEFE;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #466274;
    background-image: -moz-linear-gradient(top,#4A687A,#405A6A);
    background-image: -ms-linear-gradient(top,#4A687A,#405A6A);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#4A687A),to(#405A6A));
    background-image: -webkit-linear-gradient(top,#4A687A,#405A6A);
    background-image: -o-linear-gradient(top,#4A687A,#405A6A);
    background-image: linear-gradient(top,#4A687A,#405A6A);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4a687a', endColorstr='#405a6a', GradientType=0);
    border-color: #405A6A #405A6A #23323A;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.element.dragging {
    opacity: 0.5;
}

.ui-selectable-helper {
    position: absolute;
    border: 1px dotted #000;
}

.dragging-container {
    width: 100px;
    z-index: 1500;
}

.dragging-container .badge {
    position: absolute;
    left: 50%;
    margin-left: -10px;
    top: 0;
}

.dragging-container .element {
    display: none !important;
    width: 50px;
    height: 20px;
    overflow: hidden;
}

.dragging-container .element:first-child,
.dragging-container .element:nth-child(2),
.dragging-container .element:last-child {
    display: block !important;
    position: absolute;
    opacity: 0.7;
    top: 20px;
}

.dragging-container .element:first-child {
    -webkit-transform: rotate(10deg);
       -moz-transform: rotate(10deg);
        -ms-transform: rotate(10deg);
         -o-transform: rotate(10deg);
            transform: rotate(10deg);
    left: 0;
}
.dragging-container .element:nth-child(2) {
    left: 20px;
}
.dragging-container .element:last-child {
    -webkit-transform: rotate(-10deg);
       -moz-transform: rotate(-10deg);
        -ms-transform: rotate(-10deg);
         -o-transform: rotate(-10deg);
            transform: rotate(-10deg);
    left: 40px;
}

.association-help {
    font-size: 14px;
    color: #ADADAD;
    width: 100%;
    margin: 3px 0;
}

.association-help .divider {
    opacity: 0.3;
}

.association-help .help-delete {
    display: none;
    color: #FF6666;
}

.association-help .touchscreen {
    display: none;
}

.association-help.touchscreen .help-delete,
.association-help.touchscreen .help-normal {
    display: none;
}

.association-help.touchscreen .help-normal.touchscreen {
    display: inline;
}

.association-help.selected .help-delete {
    display: inline;
}
.association-help.selected .help-normal,
.association-help.selected .touchscreen {
    display: none;
}

.association-help.selected.touchscreen .help-delete,
.association-help.selected.touchscreen .help-normal {
    display: none;
}

.association-help.selected.touchscreen .help-delete.touchscreen {
    display: inline;
}

.to-container .item-wrapper {
    display: inline-block;
    vertical-align: middle;
    min-width: 130px;
    min-height: 130px;
    margin: 0 4px;
    position: relative;
}

.to-container .item-actions {
    display: none;
    position: absolute;
    left: 50%;
    margin-left: -23px;
    background: #EAEAEA;
    padding: 7px 4px 1px;
    -webkit-border-radius: 0 0 4px 4px;
       -moz-border-radius: 0 0 4px 4px;
            border-radius: 0 0 4px 4px;
    top: 80px;
    border: 2px solid #919191;
    border-top: 0;
    z-index: 80;
    width: 46px;
}

.to-container .admin-icon {
    cursor: pointer;
    margin: 0 auto;
    display: block;
    width: 20px;
    height: 20px;
    background: transparent url('/images/acl/star_gray.png') no-repeat center top;
}

.to-container .admin-icon.admin-icon-on {
    background-image: url('/images/acl/star.png');
}

.to-container .admin-icon.loading {
    background-image: url('/images/acl/ajax-loader.gif');
}

.to-container .item {
    cursor: pointer;
    font-weight: bold;
    color: white;
    width: 110px;
    height: 110px;
    margin: 10px;
    border: 2px solid #D0D0D0;
    position: relative;
    z-index: 90;
    -webkit-border-radius: 200px;
       -moz-border-radius: 200px;
            border-radius: 200px;
    background-color: #EAEAEA;
    background-image: -webkit-gradient(radial,center center,0,center center,460,from(#BBB),to(#EAEAEA));
    background-image: -webkit-radial-gradient(circle,#BBB,#EAEAEA);
    background-image: -moz-radial-gradient(circle,#BBB,#EAEAEA);
    background-image: -ms-radial-gradient(circle,#BBB,#EAEAEA);
    background-image: -o-radial-gradient(circle,#BBB,#EAEAEA);
}

.to-container .item .outer {
    width: 92px;
    height: 92px;
    -webkit-border-radius: 200px;
       -moz-border-radius: 200px;
            border-radius: 200px;
    border: 1px solid rgba(34, 48, 83, 0.5);
    background-color: #9DAED7;
    margin: 8px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    display: table;
}

.to-container .item .inner {
    width: 100%;
    height: 100%;
    -webkit-border-radius: 200px;
       -moz-border-radius: 200px;
            border-radius: 200px;
    background-color: #9DAED7;
    display: table;
}

.to-container .item .text {
    display: table-cell;
    vertical-align: middle;
    padding: 0 3px;
}

.to-container .item.new-item {
    border: 1px dashed #AAA;
    color: #888;
    font-weight: normal;
    background: transparent;
}

.to-container .item.new-item .outer {
    width: 90px;
    height: 90px;
    border-style: dashed;
    border-width: 2px;
    text-shadow: none;
}
.to-container .item.new-item .inner {
    background-color: #FDFDFD;
}

.to-container .item.new-item .delete-user {
    display: none;
    margin: 0 auto;
    height: 36px;
    width: 36px;
    background: transparent url('/images/acl/trash_can.png') no-repeat center top;
}

.to-container .item.hover {
    height: 130px;
    width: 130px;
    margin: 0;
}

.to-container .item.hover .outer {
    margin: 18px;
}

.to-container .item.hover.new-item .delete-user {
    background-position: 0 -36px;
}

.to-container .item.selected {
    border-color: #919191;
}

.to-container .item.selected.new-item {
    background-color: #EDB7B7;
}

.to-container .item.selected.new-item .inner {
    border-color: #802D1F;
}

.to-container .item.selected .new-item {
    display: none;
}

.to-container .item.selected .delete-user {
    display: block;
}

.to-container .item.unselected {
    opacity: 0.5;
}

/* FILTER JS */
.filter-js {
    text-align: right;
    position: relative;
}
.filter-js .filter-js-clean {
    position: absolute;
    cursor: pointer;
    right: 5px;
    top: 4px;
    opacity: 0.5;
    display: none;
}
/* FILTER JS END*/
