/*html {
  font-size: 16px;
}*/

@media (min-width: 768px) {
  html {
    font-size: 12px;
  }
}

.navbar-collapse {
    flex-basis: 60% !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    /*font-size: .8em;*/
    font-family: Arial,Lucida Grande,Lucida Sans,sans-serif;
    margin-bottom: 0px;
    /*background-color: #dfeffc;*/
}

.navbar {
    padding-top: 0px;
    padding-bottom: 0px;
}

.logo > a > img {
    height: 26px;
    margin-right: 10px;
}

/* TAB MENU   
----------------------------------------------------------*/
.sf-menu {
    margin-bottom: 0px !important;
}

.sf-menu li {
    background: inherit !important;
}

/*li.sfHover {
    color: #07435A;
    text-decoration: none;
}

.sf-menu li:hover {
    background: #dfeffc url("../Scripts/ui//images/ui-bg_glass_85_dfeffc_1x400.png") 50% 50% repeat-x !important;
}

.sf-menu li:hover > a {
    color: #07435A !important;
}
*/
    .sf-menu a {
        color: inherit !important;
        padding: 3px 15px !important;
        border: .5px solid;
        font-size: 1.1em;
    }

/*    .sf-menu a::after {
        content: "";
        border: 5px solid transparent;
    }*/

.sf-menu a:hover {
    /*color: #07435A;*/
    text-decoration: none;
}

.sf-menu > li {
    width : 10em; /*ширина элементов первого уровня*/
    padding: 0px;
}
/*--------Основное поле программы-------- */

div#aos_ard {
    padding: 0;
    margin: 0;
    position: absolute;
    left: 1px;
    right: 1px;
    top: 32px;
    bottom: 1px;
}


.ui-button {
    padding: .3em .4em !important;
    font-size: 0.9em !important;
}
.ui-menu {
    white-space: nowrap;
    width: auto;
}
/*---------- заголовок виджета----------------------------*/
.ui-widget {
    font-family: Arial,Lucida Grande,Lucida Sans,sans-serif !important;
    font-size: 1.0em !important;
}

/*.ui-widget-header {
    border: 1px solid #4297d7;
    background: #07435A url("/Images/ui-widget-header.png") 50% 50% repeat-x;
    color: #ffffff;
    font-weight: bold;
}*/

.ui-dialog {
    z-index: 1000;
}

.ui-autocomplete {
    z-index: 1001 !important;
}
/*-------------------------tabs------------*/
.ui-tabs-panel {
    padding: 2px 1px 1px 1px !important;
}

/*-------------------------сплиттер в журнале процессов------------*/
.splitter_panel {
    position: static !important;
}

.splitter_panel .vsplitter {
    background-color: inherit;
    width: 3px;
}

.splitter_panel .hsplitter {
    background-color: inherit;
    height: 3px;
}

.splitter_panel .top_panel,
.splitter_panel .bottom_panel {
    position: static;
}


/*ячейка грида в виде ссылки*/
span.cell-link {
    cursor: pointer;
    text-decoration: underline;
}

    span.cell-link:hover {
        color: #1D60FF;
        text-decoration: none;
    }
/*ячейка грида в виде ссылки на файл*/
span.cell-file {
    cursor: pointer;
}

    span.cell-file:hover {
        color: #1D60FF;
        /*text-decoration: underline;*/
    }
/*ячейка грида для копирования*/
span.clibord_link {
    cursor: pointer;
}

    span.clibord_link:hover {
        color: dodgerblue;
    }

/*плавающее окно в журнале*/
.sticky {
    bottom: 30px;
    right: 10px;
    border: 1px solid black;
    background-color: white;
    position: fixed;
    /*z-index: 499;*/
    padding: .2em 1em;
}

.sticky-hide {
    right: -1000px;
}
/*Прогресс бар*/
.progressbar {
    position: relative;
    top: 100px;
    left: 30%;
    width: 30%
}

.progress-label {
    position: absolute;
    left: 20%;
    top: 4px;
    font-weight: bold;
    color: white;
}
/*Сброс размера цифр в назвнании шага*/

/*.wizard > .steps .number {
    font-size: inherit;
}

.wizard > .content > .body {
    padding: 10px;
}*/
/*.wizard.vertical > .content {
    width: 85% !important;
}*/
/*кнопка Сегодня в датапикере*/
.ui-datepicker-current {
    opacity: 1 !important;
}
/*сплиттер в журнале процессов*/
.splitter_panel {
    position: static !important;
}

    .splitter_panel .vsplitter {
        background-color: inherit !important;
        width: 3px !important;
    }

    .splitter_panel .hsplitter {
        background-color: inherit !important;
        height: 3px !important;
    }

    .splitter_panel .top_panel,
    .splitter_panel .bottom_panel {
        position: static;
    }


/*Сообщение об ожидании окончания обработки данных*/
div.wait {
    position: absolute;
    /*width: 100%;*/
    text-align: center;
    top: 45%;
    left: 45%;
    z-index: 2000;
    display: block;
    border-style: solid;
    border-width: 1pt;
    padding: 10pt;
    background-image: url('ReportWaiting.gif');
    background-repeat: no-repeat;
    background-size: cover;
    /*background-color: White;*/
}

div.aos-login {
    position: absolute;
    top: 40%;
    left: 40%;
    z-index: 2000;
    display: block;
    border-style: solid;
    border-width: 1pt;
    padding: 10pt;
}

/*----------раскраска каналов----------------------------*/
span.prnaz {
    font-weight: bolder;
}

span.uannul {
    color: #FF0000;
}

span.annul {
    font-style: italic;
    color: grey;
}

table.prew {
    caption-side:top;
}

table.prew > caption {
    padding: 0.2em;
    background-color: gray;
    color: #FFFFFF;
    font-family: Lucida Grande, Lucida Sans, Arial, sans-serif;
    font-size: 11px;
}

table.prew td, table.prew th {
    border-width: 1px;
}


/*Предварительный просмотр загруженного файла*/
.tblpreview {
    border-style: solid;
    border-width: 1px;
}

.tblpreview td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 75.00%;
    padding: 0px;
    margin: 0px;
    border-style: solid;
    border-width: 0px 1px 1px 0px;
    border-color: Silver;
}

.keyword {
    font-weight: 600;
    color: black;
    background-color: #e0e0e0;
}

.error_word {
    color: #000000;
    background-color: #FF6666;
}

/*-----Информация об этапе-----------*/
fieldset.etap-info {
    margin: 0px;
    padding: 0px 10px 10px 10px;
/*    border: 0.5px solid;*/
    height: 78px;
    border-radius: 5px;
}

fieldset.etap-info > legend {
    font-size: 0.9em;
    font-weight: 200;
    padding: 0px;
    float: none;
    width: auto;
    /*color: #1d5987;*/
}

fieldset.etap-info > div {
    font-size: 0.9em;
    height: 55px;
    overflow: auto;
    /* color: #222;*/
}
/*--------------------------------------*/
/*правая часть тулбара грида уменьшена до 100%*/
td.ui-jqgrid-pg-right {
    width: 100px;
}
/*выпадающий список грида влево*/
.ui-jqgrid > .ui-jqgrid-view select {
    text-align: left !important;
}