/* <copyright>
 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
 (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
 </copyright> */

/* ------------------------
  Style item container styles
------------------------  */
.style-item {
    border-bottom: 1px solid rgba(0,0,0,0);
    /*cursor: url(/js/../images/tools/hand_down.png), default;*/
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.style-item:hover {
    /*border-right: 3px double #999;*/
    /*margin-right: 3px;*/
}

/* ------------------------
  Invalid Style
------------------------  */
.style-item-invalid {
    background-repeat: no-repeat;
    background-position: 6px 2px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAALCAYAAABGbhwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZWdpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJ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5;
}
.style-item.style-item-invalid:hover input {
    visibility: hidden;
}
.style-item-invalid.edit-style-item {
    opacity: 1;
}
/* ------------------------
  Checkbox
------------------------   */

.style-item input {
    height: 10px;
    width: 10px;
    margin: 0 6px;
    visibility: hidden;
}
.style-item:hover input, .style-item-disabled input {
    visibility: visible;
}
.style-item-disabled {
    opacity: .5;
}

/* ------------------------
  Property/value styles
------------------------   */

.css-property, .css-value {
    border: 1px solid rgba(0,0,0,0);
    border-radius: 2px;
    cursor: pointer;
    margin: 0;
    outline: none;
    padding: 0 2px;
}
.css-property:hover, .css-value:hover {
    background-color: #FFDECC;
}
.css-property:focus, .css-value:focus {
    border: 1px solid rgba(0,0,0,0);
    box-shadow: none;
}
.css-property:after {
    color: #333;
    content: ":";
}
.css-value:after {
    content: ";";
}
.css-property {
    display: inline-block;
    color: rgb(200,0,0);
    max-width: 68%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.css-value {
    display: inline;
}

/* ------------------------
  Editable Styles
------------------------   */

.style-item .editable {
    background-color: transparent;
    border: 1px solid #999;
    box-shadow: 1px 1px 1px #CCC;
    color: #333;
    cursor: text;
    display: inline-block;
    margin-right: 7px;
    max-width: none;
    overflow: visible;
    -webkit-user-select: text;
}
.style-item .editable:after {
    position: relative;
    margin-right: -7px;
    right: -1px;
}
.style-item .hintable-hint {
    color: #bdbdbd;
}

/* ------------------------
  Empty Style (Add Style)
------------------------   */
.add-style-button {
    display: none;
}
.empty-css-style {
    cursor: default;
    -webkit-transition: -webkit-transform .2s cubic-bezier(0.44, 0.19, 0, 0.99);
    -webkit-transform: translate3d(-120px, 0, 0);
    overflow: visible;
}
.empty-css-style:hover {
    border-right-style: none;
}
.empty-css-style .add-style-button {
    cursor: pointer;
    color: #333;
    display: inline-block;
    font-family: "Droid Sans", sans-serif;
    background: -webkit-linear-gradient(top, rgba(242,242,242,1) 1%,rgba(221,221,221,1) 100%);
    border-radius: 5px;
    border: 1px solid #CCC;
    padding: 1px 10px 0;
    position: absolute;
    left: 140px;
    text-shadow: 1px 1px 0 #FFF;
    -webkit-transition: opacity .2s cubic-bezier(0.44, 0.19, 0, 0.99);
}
.empty-css-style .add-style-button:hover {
    background: -webkit-linear-gradient(top, rgba(252,252,252,1) 1%,rgba(234,234,234,1) 100%);
}
.empty-css-style .add-style-button:active {
    background: -webkit-linear-gradient(top, rgba(234,234,234,1) 0%,rgba(252,252,252,1) 99%);
}
.empty-css-style .css-property, .empty-css-style .css-value {
    -webkit-transition: opacity .2s cubic-bezier(0.44, 0.19, 0, 0.99);
    opacity: 0;
}
.empty-css-style.edit-empty-style .css-property, .empty-css-style.edit-empty-style .css-value {
    opacity: 1;
}
.empty-css-style.edit-empty-style {
    border-right-style: none;
    -webkit-transform: translate3d(0, 0, 0);
}
.empty-css-style.edit-empty-style .css-property, .empty-css-style.edit-empty-style .css-value {
    color: #adadad;
}
.empty-css-style.edit-empty-style .add-style-button {
    opacity: 0;
    cursor: default;
}
.empty-css-style input[type="checkbox"] {
    visibility: hidden;
}
/* ------------------------
  Drag/Drop Styles
------------------------   */

.style-item.dragged {
    background: none;
    border-right-style: none;
    opacity: .85;
}
.style-item.dragging {
    background-color: #f2f2f2;
    opacity: .55;
}
.style-item.drag-enter {
    border-bottom: 1px solid #CCC;
}