﻿body {
    max-width: 98%;
    padding-top: 0px;
    padding-bottom: 5px;
    background: url("../images/bg.png") repeat #2f6097;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input, select, textarea {
    max-width: 280px;
}

.parent {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.div_centrInfo {
    display: table;
    margin: 0 auto;
    text-align: center;
}

.div_caption {
    font-size: large;
    font-weight: bold;
    text-align: center;
    font-size: large;
    font-weight: bold;
    color: #440000;
    margin-bottom: 10px;
}

.div_content {
    margin-left: 10px;
    margin-right: 10px;
}

.div_content_center {
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

/*закомментил измененные параметры (AY)*/
.newTopMenuDiv {
    height: 20px;
    text-align: center; /*background: #010f64;*/
    border-radius: 3px;
    border: solid 1px black;
    margin: 0 auto;
    float: left;
    position: fixed;
    left: 5px;
    z-index: 4
}

.newTopMenuDivRight {
    height: 20px;
    text-align: center;
    border-radius: 3px;
    border: solid 1px black;
    margin: 0 auto;
    position: fixed;
    right: 5px;
    z-index: 4
}

.newTopMenu {
    height: 20px;
    text-align: center; /*background: #010f64;*/ /*background:rgba(51, 122, 183, 0.60);*/
    background: rgba(51, 122, 183, 0.7);
    border-radius: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
    position: relative;
    float: left;
}

.newTopMenuItem {
    position: relative;
    float: left;
}
/*добавлено*/
.newTopMenuSpan {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    border-style: none;
    padding-left: 0.15em;
    padding-right: 0.15em;
    text-align: center;
    color: #FFFFFF;
    font: 100% Tahoma, sans-serif;
    position: relative;
    float: left;
}
/*=========*/
.newTopMenuA {
    text-decoration: none;
    white-space: nowrap;
    display: block;
    border-style: none;
    padding-left: 0.15em;
    padding-right: 0.15em;
    text-align: center;
    color: #FFFFFF;
    font: 100% Tahoma, sans-serif;
    position: relative;
    float: left;
}

    .newTopMenuA:hover {
        color: rgb(35, 45, 55);
        transition: ease-out all 0.1s;
        -webkit-transition: ease-out all 0.2s;
        -moz-transition: ease-out all 0.2s;
        -o-transition: ease-out all 0.2s;
    }


.panel {
    border: solid 1px gray;
    width: 500px;
    padding: 10px;
    padding-top: 0px;
}

.panelFill {
    border: solid 1px gray;
    width: 95%;
    padding: 10px;
    padding-top: 0px;
}

.pickerBoby {
    background-color: #999999;
}

.pickerContentDiv {
    border: solid 1px black;
    width: 500px;
    padding: 10px;
    background-color: #fff5e9;
    padding-top: 20px;
    padding-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.filter_top_div {
    border: solid 2px black;
    border-radius: 3px;
    width: 500px;
    border-color: #005500;
    background-color: #d1ffe1;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 14px 0;
    border-radius: 4px
}

    .pagination > li {
        display: inline;
        position: relative;
        padding: 5px 10px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #337ab7;
        text-decoration: none;
        background-color: #f3f3f3;
        border: 1px solid #ddd
    }

        .pagination > li:focus, .pagination > li:hover {
            z-index: 3;
            color: #23527c;
            background-color: #bbb;
            border-color: #ddd
        }

    .pagination > .active, .pagination > .active:focus, .pagination > .active:hover {
        z-index: 2;
        color: #fff;
        cursor: default;
        background-color: #337ab7;
        border-color: #337ab7
    }

    .pagination > .disabled, .pagination > .disabled:focus, .pagination > .disabled:hover {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
        border-color: #ddd
    }

.data_table {
    vertical-align: central;
    border-collapse: collapse;
}

    .data_table > tbody > tr {
        border-bottom: 1px solid #BBBBBB;
    }

        .data_table > tbody > tr > td {
            vertical-align: top;
            padding-right: 10px;
        }

.inputFullWidth {
    width: 100%;
    max-width: 300px;
}

.text1 {
    font-size: large;
    font-weight: bolder;
    color: #551111;
    margin-right: 25px;
}

.text2 {
    font-size: medium;
    font-weight: bold;
    color: #113322;
}

.text2_blue {
    font-size: medium;
    font-weight: bold;
    color: #111166;
}

.text3 {
    font-size: medium;
    color: #113322;
}

.text3_blue {
    font-size: medium;
    color: #111166;
}

.text4 {
    font-size: x-small;
    color: #113322;
}

.buttons {
    border: 1px solid #333;
    display: inline-block;
    padding: 5px 15px;
    text-decoration: none;
    color: #337ab7;
}

    .buttons:hover {
        box-shadow: 0 0 5px rgb(95, 105, 224);
        background: linear-gradient(to bottom, #fcfff4, #e9e9ce);
        color: #13191e;
    }


.wrapper {
    min-width: 1024px;
    margin: 0 auto;
}

.stab {
    min-height: 15px;
    width: 100%
}

.my_header {
    height: 50px;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    margin-top: 5px;
}

.my_title {
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    margin: 5px;
}

.sideLeft {
    width: 250px;
    float: left;
    height: 100%;
    background: #f1ffe1;
    padding: 15px 0px;
    border: solid 2px black;
    border-radius: 3px;
    border-color: #770000;
}

.container {
    width: auto;
    position: relative;
    margin-left: 260px;
    padding: 10px;
    background: #f1ffe1;
    padding-left: 7px;
    border: solid 2px black;
    border-radius: 3px;
    border-color: #770000;
}

.centerCol {
    width: 800px;
    height: 100%;
    background: #f1ffe1;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    border: solid 2px black;
    border-radius: 3px;
    border-color: #770000;
}

.firstCol {
    width: 470px;
    float: left;
    height: 100%;
    background: #f1ffe1;
    padding: 10px;
    border: solid 2px black;
    border-radius: 3px;
    border-color: #770000;
}

.secondCol {
    width: auto;
    position: relative;
    margin-left: 500px;
    padding: 10px;
    background: #f1ffe1;
    padding-left: 7px;
    border: solid 2px black;
    border-radius: 3px;
    border-color: #770000;
}

.wide_button {
    width: 250px;
    margin-bottom: 1px;
    margin-top: 1px;
}

.button {
    display: inline-block;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 0;
    border-bottom: 1px solid #1e7998;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #e7673f;
    color: #fff;
    padding: 4px 12px;
    margin-top: 6px;
    text-decoration: none;
    cursor: pointer;
}

    .button:focus, .button:hover {
        border: 0;
        border-bottom: solid 1px #3ea9c8;
        background: #ff7f57;
        color: #fff
    }

    .button:active {
        border: 0;
        border-bottom: solid 1px #1e7998;
        background: #e7673f;
        color: #fff
    }

    .button:disabled {
        border: 1px solid #000;
        background: #682e1c;
        color: #bdbdbd;
        cursor: not-allowed
    }

.blockDiv1px {
    padding: 3px;
    text-align: left;
    font: 100% Times New Roman, sans-serif;
    margin-left: 15%;
}

.sideLeftControl {
    width: 550px;
    float: left;
    height: 100%;
    background: #f1ffe1;
    padding: 15px 0px;
    border: solid 2px black;
    border-radius: 3px;
    border-color: #770000;
}

.wrappercont {
    min-width: 1024px;
    margin: 0 auto;
}

    .wrappercont > div {
        background: #f1ffe1;
        padding-left: 7px;
        border: solid 2px black;
        border-radius: 3px;
        border-color: #770000;
        vertical-align: top;
    }


.wrappercontapplication {
    min-width: 1024px;
    margin: 0 auto;
}

    .wrappercontapplication > div {
        padding-left: 7px;
        vertical-align: top;
    }

.contLeft {
    width: 60%;
    position: relative;
    padding: 10px;
    display: inline-block;
}

.contRight {
    width: 35%;
    position: relative;
    padding: 10px;
    display: inline-block;
}

.contRightAbs {
    width: 40%;
    position: absolute;
    padding: 10px;
    display: inline-block;
}

.sorting {
    display: block;
    height: 100%;
    padding: 10px 10px 10px 10px;
    color: #337ab7;
    text-decoration: underline;
}

.sorting-active {
    display: block;
    height: 100%;
    padding: 10px 10px 10px 10px;
    color: #337ab7;
    text-decoration: none;
}

    .sorting:focus, .sorting:hover, .sorting-active:focus, .sorting-active:hover {
        background-color: #bbb;
    }

.sorting_inline {
    display: inline;
    padding: 10px 10px 10px 10px;
    color: #337ab7;
    text-decoration: underline;
}

.sorting-active_inline {
    display: inline;
    padding: 10px 10px 10px 10px;
    color: #337ab7;
    text-decoration: none;
}

    .sorting_inline:focus, .sorting_inline:hover, .sorting-active_inline:focus, .sorting-active_inline:hover {
        background-color: #bbb;
    }


.my_table {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    font-size: 12px;
    text-shadow: 1px 1px 0px #fff;
    background: #ffffff;
    border: #ccc 1px solid;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 1px 2px #d1d1d1;
    -webkit-box-shadow: 0 1px 2px #d1d1d1;
    box-shadow: 0 1px 2px #d1d1d1;
}

    .my_table th {
        border-top: 1px solid #dadada;
        border-bottom: 1px solid #e0e0e0;
        background: #ededed;
    }

        .my_table th:first-child {
            text-align: center;
        }

    .my_table tr:first-child th:first-child {
        -moz-border-radius-topleft: 3px;
        -webkit-border-top-left-radius: 3px;
        border-top-left-radius: 3px;
    }

    .my_table tr:first-child th:last-child {
        -moz-border-radius-topright: 3px;
        -webkit-border-top-right-radius: 3px;
        border-top-right-radius: 3px;
    }

    .my_table td:first-child {
        text-align: left;
        border-left: 0;
    }

    .my_table td {
        padding: 5px 5px 5px 5px;
        border-top: 1px solid #ffffff;
        border-bottom: 1px solid #e0e0e0;
        border-left: 1px solid #e0e0e0;
        background: #fff;
    }



    .my_table tr:last-child td {
        border-bottom: 0;
    }

        .my_table tr:last-child td:first-child {
            -moz-border-radius-bottomleft: 3px;
            -webkit-border-bottom-left-radius: 3px;
            border-bottom-left-radius: 3px;
        }

        .my_table tr:last-child td:last-child {
            -moz-border-radius-bottomright: 3px;
            -webkit-border-bottom-right-radius: 3px;
            border-bottom-right-radius: 3px;
        }

    .my_table tr:hover td {
        background: #f2f2f2;
        background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
        background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0);
    }

    .my_table td.disabled {
        background-color: #ffb0ae;
    }

    .my_table td.accepted {
        background-color: #ccff99;
    }

    .my_table td.printed {
        background-color: #ccff99;
    }

    .my_table td.repayed {
        background-color: #fff099;
    }


.my_tableApplResoli {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    font-size: 13px;
    text-shadow: 1px 1px 0px #fff;
    background: #ffffff;
    border: #ccc 1px solid;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 1px 2px #d1d1d1;
    -webkit-box-shadow: 0 1px 2px #d1d1d1;
    box-shadow: 0 1px 2px #d1d1d1;
}

    .my_tableApplResoli th {
        border-top: 1px solid #dadada;
        border-bottom: 1px solid #e0e0e0;
        background: #ededed;
    }

        .my_tableApplResoli th:first-child {
            text-align: center;
        }

    .my_tableApplResoli tr:first-child th:first-child {
        -moz-border-radius-topleft: 3px;
        -webkit-border-top-left-radius: 3px;
        border-top-left-radius: 3px;
    }

    .my_tableApplResoli tr:first-child th:last-child {
        -moz-border-radius-topright: 3px;
        -webkit-border-top-right-radius: 3px;
        border-top-right-radius: 3px;
    }

    .my_tableApplResoli td:first-child {
        text-align: left;
        border-left: 0;
    }

    .my_tableApplResoli td {
        padding: 5px 5px 5px 5px;
        border-top: 1px solid #ffffff;
        border-bottom: 1px solid #e0e0e0;
        border-left: 1px solid #e0e0e0;
        background: #fff;
    }



    .my_tableApplResoli tr:last-child td {
        border-bottom: 0;
    }

        .my_tableApplResoli tr:last-child td:first-child {
            -moz-border-radius-bottomleft: 3px;
            -webkit-border-bottom-left-radius: 3px;
            border-bottom-left-radius: 3px;
        }

        .my_tableApplResoli tr:last-child td:last-child {
            -moz-border-radius-bottomright: 3px;
            -webkit-border-bottom-right-radius: 3px;
            border-bottom-right-radius: 3px;
        }

    .my_tableApplResoli td.disabled {
        background-color: #ffb0ae;
    }

/*table.my_table:hover > tbody:hover > tr.my_table_Error:hover > td {
    background-color: #ff6600;
}*/


.my_table_Error td {
    background: #b30f0f;
    color: aliceblue;
    text-shadow: 1px 1px 0px #1d0b0b;
}

.my_table_NotFull td {
    background: #969332;
    color: white;
    text-shadow: 1px 1px 0px #5c6328;
}

.my-table > tbody > .my_table_Error tr:hover td {
    background-color: #339933;
}




.error {
    color: #BB0000;
}

.form-horizontal {
    margin: 10px;
}

.container_data {
    width: auto;
    position: relative;
    margin-left: 0px;
    padding: 10px;
    background: #f1ffe1;
    padding-left: 10px;
    border: solid 2px black;
    border-radius: 3px;
    border-color: #770000;
}

    .container_data label {
        display: inline-block;
        width: 200px;
        text-align: right;
        font-weight: normal;
    }

    .container_data span {
        font-weight: bold;
    }

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.header {
    color: #fff;
}

    .header .lead {
        text-align: center;
        font-size: 28px;
    }

.white-filter {
    background: #fff;
    margin-left: 15px;
    padding: 15px;
}

    .white-filter h3 {
        text-align: center;
    }

.white-edit {
    display: table;
    margin: 0 auto;
    padding: 45px;
    background: #fff;
    min-width: 500px;
}

.admin_popup_div {
    position: absolute;
    top: 50px;
    left: 5%;
    width: 90%;
    text-align: left;
    border: 5px solid blue;
    padding: 10px;
    background: #ffffff;
    word-wrap: break-word;
    white-space: pre-line;
    z-index: 10;
}

    .admin_popup_div div {
        margin-top: 40px;
    }

.textarea_fullwidth {
    max-width: 600px;
    resize: none;
}
#textarea_hfwidth {
    width: 100%;
    resize: none;
    border-radius: 7px;
}
.textarea_hfwidth {
    width: 100%;
    resize: none;
    border-radius: 7px;
}

.dividing_line {
    margin: 8px auto;
    padding-bottom: 1px;
    background-color: #9b9b9b;
    border-bottom: 1px solid #F4F4F4;
    width: 100%
}

.checkbox_form_block {
    display: inline-block;
    position: relative;
    width: 100%;
}

.checkbox_form {
    width: 20px;
    height: 20px;
    top: 10px;
    margin: 0px;
    /*vertical-align: top;*/
    float: right;
}

.checbox_label {
    position: relative;
}

.conteiner_cargo {
    /*position: fixed;*/
    width: 70%;
    min-width: 1004px;
    margin-top: 30px;
    margin-left: 15%;
    margin-right: 15%;
    border: 2px solid;
    box-shadow: 0px 0px 13px 6px rgba(0,0,0,0.5);
}

.view_text {
    overflow: hidden;
    padding-bottom: 7px;
    line-height: 21px;
    height: 21px;
    text-align: center;
    color: whitesmoke;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.grid_cargo {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: minmax(70px,auto);
    grid-gap: 0px;
    width: 100%;
}

.ConteinerHead {
    display: grid;
    grid-template-columns: repeat(2,125px 4fr);
    grid-auto-rows: minmax(30px,auto);
    grid-gap: 0px;
    align-items: baseline;
}

.ConteinerBodyLeft,
.ConteinerFooter {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(40px,auto);
    grid-gap: 0px;
}

.ConteinerBodyRight {
    display: grid;
    grid-template-columns: repeat(1,2fr 4fr);
    grid-auto-rows: minmax(36px,50px);
    grid-gap: 0px;
    border: 1px solid;
    margin: 5px 10px 5px 0px;
    align-items: center;
    padding-right: 30px;
}

.DocumentGrid, .OriginCargoGrid {
    display: grid;
    grid-template-columns: repeat(1,2fr 4fr);
    grid-auto-rows: minmax(40px,auto);
    grid-gap: 0px;
    align-items: center;
    border: 1px solid;
    margin: 5px 10px 5px 10px;
    padding-right: 30px;
}

.PeriodGrid {
    display: grid;
    grid-template-columns: repeat(1,2fr 1fr 2fr 1fr 1fr);
    grid-auto-rows: minmax(40px,auto);
    grid-gap: 0px;
    align-items: flex-start;
    border: 1px solid;
    margin: 5px 10px 5px 10px;
    padding-right: 30px;
}

.MoveCargoGrid,
.PackGrid {
    display: grid;
    grid-template-columns: repeat(2,2fr 6fr);
    grid-auto-rows: minmax(36px,auto);
    grid-gap: 0px;
    border: 1px solid;
    margin: 5px 10px 5px 0px;
    align-items: center;
    padding-right: 30px;
}

div.PackGrid > div:nth-child(1) {
    grid-column: 1/-1;
    grid-row: 1;
}

div.PackGrid > div:nth-child(10) {
    grid-column: 1/-1;
    grid-row: 4;
}

div.MoveCargoGrid > div:nth-child(1) {
    grid-column: 1/-1;
    grid-row: 1;
}

div.MoveCargoGrid > div:nth-child(10) {
    grid-column: 1/2;
    grid-row: 4;
    margin-bottom: 15px;
    margin-top: 5px;
}

div.MoveCargoGrid > div:nth-child(11) {
    grid-column: 2/-1;
    grid-row: 4;
    margin-bottom: 15px;
    margin-top: 5px;
}

div.MoveCargoGrid > div:nth-child(12) {
    grid-column: 1/2;
    grid-row: 5;
    margin-bottom: 8px;
}

div.MoveCargoGrid > div:nth-child(13) {
    grid-column: 2/-1;
    grid-row: 5;
    margin-bottom: 8px;
}

div.MoveCargoGrid > div:nth-child(14) {
    grid-column: 1/2;
    grid-row: 6;
}

div.MoveCargoGrid > div:nth-child(15) {
    grid-column: 2/-1;
    grid-row: 6;
}

div.MoveCargoGrid > div:nth-child(16) {
    grid-column: 1/2;
    grid-row: 7;
}

div.MoveCargoGrid > div:nth-child(17) {
    grid-column: 2/-1;
    grid-row: 7;
}


div.PeriodGrid > div:nth-child(1) {
    grid-column: 1/-1;
    grid-row: 1;
}

div.DocumentGrid > div:nth-child(1) {
    grid-column: 1/-1;
    grid-row: 1;
}

div.OriginCargoGrid > div:nth-child(1) {
    grid-column: 1/-1;
    grid-row: 1;
}

div.ConteinerBodyRight > div:nth-child(1) {
    grid-column: 1/-1;
    grid-row: 1;
}

div.HeaderLine:nth-child(1) {
    grid-column: 1/-1;
    grid-row: 1;
    text-align: center;
    font-size: 20px;
}

div.HeaderLine:nth-child(6) {
    grid-column: 1/-1;
    grid-row: 3;
}

div.HeaderLine:nth-child(7) {
    grid-column: 1/-1;
    grid-row: 4;
}

.HeaderLine, .BodyLine, .Footerline {
    padding: 5px 5px 5px 5px;
    text-align: right;
    vertical-align: middle;
}

#ConteinerHead, #PackGrid, #MoveCargoGrid {
    border: 1px solid;
    margin: 10px 10px 10px 10px;
}

div.ConteinerHead {
    grid-column: 1/-1;
    grid-row: 1;
}

div.ConteinerFooter {
    grid-column: 1/-1;
    grid-row: 3;
}
