

/* Календарь событий */

.current-page-events {display:none}

.mini-cal{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 15px;
    font-family: var( --family);
    padding-bottom: 1.2em;
    background: var( --main-fon);
    box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.15);
    color: var( --main-text);
    border-radius: 10px;
}

.kalendar_zagolovok {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  color: var( --main-text);
}

/*блок календаря с текущей датой и кнопками навигации*/
#calTitle{
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    font-size: 1.12em;
    font-family: var(--family);
    text-align: center;
    padding: 0.4em 1em;
    padding-top: 0.8em;
    border-radius: 10px 10px 0 0 ;
    border-left: 1px solid #B7B7B7;
    border-right: 1px solid #B7B7B7;
    border-top: 1px solid #B7B7B7;
}

#calTitle_month {
    display: flex;
    align-items: end;
    justify-content: space-evenly;
}

#monthYear {
    font-size: 23px;
    font-weight: bold;
}

/*стрелки вправо/влево*/
#calTitle button{
    outline: none;
    display: block;
    border: 0.1em solid #ddd;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--main-fon);
}

#calTitle button svg{
    width: 30px;
    height: 30px;
}

#calTitle button svg path {
    stroke: var( --main-text);
}

#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_disabled {
    opacity: 0.5;
}

/*блок календаря с датами и днями недели*/
#full_calender {
    padding: 30px;
    border-radius: 0 0 10px 10px;
    border-left: 1px solid #B7B7B7;
    border-right: 1px solid #B7B7B7;
    border-bottom: 1px solid #B7B7B7;
}

#calThead, 
#calTbody{
    display: flex;
    flex-wrap: wrap;
    padding: 0.1em;
}

/*Дни недели*/
#calThead{
    color: var(--main-text);
    font-family: var(--family);
    font-weight: 600;
    font-size: 15px;
    margin-top: 0;
    align-items: center;
    text-align: center;
    text-transform: lowercase;
}

#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;
}

#calThead > div{
    font-size: 1.1em;
    padding: 0.2em 0.2em;
}

/*Даты*/
#calTbody{
    color: var(--main-text);
    font-weight: 500;
}

#calTbody .a-date > span{
    display: block;
    font-size: 1em;
}

#calTbody .a-date{
    cursor: default;
    padding: 0;
    position: relative;
    background-color: transparent;
    color: inherit;
    padding: 1em;
    border: 0.1em solid transparent;
    outline: none;
    font-size: 0.9em;
    border-radius: 50%;
}

#calTbody .a-date.blurred{
    opacity: 0.5;
    pointer-events: none;
}

#calTbody .a-date.event:before{
    content: '';
    position: absolute;
    top: 0.2em;
    right: 0;
    left: 0;
    margin: auto;
    background-color: var(--main-btn);
    width: 0.3em;
    height: 0.3em;
    border-radius: 50%;
}

/*Текущий день*/
#calTbody .a-date.current{
    border-color: var(--main-btn);
    outline: none;
    outline: 0;
}

/*Текущий день и в нём есть событие*/
#calTbody .a-date.current.event{
    background-color: var(--main-btn);
    color: #ffffff;
}

/*день, на который кликнули и в котором есть событие*/
#calTbody .a-date:focus,
#calTbody .a-date:active{
    background: var(--main-btn);
	border: 1px solid var(--main-btn);
  color: #ffffff;
}

/*подвал*/
#calTFooter_event {
    margin-top:20px;
    padding: 1.4em 1em;
    border-radius: 10px;
    border: 1px solid #B7B7B7;
}

/*события в подвале*/
#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: 0.5em;
}

#calTFooter #calLink{
    font-size: 0.8em;
    display: inline-block;
    padding: 0.6em 0.8em;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--main-text);
}

#calTFooter #calLink:hover{
    background-color: #555;
}

/*ссылка на события в подвале*/
#calTFooter a.day-event-item {
    color: var(--main-text);
}

#calTFooter h3.eventTitle{
    margin: 0;
    margin-right: 0.1em;
    font-weight: normal;
    font-size: 16px;
    padding-top: 10px;
    white-space: normal;
    overflow: hidden;

}

/*Заголовок подвала*/
#calTFooter_event #eventTitle_today {
    font-size: 19px;
    font-family: var(--family);
}

/*Название события*/
span.eventTitle {
    padding-left: 10px;
    font-size: 15px;
}


/*Минизаголовок на странице*/
.kont_miniheader {
  margin-bottom: 25px;
  display: flex;
}
.kont_miniheader div:nth-child(2){
  padding-left: 0px;
  margin-left: -60px;
}
.miniheader {
  font-family: var(--family);
  font-weight: 500;
  font-size: 22px;
  color: var(--main-text);
}

.kont_miniheader hr {
    margin-top: 16px;
    margin-bottom: 15px;
    border: 0;
    border-top: 2px solid #B7B7B7;
}
.kont_miniheader .col-gc-3 {
        width: 29%;
    }

@media (min-width: 992px) {
  .kont_miniheader .col-gc-3 {
        width: 29%;
    }
}

@media (max-width:1340px){
  .kont_miniheader div:nth-child(2) {
    margin-left: -50px;
    width: 77%;
}
}
@media (max-width: 1260px) {
    .kont_miniheader div:nth-child(2) {
        margin-left: -20px;
        width: 70%;
    }
}
@media (max-width: 1150px) {
    .kont_miniheader div:nth-child(2) {
        margin-left: 0px;
        width: 65%;
    }
}
@media (max-width: 991px) {
  .kont_miniheader .col-gc-3 {
        width: 33%;
    }
}

@media (max-width: 890px) {
    .kont_miniheader .col-gc-3 {
        width: 40%;
    }
}

@media (max-width: 667px) {
    .kont_miniheader .col-gc-3 {
        width: 46%;
    }
}

@media (max-width: 600px) {
  .kont_miniheader {
    margin-bottom: 10px;
} 
    .kont_miniheader .col-gc-3 {
        width: 55%;
}
}
@media (max-width: 548px) {
    .kont_miniheader .col-gc-3 {
        width: 60%;
    }
}
@media (max-width: 521px) {
.kont_miniheader .col-gc-3 {
        width: 75%;
}
.miniheader {
    font-size: 20px;  
}
}

@media (max-width: 440px) {
    .miniheader {
        font-size: 18px;
    }
}
@media (max-width: 400px) {
    .kont_miniheader .col-gc-3 {
        width: 82%;
  }
}

@media (max-width: 382px) {
    .miniheader {
        font-size: 16px;
    }
}


/*кнопки Телеграм*/
.tg .btn {
  box-shadow: inset 10px 10px 35px 0 rgba(255, 255, 255, 0.4), 0 3px 20px 0 rgba(0, 0, 0, 0.15);
  background:var(--main-fon);
  border-radius: 10px;
  height: 90px;
  font-family: var(--family);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  color: var(--main-text);
   -webkit-transition: all .5s;
-o-transition: all .5s;
	transition: all .5s; 
}

.tg .btn:hover {
    box-shadow: 0 5px 29px 0 rgba(0, 0, 0, 0.15), inset 10px 10px 35px 0 rgba(255, 255, 255, 0.4), 0 3px 20px 0 rgba(0, 0, 0, 0.15);
    background: var(--main-fon-2);
    color: var(--main-text-2);
}
.tg .btn .fa-solid {
  color: var(--main-fon-2);
  margin-right:10px;
    -webkit-transition: all .5s;
-o-transition: all .5s;
	transition: all .5s;
}

.tg .btn:hover .fa-solid {
  color: var(--main-text-2);
  margin-right:10px;
}

