.search {
    /* width: 100%; */
}

.block {
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 1px;
}

.search h4 {
    margin: 0 0 10px 0;
}

#search_input {
    line-height: 30px;
    text-indent: 10px;
    border-radius: 4px;
    border: 1px solid #999;
    width: 100%;
    outline: none;
}

.search .result {
    position: relative;
    display: flex;
    gap: 10px;
    background: #eeeeee;
    min-height: 175px;
    padding: 20px;
}

.search .result > div {
    width: 50%;
}

.search .result .label {
    font-weight: bold;
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 5px;
}

.search .result .item {
    background: #fff;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
    max-height: 185px;
    overflow: hidden;
    transition: .3s;
}

.search .result .item:hover {
    max-height: 1000px;
}

.search .result .item .code {
    display: flex;
    justify-content: space-between;
    color: #5DB0E6;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
}

.search .result .item .eis_and_add {
    display: flex;
    gap: 10px;
}

.search .result .item .open_eis {
    font-size: 12px;
}

.search .result .item .code .add {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #DEF, #a0dbff);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 3px 5px -3px #a9a9a9;
    transition: .3s;
    border: 1px solid #d1d1d1;
    box-sizing: border-box;
}
.search .result .item .code .add::before {
    content: "+";
    margin-bottom: -2px;
}

.search .result .item .code .add:hover {
    /* transform: scale(1.1); */
    box-shadow: 0 5px 5px -3px #a9a9a9;
}

.search .result .item .code .add.added {
    background: linear-gradient(135deg, #96e9c4, #50ef6bb8);
    color: #fff;
}

.search .result .item .code .add.added::before {
    content: "✔"; 
    font-size: 14px;
    margin-bottom: 0px;
}
.search .result .item .code .add.added:hover::before {
    content: "-";
    font-size: 20px;
    font-weight: bold;
    margin-top: -2px;
}

.search .result .item .text {
    color: #757d87;
    margin: 10px 0;
}

.preloader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #eeeeee;
	/* box-shadow: 0 0 5px 0 rgba(0, 0, 0, .8); */
	z-index: 10;
}

.preloader .text {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: #828282;
}

.search .result > .preloader {
    width: 100%;
}

.loader {
    display: none;
	position: absolute;
	left: calc(50% - 17.5px);
	top: calc(50% - 17.5px);
	width: 35px;
	height: 35px;
	padding: 0px;
	border-radius: 100%;
	border: 2px solid;
    border-top-color: rgba(8, 141, 224, 0.65);
    border-bottom-color: rgba(8, 141, 224, 0.65);
    border-left-color: #fff;
    border-right-color: #fff;
	-webkit-animation: preloader 0.8s ease-in-out infinite alternate;
	animation: preloader 0.8s ease-in-out infinite alternate;
}

@keyframes preloader {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@-webkit-keyframes preloader {
	from {
		-webkit-transform: rotate(0deg);
	}

	to {
		-webkit-transform: rotate(360deg);
	}
}

.bookmarks_box .filter {
    width: 100%;
}

/* #index_search {
    display: none;
}

#index_search.active {
    display: block;
} */

#index_search.active ~ .searchList {
    display: none!important;
}