﻿
@media all {
    .page-break {
        display: none;
    }
}

@media print {
    .page-break {
        display: block;
        page-break-before: always;

    }
}
.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    /*vertical-align:central;
    horizontal-align:*/ ;
}
.fa-print:hover{
    cursor:pointer;

}

body {
    font-family: 'Arial narrow','Arial Unicode MS',Verdana, sans-serif;
    font-size: 14px;
    background-color: black;
    color: white;
   
}
/*------------ Список треков с картинками -------------------*/
.tb-Audio {
    border-collapse: separate;
    border-spacing: 3px 2px;


}
.tb-Audio tbody tr {
    background-color: #1f212e;
}
    .tb-Audio td {
        border: 1px solid #222230;
        border-radius: 4px;
        padding: 4px;
        margin: 5px 0 0 0;
    }
/*------------ Таблица истории прослушивания трека ----------*/
.tb-Audio-History {
    font-size: 12px;
    border-collapse: separate;
    border-spacing: 3px 2px;
}

    .tb-Audio-History th {
        background-color: #1D3c44;
        padding-left: 5px;
    }

    .tb-Audio-History tbody tr {
        background-color: #1f212e;
    }
    .tb-Audio-History td {
        border: 1px solid #222230;
        /*border-radius: 4px;*/
        padding: 2px;
        margin: 4px 2px 0 0;
        text-align: left;
        font-size: 12px;
    }


span input {
    font-weight: 400;
    color: white;
    text-align: center;
    border: 1px;
    border-radius: 4px;
    background-color: #00569B;
    margin: 2px 12px 2px 3px;
    /*background-color: #003D76;*/
    /*:5px;*/
}
.fa_color_enabled {
    color:aliceblue;
}
.fa_color_disabled {
    color: #333;
}
/*==== Убирается разрыв колонок в классе "row" (bootstrap)===========*/
.no-gutter > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.txt-color-norm {
    color: #98add4;
}
.txt_highlight { /* Выделенный текст*/
    color: #00ffff !important;
}

.txt_12px {
    font-size: 12px;
    color: #98add4;
}
.txt_16px {
    font-size: 16px;
    color: #98add4;
}
.txt_12px_center {
    font-size: 12px;
    color: #98add4;
    text-align:center;
}
/* Размещение блока в центре */
.wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    padding: 10px;
    text-align: center;
}


/*========- Обрезка строки многоточием -----==========*/
.tab_clip {
    display: block;
    width: 510px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    white-space: nowrap;
}
    /*-- полная строка при наведении курсора -------*/
    .tab_clip:hover {
        overflow: visible;
        background-color: #3c9fe6;
        cursor: pointer;
        color: black;
        width: 70%;
        border-radius: 4px;
    }
/* --- Общее -  всплывающая подсказка */
td[data-title]:hover {
    color: #00FFFF;
    position: relative;
}

    td[data-title]:hover:after {
        content: attr(data-title);
        padding: 8px 12px;
        color: black;
        position: absolute;
        left: -10px;
        top: 100%;
        white-space: normal;
        z-index: 20;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-shadow: 0px 0px 2px #c0c1c2;
        box-shadow: 0px 0px 2px #c0c1c2;
        background-color: #3c9fe6;
        text-wrap: normal;
    }
/* -- размер векторных иконок --*/
.fa {
    font-size: 20px;
}
/*------ Полоса прокрутки ----- Работает только в IE, Opera ?  ((( ----------------*/
.Y-scroll {
    overflow-y: auto;
    scrollbar-track-color: #212f3c;
    scrollbar-face-color: #44496b;
    scrollbar-highlight-color: #151620;
    scrollbar-arrow-color: #559FEA;
    scrollbar-darkshadow-color: #212f3c;
    scrollbar-shadow-color: #3f3f3f;
    scrollbar-3dlight-color: #ffebcd;
}
/* For CHROME -----------------------*/
.Y-scroll::-webkit-scrollbar {
  width: 15px;
}
.Y-scroll::-webkit-scrollbar-thumb {
  background:#44496b; 
   border-radius: 4px;
  
}
.Y-scroll::-webkit-scrollbar-track {
  background: #212f3c;
}
.Y-scroll::-webkit-scrollbar-button {
  border-style: solid;
  height: 15px;
  width: 15px;
}
/* UP -------------- */
.Y-scroll::-webkit-scrollbar-button:vertical:decrement
{
  border-width: 0 7px 14px 7px;
  border-color: transparent transparent #00AAAA transparent;
}
/* Down ------------ */
.Y-scroll::-webkit-scrollbar-button:vertical:increment
{
  border-width: 14px 7px 0 7px;
  border-color: #00AAAA transparent transparent transparent;
}


/*============================ Верхняя полоса ======================*/
#logindisplay table td {
    font-size: 14px;
}

#logind:hover {
    color: blue;
    text-decoration: none;
    cursor: pointer;
}

/* ---  Отчетная форма ----- */
#open_report:hover {
    color:aqua;
    font-weight:200;
    cursor: pointer;
}
.tb_rep_daily {
    border-collapse: collapse;
    background-color: antiquewhite;
    text-align: left;
    empty-cells: hide;
    margin: 10px 20px 5px 5px;
}
    .tb_rep_daily tr td {
        padding: 3px 5px;
    }
    .tb_rep_daily tr th {
        padding: 3px 5px;
        border: 1px solid #808080;
        color: #fff;
        /*text-transform: uppercase;*/
        background-color: #4d4848;
    }
/*---------------- Нижний Левый блок -------------------------------------------*/
/*--------------------------------- Кнопки выбора заданий ---------------------------*/
.btn-go-task {
    margin-left: 4px;
    margin-top: 6px;
    width: 330px;
    background-color: #1e2332;
    display: inline-block;
    float: left;
    clear: left;
    font-weight: 200;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #192f47;
    padding: 5px 5px;
    font-size: 12px;
    border-radius: 4px;
}

    .btn-go-task img {
        padding: 0 5px;
    }

    .btn-go-task span[data-txt-btn] {
        width: 165px;
        text-align: left;
        font-size: 16px;
        color: rgb(141, 164, 190);
        display: inline-block;
        padding-left: 5px;
    }

/* ------- Список Резервуаров ----------------------------------*/
.btn-row-tank {
    margin-left: 2px;
    margin-top: 1px;
    width: 30px;
    height: 105px;
    background-color: #1D3c44; 
    display: inline-block;
    float: left;
    /*clear: left;*/
    font-weight: 200;
    writing-mode: vertical-rl;
    transform: rotate(-180deg);
    user-select: none;
    border: 1px solid #192f47;
    padding: 1px 2px;
    font-size: 14px;
    text-align: center;
}
.btn-box-tank {
    /*margin: 2px;*/
    /*background-color:#1F222F;*/
    display: inline-block;
    float: left;
    width: 102px;
    height: 85px;
    /*border: 1px solid #383939;*/
    border-radius: 5px;
    /*text-align: left;
    font-size: 12px;*/
   
}
.btn-box-tank:hover {
    color: #fff;
   background-color: #333;
    border: 2px solid!important;
    cursor: pointer;
}
    /* ---- Выбранный резервуар ------*/
    .btn-box-tank-select {
        color: #fff;
        background: #001010;
        border: 2px solid !important;
    
    }


.span-box-tank { 
        text-align:center;
        width:100%;
        display:block;
        font-size:12px;
        font-family:Tahoma;
 }

/*--- Кнопки выбора подгруппы резервуаров ---------*/
.btn-box-select {
    border-bottom: 2px solid #00FFFF;
    width: 33%;
    color: white;
}
.btn-box-unselect {
    border-bottom: 2px solid #98add4;
    width: 33%;
    color: #98add4;
}
.btn-box-select:hover, .btn-box-unselect:hover {
    border-bottom: 2px solid white;
    cursor: pointer;
}
/* ------- Список заданий ----------------------------------*/
.btn-row-task {
    margin-left: 4px;
    margin-top: 6px;
    width: 570px;
    background-color: #1D3c44;
    display: inline-block;
    float: left;
    clear: left;
    font-weight: 200;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #192f47;
    padding: 1px 5px;
    font-size: 14px;
    border-radius: 4px;
    text-align: center;
}

    .btn-row-task img {
        padding: 0 5px;
    }

.row-task-no {
    background-color: #1F222F;
}
/*---- Общие ----------*/
.btn-go-task:hover, .btn-row-task:hover {
    color: #fff;
    background: #00a1d9;
    background-color: #333;
    border: 1px solid;
    cursor: pointer;
}

/*----------- Нижний правый блок ----------------------------------------------*/
/*---------------------- Кнопки выбора отгрузки -------------------------------------*/

.btn-shipment {
    height: 62px;
    margin-left: 4px;
    margin-top: 6px;
    width: 170px;
    background-color: rgb(30, 35, 50);
    display: inline-block;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #192f47;
    padding: 2px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 4px;
}


    .btn-shipment:hover {
        color: #fff;
        background: #00a1d9;
        background-color: #333;
        border: 1px solid;
        cursor: pointer;
    }

    .btn-shipment:focus, .btn-shipment.focus {
        box-shadow: 0 0 0 0.5rem rgba(0, 123, 255, 0.5);
    }

.btn-shipment-on {
    box-shadow: 0 0 0 0.5rem rgba(0, 123, 255, 0.5);
    border: 1px solid #50a5f8;
}

.txt_massa {
    font-size: 25px;
    text-align: center;
}
/* -- Бар-Линии в рисунке по видам отгрузки - пропорционально массе */
.bar_line {
    text-align: left;
    background-image: url(../Images/Ship_fon_bar.png);
    height: 14px;
    background-repeat: no-repeat;
    background-position: left center;
}

    .bar_line line {
        stroke: #00FFFF;
        stroke-width: 2px;
    }

    .bar_line circle {
        fill: #00FFFF;
    }

    .bar_line svg {
        width: 330px;
        height: 10px;
        position: static;
        margin-top: 4px;
    }
/* ---------------- Блоки и Таблицы Операций и Отгрузки ----------------*/
#TabShipment, #TabOperations {
    width: 100%;
    background-color: #151620;
    overflow: scroll;
    overflow-x: hidden;
    height: 366px;
    /*margin-top: 5px;*/
}

.tb_Shipment tbody tr {
    background-color: #1f212e;
}

    .tb_Shipment tbody tr:hover {
        background-color: #0069d9;
    }

.tb_Opers tbody {
    background-color: #1f212e;
}

    .tb_Opers tbody tr:hover {
        background-color: #0069d9;
        color: #fff;
    }

.OperRow {
    color: #98add4;
}

.OperRow_select {
    color: white;
    background-color: #1D3c44;
}

.tb_Opers tbody {
    overflow: auto;
}



    .tb_Shipment, .tb_Opers, .tb_passport {
        width: 100%;
        border-collapse: separate;
        border-spacing: 3px 2px;
        color: #98add4;
    }

    .tb_Shipment tr td, .tb_Opers tr td {
        border: 1px solid #222230;
        border-radius: 4px;
        /*    color: #fff;
       
       background-color: #4d4848;
       */
        padding: 4px;
        margin: 5px 0 0 0;
    }

/* ------------- список паспортов  ЛИМС ------------*/
.tb_passport {

}
    .tb_passport tbody tr:hover {
        background-color: #0069d9;
        color: #fff;
    }

.tb_hdr th {
    color: rgb(109, 137, 162) !important;
    text-align: center;
    border: 1px solid #333;
    text-shadow: 0 1px 1px #000;
    background-color: transparent;
    height: 30px;
}
#ut img {
    margin: 0;
    width: 18px;
    vertical-align: middle;
}
i[class*="fa"] {
    margin-left:5px;
    font-size:16px;
    vertical-align: middle;
}
.h-debil{ /* Special for GHROME-debill  */
  margin-left:5px;
    font-size:16px;
    vertical-align: middle;
}
.t_hdr tr {
    height: 2.5em;
    color: #fff;
    text-shadow: 0 1px 1px #000;
}

.t_hdr td:hover {
    background: #b50 left bottom repeat-x;
    cursor: pointer;
}
/* --- Таблица статуса резервуаров -------------*/

/*--- Поля ввода данных для стоки корректировки -------*/
.add_correct {
    border-color: rgba(190, 190, 190, 0.5);
    background-color: rgba(31, 31, 38, 1);
    color:white;
    height:30px;
}

/*
     Для плавающего заголоака
 #header-fixed {
        position: fixed;
        display: none;
    }
*/
/*-------Заголовки блоков ------ */
.header_block {
    background-color: #2c2c3b;
    padding: 5px 20px 0 5px;
    height: 35px;
    margin-top: 0;
    border: 1px solid #1c1c2a;
    border-radius: 4px;
}

.bottom_block {
    background-color: #2c2c3b;
    padding: 5px 0 0 15px;
    height: 40px;
    border: 1px solid #1c1c2a;
    border-radius: 4px;
}

    .bottom_block span, .header_block span {
        padding: 0 0 0 10px;
        color: #a7c5e2;
        font-size: 14px;
    }
.header_block i {
    color: #a7c5e2;
    font-size: 14px;
    width:30px;
}

/*---- RКнопки заданий ------------*/
. {
   
    /*border: 1px outset #596976;*/
    /*margin: 0 20px 2px 2px;*/
    padding: 2px 2px 2px 2px;
    /*border-radius: 4px;*/
}

    .tab-button i {
        margin: 2px;
    }

    .tab-button:hover {
        /*border: 1px inset #596976;*/
        background-color: #3f4052;
        cursor: pointer;
    }
/*---- RКнопки заданий ------------*/
    .cmd_button {
        margin: 0 5px 2px 2px;
        padding: 2px 0 2px 2px;
        /*border: 2px outset #596976;
    border-radius: 4px;*/
    }

    .cmd_button span {
        margin: 2px 5px;
    }

    .cmd_button:hover {
        /*border: 2px inset #596976;*/
        background-color: #3f4052;
        cursor: pointer;
    }
/*------------------- СЕЛЕКТОРЫ ФИЛЬТРОВ PASSPORTS ------------------*/
.passport-select {
    position: relative;
    top: 0;
    /*left: 10px;*/
    height: 30px;
    float: right;
    margin: 0 3px;
    display: inline-block;
}

    .passport-select select {
        display: none; /*hide original SELECT element:*/
    }
/*------------------- СЕЛЕКТОРЫ ФИЛЬТРОВ ОПЕРАЦИЙ ------------------*/
.custom-select {
    position: relative;
    top: 0;
    left: 10px;
    height: 30px;
    float: left;
    margin: 0 3px;
}

    .custom-select select {
        display: none; /*hide original SELECT element:*/
    }

.select-selected {
    background-color: #2c2c3b;
    height: 30px;
    border-radius: 4px;
    border: 2px outset #596976;
}
    /*style the arrow inside the select element:*/
    .select-selected:after {
        position: absolute;
        content: "";
        top: 14px;
        right: 10px;
        width: 0;
        height: 0;
        border: 7px solid transparent;
        border-color: #fff transparent transparent transparent;
    }
    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
        border-color: transparent transparent #fff transparent;
        top: 0;
    }
/*style the items (options), including the selected item:*/
.select-items div, .select-selected {
    color: #ffffff;
    padding: 4px 10px;
    cursor: pointer;
    user-select: none;
    background-color: #2c2c3b;
}
/*style items (options):
 height:30px;
*/
.select-items {
    position: absolute;
    background-color: #3f4052;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    height: 115px;
    overflow: auto;
    overflow-x: hidden;
}
/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover {
    background-color: #3f4052;
}


/* --- Блок под графиком --------*/
[class*='td-sr-'] { /*значения  в таблице*/
    text-align: right!important;
}

.Tab_ship_result { /*Табличка отклонений*/
    margin-top: 20px;
    margin-left: 15px;
    text-align: left;
    line-height: 25px;
    font-family: 'Arial','Verdana';
    font-size: 12px;
}

span[data-txt='txt_tank'] { /* под резервуаром*/
    color: #98add4!important;
}

/*----- DATA PICKER ----------------*/
#d_current:hover {
    cursor: pointer;
}
.datepic {
    background: #333;
    color: #98add4;
    margin-top: 2px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 2px 4px;
    border: 2px outset #596976;
    font-size: 14px;
    font-family: 'Arial narrow','Arial Unicode MS',Verdana, sans-serif;
}
.datepic:hover {
  /* Посмотрим ) */
}
/*--==============-------- BIND -FORM --================-----------*/
#sele_passport select {
    /*background-color: #3f4052;*/
    background-color: #2c2c3b;
    color: #a7c5e2;
    /*border: 2px outset #596976;*/
    border: 2px groove #596976;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#bind_form_Passport select {
    background-color: #2c2c3b;
    color: #a7c5e2;
    border: 2px groove #596976;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    width:80px;
}
.bind_form {
    /*   border:2px double #212f3c;
        background-color: rgb(25, 28, 43);
        */
    display: inline-block;
    background-color: black;
    width: 1695px;
    height: 720px;
    border: 4px double #00ffff;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    font-family: 'Arial Narrow','Arial Unicode MS',Verdana, sans-serif;
    font-size: 12px;
    box-shadow: 15px 15px 5px rgba(92,92,128,0.5);
}

.bind_form_header {
    margin: 2px 4px;
    position: absolute;
    font-size: 14px;
}

    .bind_form_header span {
        margin-right: 20px;
    }

#close_bind_form { /* крестик для закрытия формы*/
    margin: 2px 6px;
    width: 50px;
    display: inline-block;
    text-align: right;
}

    #close_bind_form:hover {
        cursor: pointer!important;
    }
/*---- Заголовки к секциям таблиц -- --*/
.bind_header_section {
    font-size: 16px;
    margin-left: 8px;
    float: left;
    display: inline-block;
    color: #a7c5e2;
}

.bind_button_pic { /* кнопки фильтрации отгрузки*/
    width: 80px;
    height: 40px;
    display: inline-block;
    border: 2px outset #596976;
    margin: 10px 15px 2px 2px;
    padding: 2px 0 2px 5px;
    border-radius: 4px;
    text-align: center;
}

    .bind_button_pic img {
        height: 25px;
        margin: 5px;
    }

    .bind_button_pic:hover {
        border: 2px inset #596976;
        background-color: #3f4052;
        cursor: pointer;
    }

.bind_button_select {
    border: 2px inset #00FFFF;
    background-color: black;
}
/*--- Таблицы bind form ----------------*/


/* --- Окно для таблицы -----*/
#bind_tb_source {
    border: 1px solid #4a4a70;
    border-image: none;
    left: 5px;
    top: 65px;
    width: 970px;
    height: 580px;
    position: absolute;
}

/* Левая таблица - свободные отгрузки */
.tb_bind_free {
    width: 100%;
    border-spacing: 3px 2px;
    border-collapse: separate;
    font-size: 14px;
}

    .tb_bind_free th {
        text-align: center;
    }

    .tb_bind_free tr {
        background-color: rgb(25, 28, 43);
    }

    .tb_bind_free td {
        padding: 2px 5px;
    }
    /*-- Для скрытия строки, которую привязали
     без перезагрузки таблицы */
.tb_row_hide {
 display: none;
}
/* -- Цвета кнопок в колонках таблиц */
/*-- Удалить чужую привязку --*/
.color-busy {
    background-color: #3c9fe6;
}
/* -- Свободная отгрузка --*/
.color-free {
    background-color: #346876;
}
/* -- Удалить текущую привязку -- */
.color-enabled {
    background-color: rgb(25, 28, 43);
    border: 1px outset #559FEA;
}
/* ---- Таблица отобранных отгрузок ----*/
#bind_tb_selected {
    border: 1px groove rgb(74, 74, 112);
    left: 980px;
    top: 65px;
    width: 700px;
    height: 580px;
    position: absolute;
}


/*=============================*/
.chk_Oper_all {
    /*width: 20px;
    margin: 20px auto;
    */
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
}

    .chk_Oper_all label {
        width: 25px;
        height: 25px;
        cursor: pointer;
        position: absolute;
        top: 0;
        left: 0;
        background: -webkit-linear-gradient(top, #222222 0%, #45484d 100%);
        background: linear-gradient(to bottom, #222222 0%, #45484d 100%);
        border-radius: 4px;
        box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.4);
    }

        .chk_Oper_all label::after {
            content: "";
            width: 9px;
            height: 5px;
            position: absolute;
            top: 10px;
            left: 8px;
            border: 2px solid #fcfff4;
            border-top: none;
            border-right: none;
            background: transparent;
            opacity: 0;
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
            box-sizing: initial;
        }

        .chk_Oper_all label:hover::after {
            opacity: 0.3;
        }

    .chk_Oper_all input[type=checkbox]  {
        visibility: hidden;
    }





    .chk_Oper_all input[type=checkbox]:checked + label:after {
            opacity: 1;
        }



/*---Табличка -- */
.bind_pic {
    width: 70px;
    height: 50px;
}

    .bind_pic img {
        padding-bottom: 6px;
    }
/*=================================================================*/
/*=================================================================*/
/*=================================================================*/
/*=================================================================*/
/* Login    in _Main.chtml 
----------------------------------------------------------*/
.top_line {
    clear: both;
    background-color: #3b3b57;
    font-size: .8em;
    color: white;
    height: 100px;
}

#logindisplay {
    display: block;
    position: absolute;
    top: 0;
    left: 2px;
    width: 100%;
    height: 40px;
    text-align: left;
    margin: 0;
    padding: 0;
    color: white;
    font-size: 14px;
    background-color: black;
}
/*/////////////// Переключатели ////////////////////////////////////////////*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 24px;
    float: right;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 18px;
        left: 6px;
        bottom: 4px;
        background-color: #3f4052;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #1D3c44;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(30px);
    -ms-transform: translateX(30px);
    transform: translateX(30px);
    background-color: #98add4;
}

/* Rounded sliders */
.slider.round {
    border-radius: 4px;
}

    .slider.round:before {
        border-radius: 15%;
    }

    /*----  Список резервуаров - новое окно !------*/
.txt_limit {
    background:#1F212E;
    color:antiquewhite;
    border-color:#000000;
    padding-left:4px;
}