/*
 * ========== Globali ==========
 */
body {
  font-family: 'Open Sans', sans-serif;
  /* padding-top: 50px; */
  -ms-overflow-style: scrollbar;
}

td.no-wrap {
    white-space: nowrap;
}

/* pulsante back-to-top */
#toTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 40px;
  z-index: 99;
  width: 40px;
  height: 40px;
  text-align: center;
  padding: 6px 0 6px 0px;
  font-size: 24px;
  line-height: 0.9;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .container {
    width: 95%;
  }
}
@media (min-width: 992px) {
  .container {
    width: 95%;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 95%;
  }
}

.cursor_default {
  cursor: default;
}

.cursor_pointer {
  cursor: pointer;
}

.color_white {
  color: #fff;
}

.color_orange {
  color: #1d5189;
}

.displayNone {
  display: none;
}

.displayBlock {
  display: block;
}

.wordBreak {
  word-break: break-all;
}

/*
 * ========== Navbar ==========
 */
/* Since the .navbar-brand has its own padding and height, you may need to override some CSS depending on your image. */
.navbar-brand {
  padding: 0 0 0 5px;
}

.navbar {
  margin-bottom: 0px;
}

/* hamburger menu via CSS */
.navbar-default .navbar-toggle {
  background-color: #3d3d3d;
}
.navbar-toggle {
  padding: 6px 5px;
}

/* hamburger menu animato */
/* https://codepen.io/miguelml/pen/Wromzv?editors=0100 */
.navbar-toggle span.icon-bar {
  transition: all 0.15s;
  width: 30px;
  height: 4px;
  border-radius: 3px;
}
.navbar-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 0px);
    transform-origin: 25% 10%;
}
.navbar-toggle span:nth-child(2) {
    opacity: 0;
}
.navbar-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, 1px);
    transform-origin: 25% 90%;
}
.navbar-toggle.collapsed span:nth-child(1),
.navbar-toggle.collapsed span:nth-child(3) {
    transform: rotate(0);
}
.navbar-toggle.collapsed span:nth-child(2) {
    opacity: 1;
}

#iUserDropName {
    padding: 3px 20px;
    /* margin: 0; */
    color: #fff
}

/* Transition effect when sliding down (and up) */
/* .navbar-fixed-top {
    transition: top 0.5s;
}
.navbar .navbar-collapse.in {
  max-height: 300px!important;
  overflow-y: scroll!important;
  overflow-x: hidden!important;
} */

/*
 * ========== Select2 ==========
 */
.select2-container--bootstrap.select2-container--focus .select2-selection, .select2-container--bootstrap.select2-container--open .select2-selection {
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(29, 81, 137, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(29, 81, 137, 0.6);
  border-color: #1d5189;
}
.select2-container--bootstrap .select2-dropdown {
  border-color: #1d5189;
}
.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
  border: 1px solid #1d5189;
}
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
  background-color: #3d3d3d;
}

/*
 * ========== DataTables ==========
 */
/* centratura titoli di colonna */
.table_centerColTitle th {
  text-align: center;
}

/* cursor pointer su righe cliccabili ma non su quelle child se la tabella è responsiva */
.table_pointer tbody tr:not(.child) {
  cursor: pointer;
}

/* distanza verticale "From 1 to 18 of 18 entries" da casella search impilate su smartphone (es. editor dove ci sono + pulsanti) */
div.dataTables_wrapper div.dataTables_info {
  padding-bottom: 8px;
}

/* centratura gruppo pulsanti in editor */
@media screen and (max-width: 767px) {
  .dataTables_wrapper > .row:first-child > .col-sm-4:first-child {
    text-align: center;
  }
  .dataTables_wrapper > .row:first-child > .col-sm-4:first-child div.dt-buttons {
    width: auto;
  }
}

/* righe selezionate tabella editor */
table.dataTable tbody>tr.selected, table.dataTable tbody>tr>.selected {
  background-color: #3d3d3d;
}
table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table.dataTable tbody td.selected a {
  color: #fd6602;
}

/* pulsante apri e chiudi righe tabella responsiva standard */
table.dataTable.dtr-column>tbody>tr>td.control:before, table.dataTable.dtr-column>tbody>tr>th.control:before {
  background-color: #fd6602;
}
table.dataTable.dtr-column>tbody>tr.parent td.control:before, table.dataTable.dtr-column>tbody>tr.parent th.control:before {
  background-color: #1d5189;
}

/* pulsante apri e chiudi righe tabella responsiva editor */
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
  background-color: #fd6602;
}
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
  background-color: #1d5189;
}

/* placeholder tagliato su select2 multiple in editor */
.select2-container .select2-search--inline {
  min-width: 100%;
}
.select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
  min-width: 100%;
}

/* allineamento titoli colonna in alto */
.table>thead>tr>th {
  vertical-align: top;
}

/* incrementata separazione verticale tra messaggio di errore e pulsante submit, allineato testo a sinistra e forzati testo e pulsante su due righe */
div.modal div.DTE div.DTE_Form_Error {
  padding-bottom: 10px;
  text-align: left;
  width: 100%;
}

/* allineamento verticale radio e label nel form Nuovo di editor */
div.DTE_Field_Type_radio div.controls label {
  vertical-align: top;
}

/* forza l'a capo delle parole lunghe */
#iMachineTable td:last-child, #iMachineTable td:nth-last-child(2) {
  word-break: break-all;
}

table.dataTable.table-condensed>thead>tr>th.select-checkbox {
  padding-right: 5px;
}

/*
 * ========== Bootstrap 3 Date/Time Picker ==========
 */
.bootstrap-datetimepicker-widget.dropdown-menu {
  background-color: #fff;
}
.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
  background-color: #fd6602;
}

/*
 * ========== Awesome Bootstrap Checkbox ==========
 */
/* https://apurnell.com/2017/12/unable-to-reference-font-awesome-5-icons-with-css/ */
@font-face{
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: 900;
  src: url("assets/fontawesome/webfonts/fa-solid-900.eot");
  src: url("assets/fontawesome/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("assets/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"), url("assets/fontawesome/webfonts/fa-solid-900.woff") format("woff"), url("assets/fontawesome/webfonts/fa-solid-900.ttf") format("truetype"), url("assets/fontawesome/webfonts/fa-solid-900.svg#fontawesome") format("svg");
}

/*
 * ========== textarea Autosize ==========
 */
/* https://github.com/jackmoore/autosize/issues/245 */
.textarea_overflow {
    overflow: auto !important;
}

/*
 * ==========  FullCalendar ==========
 */
.fc-disabled-day {
  background: #d7d7d7;
  opacity: .3;
}

.fc-event {
  color: #ffe11a;
  /* background-color: #5b5b5b; */
  background-color: #000;
}


/*
 * ==========  SUMMERNOTE ==========
 */
.checkbox.sn-checkbox-open-in-new-window input[type="checkbox"] {
  opacity: 1;
}

/*
 * ========== Altre tabelle ==========
 */
/* larghezza colonne standard tabelle */
.table__col_width_30 {
    width: 30px;
    max-width: 30px;
}
.table__col_width_55 {
    width: 55px;
    max-width: 55px;
}
.table__col_width_70 {
    width: 70px;
    max-width: 70px;
}
.table__col_width_100 {
    width: 100px;
    max-width: 100px;
}
.table__col_width_140 {
    width: 140px;
    max-width: 140px;
}
.table__col_width_200 {
    width: 200px;
    max-width: 200px;
}
.table__col_width_280 {
    width: 280px;
    max-width: 280px;
}

/* tabella OPERATORI crm_dashboard.php */
.table__td_va_middle>tbody>tr>td {
  vertical-align: middle;
}
#iOpStatusTable tr td:nth-child(4) {
  background-color: #d50000;
  color: #fff;
  font-size: 18px;
}
#iOpStatusTable tr td:nth-child(5) {
  background-color: #ffe11a;
  color: #333;
  font-size: 18px;
}

#iImgTable.table>tbody>tr>td {
  vertical-align: middle;
}
#iImgTable i {
  font-size: 18px;
}

/*
 * ========== Elementi ==========
 */
/* password strength bar height */
.progress {
    height: 5px;
}

/* Resize solo verticale per caselle di testo incluse quelle di datatables editor */
.textarea_resize_v, .textarea_resize_v textarea {
    resize: vertical;
}

/* divisore verticale form claim solo per dimensioni superiori a smartphone */
/* @media (min-width:768px) {
  .claimForm__col_borderRight
  {
      border-right: 1px solid #cbcbcb;
  }
} */

/* http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone */
/* textarea, input[type=text] {
    -webkit-appearance: none;
} */

h3.panel-title {
  font-weight: 700;
}

.popover {
  color: #777;
}
.popover-content {
  max-height: 400px;
  overflow-y: auto;
}
@media (min-width:768px) {
  .popover-content {
    max-height: 700px;
  }
}

.form-control:focus {
  border-color: #1d5189;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(68, 68, 68, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(68, 68, 68, 0.6);
}

#spinner {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
/* background-color: #ffffff; */
}

.alert_marginTop {
  margin-top: 20px;
}

.badge {
  font-size: 14px !important;
}

#badgeMancanze {
  background-color: #eb5a46;
  cursor: pointer;
}

#badgeAvvisi {
  background-color: #ffe11a;
  color: #000;
  cursor: pointer;
}

.pickadate__inputWrapper {
    position: relative;
}
/* bordo colonna destra crm_campagne_scheda.php */
@media (min-width: 992px) {
  .col_borderRightMQuery {
    border-right: solid 1px #ccc;
  }
}

.text-backoffice {
  color: #ff00ff;
}

.text-disponibile {
  color: yellow;
}

.text-outbound {
  color: #0f0;
}

.text-pausa {
  color: #f00;
}

p.status {
  margin: 0;
  padding: 5px 20px;
}

p.status:hover {
  background-color: #3d3d3d;
}

p.status.selected {
  background-color: #000;
}

.word-wrap_break-word {
  word-wrap: break-word;
}

.tag_cliente {
  color: green;
}
.tag_cliente_icon i {
  position: absolute;
  width: 22px;
  font-size: 22px;
  left: 0;
  right: 0;
  margin: 10px auto;
  text-align: center;
}

.tag_contatto {
  color: violet;
}

.tag_contatto_icon i {
   position: absolute;
   width: 22px;
   font-size: 22px;
   left: 0;
   right: 0;
   margin: 10px auto;
   text-align: center;
}

.marker-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: #c30b82;
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -15px 0 0 -15px;
}

.marker-pin::after {
  content: '';
  width: 14px;
  height: 14px;
  margin: 8px 0 0 8px;
  background: #000000;
  position: absolute;
  border-radius: 50%;
}

.tag_cliente_icon i.awesome {
    margin: 10px auto;
    font-size: 20px;
    color:white;
}

.tag_contatto_icon i.awesome {
    margin: 12px auto;
    font-size: 17px;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container {
  pointer-events: none;
  touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
  background: #eee;
  box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
  display: none;
}

/*Select2 ReadOnly End*/

#iSticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: yellow;
  padding: 50px;
  font-size: 20px;
}

.material-switch > input[type="checkbox"] {
  display: none;   
}

.material-switch > label {
  cursor: pointer;
  height: 0px;
  position: relative; 
  width: 40px;  
}

.material-switch > label::before {
  background: rgb(0, 0, 0);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  content: '';
  height: 16px;
  margin-top: -8px;
  position:absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 40px;
}
.material-switch > label::after {
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: '';
  height: 24px;
  left: -4px;
  margin-top: -8px;
  position: absolute;
  top: -4px;
  transition: all 0.3s ease-in-out;
  width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
  background: inherit;
  opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
  background: inherit;
  left: 20px;
}