body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
}
input, select {
    margin: 2px;
}
a {
    text-decoration: none;
    color: #10437A;
}
a:hover {
    color: #ff0000;
}

#wrapper {    
    height: 48px;
    overflow:hidden;
}

div.logo {    
    background: url('../img/logo.gif') no-repeat left top;
    background-size: 130px;
    height: 48px;
    width: 140px;    
    float: left;
}

div.logout {
    width: 100px;    
    float: left;
    height: 48px;
    line-height: 76px;
}

div.title {
    background-color: #6CA5CE;
    color: #fff;
}

div.title h3 {
    font-weight: normal;
    padding: 10px;
}
table#res td.attachcell {
    text-align: center;
}
table.search {
    margin-top: 40px;
}
table.search th {
    text-align: right;
    font-weight: bold;
}
form#searchFilter {
    /*width: 420px;*/
}
div.btn {
    text-align: right;
    margin-top: 25px;
}

table#res {
    border-spacing: 0 15px;
    width: 100%;
}
table#res th, table#res td {
    text-align: left;
    padding: 2px;
}

table#res th {
    padding-top: 15px;
    padding-bottom: 15px;
}

table#res tr td {
    vertical-align: top;
}

tr.odd {
    background-color: #dedede;
}

table#res td.notextcell {
    width: 110px;
}

div.page-links {
    width: 400px;
    margin: 10px auto;
}

div.header {
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
}

table#dettaglio {
    margin-top: 30px;
    text-align: left;
}
table#dettaglio td, table#dettaglio th {
    padding: 5px;
}

div.wrap {
    position: relative;
    width: 450px;
    margin: 0 auto;
}

div.homelink {
    position: absolute;
    height: 23px;
    width: 21px;
    top: 10px;
    right: 10px;
}

p.msgKO, .errors {
    color: red;
    font-weight: bold;
}

#login {
    width: 260px;
    height: 160px;
    padding: 10px;
    margin: 20px auto 0 auto;
    border: 4px solid #6CA5CE;
}

#login table {
    border-collapse: collapse;
}

#login table .login-error {
    color: red;
    padding: 5px 0;    
}

.doc_title_link {
    text-decoration: none;
    color: #10437A;
    cursor: pointer;
}

.doc_title_link:hover {
    color: #ff0000;
}

/*BOOTBOX*/
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

@media (min-width: 576px){
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

.modal-dialog {
    position: relative;
    margin: .5rem;
    pointer-events: none;
    width: auto;
    margin: 30px auto;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-25%);
    transform: translate(0,-25%);
}

.modal.show .modal-dialog {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.modal-backdrop.show {
    opacity: .5;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #6CA5CE;
    border-color: #6CA5CE;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-search {
    float: right;
    margin-top: 0px;
}

[type=reset], [type=submit], button, html [type=button] {
    -webkit-appearance: button;
}

.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

button, select {
    text-transform: none;
}

button, input {
    overflow: visible;
}

button {
    border-radius: 0;
}



.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.fade.show {
    opacity: 1;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5;
}

.modal-backdrop.fade.show {
    filter: alpha(opacity=50);
    opacity: .5;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 5px;
}

.btn-success {
    color: #fff;
    background-color: #6CA5CE;
    border-color: #6CA5CE;
}

.btn-danger {
    color: #fff;
    background-color: #dedede;
    border-color: #dedede;
}

.modal-header .close {
    margin-top: -2px;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.abstract-date {
    text-align: right;
    width: 100%;
    margin: 0px;
}

.hidden {
	display: none;
}