html, body {
  height: 100%;
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
	padding:0!important;
}

body {
  background-color: #fff;
  font-family: sans-serif;
  margin: 0;
  overflow: hidden;
}

.farSide {
  text-align: right;
}

html[dir="RTL"] .farSide {
  text-align: left;
}

/* Buttons */
button {
  margin: 5px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: large;
  background-color: #6ec2fa;
  color: #000;
  filter: contrast(1.3);
}
button.primary {
  border: 1px solid #dd4b39;
  background-color: #ea815e;
  color: #fff;
  margin-top: 4px;
  border-radius: 15px;
  }
button.primary>img {
  opacity: 1;
}
button>img {
  opacity: 0.6;
  vertical-align: text-bottom;
}
button:hover>img {
  opacity: 1;
}
button:active {
  border: 1px solid #888 !important;
}
#tabRow button:hover {
  border: 2px solid #fff !important;
  filter: contrast(1.5);
  }
button.disabled:hover>img {
  opacity: 0.6;
}
button.disabled {
  display: none;
}
button.notext {
  font-size: 10%;
  border-radius: 34px;
  z-index: 999;
  position: relative;
  top: 2px;
  height: 42px;
  border: 2px solid #fff;
  width: 70px;
  }

h1 {
  font-weight: normal;
  font-size: 140%;
  margin-left: 5px;
  margin-right: 5px;
}

/* Tabs */
#tabRow>td {
  border: 1px solid #ccc;
  border-bottom: none;
}
td.tabon {
  border-bottom-color: #ddd !important;
  background-color: #ddd;
  padding: 5px 19px;
}
td.taboff {
  cursor: pointer;
  padding: 5px 19px;
  white-space: nowrap;
}
td.taboff:hover {
  background-color: #eee;
}
td.tabmin {
  border-top-style: none !important;
  border-left-style: none !important;
  border-right-style: none !important;
}
td.tabmax {
  border-top-style: none !important;
  border-left-style: none !important;
  border-right-style: none !important;
  width: 99%;
  padding-left: 5px;
  padding-right: 5px;
  text-align: right;
}
html[dir=rtl] td.tabmax {
  text-align: left;
}

table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  border: none;
}
td {
  padding: 0;
  vertical-align: top;
}
.content {
  visibility: hidden;
  margin: 0;
  padding: 1ex;
  position: absolute;
  direction: ltr;
  background: #fff;
  user-select: all;
}
pre.content {
  border: 1px solid #ccc;
  overflow: auto;
}
#content_blocks {
  padding: 0;
}
.blocklySvg {
  border-top: none !important;
}
#content_xml {
  resize: none;
  outline: none;
  border: 1px solid #ccc;
  font-family: monospace;
  overflow: scroll;
}
#languageMenu {
  vertical-align: top;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 15px;
}

/* Buttons */
button {
  padding: 2px 14px;
  margin: 1px 5px;
height: auto;
}

/* Sprited icons. */
.icon21 {
  height: 24px;
  width: 24px;
  background-image: url(icons.png);
}

.iconTutorials {
  height: 21px;
  width: 30px;
  margin-right: 75px;
  margin-top: 2px;margin-left: 8px;background-image: url(close.png?new);
background-repeat: no-repeat;}
.trash {
  background-position: 0px 0px;
}
.link {
  background-position: -21px 0px;
}
.run {
  background-position: -40px 2px;
}



.save {
  background-image: url(save.png);
}

.open {
  background-image: url(home.png);
}

.iconlog {
    background-image: url(console.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}





#log {
    position: absolute;
    z-index: 90000000000;
    background-color: #f1f1f1;
    border: 1px solid #d3d3d3;
    text-align: center;
	display:none;
	left:500px;
	top:50px;
	
}

#logheader {
    padding: 10px;
    cursor: move;
    z-index: 100000000000000;
    background-color: #2196F3;
    color: #fff;
}

.infoTextBlock {
    font-style: italic!important;
    fill: #c4ff00!important;
}

#modalDevices{
	padding: 0;
}
#list-devices{

    max-height: calc(90vh - 160px);
    overflow: auto;

}

#list-devices .list-group-item:first-child {
    border-top:0;
}
#list-devices .list-group-item:last-child {
    border-bottom:0;
}

#list-devices .list-group-item {
    border-left: 0;
	border-right: 0;
}

#QRDevice {
    padding: 4vh;
    max-height: 54vh;
    height: calc(54vh - 40px);
	margin: 0 auto;
	background-image: url(whitepx.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
	margin: 0 auto;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

#QRDevice img, #QRDevice canvas {
	max-width: 100%;
    max-height: 100%;
	object-fit: contain;
}

#QRDevice svg {
	height: 100%;
}

#tutorialButton {
	width: 39px;
	border-radius: 20px;
	padding-right: 0px;
	padding-left: 0px;
	z-index: 99;
	position: relative;
	top: 1px;
	height: 35px;
	margin-right: 190px;
	}

#tutorialButton span{position: absolute;display: inline-block;font-size: 105%;top: 0;left: 35px;margin-top: 4px;}

#popoverTutorials{
	overflow-y: auto; 
	max-height: 460px;
	width: 400px;
overflow-x: hidden;}
.popover{
	max-width:450px!important;
}
#popoverTutorials .list-group-item{
	border:0;
	border-bottom: 2px solid rgba(0,0,0,.125);
	color: #111;
}

#popoverTutorials  .list-group-item:last-child {
    border:0;
}

.popover-body {
    padding: 1px!important;
}

.guided-tour .guided-tour-step.active {
    pointer-events: none!important;
}

.guided-tour .guided-tour-step.active .guided-tour-step-tooltip {
    pointer-events: all!important;
}


.guided-tour .guided-tour-step.active .guided-tour-step-tooltip .guided-tour-step-tooltip-inner .guided-tour-step-button-next {
    border: 1px solid #ccc;
}

.guided-tour .guided-tour-step.active .guided-tour-step-tooltip .guided-tour-step-tooltip-inner .guided-tour-step-button-prev {
    border: 1px solid #ccc;
}



.guided-tour .guided-tour-step.active .guided-tour-step-tooltip {
    z-index: 1025999999999999999999999999!important;
}




.blocklyToolboxContents[role=group]{
    transform: scale(0.95);
	display: block!important;
}

.blocklyToolboxContents[role=group] .blocklyTreeRow{margin-left: 9px;}

.blocklyToolboxContents[role=group] .blocklyTreeRow .blocklyTreeRowContentContainer {
    margin-left: -18px;
}




#TrialCanvas{
    position: fixed;
    top: 0;
    left: 500px;
    z-index: 55555555555555555555555;
    background: #fff;
    border: 1px solid;
}

#TrialCanvasVideo{
    position: fixed;
    top: 0;
    left: 900px;
    z-index: 55555555555555555555555;
    background: #fff;
    border: 1px solid;
}

.blocklyTreeIconOpen, .blocklyTreeIconClosed {
    display: none!important;
}



.blocklyFlyoutLabelText {
    font-size: 86%!important;
    fill: #131313!important;
    dominant-baseline: text-before-edge;
    font-weight: 600!important;
}

.modal-dialog {
    margin: 0rem auto!important;
}

.onGoingTour {
    margin: 0rem 0 0 20px!important
}

sup {
	font-size: 100%!important;
}

button:focus {
    outline: 0px dotted !important;
	border: 1px solid #888 !important;
}

.blocklyToolboxDiv {
    position: fixed;
    box-shadow: 1px 0px 1px #ccc;
    background-color: #eee;
    height: calc(100% - 55px)!important;
}

.blocklyFlyout {
    position: fixed;
    /* top:0; */
} 

.addDeviceButton > text, .addDeviceButton > rect {
	    transform: scale(1);
}

.addDeviceButton{
	fill: #478383;
}

.addDeviceButton:hover{
	fill: #5dabab;
}

#tutorialButton{
	opacity:0;
}



#sensorParameters {
    display: none;
    position: fixed;
    left: calc(100% - 412px);
    bottom: 50px;
    width: 312px;
    height: auto;
    color: rgb(0, 0, 0);
    pointer-events: none;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(168, 161, 161);
    border-image: initial;
    background: rgba(255, 242, 242, 0.58);
    padding: 0px;
    border-radius: 10px;
	z-index: 99999;
}

.newLog::before{
	content: "c";
    width: 16px;
    height: 16px;
    background: #e61818;
    display: block;
    position: absolute;
    left: 40px;
    border-radius: 20px;
    top: 20px;
}






.disconnectedElement {
    padding: 7px;
    border-left: 0;
    border-right: 0;
    background: #ffe69c;
    border-radius: 0!important;
    font-style: italic;
    font-size: 90%;
}

.disconnectedElementButtons{
	text-align: right;
	font-style: initial;
}

#disconnectedDeviceDiv {
    display: none;
    position: fixed;
    top: 75px;
    left: calc(100% - 420px);
    width: 400px;
    border-radius: 10px;
}

#disconnectedDeviceDiv h2 {
    text-transform: uppercase;
    text-align: left;
    padding: 10px 22px;
    margin: 0;
    color: #fff;
    border-bottom: 0px solid #ddd;
    font-size: 84%;
    font-weight: 800;
    line-height: 30px;
    background: #01525a;
	border-radius: 10px 10px 0px 0px;
}

.disconnectedElementButtons span{
	cursor:pointer;
	padding-top: 6px;
	padding-bottom: 6px;
	border-radius: 8px;
}

#logo{
	font-size: 20px;
	font-weight: 600;
	text-transform: capitalize;
	border: 0!important;
	background: url(../css-img/logowhite.svg) no-repeat 10px 14px;
	cursor:pointer;
	color: #cae8ff;
	width: 170px;
	height: 55px;
	background-size: 128px;
	display: inline-block;
}

#logo:hover{filter: contrast(1.2) brightness(1.4);color: #fff;}

#mainTable{
	background: transparent;
	background-image: linear-gradient(123deg,#1e98ce 0%,#29c4a9 100%);
}

.blocklyFlyoutBackground {
    fill: #fafafa;
}

.blocklyFlyout {
    box-shadow: rgb(221, 221, 221) 2px 0px 0px;
}

#runButton:hover{
	background: #ff6a38;
}

.zelos-renderer.zelos-theme .blocklyText {
    transform: translate(0px, -2px);
}

.componentIcon {
    height: 75px;
    border: 0;
}

.infoComponent{
	width:100%;
	margin-left:20px;
}

.smalliconSelectComponent{
    background-size: contain;
    height: 32px;
    border-radius: 0!important;
    font-size: 0px!important;
    background-color: transparent!important;
    margin-right: 8px;
    background-repeat: no-repeat;
    filter: grayscale(1);
    opacity: 0.2;
}

.iosimg {
    background-image: url(addcomp/iphone.png);
    width: 24px;
}

.pcimg {
    background-image: url(addcomp/pc.png);
    width: 37px;
}

.androidimg {
    background-image: url(addcomp/android.png);
    width: 24px;
}

.outputimg {
    background-image: url(addcomp/output.png);
    width: 49px;
}

.inputimg {
    background-image: url(addcomp/input.png);
    width: 49px;
}

.inputimgoutputimg, .outputimginputimg {
    background-image: url(addcomp/inout.png);
    width: 49px;
}

.freeimg {
    background-image: url(addcomp/free.png);
    width: 36px;
}

.proimg {
    background-image: url(addcomp/pro.png);
    width: 36px;
}

.componenticoncontainer{
	display: flex;
	margin-top: 10px;
}

.activeIcn {
	filter: grayscale(0);
	opacity: 1;
}

.customDialogMessage{
    margin: 0;
}
#customDialogInput{
    width: 260px;
    border-radius: 5px;
    border: 1px solid #333;
    padding: 2px 8px;
}
#customDialogCancel{
    background: #ccc;
    border-radius: 20px;
}
#customDialogOkay{
    border-radius: 20px;
    background: #547dbd;
    color: #fff;
}

#customDialogCancel:hover{
    background: #aaa;
}
#customDialogOkay:hover{
    background: #345d9d;
}

.customDialogButtons{
    text-align: right;
    margin-top: 8px;
}



@media screen and (max-width: 768px) {
	
	.blocklyTreeRow {
		height: 40px;
		line-height: 35px;
	}
}