/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 5-giu-2017, 9.32.20
    Author     : Fabbri
*/
body {
    padding-right: 0 !important;
}
#main {
    padding-top: 75px;
    min-height: auto;
}
.login-content {
    background-color: #3d828f;
}
/* .login-image {
    background-color: #3d828f;
} */
.sidebar-toggled #main {
    overflow: initial;
}
#footer {
    padding-left: 0;
}
.container.container-preview {
    max-width: 800px;
}
.cursor-default {
    cursor: default;
}
.cursor-hand:hover {
    cursor: pointer;
}
.full-heigth {
    min-height: 100vh;
}
.ha-menu>ul>li>a {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 13.5px;
}
[data-ma-theme=custom] {
    background-color: #3d828f;
}
.panel-gestione .card-body::-webkit-scrollbar {
    width: .5em;
}
body::-webkit-scrollbar {
    width: 1em;
}
.panel-gestione .card-body::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
.panel-gestione .card-body::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
  background-color: darkgrey;
  outline: 1px solid slategrey;
}
#content.content-full {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.card-header .card-header-btn {
    margin-top: -5px;
}
.p-b-40 {
    padding-bottom: 40px !important;
}
.p-b-50 {
    padding-bottom: 50px !important;
}
.m-l-42 {
    margin-left: 42px !important;
}
.f-30 {
    font-size: 30px !important;
}
.f-40 {
    font-size: 40px !important;
}
.fg-line.w-90 {
    width: 87%;
}
#header .logo-custom a {
    padding: 7px 10px;
}
.logo-custom a {
    color: #fff;
    display: block;
    font-size: 18px;
}
.ha-menu .zmdi,
.btn:not(.btn-sm):not(.btn-icon) .zmdi {
    margin-right: 5px;
}
.input-group-addon-label {
    position: relative;
    top: 5px;
    font-weight: 700;
    font-size: 16px;
}
.form-control {
    font-size: 16px;
}
.control-label {
    font-size: 16px;
}

.control-label-livelli {
    font-size: 16px;
    font-weight: bold !important;
}

.checkbox input {
    width: 25px;
    height: 25px;
}
.checkbox .input-helper:before {
    width: 25px;
    height: 25px;
}
.checkbox .input-helper:after {
    font-size: 20px;
}
.select.custom-select .bootstrap-select {
    /*z-index: 10;*/
}
.select.custom-select .filter-option {
    font-size: 16px;
    margin-left: 5px;
}
.select.custom-select .btn.dropdown-toggle {
    text-transform: none;
}
.error_form {
    padding: 5px;
    margin-top: 2px;
}
.error_form ul {
    padding-left: 0;
    list-style-type: none;
}
.compare-not-equal {
    background: red !important;
    color: white !important;
}
.compare-equal {
    background: green !important;
    color: white !important;
}
.text-msg-error {
    font-weight: bold;
    position: absolute;
    border: 2px solid lightgray;
    right: 30px;
    top: 10px;
    width: 300px;
    z-index: 10000;
}
.text-msg-error-1 {
    font-weight: bold;
    position: absolute;
    border: 2px solid lightgray;
    right: 30px;
    top: 65px;
    width: 380px;
    z-index: 10000;
}
.filter-active {
    background-color: #67bd6a;
    /*border-color: #67bd6a;*/
    /*border-width: 5px;*/
    /*border-top-style: solid;*/
    /*border-top-color: #67bd6a;*/
}
.reset-datepicker {
    opacity: 0.7;
}
.reset-datepicker:hover {
    cursor: pointer;
}
.btn-sm.btn-icon {
    width: 28px;
    height: 28px;
    padding: 0;
    line-height: 30px;
}
.btn-sm.btn-icon .zmdi {
    font-size: 16px;
}
.table-gestione, .table-gestione-farmacia, .table-gestione-ente, .table-gestione-volontario {
    transition: width .5s;
}
.panel-gestione, .panel-gestione-farmacia, .panel-gestione-ente, .panel-gestione-volontario {
    height: auto;
    transition: transform .5s, opacity 0s, visibility 0s;
    transition-delay: .5s;
    transform: translateX(0%);
}
.panel-gestione.custom-hidden, .panel-gestione-farmacia.custom-hidden, .panel-gestione-ente.custom-hidden, .panel-gestione-volontario.custom-hidden {
    height: 0;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    transition: transform .5s, opacity 0s, visibility 0s;
    transition-delay: .5s;
    transform: translateX(110%);
}
.panel-gestione .card-body, .panel-gestione-farmacia .card-body, .panel-gestione-ente .card-body, .panel-gestione-volontario .card-body {
    overflow-y: auto;
}
.stiked {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
}
.table.table-striped.table-hover-custom>tbody>tr:hover {
    background-color: #ebebeb;
}
.breadcrumbs {
    padding: 0;
    margin: 15px 0 20px 0;
    list-style: none;
    font-size: 20px;
}
.breadcrumbs>li {
    display: inline-block;
}
.breadcrumbs .active {
    font-weight: bold;
    /*color: #3F51B5;*/
    color: #333;
    margin-left: 10px;
    font-size: 30px;
}
.breadcrumbs>li>a {
    color: #444;
    font-weight: 500;
}
.breadcrumbs>li>a.btn {
    position: relative;
    top: -5px;
}
.card.pt-inner .ptih-title {
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 700;
}
.card {
    margin-bottom: 0 !important;
}

.card .card-header h2 {
    font-size: 20px;
    font-weight: 500;
}
.btn {
    font-weight: 700;
    letter-spacing: 0.6px;
}
.swal2-modal h2 {
    font-size: 20px;
}
.swal2-modal .swal2-content {
    font-size: 20px;
}
.modal-90 {
    width: 90%;
}
.modal-99 {
    width: 99%;
}
.popover-black .popover-content {
    color: black;
}
/*.s-profile > a {
    background: url(../img/profile-menu.png) no-repeat left top;
    background-size: 100%;
}*/

/*@media screen and (max-width: 767px) {
    .offset-top-xs {
        margin-top: 10px;
    }
}*/
.dropdown-menu {
    z-index: 10;
}
@media screen and (max-width: 991px) {
    .offset-bottom-sm {
        margin-bottom: 20px;
    }
}
.chosen-container-single .chosen-single{
    color:rgb(46, 53, 59);
    text-transform: none;
    font-size:18px;
}
.search-choice-close::before{
    font-size:16px;
    right: 5px;
    background: url('chosen-sprite.png') -29px 1px no-repeat;
    background-color:white;
}

.modal .select .btn{padding-bottom:9px}
.recapito-vuoto{display: none}

.riga-recapito{
    opacity:1;
    height:46px;
    transition: opacity .5s .3s, height .3s;
    clear:both;
}
.riga-recapito.recapito-nascosto{
    opacity: 0;
    height:0px;
    transition: opacity .3s, height .5s .3s;
}

.row_selected_color {
    background-color: #607D8B !important;
    color: white;
}

/* Float Charts */
.flc-pie-custom table {
    font-size: 20px !important;
    text-align: left !important;
}

#note .card-header {
    padding: 28px 35px 20px;
    background-color: rgba(0, 0, 0, .03)
}


#note .card-body {
    /* font-size: 20px; */
    position: relative
}

#note .list-group-item {
    padding: 0
}

#note .checkbox .input-helper:after,
#note .checkbox .input-helper:before {
    top: 5px
}

#note .checkbox input:checked+i+span {
    text-decoration: line-through
}

.t-add,
.ta-block,
.ta-btn {
    transition: all;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms
}

.t-add {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    background: #fff;
    top: -25px;
    right: 23px;
    max-height: 300px
}

.t-add .ta-block {
    overflow: hidden;
    opacity: 0;
    filter: alpha(opacity=0)
}

.t-add .ta-block textarea {
    padding: 25px 25px 45px;
    resize: none;
    width: 100%;
    font-size: 15px;
    color: rgb(94, 94, 94);
    position: absolute;
    height: 100%;
    border: 0;
    outline: 0
}

.t-add:not(.toggled) {
    overflow: hidden
}

.t-add:not(.toggled) .ta-btn {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    font-size: 23px;
    color: #FFFFFF;
    background-color:#607D8B;
    line-height: 51px
}

.t-add.toggled {
    width: calc(100% - 47px);
    height: calc(100% + 100%);
    border-radius: 2px;
    top: 0;
    z-index: 1;
    box-shadow: 0 5px 8px rgba(0, 0, 0, .2);
    overflow: visible
}

.t-add.toggled .ta-btn {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    display: none
}

.t-add.toggled .ta-block {
    opacity: 1;
    filter: alpha(opacity=100)
}

.t-add.toggled .ta-block .tab-actions {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 5px 10px;
    border-top: 1px solid #EEE;
    z-index: 1
}

.t-add.toggled .ta-block .tab-actions>a {
    font-size: 25px;
    padding: 0 6px;
    border-radius: 50%;
    text-align: center;
    height: 40px;
    width: 40px;
    line-height: 48px;
    display: inline-block
}
.btn-icon.btn-float{
    line-height: inherit !important;
}
/* DataTables */
.dt-table-custom .dataTables_wrapper .top .dataTables_info{
    clear: none;
    padding: 20px 30px;
    line-height: 3.1;
    float: right;
}
.dt-table-custom .dataTables_wrapper .dataTables_paginate .paginate_button {
    width: 55px;
    height: 55px;
    line-height: 38px;
}
.dt-table-custom .dataTables_wrapper .dataTables_paginate .paginate_button.next:before,
.dt-table-custom .dataTables_wrapper .dataTables_paginate .paginate_button.previous:before {
    line-height: 55px;
}
/* Messaggi di errore per jQuery Validation */
/* .form-group .fg-line label.error {
    color: red;
    position: absolute;
    font-size: 16px;
}
.fg-line .input-group label.error {
    color: red;
    position: relative;
    font-size: 16px;
}
.select-custum-error label.error {
    color: red;
    font-size: 16px;
}
.form-group-custom-error label.error {
    color: red;
    font-size: 16px;
}
#corpo-error {
    position: inherit;
} */
/* Select2 */
.select2-container--default .select2-selection--single {
    border: none;
    font-size: 14px;
    font-weight: bold;
}
.select2-dropdown {
    border: none;
    background-color: #e0ebeb;
}
.select2-custom .select2-container {
    width: 100% !important;
}
/* Immagine profilo */
.img-custom {
    max-width: 60%;
    margin: 0 auto;
}
/* Table custom */
.table-bordered.table-bordered-custom, 
.table-bordered.table-bordered-custom>tbody>tr>td, 
.table-bordered.table-bordered-custom>tbody>tr>th, 
.table-bordered.table-bordered-custom>tfoot>tr>td, 
.table-bordered.table-bordered-custom>tfoot>tr>th, 
.table-bordered.table-bordered-custom>thead>tr>td, 
.table-bordered.table-bordered-custom>thead>tr>th {
    border-color: #e2e7eb !important;
}
.table-bordered,
.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th {
    border-left: 1px solid #F5F5F5;
    border-bottom: 1px solid #F5F5F5;
}
.table-bordered,
.table-bordered>tbody>tr>td:last-child,
.table-bordered>tbody>tr>th:last-child,
.table-bordered>thead>tr>th:last-child {
    border-right: 1px solid #F5F5F5;
}
/* */
.toggle-switch.toggle-switch-lg .ts-helper:before {
    height: 32px;
    width: 32px;
}
.toggle-switch.toggle-switch-lg .ts-helper {
    width: 50px;
    height: 24px;
    border-radius: 12px;
}
.toggle-switch.toggle-switch-lg .ts-label {
    font-size: 1.3em;
}
.text-trasform-none {
    text-transform: none;
}
/* Tabella Contatti in box_tabs_anagrafica */
#dt-contatti_length {
    padding-top: 0;
    padding-bottom: 5px;
}
/* Fine */

.box_merchandising  {
    border: 2px solid #00bcd4;
    background-color: #dddddd;
}

.loader-input-modal {
    position: absolute;
    margin-top: 25px;
}

.box-disponibilita-prodotto {
    padding: 8px;
    border-radius: 12px;
    color: white;
}

/* Media query */
@media screen and (max-width: 1200px) {
    .label-left {
        text-align: left !important;
    }
    .padding-bottom-md {
        margin-bottom: 5px;
    }
}
/* Loader Container */
#loader_container {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
}
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Loader */
.preloader-custom.preloader:before {
    padding-top: 80%;
}
.input-number {
    padding: 5px;
    border: 2px solid #454545;
}
.loader-input-modal {
    position: absolute;
    margin-top: 25px;
}
.box-budget-prodotto {
    padding: 8px;
    border-radius: 12px;
    color: white;}
.border-table-prodotto {
    padding: 2px;
    margin-top: 5px;
    border: 1px solid #607D8B;
}
/* Tabella visualizzazione dati anagrafici */
.table-view-anagrafica.table>tbody>tr>td:first-child {
    padding-left: 10px;
}

/********** Plugin Parsley per validazione form **********/
/* On Invalid */
.selectpicker.parsley-error ~ .dropdown-toggle {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
    outline: none !important;
}

.selectpicker.parsley-error ~ .dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}
/* On valid */
.selectpicker.parsley-success ~ .dropdown-toggle {
    border-color: #28a745 !important;
    color: #28a745 !important;
    outline: none !important;
}

.selectpicker.parsley-success ~ .dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.parsley-errors-list {
    list-style: none;
    padding-left: 5px;
    background-color: #F44336;
    color: #fff;
    font-size: 16px;
}

/********** Plugin Parsley per validazione form **********/

/********** Fix form schermi piccoli **********/
.input-group-addon {
    line-height:  unset !important;
}

@media screen and (min-width: 991px) {
    .table-responsive {
        overflow-x: unset !important;
    }
}

.input-border-custom {
    border: 1px solid #607D8B !important;
}

.gestione-table>tbody>tr>td, 
.gestione-table>tbody>tr>th, 
.gestione-table>tfoot>tr>td, 
.gestione-table>tfoot>tr>th, 
.gestione-table>thead>tr>td, 
.gestione-table>thead>tr>th {
    padding: 5px !important;
}

.attivita-label {
    display: inline-block !important;
    width: auto !important;
    padding: 10px !important;
}

.swal-wide{
    width:90% !important;
}

.row.equal {
    display: flex;
    flex-wrap: wrap;
}

.h-100  {
    height:100% !important;
}

.disable-select {
    pointer-events: none;
}

#form_edit_ordine .form-group {
    margin-bottom: 10px;
}

.linea  {
    border: 1px solid #000000;
    padding: 20px;
    margin-top: 20px;
}

.add-linea-row {
    padding-top: 20px;
    border-top: 1px solid black;
}