@media (max-device-width: 1000px) {
  html {
    overflow-x: hidden;
  }

  body {
    height: auto;
  }

  .fullwidthbanner {
    margin-top: 0;
  }

  .container > .navbar-header {
    float: none !important;
    margin-right: -17px;
  }

  .container {
    width: 100%;
  }

  .navbar-toggle {
    display: block;
  }

  .header-2 .navbar-default .navbar-collapse {
    position: absolute;
    border: none;
    display: block;
    background-color: rgba(96,96,180,1);
    right: 0;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

    .navbar-collapse.collapse.in {
      display: block !important;
    }

  .navbar-right {
    float: none !important;
    margin: 0 auto;
  }

  .navbar-nav > li {
    float: none;
  }

    .navbar-nav > li > a {
      padding-top: 10px;
      padding-bottom: 10px;
    }

  .mt-100 {
    margin-top: 50px;
  }

  .main-content {
    padding-top: 10px;
  }

  .mt-xs {
    margin-top: 10px;
  }

  .desktop-button {
    display: none;
  }

  .mobile-button {
    display: block;
  }

  .how-to .iconbox-4 {
    width: 100%;
  }

    .how-to .iconbox-4::after {
      display: none;
    }

  .login-form form {
    width: 100%;
    max-width: 500px;
  }

  .login-forgotten-password, .login-create-account {
    font-size: 15px;
  }

  h2.heading-with-icon {
    height: 50px;
    padding-top: 0;
  }

  .register-form {
    padding: 10px 20px 80px 20px;
  }

  .startup-page h3:before, .choose-payment h3:before {
    left: -15px;
    top: 0;
  }

  .startup-page h3, .choose-payment h3 {
    margin-top: 20px;
  }

  .startup-page p, .choose-payment p {
    font-size: 14px;
  }

  .filter-section h4 {
    margin-right: 0;
    font-size: 15px;
  }

  .filter-section.filter-section-preview h4 {
    margin-right: 10px;
  }

  .panel-title > div.preview .arrow {
    margin-top: 15px;
  }

  .panel-title > div label {
    font-size: 13px !important;
  }

  .panel-title > div.preview label {
    line-height: 50px;
  }

  .panel-title > div label.with-icon {
    float: left;
    margin-left: -40px;
  }

  .panel-title div.day-status label.with-icon {
    float: left;
    margin-left: 0px;
  }

  div.day-status a {
    font-size: 12px;
    padding: 8px 20px;
  }

  .variant-meals .variant {
    width: 100%;
    float: left;
    height: initial;
    display: block;
  }

    .variant-meals .variant .meals {
      width: 100%;
      float: left;
      height: initial;
      display: block;
      padding-right: 0;
    }

  .category-icon {
    height: auto;
  }

  .variant-meals .variant h5 {
    font-size: 15px;
    margin-top: 45px;
  }

  .variant-meals .meal-allergens {
    position: relative;
    float: left;
    padding: 0;
    margin-top: 5px;
    margin: 5px auto;
    height: 32px;
    width: 100%;
  }

    .variant-meals .meal-allergens li {
      float: left;
      margin-right: 2px;
      width: 30%;
    }

      .variant-meals .meal-allergens li img {
        width: 100%;
        max-width: 30px;
      }

  .variant-meals h4:after, .variant-meals h4:before {
    top: 45px;
    display: none;
  }

  .free-order-item h4:after, .free-order-item h4:before {
    display: none;
  }

  .meal-tabs .btn.btn-variants {
    padding: 8px 10px;
    font-size: 13px;
  }

  .sticky-header .order-pay {
    margin-bottom: 10px;
  }

  .sticky-header h2 {
    line-height: 60px;
  }

  .filter-section.filter-section-preview .heading-with-icon {
    line-height: 50px;
  }

  .heading-with-icon.reports {
    line-height: 40px;
    float: left;
    height: inherit;
  }

  .ready-day-row .col-md-3, .free-order .col-md-3 {
    margin-bottom: 10px;
  }

  .choose-payment .payment-type {
    background-size: 85%;
  }

  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #fff;
    padding: 10px 15px 10px 50px;
    background-color: rgba(96,96,180,1);
  }

  .dropdown-menu > li {
    border: none;
  }

  /*td.more .dropdown-menu {
        left: -65px;
    }

    .fast-order-table td.more .dropdown-menu {
        left: 0;
    }*/

  .fast-order-table .with-icon {
    width: 25px;
    text-indent: -9999px;
  }

  .more label.with-icon {
    margin-left: 5px;
  }

  .modal-dialog {
    width: 90%;
  }

  .modal-body {
    padding: 10px;
  }

  .modal-footer .btn {
    margin-top: 10px;
  }

  .meal-info-dialog .row {
    margin: 0;
  }

  .meal-info-dialog img {
    max-width: 100%;
  }

  .meal-info-dialog h4:before {
    width: 25%;
    top: 40px;
    left: 17.5%;
  }

  .meal-info-dialog h4:after {
    width: 25%;
    top: 40px;
    right: -7.5%;
  }

  .order-item-container {
    /*overflow: hidden;*/
  }

    .order-item-container .daily-menu-label {
      top: -1px;
      right: -1px;
      border: 1px solid gainsboro;
      padding: 4px;
      color: #8080c3;
      bottom: auto;
      background-color: transparent;
      font-weight: bold;
    }

      .order-item-container .daily-menu-label.ordered {
        background-color: #8080c3;
        color: #fff;
        border: 1px solid #8080c3;
      }

  .table-responsive {
    word-break: break-word;
  }

  .tabs-1 {
    padding: 0;
  }


  .header-2 .navbar-default .navbar-nav > li > a.btn-login, .header-2 .navbar-default .navbar-nav > li > a.btn-register {
    width: 80%;
    margin: 20px auto;
  }

  .login-menu-item {
    margin-left: 0px;
  }

  .arrow {
    width: 20px;
    height: 20px;
    margin-top: 17px;
  }

  .btn-small-padding {
    padding: 13px 10px;
  }

  .register-bg-third {
    background-image: none;
    padding: 10px 0px 30px 2px;
  }

    .register-bg-third .child-allergens li > label {
      max-width: 70%;
      word-break: break-word;
      padding-left: 5px;
      height: 30px;
      padding-top: 10px;
      line-height: 15px;
    }

  .free-order-item img {
    margin-bottom: 30px;
  }

  .choose-child-icon, .startup-page .startup-icon {
    background-size: auto 80%;
  }

  .order-final table tr td {
    font-size: 15px;
  }

  .free-order-item .meal-allergens li {
    height: 30px;
  }

  h2.heading-with-icon {
    font-size: 17px;
  }

  .sticky-header h4 {
    font-size: 17px;
  }

  .welcome h2 {
    font-size: 20px;
    line-height: 25px !important;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .parent-profile-child {
    padding-right: 5px;
  }

  td.more {
    width: 50px;
    padding: 0 !important;
  }

  table.fast-order-table tr td [type="checkbox"] + label {
    margin-left: 8px;
  }

  table.fast-order-table td.status-column, table.fast-order-table td.more {
    padding: 5px;
  }

  td.report-actions {
    width: 40px;
    padding: 15px 0 !important;
  }

    td.report-actions a {
      width: 40px;
      padding-left: 40px;
      float: left;
      background-size: 19px;
      overflow: hidden;
      text-indent: -9999px;
    }

      td.report-actions a:nth-child(2n) {
        margin-top: 5px;
      }

  .smaller-text-mobile {
    font-size: 85%;
  }

  .order-item-container h5 {
    font-size: 12px;
    margin-top: 5px;
  }

  .free-order > .col-xs-6, .order-item-container .col-xs-4, .order-item-container .col-xs-8 {
    padding-left: 5px;
    padding-right: 5px;
  }

  div[aria-expanded="true"] .day-status a {
    padding: 8px 8px;
    margin: 8px auto;
    float: none !important;
    display: table;
  }

  .heading-with-icon.two-lines {
    line-height: 25px;
  }
}
@media (max-device-width: 360px) {
  .read-only .panel-title .read-only-label {
    font-size:11px!important;
  }
}
@media (max-device-width: 370px) {
  .grey-header h1 {
    font-size: 24px;
    line-height: 80px;
  }

  .choose-child-icon, .startup-page .startup-icon {
    background-size: 80%;
  }


  .sticky-header h2 {
    line-height: 30px;
  }

  .welcome h2 {
    font-size: 18px;
  }

  /*.filter-section.filter-section-preview .heading-with-icon {
        line-height: 25px;
    }*/

  h2.heading-with-icon {
    font-size: 14px;
  }

  .parent-profile-child {
    padding-right: 5px;
  }  
}
@media (max-device-width:400px){
  .read-only .panel-title .read-only-label {
    padding-right: 5px !important;
  }
}
@media(min-device-width:768px) and (max-device-width:1000px) {
  .panel-title > div label.with-icon {
    margin-left: 0;
  }

  .variant-meals .meal-allergens {
    margin: 10px 30px;
  }

    .variant-meals .meal-allergens li img {
      width: 30px;
    }

    .variant-meals .meal-allergens li {
      width: auto;
      margin-right: 10px;
    }

  .free-order-item h4:before, .free-order-item h4:after {
    width: 40px;
  }

  h2.heading-with-icon {
    font-size: 19px;
  }

  .grey-header h1 {
    font-size: 24px;
    line-height: 60px;
  }
}

@media(min-device-width:1000px) and (max-device-width:1200px) {
  .free-order-item h4:before, .free-order-item h4:after {
    width: 40px;
  }

  .header-2 .navbar-default .navbar-nav > li > a {
    padding: 25px 6px;
  }

  .navbar-brand img {
    width: 200px;
  }

  .free-order-item h4:after, .free-order-item h4:before {
    display: none;
  }

  .meal-quantity-controller .price-quantity {
    font-size: 12px;
  }

  .grey-header h1 {
    font-size: 24px;
    line-height: 80px;
  }
}

@media(max-device-width:768px) {
  .table > thead > tr > th, .table th, th {
    font-size: 13px;
  }

  .tabs-1 ul {
    width: 100%;
  }

  .tabs-1 .nav-tabs > li {
    float: none;
  }

  .panel-title > div label {
    font-size: 12px !important;    
  }

    .panel-title > div label.col-xs-12 {
      text-align: left !important;
      line-height:25px;
    }

  .order-item-container img {
    max-height: 60px;
  }

  .grey-header h1 {
    font-size: 24px;
    line-height: 50px;
  }
}
@media(min-device-width:768px){
  .panel-title > div label.col-sm-6 {
    text-align: right !important;
    line-height:50px;
  }
}
@media (max-device-width: 300px) {
  .welcome h2.parent {
    font-size: 15px;
  }
}
