video {
    flex: 0 1 100%;
    object-fit: fill; /* over-ride "object-fit: contain" only for webkit as it doesn't honour the ratio */
    overflow-clip-margin: 1em;
    overflow: hidden;
}

#map {
    min-height: 600px;
}

.cima-video {
    width: 600px;
    height: 400px;
}

@media only screen and (max-device-width: 480px) {
    /* define mobile specific styles come here */
    .cima-video {
        width: 100%;
        height: 100%;
    }
}

.marker {
    background-color: green;
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}


.blob {
    border-radius: 50%;
    margin: 10px;

    height: 30px;
    width: 30px;
    cursor: pointer;
}

@keyframes pulse-black {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.blob.white {
    background: white;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.blob.red {
    background: rgba(255, 82, 82, 1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

.blob.green {
    background: rgba(51, 217, 178, 1);
    box-shadow: 0 0 0 0 rgba(51, 217, 178, 1);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(51, 217, 178, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(51, 217, 178, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(51, 217, 178, 0);
    }
}


.recording-circle {
    opacity: 0.1;
    border-radius: 50%;
    margin: 10px;
    height: 10px;
    width: 10px;
    cursor: pointer;
    background: rgba(255, 82, 82, 1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
    animation: pulse-red 2s infinite;
}


.mud-input {
    font-size: var(--mud-typography-default-size);
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: var(--mud-typography-default-size);
}

.mud-expand-panel .mud-expand-panel-header {
    font-size: var(--mud-typography-subtitle1-size);
}

.mud-button-year {
    font-size: var(--mud-typography-default-size);
}

.mud-table-cell {
    font-size: var(--mud-typography-default-size);
}

.mud-typography-body1 {
    font-size: var(--mud-typography-body1-size);
}

.mud-typography-body2 {
    font-size: var(--mud-typography-body2-size);
}

.mud-button-outlined-size-small {
    font-size: var(--mud-typography-body2-size);
}

#blazor-error-ui {
    background-color: lightyellow;
    color: black;
    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;
    padding: 0.6rem 1.75rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

#reconnect-modal {
    background: lightyellow;
    background-color: var(--mud-palette-warning-hover);
    color: var(--mud-palette-warning-darken);
    top: 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;
    padding: 0.6rem 1.75rem 0.7rem 1.25rem;
    margin: 0px;
    position: fixed;
    width: 100%;
    z-index: 9999;
}


.mud-nav-link {
    white-space: normal !important;
}

.user-button {
    text-transform: none;
    background: rgba(var(--mud-palette-primary-rgb), 0.1)
}

.side-menu .mud-chip.mud-chip-size-small {
    font-size: 0.625rem;
    height: 1.125rem;
}

.mud-switch-label-medium {
    font-size: var(--mud-typography-default-size) !important;
    
}
.page-brighterside-logo {
    width: 194px;
    height: 46px;
}

.golden-background {
    background-color: #deb247
}
.golden-background:hover {
    background-color: #deb247
}

.golden-background:active {
        background-color: #deb247
}

.golden-background:focus {
     background-color: #deb247
 }

.golden-border {
    border: 1px solid #deb247 !important;
}


.docs-footer-outer {
    margin-top: auto;
    width: 100%;
    border-top: 10px solid #deb247;
    background-color: #AED6F1;
    margin-left: 0px;
    margin-right: 0px;
}

.docs-footer {
    /*width: 100%;
    background-color: #AED6F1;
    margin-left: 0px;
    margin-right: 0px;*/
}

.spacer {
    flex: 1;
}
.mud-main-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* Flip Animation */
.flip-container {
    perspective: 1000px;
    cursor: pointer;
    width: 100%;
    max-width: 650px;
}

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    min-height: 250px;
}

.flipped {
    transform: rotateY(180deg);
}

.front, .back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 250px;
}

.back {
    transform: rotateY(180deg);
}

/* Flashcard Styling */
.flashcard {
    width: 100%;
    max-width: 100%;
    min-height: 250px;
    max-height: 500px;
}

.flashcard-content {
    padding: 16px;
    overflow-y: auto;
    max-height: 100%;
    width: 100%;
    word-wrap: break-word;
}


@media print {
    .no-print {
        display: none
    }

    * {
        -webkit-print-color-adjust: exact;
    }
    /* Reset general styles for printing */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* Body font styles */
    body {
        font-size: 12px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 1.5;
    }

    h1 {
        font-size: 32px;
        font-weight: bold;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }

    h2 {
        font-size: 28px;
        font-weight: bold;
        letter-spacing: -0.4px;
        line-height: 1.3;
    }

    h3 {
        font-size: 24px;
        font-weight: bold;
        letter-spacing: -0.3px;
        line-height: 1.3;
    }

    h4 {
        font-size: 20px;
        font-weight: bold;
        letter-spacing: -0.2px;
        line-height: 1.4;
    }

    h5 {
        font-size: 18px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 1.4;
    }

    h6 {
        font-size: 16px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 1.5;
    }

    .body1 {
        font-size: 16px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 1.5;
    }

    .body2 {
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 1.5;
    }

    .subtitle1 {
        font-size: 16px;
        font-weight: bold;
        letter-spacing: 0.1px;
        line-height: 1.5;
    }

    .subtitle2 {
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 0.1px;
        line-height: 1.5;
    }

    .page-content {
        display: block !important;
        page-break-inside: avoid !important;
        transition: none !important;
    }

    .print-group-header {
        background-color: #E0E0E0;
    }

    .print-group {
        border: 1px solid #989898 !important;
    }


    .human-body {
        border: 1px solid black !important;
        background-image: url("_content/Brighterside.ComponentLib/images/humanbody.JPG");
        background-repeat: no-repeat;
        background-size: cover;
    }

    @page {
        @bottom-right {
            content: counter(page) " of " counter(pages);
        }

        @top-right {
            content: '';
        }
    }
}