/***************************** Required styles *****************************/

/**
 * For the correct positioning of the placeholder element, the dnd-list and
 * it's children must have position: relative
 */
.container ul[dnd-list],
.container ul[dnd-list] > li {
	position: relative;
}

/***************************** Dropzone Styling *****************************/

/**
 * The dnd-list should always have a min-height,
 * otherwise you can't drop to it once it's empty
 */
.container .dropzone ul[dnd-list] {
    min-height: 100px;
    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.
 */
.container .dropzone li {
    background-color: #fff;
    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.
 */
.container .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.
 */
.container .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.
 */
.container .dropzone .vertical .dndPlaceholder {
    background-color: #ddd;
    min-height: 100px;
    float: inherit;
}

.container .dropzone .div .dndPlaceholder {
    background-color: #ddd;
    min-height: 100px;
    float: inherit;
}

.container .dropzone .horizontal .dndPlaceholder {
    background-color: #ddd;
    min-height: 100px;
    float: left;
}

.container .dropzone .list .dndPlaceholder {
    background-color: #ddd;
    min-height: 22px;
    float: left;
}


/***************************** Element Selection *****************************/

.container .dropzone .selected .box{
    border-color: #cc0000;
    background-color: #D9EDF7;
}

.container .dropzone .selected .list{
    border-color: #cc0000;
    background-color: #D9EDF7;
}

.container .dropzone .selected .line{
    border-color: #cc0000;
 }

.angular-ui-tree-node .selected{
    background-color: #FED8CE;
    border-color: #cc0000;
 }

/***************************** Element type specific styles *****************************/

.container .dropzone .item {
    padding: 10px 15px;
}

.container .dropzone .container-element .column {
    float: left;
    width: 100%;
}

/***************************** Toolbox *****************************/

.container .toolbox ul {
    list-style: none;
    padding-left: 0px;
    cursor: move;
}

.container .toolbox button {
    margin-bottom: 3px;
    opacity: 1.0;
    display: block;
}

.container .toolbox .dndDragging {
    opacity: 0.5;
}

.container .toolbox .dndDraggingSource {
    opacity: 1.0;
}

.box {
    margin: 3px;
    background-color: #fff;
    border: 1px solid;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.box .vertical {
    border-color: #000;
}

.box .horizontal {
    border-color: #777;
}

.box .div {
    border-color: #BBB;
}

.box .main {
    border: solid 2px;
}

.box > h3 {
    color: #333;
    border-color: #ddd;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    background-repeat: repeat-x;
    display: block;
    font-size: 16px;
    padding: 10px 15px;
    margin-top: 0;
    margin-bottom: 0;
}

.list {
    margin: 5px;
    background-color: #fff;
    border: 1px solid;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    font-size: 10px;
}

.action {
    border: 1px solid #03e;
    color: #03e;
    text-align: center;
}

.property {
    border: 1px solid #3a2;
    color: #3a2;
    text-align: center;
}

.image {
    border: 1px solid #000;
    color: #000;
    text-align: center;
}

.constant {
    border: 1px solid #000;
    color: #000;
    text-align: center;
}

.filler {
    border: 1px solid #ddd;
    color: #ddd;
    text-align: center;
}

.box-padding {
    padding: 15px;
    margin: 5px;
}

.box-padding > h3 {
    margin: -15px;
    margin-bottom: 15px;
}

.box-blue {
    border-color: #1A447B;
}

.box-blue > h3 {
    color: #FFF;
    background-color: #1A447B;
    border-color: #1A447B;
}

.button-blue {   
    background-color: #D9EDF7;
    border-color: #DDD;   
    color: #171515;
    font-size: 15px;
}

.previewArea {
}

.xml-previewArea {
    overflow-y: auto;
    min-height: 320px;
    max-height: 320px;
    width: 100%;
    border: 1px solid;
    margin-bottom: 3px;
}

.propertiesArea {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100px;
    max-height: 100px;
    border: 1px solid;
    border-radius: 4px;
    padding: 10px;
    margin: 10px;
    background-color: #F5F5F5;
}

.hrpropertiesArea{
    margin-top: 10px;
    margin-bottom: 10px;
}

.validateErrorArea {
    overflow-y: auto;
    min-height: 240px;
    max-height: 240px;
    min-width: 620px;
    max-width: 620px;
    border: 1px solid;
}

/***************************** Trashcan *****************************/

.trashcan ul {
    list-style: none;
    padding-left: 0px;
}

.trashcan img {
    width: 100%;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
}

.trashcan .dndDragover img {
    width: 100%;
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
}

.trashcan .dndPlaceholder {
    display: none;
}

div.vertical > ul > li > div.line{
    width: 100%;
    border-top: 2px solid #d0d;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin-top: 3px;
    margin-bottom: 3px;
}

div.div > ul > li > div.line{
    width: 100%;
    border-top: 2px solid #d0d;
    border-bottom: none;
    border-left: none;
    border-right: none;
    margin-top: 3px;
    margin-bottom: 3px;
}

div.horizontal > ul > li > div.line{
    height: 128px;
    border-left: 2px solid #d0d;
    border-bottom: none;
    border-top: none;
    border-right: none;
    position: relative;
    left: 50%;
}

.dnd-button{
    margin: 0px;
}

.property-list{
    margin: 0px;   
}

.property-name{
    font-weight: bold;
    word-wrap: break-word;
    text-align: right;
}

.property-value{
    word-wrap: break-word;
}

.property-color{
    width: 20px;
    height: 25px;
    border: 1px solid #000;
    margin-left: 5px;
}

.property-4field{
    min-width: 25px;
    height: 25px;
    border: 1px solid #000;
    background-color: #ddd;
    padding-left: 0;
    padding-right: 0;

}

.main-group{
    white-space: nowrap;
}

.main-box{
    padding: 0px;
    vertical-align: top;
    display: inline-block;
    white-space:normal;
}

.button-box{
    min-width: 190px;
}

.drop-box{
    min-width: 665px;
}

.details-box{
    min-width: 285px;
}

.no-padding{
    padding: 0px;
}

.no-margin{
    margin: 0px;
}

.property-padding{
    padding-left: 5px;
    padding-right: 5px;
}

.panel-height{
    max-height: 1132px;
    min-height: 1132px;
}

.panel-height-middle{
    max-height: 1382px;
    min-height: 1132px;
}

.properties-panel-height{
    max-height: 440px;
    min-height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-tree-panel-size{
    max-height: 560px;
    min-height: 560px;
    overflow: auto;
    max-width: 500px;
    min-width: 240px;
}

.droparea {
    min-height: 200px;
    max-height: 660px;
}

.vscroll{
    overflow-y: auto; 
    overflow-x: hidden;
}

.navbar-default .navbar-nav > li > a:hover { 
    background-color: #ccc; 
}

.nav, .pagination, .carousel, .panel-title a { 
    cursor: pointer; 
}

.panel-group > .panel-default > .panel-heading{
    background-color: #d9edf7;
}

.btn-group {
    margin-right: 8px;
}

.angular-ui-tree-handle {
    background: #f8faff;
    border: 1px solid #dae2ea;
    color: #7c9eb2;
    padding: 5px 5px;
    font-size: 13px;
    overflow: hidden;
}

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 2px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.group-title {
    background-color: #687074 !important;
    color: #FFF !important;
}


/* --- Tree --- */
.tree-node {
    border: 1px solid #dae2ea;
    background: #f8faff;
    color: #7c9eb2;
}

.nodrop {
    background-color: #f2dede;
}

.tree-handle {
    padding: 10px;
    background: #428bca;
    color: #FFF;
    margin-right: 10px;
}

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 2px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

[ng\:cloak], [ng-cloak], .ng-cloak {
    display: none !important;
}

.left-margin {
    margin-left: 15px;
}

select[multiple].modal-property-list {
    height: 250px;
}