﻿/* 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. */

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;
}

/* 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%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

#body-row {
    margin-left: 0;
    margin-right: 0;
    flex-wrap: nowrap;
}

#sidebar-container {
    min-height: 100vh;
    /* background-color: #333; */
    padding: 0;
    -webkit-transition: width 120ms;
    transition: width 120ms;
}

#sidebar-container .list-group-item {
    border: none;
}
/* Sidebar sizes when expanded and expanded */
.sidebar-expanded {
    min-width: 230px;
}

.sidebar-collapsed {
    width: 60px;
}

/* Menu item*/
#sidebar-container .list-group a {
    height: 50px;
    color: white;
}

/* Submenu item*/
#sidebar-container .list-group .sidebar-submenu a {
    height: 45px;
    padding-left: 30px;
}

.sidebar-submenu {
    font-size: 0.9rem;
}

/* Separators */
.sidebar-separator-title {
    height: 35px;
}

.sidebar-separator {
    height: 25px;
}

.logo-separator {
    background-color: #333;
    height: 60px;
}

/* Closed submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="false"] .submenu-icon::after {
    content: " \f0d7";
    font-family: "Font Awesome 5 Free";
    display: inline;
    text-align: right;
    padding-left: 10px;
    font-weight: 900;
}
/* Opened submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="true"] .submenu-icon::after {
    content: " \f0da";
    font-family: "Font Awesome 5 Free";
    display: inline;
    text-align: right;
    padding-left: 10px;
    font-weight: 900;
}


table.dataTable td.reorder {
    text-align: left !important;
    cursor: move;
}

.table td {
    padding:.35rem!important;

}
#programme-form #location-marker svg {
    cursor: pointer;
}

#default-pill .pill-bg {
    fill: #17a2b8;
}

#default-pill .pill-txt {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    fill: white;
}

#icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
}

#programme-list #default-pill {
    height: 100%;
}

#programme-list .card {
    cursor: pointer;
}

#programme-list .card:hover {
    background-color: rgba(0, 0, 0, .05)
}

#programme-list #programme-link {
    color: inherit;
    text-decoration: none;
}

#programme-list #programme-link {
    color: inherit;
    text-decoration: none;
}

#programme-location {
    width: 100%;
    min-height: 200px;
    border: 1px solid #e0e0e0;
    padding: 2px;
}


#icon-container .pill-edit {
    position: absolute;
    top: 0px;
    left: 102px;
}

#fileupload-icon {
    display: none;
}

.file-upload-btn {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.k-invalid {
    border-color: #dc3545 !important;
}

.field-validation-error span {
    font-size: 12px;
}

span.custom-field-validation {
    display: block
}

#control-container {
    position: absolute;
    right: 10px;
    top: 0px;
    z-index: 2;
}

label {
    font-weight: bold;
    margin-bottom: 0px !important;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

table#engagement-list td,
table#action-list td {
    height: 20px;
}

#action-list th span {
    padding-right: 5px;
}

table#action-list td span[data-status="overdue"] {
    color: red;
}

table#action-list td span[data-status="duetoday"] {
    color: orange;
}

.dataTables_filter {
    text-align: left !important;
}

.dataTables_filter label input {
    width: calc(100% - 180px) !important;
}

.dataTables_filter label {
    display: block;
    width: 100%;
}

.breadcrumb-item {
    font-size: 0.75em;
}

#data-filter {
    border-radius: .25rem;
    border: 1px solid rgb(223, 223, 223);
    color: #8a8a8a;
}

#data-filter.active {
    background-color: #e9ecef;
    color: black;
}

#data-filter div label {
    font-weight: normal;
}

/*#data-filter div label:first-child {
    width: 120px;
    font-size: 1.25em;
}*/

#data-filter .form-check input[type="radio"] {
    display: none;
}

#data-filter .form-check label {
    display: inline-block;
    padding: 4px 11px;
    font-family: Arial;
    font-size: 16px;
    cursor: pointer;
    margin: 0 2px;
}

#data-filter .form-check input[value="all"]:checked + label {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

#data-filter .form-check input[value="high"]:checked + label {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

#data-filter .form-check input[value="low"]:checked + label {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

#data-filter .form-check input[value="unknown"]:checked + label {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.k-multiselect .k-button {
    color: #fff;
    border-color: #17a2b8 !important;
    background-color: #17a2b8 !important;
}


#programme-stats .btn {
    width: 180px;
    height: 180px;
    position: relative;
}

#programme-stats .badge {
    padding: 1px 5px;
}

#programme-stats .new-stakeholder,
#programme-stats .new-engagement {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.5em;
}

#stakeholders {
    background: url('/img/stakeholders.svg') no-repeat center;
    border: none;
}
#stakeholders .fa-plus-circle {
    color: #1b6ec2;
}
#stakeholders .badge {
    border: 2px solid #1b6ec2;
    font-size: 200%;
}

#engagements {
    background: url('/img/engagements.svg') no-repeat center;
    border: none;
}
#engagements .fa-plus-circle {
    color: #28a745;
}
#engagements .badge {
    border: 2px solid #28a745;
    font-size: 200%;
}

#actions {
    background: url('/img/actions.svg') no-repeat center;
    border: none;
}
#actions .badge {
    border: 2px solid #ffc107;
    font-size: 200%;
}

.pill-shortcuts svg {
    padding: 2px;
    width: 80px;
    height: 80px;
}

nav.alerts {
    height: 100px;
    margin-bottom: 16px;
}

nav.alerts .nav-item {
    color: white;
    line-height: normal;
}

nav.alerts .nav-item .position-relative {
    top: -10px;
}

#alerts-tab.nav-pills a.active:after {
    content: "";
    position: absolute;
    transform: translateX(-50%);
    border: 20px solid transparent;
    z-index: 9;
}

nav.alerts #alert-overdue.active:after {
    border-top-color: #ee4040;
}

#nav-tabContent #nav-overdue.active {
    border: 6px solid #ee4040;
    border-radius: .25rem;
}

nav.alerts #alert-overdue {
    background-color: #ee4040;
    margin: 0 2px 0 0;
}

nav.alerts #alert-today.active:after {
    border-top-color: #4e73e1;
}

#nav-tabContent #nav-today.active {
    border: 6px solid #4e73e1;
    border-radius: .25rem;
}

nav.alerts #alert-today {
    background-color: #4e73e1;
    margin: 0 2px;
}

nav.alerts #alert-tomorrow.active:after {
    border-top-color: orange;
}

#nav-tabContent #nav-tomorrow.active {
    border: 6px solid orange;
    border-radius: .25rem;
}

nav.alerts #alert-tomorrow {
    background-color: orange;
    margin: 0 2px;
}

nav.alerts #alert-soon.active:after {
    border-top-color: #329532;
}

#nav-tabContent #nav-soon.active {
    border: 6px solid #329532;
    border-radius: .25rem;
}

nav.alerts #alert-soon {
    background-color: #329532;
    margin: 0 0 0 2px;
}

nav.alerts span.cnt {
    display: block;
    font-size: 50px;
}

#nav-tabContent .dataTables_wrapper {
    padding: 10px;
}
/* prevent stakeholder categories overlapping their containing control */
#stakeholder-categories_taglist .k-button {
    text-align: left;
    white-space: normal;
}

.navbar {
    padding: 0 !important;
}

table caption{
    height:0;
    width:0;
    visibility:hidden;
}

#alert-list .alert-overdue {
    color: red;
}

#alert-list .alert-overdue a {
    color: red;
    text-decoration: underline;
}

#alert-list .alert-overdue td {
    border-top: 1px solid red;
    border-bottom: 1px solid red;
}

#alert-list .alert-overdue td:first-child {
    border-left: 1px solid red;
}

#alert-list .alert-overdue td:last-child {
    border-right: 1px solid red;
}

.pipe-space {
    color: lightgrey;
}

.card { 
    width: 100%;
}

.modal-content .card-header {
    padding: .25rem .75rem;
}

.modal-content .card-body {
    padding: .75rem;
}

#emailTextArea {
    width: 100%;
}

#StakeholderGroupListRow p {
    margin: 0;
    padding: 2px 0;
}

#StakeholderGroupListRow {
    margin-bottom: 10px;
}

.stakeholder-list-overflow {
    max-height: 280px;
    overflow-y: auto;
}

.loader {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 9999;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loader::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: 6em;
    height: 6em;
    border-style: solid;
    border-color: #17a2b8;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}
table#communication-list td {
    height: 20px;
}
.engagement-Communication-FileList-overflow {
    height:150px;
    overflow-y:auto;
}

.engagement-communication-files {
    cursor: pointer;
    text-decoration: inherit;
}

.search-highlight {
    background-color: yellow;
}

.text-remain {
    display: none;
}

.text-remain.show {
    display: inline;
}

.text-remain-ctrl {
    display: block;
}

#Tags-list .k-no-data {
    display: table;
    width: 100%;
    padding-top: 20px;
}

.tag-form-control {
    display: none;
}

.h100 {
    height: 100%;
}