﻿.main-container {
    display: flex;
    flex-flow: space-evenly;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.loginLogoutNav {
    display: none;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    margin-top: -4px;
    margin-right: 10px;
}

.navbar-title {
    font-size: 1.3rem !important;
    margin-top: -6px;
}

.success-animation-green {
    background-color: #b3ffb4;
    transition-duration: 0.5s;
}

.animation-white {
    background-color: white;
    transition-duration: 0.5s;
}

.animation-warning {
    background-color: #fcc5c5;
    transition-duration: 0.5s;
}

.animation-orange {
    background-color: #fff4d1;
    transition-duration: 0.5s;
}

td {
    vertical-align: middle !important;
}

.modal-content {
    width: 550px;
    border-radius: 15px;
}

.charts {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
}

.chart {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    width: 40%;
    height: 380px;
    margin: 2% 5%;
}

.chart-blank {
    background-color: white;
    border-radius: 15px;
    padding: 10px;
    width: 40%;
    height: 1%;
    margin: 2% 5%;
}

.lt1000 {
    display: table-cell;
}

.appName {
    color: mediumslateblue;
}

.binav {
    font-size: 1.4rem;
    margin-top: -24px;
}

.apidoccode {
    padding: 10px 10px;
    border-radius: 8px;
    width: max-content;
    background-image: linear-gradient(90deg, #8a42f5, #6931bd);
    color: white;
}

.sidebar-custom {
    background-image: linear-gradient(180deg, #333 0%, #232323 70%) !important;
}

.titlecontainer {
    background-color: #1e1e1e !important;
}

.top-row-custom {
    background-color: white !important;
}

.border-radius-10 {
    border-radius: 10px;
    padding: 5px;
    margin: -5px;
}

.d1-element-status {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    padding: 15px 15px 5px 15px;
    margin: 10px 0px;
    border-bottom: solid 1px #ddd;
}

    .d1-element-status:first-child {
        margin-top: 20px;
    }

    .d1-element-status:last-child {
        border-bottom: solid 0px #666;
    }

.d1-element-status-part1 {
    width: 50%;
}

.d1-element-status-part2 {
    margin-top: -9px;
    width: 50%;
}

.d1-status-ok {
    font-size: 1.5rem;
    color: green;
}

.d1-status-active {
    font-size: 1.5rem;
    color: dodgerblue;
}

.d1-status-error {
    font-size: 1.5rem;
    color: orangered !important;
}

.downloads-container {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
}

.downloads-item {
    text-align: center;
    background-color: white;
    border-radius: 15px;
    padding: 50px;
    width: 31%;
    height: fit-content;
    margin: 2% 1% 1% 1%;
}

    .downloads-item:last-child {
        margin-bottom: 50px;
    }

    .downloads-item svg {
        margin-bottom: 30px !important;
    }

.width-fit {
    width: fit-content !important;
}

.box-shadow {
    -webkit-box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3), 0 6px 10px rgba(100, 181, 246, 0.2);
    -moz-box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3), 0 6px 10px rgba(100, 181, 246, 0.2);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3), 0 6px 10px rgba(100, 181, 246, 0.2);
}

.spinner {
    font-size: 50%;
    width: 5vw;
    height: 5vw;
    margin-top: 30vh;
}


@media screen and (max-width: 1500px) {
    .downloads-item {
        padding: 20px;
        width: 48%;
        margin: 3% 1% 4% 1%;
    }
}

@media screen and (max-width: 1000px) {
    .chart {
        width: 70%;
    }

    .downloads-item {
        width: 80%;
    }

    .lt1000 {
        display: none;
    }
}

@media screen and (max-width: 641px) {
    .sidebar-custom {
        position: sticky !important;
        top: 0;
        z-index: 1;
        box-shadow: 0 0 15px 0px #111;
    }

    .small-display-hide {
        display: none !important;
    }

    .loginLogoutNav {
        display: inherit;
        margin: 10px 30% 25px 30%;
    }

    .chart {
        width: 98%;
        height: 390px;
        margin: 4% 1%;
        padding: 5%;
    }

    .downloads-item {
        width: 98%;
        margin: 3% 1% 4% 1%;
    }

    .modal-content {
        width: 90%;
    }

    .apiurl {
        font-size: 0.9rem;
    }

    .spinner {
        font-size: 50%;
        width: 20vw;
        height: 20vw;
        margin-top: 30vh;
    }
}







/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider-important {
    background-color: #f00 !important;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider-important {
    background-color: #04eb00 !important;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }