﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Aptos', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.login-display {
    display: flex;
    justify-content: space-between;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: url(../assets/images/paper-1.png);
}

footer {
    padding: 0 1rem 0 0;
    text-align: right;
}

    footer p {
        margin: 0 0 0 0;
    }

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    background: url(../assets/images/paper-1.png);
    background-size: auto;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        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;
        }

.sidebar {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: white;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .navbar-flex {
        flex-direction: column !important
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

/*        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }
*/
/*        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }
*/

@media (min-width: 320px) {
    .sidebar .nav-item a {
        color: #30363D;
        height: 3rem;
        display: flex;
        align-items: center;
        font-weight: 700;
        font-size: 14px;
    }
}


@media (min-width: 992px) {
    .sidebar .nav-item a {
        color: #30363D;
        height: 3rem;
        display: flex;
        align-items: center;
        font-weight: 700;
        font-size: 11px;
    }

    .logout-btn {
        text-transform: uppercase;
        font-weight: 700;
        color: #30363D;
        font-size: 11px;
    }
}

@media (min-width: 1142px) {
    .sidebar .nav-item a {
        color: #30363D;
        height: 3rem;
        display: flex;
        align-items: center;
        font-weight: 700;
        font-size: 14px;
    }

    .logout-btn {
        text-transform: uppercase;
        font-weight: 700;
        color: #30363D;
        font-size: 14px;
    }
}

@media (min-width: 1440px) {
    .sidebar .nav-item a {
        color: #30363D;
        height: 3rem;
        display: flex;
        align-items: center;
        font-weight: 700;
        font-size: 16px;
    }

    .logout-btn {
        text-transform: uppercase;
        font-weight: 700;
        color: #30363D;
        font-size: 16px;
    }
}



.sidebar .nav-item a.active {
    background-color: #D1DA40;
    color: #30363D;
}

.sidebar .nav-item a:hover {
    background-color: #D1DA40;
    color: #30363D;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px 10px 15px 10px;
}

    .navbar-toggler:focus,
    .navbar-toggler:hover {
        outline: 0;
    }

.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: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@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: 992px) {
    app {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        top: 0;
    }

        .sidebar .navbar-flex {
            flex-direction: row !important
        }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar-expand-md .navbar-toggler {
        display: none;
    }

    .navbar-expand-md .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .order-md-0 {
        -ms-flex-order: 0;
        order: 0;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .navbar-expand-md .navbar-collapse-custom {
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
}

.navbar-collapse-custom {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 991px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        top: 0;
    }

    .navbar-expand-md {
        flex-wrap: wrap;
        justify-content: space-between;
    }

        .navbar-expand-md .navbar-toggler {
            display: block;
        }

        .navbar-expand-md > .collapse {
            display: none !important;
        }

        .navbar-expand-md .navbar-collapse-custom {
            display: block;
            -ms-flex-preferred-size: auto;
            flex-basis: 100%;
        }

        .navbar-expand-md .navbar-nav {
            -ms-flex-direction: column;
            flex-direction: column;
        }

    .order-md-0 {
        -ms-flex-order: 1;
        order: 1;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
    }
}

.wrapper {
    width: 100%;
    height: 100%;
}

@media (min-width: 1320px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1580px;
    }
}

.table-skills {
    margin: 0 20px;
}


    .table-skills ul {
        padding: 0;
        list-style: none;
        margin: 0 0 10px 0;
    }

        .table-skills ul li {
            margin-bottom: 10px;
            border: 1px solid darkgray;
            background-color: white;
        }

            .table-skills ul li ul {
                margin: 0;
                border-bottom: 1px solid darkgray;
            }

                .table-skills ul li ul li {
                    border: 0px solid darkgray;
                    margin-bottom: 0;
                }

.table-skills-group {
    background-color: #e6ecef;
    padding: 8px 12px;
    width: 100%;
}

.table-skill-group li {
    margin: 0;
    border-top: 1px solid darkgray;
    border-left: 0px solid darkgray;
    border-right: 0px solid darkgray;
}

.table-skills-subgroup {
    background-color: white;
    padding: 8px 8px 8px 28px;
    width: 100%;
    border-top: 1px solid darkgray;
}

.table-skills-validate {
    background: #ffd900;
    width: 100%;
}

.skill-validate-border-first {
    border-bottom: 0px solid #DADADA;
    border-top: 1px solid #DADADA;
    border-left: 0px solid #DADADA;
    border-right: 1px solid #DADADA;
}

.skill-validate-border {
    border-bottom: 0px solid #DADADA;
    border-top: 1px solid #DADADA;
    border-left: 1px solid #DADADA;
    border-right: 0px solid #DADADA;
}

.table-skills-skill {
    border-top: 1px solid darkgray;
    padding: 8px 80px 8px 8px;
}

.border-top-skill {
    border-top: 1px solid darkgray;
}

.btn-border-radius {
    border-radius: 30px;
}

.bubble {
    height: 30px;
    width: 30px;
    padding: 3px;
}

.form-control-custom {
    height: 50px;
    color: black;
    background-color: white;
}

table {
    width: 100%;
}

    table th {
        padding: .75rem;
        border: none;
        vertical-align: bottom;
    }

    table td {
        padding: .75rem;
        border: none;
        vertical-align: top;
    }

hr {
    border: 1px solid #fce406;
    margin-left: 10px;
    margin-right: 10px;
}

.btn-style {
    color: white;
    padding: 5px 15px 5px 15px;
    background: #0173bc;
    width: 100%;
    border: 1px solid #0173bc;
    border-radius: 25px;
}

    .btn-style:hover {
        color: white;
        padding: 5px 15px 5px 15px;
        background: #0173bc;
        width: 100%;
        border: 1px solid #0173bc;
        border-radius: 25px;
    }

@media (min-width: 992px) {
    .btn-style-support {
        color: black;
        padding: 5px 40px 5px 40px;
        background: white;
        border: 1px solid black;
        border-radius: 25px;
        text-align: center;
        min-width: 50%;
    }
}

@media (max-width: 991px) {
    .btn-style-support {
        color: black;
        padding: 5px 40px 5px 40px;
        background: white;
        border: 1px solid black;
        border-radius: 25px;
        text-align: center;
        min-width: 100%;
    }
}

.score {
    margin-right: 10px;
    background: grey;
    border-radius: 25px;
    padding: 4px 10px;
    position: absolute;
    top: 5px;
    right: 35px;
    width: auto;
}

.user-comment {
    color: grey;
}

.score-color-acquired {
    color: #D1DA40;
}

.score-color-not-acquired {
    color: white;
}

.yellow {
    color: #FFCC00;
}

.green {
    color: #D1DA40;
}

.smaller-font {
    font-size: smaller;
}

.support-list li {
    margin-bottom: 5px;
    margin-top: 5px;
}

    .support-list li a {
        position: relative;
    }

        .support-list li a img {
            position: absolute;
            top: 8px;
            left: 15px;
        }

.result-chart {
    font-size: x-large;
    font-weight: 700;
}


.logo-bjorg {
    width: 100px;
}

@media (min-width: 992px) {
    .border-line {
        border-bottom: none;
    }
}

@media (max-width: 991px) {
    .border-line {
        border-bottom: 1px solid #D1DA40;
    }
}

.position-relative-grid {
    position: relative;
}


.panel-heading {
    display: flex;
}

    .panel-heading div:first-child {
        flex: 1;
        display: flex;
    }

.panel-header button {
    flex-shrink: 0;
}

.grid-expander {
    position: absolute;
    top: 5px;
    right: 5px;
}

.switch {
    display: inline-block
}

.slider {
    width: 3rem;
    height: 1.5rem;
    background-color: #CBD5E0;
    border-radius: 30px;
    transition: background-color 250ms ease 0s;
}

.thumb {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #FFFFFF;
    border-radius: 50%;
    border: 1px solid darkgray;
    transition: transform 250ms ease 0s;
}

.checkbox {
    /* visually hidden */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

    .checkbox:focus + .slider {
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
    }

    .checkbox:checked + .slider {
        background-color: #d1da40;
    }

        .checkbox:checked + .slider .thumb {
            transform: translateX(1.5rem)
        }

    .checkbox:disabled + .slider {
        opacity: 0.25;
    }

.form-control:disabled, .form-control[readonly] {
    background-color: #DDD; /*#bfc0c1;*/
}

.box-shadow-dropdown {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.label-new-project {
    padding-left: .75rem;
    padding-bottom: .75rem;
}

.align-text-right {
    text-align: right;
}

@media(max-width: 767px) {
    .no-padding {
        padding: 0;
    }
}

.plr-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.bubble-score {
    background: #ffffff;
    text-align: center;
    padding: 3px 10px;
    border-radius: 15px;
    display: inline-block;
    color: black;
}

.bubble-back-color {
    background: #FFCC00;
}

.no-padding-right {
    padding-right: 0;
}

.custom-padding {
    padding: 5.5px;
}

@media (min-width: 320px) {

    .container-table-progress {
        overflow-x: scroll;
        overflow-y: hidden;
        margin-left: 150px;
    }

    .headerprogress {
        width: 150px;
        height: 39px;
        position: absolute;
        left: 0;
        top: auto;
        font-weight: 400;
        font-size: 11px;
        overflow: hidden;
    }

    .headerprogress-title {
        font-size: 12px;
        text-transform: uppercase;
        padding: 3px 10px;
        font-weight: 400;
    }

    .font-size-small {
        font-size: 10px;
    }
}

@media (min-width: 425px) {

    .container-table-progress {
        overflow-x: scroll;
        overflow-y: hidden;
        margin-left: 150px;
    }

    .headerprogress {
        width: 150px;
        height: 39px;
        position: absolute;
        left: 0;
        top: auto;
        font-weight: 400;
        font-size: 11px;
        overflow: hidden;
    }

    .headerprogress-title {
        font-size: 12px;
        text-transform: uppercase;
        padding: 3px 10px;
        font-weight: 400;
    }

    .font-size-small {
        font-size: 10px;
    }
}

@media (min-width: 732px) {
    .container-table-progress {
        overflow-x: scroll;
        overflow-y: hidden;
        margin-left: 150px;
    }

    .headerprogress {
        width: 150px;
        height: 39px;
        position: absolute;
        left: 0;
        top: auto;
        font-weight: 400;
        font-size: 11px;
        overflow: hidden;
    }

    .headerprogress-title {
        font-size: 12px;
        text-transform: uppercase;
        padding: 3px 10px;
        font-weight: 400;
        margin-top: -0.4px;
    }

    .font-size-small {
        font-size: 10px;
    }
}

@media (min-width: 768px) {

    .container-table-progress {
        overflow-x: scroll;
        overflow-y: hidden;
        margin-left: 300px;
    }

    .headerprogress {
        width: 300px;
        height: 39px;
        position: absolute;
        left: 0;
        top: auto;
        font-weight: 400;
        font-size: 12px;
        overflow: hidden;
    }

    .headerprogress-title {
        font-size: 14px;
        text-transform: uppercase;
        padding: 3px 10px;
        font-weight: 400;
        margin-top: 0px;
    }

    .font-size-small {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {

    .container-table-progress {
        overflow-x: scroll;
        overflow-y: hidden;
        margin-left: 600px;
    }

    .headerprogress {
        width: 600px;
        height: 39px;
        position: absolute;
        left: 0;
        top: auto;
        font-weight: 400;
        font-size: 16px;
        overflow: hidden;
    }

    .headerprogress-title {
        font-size: 16px;
        text-transform: uppercase;
        padding: 3px 10px;
        font-weight: 400;
    }

    .font-size-small {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .mobileCollapse {
        display: none;
        width: 0;
        height: 0;
        opacity: 0;
        visibility: collapse;
    }
}

.table-progress td {
    height: 39px;
    width: 50px;
}

.table-progress th {
    padding: 3px 9px;
}

@media (min-width: 992px) {
    .mobile-progress-div {
    }

    .mobile-progress {
    }

    .progress-section-title {
        margin-top: 20px;
    }

    .cross-mobile-progress {
        display: none;
    }
}

@media (max-width: 991px) {
    .mobile-progress-div {
        text-align: center;
    }

    .mobile-progress {
        display: none;
    }

    .progress-section-title {
        background: #d1da40;
        padding: 8px;
        position: relative;
        margin: 0;
    }

    .cross-mobile-progress {
        position: absolute;
        top: 8px;
        right: 20px;
        color: black;
    }
}

.top-border-yellow {
    border-top: 1px solid #ffd900;
}

.border-progress {
    border-left: 1px solid #DADADA;
}

.text-align-center {
    text-align: center;
}

.bg-white {
    background: white;
}

.height-column {
    height: 39px;
}

.comment-li {
    padding: 8px 8px;
    background: #bfc0c1;
    margin-top: 5px;
    border-radius: .25rem;
}

.comment-ul {
    list-style: none;
    padding: 0;
}

.focus-line-table {
    background: white;
}

    .focus-line-table:focus {
        background: #b9e2ff;
    }

    .focus-line-table:hover {
        background: #b9e2ff;
    }


.selected-line-table {
    background: #b9e2ff;
}

.report-comment-text-area {
    height: 10em !important;
}

.support-line-break {
    white-space: pre-line !important;
}


.report input[type="date"] {
    margin: 0 20px;
    width: calc(100% - 40px);
}

.report select {
    margin: 0 20px;
    width: calc(100% - 40px);
}


.select-mastery-popup {
    width: 150px;
}


.skill-master-legend-container {
    margin: 10px 20px;
}

.mastery-legend {
    display: flex;
    justify-content: center
}

    .mastery-legend ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 90%
    }

        .mastery-legend ul.vertical {
            display: block;
            width: 100% !important;
        }

            .mastery-legend ul.vertical li {
                width: 100%;
            }

        .mastery-legend ul li {
            display: flex;
            align-items: center;
            width: 25%;
            font-size: 0.7rem;
            margin: 2px;
            cursor: pointer;
        }

            .mastery-legend ul li .item {
                width: 25%;
                height: 40px;
                border: 2px solid black;
            }

            .mastery-legend ul li b {
                padding: 5px;
                max-width: 65%
            }


.report-poses input {
    display: inline-block;
    height: 38px;
}


.aim {
    display: flex;
}

    .aim input {
        flex: 1;
        margin-right: 10px;
    }

aim button {
    flex-shrink: 0;
}

.align-bottom {
    display: flex;
    flex-direction: column;
}
    
.report-poses label
{
    margin: 10px 0 0 20px;
}

.report-poses textarea {
    height: 65px;
    margin: 0 20px 10px 20px;
    box-sizing: border-box;
    width: calc(100% - 40px);
}

.report-comments textarea {
    height: 65px;
    margin: 0 20px;
    box-sizing: border-box;
    width: calc(100% - 40px);
}

.email-section {
    margin-top: auto;
    margin-bottom: 48px;
}

.email-recipents {
    border: 1px solid black;
    padding: 10px;
    background-color: white;
    max-height: 200px;
    overflow-y: scroll;
    margin: 0 20px;
}

    .email-recipents.disabled {
        background-color: #bfc0c1 !important;
    }


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tooltip-container {
    position: fixed;
    cursor: auto;
    background: white;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid darkgray;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    /* Position next to element */
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
}

.tooltip-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Arrow pointing to the element */
.tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #333;
}
