.modal-body .flatb {
    width: 100%;
    display: block;
    color: white;
    line-height: 90px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
}
.modal-body .flatb {
    background-color: #0d6c94;
}
.modal-ku {
    width: calc(100% - 30px);
}

/* =============== MODAL VISUALIZZA =============== */

.bio-row p {
    border: 1px solid rgb(238, 238, 238);
    margin-right: -1px;
}

.bio-row p span {
    padding: 10px 15px;
    display: inline-block;
}

.bio-row p span.bold {
    padding: 10px 15px;

    background-color: rgb(245, 245, 245);
    width: 185px;
    color: rgb(71, 71, 71);
}

.bio-row p span.bold small {
    display: none;
}

.bio-row p span.bold i {
    color: black;
    margin: -10px 10px -10px -15px;
    background-color: rgb(252, 252, 252);
    line-height: 41px;
    width: 40px;
    text-align: center;
}


.modal-body .flatb {
    width: 100%;
    display: block;
    color: white;
    line-height: 90px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
}

.modal-body .flatb i {
    font-size: 40px;
    position: relative;
    top: 8px;
    right: 10px;
    line-height: 60px;
    width: 60px;
    background-color: rgba(0, 0, 0, 0.13);
}

.modal-body .flatb:hover i {
    background-color: rgba(255, 255, 255, 0.13);
}

.select2-container.select2-container--default .select2-results__option[aria-selected=true] {
    color: white;
}

.modal-content{
        border-radius: 10px;
}

/*.panel, .box {
    border-radius: 10px;
    padding: 25px;
}*/
/* Media queries used on blog.staydecent.ca by Adrian Unger 
   check my full source at:
   http://blog.staydecent.ca/static/css/style-0.1.6.css */
@media only screen and (min-width:768px) and (max-width:1269px) {
    .panel, .box {
        border-radius: 10px;
        padding: 15px;
    }
}
@media only screen and (min-width:768px) and (max-width:959px) {
    /* Here is where I adjust for Ipad's and similar screen
       widths. Note that the above query and this one overlap
       meaning any rules above will also apply. */
   .panel, .box {
        border-radius: 10px;
        padding: 25px;
    }
}
@media only screen and (min-width:0px) and (max-width:767px) {
   /* As soon as we fall below the Ipad's width I use my 'mobile'
      design. So, everything in this query is meant for 
      smartphones and other small screens. */
    .panel, .box {
        border-radius: 10px;
        padding: 25px;
    }
}

/* A popular grid size used is 960px. Skeleton, a new Boilerplate
   for Responsive, mobile-friendly development, is based on that.
   http://www.getskeleton.com/src/stylesheets/skeleton.css */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    /* Here, Skeleton sets the rules for anything less than 960px
       and at least the size of the Ipad screen. */
    .panel, .box {
        border-radius: 10px;
        padding: 10px;
    }
}
@media only screen and (max-width: 767px) {
    /* Here, rules for anything less than Ipads width, with the
       advice to design for the smallest common width, 320px.
       This is the majority of smarthphones. */
       .panel, .box {
        border-radius: 10px;
        padding: 5px;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    /* This is for any screen less than Ipad's width and at least
       480px. This covers a many large-screened smartphones. It
       is declared after the above rule so it overrides the rules
       meant for 320px. */
   .panel, .box {
        border-radius: 10px;
        padding: 10px;
    }
}


 /**
   * The CSS shown here will not be introduced in the Quickstart guide, but shows
   * how you can use CSS to style your Element's container.
   */
  .StripeElement {
    background-color: white;
    height: 40px;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
  }

  .StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
  }

  .StripeElement--invalid {
    border-color: #fa755a;
  }

  .StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
  }


/* ======= Dropdown ======= */
.item-more .dropdown-toggle {
  cursor: pointer;
}
.item-more .dropdown-menu-custom {
  width: 302px !important;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  background-clip: padding-box;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  cursor: default;
}
.item-more .dropdown-menu-custom > li {
  margin-bottom: 0;
  font-size: 13px;
}
.item-more .dropdown-menu-custom > li > a {
  padding: 10px 15px;
  color: #494d55;
}
.item-more .dropdown-menu-custom > li > a:hover {
  background: #f9f9fb;
}
.item-more .dropdown-menu-custom > li > a .icon {
  vertical-align: middle;
  font-size: 20px;
  display: inline-block;
  margin-right: 5px;
}
.item-more .dropdown-menu-custom .dropdown-footer {
  background: #f9f9fb;
  color: #616670 !important;
  padding: 15px;
  text-align: center;
}
.item-more .dropdown-menu-custom .dropdown-footer a {
  color: #616670 !important;
}
.item-more .dropdown-menu-custom .dropdown-footer a:hover {
  color: #494d55;
}
.item-more .dropdown-toggle {
  padding-bottom: 10px;
}
.item-more .dropdown-menu-custom {
  left: auto;
  right: -66px;
  width: 302px;
  padding: 0;
}
.item-more .dropdown-menu-custom .title {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 15px;
  font-size: 14px;
  color: #616670;
  background: #f9f9fb;
  border-bottom: 1px solid #f3f3f7;
  text-align: center;
}
.item-more .dropdown-menu-custom .arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #e6e6e6;
  position: absolute;
  right: 13px;
  top: -8px;
}
.item-more .dropdown-menu-custom .arrow:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #f9f9fb;
  position: absolute;
  right: -8px;
  top: 1px;
}
.item-more .dropdown-menu-custom .more-list {
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
}
.item-more .dropdown-menu-custom .more-list > li {
  text-align: center;
  margin-bottom: 0;
  display: inline;
  font-size: 12px;
}
.item-more .dropdown-menu-custom .more-list > li > a {
  color: #616670 !important;
  display: inline-block;
  width: 100px;
  height: 100px;
  padding-top: 18px;
  float: left;
  overflow: hidden;
  margin: 0;
}
.item-more .dropdown-menu-custom .more-list > li > a:hover {
  background: white !important;
  color: #008FC4 !important;
  text-decoration: none;
}
.item-more .dropdown-menu-custom .more-list > li > a:hover {
  color: #6dbd63;
}
.item-more .dropdown-menu-custom .more-list > li > a:hover {
  color: #497cb1;
}
.item-more .dropdown-menu-custom .more-list > li > a:hover {
  color: #ec6952;
}
.item-more .dropdown-menu-custom .more-list > li > a:hover .icon {
  color: #008FC4;
}
.item-more .dropdown-menu-custom .more-list > li > a:hover .icon {
  color: #6dbd63;
}
.item-more .dropdown-menu-custom .more-list > li > a:hover .icon {
  color: #497cb1;
}
.item-more .dropdown-menu-custom .more-list > li > a:hover .icon {
  color: #ec6952;
}
.item-more .dropdown-menu-custom .more-list > li > a .icon {
  vertical-align: inherit;
  font-size: 38px;
  display: inline-block;
  margin-right: 0;
}


.mat-card-content{
    font-size:14px
}
.mat-card{
    background:#fff;
    color:rgba(0,0,0,.87)
}
}
body .mat-card{
    padding:0;
    margin:.33333333rem;
    border-radius:2px;
    -webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);
    box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);
    color:rgba(0,0,0,.87)
}
body .mat-card>:first-child{
    border-radius:2px 2px 0 0
}
body .mat-card>:last-child{
    border-radius:0 0 2px 2px
}
.mat-card .overlay, .overlay-wrapper .overlay {
    z-index: 50;
    background: rgba(255,255,255,0.7);
    border-radius: 3px;
}
.mat-card > .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.mat-card .overlay > .fas {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -15px;
  color: #000;
  font-size: 30px;
}
body .mat-card .mat-card-content{
    padding:1rem;
    margin-bottom:0;
    /*position:relative*/
}
body .mat-card.mat-card{
    padding:0
}
.mat-indigo{
    background-color:#3f51b5!important;
    color:#fff!important
}
.sidebar-menu .fas{
  width: 20px;
}

.main-header .sidebar-toggle:before {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0c9";

}
.modal { overflow: auto !important; }



.dataTables_filter, .dataTables_paginate {
      float: right;
}
.dataTables_info {
      float: left;
}


@media print {
  #myModal .modal-content {
      display: none !important;
  }
}

.range_tab {
  background: black;
}
#poststuff {
    min-width: 763px;
}
.postbox {
    position: relative;
    min-width: 255px;
    /*border: 1px solid #e5e5e5;*/
    /*box-shadow: 0 1px 1px rgba(0,0,0,.04);*/
    background: #fff;
}
.postbox {
    margin-bottom: 20px;
    padding: 10px;
    line-height: 1;
    color: black;
  }
  .postbox div.stats_range {
    border-bottom-color: #dfdfdf;
    margin: 0;
    padding: 0!important;
}
a, div {
    outline: 0;
}

a {
    color: #0073aa;
    transition-property: border,background,color;
    transition-duration: .05s;
    transition-timing-function: ease-in-out;
}
.postbox div.stats_range ul {
    list-style: none outside;
    margin: 0;
    padding: 0;
    zoom: 1;
    background: #f5f5f5;
    border: 1px solid #ccc;


}
.postbox div.stats_range ul li {
    float: left;
    margin: 0;
    padding: 0;
    line-height: 26px;
    font-weight: 700;
    font-size: 14px;
}
.postbox div.stats_range ul li a {
    border-right: 1px solid #dfdfdf;
    padding: 10px;
    display: block;
    text-decoration: none;
}

.postbox .chart-with-sidebar {
    padding: 12px 12px 12px 249px;
    margin: 0!important;
}
.postbox .inside {
    padding: 10px;
    margin: 0!important;
}
.postbox .inside {
    margin: 11px 0;
    position: relative;
}

.postbox .inside {
    padding: 0 12px 12px;
    line-height: 1.4em;
    font-size: 13px;
}
.postbox .chart-with-sidebar .chart-sidebar {
    width: 225px;
    /*margin-left: -537px;*/
    /*float: left;*/
    margin-top: 10px;
}
.postbox .chart-legend {
    list-style: none outside;
    margin: 0 0 1em;
    padding: 0;
    border: 1px solid #dfdfdf;
    border-right-width: 0;
    border-bottom-width: 0;
    background: #fff;
}
.postbox .chart-legend li {
    border-right: 5px solid #aaa;
    color: black;
    padding: 1em;
    display: block;
    margin: 0;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
    box-shadow: inset 0 -1px 0 0 #dfdfdf;
}
.tips {
    cursor: help;
    text-decoration: none;
}

.postbox .chart-container {
    /*background: #fff;*/
    padding: 0px;
    margin-top: 10px;
    position: relative;
    /*margin-left: -450px;*/  
    border: 1px solid #dfdfdf;
    border-radius: 3px;
}

.postbox .chart-placeholder {
    width: 100%;
    height: 650px;
    overflow: hidden;
    position: relative;
}
.postbox .inside {
    padding: 0 12px 12px;
    line-height: 1.4em;
    font-size: 13px;
}

  
 .stats_range ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
.stats_range ul li {
  float: left;
}

.stats_range ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}

 .stats_range ul li a:hover {
  background-color: #111111;
  color: white!important;
}
.custom{
  margin-top: 5px !important;
  margin-left: 5px !important;
}


div.dt-buttons{
  margin-left: 10px;
}
.panel-body {
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}
.select2-selection__rendered{
  text-align: left;
}

.select2-container--default {
  display: table!important;
  table-layout: fixed!important;
}
.dt-button-collection .buttons-columnVisibility:before,
.dt-button-collection .buttons-columnVisibility.active span:before {
  display:block;
  position:absolute;
  top:1.2em;
  left:0;
  width:12px;
  height:12px;
  box-sizing:border-box;
}

.dt-button-collection .buttons-columnVisibility:before {
  content:' ';
  margin-top:-6px;
  margin-left:10px;
  border:1px solid black;
  border-radius:3px;
}

.dt-button-collection .buttons-columnVisibility.active span:before {
  content:'\2714';
  margin-top:-11px;
  margin-left:12px;
  text-align:center;
  text-shadow:1px 1px #DDD, -1px -1px #DDD, 1px -1px #DDD, -1px 1px #DDD;
}

.dt-button-collection .buttons-columnVisibility span {
  margin-left:20px;    
}




.warranty_row td:first-child {
  position: relative;
  overflow: hidden;
  width: 300px;
}
.warranty_row td:first-child:before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  top: -16px;
  left: -15px;
  text-align: center;
  line-height: 90px;
  transform: rotate(49deg);
}

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
   
#uploadimage .submit {
  display: none;
}
.radio-sms label > input {
  visibility: hidden;
  position: absolute;
}

.radio-sms label > input + img{ /* IMAGE STYLES */
  cursor:pointer;
  opacity: 0.3;
  max-width: 100%;
}

.radio-sms  label {
  width: 100%;
}

.radio-sms  label > input:checked + img{/* (RADIO CHECKED) IMAGE STYLES */
  opacity: 1;
  margin: auto;
  display: block;
}
.twilio-info, .nexmo-info, .smsgateway-info, .http_api-info, .message-bird-info {
  opacity: 0.2;
}



.modal#reparationmodal {
  padding: 0 !important; 
}
.modal#reparationmodal .modal-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}
.modal#reparationmodal .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}
.modal#reparationmodal .modal-body {
  overflow-y: auto;
}
  .timeline-image {
  width: 30px;
  height: 30px;
  font-size: 15px;
  line-height: 30px;
  position: absolute;
  color: #666;
  background: #d2d6de;
  border-radius: 50%;
  text-align: center;
  left: 18px;
  background-color: #00c0ef !important;
  top: 0;
  }
  /* Always set the map height explicitly to define the size of the div
  * element that contains the map. */
  #map {
  height: 100%;
  }
  #autocomplete{
  z-index: 9999;   
  }
  .pac-container {
  background-color: #FFF;
  z-index: 9999;
  position: fixed;
  display: inline-block;
  float: left;
  }
  .checkbox-toggle-styled-material,
  .checkbox-toggle-styled-on-off,
  .checkbox-toggle-styled-yes-no {
  padding-left: 20px;
  }
  .checkbox-toggle-styled-material label,
  .checkbox-toggle-styled-on-off label,
  .checkbox-toggle-styled-yes-no label {
  display: inline-block;
  font-weight: normal;
  position: relative;
  padding-left: 35px;
  }
  .checkbox-toggle-styled-material label:before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 45px;
  height: 4px;
  top: 7px;
  left: 0;
  text-align: right;
  padding-right: 5px;
  margin-left: -20px;
  border-radius: 20px;
  background: #dee1e6;
  font-size: 10px;
  }
  .checkbox-toggle-styled-on-off label:before,
  .checkbox-toggle-styled-yes-no label:before {
  display: inline-block;
  position: absolute;
  width: 47px;
  height: 20px;
  left: 0;
  text-align: right;
  padding-right: 5px;
  line-height: 1.95em;
  text-transform: uppercase;
  margin-left: -20px;
  border-radius: 20px;
  font-weight: 900;
  background: #dee1e6;
  font-size: 10px;
  }
  .checkbox-toggle-styled-on-off label:before {
  content: "✓";
  background-color: green;
  }
  .checkbox-toggle-styled-yes-no label:before {
  content: "no";
  }
  .checkbox-toggle-styled-material label:after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  margin-left: -20px;
  padding-left: 5px;
  padding-top: 1px;
  font-size: 12px;
  background: #caced6;
  border-radius: 50%;
  -webkit-transition: margin 0.2s ease-in 0s;
  transition: margin 0.2s ease-in 0s;
  }
  .checkbox-toggle-styled-on-off label:after,
  .checkbox-toggle-styled-yes-no label:after {
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  display: inline-block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  margin-left: -20px;
  padding-left: 5px;
  padding-top: 1px;
  font-size: 12px;
  color: #51596a;
  -webkit-transition: margin 0.2s ease-in 0s;
  transition: margin 0.2s ease-in 0s;
  }
  .checkbox-toggle-styled-material input[type="checkbox"],
  .checkbox-toggle-styled-on-off input[type="checkbox"],
  .checkbox-toggle-styled-yes-no input[type="checkbox"] {
  display: none;
  }
  .checkbox-toggle-styled-material input[type="checkbox"]:checked + label:before,
  .checkbox-toggle-styled-on-off input[type="checkbox"]:checked + label:before,
  .checkbox-toggle-styled-yes-no input[type="checkbox"]:checked + label:before {
  position: absolute;
  text-align: left;
  padding-left: 8px;
  }
  .checkbox-toggle-styled-on-off input[type="checkbox"]:checked + label:before {
  content: "✘";
  background-color: red;
  }
  .checkbox-toggle-styled-yes-no input[type="checkbox"]:checked + label:before {
  content: "yes";
  }
  .checkbox-toggle-styled-material input[type="checkbox"]:checked + label:after {
  content: "";
  text-align: right;
  margin-left: 8px;
  padding-left: 0;
  background: #9099aa;
  -webkit-transition: margin 0.2s ease-in 0s;
  transition: margin 0.2s ease-in 0s;
  }
  .checkbox-toggle-styled-on-off input[type="checkbox"]:checked + label:after,
  .checkbox-toggle-styled-yes-no input[type="checkbox"]:checked + label:after {
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  text-align: right;
  margin-left: 4px;
  padding-left: 0;
  -webkit-transition: margin 0.2s ease-in 0s;
  transition: margin 0.2s ease-in 0s;
  }
  .has-success .checkbox-toggle-styled-material label:before {
  background: #d1dfaa;
  }
  .has-error .checkbox-toggle-styled-material label:before {
  background: #f9d0d4;
  }
  .has-success .checkbox-toggle-styled-material label:after {
  background: #bcd185;
  }
  .has-error .checkbox-toggle-styled-material label:after {
  background: #f1969e;
  }
  .has-success .checkbox-toggle-styled-material input[type="checkbox"]:checked + label:after {
  background: #9ab946;
  }
  .has-error .checkbox-toggle-styled-material input[type="checkbox"]:checked + label:after {
  background: #e74958;
  }
  .has-error .checkbox-toggle-styled-on-off label:before,
  .has-error .checkbox-toggle-styled-yes-no label:before {
  background-color: #e74958;
  color: #fff;
  border: 1px solid #e74958;
  }
  .has-success .checkbox-toggle-styled-on-off label:before,
  .has-success .checkbox-toggle-styled-yes-no label:before {
  background-color: #9ab946;
  color: #fff;
  border: 1px solid #9ab946;
  }
  .has-error .checkbox-toggle-styled-on-off label:after,
  .has-error .checkbox-toggle-styled-yes-no label:after,
  .has-success .checkbox-toggle-styled-on-off label:after,
  .has-success .checkbox-toggle-styled-yes-no label:after {
  color: #ffffff;
  }
  .radio-styled input[type="radio"]:disabled + label,
  .checkbox-styled input[type="checkbox"]:disabled + label,
  .checkbox-toggle-styled-material input[type="checkbox"]:disabled + label,
  .checkbox-toggle-styled-on-off input[type="checkbox"]:disabled + label,
  .checkbox-toggle-styled-yes-no input[type="checkbox"]:disabled + label,
  fieldset[disabled] .radio-styled input[type="radio"] + label,
  fieldset[disabled] .checkbox-styled input[type="checkbox"] + label,
  fieldset[disabled] .checkbox-toggle-styled-material input[type="checkbox"] + label,
  fieldset[disabled] .checkbox-toggle-styled-on-off input[type="checkbox"] + label,
  fieldset[disabled] .checkbox-toggle-styled-yes-no input[type="checkbox"] + label {
  opacity: 0.65;
  cursor: not-allowed;
  }
   @media (min-width: 768px) {
  .modal-xl {
    width: calc(100% - 30px);
   max-width:calc(100% - 30px);
  }
}

.select2.select2-container{
  width: 100% !important;
}
.input-group>.twitter-typeahead {
     position: relative;
     -ms-flex: 1 1 auto;
     -webkit-box-flex: 1;
     flex: 1 1 auto;
     width: 1%;
     margin-bottom: 0;
 }
 .input-group>.twitter-typeahead:not(:last-child) {
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
 }
 .input-group>.twitter-typeahead>.tt-input {
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
 }
 .form-control.tt-input:focus {
     z-index: 3
 }


.input-group {
    flex-wrap: inherit;
}
  .input-group .tt-menu.tt-open {
  top: 34px !important;
  }
  .tt-menu {
  min-width: 160px;
  margin-top: 2px;
  padding: 5px 0;
  background-color: #fff;
  border: 1px solid #ebebeb;
  *border-right-width: 2px;
  *border-bottom-width: 2px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  width: 100%;
  }
  .tt-suggestion {
  display: block;
  padding: 4px 12px;
  }
  .tt-suggestion p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 17px;
  }
  .tt-suggestion:hover {
  color: #303641;
  background: #f3f3f3;
  }
  .twitter-typeahead{
  display: block !important;
  }



  .width_100{
    width: 100% !important;
}
.external_filter_style{
    width: 100%;
    display: block;
}
.yadcf-filter-wrapper{
    display: block;
}
.yadcf-filter-wrapper-inner {
    display: flex;
    border: none;
}


.renderjson {
  text-align: left;
}
td.details-control {
  background: url('../../img/details_open.png') no-repeat center center;
  cursor: pointer;
}
tr.shown td.details-control {
  background: url('../../img/details_close.png') no-repeat center center;
}