BODY {
    font-family: 'Open Sans';
    font-size: 1em;
}

H1 {
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: -0.05em;
}

H3 {
    font-weight: 500
}

H6 {
    font-weight: 500;
    font-size: 0.9rem;
    color: #555
}

#navbarSupportedContent {
    padding-left: 5%
}

.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #ccc;
    content: "\2192";
}

.alert {
    border-radius: 0
}

FORM LABEL {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

.form-control {
    border-radius: 0
}

FORM H5 {
    color: #3E5D9B;
    font-weight: 600;
    padding-bottom: 4px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 16px
}

FORM.validated .form-group.required.error LABEL {
    color: #D12221
}

FORM.validated .form-group.required.error INPUT,
FORM.validated .form-group.required.error SELECT,
FORM.validated .form-group.required.error TEXTAREA {
    border-color: #D12221;
    color: #D12221
}

TABLE THEAD TR TH {
    border: 0 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
}

.table-bordered td, .table-bordered th {
    border: inherit;
    border-top: 1px solid #dee2e6
}

.table-light THEAD {
    background: #eee
}

.table-light THEAD TH {
    color: #333;
    font-weight: 600
}

.emptyState {
    padding: 100px 0;
    text-align: center;
    background: #f8f8f8;
}

TABLE.small {
    font-size: 90%;
}

TABLE {
    margin-bottom: 0 !important;
}

TABLE CAPTION {
    padding-bottom: 0;
    font-weight: 100;
    font-size: 0.9em;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .02)
}

TABLE TD {
    vertical-align: inherit !important
}

TABLE TD .btn {
    font-weight: 400
}

.btn {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8rem !important;
}

.tab-container {
    padding: 1.5%;
    border: 1px solid #dee2e6;
    border-top: 0;
}

.dropdown-item {
    padding-top: .5rem;
    padding-bottom: .5rem
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff !important;
}

HR {
    border-top-width: 4px;
    border-color: #eee;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 1rem 1.4rem;
    }
}

.modal-dialog {
    margin-top: 5rem
}

.bg-squares {
    background: url("/assets/img/bg-squares.png")
}

.bg-little-squares {
    background: url("/assets/img/bg-little-squares.jpg")
}

.text-blue {
    color: #3D5C9D
}

.login-screen {
    padding-top: 8%
}

.login-container {
    position: relative;
    box-shadow: 0px 25px 15px -15px #c4d2e2;
    background: #ffffff;
    margin: 0 auto
}

.login-container H1 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    -webkit-font-smoothing: antialiased
}

.login-container .login-box {
    padding: 44px 50px;
}

.login-container .login-bg-image {
    background: url("/assets/img/login.gif") center center
}

/* COLORS */
TABLE THEAD {
    background: #3D5C9D
}

TABLE THEAD TH {
    color: #FFF
}

.bg-blue {
    background: #0D1C31;
    color: #fff
}

.navbar {
    position: fixed;
    width: 100%;
    background: #3D5C9D;
    padding-top: 0;
    padding-bottom: 0;
    -webkit-box-shadow: 0px 4px 5px 0px rgba(50, 50, 50, 0.25);
    -moz-box-shadow: 0px 4px 5px 0px rgba(50, 50, 50, 0.25);
    box-shadow: 0px 4px 5px 0px rgba(50, 50, 50, 0.25);
    min-height: 56px;
    z-index: 1070;
}

.navbar-brand H1 {
    font-size: 1.6rem;
    letter-spacing: inherit
}

.navbar-brand H1 SMALL {
    font-size: 50%;
    font-weight: 100;
    opacity: 0.8
}

.navbar A {
    color: #fff
}

.navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.1)
}

.btn {
}

.btn-info {
    background: #3D5C9D;
    border-color: #3D5C9D
}

.btn-green {
    background: #32B08D;
    border-color: #32B08D;
    color: #fff
}

.btn-info:hover, .btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show > .btn-info.dropdown-toggle {
    background: #3D5C9D;
    border-color: #3D5C9D
}

.btn-green:hover, .btn-green:not(:disabled):not(.disabled).active, .btn-green:not(:disabled):not(.disabled):active, .show > .btn-green.dropdown-toggle {
    background: #239c7c;
    border-color: #239c7c;
    color: #fff
}

.modal-content {
    border-radius: 0
}

#side {
    width: 230px;
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 1000;
    background: #2C394B;
}

#side ul {
    margin: 30px 0 0 0;
    padding: 0;
}

#side UL LI {
}

#side UL LI A I {
    margin-right: 6px;
    color: #aaa
}

#side UL LI A {
    color: #fff;
    padding-left: 30px;
    padding: 0.8rem 2rem 0.8rem 1rem;
    position: relative;
    font-weight: 100;
}

#side UL LI A:after {
    position: absolute;
    content: '';
    width: .5em;
    height: .5em;
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: initial;
    right: 1.3em;
    -webkit-transform: rotate(135deg) translate(0, -50%);
    -ms-transform: rotate(135deg) translate(0, -50%);
    -o-transform: rotate(135deg) translate(0, -50%);
    transform: rotate(135deg) translate(0, -50%);
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
    -o-transform-origin: top;
    transform-origin: top;
    top: 50%;
    opacity: 0.8;
}

#side UL LI A.active {
    background: rgba(255, 255, 255, 0.1)
}

#main {
    margin-left: 230px;
    padding-top: 80px
}

A, INPUT, TEXTAREA, SELECT, BUTTON {
    outline: none
}

.statBoxes > DIV > DIV {
    padding: 4%;
}

.statBoxes > DIV > DIV H2 {
    font-size: 1.3rem;
    margin: 0
}

.statBoxes > DIV > DIV .val {
    font-size: 2.3rem
}

.statBoxes > DIV > DIV I {
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 4rem;
    opacity: 0.2;
}

.bg-sky {
    background: #2AB4C0;
    color: #fff
}

.bg-purple {
    background: #994a99;
    color: #fff
}

.bg-sea {
    background: #5C9BD1;
    color: #fff
}

.bg-yellow {
    background: #FFB039;
    color: #fff
}

.bg-green {
    background: #3AB97D;
    color: #fff
}

/* SIGNATURE CSS */
.signature-pad {
    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;
    font-size: 10px;
    width: 100%;
    height: 400px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    border-radius: 4px;
    padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 40%;
    height: 10px;
    bottom: 10px;
    background: transparent;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
    left: 20px;
    -webkit-transform: skew(-3deg) rotate(-3deg);
    transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
    right: 20px;
    -webkit-transform: skew(3deg) rotate(3deg);
    transform: skew(3deg) rotate(3deg);
}

.signature-pad--body, .signature-pad-cliente-body, .signature-pad-tecnico-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 1px solid #f4f4f4;
}

.signature-pad--body canvas, .signature-pad-cliente-body canvas, .signature-pad-tecnico-body canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
}

.repeatable-container .master:first-child > div:last-child BUTTON {
    display: none;
}

TD.stato-lead {
    font-size: 1.5rem;
}

TH[data-order] {
    white-space: nowrap;
}

*.clickable {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #side {
        left: -230px;
    }

    #main {
        margin-left: 0;
    }
}

table.table.table-smaller {
    font-size: 0.75em;
}

#web-page {
    height: 300px;
    overflow: scroll;
}

#content-container .single-content {
    border-bottom: 1px solid rgba(221, 221, 221, 0.5);
}

#content-container .single-content:last-child {
    border-bottom: 0;
}

#content-container .single-content:first-child BUTTON.sposta-su,
#content-container .single-content:last-child BUTTON.sposta-giu {
    display: none
}

.ck-content {
    min-height: 300px;
}

IMG.preview-image {
    max-height: 130px;
}

TR.unread-messages TD {
    background: rgba(255, 134, 36, 0.48);
}
TR.highlight TD {
    background: rgba(33, 103, 255, 0.19);
}

TD.ellipsis {
    max-width: 500px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 500px;
    overflow-y: scroll;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.chat LI .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.chat LI SMALL {
    font-weight: 700;
}

.chat-body .header .lead{
	font-size: 1.1rem;
	font-weight: 600;
}

.chat li.right .col-8 {
    background: #F38F3D;
    color: #FFF;
}

.chat li.left .col-8 {
    background: #f8f8f8;
    border: 1px solid #ccc;
}

.chat li .chat-body p {
    margin: 0;
    font-size: 0.9em;
}

#news-detail > DIV, #news-list > DIV, #cms-page > DIV {
    height: 667px;
    width: 375px;
    background: #FFFFFF;
    overflow-y: scroll;
}

#news-list .card-header {
    background-color: transparent;
    position: relative;
    border-bottom: 0;
}

#news-list .card-header .category {
    padding: 5px 8px;
    position: absolute;
    left: 0;
    bottom: 0;
    min-width: 100px;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}

#news-list .card-header .date-circle {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 48px;
    width: 48px;
    -webkit-border-radius: 56px;
    -moz-border-radius: 56px;
    border-radius: 56px;
    color: #FFFFFF;
    text-align: center;
    padding: 10px 0;
    line-height: 14px;
    font-weight: bold;
}

#news-list .card-header .day {
    font-size: 18px;
}

#news-list .card-header .month {
    font-size: 13px;
}

#news-list .card-body H2 {
    color: #9B9B9B;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 4px;
}

#news-list .card-body P {
    margin-top: 8px;
    font-size: 13px;
    color: #4A4A4A;
}

#news-detail IMG.testata {
    border-bottom-width: 2px;
    border-bottom-color: #f78e1e;
    border-bottom-style: solid;
}

#news-detail .category {
    padding: 3px 8px;
    width: auto;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
}

#news-detail H1 {
    margin-top: 8px;
    font-size: 2.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

#news-detail .theDate {
    font-weight: 500;
    color: #888;
}
#cms-page ARTICLE H2 {
    padding-top:1rem;
    padding-bottom:1rem;
}
#news-detail ARTICLE H2, #cms-page ARTICLE H2 {
    font-weight: 600;
    font-size: 1.1em;
    text-transform: uppercase;
    margin-bottom: -6px;
    color: #f78e1e;
}

#news-detail ARTICLE P, #cms-page ARTICLE P {
    font-size: 1.1em;
    line-height: 1.5;
    font-weight: 400;
}

#news-detail ARTICLE IMG, #cms-page ARTICLE IMG {
    max-width: 100%;
}

#news-detail ARTICLE .video {
    width: 100%;
}

#news-list .lavoro .category, #news-list .lavoro .date-circle {
    background-color: #F18E00;
}

#news-list .formazione .category, #news-list .formazione .date-circle {
    background-color: #FFE400;
    color: #555
}

#news-list .outsourcing .category, #news-list .outsourcing .date-circle {
    background-color: #00457D;
}

#news-list .payroll .category, #news-list .payroll .date-circle {
    background-color: #878789;
}

#news-detail .lavoro .category, #news-detail .lavoro .date-circle {
    background-color: #F18E00;
}

#news-detail .formazione .category, #news-detail .formazione .date-circle {
    background-color: #FFE400;
    color: #555
}

#news-detail .outsourcing .category, #news-detail .outsourcing .date-circle {
    background-color: #00457D;
}

#news-detail .payroll .category, #news-detail .payroll .date-circle {
    background-color: #878789;
}