﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.toggle-container {
    margin-top: 9px;
    display: inline-block;
    margin-left: 50px;
}

.toggle {
    cursor: pointer;
    display: inline-block;
}

.toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
}

    .toggle-switch:before, .toggle-switch:after {
        content: "";
    }

    .toggle-switch:before {
        display: block;
        background: linear-gradient(to bottom, #fff 0%, #eee 100%);
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
        width: 24px;
        height: 24px;
        position: absolute;
        top: 4px;
        left: 4px;
        transition: left 0.25s;
    }

.toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.toggle-checkbox:checked + .toggle-switch {
    background: #555;
}

.toggle-checkbox:checked + .toggle-switch:before {
    left: 30px;
}

.toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
    color: #eee;
    background: transparent;
}

body.darkmode,
.darkmode .form-control,
.darkmode table,
.darkmode .jsgrid-header-cell,
.darkmode .jsgrid-cell,
.darkmode .ms-options-wrap button,
.darkmode .ms-options,
.darkmode .ms-options label,
.darkmode .modal-content {
    color: #eee !important;
    background-color: #222 !important;
}

.darkmode .sked-tape__caption,
.darkmode .sked-tape__date,
.darkmode .sked-tape__hours {
    color: #eee !important;
    background-color: #444 !important;
}

.darkmode input,
.darkmode select,
.darkmode button {
    color-scheme: dark !important;
}

.darkmode .alert-success {
    background-color: #96a986 !important;
}

.darkmode .alert-warning {
    background-color: #aca893 !important;
}

.darkmode .alert-error {
    background-color: #a28e8e !important;
}

.darkmode #linguistListContainer a {
    color:#135a87 !important;
}