﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    display: flex;
    flex-direction: column;
}

.app {
    display: flex;
    flex-direction: column;
}

.intro-container, .loading {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    mask-image: url(../img/spinner.svg);
    mask-repeat: no-repeat;
    mask-position: 0 0;
    mask-size: 200px 200px;
    background-color: #808080;
}

/* SIDEBAR */
.sidebar {
    width: 100%;
    display: flex;
    background-color: rgb(35,50,81);
    flex-direction: column;
    text-align: center;
}

    .sidebar .logo {
        background-color: rgba(0,0,0,0.4);
        padding: 5px 0px 5px 14px;
        display: flex;
        justify-content: space-between;
    }

        .sidebar .logo img {
            height: 60px;
        }

    .sidebar .sidebar-information {
        display: none;
        margin-top: 40px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 0px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .scroller button.e-success {
        display: none;
        padding: 10px;
        width: 80%;
    }

.submit-button {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
}

    .submit-button button {
        padding: 20px;
        width: 100%;
    }


/* MAIN */

.main {
    width: 100%;
}

    .main .header {
        background-color: #f7f7f7;
        display: flex;
        justify-content: flex-end;
        height: 60px;
        align-items: center;
        padding: 0px 20px;
    }

        .main .header .account-actions {
            display: flex;
            align-items: center;
            margin-left: auto;
            gap: 10px;
        }

    .main .content {
        padding: 20px;
    }

.input-rm15 {
    margin-right: 15px;
}

.btn-right {
    float: right;
    margin-right: 5px;
}

.dialog-row {
    margin-bottom: 10px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1200;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.localization-combo {
    border-radius: 4px;
    border-color: #B3B3B3;
    font-family: OpenSans-Regular;
    font-size: 12px;
    background-color: #FFFFFF;
    border-width: 1px;
    color: #333333;
}

.card-img-top {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 400px;
}

.magnifyingIcon {
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.leftOverImage {
    left: 10px;
    top: 10px;
    position: absolute;
}

.rightOverImage {
    right: 10px;
    top: 10px;
    position: absolute;
}

.e-file-select-wrap {
    display: flex;
    justify-content: center;
}

.e-file-select {
    height: 0px;
}

.e-file-drop {
    display: none;
}

.container {
    max-width: 960px;
}

.pricing-header {
    max-width: 700px;
}

.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;
}

.teaser img {
    max-width: 100%;
}

.teaser h1 {
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.teaser h4 {
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.swiper {
    max-width: 640px;
}

    .swiper img {
        width: 100%;
        height: auto;
    }

.navbar-title {
    padding-left: 2rem !important;
    color: white;
    padding-top: 1rem;
    margin-bottom: 0;
    margin-right: 0px;
    padding-right: 0;
}

.delete-icon:after {
    font-family: "e-icons";
    content: "\e700";
    float: right;
    cursor: pointer;
}

.add-icon:before {
    font-family: "e-icons";
    float: right;
    content: "\e823";
    cursor: pointer;
}

.text-multiline textarea {
    height: 400px !important;
}

textarea.e-control.e-textbox.e-lib {
    resize: none;
}

.photo {
    min-width: 400px;
}

@media (min-width: 1025px) {
    html {
        font-size: 16px;
    }

    .app {
        flex-direction: row;
    }

    .sidebar {
        width: 300px;
        min-width: 300px;
        min-height: 100vh;
    }

        .sidebar .logo {
            justify-content: center;
            padding: 15px 0px;
        }

            .sidebar .logo .navbar {
                display: none;
            }

            .sidebar .logo img {
                height: 90px;
            }

        .sidebar .sidebar-information {
            display: block;
        }

    .main .content {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 40px;
        padding-top: 10px;
    }

    .main .header .account-actions {
        gap: 30px;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .sidebar .scroller button.e-success {
        display: unset;
    }

    .submit-button {
        display: none;
    }
}

.button-row {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
}

.button-col {
    flex: 0 0 auto;
}

.combo-box-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.e-combobox {
    width: 100%;
}

.clear-button {
    background-color: transparent;
    border: none;
    color: black;
    font-size: 14px;
    cursor: pointer;
    margin-left: 5px;
    padding: 0;
}

.clear-button:hover {
    color: darkred;
}

.ellipsis-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}