@page{
  margin: 0.25in;
}

.cld-main{
  width: 330px;
}
.cld-main a{
  color: #333;
  font-weight: bold;
}
  .cld-datetime{
    position: relative;
    width: 66%;
    min-width: 100px;
    max-width: 300px;
    margin: 0 auto;
    overflow: hidden;
  }
  .cld-datetime .today{
    position: relative;
    float: left;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    line-height: 16px;
  }
  .cld-nav{
    position: relative;
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }
  .cld-nav:hover{
    cursor: pointer;
  }
  .cld-nav:hover svg{
      fill: #666;
  }
  .cld-rwd{
    float: left;
  }
  .cld-fwd{
    float: right;
  }
  .cld-nav svg:hover{

  }
  .cld-labels, .cld-days{
     margin: 0;
     padding-left: 0;
     list-style: none;
  }
  .cld-label, .cld-day{
    display: inline-block;
    width: 14.28%;
    text-align: center;
  }
  .cld-day.today .cld-number{
	display: inline-flex;
	width: 20px;
	height: 15px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 1px solid #218739;
	border-radius: 3px;
	font-weight: bold;
  }
  .cld-day.today .cld-number.eventday{
    display: inline;
    height: auto;
    width: auto;
    border: 0;
  }
  .cld-day.disableDay{
    opacity: 0.5;
  }
  .cld-day.nextMonth, .cld-day.prevMonth{
    opacity: 0.33;
  }
  .cld-number{
    position: relative;
    margin: 0px;
    padding: 0px;
  }
  .cld-day.currMonth{
    position: relative;
    height: 28px;
    vertical-align: top;
  }
  
  .cld-title{
    position: absolute;
    z-index: 5;
    display: none;
    top: 30px;
    left: 0;
    padding: 5px 10px;
    background: #fff;
    white-space: nowrap;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 12px;
  }
  .cld-number:hover .cld-title{
    display: block;
  }
  .cld-title::before{
    content: '';
    position: absolute;
    top: -7.5px; left: 7.5px;
    width: 0;
    height: 0;
    border-left: 7.5px solid transparent;
    border-right: 7.5px solid transparent;

    border-bottom: 7.5px solid #ccc;
  }
  .cld-number.eventday{
    display: inline-block;
    height: 18px;
    width: 18px;
    border-radius: 50px;
    border: 2px solid #FF0000;
  }
  .cld-number.eventday:hover{
    cursor: pointer;
    background: #eee;
  }
  .today .cld-number.eventday:hover{
    background: transparent;
  }
  .cld-marker-row{
    position: absolute;
    top: 15px;
    left: 50%;
    display: flex;
    width: 46px;
    height: 9px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    line-height: 8px;
    transform: translateX(-50%);
  }
  .cld-marker-row .cld-marker{
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin: 0 1px;
  }
  .cld-marker-row .cld-marker-diamond{
    width: 5px;
    height: 5px;
    margin-left: 2px;
    margin-right: 2px;
  }
  .cld-marker-row .cld-marker-triangle{
    width: 0;
    height: 0;
    margin-left: 1px;
    margin-right: 1px;
    border-left-width: 4px;
    border-right-width: 4px;
    border-bottom-width: 8px;
  }
  .cld-marker{
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 2px;
    vertical-align: middle;
  }
  .cld-marker-circle{
    border-radius: 50%;
  }
  .cld-marker-square{
    border-radius: 0;
  }
  .cld-marker-diamond{
    width: 7px;
    height: 7px;
    margin-left: 3px;
    margin-right: 3px;
    transform: rotate(45deg);
  }
  .cld-marker-triangle{
    width: 0;
    height: 0;
    margin-left: 2px;
    margin-right: 2px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 9px solid;
    background: transparent;
  }
  .cld-marker-blue{
    background: #0070c0;
  }
  .cld-marker-orange{
    background: #ed7d31;
  }
  .cld-marker-green{
    background: #70ad47;
  }
  .cld-marker-red{
    background: #c00000;
  }
  .cld-marker-triangle.cld-marker-red{
    background: transparent;
    border-bottom-color: #c00000;
  }
  .cld-calendar-header{
	position: relative;
	min-height: 24px;
	margin: 1px 0 3px;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .cld-calendar-year{
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 24px;
  }
  .cld-calendar-header .cld-legend{
	position: absolute;
	right: 0;
	top: 0;
	margin: 0;
	text-align: right;
	white-space: nowrap;
	line-height: 24px;
  }
  .cld-legend-item{
    display: inline-block;
    margin: 0 8px 0 0;
    white-space: nowrap;
  }
  .cld-legend-item .cld-marker{
    margin-left: 0;
  }
  @media print{
    body{
      margin: 0;
    }
    #printcalendar{
      width: 100%;
      margin: 0;
    }
    #printcalendar .print-calendar-header{
      position: relative;
      float: none;
      width: 100%;
      box-sizing: border-box;
      height: 50px;
      margin: 0 0 2px;
    }
    #printcalendar .print-calendar-logo{
      position: absolute;
      top: 0;
      left: 0;
      float: none;
      max-height: 50px;
      max-width: 240px;
    }
    #printcalendar .print-calendar-site-info{
      display: flex;
      height: 50px;
      align-items: center;
      justify-content: center;
      color: red;
      font-size: 14px;
      font-weight: bold;
      text-align: center;
    }
    #printcalendar .calendar-print-content{
      clear: both;
      display: block;
      float: none;
      width: 100%;
      box-sizing: border-box;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      overflow: visible !important;
      break-after: auto;
      page-break-after: auto;
    }
    #printcalendar .calendar-print-content .cld-calendar-header{
      width: 100%;
      box-sizing: border-box;
    }
    #printcalendar table{
      width: 100% !important;
      table-layout: fixed;
      font-size: 11px !important;
      break-inside: avoid;
      page-break-inside: avoid;
    }
    #printcalendar td{
      width: 33.333%;
      padding: 0;
    }
    #printcalendar .cld-main{
      width: 100%;
      margin: 0;
    }
    #printcalendar .cld-datetime{
      min-width: 0;
      font-size: 11px;
    }
    #printcalendar .cld-day{
      font-size: 11px;
      line-height: 14px;
    }
    #printcalendar .cld-label{
      line-height: 12px;
    }
    #printcalendar .cld-day.currMonth{
      height: 24px;
    }
    #printcalendar .cld-marker-row{
      top: 15px;
      width: 90%;
      height: 8px;
      line-height: 8px;
    }
    #printcalendar .cld-marker-row .cld-marker{
      width: 6px;
      height: 6px;
      margin: 0 1px;
    }
    #printcalendar .cld-marker-row .cld-marker-diamond{
      width: 4px;
      height: 4px;
      margin-left: 1px;
      margin-right: 1px;
    }
    #printcalendar .cld-marker-row .cld-marker-triangle{
      width: 0;
      height: 0;
      border-left-width: 3px;
      border-right-width: 3px;
      border-bottom-width: 7px;
    }
    #printcalendar .cld-calendar-header{
      min-height: 14px;
      margin: 0 0 2px;
    }
    #printcalendar .cld-calendar-year{
      font-size: 14px;
      line-height: 14px;
    }
    #printcalendar .cld-calendar-header .cld-legend{
      margin-left: 8px;
      font-size: 9px;
    }
    .cld-marker-row{
      display: flex;
    }
    .cld-marker{
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
    }
  }
  @media print and (orientation: portrait){
    #printcalendar .cld-calendar-header{
      margin: 0 0 6px;
    }
    #printcalendar .cld-day.currMonth{
      height: 32px;
    }
    #printcalendar .cld-marker-row{
      top: 17px;
      height: 8px;
      line-height: 8px;
    }
  }
  @media print and (orientation: landscape){
    #printcalendar .cld-calendar-header{
      margin: 0;
    }
    #printcalendar .cld-calendar-header .cld-legend{
      top: 0;
      height: 14px;
      line-height: 14px;
    }
    #printcalendar .cld-calendar-header .cld-legend-item{
      height: 14px;
      line-height: 14px;
      vertical-align: top;
    }
    #printcalendar .cld-datetime,
    #printcalendar .cld-datetime .today{
      font-size: 10px;
      line-height: 12px;
    }
    #printcalendar .cld-label{
      font-size: 10px;
      line-height: 10px;
    }
    #printcalendar .cld-day.currMonth{
      height: 26px;
    }
    #printcalendar .cld-marker-row{
      top: 14px;
      height: 8px;
      line-height: 8px;
    }
  }

  .cld-month{
  	font-weight: bold;
  }
