/*Parte común os temas*/
@import url("../comun.css");

/* Fonte Montserrat */

@font-face {
	font-family: Montserrat;
	src: url(fonts/montserrat/Montserrat-Regular.ttf);
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: Montserrat;
	src: url(fonts/montserrat/Montserrat-Bold.ttf);
	font-weight: bold;
	font-style: bold;
}

/*
.dijitContentPane {
    padding: 8px !important;
}
*/

/*Parte específica do tema */
.iconChart, .iconGrid, .iconFile, .iconUser {
    width: 20px;
    height: 18px;
	vertical-align:text-top;	
	background-image: url('imaxes/icon_menu.png');
	background-repeat: no-repeat;
    margin: 2px 0px;
	position: relative;
	top: 7px;
}
.iconChart {
	left: 5px;
}
.iconChartHover {
    width: 20px;
    height: 18px;
	vertical-align:text-top;	
	background-image: url('imaxes/icon_menu_hover.png');
	background-repeat: no-repeat;
    margin: 2px 0px;
	position: relative;
	top: 7px;
	left: 5px;
}
.iconChart {
	left: 5px;
}
.iconUser {
    height: 25px;
    top: -4px;
    background-image: url('imaxes/icon_user.png');
    margin: 0;
    left: -3px;
    width: 25px;
}
.iconHideMenu {
	height: 18px;
	width: 30px;
	top: 0px;
	background-image: url('imaxes/icon_hide_menu.png');
	margin: 0;
}
.iconGrid {
    margin: 5px 0px;
	background-position: 0; 
}
.iconChart {
	/*background-position: -18px; */
}
.iconFile{
	/*background-position: -36px; */
}

/*CABECEIRAS DA APP */
.mainHead{/*Cabeceira principal */
	height:35px;
	background-color: #29235C !important;
	border: 1px solid #B5BCC7;
	color: #FFFFFF;
	font-weight: bold;
	left:0px !important;
	top:0px !important;
	width: 1022px !important;
	padding: 0px !important;
}
	
img.iconApp { /*Icono app */
	padding: 4px;
}

/*Define as cabeceiras de submenús. */
.cabeceira2{
	width: 100%;
	height:33px;
	line-height:35px;
	background-color: #29235C !important;
	border: 1px solid #29235C;
	border-radius: 0px;
	font-weight: bold;
	font-size:13px;
	color: #FFFFFF;
	padding: 0 15px !important;
}

/* Botón para iconos */
/* Reduzco padding para que ocupe menos.. */
.satma .iconBtn .dijitButtonNode {
	padding:1px;
	background: none;
	border: 0;
}
.satma .iconBtn .dijitButtonText{/* para que non deixe espacio co texto */
	padding:0;
}

:focus {
    outline: -webkit-focus-ring-color auto 0px !important;
    outline: 0;
}

/***/

hr {
    border-top: 1px solid #cccccc !important;
    border-bottom: 0;
}

h1 {
	font-size: 17px;
	font-weight: bold;
	margin-bottom: 12px;
	padding: 8px;
	padding-left: 10px;
	padding-top: 9px;
	padding-bottom: 6px;
	background-color: #29235C;
	color: #FFFFFF;
	border-radius: 0px;
	line-height: 23px;
}
h2 {
	/*color: #000000;*/
	margin-top:17px;
	margin-bottom:7px;
	font-size:18px;
}
h3 {
	/*color: #000000;*/
	margin-top:30px;
	margin-bottom:10px;
	font-size:17px;
}
h4 {
	/*color: #000000;*/
	margin-top:17px;
	margin-bottom:17px;
	font-size:15px;
}
p {
	font-family: Montserrat, Roboto, Helvetica, Arial, serif;
	margin-top: 0px;
	margin-bottom: 11px;
	font-size: 13px;
	text-align: justify;
}

.tabla {
	margin-top: 5px;
    border-collapse: separate;
    border-radius: 0px;
	border: solid 1px  #CCCCCC;
}

.cabecera {
	background: linear-gradient(#f6f6f6, #e6e6e6);
	color: #4a4a4a;
	font-weight: bold;
    border-collapse: separate;
	padding: 4px;
	padding-left:8px;
	border-right: 1px solid #CCCCCC;
}
.cabecera:first-child {
    border-top-left-radius: 0px;
}
.cabecera:last-child {
	border-top-right-radius: 0px;
	border-right: 0px;
}

.fila {
	border-bottom: 1px solid~#CCCCCC;
}
.fila:last-child {
		border-bottom: 0px;
}
.fila.par {
	background-color: #FBFBFB;
}
.columna {
	padding: 4px;
	padding-right: 7px;
	border-spacing: 0px;
	border-right: 1px solid #CCCCCC; 
	border-top: 1px solid #CCCCCC;
	text-align:right;
}
.columna:last-child {
	border-right: 0px;
}
.imaxe {
	width:250px;
}
.pequeno {
	font-size: 13px;
}
a, a:active, a:hover, a:focus {
	outline: none !important; -moz-outline-style: none !important;
	text-decoration: none;
	color: #336699;
	font-weight: bold;
}

p,span {
	font-size: 14px;
	line-height: 25px;
}


strong {
	text-decoration: none;
	font-weight: bold;
	color: #29235C;
}


div {
	text-align:left;
}

.dijitStackContainer {
	margin-left: 10px;
}

.div-principal {
	margin-left:0px; 
	margin-top:0px;
	background-color: #ffffff;
	padding: 15px;
	padding-top:30px;
	padding-bottom:10px;
}

.div-principal-dlg {
	position: relative;
	top: 5px;
	z-index: 9999;
	margin-left:0px; 
	margin-top:20px;
	margin-bottom: 15px;
	background-color: #ffffff;
	padding: 0px;
	/*padding-top: 5px;*/
	/*padding-left: 5px;*/
}


/** enlaces galería de fotos */

a.gallery {
	text-decoration: none;
	color: #336699;
}
a.gallery:hover {
	text-decoration: none;
}
img.imaxe_gal {
	display: none;
}

.negrita {
	color: #29235C;
}

ul, ol {
	margin-top: 0px;
}
ul li {
	line-height: 23px;
	font-size: 14px;
	list-style-image: url('imaxes/icon_bullet.png');
}
ul li ul li {
	list-style-image: url('imaxes/icon_bullet2.png');
}

ul li, ol li {
	font-family: Montserrat, Roboto, Helvetica, Arial, serif;
	text-align: justify;
}
ol li {
	line-height: 23px;
	font-size: 14px;
}

/********/

body {
	font-family: Montserrat, Helvetica, Tahoma, Verdana, Arial !important;
	font-size: 13px !important;
	color: #29235C !important;
	height:100%;
	width:100%;
}

.dojoxGrid {
	font-family: Montserrat, Geneva, Arial, Helvetica, sans-serif;
}
.dijitDialogTitleBar {
	background-color: #29235C !important;
	margin: 4px;
}
.dijitDialogTitleBar {
    border-bottom: 1px solid #efefef;
    padding: 5px 8px 5px 12px;
    border-radius: 0px 2px 0 0;
    line-height: 20px;
}
.closeText, .dijitDialogCloseIcon {
	color: #FFFFFF;
}
.dijitDialogTitle {
	color: #FFFFFF;
	font-size: 16px;
}

#appLayout {
	background-color: #e6e6e6;
	margin-top: 5px;
	margin-bottom: 5px;
}
body {
	background-color: #29235C;
}

#mainMenu {
	background-color: #29235C !important; /* #e6e6e6 !important; */
	left: 0px;
	font-size: 13px !important;
}

#mainMenu .dijitTitlePane {
	margin-bottom: -1px;
}

#mainMenu .dijitTitlePaneContentOuter {
	/* border: 1px solid #336699; */
	margin-bottom: 1px;	
	border-radius: 0px !important;
}

#mainMenu .dijitTitlePaneTitleOpen {
	background: #336699;
	border: 1px solid #336699;
	border-radius: 0px;
}
#mainMenu .dijitTitlePaneTitleClosed {
	background: #29235C;
	border: 1px solid #29235C;
	margin-bottom: 1px;
	border-radius: 0px;
	/* border-bottom: 1px solid #e6e6e6; */
}

#mainMenu .dijitArrowNode:before {
	content: none;
}

#mainMenu .dijitTitlePaneTextNode {
	color: #ffffff;
	text-shadow: none;
}

#mainMenu .dojoDndItemAnchor {
  background: #f0f0f0;
  border: 1px dashed #f0f0f0;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  color: #333366;
  font-weight: bold !important;
}
#mainMenu  .dijitTitlePaneTextNode {
	margin: 0;
}
#mainMenu .dijitTitlePaneContentInner {
	background-color: #f0f0f0;
}
#mainMenu .dijitTitlePaneTextNode {
	font-size: 13px !important;
}

.listaConfigs {
	padding-left: 0px;
}
.listaConfigs div {
	color: #333366;
	background-color: #f0f0f0;
	font-weight: normal !important;
}
.listaConfigs div:hover {
	color: #336699;
	background-color: #f0f0f0;
}
.listaConfigs .dojoDndItemAnchor {
	color: #336699 !important;
}
.listaConfigs .dojoDndItemAnchor:hover {
	color: #336699 !important;
}

h1.titulo {
	/*background-image: url('imaxes/bg_titulo.jpg');
	background-repeat:repeat-y;
	background-position-y: -1px;*/
	background-color: #ffffff;
	border: 1px solid #29235C;
	border-left: 10px solid #29235C;
	color: #29235C;
	font-size: 14px;
	font-weight: semibold;
	padding-left: 25px;
	position: relative;
	top: 8px;
    height: 18px;
    line-height: 15px;
	margin-left: 5px;
}
h1.titulo.menu {
	margin-left: 5px;
}
h1.titulo.nomenu {
	margin-left: 0px;
}

#divCenter {
	position: relative;
	margin-right: 10px;
	margin-left: -5px;
	margin-top: -5px;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	background-color: #ffffff !important;
}

#divCenter.menu {
	position: relative !important;
	left: 225px !important;
}
#divCenter.menu, #divCenter.menu > .dijitStackContainerChildWrapper, #divCenter.menu > .dijitStackContainer-child {
	width: 789px !important;
}
#divCenter.menu > .dijitStackContainerChildWrapper  > .dijitContentPane  {
	width: 100% !important;
}

#divCenter.nomenu {
	position: relative !important;
	left: 19px !important;
	margin-bottom: 10px !important;
}
#divCenter.nomenu, #divCenter.nomenu > .dijitStackContainerChildWrapper, #divCenter.nomenu > .dijitStackContainer-child {
	width: 995px !important;
}
#divCenter.nomenu > .dijitStackContainerChildWrapper  > .dijitContentPane  {
	width: 100% !important;
}
.dijitStackContainer {
	margin-left:8px;
}


#divLeft {
	margin-left:-4px;
	margin-top: -5px;
}

td.columna_esquerda {
	width: 75%;
	vertical-align: top;
}
td.columna_dereita {
	width: 25%;
	vertical-align: top;
	padding-left: 20px;
}
td.columna_dereita_fixa {
	vertical-align: top;
	padding-left: 20px;
}
td.columna_esquerda img, td.columna_dereita img {
	width: 100%;
	height: auto;
}
img.boton {
	max-width: 100%;
	height: auto;
	cursor: pointer;
}
td.columna_dereita_fixa img, td.columna_dereita_fixa img.boton {
	width: auto !important;
	height: auto !important;
}

div.cadroTexto {
	border:1px solid #336699;
	padding: 15px;
	padding-top:12px;
	color: #333366;
	background-color: #e6e6e6;
	font-family: "RobotoSlab", Verdana;
	font-size: 14px;
	line-height: 21px;
}

div.boton_autoforma {
	border:1px solid #99cc00;
	padding: 5px;
	padding-left: 50px;
	color: #3f7023; /* verde oscuro */
	text-shadow: 1px 1px 0px rgba(220,220,220,1);
	background-color: #ffffff;
	font-family: "Montserrat";
	font-weight: bold;
	font-size: 10px;
	line-height: 21px;
	cursor: pointer;
}

div.boton_apdo {
	width: 150px;
	text-align: center;
	border:1px solid #666699;
	padding: 6px;
	color: #FFFFFF;
	background-color: #ffffff;
	font-family: "Montserrat";
	font-weight: 300;
	font-size: 15px; /* 0.8vw; */
	line-height: 31px;
	margin-top: -3px;
	cursor: pointer;
	
	background-repeat: no-repeat;
    background-position: 10px 0px;	
	background-size: contain;
	background-color: #29235C;
}

div.boton {
	height:55px !important; 
	width:55px !important; 
	overflow: hidden !important;
	background-color:#29235C; 
	color:#ffffff; 
	font-size: 1px; 
	text-align:center; 
	vertical-align:middle; 
	display:table-cell; 
	cursor:pointer;
}

.dlgSinColumna {
	width: 685px; /* ancho e ancho maximo, parametrizables */
	max-width: 685px;
	/*height: 100%;*/
}

#stack .dijitStackContainerChildWrapper.dijitVisible {
	width: 100% !important;
}

/*
a[title]:hover:after, img[title]:hover:after, td[title]:hover:after, div[title]:hover:after {
  content: attr(title);
  padding: 6px 12px;
  color: #333;
  font-size:14px;
  position: absolute;
  left: 10;
  top: 90%;
  z-index: 20;
  white-space: nowrap;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0px 0px 4px #222;
  -webkit-box-shadow: 0px 0px 4px #222;
  box-shadow: 0px 0px 4px #222;
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #eeeeee),color-stop(1, #cccccc));
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
}
*/

.dlg_operacion .dijitDialogPaneContent {
	padding: 2px;
	padding-top: 0px;
	margin: 0px;
}

.tabla_operacion {
	border-collapse: separate;
	margin-top: 0.1em;
	border-spacing: 0;
	border-left: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
}
.tabla_operacion td
{
	border-bottom: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;  
}	

.tabla_borde {
	border-collapse: separate;
	margin-top: 0.1em;
	border-spacing: 0;
	border-left: 0px solid #CCCCCC;
	border-top: 0px solid #CCCCCC;
}
.tabla_borde td
{
	border-bottom: 0px solid #CCCCCC;
	border-right: 0px solid #CCCCCC;  
}	

.tabla_ferramentas {
	border-collapse: separate;
	margin-top: 0.1em;
	border-spacing: 0;
	border-left: 1px solid #29235C;
	border-top: 1px solid #29235C;
}
.tabla_ferramentas td
{
	border-bottom: 1px solid #29235C;
	border-right: 1px solid #29235C;  
}	
.btn-volver {
	position:absolute;
	top: 4px;
	right: 4px;
	background-color: #29235C;
	color: #ffffff;
	padding: 1px;
	padding-left: 10px;
	padding-right: 10px; 
	cursor:pointer; 
	display:none;"
}

.celda_ferramenta {
	/*border: 1px solid #FFFFFF;*/
}
.celda_ferramenta:hover {
	/*border:1px solid #29235C;*/
	color: #336699;
	font-weight: bold;
}

/* Calendario */
.dijitCalendarPopup .dijitDropDownButton .dijitButtonNode {
	height:23px;
}
.dijitCalendarPopup .dijitArrowButtonChar {
    display: none !important;
}

/* Limitar rango de datas en calendarios de alarmas */
div#data_i_fixo_popup_mddb_mdd,div#data_f_fixo_popup_mddb_mdd {
	display: none !important;
}
#data_i_fixo_popup span.dijitInline.dijitCalendarPreviousYear, #data_i_fixo_popup span.dijitInline.dijitCalendarNextYear,
#data_f_fixo_popup span.dijitInline.dijitCalendarPreviousYear, #data_f_fixo_popup span.dijitInline.dijitCalendarNextYear {
    display: none !important;
}
#data_i_fixo_popup th.dijitReset.dijitCalendarArrow, #data_f_fixo_popup th.dijitReset.dijitCalendarArrow {
    display: none !important;
}

/*
.dgrid-cell {
	cursor:pointer;
}
*/
