h3 {
    margin-bottom: 55px;
}

#upload-button {
    -moz-box-shadow: 0px 10px 14px -7px #3e7327;
    -webkit-box-shadow: 0px 10px 14px -7px #3e7327;
    box-shadow: 0px 10px 14px -7px #3e7327;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #77b55a), color-stop(1, #72b352));
    background: -moz-linear-gradient(top, #77b55a 5%, #72b352 100%);
    background: -webkit-linear-gradient(top, #77b55a 5%, #72b352 100%);
    background: -o-linear-gradient(top, #77b55a 5%, #72b352 100%);
    background: -ms-linear-gradient(top, #77b55a 5%, #72b352 100%);
    background: linear-gradient(to bottom, #77b55a 5%, #72b352 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#77b55a', endColorstr='#72b352',GradientType=0);
    background-color: #77b55a;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #4b8f29;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 28px;
    font-weight: bold;
    padding: 20px 76px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #5b8a3c;
}
#upload-button:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #72b352), color-stop(1, #77b55a));
    background: -moz-linear-gradient(top, #72b352 5%, #77b55a 100%);
    background: -webkit-linear-gradient(top, #72b352 5%, #77b55a 100%);
    background: -o-linear-gradient(top, #72b352 5%, #77b55a 100%);
    background: -ms-linear-gradient(top, #72b352 5%, #77b55a 100%);
    background: linear-gradient(to bottom, #72b352 5%, #77b55a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#72b352', endColorstr='#77b55a',GradientType=0);
    background-color: #72b352;
}
#upload-button:active {
    position: relative;
    top: 1px;
}

form#saveFile,
form#add-company-form,
#upload-pdfs {
    display: none;
}

#messages {
    width: 405px;
    height: 40px;
    line-height: 10px;
    display: none;
    position: absolute;
}

#home-page #messages {
    top: 53px;
}

#preprocess-page #messages {
    top: 50px;
    left: 24px;
}

#preprocess-page .color-legend {
    width: 50px;
    height: 20px;
    display: inline-block;
    margin-bottom: 5px;
}

#preprocess-page .color-legend.green {
    background-color: #7c9f35;
}

#preprocess-page .color-legend.red {
    background-color: #aa3939;
}

#preprocess-page .color-legend.blue {
    background-color: #226666;
}

#warnings-page #messages {
    top: -15px;
}

#messages .close-alert {
    float: right;
    font-weight: bold;
    cursor: pointer;
}

.progressbar {
    display: none;
    position: relative;
}

.progressbar,
.progressbar .bar {
    width: 415px;
    height: 50px;
    margin-top: 20px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    padding-top: 3px;
    border: 2px solid;
}

.progressbar .bar {
    background-color: #74b455;
    position: absolute;
    top: 10%;
    left: 2%;
    max-width: 96%;
    height: 80%;
    margin: 0;
    padding: 0;
    border: none;
}

.progressbar .percent {
    position: relative;
}

label {
    font-size: 1.3em;
}

select {
    height: 40px;
    width: 250px;
    margin-bottom: 30px;
    margin-left: 10px;
    font-size: 1.3em;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

#warnings-page select {
    width: 200px;
}

input[type="submit"],
input[type="button"],
button {
    background-color: #eeeeee;
    border: 1px solid #999999;
    line-height: 35px;
    width: 40px;
    font-size: 1.3em;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

input[type="submit"] {
    width: 90px;
}

form#add-company-form {
    margin-bottom: 30px;
}

#add-company-form input[type="text"] {
    height: 40px;
    width: 260px;
}

.loader {
    display: none;
}

#analyse-company {
    margin-top: 30px;
}

#warnings-page select.period-month {
    width: 120px;
}

#warnings-page select.period-year {
    width: 80px;
}

#analysed-period {
    display: none;
}

input[type="button"]#analyse {
    width: 100px;
}

#warnings-page .progressbar {
    margin: auto;
    margin-bottom: 30px;
}

.no-warning {
    font-style: italic;
    /*font-variant: small-caps;*/
    font-weight: bold;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#warning-tables,
.warning-table,
.no-warning {
    display: none;
}

#warning-tables table,
.no-warning,
#companies-page table {
    padding: 10px;
    width: 900px;
    margin: auto;
    margin-bottom: 30px;
}

#companies-page table {
    margin-top: 0px;
}

#companies-page i.add-company,
#companies-page #new-company-form {
    float: right;
    height: 40px;
}

#warning-tables table tr,
#companies-page table tr {
    border: 1px solid;
    cursor: default;
}

#warning-tables table tr:not(:first-child):hover,
#warning-tables table tr.selected {
    background-color: #eeeeee;
}

#warning-tables table td,
#warning-tables table th {
    width: 150px;
    padding: 5px;
    text-align: center;
}

#companies-page table td,
#companies-page table th {
    padding: 5px;
    height: 50px;
}

#companies-page table td:not(:first-child) {
    width: 20%;
}

#companies-page table td:first-child {
    width: 40%;
}

#companies-page table td:not(:first-child),
#companies-page table th:not(:first-child) {
    text-align: center;
}

#warning-tables h4 {
    width: 900px;
    margin: auto;
    margin-bottom: 10px;
}

#warning-tables i {
    float: right;
    cursor: pointer;
}

#warning-tables tr:first-child,
#companies-page tr:first-child {
    background-color: #dddddd;
}

#warning-tables hr {
    width: 900px;
    margin: auto;
    margin-bottom: 25px;
}

#authentication-page .row {
    margin-top: 30px;
    text-align: center;
}

#authentication-page form {
    margin: auto;
    width: 500px;
    background-color: #eeeeee;
    padding: 40px;
    border: 1px solid #cccccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#authentication-page input,
#authentication-page button[type="submit"] {
    margin: 10px;
    width: 300px;
    height: 40px;
}

#authentication-page button[type="submit"] {
    background-color: #dddddd;
    margin-left: 29px;
}

.navbar .icon-button {
    padding: 10px 0 0 0;
}

.right {
    float: right;
}

.hidden-input {
    display: none;
}

#companies-page i {
    cursor: pointer;
    font-size: 1.5em;
}

#companies-page input[type="submit"],
#companies-page input[type="button"],
#companies-page input[type="text"] {
    width: 30px;
    height: 30px;
    font-size: 1em;
    font-weight: bold;
    line-height: 20px;
}

#companies-page input[type="button"] {
    width: 80px;
}

#companies-page input[type="text"] {
    width: 200px;
}

#companies-page form {
    display: none;
}

#companies-page #companies {
    width: 900px;
    margin: auto;
}

#companies-page #messages {
    top: -15px;
}

#companies-page select {
    height: 30px;
    width: 150px;
    font-size: 1em;
    margin-bottom: 0;
}

#no-company {
    font-size: 1.4em;
}

.navbar-default .navbar-nav > .open > a.dropdown-toggle {
    background-color: #f9f9f9;
}
