/* from lpp.css */
.calendar {
  border-collapse: separate;
  border-spacing: 3px;
  width: 100%;
}

.calendar td.no {
  background: #eee;
}

.calendar td {
  padding: 0;
  background-color: #fff;
  width: 14%;
  overflow: hidden;
  word-break: break-all;
  border: 1px solid #eee;
  height: 140px;
  font-size: 13px;
  cursor: pointer;
  vertical-align: top;
}

.calendar .pink {
  background-color: #fff;
}

.calendar .bk {
  font: 700 28px arial;
  color: #ddd;
  padding: 5px;
}

.calendar .data {
  background-color: #f6f6f6;
  width: 100%;
  padding: 2px;
  margin-top:2px;
  overflow: hidden;
  max-height: 20px;
}

.calendar a {
  color: #666;
}

.calendar .me {
  height: 30px;
}

.calendar th {
  width: 14%;
  height: 20px;
  background: #f2f2f2;
}

.calendar-wrap .sidebar {
    position: absolute;
    right: 0;
    top: 0;
    margin: 3px;
    padding: 10px 5px;
    display: none;
    border: 1px solid #ccc;
}

.b-header{
  position: relative;
  z-index: 10;
}
.b-header .this-week.abled
,.b-header .prev-week.abled
,.b-header .next-week.abled
{
  opacity: 0.5;
}

/* from mine.php */

.calendar-mine {
  display: table;
  width: 50%;
  float: left;
  border-spacing: 0px;
}
.calendar-mine table {
  width: 100%;
  border-collapse: separate;
}
.calendar-mine table th,.calendar-mine table td{
  height: 40px;
  vertical-align: middle;
  text-align: center;
}
.calendar-mine table td {
  padding: 5px 0;
}
.calendar-mine table td.no {
  background: #f8f8f8;
}
.calendar-mine table .day.schedule {
  background-color: rgb(250, 255, 189);
}
.calendar-mine table .day.schedule.hide_schedule {
  background-color: #FFF;
}
.calendar-mine table .day[selected=selected] {
  border-color: #4AC1AC;
  background-color: #FFFFFF;
}
.calendar-mine table .bk {
  font-size: 13px;
  color: #999;
  text-align: center;
}
.calendar-mine .day .event-item.data,.add-calendar {
  display: none;
}
.news_tab {
  float: right;
  width: 99%;
  box-shadow: 0px 1px 3px 0px #A9A9A9;
}
.news_tab ul li.on {
  color: #FBA74F;
  border-bottom: 4px solid #FBA74F;
}
.calendar_list .footer{
  width: 99%;
  float: right;
}
.calendar_list .footer .list {
  text-align: center;
  /*min-height: 100px;*/
  overflow: auto;
  margin-top: 3px;
}
.calendar_list .footer .list .event-item.data {
  width: auto;
  height: 3px;
  margin-top: 5px;
  padding: 10px 0px 36px 20px;
  font: 200 13px arial;
  background-color: #fff;
  border-left: 2px solid #FBA74F;
  box-shadow: 0px 2px 3px 0px #ccc;
}
.event-item.data .title,.bool_all_day div{
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.heads {
  width: 30px;
  text-align: center;
  border-radius: 50%;
}
.add-calendar, .cal-add {
  cursor: pointer;
  padding: 5px 5px;
  border-radius: 9999px;
}
.add-calendar.add-calendar--month  {
  position: fixed;
  bottom: var(--menuh-height);
}
.calendar_add {
  width: auto;
  height: 3px;
  margin-top: 5px;
  font: 200 13px arial;
  background-color: #fff;
}
.month {
  width: 100%;
  text-align: center;
  height: 43px;
  line-height: 43px;
}
.month .page {
  cursor: pointer;
}
.add-calendar {
  float: right;
  width: 60px;
  height: 60px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  background-color: #4BC1AD;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
}
.add-calendar .ion-plus {
  line-height: 60px;
  color: #fff;
}
@media screen and (max-width: 991px){
  .calendar {
    width: 100%;
  }
  .news_tab {
    width: 100%;
  }
  .calendar .footer {
    width: 100%;
  }
  .calendar_add {
    display: none;
  }
  .add-calendar {
    display: block;
  }
}

/* from mine_hd.php */

.calendar-mine-hd { margin: 0; border-spacing: 0; }
.calendar-mine-hd .today { border-color: #ff9800; }
.calendar-mine-hd table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
}
.calendar-mine-hd .layui-table { margin: 0; }
.calendar-mine-hd td{
  height: 100px;
}
.calendar-mine-hd table td {
  padding: 5px 0px;
}
.calendar-mine-hd table td.no {
  background: #f8f8f8;
}
.calendar-mine-hd table .day.schedule {
  background-color: #FFF8DC;
}
.calendar-mine-hd table .day[selected=selected] {
  border-color: #4AC1AC;
}
.calendar-mine-hd table .bk {
  font-size: 13px;
  color: #999;
  text-align: center;
}
.calendar-mine-hd .bool_all_day, .calendar_list .time { display: none; }
.news_tab {
  float: right;
  box-shadow: 0px 1px 3px 0px #A9A9A9;
    height: 40px;
}
.news_tab ul li {
  box-sizing: border-box;
  float: left;
  width: 50%;
  text-align: center;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  height: 40px;
  line-height: 2.5em;
}
.news_tab ul li.on {
  color: #FBA74F;
}
.calendar_list .footer{
  width: 99%;
  float: right;
}
.calendar-mine-hd .list {
  text-align: center;
  height: 100%;
  overflow: auto;
}
.list .event-item.data {
  width: auto;
  height: 3px;
  margin-top: 5px;
  padding: 10px 0px 36px 20px;
  font: 200 13px arial;
  background-color: #fff;
  border-left: 2px solid #FBA74F;
  box-shadow: 0px 2px 3px 0px #ccc;
}
.event-item.data .title,.bool_all_day div{
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-item.data .title { text-align: left; }
.heads {
  width: 30px;
  text-align: center;
  border-radius: 50%;
}
.calendar-mine-hd .add-calendar, .calendar-mine-hd .cal-add {
  display: inline-block;
  line-height: 10px;
  background: #fba74f;
  padding: 8px;
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  cursor: pointer;
}
.calendar_add {
  width: auto;
  height: 3px;
  margin-top: 5px;
  padding: 10px 0px 36px 0px;
  font: 200 13px arial;
}
.month {
  width: 100%;
  text-align: center;
  height: 40px;
  line-height: 40px;
}
.month .page {
  cursor: pointer;
}
.add-calendar {
  float: right;
  width: 60px;
  height: 60px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  background-color: #4BC1AD;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
}
.add-calendar .ion-plus {
  line-height: 60px;
  color: #fff;
}
@media screen and (max-width: 991px){
  .calendar {
    width: calc(100% - 3px);
  }
  .news_tab {
    width: 100%;
  }
  .footer {
    width: 100%;
  }
  .calendar_add {
    display: none;
  }
  .add-calendar {
    display: block;
  }
}
@media screen and (max-width: 1600px){
  .list .event-item .content{
    display:inline;
  }

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


}


/* From month.php */

#comment-box-options-card {
  margin-top: 30px;
  height: 95%;
  border: none;
  box-shadow: none;
  position: relative;
  margin-left: 20px;
}
#comment-box-options-card .options-card .notify_to ul.users {
  height: 624px;
}
.notify_to .users {

}
#comment-box-options-card .options-card ul li {
  padding: 7px;
  margin: 0;
  margin-bottom: 1px;
}
#comment-box-options-card .options-card .notify_to ul.resoult {
  overflow: auto;
  margin-right: 0;
}
#comment-box-options-card {
  background: #fff;
  right: 10px;
}
#comment-box-options-card .options-card {
  margin: 0 10px;
  padding-top:10px;
}
#comment-box-options-card .options-card input[type=search]{
  background-color: #f6f6f6;
  border: 1px solid #CDD2D4;
  border-radius: 3px;
  display: block;
  min-height: 2pc;
  width: calc(100% - 10px);
  padding-left:10px;
}
#comment-box-options-card .options-card .notify_to {
  position: relative;
  overflow: hidden;
}
#comment-box-options-card .options-card ul li {
  border-radius: 3px;
  cursor: pointer;
}
#comment-box-options-card .options-card .notify_to ul li.checked {
  background-color: #fba74f;
  color: #fff;
}
#comment-box-options-card .options-card .notify_to ul.users {
  overflow-y: scroll;
  margin-right: -20px;
  padding-right:5px;
}
#comment-box-options-card .options-card .notify_to ul li input[type=checkbox] {
  display: none;
}
.layui-row.web .layui-col-md10.calendar-wrap .calendar.layui-table tbody tr td div.day-div div.event-item.data.start_time {
  max-height: none!important;
}

@media screen and (max-width: 767px){
  #export_calendar > #DataTables_Table_1_wrapper {
    height: calc(100vh - var(--menuh-height) - var(--mobile-menu-height) - 36px);
    overflow: auto;
    border-bottom: 1px solid var(--divider-color);
  }
  #export_calendar table {
    border-collapse: initial;
    border-bottom: 0;
  }
  #export_calendar table tr:last-of-type td[data-date] {
    /* border-bottom: 0 !important; */
  }
  #export_calendar table ~ .dataTables_info {
    display: none;
  }
  #export_calendar table th, #export_calendar table td {
    border: 0;
  }
  #export_calendar table th,
  #export_calendar table td {
    border-left: 1px solid var(--divider-color) !important;
  }
  #export_calendar table td {
    border-bottom: 1px solid var(--divider-color) !important;
  }
  #export_calendar thead {
    background: var(--table-thead-background--color) !important;
  }
  #export_calendar thead tr {
    position: sticky;
    z-index: 99999999;
    top: 1px;
    outline: 1px solid var(--divider-color);
    border-bottom: 0 !important;
    border-left: 0 !important;
  }
  #export_calendar thead tr th:nth-child(1),
  #export_calendar thead tr th:nth-child(2),
  #export_calendar thead tr th:nth-child(3) {
    position: sticky;
    z-index: 99999;
    outline: 1px solid var(--divider-color);
    border-bottom: 0 !important;
    border-left: 0 !important;
  }

  #export_calendar thead tr th:nth-child(1) {
    left: 1px;
  }
  #export_calendar thead tr th:nth-child(2) {
    left: 1px;
    /* width: 52px !important; */
    background: #eff3f8;
  }
  #export_calendar thead tr th:nth-child(3) {
    left: 52px !important;
  }
  #export_calendar.calendar--mode-drag thead tr th:nth-child(3) {
    left: 41px;
  }

  #export_calendar tr[role="row"][uuid][data-tr-index] td:nth-child(1),
  #export_calendar tr[role="row"][uuid][data-tr-index] td:nth-child(2),
  #export_calendar tr[role="row"][uuid][data-tr-index] td:nth-child(3)
  {
    position: sticky;
    z-index: 99999;
    outline: 1px solid var(--divider-color);

    border-bottom: 0 !important;
    border-left: 0 !important;
  }

  #export_calendar tr[role="row"][uuid][data-tr-index] td:nth-child(1) {
    left: 1px;
  }
  #export_calendar tr[role="row"][uuid][data-tr-index] td:nth-child(2) {
    left: 1px;
    width: 50px !important;
  }
  #export_calendar tr[role="row"][uuid][data-tr-index] td:nth-child(3) {
    left: 52px !important;
  }
  /* task/2024-13259 非new_ui 周视图左侧 */
  #export_calendar .weekTable tr[role="row"][uuid][data-tr-index] td:nth-child(3) {
    left: 0 !important;
  }
  #export_calendar tr[role="row"][uuid][data-tr-index].odd td:nth-child(1),
  #export_calendar tr[role="row"][uuid][data-tr-index].odd td:nth-child(2),
  #export_calendar tr[role="row"][uuid][data-tr-index].odd td:nth-child(3) {
    background-color: white;
  }
  #export_calendar tr[role="row"][uuid][data-tr-index].even td:nth-child(1),
  #export_calendar tr[role="row"][uuid][data-tr-index].even td:nth-child(2),
  #export_calendar tr[role="row"][uuid][data-tr-index].even td:nth-child(3) {
    background-color: #f9f9f9;
  }

  #export_calendar tr[role="row"][uuid][data-tr-index].DataTables_Table_1-dragable td:nth-child(3) {
    left: 41px;
  }

  #export_calendar tr[role="row"][uuid][data-tr-index]:hover td:nth-child(1),
  #export_calendar tr[role="row"][uuid][data-tr-index]:hover td:nth-child(2),
  #export_calendar tr[role="row"][uuid][data-tr-index]:hover td:nth-child(3) {
    box-shadow: 0px 0px 8.1px 0.9px rgb(15 15 15 / 15%);
  }
}
