﻿/* 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. */

.bg-xcms-blue {
    background-color: #00458d !important;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

    .navbar-brand svg {
        height: 1.8rem;
    }

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Bytesize icons
-------------------------------------------------- */
.bs-icon {
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-width: 9.375%; /*6.25%;*/
    fill: none;
    stroke: currentcolor;
    width: 1em;
    height: 1em;
}

/* Sticky footer styles
-------------------------------------------------- */
html,
body {
    height: 100%;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: #f5f5f5;
}

.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 {
  /*overflow-y: scroll;*/
  padding-top: 70px;
  display: flex;
  height: 100%;
  min-height: 100vh; 
  flex-direction: column;
}

  .admin-content
  /*,body > .container*/ {
    /*flex: 1;*/
    flex: 1 0 auto;
  }
    .admin-content::after {
      content: '\00a0'; /* &nbsp; */
      display: block;
      margin-top: var(--space);
      height: 0px;
      visibility: hidden;
    }
.footer {
  padding: 10px 0;
  flex: none;
}

/* Validation errors 
--------------------------------------------*/
.validation-summary-errors {
    /*.alert-danger*/
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    /*.alert*/
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

    .validation-summary-errors ul {
        margin-top: 0;
        margin-bottom: 0;
    }

/*container*/
@media (min-width: 1440px) {
    .container {
        max-width: 1380px;
    }
}
/*
@media (min-width: 1900px) {
  .container {
    max-width: 1840px;
  }
}
*/
/*select2*/


.select2-container--default .select2-selection--single,
.select2-dropdown {
    border-color: #ced4da
}

.select2-container {
    font-size: .875rem;
}

.select2-container--default .select2-selection--single {
    height: calc(1.5em + .5rem + 2px);
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
    padding-right: 15px !important; /*for 'allowClear' button*/
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding: .25rem .5rem;
        line-height: 1.5;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: calc(1.5em + .5rem + 2px);
    }

/* MultiReference */
[data-multiref-listitem-sortbtn] {
    cursor: move
}

.multiref-sortable-placeholder {
    display: block;
    min-height: 1em;
    background-color: yellow;
}

.table td:has(.bi) {
    text-align: center;
}

/* Display text */
.text-multiline {
    white-space: pre-wrap;
}