﻿
/* Add extra padding for contents if a page has narbar */
.main-with-navbar {
    padding-top: 70px;
}

/* Change Bootstrap modal style */
.ced-custom .modal-header {
    padding: .5em .5em 0 .5em;
    border-bottom: none;
}

    /* For Gijgo dialogs, such as the one used in showMsgDialog */
    .ced-custom .modal-header .close {
        margin-top: -.8em;
        margin-right: -.5em;
    }

    .ced-custom .modal-header .modal-title {
        text-align: center;
        color: #ffffff;
        font-size: 16px;
        width: 100%;
        background-color: rgb(131, 69, 140);
        line-height: 2.2em;
        height: 2.2em !important;
    }

    .ced-custom .modal-header .modal-header-wrap {
        width: 100%;
    }

/* For general Boostrap dialogs */
.ced-custom .modal-dialog .modal-header .close {
    margin-top: -.5em;
}

.ced-custom .modal-footer {
    padding: .5em;
}

/* Common float panel style */
.float-panel {
    position: fixed;
    z-index: 997;
}

.float-panel,
.float-panel-style {
    background: #ffffff;
    border: 1px solid #999999;
    border-radius: 5px;
}

    .float-panel .float-panel-header {
        position: absolute;
        width: 100%;
        padding: .5em .5em 0 .5em;
        border-radius: 5px 5px 0 0;
        background-color: #ffffff;
        height: 2.5em;
    }

        .float-panel .float-panel-header .float-panel-title {
            font-size: 14px;
            color: #ffffff;
            background-color: rgb(131, 69, 140);
            height: 2.2em;
            line-height: 2.2em;
            text-align: center;
            font-weight: bold;
        }

        .float-panel .float-panel-header .float-panel-close {
            position: absolute;
            right: .6em;
        }

    .float-panel .float-panel-message {
        position: absolute;
        top: 2.5em;
        left: 0;
        right: 0;
        padding: .2em .5em;
        font-size: larger;
        font-weight: bold;
        text-decoration: underline;
    }

    .float-panel .float-panel-content {
        overflow-x: hidden;
        overflow-y: auto;
        position: absolute;
        top: 4.6em;
        left: 0;
        right: 0;
        bottom: 3em;
        padding: .5em;
    }

    .float-panel .float-panel-no-msg {
        top: 2.5em !important;
    }

    .float-panel .float-panel-no-footer {
        bottom: 0 !important;
    }

    .float-panel .float-panel-footer {
        overflow-y: auto;
        position: absolute;
        padding: .5em;
        left: 0;
        right: 0;
        bottom: 0;
        border-top: 1px solid #dddddd;
    }

        .float-panel .float-panel-footer .loading {
            display: inline-block;
        }

div.modal {
    background: rgba(0, 0, 0, .7);
}

#loading-modal {
    background: rgba(0, 0, 0, 0.65);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1051;
}

#loading-modal-progress {
    min-width: min(100vw, 16em);
}

#msg-dialog {
    /*z-index: 1049;*/
}

    #msg-dialog .text-content {
        white-space: pre-wrap;
    }
.bg-blue {
    background-color: #4c75a6 !important;
}
.admin-card {
    transition: all 0.3s ease;
    color : aliceblue
}

    .admin-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }

.admin-icon {
    color: #3498db; /* A softer blue color */
}

.admin-text {
    color: #34495e; /* A softer dark color for text */
}
.white-text {
    color: white !important;
}

