﻿html {
    font-size: 14px;
}

form label {
    font-weight: bold
}

@media (min-width: 768px) {
    html {
        font-size: 13px; /*Site/
        /*font-size: 16px;*/ /*topika*/
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    width: 100%;
    height: 80%;
}

/* tool tip*/
#container {
    visibility: hidden;
}

#loader {
    color: #008cff;
    height: 40px;
    left: 45%;
    position: absolute;
    top: 45%;
    width: 30%;
}

#details table th, #details table td {
    padding: 15px;
    text-align: left;
}

#details .info {
    font-weight: bold;
}
/* tool tip end */


/* diamorfosi pinaka dikoymoy  */
/* Table styling */

#myTableCustom table {
    width: 100%;
    border: 1px solid #000;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
}

#myTableCustom .table-container {
    height: 800px;  Σταθερό ύψος 
    overflow-y: auto;  Scroll μέσα στον πίνακα 
    border: 1px solid #ddd;
}
#myTableCustom th,
#myTableCustom td {
    padding: 5px;
    white-space: nowrap;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

#myTableCustom th {
    text-align: left;
    background: #ddd;
    border-bottom: 2px solid #ccc;
}

#myTableCustom td {
    height: 20px;
    color: #333;
}

#myTableCustom tr:nth-child(even) td {
    background: #eee;
}

#myTableCustom table tr:last-child td {
    border-bottom: none;
}

 sticky first column 

#myTableCustom .sticky {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    border-right: 2px solid #ccc;
}

#myTableCustom th.sticky {
    background: #ddd;
}

 horizontal scroll container 

#myTableCustom .table-outer {
    overflow-x: auto;
    border: 1px solid #ccc;
}



/* ======================  */
/* Custom dropdown */

.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-list {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background: white;
    display: none;
    z-index: 1000;
}

.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

.dropdown-item:hover {
background-color: #f1f1f1;
}

.dropdown-item-active {
    background-color: #0d6efd;
    color: white;
}
/* remove default select arrow */

.custom-dropdown {
    position: relative;
    width: 100%;
}


.dropdown-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%); /* ← κεντράρισμα κατά ύψος */
    pointer-events: none;
    color: #6c757d;
    font-size: 18px; /* ← μέγεθος */
    line-height: 1;
    transition: transform 0.2s ease; /* ← smooth rotation */
}

    .dropdown-arrow.open {
        transform: translateY(-50%) rotate(180deg); /* ← rotation όταν ανοιχτό */
    }

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #ddd url("http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png") no-repeat right;
}





/*  table {
        table-layout: fixed;
        width: 100%;
    }

    thead tr, tbody {
        display: block;
    }

    tbody {
        height: 400px;
        overflow-y: auto;
    }

    th, td {
        width: 800px;
        min-width: 100px;
    }
     */
/*}*/
/* diamorfosi pinaka dikoymoy  end */
