/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    background-color: whitesmoke;
    font-family: 'Roboto', sans-serif;
}

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

    #page-wrapper .home.login {
        max-width: 400px;
        margin: auto;
        text-align: center;
    }

        #page-wrapper .home.login form {
            margin-top: -10px;
        }

    #page-wrapper .home.authenticator {
        max-width: 400px;
        margin: auto;
        text-align: center;
    }

        #page-wrapper .home.authenticator form {
            margin-top: -10px;
        }

    #page-wrapper .home.registration > h1 {
        text-align: center;
    }

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0;
        padding: 0 10px;
    }
}

.navbar {
    background-color: #2e4a65;
    border-color: #808080;
}

    .navbar .navbar-brand {
        font-family: Oswald, Arial, Helvetica, sans-serif;
        color: #3d3d3d;
    }

.navbar-top-links {
    margin-right: 0;
}

    .navbar-top-links li {
        display: inline-block;
    }

        .navbar-top-links li:last-child {
            margin-right: 15px;
        }

        .navbar-top-links li a {
            padding: 15px;
            min-height: 50px;
        }

    .navbar-top-links .dropdown-menu li {
        display: block;
    }

        .navbar-top-links .dropdown-menu li:last-child {
            margin-right: 0;
        }

        .navbar-top-links .dropdown-menu li a {
            padding: 3px 20px;
            min-height: 0;
        }

            .navbar-top-links .dropdown-menu li a div {
                white-space: normal;
            }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        width: 310px;
        min-width: 0;
    }

    .navbar-top-links .dropdown-messages {
        margin-left: 5px;
    }

    .navbar-top-links .dropdown-tasks {
        margin-left: -59px;
    }

    .navbar-top-links .dropdown-alerts {
        margin-left: -123px;
    }

    .navbar-top-links .dropdown-user {
        right: 0;
        left: auto;
    }

.navbar-toggle {
    background-color: #3d3d3d;
    color: black;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li {
    border-bottom: 1px solid #e7e7e7;
}

    .sidebar ul li a {
        color: #656464;
    }

        .sidebar ul li a.active {
            background-color: #eee;
        }

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active > a > .fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0 !important;
}

    .sidebar .nav-second-level li a {
        padding-left: 37px;
    }

    .sidebar .nav-third-level li a {
        padding-left: 52px;
    }

@media(min-width:768px) {
    .sidebar {
        /*
        z-index: 1;
        position: absolute;
        width: 250px;
        margin-top: 66px;
            */
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-default {
    margin-bottom: 10px !important;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

    .btn-primary.btn-outline:hover,
    .btn-success.btn-outline:hover,
    .btn-info.btn-outline:hover,
    .btn-warning.btn-outline:hover,
    .btn-danger.btn-outline:hover {
        color: #fff;
    }

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .chat li {
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1px dotted #999;
    }

        .chat li.left .chat-body {
            margin-left: 60px;
        }

        .chat li.right .chat-body {
            margin-right: 60px;
        }

        .chat li .chat-body p {
            margin: 0;
        }

    .panel .slidedown .glyphicon,
    .chat .glyphicon {
        margin-right: 5px;
    }

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}

/*
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

    table.dataTable thead .sorting_asc:after {
        content: "\f0de";
        float: right;
        font-family: fontawesome;
    }

    table.dataTable thead .sorting_desc:after {
        content: "\f0dd";
        float: right;
        font-family: fontawesome;
    }

    table.dataTable thead .sorting:after {
        content: "\f0dc";
        float: right;
        font-family: fontawesome;
        color: rgba(50,50,50,.5);
    }
*/
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

    .btn-circle.btn-lg {
        width: 50px;
        height: 50px;
        padding: 10px 16px;
        border-radius: 25px;
        font-size: 18px;
        line-height: 1.33;
    }

    .btn-circle.btn-xl {
        width: 70px;
        height: 70px;
        padding: 10px 16px;
        border-radius: 35px;
        font-size: 24px;
        line-height: 1.33;
    }

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee !important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

    .panel-green .panel-heading {
        border-color: #5cb85c;
        color: #fff;
        background-color: #5cb85c;
    }

    .panel-green a {
        color: #5cb85c;
    }

        .panel-green a:hover {
            color: #3d8b3d;
        }

.panel-red {
    border-color: #d9534f;
}

    .panel-red .panel-heading {
        border-color: #d9534f;
        color: #fff;
        background-color: #d9534f;
    }

    .panel-red a {
        color: #d9534f;
    }

        .panel-red a:hover {
            color: #b52b27;
        }

.panel-yellow {
    border-color: #f0ad4e;
}

    .panel-yellow .panel-heading {
        border-color: #f0ad4e;
        color: #fff;
        background-color: #f0ad4e;
    }

    .panel-yellow a {
        color: #f0ad4e;
    }

        .panel-yellow a:hover {
            color: #df8a13;
        }

.tools .fa {
    color: #3d3d3d;
}


.pagination a {
    color: #3C3A3A;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: rgb(255, 214, 0);
    border-color: #808080;
    color: #3C3A3A;
}

.spacer-bottom {
    padding-bottom: 10px;
}

.spacer-top {
    padding-top: 10px;
}

.page-header {
    margin-top: 10px;
}

label {
    font-weight: normal;
    width: 250px;
}

#page-wrapper .users.modify label {
    width: auto;
}

.fa-white {
    color: white;
}

.btn-text-left {
    text-align: left;
    padding-left: 8px;
}

.field-validation-error {
    padding: 4px;
    margin-top: 2px;
    margin-bottom: 4px;
    display: inline-block;
    color: white;
    background-color: #d9534f;
    border-radius: 5px;
    width: 100%;
}


.imageModal {
    display: block;
    font-size: 12px;
    cursor: pointer;
}

    .imageModal:hover {
        text-decoration: none;
    }


.input-validation-error {
    border: 2px solid red;
    background-color: antiquewhite;
}

.fa-warning {
    color: #5aa9eb;
}

.fa-warning-content {
    color: white;
}


.input-warning {
    border: 1px solid #5aa9eb;
    background-color: rgba(90, 169, 235, 0.19);
}

.badge {
    background-color: rgb(93, 203, 218);
}

/** {
  -webkit-border-radius: 0 !important;
     -moz-border-radius: 0 !important;
          border-radius: 0 !important;
}*/


.btn-file {
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}

    .btn-file > input {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        font-size: 23px;
        cursor: pointer;
        filter: alpha(opacity=0);
        opacity: 0;
        direction: ltr;
    }

.fileinput {
    display: inline-block;
    margin-bottom: 9px;
}

    .fileinput .form-control {
        display: inline-block;
        padding-top: 7px;
        padding-bottom: 5px;
        margin-bottom: 0;
        vertical-align: middle;
        cursor: text;
    }

    .fileinput .thumbnail {
        display: inline-block;
        margin-bottom: 5px;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
    }

        .fileinput .thumbnail > img {
            max-height: 100%;
        }

    .fileinput .btn {
        vertical-align: middle;
    }

.fileinput-exists .fileinput-new,
.fileinput-new .fileinput-exists {
    display: none;
}

.fileinput-inline .fileinput-controls {
    display: inline;
}

.fileinput-filename {
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
}

.form-control .fileinput-filename {
    vertical-align: bottom;
}

.fileinput.input-group {
    display: table;
}

    .fileinput.input-group > * {
        position: relative;
        z-index: 2;
    }

    .fileinput.input-group > .btn-file {
        z-index: 1;
    }

.fileinput-new.input-group .btn-file,
.fileinput-new .input-group .btn-file {
    border-radius: 0 4px 4px 0;
}

    .fileinput-new.input-group .btn-file.btn-xs,
    .fileinput-new .input-group .btn-file.btn-xs,
    .fileinput-new.input-group .btn-file.btn-sm,
    .fileinput-new .input-group .btn-file.btn-sm {
        border-radius: 0 3px 3px 0;
    }

    .fileinput-new.input-group .btn-file.btn-lg,
    .fileinput-new .input-group .btn-file.btn-lg {
        border-radius: 0 6px 6px 0;
    }

.form-group.has-warning .fileinput .fileinput-preview {
    color: #8a6d3b;
}

.form-group.has-warning .fileinput .thumbnail {
    border-color: #faebcc;
}

.form-group.has-error .fileinput .fileinput-preview {
    color: #a94442;
}

.form-group.has-error .fileinput .thumbnail {
    border-color: #ebccd1;
}

.form-group.has-success .fileinput .fileinput-preview {
    color: #3c763d;
}

.form-group.has-success .fileinput .thumbnail {
    border-color: #d6e9c6;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
    padding: 10px 20px;
    background: #ffe1e1;
    border-radius: 5px;
    margin-bottom: 20px;
}

.save-ok {
    font-weight: bold;
    color: #008000;
}

.validation-summary-valid {
    display: none;
}

.operationButton {
    margin: 10px 0 10px;
    text-align: center;
}

.lineTitle {
    border-style: outset;
    border-bottom: 1px;
}

.width600px {
    width: 600px;
}

.disabledField {
    color: gray;
}

h1, h2, h3 {
    margin-top: 0px !important;
}

input, select {
    border-radius: 3px !important;
    border-style: groove;
}

.menu-link {
    /*margin-left: 10px;*/
}

    .menu-link i {
        margin-right: 5px;
        min-width: 15px;
        display: inline-block;
        text-align: center;
    }

.menu-caption {
    display: block;
    font-weight: 500;
    border-bottom: 2px solid #5a7fa2;
    margin-top: 10px;
    padding: 10px 15px;
    padding-bottom: 0px;
    /*padding-left: 35px;*/
    text-transform: uppercase;
    color: #5a7fa2;
}

.fa-bold {
    font-size: 16px;
    margin-top: 2px;
}

.label-font {
    font-size: 100%;
    font-weight: 400;
}


table {
}

    table th {
        color: #5a5a5a;
        font-weight: bold;
        text-transform: uppercase;
    }

    table tbody tr td {
        vertical-align: middle !important;
        border-color: whitesmoke !important;
    }


.action-command {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

    .action-command span {
        margin-right: 2px;
    }

    .action-command a {
        padding: 5px 20px;
        display: block;
        margin-top: -10px;
        margin-bottom: -10px;
    }

.search-box {
    background: whitesmoke;
    padding: 15px;
    margin: 0;
    border: 2px solid #ececec;
}

    .search-box label {
        line-height: 8px;
        min-height: 12px;
        font-weight: 500;
        font-size: 11px;
        text-transform: uppercase;
        color: #656565;
    }

    .search-box .btn.btn-primary {
        margin-top: 24px;
        border-radius: 3px !important;
    }

    .search-box > div {
        margin: 0;
        padding: 0;
    }


.row.no-margin {
    margin: 0;
}

.testata {
    margin: 20px 0;
    border-bottom: 4px solid whitesmoke;
    padding-bottom: 20px;
}

    .testata label {
        font-weight: 600;
        text-transform: uppercase;
        color: #5a5a5a;
        width: 100%;
    }

@media screen and (max-width: 767px) {
    .testata label {
        margin-top: 15px;
        margin-bottom: 0px;
        padding-left: 2px;
    }
}

.badge.totale {
    font-size: 16px;
    font-weight: 400;
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: .25em;
}

#side-menu {
    border-top: 1px solid whitesmoke;
}

    #side-menu li .selected-item {
        background: #5a7fa2;
        color: white;
    }

.title-page {
    margin: 0;
    margin-bottom: 40px;
    border: 0;
    border-bottom: 4px solid #5a7fa2;
    padding-bottom: 15px;
}

    .title-page > span {
        line-height: 1.1;
        color: #5a7fa2;
        font-family: 'Roboto', sans-serif;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 26px;
    }

input[type="checkbox"].form-control {
    margin: auto;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 70px;
}

.modal-header {
    background: #5a7fa2;
    color: white;
}

#printModal #form label {
    width: auto;
    margin-bottom: 0;
}

#printModal #form > div {
    margin-bottom: 15px;
}

input.form-control {
    border-style: solid;
}

    input.form-control.datetime {
        text-align: center;
    }

.left-bord-gray {
    border-left: 2px solid gainsboro;
}

::placeholder,
::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: gray;
}

#main-menu {
    margin-bottom: 0;
    border-bottom: 7px solid #5a7fa2;
}

    #main-menu ul > li > a {
        color: whitesmoke;
    }

        #main-menu ul > li > a:hover {
            /*color: white;*/
            text-decoration: underline;
        }

    #main-menu ul > li > span {
        padding-top: 15px;
        padding-bottom: 15px;
        color: gainsboro;
        display: block;
    }

    #main-menu .navbar-brand img {
        max-width: 150px;
    }

    #main-menu .navbar-nav .logo {
        color: #ffffff;
        font-weight: 800;
        font-size: 17px;
        letter-spacing: 0.5px;
    }

        #main-menu .navbar-nav .logo:hover {
            text-decoration: none !important;
        }

    #main-menu .navbar-nav .username {
        text-transform: capitalize;
    }

    #main-menu .navbar-nav .welcome i {
        /*transition: 0.1s;*/
    }

        #main-menu .navbar-nav .welcome i:hover {
            transform: scale(1.15);
        }

@media(max-width:768px) {
    #main-menu ul > li > a {
        margin: 0;
    }

    #main-menu ul > li > span {
        display: none;
    }

    .navbar-brand {
        padding: 10px;
    }

    #main-menu .navbar-brand img {
        max-width: 140px;
    }
}

.form-control.unit-price {
    text-align: right;
}

.btn-normal {
    background: whitesmoke;
    text-transform: none;
}

.func-commands {
    background: whitesmoke;
    padding: 5px;
    margin-bottom: 20px !important;
    margin-top: -25px !important;
    border-radius: 5px;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #fcfcfc;
}

.select2 span .fa, .select2-results span .fa {
    margin-right: 4px;
}

.pager-section {
    text-align: center;
    padding: 2px;
    background: #fbfbfb;
    color: gray;
    font-weight: 500;
    margin-top: 30px;
    font-size: 13px;
    border-top: rgb(236, 236, 236) solid 2px;
    /*border-bottom: rgb(236, 236, 236) solid 2px;*/
}

    .pager-section a {
        font-size: 20px;
        padding: 5px;
        line-height: 17px;
        display: inline-block;
        vertical-align: top;
        font-weight: 400;
        letter-spacing: -3px;
        margin-right: 3px;
        margin-left: 3px;
    }

    .pager-section span {
        margin-top: 5px;
        vertical-align: top;
        display: inline-block;
        margin-right: 5px;
        margin-left: 5px;
    }


.clone i, .delete i {
    margin-right: 4px;
}

.privacyText {
    height: 200px;
    overflow-y: scroll;
    /* background: whitesmoke; */
    padding: 20px;
    /* margin: 20px 0; */
    font-family: monospace !important;
    border: 2px solid lightgrey;
}

    .privacyText h1 {
        font-family: monospace !important;
    }

.budget-info {
    background: #ea9800;
    font-weight: 500;
    padding: 7px;
    border-radius: 5px;
}

.widget {
    text-align: center;
    display: block;
    background: whitesmoke;
    padding: 20px;
    border-radius: 10px;
    transition: 0.1s;
    border: 2px solid transparent;
}

a.widget:hover, a.widget:active {
    text-decoration: none !important;
    border-color: gainsboro;
}

    a.widget:hover span, a.widget:active span {
        text-decoration: none;
    }

.widget span {
    font-weight: 600;
    font-size: 40px;
}


.loader,
.loader:after {
    border-radius: 50%;
    width: 1em;
    height: 1em;
}

.loader {
    margin: 6px auto;
    font-size: 45px;
    position: relative;
    text-indent: -9999em;
    border-top: 8px solid rgba(255, 255, 255, 0.0);
    border-right: 8px solid rgba(255, 255, 255, 0.2);
    border-bottom: 8px solid rgba(255, 255, 255, 0.2);
    border-left: 8px solid #dcdcdc;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.title {
}

    .title > h1 {
        text-transform: uppercase;
        font-size: 1em;
        background: whitesmoke;
        padding: 7px;
        font-weight: 600;
        color: #5a7fa2;
    }

label.little {
    margin-bottom: -20px;
    display: block;
}

.wnw {
    white-space: nowrap;
}
