:root{
    --grey: #313141;
    --rosy: #F7055C;
    --green: #7ABB2E;
}


.home-page{
    background: url('../img/redesign/home-bg.png') #E4E4F5;
    background-size: cover;
    background-position: top;
}

.home-page-main-banner{
    padding-top: 0;
    min-height: auto;
    display: flex;
    align-items:center;
    justify-content:center;
    flex-direction: column;
}

/* hero */

.hero{
    position:relative;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 200px;
    padding-bottom: 250px;
    display: flex;
    align-items:center;
    justify-content:center;
    font-family: 'Montserrat', sans-serif;
}

.hero__inner{
    max-width:640px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 70px;
}

.hero__top{
    font-size: 21.28px;
    line-height: 150%;
    /* font-weight: 500; */
    color: var(--grey);
    text-transform: uppercase;
}

.hero__sup{
    font-size: 49px;
    font-weight: 600;
    line-height: 122%;
    margin-top: 12px;
    color: var(--rosy);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.hero__logo{
    margin-top: -12px;
}

.hero__logo img{
    width: 93%;
    height: auto;
}

.hero__sub{
    font-size: 28px;
    line-height: 160%;
    font-weight: 500;
    color: var(--grey);
    margin-top: 10px;
}

.hero__bottom{
    font-size: 15px;
    line-height: 150%;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    color: var(--green);
    text-transform:uppercase;
}

.hero-char{
    position: absolute;
    left: 0;
    bottom: 0;
}

.hero-char svg{
    width: 100%;
    height: 100%;
}

.hero-char__hand,
.hero-char__wrist{
    animation-name: hand-waving; 
    animation-duration: 2s; 
    animation-timing-function: ease-in; 
    animation-iteration-count: infinite;
    transform-origin: bottom;
}

.hero-char__eye,
.hero-char__eyebrow{
    position: absolute;
    transition: transform .5s ease-in-out;
}

.hero-char__eyebrow{
    transform-origin: center;
}

.home-page-gradient{
    position: relative;
}

.home-page-gradient:before{
    content: '';
    position:absolute;
    top:0;
    left:0;
    right:0;
    margin:auto;
    width:100%;
    height:175px;
    background:linear-gradient(rgba(202, 202, 245, 1), rgba(217, 217, 252, 1), rgba(236, 236, 255, 0));
    z-index: -1;
}

.home-page-gradient .block{
    padding-top: 100px;
    padding-bottom: 100px;
}



.home-page-gradient .block--first{
    padding-top:200px;
}


.home-page-gradient .block-title{
    font-size: 48px;
    line-height: 150%;
    font-weight: 500;
    margin-bottom: 100px;
}

.home-calendar{
    max-width:1170px;
    margin:auto;
}

.calendar .flatpickr-day{
    color: #31489B;
    font-size: 24px;
    line-height: 150%;
}

.calendar .flatpickr-current-month .flatpickr-monthDropdown-months, 
.calendar .flatpickr-current-month input.cur-year{
    font-weight: 600;
    font-size: 24px;
    line-height: 160%;
}

.header > .container{
    max-width:1170px;
}

.nav__item{
    padding: 0 8px;
}

.swiper-navigation__btn{
    border-radius:50%;
    transition: all .3s ease-in;
}

.swiper-navigation__btn:hover{
    background-color: #31489B;
}

.home-page-gradient{
    z-index: 0;
    background: unset;
    opacity: 1;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg{
    display: none;
}

.flatpickr-prev-month,
.flatpickr-next-month{
    position:relative;
}

.calendar .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month:after, 
.calendar .flatpickr-months .flatpickr-next-month.flatpickr-next-month:after{
    content: '';
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    margin:auto;
    width:8px;
    height:14px;
    background: url('../img/redesign/calendar-arrow.svg'), transparent;
    background-position:center;
    background-repeat:no-repeat;
    opacity: 1;
}

.calendar .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month:after{
    transform: scaleX(-1);
}

.calendar .flatpickr-months .flatpickr-next-month.flatpickr-next-month:before, 
.calendar .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month:before{
    content: "";
    display: block;
    width: 3.4rem;
    height: 3.4rem;
    background: #31489b;
    opacity: .1;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    transition: all .4s;
}

.calendar .flatpickr-day.nextMonthDay{
    color: rgba(49,72,155,.2);
}


.calendar .flatpickr-calendar{
    box-shadow: rgba(121, 123, 175, 0.08);
}

.footer{
    background-color:#E4E4F5;
}

.footer-top{
    margin-bottom: 60px;
}

.useful-website-link__title{
    color:#767587;
    font-size: 12px;
    line-height: 130%;
}

.improvement-proposal__textarea{
    background:unset;
    border-bottom:1px solid #767587;
}

.improvement-proposal__textarea::placeholder{
    color: rgba(118,117,135,.3);
}

.footer-nav__item{
    color:#7E7383;
}

.hero-els{
    position:absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 400px;
    margin: auto;
    height:50px;
}

.hero-els__item{
    position: absolute;
    top:0;
    right:0;
    transition: transform 2s ease-in-out;
    animation-name: upDown;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.hero-els__orange{
    top: -100px;
    animation-delay: 1s;
}

.hero-els__green{
    top: -300px;
    right: -200px;
    animation-delay: 1.2s;
}

.hero-els__ball{
    top: -100px;
    right: -100px;
    animation-delay: 1.4s;
}

@keyframes upDown {
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-20%);
    }
    100%{
        transform: translateY(0);
    }
}


/* events */

.page-events{
    background-image: url('../img/redesign/events-bg.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: 120%;
}

.event-page-filter{
    justify-content: flex-end;
}

.event-list{
    display: flex;
    align-items: stretch;
    justify-content:flex-start;
    flex-wrap: wrap;
    gap: 30px 50px;
}

.event-list .event{
    width: calc(50% - 30px);
    margin-top: 0;
    padding: 20px 20px 0;
    border-bottom: 0;
}

.event-list .event:hover .event__title{
    text-decoration: underline;
}

.event-list .event-docs{
    display: none;
}

.event-list .event__img{
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 24px;
}

.event-list .event__img img{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-list .event__title{
    font-size: unset;
    margin-top: 18px;
    line-height: 120%;
    margin-bottom: 0;
    color: #313141;
    transition: all .3s ease-in;
    text-decoration: none;
	margin-bottom: 30px
}

.event-page-date{
    margin-bottom: 12px;
}

.event-list .event__date{
    font-size: 14px;
    line-height: 150%;
    color: #A6A5B9;
    padding-top: 8px;
    border-top: 1px solid #A6A5B9;
    margin-top: auto;
}

.event-list .event__title a{
    font-size: 20px;
    line-height: 120%;
    font-weight: 500;
    color: #313141;
}

.event-list .event__cats{
    display: flex;
    align-items:center;
    justify-content:flex-start;
    gap:5px 5px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.event-list .event__cat{
    padding: 4px 12px;
    background-color: rgba(121,123,175,.1);
    border-radius: 8px;
    color:#520288;
    font-size: 14px;
    line-height: 160%;
}

.events-top-text{
    font-size: 16px;
    line-height: 160%;
    color: #4F4A5F;
}

.event-page-top__main{
    padding-left: 100px;
}

.events-page-blocks .row:not(:first-child){
    margin-top: 50px;
}

.events-page-blocks iframe{
    width:100%;
    height:100%;
    min-height: 600px;
}

.event-page-img{
    position: relative;
    height:450px;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 50px;
}

.event-page-img img{
    position: absolute;
    width: 100%;
    height:100%;
    top: 0;
    right:0;
    bottom:0;
    left:0;
    margin: auto;
    object-fit: cover;
}

.event-page-title{
    margin-bottom: 0;
}

.event-page-title h1{
    margin-bottom: 0;
    font-size: 34px;
    line-height: 120%;
    font-weight: 500;
    max-width: 770px;
    width:100%;
}

.event-page-layout{
    margin-top: 130px;
}

.breadcrumbs{
    align-items: flex-start;
}

.breadcrumbs span{
    max-width:350px;
}

.mun-analyt .page-title{
    font-size: 40px;
    line-height: 60px;
    font-weight: 500;
}

.chart-mun-legend ul{
    flex-direction: column;
}

.chart-mun-legend li{
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 5px;
    cursor: auto !important;
}

.improvement-proposal__btn.disabled{
    opacity: .5;
    pointer-events: none;
}

.improvement-proposal__bottom p{
    line-height: 20px;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
}

.more-news{
    margin-top: 2rem;
}

@keyframes hand-waving {
    0%{
        transform: rotate(0);
    }
    50%{
        transform: rotate(-5deg) skew(2deg);
    }
    100%{
        transform: rotate(0);
    }
}

@media (min-width:1920px){
    .hero{
        padding-top: 250px;
    }
}

@media (min-width: 1560px) and (max-width: 2560px){
    .hero-char{
        left: -200px;
    }
}

@media (max-width: 1560px){
    .hero-char{
        max-width: 500px;
        left: -30px;
    }
}

@media (max-width: 1420px){
    .hero-char{
        left: -150px;
    }
}

@media (max-width: 1200px){

    .hero{
        padding-top: 150px;
    }

    .hero__top,
    .hero__sup,
    .hero__sub,
    .hero__bottom{
        text-align: center;
    }

    .hero__logo{
        display: flex;
        align-items: center;
        justify-content:center;
/*         margin-left: auto; */
/*         margin-right: auto; */
        margin-top: 5px;
    }

    .hero__inner{
        padding-bottom: 350px;
        padding-left: 0;
    }
    .hero-char{
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
}

@media (max-width: 980px){
    .event-page-top__main{
        padding-left: 0;
    }
    .event-page-img{
        height: 250px;
    }
    .event-page-layout{
        margin-top: 25px;
    }
}
@media (max-width: 990px){
    .chart-mun-legend ul{
        margin-top: 20px !important;
        flex-wrap: wrap;
        flex-direction: row !important;
    }
    .chart-mun-legend li{
        width: calc(50% - 10px);
    }
}

@media (max-width: 830px){
    .hero-els{
        display: none;
    }
}

@media (max-width: 768px){
    .event-list .event{
        width: 100%;
    }
    .event-page-title h1{
        font-size: 16px;
        line-height: 28px;
    }

    .home-page-gradient .block--first{
        padding-top: 5rem;
    }

    .home-page-gradient .block{
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .home-page-gradient .block-title{
        margin-bottom: 32px;
    }
}

@media (max-width: 620px){

    .hero__inner{
        max-width: 302px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__logo{
        max-width: 350px;
    }
	.hero__logo img {
		width: 100%;
	}
    .hero__sup{
        font-size: 27.7px;
        line-height: 122%;
        max-width: 302px;
        
        margin-left: auto;
        margin-right: auto;
    }
	.hero__top, .hero__sup, .hero__sub, .hero__bottom {
		text-align: left;
	}
    .hero__top{
        font-size: 12px;
        line-height: 150%;
    }
    .hero__sub{
        font-size: 16.2px;
        line-height: 160%;
    }
    .hero__bottom{
        font-size: 8.7px;
        line-height: 150%;
    }
}

@media (max-width: 480px){
    .event-page-img{
        height:140px;
        margin-top: 25px;
    }
    .page-events{
        background-size: 230%;
    }
    .events-page-blocks .row:not(:first-child){
        margin-top: 16px;
    }
}


@media (max-width: 470px){
    .hero__inner{
        padding-bottom: 250px;
    }

    .calendar{
        max-width: auto;
    }

    .home-page-gradient .block-title,
    .mun-analyt .page-title{
        font-size: 20px;
        line-height: 24px;
    }


    .calendar .flatpickr-current-month .flatpickr-monthDropdown-months, 
    .calendar .flatpickr-current-month input.cur-year,
    .calendar .flatpickr-day{
        font-size: 15px;
        line-height: 160%;
    }

    .event-list .event__img{
        height:280px;
    }
}

@media (max-width: 420px){
    .hero__inner{
        padding-bottom: 250px;
    }

    .hero-char{
        max-width: 370px;
        margin: 0;
    }

    .hero__inner{
        padding-bottom: 150px;
    }
}

@media (max-width: 390px){
    .event-list .event__img{
        height: 200px;
    }
    .chart-mun-legend li{
        font-size: 12px !important;
    }
}

#loginform {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 3rem;;
	max-width: 570px;
}

#loginform .login-username label, #loginform .login-password label {
/* 	display:none; */
}
#loginform .input {
	height: 4rem;
  border: none;
  border-bottom: 1px solid #c6c6cd;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  max-width: 100%;
}
#loginform .login-remember, #loginform .login-submit {
	grid-column: 1 / -1;
}

#loginform .button  {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  min-height: 5rem;
  border-radius: .8rem;
  background: #31489b;
  color: #fff;
  border: none;
  width: 270px;
  max-width: 100%;
  padding: .5rem;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all .4s;
  cursor: pointer;
  font-family: Montserrat;
  grid-column: 1/3;
}
@media (max-width: 575px) {
  #loginform {
    grid-template-columns: 1fr;
  }
}



