.CRM a#admin_panel2, .CRM a#admin_panel3, .CRM a#admin_panel8,
.CRM .notifiche  {
    display: none;
}
.CRM .hidecrm{
    display: none !important;
}



.calloutinfo {
    background: #eee;
    opacity: .8;
}
.callout.primary {
    background-color: #0d1923;
    color: #fff;
}

.development:after {
    content: "versione sviluppo";
    position: fixed;
    bottom: 0;
    left: 0;
    background: #ec0000;
    color: #fff;
    padding: 10px;
}
#impedenziometriaCNT,
#preparatoreDownloadCNT{
    display: none;
}
#logoREL{
    cursor: pointer;
}

.grid-container{
    max-width: 95rem;
}
.CENTRO_STUDI .hide_centrostudi,
.ADMIN .hide_centrostudi{
    display: none;
}
.CENTRO_STUDI .showonly_centrostudi,
.ADMIN .showonly_centrostudi{
    display: block;
}
.CENTRO_STUDI .showonly_admin{
    display: none;
}
.CENTRO_STUDI .notifiche,
.ADMIN .notifiche{
    display: none;
}
/*.CENTRO_STUDI #table2 form.form-inline,
.ADMIN #table2 form.form-inline {
    margin-left: 200px;
}*/
.showonly_centrostudi{
    display: none;
}
.margintop30{
    margin-top:30px;
}
/*select#filtrastato {
    position: absolute;
    width: 150px;
    z-index: 3;
    margin: 9px 12px;
    height: auto;
    padding: 4px 25px 4px 5px;
}*/


tr.alert {
    background: #ffe1e1 !important;
    border-bottom: 1px solid #f9fafb;
}
#loader{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    height: 100vh;
}
.lds-ring {
    display: inline-block;
    position: absolute;
    width: 64px;
    height: 64px;
    text-align: center;
    left: 50%;
    margin-left: -32px;
    top: 100px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 51px;
  height: 51px;
  margin: 6px;
  border: 6px solid #333;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #333 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.clearfix{
    clear: both;
    display: block;
    width: 100%;
}

body{
    background-color: #f9fafb;
    background-size: 50px;
    background-repeat: repeat;
}
.login-message {
    font-size: 25px;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    background: #0B3129;
    margin-top: 30px;
    border: 1px solid #f0f0f0;
    color: #fff;
}
.loginheader{
    display: none;
    float:right;
    font-size: 14px;
}
.login-promo{
    margin-top:30px;
}
a.notifica {
    text-decoration: none;
}
#listanotifiche, #listanotifiche a{
    color: #0a0a0a;
}
.notifica_nessuna{
    padding: 5px 15px;
    font-size: 12px;
    border-bottom:1px solid #ccc;
    font-weight: bold;
}
.stato-UNREAD, .stato-READ {
    display: block;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}
.stato-UNREAD {
    background: #f3f3f3;
}
.notifiche i {
    font-size: 30px;
}
.notificheqta{
    display: none;    
}
.notifiche  .dropdown.menu > li.is-dropdown-submenu-parent > a::after{
    display: none;
}
.notificheqta:not(:empty){
    display: block;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    padding: 6px 0;
    text-align: center;
    margin-top: -40px;
    margin-left: 15px;
    position: absolute;
}
.header {
    background: #fff;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,0,0,.0625);
}
.header img {
    max-height: 50px;
}
.footer {
    border-top: 1px solid rgba(0,0,0,.0625);
    padding: 5px 0;
    font-size: 12px;
    background: #fff;
    margin-top: 30px;
}
img.logo-footer {
    max-width: 300px;
    margin: 10px auto;
    display: block;
    text-align: center;
}
.box{
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.0625);
    padding: 15px;
    margin: 15px 0;
}
.divisore {
    text-align: center;
    font-size: 12px;
    margin: 15px 0;
    position: relative;
}
.divisore span {
    background: #fff;
    position: relative;
    z-index: 2;
    padding:0 5px;
}
.divisore:before{
    content: "";
    position: absolute;
    height: 5px;
    border-bottom: 1px solid #ccc;
    top: 5px;
    width: 100%;
    left: 0;
}
.callout {
    font-size: 15px;
    padding: 10px;
}
.button{
    text-decoration: none;
}
.button:hover{
    opacity: .8;
}
td .button {
    margin: 0;
}
a{
    text-decoration: underline;
}
.card{
    cursor: pointer;
    margin-top: 30px;
}
.card.disabled {
    opacity: .5;
    cursor: default;
}
#main{
    min-height: calc(100vh - 220px);
}
#main .vh100 .cell{
    min-height: calc(100vh - 220px);    
}
#breadcrumb {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.0625);
    padding: 5px 0;
    margin-bottom: 30px;
}
ul.breadcrumbs {
    margin: 0;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #e9ecef;
}
.table, .table td, .table th {
    border: 1px solid #e9ecef;
}
/*table.footable > tbody > tr > td, table.footable > tbody > tr > th{
    width: 25%;
}*/
.footable-last-visible{
    white-space: nowrap;
}
tbody tr:nth-child(even) {
    border-bottom: 1px solid #f9fafb;
    background-color: #f9fafb;
}
thead {
    background: #f9fafb;
    color: #0a0a0a;
}
tfoot {
    background: #f9fafb;
    color: #0a0a0a;
}
.footable .label-default{
    display: none;
}
tr.footable-filtering .input-group {
    margin: 0;
}
.form-group.footable-filtering-search {
    float: left;
}
.footable.table > thead > tr > th, .footable.table > tbody > tr > th, .footable.table > tfoot > tr > th, .footable.table > thead > tr > td, .footable.table > tbody > tr > td, .footable.table > tfoot > tr > td, .footable-details.table > thead > tr > th, .footable-details.table > tbody > tr > th, .footable-details.table > tfoot > tr > th, .footable-details.table > thead > tr > td, .footable-details.table > tbody > tr > td, .footable-details.table > tfoot > tr > td{
    vertical-align: middle;
}
.has-tip {
    border: 0;
}
.picker__input{
    background: #fff !important;
    cursor: default !important;
}
.picker__select--year {
    height: auto;
}
.iframe iframe{
    width: 100% !important;
    margin: 30px 0;
}
.form-endocrino {
    align-items: center;
}
label{
    display: inline-block;
    max-width: calc(100% - 30px);
}
label.error {
    color: #c70000;
    margin-top: -10px;
    margin-bottom: 10px;
    float:left;
}

[type='file'], [type='checkbox'], [type='radio'] {
    float: left;
    margin-top: 5px;
    margin-right: 5px;
}
[type='checkbox']~label,
[type='radio']~label {
    margin: 0px 5px 0 18px;
    float: none;
    display: block;
}
h1 {
    font-size: 26px;
    margin-bottom: 15px;
}
fieldset.fieldset {
    width: 100%;
    margin: 1.125rem 1.125rem;
}

textarea {
    width: 100%;
    margin: 10px 0;
    height: 80px;
}
.hidden {
    display: none;
}
input.hidden {
    display: block;
    -webkit-appearance: none;
    height: 1px;
    width: 1px;
    margin: 0;
}

.preview_table {
	width:100%;
}
table.preview_table.preview_table0 tr:nth-child(3) td {
    position: absolute;
    left: 50%;
    width: 100px;
    margin-top: -42px;
    margin-left: 50px;
}
table.preview_table.preview_table0 tr:nth-child(5) td {
    position: absolute;
    left: 50%;
    width: 100px;
    margin-top: -42px;
    margin-left: 50px;
}
.preview_th_field, .preview_th_value, .preview_th_edit, .preview_td_field, .preview_td_value, .preview_td_edit {
	vertical-align: top;
	text-align:left;
}
.preview_th_field, .preview_th_value, .preview_th_edit {
	background-color: #E1E1E1;
	width:50%;
	text-align:left;
}
.preview_td_field, .preview_td_value, .preview_td_edit {
	background-color: #F2F2F2;
	width:40%;
	text-align:left;
}
.preview_td_edit {
	width:10%;
	text-align:center;
}
.preview_td_edit a {
	color:#555555;
}
div#preview_div_form {
    z-index: 2;
    width: calc(100% - 30px);
    left: 0;
    position: absolute;
    background: #fff;
    padding: 15px;
    margin: 15px;
}
div#form_preview:before {
    position: fixed;
    left: 0;
    width: 100%;
    content: "";
    background: rgba(0, 0, 0, 0.51);
    display: block;
    z-index: 1;
    height: 100%;
    top: 0;
}
a#preview_button_cancel {
    float: left;
}
a#preview_button_submit {
    float: right;
}
table.preview_table.preview_table45 {
    display: none;
}

div#form_preview h3 {
    font-size: 17px;
    font-weight: bold;
}
hr {
    margin: 5px 0;
}
a.file img {
    width: 30px;
    float: left;
    margin-right: 10px;
    margin-top: 8px;
    margin-left: 10px;
}
a.file {
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 7px;
    display: block;
    width: 100%;
    border: 1px solid rgba(0,0,0,.0625);
    clear: both;
}
a.file span {
    padding: 15px;
    display: block;
    background: #f9fafb;
}
select#lg {
    margin: 0;
}
a#stampa {
    float: right;
    margin-right: 15px;
}
.chosen-container{
    margin-bottom: 20px;
}
.chosen-container-single .chosen-default {
    border-radius: 0;
    padding: 8px 6px;
    height: auto;
}

div#preview_div_form #logo {
    max-height: 70px;
    text-align: center;
    display: block;
    margin: 0 auto 10px auto;
}
.box2 {
    background: #f5f5f5;
    padding: 10px;
    margin-bottom: 10px;
}

.box2 h1 {
    font-size: 17px;
    margin-bottom: 5px;
    background: #e0e0e0;
    padding: 5px;
}
div#visualizzaTuttoAnamnesiTesto #stampa {
    float: left;
}

table#table6 {
    display: block;
    overflow: scroll;
}
table#table_admin_statistiche_clienti {
    display: block;
    overflow: scroll;
}
#table2.footable .label-default {
    display: inline-block;
    background: #023e4d;
    padding: 15px;
    font-size: 15px;
}
#panel5 ul.dropdown-menu.dropdown-menu-right, #panel6 ul.dropdown-menu.dropdown-menu-right {
    left: 0;
    width: 250px;
}
a#preview_button_submit_2 {
    margin-left: 10px;
}
div#preview_heading_2 {
    margin-top: 10px;
}

#table-excel {
    display: hidden;
}

.footable .form-table-custom .form-group{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media screen and (max-width: 767px) {
    fieldset .cell.medium-2 {
        width: 40%;
    }
    /*.CENTRO_STUDI #table2 form.form-inline, .ADMIN #table2 form.form-inline {
        margin-left: 153px;
    }*/
    .tabs-title > a {
        display: block;
        padding: 10px 15px;
    }
}

@media print {
    thead, tbody, tfoot {
        border: 0;
    }
    th.preview_th_field {
        display: none;
    }

    th.preview_th_value {
        display: none;
    }   
    div#preview_div_form {
        top: 0;
        width: 100%;
        margin: 0;
        padding: 15px;
    }
    div#preview_heading,
    div#preview_heading_2,
    #preview_button_cancel,
    #preview_button_submit,
    #stampa,
    button.close-button{
        display: none;
    }
    table td,
    table th  {
        padding: 2px;
        font-size: 12px;
    }
    table.preview_table tr {
        display: block;
        width: 50%;
        float: left;
    }

    table.preview_table td {
        width: 60%;
        float: left;
    }

    table.preview_table td:nth-child(2) {
        width: 40%;
    }
    table.preview_table.preview_table0 tr:nth-child(3) td {   
        margin-top: 0px;
        margin-left: -100px;
    }

    table.preview_table.preview_table0 tr:nth-child(5) td {  
        margin-top: -22px;
        margin-left: 250px;
    }
    div#visualizzaTuttoAnamnesiModal {
        width: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        max-width: 100% !important;
        z-index: 5 !important;
        background: #fff !important;
        font-size: 13px;
        height: 100% !important;
        border: 0;
    }
    .box2 h1 {
        padding: 0;
        font-weight: bold;
    }
}
