﻿.font_page {
    /*background: #cfcfcf;*/ 
    font-size: .80em; font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif; 
}

div.title-line {
    display: inline-block;
    font-weight:bold;
    vertical-align: top;
}

div.div-ul {
    display: inline-block;
}

div.div-ul ul {
    margin-bottom: 2px;
    margin-left: -10px;
}

div.div-ul li {
}

/* Блоки доп. опций */
#findMenu_extra_opts_container {
    min-width: 80%;
    background-color: #eee;
    min-height: 93px;
    margin: 3px 0px 5px 0px;
    padding-top: 5px;
    padding-bottom: 1px;
    border: 1px solid #aaa;
    border-radius: 2px;
    box-shadow: 4px 4px 5px -4px #B0C8DB;
    /*z-index: 1025;*/
}

.extra_opts_base {
    padding: 2px 10px 2px 20px;
    border: solid 0.01em #D9E0FF;
    border-left: none;
    border-top: none;
    min-height: 38px;
}

/*.extra_opts_base .chosen-drop, .dropdown-menu {
    z-index: 9999;
}
*/

/*extra_opts_base2*/
.extra_opts_base2 {
    padding: 0px 10px 2px 20px;
    border: solid 0.01em #D9E0FF;
    border-left: none;
    border-top: none;
    min-height: 38px;
    margin-top: 1px;
}

/*.extra_opts_base2 {
    z-index: 9999;
}
*/
.extra_opts_base2 .olditem {
    color: #bbb;
}
.extra_opts_base2 .separator {height: 1px; background-color: #bbb;}
/*.extra_opts_base2 .active {color: black; background: url('../Img/default_checked.png') no-repeat 5px center;}*/

.extra_opts_base2 .changed {color: Black;}

.extra_opts_base, .extra_opts_base2 .title {
    display: inline-block;
    vertical-align: top;
    margin: 0px 15px 1px 0px;
    font-weight: bolder;
    font-size: 1em;
    cursor: pointer;
    color: #aaa;
}

.extra_opts_base2 .title:hover {
    text-decoration: underline;
}

.extra_opts_base2 .title2 {
    display: inline-block;
    width: 100%;
    margin: 0px 15px 2px 0px;
    font-weight: bolder;
    font-size: 1em;
}

.extra_opts_base2 .title_chosen {
    display: inline-block;
    margin: 0px 8px 0px 0px;
    vertical-align: top;
}

/*.chosen-container {
    z-index: 1025;
}
*/
/*.extra_opts_base2:has(.chosen-select) {
    z-index: 1025;
}
*/
/*#extra_opts_Number:has(.chosen-select) {
    z-index: 1026;
}
*/
/*.chosen-drop, .dropdown-menu {
    z-index: 99999;
}
*/
.extra_opts_base .opts_val {
}

.extra_opts_base2 .opts_val {
    vertical-align: top !important;
    flex: 1 !important;
    min-width: 200px !important;
}

.extra_opts_base2 input.text_value {
    border: 1px solid #CFCFCF;
    border-radius: 5px;
    outline: none;
    color: Black;
    padding: 0px 4px 4px 8px;
    font-size: 1.0em;
    background: #eee;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    height: 30px;
}

.extra_opts_base2 .text_value:focus {background-color: White;}

.extra_opts_base2 .parent_chosen2 {
    margin: 5px 3px; 
    display: inline-block;
}

.extra_opts_base2 .item {padding: 0.5em 5px 0.5em 26px; cursor: pointer; display:block; width:100%;}

/*изменяю некоторые кнопки от bootstrap*/
/*.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active, .btn-outline-secondary.active, .open>.dropdown-toggle.btn-outline-secondary {
    color: #fff;
    background-color: #C4C8C9;
    border-color: #285e8e;*/ /*set the color you want here*/
/*}*/

.btn-outline-danger:hover, .btn-outline-danger:focus, .btn-outline-danger:active, .btn-outline-danger.active, .open>.dropdown-toggle.btn-outline-danger {
    color: #D83465;
    background-color: #FFE4EC;
    border-color: #285e8e; /*set the color you want here*/
}

/*---- Фильтр дат*/
/*.calendar { z-index:-1; position:relative;}*/

.extra_opts_base2 .popupBtn {display:inline-block; cursor: pointer; color: transparent; width: 24px; height: 24px; opacity: 0.4; padding: 0 0 0 5px; background: url('../Img/default_list_arrow.png') no-repeat;}
.extra_opts_base2 .popupBtn:hover {opacity: 1; }

.extra_opts_base2 #date_type {
    text-align: left;
    margin: -10px 0px 5px 5px;
}
/*.extra_opts_base2 #date_value {padding: 0px 10px 10px 10px;}*/
/*.extra_opts_base2 #date_period {margin-bottom: 8px;}*/

/*.extra_opts_base2 #date_from_cont {display:inline-block;}
.extra_opts_base2 #date_to_cont {display:inline-block; margin: 3px 0px 3px 30px;}*/

/*.extra_opts_base2 .lbl {width: 26px; height: 26px; line-height: 26px;}*/

.extra_opts_base2 #date_foryear,
.extra_opts_base2 #date_formonth,
.extra_opts_base2 #date_forseason {
    padding: 0px 10px;
    display: inline-block;
}

/*.extra_opts_base2 .caption {font-weight: bold;}*/

.extra_opts_base2 .selected,
.extra_opts_base2 .selected:hover {background: #eee; cursor: default; box-shadow: inset 0px 0px 4px rgba(0,0,0,0.5);}

.popModal_footer #error_data {
    display:inline; text-align:left; vertical-align:top; position:absolute; left: 0; margin-left:15px;
    color: Red; font-size: 1.1em; 
}

#results {
    text-align: center;
    background-color: #FFF;
    position: relative;
}

#results .data {
    display: block;
    z-index: -1;
}

/*#results .data_msg {background: #eee; font-size:1.2em; min-height:100px;}*/

#results #EndOf_result {display: block; min-height: 10px;}

.pageSlider {
    border: 1px solid #aaa;
    border-radius: 2px;
    background-color: #D6E5E7;
    text-align: left;
    min-height: 36px;
    padding: 2px 0px;
    height: 47px;
    z-index: 100;
    box-shadow: 4px 5px 5px -4px #B0C8DB;
}

.pageSlider .slider-tools {
    border-right: 1px solid #dee2e6;
    padding: 0px 5px;
    display: inline-block;
    vertical-align: middle;
}

.pageSlider .slider-tools > div {
    display: inline-block;
    vertical-align: middle;
}

/*
.pageSlider #panel_NumPage, #pageButtons, #panel_RowsOnPage, #panel_NumPage div, #pageButtons div, #panel_RowsOnPage div {
    display: inline-block;
    vertical-align: middle;
}
*/

.pageSlider input {vertical-align: middle;}

.pageSlider .pageSep,
.pageSlider .pageChange {
    text-align: center;
    width: 36px;
    height: 36px;
    line-height: 36px;
}

.pageSlider .pageSliderTools { 
    background-color: #eee;
    border: 1px solid #aaa;
    border-radius: 5px;
    width: auto;
    height: 41px;
    min-height: 36px;
    padding: 1px 15px;
    margin-left: 10px;
}

.pageSlider .OtherTools {
    display: inline-block;
    vertical-align: sub;
}

.pageSlider .btnImage {
    background-size: 24px; background-repeat: no-repeat; background-position: center center; 
}

.pageSlider #retCountRows { margin-left: 20px; }

.pageSlider .pageSep {}
.pageSlider .pageChange {cursor: pointer; border-radius: 50%;}
.pageSlider .pageChange:hover {background-color: #ddd;}
.pageSlider .active {background: white; cursor: default; color: Black; text-shadow: 0px 0px 1px rgba(0,0,0,0.5); z-index: 1; box-shadow: inset 0px 0px 5px rgba(0,0,0,0.3); position: relative;}
.pageSlider .active:hover {background: white;}

.pageSlider #ToFirstPage {background-image: url('../Img/BindingNavigatorMoveFirstItem.Image.png'); background-size: 18px;}

.pageSlider #ToLastPage {
    background-image: url('../Img/BindingNavigatorMoveLastItem.Image.png'); background-size: 18px;
}

@media (min-width: 1024px) {
    .pageSlider {
        width: auto;
    }
}

@media (max-width: 1024px)
{.pageSlider {
    width: 934px;
}}
@media (max-width: 1000px) {
    .pageSlider #panel_RowsOnPage {
        display: none;
    }
}
@media (max-width: 720px) {
    .pageSlider #panel_NumPage {
        display: none;
    }
}

@media (max-width: 480px) {
    .pageSlider {
        display: none;
    }
}

@media (max-width: 978px) {
    .pageSlider {
        width: auto;
    }
}

@media (min-width: 768px) {
    .pageSlider #panel_as_choosen {
        max-width: 720px;
    }
}

@media (min-width: 682px) {
    .container {
        max-width: 640px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 978px;
    }
}
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1224px) {
    .container {
        max-width: 1124px;
    }
}

#results .none_results_line1 {font-size: 3em; color: Black;}
#results .none_results_line2 {font-size: 1.3em; color: Black;}

#results .data a:not(.btn) {
    color: #0077ff; text-decoration: none;
}

#results a:not(.btn):hover {
    text-decoration: underline;
}

table.FindResultGrid {margin: 15px 0px; background-color: #eee; width: 100%; box-shadow: 0px 2px 3px rgba(0,0,0,0.25); border-top: solid 1px #ccc; }

.FindResultGrid .index {
    background-color: white; font-size: 1.25em; box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}

    .FindResultGrid .index[class*="special-aaColor-"] {
        box-shadow: none;
    }

.FindResultGrid .filedsep {
    width: 20px;
}
.FindResultGrid .filed1 {
    background-color: #ddd; width: 10em; vertical-align: top; text-align: center;
}
.FindResultGrid .filed1_table {width: 10em; text-align: center;}
.FindResultGrid .filed1_table tr td {padding: 5px 5px 5px 5px;}
.FindResultGrid .filed2_table .doc_stadiya {padding: 10px 0px;}
/*.FindResultGrid .filed2_table .doc_files{width: 50px; padding-bottom: 5px;}*/

.FindResultGrid .filed2_table .doc_files {
    width: 50px;
    padding: 3px 10px 5px 0px;
    vertical-align: top !important;
}

.FindResultGrid .filed2_table .doc_files_data {
    padding: 10px 1px 0px 0px;
}

/*.FindResultGrid .filed2_table .doc_files_data .files_list {
    max-height: 75px;
    border: 1px solid #CFCFCF;
    border-radius: 7px;
    padding: 7px 15px 7px 0px;
    margin: 0px 20px 3px 10px;
}
*/
.FindResultGrid .filed2 {
    padding: 5px 15px;
    text-align: left;
}
.FindResultGrid .filed2_table .doc_name {font-size: 1.2em;}

.FindResultGrid .tools_edit {width:130px;}

.select2-container .select2-selection--multiple .select2-selection__choice {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/*высота выпадающего списка chosen-select*/
/*https://github.com/harvesthq/chosen/issues/235*/
.chosen-drop .chosen-results {
    max-height: 80%;
}

