html, body {
	font-family: Roboto;
	font-size: 14px;
	margin: 0;
	padding: 0;
}

h4 {
    margin-block-end: .4em;
    margin-block-start: 0;
}

*:not(textarea) {
	transition: .1s;
}

.container {
    display: block;
    padding: 1em;
    margin: 0 auto;
    width: 100%;
    max-width: 1900px;
    box-sizing: border-box;
	position: relative;
}

table.tabd {
    max-width: 100%;
    display: block;
    overflow-x: scroll;
}

/* хром, сафари */
table.tabd::-webkit-scrollbar { width: 0; }

/* ie 10+ */
table.tabd { -ms-overflow-style: none; }

/* фф (свойство больше не работает, других способов тоже нет)*/
table.tabd { overflow: -moz-scrollbars-none; }

.container.tabcent {
    display: flex;
    justify-content: center;
}

textarea {
    width: 15em;
    height: 4em;
    border: none;
}

td:has([inputmode="tel"]) > * {
    display: inline-block;
}

input[inputmode="tel"] {
    width: 5em;
}

tr td {
    padding: .5em 1em;
    border: 1px white solid;
}

tr:nth-child(odd) td {
	background: #f6f6f6;
}

tr:first-child td {
    background: #055dfd;
    border: 1px white solid;
	color: white;
}

tr:first-child td:first-child {
    border-radius: .5em 0 0 0;
}

tr:first-child td:last-child {
    border-radius: 0 .5em 0 0;
}

tr:last-child td:last-child {
    border-radius: 0 0 .5em 0;
}

tr:last-child td:first-child {
    border-radius: 0 0 0 .5em;
}

a.butt {
    padding: .3em 1em;
    background: gray;
    border-radius: .5em;
    color: white;
    margin-top: .2em;
    display: inline-block;
    text-decoration: none;
}

input:focus, select:focus, textarea:focus {
	outline: 1px #0079ff57 solid; 
}

.authBox {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #9898985e;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

form.auth {
    width: 95vw;
    max-width: 400px;
    background: white;
    padding: 1em;
    box-sizing: border-box;
}

form.auth input {
    border: 1px #c7c7c7 solid;
    width: 100%;
    margin-bottom: 1em;
    padding: .5em;
    box-sizing: border-box;
}

.container.admin {
    max-width: 100%;
    justify-content: space-between;
    display: flex;
}

.admin-bar {
    width: 100%;
    max-width: min(340px, 40vw);
}

.container.admin>*, .admin-bar  {
    background: #f8f8f8;
    width: 100%;
    margin: 0 1em;
    min-height: 90vh;
    box-sizing: border-box;
    padding: 1em 1.5em;
}

a.bts {
    display: block;
    margin-bottom: 1em;
    background: #e6e6e6;
    padding: .5em 2em;
    color: black;
    text-decoration: none;
	max-width: 250px;
}

a.bts.act {
    background: gray;
    color: white;
}

.nfts {
    background: white;
    display: block;
    padding: 1em;
	position: relative;
}

.nfts select, .nfts input {
    border: 1px gray solid;
}

form.feelds {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.feeldsets {
    display: flex;
    flex-direction: column;
    gap: .5em;
    margin-top: .5em;
}

.feelds {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

a.dellCross {
    display: inline-block;
    position: absolute;
    top: 1em;
    right: 1em;
    text-decoration: none;
    background: red;
    color: white;
    padding: .3em .5em;
    font-weight: bold;
	z-index: 1;
}

.ad-menu {
    position: sticky;
    top: 1em;
}

details {
    background: white;
    margin-bottom: 1em;
    padding: 1em 2em;
    padding-bottom: 0;
    box-sizing: border-box;
}

summary {
    width: 100%;
    margin-left: -2em;
    margin-top: -1em;
    padding: 1em 2em;
    background: #e4e4e4;
	cursor: pointer;
}

details form {
    padding: 1em 0;
    display: flex;
    flex-direction: column;
    gap: .5em;
}

details form>* {
    padding: .5em 1em;
    background: #e6e6e6;
}

table.tabd tr:hover td.icl,
table.tabd tr:has(td.icl:hover) td,
table.tabd:has(td.tabhead:nth-child(1):hover) td:nth-child(1),
table.tabd:has(td.tabhead:nth-child(2):hover) td:nth-child(2),
table.tabd:has(td.tabhead:nth-child(3):hover) td:nth-child(3),
table.tabd:has(td.tabhead:nth-child(4):hover) td:nth-child(4),
table.tabd:has(td.tabhead:nth-child(5):hover) td:nth-child(5),
table.tabd:has(td.tabhead:nth-child(6):hover) td:nth-child(6),
table.tabd:has(td.tabhead:nth-child(7):hover) td:nth-child(7),
table.tabd:has(td.tabhead:nth-child(8):hover) td:nth-child(8),
table.tabd:has(td.tabhead:nth-child(9):hover) td:nth-child(9),
table.tabd:has(td.tabhead:nth-child(10):hover) td:nth-child(10),
table.tabd:has(td.tabhead:nth-child(11):hover) td:nth-child(11),
table.tabd:has(td.tabhead:nth-child(12):hover) td:nth-child(12),
table.tabd:has(td.tabhead:nth-child(13):hover) td:nth-child(13),
table.tabd:has(td.tabhead:nth-child(14):hover) td:nth-child(14),
table.tabd:has(td.tabhead:nth-child(15):hover) td:nth-child(15),
table.tabd:has(td.tabhead:nth-child(16):hover) td:nth-child(16),
table.tabd:has(td.tabhead:nth-child(17):hover) td:nth-child(17),
table.tabd:has(td.tabhead:nth-child(18):hover) td:nth-child(18),
table.tabd:has(td.tabhead:nth-child(19):hover) td:nth-child(19),
table.tabd:has(td.tabhead:nth-child(20):hover) td:nth-child(20)
{
	background: gray;
	color: white;
}

table.tabd tr:not(:first-child) td:not(.icl):hover {
	border-color: gray;
}

table.tabd:has(td:not(.icl):nth-child(1):hover) tr:first-child td:nth-child(1),
table.tabd:has(td:not(.icl):nth-child(2):hover) tr:first-child td:nth-child(2),
table.tabd:has(td:not(.icl):nth-child(3):hover) tr:first-child td:nth-child(3),
table.tabd:has(td:not(.icl):nth-child(4):hover) tr:first-child td:nth-child(4),
table.tabd:has(td:not(.icl):nth-child(5):hover) tr:first-child td:nth-child(5),
table.tabd:has(td:not(.icl):nth-child(6):hover) tr:first-child td:nth-child(6),
table.tabd:has(td:not(.icl):nth-child(7):hover) tr:first-child td:nth-child(7),
table.tabd:has(td:not(.icl):nth-child(8):hover) tr:first-child td:nth-child(8),
table.tabd:has(td:not(.icl):nth-child(9):hover) tr:first-child td:nth-child(9),
table.tabd:has(td:not(.icl):nth-child(10):hover) tr:first-child td:nth-child(10),
table.tabd:has(td:not(.icl):nth-child(11):hover) tr:first-child td:nth-child(11),
table.tabd:has(td:not(.icl):nth-child(12):hover) tr:first-child td:nth-child(12),
table.tabd:has(td:not(.icl):nth-child(13):hover) tr:first-child td:nth-child(13),
table.tabd:has(td:not(.icl):nth-child(14):hover) tr:first-child td:nth-child(14),
table.tabd:has(td:not(.icl):nth-child(15):hover) tr:first-child td:nth-child(15),
table.tabd:has(td:not(.icl):nth-child(16):hover) tr:first-child td:nth-child(16),
table.tabd:has(td:not(.icl):nth-child(17):hover) tr:first-child td:nth-child(17),
table.tabd:has(td:not(.icl):nth-child(18):hover) tr:first-child td:nth-child(18),
table.tabd:has(td:not(.icl):nth-child(19):hover) tr:first-child td:nth-child(19),
table.tabd:has(td:not(.icl):nth-child(20):hover) tr:first-child td:nth-child(20)
{
	background: gray;
}

.pamsh {
	color: currentColor;
	margin-top: .3em;
	display: inline-block;
}

input.readonly {
    border: none !important;
    background: none !important;
    outline: none !important;
    color: currentColor;
}

td.icl {
    text-align: center;
}

.loading {
    position: relative;
}

.loading:before {
    z-index: 10;
    width: 100%;
    height: 100%;
    content: '';
    background: #dfdfdfba;
    backdrop-filter: blur(4px);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.loading:after {
    height: min(3vw, 40%);
	aspect-ratio: 1/1;
    z-index: 12;
    position: absolute;
    content: '';
    background: #00000000;
    border-radius: 100%;
    border: .5vw #ffffffbf solid;
    border-bottom: .5vw #00000000 solid;
    border-top: .5vw #00000000 solid;
    left: 50%;
    top: min(50%, 50vh);
    transform: translate(-50%, -50%) rotate(0deg);
	animation: rotate 1s linear infinite;
}

@keyframes rotate {from {transform: translate(-50%, -50%) rotate(0deg);}to {transform: translate(-50%, -50%) rotate(360deg);}}

input.file-drop {
    background: white;
    padding: 1em 2em;
    border: 3px gray dotted;
}

input.file-drop_dragover {
	border-color: #333;
}

.fifi img {
    height: 1.3em;
}

.fifi {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.efil .fifi {
	display: none;
}

.efil.lodt .fifi {
	display: inline-flex;
}

.efil.lodt label {
	display: none;
}

.fifi a.dellCross {
    position: relative;
    transform: scale(.5) rotate(45deg);
    top: auto;
    right: auto;
    margin-left: .1em;
}

.fifi a {
    margin-top: 0 !important;
    margin-left: .3em;
}

a.editor {
    text-decoration: none;
    color: white;
    background: gray;
    padding: .2em .3em;
    border-radius: .2em;
}

.flexable {
    display: flex;
    gap: 3em;
    flex-wrap: wrap;
}

span.dob {
    cursor: pointer;
    background: gray;
    font-weight: bold;
    color: white;
    width: 1.2em;
    height: 1.2em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

form.nfts .flexable {
    margin: 1em 0;
    gap: 1em;
}

a.dellCross {
    border-radius: 100%;
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    box-sizing: border-box;
    color: red;
    transform: rotate(45deg);
}

a.dellCross:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '+';
    color: white;
    padding: 0;
    font-size: 1.5em;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
a.savior {
    display: inline-block;
    width: 14em;
    background: gray;
    text-decoration: none;
    color: white;
    text-align: center;
    padding: .5em;
}

.userp {
    background: white;
    padding: 1em 2em;
    width: 100%;
    max-width: 300px;
}

.userp p span {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.userp a.bts.madd {
    margin-top: 1em;
    text-align: center;
    background: gray;
    color: white;
}

details [name="name"] {
    min-width: 60%;
}

a.menu_btn {
    width: 3em;
    height: 3em;
    background: #636363;
    position: absolute;
    border-radius: 0 .4em .4em 0;
    top: 0;
    right: 0;
    transform: translate(100%, 0px);
    display: flex;
    justify-content: center;
    align-items: center;
}

a.menu_btn i, a.menu_btn:before, a.menu_btn:after {
	content: '';
    display: block;
    width: 66%;
    height: .3em;
    background: white;
    border-radius: 1000px;
    position: absolute;
	transition: .3s;
}

a.menu_btn:before {
    transform: translate(0px, 170%);
}

a.menu_btn:after {
	transform: translate(0px, -170%);
}

@media screen and (min-width: 1000px) {
	.menu {
		display: contents;
	}

	.mob_menu {
		position: fixed;
		background: #636363;
		top: 0;
		left: 0;
		padding: 1em 2em;
		color: white;
	}

	.mob_menu {
		transform: translate(-100%, 10px);
		transition: .3s;
	}
	
	.opnd .mob_menu {
		transform: translate(0%, 10px);
	}
}

@media screen and (max-width: 999px) {
	.menu {
		position: fixed;
		max-width: 80vw;
		top: 0;
		right: 0;
		box-shadow: 1px 1px 38px 1px #10101059;
		max-height: 100vh;
		transition: .3s;
		transform: translate(100%, 0px);
		margin: 0!important;
	}
	
    a.menu_btn {
        position: absolute;
        bottom: 1em;
        top: auto;
        left: 0;
        border-radius: .4em 0 0 .4em;
        transform: translate(-100%, 0px);
        width: 3.5em;
        height: 3.5em;
    }
	
	body {
		background: #f8f8f8;
	}
	
	.admin-table {
		padding: 0 !important;
	}
	
	.menu.opnd {
		transform: translate(0%, 0px);
	}
	.admin-table {
		margin: 0 !important;
	}
	.container.admin {
		padding: 0;
	}
	.container.base.load {
		padding: 0;
	}
	
	.mob_menu, .admin-bar, .ad-menu {
		display: contents;
	}
	
	.menu {
		display: flex;
		flex-direction: column;
		gap: 1em;
		padding-bottom: 5em !important;
		z-index: 30;
	}
	
	.menu a:not(.menu_btn, .exit), .menu input {
		background: #e2e2e2;
		padding: 1em 2em;
		border-radius: .3em;
		border: none;
		outline: none !important;
		max-width: 100%;
	}
	
	.menu_box a.exit {
		position: absolute;
		bottom: 1em;
		width: 3em;
		height: 3em;
		filter: invert(1);
		right: 1em;
	}
	
	.admin-bar a.bts {
    margin-bottom: 0;
}
	
	[onclick="window.download()"] {
		margin-bottom: 1em;
		position: absolute;
        bottom: 0;
        left: 1em;
	}
	
	.flexable {
		gap: 1em;
	}
	
	form input, form select {
		margin-bottom: .5em;
		padding: .3em;
	}
	
	a.bts.tock.act {
		background: gray;
	}
	
	.overflow {
		align-items: flex-end!important;
	}
	.map {
		min-height: 60vh;
		transition: .3s;
		transition-delay: .3s;
		transform: translate(0, 100%);
	}
	
	.overflow.act .map {
		transform: translate(0%, 0);
	}
}

.opnd a.menu_btn i {
    width: 0;
}

.opnd a.menu_btn:before {
    transform: translate(0px, 0%) rotate(45deg);
}
.opnd a.menu_btn:after {
    transform: translate(0px, 0%) rotate(-45deg);
}

.menu_box a {
    text-decoration: none;
    color: black;
    background: white;
    padding: .5em 1em;
    border-radius: .3em;
}

.menu_box {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.menu_box a.exit {
    display: inline-block;
    width: 2em;
    height: 2em;
    box-sizing: border-box;
    background-image: url(/assets/img/61208.png);
    background-size: 63%;
    background-repeat: no-repeat;
    background-position: center;
}



.overflow {
    position: fixed;
    top: 0;
    right: 0;
    z-index: -10;
	opacity: 0;
    background: #dbdbdb66;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
	transition: .3s;
}

.overflow.act {
    z-index: 20;
	opacity: 1;
}

.map {
    background: white;
    width: 100%;
    max-width: 600px;
    position: relative;
    aspect-ratio: 1.5;
}

a.map_cross {
    width: 3em;
    height: 3em;
    position: absolute;
    top: 0;
    right: 0;
    background: white;
	text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(0px, -100%);
    border-radius: .5em .5em 0 0;
}

a.map_cross span {
    font-size: 1.5em;
    font-weight: bold;
    transform: rotate(45deg);
    color: black;
}

.map_box {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
}

.finded td {
    background: green !important;
    color: white !important;
}

span.errorbar {
    width: 95vw;
    max-width: 400px;
	padding: 0;
	background: white;
    color: black;
	z-index: -1;
    transform: translate(0px, 100%);
	transition: .3s;
}

span.errorbar:not(:empty) {
    padding: 1em;
    box-sizing: border-box;
    background: red;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: .5em .5em 0 0;
    transform: translate(0px, 0%);
}