

/*Стилизация календаря main*/
.current-page-events {display:none}




#calendar {
     -webkit-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     user-select: none;
     font-family: var(--text-main_font);
     color: var(--text-main_color);
      background: #1E1E20;
     padding: 24px;
  /*    border: 1px solid #39393A;*/
      margin-bottom: 20px;
}
#full_calender {
    padding: 1.4em 0;
	border-bottom: 1px solid #363636;
}
#calTitle{
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
   /*  font-size: 1.12em; */
    text-align: center;
   padding: 0.4em 12px;
    /* padding-top: 0.8em; */
}


#calTitle button{
    outline: none;
    display: block;
    border: 0.1em solid var(--border-color);
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 60px;
    background: none;
    position: relative;
}
#calendar button.a-date span {
    cursor: pointer;
}
#calTitle #calTitle button:hover{
    background: rgba(255,255,255,0.1);
}

#calTitle button.month-mover.next {
   /* margin-left: 10px;*/
}

#monthYear > span.current-month {
    display: none;
}

#calTitle button.month-mover.prev:after,
#calTitle button.month-mover.next:after{
    content: "";
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12' fill='none'><path d='M6.5 1.07776L1.5 6.24494L6.17642 11.0778' stroke='white' stroke-width='2'/></svg>");
      width: 8px;  
      height: 12px; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#calTitle button.month-mover.next:after {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12' fill='none'><path d='M1.32336 0.903503L6.32336 5.98734L1.64694 10.7422' stroke='white' stroke-width='2'/></svg>");
}
#calTitle button.month-mover.prev:before,
#calTitle button.month-mover.next:before{
    content: "";
    position: absolute;
    background: #353536;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
   opacity: 0; 
    transition: all 0.3s;
}
#calTitle button.month-mover.prev:hover:before,
#calTitle button.month-mover.next:hover:before{
    opacity: 1;
}
#calTitle button.month-mover_disabled {
    opacity: 0.5;
}

#calTbody .a-date{
  z-index: 1;
}
#calTbody .a-date span{
  position: relative;
}

#calTbody .a-date:not(.focused) span:after {
    content: "";
    position: absolute;
    background-color: #353536;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; 
    transition: all 0.3s;
    z-index: -1;
}
#calTbody .a-date:not(.focused) span:hover:after {
    content: "";
    opacity: 1; 
    transition: all 0.3s;
    z-index: -1;
}

#monthYear > span.fullMonths_names,
#calTFooter_today span.todayDay{
    text-transform: capitalize;
    padding-right:10px;
}

#monthYear > span.current-month,
#monthYear > span.todayDay,
#monthYear > span.current-day,
#calTFooter_today > span.current-year {
    display: none;
}


#calThead, #calTbody{
    display: flex;
    flex-wrap: wrap;
    padding: 0.1em;
}

#calThead{
    margin-top: 0.4em;
    align-items: center;
    text-align: center;
    color: #FFF;
    font-family: "Roboto Mono";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 0.6em;
}

#calThead > div, #calTbody .a-date{
    box-sizing: border-box;
    flex: 1;
    min-width: calc(100% / 7);
    max-width: calc(100% / 7);
    width: calc(100% / 7);
    text-align: center;
    padding: 0;
    /* color: var(--color2); */
	display: flex;
    justify-content: center;
    align-items: center;
}

#calThead > div{
    font-size: 14px;
    padding: 0.2em 0.2em;
}


#calTbody .a-date > span{
    display: block;
    padding: 0.6em;
    /*font-style: italic;*/
    font-weight: 400;
}

#calTbody .a-date{
    cursor: default;
    padding: 0;
    position: relative;
    background-color: transparent;
    /* padding: 0.4em; */
    border: 0.1em solid transparent;
    outline: none;
    font-size: 14px;
}

#calTbody .a-date.blurred{
    opacity: 1;
    pointer-events: none;
    /* height: 0; */
    position: relative;
   /*  opacity: 0.4; */
  color: #787879;
}

#calTbody .a-date.current{
    outline: none;
    outline: 0;
}

#calTbody .a-date.current.event{
   /* border: 1px solid var(--border-color);
    opacity: 0.5;*/
}

/* #calTbody .a-date:focus, */
 /* #calTbody .a-date:active{ */
   /* border: 1px solid #2af15d; */
/* } */

#calTFooter{
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    -ms-align-items: flex-start;
    align-items: flex-start;
    // font-size: 1.1em;
    margin-top: 14px;
}

#calTFooter #calLink{
    font-size: 0.8em;
    display: inline-block;
    padding: 0.6em 0.8em;
    flex-shrink: 0;
    text-decoration: none;
}


#calTFooter #calLink:hover{
    background-color: #555;
}

#calTFooter a.day-event-item {
    color: #fff;
    // margin-top: 0.5em;
    margin-bottom: 1em;
}


#calTFooter h3.eventTitle{
    margin: 0;
    margin-right: 0.1em;
    font-weight: normal;
    font-size: 16px;
    white-space: normal;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #FFF;
		font-family: "Roboto Mono";
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
}

#calTFooter_event #eventTitle_today {
    font-size: 19px;
    color: var(--color1);
    display: none;
}

#calTFooter_event {
    padding: 0 1em 1.4em 1em;
}


#calTitle_month {
    display: flex;
    align-items: end;
    justify-content: space-evenly;
    grid-column-gap: 6px;
}

#monthYear {
  color: #FFF;
  font-family: "Roboto Mono";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: left;

}

/* разметка для событий */

#calTbody .a-date span{
	position: relative;
}
#calTbody .a-date.current{
    /* border: 1px solid #2AF16B; */
    /* border-radius: 50px; */
  /*  color: #2AF16B; */
    /* background: #1F2A24; */
   /*  opacity: 0.5; */
    position: relative;
	z-index: 1;
}
/*
 .current span:before{
    content: "";
    position: absolute;
    background: #1F2A24;;
    width: 32px;
    height: 32px;
	border: 1px solid #2AF16B;
    border-radius: 32px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    transition: all 0.3s;
	z-index: -1;
} 
*/
#calTbody .a-date:focus,
#calTbody .a-date:active{
     /* border: 1px solid #2af15d; */
    /* border-radius: 50px; */
    /* background: #1F2A24; */
}


#calTbody .a-date.event{
    /* border-radius: 50px; */
    color: #2AF16B;
    /* background: #1F2A24; */
	z-index: 1;
	position: relative;
}

#calTbody .a-date.event span:before{
   /*  content: ""; */
    position: absolute;
  /*  background: #1F2A24; */
    width: 32px;
    height: 32px;
    border-radius: 32px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
   /* opacity: 0; */
    transition: all 0.3s;
	z-index: -1;
}
#calTbody .a-date.focused{
	position: relative;
	z-index: 1;
    color: #1E1E20;

}
#calTbody .a-date.focused span:before{
     content: "";
    position: absolute;
  /*   border: 1px solid #20442E;*/
    background-color: #2AF16B;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
   /* opacity: 0; */
    transition: all 0.3s;
	z-index: -1;
}

/* стилизация other-page */
#calTbody .a-date.other-page:before {
    background: var(--colord1);
}

#calTFooter .other-page h3.eventTitle {
    border-left: 2px solid var(--colord1);
    padding-left: 0.8em;
}

#calTFooter .other-page .eventTimes {
    color: var(--colord1);
}

#calTbody .a-date.other-page:focus, #calTbody .a-date.other-page:active {
    /* border: 1px solid var(--colord1); */
}

/* стилизация user-events */
#calTbody .a-date.user-events:before {
    background: var(--colord2);
}

#calTFooter .user-events h3.eventTitle {
    border-left: 2px solid var(--colord2);
    padding-left: 0.8em;
}

#calTFooter .user-events .eventTimes {
    color: var(--colord2);
}

#calTbody .a-date.user-events:focus, #calTbody .a-date.user-events:active {
    /* border: 1px solid var(--colord2); */
}

/* стилизация sublesson */
#calTbody .a-date.sublesson:before {
    /* background: var(--colord3); */
}

#calTFooter .sublesson h3.eventTitle {
    /* border-left: 2px solid var(--colord3); */
     /* padding-left: 0.8em; */
}

#calTFooter .sublesson .eventTimes {
    color: #2AF16B;
    color: #F1A12A;
}

#calTbody .a-date.sublesson:focus, #calTbody .a-date.sublesson:active {
    /* border: 1px solid #20442E; */
}

/* стилизация main-lesson */

#calTbody .a-date.main-lesson:before {
    background: var(--colord4);
}

#calTFooter .main-lesson h3.eventTitle {
    border-left: 2px solid var(--colord4);
    padding-left: 0.8em;
    
}

#calTFooter .main-lesson .eventTimes {
    color: var(--colord4);
}


#calTbody .a-date.main-lesson:focus, #calTbody .a-date.main-lesson:active {
    /* border: 1px solid var(--colord4); */
}

#calTFooter_event .eventTitle {
    padding-top: 0.4em;
    color: #FFF;
		font-family: "Roboto Mono";
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
}

#calTitle span.current-day {
    font-size: 15px;
    font-weight: 100;
}


/* #calTbody .a-date.blurred:after {
    content: url("https://fs.getcourse.ru/fileservice/file/download/a/457258/sc/206/h/9cb6979697aaf2391deba208638cdc03.png");
    position: absolute;
    top: 1.2em;
    left: 1.2em;
}
 */

#calTFooter_event .eventTitle .event_Title {
    font-weight: bold;
    padding-top: 0.4em;
}


#calTFooter_today {
    /* border-top: 2px solid #363636;; */
    font-size: 19px;
    padding-top: 28px;
    font-family: "Roboto Mono";
		font-size: 16px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
}

#calTFooter a.day-event-item:hover {
    text-decoration: none;
}


button.a-date.event span {
}

/* стилизация события Прямой эфир*/
#calTbody .a-date.sublesson.live-broadcast:before {
    /* background: var(--colord-live); */
} 
#calTbody .a-date.sublesson.live-broadcast:focus, #calTbody .a-date.sublesson.live-broadcast:active {
    /* border: 1px solid var(--colord-live); */
}
#calTFooter .sublesson.live-broadcast h3.eventTitle {
    /* border-left: 2px solid var(--colord-live); */
}
#calTFooter .sublesson.live-broadcast .eventTimes{
    /* color: var(--colord-live); */
}
#calTFooter .sublesson.live-broadcast .eventTimes:after{
    /* content: "Live streaming"; */
    /* color: var(--colord-live); */
  /* margin-left: 12px; */
}
/* END стилизация события Прямой эфир*/

/* название тренинга в событиях календаря */
p.eventCourseTitle{
    display: block;
    padding: 8px 14px;
    border: 1px solid #373737;
    margin-top: 8px;
    color: #B9B9B9;
    font-family: "Roboto Mono";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

#calTFooter a.day-event-item:last-child {
    margin-bottom: 0!important;
}
/*END стилизация календаря */
