body{
	overflow-x: hidden;
	padding: 15px 15px 95px 15px;
	background: transparent;
    background-attachment:fixed;
    background-image: url(
    "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='250px' height='144px'> \
    <rect x='0' y='0' width='250' height='144' style='stroke:white; fill:white; stroke-opacity: 1; stroke-width: 1px; fill-opacity: 0.1; stroke-dasharray: 10 5; stroke-linecap=round; '/> \
    <text x='147' y='50' style='fill:grey; opacity: 0.25; text-anchor: middle' font-size='14' transform='rotate(30,85,25)'>Quidquid latet apparebit, Nil inultum remanebit</text></svg>");
}

h1, h2{
	background: #595959;
    padding: 7px 5px 7px 25px;
	margin-left: -15px;
	margin-right: -30px;
	color: #fff;
}

h1{
	font-size: 24px;
}

h2{
	font-size: 20px;
}

h3{
	font-size: 20px;
}

div, p{
	font-size: 14px;
}

div{
	margin-bottom: 3px;
}

b{
	font-weight: 400;
}

h1#req-header{
	background: #595959;
}

a:focus{outline: none;}

img{
	-webkit-user-select: none;  /* Safari */
	-khtml-user-select: none;   /* Konqueror HTML */
	-moz-user-select: none;     /* Firefox */
	-ms-user-select: none;      /* Internet Explorer/Edge */
	user-select: none;          /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
	pointer-events: none;
}

/* MENU FOR THE RESULT PAGE */

#tree-view-title, #block-scheme-title{display: none;}

/* Fixed position for the whole unit */
.menu-wrapper {
    position: fixed;
    top: 12px;
    right: 20px;
    font-family: Arial, sans-serif;
    z-index: 1000;
}

/* The Open Box Styling */
.menu-box {
	position: relative;
    width: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
	/* margin-top: 70px; */
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow-y: auto;
}

/* The 'X' Close Icon */
.close-icon {
    /* position: absolute; */
    position: fixed;
    /* top: 5px; */
	border: 3px solid #888;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-top: -12px;
    right: 39px;
    /* margin-right: -10px; */
	float: right;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding-left: 5px;
}
.close-icon:hover { color: #000; }

/* The Burger Circle Styling */
.menu-circle {
    width: 50px;
    height: 50px;
    background: #337ab7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Basic List Styling */
.menu-box ul { list-style: none; padding: 0; margin-top: 15px; margin-left: 15px;}
.menu-box li { margin-bottom: 10px; }
.menu-box a { text-decoration: none; color: #333; padding: 3px;}
.menu-box a:focus { text-decoration: underline!important; outline: none;}
/* END MENU FOR THE RESULT PAGE */

.result-section h1 {
	background: none;
	/* margin-right: 10px; */
	margin-top: 30px;
	border-bottom: 3px solid #595959;
}

.version{
	position: fixed;
    bottom: 15px;
    right: 10px;
    color: #337ab7;
    padding: 5px;
    background: #fff;
    border-radius: 5px;
	img{
		height: 105px;
		border: 1px solid #e8e8e8;
		border-radius: 15px;
	}
}

.site-header{
	height: 75px;
    background: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
	border-bottom: 3px solid #595959;
	/* box-shadow: 3px 3px 5px 1px #000; */
	z-index: 9;
	
	.header-logo-wrap{
		position: absolute;
		/* top: 12px; */
		.header-logo{
			width: 120px;
			height: auto;
		}
	}

	.header-text-wrap{
		.header-text{
			text-align: center;
			color: #0D3F67;
			background: none;
			margin-left: -30px;
			font-weight: bold;
			padding: 0;
		}
	}
}

.tg-logo-wrap{
	position: fixed;
	left: 5px;
	bottom: 5px;
	.tg-logo{
		width: 54px;
		height: auto;
	}
}

@media only screen and (max-width: 625px) {
	.site-header{
		height: 65px;

		
		.header-logo-wrap{
			top: 0px;
            width: 100%;
			text-align: center;
			.header-logo{
				width: 100px;
			}
		}
		
		.header-text-wrap{
			.header-text{
				display: none;
			}
		}
	}
}

/* img{ */
	/* user-drag: none; */
	/* } */


/* Input */

.form-container{
	width: fit-content;
}

.search-form{
	padding: 45px 35px;
    /* background: gainsboro; */
    background: #595959;
    border-radius: 21px;
	/* box-shadow: 3px 3px 5px 1px #000; */
}

/* Result filter */
.search-res-filter-form{
	display: none;
	margin-top: 20px;
}

.search-res-filter-form input, #ShowHideResFilter, #DeselectParam{
	min-width: 21px;
	margin-top: 0;
	height: 16px;
	width: fit-content;
}

.search-res-filter-form label, #ShowHideResFilterLabel, #DeselectParamLabel{
	font-size: 14px;
	float: none;
	vertical-align: bottom
}

#ShowHideResFilterLabel, #DeselectParamLabel{
	margin-bottom: 3px;
}

#search-filter, #DeselectParam, #DeselectParamLabel{
	display: none;
}

#search-res-filter-list{
	display: none;
	position: fixed;
    top: 105px;
    right: 15px;
    border: 3px solid cadetblue;
    padding: 10px 15px 15px;
    height: -webkit-fill-available;
	max-height: 565px;
    background: #e8e8e8;
    border-radius: 10px;
    overflow-y: auto !important;
	z-index: 9;
}

@media only screen and (max-width: 625px) {
	#search-res-filter-list{
		max-height: 450px;
		min-width: 250px;
	}
}

/* -- Result filter end */

.form-container, .form-container-login{
	margin: 15% auto 0 auto;
	max-width: 510px;
}

@media only screen and (max-width: 505px) {
	.form-container, .form-container-login{
		margin: 35% auto 0 auto;
	}
}

.form-container a{
	position: absolute;
    text-decoration: none;
    font-size: 28px;
    margin-left: 3px;
}

.form-container a:hover{
	text-decoration: none;
}

.login-form input{
	/* min-width: 640px; */
    /* width: 60%; */
    /* margin-left: 20%; */
}

.login-form input#Access-Token{
	/* width: 100%; */
}

form p{
	font-size: 20px;
}

input, select{
	min-width: 350px;
	font-size: 20px;
    border: 3px solid #696969;
	border-radius: 5px;
    padding: 5px 15px;
	width: 100%;
    /* width: fit-content; */
}

form .btn{
	font-size: 20px;
    font-weight: bold;
    /* margin-top: -5px; */
}

select span{
	margin-left: -5px;
	color: #e5e5e5;
}



.part-fullname-bday{display: none; margin-top: 15px;}
.fullname-bday{display: none; margin-top: 15px;}
.part-address{display: none; margin-top: 15px;}
.part-address Input{margin-bottom: 8px;}
.plates-vehicle-mask{display: none; margin-top: 15px;}
.part-fullname-bday Input{margin-bottom: 0px;}

.part-fullname-bday div, .fullname-bday div, .part-address div{margin-top: 20px; text-align: center;}

@media only screen and (max-width: 505px) {
	.part-fullname-bday div, .fullname-bday div{text-align: left;}
}

#pdd, #dd, #pmm, #mm{min-width: 9px; max-width: 75px;}
#pyyyy, #yyyy{min-width: 9px; max-width: 95px;}
#pdd, #dd, #pmm, #mm{margin-right: 15px;}
#fullname{width: 100%;}



div.tooltip{
    word-wrap: break-word;
}

#parameters{
	padding: 8px 9px;
	margin-bottom: 20px;
	/* max-width: 350px; */
	width: 100%;
	border: 2px solid #fff;
	background: #595959;
	color: #fff;
}

.btn{
	margin-top: 15px!important;
	width: 100%;
}



.in-proceed{
	text-align: center;
	/* display: none; */
}


.btn-login, .btn-search, .btn-back{
	border-radius: 21px;
	border: 3px solid #337ab7;
	background: #fff;
	color: #337ab7;
}

.btn-back{
	border-radius: 50%;
}

.btn-login{
	border: 3px solid #337ab7;
	background: #337ab7;
	color: #fff;
}

.btn-search{
	width: 100%;
	margin-top: 20px;
	opacity: 1!important;
	
}

.btn-back{
	/* position: fixed; */
    top: 0px;
    /* top: 65px; */
	float: left; /* tmp */
    left: 5px;
    margin: 15px 0 35px 15px;
    width: auto;
}

.back-btn-container{
	position: fixed;
	background: #fff;
	width: 100%; 
	top: 0; 
	left: 0; 
	right: 0; 
	height: 79px; 
	text-align: center; 
	/* border-bottom: 2px solid #595959; */
	background-attachment:fixed;
    background-image: url(
    "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='250px' height='144px'> \
    <rect x='0' y='0' width='250' height='144' style='stroke:white; fill:white; stroke-opacity: 1; stroke-width: 1px; fill-opacity: 0.1; stroke-dasharray: 10 5; stroke-linecap=round; '/> \
    <text x='147' y='50' style='fill:grey; opacity: 0.25; text-anchor: middle' font-size='14' transform='rotate(30,85,25)'>Quidquid latet apparebit, Nil inultum remanebit</text></svg>");
	z-index: 999;
}

.btn-excel{
    top: 0;
	float: right; /* tmp */
    /* right: 5px; */
    width: auto;
	background: #008631;
	color: #fff;
}

.excel-btn-container{
	display: none;
	/* position: absolute; */
	/* position: fixed; */
	width: auto;
	right: 50px;	
	text-align: center; 
	z-index: 1001;
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
	border: 1px solid #fff;
    font-size: 25px;
    background-color: #595959;
    color: white;
	width: 45px;
	height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
  }

#scrollTopBtn:hover {
background-color: #555;
}

@media only screen and (max-width: 1488px) {
	input{
		margin-bottom: 5px;
	}
}

@media only screen and (max-width: 768px) {
	.btn{
		margin-top: 15px!important;
	}
	
	.login-form input{
		width: 90%;
        margin: auto 5%;
	}
	.login-form input#Access-Token{
		/* width: 100%; */
	}
}

@media only screen and (max-width: 505px) {
	input{}
	#pdd, #dd, #pmm, #mm, #pyyyy, #yyyy,#pdd, #dd, #pmm, #mm{
		display: inline-block;
	}
	label{
		float: left;
		margin-top: 10px;
		margin-right: 5px;
		min-width: 60px;
	}
	
	.part-fullname-bday label{
		display: none;
	}
}


/* Results */


#error-state{
	position: absolute;
	margin-bottom: 15px;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	border: 2px solid #ff0000;
	border-radius: 5px;
	display: none;
	text-align: center;
	background: #ED4337;
    width: 54%;
	/* border: 3px dashed #000; */
	padding: 15px 5px;
    left: 23%;
    top: 35%;
}

#tree-view-error{
	display: none;
	margin: 15px auto;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	border: 2px solid #ff0000;
	border-radius: 5px;
	padding: 15px;
	display: none;
	text-align: center;
	background: #ED4337;
	padding: 15px 5px;

}

.form-container-login #error-state{
	bottom: 100px;
    top: auto;
}

.result-section{
	margin-top: 65px;
	/* margin-top: 120px; */
}

h1.show-block-scheme-result::after, h1.show-tuples-result::after, h1.show-tree-view-result::after{
	position: absolute;
	content: '\23F6';
	background: #595959;
	border-radius: 5px;
    color: #fff;
    right: 49%;
    margin-top: -5px;
    /* margin-top: 10px; */
    /* padding: 5px; */
	width: 75px;
	text-align: center;
}

h1.hide-block-scheme-result::after, h1.hide-tuples-result::after, h1.hide-tree-view-result::after{
    position: absolute;
	content: '\23F7';
	background: #595959;
	border-radius: 5px;
    color: #fff;
    right: 49%;
    margin-top: -5px;
    /* padding: 5px; */
	width: 75px;
	text-align: center;
}

.tree-view-result{
	margin: 25px 0 45px 0;
}

div.sep{
	width: 50%; 
	margin-top: 5px; 
	/* margin-bottom: 25px;  */
	border-bottom: 1px solid #eee;
}

.tree-view-result .data-wrap{
	/* margin-top: 12px;  */
	margin-top: 0; 
	margin-left: 35px; 
	padding-bottom: 0;
}

.data-title{
	cursor: pointer;
    /* margin-left: -1px; */
    margin-top: 12px; 
    margin-bottom: 0;
}

.tree-view-result .data-title{
	cursor: pointer;
    /* margin-left: -1px; */
    margin-top: 0; 
    margin-bottom: 0;
}

/* .name span, .names span, */
/* .passport span, .pasps span */
/* .phone span, .phones span, */
/* {display: none;} */

.snils span, .snilss span, .inn span, .inns span,
.work span, .works span, .org span, .orgs span,
.ogrnip span, .ogrnips span, .passport span, .pasps span,
.for-pasp span, .forpasps span{font-weight: 400; color: #3A4597;}
.plate b, .plates b {text-transform: lowercase;}

.name b::after,
.names b::after,
.email b::after,
.emails b::after,
.phone b::after,
.phones b::after,
.snils b::after,
.snilss b::after,
.inn b::after,
.inns b::after,
.passport b::after,
.pasps b::after,
.for-pasp b::after,
.forpasps b::after,
.web-link b::after,
.weblinks b::after,
.org b::after,
.orgs b::after,
.tg-id b::after,
.tgids b::after,
.plate b::after,
.plates b::after{
	position: absolute;
    content: '';
	background-image: url('../img/copy.png?v=1');
	width: 10px;
    height: 10px;
	opacity: 0.3;
    background-position: bottom;
    background-size: auto 100%;
    background-repeat: no-repeat;
}

.email b, .emails b{color: #3A4597;}

.pbnames span div{color: #D93F31;}

img.add_icon{
	height: 13px;
	margin-bottom: 4px;
	margin-left: 5px;
	opacity: 0.5;
}

.show-linked::after{
	content: '\23F6';
	color: #3A4597;
	margin-left: 9px;
}

.show-linked::before{
	position: absolute;
    content: '\21AA';
    /* color: #989898; */
	color: #337ab7;
	font-size:  24px;
    margin-top:35px;
    margin-left: -20px;
    /* padding: 5px; */
    /* width: 75px; */
}

@media only screen and (max-width: 505px) {
	.show-linked::before{content: '';}
}


.hide-linked::after{
	content: '\23F7';
	color: #D93F31;
	margin-left: 9px;
}


.lvl{
	background: #fff;
	font-size: 14px;
	border-radius: 5px;
    padding: 5px 15px;
    width: fit-content;
	border: 1px solid #989898;
}

.tree-view-result .lvl{
	border: none;
}

.lvl-0, .tree-view-result .lvl-0{
	/* font-size: 16px; */
	/* background: #e0e0e0; */
	border: 2px solid #989898;
	/* font-weight: bold; */
}

.tree-view-result .lvl-0{
	margin-bottom: 12px;
}


@media only screen and (max-width: 505px) {
	.lvl-1, .lvl-2, .lvl-3, .lvl-4, .lvl-5, .lvl-6, .lvl-7{font-size: 14px;}
}

.tree-view-result .lvl-1,
.tree-view-result .lvl-2,
.tree-view-result .lvl-3,
.tree-view-result .lvl-4,
.tree-view-result .lvl-5,
.tree-view-result .lvl-6б
.tree-view-result .lvl-7{
	border-left: 2px solid #e8e8e8;
	border-radius: 0;
}

.tree-view-result div{
	margin-bottom: 0;
}

.lvl-3 img, .lvl-4 img, .lvl-5 img{
	/* height: 20px; */
}

 .name-group{
	margin-bottom: 15px;
    padding: 15px 0;
}

.tuples-result{
	margin-bottom: 15px;
    /* padding: 0 0 35px 0; */
}

/* .tuples-result .leak{ */
	/* margin-top: 25px; */
    /* border: 1px solid #000; */
    /* background: #fff; */
    /* border-left: 5px solid #000; */
    /* border-radius: 0 5px 0 0; */
/* } */

.tuples-result .leak{
	margin-top: 35px;
	background: #fff;
    /* font-size: 14px; */
    border-radius: 5px;
    padding: 5px 15px;
    width: fit-content;
    border: 2px solid #989898;
}

.tuples-result .lvl{
	/* border-radius: 0; */
}


.tuples-result .lvl-1, .regex-result .lvl-1{
	border-radius: 0;
	background: #fff;
	border: none;
	border-left: 2px solid #e8e8e8;
	margin-left: 35px;
	margin-bottom: 10px;
}

.tuples-result .lvl-1:last-child{
	/* background: #fff; */
	/* border: none; */
	/* border-left: 2px solid #e8e8e8; */
	margin-bottom: inherit;
}

/* #regex-result{display: none;} */
#tuples-result{display: none;}
#block-scheme-result{display: none;}
#tree-view-result{display: none;}

.block-scheme-result{
	/* display: none; */
}

.block-scheme-result .name-group{
	/* border-bottom: 1px solid #989898; */
}

.block-scheme-result .name-group:last-child{
	border-bottom: 0px solid #989898;
}

/* .name-group:not(:first-child):not(:last-child) {{ */
	/* border-bottom: 1px solid #989898; */
/* } */

.name-group div{
	/* font-size: 16px; */
}

.parent-data{
	margin-bottom: 15px;
	border: 2px solid #989898;
}

.parent-data::after{
	content: '\23F7';
    position: absolute;
    color: #989898;
    /* margin-right: 5px; */
    font-weight: bold;
    left: 45px;
    padding-top: 27px;
}

.name-lvl{
	background: #fff;
	/* border-radius: 5px; */
    padding: 5px 15px;
    width: fit-content;
	border-left: 2px solid #e8e8e8;
	margin-left: 35px;
}

.tuples-result div span img{
	margin-bottom: 5px;
}

/* .conn-data-wrap{margin: 0 0 15px 15px;} */