﻿.class-calendar * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  font-family: arial, sans-serif;
}

.class-calendar {
  width: 100%;
  height: 100%;
  padding: 2px;
  border-radius: 4px;
  border: solid 1px rgba(0, 0, 0, 0.1);
}

.class-calendar .c {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 250px;
}

.class-calendar .c .h {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
}

.class-calendar .c .h .but {
  cursor: pointer;
  position: relative;
  float: left;
  width: 30px;
  height: 30px;
  transition: all 0.2s;
}

.class-calendar .c .h .dec:after {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 0;
  height: 0;
  border: solid 10px transparent;
  border-right: solid 10px rgb(227, 95, 95);
}

.class-calendar .c .h .inc:after {
  content: '';
  position: absolute;
  top: 6px;
  left: 10px;
  width: 0;
  height: 0;
  border: solid 10px transparent;
  border-left: solid 10px rgb(227, 95, 95);
}

.class-calendar .c .h .cur {
  float: left;
  width: calc(100% - 60px);
  height: 30px;
  padding-top: 6px;
  background: transparent;
  transition: all 0.2s;
  font-size: 11pt;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
}

.class-calendar .c .d {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  height: 20px;
  transition: all 0.5s;
}

.class-calendar .c .d .days {
  color: rgba(0, 0, 0, 0.3);
}

.class-calendar .c .m {
  position: absolute;
  top: 54px;
  left: 0;
  width: 100%;
  height: calc(100% - 56px);
}

.class-calendar .c .i {
  cursor: pointer;
  float: left;
  display: table;
  height: calc(100% / 6 - 4px);
  margin: 2px;
  border-radius: 4px !important;
  font-size: 10pt;
  font-weight: bold;
  text-align: center;
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.1s;
}

.class-calendar .c .i .t {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 100%;
}

.class-calendar .c .i:hover {
  background-color: rgb(235, 240, 245);
}

.class-calendar .c .blank {
  background-color: transparent;
}

.class-calendar .c .blank:hover {
  background-color: transparent;
}

.class-calendar .c .cur {
  cursor: pointer;
  border-radius: 4px;
  background-color: rgb(214, 221, 230);
  font-weight: bold;
  color: rgb(54, 64, 74);
}

.class-calendar .c .lock {
  opacity: 0.5;
  background-color: transparent;
}

.class-calendar .c .lock:hover {
  background-color: rgb(200, 200, 200);
}

.class-calendar .c .nC {
  background-color: rgb(199, 221, 252);
  font-weight: normal;
  color: rgba(0, 0, 0, 0.5);
}

.class-calendar .c .nC:hover {
  background-color: rgb(89, 147, 189);
}

.class-calendar .c .nCLock {
  background-color: transparent;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.5);
}

.class-calendar .c .nCLock:hover {
  background-color: transparent;
}

.class-calendar .c .i .now {
  background: white;
  font-weight: bold;
}

.class-calendar .c .sel {
  background: rgb(184, 40, 40);
  color: white;
}

.class-calendar .c .sel .now {
  background: rgb(184, 40, 40);
  color: white;
}

.class-calendar .c .year {
  padding: 5px 0 !important;
  width: calc(100% / 3 - 4px);
  color: rgba(0, 0, 0, 0.7);
}

.class-calendar .c .month {
  width: calc(50% - 4px);
}

.class-calendar .c .days {
  width: calc(100% / 7 - 4px);
}

/*█*/

.class-calendar-toElement {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 175px;
  height: 175px;
  border-radius: 4px;
  background: white;
  box-shadow: 0 0 5px rgb(100, 100, 100);
}

.class-calendar-toElement .c {
  width: 100%;
  height: 100%;
}

.class-calendar-toElement .c .h {
  height: 25px;
}

.class-calendar-toElement .c .h .but {
  height: 100%;
}

.class-calendar-toElement .c .h .cur {
  cursor: pointer;
  padding-top: 7px;
  font-size: 10pt;
}

.class-calendar-toElement .c .m .i {
  border-radius: 0;
  font-weight: normal;
}

.class-calendar-toElement .c .month {
  width: calc(100% / 3 - 4px);
  background: white;
}

.class-calendar-toElement .c .month .t {
  padding: 5px 0;
  color: rgb(116, 128, 140);
  font-weight: normal;
}

.class-calendar-toElement .c .i:hover {
  background: rgb(235, 240, 245);
  color: black;
}

.class-calendar-toElement .c .i:hover .t {
  color: rgb(54, 64, 74);
}

/*.class-calendar .c .h .inc:after{
	position: absolute; top: 8px; left: 12px;
	border: solid 8px transparent;
	border-left: solid 8px grey;
}*/
