.ui-autocomplete {
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
	outline: none;
	position: absolute;
	top: 0;
	left: 0;
	cursor: default;
	z-index: 100;
	overflow-y: auto;
	overflow-x: hidden;
	color: white;
	max-height: 100px;
	border: 1px solid #aaaaaa;
	background: #ffffff;
}
.ui-autocomplete .ui-menu-item {  
	position: relative;
	margin: 0;
	padding: 3px 5px 3px 5px;
	cursor: pointer;
	min-height: 0;
	border-radius: 20px;
	transition: all ease 0.3s;
}
.ui-helper-hidden-accessible { 
	display: none;
}

.ui-autocomplete .ui-menu-item:hover {
	background: rgb(255 255 255 / 10%);
    border-radius: 20px;
    transition: all ease 0.3s;
}

.uirezult { 
	margin-top: 47px;
	width: 100%;
}
.uirezultshapka_tr {
	overflow: hidden;
}
.uirezultshapka_td25 {
	float: left;
	width: 24%;
	padding: 8px 0px 8px 1%;
	background: #1c4482;
	color: #fff!important;
}
.uirezultbd .ui-autocomplete {
	position: static!important;
	cursor: default;
	overflow-y: inherit!important;
	overflow-x: hidden!important;
	max-height: none!important;
	border: 0px solid #aaaaaa;
	background: none;
	display: block!important;
	width: 100% !important;
}
.uirezultbd {
	overflow: hidden;
}
.uirezultbd .ui-autocomplete li {padding: 0px;}

.uirezultbd .ui-autocomplete li .uirezultbd_tr:before {
	content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 6;
    background: var(--tg-theme-button-color);
    opacity: 0.15;
    border-radius: 20px;
}

.uirezultbd .ui-autocomplete li .uirezultbd_tr {
	overflow: hidden;
    border-radius: 20px;
    margin: 12px 0px;
    display: flex;
    align-items: center;
	padding: 10px 0px;
	min-height: 200px;
	transition: all ease 0.3s;
}

.uirezultbd .ui-autocomplete li:first-child .uirezultbd_tr {border-top: 0px solid #eee;}
.uirezultbd .ui-autocomplete li .uirezultbd_td25 {float: left;width: 24%;padding: 5px 0px 5px 1%;font-size: 14px!important;}

body {
    color: var(--tg-theme-text-color);
    background: var(--tg-theme-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
}

.button {
    background: var(--tg-theme-button-color);
    color: var(--tg-theme-button-text-color);
    border: none;
    font-size: 18px;
	line-height: 17px;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	border-radius: 22px;
	overflow: hidden;
	display: inline-block;
	padding: 13px 24px;
	height: 42px;
	text-transform: uppercase;
	vertical-align: top;
}

.button:not(:last-child) {margin-bottom: 20px}

#usercard {text-align: center;}

.searchheader {
    display: flex;
    position: fixed;
    z-index: 99;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 20px;
    height: 50px;
    width: 100%;
}

.searchpane {
    display: flex;
    background: rgb(0 0 0 / 30%);
    backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 35px;
    align-items: center;
    width: 100%;
	margin: 8px;
}

.searchpane:before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--tg-theme-button-color);
    opacity: 0.5;
    border-radius: 35px;
}

input::placeholder {color: rgb(255 255 255 / 60%);}
input:focus-visible {outline: none;}
select:focus-visible {outline: none;}

.searchbar {
	width: 100%;
	margin-left: 5px;
    margin-right: 5px;
	z-index: 9;
}

.search {
	color: white;
	background: transparent;
    border: none;
    font-size: 16px;
	width: 100%;
}

.category {
	z-index: 9;
}

.catbutton { 
	background: var(--tg-theme-button-color);
    padding: 5px;
    border: none;
    border-radius: 20px;
    color: var(--tg-theme-button-text-color);
    transition: all ease 0.3s;
}

.catbutton:hover { 
	background: var(--tg-theme-link-color);
    transition: all ease 0.3s;
	cursor: pointer;
}

.boxart {
	margin-left: 20px;
	margin-right: 20px;
	position: relative;
	display: grid;
}

.boxart:after {
	content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 7px;
    background: linear-gradient(38deg, rgb(157 157 157 / 24%) 0%, rgb(255 255 255 / 0%) 33%, rgb(255 255 255 / 23%) 100%);
    box-shadow: 0 0px 2px 1px rgb(0 0 0 / 50%);
	z-index: 9;
}

.boxinfo {
    margin-left: -10px;
    margin-right: 10px;
	min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	z-index: 6;
}

.boxheader {
	display: flex;
    position: relative;
	z-index: 8;
	/*box-shadow: 0px -1px 5px 4px rgb(44 108 173 / 30%);
    border-radius: 5px;*/
}

.boximg {
	display: flex;
	z-index: 8;
}

.boximglight {
	display: flex;
    position: absolute;
    z-index: 6;
    top: 16px;
    filter: saturate(2.0) blur(60px);
}

.boxheader img {border-radius: 7px 7px 0px 0px;}
.boximg img {border-radius: 0px 0px 7px 7px;}
.boximglight img {border-radius: 0px 0px 7px 7px;}

.linkdiv {
	position: relative;
    width: 100%;
    height: 100%;
    z-index: 12;
    border-radius: 20px;
}

.hint {
    color: var(--tg-theme-text-color);
	font-family: sans-serif;
	font-size: 14px;
	margin: 8px;
}

.hintinfo {
	opacity: 0.7;
}

.title {
	
}

.title p {
	font-size: 20px;
	color: var(--tg-theme-text-color);
}

.link{
	color: var(--tg-theme-link-color);
}

.notfound {
	display: flex;
    justify-content: center;
	margin-top: 10px;
}

.notfound p {
	font-family: sans-serif;
	color: var(--tg-theme-text-color);
}

.backgroundimg {
	position: fixed;
    bottom: -80px;
    opacity: 0.2;
    filter: saturate(0.3);
}

.backgroundimg img {
	width: 120%;
}

.recentspane {
	position: relative;
	top: 100px;
}
.ui-menu-item:has(.recentspane) {
	display: none;
}

/*work.php, propably mainline UI wramework candidate*/

.workbody {margin:10px}

.contentpane:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 6;
    background: var(--tg-theme-button-color);
    opacity: 0.15;
    border-radius: 20px;
}

.contentpane {
	overflow: hidden;
    border-radius: 20px;
    margin: 5px 0px;
    display: flex;
    position: relative;
    align-items: center;
    padding: 10px;
    transition: all ease 0.3s;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
}

.contentinfo p {
	font-family: sans-serif;
	color: var(--tg-theme-text-color);
}

.contentinfo {
    
}


/*body {
	--tg-color-scheme: dark;
    --tg-theme-bg-color: #17212b;
    --tg-theme-button-color: #5289c1;
    --tg-theme-button-text-color: #ffffff;
    --tg-theme-hint-color: #708599;
    --tg-theme-link-color: #6ab3f3;
    --tg-theme-secondary-bg-color: #232e3c;
    --tg-theme-text-color: #f5f5f5;
}