* { padding: 0; margin: 0; }

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    background-image: url(../img/bg.gif);
    background-repeat: no-repeat;
}

img {
    border: 0;
}

ol {
    padding-left: 25px;
}
ul {
    padding-left: 20px;
    list-style: circle;
}

fieldset {
    border: 0;
}

legend {
    color: #0d61ba;
}

.logo {
    height: 81px;
    width: 193px;
    position: absolute;
    left: 0px;
}

.help {
    cursor: help;
}

#wrapper2 {
    margin: 0 auto;
    width: 980px;
}

#header {
    color: #333;
    width: 100%;
    padding: 0px;
    border: 0px;
    height: 81px;
    margin: 0px;
    background: url(../img/bg_header.gif) right #ffffff no-repeat;
    position: relative;
}

#locales {
    float: right;
}

#locales a {
    color: white;
}

h1, h2, h3 {
    margin: 0;
    padding: 0px;
    text-decoration: none;
}

h1, h1 a.title {
    font-size: 21px;
    /*font-family: Georgia;*/
    color:#f0a100;
    font-style: italic;
    font-weight: bold;
}

h2 {
    font-size: 18px;
    /*font-family: Georgia;*/
    color:#f0a100;
    font-style: italic;
    font-weight: bold;
}

h3 {
    font-size: 14px;
    /*font-family: Georgia;*/
    color:#f0a100;
    font-style: italic;
    font-weight: bold;
}

/*- Menu horizontal--------------------------- */

.menu-horizontal {
    position: absolute;
    padding: 0;
    font: bold italic small Georgia, "Times New Roman", Times, serif;
    height: 35px;
    overflow: hidden;
    margin-bottom: 1em;
    background: transparent url(../img/bg_menu_horizon.gif) center center repeat-x;
    top: 46px;
    margin-left: 193px;
}

.menu-horizontal li {
    display: inline;
}

.menu-horizontal li a {
    float: left;
    color: white;
    padding: 9px 12px;
    text-decoration: none;
    font-weight: bold;
}

.menu-horizontal li a:visited {
    color: white;
}

.menu-horizontal li a:hover, .menu-horizontal li .current {
    color: white;
    background: transparent url(../img/bg_menu_horizon_over.gif) center center repeat-x;
}

/*- END OF Menu horizontal--------------------------- */

/*- Menu vertical--------------------------- */

.menu-vertical {
    width: 191px;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.menu-vertical li a {
    font: bold italic  small Georgia, "Times New Roman", Times, serif;
    voice-family: "\"}\"";
    voice-family: inherit;
    text-decoration: none;
}

.menu-vertical li a:link, .menu-vertical li a:visited {
    color: white;
    display: block;
    background-image: url(../img/bg_menu.gif);
    padding: 12px 0 12px 20px;
}

.menu-vertical li a:hover {
    background-image: url(../img/bg_menu_over.gif);
}

.menu-vertical li a.current {
    color: white;
    background: url("../img/bg_menu_over.gif") center center repeat-x !important;
}

/*- END OF Menu vertical--------------------------- */

/*- SubMenu vertical--------------------------- */

.submenu-vertical {
    list-style: none;
    width: 191px;
    margin: 0px;
    padding: 0px;
}

.submenu-vertical li a {
    font: italic  small Georgia, "Times New Roman", Times, serif;
    voice-family: "\"}\"";
    voice-family: inherit;
    border-bottom-width: 1px;
    border-bottom-color: #FFF;
    border-bottom-style: solid;
    text-decoration: none;
}

.submenu-vertical li a:link, .submenu-vertical li a:visited {
    color: white;
    display: block;
    border-bottom-width: 1px;
    border-bottom-color: #FFF;
    border-bottom-style: solid;
    background:#4785c4;
    padding: 12px 12px 12px 40px;
}

.submenu-vertical li a:hover {
    background:#3f70a1;
}

.submenu-vertical li a.current {
    color: white;
    background:#3f70a1 !important;
}

/*- END OF SubMenu vertical--------------------------- */

a:link {
    color: #f0a100;
    font-weight: normal;
    text-decoration: none;
}

a:visited {
    color: #f0a100;
    font-weight: normal;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.main-content {
    display: table;
}

.main-content .main-content-inner {
    display: table-row;
}

#leftcolumn, .leftcolumn {
    color: #333;
    border: 0px;
    margin: 0px;
    padding: 0px;
    margin-bottom: 30px;
    width: 191px;
    display: table-cell;
    vertical-align: top;
    background: #f8fcff;
    border-left: 1px #f6c460 solid;
    border-right: 1px #f6c460 solid;
}

#rightcolumn, .rightcolumn {
    color: #0d61ba;
    height: 100%;
    width: 100%;
    display: table-cell;
    overflow: hidden;
    border-right: 1px #f6c460 solid;
    background: #fffdf7;
}

#rightcolumn .inner-content {
    margin: 30px 30px 50px 30px;
}

#rightcolumn .inner-content .home-image {
    width: 587px;
    height: 389px;
    display: block;
    margin: 0 auto;
}

#footer {
    width: 100%;
    color: #fff;
    border: 0px;
    background-image: url(../img/bg_footer.gif);
    font-size: 12px;
}

#footer .inner-wrapper {
    padding: 7px;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}
.relative {
    position: relative;
}
.subpages {
    margin-bottom: 20px;
}
#years {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
#years h2.inactive {
    color: #f0a100;
}

/** FORMS **/
form {
    color: #0d61ba;
    border: 0;
}
form legend {
    color: #0d61ba;
}
form th {
    text-align: right;
}
form label {
    margin: 0 8px;
    padding: 0 2px;
    font-weight: bold;
}
form label.required {
    border-bottom: 1px dotted #0d61ba;
}
form input, form select, form textarea, form label {
    margin-bottom: 4px;
}
form input, form select, form textarea {
    border: 1px solid #D8D8D8;
}
form input.text, form textarea {
    width: 300px;
}
form textarea {
    height: 100px;
}
form textarea.wswg {
    width: 500px;
    height: 300px;
}
form input.button {
    background-color: #FFF;
    padding: 0 4px;
    margin-top: 10px;
    font-size: 110%;
}
form ul.error {
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    color: #990000;
    list-style: none;
}
form input.datepicker {
    background: transparent url(../img/calendar.png) no-repeat right;
    padding-right: 20px;
    padding: 0.2em;
    width: 100px;
}
div.ui-datepicker {
    font-size: 80%;
}

ul#flashes {
    text-align: center;
    font-weight: bold;
    border: 1px solid #D8D8D8;
    background-color: white;
    margin-bottom: 20px;
    padding: 5px 0;
    list-style: none;
}
ul#flashes .info {
    color: green;
}
ul#flashes .error {
    color: red;
}

#leftcolumn form {
    margin-top: 50px;
    text-align: center;
}
#leftcolumn form fieldset {
    position: relative;
    border: 0;
    margin: 0 10px 0 5px;
}
#leftcolumn form legend {
    font-weight: bold;
    position: absolute;
    left: 10px;
    top: -20px;
}
#leftcolumn form th {
    text-align: right;
    width: 80px;
}
#leftcolumn form label {
    margin: 0;
    font-weight: normal;
    padding: 0 5px;
}
#leftcolumn form label.required {
    border-bottom: 0;
}
#leftcolumn form td {
    height: 26px;
    text-align: right;
}
#leftcolumn form input.text {
    width: 100px;
}
#leftcolumn form input.button {
    margin-top: 0;
    font-size: 100%;
}
#logged-in {
    margin: 50px 10px;
    color: #0d61ba;
}
#logged-in #logout {
    margin-top: 15px;
    text-align: right;
}

/** ITEM OPERATIONS **/
a.item-add, a.item-edit, a.item-delete, a.item-files {
    font-size: 1px;
    position: absolute;
    top: 0;
    right: 0;
}
a.item-show {
    font-size: 1px;
}
a.item-files {
    right: 36px;
}
a.item-edit {
    right: 18px;
}
a.item-delete {
    right: 0;
}
a.item-add:hover, a.item-edit:hover, a.item-delete:hover, a.item-files:hover, a.item-show:hover {
    border: 1px solid transparent;
}

/** PAGINATOR **/
.paginator {
	margin: 1em 0;
	font-size: 90%;
}
.paginator a, .paginator span {
	margin-right: 0.1em;
	padding: 0.2em 0.5em;
	color: #999999;
}
.paginator a, .paginator a:visited {
	border: 1px solid #9AAFE5;
	text-decoration: none;
	color: #105CB6;
}
.paginator span.button {
	border: 1px solid #DDDDDD;
}
.paginator .current {
	background: #2E6AB1;
	border: 1px solid #2E6AB1;
	color: white;
	font-weight: bold;
}

/** CONTENT **/
#rightcolumn h1 {
    margin-bottom: 20px;
}
#rightcolumn p {
    margin: 5px 0;
}
#rightcolumn .separator {
    background-image: url(../img/line.gif);
    width: 587px;
    height: 54px;
}

#rightcolumn .table {
    border: 1px solid #0d61ba;
}
#rightcolumn .table td {
    border: 1px solid #0d61ba;
    padding: 2px;
}

#rightcolumn h2 a {
    font-size: 18px;
    font-weight: bold;
}
#rightcolumn h3 a {
    font-size: 14px;
    font-weight: bold;
}
#rightcolumn form legend {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}

/** PAGES **/
#laws .law {
    margin-bottom: 20px;
}

#listing .inactive, #detail .inactive {
    color: gray;
}
#listing .date, #detail .date {
    font-style: italic;
}
#listing .perex, #detail .perex {
    /*font-weight: bold;*/
    font-size: 1.1em;
}
#detail .files {
    margin-top: 20px;
}
#listing .more, #detail .more {
    text-align: right;
    margin-bottom: 20px;
}
#listing-image {
    margin-bottom: 20px;
}

#users table {
    width: 100%;
}
#users td {
    padding: 2px;
    border-bottom: 1px dotted #f6c460;
}
#users .inactive {
    color: gray;
}
