
/* Raleway as variable font with all weights, see frontend/README.md. */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/static/vendor/raleway/raleway-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/static/vendor/raleway/raleway-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,body,h1,h2,h3,h4,h5,h6 {
    font-family: "Raleway", sans-serif;
}

#id_power_on_monday, #id_power_on_tuesday, #id_power_on_wednesday, #id_power_on_thursday, #id_power_on_friday, #id_power_on_saturday, #id_power_on_sunday {
    min-width: 7em;
}

/* Modal dialog. */

.energy-dialog {
    padding: 0;
    border: none;
    border-radius: 4px;
    max-width: min(30em, calc(100vw - 32px));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.energy-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.energy-dialog > form {
    padding: 0 16px 8px 16px;
}

.energy-dialog-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -16px;
    padding: 8px 8px 8px 16px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
}

.energy-dialog-close {
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2em;
}

/* Short notifications, see energy_toast() in energy.js. */

.energy-toasts {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: min(400px, calc(100vw - 40px));
}

.energy-toast {
    padding: 10px 14px;
    border-radius: 4px;
    color: #fff;
    background-color: #444;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    opacity: 1;
    transition: opacity 0.4s;
}

.energy-toast-success {
    background-color: #2e7d32;
}

.energy-toast-error {
    background-color: #c62828;
}

.energy-toast-info {
    background-color: #1565c0;
}

.energy-toast-warning {
    background-color: #ef6c00;
}

.energy-toast-hidden {
    opacity: 0;
}

#id_confirm, #id_computers_statistics, #id_computers_send_mails, #id_computers_send_only_error_mails, #id_computers_send_mails_for_shared, #id_computers_mail_language, #id_servers_quick_power_on, #id_servers_quick_power_off, #id_servers_quick_reboot, #id_servers_quick_suspend, #id_servers_quick_hibernate, #id_servers_quick_power_off_hard, #id_servers_quick_reboot_hard, #id_servers_quick_reservation, #id_log_out_everywhere, #id_stay_logged_in, #id_schedule_enabled  {
    margin-left: 4px;
    margin-right: 8px;
}

#id_clusters, #id_servers {
    min-width: 300px;
}

#id_description, #id_token, #id_name {
    width: 300px;
}

.energy-full-heigth {
    height: 100%;
}

.energy-full-width {
    width: 100%;
}

.energy-first-p {
    margin-top: 0px; 
}

.energy-first-ul {
    margin-top: 0px; 
}

.energy-last-ul {
    margin-bottom: 0px; 
}

.energy-bgimg {
    background-image: url('/static/images/background.png');
    min-height: 100%;
    background-position: center;
    background-size: cover;
}

.energy-server-banner {
    background-image: url('/static/images/server.png');
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    background-position: center;
    background-size: cover;
    border-radius: 10px / 10px;
    height: 200px;
}

.energy-server-button {
    background-image: url('/static/images/server.png');
    min-height: 100%;
    min-width: 200px;
    margin: 10px;
    background-position: center;
    background-size: cover;
    border-radius: 10px / 10px;
    display: inline-block;
    vertical-align: top;
    width: 200px; height: 200px;
}

.energy-computer-banner {
    background-image: url('/static/images/computer.png');
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    background-position: center;
    background-size: cover;
    border-radius: 10px / 10px;
    height: 200px;
}

.energy-computer-button {
    background-image: url('/static/images/computer.png');
    min-height: 100%;
    min-width: 200px;
    margin: 10px;
    background-position: center;
    background-size: cover;
    border-radius: 10px / 10px;
    display: inline-block;
    vertical-align: top;
    width: 200px;
    height: 200px;
}

.energy-black-n-round {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px / 10px;
}

.energy-logo2 {
    background-image: url('/static/');
    margin: 10px;
    background-position: center;
    background-size: cover;
    display: inline-block;
    vertical-align: top;
    width: 200px;
}

.energy-radio-list {
    list-style-type: none;
    margin-left: 4px !important;
    padding: 0;
    margin: 0;
}

.energy-checkbox-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.errorlist {
    list-style-type: none;
    color: #f00;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 1em;
}

.errorlist li:before {
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; content: "\f007";
    margin-right: 4px;
    content: "\f06a";   
}

.energy-user-list {
    width: 400px;
}

.energy-content {
    margin-left: 300px;
    margin-top: 20px;
}

.energy-action-button {
    padding: 0px 8px;
    margin-left: 4px;
}
  
.energy-disabled-button {
    padding: 0px 8px;
    margin-left: 4px;
    pointer-events: none;
    cursor: default;
}

.w3-button {
    border-radius: 4px / 4px;
}

.energy-fixed-button {
    width: 3em;
}
  
.energy-header {
    padding-top: 36px;
}

.energy-org-logo {
    height: 26px;
}

.energy-top {
    z-index:4
}

.energy-sidebar {
    z-index: 3;
    width: 300px;
}

.energy-app-list {
    text-align: center;
    min-width: 450px;
    max-width: 600px;
}

.energy-close-menu {
    cursor: pointer;
}

.energy-headline-text {
    font-size: 36px;
}

.w3-show-small, .energy-invisible {
    display:none!important
}

.energy-indented {
    margin-left: 20px;
}

.energy-left-distance {
    margin-left: 10px;
}
  
.energy-top-bar-icon {
    margin-left: 4px;
}
  
.energy-lowered {
    margin-top: 20px;
}

.energy-last-on-page {
    margin-bottom: 20px;
}

.energy-nowrap {
    white-space: nowrap;
}

.energy-form-table {
    text-align: left;
}

.energy-form-table tbody tr th, .energy-form-table tbody tr td {  
    padding-right: 20px;
}  

.energy-top-msg {
    background-color:#4CAF50;
    color:#FFF;
    margin-top: 44px;;
    padding: 10px 10px;
}

.energy-color-red {
    background-color:#cc0000;
    color:#FFF;
}

.energy-color-red2 {
    background-color:#d34343;
    color:#FFF;
}

.energy-color-green {
    background-color:#00cc00;
    color:#FFF;
}

.energy-color-green2 {
    background-color:#009900;
    color:#FFF;
}

.energy-color-green3 {
    background-color:#006600;
    color:#FFF;
}

.energy-loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid black;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: energy-spin 2s linear infinite;
}
  
@keyframes energy-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.energy-modal {
    display: none; 
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.energy-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.energy-minibutton {
    border-radius: 4px;
    padding: 2px;
    color: #fff !important;
    background-color: #000 !important;
}

.energy-intextbutton {
  display: inline-block;
  padding: 0px 4px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
}

.energy-superscript {
    font-size: 60%;
    vertical-align: top;
}

@media (max-width:600px) {
    .energy-computer-button {
        height: 100px;
    }
    .energy-server-button {
        height: 100px;
    }
    .energy-headline-text {
        font-size: 28px;
    }
    .energy-app-list {
        text-align: center;
        min-width: 300px;
        max-width: 300px;
    }
    .w3-show-small{
        display: inherit!important
    }
}