/***************/
table {
	width: auto;
	border-collapse: separate;
}
th {
	background-color: #ddd;
	border-radius: 5px;
}
th, td {
	border: 1px solid #ccc;
	padding: 8px 12px;
}
/***************/

/**************************/
.segment
{
    background-color: var(--glass);
    position: sticky;
    top: 5px;
    display: flex;
    gap: 5px;
    border: 2px outset var(--glassborder);
    border-radius: 5px;
    height: 100%;
    margin-top: 5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    padding: 7px;
    font-size: small;
    font-family: nunito;
}
.main_cap{
    position: absolute;
}
.sub_cap{
    position: sticky;
    top: 0;
    background-color: var(--glassborder);
}
#pairing_segment{
	border: 0px;
}

.sub_segment {
    position: relative;
    width: 100%;
    margin-top: 7%;
    height: 95%;
    /* background-color: peachpuff; */
    /* border: 1px solid var(--glassborder); */
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px;
    font-family: source;
    overflow-y: hidden;
}
#pickBoxFemales,
#pickBoxMales{
    width: 100%;
    height: 55%;
	max-height: 210px;
    /* border: 1px solid red; */
    overflow-y: scroll;
}
.isBoxFemales,
.isBoxMales{
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 5px;
}
.isBoxFemales h1,
.isBoxMales h1{
    letter-spacing: -1px;
    font-size: small;
}

#boxMales_0,
#boxFemales_0{
    display: block;
}
@media only screen and (max-width: 599px){
    .isBoxFemales,
    .isBoxMales {
        grid-template-columns: 1fr 1fr;
    }
}

.selectedParentMale,
.selectedParentFemale{
	position: absolute;
	top: 57%;
	/* border: 1px solid black; */
	width: 96%;
	height: 35%;
	display: flex;
	align-items: center;
	justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#avatar_XAF,
#avatar_XAM
{
	position: relative;
	width: 90%;
	height: 90%;
	cursor: none;
	pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}
.fade{
    opacity: 0.5;
}

.genSelector,
.avSelector
{
    cursor: pointer;
	transition: transform 0.75s ease;
}

.genSelector:hover,
.avSelector:hover{
	transition: transform 0.5s ease;
	transform: scale(1.1);
}

.genSelector:hover:active,
.avSelector:hover:active{
	transform: scale(0.9);
}
/**************************/

/* #simulation-container{
    border: 1px solid black;
    width: 100%;
    height: 300px;
} */

/******************/
#avatar_options{
    /* border: 1px solid black; */
    height: 45%;
    width: 40%;
    display: flex;
    gap: 3px;
    flex-direction: column;
    justify-content: end;

}
#avatar_info{
    position: absolute;
    width: 100%;
    height: 49%;
    bottom: 5px;
    width: 96%;
    box-sizing: border-box;
    padding: 5px;

    /* background-color: blue; */
    transform: translateY(-20px);
}

#isChildDNA,
#isChildGenome{
    position: relative;
    width: 100%;
    box-sizing: border-box;
    
    
    white-space: normal;
    overflow-wrap: break-word;
    /* for older browsers */
    word-wrap: break-word;

    overflow: scroll;
}
#isChildDNA{
    height: 20%;
    /* font-family: underwood; */
    font-family: monospace;
}
#isChildGenome{
    position: relative;
    top: 5px;
    border: 1px solid var(--glassborder);
    height: 170px;
    overflow-x: hidden;
    font-family: monospace;
    /* letter-spacing: 1px; */
    font-size: 0.65rem;
}

.traitsBox,
.patronsBox{
    position: relative;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    line-height: 0.9;
}
.patronsBox .avatar{
    display: inline-block;
    width: 49%;
    max-width: 200px; 
}
.traitsInf{
    display: inline-block;
    white-space: wrap;
    width: 180px;
    height: 200px;
    padding: 0;
    padding-left: 10px;

    border: 1px outset silver;
    border-bottom: 1px inset transparent;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow-y: scroll;
    margin-left: 5px;
    background-color: rgba(245, 222, 179, 0.2);
    
}
.traitsInf h2{
    margin-bottom: 5px;
}
/* .traitsInf.combi{
    position: absolute;
    font-size: 0.7rem;
} */
.traitsInf p{
    font-family: berranger;
}
.hideSec{
    display: none;
    opacity: 0;
}

