﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

pre.rebootFont {
    /*https://getbootstrap.com/docs/4.0/content/reboot/#native-font-stack*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin-bottom: 0;
    font-size: 1rem;
    color: #373a3c; /* #charcoal-grey */
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a,
.text-dark,
footer a.nav-link,
body
{
    color: #373a3c; /* #charcoal-grey */
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
}
h1 {
    margin-bottom: 1.5rem;
}


.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-secondary {
    color: #1c7cd5; /*#water-blue*/
    background-color: #fff;
    border-block-color: #1c7cd5;
}

.btn-icon {
    border-radius: 100%;
    padding: 0;
    height: 1.25rem;
    width: 1.25rem;
    font-size: 0.5rem;
}

label .btn-icon{
    margin-left: 0.5rem;
}

tbody .btn {
    padding: 3px 6px;
    margin: -6px 0;
    width: 100%;
}

label.btn-ask, label.btn-confirm {
   margin-bottom: 0;
}

input[type="checkbox"]:checked ~ .btn-ask {
    display: none;
}

input[type="checkbox"]:not(:checked) ~ .btn-ask ~ .btn-confirm {
    display: none;
}

.nav-tabs {
    border-bottom: 1px solid #495057;
}
    .nav-tabs .nav-link {
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
    }
    .nav-tabs .nav-link.active {
        border-color: #636464 #636464 #fff;
    }

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

table.table th, table.table thead td {
    border-top: none;
    border-bottom: 2px solid #000;
}

table.sortable th {
    cursor: pointer;
}

table td.multiline-td {
    white-space: nowrap;
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-group label {
    font-weight: bold;
}
.form-group .custom-file label {
    font-weight: normal;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom bigger than footer height 92px */
  margin-bottom: 100px;
}
.footer {
    z-index: 1;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 92px; /* Smaller*/
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background-color: #bac4cc; /* #silver */
}

.footer-logo {
    width:15%;
}


/* partial: _LabelLarge and _LabelSmall */

.not-ukca-certified {
    position: relative;
}
    .not-ukca-certified .device-under-investigation {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 100%;
        width: 100%;
        padding: 5px;
        font-size: 4rem;
        color: rgba(255, 0, 0, 1.0);
        background: rgba(0, 0, 0, 0.5);
        font-weight: bold;
    }


/* partial: _LabelLarge */

.ce-mark-label-table {
    background: white;
}

    .ce-mark-label-table td {
        border: 1px solid #d8dde0; /* Matches cell border-bottom */
        vertical-align: middle;
        padding-left: 8px; /*Matches cell bottom & top padding */
        padding-right: 8px; /*Matches cell bottom & top padding */
    }

@media (min-width: 40.0625em) {
    .ce-mark-label-table td {
        padding-right: 24px; /*Matches main style, except that last child would get zero padding, which is not appropriate here */
        padding-left: 24px;
    }
}

    .ce-mark-label-table td img {
        height: 100px;
    }

@media (max-width: 40.0625em) {
    .ce-mark-label-table td img {
        height: 50px;
    }
    .not-ukca-certified .device-under-investigation {
        font-size: 2rem;
    }
}

.ce-mark-label-table td:first-child {
    text-align: center;
}


/* partial: _LabelSmall */

.ce-mark-label {
}
    .ce-mark-label .not-ukca-certified .device-under-investigation
    {
        font-size: 2rem;
    }
.ce-mark-label__item-group {
    display: inline-block;
    background-color: white;
    border: 1px solid #d8dde0; /* Matches cell border-bottom */
}

.ce-mark-label__item {
    padding: 5px;
}

    .ce-mark-label__item img {
        height: 50px;
    }

.ce-mark-label__item-group {
    margin: 3px;
}

.ce-mark-label__item {
    display: inline-block;
}

/* ZXCVBNM progress bar styling */

.zxcvbnm-progress-0{
    width: 0%
}
.zxcvbnm-progress-1 {
    width: 25%
}
.zxcvbnm-progress-2 {
    width: 50%
}
.zxcvbnm-progress-3 {
    width: 75%
}
.zxcvbnm-progress-4 {
    width: 100%
}

/* Header */

.navbar-nav .nav-link {
    font-size: 1.2em; 
}
.navbar-nav .nav-link.active {
    font-weight:bold;
}

.navbar-brand {
    line-height: 1;
}
.maapir-emboldened {
    font-size: 60px;
    font-weight: 600;
    letter-spacing: -0px;
    line-height: 1;
}
.maapir-gradient-text {
    background-image: linear-gradient(to bottom, #2748a0, #5475cd);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}


.headingAndButtons {
    display: flex !important;
    justify-content: left;
    align-items: center;
    margin-bottom: 2em;
    gap: 1rem;
}

    .headingAndButtons h1,
    .headingAndButtons h2,
    .headingAndButtons h3 {
        margin-bottom: 0em;
        margin-right: 2rem;
    }
    .headingAndButtons h1 {
        font-size: 1.7rem;
    }

/* drag-drop */

.highlight-drop > .custom-file-label {
    transition: background 0.5s ease;
    background: repeating-linear-gradient( -45deg, #fff, #fff 10px, #ccc 10px, #ccc 20px );
}

/* reduce gutter for row */
.duelling-picklist.row {
    margin-left: -8px;
    margin-right: -8px;
}

    .duelling-picklist.row > div {
        padding-left: 8px;
        padding-right: 8px;
    }

.duelling-picklist .btn {
    font-size: 1.5rem;
    line-height: 1.5rem;
}

/* too wide for button at medium, only apply for large */
@media (min-width: 992px) {
    .duelling-picklist .btn-group-vertical .btn {
        font-size: 2rem;
    }
}