@font-face {
    font-family: Delicious;
    src: url('Delicious-Roman.otf');
}

@font-face {
    font-family: Delicious;
    font-weight: bold;
    src: url('Delicious-Bold.otf');
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: #FFFFFF repeat-x top center;
    font-family: Verdana, Geneva, sans-serif;
}

h1 {
    color: #333;
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    font-family: 'Delicious', sans-serif;
}

h2 {
    color: #5F2C2B;
    font-size: 120%;
    font-weight: normal;
    margin-top: 0;
}

input, select, option {
    font-family: Verdana, Geneva, sans-serif;
}

input[type="text"], input[type="password"] {
    padding: 5px 4px;
    border: 1px solid #D5D5D5;
}

select {
    width: 310px !important;
    border: 1px solid #D5D5D5;
    padding: 2px;
    background-color: #FFF;
}

option {
    padding: 2px;
}

a {
    text-decoration: none;
    color: #338A91;
}

a:hover {
    text-decoration: underline;
}

img {
    border: none;
}

ol li {
    line-height: 20px;
}

#header {
    position: relative;
    width: 1020px;
    left: 50%;
    margin-left: -506px;
    height: 132px;
    margin-bottom: 0;
}

#logo {
    float: left;
    width: 363px;
    height: 132px;
    margin-top: 3px
}

#logo-fapesp {
    float: right;
    width: 250px;
    height: 132px;
    margin-top: 3px;
    margin-right: 20px;
}

#header-wrap {
    background: url(../images/topo.png) center;
}

#footer-wrap {
    background: url(../images/bg-gray-dark-pixelate.jpg) center;
}

#footer {
    position: relative;
    width: 1000px;
    left: 50%;
    margin-left: -504px;
    padding-left: 4px;
    height: 182px;
    padding-top: 20px;
    background-image: url(../images/bg-footer.png);
}

#footer .address-block {
    float: left;
    margin-left: 40px;
    width: 350px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 120%
}

#footer .address {
    font-size: 90%;
    padding-top: 3px
}

#footer .name {
    font-weight: bold;
    color: #333333
}

#footer .contact {
    float: left;
    margin-left: 50px;
    margin-top: 40px;
    font-size: 90%;
}

#footer .email {
    float: left;
    margin-left: 128px;
    margin-top: 44px;
    font-size: 90%;
}

#header-clear {
    position: relative;
    width: 1000px;
    height: 0;
    left: 50%;
    margin-left: -502px;
    margin-top: 8px;
}

#content {
    position: relative;
    background: #fafafa url(../images/content.png) repeat-x;
    width: 998px;
    left: 50%;
    margin-left: -502px;
    min-height: 562px;
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    overflow: auto;
    overflow-x: hidden;

}

#content-wrap {
    background: url(../images/bg-gray-light-pixelate.jpg);
    padding-bottom: 4px;
    padding-top: 5px;
    margin-top: -8px;
}

#menu {
    position: relative;
    width: 100%;
    height: 25px;
    top: -3px;
    background-repeat: repeat;
    color: #000;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 1px;
    font-size: 15px;
    font-family: 'Delicious', sans-serif;
    font-weight: bold;
}

#menu a {
    color: #000;
    width: 100%;
    display: block;
}

.menu-home-container {
    position: relative;
    width: 1000px;
    left: 50%;
    margin-left: -460px;
}

.menu-home-container ul {
    list-style-type: none;
    padding-left: 0;
    height: 23px;
    padding-bottom: 0;
}

.menu-home-container li ul {
    position: absolute;
    display: none;
    width: 234px;
    margin-top: 7px;
    margin-left: -17px;
    height: auto;
}

.menu-home-container li ul li {
    z-index: 99999;
    font-size: 90%;
    width: 220px;
    height: 22px;
    padding: 5px 7px 0 7px;
}

.menu-home-container li ul li {
    padding-top: 7px;
}

.menu-home-container li ul li:hover, .menu-home-container li ul li:focus {
    background: #FFF;
    height: 22px;
    cursor: pointer;
}

.menu-home-container li {
    height: 20px;
}

.menu-home-container ul li {
    background: no-repeat 100% -100%;
    float: left;
    padding-left: 3px;
    padding-bottom: 10px;
    display: block;
    line-height: 10px;
    text-decoration: none;
    margin-right: 30px;
    padding-top: 0;
    vertical-align: middle;
    font-weight: normal;
}

.menu-home-container li ul li ul {
    position: relative;
    left: 240px;
    top: -25px;
}

.menu-home-container li ul li {
    z-index: 99999;
    background: url(../images/bg-menu.gif);
    font-size: 90%;
    width: 220px;
    height: 22px;
    padding: 5px 7px 0 7px;
}

.menu-home-container li ul li ul li {
    z-index: 99999;
    background: url(../images/bg-menu.gif);
    font-size: 90%;
    width: 220px;
    height: 22px;
    padding: 5px 7px 0 7px;
}

.menu-home-container li ul li ul li {
    padding-top: 7px;
}

.menu-home-container li ul li ul li:hover, .menu-home-container li ul li ul li:focus {
    background: #FFF;
    height: 22px;
    cursor: pointer;
}

.menu-home-container li:hover ul, .menu-home-container li:focus ul {
    display: block;
    z-index: 9999;
    background: #fff;
}

.menu-home-container li:hover ul li ul, .menu-home-container li:focus ul li ul {
    display: none;
    z-index: 9999;
    background: #fff;
}

.menu-home-container li ul li:hover ul, .menu-home-container li ul li:focus ul {
    display: block;
    z-index: 9999;
    background: #fff;
}

.page-header {
    margin: 0 0 12px;
    border-bottom: 1px dotted rgb(226, 226, 226);
    padding-bottom: 16px;
    padding-top: 7px;
}

.page-header h1 {
    margin: 0 0;
}

.page-footer {
    margin: 12px;
    border-top: 1px dotted rgb(226, 226, 226);
    padding-bottom: 7px;
    padding-top: 16px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: inline-block;
    width: 340px;
    padding-right: 10px;
    text-align: right;
}

.form-tag {
    display: inline-block;
    width: 300px;
}

.form-actions {
    display: block;
    text-align: center;
    border-top: solid 1px #e5e5e5;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 19px 20px 20px;
}

.validation-error {
    margin-left: 353px;
    margin-top: 3px;
    color: #f09784;
}

.form-group.has-error input {
    border-color: #f09784;
}

.btn {
    display: inline-block;
    /*   background-color: #abbac3;
       border: 5px solid #abbac3;
       color: rgb(255, 255, 255);
       text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
       border-radius: 0;
 */
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    padding: 6px 12px;
    position: relative;
}

.btn:hover {
    /*    background-color: #8b9aa3 !important;
        border-color: #abbac3 */
}

button.btn:active {    top: 1px;
    left: 1px}

.pagination {
    list-style: none;
    padding: 0;
    padding-right: 9px;
    position: relative;
    color: #a5a5a5;
    font-size: small;
    width: 100%;
}

.pagination li {
    float: left;
    margin: 3px;
}

.pagination li:first-child a, .pagination li:last-child a {
    border: 1px solid #ccc;
}

.pagination li a {
    display: block;
    padding: 3px 5px;
    color: #fff;
    background-color: #338A91;
    text-decoration: none;
}

.pagination li a.active {
    border: 1px solid #ccc;
    color: #000;
    background-color: #fff;
}

.pagination li a.inactive {
    background-color: #eee;
    color: #777;
    border: 1px solid #ccc;
}

div.thead div:first-child, div.list-item div:first-child {
    width: 5%;
}

div.thead div, div.list-item div {
    display: inline-block;
    padding: 10px 0;
    width: 11%;
    vertical-align: middle;
}

div.thead div:last-child, div.list-item div:last-child {
    width: auto;
}

div.thead {
    border-bottom: 1px dashed #e2e2e2;
}

div.thead div {
    font-weight: bold;
}

div.list-item {
    border-bottom: 1px dashed #e2e2e2;
}

div.list-item:hover {
    background-color: #f0f0f0;
}

div.group {
    margin-bottom: 15px;
}

div.col-key, div.col-value {
    display: inline-block;
}

div.col-key {
    width: 20%;
    text-align: right;
    font-weight: bold;
}

div.col-value {
    margin-left: 5px;
}

div.valid {
    color: #468847;
}

div.invalid {
    color: #B94A48;
}

.inline-block {
    display: inline-block;
}

.pull-right {
    float: right;
}

.error-code {
    font-size: 34px;
    color: #338A91;
}

.error li {
    margin-bottom: 10px;
}

.alert {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 1px solid #EED3D7;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success {
    color: #468847;
    background-color: #DFF0D8;
    border: 1px solid #D6E9C6;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    height: 0;
}

.dropdown-menu {
    padding: 15px 15px 0 15px;
    width: 300px
}

.datepicker {
    z-index: 1060;
}

.parsley-required, .parsley-type {
    color: red;
}