:root {
  --primary-color: rgb(0,53,128);
  --text-color: #1d1d1d;
  --bg-color: transparent;
}

.calendar {
  width: 100%;
  max-width: 780px;
  background: var(--bg-color);
  padding: 30px 20px;
  margin: 1.5rem 0;
  border-radius: 10px;
  border: 1px solid lightgrey;
}
.calendar .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #ccc;
}
.calendar .header .month {
  display: flex;
  align-items: center;
  font-size: 25px;
  font-weight: 600;
  color: var(--text-color);
}
.calendar .header .btns {
  display: flex;
  gap: 10px;
}
.calendar .header .btns .btn {
  width: 50px;
  height: 40px;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.calendar .header .btns .btn:hover {
  background: rgb(0, 60, 144);
  transform: scale(1.05);
}
.calendar .weekdays {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.calendar .weekdays .day {
  width: calc(100% / 7 - 10px);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}
.calendar .days {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.calendar .days .day {
  width: calc(100% / 7 - 10px);
  height: 50px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-color);
  transition: all 0.3s;
  user-select: none;
}
.calendar .days .day:not(.next):not(.prev):hover {
  color: #fff;
  background: var(--primary-color);
  transform: scale(1.05);
}
.calendar .days .day.next,
.calendar .days .day.prev {
  color: #ccc;
}
.calendar .days .day.today {
  color: #fff;
  background: var(--primary-color);
}
.credits a {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #aaa;
}
.credits span {
  color: var(--primary-color);
}

/* additionals */

.hour-item {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.hour-item-line {
  border-bottom: 1px solid lightgray;
  margin-bottom: 1.5rem;
}

.hour-item-container {
  display: flex;
}

.hour-header {
  display: flex;
  align-items: center;
}

.i-container {
  padding: 1rem;
  background-color: #fffcee;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  margin-left: 1rem;
}

.hour-header i{
  color: #003580;
  font-size: 2.5rem;
}

.hour-header-in {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.hour-header-in h4{
  margin: 0 0 4px 0!important;
}

.hour-header-in p{
  margin: 0!important;
}

.hour-item-text-inline {
  display: flex;
  align-items: center;
  margin: 2px 0;
  padding: 10px 6px;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
}

.hour-item-text-inline span {
  font-size: 2rem;
  margin-left: 12px;
}

.hour-item-text {
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
}

.work-hours {
  /* height: 70vh !important; */
  max-height: 90vh;
  overflow-y: scroll;
}


/* Toggle button */

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch-all {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {display:none;}
.switch-all input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(15px);
  -ms-transform: translateX(15px);
  transform: translateX(15px);
}

/* Rounded sliders */

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;}

  /*  Slider Ends Baba Başlar  */



  
@media screen and (max-width: 500px) {
  .calendar .header .btns .btn {
    width: 30px;
    height: 30px;

    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
  }
}