body, form, ul, ol, dl, h1, h2, h3, h4 {
  margin: 0
}

body {
  font-size: 14px;
  font-family: tahoma, sans-serif;
  background: #e0e0e0;
  color: #444;
}

h1, h2 {
  font-weight: normal
}

h1 {
  font-size: 1.5em;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.3em;
  margin-bottom: 14px;
  font-style: italic;
}

a {
  color: #4C84BD
}

ul, ol {
  margin-bottom: 16px
}

/* Layout */

#outer, #quick-links {
  width: 960px;
  margin: 16px auto;
}

#outer {
  background: #fff;
  overflow: hidden;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  box-shadow: 1px 1px 3px #777;
  -webkit-box-shadow: 1px 1px 3px #777;
  -moz-box-shadow: 1px 1px 3px #777;
}

#header {
  background: #5d84ba url("../img/rfei/header-bkg.jpg") repeat-x;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  border-bottom: 1px solid #aaa;
}

#header-content {
  background: transparent url("../img/rfei/logo.jpg") no-repeat;
  margin-left: 8px;
  overflow: hidden;
}

#logo {
  float: left;
  width: 164px;
  height: 64px;
  text-indent: -9999px;
}

#mantra {
  color: #fff;
  text-shadow: 1px 1px 0 #4374ac;
  line-height: 32px;
}

#sc{
  position:absolute;
  bottom:10px;
  right:10px;
  font-size:9pt;
  text-align:center;
  color:#fff;
}

#nav {
  overflow: hidden;
  padding: 4px 4px 0 4px;
  clear: right;
}

#nav * {
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  z-index: 12;
}

#nav p {
  font-size: 12px;
  text-shadow: 0 1px 0 #fff;
}

#nav a {
  display: block;
  font-size: 12px;
  text-shadow: 0 1px 0 #fff;
  color: #333;
  cursor: pointer;
  text-decoration: none;
}

#nav > ul {
  padding: 0;
  margin: 0;
  list-style: none outside;
}

/* first-level */
#nav > ul > li {
  float: left;
  background: #cecaba url("../img/soleil/css/gr-white.png") repeat-x;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  box-shadow: 1px 1px 3px #333;
  -webkit-box-shadow: 1px 1px 3px #333;
  -moz-box-shadow: 1px 1px 3px #333;
  cursor: pointer;
}

#nav > ul > li > p, #nav > ul > li > a {
  padding: 8px 16px;
  line-height: 12px;
  margin: 0;
}

/* second-level */
#nav > ul > li > ul {
  display: none;
  opacity: 0;
  position: absolute;
  background: #cecaba url("../img/soleil/css/gr-white.png") repeat-x;
  margin: 0;
  padding: 0;
  list-style: none inside;
  border: 1px solid #aaa;
  border-top: 0;
}

#nav > ul > li:hover > ul {
  display: block;
  opacity: 1;
}

#nav > ul > li > ul > li > p, #nav > ul > li > ul > li > a {
  display: block;
  padding: 8px;
  margin: 0;
  background: #cecaba url("../img/soleil/css/gr-white.png") repeat-x;
  border-top: 1px solid #aaa;
}

#nav > ul > li > ul > li a:hover {
  background: #dedaca
}

/* third-level */
#nav > ul > li > ul > li > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#nav > ul > li > ul > li > ul > li > a, #nav > ul > li > ul > li > ul > li > p {
  display: block;
  padding: 6px;
  border-top: 1px solid #bebaaa;
}

.navborder {
  display:none;
}

#nav  ul#menu-config >  li {
  float:left;
  width:50%;
}

#nav  ul#menu-config >  li a {
  border-right: 1px solid #BEBAAA;
}


#nav ul#menu-config > li:nth-child(2n){
  clear:right;
}

#nav ul#menu-config > li:nth-child(2n+1){
  clear:left;
}



/* Identity */

#identity {
  float: right;
  color: #fff;
  text-shadow: 1px 1px 0 #4374ac;
  text-align: right;
  line-height: 32px;
  margin-right: 8px;
  font-size: 12px;
}

#identity a {
  color: #ffffdd
}

#identity a.self {
  text-decoration: none;
  color: #fff;
}

#identity a.self:hover {
  color: #ddd
}

#content {
  padding: 8px
}

#footer {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  -webkit-border-bottom-left-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-bottomleft: 8px;
  -moz-border-radius-bottomright: 8px;
  font-size: .7em;
  text-align: center;
  padding: 8px 0;
  background: #4374ac url("../img/rfei/header-bkg.jpg") repeat-x;
  color: #eee;
  text-shadow: 1px 1px 0 #4374ac;
  border-top: 1px solid #aaa;
}

#footer a {
  color: ffffee;
}

/* Login */

#login h1 {
  text-align: center;
}

#login {
  width: 360px;
  margin: 0 auto;
}

#login #fields input, #options, #buttons, #errors {
  margin-bottom: 8px
}

#login #fields label {
  display: block
}

#login #fields input {
  width: 356px;
  font-size: 1.3em;
  margin: 0 auto 8px;
}

#login #options, #buttons {
  text-align: center
}

#login #options label {
  padding: 0 8px;
}

#login #buttons input {
  font-size: 18px;
  padding: 8px 16px;
  color: #555;
}

#login #buttons input:hover {
  color: #000
}

#login #recover {
  text-align: right
}

#login #errors {
  text-align: center;
  font-size: 12px;
  color: #a00;
}

#entrance  {
  text-align:center;
  border:0;
  background: #eee;
  background:url("../img/rfei/button.jpg");
  background: -moz-linear-gradient(-90deg, #fff, #ccc);
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#ccc));
  color: #155ea8;
  font-size: 16px;
  margin: 0 16px;
  padding:8px 16px;
  text-shadow:0 1px 0 #fff;
  cursor:pointer;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  box-shadow:1px 1px 3px #555;
  -webkit-box-shadow:1px 1px 3px #555;
  -moz-box-shadow:1px 1px 3px #555;
  }

#entrance:hover{
    color: #eee;
    text-shadow:0 1px 0 #555;
    background: #155ea8;
    background:url("../img/rfei/button_active.jpg");
    background: -moz-linear-gradient(-90deg, #55aef5, #155ea8);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#55aef5), to(#155ea8));
}

/* Quick Links */

#quick-links {
  font-size: 10px;
  color: #606060;
}

#quick-links ul, #quick-links p {
  margin: 0;
}

#quick-links ul {
  padding: 0 0 0 4px;
  list-style: none outside;
  border-left: 2px solid #ccc;
}

#quick-links > ul > li {
  float: left;
  margin: 0 8px;
}

/* Application styles */

.messages ul {
  list-style: none outside;
  padding: 0;
}

.tags {
  overflow: hidden;
}

.tag {
  background: #cecaba url("../img/soleil/css/gr-white.png") repeat-x;
  float: left;
  padding: 4px 8px;
  margin: 4px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  box-shadow: 1px 1px 3px #777;
  -webkit-box-shadow: 1px 1px 3px #777;
  -moz-box-shadow: 1px 1px 3px #777;
}

.gravatar img {
  display: block;
}

.gravatar a {
  font-size: 11px;
}

table.calendar {
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 2px;
}

table.calendar  td, table.calendar th {
  padding: 5px;
  text-align: center; /*text-shadow: 0 1px 1px #777777;*/
  -moz-box-shadow: 2px 2px 3px #777777;
  -webkit-box-shadow: 2px 2px 3px #777777;
  -o-box-shadow: 2px 2px 3px #777777;
  vertical-align: middle;
  width: 90px;
}

table.calendar td {
  background: none repeat scroll 0 0 #FFFEEE; /*text-shadow: 1px 1px 4px #2C2820;*/
  -moz-border-radius: 8px 8px 8px 8px;
  -webkit-border-radius: 8px 8px 8px 8px;
  -o-border-radius:8px 8px 8px 8px;
}

table.calendar tbody tr:hover {
  background: transparent;
}

table.calendar td.current {
  background: none repeat scroll 0 0 #EEECCC;
  text-shadow: 1px 1px 4px #2C2820;
}

table.calendar td ul {
  margin: 0;
  width: 10%;
  float: right;
  position: relative;

}

table.calendar td ul li {
  list-style-type: none;
  font-size: 0.7em;
}

table.calendar td img {
  position: relative;
}

div.info {
  /*border: 1px solid #6e9bca;*/
  z-index: 0;
  overflow: hidden;
  background: url("../img/rfei/header-bkg.jpg") repeat-x scroll 0 0 #5D84BA;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0 1px 2px #AAAAAA;
  -webkit-box-shadow: 0 1px 2px #AAAAAA;
  -o-box-shadow: 0 1px 2px #AAAAAA;
  box-shadow: 0 1px 2px #AAAAAA;
  margin:10px;
  width:230px;
  float:left;
}

div.info h3{
  border-bottom: 1px dashed #6e9bca;
  font-style:normal;
  color: white;
  font-weight:normal;
  font-size: 14px;
  padding: 3px 20px 5px 19px;
}

div.info table{
  width:100%;
  padding:0 15px;
  font-size:14px;
  margin: 0 auto;
  background:#fff;
  -moz-border-radius-bottomleft:10px;
  -moz-border-radius-bottomright:10px;
  -webkit-border-radius-bottomleft:10px;
  -webkit-border-radius-bottomright:10px;
  -o-border-radius-bottomleft: 10px;
  -o-border-radius-bottomright: 10px;
  /*-moz-border-radius-bottomleft: 9px;*/
  /*-moz-border-radius-bottomright: 29px;*/
  /*-webkit-border-radius-bottomleft: 9px;*/
  /*-webkit-border-radius-bottomright: 29px;*/
}

div.info table .subheader{
  text-align:center;
  border-bottom: 1px dashed #6e9bca;
  /*color:#4C84BD;*/
  color:#333;
  font-weight: bold;
}

div.info table td{
  font-size: 9pt;
}

table.payment td span{
  font-size:16px!important;
  white-space: nowrap;
}




