:root {
    --primary: #001c2e;
    --primary-dark: #001c2e;
    --secondary: #D0D9DF;
    --tertiary: #f7f7f7;
    --overlay-color: rgba(0, 28, 46, 0.93);
    --menu-speed: 500ms;
}

html * {
    font-family: 'Montserrat', sans-serif;
}

.progress-bar {
	background-color: var(--primary);
	border-radius: 1.25rem;
}

.progress {
	border-radius: 1.25rem;
}

.text-warning-dark {
	color: #836F06;
}

a, .btn-link {
    color: #0366d6;
}

.container {
    margin-top: 64px;
    margin-bottom: 75px;
}

.main-icon {
    width: 55px;
    height: 55px;
}

.mobile-icon {
    width: 45px;
    height: 45px;
}

.medium-modal-width {
    width: 900px;
}

.narrow-modal-width {
    width: 450px;
}

.constrain-modal {
    max-height: calc(100vh - 20rem);
    overflow-y: scroll;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

    .btn-primary:hover {
        background-color: #4a6e85;
        border-color: #4a6e85;
    }

.btn-primary-outline {
    border-color: var(--primary);
}

.btn-primary:focus {
    background-color: var(--primary);
    box-shadow: none;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

    .btn-outline-primary:hover {
        color: #fff;
        background-color: var(--primary);
        border-color: var(--primary);
    }

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgb(74 110 133 / 50%);
}

.btn {
    border-radius: 15px;
}

.btn-fixed-width {
    width: 390px;
}

.fixed-text-block {
    width: 255px;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
    overflow-x: hidden;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../Pictures/Church.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    #bg img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        min-width: 50%;
        min-height: 50%;
    }

.full-height {
    height: 100%
}

.church-image {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
}

#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;
    }



/* navigation styles*/

body {
    margin: 0;
    background: #FFF;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

header {
    background: var(--primary);
    text-align: left;
    align-items: center;
	display:flex;
	flex-direction: row;
    min-height: 50px;
    color: white;
    position: fixed;
    z-index: 90;
    width: 100vw;
}

.logo {
    margin-left: 10px;
    margin-top: 8px;
}

.church-banner-image {
	width: 140vw;
	transform: translate(-9px, 0px);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    position: absolute;
    top: 0;
    right: 10px;
    height: 100%;
    display: flex;
    align-items: center;
}

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: white;
        height: 2px;
        width: 2em;
        border-radius: 2px;
        position: relative;
    }

        .nav-toggle-label span::before,
        .nav-toggle-label span::after {
            content: '';
            position: absolute;
        }

        .nav-toggle-label span::before {
            bottom: 7px;
        }

        .nav-toggle-label span::after {
            top: 7px;
        }

nav {
    position: absolute;
    text-align: center;
    top: 100%;
    left: 0;
    background: var(--primary);
    width: 100%;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 400ms ease-in-out;
}

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    nav li {
        margin-bottom: 1em;
        margin-left: 1em;
    }

    nav a {
        color: var(--secondary);
        text-decoration: none;
        font-size: 1.2rem;
        text-transform: uppercase;
        opacity: 0;
        transition: opacity 150ms ease-in-out;
    }

        nav a:hover {
            color: white;
            text-decoration: none;
        }

.nav-toggle:checked ~ nav {
    transform: scale(1, 1);
}

    .nav-toggle:checked ~ nav a {
        opacity: 1;
        transition: opacity 250ms ease-in-out 250ms;
    }

.nav-toggle:checked ~ label {
    transform: scale(1, 1);
}

.nav-toggle:checked ~ label {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
}

.show-on-md {
    visibility: hidden;
}

@media screen and (min-width: 962px) {

    .show-on-mobile {
        visibility: hidden;
    }

    .show-on-md {
        visibility: visible;
    }

    .nav-toggle-label {
        display: none;
    }

    header {
        display: grid;
        grid-template-columns: 7fr auto 750px 1fr;
    }

    .logo {
        text-align: start;
        margin-left: .5em;
        letter-spacing: -0.5px;
    }

	.church-banner-image {
		width: 100vw;
		transform: none;
	}

    nav {
        all: unset;
        grid-column: 3/4;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

        nav ul {
            display: flex;
            justify-content: flex-end;
        }

        nav li {
            margin-left: 2em;
            margin-bottom: 0;
        }

        nav a {
            opacity: 1;
            position: relative;
        }

            nav a::before {
                content: '';
                display: block;
                height: 5px;
                border-radius: 10px;
                background: #B4BAD4;
                position: absolute;
                bottom: -.50em;
                left: 0;
                right: 0;
                transform: scale(0, 1);
                transition: transform ease-in-out 250ms;
            }

            nav a:hover::before {
                transform: scale(1, 1);
            }
}

/* Bulletin List*/
.generic_feature_list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .generic_feature_list ul li {
        font-family: "Montserrat",sans-serif;
        font-size: 16px;
        padding: 5px 0;
        transition: all 0.3s ease-in-out 0s;
    }

        .generic_feature_list ul li .fa {
            padding: 0 10px;
        }

    .generic_feature_list ul li {
        color: #a7a7a7;
    }

        .generic_feature_list ul li span {
            color: #414141;
        }

.e-btn {
    border-radius: 15px !important;
}

.overlay-text {
    color: lightgray;
    font-size: 24px;
    margin-top: -50px;
    margin-bottom: 50px;
}

.blazored-toast-container {
    z-index: 100 !important;
}

.blazored-toast-info {
    background-color: var(--primary) !important;
}

.transcription-area {
    height: 450px;
    overflow: auto;
}

.alert {
    border-radius: 15px;
}

.fade-in {
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
}

.tag {
    opacity: 0;
    transform: translate(0, 10vh);
    transition: all 1s;
}

    .tag.visible {
        opacity: 1;
        transform: translate(0, 0);
    }


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


@media print {
	header {
		display: none;
	}

	.hide-on-print {
		display: none;
	}

	.main .container {
		margin-left: 0px;
		padding-right: 0px;
		max-width: max-content;
	}
}

.badge {
	cursor: pointer;
	font-size: 83%;
	font-weight: 500;
}

.badge-primary {
	cursor: pointer;
	background-color: var(--primary);
}

.badge-light {
	cursor: pointer;
	background-color: var(--tertiary);
}

.btn.focus, .btn:focus {
	outline: 0;
	box-shadow: none;
}

.form-control {
    border-radius: 15px;
}

    .form-control:focus {
        border-color: var(--tertiary);
        outline: 0;
        box-shadow: 0 0 0 0.1rem rgba(0,28,46, .25);
    }


.sitemessage {
	white-space: nowrap;
	animation: floatText 10s infinite linear;
	padding-left: 10%; /*Initial offset*/
}

	.sitemessage:hover {
		animation-play-state: paused;
	}

@keyframes floatText {
	to {
		transform: translateX(-100%);
	}
}

