body {
    font-family: 'Roboto', sans-serif;
}

#machinas_area {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: -2000px;
    right: -2000px;
    overflow: none;
}


#machinas_area::after {
    content: "";
    opacity: 0.1;
    background-image: url(../images/grid.png);
    position: absolute; 
    left: 0; right: 0; bottom: 0; top: 0;
}

#painel_container { 
    position: fixed;
    z-index: 4000;
    left: 0;
    right: 0;
    top: -300px;
}

#painel {
    height: 250px;
    overflow-y: scroll;
    background-color: #404040;
    box-sizing: content-box;
    padding: 25px;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    user-select: none;
}

#controles {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    background-color: #404040;
    width: 350px;
    margin-left: 25px;
}

#controles::after{
  content: "";
  clear: both;
  display: table;
}

.controles_item { 
    color: #fff;
    width: 25px;
    line-height: 25px;
    text-align: center;
    float:left;
    font-size: 10pt;
}

.controles_item:hover {
    color: yellow;
    cursor: pointer;
}

.controles_item a,
.controles_item a:link,
.controles_item a:active,
.controles_item a:visited {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.controles_item a:hover {
    color: yellow;
}



.painel_item { 
    width: 110px;
    float: left;
    padding: 5px 25px 15px 0px;
    font-size: 9pt;
    line-height: 12.5pt;
    font-weight: normal;
    height: 65px;
}

.painel_item_ativo {
    color: yellow !important;
}

.painel_item_valor {
    padding: 3px 2px;
    color: yellow;
    font-size: 9pt;
    border: 1px solid gray;
    border-radius: 2px;
}


.painel_item_relacoes {
    font-size: 8pt;
    padding: 5px 0px;
}

.painel_item_titulo { 
    font-weight: bold;
    padding-bottom: 5px;
}


#modelo_machina, #modelo_observador { 
    display:none;
}

.machina_modelo, .machina_gabarito, .observador_modelo { 
    position: absolute;
    left: 0px;
    top: 0px;
    box-sizing: border-box;
    width: 125px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-family: 'Roboto Mono', monospace;
    font-size: 9pt;
    user-select: none;
    cursor: move;
}


.machina_modelo .fas, .observador_modelo .fas {
    color: #aaa !important;
}

.machina_modelo:hover, .observador_modelo:hover {
    border: 1px dashed black;
}

.machina_editando { 
    border: 2px solid #c00000 !important;
}

.observador_editando { 
    border: 2px solid #000060 !important;
}

.machina_bang { 
    border: 2px solid darkgreen !important;
}

.machina_modelo, .observador_modelo {
    background-color: #fff;
    border: 1px solid black;
    z-index: 100;
}

.machina_gabarito {
    background-color: rgba(255,0,0,0.3);
    border: 1px dashed red;
}


.conexao_unica {
    width: 25px;
    height: 50px;
    position: absolute;
    display:none;
    z-index: 500;
    left: 0;
    top: 0;
    user-select: none;
}

.conexao_inferior, .conexao_superior {
    width: 25px;
    height: 100px;
    position: absolute;
    display:none;
    z-index: 500;
    left: 0;
    top: 0;
    user-select: none;
}

.conexao_inferior {
    background-image: url(../images/conexao_dupla_inf2.svg);
}

.conexao_superior {
    background-image: url(../images/conexao_dupla_sup2.svg);
}

.conexao_superior:hover {
    background-image: url(../images/conexao_dupla_sup2_hover.svg);
}

.conexao_inferior:hover {
    background-image: url(../images/conexao_dupla_inf2_hover.svg);
}


.propriedades {
    display:none;
    position: absolute;
    z-index: 3000;
    right: 25px;
    top: 100px;
    width: 200px;
    background-color: #eee;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    font-family: 'Roboto Mono', monospace;
    font-size: 10pt;
}

.propriedades_titulo_machina {
    background-color: #c00000;
}

.propriedades_titulo_observador {
    background-color: #000060;
}


.propriedades_titulo {
    color: #fff;
    padding: 5px 10px;
    cursor: move;
}
.propriedades_corpo {
    padding: 5px 10px 10px 10px; 
    background-color: #eee;
}

.propriedades label, 
.modal_workspaces label {
    display:block;
    padding: 5px 0px;
    font-weight: bold;
}

.propriedades input { 
    box-sizing: content-box;
    font-size: 10pt;
    padding: 3px 5px;
    background-color: #fff;
    border: 1px solid gray;
    border-radius: 3px;
    width: 168px;
}
.propriedades select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; 
    font-size: 10pt;
    padding: 3px 5px;
    background-color: #fff;
    border: 1px solid gray;
    border-radius: 3px;
    width: 100%; 
    background-image: url(../images/br_down.png);
    background-repeat: no-repeat;
    background-position: center right 10px;
}

.propriedades button,
#nuvem button, 
#tabela button
{
    padding:5px 10px;
    border-radius: 3px;
    background-color: #404040;
    color: #fff;
    border:none;
    user-select: none;
    cursor: pointer;
}

.propriedades button:hover,
#nuvem button:hover
{
    background-color: #808080;
    cursor: pointer;    
}

.inativo { 
    display: none;
}

#tela {
    display: none;
    position: absolute;
    z-index: 4000;
    right: 25px;
    bottom: 25px;
    width: 300px;
    height: 300px;
    border-radius: 5px;
    background-color: #000;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    cursor: move;
}

.painel_item .fas {
    color: #ccc !important;
}

#avisos .sucesso {
   color: darkgreen !important; 
}

#avisos .erro {
   color: darkred !important; 
}


#avisos {
    position: fixed;
    display: none;
    z-index: 4000;
    bottom: 50px;
    left: 50px;
    padding: 1em;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #404040;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    font-size: 10pt;
}
#painel_workspace {
    padding-bottom: 20px;
    font-weight: bold;
    color: yellow;
    font-size: 16pt;
    height: 30px;
}

#painel_workspace_titulo_edita {
    display:none;
    padding-bottom: 20px;
}
#workspace_titulo {
    font-weight: bold;
    font-family: 'Roboto Mono', monospace; 
    color: yellow;
    background-color: #404040;
    font-size: 16pt;
    border-radius: 4px;
    height: 28px;
    padding: 0;
    border: 0;
    width: 245px;
}

.workspace_titulo_editando {
    background-color: yellow !important;
    color: #404040 !important;
}

#workspace_fps, #workspace_geracoes {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; 
    font-family: 'Roboto Mono', monospace;
    width: 110px;
    font-size: 10pt;
    padding: 3px 5px;
    background-color: #404040;
    color: yellow;
    border-radius: 2px;
    border: 1px solid yellow;
    background-image: url(../images/select.svg);
    background-repeat: no-repeat;
    background-position: center right 5px;
}

.workspace_item {
    float: left;
    padding-right: 25px;
}

#nuvem, #tabela, #tabela_obs, #configuracoes {
    position: fixed;
    display: none;
    z-index: 5000;
    border-radius: 2px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    background-color: #eee;
    box-sizing: content-box;
    font-family: 'Roboto Mono', monospace;
}

#nuvem, #tabela {
    width: 400px;
    height: 300px;
}

#tabela_obs {
    width: 400px;
    height: 400px;
}

#configuracoes {
    width: 200px;
}

.modal_titulo { 
    font-size: 10pt;
    margin: 0;
    color: white;
    background-color: #c00000;
    padding: 5px 10px;
    cursor: move;
}

.modal_titulo a,
.modal_titulo a:link,
.modal_titulo a:visited,
.modal_titulo a:active
{
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.modal_titulo a:hover {
    color: yellow;
}


.modal_workspaces {
    padding: 5px 10px;
    font-size: 10pt;
    overflow-y: auto;
}

.modal_workspaces input { 
    box-sizing: content-box;
    font-size: 10pt;
    padding: 3px 5px;
    background-color: #fff;
    border: 1px solid gray;
    border-radius: 3px;
    width: 50px;
}

.modal_workspaces select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; 
    font-size: 10pt;
    padding: 3px 5px;
    background-color: #fff;
    border: 1px solid gray;
    border-radius: 3px;
    background-image: url(../images/br_down.png);
    background-repeat: no-repeat;
    background-position: center right 10px;
    min-width: 180px;
}


.nuvem_item td {
    border-bottom: 1px solid #aaa;
    line-height: 20pt;
}

.nuvem_item a,
.nuvem_item a:link,
.nuvem_item a:visited,
.nuvem_item a:active
{
    text-decoration: none;
    color: #c00000;
    cursor: pointer;
}

.nuvem_item a:hover {
    color: #404040;
}
.modal_opcoes {
    padding: 10px 10px;
}

.nuvem_ambiente {
    width: 200px;
}

.nuvem_data {
    width: 140px;
    color: gray;
}

.nuvem_opcoes { 
    width: 40px;
}

.inline {
    display: inline;
}

#tabela td {
    text-align: center;
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    padding: 5px;
    min-width: 50px;
}

#tabela th {
    text-align: center;
    background-color: #ccc;
    padding: 5px;
}
.dado_nome {
    width: 100%;
    text-align:left !important;
}

#tabela i .fas {
    color: #ccc;
}
.adsr {
    width: 33px !important;
    float: left;
}

.clearfix {
  content: "";
  clear: both;
  display: table;  
}


#workspace_performance {
    font-size: 10pt;
    padding: 7px 5px;
    background-color: #404040;
    color: yellow;
}

#workspace_tela {
    width: 180px;
}

#workspace_mudo {
    padding: 3px;
    margin: 0;
    width: auto !important;
}

#workspace_info {
    width: 180px;
    height: 50px;
    max-width: 180px;
    max-height: 50px;
    border-radius: 3px;
    border: 1px solid gray;
    box-sizing: border-box;
}



.controles_gray {
    color: gray;
    width: 25px;
    line-height: 25px;
    text-align: center;
    float:left;
    font-size: 10pt;
}

#obs_grafico {
    background-color: #fff;
}

#tabela_obs_workspace {
    padding-top: 10px;
}

observadores_eixos {
    display: flex;
    flex-direction: row;
}

.observador_eixo {
    flex: 1;
    padding-right: 5px;
}

.observadores_eixos {
    display: flex;
    padding-bottom: 10px;
}

#observador_grafico {
    background-color: #fff;
    width: 380px;
    height: 260px;
}

#tabela_workspace {
    height: 250px;    
}

#configuracoes_workspaces {
        height: 250px;
}

#nuvem_workspaces {
        height: 250px;
}

#observadores_eixo_info {
    padding-left: 10px;
    line-height: 24px;
}
