@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css?family=Shadows+Into+Light+Two');
@import url('https://fonts.googleapis.com/css?family=Cookie');
@import url('https://fonts.googleapis.com/css?family=Raleway');
@import url('https://fonts.googleapis.com/css?family=Roboto');

html, body {
    font-family: 'Raleway', Helvetica, Arial, sans-serif;
    background-color: #283d3b !important;
    color: #edddd4;
}

html, body, app, .content {
    overflow: auto;
    height: 100%;
}


 

.badge-credits {
    margin-left: 0 !important;
    padding-left: 2px;
    background-color: none !important;
    color: #edddd4 !important;
}

    .badge-credits:hover {
        color: #edddd4;
    }


.user-bar {
    color: #edddd4 !important;
    background-color: rgba(40,61,59,85%) !important;
    border: none;
}

    .user-bar .navbar-brand {
        margin-right: 0;
    }

.nav-profile-photo {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
}

.navbar-brand {
    text-align: left;
    font-size: 2.5rem;
    color: #edddd4;
}

button[type='reset'] {
    margin-right: 1.5rem;
}

.buttons-event {
    padding: 0;
}

a:hover {
    color: #edddd4;
}

.table td, .table th {
    padding: 0.75rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

thead {
    background-color: rgba(237,221,212,0.15);
}

td[data-toggle="tooltip"] {
    cursor: pointer;
}

h1 {
    font-family: "Cookie";
}

body::before {
    content: "";
    background: url(../images/christmasphoto.jpg) no-repeat center center fixed;
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.85;
}


a, .btn-link {
    color: #0366d6;
}
.toggle-link {
    border-radius: 0.25rem;
    font-weight: bold;
    background-color: rgba(237,221,212,0.15);
    cursor: pointer;
    padding: 0.2rem;
}

.btn-primary {
    color: #fff;
    background-color: #C44536;
    border-color: #772325;
    min-width: 110px;
}

    .btn-primary:hover {
        background-color: #edddd4;
        color: #283d3b;
        box-shadow: none;
        border-color: #772325;
    }

    .btn-primary:not(:disabled):not(.disabled):active {
        background-color: #edddd4;
        color: #283d3b;
        box-shadow: none;
        border-color: #772325;
    }

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

    .main .top-row {
        height: 3.5rem;
        display: flex;
        align-items: center;
        background-color: #0000aaaa;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.content {
    padding-top: 1.1rem;
}

.container {
    background-color: rgba(40,61,59,85%);
    margin: 0%;
    padding: 2%;
    max-width: 100%;
    border-radius: 0.25rem;
    overflow-y: auto;
}

    .container .header-row {
        height: 3.5rem;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

.blazor-context-menu {
    color: initial;
}

.table {
    color: unset;
}

    .table .table-danger {
        background-color: #ddddaa;
    }

        .table .table-danger > td {
            color: #111;
            background-color: unset;
        }



.navbar-toggler {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-brand-title {
    font-size: 3rem;
    font-family: 'Cookie';
    color: #Edddd4;
}

.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 #000000;
    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: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.form-control-check {
    height: 1.5rem;
    width: 2rem; 
}

.label-wrapper {
    white-space: nowrap;
}

    .label-wrapper > label {
        vertical-align: top;
        min-width: 200px;
    }


.ql-editor > h1 {
    font-family: sans-serif;
}

.group-box {
    border: 1px dashed rgba(237,221,212,0.20);
    border-radius: 3pt;
    margin-bottom: 2rem;
    padding: 10pt;
    overflow-y: auto;
}

.reload {
}

.modal {
    background-color: rgba(40,61,59,85%);
    color: black;
}

    .modal .modal-content {
        border: 1px solid #edddd4;
    }


@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .target-picture {
        max-width: 300px;
        max-height: 300px;
    }
}
