/* Responsive compatibility layer for the preserved 2016 layout. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
embed,
object {
  max-width: 100%;
}

img,
video {
  height: auto;
}

iframe {
  border: 0;
}

.carousel-inner > .item > img {
  width: 100%;
  height: auto;
}

.table-responsive,
table {
  max-width: 100%;
}

@media (max-width: 1199px) {
  #header-style-1 .navbar-header {
    float: none;
  }

  #header-style-1 .navbar-toggle {
    display: block;
    margin-top: 24px;
  }

  #header-style-1 .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  #header-style-1 .navbar-collapse.collapse {
    display: none !important;
  }

  #header-style-1 .navbar-collapse.collapse.in,
  #header-style-1 .navbar-collapse.collapsing {
    display: block !important;
  }

  #header-style-1 .navbar-nav,
  #header-style-1 .navbar-right {
    float: none !important;
  }

  #header-style-1 .navbar-nav > li {
    float: none;
  }

  #header-style-1 .navbar-nav > li > a {
    padding: 12px 15px;
  }

  #header-style-1 .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  #topbar,
  #topbar .topmenu,
  #topbar .social-icons {
    text-align: center;
  }

  #topbar .topmenu {
    float: none;
    padding: 6px 0 10px;
  }

  #header-style-1 .logo {
    max-width: calc(100% - 70px);
  }

  #header-style-1 .logo img {
    max-height: 78px;
    width: auto;
  }

  .carousel {
    min-height: 0;
    height: auto;
  }

  .carousel .item {
    min-height: 0;
    height: auto;
  }

  .paragrafi,
  .liner {
    padding-right: 0;
    border-left: 0;
  }

  .footer,
  .footer p {
    text-align: center;
    overflow-wrap: anywhere;
  }

  .modal-dialog {
    margin: 10px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  #topbar .social-icons span,
  #topbar .topmenu a {
    display: inline-block;
    margin: 2px;
  }

  .title-box h1,
  .title-box h3 {
    overflow-wrap: anywhere;
  }
}

.mobcash-sidebar .img-box {
  display: block;
}

.mobcash-sidebar .img-box img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 150px;
  margin: 0 auto;
  padding: 20px 30px;
  object-fit: contain;
}

.mobcash-sidebar h3 {
  margin-bottom: 12px;
}

.mobcash-sidebar .mobcash-description {
  margin: 0 auto 15px;
  padding: 0 15px;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.mobcash-sidebar .mobcash-description a {
  font-weight: 700;
}
