/*Main css */
.north-indian-chart{
    position: relative;
    width: 420px;
    height: 420px;
    background-color: #FAE8B6;
    background-image: url('../img/kundli-chart-bg.jpg');
    background-repeat: no-repeat;
	background-size: 100% 100%;
    background-position: center;
    user-select: none;
    transform: scale(.9);
}

.house {
    display: flex;
    position: absolute;
    margin: auto;
    font-size: 11px;
    line-height: 15px;
}
.planets p{
    margin: 0;
}

.planets {
    p.Asc{
        color: #000000;
    }

    p.Su{
        color: #000000;
    }

    p.Mo{
        color: #000000;
    }

    p.Ma{
        color: #000000;
    }

    p.Me{
        color: #000000;
    }

    p.Ju{
        color: #000000;
    }

    p.Ve{
        color: #000000;
    }

    p.Sa{
        color: #000000;
    }

    p.Ra{
        color: #000000;
    }

    p.Ke{
        color: #000000;
    }
}

.house span.num {
    position: absolute;
    margin: auto;
}

.house:nth-child(1),
.house:nth-child(4),
.house:nth-child(7),
.house:nth-child(10) {
    width: 140px;
    height: 140px;
    justify-content: center;
    align-items: center;
}

.house-1 {
    left: 140px;
    top: 40px;
}

.house-1 span.num {
    bottom: 0;
}

.house-2 {
    width: 140px;
    height: 118px;
    left: 40px;
    justify-content: center;
    align-items: baseline;
    padding-top: 15px;
}

.house-2 span.num {
    bottom: 20px;
}

.house-3 {
    width: 119px;
    height: 140px;
    top: 40px;
    align-items: center;
    padding-left: 15px;
}

.house-3 span.num {
    right: 24px;
}

.house-4 {
    left: 40px;
    top: 140px;
}

.house-4 span.num {
    right: 0;
}

.house-5 {
    width: 119px;
    height: 140px;
    bottom: 40px;
    align-items: center;
    padding-left: 15px;
}

.house-5 span.num {
    right: 24px;
}

.house-6 {
    width: 140px;
    height: 118px;
    left: 40px;
    bottom: 0px;
    justify-content: center;
    align-items: end;
    padding-bottom: 15px;
}

.house-6 span.num {
    top: 20px;
}

.house-7 {
    bottom: 40px;
    left: 140px;
}

.house-7 span.num {
    top: 0;
}

.house-8 {
    width: 140px;
    height: 118px;
    right: 40px;
    bottom: 0px;
    justify-content: center;
    align-items: end;
    padding-bottom: 15px;
}

.house-8 span.num {
    top: 20px;
}

.house-9 {
    width: 119px;
    height: 140px;
    bottom: 40px;
    right: 0px;
    align-items: center;
    padding-right: 15px;
    justify-content: end;
}

.house-9 span.num {
    left: 24px;
}

.house-10 {
    right: 40px;
    top: 140px;
}

.house-10 span.num {
    left: 0;
}

.house-11 {
    width: 119px;
    height: 140px;
    top: 40px;
    right: 0px;
    align-items: center;
    padding-right: 15px;
    justify-content: end;
}

.house-11 span.num {
    left: 24px;
}

.house-12 {
    width: 140px;
    height: 118px;
    right: 40px;
    top: 0px;
    justify-content: center;
    align-items: baseline;
    padding-top: 15px;
}

.house-12 span.num {
    bottom: 20px;
}

.clickable-planets .clickable-planet {
    position: relative;
    cursor: pointer;
    z-index: 99999;
}

.table-planets:has(tbody, td, tfoot, th, thead, tr) {
    white-space: nowrap;
}

/* css for Ashtakvarga */
.Ashtakvarga .house{
    font-size: 14px;
}

.Ashtakvarga .house-2,.Ashtakvarga .house-12{
    padding-top: 30px;
}
.Ashtakvarga .house-3,.Ashtakvarga .house-5{
    padding-left: 30px;
}

.Ashtakvarga .house-6,.Ashtakvarga .house-8{
    padding-bottom: 30px;
}
.Ashtakvarga .house-9,.Ashtakvarga .house-11{
    padding-right: 30px;
}
