body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #5E5E5E;
}

html {
    width: 100%;
    height: 100%;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

button {
    outline: none;
}

a {
    text-decoration: none;
    color: unset;
}

.link-row a, .contain-row a {
    text-decoration: underline;
    color: blue;
}

h1, h2, h3, h4 {
    margin: unset;
}

body > header {
    background-color: white;
}

body > footer {
    background-color: #192229;
}

.rotate-180 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

#main > div {
    padding-left: 20px;
}

input, textarea {
    font: unset;
    color: unset;
    border: 1px solid #B3B7C0;
    padding: 5px;
}

input {
    height: 34px;
    border-radius: 4px;
}

    input:focus, textarea:focus {
        outline: none;
    }

textarea {
    overflow: hidden;
    resize: none;
}

table {
    border-spacing: unset;
}

    table.table {
        width: 100%;
        margin-bottom: 10px;
        background-color: white;
        border-radius: 10px;
        border: 1px solid #B3B7C0;
        padding: 0 2px 4px 2px;
    }

        table.table th {
            height: 42px;
            text-align: left;
        }

            table.table th.leftBorder {
                border-left: 1px solid #B3B7C0;
                border-radius: 0;
            }

            table.table th.rightBorder {
                border-right: 1px solid #B3B7C0;
                border-radius: 0;
            }

.sortorder:after {
    content: '\25b2';
}

.sortorder.reverse:after {
    content: '\25bc';
}

table.table td {
    height: 38px;
}

table.table th, table.table td {
    padding: 4px 8px;
    text-align: left;
}

table.table:not(.empty) tr td, table.table:not(.empty) tr th {
    border-bottom: 1px solid #B3B7C0;
}

table.table tr td:first-child > div, table.table tr th:first-child > div, table.table tr td:last-child > div, table.table tr th:last-child > div {
    height: 100%;
    padding: 4px 8px 4px 8px;
    width: 100%;
}

/*table.table:not(.empty) tr td:first-child > div, table.table:not(.empty) tr th:first-child > div, table.table:not(.empty) tr td:last-child > div, table.table:not(.empty) tr th:last-child > div {
           border-bottom: none !important
        }*/

table.table tr td:first-child, table.table tr th:first-child {
    height: 100%;
    /*padding-bottom: 0;*/
    width: 60px;
    padding-right: 0;
    padding-left: 14px;
}

table.table tr td:last-child, table.table tr th:last-child {
    height: 100%;
    /*padding-bottom: 0;*/
    /*padding-left: 0;*/
    padding-right: 14px;
}

table.table tbody tr:last-child td {
    border-bottom: none;
}

    table.table tbody tr:last-child td:first-child > div, table.table tbody tr:last-child td:last-child > div {
        border-bottom: none;
    }

.card header, .card header * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.card .front, .card .back {
    position: absolute;
    height: 100%;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.card .front {
    z-index: 2;
}

.card .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.card .flipper {
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
    height: 100%;
    width: 100%;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #B3B7C0;
}

.card.flipped .flipper {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.card {
    display: inline-block;
    -webkit-perspective: 500px;
    perspective: 500px;
}

.clickable {
    cursor: pointer;
}

    .clickable.red {
        color: #E61C2A;
        font-size: 14px;
    }

    .clickable:hover {
        opacity: 0.7;
    }

.card .icon {
    outline: none;
}

    .card .icon.main-icon {
        z-index: 1;
    }

    .card .icon.editing-icon {
        z-index: 1;
    }

.icon {
    width: 24px;
    /*height: 24px;*/
    background: no-repeat center center;
    background-size: cover;
    cursor: pointer;
    display: inline-block;
}

    .icon.inactive {
        cursor: default;
    }

    .icon.sm {
        height: 20px;
        width: 20px;
    }

    .icon:not(.inactive):hover {
        opacity: 1;
    }

    .icon.checked {
        background-image: url(/Content/images/icons/checked.png);
    }

    .icon.exit {
        background-image: url(/Content/images/icons/exit-icon.png);
    }

.trash-ico {
    margin-top: 6px;
    width: 10px;
    height: 11px;
    background-image: url(/Content/images/icons/trash-ico.png);
}

.add-entity {
    margin-top: 6px;
    width: 18px;
    height: 12px;
    background-image: url(/Content/images/icons/file.png);
}

.action-btn {
    width: 14px;
    height: 14px;
    position: relative;
    top: 2px;
}

.add-icon {
    background-image: url(/Content/images/icons/buttons/add_grey.svg);
}

.remove-icon {
    background-image: url(/Content/images/icons/buttons/remove_grey.svg);
}

.edit-icon {
    background-image: url(/Content/images/icons/buttons/edit_grey.svg);
}

.sync-icon {
    background-image: url(/Content/images/icons/buttons/refresh_grey.svg);
}

.move-icon {
    background-image: url(/Content/images/icons/buttons/shuffle_grey.svg);
}

.refresh-icon {
    background-image: url(/Content/images/icons/buttons/switch-on_grey.svg);
}

.command-icon {
    background-image: url(/Content/images/icons/buttons/share_grey.svg);
    top: -1px !important;
    right: 3px !important;
}

.icon-three-dots {
    background-image: url(/Content/images/icons/buttons/three_dots.svg);
    width: 25px;
    border: 2px solid rgb(174, 182,190);
    border-radius: 50%;
}

.load-icon {
    background-image: url(/Content/images/icons/buttons/download_grey.svg);
}

.icon .arrow-point-down {
    margin: 5px;
    background-image: url(/Content/images/icons/arrow-point-to-down.png);
}

.icon.unchecked {
    background-image: url(/Content/images/icons/uchecked.png);
}

.icon.add {
    background-image: url(/Content/images/icons/add.png);
}

.icon.organization {
    background-image: url(/Content/images/icons/menu/02_komp_01.svg);
}

.icon.more {
    background-image: url(/Content/images/icons/menu/play-button-gray.svg);
    width: 12px;
    height: 12px;
    margin: 10px;
    right: 10px;
}

.icon.person {
    background-image: url(/Content/images/icons/menu/04_vod.svg);
}

.icon.companies {
    background-image: url(/Content/images/icons/menu/02_komp.svg);
}

.icon.groups {
    background-image: url(/Content/images/icons/menu/02_komp_02.svg);
}

.icon.derrick {
    background-image: url(/Content/images/icons/menu/03_komplex_01.svg);
}

.icon.home {
    background-image: url(/Content/images/icons/home.png);
}

.icon.storage-barrel {
    background-image: url(/Content/images/icons/menu/03_komplex_03.svg);
}

.icon.barrel {
    background-image: url(/Content/images/icons/menu/03_komplex_03.svg);
}

.icon.supplier {
    background-image: url(/Content/images/icons/menu/12_supplier.svg);
}

.icon.diskette {
    background-image: url(/Content/images/icons/diskette.png);
}

.icon.magnifier {
    background-image: url(/Content/images/icons/magnifier.png);
}


.icon.green-arrow {
    background-image: url(/Content/images/icons/green-arrow.png);
}

.icon.key {
    background-image: url(/Content/images/icons/menu/06_kluchi.svg);
}

.icon.user {
    background-image: url(/Content/images/icons/menu/04_vod_01.svg);
}

.icon.driver {
    background-image: url(/Content/images/icons/menu/04_vod_02.svg);
}

.icon.limit {
    background-image: url(/Content/images/icons/menu/07_lim.svg);
}

.icon.limit-template {
    background-image: url(/Content/images/icons/menu/07_lim_02.svg);
}

.icon.one-time-pin {
    background-image: url(/Content/images/icons/menu/07_lim_03.svg);
}

.icon.file {
    background-image: url(/Content/images/icons/menu/09_otchet.svg);
}

.icon.journal {
    background-image: url(/Content/images/icons/menu/10_gur.svg);
}

.icon.event {
    background-image: url(/Content/images/icons/menu/10_gur_02.svg);
}

.icon.transaction {
    background-image: url(/Content/images/icons/menu/10_gur_01.svg);
}

.icon.request {
    background-image: url(/Content/images/icons/menu/10_gur_02.svg);
}

.icon.car {
    background-image: url(/Content/images/icons/menu/05_transp.svg);
}

.icon.books {
    background-image: url(/Content/images/icons/menu/11_bibl.svg);
}

.icon.device {
    background-image: url(/Content/images/icons/menu/08_ystr.svg);
}

.icon.dispenser {
    background-image: url(/Content/images/icons/menu/03_komplex_02.svg);
}

.icon.gas-station {
    background-image: url(/Content/images/icons/gas-station.png);
}

.icon.report {
    background-image: url(/Content/images/icons/newp.svg);
}

.icon.trash {
    background-image: url(/Content/images/icons/trash.png);
}

.icon.add-entity {
    background-image: url(/Content/images/icons/menu/09_otchet.svg);
}

.icon.operation {
    background-image: url(/Content/images/icons/operations.png);
}

.icon.trash.inactive {
    /*background-image: url(/Content/images/icons/trash.png);*/
    pointer-events: none;
    opacity: 0.6;
}

.icon.four-lines {
    background-image: url(/Content/images/icons/four-lines.png);
}

.icon.four-squares {
    background-image: url(/Content/images/icons/four-squares.png);
}

.icon.four-lines.active {
    background-image: url(/Content/images/icons/four-lines-active.png);
}

.icon.four-squares.active {
    background-image: url(/Content/images/icons/four-squares-active.png);
}

.icon.editing-icon {
    background-image: url(/Content/images/icons/edit.png);
}

.icon.nav-arrow {
    background-image: url(/Content/images/icons/nav-arrow.png);
}

.icon.calculator {
    width: 35px;
    height: 24px;
    background-image: url(/Content/images/icons/calculator.png);
}


.comma-item:not(:last-child):after {
    content: ', ';
}

.shadow {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 48%, 0.31);
    -webkit-transition: all linear 2s;
    -o-transition: all linear 2s;
    transition: all linear 2s;
    overflow: auto;
}

.spiner-in-modal .shadow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: inherit;
    height: 190px;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #E61C2A; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -60px;
    margin-top: -60px;
}

.spiner-in-modal .loader {
    position: initial;
    margin-left: 0;
    margin-top: 35px;
}

.scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

div.custom-modal {
    width: 1000px;
    min-height: 320px;
    background-color: white;
    position: relative;
}

    div.custom-modal.scroll {
        width: 1010px;
    }

    div.custom-modal.cancellation-сertificate {
        width: 500px;
        min-height: 220px;
        background-color: white;
        position: relative;
    }

    div.custom-modal > header {
        width: 100%;
        height: 46px;
        position: relative;
        border-bottom: 1px solid #D9E0E8;
    }

        div.custom-modal > header .close-button {
            color: #E61C2A;
            position: absolute;
            right: 10px;
            top: 10px;
        }

            div.custom-modal > header .close-button:hover {
                opacity: 0.6;
            }

    div.custom-modal > main {
        width: 100%;
        min-height: 1px;
        padding: 10px;
        margin-bottom: 46px;
        float: left;
    }

.links-section > div:not(.link-row) {
    text-align: center;
}

.custom-modal hr {
    width: 980px;
}

div.custom-modal > footer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 46px;
    width: 100%;
    border-top: 1px solid #D9E0E8;
    padding: 10px;
}

    div.custom-modal > footer .error-message {
        color: #E61C2A;
        display: inline-block;
        /*float: left;*/
    }

    div.custom-modal > footer button.btn {
        float: right;
    }

div.custom-modal div.modal-message {
    text-align: center;
    margin-top: 5px;
    border-top: 1px solid #D9E0E8;
    display: inline-block;
    width: 100%;
    border-radius: 1px;
}

div.modal-message-text {
    margin: 16px 0 0 0;
    font-size: 22px;
}

div.modal-message-btn {
    margin: 15px 0 5px 0;
    text-align: right;
}

.error-message {
    color: #E61C2A;
    display: inline-block;
}

div.input-row {
    width: 460px;
    float: left;
    margin: 6px 10px;
    height: 32px;
    position: relative;
}

    div.input-row.lg {
        width: 600px;
    }

        div.input-row.lg input, div.input-row.lg md-select {
            width: 465px;
        }

    div.input-row input, div.input-row md-select {
        width: 340px;
        margin-left: 130px;
        padding: 0px 15px;
    }

        div.input-row input.incorrect {
            border: 1px solid #E61C2A;
        }

    div.input-row label {
        width: 135px;
        display: inline-block;
        padding-right: 10px;
        font-weight: bold;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
        position: absolute;
        bottom: 8px;
    }

main.modal-body h3 {
    margin: 16px 0 16px 0;
}

div.input-row span .text-decoration {
    text-decoration: underline;
}


div.input-row label.long-text {
    font-size: 15px;
    white-space: initial;
    bottom: 0;
}

.fields-section {
    height: 180px;
}

.row {
    width: 100%;
    float: left;
}

*[role=button] {
    cursor: pointer;
}

button.btn {
    background: #E61C2A;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    padding: 4px 6px;
    min-width: 100px;
    margin: 0 2px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

md-dialog.md-default-theme, md-dialog {
    border-radius: 10px;
    /*width: 400px;*/
}

.md-button.md-default-theme.md-primary {
    border: 1px solid black;
    border-radius: 5px;
}

    .md-button.md-default-theme.md-primary:hover {
        border: 1px solid black;
        border-radius: 5px;
        background-color: #B3B7C0;
    }

    .md-button.md-default-theme.md-primary:first-child {
        color: black;
    }

    .md-button.md-default-theme.md-primary:last-child {
        color: red;
    }

md-dialog-actions button {
    color: red;
}

md-select {
    margin: 0;
    display: inline-block;
}

md-dialog {
    overflow: visible;
    min-height: 160px;
}

.menu-list {
    margin: 0;
    padding: 0;
}

#group-hierarchy * {
    outline: none;
}

#group-hierarchy ul {
    list-style-type: none;
}

    #group-hierarchy ul li > div > span {
        top: 5px;
        position: relative;
    }

.autocomplete-holder {
    margin: 10px 20px 20px 40px;
    width: 200px;
}

    .autocomplete-holder div {
        margin-bottom: 10px;
    }

    .autocomplete-holder label {
        font-weight: bold;
    }

    .autocomplete-holder md-autocomplete {
        margin-top: 10px;
    }

.header-wrapper {
    width: 100%;
    height: 70px;
}

.header-toolbar {
    padding-right: 10px;
    float: right;
    margin-top: 12px;
}

.toolbar-section-wrapper {
    font-size: 14px;
    padding: 0px 3px;
    float: left;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #B3B7C0;
    margin-top: 10px;
    margin-left: 2px;
    margin-right: 2px;
    background-color: white;
}

    .toolbar-section-wrapper.reports {
        display: inline-block;
        float: none;
    }

.set-one-obj {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 5px;
}

    .set-one-obj > * {
        margin-top: 0 !important;
    }

.toolbar-section-wrapper md-autocomplete input:not(.md-input) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 150px !important;
    max-width: 150px !important;
}

.toolbar-section-wrapper.search-container .search-input {
    position: relative;
    font-size: 14px;
}

.toolbar-section-wrapper.search-container img {
    top: 4px;
    right: 10px;
    left: -5px;
    width: 18px;
    height: 18px;
}

.toolbar-section-wrapper.search-container.serch-text {
    width: 200px;
    margin-top: 0;
}

    .toolbar-section-wrapper.search-container.serch-text .search-input {
        width: 170px;
        cursor: text
    }

.toolbar-section-wrapper.login-container {
    height: 28px;
}

.toolbar-section-wrapper md-autocomplete {
    display: inline-block;
    height: 24px;
    margin-top: 1px;
}

.toolbar-section-wrapper md-autocomplete-wrap {
    -webkit-box-shadow: none;
    box-shadow: none;
    height: 24px;
}

.toolbar-section-wrapper .exit {
    margin: 2px;
    width: 20px;
    height: 20px;
}

md-autocomplete .md-show-clear-button button {
    top: -2.5px;
}

table.table td.text-right, table.table th.text-right {
    text-align: right;
}

.chart-container {
    width: 1000px;
    height: 600px;
}

#myChart {
    width: 1000px !important;
    height: 600px !important;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.form-autocomplete {
    margin-left: 130px;
    border: 1px solid #B3B7C0;
    border-radius: 4px;
    display: inline-block;
    width: 340px;
}

    .form-autocomplete md-autocomplete-wrap {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

    .form-autocomplete input {
        margin-left: 0 !important;
        height: 54px !important;
        line-height: 54px !important;
    }

.technicalStrait {
    background: #baf8ba !important;
}

    .technicalStrait:hover {
        background: #96e296 !important;
    }

.moving {
    background: rgba(254, 254, 73, 0.56) !important;
}

    .moving:hover {
        background: rgb(255, 255, 112) !important;
    }

.bgWhite {
    background: none;
}

.wrap-progress {
    border: 1px solid black;
    border-radius: 10px;
    background-color: #fff;
    width: 100%;
    max-width: 150px;
    height: 30px !important;
    position: relative;
    padding: 0 !important;
    overflow: hidden;
}

.progress {
    height: 28px;
    border-radius: 10px;
}

.progress_span {
    position: absolute;
    color: black;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.redProgress {
    background-color: #FF5C57;
}

.greenProgress {
    background-color: #5cb85c;
}

.orangeProgress {
    background-color: orange;
}

.paginationSelf {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.helperText {
    display: none !important;
}

.mainText:hover .helperText {
    display: inline-block !important;
}

.mainText:hover .classForTest {
    display: none;
}

.radio-filters {
    padding: 4px;
}

    .radio-filters input {
        height: auto;
    }

.md-chips-select input {
    /*font-size: 16px !important;*/
}

md-select-header {
    -webkit-box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.12);
    display: block;
    padding: 0 0;
    position: fixed;
    width: calc(100% - 16px);
    z-index: 2;
    background-color: white;
}

    md-select-header input {
        width: calc(100% - 46px);
        margin: 2px;
        border: none;
        padding: 5px 21px;
    }

md-optgroup {
    margin-top: 48px;
}

.no-border-datepicker .md-datepicker-input-container {
    border-bottom: none !important;
}
