/**/
.maingroup {
	position: absolute;
	width: 980px;
	height: 570px;
	overflow: scroll;	
}

.maindiv {
	position: relative;
	width: 980px;
	height: 570px;
	overflow: scroll;
}

#mainform1 {
	display: none
}
/**/
.personform {
	display: none
}

#personform2 {
	display: none
}

/*
#formdiv {
	display: none
}
*/

a.ecolink:visited {
	text-decoration: none;	
	color: black;
}

a.ecolink:hover {
	text-decoration: underline;
}


#addNewTreePersonForm{
	background-color: aliceblue;
	width: 200px;
	height: 100%;
	padding: 0px 0px 0px 0px;
	border-radius: 0px;
	position: fixed;
	/*position: absolute;*/
	bottom: 0; /* Положение от нижнего края */
	 right: 0; 
	/*left: 0;*/
	z-index: 1000;
	margin: 0px;
	display: none;
	border: 1px solid cadetblue;
}

#addNewTreePersonForm>*{
	width: 100%;
	/*margin-bottom: 6px;*/
	margin: 3px 0px;
}

#addChildWomanForm>*{
	width: 100%;
	margin-bottom: 6px;
}

#addPersonForm_X{
	background-color: aliceblue;
	width: 170px;
	padding: 0px 5px 0px 5px;
	border-radius: 0px;
	position: fixed;
	/*position: absolute;*/
	top: 1px;
	/*bottom: 0;  Положение от нижнего края */
	 right: 0; 
	/*left: 0;*/
	z-index: 1000;
	margin: 0px;
	display: none;
	border: 1px solid cadetblue;
}

#addPersonForm>*{
	width: 100%;
	margin-bottom: 6px;
}

/*
#addSpouseForm{
	background-color: aliceblue;
	width: 170px;
	padding: 0px 5px 0px 5px;
	border-radius: 0px;
	position: fixed;
	top: 1px;
	 right: 0; 
	z-index: 1000;
	margin: 0px;
	display: none;
	border: 1px solid cadetblue;
}
*/
#addSpouseForm>*{
	width: 100%;
	margin-bottom: 6px;
}

/*
#addParentsForm1>*{
	width: 100%;
	margin-bottom: 6px;
}
*/
#addParents1{
	width: 200px;
}
#addParents2{
	width: 200px;
}
#wrapperParents {
  display: flex;
}
#addParents1{
  float: left;
  width: 65%;
  overflow: hidden;
}
 
#addParents2 {
  overflow: hidden;
}

#modal_delPerson{
	display: none;
}

#modal_delPerson2{
	display: none;
}
#modal_delPerson2{
  padding: 50px;
  background: #ccc;
  position: fixed; top: 50%; left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1000;
}

#modal_delPerson3{
	display: none;
}
#modal_delPerson3{
  padding: 50px;
  background: #ccc;
  position: fixed; top: 50%; left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1000;
}

#modal_delSpouse{
	display: none;
}

#modal_delSpouse{
  padding: 50px;
  background: #ccc;
  position: fixed; top: 50%; left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1000;
}

#choicePerson{
	display: none;
	z-index: 2000;
}

#choicePerson1{
	display: none;
	z-index: 1900;
}

#choicePerson2{
	display: none;
	z-index: 2000;
}

#choicePerson5{
	display: none;
	z-index: 2000;
}
#choicePersonTie1{
	display: none;
	z-index: 2000;
}
#searchform_close{
	background-color: aliceblue;
	border-radius: 0px;
	border: 2px solid cadetblue;
	/*background-image: url(/img/searchform_open.png);*/
	background: url(/tree/img/searchform_close.png) no-repeat;
	background-size: 100% 100%;
    position: absolute; 
	top: 40%; 
	left: 200px;
	height:44px; 
	width:14px;
	/*
	position: fixed;
	display: flex;
	align-items: center;
	display:inline;
	*/
	display:none;
	z-index: 500;
	padding: 0px 0px 0px 0px;
	cursor: pointer;
}
	
#face{
	width: 100px;
	height: 100px;
}

#IdSelPersonSel{
	width: 100%
}

#search{
	width: 130px
}

#searchid{
	width: 130px
}

#choice{
	width: 150px
}

#menuAdd{
	display:none;
}

.input-wrapper{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.input-wrapper>input{
  text-align: center;
}



#beginId{
	background-color: aliceblue;
	border-radius: 10px;
	border: 2px solid cadetblue;
    position: absolute; 
	top: 10%; 
	left: 30%;
	height:400px; 
	width:400px;
	/*
	left: 0px;
	background-image: url(/img/searchform_open.png);
	position: fixed;
	display: flex;
	align-items: center;
	display:none;	
	*/
	display:inline;
	z-index: 1000;
	padding: 0px 0px 0px 0px;
}

#mainform{
	background-color: aliceblue;
	width: 1100px;
	height: 40px;
	padding: 10px 10px 10px 10px;
	border-radius: 10px;
	position: fixed;
	/*position: absolute;*/
	bottom: 0; /* Положение от нижнего края */
	/* right: 0; */
	left: 0;
	z-index: 1000;
	margin: 10px;
	display: none;/**/
	border: 2px solid cadetblue;
}

#mainform>*{
	width: 100%;
	margin-bottom: 6px;
}

/*
canvas.GeniTreeCanvas {
    display: block;
    margin: 0 auto;
    max-width: 10000px; /* Ограничиваем максимальную ширину */
}
/*
#GeniTreeCanvas {
    display: block;
    margin: 0 auto;
    max-width: 10000px; /* Ограничиваем максимальную ширину */
}
*/

#rootTree {
	/*display: none;*/
	position: absolute;
	width: 800px;
	z-index: 1;
	top: 0px;
}

#GeniTreeCanvas{
	position: absolute;/**/
	top: 0px; 
	left: 0px; 
	right: 0px; 
	bottom: 0px; 
	border:2px solid blue;
	z-index: 2;
}

#idsvg {
	position: absolute;
	z-index: 3;
}

#GeniTreeSVG {
	position: absolute;
	z-index: 4;
	top: 120px;
	font-family: Verdana;
	cursor: move;
}
/**/
.geninode {
	position: absolute;
	text-overflow: clip;
	font-family: Verdana;
	font-size: xx-small;
	padding: 2px;
	z-index: 2;
}

#tooltiptxt {
	position: absolute;
/*background: cornsilk;
border: 1px solid black;
border-radius: 5px;
padding: 5px;*/
z-index:-9999999;
display: none;
}

#tooltipsvg {
	position: absolute;
	background: red;
	border-radius: 5px;
	border: 2px solid blue;
	padding: 5px;
	z-index:999999;
	display: none;
}

#adminid {
	position: absolute;
	background-color: #e4f4f5; /* #f9fafb;  aliceblue; */
	border: 1px solid #5f9ea036; /*cadetblue;*/
	height: 50px;
	z-index: 500;
}

.form1{
	background-color: aliceblue;
	width: 150px;
	float: right;/**/
}

label, select, option, input {
	font-family : "Verdana";
	font-size : 12px;
	color : black;
}

.copy {
	font-family : "Verdana";
	font-size : 10px;
	color : #CCCCCC;
}

hr {
	margin-inline-start: 10%;
	margin-inline-end: 15%;
	border-color: cadetblue;
}

input {
    /*border-width: 1px;*/
}

input[type="button" i] {
   text-rendering: auto;
    color: buttontext;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    box-sizing: border-box;
    background-color: buttonface;
    margin: 0em;
    padding-block: 1px;
    padding-inline: 6px;
    border-width: 2px;
    border-style: outset;
    border-color: buttonborder;
    border-image: initial;
}

#topMenu {
	display: none;
}