﻿/* Front End Page
-------------------------------------------------- */
/*Start of the Demo Alert*/

.my-alert {
    padding: 20px;
    background-color: #282529; /* Red */
    color: white;
    margin-bottom: 15px;
}

.dashboard-alert {
    padding: 20px;
    background-color: rgba(255, 255, 255, .5); /* Red */
    color: black;
    margin-bottom: 15px;
    margin-left: 230px;
}

.DA-test-error {
    color: #000;
    background-color: #731d13;
    margin-top: 20px;
}

.loading {
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.center {
    z-index: 1000;
    margin: 10px auto;
    padding: 10px;
    width: 300px;
    height: 300px;
    background-color: White;
    border-radius: 10px;
    opacity: 1;
}

    .center img {
        height: 100%;
        width: 100%;
    }

/* The close button */
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    /* When moving the mouse over the close button */
    .closebtn:hover {
        color: black;
    }

/* Makes cursor the default when hovering over dashboard widgits */
.tabs-panel {
    cursor: default;
}

/* Ensure only the active panel is visible */
.tabs-content .tabs-panel {
    display: none;
}

    .tabs-content .tabs-panel.is-active {
        display: block;
    }

.dropdown:hover #dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dropdown-menu > li > a:hover {
    display: block;
    background-color: #e1e3e9;
    color: #333;
}

@media screen and (max-width: 1400px) {
    .dashboard_table {
        font-size: 60%;
    }
    .dashboard_table th {
        padding: 2px;
    }
    .dashboard_table td {
        padding: 2px;
    }
}
