﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
body {
    font-size: 1rem;
}


.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

form#login {
    width: 350px;
    margin: 80px auto;
    padding: 20px;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .4);
}

    form#login input {
        width: 100%;
        padding: 8px;
    }

    form#login input::placeholder {
        opacity:0.5;
    }

    form#login button {
        width: 100%;
        padding: 10px;
        background-color: #6dab3c;
        border: 0;
        color: #fff;
    }
        form#login button:hover {
            background-color: #619835;
            cursor:pointer;
        }

label.switch {
    width: 60px;
    height: 30px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    position: relative;
    display: block;
    transition: background 150ms;
}

.enable.on {
    background: #f16522;
}
.available.on {
    background: #5cb85c;
}
.off {
    background: #72777b;
}

.switch-button {
    width: 50%;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #b7b7b7;
    border-left-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 50%;
    display: flex;
    align-items: center;
    transition: left 150ms;
}

    .switch-button i {
        color: #a5a5a5;
        position: absolute;
    }

.arrow_left {
    left: -1px;
}

.arrow_right {
    left: 7px
}

.off .switch-button {
    left: 0px;
}


.indicator {
    color: #fff;
    text-align: center;
    display: inline-block;
    line-height: 30px;
    width: 50%;
}

.off .indicator {
    margin-left: 50%;
    content: 'Off';
}

.indicator::after {
    content: 'On';
}

.off .indicator::after {
    content: 'Off';
}


#message {
    color: #fff;
    border-radius: 2px;
    box-shadow: 0 17px 17px rgba(0,0,0,.15), 0 27px 55px rgba(0,0,0,.3);
    font: 18px Roboto,sans-serif;
    margin: 24px;
    max-height: calc(100% - 48px);
    max-width: calc(100% - 48px);
    overflow: auto;
    padding: 18px;
    position: fixed;
    z-index: 10010;
    display: none;
    background: #a3bd0b;
    top: 250px;
}
.message-close {
    position: relative;
    top: -15px;
    right: -10px;
    float: right;
    cursor: pointer;
}
