@-webkit-viewport {
    width: device-width;
    zoom: 1;
    /*max-zoom: 2; 
    min-zoom: 0.7;*/
    user-zoom: fixed;
}

@-moz-viewport {
    width: device-width;
    zoom: 1;
    /*max-zoom: 2; 
    min-zoom: 0.7;*/
    user-zoom: fixed;
}

@-ms-viewport {
    width: device-width;
    zoom: 1;
    /*max-zoom: 2; 
    min-zoom: 0.7;*/
    user-zoom: fixed;
}

@-o-viewport {
    width: device-width;
    zoom: 1;
    /*max-zoom: 2; 
    min-zoom: 0.7;*/
    user-zoom: fixed;
}

@viewport {
    width: device-width;
    zoom: 1;
    /*max-zoom: 2; 
    min-zoom: 0.7;*/
    user-zoom: fixed;
}

@font-face {
    font-family: Roboto-Regular;
    src: url(../fonts/Roboto-Regular.woff);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Roboto-Medium;
    src: url(../fonts/Roboto-Medium.woff);
    font-weight: normal;
    font-style: normal;
}




html,
body {
    height: 100%;
    font-family: Roboto-Regular;
    font-size: 16px;
    overflow-x: hidden;
}



body {
    background: #e8eaed;
    line-height: 1.3;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: #858992;
    cursor: pointer;
}

h1 {
    font-size: 1.571rem; /*22px;*/
    text-align: center;
    font-family: Roboto-Regular;
}

h2 {
    font-size: 2.143rem; /*30px;*/
    font-family: Roboto-Regular;
}

h3 {
    font-size: 1.571rem; /*22px;*/
    text-align: left;
    font-family: Roboto-Regular;
}

h4 {
    font-size: 1.071rem; /*15px;*/
    font-family: Roboto-Regular;
}

h5 {
    font-size: 1rem; /*14px;*/
    font-family: Roboto-Regular;
}

h6 {
    font-size: 0.9286rem; /*13px;*/
    color: #2a2a2c;
    font-family: Roboto-Regular;
}

.clear {
    clear: both;
}

#footer {
    flex: 0 0 auto;
    background: #f6f6f7;
    border-top: 1px solid #c2c7d1;
    color: #858992;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    text-align: center;
}

#header {
    height: 4.2857rem; /*60px;*/
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: #f0f2f4;
    border-bottom: 3px solid #3498db;
    overflow: visible;
}

.infoPage {
    line-height: 1.5;
    font-size: 1.214rem;
    margin: 40px 50px;
    min-height: 300px;
    color: #808080;
}

    .infoPage li {
        list-style-type: circle;
        margin-bottom: 10px;
    }

.top {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.logo {
    flex: 0 0 auto;
    background: url(../Content/img/logo_trident_light.svg) no-repeat center;
    background-size: cover;
    width: 5rem;
    align-self: stretch;
}

.button_adm {
    /*min-width:4rem;*/
    display: flex;
    flex: 0 0 auto;
}

.user-info {
    width: 1.8rem;
    flex: 0 0 auto;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    cursor: pointer;
    color: white;
    padding: .75rem 0.5rem;
    background: orange;
    border-radius: 1.4rem;
    margin: auto;
    text-align: center;
}

.about_question {
    color: #3498db;
    font-size: 0.8rem;
    margin: auto 0px;
    overflow: hidden;
    padding: 0 0.5rem 0 1rem;
    flex: 0 0 auto;
}

.info-link {
    font-size: 1.429rem;
    margin: auto;
    color: #858992;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.btn {
    padding: .4rem 1.1rem;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.4285;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn.active {
    color: #fff;
    background: #3498db;
}

.btn:hover {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.headerimg {
    background: url(img/sky1.jpg) no-repeat #fff;
    /*background: url(img/bgheader.jpg) no-repeat #fff;*/
    /*background-position: 0 0;*/
    background-position: top right;
    background-size: 62.8571rem 9.2857rem; /*880px 130px;*/
    height: 9.2857rem; /*130px;*/
    width: 100%;
    display: flex;
    background-size: cover;
}
img.img-gerb {
    margin: 0 2rem;
}
.img-flag {
    background: url(img/flag1.png) no-repeat rgba(0,0,0,0);
    flex: 1 1 auto;
    display: flex;
    align-self: stretch;
    background-size: cover;
}
.img-rada {
    background: url(img/rada.png) no-repeat rgba(0,0,0,0);
    align-self: stretch;
    background-position: bottom center;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-size: auto 100%;
}
.search {
    width: 25.3571rem;
    margin-right: 2.5rem;
    position: relative;
}


    .search input {
        width: 25.3571rem; /*355px;*/
        margin-right: 2.5rem; /*40px*/
        height: 2.1875rem; /*35px*/
        border: 2px solid #3498db;
        border-radius: 30px;
        box-shadow: 0px 0px 40px 15px rgba(255,255,255,0.9);
        text-align: center;
        font-size: 1rem;
        background-color: rgba(255, 255, 255, 0.9);
    }

        .search input[type='submit'] {
            background: url(img/search.png) no-repeat rgba(255,255,255,0.9);
            background-size: 1.5rem 1.5rem; /*27px 28px;*/
            position: absolute;
            border-radius: 0px;
            right: 0.625rem; /*10px*/
            top: 0.5rem; /*8px*/
            width: 1.5rem; /*24px;*/
            height: 1.5rem; /*24px;*/
            margin-right: 0px;
            border: 0px solid #3498db;
        }

.name-system {
    flex: 1 1 auto;
    font-size: 1.714rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

.test-info {
    font-size: .7em !important;
    color: cadetblue;
}

#mainmenu {
    border-top: 3px solid #55b0ed;
    border-bottom: 3px solid #55b0ed;
    background: #fff;
    text-align: center;
}

    #mainmenu .menus .menu {
        font-family: Roboto-Regular;
        background: url(img/vert-line-menu.png) no-repeat #fff;
        background-position: 0 50%;
        text-transform: uppercase;
        color: #000;
        display: inline-flex;
        margin-left: -4px;
    }

    #mainmenu .menus .menu {
        background: #fff;
    }

        #mainmenu .menus .menu a {
            color: #000;
            padding: 1.7rem 1.7857rem;
        }

        #mainmenu .menus .menu.active {
            background: #55b0ed;
            color: #fff;
        }

        #mainmenu .menus .menu:hover {
            background: #55b0ed;
            color: #fff;
        }

#mobile-menu {
    background-color: #286090; /*rgb(91, 155, 213); #55b0ed;*/
}

    #mobile-menu .menus .menu {
        font-family: Roboto-Regular;
        text-transform: uppercase;
        padding: .7rem;
        animation: fade ease-in 0.5s;
        color: white;
    }

        #mobile-menu .menus .active, #mobile-menu .menus .menu:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        #mobile-menu .menus .menu a {
            color: white;
            display: flex;
        }

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lbusr {
    font-size: 1.7rem;
    flex: 0 0 auto;
    margin: auto;
    cursor: pointer;
    color: orange;
}

    .lbusr:before {
        font-family: FontAwesome;
        content: '\f2be';
    }

.button-adm {
    /*min-width:4rem;*/
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    /*background:gray;*/
    width: 4rem;
    cursor: pointer;
    outline: none;
    position: relative;
}

    .button-adm:hover {
        background-color: rgba(210, 210, 210, 0.9);
    }

    .button-adm:focus {
        background-color: rgba(210, 210, 210, 0.9);
    }

.show-log-menu /*.button-adm:focus > .pu-menu*/ {
    cursor: default;
    position: absolute;
    display: block !important;
    background: white;
    margin: 0px;
    top: 4.2rem;
    right: 0rem;
    z-index: 1;
    background-color: rgba(210, 210, 210, 0.9);
}

.button-adm > .pu-menu > li {
    padding: .8rem 1.4rem;
}

    .button-adm > .pu-menu > li:hover {
        background: orange;
    }

        .button-adm > .pu-menu > li:hover > a {
            color: white;
        }

#ib_type {
    margin-top: -0.15rem;
}

    #ib_type > select {
        border: 2px solid #3498db;
        border-radius: 30px;
        text-shadow: 0 0 black;
    }

.button-adm-focused {
    background-color: rgba(210, 210, 210, 0.9);
}

#show-menu:before {
    font-family: FontAwesome;
    content: '\f0c9';
}

.row {
    /*width: calc(100% - 80px);*/
    padding: 1rem 2.8571rem; /*1.4286rem 20px 40px;*/
    background: #fff;
}

#show-menu {
    font-size: 1.7rem;
    flex: 0 0 auto;
    margin: auto;
    padding: 0px 1rem 0px 1rem;
}

.main {
    flex: 1 0 auto;
    background: #e8eaed;
    border-top: 7px solid #c2c7d1;
    width: 100%;
    display: flex;
    justify-content: space-around;
}


    .main .sidebar {
        width: 15%;
    }

.wrap {
    /* width: 114.2857rem;1000px;*/
    margin: 0px auto;
    /*display: flex;*/
    background: #fff;
    /*flex-wrap: wrap;*/
    flex-direction: column;
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    width: 70%;
}

    .wrap .wrap-header {
        /*width: 94%;*/
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        background: #f3f5f8;
        border-bottom: 1px solid #c2c7d1;
        padding: 0.75rem;
        font-weight: 600;
    }

        .wrap .wrap-header a {
            color: #000 !important;
        }

        .wrap .wrap-header li {
            display: inline-flex;
            padding: 0px 0px 0px 15px;
        }


    .wrap .wrap-body {
        width: 94%;
        padding: 20px 3%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        /*min-height:300px;*/
    }

        .wrap .wrap-body .itemslist {
            width: 100%;
        }

            .wrap .wrap-body .itemslist .listitem {
                border-radius: 1.25rem; /*20px*/
                overflow: hidden;
                margin-bottom: 0.75rem;
            }

                .wrap .wrap-body .itemslist .listitem .listitem-header {
                    /*font-size: 13.3px;*/
                    background: #55b0ed;
                    color: #fff;
                    display: flex;
                    justify-content: space-between;
                    cursor: pointer;
                }

                    .wrap .wrap-body .itemslist .listitem .listitem-header .name {
                        padding: 0.875rem 1.875rem; /*14px 30px*/
                        margin: auto 0px;
                        flex: 1 1 auto;
                        /*width: calc(100% - 14.4375rem); /*215px*/
                    }

                    .wrap .wrap-body .itemslist .listitem .listitem-header .info {
                        /*min-width: 150px;*/
                        width: 11rem; /*160px*/
                        padding: 0px 10px;
                        background: #8cc4ea;
                        display: flex;
                        flex-wrap: wrap;
                        flex: 0 0 auto;
                    }

                        .wrap .wrap-body .itemslist .listitem .listitem-header .info div {
                            margin: auto;
                            width: 100%;
                        }

                    .wrap .wrap-body .itemslist .listitem .listitem-header .open {
                        display: flex;
                        background: #8cc4ea;
                        min-width: 2.8125rem; /*45px*/
                        cursor: pointer;
                        align-items: center;
                        flex: 0 0 auto;
                    }

                        .wrap .wrap-body .itemslist .listitem .listitem-header .open.close {
                            display: flex;
                            background: #d3e0e8;
                            min-width: 2.8125rem; /*45px*/
                        }

                        .wrap .wrap-body .itemslist .listitem .listitem-header .open .ico {
                            margin: auto;
                        }

                        .wrap .wrap-body .itemslist .listitem .listitem-header .open .ico-open {
                            background: url(img/close.png) no-repeat;
                            background-size: 0.5625rem 0.5625rem;
                            height: 0.5625rem;
                            width: 0.5625rem;
                        }

                        .wrap .wrap-body .itemslist .listitem .listitem-header .open.close .ico-open {
                            /*content: url(Content/img_1/open.png);
                            background-size: 0.5625rem 0.5625rem;*/
                            background: url(img/open.png) no-repeat;
                            background-size: 0.5625rem 0.5625rem;
                            height: 0.5625rem;
                            width: 0.5625rem;
                        }

                .wrap .wrap-body .itemslist .listitem .listitem-body {
                    /*font-size: 13.3px;*/
                    display: none;
                    flex-wrap: wrap;
                    padding: 1.25rem 1.875rem; /*20px 30px*/
                    border-bottom-left-radius: 1.25rem; /*20px*/
                    border-bottom-right-radius: 1.25rem; /*20px*/
                    border: 1px solid #dbdbdb;
                    border-top: 0px;
                    color: #808080;
                }

                    .wrap .wrap-body .itemslist .listitem .listitem-body.active {
                        display: flex;
                        flex-wrap: wrap;
                        flex-direction: column;
                    }

                    .wrap .wrap-body .itemslist .listitem .listitem-body label {
                        color: #242629;
                        font-weight: 600;
                        padding-left: 0px;
                        margin-bottom: 0px;
                    }

                    .wrap .wrap-body .itemslist .listitem .listitem-body .col-sm-12 {
                        margin-bottom: 20px;
                    }

                        .wrap .wrap-body .itemslist .listitem .listitem-body .col-sm-12 .buttons {
                            text-align: right;
                            padding: 10px 0px;
                        }

.col-sm-12 .after {
    color: #55b0ed;
    text-transform: uppercase;
}


.wrap .wrap-header .sort {
    margin: 0.5rem 1rem;
}

.sort:hover {
    text-decoration: underline;
}

.btn-blue {
    padding: 10px 20px;
    color: #fff;
    background: #55b0ed;
    border-radius: 10px;
    /*margin: auto auto auto 0px;*/
    cursor: pointer;
}

    .btn-blue:hover {
        box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    }

label {
    display: inline-flex;
    cursor: text;
    position: relative;
    margin-right: 15px;
    font-size: 0.9286rem; /*13px;*/
    padding-left: 1.875rem; /*30px;*/
    vertical-align: text-top;
    margin-bottom: 0.9375rem; /*15px;*/
    padding-bottom: 0.6rem;
}


input[type=checkbox] {
    display: none !important;
    cursor: pointer;
}

    input[type=checkbox] + label { /*:before */
        background: url(img/checkbox.png) no-repeat;
        background-size: 1.5rem 1.5rem;
        height: 2rem;
        /*content: url("Content/img_1/checkbox.png");
        margin: auto;*/
        margin-right: 0.5rem;
        /*margin-left: -30px;*/
    }

    input[type=checkbox]:checked + label { /*:before*/
        /*content: url("Content/img_1/checkbox_checked.png");*/
        background: url(img/checkbox_checked.png) no-repeat;
        background-size: 1.5rem 1.5rem;
        height: 2rem;
        /*width: 1.5rem;*/
        /*margin-right: 10px;
        vertical-align: -webkit-baseline-middle;*/
    }

.problem {
    margin-top: 1rem;
}

    .problem label {
        cursor: pointer;
    }

.around-create {
    width: 100%;
    border: 1px solid #dbdbdb;
    border-radius: 20px;
    padding: 25px 3% 50px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.name-textarea {
    font-family: Roboto-Medium;
    width: 100%;
    border-radius: 10px;
    height: 3.125rem; /*50px*/
    padding: 0.625rem; /*10px*/
    border: 1px solid #b3b3b3;
    resize: none;
    font-size: 1rem;
}

.text-textarea {
    font-family: Roboto-Medium;
    width: 100%;
    border-radius: 10px;
    height: 18.75rem; /*300px*/
    padding: 0.625rem; /*10px*/
    border: 1px solid #b3b3b3;
    resize: none;
    font-size: 1rem;
}


-placeholder .name-textarea:active {
    border-radius: 10px;
    border: 1px solid #b3b3b3;
}

.zalushok {
    text-align: right;
    margin: 0px;
    /*margin-bottom: 20px;*/
}

.around-create h4 {
    /*padding: 15px 0;*/
    color: #000;
}

.button {
    text-align: right;
    margin-top: 20px;
}

.wrap .wrap-header-tab {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    /*background: #f3f5f8;*/
    border-bottom: 1px solid #c2c7d1;
    padding: 0.625rem 0px 0px; /*10px*/
    font-weight: 600;
}

    .wrap .wrap-header-tab .tabs li {
        /*font-family: Roboto-Medium;*/
        font-weight: 500;
        display: inline-flex;
        background: #b4b4b4;
        padding: 0.625rem 0.9375rem; /*10px 15px*/
        margin-right: 2px;
        border-top-right-radius: 0.625rem; /*10px*/
        border-top-left-radius: 0.625rem; /*10px*/
        cursor: pointer;
    }

        .wrap .wrap-header-tab .tabs li.active {
            background: #3498db;
            color: #fff;
        }

.icon {
    background: #e8eaed;
}

.void {
    background: #e8eaed;
}

.option {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    font-family: Roboto-Regular;
    font-weight: 500;
    color: #fff;
    font-size: 1.286rem; /*18px;*/
    background: #f3f5f8;
    height: 2.875rem; /*46px*/
    width: 100%;
}

    .option .tab {
        cursor: pointer;
        text-align: center;
        border-top-left-radius: 0.5rem; /*8px*/
        border-top-right-radius: 0.5rem; /*8px*/
        background: #b4b4b4;
        padding: 0.125rem 0.875rem; /*2px 14px*/
        line-height: 2.1875rem; /*35px*/
    }

        .option .tab.active {
            background: #3498db;
        }

.input_option {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    /*padding: 80px 0px;*/
}

.b_save {
    font-family: Roboto-Regular;
    display: inline-block;
    color: white;
    border-width: 2px 0;
    border-style: solid none;
    border-color: #3498db;
    border-radius: 6px;
    background: #3498db;
    transition: 0.2s;
    cursor: pointer;
    width: 125px;
    height: 38px;
    font-size: 1.214rem; /*17px;*/
}

.star {
    color: #d11e1e;
}

.button_save {
    float: right;
    margin-top: 20px;
    font-family: Roboto-Regular;
}

.registr {
    font-size: 1.143rem; /*16px;*/
}

.menu first {
    font-family: Roboto-Regular;
    font-size: 1.429rem; /*20px;*/
}

.login {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    font-family: Roboto-Regular;
    font-size: 1.286rem; /*18px;*/
    padding-top: 15px;
    padding-right: 60px;
    width: 100%;
}

    .login input {
        width: 60%;
        border-radius: 6px;
        border: 1px solid #b3b3b3;
        line-height: 25px;
        padding: 5px;
        font-size: 1.143rem; /*16px;*/
        color: #858a92;
    }

.login_label {
    width: 40%;
    text-align: right;
    margin: auto 0px;
}

.login_input {
    width: 60%;
}

.login_label label {
    display: inline;
    padding-right: 20px;
    line-height: 25px;
    /*margin: 0px;*/
}

.b_confirm {
    display: inline-block;
    color: white;
    border-width: 2px 0;
    border-style: solid none;
    border-color: #3498db;
    border-radius: 0.375rem; /*6px*/
    background: #3498db;
    transition: 0.2s;
    cursor: pointer;
    width: 10.875rem; /*174px*/
    height: 2.375rem; /*38px*/
    margin-top: 0.625rem; /*10px*/
    font-size: 1.214rem;
}

.log_in {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.button_confirm {
    margin-left: 1.875rem; /*30px*/
    font-size: 1.214rem; /*17px;*/
    font-family: Roboto-Regular;
    margin-top: 0.9375rem; /*15px*/
}

.link {
    margin-left: 19%;
    font-size: 1.214rem; /*17px;*/
    font-family: Roboto-Regular;
    margin-top: 15px;
}

.link_1 {
    border-right: 1px solid #b4b4b4;
    padding-right: 1.875rem; /*30px*/
}

.link_2 {
    padding-left: 1.5625rem; /*25px*/
}

.wrap-body.log_in {
    padding: 7.5rem 3%; /*120px 3%*/
}


/******8888888888888888888888888888888888888888888888888888888888888888888888888888888888*****/

.box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    font-family: Roboto-Regular;
    font-size: 1.286rem; /*18px;*/
    padding-top: 0.9375rem; /*15px*/
}

.box_label {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.box input {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #b3b3b3;
    line-height: 1.375rem; /*22px*/
    padding: 5px;
    font-size: 1.143rem; /*16px;*/
    /*color: #858a92;*/
}

.box_label label {
    display: inline;
    /*width: 100%;*/
    font-size: 1.143rem; /*16px;*/
    font-family: Roboto-Regular;
    padding: 0;
    /*margin-bottom: 0;*/
    padding-right: 10px;
}

.box_label {
    width: 50%;
    text-align: right;
    margin: auto 0px;
}

.box_input {
    width: 100%;
    text-align: right;
    margin: auto 0px;
}

.box_select {
    width: 100%;
    text-align: left;
    margin: auto 0px;
}

.box select {
    width: 102%;
    border-radius: 6px;
    border: 1px solid #b3b3b3;
    /*color: #858a92;*/
    line-height: 25px;
    padding: 5px;
    font-size: 1.143rem; /*16px;*/
}

.bold {
    font-family: Roboto-Regular;
    font-size: 1.143rem; /*16px;*/
    color: black;
    line-height: 20px;
}

.usual {
    font-family: Roboto-Regular;
    font-size: 1.143rem; /*16px;*/
    color: #858a92;
    line-height: 20px;
}

.account_agree {
    margin: 10px;
}

#rls_request img {
    margin-top: 10px;
    width: 11.25rem; /*180px*/
}


element.style {
    margin-left: 0;
    margin-top: 0;
    position: absolute;
}

.rls-btnRefresh {
    background: rgba(0, 0, 0, 0) url("img/refresh.png") repeat scroll 0 0;
    background-size: 1.5rem 1.5rem;
    border: medium none;
    color: #207cc2;
    cursor: pointer;
    display: block;
    height: 1.5rem; /*24px*/
    width: 1.5rem; /*24px*/
}

.button_create_account {
    float: right;
}

.b_create {
    font-size: 1.214rem; /*17px;*/
    font-family: Roboto-Regular;
    display: inline-block;
    color: white;
    border-width: 2px 0;
    border-style: solid none;
    border-color: #3498db;
    border-radius: 6px;
    background: #3498db;
    transition: 0.2s;
    cursor: pointer;
    width: 16.75rem; /*268px*/
    height: 2.375rem; /*38px*/
}


.error_col {
    color: red;
    font-size: 1.143rem; /*16px;*/
}

.success_col {
    color: green;
}

account_result {
    text-align: left;
    width: 100%;
}

#register, #param {
    width: 100%;
}

.view-top {
    flex: 1 0 auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-bottom: 20px;
}


.view-top-left {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex: 1 1 70%;
}

    .view-top-left.SetOffer {
        flex: 1 0 80%;
    }

    .view-top-left .row-status {
        margin-bottom: 10px;
    }

        .view-top-left .row-status .status-off {
            background: url(img/error.png) no-repeat;
            background-position: 0 50%;
            padding-left: 2.5rem; /*40px*/
            width: 14.375rem; /*230px*/
            display: none;
        }

            .view-top-left .row-status .status-off a {
                color: #55b0ed;
                text-decoration: underline;
            }

        .view-top-left .row-status > div.active {
            display: block;
        }

    .view-top-left .row-title {
        margin-bottom: 20px;
        font-family: Roboto-Regular;
        font-size: 1.143rem; /*16px;*/
    }

    .view-top-left .row-info {
        margin-bottom: 10px;
        font-size: 1rem; /*14px;*/
        width: 100%;
        color: #808080;
    }

        .view-top-left .row-info label {
            margin-bottom: 0px;
            padding: 0px;
            font-weight: 600;
            text-align: left;
            width: auto;
            vertical-align: inherit;
            color: #242629;
        }

        .view-top-left .row-info .after {
            margin: auto 0;
        }


.view-top-right {
    display: flex;
    flex-direction: column;
    flex: 0 0 30%;
    overflow-x: hidden;
    text-align: center;
}

    .view-top-right.SetOffer {
        flex: 0 0 20%;
        justify-content: center;
    }

.active .view-top-left, .problem .view-top-left {
    flex: 0 0 50%;
}

/**************підпис до діаграми з голосуванням************************/
/*.view-top-right .petition-chart {
        font-size: 0.625rem; 
        margin: auto;
        position: relative;
        text-align: center;
        top: -6.5rem; 
        width: 4.5rem; 
        height: 0.625rem; 
    }*/
.votingCount {
    white-space: nowrap;
    padding-right: 0.5rem;
}

    .votingCount .fa-thumbs-up {
        padding-right: 0.1rem;
        color: #36A2EB;
    }

    .votingCount .fa-thumbs-down {
        padding-right: 0.1rem;
        color: #FF6384;
    }

.ratingMessage a {
    font-weight: bold;
    color: #000;
    text-decoration: underline;
}

.view-top-right .after, .ratingMessage .after {
    color: #808080;
}

.view-body {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    color: #808080;
}

    .view-body label {
        margin: 0px;
        padding: 0px;
        font-weight: 600;
        text-align: left;
        width: auto;
        vertical-align: inherit;
        color: #242629;
    }

    .view-body p {
        text-indent: 20px;
    }

.view-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

    .view-bottom .view-bottom-left {
        margin-top: 20px;
        width: calc(100% - 13rem); /*206px*/
        color: #55b0ed;
    }

    .view-bottom .view-bottom-right {
        width: 13rem; /*208px;*/
    }

        .view-bottom .view-bottom-right label {
            display: inherit;
            margin: 0px;
            margin-bottom: 5px;
            padding: 0px;
            font-weight: 600;
            text-align: right;
            width: 100%;
            vertical-align: inherit;
            color: #242629;
        }

.stButton {
    margin-right: 0px !important;
    margin-left: 5px !important;
}

.social {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.stButton .stLarge {
    background-size: 2rem 2rem !important;
    width: 2rem !important; /*32px*/
    height: 2rem !important; /*32px*/
}

    .stButton .stLarge:hover {
        background-position: 0 center !important;
        background-repeat: no-repeat !important;
    }

.perelik-top {
    margin: 0px;
    margin-bottom: 3px;
    padding: 0px;
    font-weight: 600;
    text-align: left;
    width: 100%;
    vertical-align: inherit;
    color: #242629;
    margin-bottom: 20px;
}

    .perelik-top .amount {
        background: url(img/amount.png) no-repeat;
        background-size: cover;
        padding: 2px 10px;
        font-weight: 100;
        color: #fff;
        margin-right: 15px;
    }

.perelik-body {
    display: flex;
    margin-bottom: 20px;
}

    .perelik-body .perelik-people li {
        width: 47%;
        margin-right: 2%;
        display: inline-flex;
        font-size: 0.9286rem; /*13px;*/
    }

    .perelik-body .perelik-people .time {
        color: #808080;
        margin-right: 15px;
        white-space: nowrap;
    }

    .perelik-body .perelik-people .name {
        color: #242629;
        font-weight: 600;
    }

.perelik-bottom {
    display: flex;
}

.user_menu label {
    cursor: default;
    width: auto;
    margin-bottom: 0px;
    margin-right: 0px;
    padding: 0 10px 0 0;
    font-size: 1.071rem; /*15px;*/
}
/******************************* table ****************************************/

table {
    border-spacing: 2px;
    box-sizing: border-box;
    display: table;
    text-indent: 0;
    width: 100%;
    border: 1px solid #dbdbdb;
}

.t-pet {
    border-collapse: collapse;
    width: 100%;
    vertical-align: middle;
    border: 1px solid #dbdbdb;
}

    .t-pet thead tr th {
        background: #A7D0F0 none repeat scroll 0 0;
        vertical-align: middle;
        border: 1px solid #dbdbdb;
    }

    .t-pet tbody tr td, .t-pet thead tr th {
        vertical-align: middle;
        text-align: center;
        padding: 3px;
        border: 1px solid #dbdbdb;
    }

/******************************* paging ****************************************/
.pager {
    color: Black;
    float: right;
    margin-top: 0.625rem; /*10px*/
    width: 100%;
}

    .pager a {
        border: 1px solid #ebebeb;
        display: block;
        float: right;
        min-width: 1.75rem; /*28px*/
        text-align: center;
        text-decoration: none;
        color: #55b0ed;
        margin-left: 0.25rem; /*4px*/
        padding: 0.3125rem 0.5rem; /*5px 8px*/
    }

.linkselected {
    background-color: #55b0ed;
    color: #fff !important;
}

.paging_qty {
    outline: #DCDCDC solid 0.5px;
    float: right;
    padding: 0.1875rem 0.1875rem 0px 0px; /*3px 3px 0px 0px*/
    text-align: center;
    text-decoration: none;
    display: block;
    /*outline: #DCDCDC solid 0.5px;*/
    margin-left: 0.25rem; /*4px*/
    padding: 0.3125rem 0.5rem; /*5px 8px*/
    background-color: #DCDCDC;
    width: auto;
}

.number-page li {
    margin-left: -0.25rem; /*-4px*/
    display: inline-flex;
    padding: 0.3125rem 0.5rem; /*5px 8px*/
    color: #55b0ed;
    border: 1px solid #ebebeb;
}

    .number-page li.active {
        background: #55b0ed;
        color: #fff;
    }

ul.number-page.fl-right {
    float: right;
}
/*--------------іра----------------------------*/

/*-----------------------сторінка результату----------------------------*/
.statisticsAllDiagrams {
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
}

.statisticsAllDiagram {
    display: flex;
    flex-direction: column;
    flex: 0 1 33%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding: 0.5rem;
    box-sizing: border-box;
}

.statColumnName {
    flex: 1 1 80%;
    padding: 0.5rem;
    margin: auto;
}

.statColumnHeader {
    text-align: center;
    color: #0c628d;
}

.statAllColumnCount {
    flex: 0 0 10%;
    /*color: #dbdbdb;*/
    padding: 0.5rem;
    border-left: 0.05rem solid #dbdbdb;
}

.row-info {
    display: flex;
    flex-direction: column;
    margin: 0.4rem;
    flex: 0 0 auto;
}

.statisticsCount {
    display: flex;
    overflow: hidden;
    flex: 0 0 auto;
    flex-direction: column;
}

    .statisticsCount > .right-col {
        flex: 1 0 auto;
        overflow: hidden;
        display: flex;
        align-items: center;
        margin: 0.4rem;
    }

.row > .right-col {
    flex-wrap: wrap;
}

.statisticsCount > .right-col > .right-col {
    flex: 0 0 33%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.resultEntries .row {
    display: flex;
    padding: 0.2rem 0;
    box-sizing: border-box;
    flex: 1 0 auto;
}

    .resultEntries .row > .left-col {
        padding-right: 0.3rem;
        flex: 0 0 25%;
        box-sizing: border-box;
        color: #0c628d;
    }

.resultEntries .right-col .left-col {
    color: #808080;
    font-weight: normal;
    flex: 1 0 80%;
}

.resultEntries .right-col .col-count {
    color: #808080;
    font-weight: normal;
    flex: 0 0 20%;
}

.resultEntries .row > .right-col {
    overflow: hidden;
    display: flex;
    flex: 1 1 75%;
    box-sizing: border-box;
    align-items: center;
    color: #808080;
    flex-wrap: wrap;
}

.resultEntries {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    border: 1px solid #dbdbdb;
    margin: 0.5rem;
}

.resultEntriesItem {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #dbdbdb;
    flex: 1 0 auto;
}

.resultEntriesItemLeft {
    flex: 0 0 35%;
    color: #0c628d;
    padding: 0.5rem;
    margin: auto;
}

.resultEntriesItemRigth {
    flex: 1 1 65%;
    padding: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #dbdbdb;
}

.resultEntriesHeader {
    font-size: 1.4rem;
    text-align: center;
    color: #242629;
    padding: 0.5rem;
}

.imageInfo {
    font-family: FontAwesome;
}

.discType {
    margin-left: 0.3rem;
}

.display-none {
    display: none;
}
/*---------for editor------------------*/
.entryTable {
    border: 1.7px solid rgb(147, 158, 176);
    width: 100%;
}

.entryTd {
    border: 1.5px solid rgb(147, 158, 176);
    color: black;
    padding: 0.3rem;
    min-width: 4rem;
    min-height: 1rem;
}

.doubleColumn {
    width: 50%;
}

.entryBold {
    font-weight: bold;
}

.entryUnderline {
    text-decoration: underline;
}

.entryItalic {
    font-style: italic;
}

.entryStrike {
    text-decoration: line-through;
}

.entrySup {
    vertical-align: super;
}

.entrySub {
    vertical-align: sub;
}

.entryLeft {
    text-align: left;
}

.entryRight {
    text-align: right;
}

.entryCenter {
    text-align: center;
}

.entryJustify {
    text-align: justify;
}
/*---------for editor------------------*/

/*-------------------/----------------------------------*/
.star0 {
    font-size: 1.2em;
    color: grey;
    white-space: nowrap;
}

.star1 {
    color: #FF6384;
}

.star2 {
    color: #fb91a7;
}

.star3 {
    color: #9cc6e2;
}

.star4 {
    color: #8eccf7;
}

.star5 {
    color: #36A2EB;
}

.ratingMessage {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
}

    .ratingMessage > div {
        font-family: FontAwesome;
        font-size: 4rem;
        color: #32cd32;
        flex: 1 1 auto;
    }

.docItemInfo {
    font-size: 0.9em;
    width: 17%;
    vertical-align: middle;
    text-align: center;
}

.pageNav {
    justify-content: center;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
}

    .pageNav > .btn {
        margin-bottom: 0.4rem;
    }

#setVoting {
    justify-content: center;
    display: flex;
    align-items: center;
    padding-bottom: 0.4em;
    margin-top: 0.7rem;
}

    #setVoting > a {
        text-decoration: none;
    }
/*********************disscution block**********************/
.commShowField img {
    max-height: 5rem;
}

#discussBlock img {
    max-height: 4rem;
}

.discType {
    font-size: inherit;
}

.addComm {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    text-align: left;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    background: transparent;
    width: 100%;
}

.commShowField .commText {
    font-size: 0.9rem;
    cursor: text;
}

.commTextBlock {
    flex-direction: row;
    display: flex;
    margin: 0.3rem 0rem;
}

    .commTextBlock .fa-user {
        font-size: 5rem;
        color: #808080;
    }

.commText {
    border: 1px solid #ddd;
    border-top: 1px solid #d5d5d5;
    color: #b8b8b8;
    cursor: pointer;
    margin-left: 11px;
    /*min-height: 35px;*/
    border-radius: 2px;
    padding: 8px 10px 10px;
    width: 100%;
}

    .commText > textarea {
        height: 99%;
        width: 100%;
        border: 0;
        resize: vertical;
        overflow: auto;
    }

.ReplyBlock .commText {
    border: 1px solid #a5c7fe;
}

.ReplyBlock .arrow-outer {
    border: 6px solid #a5c7fe;
}

.commSend {
    text-align: right;
    padding: 0.8rem 0rem;
}

.commShowField {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.commArrow {
    height: 12px;
    position: absolute;
    top: 0;
    width: 12px;
    left: 0;
}

.arrow-inner {
    border: 7px solid #fff;
    left: 2px;
    top: 1px;
    z-index: 1;
}

.arrow-outer {
    border: 6px solid #d5d5d5;
    left: 0;
    top: 0;
}

.commArrow .arrow-inner, .commArrow .arrow-outer {
    border-bottom-color: transparent;
    border-left-color: transparent;
    position: absolute;
}

li {
    list-style-type: none;
}

.setDiscussVote {
    cursor: pointer;
}

#voteYes:hover {
    color: #36A2EB;
}

#voteNo:hover {
    color: #FF6384;
}

/*--------------побудова дерева---------------------------*/
#discussBlock {
    display: block;
    width: 100%;
    margin-top: 0.8rem;
}
/* узел отодвинут от левой стенки контейнера на 18px
    благодаря этим отступам вложенные узлы формируют иерархию
 */
.Node {
    margin-left: 18px;
    zoom: 1; /* спецсвойство против багов IE6,7. Ставит hasLayout */
}

/* Корневой узел от родительского контейнера не отодвинут.
   Ему же не надо демонстрировать отступом, чей он сын.
   Это правило идет после .Node, поэтому имеет более высокий приоритет
   Так что class="Node IsRoot" дает margin-left:0
*/
.IsRoot {
    margin-left: 0;
}
/* иконка скрытого/раскрытого поддерева или листа
    сами иконки идут дальше, здесь общие свойства
 */
.Expand {
    width: 18px;
    height: 18px;
    /* принцип двухколоночной верстки. */
    /* float:left и width дива Expand + margin-left дива Content */
    float: left;
    cursor: pointer;
}

/* содержание (заголовок) узла */
.Content {
    /* чтобы не налезать на Expand */
    margin-left: 18px;
    /* высота заголовка - как минимум равна Expand
        Т.е правая колонка всегда выше или равна левой.
        Иначе нижний float будет пытаться разместиться на получившейся ступеньке
    */
    min-height: 18px;
    overflow: hidden;
}

/* все правила после * html выполняет только IE6 */
/** html .Content {
    color: black;
    height: 18px; /* аналог min-height для IE6 */
/*}*/
/* открытое поддерево */
.ExpandOpen > .Expand:after {
    /*background-image: url(img/minus.gif);*/
    content: "\203a";
    display: inline-block;
    transform: rotate(90deg);
}

/* закрытое поддерево */
.ExpandClosed > .Expand:after {
    /*background-image: url(img/plus.gif);*/
    content: "\203a";
    display: inline-block;
}

/* лист */
.ExpandLeaf .Expand {
    background-image: url(img/leaf.gif);
    cursor: default;
}

.ExpandOpen .Container {
    display: block;
}

.ExpandClosed .Container {
    display: none;
}
/*--------------/побудова дерева---------------------------*/

#date_start, #date_end {
    max-width: 10rem;
    margin: 0 0.5rem;
}

.numText {
    flex-grow: 1;
    margin-left: 0.5rem;
}

/******************************* media rules ****************************************/

@media all and (min-width:100px) {
    html {
        font-size: 10px;
    }

    .main .sidebar {
        width: 0%;
    }

    .wrap {
        width: 100%;
    }
}

@media all and (min-width:300px) {
    html {
        font-size: 12px;
    }
}
@media all and (max-width:600px) {
    /*в хедері забираємо з фону картинку*/
    .headerimg {
        height: auto;
        order: 1;
        text-align: right;
    }

    .img-gerb {
        display: none;
    }
    .img-flag, .headerimg, .img-rada {
        background: rgba(0,0,0,0);
    }
    .about_question {
        padding-left: 0.5rem;
    }

    .search {
        flex: 1 0 auto;
        margin: 0.1rem;
    }
        .search input{
            box-shadow:none;
        }
}

@media all and (max-width:810px) {

    .statisticsAllDiagrams {
        flex-direction: column;
        flex: 1 0 auto;
    }

    .statisticsAllDiagram {
        flex: 1 0 auto;
    }

    .statisticsCount > .right-col {
        flex-direction: column;
        align-items: stretch;
    }

        .statisticsCount > .right-col > .right-col {
            flex: 1 0 auto;
            align-items: stretch;
        }
    /*робимо представлення блоків колонкою */
    .view-top {
        /*border: 0.06rem solid red;*/
        flex-direction: column;
        justify-content: flex-start;
    }

    .view-top-right, .view-top-left, .active .view-top-left, .problem .view-top-left, .view-top-right.SetOffer, .view-top-left.SetOffer {
        flex: 0 0 auto;
    }
    /*не відображаємо інформацію по обговорюваності для законопроекту в списку законопроектів*/
    .wrap .wrap-body .itemslist .listitem .listitem-header .info {
        display: none;
    }
    /*робимо по всій довжині input форми пошуку в хедері*/
    .search input {
        width: 100%;
    }

    .about_question {
        padding-left: 0.5rem;
    }
    /*.search input{
            box-shadow:none;
        }*/
    /*#mainmenu{
            border:none;
        }*/
    #setRatingBlock {
        font-size: 2rem;
    }
}

@media all and (min-width:810px) {
    html {
        font-size: 12px;
    }

    .main .sidebar {
        width: 0%;
    }

    .wrap {
        width: 100%;
    }

    .search input {
        width: 30rem;
    }

    .search {
        width: 30rem;
    }
}

@media all and (min-width:900px) {
    html {
        font-size: 13px;
    }
}
@media all and (max-width:1000px) {
    html {
        font-size: 13px;
    }
    /*не відображаємо назву сайту*/
    .name-system, #mainmenu {
        display: none;
    }
}
@media all and (min-width:1001px) {
    .name-system {
        width: 25rem; /*350px;*/
        color: #fff;
        font-size: 1.5rem; /*24px;*/
    }

        .name-system div {
            font-size: 1.714rem; /*24px;*/
        }
    #show-menu, #mobile-menu {
        display: none;
    }
}

@media all and (min-width:1200px) {
    html {
        font-size: 15px;
    }

    .main .sidebar {
        width: 10%;
    }

    .wrap {
        width: 80%;
    }
}

@media all and (min-width:1400px) {
    html {
        font-size: 16px;
    }
}



@media all and (min-width:1650px) {
    html {
        font-size: 18px;
    }

    .main .sidebar {
        width: 15%;
    }
}

@media all and (min-width:1900px) {
    html {
        font-size: 20px;
    }

    .main .sidebar {
        width: 15%;
    }
}

@media all and (min-width:2100px) {
    html {
        font-size: 22px;
    }

    .main .sidebar {
        width: 15%;
    }
}

@media all and (min-width:2300px) {
    html {
        font-size: 24px;
    }

    .main .sidebar {
        width: 15%;
    }
}

@media all and (min-width:2700px) {
    html {
        font-size: 30px;
    }

    .main .sidebar {
        width: 15%;
    }
}


@media all and (min-width:3100px) {
    html {
        font-size: 34px;
    }

    .main .sidebar {
        width: 20%;
    }

    .wrap {
        width: 60%;
    }
}

@media all and (min-width:3800px) {
    html {
        font-size: 40px;
    }

    .main .sidebar {
        width: 20%;
    }

    .wrap {
        width: 60%;
    }
}

@media all and (min-width:4200px) {
    html {
        font-size: 48px;
    }

    .main .sidebar {
        width: 20%;
    }

    .wrap {
        width: 60%;
    }
}

@media all and (min-width:4500px) {
    html {
        font-size: 52px;
    }

    .main .sidebar {
        width: 20%;
    }

    .wrap {
        width: 60%;
    }
}

@media all and (min-width:5000px) {
    html {
        font-size: 54px;
    }
}

@media all and (min-width:6000px) {
    html {
        font-size: 64px;
    }
}

@media all and (min-width:7000px) {
    html {
        font-size: 74px;
    }
}
/* ------------------ /@media ------------------ */
