:root {
    --primary: #124093;
    --secondary: #eee;
    --tertiary: green;
}

body {
    font-family: "Roboto", Arial, sans-serif;
}

::-moz-selection {
    background: #6790da;
    color: white;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, .25);
    border-radius: 4px;
}
::selection {
    background: #6790da;
    color: white;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, .25);
    border-radius: 4px;
}

.primary {
    color: #124093;
    color: var(--primary);
}
.primary-bg {
    background-color: #124093;
    background-color: var(--primary);
}
.secondary {
    color: #eee;
    color: var(--secondary);
}
.secondary-bg {
    background-color: #eee;
    background-color: var(--secondary);
}
.tertiary {
    color: green;
    color: var(--tertiary);
}
.tertiary-bg {
    background-color: green;
    background-color: var(--tertiary);
}


.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.centered {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

nav.navbar {
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

.border-box {
    background-color: #fafafa;
    padding: 12px 15px;
    margin: 1rem 0;
    border: 1px solid #f0f0f0;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
}
.card.transparent-bg {
    border-color: transparent;
    background-color: transparent;
}
.border-box.transparent-bg,
.border-box.with-title {
    border-color: #f0f0f0;
    background-color: transparent;
}
.border-box.with-title {
    padding-top: 20px;
    margin-top: calc(10px + 1rem);
}
.border-box.with-title .border-box-title {
    background-color: white;
    position: absolute;
    top: -10px;
    padding: 0 20px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    color: #aaa;
}

.limit-img-height { /* careful when using above fold, causes layout shift and recalculate */
    max-height: 100%;
    object-fit: cover;
}

footer.default {
    background-color: #293d62;
    background-position: center;
    background-size: cover;
    box-shadow: inset 0px 15px 10px -15px #00000060;
}
footer.default ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer.default h1,
footer.default h2,
footer.default h3,
footer.default h4,
footer.default h5,
footer.default h6 {
    color: #fff;
}
footer.default a {
    color: #aaa !important;
    text-decoration: none;
}
footer.default a:hover {
    text-decoration: underline;
}

footer.default .subfooter {
    color: #999;
    background-color: #243553;
}
footer {
    margin-top: 3rem;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    width: auto;
}

.overlay.active {
    display: flex;
}
.overlay {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1010;
    top: 0;
    left: 0;
    opacity: 0.9;
    background-color: rgba(0, 0, 0, 0.5);
}

iframe[data-src],
iframe {
    display: block;
    object-fit: contain;
    margin: auto;
    min-width: 50%;
    min-height: 200px;
}

h1 .btn,
h2 .btn,
h3 .btn,
h4 .btn,
h5 .btn,
h6 .btn {
    font-size: inherit;
}
