@media (max-width: 1199px) {
  .wrap_datos {
    width: 49%;
  }
  .bg-info.utente {
    float: right;
    list-style: none;
    margin-top: 10px;
  }
  .products-edit-page .company-data__item {
    min-height: 150px !important;
  }
  .Iva-wrap {
    margin: 0;
  }
  .d-none {
    display: none !important;
  }
  .d-block {
    display: block !important;
  }
  #date-pickerValid .form_bg_wrap {
    width: 100%;
    overflow-x: visible;
    padding: 0 15px;
  }

  #date-pickerValid .date-picker input {
    max-width: 84px;
  }
  #company-data_IVA {
    width: 65px;
    padding-right: 2px;
    border: none;
    font-size: 2rem;
    font-family: monospace, serif;
    text-align: right;
    float: none;
  }
  .ritenuta_inner {
    width: 87%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .company-data_professionisti .company-data__item {
    flex-wrap: wrap;
  }
  .products-edit-page .company-data__item .company-data__text {
    width: 40% !important;
  }
  .products-edit-page .check_porducts-wrap {
    width: 36% !important;
    padding-left: 15px;
  }
  .company-data__ritenuta {
    width: 100% !important;
  }
  .bg-info.utente a {
    background: transparent;
  }
  .bg-info.utente a img:last-of-type {
    display: none;
  }
  #menu-panel-Utente a img:last-of-type {
    display: inline-block;
  }
  #menu-panel-Utente ul {
    margin-top: 0;
  }
  .user_inf {
    background: #d9edf7;
    text-align: center;
    font-weight: bold;
    padding: 10px 15px;
    color: #777;
  }
  #menu-panel-Utente {
    position: absolute;
    top: 51px;
    right: 0px;
    width: 228px;
    background: #f8f8f8;
    background-color: #f8f8f8;
    z-index: 1000;
  }

  #header {
    height: auto;
  }
  #menu-panels {
    max-height: 400px;
    max-height: calc(100vh - 65px);
  }
  .menu-panels-search-lbl:after {
    right: 55px !important;
  }
  .content-block {
    margin-top: 65px !important;
  }
  .azienda_attiva .panel-body,
  .scroll_x {
    overflow-x: scroll;
  }
  #logo {
    float: none;
    width: 300px;
    background-size: contain;
  }
  #content > h1 {
    display: none;
  }
  .navbar-header {
    float: none;
  }
  .navbar-header .navbar-header-logo {
    float: left;
    margin-top: 18px;
    min-height: 32px;
    display: inline-block;
    align-items: center;
    margin-left: 10px;
  }
  .navbar-header-logo a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 0px 15px;
  }
  .navbar-header-logo img {
    width: 150px;
    height: auto;
  }
  .navbar-toggle {
    display: block;
    float: left;
    margin-left: 15px;
    margin-right: 0;
  }
  .sidenav-trigger {
    float: right;
    padding: 5px 9px;
    margin: 7px 10px 7px 5px;
    border-color: #dddddd;
    box-shadow: 0 0 0 0;
  }
  .sidenav-trigger img {
    width: 17px;
    height: 24px;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-collapse.collapse.in {
    display: block !important;
  }
  .navbar-nav {
    float: none !important;
    margin: 7.5px -15px;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .header-search-form-home-logo {
    display: block;
  }
  .header-search-form-compact-logo {
    display: none;
  }
  #menu-panels .bg-info.only-element .bg-info-content {
    width: 100%;
  }
  #menu-panels .bg-info.only-element .bg-info-content .menu-item {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .factures__foot .dataTables_paginate {
    margin: 0px 0px 0px 0px;
    padding: 0;
  }
  .dataTables_length select {
    height: 30px;
  }
  .dataTables_paginate select {
    height: 30px;
  }
  #factures_wrapper .pull-right {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    padding-top: 0;
    -ms-align-items: center;
    align-items: center;
  }
  #factures_wrapper div.ColVis {
    margin-bottom: 0;
  }
  #factures_length {
    text-align: center;
    margin-bottom: 0px;
    width: 100%;
    border-right: 1px solid #cecece;
    padding-right: 10px;
  }
  div.ColVis {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    -ms-align-items: center;
    align-items: center;
    width: 100%;
  }
  .ColVis_collection.active {
    margin-top: 8px;
  }
  #slide_out .button.ColVis_Button {
    box-shadow: none;
    outline: none;
  }
  div.ColVis_collectionBackground {
    display: none;
  }
  .ColVis_Button {
    width: 100%;
  }

  #factures-control-owner.pull-right {
    width: 100%;
  }

  #tbl_settings {
    margin-left: 7px;
  }

  #tbl_settings .dataTables_length label {
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-around;
    -ms-align-items: center;
    align-items: center;
  }

  #tbl_settings .dataTables_length select {
    width: 100px;
  }

  .sidenav .title {
    color: #000000;
    text-transform: uppercase;
    font-weight: bold;
    padding: 5px 2px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
  }

  #tbl_settings .ColVis label {
    height: 24px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
  }

  #tbl_settings ul.ColVis_collection li {
    padding-top: 9px !important;
    -ms-align-items: center;
    align-items: center;
    height: 24px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
  }

  #tbl_settings ul.ColVis_collection li input {
    margin-top: 0;
  }

  #tbl_settings ul.ColVis_collection li span {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
  }

  #lowerPane-modal a[role="tab"] {
    font-size: 12px;
  }

  .modal-header button {
    margin-top: 0;
  }

  dt {
    float: left;
    margin-right: 10px;
    font-size: 12px;
  }

  dd {
    margin-left: 25%;
    font-size: 12px;
  }

  .dataTables_wrapper .dataTables_paginate .paginate_button {
    margin-right: 2px;
  }

  #lowerPane-placeholder {
    display: none;
  }

  .menu-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
  }

  .sidenav-close {
    position: absolute;
    right: 14px;
    top: 10px;
    border-bottom-right-radius: 7px;
    background: #fff;
    padding: 0px 0 !important;
  }

  .sidenav-close span {
    font-size: 20px;
    color: #000;
  }

  #factures-toolbar {
    display: flex;
    flex-wrap: wrap;
  }

  ul.ColVis_collection {
    display: -webkit-flex !important;
    display: -moz-flex !important;
    display: -ms-flex !important;
    display: -o-flex !important;
    display: flex !important;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    left: 45% !important;
    top: 10% !important;
  }

  ul.ColVis_collection li {
    width: 48%;
    margin-bottom: 15px;
  }

  .factures__foot .dataTables_info {
    padding: 0px;
    height: 30px;
    display: flex;
    align-items: center;
    margin-right: 4px;
    padding-right: 10px;
    border-right: 1px solid #cecece;
  }

  #menu-panels {
    max-height: 450px;
    max-height: calc(100vh - 65px);
    min-height: 50px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .factures__foot {
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    justify-content: center;
    margin-top: 10px;
  }

  .factures__foot .datatables-bottom-toolbar {
    order: 5;
    padding-top: 0;
  }

  .factures__foot .dataTables_length label {
    margin-bottom: 0;
  }

  .factures__foot .dataTables_paginate {
    margin: 0;
    margin-right: 11px;
    margin-left: auto;
    border-right: 1px solid #cecece;
    border-left: 1px solid #cecece;
  }

  .glyphicon {
    top: 0px;
  }

  .qr-wrapper {
    display: block;
  }

  .tipo-num-data-row .panel-heading {
    padding: 0 0 0 5px;
  }
  .tipo-num-data-row .panel-body {
    padding: 0 8px;
  }

  /*tablet media queries*/
  #Totali {
    max-width: 100%;
  }
  .miei_toggle .panel-heading
  .miei_panel .panel-heading {
    padding: 8px;
  }
  .form_bg_wrap {
    width: 100%;
    overflow-x: scroll;
    padding: 0 15px;
  }

  .form_bg_wrap .form-control {
    min-width: 80px;
  }

  .pagamento_flex .form-group {
    justify-content: center;
  }

  .pagamento_flex .edit-button {
    display: none;
  }

  #codiceDestinatarioPrivateModal input.tabs_search {
    font-size: 1rem;
  }
}
@media (max-width: 1212px) {
  .data_info_wrap {
    flex-wrap: wrap;
  }
  .prod_page .data_info_wrap {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start !important;
  }
  .ritenuta_inner {
    justify-content: flex-start;
  }
}
@media (max-width: 1024px) {
  #DocumentiCorrelatiAlDocumento .panel-body,
  #DescrizioneAttivia .panel-body,
  #RelativiAllaCassaPrevidenziale .panel-body,
  #GestioneAllegati .panel-body,
  #ScontiMaggiorazioni .panel-body {
    overflow-x: scroll;
  }
  .wizard-form h2 {
    font-size: 2rem !important;
  }
}
@media screen and (max-width: 991px) {
  #DatiRelativiAlPagamento-table .table-bordered,
  #RiepilogoIVA-table {
    width: 1000px;
  }

  #DatiRelativiAlPagamento-table .scroll_tail {
    overflow-x: scroll;
  }
  #LineeDiDettaglioFattura-table-compact {
    width: 1000px;
  }
  #company-data_IVA {
    font-size: 1rem;
  }
  #goodsIcon_Wrap {
    height: 65px !important;
  }
  .products-edit-page .check_porducts {
    font-size: 14px;
  }
  .m-xs-none {
    margin: 0 !important;
  }
  .form-options-block .panel-heading {
    margin-top: 0px;
  }
  .azienda_attiva .panel-body {
    overflow-x: scroll;
  }
  .azienda_scroll {
    overflow-x: scroll;
  }
  #AliquotaIVA_Extended_modal .modal-body {
    overflow-x: scroll;
  }
  .camera-shot {
    display: block;
  }
  .map-fields-modal .remaining-fields {
    padding-top: 20px;
  }
}
@media screen and (max-width: 820px) {
  .written_inputs p,
  .written_inputs_2 p,
  .written_inputs_3 p,
  .written_inputs_4 p,
  .written_inputs_5 p,
  .written_inputs_6 p {
    margin-bottom: 1px;
    font-size: 0.86em;
    max-width: 205px;
  }
  #Totali {
    max-width: 375px;
    min-width: 375px;
  }
}
.pc_help {
  display: inline-block;
}
.mb_help {
  display: none;
}
@media screen and (max-width: 767px) {
  #cedente_table_footer {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .amico_code {
    text-align: center;
  }
  .products-edit-page .btn-group > .btn + .dropdown-toggle {
    height: 33px;
  }
  .products-edit-page .company-data__item {
    display: flex !important;
    min-width: 360px;
  }
  .mob_table-scroll {
    overflow-x: scroll;
  }
  .company-data__select_help {
    top: calc(65% + 10px);
  }
  table .company-data__select_help {
    left: 0px;
    top: calc(100% + 10px);
  }
  .pc_help {
    display: none;
  }
  .mb_help {
    display: inline-block;
  }
  .mob_table-scroll .company-data__items {
    width: 767px;
  }
  .company-data__head .company-data__id {
    font-size: 1rem !important;
    padding: 17px 2px 0 !important;
  }
  .company-data__head .company-data__text {
    padding-left: 0;
    font-size: 1rem;
    padding-top: 17px;
  }
  .company-data__head {
    width: 767px;
  }

  #products_search {
    display: none;
  }
  .products-edit-page .company-data {
    margin: 0 -4px;
  }
  #products_search.active {
    display: block;
    width: 100%;
    position: absolute;
    background: #ffff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    top: 50px;
    z-index: 9;
  }
  .products-edit-page .action-buttons-wrapper {
    position: relative;
  }
  #products_search.active label {
    min-width: 165px;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: right;
    height: 34px;
    border: 1px solid #cecece;
    margin: 0;
  }
  #products_search.active label a i {
    top: 0px;
  }
  #products_search.active label a {
    display: flex;
    align-items: center;
    border: 0;
    height: 34px;
    background-size: 13px;
    background: transparent;
    padding: 1px 7px;
  }
  #products_search.active .tabs_search {
    max-width: 90%;
    width: 100%;
    height: 32px;
    border: none;
    border-left: 1px solid #cecece;
    font-size: 14px;
    font-weight: normal;
    padding-left: 6px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
  }
  .mob_hidden {
    display: none;
  }
  .Iva-wrap b {
    float: none !important;
  }
  .products-edit-page .check_porducts {
    font-size: 13px;
  }
  .products-edit-page .company-data__item {
    min-height: 85px !important;
  }
  .products-edit-page .check_porducts .switch {
    min-width: 30px;
    width: auto;
    height: 13px;
  }
  .products-edit-page .check_porducts .slider:before {
    position: absolute;
    content: "";
    height: 7px;
    width: 7px;
  }
  .products-edit-page .check_porducts input:checked + .slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(17px);
  }
  .data_info_wrap {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .company-data__text b {
    max-width: 88px;
    overflow: hidden;
  }

  #cedente_table_footer #table-codice-destinatario-private_paginate {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #cedente_table_footer #table-codice-destinatario-private_length {
    display: flex;
    align-items: center;
  }
  #cedente_table_footer #table-codice-destinatario-private_info {
    margin-right: 10px;
  }
  #codice_table_footer,
  #codice_table_footer_private {
    display: flex;
    align-items: center;
    width: 80%;
  }
  #DatiRelativiAlPagamento #pagamento_drop {
    width: 100% !important;
  }
  #Totali {
    max-width: 395px;
    min-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  #RitenutaIRPEF .panel.panel-default {
    flex-direction: column;
  }
  .with-paddings {
    padding-left: 15px;
  }
  .with-paddings .form-options-block {
    padding-left: 0;
  }
  #DatiRelativiAlPagamento.azienda-micro {
    padding-left: 0;
  }
  #Causale {
    padding: 0;
  }
  #RiepilogoIVA-table th {
    min-width: 150px;
  }
  .wizard-form h2 {
    font-size: 2rem !important;
  }
  .col-xs-12 {
    width: 100% !important;
  }
  .form-options-block .panel-heading {
    margin-bottom: 0;
  }
  #factures-toolbar .btn.btn-default {
    top: 0px !important;
  }
  #LineeDiDettaglioFattura-table-compact,
  #RiepilogoIVA-table {
    width: 1200px;
  }
  .ritenuta_inner {
    width: 87%;
    display: flex;
    align-items: center;
  }
  .ritenuta_inner {
    justify-content: flex-start;
  }
  .company-data_professionisti .company-data__item {
    flex-wrap: wrap;
  }
  .ritenuta_check {
    display: flex;
  }
  .company-data__ritenuta {
    font-size: 10px !important;
    width: 100% !important;
    max-width: 153px;
    display: flex !important;
    justify-content: space-around !important;
  }
  .ritenuta_title,
  .ritenuta_title span {
    font-size: 1rem;
  }
  #Relativi_pagamento .col-sm-12 {
    padding: 0;
  }
  #RiepilogoIVA-table th:last-child {
    min-width: auto;
  }
  #viewFactureModal .modal-dialog {
    width: 99% !important;
    margin-top: 2px;
    height: 99% !important;
    margin-bottom: 2px;
  }

  .country_select {
    width: 100%;
    height: 34px;
  }
  .country_select .select2-choice {
    height: 100%;
  }
  .select2-container .select2-choice .select2-arrow b {
    background-position-y: 4px;
  }
  .country_select .select2-chosen {
    font-size: 18px;
  }
}
@media screen and (max-width: 575px) {
  .title__pan {
    display: inline-block;
    max-width: 180px;
  }
  .tipo-num-data-row .date-picker {
    min-width: 120px;
  }
  #AliquotaIVA_Extended_table {
    width: 500px !important;
  }
  .mr-xs-n {
    margin-right: 0 !important;
  }
  #src_TableDocumenti {
    width: 600px;
  }
  .miei_toggle.active,
  .miei_panel.active {
    flex-direction: column;
  }

  .miei_toggle.active .panel,
  .miei_panel.active .panel {
    width: 100%;
  }

  .miei_toggle .panel-heading,
  .miei_panel .panel-heading {
    position: relative;
  }
  #pagamento_drop label {
    min-width: 75px;
  }
  .miei_toggle .panel-heading::after,
  .miei_panel .panel-heading::after {
    right: 12px;
  }

  .miei_toggle,
  .miei_panel {
    margin-bottom: 20px;
  }

  .miei_toggle.active,
  .miei_panel.active {
    margin-left: 0;
    margin-right: 0;
  }

  .azienda_flex_wrap .col-xs-12 {
    padding: 0;
  }

  .written_inputs,
  .written_inputs_2,
  .written_inputs_3,
  .written_inputs_4,
  .written_inputs_5,
  .written_inputs_6 {
    width: 100%;
    padding: 0px 15px;
  }

  .form-options-block {
    width: 100%;
  }
  .pagamento_flex .form-options-block .form-group {
    justify-content: flex-start;
  }
  .descriz_table {
    padding: 0px;
  }

  .descriz_table #LineeDiDettaglioFattura-table tr th:nth-child(7) {
    width: 85px;
  }

  #factures tr th {
    padding: 5px 15px 5px 5px;
    font-size: 12px;
  }

  .azienda_flex_wrap {
    flex-wrap: wrap;
  }

  #factures tr td {
    padding: 5px !important;
    font-size: 11px;
  }

  #factures_length label {
    margin-left: 5px;
  }

  .factures__foot .dataTables_paginate {
    margin-right: 6px;
    border-left: none;
  }

  button.ColVis_Button {
    margin-right: 0;
  }

  .very_small_font {
    font-size: 7px !important;
  }

  .small_font {
    font-size: 9px !important;
  }

  .normal_font {
    font-size: 11px !important;
  }

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

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

  .drag-drop-table.attachments-window .drag-drop-wrapper .file-upload-name span {
    font-size: 14px;
    font-weight: 400;
  }

  .drag-drop-table.attachments-window .drag-drop-description {
    font-size: 12px;
  }

  .drag-drop-table.attachments-window .drag-drop-wrapper .file-upload-name {
    height: 150px;
    border: 2px dashed #cccccc;
  }
  .iva-dropdown {
    width: 200px !important;
  }
  .users-page #table-codice-destinatario-private_filter,
  #products_search {
    float: right;
  }
  #cedente_table_footer .datatables-bottom-toolbar {
    padding-top: 0;
  }
  .country-select .country-list {
    width: calc(100vw - 45px);
  }
}
@media (max-width: 487px) {
  #table-codice-destinatario-private_filter,
  #table-codice-destinatario_filter,
  #products_search {
  }
  #codiceDestinatarioPrivateModal input.tabs_search {
    width: 100%;
    max-width: 100px;
  }
}
@media (max-width: 460px) {
  #codice_table_footer,
  #codice_table_footer_private,
  #codice_table_footer,
  #codice_table_footer {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
@media screen and (max-width: 414px) {
  .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.4em 0.2em;
  }
  #date-pickerValid .form-group {
    padding: 0;
  }
  button.ColVis_Button {
    width: auto;
    margin: 0;
    padding: 5px 7px;
  }
  #factures_wrapper .pull-right button {
    margin: 0;
    padding-left: 10px;
  }
  .factures__foot .dataTables_info {
    padding-right: 4px;
  }
  .wizard-form h2 {
    font-size: 1.5rem !important;
  }
  #date-pickerValid .panel-title {
    font-size: 12px;
  }
  #date-pickerValid .form_bg_wrap .form-control {
    font-size: 13px;
  }
  #period-dropdown .dropdown-menu {
    width: 318px;
  }
  #factures-toolbar .dropdown-menu {
    width: 100%;
  }
  #period-dropdown .col-lg-3 {
    margin-bottom: 10px;
  }
  #date-pickerValid .form_bg_wrap .col-sm-12:first-child {
    padding-right: 0;
  }
  .mob-h-48 {
    min-height: 48px;
  }
  .users-page .btn {
    padding: 6px 11px;
  }
  #codiceDestinatarioPrivateModal .scroll-x {
    max-height: 312px;
  }
  #ScontoMaggiorazione-table {
    width: 400px;
  }
  #codice_table_footer,
  #codice_table_footer_private {
    width: 100% !important;
    float: left;
    padding-top: 15px !important;
    height: 10vh !important;
  }
  #table-codice-destinatario-private_filter,
  #table-codice-destinatario_filter,
  #products_search {
    margin-left: auto;
    margin-right: -18px;
    min-width: 98px;
  }
  #codiceDestinatarioPrivateModal input.tabs_search {
    width: 100%;
    max-width: 80px;
  }
  #codiceDestinatarioPrivateModal #table-codice-destinatario-private_filter label,
  #codiceDestinatarioPrivateModal #table-codice-destinatario_filter label,
  #products_search label {
    margin-left: auto;
    margin-right: 17px;
    margin-bottom: 12px;
  }
  #Totali .form-group {
    padding: 0px 0px 0px 20px;
    max-width: 278px;
    margin: 0px -24px;
  }
  .factures__foot .dataTables_paginate {
    margin: 0 auto;
  }
  .users-page #table-codice-destinatario-private_wrapper .scroll-x {
    min-height: 59vh !important;
    max-height: 59vh !important;
    margin: 0 -15px;
    width: 109% !important;
  }
  #factures-control-colvis,
  .table__control_colvis {
    margin-left: auto;
  }
  .mob_hidden {
    display: none;
  }
}
@media screen and (max-width: 395px) {
  #btn-send-sdi2 {
    display: none !important;
  }
  #btn-view3 {
    display: none !important;
  }
}
@media screen and (max-width: 350px) {
  #codiceDestinatarioPrivateModal input.tabs_search {
    width: 100%;
    max-width: 55px;
  }
}
@media screen and (max-width: 380px) {
  #btn-send-sdi2 {
    display: none !important;
  }
  #urlResultModal .qr-code {
    width: 200px !important;
    height: 200px !important;
  }
}
@media screen and (max-width: 375px) {
  .users-page #table-codice-destinatario-private_wrapper .scroll-x {
    min-height: 54vh !important;
    max-height: 54vh !important;
    margin: 0 -15px;
    width: 110% !important;
  }
}
@media screen and (max-width: 330px) {
  .factures__foot .dataTables_paginate {
    border-right: 1px solid #cecece;
  }
  #Totali .form-group {
    width: 305px;
  }
}

@media screen and (max-width: 320px) {
  .factures__foot {
    margin: 10px 0px 0px;
    width: 100%;
  }

  .users-page #table-codice-destinatario-private_wrapper .scroll-x {
    min-height: 46vh !important;
    max-height: 46vh !important;
  }
}
@media (min-width: 768px) {
  .container-small {
    width: 300px;
  }
  .lista_img {
    width: 60px;
    height: 60px;
    margin-right: 3px;
  }
  #show_search {
    display: none;
  }
  .users-page #table-codice-destinatario-private_wrapper .scroll-x {
    min-height: 75vh !important;
    max-height: 75vh !important;
  }

  ul.ColVis_collection li {
    width: 32% !important;
  }

  ul.ColVis_collection li span {
    padding-left: 0.5em;
  }

  .container-large {
    width: 970px;
  }
  #codiceDestinatarioPrivateModal table.dataTable tfoot th,
  #codiceDestinatarioPrivateModal table.dataTable thead th {
    font-weight: 700;
    font-size: 2.4rem;
  }
  .multiple-tables-modal table.dataTable.display tbody td,
  .multiple-tables-modal table.dataTable.display tbody th,
  .multiple-tables-modal table.dataTable.row-border tbody td,
  .multiple-tables-modal table.dataTable.row-border tbody th {
    font-size: 2rem;
    font-weight: 200;
  }
  #codice_table_footer,
  #codice_table_footer_private {
    height: 16vh;
  }
  #table_codice_tabs li a {
    padding: 20px 21px;
    font-size: 2rem;
    font-weight: 200;
  }
  #codiceDestinatarioPrivateModal .datatables-bottom-toolbar {
    height: 16vh;
  }
  #codiceDestinatarioPrivateModal input.tabs_search {
    height: 48px;
  }
  .dataTables_filter label img {
    vertical-align: bottom;
    height: 48px;
    width: 48px;
  }
  #table-codice-destinatario-private thead td,
  #table-codice-destinatario-private thead th,
  #table-codice-destinatario thead td,
  #table-codice-destinatario thead th {
    padding: 10px 37px 10px 9px;
    border-bottom: 1px solid #111;
    min-width: 285px;
  }
  #codiceDestinatarioPrivateModal #table-codice-destinatario-private_info,
  #codiceDestinatarioPrivateModal .dataTables_wrapper .dataTables_info {
    font-size: 2rem;
    font-weight: 200;
    padding-top: 0;
  }
  #codiceDestinatarioPrivateModal .dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 2.5em;
    padding: 0.5em 1em;
    font-size: 2rem;
  }
  #codiceDestinatarioPrivateModal .modal-footer button {
    font-size: 2rem;
  }
}
@media (min-width: 992px) {
  #LineeDiDettaglioFattura-table {
    width: 100%;
  }
  .container-small {
    width: 500px;
  }

  .container-large {
    width: 1170px;
  }
  #show_search {
    display: none;
  }
  #products_search {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  #codiceDestinatarioPrivateModal table.dataTable tfoot th,
  #codiceDestinatarioPrivateModal table.dataTable thead th {
    font-weight: 700;
    font-size: 2rem;
  }
  #codiceDestinatarioPrivateModal table.dataTable.display tbody tr:first-child td,
  #codiceDestinatarioPrivateModal table.dataTable.display tbody tr:first-child th,
  #codiceDestinatarioPrivateModal table.dataTable.row-border tbody tr:first-child td,
  #codiceDestinatarioPrivateModal table.dataTable.row-border tbody tr:first-child th {
    font-size: 1.6rem;
  }
}
@media (min-width: 1025px) {
  #table_codice_tabs li a {
    padding: 20px 21px;
    font-size: 2rem;
    font-weight: 200;
  }
  .dataTables_filter label img {
    vertical-align: bottom;
    height: 48px;
  }
  img.cerca_search {
    width: 48px;
  }
  #codiceDestinatarioPrivateModal table.dataTable tfoot th,
  #codiceDestinatarioPrivateModal table.dataTable thead th {
    font-weight: 700;
    font-size: 2rem;
  }
  #codiceDestinatarioPrivateModal table.dataTable.display tbody tr:first-child td,
  #codiceDestinatarioPrivateModal table.dataTable.display tbody tr:first-child th,
  #codiceDestinatarioPrivateModal table.dataTable.row-border tbody tr:first-child td,
  #codiceDestinatarioPrivateModal table.dataTable.row-border tbody tr:first-child th {
    font-size: 1.6rem;
  }
}
@media (min-width: 1200px) {
  #menu-panels #menu-panel-Menu-fatture {
    width: 625px;
    background: #f6fcff;
  }
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
  .sel_btn {
    padding: 6px;
  }
  #company-data_IVA {
    width: 65px;
    padding-right: 2px;
    border: none;
    font-size: 2rem;
    font-family: monospace, serif;
    text-align: right;
    float: none;
  }

  .wrap_Menu-fatture {
    padding-left: 0;
    width: 33.333%;
    float: left !important;
  }
  .wrap_Menu-fatture li a {
    display: flex;
    align-items: flex-start;
    min-height: 64px;
  }
  #menu-panels .bg-info-content:first-of-type .sidebar-nav .navbar li {
    float: none;
    display: inline-block;
    break-inside: avoid;
  }
  .bg-info.utente a {
    background: #2396ff !important;
  }
  .bg-info.utente a span {
    font-weight: bold;
    color: #fff;
  }
  #menu-panel-Utente a {
    background: #fff !important;
  }
  .wrap_datos {
    width: 49.3%;
  }
  .container-small {
    width: 700px;
  }
  .container-large {
    width: 1500px;
  }
  .sidebar-nav .navbar .navbar-collapse {
    padding: 0;
    max-height: none;
  }

  .sidebar-nav .navbar ul {
    float: none;
  }

  .sidebar-nav .navbar ul:not {
    display: block;
  }

  .sidebar-nav .navbar li {
    float: none;
    display: block;
    list-style: none;
  }

  .sidebar-nav .navbar li a {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .sidebar-nav .navbar li a.header-search-form-compact-logo {
    padding-top: 0;
    padding-bottom: 0;
  }
  #s2id_period-interval {
    margin-top: 3px;
  }
  #logo {
    display: none;
  }
  .hidden_xl_gr {
    display: none;
  }
  .factures__foot {
    display: flex;
    align-items: center;
  }

  .factures__foot .dataTables_info {
    padding: 0px;
    margin-right: 10px;
  }

  .factures__foot .dataTables_info {
    padding: 0px;
  }

  .factures__foot .datatables-bottom-toolbar {
    order: 5;
    padding: 0;
  }

  .factures__foot {
    margin-top: 10px;
  }

  .factures__foot .dataTables_paginate {
    margin: 0px 0px 0px 0px;
    padding: 0;
    margin-left: auto;
    margin-right: 11px;
    border-right: 1px solid #cecece;
    border-left: 1px solid #cecece;
  }

  .dataTables_length select {
    height: 30px;
    margin-left: 10px;
  }

  .dataTables_paginate select {
    height: 30px;
  }

  .sidenav-trigger {
    display: none !important;
  }

  #factures-toolbar {
    display: flex;
    flex-wrap: wrap;
  }

  ul.ColVis_collection {
    display: -webkit-flex !important;
    display: -moz-flex !important;
    display: -ms-flex !important;
    display: -o-flex !important;
    display: flex !important;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    left: 45% !important;
    top: 10% !important;
  }

  ul.ColVis_collection li {
    width: 32%;
    border-bottom: 1px solid #fefefe;
    margin-bottom: 15px;
  }
  #RelativiAllaCassaPrevidenziale label {
    padding-top: 0;
  }
  #RelativiAllaCassaPrevidenziale .form-group {
    display: flex;
    align-items: center;
  }
  #factures_length {
    margin-left: 20px;
  }

  #tbl_settings {
    display: none;
  }

  .logo-compact {
    display: block;
    position: fixed;
    top: 0;
    left: 20px;
    z-index: 101;
    width: 200px;
  }

  .logo-compact img {
    width: 100%;
  }

  .sidebar-nav .navbar li.nav-divider {
    display: none;
  }

  .social-buttons-parent {
    top: 32px;
    left: 20px;
    z-index: 101;
    position: fixed;
  }

  .header-offset {
    padding-top: 45px;
  }

  .menu-block {
    width: 100%;
    display: inline-block;
    z-index: 10;
    position: static;
    top: 0px;
    background: #ffffff;
  }

  .menu-block.stick {
    position: fixed;
  }

  .menu-block > .sidebar-nav > .navbar {
    margin-bottom: 0;
    background-color: #f6fcff;
  }

  .menu-block ul .header-search-form {
    padding-bottom: 5px;
    width: 325px;
    display: inline-block;
    vertical-align: top;
    position: absolute;
    top: 6px;
    left: 10px;
  }

  .header-search-form-home-logo {
    display: none;
  }

  .header-search-form-compact-logo {
    display: block;
  }

  .header-search-form {
    margin-right: 2px;
  }

  .header-search-form-compact-logo img {
    width: 150px;
    height: auto;
  }

  .menu-block #menu-item-exit a {
    padding: 0;
  }

  #menu-panels {
    max-height: 700px;
    text-align: left;
    margin-left: 325px;
    padding: 5px 100px 5px 15px;
  }

  #menu-panels > li {
    display: inline-block;
  }
  #src_Message {
    resize: none;
  }
  #menu-panels > li .menu-item {
    padding: 2px 5px 5px 5px;
  }

  #menu-panels .bg-info {
    position: relative;
    margin: 1px 2px;
    display: inline-block;
    vertical-align: top;
    pointer-events: fill;
    border: 1px solid #f6fcff;
  }

  #menu-panels .bg-info.utente {
    position: absolute;
    top: 5px;
    right: 0px;
    max-width: 220px;
    display: inline-block;
    text-align: left;
    width: 100%;
  }

  #menu-panels .bg-info.utente .menu-item {
    padding: 6px 5px 6px 5px;
    max-width: 218px;
    display: flex;
    width: 100%;
    align-items: center;
  }

  #menu-panels .bg-info.utente .bg-info-content {
    right: 0;
    left: auto;
    max-width: 218px;
  }

  #menu-panels .bg-info.utente .utente-icon {
    width: 20px;
    height: 20px;
  }

  #menu-panels .bg-info .menu-item {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #menu-panels .bg-info .parent-menu-item {
    padding: 6px 5px 6px 15px;
  }

  #menu-panels .bg-info-content {
    display: none;
    width: 300px;
    position: absolute;
    top: 100%;
    left: 0;
    background: #f8f8f8;
    z-index: 101;
    text-align: left;
    padding: 0;
  }

  .header-search-form #menu-panels-search + .input-group-addon {
    display: none;
  }
  #menu-panels-search::-ms-clear {
    display: none;
  }

  #menu-panels .bg-info-content > ul {
    background: #f6fcff;
  }

  #menu-panels .bg-info > a {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #menu-panels .bg-info > a:hover {
    background: #d9edf7;
  }

  #menu-panels .bg-info:hover .bg-info-content {
    display: inline-block;
    visibility: visible;
  }

  .content-block h1 {
    text-align: center;
  }
}
@media (min-width: 1441px) {
  .table-select-sm {
    max-width: 15em;
  }
}
@media screen and (min-width: 576px) and (max-width: 805px) {
  #DatiRelativiAlPagamento.azienda-micro {
    padding: 0;
  }
}
@media screen and (min-width: 575px) and (max-width: 991px) {
  #Totali {
    padding-left: 0;
  }
  .pagamento_flex .form-options-block .panel {
    flex-flow: column;
  }
  .pagamento_flex.with-paddings {
    padding-left: 13px;
    padding-right: 13px;
  }
  .pagamento_flex .form-options-block {
    padding-left: 2px;
    padding-right: 2px;
  }

  .pagamento_flex .form-options-block .panel-heading {
    padding: 10px 5px 0;
  }

  .pagamento_flex .form-options-block .panel-body {
    padding: 5px;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  #DatiRelativiAlPagamento #pagamento_drop {
    width: 100% !important;
  }
}
@media screen and (min-width: 850px) and (max-width: 991px) {
  #LineeDiDettaglioFattura-table {
    width: 100%;
  }
}
@media screen and (min-width: 991px) and (max-width: 1199px) {
  .pagamento_flex .form-control.select2-container {
    max-width: 85px !important;
    width: 100%;
  }
  .pagamento_flex .aizenda-esigibilita-block .select2-container {
    max-width: 100% !important;
  }
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .col-lg-md-2 {
    width: 24.66666667%;
  }
}
@media (min-width: 1281px) and (max-width: 1440px) {
  .table-select-sm {
    max-width: 12em;
  }
}
