@charset "utf-8";

/* Reset */

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td, img {
    margin: 0;
    padding: 0;
    border: 0;
}
*:focus {
    outline: none;
}
.clear {
    clear: both;
}

/* Tools */

.clearfix:after, .clearfix:before {
    content: "";
    display: table;
    clear: both;
}
.pull-left {
    float: left;
}
.margin-bottom-40 {
    margin-bottom: 40px;
}

/* Template */

body {
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    text-align: center;
    color: #093c52;
    background: #c8d5d9 /*url(../img/background.jpg) repeat-x*/;
}
textarea, input {
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}
input[type="text"], input[type="password"] {
    border: 1px solid #BABABA;
    padding: 3px 5px;
    border-radius: 5px;
    width: 215px;
    margin-bottom: 5px;
}
input[type="submit"] {
    float: right;
}
a {
    color: #27586E;
}
a:hover {
    color: #000;
}
h1 {
    font-size: 24px;
    color: #27586e;
    font-weight: normal;
    margin-bottom: 11px;
}
h2 {
    font-size: 18px;
    color: #27586e;
    font-weight: normal;
    margin-bottom: 11px;
    margin-left: 10px;
}
h3 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 6px;
    color: #696969;
}
h5 {
    font-size: 16px;
    font-weight: normal;
    color: #000;
}
h6 {
    font-size: 14px;
    font-weight: normal;
    color: #40606e;
    margin-bottom: 3px;
}
header {
    /*background-image: url(../img/header.gif);*/
    height: 80px;
    background-color:#fff;
}
header div.inner, nav div.inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}
header figure {
    margin: 0 auto;
    text-align: left;
    max-width: 220px;
    display: inline-block;
}
header figure img {
    margin: 10px 0;
}
header section#right {
    float: right;
    display: inline-block;
}
header section#right div.top-button {
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    /*background-color: #CFDFE3;*/
    color: #27586E;
    padding: 5px 7px;
    display: inline-block;
    margin-left: 10px;
}
header section#right div.top-button a {
    text-decoration: none;
}
header section#right p#user_name {
    color: #27586e;
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    text-align: right;
}
nav {
    height: 37px;
    background-color: /*#d0dee2*/#fff;
    border-bottom: 4px solid #a6c2cb;
    text-align: center;
    position: relative;
    text-transform: uppercase;
}
nav div.inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}
nav ul {
    display: inline;
}
nav li {
    list-style: none;
    float: left;
    margin-left: 25px;
    position: relative;
    background: none;
    padding-left: 0px;
    padding-right: 0px;
}
nav li a {
    font-size: 13px;
    color: #000;
    display: block;
    float: left;
    height: 41px;
    line-height: 38px;
    text-decoration: none;
}
nav li.selected {
    height: 37px;
    border-bottom: 4px solid #093c52;
}
nav li.selected a {
    color: #093c52;
}
nav li.closed {
    color: #AAA;
    height: 41px;
    line-height: 38px;
}
section#content {
    max-width: 940px;
    background: #FFF;
    padding: 30px 10px;
    text-align: left;
    margin: 0 auto;
}
section#content p {
    margin-bottom: 15px;
    font-size: 13px;
}
section#content div.blue {
    background-color: #EFF4F6;
    border: 1px solid #D9D9D9;
    padding: 15px;
    margin-bottom: 20px;
}
footer {
    background: #2f4751;
    float: left;
    width: 80%;
    color: #FFF;
    padding: 30px 10% 30px 10%;
    text-align: center;
}
footer section.inner {
    max-width: 900px;
    text-align: left;
    margin: 0 auto;
}
footer section.inner a {
    color: #FFF;
    text-decoration: underline;
}
footer section.inner .logo {
    width: 100%;
    float: left;
    padding-bottom: 30px;
    text-align: center;
}
footer section.inner .copyright {
    width: 100%;
    float: left;
    text-align: center;
}
footer img {
    max-width: 180px;
    width: 80%;
}
.button {
    background-color: #2b6781;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    color: #FFF;
    cursor: pointer;
    padding: 5px 18px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}
.button:hover {
    background-color: #036479;
    color: #FFF;
}
.button.left {
    float: none;
}
.button.right {
    float: right;
    margin-top: 0;
}

/* Alert messages */

div.alert {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 1px 15px;
    margin-bottom: 20px;
}
div.alert p {
    display: block;
    padding-right: 0;
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    line-height: 0.8em;
    margin: 10px 0 !important;
}
div.alert.error {
    background-color: #d83a2e;
    background-image: -khtml-gradient(linear, left top, left bottom, from(#e4776f), to(#d83a2e));
    background-image: -moz-linear-gradient(#e4776f, #d83a2e);
    background-image: -ms-linear-gradient(#e4776f, #d83a2e);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e4776f), color-stop(100%, #d83a2e));
    background-image: -webkit-linear-gradient(#e4776f, #d83a2e);
    background-image: -o-linear-gradient(#e4776f, #d83a2e);
    background-image: linear-gradient(#e4776f, #d83a2e);
    background-repeat: repeat-x;
    border-bottom-color: #b32b21;
}
div.alert.error p {
    color: #FFF;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

/* Login */

section#content article#login form {
    padding-bottom: 0;
}
section#content article#login p {
    margin-bottom: 15px;
}
section#content article#login ul li {
    list-style: none;
    margin: 5px 0;
}
section#content article#login input {
    margin-bottom: 6px;
}
section#content article#login input[type="text"], section#content article#login input[type="password"] {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #BBB;
    padding: 5px;
    width: 215px;
}
section#content article#login input[type="submit"] {
    float: none;
}

/* Password reset */

section#content article#password_reset ul li {
    list-style: none;
}

/* Dashboard */

section#content article#dashboard aside {
    border: 1px solid #DDD;
    background-color: #F2F2F2;
    float: right;
    margin-left: 15px;
    padding: 12px;
    width: 200px;
}
section#content article#dashboard aside h1 {
    font-size: 18px;
}
section#content article#dashboard aside ul {
    margin: 0 0 12px 12px;
}
section#content article#dashboard aside p:last-child {
    margin: 0;
}

/* Questionnaire */

section#content article#questionnaire section#buttons {
    text-align: right;
}
section#content article#questionnaire section#buttons input[type='submit'] {
    background-color: #2b6781;
    border: none;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 15px;
    margin: 15px 15px 0 0;
    color: #FFF;
    cursor: pointer;
}
section#content article#questionnaire div.notification {
    position: fixed;
    display: none;
    line-height: 20px;
    padding: 10px 0;
    left: 0;
    width: 100%;
    z-index: 10;
    top: 0;
    background: #fedbb0;
    color: #000;
    font-weight: bold;
    text-align: center;
}
section#content article#questionnaire section#category {
    width: 24%;
    margin-top: 15px;
    vertical-align: top;
    display: inline-block;
}
section#content article#questionnaire section#category ul li {
    list-style: none;
    padding: 8px 0;
    color: #c2c9cd;
    border-bottom: 1px solid #CCC;
    padding-left: 30px;
    background: url(../images/category-state-none.png) left center no-repeat;
}
section#content article#questionnaire section#category ul li.current {
    color: #093c52;
    background: url(../images/category-state-selected.png) left center no-repeat;
}
section#content article#questionnaire section#category ul a {
    text-decoration: none;
}
section#content article#questionnaire section#category ul li.previous {
    color: #093c52;
}
section#content article#questionnaire section#category ul li p {
    font-size: 16px;
    margin-bottom: 3px;
}
section#content article#questionnaire section#category ul li span {
    display: block;
    font-size: 13px;
}
section#content article#questionnaire form {
    width: 72%;
    margin-left: 3%;
    vertical-align: top;
    display: inline-block;
}
section#content article#questionnaire form section.question {
    padding: 10px;
    margin: 10px;
    position: relative;
    border-bottom: 1px solid #CCC;
}
section#content article#questionnaire form section.question h1 {
    font-size: 16px;
}
section#content article#questionnaire form section.question ul li {
    list-style: none;
}
section#content article#questionnaire form section.question ul li label {
    display: block;
    line-height: 20px;
    padding: 10px 0 10px 10px;
}
section#content article#questionnaire form section.question ul li label:hover {
    background-color: #f8fafb;
}
section#content article#questionnaire form section.question ul li input {
    margin-right: 10px;
}
section#content article#questionnaire form section.question ul li ul {
    border: 1px solid #FFF;
}
section#content article#questionnaire form section.question.error ul {
    border: 1px solid #dd0000;
}
section#content article#questionnaire form section.question textarea {
    width: 84%;
    margin: 15px 0;
    height: 200px;
    padding: 15px;
    max-width: 500px;
}
section#content article#questionnaire form section.question input[type='number'] {
    margin: 15px 0;
    height: 30px;
    padding-left: 10px;
    font-size 16px;
}
section#content article#questionnaire form section.question.error input[type='number'], .question.error textarea {
    margin-left: 15px;
}
section#content article#questionnaire form section.question label {
    border: 1px solid #FFF;
    max-width: 400px;
}
section#content article#questionnaire form section.question .selected {
    background-color: #eff4f6;
    border: 1px solid #d9d9d9;
}
section#content article#questionnaire a.button {
    margin-right: 15px;
}

/* Profile */

section#content article#profile h2 {
    color: #000;
    margin: 0 0 15px 0;
}
section#content article#profile div.field {
    margin-bottom: 5px;
    vertical-align: middle;
}
section#content article#profile div.field div.left {
    display: inline-block;
    width: 30%;
    font-size: 13px;
    vertical-align: top;
    line-height: 22px;
}
section#content article#profile div.field div.right {
    display: inline-block;
    width: 25%;
}
section#content article#profile div.field div.right input {
    width: 100%;
}
section#content article#profile div.field div.right input[name="leading_count"] {
    width: 30%;
}
section#content article#profile div.field div.right input[type="radio"] {
    width: 16px;
    margin-left: 20px;
}
section#content article#profile div.field div.right input[type="radio"]:first-child {
    margin-left: 0;
}

/* Results */

section#content article#results div.result {
    display: block;
    width: 20px;
    height: 20px;
    margin: auto;
    margin-bottom: 5px;
    line-height: 20px;
    text-align: center;
    color: black;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.17);
    cursor: help;
}
section#content article#results div.result.green {
    background-color: #00FF00;
    border: 1px solid #00FF00;
    /*#2EB82E*/
}
section#content article#results div.result.orange {
    background-color: #FC9721;
    border: 1px solid #FC9721;
    /*#FF9900*/
}
section#content article#results div.result.yellow {
    background-color: #FFFF00;
    border: 1px solid #FFFF00;
    /*#FFEB99*/
}
section#content article#results div.result.blue {
    background-color: #0060FF;
    border: 1px solid #0060FF;
    padding: 0;
    /*#6699EE*/
}
section#content article#results div.result.red {
    background-color: #FF0000;
    border: 1px solid #FF0000;
    /*#FF0000*/
}
section#content article#results div.result.word {
    width: auto;
}
section#content article#results div.result.word:first-of-type {
    margin-right: 5px;
}
section#content article#results div.result.word:last-of-type {
    margin-left: 5px;
}
section#content article#results section>h3 {
    font-size: 28px;
}
section#content article#results table {
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}
section#content article#results table tbody tr:nth-of-type(odd) {
    background: rgba(208, 222, 226, 0.5);
}
section#content article#results table tbody tr:nth-of-type(even) {
    /*background: red;*/
}
section#content article#results table tbody>tr>td {
    padding-top: 5px;
}
section#content article#results table thead tr th {
    padding: 10px;
}
section#content article#results table thead tr th:nth-child(2), section#content article#results table thead tr th:nth-child(3) {
    text-align: center;
}
section#content article#results table tbody tr td {
    min-width: 50px;
    text-align: center;
    vertical-align: top;
    width: 1%;
    vertical-align: middle;
}
section#content article#results table tbody tr td.large {
    padding-left: 10px;
    text-align: left;
    width: 30%;
    padding-bottom: 5px;
    vertical-align: middle;
}
section#content article#results table tbody tr td.other {
    text-align: left;
    width: 100%;
    padding: 10px;
    /* #D0DEE2 */
}
section#content article#results table tbody tr td.other div.question {
    /*background: #D0DEE2;*/
    font-weight: bold;
}
section#content article#results table tbody tr td.other em {

}
section#content article#results h2 {
    margin-left: 0;
}
section#content article#results ul.legend {
    list-style: none;
    padding-bottom: 10px;
}
section#content article#results ul.legend li {
    margin-bottom: 10px;
    vertical-align: middle;
    font-size: 13px;
}
section#content article#results ul.legend li div.result {
    display: inline-block;
    margin-bottom: 0;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    line-height: 20px;
    text-align: center;
    color: black;
    font-weight: bold;
    vertical-align: middle;
}
.pep-legenda div {
    float: left;
}
.pep-legenda {
    float: right;
}
#results thead tr {
    background: #093c52;
    color: white;
}

/* Responsiveness */

@media screen and (max-width:1020px) {
    header div.inner, nav div.inner {
        margin: 0 15px;
    }
}
@media screen and (max-width:760px) {
    section#content article#profile div.field.large {
        height: 55px;
    }
    section#content article#profile div.field div.left {
        display: block;
        width: 98%;
    }
    section#content article#profile div.field div.right {
        display: block;
        width: 98%;
    }
}
@media screen and (max-width:580px) {
    header {
        height: 100px;
    }
    header div.inner {
        text-align: center;
    }
    header figure {
        margin: 0 auto;
    }
    header figure img {
        display: block;
        width: 150px;
        margin-top: 2px;
    }
    header section#right {
        margin: 0 auto;
        text-align: center;
        float: none;
        display: block;
        height: 60px;
    }
    header section#right div.top-button {
        float: none;
        display: inline-block;
    }
    header section#right p#user_name {
        float: none;
        display: block;
        text-align: center;
    }
    section#content article#dashboard aside {
        float: none;
        margin: 0 0 30px 0;
        width: 91%;
    }
}
@media screen and (max-width:500px) {
    h2 {
        margin-top: 20px;
    }
    nav {
        height: 78px;
    }
    section#content article#questionnaire form {
        margin-left: 0;
        width: 100%;
    }
    section#content article#questionnaire form section.question {
        margin-left: 0;
    }
    section#content article#questionnaire section#category {
        width: 100%;
        margin-top: 0;
    }
    section#content article#questionnaire section#category ul li {
        display: inline-block;
        float: left;
        margin-left: 8px;
        padding-left: 20px;
    }
    section#content article#questionnaire section#category ul li p {
        font-size: 12px;
    }
    section#content article#questionnaire section#category ul li span {
        display: none;
    }
}
@media screen and (max-width:380px) {
    section#content article#results a.button.right {
        float: none;
        margin-bottom: 15px;
    }
}
