/*
*   Nav and Header Bar
*/

#cairn-top-navbar {
    flex-wrap: wrap;
    background-color: #ffffff;
    border-bottom: 1px solid #EBEAE7;
}

.header-container {
    flex-wrap: wrap;
    margin-left: 0;
    max-width: unset;
    padding: 0;
}

#cairn-top-nav-row {
    width: 100%;
    min-height: 100px;
    margin-top: -15px;
}

#cairn-top-nav-row>.col-md-4, #cairn-top-nav-row>.col-md-6{
    align-content: center;
    padding-left: 15px;
}

#cairn-top-nav-row>.col-md-6{
    margin-left: auto;
}

.navbar-brand {
    margin-right: 0;
}

.nav-logo {
    width: 150px; 
    max-width: 90%;
    height: auto; 
    margin: 15px;
}

#navbar-header-links > .weblinks {
    align-items: end;
    justify-content: end;
    flex-direction: row;
}

#navbar-header-links .navbar-nav .dropdown-menu {
    position: absolute;
}

.navbar-mobile {
    width: 100%;
}

#cairn-main-row {
    max-width: 100vw;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#cairn-main-row > div {
    padding: 0;
    margin-left: 0;
}

#cairn-left-nav-col {
    flex-direction: column;
    justify-content: flex-start;
    min-height: 80vh;
}

#cairn-left-nav-col ul {
    width: 100%;
    flex-direction: column;
}

#cairn-left-nav-col .nav-item {
    width: 100%;
}

#cairn-left-nav-col .nav-item > a, #cairn-top-nav-row .nav-item > a {
    padding-left: 15px;
    text-decoration: none !important;
    white-space: normal;
}

.nav-item-icon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 18px;
    height: 18px;
    margin-bottom: -4px;
    display: inline-block;
    position: relative;
}

h3 .nav-item-icon, .my-units .nav-item-icon {
    line-height: 30px;;
    width: 30px;
    height: 30px;
}

.icon-help, .icon-knowledgearticle {
    background-image: url("icon-help.png");
}

.navbar-dark .navbar-nav > li > a:hover .icon-help {
    background-image: url("icon-help-active.png");
}

.icon-stats {
    background-image: url("icon-stats.png");
}

.navbar-dark .navbar-nav > li > a:hover .icon-stats {
    background-image: url("icon-stats-active.png");
}

.icon-warn {
    background-image: url("icon-warn.png");
}

.navbar-dark .navbar-nav > li > a:hover .icon-warn {
    background-image: url("icon-warn-active.png");
}

.icon-support, .icon-incident {
    background-image: url("icon-support.png");
}

.navbar-dark .navbar-nav > li > a:hover .icon-support {
    background-image: url("icon-support-active.png");
}

.icon-location, .icon-development {
    background-image: url("icon-location.png");
}

.navbar-dark .navbar-nav > li > a:hover .icon-location {
    background-image: url("icon-location-active.png");
}

.icon-unit {
    background-image: url("icon-unit.png");
}

.icon-person {
    background-image: url("icon-person.png");
}

.navbar-dark .navbar-nav > li > a:hover .icon-person {
    background-image: url("icon-person-active.png");
}

.icon-notify {
    background-image: url("icon-notify.png");
}

.navbar-dark .navbar-nav > li > a:hover .fa-magnifying-glass {
    color: #A50E2D !important;
}

.navbar-dark .navbar-nav > li > a:hover .icon-notify {
    background-image: url("icon-notify-active.png");
}

li.no-hover-fill > a:hover, li.dropdown.no-hover-fill > a:focus, li.dropdown.no-hover-fill > a.show {
    background-color: unset !important;
    color: #013b60 !important;
}

.icon-account {
    background-image: url("icon-account.png");
}

.navbar-dark .navbar-nav > li > a:hover .icon-account {
    background-image: url("icon-account-active.png");
}

.icon-survey {
    background-image: url("icon-survey.png");
}

.icon-house, .icon- {
    background-image: url("icon-house.png");
}
.icon-dark.icon-house, .icon-dark.icon- {
    background-image: url("icon-house-dark.png");
}

.icon-apartment {
    background-image: url("icon-apartment.png");
}
.icon-dark.icon-apartment {
    background-image: url("icon-apartment-dark.png");
}

.icon-duplex {
    background-image: url("icon-duplex.png");
}
.icon-dark.icon-duplex {
    background-image: url("icon-duplex-dark.png");
}

.icon-commercial {
    background-image: url("icon-duplex.png");
}
.icon-dark.icon-commercial {
    background-image: url("icon-duplex-dark.png");
}

.colour-house, .colour- {
    background-color: #009EB3;
}
.colour-apartment {
    background-color: #9D2235;
}
.colour-duplex {
    background-color: #003A5D;
}
.colour-commercial {
    background-color: #F6DC3E;
}

.navbar-dark .navbar-toggler.no-hover-fill:hover, .navbar-dark .navbar-toggler.no-hover-fill:active, .navbar-dark .navbar-toggler.no-hover-fill:focus {
    background-color: #A50E2D!important;
    border: 1px solid #A50E2D;
}

#navbar-burger-mobile {
    margin-left: 15px;
}

.nav-bottom-logo {
    height: auto;
    width: auto;
    max-height: 40%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 120px;
}

.nav-bottom-logo img {
    width: auto;
    height: auto;
    max-width: 90%;
}

#navbar-mobile {
    max-height: unset;
}

#navbar-mobile .nav-bottom-logo {
    margin: 0;
}

#navbar {
    height: 100vh;
    position: fixed;
    top: 0px; bottom: 0px; left: 0px;
    align-items: normal;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 100px;
}

#navbar > nav {
    margin-left: -10px !important;
}

.nav-notify-popout {
    color: #242424;
    background-color: white;
    z-index: 10;
    position: absolute;
    box-shadow: 0px 0px 2px 0px #0000001F;
    box-shadow: 0px 8px 16px 0px #00000024;
    overflow: hidden;   
    padding: 10px;
    right: 0;
    width: 650px;
    max-width: 100vw;
}

.notifications-rows-container {
    width: 100%;
    padding: 15px;
}

.notifications-rows-container .row {
    display: flex;
    justify-content: space-between;
    margin: 10px;
    width: 100%;
}

.notifications-rows-container .nav-item-icon {
    min-width: 25px!important;
}

.notification-content {
    flex-grow: 1;
}

.notification-title, 
tr[data-entity="cairn_portalnotification"] > td[data-attribute="subject"] {
	font-family: Open Sans;
    font-weight: 600;
    line-height: 100%;
}
.notification-title {
    font-size: 14px;
}

.notification-desc, .notification-created, .notification-actualstart, 
tr[data-entity="cairn_portalnotification"] > td[data-attribute="description"], 
tr[data-entity="cairn_portalnotification"] > td[data-attribute="createdon"], 
tr[data-entity="cairn_portalnotification"] > td[data-attribute="actualstart"] {
    color: #616161;
	font-family: Segoe UI;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.notification-created, .notification-actualstart {
    text-align: right;
    white-space: nowrap;
}

.notification-actions, tr[data-entity="cairn_portalnotification"] > td[aria-label="action menu"] {
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
    flex-grow: 1;
}

.notification-icon {
	width: 25px;
	height: 25px;
}

.notifications-header {
	display: flex;
	justify-content: space-evenly;
	font-family: Open Sans;
	font-weight: 600;
	font-size: 14px;
	line-height: 14px;
}

.notifications-header hr {
	height:2px;
	line-height: 14px;
	border: 1px solid #D1D1D1;
	display: inline-block;
    width: 35%;
}

.notifications-header div {
	margin-top: auto;
	margin-bottom: auto;
}

.notifications-footer {
    display: flex;
    justify-content: right;
}

.unread-notifications {
    height: 14px;
    width: 14px;
    line-height: 14px;
    background-color: #9D2235;
    color: white;
    font-size: 10px;
    font-weight: 500;
    border-radius: 14px;
    position: absolute;
    bottom: -2px;
    right: -5px;
    text-align: center;
}

.notification-page-main {
    border: 1px solid #EBEAE7;
    padding: 15px;
}

.btn-white {
    border: 1px solid var(--Neutral-Stroke-1-Rest, #D1D1D1);
    background: var(--Neutral-Background-1-Rest, #FFFFFF);
    height: 31px;
    border-radius: 4px;
    gap: 4px;
    padding-top: 5px; padding-bottom: 5px;
    padding-left: 12px; padding-right: 12px;
    border-width: 1px;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.btn.btn-white:active, .btn.btn-white:hover, .btn.btn-white:focus {
    border: 1px solid var(--Neutral-Stroke-1-Rest, #B1B1B1);
    background: var(--Neutral-Background-1-Rest, #F1F1F1);
}
.btn.btn-white:active {
    background: var(--Neutral-Background-1-Rest, #D1D1D1);
}
td.crmquickform-cell a.btn.btn-white {
    float: right;
}

#search_control, .input-group>.form-control.search-input {
    min-width: 200px !important;
}
.dropdown-search, .navbar-dark .navbar-nav .dropdown-menu.dropdown-search {
    position: absolute;
    color: #242424;
    background-color: white!important;
    z-index: 10;
    box-shadow: 0px 0px 2px 0px #0000001F;
    box-shadow: 0px 8px 16px 0px #00000024;
    overflow: hidden;   
    padding: 10px;
    max-width: 100vw;
    border: none;
    border-radius: 0;
}
.dropdown-search input.query.form-control {
	display: table-cell; 
    width: 100%; 
    font-size: 14px;
}

.search-results, .search-results-info {
    font-family: Open Sans;
    font-size: 14px;
}
.search-result-title, .search-result-type {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;    
}
.search-result-type {
    font-weight: 700;
    text-decoration: underline;
}


@media (min-width: 576px) {
    #navbar-burger-mobile, #navbar-mobile  {
        display: none !important;
    }
    .navbar-brand {
        position: fixed!important;
        z-index: 99;
    }
}

@media (max-width: 576px) {
    #cairn-left-nav-col, #navbar-header-links  {
        display: none !important;
    }
    .navbar-brand {
        position: initial!important;
    }
    #nav-notify-popout-mobile .notification-created, #nav-notify-popout-mobile .notification-actualstart {
        display: none;
    }
}

@media (max-width: 768px) {
    h1.siteTitle {
        float: right;
        max-width: 100%;
        white-space: break-spaces;
        word-wrap: break-word;
    }
    #navbar {
        padding-top: 150px;
    }
}

/*
*   Home/Portfolio and shared page features
*/
.hide {
    display:none!important;
}

.columnBlockLayout {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
.page-heading {
	margin-top: 0 !important;
}
.page-copy {
	margin-top: -20px !important;
}

.main-image-container {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('/Main Image.png');
    min-height: 120px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    flex-grow: 1; 
    display: flex; 
    flex-direction: column;
}

.main-image-container h1 {
    color: white;
    font-size: xxx-large;
    text-align: center;
    width: 100%;
    margin: 0;
}

.breadcrumb-item {
    color: #242424 !important;
    font-family: Open Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px !important;
}
.breadcrumb-item.active {
    font-weight: 700;
    line-height: 100%;
}
.breadcrumb-item+.breadcrumb-item::before {
	content: var(--bs-breadcrumb-divider, ">");
}
.breadcrumb-item.hide+.breadcrumb-item::before {
	content: none;
}

.portfolio-stats-row {
    gap: 10px;
}
.portfolio-stats-box {
    width:203px;
    min-height:82px;
}
.portfolio-stats-cyan .portfolio-stats-box {
    background-color:#009EB3;
}
.portfolio-stats-sky .portfolio-stats-box {
    background-color:#71A1CF;
}
.portfolio-stats-box > p, .portfolio-stats-box > h3 {
    margin: 0;
}
.portfolio-stats-cyan .portfolio-stats-box > p, .portfolio-stats-cyan .portfolio-stats-box > h3, 
.portfolio-stats-sky .portfolio-stats-box > p, .portfolio-stats-sky .portfolio-stats-box > h3 {
    color: #FFFFFF;
}
.portfolio-stats-grey .portfolio-stats-box {
    background-color:#F3F3F3;
}
.portfolio-stats-grey .portfolio-stats-box > p, .portfolio-stats-grey .portfolio-stats-box > h3 {
    color: #424241;
}

h4 {
    color:#424241 !important;
    font-family: Georgia;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
}

.gallery-item, .columnBlockLayout.gallery-item {
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    margin-top: 0;
    min-width: 350px;
    max-width: 33%!important;
    flex-wrap: nowrap;
}
.gallery-item, .columnBlockLayout.gallery-item .row {
    flex-wrap: nowrap;
}

.gallery-item-logo-container {
    width:100%;
    height:150px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #003A5D;
}
.gallery-item-logo {
    width:auto;
    max-width:100%;
    height:100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.gallery-item-header {
    padding: 10px;
    border-bottom: 1px solid #E4E1DC;
    margin-bottom: 10px;
}

.icon-right, .icon-down, .icon-up {
    height: 32px;
    width: 32px;
    display: inline-block;
    background-image: url("icon-right.png");
}

a:hover .icon-right, a:hover .icon-down {
    background-image: url("icon-right-active.png");
}

.icon-down {
    transform: rotate(90deg);
}
.icon-up {
    transform: rotate(-90deg);
}

.icon-edit {
    height: 32px;
    width: 32px;
    display: inline-block;
    background-image: url("icon-edit.png");
}

.btn-info {
	border-radius: 0;
	font-size: 14px;
}

.btn-primary:focus, .btn-primary.focus {
    color:#A50E2D !important;
}

.btn-close {
    line-height: unset;
    font-weight: bold;
}

.lbl-development-land {
    color:#A50E2D;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -3%;
    text-transform: uppercase;
}

.development-partners-container {
    padding:10px;
}
.development-partners-container a:hover{
    text-decoration: none !important;
}
.lbl-development-partners {
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 13px;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #ACACAC;
    padding-bottom: 10px;
}
#my-org-gallery div.my-org-info-section-header {
    flex-wrap: wrap;
}
.my-org-info-section-header > a > .row {
    border: 1px solid #EBEAE7;
    border-radius:5px;
    margin-bottom: 5px;
}
.my-org-info-section-header > a > .row > div {
    margin-top: auto;
    margin-bottom: auto;
}
.my-org-info-section-header td.clearfix.cell {
    padding-left: 10px;
}
.development-partner {
    width: 100%;
    display: block;
    clear: both;
    padding-top: 5px;
    font-family: Open Sans;
    line-height: 100%;
    letter-spacing: 0%;
    color: #013B60;
}
.development-partner-name {
    display: inline-block;
    padding: 5px;
    font-weight: 600;
    font-size: 14px;
}
.development-partner-role {
    display: inline-block;
    padding: 5px;
    font-weight: 400;
    font-size: 12px;
    vertical-align: middle;
    background-color: #F3F3F3;
    border-radius: 10px;
}

.my-units .col {
    height: 30px;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 30px;
    color: #424241;
    vertical-align: middle;
    margin-top: 5px;
}
.my-units .col:first-child, .my-units .col:nth-child(2) {
    flex-grow: 0;
}

.spinner-border {
    color: #013b60!important;
}
.floating-spinner {
    position: absolute;
    left: 50%;
}


@media (max-width: 768px) {

    .main-image-container h1 {
        top: auto;
        max-width: 90%;
        font-size: xx-large;
    }

    .gallery-item, .columnBlockLayout.gallery-item {
        min-width: 100%;
    }

    .gallery-item, .columnBlockLayout.gallery-item .row {
        flex-wrap: wrap;
    }
}

/*
*   Details/drill-down page features
*/
.details-view-key-data {
    padding:10px;
    width:100%;
    border: 1px solid #EBEAE7;
    font-family: Open Sans;
    line-height: 100%;
    letter-spacing: 0%;
}

.details-view-key-data .row {
    padding-top: 10px;
    width: 100%;
    row-gap: 15px;
}

.details-view-key-data .col {
    max-width: 33%;
    min-width: 33%;
    padding-bottom: 10px;
}

.details-view-key-data .label {
    font-weight: 700;
    font-size: 12px;
    vertical-align: middle;
    color: #002B3B;
}

.details-view-key-data .value {
    font-weight: 600;
    font-size: 14px;
    background-color: #F7F7F7;
    color: #424241;
    min-height: 40px;
    line-height: 40px;
    padding-left: 10px;
    margin-bottom: 5px;
}

.details-view-key-data a.details-view-action {
    float: right;
    cursor: pointer;
}

.details-view-info-text {
    color: #838383;
    font-weight: 400;
    font-family: Open Sans;
    font-size: 14px;
    height: 40px;
    display: inline-block;
}

.details-unittypes-row {
    display: flex;
    justify-content: flex-end;
}

.details-unittypes-item {
    min-width:150px;
    max-width:100%;
    padding:0;
    padding-bottom: 10px;
}

.details-unittypes-item-bar { 
    width:100%;
    display:flex;
    justify-content:space-around;
}

.details-unittypes-item-label {
    width:100%;
    align-content:center;
    display:flex;
    justify-content:space-around;
    padding:0;
}

.details-unittypes-item .nav-item-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
}

.details-unittypes-item .legend-dot {
    width:14px;
    height:14px;
    border-radius:10px;
    display: inline-block;
}

.details-unittypes-item .legend-label {
    color:#424241;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    display: inline-block;
}

/*
*   Entity List Grid Customisations
*/
.entitylist {
    border: none !important;
}

.entitylist-filter {
    box-shadow: none;
    -webkit-box-shadow: none;
    border: none;
}

.entitylist-filter .card-body ul {
	flex-wrap: wrap !important;
    column-gap: 10px;
}

.entitylist-filter > div.card-body {
    border: 1px solid #EBEAE7;
}

.list-inline-item {
    flex-direction: column !important;
    margin-bottom: 10px;
}

.entity-grid.entitylist {
	border: none;
}

.view-grid .table-striped > tbody > tr:nth-of-type(odd), 
.view-grid .table-striped-skip-hidden > tbody > tr:nth-child(odd of :not(.hide)) {
    background-color: #F7F7F7!important;
    --bs-table-striped-bg: none;
}
.table-striped-skip-hidden > tbody > tr:nth-child(odd of :not(.hide)) {
  background-color: unset; 
}

tbody, td, tfoot, th, thead, tr {
    border: none;
}

.entitylist.entity-grid li > a .icon-right {
    height: 14px;
    width: 14px;
    border: 1px solid white;
    border-radius: 8px;
    margin-left: -3px;
    margin-bottom: -2px;
    margin-right: 5px;
}

.entitylist-filter .card-body {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.entitylist-filter .card-body > ul, .entitylist-filter .card-body > ul > li {
    display: flex;
}

.entitylist-filter-option-group {
	font-family: Open Sans;
	font-size: 14px;
}

.entitylist-filter-option-group-label.h4 {
	color: #838383;
	font-weight: 400;
	line-height: 21px;
	font-family: Open Sans;
	font-size: 14px;
    margin-top: 5px;
    margin-right: 10px;
}

.entitylist-filter-option .input-group.entitylist-filter-option-text {
    min-width: fit-content;
}

.entitylist-filter-option .input-group-text, .entitylist-filter-option select,
.custom-datepicker .entitylist-filter-option *:not(i) {
	color: #424241;
	font-weight: 700;
	line-height: 100%;
	font-family: Open Sans;
	font-size: 14px;
}

.entitylist-filter-option .form-select {
	background-image: url("icon-down-red.png");
}

.hide-all-entitylist-filters .entitylist-filter {
    display: none;
}
.hide-all-entitylist-actions .toolbar-actions {
    display: none;
}

.hide-first-entitylist-filter .entitylist-filter > div > ul > li.entitylist-filter-option-group:first-child {
    display: none;
}
.hide-second-entitylist-filter .entitylist-filter > div > ul > li.entitylist-filter-option-group:nth-child(2) {
    display: none;
}

.hide-entire-entitylist-table table {
    display:none!important;
}
.hide-entitylist-paging div.view-pagination {
    display:none!important;
}
.hide-entitylist-paging div.grid-actions {
    border: none!important;
}

.hide-entitylist-create-action a.action.create-action {
    display: none;
}

.custom-clickable-table-row:hover *, .view-grid .table-striped > tbody > tr.custom-clickable-table-row:nth-of-type(odd):focus *,
.custom-clickable-table-row:focus *, .view-grid .table-striped > tbody > tr.custom-clickable-table-row:nth-of-type(odd):focus * {
    cursor: pointer;
    background-color: #A50E2D !important;
    color: white !important;
    font-weight: bolder;
}
tr.custom-clickable-table-row > td.custom-clickable-table-item-selected, .view-grid .table-striped > tbody > tr.custom-clickable-table-row:nth-of-type(odd) > td.custom-clickable-table-item-selected {
    background-color: #A50E2D !important;
    color: white !important;
    font-weight: bolder;
}

.entitylist-item-icon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 14px;
    height: 14px;
    display: inline-block;
}

.entity-grid.entitylist .nav-item-icon {
    margin-right: 10px;
}

.table>:not(caption)>*>*, .table>:not(caption)>*>td>a:not(.btn-white) {
    color: #4C4C4C!important;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
}

.table>:not(caption)>*>* {
    padding: 12px;
    vertical-align: middle;
    line-height: 17px;
}

.table>:not(caption)>*>th, .table>:not(caption)>*>th>a {
    color: #838383!important;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
}

.table>:not(caption)>*>*>span.entitylist-item-icon {
    margin-right: 10px;
    margin-bottom: -2px;
}

.table>:not(caption)>*>td.priority-high>span, #case-prioritycode h4>span.entitylist-item-icon {
    background-image: url("icon-priority-high.png");
}

.table>:not(caption)>*>td.priority-medium>span, #case-prioritycode h4>span.entitylist-item-icon {
    background-image: url("icon-priority-medium.png");
}

.table>:not(caption)>*>td.priority-low>span, #case-prioritycode h4>span.entitylist-item-icon {
    background-image: url("icon-priority-low.png");
}

.table>:not(caption)>*>td.status-active, #case-statecode h4.status-active, #case-statuscode h4.status-active {
    color: #9D2235!important;
}

.table>:not(caption)>*>td.status-active>span, #case-statecode h4.status-active>span, #case-statuscode h4.status-active>span {
	background-color: #9D2235;
	border-radius: 50%;
}

.table>:not(caption)>*>td.status-resolved, #case-statecode h4.status-resolved, #case-statuscode h4.status-resolved {
    color: #009936!important;
}

.table>:not(caption)>*>td.status-resolved>span, #case-statecode h4.status-resolved>span, #case-statuscode h4.status-resolved>span {
	background-color: #009936;
	border-radius: 50%;
}

.table>:not(caption)>*>td.status-cancelled, #case-statecode h4.status-cancelled, #case-statuscode h4.status-cancelled {
    color: darkslategrey!important;
}

.table>:not(caption)>*>td.status-cancelled>span, #case-statecode h4.status-cancelled>span, #case-statuscode h4.status-cancelled>span {
	background-color: darkslategrey;
	border-radius: 50%;
}

#case-prioritycode > h4, #case-statecode > h4, #case-statuscode > h4 {
    display: flex;
    align-items: center;
    gap: 10px;
}
#case-prioritycode > span, #case-statecode > span, #case-statuscode > span {
    width: 20px;
    height: 20px;
}

.toolbar-actions.float-end {
    float: left !important;
}

.jquery-bootstrap-pagination {
    justify-content: space-around;
    display: flex;
}

ul.pagination > li > a.page-link {
	font-family: Open Sans;
	font-weight: 400;
	font-size: 14px;
	line-height: 21px;
	text-align: center;
	color: #424241;
}

ul.pagination > li.active > a.page-link {
	box-shadow: none;
    background-color: white !important;
	border: 2px solid #E5E7EB;
	border-radius: 50%;
}

ul.pagination > li > a:focus {
	border-radius: 50%;
    box-shadow: none;
	border: 2px solid #013b60;
}

.custom-datepicker {
    display: flex;
}
.custom-datepicker > label {
    white-space: nowrap;
}
.custom-datepicker .form-control:empty:before {
  content: "\200b"; /*unicode zero width space character*/
}

.custom-dropdown-filter {
    display:flex;
    flex-direction:row;
    padding-left:32px;
    flex-wrap: wrap;
}

/* 
*   Form customisations 
*/
div.entity-form > h2.tab-title {
	display: none;
}

.crmEntityFormView .tab-column .section-title > h3 {
    color:#424241;
    font-family: Georgia;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    padding-left: 15px;
    margin-top: 10px;
}

.hide-section-title .crmEntityFormView .tab-column .section-title > h3 {
    display: none;
}

.crmEntityFormView .tab-column td > .table-info > .field-label, .tab-column td > .table-info > .field-label { 
    color: #002B3B !important;
    font-family: Open Sans;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

td.clearfix.cell.crmquickform-cell > div.table-info > label {
	display: none
}

.crmEntityFormView .tab-column td > .control .form-control, .crmEntityFormView .tab-column td > .control button {
    min-height: 40px;
    line-height: 40px;
}
.crmEntityFormView .tab-column td > .control .form-control {
    font-weight: 600;
    font-size: 14px;
    background-color: #F7F7F7 !important;
    color: #424241;
    padding-left: 10px;
}

.crmEntityFormView .tab-column td > .control textarea {
    height: 200px;
}

#EntityFormPanel fieldset:not(:empty) {
    padding-top: 15px;
    border: 1px solid #EBEAE7;
}

.no-fieldset-border #EntityFormPanel fieldset {
    border: none;
}

.crmEntityFormView > .actions {
    border: none !important;
    margin: 0;
    padding: 0;
}

.crmEntityFormView, .crmEntityFormView .cell.crmquickform-cell:first-child {
    border: none !important;
}

.crmEntityFormView .cell div.table-info.required label[disabled]:after {
    color: #424241;
}

.remove-form-lookup-field {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.form-lookup-field {
    position: relative;
}

#case-triage-acknowledgement .table-info > * {
    display: block;
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;
}

#case-triage-acknowledgement .table-info > label {
    margin-bottom: 15px;
}

.sharepoint-grid, .sharepoint-data {
    overflow-x: auto;
}

@media (max-width: 767px) {
    .tab-column {
        padding-left: 0 !important;
    }
    .tab-column .entitylist-search {
        width: auto;
    }
}

/*
* File uploads / Case attachments
*/
.case-attachments-fieldset div.entity-grid.entitylist input.query.form-control {
    border: 1px solid #949494!important;
    padding-left: 10px;
}
.case-attachments-section {
    position: relative;
    padding: 0 28px 20px;
}
.case-attachments-section .toast-container {
    position: absolute;
    bottom: 50%;
    right: 100%;
}
.upload-file-container {
    display:flex;
    margin-bottom: 15px;
    gap: 15px;
}
.case-attachments-info-text {
    font-family: Segoe UI;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    padding-bottom: 15px;
}
.container-progress {   
     width: 70%;
     max-width: 400px;  
     margin-top: 10px;   
     position: relative;
} 
.parent-progress {    
    width: 100%;    
    background-color: #2f5fef;    
    height: 30px;    
    margin-top: 25px;    
    margin-bottom: 20px;
} 
.child-progress {    
    width: 0%;    
    background-color: #53b453;    
    height: 100%;
} 
.percent-progress {      
    display: block;
    float: right;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .case-attachments-info-text {
        word-wrap: break-word;
    }
}

/* 
* Chart.js customisation 
*/
.chart-js-chart {
    position: relative;
    flex-wrap: wrap;
}

.chart-total {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.chart-total-label {
    width: 50%;
    height: 50%;
    padding: 10%;
    font-family: Georgia;
    text-align: center;
    margin: 0;
    position: absolute;
    top: 50%; left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.chart-total-total {
    width: 300%;
    margin-left: -100%;
    font-weight: 400;
    font-size: 48px;
    line-height: 100%;
    margin-top: -15px;
}

.dashboard-chart-box {
    padding: 0; margin: 0; 
    min-height: 350px;
    background-color: #F3F3F3;
    border: 10px solid white;
    min-width: 500px !important;
}
.dashboard-chart-box h5 {
    font-family: Georgia;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
}
.dashboard-chart-box p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}
.dashboard-chart-box .chart-js-chart, .dashboard-chart-box .chart-total {
    width: 260px !important; 
    height: 260px !important; 
    padding: 0;
    flex-grow: 0;
}
.dashboard-chart-box > .align-title-to-side.row {
    height: 100%;
    align-content: center;
}
.dashboard-chart-box > .align-title-to-side.row > .col {
    align-content: center;
}
.container:has(.dashboard-chart-box-wide)  {
    overflow-x: auto;
}
.dashboard-chart-box-wide {
    min-width: 400px;
}
.dashboard-chart-box-wide .chart-js-chart {
    flex-grow: 1;
    width: 400px!important;
    width: 100%;
}

.custom-chart-legend {
    display: flex;
    justify-items: center;
    font-family: Open Sans;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
}
.custom-chart-legend ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
}
.custom-chart-legend li {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 5px;
}
.custom-chart-legend span {
    border-radius: 12px;
    display: inline-block;
    flex-shrink: 0;
    height: 12px;
    margin-right: 10px;
    width: 12px;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}
.custom-chart-legend p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .dashboard-chart-box:not(.dashboard-chart-box-wide) {
        min-width: unset!important;
        width: 100%;
        padding: 0px;
    }
}


/*
*   Login page customisations
*/
#agreement-content-col title {
	display: block;
    font-weight: bold;
}
#agreement-content-col label {
	padding: 10px;
}
#agreement-checkbox {
    margin: 0;
}

/* 
*   FAQ Topic Styles
*/
.topic-box {
    max-width: 200px;
    align-content: center;
    text-align: center;
    padding-bottom: 5px;
    border: 2px solid white;
}
.topic-box:hover * {
    font-weight: bold;
}
a.topic-box:not(.btn):hover {
    border-color: #0090A3;
    text-decoration-color: #FFFFFF !important;
}
.topic-box:not(.active) {
    background-color:#54BECC;
}
img.icon-help {
    background-image: none;
    height: 70px;
    display: block;
    margin: auto;
}

/*
* SharePoint items viewer
*/
.ergo-sp-item .fa-folder, .dataTable .fa-folder {
    font-size: 20px;
}
#ergo-sp-documents-datatable td > img {
    width: 20px;
}
#ergo-sp-breadcrumbs .breadcrumb-item.active > a {
    font-weight: 700;
}
#ergo-sp-breadcrumbs .breadcrumb-item:not(.active), #ergo-sp-documents-datatable td > a, #ergo-sp-documents-localtable td > a {
    cursor: pointer;
}


.amr-debug {
    display: none;
}
