:root {
  --border-color: #cacaca;
  --background-color: #ffffff;

  --background-box-title: #f7f7f7;
}

@font-face {
	font-family: 'Roboto';
	src: url('/assets/fonts/roboto/Roboto-Regular.ttf');
}


@font-face {
	font-family: 'Roboto';
	src: url('/assets/fonts/roboto/Roboto-Bold.ttf');
	font-weight: bold;
}

html, body {
  margin: 0px;
  padding: 0px;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
}

.wrapper {
	width: 100%;
	height: calc(100vh - 120px);
	display: flex;
	overflow: auto;
}

.col {
  overflow: auto;
  width: 350px;
  height: 100%;
  border-right: 1px solid var(--border-color);
}

.drag-drawflow {
  line-height: 50px;
  border-bottom: 1px solid var(--border-color);
  padding-left: 20px;
  cursor: move;
  user-select: none;
}

.input-group-text {
    line-height: 0.5;
}

.pointer {
	cursor: pointer;
}

.pointer:hover {
	cursor: pointer;
	color: #000;
}


.btn-export {
  float: right;
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-weight: bold;
  border: 1px solid #0e5ba3;
  background: #4ea9ff;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 5;
}

.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;
  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;
}
.bar-zoom svg {
  cursor: pointer;
  padding-left: 10px;
}
.bar-zoom svg:nth-child(1) {
  padding-left: 0px;
}

#drawflow {
  position: relative;
  width: calc(100vw - 351px);
  height: calc(100% - 0px);
  top: 0px;
  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);
}

@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: var(--background-color);
  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;
	font-size: 16px;
}

.drawflow .drawflow-node.selected  {
	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: #22598c;
	/*border-bottom: 1px solid #4ea9ff;*/
}

.drawflow .connection .main-path {
	stroke: #4ea9ff;
	stroke-width: 3px;
}

.drawflow .drawflow-node .input, .drawflow .drawflow-node .output {
	height: 15px;
	width: 15px;
	border: 2px solid var(--border-color);
}

.drawflow .drawflow-node .input:hover, .drawflow .drawflow-node .output:hover {
	background: #4ea9ff;
}

.drawflow .drawflow-node .output {
	right: 10px;
}

.drawflow-node.step .output {
    right: 10px;
    top: 17px;
}


.drawflow-node.spion .output {
    right: 10px;
    top: 17px;
}


.drawflow-node.step_product .output {
    right: 10px;
    top: 17px;
}

.drawflow-node.blacklistCheck .output {
    right: 10px;
    top: 17px;
}

.drawflow-node.serviceInject .output {
    right: 10px;
    top: 17px;
}


.drawflow .drawflow-node .input {
	left: -10px;
	background: white;
}

.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: 35px;
	line-height: 35px;
	background: var(--background-box-title);
	border-bottom: 1px solid #e9e9e9;
	border-radius: 4px 4px 0px 0px;
	padding-left: 10px;
}
.drawflow .title-box svg {
	position: initial;
}
.drawflow-node .box {
	padding: 10px 20px 20px 20px;
	font-size: 15px;
	color: #555555;

}
.drawflow-node .box p {
	margin-top: 5px;
	margin-bottom: 5px;
}

.drawflow-node.welcome {
	width: 250px;
}


.drawflow-node.blacklistCheck {
	width: 220px;
}

.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: 15px;
  width: 148px;
  color: #555555;
}

.drawflow-node textarea {
  height: 100px;
}


.drawflow-node.personalized {
	height: 30px;
	width: 70px;
	text-align: center;
	color: #000;
}

.drawflow-node.easyDecision {
	width: 230px;
}

.drawflow .connection .point {
  stroke: var(--border-color);
  stroke-width: 2;
  fill: white;
  
}

.drawflow .connection .point.selected, .drawflow .connection .point:hover {
  fill: #4ea9ff;
}

.drawflow-node.easyDecision .outputs .output:nth-child(1):before {
    position: relative;
	display: block;
	content: "\F26B";
	font-family: "bootstrap-icons";
	right: 22px;
	top: -6px;
}
.drawflow-node.easyDecision .outputs .output:nth-child(2):before {
    position: relative;
	display: block;
	content: "\F623";
	font-family: "bootstrap-icons";
	right: 22px;
	top: -5px;
}

.drawflow-node.decision .outputs .output:nth-child(1) {
    top: 17px;
}

.drawflow-node.decision .outputs .output:nth-child(2) {
    top: 14px;
}

.drawflow-node.decision .outputs .output:nth-child(1):before {
    position: relative;
	display: block;
	content: "\f14a";
	font-family: "Font Awesome 6 Pro";
	color: #008000;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;	
	right: 19px;
	top: -7px;
}
.drawflow-node.decision .outputs .output:nth-child(2):before {
    position: relative;
	display: block;
	content: "\f2d3";
	font-family: "Font Awesome 6 Pro";
	color: #8B0000;
	right: 19px;
	top: -6px;
}

.drawflow-node.step_product .outputs .output:nth-child(1):before {
    position: relative;
	display: block;
	content: "\F26B";
	font-family: "bootstrap-icons";
	right: 22px;
	top: -12px;
}
.drawflow-node.step_product .outputs .output:nth-child(2):before {
    position: relative;
	display: block;
	content: "\F7F2";
	font-family: "bootstrap-icons";
	right: 22px;
	top: -6px;
}
  
  .fieldesc {
	line-height: 1.1;
	padding-top: 3px;
  } 
  
.drawflow .drawflow-node .input, .drawflow .drawflow-node .output {
    margin-bottom: 10px;
}
  
  
.drawflow-node.blacklistCheck .outputs .output:nth-child(1):before {
    position: relative;
	display: block;
	content: "\F26B";
	font-family: "bootstrap-icons";
	right: 22px;
	top: -6px;
  }
 .drawflow-node.blacklistCheck .outputs .output:nth-child(2):before {
    position: relative;
	display: block;
	content: "\F623";
	font-family: "bootstrap-icons";
	right: 22px;
	top: -5px;
  }
  
.drawflow-node.serviceInject .outputs .output:nth-child(1):before {
    position: relative;
	display: block;
	content: "\F26B";
	font-family: "bootstrap-icons";
	right: 22px;
	top: -6px;
}

 .drawflow-node.serviceInject .outputs .output:nth-child(2):before {
    position: relative;
	display: block;
	content: "\F623";
	font-family: "bootstrap-icons";
	right: 22px;
	top: -5px;
}
  
.card,
.card-header,
.card-footer {
    border-radius: 0px !important;
}

.fieldesc {
	line-height: 1.1;
	padding-top: 3px;
} 

.statistic-card {
	padding: 0px;
	width: 100%;
    display: block;
    position: absolute;
	box-shadow: 0 2px 15px 2px var(--border-color);
	font-size: 15px;
}

.odoStatistics {
	margin: 0px;
}

.odoStatisticsPercentZone1,
.odoStatisticsPercentZone2 {
	font-size: 12px;
    width: 40px;
}

.odoStatisticsPercentZone1Empty:after {
    content: '\f0c1';
    font-family: 'Font Awesome 6 Pro';
    opacity: 14%;
}

.odoStatisticsPercentZone1Selected:after {
    content: '\f0c1';
    font-family: 'Font Awesome 6 Pro';
    opacity: 100%;
	color: #2788e7;
}


.odoStatisticsNumberZoneHover {
	color: #2788e7 !important;
}

.odoStatisticsPercentZone1:hover {
	cursor: pointer;
}

.odoStatisticsPercentZone1Hover:hover {
    background-color: #cccccc;
}

.odoStatisticsNumberZoneHover:hover {
    background-color: #cccccc;
	cursor: pointer;
}

.odoStatisticsHighlight {
    color: #d10d04 !important;
	text-decoration: underline dotted;
}