@import url('icons/icons.css');

:root {
    --primary: #124093;
    --secondary: #eee;
    --tertiary: green;
    --drill: #818CA2;
    --oxygen: #009a93;
    --plasma: #951b81;
    --water: #0069b4;
    --laser: #f7a600;
}

.drill { color: #818CA2; color: var(--drill); }
.bg-drill { background-color: #818CA2; background-color: var(--drill); color: white; }
.oxygen { color: #009a93; color: var(--oxygen); }
.bg-oxygen { background-color: #009a93; background-color: var(--oxygen); color: white; }
.plasma { color: #951b81; color: var(--plasma); }
.bg-plasma { background-color: #951b81; background-color: var(--plasma); color: white; }
.water { color: #0069b4; color: var(--water); }
.bg-water { background-color: #0069b4; background-color: var(--water); color: white; }
.laser { color: #f7a600; color: var(--laser); }
.bg-laser { background-color: #f7a600; background-color: var(--laser); color: white; }
.badge.technology { display: inline-block; text-decoration: none !important; border-radius: 2px; list-style: none; }

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;
}


/* Cookie banner styles */
#cookiesnotice {
    background: #124093 !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    padding: 0.6rem 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}
#cookiesnotice .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
#cookiesnotice .row {
    width: 100%;
}
#cookiesnotice button,
#cookiesnotice .btn {
    background: #fff !important;
    color: #124093 !important;
    border: none !important;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}
#cookiesnotice button:hover,
#cookiesnotice .btn:hover {
    background: #e6ecf5 !important;
}

/* Floating back-to-top button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #124093;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #0d2f6e;
    color: #fff;
    transform: translateY(-3px);
}
.back-to-top i {
    font-size: 1.4rem;
}

.fs-7 {
    font-size: 0.85rem;
}
.fs-8 {
    font-size: 0.65rem;
}
.fs-9 {
    font-size: 0.5rem;
}

.section-header {
    min-width: 6rem;
    border-radius: 0 .5rem 0 .5rem;
    font-size: 0.9rem;
    text-align: center;
    background-color: #124093;
    background-color: var(--primary);
    padding: .25rem .75rem;
    color: white;
    display: inline-block;
}

.section-header.header-white {
    background-color: white;
    color: var(--primary);
}

.btn.btn-redesign {
    border-radius: 0 .5rem 0 .5rem;
}
.btn.btn-redesign-inverse {
    border-radius: .5rem 0 .5rem 0;
}
