.flex-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px;
}
.flex-row .section {
	height: 100%;
}

@media (max-width: 991px) {
	.flex-col-md-12,
	.flex-col-md-6 {
		flex: 1 1 100%;
		max-width: 100%;
		padding: 0 5px;
		margin-bottom: 10px;
	}
}
@media (min-width: 992px) {
	.flex-col-md-6 {
		flex: 1 1 50%;
		max-width: 50%;
		padding: 0 5px;
		margin-bottom: 10px;
	}
	.flex-col-md-12 {
		flex: 1 1 100%;
		max-width: 100%;
		padding: 0 5px;
		margin-bottom: 10px;
	}
}
@media (min-width: 1200px){
	.flex-col-lg-6 {
		flex: 1 1 50%;
		max-width: 50%;
		padding: 0 5px;
		margin-bottom: 10px;
	}
	.flex-col-lg-3 {
		flex: 1 1 25%;
		max-width: 25%;
		padding: 0 5px;
		margin-bottom: 10px;
	}
}

.list-item {
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 15px;
}

.remove__link {
	display: inline-block;
	vertical-align: top;
	color: #e91e63;
	margin-right: 2px;
	margin-left: 5px;
	margin-top: 2px;
}
.remove__link:hover {
	color: #ff6464;
}
.remove__link:first-child {
	margin-left: 0;
}
.art {
	white-space: normal;
}

.text_content {
	display: block;
	overflow: hidden;
	max-height: 60px;
}
.text_content__inner {
	display: block;
}
.text_content.cut {
	position: relative;
}
.text_content.cut:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 20px;
	background-image:    -moz-linear-gradient( 90deg, rgba(255,255,255,1) 5%, rgba(255,255,255,.2) 100%);
	background-image: -webkit-linear-gradient( 90deg, rgba(255,255,255,1) 5%, rgba(255,255,255,.2) 100%);
	background-image:     -ms-linear-gradient( 90deg, rgba(255,255,255,1) 5%, rgba(255,255,255,.2) 100%);
	z-index: 1;
	pointer-events: none;
}
.text_content.full {
	max-height: none !important;
}
.text_content.full:after {
	display: none !important;
}
.text_content.cut .text_content__more {
	position: absolute;
	display: inline-block;
	bottom: -1px;
	right: 0;
	text-align: right;
	font-size: 1rem;
	line-height: 1.2;
	z-index: 2;
	font-weight: 700;
	color: #23527c;
	background: #fff;
}

.second_tree_sub_categories .jstree-anchor {
	white-space: normal;
}
.second_tree_sub_categories .jstree-default .jstree-anchor {
	height: auto;
}
.second_tree_sub_categories .extra-info {
	display: block;
	font-size: 10px;
	line-height: 1.2;
	border: 1px solid #bcd7e4;
	background: #eff7fb;
	/*padding-left: 51px;*/
	/*margin-top: -5px;*/
}

.jstree-icon.fa-text {
	width: 0 !important;
	height: 0 !important;
}

.table_list tr.is-hide {
	display: none !important;
}
.table_list tr.is-hidden-search {
	display: none !important;
}
.table_list tr.is-show-search {
	display: table-row !important;
}

.modal {
    max-width: 90%;
}
.modal-wrapper {
    padding: 30px;
    overflow: initial !important;
}
.modal__close {
    position: absolute;
    border-radius: 50%;
    background: #fff !important;
    color: #000;
    width: 32px;
    height: 32px;
    top: -16px;
    right: -16px;
    z-index: 1;
    padding: 0;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal__close svg {
    display: inline-block;
    width: 20px;
    height: 20px;
}

@media (max-width: 991px){
    .modal {
        height: 100%;
        max-width: 100% !important;
        width: 100%;
    }
    .modal-wrapper {
        padding: 3rem 1.5rem;
    }
    .modal-wrapper .modal__close {
        right: -15px;
    }
}

.flyers {
	display: flex;
	flex-wrap: wrap;
}
.flyers__item {
	flex: 1 0 150px;
	max-width: 150px;
	margin: 0 10px 10px 0;
}
.flyers__label {
	display: block;
	outline: 0;
	cursor: pointer;
	border-radius: 4px;
	transition: all 150ms ease;
}
.flyers__pic {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	height: 100%;
	padding: 10px;
	border-radius: 4px;
	background-color: #f0f1f2;
	border: 1px solid #edeff0;
}
.flyers__label:hover .flyers__pic {
	border-color: rgb(218, 87, 38);
}
.flyers__pic img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 4px;
}
.flyers__input:checked ~ .flyers__pic {
	background-color: rgba(218, 87, 38, .3);
}
.flyers__name {
	flex: 1 1 100%;
	max-width: 100%;
	font-size: 1.2rem;
	line-height: 1;
	/*text-transform: uppercase;*/
	font-weight: 400;
	color: #525458;
	text-align: center;
	margin-top: 5px;
	height: 24px;
	overflow: hidden;
}
.flyers__input {
	display: none !important;
}

.flyer-content {
	font-size: 1.4rem;
	line-height: 1.4;
	padding: 20px;
	border: 1px solid #edeff0;
	border-radius: 4px;
	background: #f3f3f3;
}
.flyer-content:empty {
	display: none;
}
.flyer-info {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
    line-height: 1.4;
}
.flyer-info__row {
    display: table-row;
}
.flyer-info__col {
    border: 1px solid #cecece;
    display: table-cell;
    vertical-align: top;
    padding: 10px;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }
