﻿@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");

@font-face {
  font-family: "Open Sans";
  src: url("OpenSans-Regular.ttf");
}

html,
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 100dvh;
}

#pp-cfpiaw-dialog,
#pp-cfpiaw-overlay {
  transition: none !important;
}

#loading-blanket {
  visibility: hidden;
  position: fixed;
  height: 100vh;
  width: 100vw;
  cursor: wait;
  z-index: 1000;
}

.hiddenDatePicker {
  visibility: hidden !important;
}

.visible {
  visibility: visible !important;
}

#main-container {
  overflow-y: auto;
  height: 92%;
}

#main-content {
  margin-left: 0px;
  /* display: inline-block; */
  /* width: 85%; */
  padding: 20px;
  /*float: right;*/
  padding: 30px;
  max-height: -webkit-fill-available;
}

#content-container {
  /*width: 100%;*/
  /*max-width: 940px;
    min-width: 940px;*/
  height: 650px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  -webkit-box-shadow: 5px 5px 15px rgb(0 0 0 / 40%);
  -moz-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

a,
.btn-link {
  color: #0366d6;
}
/* Bootstrap override */
input[readonly] {
  background-color: none !important;
  border: 0;
}

.form-group {
  margin-bottom: 5px !important;
}
.centered {
  margin: 0 auto;
  display: table;
}
.left {
  float: left;
}
.right {
  float: right;
}

.list-checkbox {
  height: 25px !important;
}

.btn-primary {
  background-color: #25313c !important;
  color: white !important;
  border: none;
}
.btn-primary:hover {
  background-color: #3b4f61 !important;
}

.btn-primary:disabled {
  color: #25313c !important;
  background-color: white !important;
  outline: 3px solid #25313c !important;
  outline-offset: -2px;
}
/* Bootstrap override end */

.btn-square {
  height: 85px;
  width: 95px;
  font-size: small;
}
.btn-square-wide {
  height: 85px;
  width: 115px;
  font-size: small;
}
.submit-cancel {
  display: table;
  margin: 20px auto 0px auto;
}

/*Fixing Radzen overriding bootstrap*/
p {
  line-height: initial !important;
  font-family: "Open Sans", sans-serif;
}

.card p {
  margin-bottom: 1rem !important;
}

.card {
  padding: unset !important;
}
/* End */

/* MatBlazor override */
.mdc-line-ripple::before,
.mdc-line-ripple::after {
  border-bottom-style: none !important;
}
/* End */

#nav-school-drop {
  height: 100%;
  display: flex;
  margin: 0 auto;
  flex-direction: row;
  justify-content: flex-start;
}
.nav-drop-container {
  height: 100%;
  position: relative;
  display: inline-block;
}
.nav-drop-item {
  margin: 0;
  top: 11px;
  position: relative;
}
#nav-loggedInAs {
  padding-left: 20px;
}
#nav-estabDropdown {
  min-width: 180px;
  top: -6px;
}
#nav-orgDropdown {
    min-width: 180px;
    top: -6px;
}
#nav-Name {
  width: 150px;
  white-space: nowrap;
}
.top-row {
  /*height: 5vh;*/
  height: 45px;
  width: auto;
  box-sizing: border-box;
  padding: 0px 24px 0px 0px;
  border-style: solid;
  /*overflow: hidden;*/
  border-color: var(--BorderGrey, #cccccc);
  border-top-width: 0px;
  border-bottom-width: 1px;
  border-left-width: 0px;
  border-right-width: 0px;
  background-color: white;
}

#nav-logo-container {
  width: 100%;
  height: 100px;
  align-items: center;
  overflow: hidden;
  padding-top: 30px;
  padding-left: 2px;
}
#nav-logo {
  width: 185px;
  height: 54px;
  background-image: url(/images/logo.png);
  background-size: 100%;
}
#nav-logo-collapsed {
  width: 26px;
  height: 26px;
  background-image: url(/images/iris-favicon-white-50px.png);
  background-size: 100%;
  margin-left: 10px;
  margin-top: 10px;
}
.nav-meals-dropdown-container {
  /*padding-left: 5px;*/
  background-color: #384a5c;
}
.hide {
  display: none;
}

.main {
  /*display: flex;*/
  /*padding-top: 10px;
    padding-left: 30px;
    padding-right: 30px;*/
  display: inline-block;
  height: 100%;
  width: 100%;
}

.main .top-row {
  background-color: #f7f7f7;
  border-bottom: 1px solid #d6d5d5;
  justify-content: flex-end;
}

.main .top-row > a,
.main .top-row .btn-link {
  white-space: nowrap;
  margin-left: 1.5rem;
}

.main .top-row a:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.irisDark {
  background-color: var(--Primary) !important;
  color: white !important;
}
.irisText {
  color: var(--Primary) !important;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.31rem;
  padding-bottom: 0.31rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
  color: white !important;
}

.collapse-icon {
  margin-left: 15px;
}

.collapse-icon-img {
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.sidebar {
  width: 205px;
  float: left;
}

.collapsed {
  width: 50px !important;
}

.sidebar .top-row {
  background-color: rgba(0, 0, 0, 0.4);
}

.sidebar .navbar-brand {
  font-size: 1.1rem;
}

.sidebar .oi {
  width: 2rem;
  font-size: 1.1rem;
  vertical-align: text-top;
  top: -2px;
}

.sidebar .btn-menu {
  width: 250px;
  height: 44px;
  overflow: visible;
  background-color: rgba(255, 255, 255, 0.1);
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.7);
  border-top-width: 0px;
  border-bottom-width: 1px;
  border-left-width: 0px;
  border-right-width: 0px;
}
.sidebar .nav-item {
  height: 44px;
  overflow: visible;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.25);
  border-top-width: 0px;
  border-bottom-width: 1px;
  border-left-width: 0px;
  border-right-width: 0px;
  cursor: pointer;
}

.sidebar .btn-menu a {
  width: 81px;
  height: 18px;
  overflow: visible;
  font-family: "Open Sans", sans-serif;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0px;
  line-height: 1.2;
  font-weight: 600;
  font-style: normal;
}
.sidebar .nav-item a.active {
  background-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.sidebar .nav-item a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.content {
  padding-top: 1.1rem;
}

.navbar-toggler {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropIcon {
  background-color: var(--Primary) !important;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}

.settingsDropdown {
  position: relative;
  display: inline-block;
  margin-left: auto;
}

.settingsDropdownContent {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f1f1f1;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.settingsDropdownContent p {
  color: black;
  padding: 3px 10px;
  text-decoration: none;
  display: block;
  font-size: 15px;
}

.settingsDropdownLink:hover {
  background-color: #ddd;
  cursor: pointer;
}

.settingsDropdown:hover .settingsDropdownContent {
  display: block;
}

.valid.modified:not([type="checkbox"]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}
.navText {
  display: inline-block;
  height: 18px;
  overflow: visible;
  font-family: "Open Sans", sans-serif;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0px;
  line-height: 1.2;
  font-weight: 400;
  font-style: normal;
  width: 120px;
  vertical-align: middle;
}
.navIcon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  filter: brightness(0) invert(1);
}

.chevronArrow {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.nav-link {
  padding-right: 0px !important;
}

.UITODO {
  color: white !important;
  background-color: red !important;
}

.UITODONOTES {
  color: yellow !important;
  background-color: green !important;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

#print-loading-container {
    z-index: 100;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: white;
    opacity: 0.8;
}
#loading-container {
  z-index: 100;
  height: 100%;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: white;
}
#loading-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* Index loading */
.loading-section {
  text-align: center;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 101;
}

.loading-section h2 {
  color: #24303b;
}

.loader-dot {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #24303b;
  display: inline-block;
  -webkit-animation: grow 2.1s infinite ease-in-out both;
  animation: grow 2.1s infinite ease-in-out both;
}

.loader-dot.dot1 {
  -webkit-animation-delay: -0.96s;
  animation-delay: -0.96s;
}

.loader-dot.dot2 {
  -webkit-animation-delay: -0.48s;
  animation-delay: -0.48s;
}
/* end Index loading */

@-webkit-keyframes grow {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1);
  }
}

@media (max-width: 767.98px) {
  .main .top-row:not(.auth) {
    display: none;
  }

  .main .top-row.auth {
    justify-content: space-between;
  }

  .main .top-row a,
  .main .top-row .btn-link {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  /*app {
        flex-direction: row;
    }*/

  .sidebar {
    height: 100dvh;
    overflow-y: auto;
    float: left;
    top: 0;
  }

  .main .top-row {
    /*position: sticky;*/
    top: 0;
  }

  .main > div {
    /*padding-left: 2rem !important;
        padding-right: 1.5rem !important;*/
  }

  /*.navbar-toggler {
        display: none;
    }*/

  .sidebar .collapse {
    /* Never collapse the sidebar for wide screens */
    display: none;
  }
  .spinner-border.spinner-border-sm {
    max-width: 80px;
    max-height: 40px;
    padding: 0px;
  }

  .btn.btn-success {
    color: white;
    background-color: #24303b;
    border-color: #24303b;
  }

  .btn.btn-success:hover {
    background-color: #0b61bd;
    border-color: #0b61bd;
  }

  .btn.btn-success:focus {
    background-color: #0b61bd !important;
    border-color: #0b61bd !important;
    box-shadow: 0 0 0 0.2rem rgba(11, 97, 189, 0.25) !important;
  }

  .btn.btn-danger {
    background-color: white;
    color: #24303b;
    border-color: #24303b;
  }

  .btn.btn-danger:hover {
    border-color: #0b61bd;
    background-color: #0b61bd;
    color: white;
  }

  .btn.btn-danger:focus {
    border-color: #0b61bd !important;
    background-color: #0b61bd !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(11, 97, 189, 0.25) !important;
  }

  .btn.btn-delete-table {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
    /* max-height: 36px !important; */
  }
}
.ui-state-default.ui-unselectable-text {
  background-color: #f6f8f9 !important;
}

.ui-state-default.ui-unselectable-text.ui-sortable-column {
  background-color: var(--Primary) !important;
}
.ui-paginator-element {
  background-color: #f7f9fa !important;
  color: #6d787d !important;
}

.custom-step-up {
  position: absolute;
  right: 3px;
  width: 18px;
  height: 15px;
  background: #479cc8 !important;
  border: #25313c !important;
  border-radius: 4px;
  top: 3px;
  color: white;
  cursor: pointer;
}

.custom-step-down {
  position: absolute;
  right: 3px;
  width: 18px;
  height: 15px;
  background: #479cc8 !important;
  border: #25313c !important;
  border-radius: 4px;
  top: 20px;
  color: white;
  cursor: pointer;
}

.customer-list-spinner {
  color: var(--Primary) !important;
  fill: currentColor;
  bottom: 45px;
  position: inherit;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 350px !important;
}

.version {
  position: fixed;
  right: 11px;
  top: 11px;
  font-family: "Open Sans", sans-serif;
  color: #8d9193;
}

.edit-address-button {
  display: flex;
}

.form-control .address-input-width {
  width: 70% !important;
}

.address-input {
  display: flex;
  justify-content: space-between;
  align-content: center;
}

.confirmation-table-container {
  display: flex;
  flex-direction: column;
  margin: 1px;
  width: inherit;
}

.confirmation-table-header {
  background-color: #24303b;
  color: white;
  border: 1px solid #24303b;
  padding: 5px;
}

.confirmation-table-row-item {
  font-weight: 100;
  border: 1px solid #24303b;
  padding-left: 5px;
}

.btn-ok-yes {
  background-color: #24303b !important;
  color: white !important;
  border: none;
}

.btn-close-no {
  color: #24303b !important;
  background-color: white !important;
  box-sizing: border-box;
  box-shadow: inset 0px 0px 0px 2px #24303b !important;
}

.numeric-input-wrap {
  position: relative;
}

.numeric-input-£ {
  position: absolute;
  left: 11px;
  top: 7.3px;
}

.numeric-input {
  padding: 10px 20px;
  border: solid 1px #ccc;
  border-radius: 5px;
}

.add-email-address {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 5px !important;
}

.usefulLinksPageSection {
  border: 1px solid #24303b;
  border-radius: 5px;
  width: 99%;
  margin: 0.5%;
  float: left;
  padding: 10px;
}

.helpPageSection {
  border: 1px solid #24303b;
  border-radius: 5px;
  width: 49%;
  margin: 0.5%;
  float: left;
  height: 300px;
}

.helpPageSubSection {
  width: 49%;
  margin: 0.5%;
  float: left;
}

.helpSectionTitle {
  text-align: center;
  margin-top: 5px;
  font-size: x-large;
  text-decoration: underline;
}

.helpSectionSubTitle {
  text-align: center;
  margin-top: 5px;
  font-size: x-large;
  text-decoration: underline;
}

.helpLink {
  width: 70%;
  height: 50px;
  display: inline-block;
  margin-left: 15%;
  margin-top: 25px;
  background: #24303b;
  color: white;
  text-align: center;
  border-radius: 10px;
  padding-top: 12px;
}

.helpLink:hover {
  text-decoration: none !important;
  color: white !important;
}

.btn-helpSearch {
  background-color: #25313c !important;
  color: white !important;
  border: none;
  border-radius: 5px;
}

.btn-helpSearch:hover {
  background-color: #3b4f61 !important;
}

.btn-helpSearch:disabled {
  color: #25313c !important;
  background-color: white !important;
  outline: 3px solid #25313c !important;
  outline-offset: -2px;
}

.device-td-left {
    text-align: left;
    width: 50%;
    padding-left: 25%;
}
.device-td-right {
    text-align:left;
    width:50%;
}

.row > * {
    width: auto !important;
    flex-wrap: wrap !important;
}
.divider {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

select.form-control {
    appearance: menulist !important;
}