﻿.tableFixHead {
    overflow-y: auto;
    height: 400px;
}

.tableFixHead thead th {
    position: sticky;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: white;
}

.tableFixHead thead th:first-child {
    z-index: 4;
}

.tableFixHead thead th:nth-child(2) {
    z-index: 4;
}

.tableFixHead tbody td {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: white;
}

.tableFixHead tbody td:first-child {
    z-index: 3;
}

.tableFixHead tbody td:nth-child(2) {
    z-index: 3;
}

.tableFixHeadBottom {
    overflow-y: auto;
    height: 500px;
}

.tableFixHeadBottom thead th {
    position: sticky;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: white;
}

.tableFixHeadBottom tbody td {
    position: sticky;
    left: 0;
    z-index: 2;
}

.tableFixHeadBottom tfoot th {
    position: sticky;
    z-index: 5;
    bottom: 0;
    left: 0;
    background-color: #009EF7;
}

.cosmas_search, .cosmas_search:hover, .cosmas_search:active, .cosmas_search:visited, .cosmas_search:focus {
    background-color: #006853;
    color: white;
}

.cosmas_photo {
    max-width: 80%;
    max-height: 80%;
}

.custom-select-width {
    width: 100%;
}

@media (max-width: 767.98px) {
    .cosmas_photo {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 410px) {
    .custom-select-width {
        width: 230px;
    }
}

.floating-container {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 5%;
    left: 0;
    margin: 30px 30px;
    display: none;
    opacity: 0;
    transform: scale(0);
    transition: .6s ease opacity,.6s ease transform;
}

.floating-container:hover {
    height: 300px;
}

.floating-container:hover .floating-button {
    box-shadow: 0 10px 25px rgba(114, 57, 234, 0.5);
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.floating-container .floating-button {
    position: absolute;
    width: 65px;
    height: 65px;
    background: var(--kt-info);
    bottom: 0;
    border-radius: 20%;
    left: 0;
    right: 0;
    margin: auto;
    color: white;
    line-height: 75px;
    text-align: center;
    z-index: 100;
    box-shadow: 0 10px 25px -5px rgba(114, 57, 234, 0.5);
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.floating-container .float-element .material-icons {
    vertical-align: middle;
}

.custom-floating-container {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 5%;
    left: 0;
    margin: 30px 30px;
    display: none; 
    opacity: 1; 
    transform: scale(1); 
    transition: .6s ease opacity, .6s ease transform;
}

    .custom-floating-container:hover {
        height: 300px;
    }

        .custom-floating-container:hover .custom-floating-button {
            box-shadow: 0 10px 25px rgba(114, 57, 234, 0.5);
            transform: translateY(5px);
            transition: all 0.3s;
        }

    .custom-floating-container .custom-floating-button {
        position: absolute;
        width: 65px;
        height: 65px;
        background: var(--kt-info);
        bottom: 0;
        border-radius: 20%;
        left: 0;
        right: 0;
        margin: auto;
        color: white;
        line-height: 75px;
        text-align: center;
        z-index: 100;
        box-shadow: 0 10px 25px -5px rgba(114, 57, 234, 0.5);
        cursor: pointer;
        transition: all 0.3s;
    }

    .custom-floating-container:hover .custom-floating-button {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        transition: all 0.3s;
    }
