body{
    font-family: "Quicksand", 'Times New Roman', Times, serif !important;
    font-weight: 400 !important;
    color: #37474f;
}
table{
    color: #37474f !important;
}
td,th {
    vertical-align: middle !important;
}
th{
    font-weight: bold !important;
    font-size: 1.1em !important;
}
img{
    width: 100%;
}
textarea::-webkit-input-placeholder{
    padding-top: 0;
}
textarea::-moz-input-placeholder{
    padding-top: 0;
}
textarea:-moz-input-placeholder{
    padding-top: 0;
}
textarea:-ms-input-placeholder{
    padding-top: 0;
} 

/* LOGIN */
.login-container{
    min-width: 320px;
}
.login-container img{
    width: 300px;
}

/* HEADER */
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form{
    border-color: #fff !important;
}
.navbar-toolbar-right .nav-item{
    border-left: 1px solid #fff;
    padding: 11px;
}
.navbar-toolbar-right .nav-item .navbar-company{
    color: #fff;
    margin-top: 10px;
}
.navbar-toolbar-right .nav-item .navbar-user{
    color: #fff;
    text-decoration: none;
}
.navbar-toolbar-right .nav-item .navbar-username{

}
.navbar-toolbar-right .nav-item .navbar-avatar{
    width: 45px;
    height: 45px;
    border-radius: 100%;
    -moz-border-radius: 100%;
}
.navbar-brand{
    height: 100%;
}
.navbar-brand a{
    padding: 0 !important;
}
.navbar-brand .navbar-brand-logo{
    width: 250px;
    height: auto;
    padding-top: 15px;
}

/* MENU */
.site-menubar-open .site-menubar{
    z-index: 999999
}
.site-menubar{
    padding-bottom: 80px;
}
.site-menubar .site-menubar-header{
    height: 200px;
    text-align: center;
}
.site-menubar .site-menubar-header .overlay-panel{
    padding: 15px;
}
.site-menubar .site-menubar-header .site-menubar-avatar img{
    width: 75px;
    height: 75px;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
}
.site-menubar .site-menubar-header .site-menubar-username{
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1;
}
.site-menubar .site-menubar-header .site-menubar-group{
    margin: 10px 0;
    line-height: 1;
}
.site-menubar .site-menubar-header .site-menubar-company{
    margin: 10px 0;
    line-height: 1;
}
.site-menubar .site-menubar-header #site-menubar-select-company{
    height: 35px;
    line-height: 1;
}
.site-menubar .site-menubar-body{
    height: calc(100% - 200px);
}

/* PAGE CONTENT */
.page-content .content-header h2{
    margin: 0 0 10px 0;
    line-height: 1;
}

/* TABLES */
.table>thead>tr>th{
    background: #37474f;
    color: #fff;
    border: none;
}
.dam-tables thead th:not(.no-order){
    cursor: pointer;
}

/* MODALS */
.modal-backdrop{
    z-index: 2000;
}
.modal{
    z-index: 2100;
}
.modal .modal-header{
    background: #ff4c52;
}
.modal .modal-body{
    padding: 10px 20px;
}
.modal .modal-header .modal-title, .modal .modal-header .close{
    color: #fff;
    opacity: 1;
}

/* AUTOCOMPLETE */
.autocomplete-suggestions { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 2px 5px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #000; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }

.trumbowyg-button-pane{
    z-index: 9 !important;
}

/* CONTENITORE ALLEGATI */
.attachment-container{
    margin-bottom: 1rem;
}
.attachment-container .attachment-card{
    background: #37474f;
    color: #fff;
    padding: 15px;
}
.attachment-container .attachment-card .delete-button{
    position: absolute;
    top: 10px;
    right: 25px;
}
.attachment-container .attachment-card a{
    color: #fff !important;
}
.attachment-container .attachment-card h5{
    color: #fff !important;
    word-break: break-all;
}
.attachment-container .attachment-card .attachment-icon{
    text-align: center;
    font-size: 30px;
    padding: 15px 0;
}

/* FULL CALENDAR */
.fc-event-container .fc-day-grid-event{
    color: #fff !important;
}
.fc-day-grid-event .fc-content{
    white-space: initial !important;
}

/* PAGINATION */
.pagination .page-link{
    color: #37474f;
    background-color: transparent;
    border: 1px solid rgba(55, 71, 79, 0.1);
}
.pagination .page-link:focus, .pagination .page-link:hover{
    color: #fff;
    background-color: rgba(55, 71, 79, 0.75);
    border: 1px solid rgba(55, 71, 79, 0.1);
}
.pagination .page-item.active .page-link{
    color: #fff;
    background-color: #37474f;
    border: 1px solid rgba(55, 71, 79, 0.1);
}

/* SELECT2 */
.select2-container.select2-container--default.select2-container--open{
    z-index: 9999999999;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    margin: 0.3rem 0.5rem 0 0;
}

/* COMMON CLASSES */
.bold{
    font-weight:bold;
}
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}
.hide{
	display: none !important;
}
.img-box{
	margin-bottom: 10px;
}
.img-box .delete-photo-button{
	position: absolute;
	top: 10px;
	right: 25px;
	display: none;
}
.img-box:hover .delete-photo-button{
	display: block;
}
.has-error{
    border: 1px solid #f00 !important;
}
.iframe-contratto, .iframe-fattura{
    width: 100%;
    height: 500px;
}
.pointer{
    cursor: pointer;
}
.progress{
    margin-bottom: 0 !important;
}
.rating{
    display: block;
}
.bg-warning{
    background-color: #fd8204 !important;
}
.btn-warning{
    background-color: #fd8204 !important;
    border-color: #fd8204 !important;
}
.text-warning{
    color: #fd8204 !important;
}
.text-decoration-line-through{
    text-decoration: line-through;
}
.title-bordered{
    border-bottom: 1px solid #e4eaec;
    margin-bottom: 15px;
    padding-bottom: 7px;
}

/* RESPONSIVE */
@media(max-width: 767px){
    .navbar-brand{
        padding: 0 !important;
    }
    .navbar-brand .navbar-brand-logo{
        width: 150px;
        height: auto;
        padding-top: 25px;
    }
}
@media(max-width: 576px){
    .page-content{
        padding: 10px !important;
    }
}
