﻿@primary-color: #008aff;

body {
    background: #343a40;
    display: flex;
    flex-direction: column;
}

.navbar-right {
    padding-top: 5px;
}

.LougoutIcon {
    margin-left: 14px;
    font-weight: bold;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);

    &:hover {
        color: @primary-color;
        text-decoration: none;
    }
}

.body-content {
    background-image: url(../Images/timelapse.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #464646;
}

.main-selection {
    width: 100%;
    height: auto;
    padding: 35px 0 20px 0;
    
    opacity: 1;
}

.username {
    font-size: 15px;
    font-weight: 400;
    margin-right: 15px;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 13px;
}

.main-section a:hover {
    text-decoration: none;

    .item-button {
        margin: 30px 0 10px 0;
    }

    div.item-button {
        max-width: 105px;
        border-color: @primary-color !important;
        color: #fff !important;
        -webkit-transition: 0.35s;
        transition: 0.35s;
    }

    .slide {
        box-shadow: inset 105px 0 0 0 @primary-color !important;
    }
}

.main-selection .main-section {
    text-align: left;
    padding: 10px;

    .round-icon {
        font-size: 50px;
        margin: auto;
        width: 100px;
        height: 90px;
        color: #fff;
    }

    h4 {
        margin: 15px 0;
        font-size: 18px;
        color: #fff;
    }

    .item-section {
        background: rgba(0, 0, 0, 0.6);
        border: 2px solid rgba(0, 0, 0, 0.6);
        color: #fff;
        padding: 15px 25px;
        border-radius: 15px;

        .item-name {
            .item-icon {
                font-size: 48px;
                font-weight: bold;
                display: inline-block;
                color: @primary-color;
            }

            .item-title {
                display: inline-block;
                word-wrap: break-word;
                max-width: 100px;
                text-transform: uppercase;
                vertical-align: top;
                margin-top: 20px;
                margin-left: 12px;
                font-weight: bold;
                font-size: 17px;
            }

            .multiline {
                margin-top: 8px !important;
            }
        }

        div.item-button {
            max-width: 105px;
            background: none;
            border-radius: 15px;
            border: 2px solid;
            padding: 10px 22px 12px 22px;
        }

        .item-button {
            margin: 30px 0 10px 0;
            color: @primary-color;

            .read-more {
                vertical-align: bottom;
                margin-bottom: 4px;
            }
        }

        .item-text {
            font-size: 14px;
        }

        &:hover {
            border: 2px solid @primary-color;
        }
    }
}

.second-block {
    padding: 45px 0 30px 0;
    background: rgba(0, 0, 0, 0.6);

    .card {
        border-radius: 13px;
    }

    h5 .title-icon {
        font-size: 32px !important;
        vertical-align: bottom;
        margin-right: 5px;
    }

    .dokument-panel {
        display: inline-block !important;
        margin-right: 18px;
        margin-top: 14px;
        text-align: center;
        width: 105px;
    }

    .card {
        margin-bottom: 20px;
    }

    .rychly-prehled {
        margin-top: 25px;
        text-align: center;
    }

    .Max-value {
        font-weight: bold;
        color: @primary-color;
    }

    .Current-value {
        display: block;
        font-weight: bold;
        font-size: 50px;
        color: @primary-color;
    }

    .up {
        --color: @primary-color;
        --hover: @primary-color;
    }

    .up:hover,
    .up:focus {
        box-shadow: inset 0 -3.25em 0 0 @primary-color;
    }

    a.up {
        background: none;
        border: 2px solid;
        font: inherit;
        line-height: 1;
        padding: 10px 15px;
    }

    a.up {
        color: @primary-color;
        -webkit-transition: 0.25s;
        transition: 0.25s;
    }

    a.up:hover, button:focus {
        border-color: @primary-color;
        color: #fff;
        text-decoration: none;
    }

    .config-button {
        margin: 35px 0 10px 0;

        .up {
        }
    }
}

.section-title {
    padding: 40px 10px 20px 10px;
    color: #fff;
    text-align: center;
}

.data-filter {
    padding-bottom: 30px;
    .filter-icon {
        font-size: 24px;
    }
}

.success-alert {
    position: fixed;
    z-index: 150;
    margin: auto;
    text-align: center;
    top: 120px;
    left: 50%;
    transform: translate(-50%, -50%);
}

footer {
    padding-top: 15px;
    text-align: center;
    color: #6f6f6f;
    background: #343a40;
    margin-top: auto;
}

.nav-pills-custom .nav-link {
    color: @primary-color;
    background: #343a40;
    border: 2px solid @primary-color;
    position: relative;
}

.nav-pills-custom .nav-link.active {
    color: #fff;
    background: @primary-color;
}

@media (min-width: 992px) {
    .nav-pills-custom .nav-link::before {
        content: '';
        display: block;
        border-top: 8px solid transparent;
        border-left: 10px solid @primary-color;
        border-bottom: 8px solid transparent;
        position: absolute;
        top: 50%;
        right: -10px;
        transform: translateY(-50%);
        opacity: 0;
    }
}

.nav-pills-custom .nav-link.active::before {
    opacity: 1;
}

.filter-button {
    margin-top: 15px;
}

.login-form {
    text-align: center;
    padding: 30px;
    max-width: 620px;

    .login-logo {
        max-width: 250px;
    }

    .login-icon {
        font-weight: bold;
        font-size: 24px;
    }

    .card-body {
        p {
            margin-top: 20px;
            font-size: 17px;
        }
    }
}

.value-selector {
    margin-top: 25px !important;
    margin-bottom: 15px !important;
}

.prehled-lp {
    margin-top: 30px;
    background: #464646;
    border-radius: 10px;
    padding: 15px;
    h3 {
        text-align: center;
        color: #fff;
        margin-top: 15px;
        margin-bottom: 30px;
    }
}

.loading-detail {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: #fff;
    z-index: 1000;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    img {
        margin-top: 350px;
        margin-bottom: 25px;
    }
}