:root {
  --border-color: #cacaca;
  --background-color: #ffffff;
  --mainSidebar-active: #20a8d8;
  --background-box-title: #f7f7f7;
}
/*
html, body {
  margin: 0px;
  padding: 0px;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
} */
/*
header {
  height: 66px;
  border-bottom: 1px solid var(--border-color);
  padding-left: 20px;
}
header h2 {
  margin: 0px;
  line-height: 66px;
}
header a {
  color: black;
} */

.them-edit-link {
  position: absolute;
  top: 10px;
  right: 100px;
  color: black;
  font-size: 40px;
}
.them-edit-link a {
  text-decoration: none;
}



.wrapper {
  width: 100%;
  height: calc(100vh - 99px);
  display: flex;
  margin: 5px 0px;
}

.custom_col {
  /* overflow: auto; */
  /* width: 300px; */
  /* width: 16%; */
  border-radius: 12px;
  /* margin-right: 1%; */
  height: 100%;
  position: relative;
  /* border-right: 1px solid var(--border-color); */
  /* width: 20px; */
  width: 240px;
  margin:0px 5px 0px 0px ;
}

.drag-drawflow {
  line-height: 50px;
  border-bottom: 1px solid var(--border-color);
  padding-left: 20px;
  cursor: move;
  user-select: none;
}
.menu {
  position: absolute;
  height: 40px;
  display: block;
  background: white;
  width: 100%;
}
.menu ul {
  padding: 0px;
  margin: 0px;
  line-height: 40px;
}

.menu ul li {
  display: inline-block;
margin-left: 10px;
border-right: 1px solid var(--border-color);
padding-right: 10px;
line-height: 40px;
cursor: pointer;
}

.menu ul li.selected {
  font-weight: bold;
}

.zoom{
  float: right;
    position: absolute;
    bottom: 10px;
    right: 130px;
    height: 30px;
    font-size: 20px;
    color: white;
    padding: 5px 6px;
    /* background: #555555; */
    background: #2BA8E0;
    border-radius: 8px;
    z-index: 1;
}

.btn-export {
  float: right;
  position: absolute;
  /* top: 10px; */
  bottom: 10px;
  right: 74px;
  color: white;
  font-weight: bold;
  border: 1px solid #0e5ba3;
  background: #2BA8E0;
  padding: 3px 5px;
  border-radius: 9px;
  cursor: pointer;
  z-index: 100;
  width: 30px;
  height: 30px;
}
.btn-validate{
  /* right: 10px !important;
  background-color: #0ABC66 !important;
  padding: 5px 5px !important; */
  right: 42px !important;
    background-color: darkcyan;
    padding: 4px 2px !important;
    width: 30px;
    font-size: x-large;
    height: 30px;
    border-radius: 9px;
}

.btn-close{
  right: 10px !important;
  background-color: #f50505e0;
  padding: 3px 1px !important;
}
.btn-clear {
  float: right;
  position: absolute;
  top: 10px;
  right: 85px;
  color: white;
  font-weight: bold;
  border: 1px solid #96015b;
  background: #e3195a;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 5;
}

.swal-wide{
    width:80% !important;
}

.btn-lock {
  float: right;
  position: absolute;
  bottom: 10px;
  right: 140px;
  display: flex;
  font-size: 24px;
  color: white;
  padding: 5px 10px;
  background: #555555;
  border-radius: 4px;
  border-right: 1px solid var(--border-color);
  z-index: 5;
  cursor: pointer;
}

.bar-zoom {
  float: right;
  position: absolute;
  bottom: 10px;
  /* right: 10px; */
  right: 130px;
  display: flex;
  font-size: 20px;
  color: white;
  padding: 5px 10px;
  /* background: #555555; */
  background: #2BA8E0;
  border-radius: 4px;
  /* border-right: 1px solid var(--border-color); */
  border: 1px solid #0e5ba3;
  z-index: 5;
}
.bar-zoom svg {
  cursor: pointer;
  padding-left: 10px;
}
.bar-zoom svg:nth-child(1) {
  padding-left: 0px;
}

#drawflow {
  border-radius: 13px;
  /* border: 1px solid #b9b6b6 !important; */
  position: relative;
  /* width: calc(100vw - 270px); */
  /* height: calc(100% - 50px); */
  /* height: 100%; */
  /* top: 40px; */
  background: var(--background-color);
  /* background-size: 25px 25px;
  background-image:
   linear-gradient(to right, #f1f1f1 1px, transparent 1px),
   linear-gradient(to bottom, #f1f1f1 1px, transparent 1px); */

   /* After Meet */
  /* background: #f8f8f8
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='none' %3E%3Ccircle cx='2.609' cy='3.061' r='2.599' fill='%23DEDEDE' fill-opacity='.6'/%3E%3C/svg%3E")
    repeat; */
    background: transparent !important;
  width: calc(100vw);
  height: calc(100%);


}

/* @media only screen and (max-width: 768px) {
  .col {
    width: 50px;
  }
  .col .drag-drawflow span {
    display:none;
  }
  #drawflow {
    width: calc(100vw - 51px);
  }
} */



/* Editing Drawflow */

.drawflow .drawflow-node {
  background:white;
  border: 1px solid var(--border-color);
  -webkit-box-shadow: 0 2px 15px 2px var(--border-color);
  box-shadow: 0 2px 15px 2px var(--border-color);
  padding: 0px;
  width: 200px;
  border-radius: 15px;
}

.drawflow .drawflow-node.selected  {
  background: white;
  /* background: white; */
  border: 1px solid #4ea9ff;
  -webkit-box-shadow: 0 2px 20px 2px #4ea9ff;
  box-shadow: 0 2px 20px 2px #4ea9ff;
}

.drawflow .drawflow-node.selected .title-box {
  /* color: #ffffff; */
  color: black;
  /* color: #22598c; */
  /*border-bottom: 1px solid #4ea9ff;*/
}

.drawflow .connection .main-path {
  stroke: #1c1c1d9d;
  /* stroke: #4ea9ff; */
  stroke-width: 2px;
}

.drawflow .drawflow-node .input, .drawflow .drawflow-node .output {
  height: 15px;
  width: 15px;
  /* border: 2px solid var(--border-color); */
  border: 2px solid transparent;
}

.drawflow .drawflow-node .input:hover, .drawflow .drawflow-node .output:hover {
  /* background: #4ea9ff; */
  background: #0ABC66;
}

.drawflow .drawflow-node .output {
  right: 8px;
  background:white !important;
  border-color: var(--main-color) !important;
  border-width: 2px !important;
}

.drawflow .drawflow-node .input {
  left: -8px;
  /* background: white; */
  background:var(--main-color) ;
  /* border-color: white;
  border-width: 2px; */

}

.drawflow > .drawflow-delete {
  border: 2px solid #43b993;
  background: white;
  color: #43b993;
  -webkit-box-shadow: 0 2px 20px 2px #43b993;
  box-shadow: 0 2px 20px 2px #43b993;
}

.drawflow-delete {
  border: 2px solid #4ea9ff;
  background: white;
  color: #4ea9ff;
  -webkit-box-shadow: 0 2px 20px 2px #4ea9ff;
  box-shadow: 0 2px 20px 2px #4ea9ff;
}

.drawflow-node .title-box {
  /* height: 50px; */
  height: 40px;
  /* line-height: 35px; */
  /* line-height: 50px; */
  line-height: 45px;
  /* background: var(--background-box-title); */
  /* border-bottom: 1px solid #e9e9e9; */
  border-radius: 4px 4px 0px 0px;
  padding-left: 20px;
}
.drawflow .title-box svg {
  position: initial;
}
.drawflow-node .box {
  /* padding: 10px 20px 20px 20px; */
  padding: 10px 15px 20px 15px;
  font-size: 14px;
  color: #555555;

}
.drawflow-node .box p {
  margin-top: 5px;
  margin-bottom: 5px;
}

.drawflow-node.welcome {
  width: 250px;
}

.drawflow-node.slack .title-box {
  border-radius: 4px;
}

.drawflow-node input, .drawflow-node select, .drawflow-node textarea {
  border-radius: 4px;
  border: 1px solid var(--border-color);
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  width: 158px;
  color: #555555;
}

.drawflow-node textarea {
  height: 100px;
}


.drawflow-node.personalized {
  background: red;
  height: 200px;
  text-align: center;
  color: white;
}
.drawflow-node.personalized .input {
  background: yellow;
}
.drawflow-node.personalized .output {
  background: green;
}

.drawflow-node.personalized.selected {
  background: blue;
}

.drawflow .connection .point {
  stroke: var(--border-color);
  stroke-width: 2;
  fill: white;

}

.drawflow .connection .point.selected, .drawflow .connection .point:hover {
  /* fill: #4ea9ff; */
  fill: #1c1c1d9d;
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 7;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.7);

}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 400px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.modal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor:pointer;
}

.arrange-header-icon:hover{
  z-index: 999 !important;
  cursor: pointer !important;
  /* background-color: #0ABC66 !important; */
}


/* @media  screen and (max-width: 1920) {
  #drawflow {
    width: calc(100vw - 350px);
  }
}
@media  screen and (max-width: 1536) {
  #drawflow {
    width: calc(100vw - 290px);
  }
} */

@media screen and (min-width: 1440px) {
  #drawflow{
    width: calc(100vw - 275px) !important;
  }
}

@media  screen and (max-width: 968px) {
  #drawflow {
    width: calc(100vw - 200px) !important;
  }
}

@media  screen and (max-width: 800px) {
  #drawflow {
    width: calc(100vw - 150px) !important;
  }
}

@media  screen and (max-width: 414px) {
  #drawflow {
    width: calc(100vw - 95px) !important;
  }
}
