/** switch styles **/
/**@import 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css';*/
@import 'all.min.css';

.ptree .switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 18px;
  margin: 0;
}

.ptree .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ptree .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.ptree .slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 3px;
  background-color: rgb(255, 255, 255);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.ptree input:checked + .slider {
  background-color: #66bb6a;
}

.ptree input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

.ptree input:checked + .slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}

.ptree a {
  color: rgba(4, 25, 117, 0.904) !important;
  text-decoration-color: rgba(4, 25, 117, 0.904) !important;  
} 
.ptree i {
  font-size:1.2em;
  transition: 0.5s ease-in-out;    
  color: rgba(4, 25, 117, 0.904);
}


.ptree a.haschilds:hover > i, 
.ptree i.haschilds:hover {
  color:  #779cd3;
  cursor: pointer;
  font-size:1.5em;
}

/* Rounded sliders */

.ptree .slider.round {
  border-radius: 34px;
}

.ptree .slider.round:before {
  border-radius: 50%;
}

/* Switch styles end */

/** border styles **/

.ptree li {
  list-style-type: none;
  border: 2px solid #fff;
  border-right: 2px !important;
}

.ptree li div {
  display: flex;
  list-style-type: none;
  margin: 1px;
  border-radius: 5px;
  border: 2px solid #dcdcdc;
  padding: 2px;
  align-items: center;
  height: 30px;
}

.ptree li a {
  margin-right: 1px;
  margin-left: 1px;
  color: black;
  font-size: 14px;
  font-family: monospace, "Open Sans";
  text-decoration: none;
}
.ptree ul { 
  padding-left: 2px;  
}

.ptree_order_div {
  height: 20px !important;
  border: 0 !important;
}
.ptree_order_div i {
  margin: 5px !important;
}

/* Border styles end */


/* file Content icon*/
.ptree .fileContentIcon {
  margin-left: auto;
  color: white;
}

.ptree .fileContentIcon i {
  pointer-events: none;
}



/* menu icon */

.ptree .menuIcon {
  margin-left: auto;
  color: black;
}

/* menu container */

.ptreemenuCont {
  display: flex;
  flex-direction: column;
  background-color: #ffff;
  border: 2px solid #ccc;
  border-radius: 5px;
  color: #444;
  position: fixed;
  font-size: 12px;
  font-family: monospace, "Open Sans";
}

.ptreemenuCont span {
  padding: 12px 12px 12px 12px;
  border-bottom: 2px solid #9e9e9e;
  display: flex;
  align-items: baseline;
  cursor: pointer;
}

.ptreemenuCont span i {
  color: #ef5350;
  padding-right: 3px;
}

.ptreemenuCont span:last-child {
  border-bottom: 0px solid;
}

.ptreemenuCont span:first-child:hover {
  border-radius: 5px;
}
.ptreemenuCont span:only-child {
  border-radius: 5px;
}
.ptreemenuCont span:hover {
  background: #dcdcdc;
}

.ptree .menuIcon i {
  pointer-events: none;
}

/** drag styles **/

.ptree .drag-handler {
  color: #ef5350;
}

.ptree .drag-handler i {
  pointer-events: none;
}

.ptree .drag_triggered {
  border: 2px solid red;
}

.ptree #div_ddetail {
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 10px;
  z-index: 1;
}

.ptree #div_ddetail span {
  font-size: larger;
  margin: 3px 5px 3px 5px;
}

.ptree {
  border: 2px solid darkgrey;
  border-radius: 5px;
  height: 100%;
  overflow-y: auto;
  padding-right: 2px;
}

.ptree .valid {
  border: 2px solid green;
  border-radius: 5px;
}

.ptree .invalid {
  border: 2px solid #ef5350;
  border-radius: 5px;
}
.disabled > * {
  pointer-events: none;
}
.ptreemenuCont i {
  pointer-events: none;
}

.ptree ul.not-active {
  max-height: 0;
  transition: max-height 0.25s ease-out;
  overflow: hidden;
}

.ptree ul.active {
  transition: max-height 0.15s ease-in;
}

.ptree ul.root-node {
  padding-left: 30px  !important;
}

.ptree ul.child-node {
  padding-left: 30px  !important;
}


.dragging-element li{ border: 0px !important;}
.ptree::-webkit-scrollbar { width: 12px !important;}
.ptree::-webkit-scrollbar-track { background: rgb(21, 2, 101) !important;}
.ptree::-webkit-scrollbar-thumb { background: rgb(66, 111, 215) !important; }
