﻿html,
body {
    height: 100%;
    /*background: url("/../image/6.jpg") center no-repeat fixed;*/
    /*!*-webkit-background-size: cover;*!*/
    /*!*-moz-background-size: cover;*!*/
    /*!*-o-background-size: cover;*!*/
    /*background-size: cover;*/
}

@media (min-width: 1280px) {
    .container {
        width: 1100px;
    }

    .container_new {
        width: 97%;
        margin: -10px auto 0;
        font-family: 'Cuprum', sans-serif;
        font-size: 15px;
        /*overflow: hidden;*/
    }

    .elevator-select .grid-view,
    .elevator-unload .grid-view {
        font-size: 85%;
    }

    .transport-security .grid-view {
        font-size: 69%;
    }

    .transport-general-index,
    .reception-index {
        width: 96%;
    }
}

@media (min-width: 1366px) {
    .container {
        width: 1100px;
    }

    .container_new {
        width: 97%;
        margin: -10px auto 0;
        font-family: 'Cuprum', sans-serif;
        font-size: 15px;
        /*overflow: hidden;*/
    }

    .elevator-select .grid-view,
    .elevator-unload .grid-view {
        font-size: 85%;
    }

    .transport-security .grid-view {
        font-size: 79%;
    }

    .transport-general-index,
    .reception-index {
        width: 96%;
    }
}

@media (min-width: 1900px) {
    .container {
        width: 1500px;
    }

    .container_new {
        width: 1700px;
        margin: -10px auto 0;
        font-family: 'Cuprum', sans-serif;
        font-size: 15px;
        /*overflow: hidden;*/
    }

    .elevator-select .grid-view,
    .elevator-unload .grid-view {
        font-size: 90%;
    }

    .transport-security .grid-view {
        font-size: 100%;
    }

    .transport-general-index,
    .reception-index {
        width: 70%;
    }
}

.container_new{
    padding-top: 80px;
}

legend {
    color: #FF6600;
    width: auto;
    margin-bottom: 0;
    border-bottom: 0;
    padding: 0 2px;
}

fieldset {
    border: 2px solid #FF6600;
    border-radius: 5px;
    padding: 10px;
    margin: 15px;
}

fieldset > fieldset {
    margin: 5px;
}

.transport-index span,
.weight-index span {
    padding: 5px;
    font-size: 15px;
}

.center-block > .alert-danger {
    margin: 5px 15px 0;
    padding: 10px;
}

.laboratory-index {
    width: 50%;
    float: left;
}

.transport-index {
    width: 45%;
    float: left;
}

.analysis {
    width: 50%;
    float: right;
}

.kpp-index {
    width: 55%;
    float: right;
}

.input-1,
.input-2 {
    width: 50%;
    padding: 0 10px;
}

.input-1 {
    float: left;
}

.input-2 {
    float: right;
}

.transport-analysis,
.weighting,
.vorota {
    overflow: hidden; /*Чтобы при float высота div расчитывалась правильно*/
}

.transport-analysis > div > input,
.transport-info > div > input,
.transport-import > input,
.transport-analysis > div > select {
    background-color: #EEEEEE;
    border-radius: 5px;
    border: 1px solid #9d9d9d;
    height: 35px;
    padding-left: 6px;
    width: 70%;
    /*background-color: transparent;*/
}

.transport-analysis > div > input:enabled,
.transport-import > input:enabled,
.transport-analysis > div > select:enabled,
.transport-info > div > input:enabled,
#weight-card-1:enabled,
#weight-card-2:enabled,
#weight-card-3:enabled {
    background-color: #ffffff;
    /*background-color: rgba(255,255,255,0.5);*/
}

.transport-info {
    overflow: hidden
}

.transport-analysis > div > label,
.transport-info > div > label {
    display: block;
}

.analysis-button {
    padding: 10px;
}

.kpp-button {
    margin: 15px 5px;
}

#card-id {
    width: 250px;
    margin: 0 20px;
    border-radius: 5px;
    border: 1px solid #9d9d9d;
    height: 35px;
    padding: 7px;
}

/*Весовая*/

.weight-transport > fieldset,
.weight-index > div > fieldset {
    padding: 0 10px;
    margin-top: 0;
    margin-bottom: 10px;
}

.vorota fieldset {
    margin: 0;
    padding: 0 10px;
}

.vorota legend,
.vorota span {
    font-size: 100%;
}

.camera-entry-exit,
.left-columns,
.center-columns,
.right-columns {
    float: left;
    margin-right: 10px;
    text-align: center;
    width: 24%;
}

.camera-entry-exit {
    width: 26%;
    margin-right: 0;
}

.weight-sensor-1,
.weight-sensor-2,
.weight-sensor-3 {
    overflow: hidden;
    margin-top: 10px;
}

.input-weight {
    overflow: hidden;
    margin: 5px;
}

.sensor-id,
.sensor-entry,
.sensor-exit {
    width: 33%;
    float: left;
    /*margin: 0 10px;*/
}

.sensor-bunker-1,
.sensor-bunker-2 {
    width: 50%;
    float: left;
}

.circle-grey {
    width: 80px;
    height: 80px;
    background: #9d9d9d;
    border-radius: 50%;
    margin: 0 auto;
}

.weight-card {
    overflow: hidden;
    margin-bottom: 5px;
}

#weight-card-1,
#weight-card-2,
#weight-card-3 {
    background-color: #EEEEEE;
    border-radius: 5px;
    border: 1px solid #9d9d9d;
    height: 35px;
    padding-left: 6px;
    width: 50%;
    float: left;
}

.entry-card {
    width: 40%;
    float: right;
}

.weight-transport input {
    /*background-color: #EEEEEE;*/
    border-radius: 5px;
    border: 1px solid #9d9d9d;
    height: 35px;
    padding-left: 6px;
    width: 70%;
    float: right;
    background-color: transparent;
}

.weight-transport label {
    float: left;
    margin-top: 5px;
}

.weight-index button[disabled] {
    cursor: auto;
    background-color: #9d9d9d !important;
    background-image: none !important;
    border: 1px solid #9d9d9d !important;
    color: #333 !important;
    font-size: 15px !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.weight-status-1,
.weight-status-2,
.weight-status-3,
.weight-status-railway {
    background-color: #9d9d9d;
    border-radius: 5px;
    border: 1px solid #9d9d9d;
    margin-top: 5px;
}

.weight-val-1,
.weight-val-2,
.weight-val-3,
.weight-val-railway,
.different-weight-1,
.different-weight-2,
.different-weight-3 {
    background-color: #1b1b1b;
    border-radius: 5px;
    border: 2px solid #00aa00;
    height: auto;
    color: yellow;
    font-size: 250%;
    display: flex;
    justify-content: center; /*Центрирование по горизонтали*/
    align-items: center; /*Центрирование по вертикали */
}

.different-weight-1,
.different-weight-2,
.different-weight-3 {
    height: 30px;
    margin-top: 3px;
    display: none;
    font-size: 20px;
    color: yellow;
    background-color: red;
    border: 2px solid blue;
}


.vorota-entry,
.vorota-exit {
    float: left;
    width: 47%;
    margin: 5px;
}

.table-80 {
    width: 80%;
}

.table-50 {
    width: 50%;
}

.table-30 {
    width: 30%;
}

.video-general,
.video-number,
.video-entry,
.video-platform-1,
.video-exit {
    margin-bottom: 5px;
}

/*Транспорт*/

.autopriem > div,
.storage > div {
    width: 22%;
    float: left;
    margin-left: 15px;
}

.autopriem .table,
.storage .table {
    margin-bottom: 0;
    border: 2px solid #FF6600;
}

.autopriem .table th,
.storage .table th {
    border-bottom: 2px solid #FF6600;
}

.autopriem .table td,
.storage .table td {
    border-top: 0 solid #FF6600;
}

.autopriem,
.storage {
    overflow: hidden;
}

.scroll {
    overflow-y: auto;
    max-height: 400px;
    margin-bottom: 20px;
}

.scroll::-webkit-scrollbar {
    width: 10px;
}

.scroll:hover::-webkit-scrollbar-thumb {
    background: #6a80ff;
    border-radius: 4px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#unload input:enabled {
    border-radius: 5px;
    border: 1px solid #9d9d9d;
    height: 35px;
    text-align: center;
    width: 100%;
}

/*Стандартные селекторы*/

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 0;
}

.footer {
    height: 60px;
    border-top: 1px solid #5a5a5a;
    padding-top: 20px;
}

.jumbotron {

    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: normal;
    /*background-color: #FFFFFF;*/
    background-color: rgba(255, 255, 255, 0.5);
    /*background-color: transparent;*/
}

/*.grid-view th ,*/
/*.table-striped > tbody > tr:nth-of-type(2n+1) {*/
/*    !*background-color: #FFFFFF;*!*/
/*    background-color: rgba(255,255,255,0.5);*/
/*}*/

/*.grid-view .filters input,*/
/*.grid-view .filters select {*/
/*min-width: 50px;*/
/*}*/

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.btn-primary {
    background-color: hsl(201, 100%, 30%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a5ff", endColorstr="#006399");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#00a5ff), to(#006399));
    background-image: -moz-linear-gradient(top, #00a5ff, #006399);
    background-image: -ms-linear-gradient(top, #00a5ff, #006399);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00a5ff), color-stop(100%, #006399));
    background-image: -webkit-linear-gradient(top, #00a5ff, #006399);
    background-image: -o-linear-gradient(top, #00a5ff, #006399);
    background-image: linear-gradient(#00a5ff, #006399);
    border-color: #006399 #006399 hsl(201, 100%, 25%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
    -webkit-font-smoothing: antialiased;
}

.btn-primary:hover {
    background-color: hsl(201, 100%, 25%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0095e5", endColorstr="#00527f");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#0095e5), to(#00527f));
    background-image: -moz-linear-gradient(top, #0095e5, #00527f);
    background-image: -ms-linear-gradient(top, #0095e5, #00527f);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0095e5), color-stop(100%, #00527f));
    background-image: -webkit-linear-gradient(top, #0095e5, #00527f);
    background-image: -o-linear-gradient(top, #0095e5, #00527f);
    background-image: linear-gradient(#0095e5, #00527f);
    border-color: #00527f #00527f hsl(201, 100%, 20%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
    -webkit-font-smoothing: antialiased;
}

.btn-success {
    background-color: hsl(110, 56%, 29%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4ec236", endColorstr="#2e7320");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#4ec236), to(#2e7320));
    background-image: -moz-linear-gradient(top, #4ec236, #2e7320);
    background-image: -ms-linear-gradient(top, #4ec236, #2e7320);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4ec236), color-stop(100%, #2e7320));
    background-image: -webkit-linear-gradient(top, #4ec236, #2e7320);
    background-image: -o-linear-gradient(top, #4ec236, #2e7320);
    background-image: linear-gradient(#4ec236, #2e7320);
    border-color: #2e7320 #2e7320 hsl(110, 56%, 24%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
    -webkit-font-smoothing: antialiased;
}

.btn-success:hover {
    background-color: hsl(110, 56%, 21%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#41a32e", endColorstr="#215317");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#41a32e), to(#215317));
    background-image: -moz-linear-gradient(top, #41a32e, #215317);
    background-image: -ms-linear-gradient(top, #41a32e, #215317);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #41a32e), color-stop(100%, #215317));
    background-image: -webkit-linear-gradient(top, #41a32e, #215317);
    background-image: -o-linear-gradient(top, #41a32e, #215317);
    background-image: linear-gradient(#41a32e, #215317);
    border-color: #215317 #215317 hsl(110, 56%, 16%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
    -webkit-font-smoothing: antialiased;
}

.btn-danger {
    background-color: hsl(0, 100%, 32%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff3232", endColorstr="#a30000");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#ff3232), to(#a30000));
    background-image: -moz-linear-gradient(top, #ff3232, #a30000);
    background-image: -ms-linear-gradient(top, #ff3232, #a30000);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3232), color-stop(100%, #a30000));
    background-image: -webkit-linear-gradient(top, #ff3232, #a30000);
    background-image: -o-linear-gradient(top, #ff3232, #a30000);
    background-image: linear-gradient(#ff3232, #a30000);
    border-color: #a30000 #a30000 hsl(0, 100%, 25%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.46);
    -webkit-font-smoothing: antialiased;
}

.btn-danger:hover {
    background-color: hsl(0, 85%, 34%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f04b4b", endColorstr="#a00d0d");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#f04b4b), to(#a00d0d));
    background-image: -moz-linear-gradient(top, #f04b4b, #a00d0d);
    background-image: -ms-linear-gradient(top, #f04b4b, #a00d0d);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f04b4b), color-stop(100%, #a00d0d));
    background-image: -webkit-linear-gradient(top, #f04b4b, #a00d0d);
    background-image: -o-linear-gradient(top, #f04b4b, #a00d0d);
    background-image: linear-gradient(#f04b4b, #a00d0d);
    border-color: #a00d0d #a00d0d hsl(0, 85%, 27%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.46);
    -webkit-font-smoothing: antialiased;
}

.btn-warning {
    background-color: hsl(39, 100%, 34%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffb01e", endColorstr="#ad7000");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#ffb01e), to(#ad7000));
    background-image: -moz-linear-gradient(top, #ffb01e, #ad7000);
    background-image: -ms-linear-gradient(top, #ffb01e, #ad7000);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffb01e), color-stop(100%, #ad7000));
    background-image: -webkit-linear-gradient(top, #ffb01e, #ad7000);
    background-image: -o-linear-gradient(top, #ffb01e, #ad7000);
    background-image: linear-gradient(#ffb01e, #ad7000);
    border-color: #ad7000 #ad7000 hsl(39, 100%, 28.5%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.36);
    -webkit-font-smoothing: antialiased;
}

.btn-warning:hover {
    background-color: hsl(36, 100%, 31%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#feab2d", endColorstr="#9e5e00");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#feab2d), to(#9e5e00));
    background-image: -moz-linear-gradient(top, #feab2d, #9e5e00);
    background-image: -ms-linear-gradient(top, #feab2d, #9e5e00);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #feab2d), color-stop(100%, #9e5e00));
    background-image: -webkit-linear-gradient(top, #feab2d, #9e5e00);
    background-image: -o-linear-gradient(top, #feab2d, #9e5e00);
    background-image: linear-gradient(#feab2d, #9e5e00);
    border-color: #9e5e00 #9e5e00 hsl(36, 100%, 24%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.46);
    -webkit-font-smoothing: antialiased;
}
