﻿/*----------------------------------------------
1. Input group append
----------------------------------------------*/
.input-group-text {
    color: #6c757d !important;
    background-color: #ffffff !important;
    border-bottom-left-radius: 4px !important;
    border-top-left-radius: 4px !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none;
    border-right: 1px solid #6c757d;
    width: inherit !important;
    display: flex;
    justify-content: center;
}

.input-group-append {
    width: 135px !important;
}

.text-truncation {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.badge {
    white-space: normal !important;
    text-align: start !important;
    line-height: 1.5 !important;
}

/*----------------------------------------------
2. Form control
----------------------------------------------*/
.odd .form-control {
    background-color: rgba(0,0,0,0.07);
    color: #000000 !important;
}

/*----------------------------------------------
3. reCAPTCHA
----------------------------------------------*/

.grecaptcha-badge {
    bottom: 90px !important;
}

/*----------------------------------------------
4. Other
----------------------------------------------*/
.border-right-primary {
    border-right: 1px solid #C41E3A !important;
}

.coworker-description a {
    color: var(--black-color) !important;
    text-underline-offset: 0.2em;
    background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0) 50%, #C41E3A 50%, #C41E3A);
    background-size: 100% 200%;
    transition: text-decoration-color 300ms, text-underline-offset 300ms, background 300ms, color 300ms;
}

    .coworker-description a:hover {
        text-decoration-color: #C41E3A !important;
        text-underline-offset: -0.9em;
        background-position: 100% 100%;
        color: var(--white-color) !important;
    }

.project-information {
    background-color: rgba(245, 245, 245, 0.95);
    border-radius: 15px;
    padding: 20px
}

body {
    background-color: var(--white-color) !important
}

strong a {
    text-decoration: underline !important;
}

.umb-block-grid__layout-item li a {
    text-decoration: underline !important;
}

.row ul:not([class]) li a {
    text-decoration: underline !important;
}

html {
    scroll-behavior: smooth;
}

.featured-card {
    background-color: rgba(245, 245, 245, 0.95);
    padding: 3rem !important;
    border-radius: 10px;
    width: auto !important;
    max-width: 100%;
}

.bg-medium-dark {
    background-color: var(--header-bg-color) !important;
}

/* Top navbar: dark bg needs white text */
.navbar-expand.top .navbar-nav .nav-item a:not(.btn),
.navbar-expand.top .navbar-nav .nav-item .nav-link,
.navbar.top .nav-link {
    color: #FFFFFF !important;
}

/* Sub navbar: light bg needs dark text */
.navbar.sub .navbar-nav .nav-item a:not(.btn) {
    color: #1A1A1A !important;
}

.navbar.sub .navbar-nav .nav-item a:not(.btn):hover {
    color: #C41E3A !important;
}

/* Sub navbar: white background for Activator light theme */
header .navbar-expand.sub,
header .navbar-sticky.sub {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #F5F5F5;
}

/* Dropdown menus: light background */
.navbar.sub .dropdown-menu {
    background-color: #FFFFFF !important;
}

.navbar.sub .dropdown-menu .nav-item a {
    color: #1A1A1A !important;
}

.navbar.sub .dropdown-menu .nav-item a:hover {
    color: #C41E3A !important;
}

/*Card odd background color */
.odd:not(.custom) .card:not(.no-hover) {
    background-color: rgba(242, 242, 242, 0.95) !important
}

/* Section-3 (dark accent): white text for contrast */
.section-3,
.section-3 h1, .section-3 h2, .section-3 h3, .section-3 h4, .section-3 h5,
.section-3 p, .section-3 a:not(.btn), .section-3 span, .section-3 li {
    color: #FFFFFF !important;
}

.section-3 a:not(.btn):hover {
    color: #C41E3A !important;
}

@media(max-width: 374px) {
    /* #region General */

    body h1, body .slide-content .title {
        font-size: 1.5rem !important;
    }

    /* #endregion General */
}

/*Rich text editor styles*/

table {
    width: 100%;
}

    table th {
        font-weight: bold;
        padding: 5px;
    }

    table td {
        padding: 5px;
    }



.heading.sm {
    font-weight: bold;
    font-size: 12px;
}


.heading {
    font-weight: bold;
    font-size: 20px;
}

    .heading.lg {
        font-weight: bold;
        font-size: 24px;
    }

.secondary-heading.sm {
    font-size: 12px;
}


.secondary-heading {
    font-size: 18px;
}

    .secondary-heading.lg {
        font-size: 22px;
    }

.intro.sm {
    font-size: 18px;
}

.intro {
    font-size: 20px;
}

    .intro.lg {
        font-size: 24px;
    }

.quote.sm {
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
}

.quote {
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
}

    .quote.lg {
        font-weight: bold;
        font-style: italic;
        font-size: 24px;
    }

.image.img-max {
    width: auto;
    float: none;
    margin: 0 0 30px;
}

.image.img-full {
    width: auto;
    float: none;
    margin: 0 0 30px;
}

.image.img-left {
    width: auto;
    float: left;
    margin: 10px 30px 30px 0;
}

.image.img-right {
    width: auto;
    float: right;
    margin: 10px 0 30px 30px;
}

.image.img-rounded.rounded,
.image.img-rounded.rounded > img {
    border-radius: 5px;
}


.image.img-rounded-circle.rounded-circle,
.image.img-rounded-circle.rounded-circle > img {
    border-radius: 50%;
}

.small {
    font-size: 85%;
}

.label {
    background-color: var(--primary-b-color);
    color: var(--primary-color);
    padding: 1px 3px;
    display: inline-block;
    border-radius: 3px;
}

.scrollable {
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.scrollable::-webkit-scrollbar {
    display: none;
}

h1 > a,
h2 > a,
h3 > a,
h4 > a,
h5 > a{
    font-size: inherit !important;
}

.parallax-y-bg {
    min-height: 100vh !important;
}

/* Featured */
.featured-text {
    position: relative;
    display: inline-block;
    padding: 3px 6px;
    color: var(--primary-color);
}

.odd .featured-text {
    color: var(--primary-color);
}

.featured-text:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-color: var(--primary-color);
    opacity: 0.15;
}

.odd .featured-text:before {
    background-color: var(--primary-color);
}

.featured-text span {
    position: relative;
}