.dataBaseDiv{
    margin-top: 7rem;
    position: relative;
    width: 100%;
    height: fit-content;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.4);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
}
.dataBaseDiv h2{
    text-align: center;
}

.baseContainer{
    margin-top: 4rem;
    width: 90%;
    height: fit-content;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.4);
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    min-height: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.baseElement{
    border-radius: 10px;
    background: linear-gradient(white, white) padding-box,
              linear-gradient(90deg,#0b72bb,#0a498d,#07416b) border-box;
    border: 0.25rem solid transparent;
    display: grid;
    gap: 10px;
    transition: 0.5s;
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 10px;
    align-content: baseline;
    overflow: hidden;
    padding-right: 1%;
    grid-template-rows: minmax(5rem,1fr);
}

.baseElement p{
    padding: 1rem;
}

.oked{
    grid-template-columns: 5rem 1fr 40% 40%;
}

.serchDiv{
    justify-content: space-around;
    align-items: center;
    display: flex;
    height: 4rem;
    width: 100%;
}

input[type=text]{
    max-width: 90%;
}



.okedColNames{
    display: grid;
    grid-template-columns: 7rem 1fr 4.5fr 4.5fr;
    grid-template-rows: minmax(5rem,1fr);
}

.okedsDiv{
    overflow-y: scroll;
    height: 80vh;
    position: relative;
    padding-left: 1%;   
}

.baseContainer p{
    text-align: center;
    text-indent: 0;
}

.baseContainer p{
    margin-top: auto;
    margin-bottom: auto;
}

.okedId{
    align-content: center;
    margin-top: auto;
    margin-bottom: auto;
}

.oked.parent .okedType {
    aspect-ratio: 1/1;
    height: 5rem;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.dirLine{
    transition: 0.4s;
    position: relative;
    width: 2.25rem;
    height: 0.4rem;
    background: black;
    border-radius: 0.2rem;
}

.okedType .dirLine:first-of-type {
    rotate: 45deg; 
}

.okedType .dirLine:last-of-type {
    rotate: -45deg; 
    margin-top: -0.4rem; 
    margin-left: 1.35rem;
}

.okedType.rotated .dirLine:first-of-type {
    rotate: 45deg; 
    margin-left: 1.2rem;
}

.okedType.rotated .dirLine:last-of-type {
    rotate: -45deg; 
    margin-top: -0.4rem;  
    margin-left: -0.15rem;
}

.kbk{
    grid-template-columns: 20% 80%;
}

.kbkDiv{
    overflow-y: scroll;
    height: 80vh;
    position: relative;
    padding-left: 1%;   
}

.kbkColNames{
    display: grid;
    grid-template-columns: 20% 80%;
    margin-left: 20px;
    grid-template-rows: minmax(5rem,1fr);
}

.knp{
    grid-template-columns: 5rem 20% 1fr;
}

.knpDiv{
    overflow-y: scroll;
    height: 80vh;
    position: relative;
    padding-left: 1%;   
}

.knpColNames{
    display: grid;
    grid-template-columns: 5rem 20% 1fr;
    margin-left: 20px;
    grid-template-rows: minmax(5rem,1fr);
}


.knpType .dirLine:first-of-type {
    rotate: 45deg; 
}

.knpType .dirLine:last-of-type {
    rotate: -45deg; 
    margin-top: -0.4rem; 
    margin-left: 1.35rem;
}

.knpType.rotated .dirLine:first-of-type {
    rotate: 45deg; 
    margin-left: 1.2rem;
}

.knpType.rotated .dirLine:last-of-type {
    rotate: -45deg; 
    margin-top: -0.4rem;  
    margin-left: -0.15rem;
}

.knp.parent .knpType {
    aspect-ratio: 1/1;
    height: 5rem;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.selectorsDiv{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-bottom: 20px;
}

.selectorsDiv select{
    font-size: 1.25rem;
    max-width: 5rem;
    text-align: center;
    padding: 0px;
    max-height: 4rem;
    min-height: 4rem;
    margin-top: auto;
    margin-bottom: auto;
}


@media (hover: hover) {
    .oked.parent:hover .dirLine{
        background: #ffffff;
    }

    .knp.parent:hover .dirLine{
        background: #ffffff;
    }
    .knp.parent:hover{
        color: #ffffff;
        background: linear-gradient(#0069B4 ,#007AFF); 
    }
    .oked.parent:hover{
        color: #ffffff;
        background: linear-gradient(#0069B4 ,#007AFF); 
    }
}

@media (hover: none) {
    .oked.parent:active .dirLine{
        background: #ffffff;
    }

    .knp.parent:active .dirLine{
        background: #ffffff;
    }
    .knp.parent:active{
        color: #ffffff;
        background: linear-gradient(#0069B4 ,#007AFF); 
    }
    .oked.parent:active{
        color: #ffffff;
        background: linear-gradient(#0069B4 ,#007AFF); 
    }
}

@media (max-width: 700px) {
    .dataBaseDiv{
        margin-top: 50px;
    }
    .dataBaseDiv h1{
        font-size: 3rem;
    }
    .dataBaseDiv h2{
        font-size: 2rem;
    }
    .baseContainer{
        width: 100%;
    }
    .baseContainer p{
        font-size: 0.75rem;
    }
    .okedColNames{
        display: grid;
        grid-template-columns: 50px 1fr 4.5fr 4.5fr;
    }
    .oked{
        grid-template-columns: 40px 1fr 4.5fr 4.5fr;
        padding-right: 0;
    }
    .oked.parent .okedType {
        height: 40px;
    }
    .dirLine{
        width: 20px;
        height: 4px;
    }

    .okedType .dirLine:first-of-type {
        rotate: 45deg; 
        margin-left: 8px;
    }
    
    .okedType .dirLine:last-of-type {
        rotate: -45deg; 
        margin-top: -4px; 
        margin-left: 20px;
    }
    
    .okedType.rotated .dirLine:first-of-type {
        rotate: 45deg; 
        margin-left: 20px;
    }
    
    .okedType.rotated .dirLine:last-of-type {
        rotate: -45deg; 
        margin-top: -4px;  
        margin-left: 8px;
    }

    .okedsDiv{
        padding-left: 0;   
    }
    .kbkDiv{
        padding-left: 0;   
    }
    .knpDiv{
        padding-left: 0;   
    }

    .knpType .dirLine:first-of-type {
        rotate: 45deg; 
        margin-left: 8px;
    }
    
    .knpType .dirLine:last-of-type {
        rotate: -45deg; 
        margin-top: -4px; 
        margin-left: 20px;
    }
    
    .knpType.rotated .dirLine:first-of-type {
        rotate: 45deg; 
        margin-left: 20px;
    }
    
    .knpType.rotated .dirLine:last-of-type {
        rotate: -45deg; 
        margin-top: -4px;  
        margin-left: 8px;
    }

    .selectorsDiv select{
        font-size: 0.75rem;
        max-width: 3rem;
        max-height: 3rem;
        min-height: 3rem;
        margin-top: auto;
        margin-bottom: auto;
    }
}


