@charset "UTF-8";

html,
body{
    width: 100%;
	padding: 0;
	margin: 0 0 20px 0;
    background: #F4F4F4;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 14px;
}
a,
a:visited {
    text-decoration: none;
    color: black;
}
h1 {
    font-size: 24px;
    margin: 20px 0;
}

h2 {
    font-size: 25px;
    margin: 20px 0;
}

p {
    margin: 0;
}

label {
    padding: 5px 0;
}

label.normal {
    display: inline-block;
    width: 150px;
    padding: 5px 0;
    vertical-align: top;
}

label.numerica {
    display: inline-block;
    width: 50px;
    padding: 5px 0;
    margin-left: 15px;
}

input,
textarea,
select {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 14px;
    margin: 5px 0;
}

input[type="submit"] {
    width: 75px;
    margin: 10px;
    padding: 5px;
    color: #333333 !important;
    border: 1px solid #cacaca;
    background-color: white;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, gainsboro));
    background: -webkit-linear-gradient(top, white 0%, gainsboro 100%);
    background: -moz-linear-gradient(top, white 0%, gainsboro 100%);
    background: -ms-linear-gradient(top, white 0%, gainsboro 100%);
    background: -o-linear-gradient(top, white 0%, gainsboro 100%);
    background: linear-gradient(to bottom, white 0%, gainsboro 100%);
}
input[type="submit"]:hover {
    cursor: pointer;
    background-color: white;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%, white), color-stop(100%, gainsboro));
    background: -webkit-linear-gradient(bottom, white 0%, gainsboro 100%);
    background: -moz-linear-gradient(bottom, white 0%, gainsboro 100%);
    background: -ms-linear-gradient(bottom, white 0%, gainsboro 100%);
    background: -o-linear-gradient(bottom, white 0%, gainsboro 100%);
    background: linear-gradient(to top, white 0%, gainsboro 100%);
}
input.botao_imprimir {
    width: 140px;
}




/* Cabecalho */
header#cabecalho {
    background: #676767; /* Old browsers */
    background: -moz-linear-gradient(top,  #676767 0%, #3f3f3f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#676767), color-stop(100%,#3f3f3f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #676767 0%,#3f3f3f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #676767 0%,#3f3f3f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #676767 0%,#3f3f3f 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #676767 0%,#3f3f3f 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#3f3f3f',GradientType=0 ); /* IE6-9 */
    width: 100%;
    height: 115px;
}
header#cabecalho img {
    float: left;
    margin-left: 20px;
}
header#cabecalho nav#menu_utilizador {
    float: right;
    margin-right: 20px;
}
header#cabecalho nav#menu_utilizador ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
header#cabecalho nav#menu_utilizador ul li {
    float: left;
    margin: 0;
    padding: 5px 0;
    color: Black;
    border: 1px solid #cacaca;
    background: #f4f4f4; /* Old browsers */
    background: -moz-linear-gradient(top,  #f4f4f4 0%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f4f4f4), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f4f4f4 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f4f4f4 0%,#ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f4f4f4 0%,#ffffff 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f4f4f4 0%,#ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    -webkit-box-shadow: 2px 3px 10px 0px rgba(219, 219, 219, 0.35);
    -moz-box-shadow: 2px 3px 10px 0px rgba(219, 219, 219, 0.35);
    box-shadow: 2px 3px 10px 0px rgba(219, 219, 219, 0.35);
}
header#cabecalho nav#menu_utilizador ul li:first-child {
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
}
header#cabecalho nav#menu_utilizador ul li:last-child {
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-right-radius: 5px;
}
header#cabecalho nav#menu_utilizador ul li a {
    padding: 5px 10px;
}
header#cabecalho nav#menu_utilizador ul li:hover a {
    color: #4b4b4b;
}

/* Menu */
nav#menu_geral {
    width: 100%;
    background: #636363; /* Old browsers */
    background: -moz-linear-gradient(top,  #636363 0%, #7e7e7e 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#636363), color-stop(100%,#7e7e7e)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #636363 0%,#7e7e7e 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #636363 0%,#7e7e7e 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #636363 0%,#7e7e7e 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #636363 0%,#7e7e7e 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#636363', endColorstr='#7e7e7e',GradientType=0 ); /* IE6-9 */
    border: 1px solid #7e7e7e;
    border-left: none;
    border-right: none;
}
nav#menu_geral ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}
nav#menu_geral ul li {
    display: block;
    float: left;
    padding: 10px 5px;
    border: 1px solid #898484;
    border-top: none;
    border-bottom: none;
}
nav#menu_geral ul li a  {
    padding: 6px 20px;
    font-size: 18px;
    color: White;
}
nav#menu_geral ul li a:hover,
nav#menu_geral ul li a.selected {
    background: #4d4d4d;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}


nav#menu_geral .rmm-toggled.rmm-closed {
    width: 95%;
    margin: 5px auto;
}

nav#menu_geral .rmm-toggled-controls {
    display: inline-block;
    width: 100%;
    background: #3f3f3f;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
}
nav#menu_geral .rmm-toggled-controls .rmm-toggled-title {
    display: inline-block;
    position: relative;
    top: -12px;
    padding: 10px 30px 0 20px;
    color: white;
}
nav#menu_geral .rmm.graphite .rmm-button {
    display: inline-block;
    padding: 10px 20px 0 0;
}
nav#menu_geral .rmm.graphite .rmm-button span {
    display: block;
    margin-top: 4px;
    height: 2px;
    background: white;
    width: 24px;
}

nav#menu_geral .rmm-toggled ul li {
    float: none;
    border: none;
}
nav#menu_geral .rmm-toggled ul li a {
    display: block;
    width: 92%;
    padding-right: 0;
}



/* Mensagens */
div#mensagens {
    width: 100%;
    padding: 0;
    margin: 0 0 10px 0;
    background: rgb(237, 237, 237);
}
div#mensagens p {
    width: 98%;
    padding: 5px 1% 5px 1%;
}



/* Caixas de texto */
.numerica {
    width: 50px;
}
.texto_pequeno {
    width: 100px;
}
.texto_normal {
    width: 150px;
}
.texto_medio {
    width: 300px;
}
.texto_grande {
    width: 300px;
    height: 100px;
}

/* Tabelas */
table {
    border-collapse: collapse;
    width: 50%;
    color: #212121;
    padding: 5px 0;
}
table thead {
    background: #676767; /* Old browsers */
    background: -moz-linear-gradient(top,  #676767 0%, #3f3f3f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#676767), color-stop(100%,#3f3f3f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #676767 0%,#3f3f3f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #676767 0%,#3f3f3f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #676767 0%,#3f3f3f 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #676767 0%,#3f3f3f 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#676767', endColorstr='#3f3f3f',GradientType=0 ); /* IE6-9 */
}
tr:nth-child(even) {
    background: #CECECE;
}

th {
    padding: 10px;
    color: #ffffff;
    text-align: left;
}
th:nth-child(2) {
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-left-radius: 10px;
}
th:last-child {
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    border-top-right-radius: 10px;
}
td {
    padding: 5px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.selected,
.even.selected {
    background: #5976d3;
}
.invisivel {    display: none !important;}.displayInlineBlock {    display: inline-block !important;}