/* cyrillic-ext */
@font-face {
    font-family: 'OnySemimonoBeta';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(../fonts/OnySemimonoBeta-Regular.otf) format('opentype');
}
@font-face {
    font-family: 'OnySemimonoBeta';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/OnySemimonoBeta-Medium.otf) format('opentype');
}
@font-face {
    font-family: OnySemimonoBeta;
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(../fonts/OnySemimonoBeta-Bold.otf) format('opentype');
}


body {

    background-color: #e4e4e4;
}

.footer {
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.navbar-toggler {
    background-color: #7656C8;
    height: 52px;
    width: 52px;
    border-radius: 26px;
}

.navbar-toggler-icon {
    background-image: url("../img/menu.svg");
}

#main {
    margin-top: 25px;
}

.username {
    font-family: 'OnySemimonoBeta', Arial, serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 105%;
    text-transform: uppercase;
    color: #59585A;
    margin-bottom: 41px;
}

.app-description {
    font-family: 'OnySemimonoBeta', Arial, serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 120%;
    color: #59585A;
}

.list-view {
    margin-top: 16px;
}

.project-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 32px;

    padding-top: 27px;
    padding-bottom: 27px;
}

.project-item ol,  .project-item ul {
    padding-left: 16px;
}



.project-item__index {

    background-color: #7656C8;
    height: 44px;
    width: 44px;
    border-radius: 22px;
    color: #ffffff;

    font-family: 'OnySemimonoBeta', Arial, serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 112%;
    text-transform: uppercase;

}

.project-item__region {
margin-top: 16px;
}

.btn-vote {

    background-color: #7656C8;
    color: #ffffff;
    border-radius: 70px;
    text-transform: uppercase;

    font-family: OnySemimonoBeta, Arial, serif ;
    font-weight: 700;
    font-size: 69%;
    line-height: 160%;

}

#footer {
    background-image: url("../img/footer-bg_mob.png");
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;

    padding-top: 1rem !important;
    padding-bottom: 227px;
}

.footer-contacts a {
    font-family: 'OnySemimonoBeta', Arial, serif ;
    font-weight: 500;
    font-size: 32px;
    line-height: 105%;
    text-align: center;
    color: #59585A;
}

.footer-copy {
    font-family: 'OnySemimonoBeta', Arial, serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 112%;
    text-transform: uppercase;

    color: #59585A;
    margin-top: 72px;
}

.footer-menu {
    margin-top: 16px;
}

.footer-copy ul {
    padding-left: 0;
}

.footer-copy li {
    list-style: none;
}

.footer-copy a {
    font-family: 'OnySemimonoBeta', Arial, serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 112%;
    text-transform: uppercase;

    color: #59585A;
}

.collapse.navbar-collapse {
    justify-content: space-between;
}

.timeline_item {
    margin-left: 32px
}

.timeline {
    font-family: 'OnySemimonoBeta', Arial, serif;
    color: #59585A;
    font-weight: 700;
    font-size: 14px;
    line-height: 112%;
    text-transform: uppercase;
}

.timeline_item.active {
    padding-left: 30px;
    background-image: url("../img/arrow-right.svg");
    background-repeat: no-repeat;
}

.nav-link.btn.btn-link.logout {
    font-family: 'OnySemimonoBeta', Arial, serif;
    color: #59585A;

    font-weight: 700;
    font-size: 14px;
    line-height: 112%;
    text-transform: uppercase;
    border: 1px solid #59585A;
    border-radius: 70px;
    padding: 14px 20px;
}

.nav-link.btn.btn-link.logout img{
    margin-left: 8px;
}


@media screen and (min-width: 549px){

    #footer {
        background-image: url("../img/footer-bg.png");
        background-size: contain;
    }
}

@media screen and (max-width: 576px) {
    .modal-dialog {

        bottom: -1px;
        position: absolute;
        margin: 0;
    }

    .modal-content {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

.project-item p, .project-item li {
    font-weight: 400;
    line-height: 125%;
    letter-spacing: 0;
    font-size: 13px;
}

@media screen and (min-width: 1440px){
    .app-description {
        margin-bottom: 30px;
    }


    .project-item__region {
        width: 106px;
    }

    .project-item__title {
        width: 166px;
    }

    .project-item__description {
        width: 425px;
    }

    .project-item__content {
        width: 412px;
    }

    .project-item p {
        font-size: 13px;
        letter-spacing: 0;

    }

    .footer-copy {
        max-width: 230px;
    }

    .footer-copy ul {
        margin-top: 16px;
    }

    #footer {
        padding-bottom: 28px;
        padding-top: 196px !important;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1400px;
    }
}