/*********************************************************************
* Matrículas 2009
**********************************************************************
* Definição dos estilos a utilizar no site
*
* Mário Pinto - 2009.06.23
*********************************************************************/
/********************************************************************
* Estilos Globais
*  Foreground Color:  #666
*  Background Color:  #FFF
*  Unselected:        #CCC
*********************************************************************/

body{
	color: #666;
	background: #FFF;
	font-family: sans-serif;
	font-size: normal;
  margin: 0px;
}


form{
  margin: 0px;
}

fieldset{
	border: #666 solid 1px;
	padding: 2px;
	margin: 0px;
}
fieldset:hover{
	border: #666 solid 1px;
	padding: 2px;
	margin: 0px;
	background: transparent;
}

input{
	border: #666 solid 1px;
	font-size: x-small;
	background: transparent;
}

select{
  border: #666 solid 1px;
  font-size: x-small;
  background: transparent;
  arrow-color: #666;
}

legend{
	font-size:x-small;
	background: #666;
	border: #666 solid 1px;	
	color: #FFF;	
}

td {
  margin: 0px;
  padding: 0px;
}

th {
  text-align:left;
  background: #666;
  color: #FFF;  
}
hr{
  border: #666 solid 1px;
}

h3{
  margin-top: 0px;
}
/* Classes de estilos */



/* Gerais */
.controls { /* Botões de acção */
  border-bottom: 1px solid #CCC;
  border-top: 1px solid #CCC;
}

.realce { /* Realce do curso activo */
  background: #666;
  color: #FFF;
}

.none {
}

.copyright {
  font-weight:lighter;
  font-size: x-small;
  color: #666;
  text-align: center;
  text-decoration:none;
  margin: 0px;
}

.error {
  color: red;
  font-weight: bold;
  text-align: center;
  text-transform:uppercase;
}

.login{
  width: 150px;
  vertical-align:top;
}
.main{
  border-right: 1px dotted #CCC;
  padding: 10px;
  vertical-align:top;
}
.right{
  width: 150px;
  vertical-align: top;
}

.footer{
  border-top: 1px dotted #CCC;
}

.header{
  border-bottom: 1px dotted #CCC;
  width: 100%;
}

/*********************************

  menus
  
**********************************/

.menu,.classmenu{
  background: transparent;
  border: #666 solid 1px;	
  color: #666;
  width: 100%;
  font-size: small;
  text-align: left;
  margin-bottom: 1px;
}

.menu:hover,.classmenu:hover{
  background: #666;
  border: #666 solid 1px;	
  color: #FFF;
  width: 100%;
  font-size: small;
  text-align: left;
  cursor:pointer;
}

.submenu{
  background: transparent;
  border: none;
  color: #666;
  margin-left: 10px;
  font-size: small;
  text-align: left;
}

.submenu:hover{
  background: #666;
  color: #FFF;
  font-size: small;
  text-align: left;
  cursor:pointer;
}

.hidemenu{
  display:none;
  width:100%;
}
.showmenu{
  display:block;
  border: 0;
  width:100%;
}

/*********************************

 Formulários
  
**********************************/


.label{
  font-size: small;
}

.form{
  font-size: small;
}

.image_submit{
  border: 0px;
  cursor: pointer;
}

.submit{
  background: #FFF;
	border: #666 solid 1px;	
	color: #666;
}
.submit:hover{
	background: #666;
	border: #FFF solid 1px;	
	color: #FFF;
  cursor:pointer;
}

.username, .password {
	font-size: small;
  background: #FFF;
}

.username:focus, .password:focus,
.username:hover, .password:hover{
  background: #FFF;
}

.count_chars{
  background: transparent;
  border: none;
}

.mask_field{
  background: transparent;
  border: none;
  text-align: right;
}

/*********************************

 Calendário
  
**********************************/
.calendario{
  background: white;
  border: none;
  font-size: x-small;
}

td.calendario_sessao{
  width: 15px;
  text-align: center;
  border: 1px dotted #666;
  cursor: pointer;
  color: #FFF;
  background-color: #666;
}

td.calendario{
  width: 15px;
  text-align: center;
  border: 1px dotted #666;
  cursor: pointer;
}
td.calendario:hover{
  background: #666;
  color: #FFF;
}

td.calendario_fds{
  width: 15px;
  text-align: center;
  color: #996;
}
td.calendario_mes{
  font-weight: bold;
}

td.calendario_ano{
  font-weight: bold; 
}

tr.calendario_ano{
  border: 1px solid #666;
}

.calendario_field{
  border: 1px solid #666;
  padding-left: 5px;
  padding-right: 5px;
}

.calendario_horas{
  font-size: x-small;
  text-align: center;
  border: none;
}

.calendario_disabled{
  font-size: x-small;
  text-align: center;
  color: #666;
  font-weight:bold;
  border: none;
}

textarea.calendario_sessoes{
  font-weight: bold;
  border: 1px solid #666;
  width: 100%;
}

.hide_calendario{
  display:none;
}
.show_calendario{
  display:block;
  border: 1px solid #666;
  position:absolute;
  z-index:1;
  overflow:auto;
}


/*********************************

 Relatórios / Tabelas
  
**********************************/

.report{
  background: #FFF;
  color: #666;
  width: 100%;
  font-size: small;
  border: 1px solid #666;
  padding: 0px;
  margin: 0px;
}
.report_odd{
  background: transparent;
  text-align: left;
  padding-left: 5px;
  border: none;
}
.report_even, th.report_even{
  color: #666;
  background: #DDD;
  text-align: left;
  padding-left: 5px;
  border: none;
}

.pagina{
  font-size: x-small;
  color: #666;
  border: none;
}

.pagina:hover{
  background: #666;
  color: #FFF;
  border: none;
  cursor:pointer;
}

.pagina_actual{
  border: solid 1px #666;
}

/*********************************

 Title Bar
  
**********************************/
.title_bar{
  border: none;
  vertical-align:middle;
  width:100%;
}

.title_bar_title{
  margin: 0px;
  text-align:left;
  font-size:large;
  font-weight:bolder;
  vertical-align:bottom;
}

.title_bar_action{
  margin: 0px;
  text-align: right;
  vertical-align:bottom;
}

.title_bar_search{
  margin: 0px;
  text-align: right;
  width: 270px;
  vertical-align:bottom;
}
.search{
  width: 100px;
}
.search:hover{
  background-color:white;
}

/* HIDE SHOW  */
.hide{display:none;}
.show{display:block; border: 0;}





@media print{
caption,
blockquote, ul,
ol, dl,
strong,
blockquote,
i, cite, em,
var, address,
pre, tt,
kbd, samp,
pre,
big,
small, sub, sup,
ol, ul, dd,
ol,
ol ul, ul ol,
ul ul, ol ol,
img,input,fieldset, .no_print { display: none;}
  
  body{
    color: black;
    background: white;
    font-family: sans-serif;
    font-size: normal;
    margin: 1cm;
    font-size: 10pt;
  }

}
