html, body {
	height: 100%;
}
/** Fix to prevent navbar overlapping **/
@media (min-width: 768px) and (max-width: 1200px) {
    body {
		padding-top: 50px;
	}
}

.wrap {
	min-height: 100%;
	height: auto;
	margin: 0 auto -60px;
	padding: 0 0 60px;	
}

.wrap>.container {
	padding: 70px 15px 20px;
}

.footer {
	height: 60px;
	background-color: #f5f5f5;
	border-top: 1px solid #ddd;
	padding-top: 20px;
}

.jumbotron {
	text-align: center;
	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: /*"\e113"*/ "\e151";
}

a.desc:after {
	content: /*"\e114"*/ "\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: nowrap;
}

.expected-indicators-index .grid-view td:nth-child(2),
.expected-indicators-index .grid-view tr td.idexpind-name
{
	white-space: normal;
}

.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;
}

/* align the logout "link" (button in form) of the navbar */
.nav>li>form {
	padding: 8px;
}

@media ( max-width :768px) {
	.nav li>form {
		padding: 3px;
	}
}

.nav>li>form>button:hover {
	text-decoration: none;
}

.page_content>div.content_type {
	padding: 20px;
	border: 1px solid #aaaaaa;
	border-radius: 5px;
	margin: 15px auto;
	cursor: pointer;
}

.page_content>div.content_type>img {
	display: block;
	float: right;
	margin: -10px;
	cursor: pointer;
}

.wrap-background {
	height: 100%;
	top: 0px;
	width: 100%;
	position: absolute;
	z-index: 10;
	display: none;
	background: rgb(51, 51, 51);
	opacity: 0.3;
}

div.folder, div.file {
	text-align: center;
	display: inline-block;
	width: 184px;
    min-height: 160px;
	margin: 20px;
	border: 1px solid #f2f2f2;
	padding: 5px;
	vertical-align: middle;
}

div.folder span, div.file span {
	display: block;
	padding-top: 10px;
}

.dir-create, .file-create, .file-view {
	position: fixed;
	display: none;
	top: -55px;
	background-color: #f2f2f2;
	padding: 15px;
	width: 55%;
	left: 25%;
	border-radius: 10px;
	box-shadow: #d0c6c6 2px 2px;
	margin: 10% auto;
	z-index: 100;
}

.file-index .file {
	cursor: pointer;
}

.directory .pagination{
	display: block;
}

.directory .file img.fileType {
	width: 64px;
}    

.dir-create > img, .file-create > img, .file-view > img {
	float: right;
	margin-top: -60px;
	cursor: pointer;
}

.file-view > img {
	margin-top: 0;
}

/** TinyMCE **/
.mce-fullscreen {
    z-index: 1050 !important;
}

.text-wrap {
	overflow-wrap: break-word;
	word-wrap: break-word;	
	-ms-word-break: break-all;	
	word-break: break-all;	
	word-break: break-word;	
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	white-space: normal !important;  
}

.grid-view .text-wrap td {
	white-space: normal !important;
}

/** DynamicFormWidget **/
.dfw-vcenter {
    vertical-align: middle !important;
}
.dfw-remove-question-col {
	width: 90px;
}
.dfw-answer-col {
	width: 50%;
}

/** Helpers **/
.margin-t-md {
	margin-top: 20px;
}
.margin-b-md {
    margin-bottom: 20px;
}
.padding-v-md {
    padding-top: 20px;
    padding-bottom: 20px;
}
.line-dashed {
    background-color: transparent;
    border-bottom: 1px dashed #dee5e7 !important;
}
.textarea-vert {
	width: 100%;
	resize: vertical;
	min-height: 75px;
	max-height: 200px;
}
.cursor-move {
	cursor: move;
}
.bg-shadow
{
  	position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

/** Login form **/
.form-signin
{
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading, .form-signin .checkbox
{
    margin-bottom: 10px;
}
.form-signin .checkbox
{
    font-weight: normal;
}
.form-signin .form-control
{
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form-signin .form-control:focus
{
    z-index: 2;
}
.form-signin input[type="email"]
{
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.form-signin input[type="password"]
{
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.account-wall
{
    margin-top: 20px;
    padding: 40px 0px 20px 0px;
    background-color: #f7f7f7;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}
.login-title
{
    color: #555;
    font-size: 18px;
    font-weight: 400;
    display: block;
}
.profile-img
{
	font-size: 50px;
    text-align: center;
    margin: 0 auto 10px;   
}

/** Bootstrap cards **/
.card-block {
    padding: 1.2rem 3rem;
}
.card {
    position: relative;
    display: block;
    margin-bottom: .75rem;
    background-color: #fff;
    border-radius: .25rem;
    border: 1px solid rgba(0,0,0,.125);
}
.card-title {
    margin-bottom: .75rem;
}
.card-btn {
	max-width: 345px;
    margin: 10px auto;
}

/** Breadcrumbs **/
.breadcrumb > li + li::before {
	color: #aaa;
	padding: 0 5px;
	content: "\2192 ";
}

/** UI Custom **/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
	border: none;	
}

.textarea-td {
    width: 70%;
    padding-right: 20px;	
}

.textarea-td-wide {
	width: 90%;
    padding-right: 20px;
}

.dropdown-menu {
	min-width: 235px;
}
.dropdown-menu > li > a {
    white-space: break-spaces;
}

/** Competition **/
.competition-form .docs table {
    margin : 20px 0;
}
.competition-form .docs td {
    padding : 5px 10px;
}
.competition-form .docs .td1 {
    width: 100px;
    height: 60px;
}
.competition-form .docs .td2 {
    width: 500px;
    overflow: hidden;
}
.competition-form .hidden {
    display: none;
}
.padding10_0 {
    padding: 10px 0;
}

.gp_svg{
	width: 60px;
	height: 60px;
}

.gp_photo{
	max-height: 200px;
}

@media (min-width: 1200px) {
    .container.strech {
		width: unset;
		max-width: 100%;
	}
}

.infogr td, .pob-table td {
	white-space: normal;
}

.table-responsive {
    overflow-x: visible;
}

.drop-zone-disabled .file-input-new .file-preview {
	display: block;
	min-height: 200px;
}

/*mbo Admin*/

.mbo-form .mboRow .mboCell.mboDel:hover{
	color: red;
	font-size: 1.2;
	font-weight: bold;
	cursor: pointer;
}

.mbo-form .mboRow.deleted .mboCell,
.mbo-form .mboRow.deleted label
{
	text-decoration: line-through;
}
.mbo-form .mboRow.deleted .mboCell{
	background-color: rgba(233, 159, 159, 0.75);
}

.mbo-form .mboRow .mboCell{
	border: 1px solid gray;
}
.mbo-form .mboRow:hover .mboCell{
	background-color: rgba(233, 159, 159, 0.5);
}

.mbo-form .mboRow{
	margin-left: 0;
	margin-right: 0;
	display: flex;
}

td.csr-column, 
td.vr-column,
td.version-column,
td.stage-column
{
    max-width: 25%;
    white-space: normal;
}

#mbo_table_form .rc-handle {
	background-color: #d2cdcd;
	border: 3px solid white;
	border-bottom-color: transparent;
	border-top-color: transparent;
}
#mbo_table_form td {
	white-space: normal;
}
#mbo_table_form td.kv-nowrap {
	white-space: nowrap;
}

#mbo_table_form tr.is_new_item {
	font-weight: bold;
}

#mbo_table_form tr.danger {
	text-decoration: line-through;
}

#mbo_table_form .mbo-faq .alert{
	color: black;
	padding: 5px;
	border-radius: 0;
	border: 1px solid black;
}
#mbo_table_form .mbo-faq .alert.alert-danger{
	text-decoration: line-through;
}
#mbo_table_form .mbo-faq {
    border: 2px solid #d2cdcd;
    margin: auto auto 15px;
    padding: 5px 0;
}
#mbo_table_form .mbo-faq .legend-title {
    text-align: center;
    padding: 5px 0 15px;
    font-size: 16px;
}
.okud-importer .okud-importer-table .grid-view td {
    white-space: normal;
}

.kv-container-from {
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-width: 0px;

	padding-top: 0px;
    padding-bottom: 0px;
	padding-left: 0px;
}

.kv-container-to {
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-width: 0px;

    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
}

.aip-fin-ind-create select.form-control, .aip-fin-ind-create .select2.form-control {
	transition: none;
	-o-transition: none;
	-moz-transition: none;
	-webkit-transition: none;
	width: 100% !important;
	padding: 0;
}

.aip-fin-ind-create .select2-container--default .select2-selection--single {
	border: none;
	margin-top: 0 !important;
	height: 32px;
}

.btn-primary.green {
	background-color: #2f5c27;
}

.d-flex {
	display: flex;
}
.d-flex.d-flex-wrap {
	flex-wrap: wrap;
}

.wrap-text,
.wrap-text .btn
{
	white-space: normal;
}

.d-flex .grid-column {
	display: grid;
	align-content: end;
}
#rows .grid-view td,
.results-table .grid-view td,
.blue-navs .grid-view td:not(:last-child) {
	white-space: normal;
}

.blue-navs .nav > li > a.btn-primary:hover,
.blue-navs .nav > li > a.btn-primary:focus {
	text-decoration: none;
	background-color: #204d74;
	color: #fff;
}
.blue-navs .nav-tabs > li > a.btn-primary:hover {
	border-color: #286090;
}
.blue-navs .nav-tabs > li.active > a.btn-primary,
.blue-navs .nav-tabs > li.active > a.btn-primary:hover,
.blue-navs .nav-tabs > li.active > a.btn-primary:focus {
	color: #fff;
	background-color: #204d74;
	border: 1px solid #204d74;
	border-bottom-color: #204d74;
}

#rows tr th {
	text-align: center;
}

.aip-fin-ind-update select.form-control, .aip-fin-ind-create .select2.form-control {
	transition: none;
	-o-transition: none;
	-moz-transition: none;
	-webkit-transition: none;
	width: 100% !important;
	padding: 0;
}
.aip-fin-ind-update .select2-container--default .select2-selection--single {
	border: none;
}

.field-fbutton-button_color:before, .field-fbutton-text_color:before {
	display: block;
	position: relative;
	content: "#";
	left: -20px;
	top: 55px;
	color: #999999;
	font-size: 20px;
	font-weight: bold;
	margin-top: -20px;
	width: 20px;
}

.actions-top {
	margin: 20px 0 10px;
}

.grid-view .w1_word-wrapped {
	white-space: normal;
}

.field-newssubscriptioncampaign-title .shortcode {
	display:none;
}

.field-newssubscriptioncampaign-title .shortcode.shortcode__date-from,
.field-newssubscriptioncampaign-title .shortcode.shortcode__date-upto {
	display: inline;
}

.glyphicon-trash {
	color: #a94442;
}

.required label:after,
.panel-heading div.required:after {
	content: " *";
	color: #a94442;
}

.required label.hide-asterisk:after {
	display: none;
}

.disabledOption {
	padding: 6px;
	color: #999999;
}

.margin-t-md table td {
	overflow-wrap: anywhere;
}

.blue-navs .nav-tabs > li > a {
	height: 100%;
}

.preloader {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000000000;
}

.preloader__image {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.preloader:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.5;
}

.buttons-row {
	margin: 20px 0 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.kv-grid-table .filters .select2-selection__rendered {
	padding-right: 14px;
}

.kv-grid-table img {
	max-width: 100%;
	height: auto;
}
/*#region Скрытие стрелок в input[type=number] */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type=number] {
	-moz-appearance: textfield;
}

/*#endregion Скрытие стрелок в input[type=number] */


.disabledOption {
	padding: 6px;
	color: #999999;
}

:root {
  --placeholder-initial-position: #fcfaf0;
  --placeholder-new-position: #f5f5f5;
}

/* #region прикрепляемые папки и документы*/

.folders-header {
	display: flex;
    align-items: center;
    gap: 40px;
	margin-bottom: 15px;
	padding-left: 30px;
}

.attached-finyear-stage__finyear-stage-info {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 60px;
	padding-left: 30px;
}

.folders-container {
	display: flex;
    flex-direction: column;
	padding-left: 30px;
}

.attached-folder {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.attached-folder__folder-info {
	display: flex;
	align-items: start;
	gap: 10px;
}

.attached-folder__form {
	width: 190px;
}

.folder-documents-container {
	display: flex;
	flex-grow: 1;
    flex-direction: column;
	overflow: auto;
	padding-bottom: 15px;
}

.attached-document {
	display: flex;
	gap: 10px;
}

.folder-documents .attached-document {
	flex-direction: row-reverse;
}

.attached-document__action-buttons, .attached-folder__action-buttons {
	display: flex;
	align-items: start;
	gap: 10px;
	margin-top: 5px;
}

.attached-document__info {
	overflow: auto;
	flex-grow: 1
}

.documents-container {
	padding-left: 30px;
	min-height: 1px;
}

.document-container__clone {
  background-color: var(--placeholder-initial-position);
}

.folder-documents-container__action-buttons {
	display: flex;
	justify-content: end;
}

.sorting-container__item_position_initial {
  background-color: var(--placeholder-initial-position);
}

.sorting-container__item_position_initial > * {
	visibility: hidden;
}

.sorting-container__item_position_new {
  background-color: var(--placeholder-new-position);
}

.documents-footer,
.finyear-stage-footer {
	display: flex;
	align-items: center;
	gap: 40px;
	padding-left: 30px;
	margin-bottom: 15px;
}

/* #endregion */

thead td .select2-container {
	position: relative;
	z-index: 2;
	float: left;
	width: 100%;
	margin-bottom: 0;
	display: table;
	table-layout: fixed;
}

tr.filters > td.has-error > div.help-block {
	text-wrap: wrap;
}

.tab-content {
	padding-top: 20px;
}