/**
 * Project          : Classic
 * Source filename  : category-order.css
 * Description      : css styles for revised home screen
 * Author           : Pratham <pratham.jn@robosoftin.com>
 * Copyright        : Copyright © 2016, Saregama India Ltd
 *                    Written under contract by Robosoft Technologies Pvt. Ltd.
 */

/***************************** Required styles *****************************/

/**
 * For the correct positioning of the placeholder element, the dnd-list and
 * it's children must have position: relative
 */
.nestedDemo ul[dnd-list],
.nestedDemo ul[dnd-list] > li {
    position: relative;
    margin: 6px;
}

/***************************** Dropzone Styling *****************************/

/**
 * The dnd-list should always have a min-height,
 * otherwise you can't drop to it once it's empty
 */
.nestedDemo .dropzone ul[dnd-list] {
    min-height: 42px;
    margin: 0px;
    padding-left: 0px;
}

/**
 * The dnd-lists's child elements currently MUST have
 * position: relative. Otherwise we can not determine
 * whether the mouse pointer is in the upper or lower
 * half of the element we are dragging over. In other
 * browsers we can use event.offsetY for this.
 */
.nestedDemo .dropzone li {
    background-color: #fff;
    border: 1px solid #ddd;
    display: block;
    padding: 0px;
}

/**
 * Reduce opacity of elements during the drag operation. This allows the user
 * to see where he is dropping his element, even if the element is huge. The
 * .dndDragging class is automatically set during the drag operation.
 */
.nestedDemo .dropzone .dndDragging {
    opacity: 0.7;
}

/**
 * The dndDraggingSource class will be applied to the source element of a drag
 * operation. It makes sense to hide it to give the user the feeling that he's
 * actually moving it. Note that the source element has also .dndDragging class.
 */
.nestedDemo .dropzone .dndDraggingSource {
    display: none;
}

/**
 * An element with .dndPlaceholder class will be added as child of the dnd-list
 * while the user is dragging over it.
 */
.nestedDemo .dropzone .dndPlaceholder {
    background-color: #ddd;
    min-height: 100px;
    display: block;
    position: relative;
}

/***************************** Element Selection *****************************/

.nestedDemo .dropzone .selected .item {
    color: #3c763d;
    background-color: #dff0d8;
    background-size: contain;
}

.nestedDemo .dropzone .selected .box {
    border-color: #d6e9c6;
}

.nestedDemo .dropzone .selected .box > h3 {
    color: #3c763d;
    background-color: #dff0d8;
    background-image: linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);
    border-color: #d6e9c6;
}

/***************************** Element type specific styles *****************************/

.nestedDemo .dropzone .item {
    margin: 0px auto;
    padding: 3px 3px;
    background-size: contain;
    background-color: #333;
}
.nestedDemo .dropzone .inactive {
    padding: 3px 3px;
    background-size: contain;
    opacity: 0.5;
}

.nestedDemo .dropzone .container-element {
    margin: 10px;
}

.nestedDemo .dropzone .container-element .column {
    float: left;
    width: 50%;
}

/***************************** Toolbox *****************************/
.dndHeading{
    color: #fff;
}

.toolbox ul {
    list-style: none;
    padding-left: 0px;
    cursor: move;
}

.toolbox ul {
    list-style: none;
    padding-left: 0px;
    cursor: move;
}

.toolbox ul li button{
    cursor: move !important;   
}

.toolbox button {
    margin: 5px;
    width: 123px;
    opacity: 0.7;
}

.toolbox button:hover{
    background-color: #fff;
    border-color: #ccc;
}

.toolbox .dndDragging {
    opacity: 0.5;
}

.toolbox .dndDraggingSource {
    opacity: 1.0;
}

/***************************** Trashcan *****************************/

.nestedDemo .trashcan ul {
    list-style: none;
    padding-left: 0px;
}

.nestedDemo .trashcan img {
    width: 100%;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
}

.nestedDemo .trashcan .dndDragover img {
    width: 100%;
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
}

.nestedDemo .trashcan .dndPlaceholder {
    display: none;
}
.order_container {
    color: #fff;
}
.screen_preview {
    margin: 0 auto;
    float: none;
    background-color: #000;
    padding-top: 6px;
    max-height: 656px !important;
    overflow-y: scroll;
}

.gridster-loaded .gridster-item{
    background-color: #fff; 
}

.category_order_msg{
    margin-top:12px;
    margin-bottom:0px;
}
