﻿/*******************MOBILE******/

@media screen and (max-width: 767px) {
    /*************************houses-view********************************************/
    .cooperative-outer-container {
        position: relative;
        top: 0;
        width: 100%;
        height: auto !important;
    }

    .cooperatives_header {
        position: relative;
        width: 100vw;
        height: 55vh;
        box-shadow: 0 4px 6px rgba(0,0,0, 0.1);
    }

        .cooperatives_header:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(to bottom, rgba(43,80,67, 0.9), rgba(43,80,67, 0.8)), url(../Images/banner_xs.jpg);
            background-size: cover;
            /*filter: blur(2px);*/
        }

        .cooperatives_header .container {
            position: relative;
            height: 100%;
            display: grid;
            grid-template-columns: 1fr;
        }

    .logoContainer {
        grid-column: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: baseline;
        color: #F4DC02;
    }

    .logo-cooperatives {
        margin-right: 15px;
    }

        .logo-cooperatives .material-icons {
            font-size: 7rem;
        }

    .logoContainer .descriptor {
        font-size: 3rem;
        text-align: center;
    }

    .nav-cooperatives {
        grid-column: 1;
        padding-top: 5px;
        align-self: flex-end;
    }

        .nav-cooperatives ul {
            display: flex;
            padding-left: 0;
            flex-direction: column;
            align-items: center;
        }

    .nav-item {
        width: 250px;
    }

    .nav-item,
    .nav-item a {
        color: #fff;
    }

        .nav-item a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 85%;
        }

            .nav-item a span:first-child {
                text-transform: uppercase;
                font-size: 1.6rem;
                margin-right: 10px;
            }

            .nav-item a .material-icons {
                color: #F4DC02;
                opacity: 0.5;
            }

        .nav-item .dropdown {
            padding: 20px 40px 0 0;
            height: 0;
            overflow: hidden;
            color: rgba(255,255,255, 0.9);
        }

        .nav-item .dropdown {
            opacity: 0;
            visibility: hidden;
            transition: all ease-in-out 0.3s;
        }

        .nav-item a:hover {
            text-decoration: none;
        }

    .cooperatives main {
        position: relative;
        width: 100%;
        height: 100%;
        background: #fff;
    }

        .cooperatives main:before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: calc((100vw - 1170px) / 2 + 1170px * 0.25);
            height: calc(100vh - 300px);
            background: #fbfbfb;
        }

    .shortDescriptionContainer {
        position: relative;
        height: auto !important;
        padding: 30px 0 0;
    }

        .shortDescriptionContainer figure {
            position: relative;
        }

    .defaultImg {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-content: space-evenly;
        align-items: center;
        height: 40vh;
        box-shadow: 0 0 0 3px #c3c3c3, 0 0 4px rgba(0,0,0, 0.2), 6px 6px 30px rgba(0,0,0, 0.2), 6px 6px 50px rgba(0,0,0, 0.1);
    }

        .defaultImg .material-icons {
            transform: scale(6);
            opacity: 0.05;
        }

    .defaultImg-description {
        color: #c3c3c3;
        font-size: 2rem;
    }

    .shortDescriptionContainer figure img {
        position: relative;
        width: 100%;
    }

    .carousel {
        box-shadow: 0 0 0 5px #fff, 0 0 4px rgba(0,0,0, 0.2), 6px 6px 30px rgba(0,0,0, 0.2), 6px 6px 50px rgba(0,0,0, 0.1);
    }

    .currentHouseAddress {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
        margin-top: 18px;
    }

        .currentHouseAddress .material-icons {
            color: #777;
        }

    .currentAdminDistrict {
        color: #777;
        font-size: 1.4rem;
    }

    .cooperatives .list-group-item {
        color: #777;
        border-width: 0 0 1px 0;
        display: flex;
        justify-content: space-between;
        padding: 8px 0 !important;
    }

    .cooperatives .item-star {
        justify-content: flex-start;
        border-color: transparent;
        margin-left: 5px;
        min-width: 90px;
        font-size: 1.2rem;
    }

    .cooperatives .item-starTotal {
        margin: 0;
        font-size: 1.4rem;
        padding: 0 0 35px !important
    }

    .cooperatives .item-star .fa-star {
        margin-left: 3px;
    }

    .cooperatives .fa-star.checked {
        color: #ffcc00;
    }

    .ratingReview {
        font-size: 1.6rem;
    }

    .houseDoclink {
        width: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }

        .houseDoclink:hover,
        .houseDoclink:active,
        .houseDoclink:focus {
            color: #424242;
            text-decoration: none;
        }

    .cooperatives .list-group-item:hover {
        box-shadow: unset;
        cursor: text;
    }

    .shortDescriptionContainer article,
    .shortDescriptionContainer aside {
        position: relative;
        height: 100%;
    }

    .shortDescriptionContainer aside {
        /*padding: 150px 0 15px 40px;*/
        padding: 100px 15px 200px 15px;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

        .shortDescriptionContainer aside .questionBlock {
            display: grid;
            margin-bottom: 20px;
        }

    .questionBlock span:first-child {
        font-size: 1.4rem;
        padding-bottom: 15px;
        color: #777;
    }

    .questionBlock span:last-child {
        color: #424242;
        line-height: 1.3;
        font-size: 2.2rem;
    }

    .voteContainer .input-group {
        margin: 25px 15px;
        display: flex;
        justify-content: center;
        align-items: baseline;
        width: calc(50% - 30px);
        float: left;
        color: #777;
    }

    .voteContainer div.input-group:first-child {
        margin-top: 25px;
    }

    .voteContainer .input-group input {
        margin-right: 10px;
    }

    .voteContainer label {
        padding: 0 5px 5px;
        font-size: 2rem;
    }

    .voteContainer .btn {
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
        margin-top: 40px;
        width: 70%;
        height: 45px;
        color: #424242;
        background: #F4DC02;
        box-shadow: 4px 4px 4px rgba(0,0,0, 0.15), 4px 4px 15px rgba(0,0,0, 0.15), 4px 4px 30px rgba(0,0,0, 0.15);
        transition: all ease-in-out 0.3s;
    }

        .voteContainer .btn:hover {
            background: #ffe712;
            box-shadow: 4px 4px 4px rgba(0,0,0, 0.1), 4px 4px 15px rgba(0,0,0, 0.1), 4px 4px 30px rgba(0,0,0, 0.1);
            transition: all ease-in-out 0.3s;
        }

    .voteResult {
        display: none;
        padding: 0;
    }

        .voteResult span {
            color: #777;
        }

    /*.shortDescriptionContainer article {
        padding-left: 0;
    }*/

    .getfullDescription {
        background: none;
        border: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1.8rem;
        color: #424242;
        padding: 5px 15px;
        border: 1px solid #424242;
        margin-top: 60px;
    }

        .getfullDescription:hover,
        .getfullDescription:focus,
        .getfullDescription:active {
            text-decoration: none;
            outline: none;
            color: #424242;
        }

        .getfullDescription span:first-child {
            margin-right: 10px;
        }

    .fullDescriptionContainer {
        min-height: 100vh;
        height: auto;
        margin-top: 60vh;
        position: relative;
    }

        .fullDescriptionContainer:before {
            content: "account_balance";
            font-family: 'Material Icons';
            position: absolute;
            top: -30vh;
            width: 100%;
            display: flex;
            justify-content: center;
            transform: scale(20);
            opacity: 0.05;
        }

        .fullDescriptionContainer header h2 {
            margin: 0 0 30px 0;
            padding: 0 15px;
            color: #777;
            text-align: center;
            font-size: 2.4rem;
        }

        .fullDescriptionContainer .row {
            display: flex;
            flex-wrap: wrap;
        }

    .fullDescriptionContainer_chapter {
        padding: 30px 15px;
        position: relative;
        width: 100%;
    }

        .fullDescriptionContainer_chapter:before {
            position: absolute;
            content: "";
            top: 40px;
            left: 30px;
            height: 1px;
            width: calc(100% - 60px);
            background: #424242;
        }

        .fullDescriptionContainer_chapter .chapter-name {
            font-weight: 600;
            padding-bottom: 20px;
            color: #424242;
            text-transform: uppercase;
            width: auto;
            background: #fff;
        }

    .debt_chapter::before {
        background: red;
    }

    .debt_chapter .chapter-name {
        color: red;
    }

    .fullDescriptionContainer_chapter .fa-star:not(.checked) {
        color: #777;
    }

    .fullDescriptionContainer table {
        color: #777;
        width: 100%;
    }

        .fullDescriptionContainer table tr td {
            padding: 5px 0;
        }

            .fullDescriptionContainer table tr td:first-child {
                font-size: 1.6rem;
            }

            .fullDescriptionContainer table tr td:last-child {
                color: #424242;
                padding-left: 15px;
                /*text-align: right;*/
                min-width: 110px;
            }

    .fullDescriptionContainer.house1-fulldesc table tr td:last-child {
        text-align: right;
    }

    .fullDescriptionContainer table tr td.debt_value:last-child {
        color: red;
    }

    .fullDescriptionContainer table tr td ul {
        padding: 0;
    }

    .fullDescriptionContainer .large_chapter tr ul li .phoneNumb {
        display: inline-block;
    }

    .fullDescriptionContainer .large_chapter tbody {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .fullDescriptionContainer .large_chapter tr {
        display: grid;
        grid-template-columns: 1fr;
        padding-top: 40px !important;
        border-bottom: 1px solid #ececec;
        height: 100%;
    }

        .fullDescriptionContainer .large_chapter tr:last-child {
            border-bottom: none;
        }

        /*.fullDescriptionContainer .large_chapter tr:nth-child(odd) {
            padding: 0 15px 0 0;
        }

        .fullDescriptionContainer .large_chapter tr:nth-child(even) {
            padding: 0 0 0 15px;
        }*/

        .fullDescriptionContainer .large_chapter tr ul li {
            color: #777;
            padding: 3px 0;
        }

            .fullDescriptionContainer .large_chapter tr ul li:first-child {
                padding-top: 10px;
            }

    /*.mfp-figure {
        max-width: calc(100vw - 150px);
    }*/
    .mfp-container {
        min-height: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }
    img.mfp-img {
        padding: 0;
    }
    .mfp-bottom-bar {
        position: relative;
        top: unset;
        margin: 0;
    }
    .mfp-figure figure {
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    .mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close {
        position: fixed;
        opacity: 1;
        color: #fff;
        filter: drop-shadow(2px 4px 2px black) drop-shadow(2px 4px 10px black);
    }

    .mfp-figure:after {
        height: 100%;
    }
    .cooperatives .upScroll {
        float: right;
        width: 50px;
        height: 50px;
        margin-bottom: 50px;
        border-radius: 50%;
        box-shadow: 0 0 4px #fff, 0 0 20px rgba(0,0,0, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        background: #424242;
        color: #f4dc02;
        animation: 2.5s ease-in-out infinite dribbleBtn;
    }

    @keyframes dribbleBtn {
        0% {
            box-shadow: 0 0 4px #fff, 0 0 6px rgba(0,0,0, 0.3);
        }

        50% {
            box-shadow: 0 0 4px #fff, 0 0 20px rgba(0,0,0, 0.5);
        }

        100% {
            box-shadow: 0 0 4px #fff, 0 0 12px rgba(0,0,0, 0.5);
        }
    }

    .cooperatives .upScroll:active,
    .cooperatives .upScroll:hover,
    .cooperatives .upScroll:focus {
        text-decoration: none;
    }
    #Login .modal-content,
    .entrance-form .modal-content {
        margin: 0 !important;
    }
}

/********************************DESKTOP*********************************/

@media only screen and (min-width: 768px) {
    /*.mfp-image-holder .mfp-content {
        height: 100%;
    }*/
    .mfp-figure figure {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .mfp-figure:after {
        content: none;
    }
    img.mfp-img {
        width: 100%;
    }
    .mfp-figure figure figcaption {
        padding: 30px 20px;
        margin: 50px 0 20px;
        max-width: 30%;
    }
    .mfp-bottom-bar {
        position: static;
        margin: 0;
    }
    .mfp-counter {
        top: 100px;
        right: 0px;
        font-size: 2rem;
    }
    .mfp-arrow {
        filter: drop-shadow(0 0 15px rgba(0,0,0, 0.8));
    }
    .nav_bookmark {
        width: 70px;
        height: 35px;
        position: relative;
        top: -23%;
        left: -5px;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
        border-radius: 0;
        border: none;
        background: #8d6ca0;
        transition: all ease .5s;
    }

    .nav_bookmark:before {
        content: '';
        position: absolute;
        top: 5px;
        right: -12.37px;
        width: 24.74px;
        height: 24.74px;
        transform: rotateZ(45deg);
        background: #8d6ca0;
        z-index: -1;
        border-top-left-radius: 2px;
        border-bottom-right-radius: 2px;
    }

    .icon-nav-menu:hover .nav_bookmark, .nav_bookmark:hover {
        left: -120px;
        transition: all ease 0.7s;
    }

    .nav_bookmark .material-icons {
        color: #fff;
        position: absolute;
        top: 50%;
        left: 70%;
        transform: translate(-50%, -50%);
        font-size: 28px;
    }

    .navbar-inverse, .navbar {
        min-height: 40px;
    }

    .navbar-nav {
        box-sizing: border-box;
        float: right;
    }

    .body-content {
        /*top: 50px;*/
        top: 100px;
    }


    footer {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 25px;
        background: #026b02;
        color: #fff;
        font-size: x-small;
        z-index: 2;
    }

        footer p {
            line-height: 25px;
            padding-left: 10px;
        }
    /*.logo {
        margin: 3px 0 3px 10px;
    }*/
    .logo-mobile {
        display: none;
    }

    .logo-loginView {
        display: block;
        width: 6rem;
    }

    .logo img {
        width: 60px;
        height: 60px;
        top: -3px;
        padding: 0px;
        margin-left: 10px;
    }

    .main-menu ul li {
        padding: 10px 20px;
        font-size: 14px;
    }

    #backlayer-logo:before {
        content: "";
        /*width: 350px;
        height: 40px;*/
        width: 500px;
        height: 100px;
        position: absolute;
        top: 0;
        /*left: -25px;
        background: rgba(25, 149, 25, 1);*/
        left: -51px;
        background: linear-gradient(to right bottom, #9b82af, #480358);
        transform: skewX(45deg);
        z-index: 4;
    }

    .navbar-header p {
        color: #6db460;
        font-weight: 500;
        top: 18px;
        left: 115px;
        width: auto;
        /*line-height: 20px;*/
        letter-spacing: 1.1px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        z-index: 5;
    }

        .navbar-header p > span {
            position: absolute;
            /*line-height: 20px;*/
            bottom: -26px;
            left: 0px;
            position: absolute;
            /*font-size: 27px;*/
            font-size: 2.3rem;
            font-weight: 500;
            width: 130px;
        }

    .navbar-brand {
        line-height: 14px;
        /*margin-left: 360px !important;*/
        /*line-height: 40px !important;*/
        line-height: 30px !important;
        padding: 0;
        letter-spacing: 0.3px;
    }

    .navbar-header p > a {
        /*font-size: 27px;*/
        font-size: 2.3rem;
    }

    .navbar-collapse .navbar-left {
        position: relative;
        width: max-content;
        float: none;
        top: 0;
        margin: 0;
        left: -7px;
        transition: all ease-in-out 0.5s;
    }

    .dropdown-nav-menu {
        position: absolute;
        top: 0;
        /*left: -105px;*/
        left: 10px;
        background: transparent;
        z-index: 3;
        height: 100px;
        display: block;
        /*background: linear-gradient(to right, #ddd, #026b02);*/
    }

        .dropdown-nav-menu:hover {
            width: calc(100% - 330px);
            overflow-x: scroll;
            overflow-y: hidden;
            scrollbar-width: none;
        }

        .dropdown-nav-menu::-webkit-scrollbar {
            display: none;
        }

        .dropdown-nav-menu:hover .nav > .project-item {
            left: 395px;
            font-size: 14px;
            /*filter: brightness(0.9);*/
            overflow: hidden;
            /*transition: all .3s ease;*/
        }

            .dropdown-nav-menu:hover .nav > .project-item .material-icons > img,
            .dropdown-nav-menu .nav > .project-item .material-icons > img {
                height: 34px;
                position: relative;
                top: -8px;
            }

            .dropdown-nav-menu:hover .nav > .project-item:nth-child(1) .material-icons > img,
            .dropdown-nav-menu .nav > .project-item:nth-child(1) .material-icons > img {
                /*background: #178717;*/
                background: #8d6ca0;
            }

            .dropdown-nav-menu:hover .nav > .project-item:nth-child(2) .material-icons > img,
            .dropdown-nav-menu .nav > .project-item:nth-child(2) .material-icons > img {
                /*background: #1a7d1a;*/
                background: #835e96;
            }

    a.dropdown-nav-menu-arrow {
        position: fixed;
        top: 20px;
        z-index: 5000;
        color: #fff;
        font-size: 50px;
        /*display:none;*/
    }

        a.dropdown-nav-menu-arrow > span {
            color: #6db460;
            filter: drop-shadow(2px 4px 4px rgba(0,0,0, 0.3)) drop-shadow(2px 4px 8px rgba(0,0,0, 0.3))
        }

        a.dropdown-nav-menu-arrow.dropdown-nav-menu-arrow-left {
            left: 475px;
        }

        a.dropdown-nav-menu-arrow.dropdown-nav-menu-arrow-right {
            right: 280px;
        }

    .dropdown-sub-menu {
        position: relative;
        height: 0;
    }

        .dropdown-sub-menu ul {
            visibility: hidden;
            padding-top: 10px;
            padding-left: 0;
            text-align: center;
            position: absolute;
            width: 100%;
        }

    .li-menu {
        padding: 5px 0;
        /*background: rgba(23, 135, 23, 0.9);*/
        background: linear-gradient(to right bottom, #9b82af, #480358);
        box-shadow: -2px -2px 4px rgba(255,255,255, 0.7), 2px 2px 4px rgba(108, 57, 125, 0.5), 4px 4px 20px rgba(94, 36, 111, 0.3);
        border-radius: 30px;
        margin-top: 12px;
        color: #fff;
    }

        .li-menu:hover {
            /*background: #146a14;*/
            color: #ccc;
            cursor: pointer;
            box-shadow: -2px -2px 4px rgba(255,255,255, 0.7), 2px 2px 4px rgba(0,0,0, 0.3), 4px 4px 12px rgba(94, 36, 111, 0.7);
        }

    .project-item:hover .dropdown-sub-menu {
        height: auto;
        width: 215px;
        position: absolute;
        right: 0;
        background: transparent;
        transition: all 0.2s ease-in-out 0.2s;
    }

        .project-item:hover .dropdown-sub-menu ul {
            visibility: visible;
            transition: all 1s ease-in-out 0.1s;
        }

    .icon-nav-menu {
        display: block;
        position: absolute;
        left: 0;
        color: #b5b5b5;
        font-size: 25px;
        line-height: 90px;
        padding: 0 5px 0 0;
        z-index: 11;
        height: 170%;
        width: 98px;
    }

        .icon-nav-menu span {
            vertical-align: middle;
            top: 0px;
            display: block;
            padding-top: 20px;
            padding-left: 0;
            position: relative;
            height: 100%;
        }


        .icon-nav-menu:hover + .main-menu, .main-menu:hover {
            left: 0;
            transition: all 0.8s ease;
            transition-delay: 0.5s;
        }

        .icon-nav-menu:hover {
            cursor: pointer;
            /*background: #146a14;*/
        }

    .main-menu {
        position: absolute;
        top: 88px;
        left: -200px;
        width: 200px;
        height: 250px;
        display: flex;
        align-items: center;
        z-index: 12;
    }

    .nav-head-items {
        position: relative;
        width: 100%;
        display: none;
    }

    .nav .project-item {
        /*width: auto;*/
        width: 200px;
        display: inline-block;
    }
        /*.nav .project-item:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #6db460;
        opacity: 0.3;
        z-index: 1;
    }
    .nav .project-item:hover:before {
        opacity: 0;
        transition: 1s ease all;
        display: none;
    }*/

        .nav .project-item:first-child a {
            padding-right: 85px;
        }

        /*общий стиль до 8 блоков*/

        .nav .project-item:nth-child(n) {
            position: relative;
            background: #ccc;
            left: -90%;
            z-index: 6;
        }

        .nav .project-item:first-child {
            background: #8d6ca0;
            padding-left: 47px;
            left: 320px;
            z-index: 10;
        }

        .nav .project-item:nth-child(2) {
            /*background: #1a7d1a;*/
            background: #835e96;
            left: 192px;
            z-index: 9;
        }

        .nav .project-item:nth-child(3) {
            /*background: #147514;*/
            background: #7e5691;
            left: 60px;
            z-index: 8;
        }

        .nav .project-item:nth-child(4) {
            /*background: #126912;*/
            background: #774b89;
            left: -75px;
            z-index: 7;
        }

        .nav .project-item:nth-child(5) {
            /*background: #116111;*/
            background: #714283;
            z-index: 6;
            left: -210px;
        }

        .nav .project-item:nth-child(6) {
            /*background: #075607;*/
            background: #6d3c7f;
            z-index: 5;
            left: -340px;
        }

        .nav .project-item:nth-child(7) {
            background: #663877;
            z-index: 4;
            left: -480px;
        }

        .nav .project-item:nth-child(8) {
            /*background: #024102;*/
            background: #60336d;
            z-index: 3;
            left: -625px;
        }

        .nav .project-item:nth-child(9) {
            background: #5a2768;
            z-index: 2;
            left: -765px;
        }
        /*.nav .project-item:hover {
        filter: brightness(0.85) 
                drop-shadow(1px 1px 0px rgba(255,255,255, 0.15)) 
                drop-shadow(4px 4px 15px rgba(0,0,0, 0.3));
    }*/
        .nav .project-item a {
            padding: 40px 86px 40px 15px;
            text-align: center;
            color: #fff !important;
            /*border-right: rgba(255,255,255, 0.05);*/
        }

            .nav .project-item a .material-icons {
                position: absolute;
                bottom: 8px;
                /*bottom: 28px;*/
                right: 16px;
                font-size: 36px;
                line-height: 90px;
            }

    .nav li {
        border: none;
        border-right: 1px solid rgba(255,255,255, 0.05);
    }

    .nav .project-item a:hover, .nav .project-item a:focus,
    .nav .project-item a:active {
        position: relative;
        cursor: pointer;
        /*font-weight: 600;*/
    }

        .nav .project-item a:hover > i.material-icons > img {
            height: 25px;
        }


    .dropdown-nav-menu:hover .nav > .project-item:before {
        position: absolute;
        content: '';
        top: 50%;
        transform: translateY(-50%);
        right: -10px;
        height: 50%;
        width: 3px;
        background: #6db460;
        transition: all ease 0.3s;
    }

    .dropdown-nav-menu:hover .nav > .project-item:hover:before {
        right: 5px;
        transition: all ease 0.3s;
    }

    .dropdown-nav-menu:hover .nav > .project-item a:hover .material-icons {
        color: #fff !important;
    }

    .navbar-collapse .navbar-right {
        margin: 0;
        width: auto;
        position: fixed;
        z-index: 1500;
        right: 20px;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
    }

        .navbar-collapse .navbar-right li {
            float: right;
            /*line-height: 100px;*/
            text-align: center;
        }

    #loginLink, #logoutLink {
        top: 0;
        display: inline-block;
        font-size: 1.2rem;
        padding: 10px 9px 10px 10px !important;
        opacity: 0.7;
    }

    .text-login {
        display: none;
    }

    #userLogin {
        font-size: 1.2rem;
        padding-right: 0 !important;
        padding-left: 0 !important;
        /*padding-left: 20px !important;
        text-transform: uppercase;*/
        /*max-width: 200px;*/
    }

    .navbar-right > li > a {
        padding: 10px 9px 10px 10px !important;
    }

    .modal-dialog {
        /*top: 10px;*/
        right: unset;
        height: fit-content;
        width: 300px;
    }

    .entrance-form .modal-content {
        width: 600px;
        border-radius: 4px;
    }

    #linksForm .modal-content {
        width: 80%;
        max-width: 800px;
        border-radius: 0px;
    }

    #linksForm .modal-body {
        padding: 30px;
    }

        #linksForm .modal-body .row .input-group[class*="col-"] {
            padding: 10px;
        }

    #linksForm .enter-input-group > a {
        width: auto;
        height: 100px;
    }

    #linksForm .modal-body .input-group a > img {
        height: auto;
        max-height: 130px;
        width: 100%;
    }

    #linksForm .enter-input-group > a:before {
        font-size: 1.6rem;
        text-shadow: 0 0 50px #333;
    }

    #statisticForm .modal-header {
        padding: 20px 10px 10px;
    }

    #statisticForm .modal-dialog {
        width: 400px;
    }

    #statisticForm .modal-content {
        max-height: 97vh;
    }

    #statisticForm .modal-body {
        padding: 0 15px;
    }


    #statisticForm .filterContainer > .form-group {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 0;
    }

    #statisticForm .input-group > select > option {
        background: #f2ecf5;
        color: #712986;
    }

    #statisticForm .filterContainer > .form-group > .form-inline {
        display: flex;
        align-items: center;
    }

    #statisticForm .input-group {
        width: auto;
        margin-bottom: 0;
    }

    #stat-show {
        margin-left: 30px;
        max-width: 200px;
        padding: 6px;
    }

    #statisticForm .modal-dialog {
        width: 1000px;
        min-width: 90%;
        max-width: unset;
    }

    .descr {
        width: 35px;
        font-size: 1.3rem;
    }

    .form-control[disabled]::after, #stat-show[disabled]::after {
        content: "";
        top: -4px;
        left: -2px;
        width: calc(100% + 10px);
        height: calc(100% + 10px);
        background: #f2ecf5;
        position: absolute;
        transition: all ease 0.7s;
    }



    #linksForm .modal-header {
        padding: 30px 10px 20px;
    }

        #linksForm .modal-header .close {
            top: -24px;
        }

    #modal-projects .modal-dialog {
        top: 20px;
        right: unset;
        left: 50px;
        height: fit-content;
        width: 500px;
    }

    #modal-projects .modal-body {
        padding-top: 10px;
    }

    .TOC {
        left: 50px;
        min-height: 0;
    }

    .layer-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .main-search-panel {
        /*width: 320px;*/
        width: 400px;
        position: fixed;
        top: 120px;
        right: 80px;
        z-index: 1;
    }

        .main-search-panel .container {
            width: 100%;
        }

        .main-search-panel .panel-footer {
            width: 345px !important;
            max-width: 350px;
        }

    .tollbar-first-item {
        padding-top: 140px;
    }

    .map-toolbar {
        width: 60px;
    }

        .map-toolbar .glyphicon-menu-left.selected {
            top: 143px;
            right: 11px;
            color: #777;
            text-shadow: none;
        }

        .map-toolbar .glyphicon-menu-left {
            right: 11px;
            top: 143px;
            font-size: 34px;
        }

    .main-search-panel .btn-default:focus,
    .main-search-panel .btn-default.focus,
    .main-search-panel .btn-default:active,
    .main-search-panel .btn-default:hover {
        color: #333;
        background-color: #fff;
        border-color: #cccccc;
        outline: none;
    }

    #zoomin, #zoomout, #pan, #refresh, #identify {
        display: block;
    }

    #listAreaAddresses {
        top: 20px;
        left: 0;
    }

    .listAreaAddresses {
        width: 30%;
        min-width: 300px;
        max-width: 400px;
        width: clamp(300px, 30%, 400px);
        height: 100%;
        min-height: 300px;
        max-height: calc(100vh - 150px);
        height: clamp(300px, 100%, (100vh - 150px));
        visibility: visible;
        opacity: 1;
        transition: all ease-in-out 0.5s;
    }

    .listAreaAddresses__hidden {
        width: clamp(0px, 0px, 0px);
        height: clamp(0px, 0px, 0px);
        visibility: hidden;
        opacity: 0;
        transition: all ease-in-out 0.5s;
    }

    .refresh-default {
        display: inline-block;
    }

    .panel-option button .glyphicon {
        margin: 0;
    }

    .privacyLinkBlock {
        position: fixed;
        bottom: 10px;
        right: 10px;
        left: unset;
        font-size: 1rem;
        color: #676767;
        display: flex;
    }

    a.privacyLinkFixed:hover,
    a.privacyLinkFixed:active,
    a.privacyLinkFixed:focus,
    a.info-CP:hover,
    a.info-CP:active,
    a.info-CP:focus {
        color: #5f5f5f;
    }

    .info-CP {
        width: auto;
        /* height: 19px;
       position: fixed;
        bottom: 19px;
        right: 10px;
        left: unset;
        font-size: 10px;
        padding: 1px;
        text-align: right;
        border-radius: 50%;
        box-shadow: 0 0 4px rgba(255,255,255, 0.5), 0 0 6px rgba(0,0,0, 0.2), 0 0 10px rgba(164, 130, 5, 0.5);*/
    }


        .info-CP img {
            width: 18px;
            height: 18px;
            display: none;
        }

    .min-TOC {
        bottom: 35px;
        left: 51px;
        top: unset;
    }

    .navbar-fixed-top {
        /*border-bottom: 10px solid #2f023c;*/
        border-bottom: none;
        height: 100px;
    }

        .navbar-fixed-top:before {
            content: '';
            position: fixed;
            top: 90px;
            left: 0;
            width: 100vw;
            height: 7px;
            background: #6db460;
            overflow: hidden;
            z-index: 10;
        }

    #map_zoom_slider {
        bottom: unset !important;
        top: 50%;
        transform: translateY(-50%);
    }

    .esriSimpleSlider div {
        width: 42px;
        height: 42px;
        line-height: 42px;
        border: 1px solid #777;
    }

        .esriSimpleSlider div:first-child {
            border-bottom: none;
        }

    .basicList-container {
        position: relative;
        top: 60px;
        bottom: unset;
        height: 70px;
        width: 70px;
        left: 0;
    }

        .basicList-container .basicList {
            width: 200px;
            top: 0;
            left: 70px;
            bottom: unset;
            animation-duration: 1.3s;
        }

        .basicList-container .basicListButton {
            padding: 0;
            width: 70px;
            height: 35px;
            bottom: unset;
            top: 20px;
        }

        .basicList-container:hover .basicListButton {
            left: -20px;
            transition: all ease 0.7s;
        }

        .basicList-container .basicListButton > a {
            margin: 0;
        }

        .basicList-container .basicList ul > li {
            padding: 7px 12px;
        }

        .basicList-container .basicListButton span.glyphicon {
            background: #c64903;
            width: 70px;
            height: 35px;
            border: none;
            border-radius: 0;
            left: -5px;
            animation: none;
        }

            .basicList-container .basicListButton span.glyphicon:before {
                content: '';
                position: absolute;
                top: 5px;
                right: -12.37px;
                width: 24.74px;
                height: 24.74px;
                transform: rotateZ(45deg);
                background: #c64903;
                z-index: -1;
                border-top-left-radius: 2px;
                border-bottom-right-radius: 2px;
            }

            .basicList-container .basicListButton span.glyphicon > img {
                position: absolute;
                width: auto;
                padding: 5px;
                left: 45%;
            }

    #measureDiv {
        bottom: 35px;
        width: 255px;
        padding: 2px;
        right: 60px !important;
    }

    #measureCloseButton:before {
        font-size: 1.3rem;
    }

    #feedbackWindow .btn-default {
        float: right
    }

    #Login .modal-dialog, .entrance-form .modal-dialog {
        max-width: 500px;
        width: 500px;
        height: auto;
    }

    #Login .modal-body, .entrance-form .modal-body {
        padding: 25px 110px 30px;
    }

    #Login .modal-footer, .entrance-form .modal-footer {
        padding: 25px 25px 40px;
    }

    .useStrictEntranceMode .entrance-form .modal-content {
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.1), 0 0 0px 1px rgba(244, 247, 252, 1);
    }

    .social-group {
        flex-direction: row;
        justify-content: space-between;
    }

    .registry-row {
        font-size: 13px;
        text-align: right;
        padding: 40px 0 0;
    }

    #Login .modal-footer:before,
    .entrance-form .login-footer:before {
        font-size: 1.3rem;
    }

    #resetPasswordLink {
        font-size: 12px;
    }

    #Login #facebookButton, .entrance-form #facebookButton {
        margin: 0;
    }

    #Login .btn-primary, .entrance-form .btn-primary {
        font-size: 1.4rem;
    }

    .entrance-form .registry-footer button {
        width: calc(50% - 2px);
        margin: 0 1px;
    }

    #feedbackForm .modal-footer {
        padding: 15px 70px 25px;
    }

    .toolbar-items {
        display: inline-block;
    }



    .visible-panel {
        position: fixed;
        top: unset;
        bottom: 35px;
        left: 60px;
        width: 360px;
        border: 1px solid #fff;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        user-select: none;
    }

    #map_zoom_slider {
        left: 10px;
        border: none;
    }

    .visible-panel .layers-panel {
        max-height: unset;
        overflow: auto;
    }

    .visible-panel .checkbox {
        padding: 5px 5px 5px 20px;
    }

    /*#legendContent::-webkit-scrollbar {
        width: 4px;
    }*/

    #legendContent::-webkit-scrollbar-thumb {
        background: #ddd;
    }

    .legend-group {
        position: absolute;
        top: 80px;
        left: unset;
        right: 68px;
    }

    .min-legend {
        right: 0;
        top: 0;
        left: unset;
        position: relative;
    }

    .LEGEND {
        position: absolute;
        top: 0;
        left: unset;
        right: 0;
        width: 360px;
        max-width: 360px;
        overflow: unset;
    }

        .LEGEND .visible-panel {
            position: inherit;
            top: unset;
            left: unset;
            bottom: unset;
            border: none;
            border-top-right-radius: 5px;
            border-top-left-radius: 5px;
        }

    #legendContent {
        position: fixed !important;
        max-height: calc(100% - 250px);
        max-width: 360px;
    }

    .LEGEND .panel-name .minimise-panel {
        right: 25px;
    }

    .toolbar-items a {
        margin: 0 12px;
    }

    .mfp-zoom-out-cur .mfp-close {
        /*right: -80px;*/
        right: 0px;
        top: 30px;
        color: #fff;
        box-shadow: none;
        font-size: 5rem;
        cursor: pointer !important;
    }

    .project-layer {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }

    .ruler img {
        bottom: 4px;
    }

    .esriPopup {
        z-index: 1100 !important;
    }

        .esriPopup .sizer {
            width: 385px !important;
        }

    .small:not(:last-child) {
        max-width: unset;
    }

    .small:nth-child(4) > div:first-child {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: baseline;
    }

        .small:nth-child(4) > div:first-child > p {
            margin: 0 50px 0 0;
        }

    .small:nth-child(4) > div canvas {
        margin: 0 auto;
    }

    #linksForm .modal-body .row .input-group[class*="col-"] {
        width: 33%;
    }

    .alert-info {
        border-radius: 5px;
        right: 5px !important;
        bottom: 20px !important;
        display: block;
    }

        .alert-info .media-heading ~ div,
        .alert-info .media-body table {
            color: #717171;
            font-size: 1.3rem;
        }

            .alert-info .media-body table > tbody > tr > td:first-child {
                padding: 2px 8px 2px 0;
            }

    .panel-name {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .TOC-form .modal-header {
        padding: 20px 20px 30px;
    }

    .TOC-form .modal-title {
        color: #7f44a0;
        font-size: 1.8rem;
        font-weight: 500;
        text-transform: unset;
        position: relative;
        overflow: hidden;
    }
    /*------new TOC design----*/


    .TOC-form .modal-title {
        font-size: 3.5rem;
        color: #fff;
    }

    .TOC-form .modal-header .close {
        font-size: 8rem;
        color: #fff;
        opacity: 0.7;
    }
/******/

    .TOC-form .modal-dialog {
        width: 800px;
    }

    .TOC-form .modal-dialog .modal-content {
        min-width: 700px;
        width: 75vw;
        max-width: 1100px;
        min-height: 600px;
        position: relative;
        background: linear-gradient(to bottom, rgb(242, 245, 255), rgb(238, 243, 253));
        border-radius: 10px;
        display: grid;
    }
    .TOC-form .modal-body {
        padding: 0px 40px 45px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        grid: 0.5rem;
        justify-content: center;
        align-items: flex-start;
    }


    .item-group:last-child {
        border-bottom: 1px solid #ccc;
    }

    .TOC-form .project-layer {
        padding: 4px 0 4px 20px;
    }

    .item-group {
        /* width: calc(50% - 10px);
       height: calc(33.33% - 15px);*/
        width: 30%;
        min-width: 280px;
        height: 140px;
        min-height: 130px;
        position: relative;
        border: 1px solid rgba(129, 51, 173, 0.3);
        margin: 8px;
        overflow: hidden;
        border-radius: 15px;
        transition: all ease 0.3s;
    }
    /*------new TOC design----*/
    .TOC-form .modal-dialog .modal-content {
        width: 100vw;
        max-width: 100vw;
        margin: 0 !important;
        height: calc(100vh - 100px);
        grid-template-rows: 20% auto;
        top: 100px;
        border-radius: 0;
        background: linear-gradient(to bottom, rgba(0,0,0, 0.2), rgba(0,0,0, 0.2));
    }

    .TOC-form .modal-body {
        grid-gap: 2rem;
        height: auto;
    }
    .item-group {
        height: 30%;
        max-width: 450px;
        background-size: cover;
        background-repeat: no-repeat;
        box-shadow: 4px -4px 0 4px #fff, 0px 0px 0 8px #fff;
        border: none;
        border-radius: 4px;
    }
   
/***********/
    .TOC-form input[type="checkbox"]:checked + label {
        color: #fff;
    }

    .project-item-collapse[aria-expanded="true"] {
        padding-bottom: 2px;
    }

    .project-item-collapse .material-icons img,
    .project-item-collapse .material-icons {
        position: inherit;
        top: 0;
    }

        .project-item-collapse .material-icons img {
            top: -8px;
            height: 40px;
        }

    .project-item-collapse {
        padding: 30px 10px 0 10px;
        font-size: 2.7rem;
        color: #8133ad;
        display: flex;
        filter: drop-shadow(2px 2px 2px rgba(0,0,0, 0.2));
    }

    .item-group:hover, .item-group.activeItem {
        border-color: transparent;
        /*box-shadow: 0 0 10px 2px #ccc, 0 0 8px 0px #8d6ca0;
        background: linear-gradient(to right bottom, #9b82af, #480358);*/
        box-shadow: -2px -2px 4px rgba(255,255,255, 0.3), 2px 2px 4px #8d6ca0, 2px 2px 10px #8d6ca0;
        background: #683385 !important;
        border-color: #704788;
        transition: all ease 0.5s;
    }

        .item-group:hover::before,
        .item-group.activeItem:before {
            background: transparent;
            top: -200%;
            transition: all ease 0.01s;
        }

        .item-group:hover .project-item-collapse,
        .item-group.activeItem .project-item-collapse {
            padding: 0px 10px 0 5px;
            font-size: 1.4rem;
            color: #ddd;
            position: absolute;
            transition: all ease 0.7s;
        }
    /*.item-group .project-item-collapse .item-group-space {
        display: none;
    }
    .item-group:hover .project-item-collapse .item-group-space,
    .item-group.activeItem .project-item-collapse .item-group-space {
        display: inline;
    }*/

    .TOC-form .item-group .project-item-collapse .material-icons {
        font-size: 44px;
        top: -5px;
        position: relative;
    }

    .item-group[data-project-id="7"] .project-item-collapse .material-icons {
        display: flex;
    }


    .TOC-form .item-group:hover .project-item-collapse .material-icons,
    .TOC-form .activeItem .project-item-collapse .material-icons {
        display: none;
    }

        .TOC-form .item-group:hover .project-item-collapse .material-icons > img {
            display: none;
        }

    .TOC-form .checkbox label {
        min-height: 17px;
    }

    .TOC-form .project-layer label {
        font-size: 1.4rem;
        color: #fff;
    }

    .project-item-collapse[aria-expanded="true"] > .caret,
    .project-item-collapse[aria-expanded="false"] > .caret,
    .project-item-collapse > span.caret {
        color: transparent;
    }

    .TOC-form .selected-project {
        position: relative;
        top: 25px;
    }

    .TOC-form input[type="checkbox"]:checked + label::before {
        background-color: #fff;
        border-color: #501061;
    }

    .TOC-form .checkbox label::after {
        color: #4e0c5e;
    }

    .toolbar-items a:hover span,
    .esriSimpleSliderDecrementButton:hover,
    .esriSimpleSliderIncrementButton:hover {
        color: #fff;
        animation-name: bgAnimate;
        animation-duration: 2s;
        animation-iteration-count: unset;
        animation-fill-mode: forwards;
    }

    .toolbar-items a .glyphicon {
        transition: all ease 0.7s;
    }

    .minimizeBtn {
        display: none;
    }

    /*************************houses-view********************************************/
    .cooperative-outer-container {
        position: relative;
        top: 0;
        width: 100%;
    }

    .cooperatives_header {
        position: relative;
        width: 100vw;
        height: 300px;
        box-shadow: 0 4px 6px rgba(0,0,0, 0.1);
    }

        .cooperatives_header:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(to bottom, rgba(43,80,67, 0.8), rgba(43,80,67, 0.8)), url(../Images/banner_xs.jpg);
            background-size: cover;
            filter: blur(2px);
        }

        .cooperatives_header .container {
            position: relative;
            height: 100%;
            display: grid;
            grid-template-columns: 400px 1fr;
            grid-template-rows: 80px auto;
        }

    .logoContainer {
        grid-column: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        align-self: baseline;
        color: #F4DC02;
    }

    .logo-cooperatives {
        margin-right: 15px;
    }

        .logo-cooperatives .material-icons {
            transform: scale(2);
        }

    .logoContainer .descriptor {
        font-size: 2.4rem;
    }

    .nav-cooperatives {
        grid-column: 2;
        padding-top: 5px;
    }

        .nav-cooperatives ul {
            display: flex;
            padding-left: 100px;
        }

        .nav-cooperatives .nav-item {
            width: 250px;
        }

            .nav-cooperatives .nav-item,
            .nav-cooperatives .nav-item a {
                color: #fff;
            }

                .nav-cooperatives .nav-item a {
                    display: flex;
                    align-items: center;
                }

                    .nav-cooperatives .nav-item a:focus {
                        outline: none;
                        text-decoration: none;
                    }

                    .nav-cooperatives .nav-item a span:first-child {
                        text-transform: uppercase;
                        font-size: 1.8rem;
                        margin-right: 10px;
                    }

                    .nav-cooperatives .nav-item a .material-icons {
                        color: #F4DC02;
                    }

                .nav-cooperatives .nav-item .dropdown {
                    padding: 20px 40px 0 0;
                    height: 0;
                    overflow: hidden;
                    color: rgba(255,255,255, 0.9);
                }

                .nav-cooperatives .nav-item .dropdown,
                .nav-cooperatives .nav-item a .material-icons {
                    opacity: 0;
                    visibility: hidden;
                    transition: all ease-in-out 0.3s;
                }

                .nav-cooperatives .nav-item a:hover {
                    text-decoration: none;
                }

    .nav-item:hover .dropdown,
    .nav-item a:hover + .dropdown,
    .nav-item:hover a .material-icons,
    .nav-item a:hover .material-icons {
        opacity: 1;
        visibility: visible;
        transition: all ease-in-out 0.3s;
    }

    .nav-item a:hover + .dropdown,
    .nav-item:hover .dropdown {
        height: 100%;
    }

    .cooperatives main {
        position: relative;
        width: 100%;
        height: 100%;
        background: #fff;
    }
    /*Фон под голосовалку - исключена*/

    /*.cooperatives main:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: calc((100vw - 1170px) / 2 + 1170px * 0.25);
        height: calc(100vh - 300px);
        background: #fbfbfb;
    }*/

    .shortDescriptionContainer {
        position: relative;
        height: calc(100vh - 300px);
        padding: 70px 0 0;
    }

        .shortDescriptionContainer figure {
            position: relative;
        }

            .shortDescriptionContainer figure img {
                position: relative;
                width: 100%;
            }

    .carousel {
        box-shadow: 0 0 0 5px #fff, 0 0 4px rgba(0,0,0, 0.2), 6px 6px 30px rgba(0,0,0, 0.2), 6px 6px 50px rgba(0,0,0, 0.1);
    }

    .defaultImg {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-content: space-evenly;
        align-items: center;
        height: 400px;
        box-shadow: 0 0 0 3px #c3c3c3, 0 0 4px rgba(0,0,0, 0.2), 6px 6px 30px rgba(0,0,0, 0.2), 6px 6px 50px rgba(0,0,0, 0.1);
    }

        .defaultImg .material-icons {
            transform: scale(10);
            opacity: 0.05;
        }

    .defaultImg-description {
        color: #c3c3c3;
        font-size: 3rem;
    }

    .shortDescription {
        padding-left: 40px;
    }

    .currentHouseAddress {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
    }

    .currentAdminDistrict {
        color: #777;
        font-size: 1.3rem;
    }

    .currentHouseAddress .material-icons {
        color: #777;
    }

    .cooperatives .list-group-item {
        color: #777;
        border-width: 0 0 1px 0;
        display: flex;
        justify-content: space-between;
        padding: 8px 0 !important;
    }

    .cooperatives .item-star {
        display: flex;
        justify-content: flex-end;
        border-color: transparent;
        margin-left: 5px;
        min-width: 90px;
        font-size: 1.2rem;
    }

    .cooperatives .item-starTotal {
        margin: 0;
        font-size: 1.4rem;
        justify-content: flex-start;
        padding: 0 0 35px !important;
    }

    .cooperatives .item-star .fa-star {
        margin-right: 3px;
    }

    .cooperatives .fa-star.checked {
        color: #ffcc00;
    }

    .ratingReview {
        font-size: 1.6rem;
    }

    .houseDoclink {
        width: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }

        .houseDoclink:hover,
        .houseDoclink:active,
        .houseDoclink:focus {
            color: #424242;
            text-decoration: none;
        }

    .cooperatives .list-group-item:hover {
        box-shadow: unset;
        cursor: text;
    }

    .shortDescriptionContainer article,
    .shortDescriptionContainer aside {
        position: relative;
        height: 100%;
    }

    .shortDescriptionContainer aside {
        /*padding: 150px 0 15px 40px;*/
        padding: 200px 0 15px 40px;
    }

        .shortDescriptionContainer aside .questionBlock {
            display: grid;
            margin-bottom: 20px;
        }

    .questionBlock span:first-child {
        font-size: 1.4rem;
        padding-bottom: 15px;
        color: #777;
    }

    .questionBlock span:last-child {
        color: #424242;
        line-height: 1.3;
    }

    .voteContainer .input-group {
        margin-top: 8px;
        display: flex;
        width: 100%;
        color: #777;
    }

    .voteContainer div.input-group:first-child {
        margin-top: 25px;
    }

    .voteContainer .input-group input {
        margin-right: 10px;
    }

    .voteContainer label {
        padding: 0 5px 5px;
    }

    .voteContainer .btn {
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
        margin-top: 40px;
        width: 150px;
        height: 45px;
        color: #424242;
        background: #F4DC02;
        box-shadow: 4px 4px 4px rgba(0,0,0, 0.15), 4px 4px 15px rgba(0,0,0, 0.15), 4px 4px 30px rgba(0,0,0, 0.15);
        transition: all ease-in-out 0.3s;
    }

        .voteContainer .btn:hover {
            background: #ffe712;
            box-shadow: 4px 4px 4px rgba(0,0,0, 0.1), 4px 4px 15px rgba(0,0,0, 0.1), 4px 4px 30px rgba(0,0,0, 0.1);
            transition: all ease-in-out 0.3s;
        }

    .voteResult {
        display: none;
        padding: 0;
    }

        .voteResult span {
            color: #777;
        }

    .shortDescriptionContainer article {
        padding-left: 0;
    }

    .getfullDescription {
        background: none;
        border: none;
        display: flex;
        align-items: center;
        color: #424242;
        margin-top: 60px;
    }

        .getfullDescription:hover,
        .getfullDescription:focus,
        .getfullDescription:active {
            text-decoration: none;
            outline: none;
            color: #424242;
        }

        .getfullDescription span:first-child {
            margin-right: 10px;
        }

    .fullDescriptionContainer {
        min-height: 100vh;
        height: auto;
        position: relative;
    }

        .fullDescriptionContainer header h2 {
            margin: 0 0 30px 0;
            padding: 0 15px;
            color: #777;
        }

        .fullDescriptionContainer .row {
            display: flex;
            flex-wrap: wrap;
        }

    .fullDescriptionContainer_chapter {
        padding: 30px 15px;
        position: relative;
    }

        .fullDescriptionContainer_chapter:before {
            position: absolute;
            content: "";
            top: 40px;
            left: 30px;
            height: 1px;
            width: calc(100% - 60px);
            background: #424242;
        }

        .fullDescriptionContainer_chapter .chapter-name {
            font-weight: 600;
            padding-bottom: 20px;
            color: #424242;
            text-transform: uppercase;
            width: auto;
            background: #fff;
        }

    .debt_chapter::before {
        background: red;
    }

    .debt_chapter .chapter-name {
        color: red;
    }

    .fullDescriptionContainer_chapter .fa-star:not(.checked) {
        color: #777;
    }

    .fullDescriptionContainer table {
        color: #777;
        width: 100%;
    }

        .fullDescriptionContainer table tr td {
            padding: 5px 0;
        }

            .fullDescriptionContainer table tr td:last-child {
                color: #424242;
                padding-left: 20px;
                text-align: right;
            }

            .fullDescriptionContainer table tr td.debt_value:last-child {
                color: red;
            }

    .fullDescriptionContainer .large_chapter tbody {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .fullDescriptionContainer .large_chapter tr {
        display: grid;
        grid-template-columns: 1fr auto;
        padding-top: 40px !important;
        border-bottom: 1px solid #ececec;
        height: 100%;
    }

        .fullDescriptionContainer .large_chapter tr:last-child {
            border-bottom: none;
        }

        .fullDescriptionContainer .large_chapter tr:nth-child(odd) {
            padding: 0 15px 0 0;
        }

        .fullDescriptionContainer .large_chapter tr:nth-child(even) {
            padding: 0 0 0 15px;
        }

        .fullDescriptionContainer .large_chapter tr ul li {
            color: #777;
            padding: 3px 0;
        }

            .fullDescriptionContainer .large_chapter tr ul li .phoneNumb {
                display: inline-block;
            }

            .fullDescriptionContainer .large_chapter tr ul li:first-child {
                padding-top: 10px;
            }

    .cooperatives .upScroll {
        position: absolute;
        right: -50px;
        bottom: 50px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        box-shadow: 0 0 4px #fff, 0 0 20px rgba(0,0,0, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        background: #424242;
        color: #f4dc02;
        animation: 2.5s ease-in-out infinite dribbleBtn;
    }

    @keyframes dribbleBtn {
        0% {
            box-shadow: 0 0 4px #fff, 0 0 6px rgba(0,0,0, 0.3);
        }

        50% {
            box-shadow: 0 0 4px #fff, 0 0 20px rgba(0,0,0, 0.5);
        }

        100% {
            box-shadow: 0 0 4px #fff, 0 0 12px rgba(0,0,0, 0.5);
        }
    }

    .cooperatives .upScroll:active,
    .cooperatives .upScroll:hover,
    .cooperatives .upScroll:focus {
        text-decoration: none;
    }

    .esriPopup .contentPane {
        /*max-height: 60vh;*/
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }



/**********ИЗМЕНЕНИЕ ЛОГИКИ ХЕДЕРА************/
    .dropdown-nav-menu,
    .dropdown-nav-menu:hover {
        width: calc(100% - 330px);
        padding-left: 400px;
    }


        .dropdown-nav-menu .navbar-nav {
            height: 100%;
            width: 100%;
            display: flex;
        }

        .dropdown-nav-menu:hover .nav > .project-item {
            left: unset;
        }

    .nav .project-item:nth-child(n) {
        left: unset !important;
        width: 80px;
        padding: 0;
        height: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        transition: all 0.5s ease;
    }

    .nav .project-item:first-child {
        width: 130px;
    }

    .nav > .project-item:hover {
        width: 200px;
        transition: all 0.7s ease;
    }

    .nav > .project-item:first-child:hover {
        padding-left: 40px;
        width: 220px;
    }
    .nav > .project-item:first-child:hover a {
        justify-content: space-evenly;
    }

    .nav .project-item:nth-child(n) .project-item-name {
        /*display: none;*/
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav > .project-item:hover .project-item-name {
        /*display: block;*/
        opacity: 1;
        visibility: visible;
        transition: all 0.5s ease;
    }

    .nav .project-item a,
    .nav .project-item a:first-child {
        padding: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }


    .nav .project-item:hover a {
        justify-content: space-around;
    }

    .nav .project-item a .material-icons {
        position: relative;
        bottom: unset;
    }

}

@media only screen and (max-width: 1280px) {
    #backlayer-logo:before {
        width: 350px;
    }
    .dropdown-nav-menu, .dropdown-nav-menu:hover {
        padding-left: 250px;
    }
    .nav .project-item:nth-child(n) {
        width: 60px;
    }
    .nav .project-item:first-child {
        width: 120px;
    }
    .nav .project-item:hover {
        width: 220px;
    }
}

@media only screen and (min-width: 1920px) {
    .mfp-zoom-out-cur .mfp-close {
        font-size: 10rem;
    }

    .legend-group {
        right: 86px;
    }

    .main-search-panel {
        max-width: 400px;
    }

        .main-search-panel .panel-footer {
            width: 395px !important;
            max-width: 400px;
        }

    #linksForm .enter-input-group > a {
        height: 130px;
    }

    #linksForm .modal-content {
        max-width: 1000px;
    }
    /*#linksForm .modal-body .input-group a > img {
        height: 100%;
        width: auto;
    }*/

}



@media only screen and (min-width: 860px) and (max-width: 1100px) {
    /*.navbar-brand {
        margin-left: 170px !important;
    } */
    .main-search-panel {
        width: 300px;
        position: fixed;
        top: 50px;
        right: 60px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1100px) {
    .navbar-brand {
        font-size: 14px;
        /*margin-left: 350px !important;*/
    }

    .navbar-header p {
        font-size: 16px;
    }

        .navbar-header p span {
            font-size: 15px;
        }

    .TOC {
        left: 50px;
    }

    .main-search-panel {
        width: 250px;
        position: fixed;
        top: 55px;
        right: 60px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1400px) and (max-height: 800px) {
    .toolbar-items a {
        padding: 0;
        font-size: 18px;
        margin: 4px 12px;
        width: 34px;
        height: 34px;
    }

        .toolbar-items a .glyphicon {
            width: 40px;
            height: 40px;
        }

    .tollbar-first-item {
        padding-top: 100px;
    }

    .toolbar-items {
        padding-top: 100px;
    }
    /*.map-toolbar .glyphicon-menu-left,
    .map-toolbar .glyphicon-menu-left.selected {
        top: 100px;
    }*/
    #statisticForm .modal-content {
        max-height: none;
    }

    .esriSimpleSlider div {
        width: 40px;
        height: 40px;
    }

    .alert-info {
        margin: 0;
    }

    .min-TOC {
        bottom: 15px;
    }

    .cooperatives main:before {
        height: 100vh;
        width: calc((100vw - 970px) / 2 + 970px * 0.25);
    }

    .shortDescriptionContainer {
        height: 100vh;
    }
}

@media (-webkit-min-device-pixel-ratio: 1.25) {
    .cooperatives main:before {
        height: 100vh;
        width: calc((100vw - 970px) / 2 + 970px * 0.25);
    }

    .shortDescriptionContainer {
        height: 100vh;
    }
}

@media only screen and (max-height: 400px) and (min-width: 385px) {
    .toolbar-items a {
        padding: 0;
        font-size: 18px;
        margin: 2px 6px;
        width: 34px;
        height: 34px;
    }

    .map-toolbar .glyphicon-menu-left,
    .map-toolbar .glyphicon-menu-left.selected {
        top: 80px;
    }

    input {
        max-width: unset;
    }
}

@media only screen and (min-width: 453px) {
    .TOC {
        width: 400px;
    }

    .search-panel .dropdown-toggle {
        padding-right: 15px;
    }

    .areaBoxBtn button {
        width: 130px !important;
    }
}

@media only screen and (max-width: 768px) and (max-height: 575px) {
    .toolbar-items a {
        padding: 1px 0;
    }
}

@media only screen and (max-width: 320px) and (max-width: 375px) {
    .esriPopup .titlePane .title b {
        max-width: 50%;
    }
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {

    #listAreaAddresses {
        position: absolute;
        left: 0;
        bottom: 0;
        display: grid;
        grid-template: min-content / auto;
        background: #fff;
        border-radius: 4px;
        box-shadow: 2px 2px 2px rgba(0,0,0, 0.1), 4px 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1500;
    }

    .listAreaAddresses {
        width: 100%;
        width: clamp(100%, 100%, 100%);
        height: 100%;
        max-height: 50vh;
        height: clamp(300px, 100%, 50vh);
        visibility: visible;
        opacity: 1;
        transition: all ease-in-out 0.5s;
    }

    .listAreaAddresses_header {
        padding-bottom: 5px;
    }

    .backIdentifyBtn {
        padding: 3px 5px;
    }

    .listAreaAddresses_title {
        padding: 0 15px;
        font-size: 1.2rem;
    }

    .TOC-form .modal-title, #linksForm .modal-title {
        width: calc(100% - 40px);
    }

    .toolbar-items {
        padding-bottom: 60px;
    }

    .listAreaAddresses_content {
        max-height: calc(50vh - 70px);
    }

    .listAreaAddresses_header {
        padding: 25px 15px 15px;
        grid-template-columns: 2fr 1.5fr;
    }
}


/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
    #listAreaAddresses {
        position: absolute;
        left: 0;
        bottom: 0;
        display: grid;
        grid-template: min-content / auto;
        background: #fff;
        border-radius: 4px;
        box-shadow: 2px 2px 2px rgba(0,0,0, 0.1), 4px 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1500;
    }

    .listAreaAddresses {
        width: 100%;
        width: clamp(100%, 100%, 100%);
        height: 100%;
        max-height: 50vh;
        height: clamp(300px, 100%, 50vh);
        visibility: visible;
        opacity: 1;
        transition: all ease-in-out 0.5s;
    }

    .listAreaAddresses_header {
        padding-bottom: 5px;
    }

    .backIdentifyBtn {
        padding: 3px 5px;
    }

    .listAreaAddresses_title {
        padding: 0 15px;
        font-size: 1.2rem;
    }

    .TOC-form .modal-title, #linksForm .modal-title {
        width: calc(100% - 40px);
    }

    .toolbar-items {
        padding-bottom: 60px;
    }

    .listAreaAddresses_content {
        max-height: calc(50vh - 70px);
    }

    .listAreaAddresses_header {
        padding: 25px 15px 15px;
        grid-template-columns: 2fr 1.5fr;
    }
}


/* 1.25 dpr */
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    /* Retina-specific stuff here */
    #listAreaAddresses {
        position: absolute;
        left: 0;
        bottom: 0;
        display: grid;
        grid-template: min-content / auto;
        background: #fff;
        border-radius: 4px;
        box-shadow: 2px 2px 2px rgba(0,0,0, 0.1), 4px 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1500;
    }

    .listAreaAddresses {
        width: 100%;
        width: clamp(100%, 100%, 100%);
        height: 100%;
        max-height: 50vh;
        height: clamp(300px, 100%, 50vh);
        visibility: visible;
        opacity: 1;
        transition: all ease-in-out 0.5s;
    }

    .listAreaAddresses_header {
        padding-bottom: 5px;
    }

    .backIdentifyBtn {
        padding: 3px 5px;
    }

    .listAreaAddresses_title {
        padding: 0 15px;
        font-size: 1.2rem;
    }

    .TOC-form .modal-title, #linksForm .modal-title {
        width: calc(100% - 40px);
    }

    .toolbar-items {
        padding-bottom: 60px;
    }

    .listAreaAddresses_content {
        max-height: calc(50vh - 70px);
    }

    .listAreaAddresses_header {
        padding: 25px 15px 15px;
        grid-template-columns: 2fr 1.5fr;
    }
}


/* 1.3 dpr */
@media (-webkit-min-device-pixel-ratio: 1.3), (min-resolution: 124.8dpi) {
    /* Retina-specific stuff here */
    #listAreaAddresses {
        position: absolute;
        left: 0;
        bottom: 0;
        display: grid;
        grid-template: min-content / auto;
        background: #fff;
        border-radius: 4px;
        box-shadow: 2px 2px 2px rgba(0,0,0, 0.1), 4px 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1500;
    }

    .listAreaAddresses {
        width: 100%;
        width: clamp(100%, 100%, 100%);
        height: 100%;
        max-height: 50vh;
        height: clamp(300px, 100%, 50vh);
        visibility: visible;
        opacity: 1;
        transition: all ease-in-out 0.5s;
    }

    .listAreaAddresses_header {
        padding-bottom: 5px;
    }

    .backIdentifyBtn {
        padding: 3px 5px;
    }

    .listAreaAddresses_title {
        padding: 0 15px;
        font-size: 1.2rem;
    }

    .TOC-form .modal-title, #linksForm .modal-title {
        width: calc(100% - 40px);
    }

    .toolbar-items {
        padding-bottom: 60px;
    }

    .listAreaAddresses_content {
        max-height: calc(50vh - 70px);
    }

    .listAreaAddresses_header {
        padding: 25px 15px 15px;
        grid-template-columns: 2fr 1.5fr;
    }
}



/* 1.5 dpr */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    /* Retina-specific stuff here */
    #listAreaAddresses {
        position: absolute;
        left: 0;
        bottom: 0;
        display: grid;
        grid-template: min-content / auto;
        background: #fff;
        border-radius: 4px;
        box-shadow: 2px 2px 2px rgba(0,0,0, 0.1), 4px 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1500;
    }

    .listAreaAddresses {
        width: 100%;
        width: clamp(100%, 100%, 100%);
        height: 100%;
        max-height: 50vh;
        height: clamp(300px, 100%, 50vh);
        visibility: visible;
        opacity: 1;
        transition: all ease-in-out 0.5s;
    }

    .listAreaAddresses_header {
        padding-bottom: 5px;
    }

    .backIdentifyBtn {
        padding: 3px 5px;
    }

    .listAreaAddresses_title {
        padding: 0 15px;
        font-size: 1.2rem;
    }

    .TOC-form .modal-title, #linksForm .modal-title {
        width: calc(100% - 40px);
    }

    .toolbar-items {
        padding-bottom: 60px;
    }

    .listAreaAddresses_content {
        max-height: calc(50vh - 70px);
    }

    .listAreaAddresses_header {
        padding: 25px 15px 15px;
        grid-template-columns: 2fr 1.5fr;
    }
}


/* iphone X, Xs, 11Pro: 1125px x 2436px*/

@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) {

    body, .navbar-inverse,
    .middle-btn, .infocity, #app {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        overflow: hidden;
    }

    #Login .modal-body, .entrance-form .modal-body {
        padding: 15px 15px 25px;
    }

    #Login .modal-footer, .entrance-form .modal-footer {
        padding-top: 25px;
    }

    .panel-option button {
        font-size: 1.4rem;
    }

    .min-TOC {
        width: 105px;
    }

    .TOC {
        position: fixed;
    }

    .TOC-form .modal-title, #linksForm .modal-title {
        width: calc(100% - 40px);
    }

    .LEGEND, .min-legend {
        position: fixed;
    }

    #legendContent {
        /*max-height: calc(100vh - 230px);*/
        max-height: 50vh;
    }

    .TOC-form .modal-body {
        padding: 0 8px;
    }

    #linksForm .modal-body .row {
        display: block;
        display: -webkit-flex;
        -webkit-flex-wrap: wrap;
        -webkit-flex-direction: row;
        -webkit-align-items: center;
        padding: 0;
    }

    .modal-dialog {
        margin: 0;
    }

    .main-search-panel {
        position: fixed;
        top: 55px;
    }

    .body-content {
        height: 100%;
    }

    .map-toolbar .glyphicon-menu-left,
    .map-toolbar .glyphicon-menu-left.selected {
        transition: none;
        transform: none;
        -webkit-transition: none;
        display: block;
        text-shadow: none;
        color: #459a36;
        z-index: 50;
    }

    .map-toolbar .glyphicon-menu-left {
        background: #fff;
    }

    .item-group, .layers-panel > div > div {
        background-image: none;
    }

    .checkbox input[type="checkbox"]:checked + label::after,
    .checkbox input[type="radio"]:checked + label::after {
        font-size: 1.3rem;
    }

    .TOC-form .checkbox label::after,
    .visible-panel .checkbox label::after {
        top: 1px;
    }

    .tollbar-first-item {
        display: none;
    }

    .listAreaAddresses_content {
        max-height: calc(50vh - 70px);
    }

    #statisticForm .input-group {
        position: relative;
        overflow: hidden;
    }

        #statisticForm .input-group:before {
            content: '';
            position: absolute;
            top: 50%;
            left: -10px;
            width: 10px;
            height: 10px;
            transform: rotate(45deg) translateY(-50%);
            background: #854797;
        }

    .info-CP {
        z-index: 30;
    }
}

@media only screen and (device-width : 812px) and (device-height : 375px) and (-webkit-device-pixel-ratio : 3) {
    .min-TOC {
        bottom: 15px;
    }

    #pan, #zoomin, #zoomout, #refresh, #identify {
        display: none;
    }

    .tollbar-first-item {
        padding-top: 60px;
    }

    .toolbar-items a {
        margin: 2px 12px;
    }

    .tollbar-first-item {
        display: none;
    }
}

/* Iphone 11, XR: 828px x 1792px */

@media only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 2) {

    body, .navbar-inverse,
    .middle-btn, .infocity, #app {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        overflow: hidden;
    }

    .TOC {
        position: fixed;
        z-index: 1;
    }

    .TOC-form .modal-title, #linksForm .modal-title {
        width: calc(100% - 40px);
    }

    .basicList-container .basicListButton {
        position: fixed;
    }

    .LEGEND, .min-legend {
        position: fixed;
    }

    #legendContent {
        /*max-height: calc(100vh - 230px);*/
        max-height: 50vh;
    }

    .item-group, .layers-panel > div > div {
        background-image: none;
    }

    .tollbar-first-item {
        display: none;
    }

    .listAreaAddresses_content {
        max-height: calc(50vh - 70px);
    }

    #statisticForm .input-group {
        position: relative;
        overflow: hidden;
    }

        #statisticForm .input-group:before {
            content: '';
            position: absolute;
            top: 50%;
            left: -10px;
            width: 10px;
            height: 10px;
            transform: rotate(45deg) translateY(-50%);
            background: #854797;
        }

    .info-CP {
        z-index: 30;
    }
}

/* Iphone 11 Pro Max, Xs Max: 1242px x 2688px */

@media only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 3) {

    body, .navbar-inverse,
    .middle-btn, .infocity, #app {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        overflow: hidden;
    }

    .TOC {
        position: fixed;
        z-index: 1;
    }

    .TOC-form .modal-title, #linksForm .modal-title {
        width: calc(100% - 40px);
    }

    .basicList-container .basicListButton {
        position: fixed;
    }

    .LEGEND, .min-legend {
        position: fixed;
    }

    #legendContent {
        /*max-height: calc(100vh - 230px);*/
        max-height: 50vh;
    }

    .item-group, .layers-panel > div > div {
        background-image: none;
    }

    .tollbar-first-item {
        display: none;
    }

    .listAreaAddresses_content {
        max-height: calc(50vh - 70px);
    }

    #statisticForm .input-group {
        position: relative;
        overflow: hidden;
    }

        #statisticForm .input-group:before {
            content: '';
            position: absolute;
            top: 50%;
            left: -10px;
            width: 10px;
            height: 10px;
            transform: rotate(45deg) translateY(-50%);
            background: #854797;
        }

    .info-CP {
        z-index: 30;
    }
}


/*Safari*/

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {
        .min-TOC {
            width: 105px;
        }
        /*
         -webkit-transition-property: opacity;
        -webkit-transition-duration: 1s;
        -webkit-transition-delay: 100ms;*/
    }
}

@-moz-document url-prefix() {
    *, .listAreaAddresses_content {
        scrollbar-width: thin;
        scrollbar-color: #f2f2f2 #b9b9b9;
    }
}










