@charset "UTF-8";

::-webkit-scrollbar {
	width: 0px;
}

html,
body {
	height: 100%
}

body {
	background-color: #7d2f98;
	font-family: 'Poppins', sans-serif;
	margin: 0
}

#div_var {
	position: absolute;
	text-align: center;
	top: 45px;
	margin: 10px
}

#divfenetre {
	background-color: #fff;
	position: absolute;
	top: 45px;
	bottom: 0px;
	width: 100%
}

#divBody {
	position: absolute;
	top: 100px;
	bottom: 0px;
	width: 100%
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

.centerpdf {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	height: 90%;
	padding-top: 50px;
}

#title-bar {
	-webkit-app-region: drag;
	height: 40px;
	text-align: center;
	line-height: 40px;
	vertical-align: middle;
	background-color: #7d2f98;
	padding: none;
	margin: 0px
}

#title-bar-repl {
	-webkit-app-region: drag;
	height: 40px;
	text-align: center;
	line-height: 40px;
	vertical-align: middle;
	background-color: #b8b8b8;
	padding: none;
	margin: 0px
}

#toptitle {
	-webkit-app-region: no-drag;
	height: 80px;
	line-height: 60px;
	background-color: #4c004c;
	/* padding-top: 5px;
	padding-bottom: 5px; */
	padding: 5px;
	margin: 0px;
	display: flex; /* Adicionado para habilitar Flexbox */
	justify-content: space-between; /* Adicionado para posicionar os itens nos extremos do container */
	align-items: center; /* Adicionado para alinhar os itens verticalmente no meio */
}

#toptitle img {
	width: 218px;
	height: 57px;
	margin: 0 auto; /* Adicionado para centralizar a imagem */
}

#toptitle button{
	-webkit-app-region: no-drag;
	display: none;
	order: 2; /* Adicionado para garantir que o botão sempre apareça à direita */
	align-items: center; /* Adicionado para centralizar o conteúdo verticalmente */
}

#title {
	/* position: fixed; */
	font-weight: bold;
	top: 0px;
	left: 6px;
	color: white
}

#title-bar-btns {
	-webkit-app-region: no-drag;
	position: fixed;
	right: 0px
}

#fenetre_term {
	width: 630px;
	height: 415px;
	border: 1px solid #ccc;
	padding: 0px 5px 5px 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	border-radius: 5px;
	overflow: auto
}

#fenetre_repl {
	width: 630px;
	height: 415px;
	color: white;
	background-color: #b8b8b8;
	border: 1px solid #ccc;
	padding: 0px 5px 5px 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	border-radius: 5px;
	overflow: auto
}

#header {
	position: absolute;
	top: 60px;
	background: #4c004c;
	height: 40px;
	width: 100%
}

.arduino_card_mini_picture_div {
	position: absolute;
	top: 20px;
	right: 45px;
	width: 250px;
	height: 600px
}

.div_close_modal {
	padding-right: 10px;
	float: right;
	bottom: 10px;
	position: absolute;
	text-align: center
}

.modal-body-config-global_left {
	position: relative
}

#content_factory {
	height: 100%;
	width: 100%;
	padding-right: 5px
}

#content_blocks {
	height: 100%;
	width: 100%
}

#blockly_l {
	background-color: #fff;
	float: left;
	height: 100%;
	width: 55%
}

#blockly_r {
	float: right;
	height: 100%;
	width: 45%
}

#btn_all {
	position: absolute;
	left: 5px;
	top: 2px;
	z-index: 10
}

#btn_group {
	position: absolute;
	right: 5px;
	top: 2px;
	z-index: 10
}

#toggle {
	width: 25%;
	position: absolute;
	z-index: 1;
	right: 15px;
	top: 0px;
	bottom: 20px;
	opacity: 0.9
}

#content_code {
	font-size: 16px;
	position: absolute;
	border: 1px solid #727272;
	top: 0px;
	right: 5px;
	bottom: 5px;
	left: 5px
}

#toggle pre {
	height: 100%
}

#serial-checboxes {
	margin-left: 20px
}

#modal-body-config {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3
}

#select_all {
	margin-left: 15px
}

#span_select_all {
	font-weight: bold
}

.blocklySvg {
	border-top: none !important;
	background-color: #fff;
}

.blocklyScrollbarHandle {
	fill: #7d2f98
}

.blocklyToolboxDiv {
	background-color: #f2f2f2 !important;

	font-weight: bold;
	margin-left: 5px;
	width: 210px;
	opacity: 0.7
}

.blocklyFlyoutBackground {
	fill: #e6e6e6 !important
}

.blocklyTreeRoot {
	padding: 0 !important
}

.blocklyToolboxDiv .blocklyTreeRoot [role="treeitem"] {
	position: relative
}

.blocklyToolboxDiv .blocklyTreeRoot [role="treeitem"].blocklyTreeRow {
	line-height: normal !important;
	padding: 6px 50px 6px 12px !important
}

.blocklyTreeRow {
	height: 30px !important;
	line-height: 30px !important
}

.blocklyTreeSeparator {
	background: none repeat scroll 0 0 #e9f9f9 !important;
	border-bottom: none !important;
	height: 10px !important
}

.colors_category {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 8px
}

.loading {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../media/ajax-loading.gif) center no-repeat #7d2f98
}

.vignette {
	max-width: 80px;
	max-height: 80px
}

.blocklyScrollbarKnob {
	fill: #7d2f98 !important;
	fill-opacity: 0.7 !important
}

.blocklyScrollbarBackground {
	stroke-width: 0px !important;
	fill: none !important
}

/* Modificações no Modal de Login */
.modal-header {
	background-color: #7d2f98;
	/* Cor de fundo do header */
	color: white;
	/* Cor do texto no header para melhor contraste */
}

.modal-header .close span {
	color: white;
	/* Cor do botão fechar (X) */
}

.modal-dialog.modal-sm {
	max-width: 50%;
	/* Diminuir o tamanho do modal para metade do padrão */
}

/* Estilo do ícone no header do modal */
.modal-header img {
	height: 24px;
	width: 24px;
	margin-right: 10px;
	/* Espaçamento entre o ícone e o título */
}

.imgIcone {
	height: 24px;
	width: 24px;
	margin-right: 10px;
	/* Espaçamento entre o ícone e o título */
}

.button-modal {
	background-color: #7d2f98 !important;
	color: white;
	margin-top: 2px;
}

.button-modal:hover {
	background-color: #4c004c !important;
	color: white;
}

.button-modal:active {
	background-color: #4c004c !important;
	color: white;
}


.corBranca {
	color: white;
	font-size: 20;
}

.esconde {
	display: none;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

#geraSenha, #geraSenhaAlterar {
	position: relative;
	display: inline-block;
  }
  
  #geraSenha .tooltip, #geraSenhaAlterar .tooltip {
	visibility: hidden;
	width: 120px;
	background-color: #7d2f98;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;
  
	position: absolute;
	z-index: 1;
	bottom: 100%; /* Posicione a tooltip acima do botão */
	left: 80%;
	margin-left: -60px; /* Use metade da largura para centralizar a tooltip */
  
	opacity: 0;
	transition: opacity 0.3s;
  }
  
  #geraSenha:hover .tooltip, #geraSenhaAlterar:hover .tooltip {
	visibility: visible;
	opacity: 1;
  }