:root {
    --ws-fixed-content-header-top: 65px;
}

.print-only {
    display: none;
}

.filetype-icon {
    width: 30px;
}

.report-card-heading h4 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.preview-chart {
    margin-top: 20px;
}

.report-card-row {
    margin-bottom: 0;
}

.report-card .echart-element {
  width: 100%;
  height:400px;
}

.report-element-loading {
    min-height: 150px;
}

.report-card-container {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .report-card-container {
        margin-bottom: 10px;
    }

    .report-card-row {
        margin-bottom: 20px;
    }
}

.navbar-custom {
    margin-bottom: 0;
}

.notification-list .badge {
    padding: 4px 0;
    width: 24px;
    height: 24px;
}

.card .heading-elements span, .card .heading-elements span:hover {
    color: #3e405b !important;
    font-size: 1.2em;
    cursor: pointer;
}

.figure-value {
    font-weight: bold;
}

.date-picker {
    cursor: pointer;
    border-left-color: rgba(255,255,255, 0.04);
}

.daterangepicker .ranges li:hover {
  background-color: inherit;
  font-weight: bold;
}

.daterangepicker .calendar-table {
    background-color: inherit;
    border: none;
}

.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {
    background-color: transparent;
}

.select2-container .select2-selection__rendered {
    padding-right: 30px !important;
}

.customer-select-container {
    width: 320px;
}

.customer-select-container .select2 {
    width: 280px;
    text-align: right;
}

.customer-select-container .select2-container .select2-selection__rendered {
    padding-right: 0 !important;
    font-size: 0.8rem !important;
    line-height: 13px !important;
    padding-top: 5px !important;
}

.select2-container li {
	font-size: 0.8rem !important;
}

tfoot th .select2-selection--single .select2-selection__placeholder {
	line-height: 36px !important;
}

tfoot th .select2-selection--single .select2-selection__rendered {
	line-height: 36px !important;
}

.venue-select-container {
    width: 275px;
}

.venue-select-container .select2 {
    width: 225px !important;
}

.age-bracket-select-container {
    width: 390px !important;
}
.age-bracket-select-container .select2 {
    width: 349px !important;
}

.gender-select-container {
    width: 390px !important;
}
.gender-select-container .select2 {
    width: 349px !important;
}

.date-granularity-select-container {
    width: 140px;
}
.date-granularity-select-container .select2 {
    width: 100px !important;
}

.date-range-select-container {
    width: 225px !important;
}
.date-range-select-container input {
    width: 150px !important;
}

.time-range-select-container {
    width: 150px;
}
.time-range-select-container input {
    width: 100px !important;
}

.compare-select-container {
    width: 300px;
}
.compare-select-container .select2 {
    width: 260px !important;
}

#compare-options-date {
    margin-left: 395px;
}

.compare-vs {
    text-align: center;
    margin-bottom: 5px;
}

.report-context-inner {
    position: relative;
}

#context-form .select2-selection {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border: 1px solid #ccd6e6;
}

.tooltip-inner {
    font-size: 1.2em;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

.vert-centered {
    margin-top: 5%;
    overflow: hidden;
}

.centered-logo-container {
    max-width: 222px;
    display: block;
    margin: 5px auto;
    overflow: hidden;
}

@media (min-width: 768px) {
    .mobile-header-spacing {
        display: none;
    }
}

.card .card-header {
    padding-bottom: 0;
}

.report-spacer {
    min-height: 120px;
}

.report-spacer span{
    font-size: 120px !important;
}

.mdi-arrow-right-bold{
    color: #dddddd;
}

.clickable-element, .clickable-element canvas {
    cursor: pointer;
}

.wizard > .content {
    background: inherit !important;
}

.wizard > .steps .disabled a, .wizard > .steps .disabled a:hover, .wizard > .steps .disabled a:active {
    background: inherit !important;
    border: 1px solid #dee2e6;
}

.wizard > .steps .done a, .wizard > .steps .done a:hover, .wizard > .steps .done a:active {
    background: inherit !important;
    border: 1px solid #dee2e6;
}


.report-element-loading {
    font-size: 40px;
    text-align: center;
    padding: 0;
}

.report-card-row > .col-md-3 .load-pending {
    margin-top: 10%;
}

.report-card-row > .col-md-4 .load-pending {
    margin-top: 8%;
}

.report-card-row > .col-md-6 .load-pending {
    margin-top: -6%;
}

.report-element.report-element-loaded.chart-element {
    min-height: 400px;
}

.report-chart-card .report-element-loading {
    padding: 25%;
}

/* used sometimes for error messages in built-in forms */

.navbar-brand img {
    display: block;
    width: 100%;
    box-sizing: border-box;
    max-width: 250px;
}

.figure-change {
    font-size: 0.7em;
}

.figure-change.positive {
    color: #00C400;
}

.figure-change.negative {
    color: #A00808;
}

.spinner {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}

.overview-title {
  color: #dddddd;
  height: 40px;
  font-size: 50px;
}

.table-card.complex-big-table-container {
  background-image: none;
  padding: 30px;
}

.table-card.complex-big-table-container .mdi{
  color: #5e91d8;
}

.table-card.complex-big-table-container .fa{
  color: #5e91d8;
}

.table-card.complex-big-table-container .date_style{
  color: #5e91d8;
}

.overview-data::before {
  height: 170px;
  content: "";
  background-color: #1e2b34;
  color: #1e2b34;
  font-weight: bold;
}

.overview-tables div table tbody tr{
  background-color: #2e3c47;
  border: 1px solid #1e2b34;
  color: #fff;
}

.overview-tables div table tbody tr:nth-child(1){
  background-color: #5e91d8;
  border: 1px solid #1e2b34;
}

.overview-tables .mdi-arrow-up-bold{
  color: #3f8d2f;
}

.overview-tables .mdi-arrow-down-bold{
  color: #f57819;
}

@media print{
  .page-content-wrapper{
    background-color: #1f2c33;
  }
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* Adding in classes missing from our older version of bootstrap */
.modal-xl {
    max-width: 1140px;
}

.sign-in-selection {
    display: flex;
    flex-direction: row;
    color: #9d9b9b;
}

.sign-in-selection:before, .sign-in-selection:after{
    content: "";
    flex: 1 1;
    border-bottom: 1px solid #d0d0d0;
    margin: auto;
}

.sign-in-selection:before {
    margin-right: 10px
}

.sign-in-selection:after {
    margin-left: 10px
}

.parsley-errors-list > li {
    font-size: 13px;
}

/* used to override the default loader along with loaderHtml for sweetalert */
.custom-swal2-loader {
    animation: none !important;
    border-width: 0 !important;
    margin: 1rem 0;
}

@media (max-width: 364px) {
    .customer-select-container {
        width: 160px;
    }
}

@media (min-width: 365px) and (max-width: 400px) {
    .customer-select-container {
        width: 190px;
    }
}

@media (min-width: 401px) and (max-width: 499px) {
    .customer-select-container {
        width: 220px;
    }
}
@media (min-width: 1024px) and (max-width: 1090px) {
    .download-btn-container {
           padding: 0px;
    }
}
@media (min-width: 500px) and (max-width: 1300px) {
    .customer-select-container {
        width: 260px;
    }
}
@media (min-width: 364px) and (max-width: 500px) {
    .navbar-custom {
        padding-left: 0px;
    }
    .notification-list .nav-link {
        padding: 0px 4px;
    }
}

.list-counter {
    min-width: 2.5rem;
    display: inline-block;
    border: solid 1px #000;
    margin: 5px;
    padding: 8px 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}

#serviceList {
    list-style-type: none;
    counter-reset: service-counter 0;
}

#serviceList .list-counter:before {
    counter-increment: service-counter;
    content: counter(service-counter);
}

.description-text-asset {
    font-size: 1.2em;
    text-align: left;
    color: #b3b3b3;
    margin: 0;
    min-height: 3em;
    white-space: pre-wrap;
}

.template-tr {
    display: none;
}

.drag-handle {
	cursor: grab;
}

.page-widget-view-controls button {
    color: #6f8c9f;
    background-color: transparent;
    border: 0;
}

.custom-fieldset{
    min-height: 20px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #2f3d46;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.form-control.special-character {
    font-family:  sans-serif;
}

.autoComplete_wrapper{width: 100% !important;}
.autoComplete_wrapper > input {
    background-image: none !important;
}
.search-wrap .search-input {
    width: 100% !important;
}

.table.table-thin-rows td{
	padding: 5px 10px;
}
tfoot {
    display: table-header-group;
}

input[switch] {
	display: none !important;
}

/* default clear icon is rather small and hard to click */
.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: small;
    margin-right: 34px;
    margin-top: 2px;
}

/*
    Any select2 inputs using the bootstrap-5 theme are using bits of that css and bits of this - these styles are to
    try and keep other outstanding bits more inline with the current styling - if purely using the bootstrap-5 theme
    styling in future then these can be removed
*/
.select2-container--bootstrap-5 .select2-selection {
    /*these are the same values used for body text*/
    font-size: 13px;
    line-height: 24px;
}

.select2-container--bootstrap-5 .select2-selection--single {
    border: 1px solid #E3E3E3;
    height: 38px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 15px;
    padding-right: 7px;
}

/* These cover/override the select2 bootstrap 5 theme */

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected  {
    border: 1px solid #e3e3e3 !important;
    padding-top: 5px !important;
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
    border: 1px solid #000;
    border-radius: 0;
    padding: 4px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}

.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: transparent transparent #999 transparent;
    border-width: 0 6px 6px 6px;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow b {
    border-color: #999 transparent transparent transparent;
    border-width: 6px 6px 0 6px;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border: 1px solid #e3e3e3 !important;
    padding-top: 5px !important;
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected {
    background-color: #000000;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
    background-color: #000000;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #000;
    border-radius: 0;
    transition: border-color 0s ease-in-out,box-shadow 0s ease-in-out;
}

.select2-container--bootstrap-5 .select2-selection--single {
    border:1px solid #aaa;
    border-radius:4px;
    outline:0;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    min-height: 38px;
    font-size:10px;
    border: 1px solid #e3e3e3;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    padding: 2px 10px;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color:#e4e4e4;
    border:1px solid #aaa;
    border-radius:4px;
    margin-left:5px;
    margin-top:5px;
    padding:0;
    padding-left:20px;
    position:relative;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    vertical-align:bottom;
    white-space:nowrap
}

.select2-container--bootstrap-5 .select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3e%3cpath fill='rgb(153,153,153)'   d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.select2-container--bootstrap-5 .select2-selection--multiple  {
    background-color:white;
    border:1px solid #aaa;
    border-radius:4px;
    cursor:text;
    padding-bottom:5px;
    padding-right:5px;
    padding-top: 0;
    position:relative
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    padding: 5px;
    font-size:1em;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid #aaa;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    color:#fff;
    background-color:#000;
}

.entity-notes-list .note-meta {
	text-align: right;
	width: 200px;
}

.entity-notes-list .entity-note-text {
	white-space: preserve;
}

.form-navigation a {
	margin-left: 5px;
}

.dataTables_paginate .page-link {
    font-size: 0.8rem;
}

.table > tbody > tr > td {
    padding: 8px 12px;
}

.table tr.inactive-row td {
    color: #a9a9a9;
}

.fixed-content-header {
    position: fixed;
    /* must be under 15 to keep under .left.side-menu */
    z-index: 10;
    background-color: white;
    border-bottom: 1px solid #E9ECEF;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 10px;
    padding-top: 5px;
    min-height: 54px;
}

@media (min-width: 1025px)  {
    .fixed-content-header{
        left: 240px;
        top: var(--ws-fixed-content-header-top, 0px);
        right: 0;
    }
}

@media (max-width: 1024px) {
    .fixed-content-header {
        left: 0;
        top: var(--ws-fixed-content-header-top, 0px);
        right: 0;
       
        padding-left: 5px;
        padding-right: 5px;
    }
}

.fixed-content-header .action-buttons > * {
    margin-left: 5px;
}

/* This is required for the base WS theme that can include an access button */
#accessButtonContainer {
    height: 40px;
}

/* Found this added into the base admiria theme but appears to not be used?? */
.inner-form-group {
    border: 1px solid #909090;
    border-radius: 5px;
    padding: 1em;
}

.autoComplete_wrapper>ul>li:hover{cursor:inherit; background-color:inherit;}
.autoComplete_wrapper>ul>li {
    margin-top: 0;
    margin-bottom: 0;
}

.search-bar {
    position: relative;
}

.search-bar .searching {
    position: absolute;
    left: 3px;
    top: 20px;
}

#customerSelectionList {
    display: flex;
    min-height: var(--ws-nav-link-item-height);
    align-items: center;
}

#sidebar-menu > ul > li:first-of-type {
    margin-top: 20px;
}

.paper-container-class {
    top: 0;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    left: 0;
    right: 20px;
    background-color: #F9F9F9;
}

#journeyEditorToolbar {
    position: absolute;
    z-index: 2;
}