/*
Cores da FEUP
- Original:   #C4261D
- Original-:  #3F140B
- Original+:  #FF522E
- Original++: #FFDFD9

- Laranja-:   #8C6619
- Laranja:    #FFB92E
- laranja+    #FFE5B2

- Preto:    #000000
- Cinza-:   #3F3F3F
- Cinza:    #7F7F7F
- Cinza+:   #C0C0C0
- Branco:   #FFFFFF
*/

/* Body */

body {
  margin: 10px;
  color: #000000;
  background: url(res/body.png) #FFFFFF;
}

/* Frame */

#frame {
  width: 900px;
  margin-right: auto;
  margin-left: auto;
/*  border: 1px dashed #FFB92E;*/
  border: 1px dashed #E65854;


  padding: 5px;
  color: #000000;
  background: #FFFFFF;
}

/* Header */

#header {
  height: 138px;
  margin-bottom: 5px;
  border-bottom: 2px solid #C4261D;
  padding-bottom: 5px;
  color: #000000;
  background: #FFFFFF;
}

#header #left {
  float: left;
}

#header #right {
  float: right;
}

/* Sidebar */

#sidebar{
  float: right;
  /* float: left; */
  width: 200px;
  /* margin-right: 5px; */
  /* border-right: 1px dashed #99CCFF; */
  /* padding-right: 5px; */
  margin-left: 5px;
  /*border-left: 1px dashed #FFB92E;*/
  border-left: 1px dashed #E65854;
  padding-left: 5px;
  color: #000000;
  background: #FFFFFF;
}

#sidebar h1 {
  margin-top: 0px;
  margin-bottom: 5px;
/*  color: #FFE5B2;*/
  color: #FFFFFF;
  background: #C4261D;
  font-family: sans-serif;
  font-size: 10px;
  font-weight: bold;
}

#sidebar strong {
  color: #871a14;
  background: transparent;
  font-family: sans-serif;
  font-size: 10px;
  font-weight: normal;
}

#sidebar table{
  width: 100%;
  margin-bottom: 5px;
  border-style: none;
  font-family: sans-serif;
  font-size : 10px;
}

#sidebar a {
  border-bottom: 1px dotted #C0C0C0;
  color: #666699;
  background: transparent;
  text-decoration: none;
}

#sidebar a:hover {
  border-bottom: 1px solid #C0C0C0;
}

#langbar{
  float:right;
}

#langbar a{
  /*border: 2px solid #C4261D;*/
}

#langbar a.active{
  /*border: 2px solid #FFB92E;*/
  border: 2px solid #E65854;

}

#menu {
  /* margin:0 0 0 215px; */
  margin: 0 215px 0 10px;
  /* border: 1px solid #FFB92E;*/
  /* border-bottom: 2px solid #C4261D;*/
  padding: 2px;
  color: #000000;
  /*background-color: #741d19;*/
  background-color: #FFFFFF;
  /*background-image: url(res/menu_bg.jpg);*/
}

#menu table {
  color: #000000;
  font-family: sans-serif;
  font-size: 10px;
  font-weight: bold;
}

#menu .text{
  padding-left: 4px;
  padding-right: 4px;
}

#menu a img {
  border-style: none;
}

#menu a{
  /*border-bottom: 3px dotted #C4261D;*/
  color: #202020;
  background: #FFFFFF;
  text-decoration: none;
}

#menu a:hover {
  /*background: #da251c;*/
  color: #da251c;
  text-decoration: underline;
  /*border-bottom: 3px dotted #FFB92E;*/
}

#menu a.active {
  /*border-bottom: 3px solid #FFB92E;*/
}

/* Content */

#content {
  margin: 0 215px 0 0;
  /* margin: 0 0 0 215px; */
  padding: 15px;
  /* background:url(res/content_back.png) top left no-repeat; */
  background:url(res/content_back.png) top right no-repeat;
  font-family: sans-serif;
  font-size: 12px;
  border-top: 2px solid #C4261D;
  text-align: justify;
}

#content .header{
  margin-bottom: 5px;
  width: 100%;
  border-bottom: 1px solid #C0C0C0;
  font-family: sans-serif;
  font-size : 24px;
  font-weight:bold;
  font-variant: small-caps;
}

#content p{
  font-family:sans-serif;
  font-size: 12px;
}

#content h2{
  font-size: 14px;
  font-weight: bold;
}

#content .voltar{
  font-family:sans-serif;
  font-size: 10px;
  text-align:right;
}

#content a {
  border-bottom: 1px dotted #C4261D;
  color: #202020;
  background: #FFFFFF;
  text-decoration: none;
}

#content a:hover {
  border-bottom:1px solid #C4261D;
}

/* Footer */

#footer {
  margin: 0 215px 0 0;
  margin-top: 10px;
  padding: 10px;
  border-top: 2px solid #C4261D;
  background: #FFFFFF;
  font-family: sans-serif;
  font-size: 10px;
  clear: both;
}

#footer img {
  border:0;
}

