/*
    Панель навигации для мобильной версии
    Страница авторизации
    Раздел 10. Календарь
    Таблицы
    Навигационное меню справа при добавление/редактирование карты пациента
    Стили шаблона
*/
body{
    background:#f8f9fb;
}
.padding-top-100{
    padding-top:100px;
}

.padding-top-50{
    padding-top:50px;
}
/*Панель навигации для мобильной версии*/
.navbar .navbar-brand img {
    left: 30px !important;
}

.navbar .navbar-brand {
    width: 180px !important;
}
.navbar .navbar-brand a.btn-reports, 
.navbar .navbar-brand a.btn-regcard,
.navbar .navbar-brand a.btn-quit {
    position: absolute;
    left:auto;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #FFFFFF;
    padding: 6px 8px;
    top: 10px;
}
.navbar .navbar-brand .fa {
  color: #FFFFFF;
  padding: 0 5px;
  position: relative;
  float: right;
}
.navbar .navbar-brand a:hover {
    background-color: #4D5669;
}
.navbar .block-admin, .navbar .block-regcard, .navbar .block-reports{
    position: absolute;
    top:0;
    left: 170px;
}
.navbar .block-regcard {
    left: 270px;
}
.navbar .block-reports{
    left: 330px;
}
.navbar .navbar-brand a.btn-quit{
    right: 25px;
}
/**************************************/


/*Страница авторизации */
.login h3{
    font-size: 23px;
    text-align: center;
}

.login-box-plain{
    padding:15px 60px 15px 60px;
}
.login-box-plain input,
.login-box-plain textarea {
    border-radius: 4px !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
    border: 1px solid #CCCCCC !important;
}

.login-logo {
    width:120px;
    margin: 25px auto 10px auto;
    display: block;
}

#login .form-actions {
    background: none !important; 
    padding: 30px 0 20px;
    text-align:center;
}

#login .login-box-plain .login-btn{
    width: 60%;
    margin:0 auto;
}
/********************/

/********************/
/* Раздел 10. Календарь — единый стиль */

/* Фуллскрин */
.CalendarBlock .fullscreen{
  position:fixed !important;
  left:0; top:0; z-index:999999;
  background:#FFF;
  padding:20px;
  width:100%;
  height:98% !important;
  overflow:auto;
}

/* Контейнер таблицы */
.CalendarBlock .calendar-block{
  overflow-x:scroll;
  overflow-y:visible;
  position:relative;
}

/* Базовые цвета состояний (как было) */
.CalendarBlock .table tbody tr .bg-blue{ background:#B9E0FF !important; } /* метадон (совместимость) */
.CalendarBlock .table tbody tr .bg-red{  background:#FFD8DB !important; }
.CalendarBlock .table tbody tr .bg-green{background:#A7F75F !important; }

/* Ячейки календаря */
.CalendarBlock .calendar-table tbody tr > td{
  margin:0 !important;
  padding:2px !important;
  text-align:center;
}
.CalendarBlock .calendar-table tbody tr > td .label-block{
  margin:0 auto;
}

/* Лейблы дня */
.CalendarBlock .label-block {
  border-radius: .25em;
  color:#555;
  background:#FAFFF7;
  border:1px solid #ccc;
  width:70px;
  display:block;
  font-size:75%;
  line-height:1;
  padding:.2em .6em .3em;
  text-align:center;
  white-space:nowrap;
}
.CalendarBlock .calendar-table .label-block{ width:auto; }

/* Бейдж дозы / "X" */
.CalendarBlock .badget{
  white-space:nowrap;
  height:17px;
  padding-top:3px;
  font-weight:bold;
  display:block;
}

/* Легенда */
.CalendarBlock .legends{ padding:10px 0; }
.CalendarBlock .square-blue,
.CalendarBlock .square-blue-m,
.CalendarBlock .square-red,
.CalendarBlock .square-green,
.CalendarBlock .square-red-border,
.CalendarBlock .square-bup-tabs,
.CalendarBlock .square-bup-inj {
  padding:3px 10px;
  width:8px; height:10px;
}

/* === Препараты: ЛЕГЕНДА === */
/* Метадон — оставить прежний */
.CalendarBlock .square-blue,
.CalendarBlock .square-blue-m { background:#8BC9FC; }

/* Бупренорфин табл. */
.CalendarBlock .square-bup-tabs { background:#dcdcde; }

/* Бупренорфин инъекц. */
.CalendarBlock .square-bup-inj { background:#f2d674; }

/* Остальная легенда (как было) */
.CalendarBlock .square-red{   background:#FFD8DB; }
.CalendarBlock .square-green{ background:#A7F75F; }
.CalendarBlock .square-red-border{ border:2px solid #D80000 !important; background:transparent; }

/* Пунктир «выдачи» */
.CalendarBlock .bg-border-blue{
  outline:2px dashed #3F51B5 !important;
  outline-offset:-3px;
}

/* Рамка ПАВ/алкоголь */
.CalendarBlock .bg-red-border{ border:2px solid #D10000 !important; }

/* Курсор на кликабельных днях */
.CalendarBlock .time-column{ cursor:pointer; }

/* ======== Препараты: ЗАЛИВКИ ЯЧЕЕК ======== */
/* Метадон */
.CalendarBlock .table tbody tr .bg-blue-m,
.CalendarBlock .table tbody tr .bg-blue,
.CalendarPage  .table tbody tr .bg-blue-m,
.CalendarPage  .table tbody tr .bg-blue {
  background:#B9E0FF !important; color:#333;
}

/* Бупренорфин табл. */
.CalendarBlock .table tbody tr .bg-bup-tabs,
.CalendarBlock .table tbody tr .bg-purple-bt,  /* совместимость со старым именем */
.CalendarPage  .table tbody tr .bg-bup-tabs,
.CalendarPage  .table tbody tr .bg-purple-bt {
  background:#dcdcde !important; color:#333;
}

/* Бупренорфин инъекц. */
.CalendarBlock .table tbody tr .bg-bup-inj,
.CalendarBlock .table tbody tr .bg-orange-bi,  /* совместимость со старым именем */
.CalendarPage  .table tbody tr .bg-bup-inj,
	CalendarPage  .table tbody tr .bg-orange-bi {
  background:#f2d674 !important; color:#333;
}

/* Изменение дозы / Пропуск */
.CalendarBlock .table tbody tr .bg-green,
.CalendarPage  .table tbody tr .bg-green { background:#A7F75F !important; color:#333; }
.CalendarBlock .table tbody tr .bg-red,
.CalendarPage  .table tbody tr .bg-red   { background:#FFD8DB !important; color:#333; }

/* Прочее */
.CalendarBlock .input-group-addon{ background:#FFF; }

/* выравнивание элементов легенды */
#CalendarLegends .row > [class*="col-"] span {
  display:inline-block;
  vertical-align:middle;
}
#CalendarLegends .row > [class*="col-"] {
  line-height:24px;
}


/****************************************/


/* Таблицы */

.table tr th{
    padding:5px 5px !important;
    font-size:0.9em;
    vertical-align:middle !important;
    text-align:center;
}
.table tr th{
    background: #eee !important;
}
.table th label{
    padding:0;
    margin:0;
}
.table .btn-xs {
    font-size: 12px;
    padding: 3px 10px !important;   
}

.table tbody tr.row-blue, .table tbody  tr.row-blue td {background-color: rgba(220, 230, 245, 0.2);}
.table tbody tr.row-gray, .table tbody  tr.row-gray td {background-color: rgba(230, 230, 230, 0.5);}

.table-hover > tbody > tr.selected, .table-hover > tbody > tr.selected td {background-color: rgba(148, 219, 255, 0.2) !important;}

.table-hover{
    cursor:pointer;
}
.table td p{
    padding:0;
    margin:0;
}
.table th label {
    font-weight:bold;
    
}

.table th .sort-link{
    display:block;
    padding:0 25px;
}

.table th .asc{
    background: url(../images/asc.png) no-repeat center right;   
}
.table th .desc{
    background: url(../images/desc.png) no-repeat center right;   
}

.table thead select, .table thead input[type="text"]{
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #CCCCCC !important;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
    color: #555555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}

.table thead .filters select, .table thead .filters input[type="text"], .table thead .filters2 select, .table thead .filters2 input[type="text"]{
    height: 24px;
    padding: 2px 12px;
}
.table thead .filters td, .table thead .filters2 td{
    padding: 2px !important;
    vertical-align: middle;
}


.table-reports .data_export td{
    text-decoration:underline;

}



.grid-view  .pagerCss{
    position:absolute;
    bottom:10px;
    left:0;
    width:100%;
}
.filter-120 a{
    width:200px;
    display:block;
}

.sort-link{
    margin:0;
    padding:0;
}

#RegcardInfo-grid .empty {
    text-align:left;
    margin-left:5%;
}

.grid-view .empty {
    text-align:center;
}

.grid-view .summary {
    font-size:0.9em; padding:20px 2px 10px; margin-left:auto; text-align:right;
}
.table-col-nowrap-thead tr th, .table-col-nowrap-tbody tr td{
    white-space: nowrap;
}
#block-itemsCount{
    min-width:145px;
}
.itemsCount{
    position:absolute;
    bottom: 15px;
    left:0;
    width:20%;
}

/*Навигационное меню справа при добавление/редактирование карты пациента*/
.bs-docs-sidebar-block{
    padding:15px;
    border:1px solid #ddd;
    width:620px;
    height:450px;
    border-bottom-left-radius:4px;
    background:#FFF;
    
}
.bs-docs-sidebar-block .GrayLine{
    background:#FFF;
    position:absolute;
    left:-1px;
    top:1px;
    width:3px;
    height:136px;
}
.bs-docs-sidebar.affix {
    position: static;
}
.bs-docs-sidebar .nav>li>a {
    display: block;
    padding: 3px 0 5px 20px;
    font-weight: 500;
    color: #999;
}
.bs-docs-sidebar .nav>li>a:hover,.bs-docs-sidebar .nav>li>a:focus {
    padding-left: 18px;
    color: #563d7c;
    text-decoration: none;
    background-color: transparent;
    border-left: 2px solid #563d7c;
}
.bs-docs-sidebar .nav>.active>a,.bs-docs-sidebar .nav>.active:hover>a,.bs-docs-sidebar .nav>.active:focus>a {
    padding-left: 18px;
    font-weight: 700;
    color: #563d7c;
    background-color: transparent;
    border-left: 2px solid #563d7c;
}

.bs-docs-sidebar .nav .nav {
    display: none;
    padding-bottom: 10px;
}

.bs-docs-sidebar .nav .nav>li{
    list-style: circle outside !important;
}

.bs-docs-sidebar .nav .nav>li>a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 50px;
    font-size: 12px;
    font-weight: 400;
}

.bs-docs-sidebar .nav .nav>li>a:hover,.bs-docs-sidebar .nav .nav>li>a:focus {
    padding-left: 48px;
}

.bs-docs-sidebar .nav .nav>.active>a,.bs-docs-sidebar .nav .nav>.active:hover>a,.bs-docs-sidebar .nav .nav>.active:focus>a {
    padding-left: 48px;
    font-weight: 500;
}

@media (min-width:992px) {
    .bs-docs-sidebar .nav>.active>ul {
        display: block;
    }

    .bs-docs-sidebar.affix,.bs-docs-sidebar.affix-bottom {
        
    }

    .bs-docs-sidebar.affix {
        position: fixed;
        top: 55px;
    }

    .bs-docs-sidebar.affix-bottom {
        position: absolute;
    }

    .bs-docs-sidebar.affix-bottom .bs-docs-sidenav,.bs-docs-sidebar.affix .bs-docs-sidenav {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/*********************************************** */


/*Стили шаблона*/
#content .page-header {
    min-height:37px !important;
    margin: 0 -15px 10px;
}
.modal-dialog {
    width: 700px;
}
.btn-group{
    white-space:nowrap;
}
.bg-noise-diagonal  > .box > .box-body{
    background: url("../images/bg_orange.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}
.footer-tools .go-top {
    position:absolute;
    right:20px;
    bottom:30px;
    background:#c1c1c1;
    z-index:120;
}
.BtnPrintVersion{
    position:absolute;
    right:30px;
    top:-43px;
    padding:2px 5px;
    display:block;
}

.logo-text-internal{
    font-size:26px;
    font-weight:bold;
    color:#FFF;
    height: 30px;
    left: 80px;
    max-width: 60%;
    position: absolute;
    top: 8px;
    width: 120px;
    display:block;
    margin:0;
    padding:0;
}

.form-text{
    background-color: #eeeeee;
    cursor: not-allowed;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}

.radio-block{
    margin-bottom:2px;
}

.radio-default label, .radioButtonList label{
    margin-right:15px;
}

input[type="radio"] {
    margin-left:0 !important;
    display: inline !important;
    cursor: pointer;
    width:auto !important;
    vertical-align: middle;
    margin:0 3px 0 0 !important;
}

.BootstrapDateTimePicker-btn{
    cursor:pointer;
}

a.anchor{display: block; position: relative; top: -55px; visibility: hidden;}

.box-body-group h5{
    font-size:16px;
    padding:0;
    display:inline;
    margin:0;
}

.box-body-group .box-body{
    background:#FFF !important;
}

.box-body-group{
    background:#FAFAFA !important;
}
.form-horizontal .radio {
    padding-top: 4px;
}

.btn-group{
    white-space: nowrap !important;
}
.nowrap{
    white-space:nowrap
}

.font-bold{
    font-weight:bold;
}


html:not([dir="rtl"]) input {
    text-align: left;
}
input[type=number]::-webkit-inner-spin-button, input[type=time]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button, input[type=time]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number]::-moz-number-spin-box{
    display:none;
}

.javascript_code  textarea {
  font-family: Courier New, Consolas, Tahoma, MS Sans Serif, MS Serif;
  font-size: 12px;
}

.input-group .form-special:not(:first-child):not(:last-child) {
    border-radius: 0 !important;
}

.report-icon-16x16{
    padding:0px 13px 12px 8px;
    width:16px;
    height:16px;
    background: url(../images/report_icon_16x16.png) no-repeat;   
}

.access-icon-16x16{
    padding:0px 13px 12px 8px;
    width:16px;
    height:16px;
    background: url(../images/access_icon_16x16.png) no-repeat;   
}

.word-icon-16x16{
    padding:0px 13px 12px 8px;
    width:16px;
    height:16px;
    background: url(../images/word_icon_16x16.png) no-repeat;
}

.excel-icon-16x16{
    padding:0px 13px 12px 8px;
    width:16px;
    height:16px;
    background: url(../images/excel_icon_16x16.png) no-repeat;   
}

.excel-icon-32x32{
    display:block;
    width:32px;
    height:32px;
    background: url(../images/excel_icon_32x32.png) no-repeat;   
}
.word-icon-32x32{
    display:block;
    width:32px;
    height:32px;
    background: url(../images/word_icon_32x32.png) no-repeat;  
}
.excel-icon{
    display:block;
    width:64px;
    height:64px;
    background: url(../images/excel_icon.png) no-repeat left top;  
}

.word-icon{
    display:block;
    width:64px;
    height:64px;
    background: url(../images/word_icon.png) no-repeat left top;   
}

.pagination {
    margin:0;
}
.pagination .selected a{
    background-color: #EAEAEA;
}
.pagination > li > a:focus, .pagination > li > span:focus {
    background-color: #FFF !important;
}

.save-icon-progress, .save-icon-end{
    padding:5px 16px 0 10px;
}

.save-icon-progress{
    background: url(../images/save-loader.gif) no-repeat left top;
}

.save-icon-end{
    background: url(../images/saved.png) no-repeat left top;
}

.modal-wide .modal-dialog {
  width: 96%;
}

.modal-vertical-centered{
    top: calc(50% - 200px) !important;
}

.modal-wide .modal-bc {
  overflow-y: auto;
}

#header  {
    z-index: 1002 !important;
}

.modal-loading{
    background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
    width:40px; 
    height:40px;
    display:block;
    left:48%;
    top:45%;
    position:absolute;
    border: 1px solid #343434;
    border-radius: 5px;
    box-shadow: 0 0 6px #0B0B0B;
}

.LoadingBlock, .LoadingBlockSpr{
    position:absolute;
    right:25px;
    top:6px;
    background: url(../images/save-loader.gif) no-repeat center center;
    display:block;
    height:16px;
    width:16px;
}

.SaveBlock{
    position:absolute;
    right:25px;
    top:6px;
    background: url(../images/saved.png) no-repeat center center;
    display:block;
    height:16px;
    width:16px;
}
.form-group{
    position:relative;
}
.checkbox-checked, .checkbox-unchecked, .radio-checked, .radio-unchecked{
    padding:2px 11px 20px 11px;
    width:22px;
    height:22px;
}
.checkbox-checked{
    background: url(../images/checkbox_1.png) no-repeat;
}

.checkbox-unchecked{
    background: url(../images/checkbox_2.png) no-repeat; 
}
.radio-checked{
    background: url(../images/radio_1.png) no-repeat;
}

.radio-unchecked{
    background: url(../images/radio_2.png) no-repeat; 
}
span.required{
    color:#D2322D !important;
}
.max-length{
    position: absolute; right: 10px; top: 30%; color: #9D9D9D; font-size: 6pt; cursor: text;
}
.btn-view,  .btn-update, .btn-delete,.btn-word, .btn-all{
    background-color: #FFFFFF;
    border-color: #CCCCCC;
    color: #333333;
}
.btn-view:hover, .btn-view:focus, .btn-view:active, .btn-view.active, .open .dropdown-toggle.btn-view {
    background-color: #4B739A;
    border-color: #3C5C7B;
    color: #FFFFFF;
}
.btn-update:hover, .btn-update:focus, .btn-update:active, .btn-update.active, .open .dropdown-toggle.btn-update {
    background-color: #ED9C28;
    border-color: #D58512;
    color: #FFFFFF;
}
.btn-delete:hover, .btn-delete:focus, .btn-delete:active, .btn-delete.active, .open .dropdown-toggle.btn-delete {
    background-color: #D2322D;
    border-color: #AC2925;
    color: #FFFFFF;
}

.btn-word:hover, .btn-word:focus, .btn-word:active, .btn-word.active, .open .dropdown-toggle.btn-word {
    background-color: #9DB36A;
    border-color: #92AA59;
    color: #FFFFFF;
}

.btn-all:hover, .btn-all:focus, .btn-all:active, .btn-all.active, .open .dropdown-toggle.btn-all {
    background-color: #9DB36A;
    border-color: #92AA59;
    color: #FFFFFF;
}
.overflow-hidden{
    overflow:hidden;
}


/*Окно формы*/

.box.border.primary > .box-title h4 i {
    color: #666666 !important;
}

.box.border.primary > .box-title h4 {
    color: #666666 !important;
}

.box.border.primary > .box-title {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
	border-radius: 4px;
    color: #FFFFFF !important;
}

.box.border.primary {
    border: 1px solid #E0E0E0;
}


.input-group{
    margin-bottom:0 !important;
}

.input-group > .bfh-number-btn:hover {
  cursor:pointer;
}


/*Стиль выпадающего списка Select2*/
/*========================================================*/
.select2{
    width:100%;
}
.select2-search-field, .select2-input{
    width: 100%;
}
.select2-container-multi .select2-choices .select2-search-field {
    width:auto !important;
}
.select2-container-multi .select2-input{
    height:30px;
}

.select2-container .select2-choice  {
    border: 1px solid !important;
	border-color: #CCCCCC !important;
}

.select2-dropdown-open .select2-choice {
    border-bottom-color: #FFFFFF !important;
    background-color: #FFFFFF !important;
}

.select2-dropdown-open.select2-drop-above .select2-choice {
    background-color: #FFFFFF !important;
}

.select2-container-active .select2-choice { /*Блок отображающий текст при активном выделении*/
	box-shadow: none !important; 
}

.select2-drop {
    border-color: #CCCCCC !important;
}

.select2-container-multi .select2-choices .select2-search-choice {
    padding-top: 5px !important;
    padding-bottom: 6px !important;
}


.select2-search-choice-close {
    top: 5px !important;
}

.select2-container-multi .select2-choices {
    border-radius: 4px !important;
}

.select2-container-multi .select2-choices .select2-search-choice {
    margin: 3px 0 3px 3px  !important;
}
/*Стиль выпадающего списка Select2 с кнопкой*/
/*========================================================*/

.input-group .select2-container .select2-choice , .input-group select { /*Блок отображающий текст*/
	border-bottom-right-radius: 0 !important;
	border-top-right-radius: 0 !important;
}
.input-group-select2 .select2-container .select2-choice, .input-group-select2  select {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}


.input-group .select2-container .select2-choice div { /*Блок отображающий cтрелочку*/
    border-radius: 0;
}

.input-group .input-group-btn .btn { /*Кнопка*/

	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0.60, #EEEEEE),
		color-stop(1, #CCCCCC)
	);
	background: -o-linear-gradient(center bottom, #CCCCCC 0%, #EEEEEE 60%) repeat scroll 0 0 #EEEEEE;
	background: -moz-linear-gradient(center bottom , #CCCCCC 0%, #EEEEEE 60%) repeat scroll 0 0 #EEEEEE;
	background: -webkit-linear-gradient(center bottom, #CCCCCC 0%, #EEEEEE 60%) repeat scroll 0 0 #EEEEEE;
	background: -ms-linear-gradient(center bottom, #CCCCCC 0%, #EEEEEE 60%) repeat scroll 0 0 #EEEEEE;
	background: linear-gradient(to center bottom, #CCCCCC 0%, #EEEEEE 60%) repeat scroll 0 0 #EEEEEE;

	color: #888888;
}

/*ПОДСВЕТКА ПРИ ФОКУСЕ - НАЧАЛО */

.FilterSelect2  .select2-container {
    width: 100%;
}
.input-group-select2 .select2-container.select2-drop-above .select2-choice {
    border-bottom-left-radius: 0 !important;
}
.input-group .select2-container.select2-drop-above .select2-choice {
    border-bottom-right-radius: 0 !important;
}

.form-control:focus, 
.btn:focus,
.table .filters input[type="text"]:focus,
.table tr td a:focus,
.select2-container-active .select2-choice, 
.select2-container-active .select2-choices {
 border: 1px solid #66afe9 !important;
 outline: none !important;
 -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important;
 box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important;
 z-index: 999;
}

.select2-drop .select2-drop-above .select2-drop-active {
 border-top: 1px solid #66afe9 !important;
 -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important;
 box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important; 
}
.select2-drop-active {
 border: 1px solid #66afe9 !important;
 border-top: none !important;
 -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important;
 box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) !important; 
}
.input-group-select2-border-right .select2-container .select2-choice, .input-group select{
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}


/*ПОДСВЕТКА ПРИ ФОКУСЕ - КОНЕЦ */


/*Груп бокс*/
/*========================================================*/

.box-groups .box-container .box-title {
	border-color: #E0E0E0;
    border-radius: 4px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0 
}

.box-groups .box {
	border-color: #E0E0E0;
}

.box-groups  .box-container .box-title{
    min-height: 20px;
    padding: 5px 10px !important;
    background-color: #EDEDED;
}
.box-groups  .box-container .box-title h4 {
    margin: 0 !important;
    font-size: 16px;
    font-weight:bold !important;
}
.box-groups .box {
    margin-bottom: 20px;
}

/**/

.box-tools{
    min-height:45px;
}
.box-tools-body{
    
}

body {
    /*font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;*/
    font-family:  Verdana,Geneva,Kalimati,sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
    /*font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;*/
    font-family:  Calibri, Verdana, Geneva, Kalimati, sans-serif !important;
}

label {
    cursor:pointer;
    font-weight:normal;
}
fieldset{
    border:1px solid #E5E5E5;
    border-top:none;
    margin-bottom: 15px;
}

fieldset legend{
    font-size:16px;
}
fieldset legend{
    font-size:16px;
}
select option{
    padding:2px 5px 3px 5px;
    font-size: 12px;
}

select, select:hover {
    cursor:pointer;
}

/*Всплывающий хинтбокс*/
.popover {
    min-width:300px;
	z-index:9999 !important;
}
.pop-abbr{
    border-bottom:1px dashed #999;
    cursor:help;
}
/*Всплывающий хинтбокс*/

/*Кнопка очистки */
.clear-button{
    position:absolute; top:23%; right:55px; color:#888888 !important;
}
.clear-button:hover{
    color:#5E87B0 !important;
}
/*Кнопка очистки */



/*Версия для просмотра */
.view-content .required span.required {display:none}
.view-content .select2-container.select2-container-disabled .select2-choice div {display:none}
.input-view .select2-container.select2-container-disabled .select2-choice div {display:none}
.input-view .select2-container.select2-container-disabled .select2-choice{
    cursor: not-allowed !important;
}

.text-input{
    background-color: #eee;
    background-image: none;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    display: block;
    font-size: 14px;
    min-height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}
.box-view .text-title{margin:0  0 5px 0; padding:0;}
/************/


.error, .errorMessage {
    color: #B94A48;
}
input[type="text"].error{
    border-color: #B94A48;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}


.has-success{
    color: #468847;
}

.has-warning {
    color: #C09853;
}
.has-error {
    color: #B94A48;
}

.defualt-block{
    float:left; width:150px; padding:0 10px; text-align:center;
}

/***************************************************************************************/

.date-block{
    position:relative;
    display:block;
    width:100%;
    margin:0;
}


.width-100p{width: 99.5%; }
.width-98p{width: 98%; }
.width-97p{width: 97%; }
.width-93p{width: 93%; }
.width-91p{width: 91%; }
.width-15{width:15px !important;}
.width-20{width:20px !important;}
.width-30{width:30px !important;}
.width-40{width:40px !important;}
.width-50{width:50px !important;}
.width-60{width:60px !important;}
.width-70{width:70px !important;}
.width-80{width:80px !important;}
.width-90{width:90px !important;}
.width-100{width:100px !important;}
.width-118{width:118px !important;}
.width-120{width:120px !important;}
.width-125{width:125px !important;}
.width-130{width:130px !important;}
.width-140{width:140px !important;}
.width-150{width:150px !important;}
.width-160{width:160px !important;}
.width-170{width:170px !important;}
.width-180{width:180px !important;}
.width-190{width:190px !important;}
.width-200{width:200px !important;}
.width-210{width:210px !important;}
.width-220{width:220px !important;}
.width-230{width:230px !important;}
.width-250{width:250px !important;}
.width-260{width:260px !important;}
.width-270{width:270px !important;}
.width-280{width:280px !important;}
.width-300{width:300px !important;}
.width-350{width:350px !important;}
.width-400{width:400px !important;}
.width-auto{width:auto !important;}

.width-2p{width:2% !important;}
.width-5p{width:5% !important;}
.width-8p{width:8% !important;}
.width-10p{width:10% !important;}
.width-20p{width:20% !important;}
.width-25p{width:25% !important;}
.width-30p{width:30% !important;}
.width-35p{width:35% !important;}
.width-40p{width:40% !important;}
.width-43p{width:43% !important;}
.width-45p{width:45% !important;}
.width-50p{width:48% !important;}

.block-hidden{
    visibility:hidden;
    position:absolute;
    left:0;
    width:0;
    height:0;
}
.display-none{
    display:none;
}

.page-header .breadcrumb li, .page-header .breadcrumb a {
    color: #9A9A9A;
    font-style: italic;
}

.page-header .breadcrumb li:last-child {
    color: #242415;
    font-style: italic;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu a{
    white-space: normal !important;
    line-height:18px;
    padding:8px 10px 10px 10px;
}
.dropdown-submenu>.dropdown-menu li{
        line-height:18px;
       
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: -700px;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
    width:700px !important;
}

.dropdown-submenu>.dropdown-menu li{
        width:700px !important;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 15px;
    margin-right: -10px;
    word-wrap: break-word; /* Перенос слов */ 
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.ic-info {
    position: fixed;
    bottom: 0;
    width: 100%;

    background-color: #F9FEFF;
    
    -webkit-box-shadow: 0 4px 8px -4px #8C8C8C inset;
    -moz-box-shadow: 0 4px 8px -4px #8C8C8C inset;
    box-shadow: 0 4px 8px -4px #8C8C8C inset;
    border-top: 1px solid #B9B9B9;

    z-index: 121; 

    font-size: 9px;
    font-style: italic;
    color: #555555;
    padding: 5px 7px 5px 7px;
}

.ic-info-copyright {
    float: left;
    width: 245px;  
}

.ic-info-with-support-of {
    width: 100%;  
}

.bp{
    line-height: 3;
}

.clear-height{
    height:0 !important; font-size:0  !important; padding:0  !important; border-top:0 !important;
}

/* Стили для поля загрузки фото */
.custom-file {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.custom-file-input {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.custom-file-label {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
}


