html {
    box-sizing: border-box;
    height: 100%;
}
body {
    position: relative;
    min-height: 100%;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #313E40;
}
.clear { clear: both; }
.left { float: left; }
.right { float: right; }
.margin-bottom { margin-bottom: 25px; }
hr {
    border: 0;
    border-top: 1px solid #bababa;
    height: 1px;
}
h2 {
    margin-top: 5px;
    margin-bottom: 25px;
    font-weight: bold;
}
h3 {
    margin-top: 1.0em;
    margin-bottom: 1.12em;
    font-weight: bold;
}
h4 {
    margin-top: 1.0em;
    margin-bottom: 1.12em;
    font-weight: bold;
}
h5 {
    margin-top: 1.0em;
    margin-bottom: 1.12em;
    font-weight: bold;
    border-bottom: 1px solid #666;
}
.add {
    background-color: #DDD;
    padding: 10px;
    padding-top: 14px;
    margin-bottom: 10px;
}
.header_container {
    background-color: #f0eeef;
    padding: 0;
    margin: 0;
}
.header {
    max-width: 980px;
    position: relative;
    /*width: 980px;*/
    height: 140px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    overflow: hidden;
}
.header #header_background {
    display: inline-block;
    /*float: right;*/
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    width: 730px;
    height: 140px;
}
.header #logo {
    display: inline-block;
    text-align: center;
    width: 250px;
    height: 140px;
    overflow: hidden;
}
.header #logo img {
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 140px;
}
.loginStatus {
    position: absolute;
    right: 0;
    top: 0;
    color: White;
    text-decoration: none;
    font-weight: bold;
    height: 26px;
    margin-top: 0px;
    background-color: #666;
    padding: 3px 5px 0 5px;
}
.loginStatus a, loginStatus a:visited, loginStatus a:hover, loginStatus a:active {
    color: White;
    text-decoration: none;
}
.main-menu {
    background-color: #f0eeef;
    border: none;
}
.main-menu .container-fluid {
    padding-left: 0;
}
.main_content {
    position: relative;
    padding-bottom: 70px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    min-height: 500px;
}
.option_page {
    max-width: 980px;
    margin: auto;
}
.content {
    margin: 0 20px;
}
.footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50px;
    padding-top: 10px;
    width: 100%;
    background-color: #f0eeef;
}
.copyright, .version {
    font-size: 12px;
}
#LoginPage {
    max-width: 300px;
    margin: auto;
    text-align: center;
}
#form_login {
    text-align: left;
}
.loginStyle .label {
    display: block;
}
.loginStyle .textbox {
    border: 1px solid #929292;
    width: 140px;
    vertical-align: middle;
    padding: 3px;
    margin: 2px 0 5px 0;
}
.loginStyle .button {
    margin-top: 8px;
    margin-bottom: 8px;
}
.loginFailureText {
    color: Red;
}
.pagine {
    background-color: #f0eeee;
    padding: 10px 0;
    text-align: center;
}
.pagine p {
    margin: 10px 0 0 0;
    font-style: italic;
    color: #666;
}
.resultSearch {
    position: absolute;
    height: auto;
    max-height: 80%;
    overflow: auto;
    background-color: #FFF;
    border: 1px solid #666;
    display: none;
    border-radius: 3px;
    box-shadow: 0px 4px 10px #CCC;
    transition-property: visibility;
    transition-duration: 0.5s;
}
.categorySearch {
    padding: 5px;
    padding-left: 20px;
    font-weight: bold;
    background: linear-gradient( #fafcfd, #e6f0fa 50%, #dce6f4 50%, #dde9f7)!important;
    border: 1px solid #a8acb8!important;
    border-radius: 2px!important;
    cursor: pointer;
}
.elementSearch {
    padding: 5px;
    border: 1px solid white;
    border-bottom: 1px solid #DDD;
    cursor: default;
}
.elementSearch p a {
    font-size: 12px!important;
    color: black;
}
.selectedSearch {
    background-color: #b5d5ff;
    background-image: linear-gradient(#ecf5ff, #d0e5ff);
    border: 1px solid #84acdd;
    border-radius: 2px;
}
.elementSearch u {
    margin: 0;
    color: #666;
    font-style: italic;
    cursor: pointer;
    float: right;
}
.elementSearch i {
    color: rgb(0, 124, 172);
}
.importantSearch {
    background-image: linear-gradient(rgb(255, 245, 234), rgb(255, 223, 155));
    border: 1px solid rgb(255, 163, 0);
    border-radius: 2px;
}
.infos-table {
    border-collapse: collapse;
    text-align: center;
}
.infos-table tr:first-child {
    font-weight: bold;
    font-size: 1.2em;
    background-color: #ccc;
    border-bottom: 2px solid black;
}
.infos-table td {
    border: 1px solid #666;
    padding: 5px;
}
.infos-table input {
    width: 60px;
}
.whiteBack {
    background-color: white;
    color: black;
}
.colorBack {
    background-color: #fbcb09;
    color: black;
}
.whiteBack i, .colorBack i {
    font-size: 0.8em;
    font-weight: normal;
}
.no-close .ui-dialog-titlebar-close {
    display: none;
}
.nowrap {
    white-space: nowrap;
}
.trHover:hover {
    background-color: #eee;
}
.table-responsive {
    border: none;
}
.btn-link-default {
    color: inherit;
}
.panel-heading h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: normal;
    width: 75%;
    padding-top: 8px;
}
.default-tr {
    display: none;
}

@media (max-width: 667px) {
    .header {
        width: 100%;
        height: 50px;
    }

    .header #header_background {
        display: none;
    }

    .header #logo {
        height: 40px;
        width: auto;
        text-align: left;
        margin-top: 5px;
    }

    .header #logo img {
        height: 40px;
    }

    .navbar-default .navbar-nav>li>a {
        margin-left: 15px;
    }

    .content {
        margin: 0 15px;
    }
        
    .btn-block-xs {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }

    .fileinput {
        display: block;
    }

    .fileinput .thumbnail {
        width: auto!important;
        height: auto!important;
    }
}



.stats_menu {
    padding: 0;
}

.stats_menu ul {
    padding: 0;
    list-style: none;
    border: 1px solid #626466;
    border-radius: 3px;
    overflow: hidden;
    margin-right: 2em;
}

.stats_menu ul li {
    text-align: center;
    background-color: #e3ebf4;
    min-height: 3em;
    padding: 1em 0 0 0;
}

.stats_content {
    background-color: white;
    border-radius: 5px;
}

#tester{
max-width:1800px;
}