body {
  display: block;
  align-items: center;
  justify-content: center;
  font-family: "FuturaBookC", Ubuntu, sans-serif;
}

header {
  position: relative;
  display: flex;
  flex-direction: row;
}

section {
  width: 80%;
  margin: 0 auto;
}

.yellow-line {
  background-color: yellow !important;
}

/* load-spinner */

#spinner {
  height: 100%;
  width: 100%;
  float: left;
  position: fixed;
  z-index: 100000;
}

.displayNone {
  display: none;
}

.spinner {
  width: 120px;
  height: 120px;
  border-radius: 100%;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.model-1 {
  background: #eeeeeeab;
}

.model-1 .spinner {
  color: #f00;
  -webkit-animation: color-bubble 2s linear 0s infinite;
  animation: color-bubble 2s linear 0s infinite;
}

.model-1 .spinner:after,
.model-1 .spinner:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 100%;
  box-shadow: 0 0 0 3px;
  -webkit-animation: spinner-bubble 1.3s linear 0s infinite;
  animation: spinner-bubble 1.3s linear 0s infinite;
  margin: auto;
  width: 25px;
  height: 25px;
  opacity: 0;
}

.model-1 .spinner:before {
  -webkit-animation: spinner-bubble 1.3s linear 2s infinite;
  animation: spinner-bubble 1.3s linear 2s infinite;
}

@-webkit-keyframes spinner-bubble {
  from {
    width: 25px;
    height: 25px;
    opacity: 0.8;
  }

  to {
    width: 100px;
    height: 100px;
    opacity: 0;
  }
}

@keyframes spinner-bubble {
  from {
    width: 25px;
    height: 25px;
    opacity: 0.8;
  }

  to {
    width: 100px;
    height: 100px;
    opacity: 0;
  }
}

@-webkit-keyframes color-bubble {
  0% {
    color: #009ddc;
  }

  33% {
    color: #50b949;
  }

  66% {
    color: #ee2d24;
  }

  100% {
    color: #feb825;
  }
}

@keyframes color-bubble {
  0% {
    color: #009ddc;
  }

  33% {
    color: #50b949;
  }

  66% {
    color: #ee2d24;
  }

  100% {
    color: #feb825;
  }
}

@-webkit-keyframes color-change {
  0% {
    background: #009ddc;
  }

  33% {
    background: #50b949;
  }

  66% {
    background: #ee2d24;
  }

  100% {
    background: #feb825;
  }
}

@keyframes color-change {
  0% {
    background: #009ddc;
  }

  33% {
    background: #50b949;
  }

  66% {
    background: #ee2d24;
  }

  100% {
    background: #feb825;
  }
}

@-webkit-keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes rotateRct {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }

  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@keyframes rotateRct {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }

  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@-webkit-keyframes size {
  from {
    width: 95px;
    height: 95px;
  }

  to {
    width: 40px;
    height: 40px;
  }
}

@keyframes size {
  from {
    width: 95px;
    height: 95px;
  }

  to {
    width: 40px;
    height: 40px;
  }
}

@-webkit-keyframes shadow {
  from {
    box-shadow: 0px 0 0 1px inset;
  }

  to {
    box-shadow: 50px 0 0 1px inset;
  }
}

@keyframes shadow {
  from {
    box-shadow: 0px 0 0 1px inset;
  }

  to {
    box-shadow: 50px 0 0 1px inset;
  }
}

@-webkit-keyframes shadowSize {
  0% {
    box-shadow: 25px 0 0 0, 30px 0 0 0, 45px 0 0 0, 60px 0 0 0, 75px 0 0 0;
  }

  20% {
    box-shadow: 25px 0 0 5px, 30px 0 0 0, 45px 0 0 0, 60px 0 0 0, 75px 0 0 0;
  }

  40% {
    box-shadow: 25px 0 0 0, 30px 0 0 5px, 45px 0 0 0, 60px 0 0 0, 75px 0 0 0;
  }

  60% {
    box-shadow: 25px 0 0 0, 30px 0 0 0, 45px 0 0 5px, 60px 0 0 0, 75px 0 0 0;
  }

  80% {
    box-shadow: 25px 0 0 0, 30px 0 0 0, 45px 0 0 0, 60px 0 0 5px, 75px 0 0 0;
  }

  100% {
    box-shadow: 25px 0 0 0, 30px 0 0 0, 45px 0 0 0, 60px 0 0 0, 75px 0 0 5px;
  }
}

@keyframes shadowSize {
  0% {
    box-shadow: 25px 0 0 0, 30px 0 0 0, 45px 0 0 0, 60px 0 0 0, 75px 0 0 0;
  }

  20% {
    box-shadow: 25px 0 0 5px, 30px 0 0 0, 45px 0 0 0, 60px 0 0 0, 75px 0 0 0;
  }

  40% {
    box-shadow: 25px 0 0 0, 30px 0 0 5px, 45px 0 0 0, 60px 0 0 0, 75px 0 0 0;
  }

  60% {
    box-shadow: 25px 0 0 0, 30px 0 0 0, 45px 0 0 5px, 60px 0 0 0, 75px 0 0 0;
  }

  80% {
    box-shadow: 25px 0 0 0, 30px 0 0 0, 45px 0 0 0, 60px 0 0 5px, 75px 0 0 0;
  }

  100% {
    box-shadow: 25px 0 0 0, 30px 0 0 0, 45px 0 0 0, 60px 0 0 0, 75px 0 0 5px;
  }
}

.main-title {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 25px;
}

.main-title img {
  width: 533px;
  height: 88px;
}

.btn-logout {
  position: absolute;
  right: 4%;
  top: 8%;
}

.p {
  font-size: 20px;
}

.stage-one {
  display: flex;
  position: relative;
}

.row-text {
  text-align: center;
  margin: 1.5vw;
  font-size: 19px;
}

.row-org {
  position: relative;
  width: 40%;
  margin: 0 auto;
}

.row-org .row-select,
.row-calendar .row-input {
  width: 80%;
  margin: 0 auto;
}

.row-org .row-select>select {
  width: 100%;
  text-align: center;
  text-align-last: center;
  font-size: 15px;
  min-height: 34px;
  border-radius: 25px;
}

.row-calendar {
  width: 40%;
  margin: 0 auto;
}

#calendar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  line-height: 1.2em;
  font-size: 15px;
  text-align: center;
  min-height: 30px;
  border-radius: 25px;
  border: 1px solid;
}

#calendar thead tr:last-child {
  font-size: small;
  color: rgb(85, 85, 85);
}

#calendar thead tr:nth-child(1) td:nth-child(2) {
  color: rgb(50, 50, 50);
}

#calendar thead tr:nth-child(1) td:nth-child(1):hover,
#calendar thead tr:nth-child(1) td:nth-child(3):hover {
  cursor: pointer;
}

#calendar tbody td {
  color: rgb(44, 86, 122);
}

#calendar tbody td:nth-child(n + 6),
#calendar .holiday {
  color: rgb(231, 140, 92);
}

#calendar tbody td.today {
  background: rgb(220, 0, 0);
  color: #fff;
}

/***************************************************************

                         IIKO DATE

***************************************************************/
.iiko-date__wrapper {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.date-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.date-container input {
  position: relative;
  width: 100%;
  line-height: 1.2em;
  font-size: 15px;
  text-align: center;
  min-width: 220px;
  min-height: 30px;
  border-radius: 25px;
  border: 1px solid;
}

/***************************************************************

                         DETAILS

***************************************************************/
#orgList {
  width: 98%;
  margin: 0 auto;
}

#orgList summary, #container_providers summary {
  font-size: 19px;
  font-weight: 700;
  margin: 15px;
  margin-left: 0;
}

/***************************************************************

                         B U T T O N S

***************************************************************/
.button {
  display: inline-block;
  height: 40px;
  cursor: pointer;
  position: relative;
  background: #0c65f5;
  color: #fff;
  font-size: 20px;
  min-width: 110px;
  line-height: 1em;
  min-width: 120px;
}

.button:active {
  background: #498bf5;
}

.button * {
  cursor: pointer;
}

.button>label,
.button:after {
  display: inline-block;
  position: relative;
  vertical-align: top;
  top: calc(50% - 0.5em);
  width: 100%;
  height: 1em;
  padding: 0 10px;
  text-align: center;
  z-index: 0;
  box-sizing: border-box;
}

.button>label,
.button:after {
  padding: 0 8px;
}

/*      SUBMIT - SEND            */
.btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 0 35px;
  margin: 0 15px 15px 0;
  outline: none;
  border: 1px solid #fff;
  border-radius: 50px;
  height: 46px;
  line-height: 46px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  color: #444;
  background-color: #fff;
  box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
  cursor: pointer;
  user-select: none;
  appearance: none;
  touch-action: manipulation;
  vertical-align: top;
  transition: box-shadow 0.2s;
}

.btn.btn-exit {
  font-size: 15px;
  line-height: 5px;
  color: #ffffff;
  background-color: #0c65f5;
}

.btn.btn-exit::before {
  content: "Выход";
}

.btn:focus-visible {
  border: 1px solid #4c51f9;
  outline: none;
}

.btn:hover {
  transition: all 0.2s;
  box-shadow: 0 7px 14px rgb(65 132 144 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
}

.btn:active {
  background-color: #808080;
}

.btn:disabled {
  background-color: #eee;
  border-color: #eee;
  color: #444;
  cursor: not-allowed;
}

/***************************************************************

                          I N P U T S

***************************************************************/
input {
  font-family: "FuturaBookC", Ubuntu, sans-serif;
}

input[type="date"i]::-webkit-calendar-picker-indicator {
  opacity: 1;
  position: absolute;
  right: 7px;
}

.input {
  display: inline-block;
  position: relative;
  height: 50px;
  overflow: visible;
  color: #000;
  font-size: 16px;
  cursor: text;
}

.input>div,
.input:before {
  position: absolute;
  bottom: 0;
  left: 2px;
  width: calc(100% - 4px);
  height: 28px;
  line-height: 22px;
  z-index: 0;
  color: #9e9e9e;
  transform-origin: 0px 0px;
  /*will-change: transform;*/
  transition: transform 100ms ease-out;
  cursor: text;
}

.input.filled>div,
.input.filled:before {
  transform: scale(0.75) translate(1px, -100%) perspective(1px);
}

.input>input {
  display: block;
  position: absolute;
  width: calc(100% - 4px);
  height: 22px;
  line-height: 22px;
  bottom: 0;
  left: 2px;
  z-index: 1;
  cursor: text;
}

.input:after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 1px;
  top: 100%;
  left: 0px;
  background: #9e9e9e;
  cursor: text;
}

.input.focused:after {
  height: 2px;
  background: #498bf5;
}

.input.failed:after {
  height: 2px;
  background: #e66363;
}

/****  Search input  ****/
.setSearch-wrapper {
  position: relative;
  background: linear-gradient(21deg, #c6c3b5, #ea0a5d);
  padding: 3px;
  display: inline-block;
  font-size: 1.5em;
  border-radius: 25px;
}

.setSearch-wrapper *:not(span):focus+span {
  opacity: 1;
  transform: scale(1);
}

#setSearch {
  position: relative;
  display: inherit;
  border-radius: inherit;
  margin: 0;
  border: none;
  outline: none;
  padding: 0 0.825em;
  z-index: 1;
  min-height: 36px;
  min-width: 250px;
  width: 25vw;
}

.setSearch-wrapper span {
  transform: scale(0.993, 0.94);
  transition: transform 0.5s, opacity 0.25s;
  opacity: 0;
  position: absolute;
  z-index: 0;
  margin: 4px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 4px #fff, 3px -3px 30px #1beabd,
    -3px 3px 30px #c6c3b5;
}

.boldText {
  font-weight: 700;
}

.leftPadding {
  padding-left: 10px;
}

/***************************************************************

                          T A B L E

***************************************************************/
table {
  border: 0px black solid;
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  border-radius: 20px;
  background-color: #ffffff;
}

table td.center,
table tr.center {
  text-align: center;
  position: relative;
}

table th {
  padding: 10px;
}

table td,
table th {
  border: 1px #7f76799e solid;
  text-align: center;
}

table tr:nth-child(odd) {
  background-color: #dbd7d2;
}

table tr:first-child {
  background-color: #c6c3b5;
}

table tr td:first-child {
  padding-left: 7px;
}

table tr:first-child th:first-child {
  width: 24%;
  border-radius: 20px 0 0 0;
  cursor: pointer;
  text-decoration: underline;
}

table tr:first-child th:first-child:hover svg {
  transform: rotate(180deg);
  transition: transform 0.5s ease;
}

table tr:first-child th:last-child {
  border-radius: 0 20px 0 0;
}

table tr:last-child td:first-child {
  border-radius: 0 0 0 20px;
}

table tr:last-child td:last-child {
  border-radius: 0 0 20px 0;
}

.totalSum-wrapper {
  padding: 10px;
  font-size: 17px;
  letter-spacing: 2px;
  font-weight: 700;
}

.totalSum {
  border: 0;
  font-size: 17px;
  font-weight: 700;
  background-color: #fffbfbfa;
}

.color {
  color: red;
}

.mainTotal-wrapper {
  display: flex;
  float: right;
  position: relative;
  padding-bottom: 35px;
}

.mainTotal-wrapper .io {
  display: flex;
  padding-right: 60px;
  align-items: center;
  font-size: 17px;
}

.mainTotal-wrapper .io p {
  padding: 3px;
}

/***************************************************************
                             I N P U T
 ***************************************************************/
.number {
  display: inline-block;
  width: 60%;
  position: relative;
  border: 0;
  text-align: center;
  font-size: 16px;
  background-color: transparent;
}

.number input[type="number"] {
  display: block;
  height: 32px;
  line-height: 32px;
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}

.number input[type="number"]::-webkit-outer-spin-button,
.number input[type="number"]::-webkit-inner-spin-button {
  display: none;
}

.number-minus {
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  width: 20px;
  padding: 0;
  display: block;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  background-color: transparent;
}

.number-plus {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 20px;
  padding: 0;
  display: block;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  background-color: transparent;
}

textarea.comment {
  width: 95%;
  border: 0;
  height: 18px;
  background-color: transparent;
  font-size: 12px;
}

.needMinSum {
  padding-right: 5px;
  padding-left: 5px;
  margin: 0;
}

.commentExtra {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: rgb(53, 49, 49);
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color .2s;
}

.commentExtra::placeholder {
  color: #666;
}

.commentExtra:focus {
  border-bottom-color: #ddd;
}

/***************************************************************
                             B T N m o r e L I N K
 ***************************************************************/

.btn-link-more-order {
  display: flex;
  position: relative;
  place-content: center;
}

.btn-link-more-order a {
  margin: 1.5% 5%;
}

.btn-link-more-order .btn-link-more {
  cursor: pointer;
  min-width: 155px;
  text-align: center;
}

.btn-link-more-order .btn-link-more-order-page {
  background-color: #F2D4CA;
  border: 0;
}

.btn-link-more-order .btn-link-more-order-page p {
  color: #8E175A;
  display: unset;
}

.btn-link-more-order .btn-link-more-order-metro {
  background-color: #164479;
}

.btn-link-more-order .btn-link-more-order-metro p {
  display: unset;
  color: #fee600;
}

.btn-link-more-order .btn-link-more-order-coffee {
  background-color: #211f1b;
  padding: 0 20px;
}

.btn-link-more-order .btn-link-more-order-coffee p {
  display: unset;
  color: #dab080;
}

.btn-link-more-order .btn-link-more-order-pyrus {
  background-color: #c70808;
}

.btn-link-more-order .btn-link-more-order-pyrus p {
  display: unset;
  color: #fffffb;
}
.btn-link-more-order .btn-link-more-order-pyrus1 {
  background-color: #108008;
}

.btn-link-more-order .btn-link-more-order-pyrus1 p {
  display: unset;
  color: #fffffb;
}

@media screen and (max-device-width: 400px) {
  .btn-link-more-order a {
    margin: 3% 9%;
  }

  .btn-link-more-order .btn-link-more {
    height: auto;
    margin: 0;
  }

  .btn-link-more-order .btn-link-more-order-metro p {
    display: block;
  }

  .btn-link-more-order .btn-link-more-order-coffee p {
    display: block;
  }

  .btn-link-more-order .btn-link-more-order-pyrus p {
    display: block;
  }
}

/***************************************************************


                       L   O   G   I   N


***************************************************************/
.form {
  position: absolute;
  width: 300px;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

.form .input {
  width: 100%;
}

.form .login.input:before {
  content: "Логин";
}

.form .password.input:before {
  content: "Пароль";
}

.form .input+.input {
  margin-top: 15px;
}

.form .enter {
  display: block;
  width: 100px;
  margin: 40px auto 0;
}

.form .enter:after {
  content: "Войти";
}

@media (max-device-width: 600px) {
  section {
    width: 100%;
  }

  .main-title img {
    width: 100%;
    height: auto;
  }

  .btn-link-more-order {
    flex-direction: column;
    align-items: center;
  }

  .stage-one {
    justify-content: space-around;
    flex-wrap: nowrap;
    flex-direction: row;
  }

  .row-org, .row-calendar {
    width: 100%;
  }

  .row-org .row-select, .row-calendar .row-input {
    width: 90%;
  }

  #setSearch {
    width: 80vw;
    min-height: 44px;
  }

  .mainTotal-wrapper {
    float: none;
    padding-bottom: 1rem;
    flex-direction: column;
    align-items: flex-end;
  }

  .mainTotal-wrapper .io {
    padding-right: 1rem;
  }

  .btn-logout {
    right: 0%;
    top: 5%;
  }

  .btn.btn-exit {
    padding: 0 17px;
    font-size: 15px;
    line-height: 5px;
    color: #ffffff;
    background-color: #0c65f5;
  }

  .btn.btn-exit::before {
    content: "X";
  }
}

/***************************************************************

                          LIST OF PROVIDERS

***************************************************************/

.lop_wrapper {
  position: fixed;
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  top: 0;
  right: 0;
  /* transform: translate(50%, -50%); */
  background-color: #00000020;
  -webkit-box-shadow: -3px 3px 10px 5px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: -3px 3px 10px 5px rgba(34, 60, 80, 0.2);
  box-shadow: -3px 3px 10px 5px rgba(34, 60, 80, 0.2);
  z-index: 20;
}

.lop_wrapper.display {
  display: none;
}

.lop_wrapper .lop_inner .btn-close {
  position: absolute;
  color: grey;
  opacity: 0.8;
  font-size: 1.32rem;
  height: auto;
  right: 0.5rem;
  top: 0.5rem;
  margin: 0;
  padding: 1px;
  box-shadow: none;
}

.lop_wrapper .lop_inner{
  width: 30%;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%); 
  padding: 1rem 2rem;
  border-radius: 18px;
  background-color: #fff;
}

.lop_inner form {
  display: flex;
  flex-direction: column;
  max-height: 72vh;
}

.lop_inner ul {
  text-decoration: none;
  list-style: none;
  max-height: 80vh;
  overflow-y: scroll;
}

.lop_inner ul li {
  margin-bottom: 0.5rem;
}

.lop_inner button {
  margin: 0;
  padding: 10px 35px;
  line-height: normal;
}

#news-block {
  display: none;
  overflow: hidden;
  transition: height 0.3s ease-out;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 2;
  box-shadow: 4px -5px 6px rgba(0, 0, 0, 0.1);
  background-color: white;
  max-height: 70%;
  overflow-y: scroll;
}

/* Стили для скроллбара */
#news-block::-webkit-scrollbar {
  width: 8px;
  /* Ширина скроллбара */
}

#news-block::-webkit-scrollbar-thumb {
  background-color: #888;
  /* Цвет ползунка скроллбара */
  border-radius: 4px;
  /* Закругленные углы ползунка */
}

#news-block .news-item {
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  position: relative;
}

#news-block .news-header {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: small;
  color: deeppink;
}

#news-block .news-title {
  font-weight: bold;
  font-size: large;
}

#news-block p {
  white-space: pre;
}

#news-content {
  padding: 10px;
}

#toggle-button {
  cursor: pointer;
  padding: 5px;
  width: 80px;
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.3s ease-out;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px 8px 0 0;
  font-size: small;
  z-index: 3;
  display: none;
}

#toggle-button:hover {
  background: linear-gradient(45deg, #2980b9, #3498db);
}