/* Master Css */
html, body {
    height: 100%;
}

.hidden {
    display: none;
}

.formTitle{
    color: #006699;
    padding: 0.3rem;
}

.bg-custom {
    background-color: #006699;
    color: white;
}

.vNavHeader{
    background-color: #e0e0e0;
    font-weight: 600;
    padding: 0.5rem;
    margin: 0%;
    width: 100%;
    display: block;
}

.list-group{
    margin: 0;
    padding: 0;
}

.list-group a{
    text-decoration: none;
    font-family: 300;
    color: #000000;
    margin: 0%;
    padding: 0.2rem;
}

.list-group a:hover{
    background-color: #006699;
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Header, Navigation Css */
.header-wrapper {
    height: 6vh; /* 10% του viewport */
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-wrapper img{
    width: 10%;
}

.header-wrapper .menou-bar{
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.menou-bar-btn{
    font-weight: 600;
    color: #006699;
}

.dropdown-menu li:hover a{
    background-color: #006699;
    color: white;
}

.header-wrapper .menou-profil{
    width: 15%;
    text-align: right;
}

.header-wrapper .menou-profil .profil-btn{
    font-weight: 600;
    color: #006699;
    width: 100%;
    text-align: right;
}

.nav {
    height: 8vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.nav img {
    height: 95%;
}

/* Footer Css */
.footer-wrapper {
    height: 5vh; /* 5% του viewport */
    background: #006699;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

/* Central Content Css */

.content-wrapper {
    flex: 1; /* παίρνει όλο το υπόλοιπο */
    overflow-y: auto; /* αν χρειαστεί scroll */
    margin: 0%;
    padding: 0%;
}

.login-content{
    width: 99%;
}

/* Login Page Css */
.login-card{
    margin-top: 5vh;
}

.login-card .card-header,
.login-card .card-footer {
    text-align: center;
    border: none;
}

.login-card .card-body{
    padding: 2rem;
}

.login-card .card-body table{
    width: 99%;
}

.login-card .card-body table th{
    width: 35%;
    text-align: right;
    padding-right: 1rem;
}
.login-card .card-body table td{
    width: 65%;
    text-align: left;
}

.login-card .card-body table td input{
    width: 80%;
}


/* Index Page Css */
.index-table thead tr{
    position: sticky;
    top: 0;
}

.index-table thead tr th{
    background-color: #006699;
    color: white;
}

.index-table tbody tr:hover {
    cursor: pointer;
}

/* Crud Page Css */
.crud-content-1{
    display: flex;
    flex-direction: col;
    padding: 1%;
}

.crud-content-1 input,
.crud-content-1 select{
    width: 40vw;
    margin: 0.5%;
}

.crud-content-2 label{
    display: block;
}

.crud-content-2 input,
.crud-content-2 select{
    margin: 0.5%;
}



/* Γονέας: display flex, column */
.split-vertical {
  display: flex;
  flex-direction: column;
  height: 100%; /* ή set explicit height στη φάση χρήσης */
}

/* Το πάνω παίρνει όλο το διαθέσιμο ύψος και κάνει scroll αν χρειαστεί */
.split-top {
  flex: 1 1 auto;       /*  μεγαλώνει για να καλύψει όλο το υπόλοιπο */
  min-height: 0;        /*  σημαντικό για σωστό overflow στο flex children */
  overflow-y: auto;     /* scroll εάν το περιεχόμενο ξεπεράσει */
  padding: 0.5rem;
  box-sizing: border-box;

}

/* Το κάτω είναι σταθερό ύψος 7vh */
.split-bottom {
  flex: 0 0 9vh;        /* fix height 10vh */
  height: 9vh;
  /* min-height: 10vh; */
  box-sizing: border-box;
  padding: 1rem;
  border-top: 1px solid #e0e0e0;
  background: #fff;
}


/* Αν χρειαστεί να χωριστεί κάθετα */
.split-left, .split-right {
    flex: 1; /* 50% κάθε panel */
    overflow-y: auto;
    padding: 1rem;
}

.auto-col {
    white-space: nowrap;   /* το περιεχόμενο μένει σε μία γραμμή */
    width: 1%;             /* επιτρέπει να πάρει όσο χώρο χρειάζεται */
}

.h5-view-files{
    font-size: 1em;
}

.view-pdf-link{
    font-size: 0.9em;
    cursor: pointer;
}

.view-pdf-link:hover{
    background-color: #006699;
    color: white;

}

.form-label{
    font-weight: 500;
}

li passp {
    font-weight: 500;
}



sup, sub {
    font-size: 0.75em;
    line-height: 1;
}
sup { vertical-align: 0.6em; }
sub { vertical-align: -0.4em; }
