/* @override http://localhost/intranet2/css/base.css */

/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/

/* base.css, part of YUI's CSS Foundation */

h1 {


    /*18px via YUI Fonts CSS foundation*/
    font-size: 138.5%;
}

h2 {


    /*16px via YUI Fonts CSS foundation*/
    font-size: 123.1%;
}

h3 {


    /*14px via YUI Fonts CSS foundation*/
    font-size: 108%;
}

h1,h2,h3 {


    /* top & bottom margin based on font size */
    margin: 1em 0;
    padding: 0 0.4em;
}

h1,h2,h3,h4,h5,h6,strong {


    /*bringing boldness back to headers and the strong element*/
    font-weight: bold;
}

abbr,acronym {


    /*indicating to users that more info is available */
    border-bottom: 1px dotted #000;
    cursor: help;
}

em {


    /*bringing italics back to the em element*/
    font-style: italic;
}

blockquote,ul,ol,dl {


    /*giving blockquotes and lists room to breath*/
    margin: 1em;
}

ol,ul,dl {


    /*bringing lists on to the page with breathing room */
    margin-left: 2em;
}

ol li {


    /*giving OL's LIs generated numbers*/
    list-style: decimal outside;
}

ul li {


    /*giving UL's LIs generated disc markers*/
    list-style: disc outside;
}

dl dd {


    /*giving UL's LIs generated numbers*/
    margin-left: 1em;
}

th,td {


    /*borders and padding to make the table readable*/
    /*border: 1px solid #000;*/
    padding: .5em;
}

th {


    /*distinguishing table headers from data cells*/
    font-weight: bold;
    text-align: center;
}

caption {


    /*coordinated margin to match cell's padding*/
    margin-bottom: .5em;


    /*centered so it doesn't blend in to other content*/
    text-align: center;
}

p,fieldset,table,pre {


    /*so things don't run into each other*/
    margin-bottom: 1em;
}

.nobr  { white-space:nowrap; }

input {
    padding: 1px;
}
.brancopeq2 {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 8pt;
    text-decoration: none;
    color: #FFFFFF;

}

.brancopeq {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 8pt;
    text-decoration: none;
    color: #FFFFFF
}

/* Header */
#hd{
    background-color:#FFFFFF;
    height: auto;
    margin: 0 15px;
    min-width:900px;
    border: solid 1px #000;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}

#topRight{
    margin-left: 25em;    
    min-height: 58px;
    /*background-color:#666699;*/
}

#topLeft{
    float:left;
    width:180px;
    height: 58px;
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    /*background-color: #666699;*/
    padding-left: 10px;
}

#logo{
    float:left;
    width:120px;
    height: 58px;
    background-image: url(images/SGM_logo2.gif);
    background-repeat: no-repeat;
    /*background-color: #666699;*/
    /*padding-left: 30px;*/
}

.menuTopLeft{
    float:left;
}

.menuTopRight{
    float:right;
}


/* header Toolbar */
.fg-toolbar {clear:both; padding: 0.4em; margin: 0;}
.fg-toolbar .fg-buttonset { margin-right:1.5em; padding-left: 1px; text-align: right;}
.fg-toolbar .fg-button { font-size: 0.7em;  padding-left:5px;padding-right: 5px; padding-bottom: 3px;padding-top: 5px;}

/* -- eliminar
#topDown{
    clear:both;
    background-image: url(images/tbl_header.png);
    height: 30px;
}
*/

/*layout de um link com a classe de botão*/
.linkBotao{
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}



#mainmenu{
    /*min-height: 800px;*/
    float: left;
    width: 227px;
    min-height:400px;
}

.mainmenu .ui-widget-header{
    margin-top: 15px;
    height:25px;
}

.mainmenu .ui-widget-header h2{
    margin:0;
}

#separador{
    clear:both;
}

/* Form Elements */
.ui-form {
    /*width:auto;*/
    width: 600px;
    margin:0 auto;
}

.ui-form .ui-widget-header h2 {
    margin:10px 0 10px 20px;
}

.ui-form .ui-widget-content {
    padding:20px;
}

.ui-form label, .ui-form input, .ui-form .ui-state-error, .ui-form .ui-icon, .ui-form .ui-state-error p {
    float:left;
}
.ui-form label, .ui-state-error p {
    font-size:12px;
    padding:10px 10px 0 0;
}

.ui-form .ui-state-error { padding:4px; }

.ui-form .ui-state-error p {
    font-weight:bold; padding-top:5px;
}

.ui-form .ui-state-error .ui-icon {
    margin:5px 3px 0 4px;
}

/* jqgrid */
.corAnular{
    color:red;
}

.corValidar{
    color:green;
}

.corNeutra{
    color:blue;
}

.corAnular2{
    color:magenta;
}
.corLab{
    color:#1C94C4;
    font-weight: normal;
    /*font-weight: bold;*/
}

/* Menu ELEMENTS */
.fg-button {
    outline: 0;
    margin:0 4px 0 0;
    /*padding: .4em 1em;*/
    text-decoration:none !important;
    cursor:pointer;
    position: relative;
    text-align: center;
    zoom: 1;
}

.fg-button .ui-icon {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: -8px;
}

.fg-button-icon-left { padding-left: 2.1em; }
.fg-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; }

.menu{
    margin-top: 15px;
    list-style:none;
    width:300px;
}

ul.menu{
    margin-left: 0;
    padding:0;
}

.menu li {
    float: left;
    list-style-type: none;
    width: 230px;
    /*background:#1841c8 url(images/menu_bg.png);*/
    /* border-style: solid;
     border-width: thin;*/
}

.menu li a {
    display: block;
    float: left;
    height: 30px;
    line-height: 30px;
    color: #000;
    text-decoration: none;
    font-family: arial, verdana, sans-serif;
    text-align: left;
    /* padding: 0 0 0 10px;*/
    font-size: 12px;
    list-style-image: none;
    width: 200px;
}

.menu li a b {
    float: left;
    display: block;
    padding: 0 16px 0 8px;
}

.menu li a:hover {
    /*color:#00CCFF;*/
    /*background: url(images/nav_hover.gif);*/
}

.menu li a em {
    display:block;
    float:left;
    width:20px;
    height:30px;
}

/* ICON ELEMENTS */

.menu li a em.english {
    background-image: url(images/ic_gb.gif);
    background-repeat: no-repeat;
    background-position: center center;
}

.menu li a em.regulamento {
    background-image: url(images/ic_doc.gif);
    background-repeat: no-repeat;
    background-position: center center;
}

.menu li a em.ajuda {
    background-image: url(images/ic_help.gif);
    background-repeat: no-repeat;
    background-position: center center;
}

.menu li a em.utilizadores {
    background-image: url(images/ic_user.gif);
    background-repeat: no-repeat;
    background-position: center center;
}

#submenu{
    /*min-height: 800px;*/
    float: none;
    width: 250px;
    min-height:400px;
}

.submenu{
    float:none;
    margin-top: 0px;
    margin-left:0;
    list-style:none;
    width:250px;
    height:auto;
}

.submenu li {
    float:none;
    list-style-type: none;
    /*width: 220px;*/
    /*background:#1841c8 url(images/menu_bg.png);*/
    /* border-style: solid;
     border-width: thin;*/
}

.submenu li a {
    display: block;
    float: left;
    height: 30px;
    line-height: 30px;
    color: #000;
    text-decoration: none;
    font-family: arial, verdana, sans-serif;
    text-align: left;
    /* padding: 0 0 0 10px;*/
    font-size: 12px;
    list-style-image: none;
    width: 200px;
}

/*Formulário de registo */
#register-step-1{
    display: inline;
}

#register-step-1 ol{
    margin-left:5px;
    margin-top:5px;
}

#register-step-1 label{
    margin-top:0;
    width:250px;
    font-weight: bold;
}

#nivel{

    font-size: 1em;
}

#registerRodape {
    font-size: 0.9em;
    /*float:left;*/
    /*position: relative;*/
    /*top: 10em;*/
    /*right: 320px;*/
    margin-left: 5px;
    padding: 1em;
    background: #ddf;
    border: 1px solid #aad;
    width: 500px;
    border-radius: 5px;
}
/*----Fim formulário registo---*/

/*-----------jqGrid---------*/

.myAltRowClass { background-color: #DDDDDC; background-image: none; } /* Define a cor das linhas paares da tabela */


/*-----------FIM jqGrid---------*/

#message {
    font-size: 0.7em;
    /*float:left;*/
    /*position: relative;*/
    top: 10em;
    /*right: 320px;*/
    padding: 1em;
    background: #ddf;
    border: 1px solid #aad;
    width: 270px;
}
#calendar_selection {
    font-size: 0.9em;
    /* float:left;*/
    /*position: relative;*/
    /*top: 10em;*/
    /*right: 1em;*/
    /*margin-left:273px;*/
    padding: 1em;
    /*background: #ffc;*/
    /*background: #1C94C4;*/
    border: 1px solid #E78F08;
    /*width: 270px;*/
}

#calendar{
    margin-top: 10px;
}

.event_edit_container {
    font-size: 0.9em;
    width: 600px;
    /* float:left;*/
    /*position: relative;*/
    /*top: 10em;*/
    /*right: 1em;*/
    /*margin-left:273px;*/
    /*padding: 1em;*/
    /*background: #ffc;*/
    /*background: #1C94C4;*/
    /*border: 1px solid #E78F08;*/
}

.event_edit_container textarea {    
    width: 300px;
}

.event_edit_container label {
    /*display:inline-block;
    padding-left: 10px;
    width: 150px;*/
    float:left;
    width:25%;
    margin-right:0.5em;
    padding-top:0.2em;
    text-align:right;
    font-weight:bold;
}

.event_edit_container fieldset {
    Text-align: left;
    border:1px solid orange;
    padding: 3px;
}

.event_edit_container span {
    padding-top:1px;
    margin-top: 6px;
    margin-bottom: 3px;
}

.event_edit_container .data {
    float: left;
    width: 47%;
    margin-left: 8px;
}

/*ajax-loader icon*/
.ui-autocomplete-loading { background: white url('../js/img/ajax-loader.gif') right center no-repeat; }

/*-----------WeekCalendar---------*/

.wc-header{
    height:43px;
    font-size:13px;
}

.wc-grid-timeslot-header{
    font-size:13px;
}

.wc-time{
    font-size:12px;
}

.wc-cal-event .wc-title{
    font-size:12px;
}

.wc-today.wc-day-column-last{border-right:3px double #FAD163;}
.wc-today.wc-day-column-first{border-left:3px double #FAD163;}

/*.ui-widget-header .wc-toolbar{
    padding: 0.5em;
} alterado directamente em jquery.weekcalendar*/

/*-----------FIM WeekCalendar---------*/

.painel {
    overflow: auto;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}

#ft{
    padding-top: 20px;
    text-align: center;
    z-index:999999;
}

.ui-tabs{
    font-size: 0.85em;
}

/* altera linha de jqgrid qd se trata de uma manutenção*/
.manutencao{
    background: url("images/manutencao_40x40.png") repeat scroll 50% 50% #B81900;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;

    /*color: #FFFFFF;
    background-color:black;
    opacity:0.6;*/
}
/* altera linha de jqgrid qd se trata de uma marcação invalidada*/
.invalidado{
    color: #FFFFFF;
    background-color:red;
    opacity:0.6;
}


.texto_erro{
    color:red;    
}

.qtipSize1{	
    min-width: 350px !important; 
    max-width: 500px !important;                 
}

.ui-tooltip-title{
    color:#454545 !important;
    /*font-weight:normal !important;*/
}

/*dimensão para todos os datepickers*/
.ui-datepicker { 
    font-size: 0.9em; 
    width: 20em
}
/* setting a consistent width, 160px; 
   control of type=file still not possible
input[type=text],input[type=password],textarea {
    width: 13.25em;
    *width: 12.9em;
}*/
