@media screen and (max-width: 2600px) {
  body,
  html {
    ffont-size: 0.6vw;
  }
  #invcontainer div[contenteditable] {
    background-image: url(/images/lines20.png);
    line-height: 20px;
  }
  .hideonsmall {
    display: none !important;
  }
}
@media screen and (min-width: 2601px) {
}
@media screen and (min-width: 1601px) and (max-width: 1920px) {
  body {
    font-size: 12px;
    ffont-size: 0.6vw;
  }
}
@media screen and (min-width: 1441px) and (max-width: 1600px) {
  body {
    font-size: 11px;
  }
  .cent {
    font-size: 9px;
  }
}
@media screen and (min-width: 1367px) and (max-width: 1440px) {
  body {
    font-size: 10px;
  }
  .cent {
    font-size: 9px;
  }
}
@media screen and (min-width: 813px) and (max-width: 1366px) {
  body {
    font-size: 9px;
  }
}
@media screen and (min-width: 1201px) and (max-width: 1920px) {
  body {
    ffont-size: 0.6vw;
  }
}
@media screen and (min-width: 813px) and (max-width: 1200px) {
  body {
    ffont-size: 0.6vw;
  }
}
@media screen and (min-width: 813px) and (max-width: 1000px) {
  .chcont.chfull {
    width: calc(95vw - 130px);
  }
}
@media screen and (min-width: 813px) and (max-width: 1600px) {
  .rand {
    line-height: 2em;
  }
  #content {
    padding-left: 3.5em;
    padding-top: 1.5vw;
  }
  .topstatus {
    font-size: 0.8em;
    line-height: 1.5;
  }
  button {
    font-size: 12px !important;
  }
  .tops {
    height: 1.6em;
  }
  #main header h2 {
    font-size: 2em;
  }
  #content button.realsmall {
    padding: 0.35em 1em 0.35em 1em;
  }
  #content button.ver {
    padding: 0.35em 0.7em 0.35em 0.7em;
  }
  table.cereritable td {
    padding: 0.35em 0.7em 0.35em 0.7em;
  }
  .chcont {
    height: 80vh;
  }
  .chcont.chthin3 {
    height: 30vh;
  }
}
@media screen and (max-width: 812px) {
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.2em;
    line-height: 1.5;
  }
  #bartabs {
    display: inline-block;
  }
  #tabs > ul {
    display: none;
  }
  #invcontainer {
    display: none;
  }
  #pdfframe {
    margin-top: 1vh;
    width: 98vw;
    max-width: 98vw;
    min-width: 98vw;
    height: 98vh;
    max-height: 98vh;
    min-height: 98vh;
  }
  html,
  body,
  .modal,
  .modalop {
    touch-action: none;
  }
  .listgrid .rand.head {
    display: none;
  }
  .listgrid .rand .headlabel {
    display: inline-block;
  }
  .topstatus {
    display: none;
  }
  #imageframe {
    width: 100%;
    margin-top: 2rem;
  }
  .scrollcontainer {
    display: none;
  }
  .scrollcontainerlandinfo {
    display: block;
    text-align: center;
  }
  .floater {
    display: none;
  }
  .chcont,
  .chcont.chthin3,
  .chcont.chthin {
    width: calc(95vw - 40px);
  }
  .chcont.chtile {
    width: calc(95vw - 50px);
    height: 45vw;
  }
}
@media screen and (min-width: 441px) {
  mlabel {
    display: none;
  }
  .showonmobile {
    display: none !important;
  }
}
@media screen and (max-width: 440px) {
  mlabel {
    display: inline-block;
    margin-right: 1em;
  }
  mlabel:after {
    content: ":";
  }
  .al_destra,
  .al_centro {
    text-align: left !important;
  }
  #content #addclient,
  #main > header {
    display: none;
  }
  .hideonmobile {
    display: none !important;
  }
  #content button {
    padding: 1vw;
  }
  .topstatus {
    display: none;
  }
  .form {
    line-height: 1;
    display: inline-block;
    max-width: 98vw;
    left: 1vw !important;
    top: 1vw !important;
    max-height: 85vh;
    overflow-y: scroll;
  }
  .listbills li.head {
    display: none;
  }
  .listbills li {
    margin-bottom: 10px;
  }
  .listbills li:last-child {
    margin-bottom: 0;
  }
  .listbills li span {
    width: calc(100% - 80px);
  }
  .listbills li label {
    display: inline-block;
    width: 80px;
  }
  #tradingcontainer {
    overflow-x: scroll;
    width: fit-content;
  }
  .modal {
    overflow-y: hidden;
  }
  html {
    overflow-y: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  #footerinfo {
    display: none;
  }
  div[mlabel]:not(:empty):before {
    content: attr(mlabel) ": ";
    margin-right: 1em;
    font-weight: bold;
  }
  hr {
    padding: 0;
    margin: 0;
  }
  .mcol-1-3 {
    width: 33% !important;
  }
  .mcol-2-3 {
    width: 66% !important;
  }
  body.havebar #content {
    margin-right: 25px;
  }
  #content {
    padding-top: 45px;
  }
  #dashboard {
  }
  #dashboard .wnd1 {
    height: 17vh;
    max-height: 17vh;
    min-height: 17vh;
  }
  #dashboard .wnd2 {
    height: 40vh;
    max-height: 40vh;
    min-height: 40vh;
  }
  #dashboard alternate {
    height: 40vh;
    max-height: 40vh;
    min-height: 40vh;
  }
  #dashboard alternate.w1 {
    height: 17vh;
    max-height: 17vh;
    min-height: 17vh;
  }
  #dashboard .cardcontent {
    max-height: 34vh;
  }
  .sp2-1 {
    width: 100%;
  }
  .sp3 {
    width: 50%;
  }
  .sp4 {
    width: 100%;
  }
  .double {
    font-size: 1.2em;
  }
  #dets td.idminfo {
    min-width: 3em;
  }
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

input {
  border-width: 1px;
}
