@import "base-min-zfTKBzq.css";
@import "pure-min-GcZ5iy0.css";
@import "grids-responsive-min-Sj7EXxn.css";

body {
    color: #777;
}

/* app.css */
#page-loader {
    display: none; /* hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    display: flex; /* applied when JS toggles it */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

table {
width: 100%; border-collapse: collapse;
}



.button-success,
.button-error,
.button-warning,
.button-secondary {
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.selected-link {
    background: darkblue;
}

.button-success {
    background: rgb(28, 184, 65);
    /* this is a green */
}

.button-error {
    background: rgb(202, 60, 60);
    /* this is a maroon */
}

.button-warning {
    background: rgb(223, 117, 20);
    /* this is an orange */
}

.button-secondary {
    background: rgb(66, 184, 221);
    /* this is a light blue */
}

/* Images */
.pure-img-responsive {
    max-width: 100%;
    height: auto;
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 8px;
}

.alert-error {
    background-color: darkred;
    color: white;
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 8px;
}

.alert-success {
    background-color: darkgreen;
    color: white;
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 8px;
}

.alert-warning {
    background-color: darkorange;
    color: white;
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 8px;
}

.alert-info {
    background-color: darkkhaki;
    color: darkgreen;
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* Menu spacing */
.top-gap {
    border-top: 1px solid #333;
    margin-top: 15px;
    padding-top: 10px;
}

/* Smooth transitions */
#layout,
#menu,
.menu-link {
    transition: all 0.2s ease-out;
}

/* Layout wrapper */
#layout {
    position: relative;
}


/* ======================
MAIN CONTENT
====================== */
#main {
    position: relative;
}

.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1em;
    margin-top: 50px;
    line-height: 1.6em;
}

/* Header */
.header {
    text-align: center;
    padding: 1.5em 1em 0;
}

/* ======================
SIDEBAR
====================== */
#menu {
    margin-left: -200px;
    width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    background: #191818;
    overflow-y: auto;
}

/* Links */
#menu a {
    color: #999;
    padding: 0.6em;
    display: block;
}

/* Hover */
#menu .pure-menu li a:hover {
    background: grey;
}

/* Divider */
#menu .pure-menu ul {
    border-top: 1px solid #333;
}

/* Active state */
#layout.active #menu {
    left: 200px;
}

#layout.active .menu-link {
    left: 200px;
}

/* ======================
BURGER BUTTON
====================== */
.menu-link {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1100;
    width: 2.5em;
    padding: 2em 1.5em;
    cursor: pointer;
}

/* Burger lines */
.menu-link span,
.menu-link span:before,
.menu-link span:after {
    background: #fff;
    display: block;
    height: 3px;
    width: 100%;
    position: relative;
}

.menu-link span:before,
.menu-link span:after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-link span:before {
    top: -8px;
}

.menu-link span:after {
    top: 8px;
}

/* ======================
RESPONSIVE
====================== */

/* Desktop */
@media (min-width: 48em) {

    #layout {
        padding-left: 200px;
    }

    #menu {
        left: 200px;
    }

    .menu-link {
        display: none;
    }

}

/* Mobile */
@media (max-width: 48em) {

    #layout.active {
        left: 200px;
    }

}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
