body {
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f8f8ff;
}

a {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

p {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
    text-decoration: none;
    text-align: justify;
    padding: 0;
    margin: 6px 0 0 0;
}

#page {
    margin:2px auto;
    width: 960px;
    height: 100%;
}
#mask-ad-banner {
    position:absolute;
    top: 2px;
    height: 90px;
    width: 960px;
    z-index: 500;
}

#mask-ad-column {
    position: absolute;
    top: 160px;
/*    left: 840px;*/
    width: 120px;
    height: 600px;
    z-index: 500;
}
#ad-banner, #header, #middle, #footer, #varadinet, #partners {
    width: 960px;
    position: relative;
    clear: both;
}

#ad-banner {
    height: 90px;
}

#language-selector {
    width: 100%;
/*    text-align: right;*/
    margin-top: 8px;
}
#language-selector-right {
    display: block;
    float: right;
    clear: right;
}
#language-selector-left {
    display: block;
    float: left;
    clear: left;
    padding-left: 100px;
}

#language-selector a {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
    text-decoration: none;
    margin-right: 220px;
}
#language-selector a:hover {
    text-decoration: underline;
}

#main-menu {
    height: 32px;
    width: 840px;
    float: left;
    clear: left;
    padding-left: 100px;
}

#main {
    text-align: center;
    width: 840px;
    float: left;
    display: inline;
    clear: left;
}

/* Main Menu */
/*************/
#nav {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
/*    background:#3469a4;*/
    background: #003366;
    height:28px;
    width:640px;
/*  min-width:990px;*/
    z-index: 2000;
/*  width:expression(document.body.clientWidth < 992 ? "990px" : "100%" );*/
    text-align: left;
}
#nav ul{
    margin: 0;
    padding: 0;
    position:relative;
}
#nav li {
    float:left;
    display: inline;
    z-index:3000;
}
#nav li a {
    color:#fff;
    text-decoration:none;
    display:block;
    padding:6px 16px;
}
#nav li a:hover,
#nav li a:focus,
#nav li.selected ul li a:hover {
/*    background:#5f95d1;*/
    background: #99ccff;
    color: black;
}
#nav li ul {
    position: absolute;
/*    background: #3469a4;*/
    background: #003366;
/*  width: 20em;*/
    left: -999em;
    z-index:3000;
}
#nav li:hover ul,
#nav li.hovered ul {
    left: auto;
}
#nav li ul li {
    float:none;
    display:block;
    margin-right:0;
}

/* Auxiliar menu */
/*****************/
#aux-menu {
    padding: 0;
    margin: 12px 0 8px 0;
    list-style-type: none;
    width: 120px;
    text-align: left;
    background-color: #003366;
}
#aux-menu li {
    padding: 0;
    margin: 0;
    text-align: center;
}
#aux-menu a {
    display: block;
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 14pt;
    text-decoration: none;
    color: white;
    padding: 4px;
    border-bottom: 2px solid white;
}
#aux-menu a:hover {
    background-color: #99ccff;
    color: #003366;
}

/* Footer Menu */
/***************/
#footer {
    padding: 16px 0;
}
#footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#footer li {
    display: inline;
    padding: 4px 64px;
}
#footer a {
    color: #99ccff;
}


#ad-column {
    width: 120px;
    display: inline;
    float: right;
    clear: right;
}

#varadinet {
    height: 36px;
}
#varadinet a img {
    border: 0;
}


#partners {
    margin-top: 16px;
}
#partner-table {
}
#partner-table td {
    text-align: center;
    vertical-align: middle;
}

h1 {
    font-family: "Times New Roman";
    background-image: url(images/logo_ro.png);
    background-position: center;
    background-repeat: no-repeat;
/*    width: 347px;*/
    width: 100%;
    height: 54px;
    text-align:center;
    text-indent: -9999em;
    position: relative;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    top: 0;
/*    left: 247px;    /* (960-120-347)/2 */
}

h2 {
    font-family: "Times New Roman", serif;
    font-size: 16pt;
    font-weight: normal;
    text-align: center;
    color: #003366;
    margin-top: 32px;
    margin-bottom: 8px;
}

h3 {
    font-family: "Times New Roman", serif;
    font-size: 14pt;
    color: #003366;
    text-align: center;
    font-weight: normal;
}

h4 {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
    text-align: center;
    font-weight: normal;
}

#text-page {
    padding: 0 100px;
}

.light-text {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #99ccff;
}
.dark-text {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
}

.left {
    text-align: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}
.justify {
    text-align: justify;
}
.bold {
    font-weight: bold;
}
.italic {
    font-style: italic;
}
.big {
    font-size: 12pt;
}


/* Page: BNR Main */
/******************/
#cursbnr-calendar, #cursbnr-table {
    width: 100%;
    text-align: center;
    clear: both;
}
#cursbnr-calendar {
    padding-bottom: 16px;
}
#cursbnr-table {
}

.currency, .rate {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    text-align: right;
    color: #003366;
}
.currency-date, .currency-selected-date {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    font-weight: bold;
    text-align: center;
    background-color: #003366;
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 3px;
    padding-bottom: 3px;
}
.currency-date {
    color: #99ccff;
}
.currency-selected-date {
    color: white;
}

.tab_curs {
    background-color: white;
}
.currency-row-1,
.currency-row-1 a {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    text-align: right;
    color: #003366;
    background-color: #99ccff;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
}
.currency-row-2,
.currency-row-2 a{
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    text-align: right;
    color: #99ccff;
    background-color: #003366;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
}

#cursbnr-footer {
    margin-top: 16px;
}

/* Page: NBR Chart */
/*******************/
#chart-header {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
}

/* Page: Romanian Banks */
/************************/
#other-ro {
    width: 100%;
    text-align: center;
    clear: both;
}
.tab-other-ro td {
    text-align: left;
}
.tab-other-ro a {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    text-align: left;
    text-decoration: none;
    color: #003366;
}

/* Page: Central Banks */
/***********************/
#central-banks {
    width: 100%;
    text-align: center;
    clear: both;
}
.tab-central-banks td {
    text-align: left;
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #99ccff;
}
.tab-central-banks a {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    text-align: left;
    text-decoration: none;
    color: #003366;
}


/* Page: Contact */
/*****************/
#contact-error {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: red;
    margin-top: 4px;
}

#contact-form-message {
    padding: 0;
    margin: 0;
    border-style: none;
    padding-left: 30px;
}
#contact-form-message ol {
    list-style: none;
    padding: 0;
    text-align: center;
}
#contact-form-message li {
    clear: both;
    text-align: left;
    margin: 4px 0;
}
#contact-form-message label {
    float: left;
    width: 120px;
    text-align: right;
    margin-right: 16px;
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
}
#contact-form-message input,
#contact-form-message textarea {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;    
}

#contact-form-code {
    border-style: none;
}
#contact-form-code label,
#contact-form-code input {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
}

#contact-form-submit {
    border-style: none;
    color: green;
}
#contact-form-submit input {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
}

/* Page: converter */
/*******************/
#converter-body {
    padding-left: 100px;
    padding-top: 16px;
}
#converter-body ol {
    list-style: none;
    padding: 0;
    text-align: center;
}
#converter-body li {
    clear: both;
    text-align: left;
    margin: 4px 0;
}
#converter-body label {
    float: left;
    width: 120px;
    text-align: right;
    margin-right: 16px;
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
}
#converter-body input {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
}

#converter-using {
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
    margin-left: -50px;
}


/* Page: module on site */
/************************/
.module
{
    width: 358px;
    font-family: Arial, Helvetica, "Sans Serif";
    font-size: 10pt;
    color: #003366;
    padding: 4px;
}
.module-head
{
}
.module-description
{
}
.module-row
{
    width: 100%;
    clear: both;
    padding: 2px 0;
    text-align: left;
}
.module-table
{
    clear: both;
    border-color: #003366;
}
.module-currency
{
    display: inline;
    width: 80px;
    padding: 0 10px;
    text-align: left;
}
.module-value-left
{
    width: 250px;
    float: left;
    clear: left;
    text-align: left;
}
.module-value-right
{
    width: 100px;
    float: right;
    clear: right;
    text-align: left;
}
.module-color-text
{
    width: 250px;
    display: inline-block;
    float: left;
    clear: left;
    text-align: left;
}
.module-color-box
{
    height: 14px;
    width: 18px;
    display: inline-block;
    clear: none;
    border-width: 1px;
    border-color: Black;
    border-style: solid;
}
.module-color-code
{
    width: 80px;
    text-align: left;
    display: inline-block;
    float: right;
    clear: right;
}

/* Sample module */
/*****************/
.cvi-table
{
    width: 180px;
	border-style: solid;
	border-color: #003366;
	border-width: 1px;
}
.cvi-title {
    font-family: Arial, sans_serif;
    font-size: 10pt;
    font-style: normal;
    font-weight: bold;
    text-align: center;
    padding: 2px 0;
    background-color: #99ccff;
    color: #003366;
}
.cvi-date {
    font-family: Arial, sans_serif;
    font-size: 10pt;
    font-style: italic;
    font-weight: normal;
    padding: 0 1px;
}
.cvi-day {
    font-family: Arial, sans_serif;
    font-size: 10pt;
    font-style: italic;
    font-weight: normal;
    text-align: left;
    padding: 0 1px;
}
.cvi-currency {
    font-family: Arial, sans_serif;
    font-size: 10pt;
    font-style: normal;
    font-weight: bold;
    text-align: center;
    color: #003366;
}
.cvi-rate {
    font-family: Arial, sans_serif;
    font-size: 10pt;
    font-style: normal;
    font-weight: normal;
    text-align: right;
    padding: 0 1px;
}
.cvi-difference {
    font-family: Arial, sans_serif;
    font-size: 10pt;
    font-style: normal;
    font-weight: normal;
    text-align: right;
    padding: 0 1px;
}
.cvi-link-row {
    font-family: Arial, sans_serif;
    font-size: 10pt;
    font-style: normal;
    font-weight: bold;
    text-align: center;
    padding: 2px 1px;
    white-space: nowrap;
}

