@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 


*/
.right {
  text-align: right !important;
  justify-self: right;
}

/*         */
/* general */
/*         */
.messages {
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}

.missing {
  background-color: rgba(212, 63, 58, 0.5) !important;
  border-color: rgb(212, 63, 58) !important;
  color: #eee !important;
}

/*                     */
/* bootstrap overrides */
/*                     */
.row {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.btn-primary {
  background-color: #6f9bff !important;
  border: 1px solid #6f9bff !important;
  color: #fff !important;
  padding: 10px !important;
}

.btn-primary:hover {
  background-color: #fff !important;
  color: #6f9bff !important;
}

.alert {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 0px !important;
}

.alert-error {
  background-color: rgba(212, 63, 58, 0.5) !important;
  border-color: rgb(212, 63, 58) !important;
}

.alert i {
  font-size: 2rem;
  flex: 1;
  margin-right: 15px;
}

.alert span {
  flex: 10;
}

/*        */
/* header */
/*        */
.header-background {
  background: url(https://food.omghelp.me/img/adobe-groceries-login.jpeg) no-repeat center center;
  background-position: 0 calc(50% - 50px);
  background-size: cover;
  border-bottom: 10px solid #fff;
  border-bottom-left-radius: 60% 60%;
  border-bottom-right-radius: 60% 60%;
  height: 250px;
  top: 0;
  transition: all 0.3s ease-in-out;
  width: 100%;
  z-index: 99;
}

.scrolled {
  border-bottom-left-radius: 0% !important;
  border-bottom-right-radius: 0% !important;
  height: 100px !important;
  transition: all 0.3s ease-in-out;
}

/*            */
/* login page */
/*            */
.login-body {
  align-items: center;
  background: url(https://food.omghelp.me/img/adobe-groceries-login.jpeg) no-repeat center center fixed;
  background-size: cover;
  display: flex;
  height: 100vh;
  justify-content: center;
  width: 100vw;
}

.login-container {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 6px;
  color: #fff;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 90%;
  padding: 30px 40px !important;
}

.login-row {
  display: flex;
  flex-direction: row;
  font-size: 1.25rem;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}

.login-row input,
.login-row button {
  font-size: 1.25rem;
  padding: 0.5rem;
}

.btn-login {
  margin-top: 0.8rem;
  width: 100%;
}

.header-icon {
  align-items: center;
  font-size: 9rem;
  justify-content: center;
  margin: auto;
  text-align: center;
  width: 100%;
}

/*           */
/* home page */
/*           */
.home-body {
  display: flex;
  width: 100%;
}

.home-container {
  padding: 0 !important;
  width: 100%;
}

.home-menu {
  background-color: #fff;
  display: fixed;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.fixed-menu {
  background-color: #ddd;
  position: fixed;
  top: 0;
  transition: all 0.2s ease-in-out;
  width: 100%;
  z-index: 99;
}

.menu-row {
  display: flex;
  padding-left: 5px;
  padding-right: 5px;
}

.option {
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #666 !important;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 0.6rem;
  padding: 15px;
  text-align: center;
}

.option:hover {
  background: #ccc;
  color: #fff !important;
  cursor: pointer;
  transition-duration: 0.3s;
}

.option p {
  margin-bottom: 0rem;
  text-align: center;
}

.option i {
  font-size: 1.8rem;
}

/*            */
/* list items */
/*            */
.list {
  display: flex;
  flex-direction: column;
  padding: 10px 5px;
  width: 100vw;
}

.list-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}

.list-item {
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 5px;
  padding: 0px 7px;
}

.small-list-item {
  flex-direction: row;
  padding: 0px;
  padding-left: 10px;
}

.small-list-item .action {
  margin-left: 0px;
  margin-right: 0px;
}

.list-item p {
  flex: 1;
  margin-bottom: 0;
}

.list-item-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  justify-content: center;
  width: 100%;
}

.list-item-details .delete {
  background-color: transparent;
  border: none;
  color: rgb(212, 63, 58);
  font-size: 1.5rem;
  margin-left: 10px;
}

.additional-info {
  color: #666;
  display: none;
  font-size: 0.75rem;
  margin-bottom: 10px;
  max-height: 0px;
  transition: all 0.5s ease-in-out;
  width: 100%;
}

.info-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.info-container div {
  align-items: flex-end;
  display: flex;
  flex: 1;
  padding-right: 8px;
}

.info-container .inputs {
  background-color: #efefef;
  border-bottom: 1px solid #ccc;
  flex: 5;
  padding-left: 5px;
  margin-right: 8px;
}

.info-container .inputs input {
  background-color: transparent;
  border: none;
  font-size: 0.8rem;
  padding: 2px;
  text-align: center;
  width: 100%;
}

.additional-info div .confirm {
  flex: 1;
  margin-left: auto;
  max-width: 1.5rem !important;
  padding: 5px 1px !important;
  position: relative;
  z-index: 99;
}

.additional-info div .action {
  margin-top: 0px;
  margin-bottom: -2px;
}

.additional-info div .right {
  flex: 1;
  position: relative;
}

.new-list {
  border: 1px solid #4cae4c;
  border-radius: 6px;
  color: #4cae4c !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 10px;
}

.new-list .header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.new-list p {
  margin-bottom: 0;
}

.new-list .header input {
  border: 0;
  width: 70%;
}

.new-list-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  width: 100%;
}

.new-list-form input {
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 10px;
  padding: 10px;
  text-align: center;
  width: 100%;
}

.new-list-form button {
  background-color: #4B9DEA;
  border: 1px solid #4B9DEA;
  width: 100%;
}

.new-list-form button:hover {
  background-color: #fff;
  border-color: #4B9DEA;
  color: #4B9DEA;
}

.new-list-form fieldset {
  margin-top: 10px;
}

input[type=checkbox] {
  display: none;
  visibility: hidden;
}

#checklabel {
  background-color: #fff;
  border-left: 1px solid #ccc;
  display: block;
  font-weight: 800;
  height: 40px;
  line-height: 40px;
  margin-bottom: 0px;
  text-align: center;
  transition-duration: 0.3s;
  width: 40px;
}

#checklabel:before {
  content: "\f3c1";
  font-family: "Font Awesome 6 Free";
}

.new-list-visibility:checked + label {
  background-color: #ccc !important;
  color: #000;
}

.new-list-visibility:checked + label:before {
  content: "\f023!important";
  font-family: "Font Awesome 6 Free";
  font-weight: 800;
  color: #000;
}

.new-list-visibility label {
  margin-bottom: 0 !important;
}

/* Define classes for each icon */
.label-checked:before {
  content: "\f023";
  /* Locked icon when checked */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  /* Ensure this matches the style of the icon */
}

.label-unchecked:before {
  content: "\f3c1";
  /* Different icon for unchecked */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/*            */
/* item items */
/*            */
.actions {
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: right;
}

.action {
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: center;
  max-width: 40px;
  padding: 10px 7px;
  text-align: center;
}

.action:hover {
  cursor: pointer;
}

.action i {
  flex: 1;
}

.add {
  border-radius: 50%;
}

.add,
.confirm {
  background-color: #5cb85c;
  border-color: #4cae4c;
  color: #fff;
  transition-duration: 0.3s;
}

.confirm:hover {
  background-color: #fff;
  border-color: #449d44;
  color: #449d44;
}

.confirm-body {
  align-items: center;
  display: flex;
  justify-content: center;
}

.confirm-body div {
  flex: 1;
  border-bottom: 1px solid #ccc;
  margin: 10px;
}

.delete {
  background-color: #d9534f;
  border-color: #d43f3a;
  color: #fff;
  transition-duration: 0.3s;
}

.delete:hover {
  background-color: #fff;
  border-color: #ac2925;
  color: #ac2925;
}

.edit {
  background-color: #f0ad4e;
  border-color: #eea236;
  color: #fff;
  transition-duration: 0.3s;
}

.edit:hover {
  background-color: #fff;
  border-color: #d58512;
  color: #d58512;
}

.first {
  border-radius: 4px 0 0 4px !important;
}

.last {
  border-radius: 0 4px 4px 0 !important;
}

.item {
  display: flex;
  flex-direction: column;
  padding: 10px;
  width: 100vw;
}

.item-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}

.item-item {
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  flex: 1;
  flex-shrink: 1;
  justify-content: center;
  margin: 5px;
  margin-bottom: 10px;
  padding-left: 10px;
}

.item-item .action {
  margin-left: 0px;
  margin-right: 0px;
  border-radius: 0;
}

.item-item p {
  flex: 1;
  margin-bottom: 0;
}

.add-item-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
  justify-content: center;
  margin: 5px;
  padding: 10px 7px;
}

.add-item-item input {
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 12px;
  padding: 10px;
  text-align: center;
  width: 100%;
}

.add-item {
  cursor: pointer;
  margin-bottom: 20px;
  width: 100%;
}

.add-item-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.add-item-details input ~ input {
  margin-left: 10px;
}

.item-form {
  width: 100%;
}

.new-item-search-box {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 5px;
  padding-bottom: 15px;
}

.new-item-search {
  border: 1px solid #4cae4c !important;
  padding: 15px 5px !important;
}

.new-item {
  border-color: #4cae4c !important;
  border-radius: 5px;
  color: #4cae4c !important;
}

.new-item {
  border: 1px solid #4cae4c;
  border-radius: 6px;
  color: #4cae4c !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px;
  padding: 10px 7px;
}

.new-item .header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.new-item p {
  margin-bottom: 0;
}

.new-item-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  width: 100%;
}

.new-item-form input {
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 10px;
  padding: 10px;
  text-align: center;
  width: 100% !important;
}

.new-item-form button {
  background-color: #4B9DEA;
  border: 1px solid #4B9DEA;
  width: 100%;
}

.new-item-form button:hover {
  background-color: #fff;
  border-color: #4B9DEA;
  color: #4B9DEA;
}

.new-item-form fieldset {
  margin-top: 10px;
}

.swally {
  display: flex;
}

.swally div {
  border-bottom: 0;
  flex: 1;
}

.swally input {
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 10px;
  padding: 10px;
  text-align: center;
  width: 100% !important;
}

/* VARS */
/* MIXINS */
/* STYLE THE HTML ELEMENTS (INCLUDES RESETS FOR THE DEFAULT FIELDSET AND LEGEND STYLES) */
fieldset {
  margin: 0;
  padding: 2rem;
  box-sizing: border-box;
  display: block;
  border: none;
  border: solid 1px #CCC;
  min-width: 0;
  background-color: #FFF;
}
fieldset legend {
  margin: 0 0 1.5rem;
  padding: 0;
  width: 100%;
  float: left;
  display: table;
  font-size: 1.5rem;
  line-height: 140%;
  font-weight: 600;
  color: #333;
}
fieldset legend + * {
  clear: both;
}

body:not(:-moz-handler-blocked) fieldset {
  display: table-cell;
}

/* TOGGLE STYLING */
.toggle {
  margin: 10px 0 20px;
  box-sizing: border-box;
  font-size: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
}
.toggle input {
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;
}
.toggle input + label {
  margin: 0;
  padding: 0.75rem 2rem;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  border: solid 1px #DDD;
  background-color: #FFF;
  font-size: 1rem;
  line-height: 140%;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
  /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
  /*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
  /* ----- */
}
.toggle input + label:first-of-type {
  border-radius: 6px 0 0 6px;
  border-right: none;
}
.toggle input + label:last-of-type {
  border-radius: 0 6px 6px 0;
  border-left: none;
}
.toggle input:hover + label {
  border-color: #213140;
}
.toggle input:checked + label {
  background-color: #6f9bff;
  color: #FFF;
  box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
  border-color: #6f9bff;
  z-index: 1;
}
.toggle input:focus + label {
  outline: dotted 1px #CCC;
  outline-offset: 0.45rem;
}
@media (max-width: 800px) {
  .toggle input + label {
    color: #000;
    font-weight: 400;
    padding: 0.75rem 0.25rem;
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/*# sourceMappingURL=style.css.map */
