.calendar-block {
  display: block;
  z-index: 1030;
  position: relative;
  max-width: 100%;
}
.calendar-block.calendar-block__top .calendar-inner-block {
  box-shadow: 0px -4.8px 14.4px #f4ede0, 0px -25.6px 57.6px #f4ede0;
}
.calendar-block.calendar-block__bottom .calendar-inner-block {
  box-shadow: 0px 8px 24px #F4EDE0;
}
.calendar-block .calendar-inner-block {
  background-color: #FFF;
  border-radius: 10px;
}
.calendar-block:not(.calendar-block__top) .calendar-inner-block {
  margin-bottom: 30px;
}
.calendar-block.calendar-block__inline {
  z-index: auto;
}
.calendar-block.calendar-block__inline .calendar-inner-block {
  border: 1px solid #171940;
  border-radius: 10px;
  margin-bottom: 0;
}
.calendar-top.animation-left a:not(.calendar-button) {
  -webkit-animation: linear animation-label-left 0.3s;
          animation: linear animation-label-left 0.3s;
}
.calendar-top.animation-right a:not(.calendar-button) {
  -webkit-animation: linear animation-label-right 0.3s;
          animation: linear animation-label-right 0.3s;
}
.calendar-table.animation-left {
  -webkit-animation: linear animation-left 0.1s;
          animation: linear animation-left 0.1s;
}
.calendar-table.animation-right {
  -webkit-animation: linear animation-right 0.1s;
          animation: linear animation-right 0.1s;
}
.calendar-top {
  height: 72px;
  padding: 0 30px;
  display: flex;
  justify-content: space-around;
  position: relative;
  font-size: 16px;
}
.calendar-top > * {
  display: flex;
  align-items: center;
  padding: 0 10px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  color: rgba(141, 156, 186, 0.6);
  width: 100%;
  justify-content: center;
  transition: color 0.2s linear, font-weight 0.2s linear, font-size 0.2s linear;
}
.calendar-top > *:hover {
  color: #171940;
}
.calendar-top > *.active {
  color: #171940;
  font-weight: 600;
}
.calendar-top > *.disabled {
  cursor: default;
}
.calendar-top.calendar-top__month > *.active {
  font-size: 14px;
}
.calendar-button {
  position: absolute;
  height: 100%;
  top: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid #151719;
  border-radius: 10px;
  transform: translate(0, -50%);
  padding: 0;
  transition: 0.2s linear;
}
.calendar-button svg {
  display: block;
  width: 12px;
}
.calendar-button svg path {
  transition: fill 0.2s linear;
}
.calendar-button:hover {
  background-color: #151719;
}
.calendar-button:hover svg path {
  fill: white;
}
.calendar-button.button-prev {
  left: 26px;
  padding-right: 0;
}
.calendar-button.button-prev svg {
  transform: rotate(90deg);
}
.calendar-button.button-next {
  right: 26px;
  padding-left: 0;
}
.calendar-button.button-next svg {
  transform: rotate(-90deg);
}
.calendar-days-ranges {
  padding: 26px;
  display: flex;
  padding-top: 0;
}
.calendar-side .calendar-days-ranges {
  padding: 20px;
  padding-top: 0;
}
.calendar-ranges {
  padding-right: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: -7px 0;
}
.calendar-ranges > * {
  height: 100%;
  padding: 7px 0;
  display: flex;
}
.calendar-ranges-select {
  display: none;
  padding: 30px 30px 0;
}
.calendar-range {
  display: flex;
  align-items: center;
  padding: 0 10px;
  background-color: #FFF;
  color: #151719;
  border: 1px solid #CBD2E0;
  border-radius: 5px;
  width: 100%;
  box-shadow: 0 0 0 rgba(81, 142, 247, 0.17);
  transition: border-color 0.2s linear, box-shadow 0.2s linear, color 0.2s linear;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  line-height: 1;
}
.calendar-range:hover {
  border-color: #171940;
  color: #171940;
}
.calendar-range.active {
  border-color: #151719;
  box-shadow: 0px 3px 6px rgba(81, 142, 247, 0.17);
  color: #171940;
}
.calendar-table {
  margin: -14px 0;
}
.calendar-table table.table-days > tbody > tr {
  height: auto;
}
.calendar-table table.table-days > tbody > tr > td {
  padding: 4px;
  position: relative;
  z-index: 1;
  opacity: 0.6;
}
@media (max-width: 600px) {
  .calendar-table table.table-days > tbody > tr > td {
    padding: 3px;
  }
}
.calendar-table table.table-days > tbody > tr > td:first-child {
  padding-left: 0;
}
.calendar-table table.table-days > tbody > tr > td:last-child {
  padding-right: 0;
}
.calendar-table table.table-days > tbody > tr > td.header,
.calendar-table table.table-days > tbody > tr > td.available {
  opacity: 1;
}
.calendar-table table.table-days > tbody > tr > td.header .item-circle,
.calendar-table table.table-days > tbody > tr > td.available .item-circle {
  color: #151719;
}
.calendar-table table.table-days > tbody > tr > td.header .item-circle {
  font-weight: 700;
}
.calendar-table table.table-days > tbody > tr > td.header .item-circle:hover {
  background-color: transparent;
  color: #151719;
}
.calendar-table table.table-days > tbody > tr > td.available .item-circle {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0);
  transition: background-color 0.2s linear, color 0.2s linear;
}
.calendar-table table.table-days > tbody > tr > td.available .item-circle:hover {
  background-color: #151719;
}
.calendar-table table.table-days > tbody > tr > td .item-circle {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  line-height: 15px;
  border-radius: 50%;
  color: #CBD2E0;
  transition: 0.2s linear;
}
@media (max-width: 600px) {
  .calendar-table table.table-days > tbody > tr > td .item-circle {
    width: 28px;
    height: 28px;
  }
}
.calendar-table table.table-days > tbody > tr > td .item-circle.header {
  font-size: 15px;
  margin-bottom: 5px;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.day-other-months {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-radius: 50%;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.end-day,
.calendar-table table.table-days > tbody > tr > td .item-circle.start-day {
  color: white;
  background-color: #151719;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.in-range {
  background: #F4F4F4;
  color: #151719;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.in-range::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  right: 0;
  background: #F4F4F4;
  z-index: -1;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.today {
  background: #F4F4F4;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.start-date,
.calendar-table table.table-days > tbody > tr > td .item-circle.end-date,
.calendar-table table.table-days > tbody > tr > td .item-circle:hover {
  background-color: #151719;
  color: #FFF;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.start-date.to-range::before,
.calendar-table table.table-days > tbody > tr > td .item-circle.end-date.to-range::before,
.calendar-table table.table-days > tbody > tr > td .item-circle.end-day.to-range::before,
.calendar-table table.table-days > tbody > tr > td .item-circle.start-day.to-range::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  background: #F4F4F4;
  z-index: -1;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.start-date.to-range::before,
.calendar-table table.table-days > tbody > tr > td .item-circle.start-day.to-range::before {
  left: 50%;
  right: 0;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.end-date.to-range::before,
.calendar-table table.table-days > tbody > tr > td .item-circle.end-day.to-range::before {
  right: 50%;
  left: 0;
}
.calendar-table table.table-days > tbody > tr > td .item-circle.disabled {
  opacity: 0.5;
  pointer-events: none;
}
@-webkit-keyframes animation-right {
  0% {
    transform: translate(30px, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(15px, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes animation-right {
  0% {
    transform: translate(30px, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(15px, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes animation-left {
  0% {
    transform: translate(-30px, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(-15px, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes animation-left {
  0% {
    transform: translate(-30px, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(-15px, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes animation-label-right {
  0% {
    transform: translate(10px, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(5px, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes animation-label-right {
  0% {
    transform: translate(10px, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(5px, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes animation-label-left {
  0% {
    transform: translate(-10px, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(-5px, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes animation-label-left {
  0% {
    transform: translate(-10px, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(-5px, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@media (min-width: 601px) {
  .calendar-whole-width .calendar-table,
  .calendar-whole-width .table-days {
    width: 100%;
  }
  .calendar-whole-width .calendar-inner-block {
    border: 0 !important;
  }
  .calendar-whole-width .calendar-top {
    margin: 0 30px;
    padding: 0;
    border-bottom: 1px solid #F4F4F4;
  }
  .calendar-whole-width .calendar-top a {
    font-weight: 300;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    color: #000000;
  }
  .calendar-whole-width .calendar-top.calendar-top__month > *.active {
    font-size: 20px;
  }
  .calendar-whole-width .calendar-inner-block {
    margin-bottom: 12px !important;
  }
  .calendar-whole-width .calendar-days-ranges {
    padding: 18px;
    padding-bottom: 32px;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr > td {
    padding: 12px;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle {
    width: 100%;
    height: 100px;
    border: 1px solid #5C6064;
    border-radius: 10px;
    padding: 16px;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    justify-content: space-between;
    align-items: initial;
    flex-direction: column;
    background: white !important;
    color: #151719 !important;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle.today {
    background: transparent;
    color: #151719;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle:hover,
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle.is-count {
    background: #FCF7EF !important;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle .add-info {
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle.is-count .add-info {
    color: #ED1111 !important;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle:not(.is-count) {
    pointer-events: none;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr.months-name {
    border-bottom: 1px solid #F4F4F4;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr.months-name > td > div {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #5C6064;
  }
  .calendar-whole-width .calendar-table table.table-days > tbody > tr.months-name + tr > td {
    padding-top: 24px;
  }
  .calendar-whole-width .calendar-button {
    width: 40px;
    height: 40px;
  }
  .calendar-whole-width .calendar-button.button-prev {
    left: 0px;
  }
  .calendar-whole-width .calendar-button.button-next {
    right: 0px;
  }
}
@media (min-width: 601px) and (max-width: 1400px) {
  .calendar-whole-width .calendar-top.calendar-top__month > *.active {
    font-size: 16px;
  }
}
@media (min-width: 601px) and (max-width: 1400px) {
  .calendar-whole-width .calendar-table table.table-days > tbody > tr > td {
    padding: 8px;
  }
}
@media (min-width: 601px) and (max-width: 1200px) {
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle {
    height: 70px;
    padding: 8px;
    font-size: 14px;
  }
}
@media (min-width: 601px) and (max-width: 1200px) {
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle .add-info {
    font-size: 12px;
  }
}
@media (min-width: 601px) and (max-width: 991px) {
  .calendar-whole-width .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle .add-info {
    font-size: 10px;
  }
}
@media (min-width: 601px) and (max-width: 1200px) {
  .calendar-whole-width .calendar-table table.table-days > tbody > tr.months-name > td > div {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .calendar-whole-width .calendar-inner-block {
    border: 0 !important;
  }
  .calendar-whole-width .calendar-inner-block .calendar-table {
    margin: auto;
  }
  .calendar-whole-width .calendar-inner-block .calendar-table table.table-days > tbody > tr:not(.months-name) > td {
    padding: 4px;
  }
  .calendar-whole-width .calendar-inner-block .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle {
    background: white !important;
    color: #151719 !important;
    width: 30px;
    height: 30px;
  }
  .calendar-whole-width .calendar-inner-block .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle.is-count {
    font-weight: 600;
  }
  .calendar-whole-width .calendar-inner-block .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle .add-info {
    display: none;
  }
  .calendar-whole-width .calendar-inner-block .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle.today,
  .calendar-whole-width .calendar-inner-block .calendar-table table.table-days > tbody > tr:not(.months-name) > td .item-circle.today:hover {
    background-color: #151719;
    color: #FFF;
  }
}
@media (max-width: 767px) {
  .calendar-inline {
    width: auto !important;
    margin: auto !important;
  }
}
@media (max-width: 509px) {
  .calendar-top {
    font-size: 14px;
  }
  .calendar-top.calendar-top__month {
    font-size: 12px;
  }
  .calendar-table .table-days > tbody > tr > td .item-circle {
    width: 29px;
    height: 29px;
  }
}
