.chart-container {
  background-color: #eee;
  min-height: 300px;
}
.orgchart {
  background: #fff;
}

.orgchart.view-state .edge {
  display: none;
}

.orgchart .node {
  width: 150px;
}

.orgchart .second-menu-icon {
    transition: opacity .5s;
    opacity: 0;
    right: -5px;
    top: -5px;
    z-index: 2;
    position: absolute;
}

/*.orgchart .node:hover .second-menu-icon {
    opacity: 1;
}*/

.orgchart .second-icon {
    transition: opacity .5s;
    opacity: 0;
    right: -5px;
    top: -5px;
    z-index: 2;
    position: absolute;
}

/* The Modal (background) */
.orgchart .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.orgchart .modal-content {
    border-radius: 5px;
    box-shadow: 0 0 10px 1px #999;
    background-color: #fff;
    z-index: 1;
    border-radius: 4px;
}

.orgchart .node .title .symbol {
  margin-top: 1px; 
}

.edit-panel {
  position: relative;
  left: 10px;
  width: calc(100% - 40px);
  border-radius: 4px;
  float: left;
  margin: 30px 0 20px 20px;
  padding: 10px;
  /*color: #fff;
  background-color: #449d44;*/
  color: #000;
  font: 14px BYekan;
}

.edit-panel .btn-inputs {
  font-size: 24px;
}

/*.edit-panel.view-state>:not(.radio-panel) {*/
#edit-panel.view-state>:not(#chart-state-panel) {
  display: none;
}

.edit-panel label {
  font-weight: bold;
}

div.selected-node-group #selectednodedesc,
.edit-panel button.desc {
    outline: none;
    background-color: #fff;
    border-radius: 4px;
    height: 30px;
    line-height: 0px !important;
    padding: 4px 6px;
    cursor: pointer;
    border: none;
}

.edit-panel.edit-parent-node .selected-node-group {
    direction: ltr;
    display: none !important;
}
.selected-node-group{
  border-radius: 4px;
  background: #ccc;
  padding: 14px 14px 10px 14px !important;
  margin-bottom: 7px;
}
/*.radio-panel, #selected-node, #btn-remove-input { 1395-10-11*/
/*.chart-state-panel, #selected-node, #btn-remove-input {
  margin-right: 20px;
}*/

.edit-panel button {
  color: #333;
  background-color: #fff;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.edit-panel.edit-parent-node button:not(#btn-add-nodes) {
  display: none;
}

.edit-panel button:hover,.edit-panel button:focus,.edit-panel button:active {
  border-color: #eea236;
  box-shadow:  0 0 10px #eea236;
}

#new-nodelist {
 display: inline-block;
 /*  list-style:none;
  margin-top: -2px;
  padding: 0;
  vertical-align: text-top;*/
}

#new-nodelist>* {
  padding-bottom: 4px;
}

.btn-inputs {
  vertical-align: sub;
}

.edit-panel.edit-parent-node .btn-inputs {
  display: none;
}

.btn-inputs:hover {
  text-shadow: 0 0 6px #000;
  color: #fff !important;
}

.radio-panel input[type='radio'] {
  display: inline-block;
  height: 20px;
  width: 20px;
  vertical-align: top;
}

.edit-panel.view-state .radio-panel input[type='radio']+label {
  vertical-align: -webkit-baseline-middle;
}

/*#btn-add-nodes {
  margin-left: 20px;
}
*/
#edit-panel label {
  display: inline-block;
}

label#lblSelectedTitle, label#lblTitle, label#lblNewNode, label#lblColor, label#lblDesc, label#lblSelectedColor {
    text-align: center;
}

#new-nodelist {
    display: inline !important;
    list-style: none !important;
}

#edit-panel .uk-form {
  padding: 5px 0;
}

.btn-inputs {
  cursor: pointer;
}

#btn-add-input {
    color: #009735;
}

#btn-remove-input {
    color: #dd0005;
}

#btn-box {
  margin-top: 15px;
  width: 100%;
  text-align: left;
}

#btn-box i {
  vertical-align: middle !important;
  margin-left: 5px;
}

.remove-row {
  display: none;
  vertical-align: middle;
}

#new-nodelist li:hover .remove-row {
  display: inline-block;
}

.remove-row:hover {
  color: #dd0005;
  cursor: pointer
}

label#lblNewNode, label#lblTitle, label#lblColor, label#lblDesc {
    background: #ccc;
    margin-bottom: 5px;
    border-radius: 4px;
    padding: 3px 3px 2px 3px;
}

#new-nodelist li .new-desc {
    height: 30px!important;
    border:1px solid #ccc;
    outline: none;
    cursor: pointer;
    background-color: #fff;
    border-radius: 4px;
    padding: 4px 6px;
}

div.edit-parent-node #btn-add-nodes {
    border-left-color: #ccc;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

div.edit-parent-node #btn-add-nodes:hover {
    border-left-color: #eea236;
}

#edit-panel label::-moz-selection, #edit-panel i::-moz-selection, #edit-panel div::-moz-selection {
    color: #000000;
    background: transparent;
}

#edit-panel label::selection, #edit-panel i::selection, #edit-panel div::selection {
    color: #000000;
    background: transparent;
}

.canvasContainer .title, .canvasContainer .content {
  text-align: right !important;
  padding-right: 5px !important;
}

.canvasContainer i {
  display: none !important;
}

.close-save {
    opacity: 0.8;
    display: inline-block;
    text-align: center;
    width: 75px;
    height: 35px;
    line-height: 35px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}
.close-save:hover {
    opacity: 1;
}
