.title_small {
  font-size: 40px;
}


.button__arrow_l {
  cursor: pointer;
  background-image: url(./Arrow_Left.svg);
  background-repeat: no-repeat;
  background-position: center;
  height: 14px;
  width: 22px;
}

.button__arrow_r {
  -webkit-transform: matrix(-1, 0, 0, 1, 0, 0);
  -ms-transform: matrix(-1, 0, 0, 1, 0, 0);
  transform: matrix(-1, 0, 0, 1, 0, 0);

  cursor: pointer;
  background-image: url(./Arrow_Left.svg);
  background-repeat: no-repeat;
  background-position: center;
  height: 14px;
  width: 22px;
}

.button__arrow_r:hover {
  background-image: url(../calendar/arrow_active1.png);
}

.button__arrow_l:hover {
  background-image: url(../calendar/arrow_active1.png);
}

.button__arrow_back {
  cursor: pointer;
  background-image: url(../calendar/chevron.svg);
  background-repeat: no-repeat;
  background-position: center;
  height: 24px;
  width: 24px;
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.button__arrow_back:hover {
  background-color: rgba(86, 126, 206, 0.2);
  border-radius: 8px;
}

.button__chevron_l {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
  cursor: pointer;
  background-image: url(../calendar/chevron.svg);
  background-repeat: no-repeat;
  background-position: center;
  height: 24px;
  width: 24px;
}

.button__chevron_r {
  cursor: pointer;
  background-image: url(../calendar/chevron.svg);
  background-repeat: no-repeat;
  background-position: center;
  height: 24px;
  width: 24px;


}

.button__chevron_l:hover {
  background-color: rgba(86, 126, 206, 0.2);
  border-radius: 8px;
}

.button__chevron_r:hover {
  background-color: rgba(86, 126, 206, 0.2);
  border-radius: 8px;
}



.point {
  margin-right: 8px;
}

.caption {
  font-size: 14px;
}

.appointment__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 24px;
  margin-top: 20px;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 130%;

}

.calendar__container {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 160px;
  margin-bottom: 160px;
}

.appointment__caption_active {
  color: #567ECE;

}

.line {
  width: 100%;
  background-color: #454545;
  height: 1px;
  margin-top: 16px;
  margin-bottom: 21px;
}

.calendar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

  color: #ebebeb;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 385px;
  background: #141414;
  border-radius: 16px;
  padding: 24px 32px;
  box-sizing: border-box;
}

.calendar_active {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  opacity: 1;
  -webkit-transition: opacity ease-in 0.5s;
  -o-transition: opacity ease-in 0.5s;
  transition: opacity ease-in 0.5s;
}

.opacity_active {
  height: 100%;
  opacity: 1;
  -webkit-transition: opacity ease-in 0.5s;
  -o-transition: opacity ease-in 0.5s;
  transition: opacity ease-in 0.5s;
  pointer-events: all;



}

.opacity {
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
  -webkit-transition: opacity ease-in 0.5s;
  -o-transition: opacity ease-in 0.5s;
  transition: opacity ease-in 0.5s;
  pointer-events: none;




}


.caption__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 17px;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 25px;
  margin-bottom: 80px;
}

.calendar__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-line-pack: center;
  align-content: center;
}

.calendar__caption {
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  /* or 25px */
}


.date__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 16px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.date {
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  height: 25px;
  /* identical to box height, or 21px */

  letter-spacing: 0.02em;
  text-transform: capitalize;
  /* or 14px */
}

.date_time {
  margin-bottom: 16px;
  text-align: left
}


.calendar__table {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr;
  grid-template-columns: repeat(7, 1fr);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 4px;
  gap: 2px;
  margin-bottom: 4px;
  background-color: transparent;
}

.calendar__table:nth-child(odd) {
  background: rgba(86, 126, 206, 0.1);
}



.calendar__cell {
  pointer-events: none;
  font-style: normal;
  display: -ms-grid;
  display: grid;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  cursor: pointer;
  padding: 11px 5px;
  height: 21px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  /* identical to box height, or 29px */
}

.calendar__cell_none {
  visibility: hidden;
}



.calendar__cell_active {
  pointer-events: all;
  color: #567ece;
}

.calendar__cell_nopoint {
  pointer-events: none;
}

.weekday__cell {
  display: -ms-grid;
  display: grid;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  height: 21px;
  line-height: 140%;
  padding: 11px 5px;
  color: #ebebeb;
  /* identical to box height, or 29px */
}



.calendar_none {
  display: none;
}

@media screen and (min-width: 1600px) {
  .calendar {
    width: 462px;
    padding: 28px 40px;

  }

  .caption__container {
    gap: 20px;
  }

  .wrapper {
    margin-bottom: 96px;
  }

  .appointment__block {
    font-size: 15px;
  }

  .calendar__cell {
    padding: 13px 6px;
    font-size: 20px;
  }

  .calendar__container {
    padding-top: 192px;
    margin-bottom: 192px;

  }

  .calendar__caption {
    font-size: 30px;
  }

  .date {
    font-size: 17px;
  }

  .weekday__cell {
    font-size: 20px;
    padding: 13px 6px;
  }
}

@media screen and (max-width: 1279px) {
  .calendar_active {
    padding: 24px;
  }

  .calendar {
    width: 320px;
    padding: 24px;

  }

  .calendar__table {
    gap: 8px;
    grid-column-gap: 5px;
  }

  .calendar__cell {
    font-size: 16px;
  }


  .weekday__cell {
    font-size: 15px;
  }


}

@media screen and (max-width: 1024px) {

  .calendar__cell {
    font-size: 14px;

  }

  .weekday__cell {
    font-size: 14px;
  }

  .calendar__container {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 120px 20px 80px;
    margin-bottom: 40px;

  }

  .calendar__caption {
    font-size: 20px;
  }



  .calendar {
    width: 100%;
    padding: 24px;

  }
}

@media screen and (max-width: 639px) {
  .wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    gap: 20px;
  }

  .calendar {
    width: 100%;
    padding: 24px;
  }

  .calendar__container {
    padding: 80px 0 80px;
    margin-bottom: 0;

  }

  .calendar__padding {
    padding: 0px 10px 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;


  }

  .sales__row {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .chart__container {
    gap: 35px;
  }


  .graph__container {
    gap: 10px;
  }


  .weekday__cell {
    font-weight: 500;
    font-size: 12px;
    line-height: 130%;

  }

  .calendar__caption {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;

  }

  .calendar__table {
    margin-bottom: 0;
  }
}