:root {
  --white: #fff;
  --calendar-background-color: #ffffff;
  --calendar-border-color: #e5e5e5;
  --calendar-weekend-color: #e5e5e580;
  --text-color: #333333;
  --today-color: #ff0000;
  --today-text-color: #ffffff;
  --calendar-max-width: 100%;
  --font-size: 14px;
  --font-family: 'Open Sans', sans-serif;
  --timeline-width: 60px;
  --calendar-cell-height: 40px;
  --calendar-cell-height-modal: 30px;
  --calendar-cell-width: auto;
  --calendar-body-height: 600px;
}


* {
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

.click {
  background-color: antiquewhite;
}

.bordered {
  border: 1px solid #dee2e6;
}

#result {
  width: 97%;
  height: auto;
  min-width: 510px;
  border: 1px solid #c2c2c2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
  position: fixed;
  bottom: 20px;
  left: 1%;
  right: 1%;
  z-index: 99;
  margin: 0 auto;
  max-width: 1200px;
}

.count-orders {
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
}

.count-orders .opacity {
  color: #9b9b9b;
}

.fixed {
  background-color: #fff;
  height: 100%;
  width: 100%;
  padding: 4px 8px;
  overflow: hidden;
  display: inline-block;
}

.number-order {
  float: left;
}

.evning {
  color: chocolate;
}

#result .show-price {
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.165rem 2rem;
  float: right;
  margin-top: 10px;
}

.get-order-btn {
  float: right;
  margin-top: 10px;
}

.get-order-btn .btn {
  padding: 7px 52px 9px;
}

.wrapper-booking {}

#booking {
  margin-right: 15px;
  margin-bottom: 5px;
  min-width: 200px;
  position: relative;
  display: block;
}

.wrapper-booking-price {
  min-width: 796px;
  overflow-x: auto;
  width: 100%;
}

.row-block {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
}

.block {
  display: inline-block;
  background-color: #9e9e9e;
  color: #fff;
  margin-right: 3px;
  max-width: 170px !important;
  width: 170px;
  height: 100px;
  padding: 0;
  margin-bottom: 15px;
}

.block .img-fluid {
  width: 100%;
  height: 100%;
}

.block span {
  width: 100%;
  display: inline-block;
  padding: .5em;
}

.bc-order-title {
  background-color: #dee2e6;
  padding: 0.2rem 0.2rem 0rem 0.2rem;
}

.thead {
  padding: 0.5rem;
  text-align: center;
  /* display:flex; */
}

.row-slot {
  margin: 0 3px;
}

.normal.col {
  padding: 0;
}

.first-slot {
  width: 60px;
}

.time-slot {
  margin-top: 0;
}

.time-slot.last {
  border-right: #c2c2c2 solid 1px;
}

.time-slot:nth-child(1),
.time-slot:nth-child(9) {
  border-top: #c2c2c2 solid 1px;
}

.time-slot-normal {
  padding: 0.52rem;
  margin-right: 6px;
  height: 50px;
}

.time-slot.col {
  max-width: 100%;
  border-bottom: #c2c2c2 solid 1px;
  border-left: #c2c2c2 solid 1px;
  width: 60px;
  padding: 0.5rem;
}

.slot.col {
  padding: 0.5rem;
  max-width: 100%;
  border-bottom: #c2c2c2 solid 1px;
  color: white;
}

.first-thead {
  border-top: #ddd solid 1px;
  border-bottom: #ddd solid 1px;
  height: 50px;
  font-size: large;
  font-weight: 500;
}

.row-slot:nth-child(even) {
  border-top: #c2c2c2 solid 1px;
}

.row-slot:nth-child(3) {
  border-top: #c2c2c2 solid 1px;
}

.row-slot:nth-child(5) {
  border-top: #c2c2c2 solid 1px;
}

.row-slot:nth-child(7) {
  border-top: #c2c2c2 solid 1px;
}

.slot-height {
  height: 50px;
  position: relative;
}

.hover:hover {
  background-color: #1ab394;
  color: white;
}

.less-today,
.less-today.hover:hover {
  pointer-events: none;
}

.slot-yellow {
  color: black;
  font-size: 0.8375rem;
}

.wrapper-slot {
  background-color: #ffcc00;
  position: absolute;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
}

.pointer-events {
  pointer-events: none;
}

.pointer-events .wrapper-slot {
  background-color: #ffe066
}

.red-border {
  border: 1px solid red;
  background-color: #ff9999;
}

.example {
  display: flex;
  margin-bottom: 0.1rem;
}

.square {
  display: flex;
  margin-left: 5px;
}

.square .text {
  margin-left: 5px;
  font-size: 13px;
  width: auto;
}

.square span.no-work {
  width: 20px;
  height: 20px;
  background: repeating-linear-gradient(-45deg, #e5e5e5, #e5e5e5 .15em, transparent 0, transparent .505em);
}

.square .action {
  width: 20px;
  height: 20px;
  background-color: #ffcc00;
}

.square .no-limit {
  width: 20px;
  height: 20px;
  background-color: #ff9999;
}

.temp {
  background-color: #ffcc00;
}

.is_event {
  background-color: #c0c0c0;
  pointer-events: none;
}

.slot-red,
.slot-temp {
  pointer-events: none;
  overflow: hidden;
  color: black;
  text-overflow: inherit;
  white-space: nowrap;
  height: 100%;
  text-align: center;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.slot-white .slot-temp span {
  line-height: 1.5;
}

.slot-white {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.slot-white span {
  line-height: 3;
  pointer-events: none;
}

.yellow-time {
  top: 0;
  z-index: 1;
}

.yellow-price {
  font-size: 1rem;
  font-weight: 600;
  z-index: 1;
}

.time-slot-normal em {
  font-style: normal;
  font-size: 9px;
  line-height: 12px;
  vertical-align: top;
  margin: 0 0 0 2px;
  position: relative;
  width: 13px;
  overflow: hidden;
  display: block;
  float: right;
}

.calendar-title-month {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}

#calendar-actions {
  text-align: right;
}

.calendar-title-year {
  font-size: 1.5rem;
  font-weight: 200;
  margin-left: .4rem;
  color: var(--text-color);
}

button,
.days-time {
  cursor: pointer;
  background-color: #596275;
  color: #fff;
  border: none;
  padding: .4rem;
  border-radius: .2rem;
  box-shadow: 0px 0px 0px 1px var(--calendar-border-color);
  cursor: pointer;
}

.days-time {
  margin-left: 1rem;
  padding: 0.2rem 0.6rem
}

button.mark {
  background-color: #dee2e6;
  padding: .4rem;
  border: #333333 solid 1px;
  color: #333333;
}

.no-works {
  background: repeating-linear-gradient(-45deg, #e5e5e5, #e5e5e5 .15em, transparent 0, transparent .505em);
  ;
}

.colorRow {
  border-bottom: 0;
  border-top: 0;
}

#button-prev {
  margin-bottom: 20px;
}

#button-prev:before {
  content: '\f104';
  font-family: FontAwesome;
  padding-right: 4px;
  font-weight: 700;
}

#button-next {
  /*margin-bottom: 20px;*/
}

#button-next:after {
  content: '\f105';
  font-family: FontAwesome;
  padding-left: 4px;
  font-weight: 700;
}

.item-link {
  color: #FFFFFF;
}

.yellow-time {
  font-size: 0.5rem;
}

.theme-header-area .navbar-nav .menu-main .nav-link .active .nav-item-text {
  text-decoration: underline;
}

.slot.col {
  padding: 0 !important;
}


.less-today {
  background: repeating-linear-gradient(-45deg, #e5e5e5, #e5e5e5 .15em, transparent 0, transparent .3em);
  background-color: #ccc;
}

.less-today .slot-white {
  display: none;
}

.price-hover {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 99;
}

.today {
  color: #FFFFFF;
  background-color: #3867d6;
  padding: 0rem 0.25rem;
  border-radius: 20%;
}

.text-order {
  font-size: 1.1rem;
}

.slot.colorRow>span.first:hover {
  padding: 5px 0;
  margin: 0;
  background-color: #ff0000;
}

.slot.colorRow>span.one:hover {
  background-color: #ff0000;
  margin: 0;
  padding: 5px 0;
}

.red {
  color: red;
}

.requred {
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 18px;
}

.radioName {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.addServ {
  height: auto;
  overflow: auto;
  padding: 1rem 0;
}

.col-item {
  border: #c2c2c2 solid 1px;
  margin: 0.5rem;
  display: flex;
  margin-right: 3px;
  width: 170px;
  height: 100px;
  padding: 0.5rem;
  margin-bottom: 15px;
  word-break: break-word;
  white-space: pre-line;
  position: relative;
  text-align: center;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.col-item:hover {
  border: #286efa solid 1px;
}

.col-item.click {
  background-color: #e9f0fe;
  border: #286efa solid 1px;
}

.addServ .col.additional-services {
  display: flex;
  flex-direction: column;
}

.additional-services .col.image {
  flex-grow: 1;
}

.additional-services .col.text {
  flex-grow: 5;
}

.additional.yes-add {
  background-color: #e8e8e8;
  padding: 1rem 0.5rem;
}

.span-h5 {
  font-size: 1rem;
  margin-left: 1rem;
}

h5.order-time {
  font-size: 1.1rem;
  font-weight: 600;
}

.disc_total {
  font-weight: 600;
  font-size: 1rem;
  color: orangered;
}

.all_total {
  color: crimson;
}

.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
  width: 100%;
}

.order-title {
  color: #777;
}

.datagrid .actions {
  text-align: center;
  justify-content: center;
  color: red;
}

.datagrid .actions>a.actions::before {
  content: "\e097";
}

.red {
  color: red;
}

.green {
  color: green;
}

.blue {
  color: #286efa;
}

.datagrid {
  font-size: 12px;
}

.modal .modal-dialog {
  max-width: 400px;
}

@media (max-width: 1065px) {
  .additional-services .col.image {
    flex-grow: 1;
  }

  .additional-services .col.text {
    flex-grow: 3;
  }
}

@media (max-width: 768px) {
  .additional-services .col.image {
    flex-grow: 1;
  }

  .yellow-time {
    font-size: .8rem
  }

  .yellow-price {
    font-size: .9rem
  }

  .additional-services .col.text {
    flex-grow: 2;
  }

  .row-slot {
    margin: 0;
    border-right: 1px solid #c2c2c2;
  }

  .slot.col {
    padding: 0;
  }
}

@media (max-width: 576px) {
  .additional-services .col.image {
    flex-grow: 1;
  }


  .additional-services .col.text {
    flex-grow: 1;
  }

  #calendar-actions {
    font-size: 0.7rem;
    position: relative;
    max-width: 70%;
  }

  .calendar-title {
    position: relative;
    float: left;
    text-align: left;
    max-width: 30%;
  }

  .number-order {
    display: none;
  }

  #result .show-price {
    float: left;
  }

  .wrapper-booking {
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        margin-left: -20px;
        margin-right: -32px;
  }
.row {
    display: flex;
    flex-wrap: wrap;
     margin-right: -5px; 
     margin-left: -5px; 
}
  .get-order-btn {
    float: left;
  }

  .get-order-btn .btn {
    padding: 7px 26px 9px;
  }

}

@media (max-width: 1024px) {
  .first-thead {
    border-bottom: none;
  }
}


@media (max-width: 576px) {
  .imgbookpage {
    float: left;
    width: 30%;
    position: relative;
  }

  .text {
    width: 70%;
    text-justify: auto;
  }

  .calendar-title-year {
    font-size: 1rem;
    margin-left: .1rem;
  }

  .calendar-title-month {
    font-size: 1rem;
  }

  .yellow-time {
    font-size: .5rem
  }

  .yellow-price {
    font-size: .7rem
  }

  .first-thead {
    font-size: 19px;
  }

  #result {
    bottom: 10px;
    background-color: #fff;
    min-width: 300px;
  }

  #result .show-price {
    float: right;
  }

  .get-order-btn {
    float: right;
  }

  #scroll-top.position-fixed {
    display: none;
  }

}

@media (max-width: 450px) {
  .first-thead {
        font-size: 21px;
        line-height: 26px;
  }

  .thead {
    padding: 0;
  }

  .column-time {
    padding: 0 .5rem;
  }

  .col-sm {
    padding-right: 0px!important;
    padding-left: 0px!important;
  }
}

.icms-body-toolbox h1 {
  text-align: center;
}

@media (min-width: 992px) {
  .icms-body-toolbox h1 {
    text-align: center;
  }


}