﻿/* 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. */

.container {
    max-width: 90% !important;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.validation-field {
    position: relative;
}
    .validation-field > a {
        position: absolute;
        top: 50%;
        margin-top: -8px
    }
    .validation-field > i {
        position: absolute;
        top: 50%;
        margin-top: -8px
    }
    .validation-field > .display-name {
        padding-left: 10px
    }

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.dx-datagrid-nowrap .dx-header-row > td > .dx-datagrid-text-content {
    white-space: normal !important;
    word-wrap: break-spaces;
}

.grid-edit-text {
    color: orange !important;
    font-size: 14px !important;
    font-style: inherit;
    font-weight: inherit;
    text-decoration: inherit;
    vertical-align: middle;
    margin-right: 10px;
}

.grid-edit-text:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f044";
    display: inline-block;
    vertical-align: top;
    margin-right: 2px;
}

.grid-delete-text {
    color: red !important;
    font-size: 14px !important;
    font-style: inherit;
    font-weight: inherit;
    text-decoration: inherit;
    vertical-align: middle;
    margin-right: 10px;
}

.grid-delete-text:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f2ed";
    display: inline-block;
    vertical-align: top;
    margin-right: 2px;
}

.grid-save-text {
    color: green !important;
    font-size: 14px !important;
    font-style: inherit;
    font-weight: inherit;
    text-decoration: inherit;
    vertical-align: middle;
    margin-right: 10px;
}

    .grid-save-text:before {
        font-family: "Font Awesome 5 Free";
        font-weight: 400;
        content: "\f0c7";
        display: inline-block;
        vertical-align: top;
        margin-right: 2px;
    }

.grid-cancel-text {
//    color: red !important;
    font-size: 14px !important;
    font-style: inherit;
    font-weight: inherit;
    text-decoration: inherit;
    vertical-align: middle;
    margin-right: 10px;
}

.grid-cancel-text:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0e2";
    display: inline-block;
    vertical-align: top;
    margin-right: 2px;
}

.grid-add-text {
    color: green !important;
    font-size: 14px !important;
    font-style: inherit;
    font-weight: inherit;
    text-decoration: inherit;
    vertical-align: middle;
    margin-right: 10px;
}

.grid-add-text:before {
    font-family: "Font Awesome 5 Free";
    content: "\f067";
    font-weight: 900;
    display: inline-block;
    vertical-align: top;
    margin-right: 2px;
}

.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;
}

/* 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 by footer height */
  margin-bottom: 60px;
}
.footer {
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Site messages */
h2.plannedmaintenance {
    color: red;
}

h2.whatsnew {
}

a.dx-link-edit {
    margin-left: 15px;
    color: orange !important;
    text-decoration: none !important;
}

.dx-link-edit:before {
    content: "\f044";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

a.dx-link-delete {
    margin-left: 15px;
    color: red !important;
    text-decoration: none !important;
}

.dx-link-delete:before {
    content: "\f2ed";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

a.dx-link-save {
    margin-left: 5px;
    color: dodgerblue !important;
    text-decoration: none !important;
}

.dx-link-save:before {
    content: "\f0c7";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

a.dx-link-cancel {
    margin-left: 5px;
    color: red !important;
    text-decoration: none !important;
}

.dx-link-cancel:before {
    content: "\f0e2";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.dx-datagrid-rowsview .dx-data-row .dx-validator.dx-datagrid-invalid .dx-highlight-outline::after {
    border-width: 2px;
    border-color: rgba(217,83,79,.7);
}

.dx-invalid.dx-texteditor {
    border-width: 2px;
    border-color: rgba(217,83,79,.7);
}

dx-switch-off, .dx-switch-on {
    color: #333 !important;
}

.dx-state-disabled .dx-widget, .dx-state-disabled.dx-widget {
    opacity: 1 !important;
}