@import url('https://fonts.googleapis.com/css?family=Inconsolata:700');

.top-panel {
    position: fixed;
    top: -162px;
    width: 100vw;
    height: 150px;
    padding: 22px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    transition: top 400ms cubic-bezier(0.17,0.04,0.03,0.94);
    background: #fff;
    z-index: 100;
    display: flex;
    align-items: center;
    margin-left: -50vw;
    left: 50%;
    justify-content: center;
}
.top-panel .wrap-loop {
    width: 50px;
    height: 42px;
    position: relative;
    top: 3px;
}
.top-panel .wrap-loop .loop {
    position: absolute;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    border: 5px solid #dedede;
    border-radius: 50%;
}
.top-panel .wrap-loop .loop:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22px;
    height: 5px;
    background-color: #dedede;
    border-radius: 0 7.5px 7.5px 0;
    transform-origin: 0 50%;
    transform: translateX(100%) rotate(45deg);
}
.search2 .search-title-button-icon {
    width: 30px;
    height: 30px;
}
.search2 .search-title-button-icon .loop {
    position: absolute;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    border: 4px solid #a9a5a5;
    border-radius: 50%;
}
.search2 .search-title-button-icon .loop:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 17px;
    height: 4px;
    background-color: #a9a5a5;
    border-radius: 0 7.5px 7.5px 0;
    transform-origin: 0 50%;
    transform: translateX(100%) rotate(45deg);
}
.search2 .search-title-button-icon .loop:hover {
    border: 4px solid #2c338d;
}
.search2 .search-title-button-icon .loop:hover:after {
    background-color: #2c338d;
}
.search-input-wrap .container {
    margin: 0;
}
.wrap-search-top-panel {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    height: 44px;
}
.top-panel label {
    display: inline-flex;
    margin: 0;
}
/* Переключатель панели */
label.search {
    display: block;
    position: absolute;
    right: 50px;
    top: 0;
    cursor: pointer;
    background: #2bbbad;
    width: 50px;
    border-radius: 0 0 5px 5px;
    padding: 8px 5px;
    color: #FFF;
    line-height: 20px;
    font-size: 12px;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    transition: all 400ms cubic-bezier(0.17,0.04,0.03,0.94);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    z-index: 9999
}
/* Активация панели */
.open:checked ~ .top-panel {
    top: -6px;
}
.open:checked ~ label.search2 ~ .glyph-icon-loop {
    top: 150px
}
/* Смещение контейнера контента страницы */
.open:checked ~ .container {
    margin-top: 300px
}
/* Стрелка переключателя вверх*/
.open:checked + label.search2 + .glyph-icon-loop:after {
    transition: all 400ms cubic-bezier(0.17,0.04,0.03,0.94);
}
.search-result-list {
	padding: 15px;
}
.search-result-list-wrap {
    overflow: hidden;
    max-height: 80vh;
    background: #201c1a;
    box-shadow: -3px 8px 17px 4px #201c1a;
    z-index: 1000;
    position: inherit;
    border-radius: 2px;
}
.search-result-list-item.search-result-list-item--all {
	margin: 24px 5px 11px;
}
@media (min-width: 401px) and (max-width: 850px) {
	.search-not-empty {
		margin-right: 3vw;
	}
}
@media (min-width: 601px) and (max-width: 900px) {
	.wrap-search-top-panel .cl-btn-2 {
		right: 20vw!important;
	}
}
.search-input-wrap .search {
    width: 128px;
    height: 44px;
    background: #fff;
    border-radius: 4px;
    transition: all 1s;
    z-index: 4;
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3a3330;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
	font-size: 13pt;
}
.search-input-wrap .search2 {
    width: 70px;
    height: 44px;
    transition: all 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0;
    flex-direction: row;
    flex-wrap: nowrap;
}
.search-result-list-wrap {
    display: block;
}
.search-not-empty .search:hover {
    cursor: pointer;
}
.search-not-empty input {
    width: 100%;
    outline: none;
    border: 1px solid #7e7e7e3d;
    border-radius: 15px;
    background: #fff;
    transition: all 1s;
    letter-spacing: 0.08em;
    margin: 0 15px;
    font-size: 14pt;
    padding: 0 15px;
    background-color: #0000;
    caret-color: #1f1f1f;
    color: #1f1f1f;
}
.search-not-empty input:hover, .textarea:hover {
    border: 1px solid;
    border-radius: 4px;
	border-color: hsl(0deg 0% 100% / 67%);
}
.search-not-empty input:focus {
    border-color: #fff;
}
.wrap-search-top-panel .cl-btn-2 {
    margin: 0 20px;
    max-height: 51px;
}
.wrap-search-top-panel .cl-btn-2 div {
    cursor: pointer;
    position: relative;
    height: 50px;
    width: 50px;
    top: -2px;
}
.search-input-wrap .cl-btn-2 {
    float: none;
    position: inherit;
}
.wrap-search-top-panel .cl-btn-2 .leftright {
    height: 4px;
    width: 50px;
    position: absolute;
    margin-top: 24px;
    background-color: #a2a2a2;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: all .3s ease-in;
}
.wrap-search-top-panel .cl-btn-2 .rightleft {
    height: 4px;
    width: 50px;
    position: absolute;
    margin-top: 24px;
    background-color: #a2a2a2;
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: all .3s ease-in;
}
.wrap-search-top-panel .cl-btn-2 .close-btn {
    margin: 54px 0 0 -5px;
    position: absolute;
    color: #fff;
    left: -7px;
    font-size: 13px;
    text-transform: uppercase;
    transition: all .3s ease-in;
    opacity: 0;
    letter-spacing: 0.18rem;
}
.wrap-search-top-panel .cl-btn-2 div:hover .leftright {
    transform: rotate(-45deg);
}
.wrap-search-top-panel .cl-btn-2 div:hover .rightleft {
    transform: rotate(45deg);
}
.wrap-search-top-panel .cl-btn-2 div:hover .close-btn {
    opacity: 1;
}
.search-result-list-wrap {
	overflow: hidden;
	max-height: 80vh;
	position: absolute;
	width: 100%;
	left: 20vw;
	max-width: 1100px;
}
.search-result-list-item .search-result-list-item-link {
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom: 15px;
}
img.search-result-list-item__img.mCS_img_loaded {
    margin-right: 21px;
}
span.search-result-list-item__title {
    margin-right: 43px;
    color: #fff;
}
@media (max-width: 600px) {
	.search-input-wrap .search2 {
		width: 83px;
		height: 37px;
	}
	.top-panel {
		padding: 5px;
		box-shadow: -1px 8px 5px 2px rgb(0 0 0 / 31%), 0 2px 10px 0 rgb(0 0 0 / 31%);
		width: 100%;
		left: 50%;
		position: absolute;
	}
	.top-panel .search-result-list-wrap {
		display: block;
	}
	.top-panel .search-result {
		display: none;
	}
	.top-panel .search-not-empty .search:hover {
		cursor: pointer;
	}
	.wrap-search-top-panel .cl-btn-2 {
		margin: 13px;
		max-height: 30px;
		position: absolute;
		top: 18px;
		right: 21px;
	}
	.wrap-search-top-panel .cl-btn-2 div {
		height: 30px;
		width: 30px;
	}
	.wrap-search-top-panel .cl-btn-2 .rightleft, .wrap-search-top-panel .cl-btn-2 .leftright {
		width: 30px;
		margin-top: 14px;
		height: 3px;
	}
	.wrap-loop {
		display: none;
	}
	.loop {
		width: 20px;
		height: 20px;
		border: 3px solid #fff;
	}
	.loop::after {
		width: 15px;
		height: 3px;
	}
	.search-not-empty input {
		margin: 0 0px 14px 0px;
		width: 100%;
		height: 50px;
		border: 2px solid #2c338d;
		border-radius: 25px;
	}
	.search-input-wrap .search {
		height: 50px;
		width: 100%;
		border: 2px solid #2c338d;
		border-radius: 25px;
		background-color: #2c338d;
		color: #fff;
	}
	.search-result-list-wrap {
		position: absolute;
		width: 100%;
		left: 0;
		top: 16vh;
	}
	.search-result-list-item {
		margin-bottom: 8px;
		border-bottom: 1px solid #e1e1e1;
		padding-bottom: 7px;
	}
	.search-result-list-item .search-result-list-item-link {
		display: flex;
		align-items: center;
		flex-direction: row;
		flex-wrap: wrap;
	}
	img.search-result-list-item__img.mCS_img_loaded {
		margin-right: 10px;
	}
	span.search-result-list-item__title {
		margin-right: 15px;
		line-height: 1.4;
		margin-bottom: 9px;
	}
	

}