﻿@import url("unipart-variables.css");
@import url("unipart-branding-common.css");

:root {
  --input-padding-x: 0.75rem;
  --input-padding-y: 0.75rem;
}

body {
  margin: 0;
}

.ActionsPanelHeader {
  background-color: var(--color-primary-aircraftblue);
  color: var(--color-primary-white);
  font-weight: bold;
  width: 100%;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 5px;
}

table.content > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) {
  width: 250px;
}

table.content > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) {
  background-color: rgba(var(--color-primary-white-rgb), 0.25);
}

table.content > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(3) {
  width: 250px;
}

.Spacer {
  height: 4px;
}

.CentreContent {
  vertical-align: top;
  padding-left: 14px;
  padding-right: 4px;
  border-left: 1px solid var(--color-primary-battleshipgrey);
  border-right: 1px solid var(--color-primary-battleshipgrey);
  height: 100dvh;
}

/* Increase specificity to resolve conflict with Bootstrap */
.CentreContent :is(h1, h2, h3, h4, h5, h6) {
  font-weight: var(--uni-font-weight-light);
}

ul {
  list-style-type: disc;
  padding-left: 18px;
}

li {
  padding-bottom: 10px;
}

a {
  color: var(--color-primary-aircraftblue);
  text-decoration: none;
}

.form-signin {
  width: 100%;
  max-width: 550px;
  padding: 15px;
  margin: auto;
}

.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
  padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group > label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0; /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  cursor: text; /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: all 0.1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

/*////////////////////////////////////*/
.flex-grid-item {
  width: 45%;
  display: flex;
  flex-direction: column;
}

/* Example of using CSS Grid */
.flex-grid-item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* Example of using Flexbox within the grid item */
.flex-grid-item-flex {
  display: flex;
  justify-content: space-between;
}

.flex-grid-container {
  display: flex;
  justify-content: space-between;
}

.flex-grid-item {
  width: 45%; /* adjust the percentage to suit your needs */
}