#calendar2 {
  width: 100%;
  font: monospace;
  line-height: 1.2em;
  font-size: 15px;
  text-align: center;
}
#calendar2 thead tr:last-child {
  font-size: small;
  color: rgb(85, 85, 85);
}
#calendar2 thead tr:nth-child(1) td:nth-child(2) {
  color: rgb(50, 50, 50);
}
#calendar2 thead tr:nth-child(1) td:nth-child(1):hover, #calendar2 thead tr:nth-child(1) td:nth-child(3):hover {
  cursor: pointer;
}
#calendar2 tbody td {
  color: rgb(44, 86, 122);
}
/*было n+6*/
#calendar2 tbody td:nth-child(6), #calendar2 .holiday {
  background: rgb(220, 0, 0);
  color: white;
}
#calendar2 tbody td.today {
  background: rgb(0, 220, 0);
  color: #fff;
}

.select-office{
  font-size: 20px;
  font-weight: 900;
}

.calendar-link, .card-link-blocked{
  display: block; 
  padding: 10px;
  text-decoration: none;
}

.card-link-blocked{
  cursor: not-allowed;
}

.calendar-link:hover{
  background: #eee;
  cursor: pointer;
}

.dayWeek{
  width: 14%; 
  padding: 10px;
  border: 1px black;
  border-style: solid none;
}

.arrow{
  font-size: 20px;
  text-align: center;
}

.company-table td{
  font-size: 18px;
}

.calendar-day{
  cursor: pointer;
  padding: 20px 0;
}

.calendar-day label{
  cursor: pointer;
}

.calendar-day:hover{
  background: #f8f9fa;
}

.calendar-day:active{
  background: #6c757d;
  color: white !important;
}

.gldp-flatwhite .sun{
  color: black !important;
}

.gldp-flatwhite .sat{
  background: #dc3545 !important;
  color: white !important;
}

/*Date direction right - hebrew, left - standart*/
.gldp-flatwhite .core {
  float: right !important;
}

.addEvent{
  cursor: pointer;
}

.input-disabled{
  width: 0;
  position: absolute;
  opacity: 0;
}

.time-block{
  position: relative;
  padding: 0;
}

.no-data{
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 2;
  background: rgb(0, 0, 0, .5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-block-company{
  height: 644px !important;
  overflow-y: scroll;
  padding: 0;
}

.col-md-6{
  padding: 0;
}

.time-block-company .top th{
  position: sticky;
  top: 0;
  color: white;
  background-color: #0d6efd;
}

#time{
    font-size: 30px;
    font-weight: 900;
}

#date-modal{
  font-size: 20px;
  font-weight: 900;
}

.modal-body p{
  margin: 0 0 5px 0 !important;
}

#success{
  position: absolute;
  width: 70%;
  top: 20px;
  z-index: 999999;
}

.close{
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 900;
}

#showEvent label{
  font-size: 20px;
  font-weight: 700;
}
@media (min-width: 576px){
  .modal-dialog{
    max-width: 70% !important;
  }
}

@media screen and (max-width: 768px){
  .time-block-company{
    height: auto !important;
    overflow-y: visible;
  }
  .dayWeek{
    font-size: 13px;
  }
  .close{
    margin-right: -15px;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #0d6efd;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}