/* 
 * Quill V2 CSS
 * Martin Lewis-Dalgarno
 * December 2022
*/

/* Default Elements Settings */
html, body, a, p, .tooltip-inner {
    font-family: 'Inria Sans', sans-serif;
}

body {
    padding-top: 75px;
    padding-bottom: 0px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.background-grey {
    background: radial-gradient(#FFF,#CACACA);
    -webkit-animation: fadeIn 1 1s ease-out;
    -moz-animation: fadeIn 1 1s ease-out;
    -o-animation: fadeIn 1 1s ease-out;
    animation: fadeIn 1 1s ease-out;
}

body.secondary-nav-padding {
    padding-top: 115px;
}

a, a:hover, a:active {
    text-decoration: none;
}

p a, a {
    color: #c66e4e;
    font-weight: 600;
    text-decoration: none;
}

p {
    margin: 0;
}

p a:hover, p a:active {
    color: #c66e4e;
    font-weight: 600;
    text-decoration: underline;
}

a:hover, a:active {
    color: #c66e4e;
    /* text-decoration: underline; */
}

p.hero-description {
    font-size: 1rem;
}

.quill-box-selected {
    border: 2px solid #c66e4e;
}

.quill-back-to-top {
    display: none;
}

.quill-box-selected .quill-back-to-top {
    display: flex;
}

/* Quill Classes for editor vis */
.add-event {
    fill: #dd4814;
    stroke: #bf3e11;
}
/* Bootstrap overrides (replace if possible with custom classes */
.toast-header {
    background-color: #2E2E3A;
    color: #FFF;
}

.toast-body {
    background-color: rgba(255,255,255,0.95);
    font-weight: bold;
    font-size: 0.9rem;
}

.quill-toast-success {
    border-bottom: 4px solid #1d9f78
}

.quill-toast-warning {
    border-bottom: 4px solid #ed7300
}

.quill-toast-error {
    border-bottom: 4px solid #c60000
}

.toast-header .btn-close {
    background-image: url('https://upload.wikimedia.org/wikipedia/en/6/61/Cross_icon_%28white%29.svg');
}

.offcanvas.offcanvas-end {
    width: 50%;
}

.offcanvas.offcanvas-end.text-bg-dark {
    background-color: rgba(33,37,41,0.9)!important;
}

a.dropdown-item:active {
    background-color:  #c66e4e;
}

.offcanvas-title {
    color: #FFF;
}

.offcanvas-title span {
    margin-left: 1rem;
}

.navbar-hidden {
    height: 0;
    margin: 0;
    padding: 0;
}

.carousel-bottom-spacing {
    padding-bottom: 2rem;
}

.tooltip-inner {
    background-color: #2E2E3A;
    box-shadow: 0px 0px 3px #FFF;
}

.tooltip-arrow {
    border-color: #2E2E3A;
}

.accordion-button:not(.collapsed) {
    background-color: #2E2E3A;
    color: #FFF;
}

.tooltip-inner p {
    margin-bottom: 0px;
}

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

.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) {
    background-color: #c66e4e;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: 0.8rem;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
    display: flex;
    width: 100%;
    height: 0;
}

.card-title a {
    color: #2E2E3A;
}

.card-text-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.modal-header {
    background-color: #2E2E3A;
    color: #FFF;
    border: 2px solid #FFF;
    border-bottom: 4px solid #c66e4e;
}

.modal-body {
    border: 2px solid #FFF;
    border-top: none;
}

.modal-header .btn-close {
    background-color: #FFF;
    border-radius: 1rem;
}

.modal-header .modal-title {
    color: #FFF;
}

/* Nav bar stylings */
#quill-editor-nav-bar {
    /* background-image: url('../img/bg-admin.jpg'); */
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(64, 64, 64, 0.9)), url('../img/bg-admin.jpg');
    background-repeat: repeat;
    background-position: center;
}

.navbar-quill {
    border-bottom: 5px solid #c66e4e;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 6;
}

.navbar-quill-editor {
    border-bottom: 5px solid #FFF;
    position: fixed;
    top: 0px;
    right: 0;
    left: 0;
    z-index: 6;
}

#session-docs-list, #session-event-docs {
    max-height: 80vh;
    overflow: hidden;
    overflow-y: scroll;
}

#session-event-list {
    max-height: 90vh;
    overflow: hidden;
    overflow-y: scroll;
}

.bg-dark .vr {
    background-color: #FFF;
}

.nav-item-quill {
    margin-left: 10px;
    margin-right: 10px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.nav-link-quill:hover {
    text-decoration: underline;
}

.nav-search-quill label {
    color: #FFF;
    font-style: italic;
    margin-right: 0.6rem;
}

.dropdown-menu-quill.show {
    position: relative;
    top: 3rem;
}

.icon-dropdown-active {
    position: absolute;
    top: 56px;
    right: 18px;
    width: 12px;
    height: 7px;
    display: none;
}

.quill-api-link {
    cursor: pointer;
}

/* Footer elements */
.quill-footer {
    background-color: #CCC;
    margin-top: auto;
}
.quill-footer img {
    height: 60px;
}

/* Icon stylings */
.quill-partner-logo-detail {
    height: 80px;
}

.quill-cover-thumb-detail {
    height: 100px;
}

.quick-icons {
    margin-left: 10px;
    align-items: center;
    justify-content: flex-end;
}

.nav-item .fa-quill {
    cursor: pointer;
}

.fa-quill {
    color: #FFF;
    font-size: 2rem;
    margin-left: 10px;
    margin-right: 10px;
}

.fa-quill-icon-as-image {
    color: #FFF;
    font-size: 2rem;
}

.fa-quill-icon-as-image-small {
    color: #FFF;
    font-size: 1rem;
}

.fa-quill-xs {
    color: #FFF;
    font-size: 1rem;
}

.fa-quill-xl {
    color: #FFF;
    font-size: 2.2rem;
    margin-left: 10px;
    margin-right: 10px;
}

.quill-icon-left-fix {
    margin-left: 18px;
}

.bg-circle {
    height: 28px;
    width: 28px;
    background-color: #2E2E3A;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    margin-right: 0.5rem;
    padding-top: 4px;
}

.bg-circle-blue {
    height: 28px;
    width: 28px;
    background-color: #2E2E3A;
    border-radius: 50%;
    display: flex;
    margin-right: 0.5rem;
    align-items: center;
    justify-content: center;
}

.bg-circle-white {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    border: 2px solid #FFF;
    background-color: transparent;
    height: 2.5rem;
    width: 2.5rem;
}

.bg-circle-red {
    height: 60px;
    width: 60px;
    background-color: #C66E4E;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #FFF;
    box-shadow: 0px 0px 0px 2px #2E2E3A;
}

#list-current-documents tr td img {
    padding: 0;
}

.fa-quill-dropdown {
    font-size: 1.2rem;
    color: #FFF;
}

/*
.fa-quill:hover {
    animation-name: iconColourChange;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
    color: #c66e4e;
}
*/
.fa-quill.show {
    color: #c66e4e;
}

.convention-list-view-cell {
    cursor: pointer;
}

/* Sidebar styles */
.sidebar-content p {
    margin-bottom: 1rem;
}

.quill-sidebar-controls {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    justify-content: flex-end;
    padding-bottom: 0.5rem;
}
#session_event_full_text p {
    margin-bottom: 1rem;
}
/* Button stylings */
.btn-password-visible-toggle {
    cursor: pointer;
}

.btn-group-quill {
    border: 2px solid #FFF;
    border-radius: 0.5rem;
}

.btn-primary-quill {
    background-color: #c66e4e;
    border-color: #bd5f3d;
    text-transform: uppercase;
    color: #FFF;
}

.btn-twitter-quill {
    background-color: rgb(29, 155, 240);
    border-color: rgb(23, 127, 197);
    text-transform: uppercase;
    color: #FFF;
}

.btn-twitter-quill:hover, .btn-twitter-quill:active, .btn-twitter-quill:active:focus, .btn-twitter-quill:disabled, .btn-twitter-quill.show {
    background-color: rgb(23, 127, 197);;
    border-color: rgb(23, 127, 197);;
    text-decoration: none;
}

.btn-danger-quill {
    background-color: #771A33;
    border-color: #650f26;
    text-transform: uppercase;
    color: #FFF;
}

.btn-danger-quill:hover, .btn-danger-quill:active, .btn-danger-quill:active:focus, .btn-danger-quill:disabled, .btn-danger-quill.show {
    background-color: #650f26;
    border-color: #771A33;
    text-decoration: none;
}

.btn-primary-quill:hover, .btn-primary-quill:active, .btn-primary-quill:active:focus, .btn-primary-quill:disabled, .btn-primary-quill.show {
    background-color: #bd5f3d;
    border-color: #c66e4e;
    text-decoration: none;
}

.btn-primary-quill:disabled {
    cursor: default;
    opacity: 0.3;
}

.btn-secondary-quill {
    background-color: #2E2E3A;
    border-color: #2E2E3A;
    text-transform: uppercase;
    color: #FFF;
    border: 1px solid #FFF;
}

.btn-secondary-quill:hover, .btn-secondary-quill:active {
    border-color: #FFF;
    background-color: #1d1d24;
    color: #FFF;
    text-decoration: none;
}

.btn-outline-quill, .btn-secondary-quill.active {
    background-color: #FFF;
    border-color: #c66e4e;
    text-transform: uppercase;
    color: #c66e4e;
}

.btn-outline-quill:hover, .btn-outline-quill:active, .btn-secondary-quill.active:hover, .btn-secondary-quill.active:active {
    border-color: #bd5f3d;
    background-color: #fff3e2;
    color: #c66e4e;
    text-decoration: none;
}

/* Background colour overrides */
.bg-secondary-quill {
    background-color: #2E2E3A!important;
}

/* Components */
.light-nav {
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0px 0px 6px 2px #CACACA;
}

.secondary-nav {
    display: none;
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: fixed;
    z-index: 5;
    top: 63px;
}

.document-control-bar {
    /*background-color: #D9D9D9;*/
    background: linear-gradient(-45deg, hsl(196, 40%, 91%),hsl(196, 21%, 97%));
    box-shadow: 0px 0px 2px #858585ab;
    display: flex;
    width: 100%;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    position: fixed;
    z-index: 4;
    min-height: 40px;
    top: 63px;
}

/* Feature Grid */
.feature-grid-main-image {
    display: flex;
    flex-direction: column;
    height: calc(100% - 4px);
    justify-content: end;
    background-size: cover;
    background-position: center center;
}

.feature-grid-main-text-wrapper {
    background-color: rgba(46,46,58,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.feature-grid-side {
    display: flex;
    flex-direction: column;
}

.feature-grid-side-image {
    display: flex;
    flex-direction: row;
    min-height: 120px;
    justify-content: end;
    background-size: cover;
    border-bottom: none;
    background-position: center center;
    border-top: none;
}

.feature-grid-side-text-wrapper {
    display: flex;
    flex-direction: column;
    width: 50%;
    background-color: rgba(255,255,255,0.9);
    padding: 1rem;
    justify-content: space-between;
}

.feature-grid-title {
    text-align: center;
}

.feature-grid-main-text-wrapper .feature-grid-title {
    color: #FFF;
    font-size: 2rem;
}

.feature-grid-side-text-wrapper .feature-grid-title {
    color: #2E2E3A;
    font-size: 1rem;
}

.feature-grid-description {
    color: #FFF;
    text-align: center;
    font-size: 1rem;
}

.feature-grid-main-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.quill-homepage-banner {
    background-position: left center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-right: 2rem;
}

.homepage-banner-block {
    width: 100%;
    max-width: 750px;
    padding: 1rem;
    border-left: 10px solid #C66E4E;
    background-color: rgba(255,255,255,0.8);
    padding-left: 2rem;
    position: relative;
}

.homepage-banner-title {
    font-size: 2rem;
    margin: 2rem 0rem 0rem 0rem;
    font-weight: bolder;
}

.homepage-banner-block p {
    font-size: 1.6rem;
    font-style: italic;
    width: 80%;
    margin: 1.5rem 0rem 3rem 0rem;
}

.quill-icons-example {
    position: absolute;
    bottom: -60px;
    right: 0px;
    width: 350px;
}

/* Highlight Menu and Section */
.letterpress-title {
    background-color: #565656;
    color: transparent;
    text-shadow: 0px 2px 3px rgba(255,255,255,0.5);
    -webkit-background-clip: text;
       -moz-background-clip: text;
            background-clip: text;
}

.highlight-title {
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    padding-bottom: 1.3rem;
}

.highlight-title.has-subtitle {
    padding-bottom: 0rem;
}

.highlight-subtitle {
    text-transform: uppercase;
    text-align: center;
    font-style: italic;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.highlight-block {
    width: 160px;
}

.highlight-image-block {
    position: relative;
    width: 100%;
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 4px;
    display: flex;
    justify-content: end;
}

.highlight-image-overlay {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    width: 50%;
    height: 100%;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    flex-direction: column;
}

.highlight-image-overlay.dark {
    background-color: rgba(46,46,58,0.9);
    color: #FFF;
}

.highlight-image-overlay.light {
    background-color: rgba(255,255,255,0.8);
    color: #2E2E3A;
}

.highlight-image {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 4px;
}

/* Home page Content Panels */
.home-panel {
    margin-bottom: 2rem;
}

.home-panel h2 {
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;

}

.home-panel-users-caption {
    text-align: center;
    margin-top: 0.5rem;
}

.quill-small-screen-title {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Icon Help Bar */
#icon-help-pages {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.icon-help-page {
    display: none;
    width: 100%;
}

.icon-help-page.active {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    align-content: stretch;
    flex-wrap: wrap;
}

.icon-help-image {
    width: 32px;
    height: 32px;
}

.icon-help-label {
    width: 130px;
    text-align: center;
    line-height: 0.9rem;
    font-size: 0.8rem;
}

.icon-help-group-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    align-content: stretch;
    flex-wrap: wrap;
}

.icon-help-group-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 220px;
}

.icon-help-icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.icon-group-title {
    font-weight: bold;
}

.icon-group-subtitle {
    font-weight: light;
    font-size: 0.8rem;
}

.icon-help-nav {
    margin-left: 1rem;
    margin-right: 1rem;
}

/* Hero Panel */
.quill-secondary-bar-spacing {
    margin-top: 60px;
}
.hero-panel {
    width: 100%;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.hero-panel-thin {
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.hero-panel-detail {
    position: relative;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    padding: 1rem 2rem 1rem 4rem; /*2.5rem;*/
    text-align: center;
}

.hero-panel-detail h1 {
    font-size: 1.8rem;
}

.hero-panel-full-width {
    position: relative;
    height: 100%;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-panel-has-document-bar {
    margin-top: 40px;
}

#maincol-resource-display .quillmarkdown p {
    margin-bottom: 0.5rem;
}

.hero-panel-full-width .quillmarkdown p {
    margin-bottom: 1rem;
}

.hero-panel-info-with-link {
    display: flex;
    flex-direction: column;
    background-color: #FFF;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Tabs Key Info */
.hero-panel-tabs {
    height: 100%;
    padding: 3.5rem;
}

.quill-key-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quill-tabs-outer-wrapper {
    padding: 2rem;
}

.nav-tabs .nav-link {
    border-radius: 0px;
}

.quill-tab-content p {
    margin: 0;
    font-size: 1rem;
}

.quill-library-title-description p {
    color: #2E2E3A;
}

/* Summary bar */
#summary-stats-slider {
    display: flex;
    justify-content: space-between;
}

.summary-stats {
    display: flex;
    justify-content: space-between;
    flex-grow: 2;
    width: 100%;
    flex-direction: column;
}

.summary-stats-nav {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
}

.summary-stats-expand {
    min-width: 200px;
}

.summary-stats-bar-with-action {
    display: flex;
    justify-content: space-between;
}

.collection-summary-bar {
    background-color: #2E2E3A;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-self: center;
    gap: 1rem;
    align-items: center;
    min-height: 32px;
    border-radius: 24px;
    margin-top: 2px;
    margin-bottom: 2px;
    padding: 4px 4px 4px 4px;
    justify-content: center;
}

.summary-stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.summary-stat:last-of-type {
    margin-right: 1rem;
}

.summary-stat-label {
    color: #FFF;
}

.summary-stat img {
    height: 32px;
    width: 32px;
}

.multi-stats-bar {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: auto;
}

.multi-stats-bar-slider {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #2E2E3A;
}

.overview-summary-bar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #2E2E3A;
}
/* View types bar */
.view-types-bar {
    min-height: 64px;
    border-radius: 32px;
    background-color: #2E2E3A;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-self: center;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.view-types-bar p {
    color: #FFF;
    margin: 0 1rem 0 1rem;
}

.view-types-icon {
    height: 48px;
    width: 48px;
    border: 3px solid #c66e4e;
    border-radius: 24px;
}

.view-types-dropdown-icon {
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 0.5rem;
}

a:hover .view-types-icon {
    animation-name: iconBorderChange;
    animation-fill-mode: forwards;
    animation-duration: 0.2s;
}

.view-types-bar.view-types-small {
    min-height: 32px;
    border-radius: 24px;
    margin-top: 2px;
    margin-bottom: 2px;
    gap: 0.1rem;
    padding: 4px 4px 4px 4px;
    justify-content: center;
}

.view-types-bar.view-types-small .view-types-icon {
    height: 32px;
    width: 32px;
    border: 2px solid #c66e4e;
    border-radius: 16px;
}

.view-types-active-view {
    border: 2px solid #2E2E3A;
    border-radius: 20px;
}

.view-types-active-view .view-types-icon {
    height: 36px;
    width: 36px;
    border: 2px solid #FFF;
    border-radius: 17px;
}

/* Breadcrumbs */
.quill-breadcrumb-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
}

.quill-breadcrumb-link {
    border-radius: 16px;
    height: 32px;
    width: 32px;
    background-color: #c66e4e;
}

.quill-breadcrumb-icon {
    height: 32px;
    width: 32px;
    border-radius: 16px;
    border: 2px solid #FFF;
    box-shadow: 0 0 2px #333;
}

/* Images */
.quill-sidebar-image {
    margin-top: 1rem;
}

.quill-sidebar-links-list {
    margin-top: 2rem;
    padding: 2rem;
    background-color:#202029;
    border-radius: 8px;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
}

.quill-sidebar-links-list p {
    margin: 0px;
}

.quill-content-image-wrap {
    margin: 1rem;
    float: right;
    display: flex;
    flex-direction: column;
    width: 300px;
}

.quill-page-inner-content p {
    margin-bottom: 1rem;
}

.quill-content-image-caption {
    font-size: 0.7rem;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.quill-content-image {
    width: 100%;
    border-radius: 0px 0px 0px 0px;
    border: 1px solid #CCC;
    padding: 4px;
    box-shadow: 0px 0px 4px #ccc;
    border-left: 6px solid #333;
    border-right: 6px solid #333;
}

.text-panel-image {
    height: 64px;
    width: 64px;
    border: 2px solid #FFF;
    border-radius: 32px;
    float: right;
    background-size: cover;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 0 2px #333;
}

.text-panel-image-small {
    height: 32px;
    width: 32px;
    border: 2px solid #FFF;
    border-radius: 16px;
    float: right;
    background-size: cover;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 0 2px #333;
}

.text-panel-image-xl {
    height: 96px;
    width: 96px;
    border: 4px solid #FFF;
    border-radius: 48px;
    float: right;
    background-size: cover;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 0 2px #333;
}

.text-panel-image-square {
    border: 4px solid #FFF;
    border-radius: 4px;
    float: right;
    background-size: cover;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 0 2px #333;
}

/* Jump To Badge */
.jump-to-badge {
    /*
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    padding-top: 0.3rem;
    */
    padding: 0px;
    min-width: 64px;
    width: auto;
    min-height: 64px;
    border-radius: 32px;
    border: 2px solid #FFF;
    background-color: #2E2E3A;
    box-shadow: 0px 0px 4px #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    cursor: pointer;
}

.fa-jump-to {
    font-size: 1.2rem;
    color: #FFF;
    margin-bottom: 0.5rem;
}

.jump-to-badge-absolute {
    position: absolute;
    top: 2rem;
    left: 0%;
    transform: translateX(-50%);
}

.jump-to-title {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: -0.5rem;
    color: #FFF;
}

.jump-to-code {
    color: rgb(255, 153, 0);
    font-size: 1.5rem;
}

.jump-sidebar {
    float: left;
    margin-right: 1rem;
}

.jump-badge-sidebar {
    width: 64px;
    min-height: 64px;  
}

/* Page Content Text Sections */
.quill-main-page-heading {
    border-left: 8px solid rgba(255,153,0,0.6);
    padding-left: 16px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.quill-section-heading {
    border-left: 8px solid rgba(255,153,0,0.6);
    padding-left: 16px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.quill-heading-with-badge {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.quill-resources-heading-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.quill-resources-heading {
    border-left: 8px solid rgba(255,153,0,0.6);
    padding-left: 16px;
    margin-left: 0rem;
    font-size: 2rem;
}

.quill-heading-text-with-filters {
    background-color: #2E2E3A;
    width: auto;
    display: inline;
    /* flex-shrink: 1; */
    margin: 0;
    color: #FFF;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    margin-left: 2rem;
}

.quill-box-select-wrapper {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
}
/*
.quill-page-section {
    margin-top: 1rem;
    padding-top: 1rem;
}

.quill-page-section:last-of-type {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
*/
.quill-page-section h2 {
    border-left: 8px solid rgba(255,153,0,0.6);
    padding-left: 16px;
}

.quill-page-inner-content {
    padding: 1rem;
}

.quill-page-outer-content {
    padding: 2rem;
}

.quill-section-heading-row {
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
}

.quill-section-subtitle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quill-in-row-heading {
    border-left: 8px solid rgba(255,153,0,0.6);
    padding-left: 16px;
}

.quill-image-thumb {
    max-width: 150px; 
    float: left;
    margin-right: 1rem;
}

.quill-image-thumb-sm {
    max-width: 80px; 
    float: left;
    margin-right: 1rem;
}

.outer-heading {
    margin-left: 2rem;
}

.quill-inline-with-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.quill-box-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 2rem;
}

.quill-box-buttons button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.quilldocument p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
/* Text and image summary content */
.text-panel {
    display: flex;
    flex-direction: column;
}

.text-panel-title-small {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: -0.3rem;
}

.text-panel-title-big {
    font-size: 2rem;
    font-weight: 600;
}

.text-panel-content-light {
    background-color: #FFF;
    padding: 1rem;
    border-radius: 2px;
}

.text-panel-content-light p.notepad-style {
    font-style: italic;
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.text-panel-icon {
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 3;
}

.text-panel-icon-group {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    gap: 1rem;
}

.text-panel-icon-join-line {
    position: absolute;
    top: 30px;
    left: 15%;
    width: 70%;
    height: 2px;
    background-color: #2E2E3A;
    z-index: 2;
}

.small-panel {
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    height: 100%;
    background-image: url('../img/funky-lines.png');
    background-repeat: repeat;
    border-top: 2px solid #2E2E3A;
    border-right: 2px solid #2E2E3A;
    border-bottom: 2px solid #2E2E3A;
    position: relative; 
}

.dark-panel {
    background-image: none;
    background-color:#2E2E3A;
    border: 2px solid #1e1e27
}

.news-panel {
    border-left: 8px solid #F2CC47;
}

.negotiations-panel {
    border-left: 8px solid #2E2E3A;
}

.library-panel {
    border-left: 8px solid #771A33;
}

.resources-panel {
    border-left: 8px solid #BA7155;
}

.commentary-panel {
    border-left: 8px solid #347360;
}

.small-panel.cell_selected {
    border-color: #c66e4e;
    border-left: 8px solid #c66e4e;
}

.small-panel-row {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: space-between;
    z-index: 3;
    align-items: center;
}

.small-panel-actions {
    position: relative;
    z-index: 3;
}

.small-panel-row p {
    flex-shrink: 70;
}

.small-panel-row img {
    border: 2px solid #FFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.content-type-link-panel {
    border-radius: 8px;
    padding: 0rem;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    height: 100%;
    background-image: url('../img/funky-lines.png');
    background-repeat: repeat;
    border: 2px solid #2E2E3A;
    border-top: 6px solid #2E2E3A;
    position: relative; 
}

.content-type-link-panel-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.content-type-link-panel-inner {
    padding: 1rem;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    height: 100%;
    position: relative; 
    gap: 0.5rem;
}

.content-type-card {
    border-top: 6px solid #2E2E3A;
}

.theme-negotiations .content-type-link-panel-inner {
    padding: 0.5rem;
}

.content-type-colour-bar {
    width: 100%;
    height: 4px;
    background-color: #CACACA;
    z-index: 4;
}

.content-type-triangle-top-left {
    width: 0;
    height: 0;
    border-top: 3rem solid #CACACA;
    border-right: 3rem solid transparent;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 3;
}

.fa-quill-corner-triangle {
    position: absolute;
    top: 0.35rem;
    left: 0.4rem;
    color: #FFF;
    z-index: 3;
}

.content-type-bookmark {
    width: 86px; /* 110 */
    height: 56px;
    box-sizing: content-box;
    padding-top: 15px;
    position: relative;
    background: red;
    color: white;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
  }

  .content-type-bookmark:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 13px solid #eee;
    border-left: 55px solid transparent;
    border-right: 55px solid transparent;
  }


/* Theme background colour changes */

.theme-generic .content-type-colour-bar {
    background-color: #2E2E3A;
}

.theme-news .content-type-colour-bar {
    background-color: #F2CC47;
}

.theme-twitter .content-type-colour-bar {
    background-color: #1DA1F2;
}

.theme-negotiations .content-type-colour-bar {
    background-color: rgba(255,153,0,1);
}

.theme-library .content-type-colour-bar {
    background-color: #771A33;
}

.theme-resources .content-type-colour-bar {
    background-color: #0492c2;
}

.theme-commentary .content-type-colour-bar {
    background-color: #347360;
}

.theme-people .content-type-colour-bar {
    background-color: #afa5aa;
}

.theme-procedures .content-type-colour-bar {
    background-color: #307294;
}

.theme-documents .content-type-colour-bar {
    background-color: #e0bc80;
}

.theme-decisions .content-type-colour-bar {
    background-color: #5c2334;
}

/* Theme border colour changes for triangle */
.theme-negotiations .content-type-triangle-top-left {
    border-top-color: rgba(255,153,0,1);
}

.theme-library .content-type-triangle-top-left {
    border-top-color: #771A33;
}

.theme-resources .content-type-triangle-top-left {
    border-top-color: #0492c2;
}

.theme-commentary .content-type-triangle-top-left {
    border-top-color: #347360;
}

.theme-news .content-type-triangle-top-left {
    border-top-color: #F2CC47;
}

.theme-twitter .content-type-triangle-top-left {
    border-top-color: #1DA1F2
}

.theme-generic .content-type-triangle-top-left {
    border-top-color: #2E2E3A
}

.image-square {
    border-radius: 0;
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center center;
    flex-shrink: 1;
}

.image-circle {
    border-radius: 32px;
    width: 60px;
    height: 60px;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    background-size: cover;
    background-position: center center;
    flex-shrink: 0;
    border: 2px solid #FFF;
    box-shadow: 0 0 2px #333;
}

.image-circle-doc-type {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.image-circle-orange {
    border-radius: 32px;
    width: 60px;
    height: 60px;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    background-size: cover;
    background-position: center center;
    flex-shrink: 0;
    border: 2px solid #FFF;
    box-shadow: 0 0 2px #333;
    background-color: #c66e4e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-circle-orange-small {
    border-radius: 16px;
    width: 32px;
    height: 32px;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    background-size: cover;
    background-position: center center;
    flex-shrink: 0;
    border: 2px solid #FFF;
    box-shadow: 0 0 2px #333;
    background-color: #c66e4e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-panel .small-panel-row .image-circle {
    border: 2px solid #FFF;
}

.dark-panel .small-panel-row p {
    color: #FFF;
}

.news-panel .small-panel-row p {
    color: #2E2E3A;
}

/* Image Box Buttons */
.image-box-button {
    text-align: center;
    background-position: center center;
    background-size: cover;
}

.image-box-button a {
    width: 100%;
    height: 100%;
    min-height: 5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46,46,58,0.6);
    color: #FFF;
    font-size: 1.5rem;
}

.image-box-button a:hover {
    animation-name: backgroundDarken;
    animation-fill-mode: both;
    animation-direction: normal, reverse;
    animation-duration: 0.5s;
}

.quill-stat-section-image {
    height: 100%;
    background-position: center center;
    background-size: cover;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.bg-delegations {
    background-image: url('../img/bundestag-g63f7fdf57_1280.jpg');
}

.bg-committees {
    background-image: url('../img/WY_Con_Con_1889.webp');
}

.bg-documents {
    background-image: url('../img/old-writing.jpg');
}

.bg-individuals {
    background-image: url('../img/musei-vaticani-g1990b818d_1920.jpg');
}

.bg-calendar {
    background-image: url('../img/calendar.jpg');
}

.bg-archive {
    background-image: url('../img/archive.jpg');
}

.bg-people {
    background-image: url('../img/people.webp');
}

.bg-decisions {
    background-image: url('../img/decisions.jpg');
}

.bg-draft, .bg-procedures {
    background-image: url('../img/draft2.jpg');
}

.bg-twitter {
    background-image: url('../img/bg-twitter.jpg');
    background-position: center top;
}

.bg-twitter-slider-height {
    height: 90%;
}

.bg-history-day {
    background-image: url('../img/bg-time-map.jpg');
    background-position: 350px 10px;
}

.bg-default {
    background-image: url('../img/default-news-1.jpg');
}

.bg-generic-banner {
    background-image: url('../img/bg-museum.jpg');
}

.bg-compare-documents {
    background-image: url('../img/bg-compare-documents.jpg');
}

.bg-contact-us {
    background-image: url('../img/bg-contact-5.jpg');
}

.bg-negotiated-texts {
    background-image: url('../img/bg-negotiated-texts.jpg');
}

.bg-privacy {
    background-image: url('../img/bg-privacy-2.jpg');
}

.bg-user-guide {
    background-image: url('../img/bg-user-guide-2.jpg');  
    background-size: 90%;
    background-position: left center;
}

.bg-getting-started {
    background-image: url('../img/bg-getting-started.png'); 
    background-size: 50%;
    background-position: 10% 20%;
}

.bg-researcher {
    background-image: url('../img/bg-researcher.jpg'); 
    background-position: 40% 0%;
}

.bg-teacher {
    background-image: url('../img/bg-teacher.jpg'); 
}

.bg-reader {
    background-image: url('../img/bg-reader.jpg'); 
    background-position: 25% 0%;
}

.bg-contributor {
    background-image: url('../img/bg-contributor-2.jpg'); 
    background-position: 40%;
}

.bg-half-size-bottom {
    background-size: 50%;
    background-position: left 90%;
}

.bg-half-size-middle {
    background-size: 50%;
    background-position: left 50%;
}

.bg-half-size-top {
    background-size: 60%;
    background-position: left 25%;
}
/* Date and calendar */
.calendar-box {
    width: 3rem;
    background-color: #FFF;
    color: #333;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-basis: auto;
}

.calendar-box-month {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    background-color: #d9534f;
    color: #FFF;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.calendar-box-year {
    font-size: 0.8rem;
    background-color: #333;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.calendar-box-day {
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Link styling */
.quill-list-item-link {
    padding: 1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    background-color: #FFF;
    border: 2px solid #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2E2E3A;
    border-radius: 4px;
    height: 100%;
}

.quill-list-item-link.active {
    opacity: 0.4;
}

.quill-list-item-link.align-top {
    align-items: flex-start;
}

.quill-list-item-link:hover {
    animation-name: buttonLinkChange;
    animation-direction: normal reverse;
    animation-fill-mode: both;
    animation-duration: 0.3s;
}

.quill-list-item-link:hover .quill-resource-list-associations {
    animation-name: associationBoxChange;
    animation-direction: normal reverse;
    animation-fill-mode: both;
    animation-duration: 0.3s;
}

.quill-info-tooltip-row {
    justify-content: space-between;
    display: flex;
    gap: 0.3rem;
    align-items: center;
}
/* Events Summary Group */
.events-summary-counter {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem;
    border-radius: 14px;
    padding: 0.2rem;
}
.events-summary-counter-group {
    background-color: #2E2E3A;
    display: flex;
    flex-direction: row;
    border-radius: 14px;
    padding: 0.2rem;
    gap: 1rem;
}

.events-summary-counter-group div {
    font-size: 0.8rem;
    font-weight: bold;
    color: #FFF;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.events-summary-counter-group div:last-of-type {
    margin-right: 1rem;
}

.events-summary-counter-group button:last-of-type {
    margin-right: 1rem;
}

.events-summary-counter-group div img, img.quill-event-icon {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    border: 1px solid #FFF;
    margin-right: 0.5rem;
    background: #FFF;
    box-shadow: 0px 0px 2px 0px #cacaca;
}
/* Document icons need top right visible for sub type display*/
.events-summary-counter-group div img.event-type-document, img.quill-event-icon.event-type-document {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}   

/* Errors styling */
.quill-error-title {
    color: #666;
    font-weight: bold;
    font-size: 1.4rem;
}

.quill-error-subtitle {
    color: #2E2E3A;
    font-weight: bold;
    font-size: 1.8rem;
    font-weight: bold;
}

.quill-list-options li {
    margin-bottom: 0.5rem;
}

.quill-list-options li.quill-list-no-bullet {
    list-style-type: none;
}

.quill-error-detail {
    color: #e6e1dc;
    background: #2b2b2b;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Multi Link List */
.multi-link-list-col {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
}

.multi-link-list-item {
    padding: 1rem;
    /*border: 2px solid #c66e4e; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    background-color: #FFF;
    color:#c66e4e;
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

.multi-link-list-title,  .multi-link-list-title:focus, .multi-link-list-title:active {
    color: #2E2E3A;
    font-size: 1.2rem;
    font-weight: bold;
}

.multi-link-list-title:hover {
    text-decoration: underline;
    color: #2E2E3A;
}

.multi-link-list-description {
    border-top: 1px solid rgba(46, 46, 58, 0.1);
    padding-top: 0.5rem;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    color: #2E2E3A;
    width: 100%;
}

.multi-link-list-image-tooltips {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.multi-link-list-tooltips {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.multi-link-list-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem;
}
/* Search Help Content */

.search-help-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search-help-row p {
    font-style: normal;
    font-weight: bold;
    margin-bottom: 0;
}
.search-help-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid #CACACA;
    padding-right: 2rem;
    margin-right: 2rem;
}

.search-help-form-wrapper {
    display: flex;
    flex-direction: column;
}

p.search-help-example {
    margin-bottom: 0;
    margin-left: auto;
    font-style: italic;
    font-weight: 300;
}

p.search-help-terms-title {
    font-weight: 600;
}
/* Home Page Locations Select Bar */
.locations-select-bar {
    width: 100%;
    display: flex;
    height: 100px;
    flex-direction: row;
    border-bottom: 2px solid #FFF;
    margin-top: 0rem;
    gap: 0.25rem;
    background-color: #FFF;
}

.locations-select-block {
    height: 100%;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex: 1;
}

.locations-image {
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-image: url('../img/bg-compare-documents.jpg');
    width: 100%;
    height: 100%;
    transition: all .5s;
}

.locations-select-block:not(.locations-intro):hover .locations-image, .locations-select-block:not(.locations-intro):focus .locations-image {
    transform: scale(1.1);
}

.locations-select-block:not(.locations-intro):hover a, .locations-select-block:not(.locations-intro):focus a {
    animation-name: fadeInDarkOverlay;
    animation-direction: normal reverse;
    animation-fill-mode: both;
    animation-duration: 0.3s;
    z-index: 1;
}

.locations-select-block.locations-intro, .locations-select-block.locations-intro .locations-image {
    flex: 1;
    max-width: 18rem;
}

.locations-select-block a, .locations-select-block span {
    width: 100%;
    height: 100%;
    min-height: 5rem;
    /*padding: 1rem;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.0);
    font-size: 1.4rem;
    color: #FFF;
    z-index: 2;
    position: relative;
}

.locations-select-block.locations-intro, .locations-select-block.locations-intro span {
    background-color: rgba(0,0,0,0.5);
}

.locations-select-block span {
    font-size: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    justify-content:  center;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
}

.locations-select-block span.library-banner-title {
    background-color: rgba(0,0,0,0.7);
    border-radius: 1rem;
    width: auto;
    height: auto;
    padding: 1rem;
    min-height: auto;
}

.locations-select-block a{
    border:none;
    position: relative;
  }

  .locations-select-block a:hover{
    border: none;
    border-bottom: 2px solid #c66e4e;
  }

  .locations-select-block a:hover span.library-banner-title {
    background-color: rgba(0,0,0,0.0);
  }

  .locations-select-block a::after{
    content: '';
    position: absolute;
    width: 0px;
    height: 5px;
    left: 50%;
    bottom:0;
    background-color: white;
    transition: all ease-in-out .2s;
  }
  .locations-select-block a:hover::after{
    width: 100%;
    left: 0;
  }


.locations-oz {
    background-image: url('../img/locations-oz-2.jpg');  
}

.locations-ukeire {
    background-image: url('../img/locations-ukeire.jpg');
}

.locations-us {
    background-image: url('../img/locations-us.jpg');
}

@keyframes fadeInDarkOverlay {
    from {
        background-color: rgba(0,0,0,0.0);
    }
    to {
        background-color: rgba(0,0,0,0.7);
    }
}
/* Library display elements */
.quill-library-tile {
    width: 100%;
}

.quill-library-tile-header a, .quill-library-tile-header span {
    font-size: 1rem;
    color:#2E2E3A;
    font-weight: bold;
}

.quill-library-tile-header {
    width: 100%;
    min-height: 4rem;
}

.quill-library-citation{
    border-bottom: 1px solid #CACACA;
    font-size: 0.9rem;
    text-align: center;;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.quill-title-with-image {
    flex-grow: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.quill-library-tile-content {
    position: relative;
    padding-top: 0.5rem;
    /*
    background-color: #FFF;
    box-shadow: inset 0 0 10px #CACACA;
    */
}

.quill-library-views-icons {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

/* Editor stylings */
.quill-no-margin {
    margin: 0;
}

.quill-flex-gap {
    gap: 1rem;
}

.quill-subtitle {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    border-left: 4px solid rgba(255,153,0,0.6);
    padding-left: 8px;
}

.quill-item-subtitle {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bold;
    border-left: 4px solid rgba(255,153,0,0.6);
    padding-left: 8px;
}

.quill-subtitle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quill-stats-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: bold;
    border-left: 4px solid rgba(255,153,0,0.6);
    padding-left: 8px;
}

.quill-intro-spacing {
    padding: 2rem;
    margin: 1rem;
}

.quill-editor-block {
    background-color: #3f3f50;
    border-radius: 2px;
    border-top: 2px solid #202029;
    box-shadow: 0px 2px 4px 0px #202029;
}

.quill-editor-block h4 {
    width: 100%;
    background-color: #202029;
    border: 2px solid #3f3f50;
    color: #FFF;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.quill-editor-block .quill-editor-actions {
    padding: 1rem;
}
/* Loading */
.quill-loading-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.quill-loading-wrapper p {
    margin-bottom: 0px;
}
/* Utility classes */
.quill-control-dark-bg {
    background-color: #2E2E3A;
    color: #FFF;
    display: flex;
    flex-direction: row;
    border-radius: 14px;
    padding: 0.2rem;
    gap: 1rem;
    justify-content: center;;
}
.error-detail {
    font-size: 0.7rem;
}
.quill-visualisation-trigger {
    display: none;
}

.quill-nav-bar-logo {
    width: 2rem;
    height: 2rem;
}

.quill-button-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 0.5rem;
}

a.quill-anchor-heading {
    display: block;
    color:rgba(46, 46, 58, 1);
}

a.quill-anchor-heading:hover a.quill-anchor-heading:active {
    color:rgba(46, 46, 58, 1);
}

.quill-row-fix {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.quill-dark-bar {
    background-color: #2E2E3A;
    border-radius: 4px;
    padding: 1rem 2rem 1rem 2rem;
}

#quill-box-title-current {
    font-weight: 600;
}

.quill-box-title-sm {
    font-size: 1.0rem;
}

.quill-resources-box {
    display: none;
}

.quill-resources-box.active {
    display: flex;
}

.quill-box-select:hover {
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.quill-box-select.active {
    opacity: 0.4;
    background-color: transparent;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.quill-icons-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.quill-icon-in-text {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    float: left;
}

.quill-icon-xl {
    width: 4rem;
    height: 4rem;
    border-radius: 2rem;
}

.quill-heading-icon {
    height: 2rem;
    width: 2rem;
    margin-right: 0rem;
}

.quill-heading-with-icon {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.quill-heading-icon-xl {
    height: 4rem;
    width: 4rem;
}

.quill-icon-border {
    border: 2px solid #FFF;
    box-shadow: 0px 0px 4px #333;
}

.quill-row {
    display: flex;
    flex-direction: row;
}

.quill-row-even-spaced {
    justify-content: space-between;
    align-items: center;
}

.quill-content-fill {
    flex-grow: 2;
}

.quill-row-centered {
    justify-content: center;
    align-items: center;
}

.quill-row-left-centered {
    justify-content: flex-start;
    align-items: center;
}

.quill-full-width-row {
    width: 100%;
}

.quill-stack {
    justify-content: center;
    gap: 1rem;
}
.quill-spacer {
    margin-top: 1rem;
}

.quill-selected-item {
    border: 2px solid #c66e4e;
}

.quill-spacer-xl {
    margin-top: 2rem;
}

.quill-spacer-bottom {
    margin-bottom: 1rem;
}

.quill-bottom-spacer-xl {
    margin-bottom: 2rem;
}

.quill-inner-spacer {
    gap: 1rem;
}

.quill-flex {
    display: flex;
}

.quill-flex-row {
    display: flex;
    flex-direction: row;
}

.quill-flex-row-gap {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.quill-flex-badges {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.quill-flex-center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.quill-flex-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.quill-flex-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.quill-button-extend {
    padding-left: 5rem;
    padding-right: 5rem;
}

.text-with-caption {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quill-event-text {
    white-space: pre-wrap;
    font-size: 0.9rem;
}

.text-with-caption span {
    font-size: 0.7rem;
    margin-top: 0rem;
}

.text-light {
    color: #FFF;
}

.quill-mobile-text-links {
    display: none;
}

.quill-notification-icon {
    margin-right: 1rem;
}

.quill-social-link {
    font-weight: 400;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quill-social-link i {
    font-size: 1.4rem;
    color: #FFF;
}

.quill-social-link:hover {
    animation-name: backgroundTransToOrange;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-duration: 0.3s;
}

.quill-library-carousel-indicators {
    background-color: #2E2E3A;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    height: 2rem;
    padding-top: 0.3rem;
}

.quill-auto-margin-top {
    margin-top: auto;
}

.in-page-scroll-link {
    cursor: pointer;
}

.quill-canvas-frame {
    padding: 1rem;
    background-color: #FFF;
    border-radius: 0.5rem;
    color: #2E2E3A;
}

.quill-paragraph-spacing p {
    margin-bottom: 0.5rem;
}

.quill-resource-list-associations {
    padding: 1rem;
    background-color: rgba(46, 46, 58, 0.165);
    font-size: 0.8rem;
    color: #333;
    border-radius: 4px;
}

.quill-section-borders {
    border-top: 1px solid #CACACA;
    border-bottom: 1px solid #CACACA;
}

.quill-align-top {
    align-items: flex-start;
}

.quill-white-trans-bg {
    background-color: rgba(255,255,255,0.85);
    width: 100%;
    height: 100%;
}

.quill-item-list-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
}

.quill-item-list-details-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.quill-square-bottom {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.quill-square-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.quill-light-bg {
    background-color: #e4e4e4;
}

.quill-light-text {
    color: #FFF;
}

.quill-minimap {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 200px;
    height: 200px;
    border-radius: 100px;
    z-index: 3;
    background-color: #ffffff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.quill-minimap-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 200px;
    border-radius: 100px;
    z-index: 100;
}

.quill-custom-list-style {
    list-style: none;
    padding-left: 1rem;
}

.quill-custom-list-style li {
    list-style-position: inside;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.quill-custom-list-style li span {
    padding-left: 0;
}

.quill-scrolling-wrapper {
    overflow-y: auto;
    overflow-x: scroll;
    width: 100%;
}

.hidden {
    display: none;
}

.quill-no-wrap {
    white-space: nowrap;
}

.quill-height-scroll-limit {
    height: calc(100vh - 6rem);
    overflow-y: scroll;
}

.quill-bg-white {
    background-color: #FFF;
}

.quill-page-with-shadow {
    background-color: #FFF;
    /*
    box-shadow: 0 0 10px 1px rgb(0 0 0 / 15%);
    clip-path: inset(0px -15px 0px -15px);
*/
    /* position and left properties required to bring element out from edge of parent
    so that shadow can be seen; margin-left would also achieve the same thing */
    /*
    position: relative;
    left: 15px;
    */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;

}

.quill-page-with-shadow p {
    margin-bottom: 1rem;
}

.quill-default-page-banner {
    background-image: url('../img/generic-banner.jpg');
    height: 150px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset, 0px 0px 50px 0px #000 inset;
    width: 100%;
    background-size: cover;
}

.quill-hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(46,46,58, 0), rgba(46,46,58, 0.15), rgba(46,46,58, 0));
}

.quill-hr-with-spacing {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.quill-info-tip {
    font-style: italic;
    border-left: 2px solid #2E2E3A;
    padding: 0 0rem 0 0.5rem;
}

.quill-info-tip i {
    margin-right: 0.5rem;
}

.quill-info-tip i:last-of-type {
    margin-left: 0.5rem;
}



.quill-modal-section-image {
    height: 100%;
    background-position: center center;
    background-size: cover;
    border-top-left-radius: 0rem;
    border-bottom-left-radius: 0rem;
}

input.quill-search-input, .input-group>.form-control.quill-search-input  {
    min-width: 10rem;
}

.quill-row-grow {
    height: 100%;
}

.quill-stat-section-icon {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    border: 1px solid #FFF;
    margin-right: 0.5rem;
    background: #FFF;
    box-shadow: 0px 0px 2px 0px #cacaca;
}

.quill-stat-section-icon.event-type-document {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.quill-card-body-spaced {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    gap: 0.25rem;
}

.quill-card-body-spaced-left-align {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    gap: 0.25rem;
}

.quill-card-cite {
    font-style: italic;
    width: 100%;
    text-align: center;
    margin-top: 0rem;
    margin-bottom: 0.25rem;
}

.quill-card-inner-content {
    padding: 0rem 1rem 0rem 1rem;
}

.quill-views-bar-explain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    background-color: #c66e4e;
    color: #FFF;
    margin-top: 1rem;
    margin-bottom: -1rem;
    font-size: 1rem;
    align-self: center;
    padding: 0.3rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.content-type-card .quill-stat-section-image {
    border-top-left-radius: 0;
}

.quill-scrollable {
    max-height: 160px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 1rem;
    position: relative;
}

.quill-scrollable p, quillmarkdown {
    margin-bottom: 0.5rem;
}

/* Video and Iframe Embed content */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Team page image grid with hover captions */

  ul.quill-photo-gallery {
    display: table;
    padding: 10px 0 10px 0;
    list-style: none;
    width: 100%;
    margin:0 auto;
  }

  ul.quill-photo-gallery:hover li{
    opacity:.8;
    -webkit-filter: blur(2px);
    filter: blur(2px);
}

  ul.quill-photo-gallery li {
      cursor: pointer; 
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      float: left;
      margin: 1rem;
      width: 180px;
      height: 180px;
      opacity: 1;
      transition: all .3s linear;
  }

  ul.quill-photo-gallery li a {
    width: 180px;
    height: 180px;
    background-size: cover;
    display: block;
}
    
  ul.quill-photo-gallery li:hover {
      box-shadow: 0 5px 15px gba(0,0,0,0.4);
      opacity: 1;
      transform: scale(1.08);
      -webkit-filter: blur(0);
      filter: blur(0);
  }
  
  .quill-gallery-img-wrap {
    position: relative;
    display: inline-block;
  }
  
  .quill-gallery-img-caption-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 46, 58, 0.6);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25%;
    z-index: 10;
    transition: opacity .2s, visibility .2s;
  }
  
li.quill-gallery-img-wrap:hover .quill-gallery-img-caption-layer {
    visibility: visible;
    opacity: 1;
  }
  
  .quill-gallery-img-caption {
    transition: .4s;
    transform: translateY(1em);
    text-align: center;
  }
  
li.quill-gallery-img-wrap:hover .quill-gallery-img-caption {
    transform: translateY(0);
  }

  /* Box Browser and active Box in resources */

  .active-box-grid {
    width: 100%;
  }

  .active-box-grid-row{
    display: flex;
    justify-content: space-between;
  }

.box-browser-active-box {
    position: relative;
    /*flex: 0 1 15rem;*/
    background-color: transparent;
    padding-bottom: 0;
    transition: background-color 0.2s cubic-bezier(0.5, 0.3, 0.8, 0.06);
    color: #000;
    flex-grow: 0;
    flex-basis: 15rem;
    flex-shrink: 1;
    margin: 0 auto;
    margin-top: 1rem;
  }
  .box-browser-active-box-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 1rem;
    perspective-origin: 50% 0%;
    perspective: 600px;
    z-index: 1;
  }
  .box-browser-active-box-content,
  .box-browser-active-box-shadow {
    position: absolute;
    display: block;
    width: 100%;
    min-height: 1rem;
    transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  }
  .box-browser-active-box-shadow {
    opacity: 0.8;
    border-radius: 0.5rem;
  }
  .box-browser-active-box-shadow:nth-child(1) {
    opacity: 0.6;
    background-color: #673ab7;
    transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1) 0.07s;
  }
  .box-browser-active-box-shadow:nth-child(2) {
    opacity: 0.7;
    background-color: #3f51b5;
    transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1) 0.05s;
  }
  .box-browser-active-box-shadow:nth-child(3) {
    background-color: #2196f3;
    transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1) 0.03s;
  }
  .box-browser-active-box-content {
    position: relative;
    background-color: transparent;
  }
  .box-browser-active-box-content::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    content: '';
    opacity: 0;
    transition: opacity 0.1s;
  }
  
  .box-browser-active-box-explore {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 5rem;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.5, 0.3, 0.8, 0.06);
  }
  
  .box-browser-active-box-explore span {
    padding: 0.5rem;
    flex: 1 1 auto;
    text-align: center;
  }
  
  .box-browser-active-box-explore {
    opacity: 0;
    transform: translate(0, -1rem);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #673ab7;
  }
  
  .box-browser-active-box:hover,
  .box-browser-active-box--active {
    background-color: transparent;
    cursor: pointer;
    padding-bottom: 3.5rem;
  }
  .box-browser-active-box:hover .box-browser-active-box-content-wrapper,
  .box-browser-active-box--active .box-browser-active-box-content-wrapper {
    z-index: 3;
  }
  .box-browser-active-box:hover .box-browser-active-box-title,
  .box-browser-active-box--active .box-browser-active-box-title {
    opacity: 0;
  }
  .box-browser-active-box:hover .box-browser-active-box-explore,
  .box-browser-active-box--active .box-browser-active-box-explore {
    opacity: 1;
    transform: translate(0, 1rem);
    transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1) 0.1s;
  }
  .box-browser-active-box:hover .box-browser-active-box-content,
  .box-browser-active-box--active .box-browser-active-box-content {
    transform: scale(1.05) translate(0, -1.5rem) rotateX(25deg);
  }
  .box-browser-active-box:hover .box-browser-active-box-content::before,
  .box-browser-active-box--active .box-browser-active-box-content::before {
    opacity: 0.4;
  }
  .box-browser-active-box:hover .box-browser-active-box-shadow:nth-child(3),
  .box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3) {
    transform: scale(1.02) translate(0, -0.4rem) rotateX(15deg);
  }
  .box-browser-active-box:hover .box-browser-active-box-shadow:nth-child(2),
  .box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2) {
    transform: scale(0.9) translate(0, 1.2rem) rotateX(15deg);
  }
  .box-browser-active-box:hover .box-browser-active-box-shadow:nth-child(1),
  .box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1) {
    transform: scale(0.82) translate(0, 2.5rem) rotateX(5deg);
  }
  .box-browser-active-box:hover .box-browser-active-box-button,
  .box-browser-active-box--active .box-browser-active-box-button {
    opacity: 1;
    color: #3f51b5;
    transform: translate(-50%, 0);
  }
  .box-browser-active-box:hover .box-browser-active-box-button:hover,
  .box-browser-active-box--active .box-browser-active-box-button:hover {
    color: #fff;
    background-color: #3f51b5;
  }
  .box-browser-active-box--active,
  .box-browser-active-box--active:hover {
    background: none;
  }
  .box-browser-active-box--active .box-browser-active-box-explore,
  .box-browser-active-box--active:hover .box-browser-active-box-explore {
    opacity: 0;
    transform: translate(0, 3rem);
    transition: all 0.5s cubic-bezier(0.42, 0, 0.58, 1);
  }
  .box-browser-active-box--active .box-browser-active-box-content,
  .box-browser-active-box--active:hover .box-browser-active-box-content {
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    transform: scale(1.05) translate(0, -2.5rem) rotateX(50deg);
  }
  .box-browser-active-box--active .box-browser-active-box-content::before,
  .box-browser-active-box--active:hover .box-browser-active-box-content::before {
    opacity: 0.4;
  }
  .box-browser-active-box--active .box-browser-active-box-button,
  .box-browser-active-box--active:hover .box-browser-active-box-button {
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.42, 0, 0.58, 1);
    transform: translate(-50%, -2rem) scale(1, 0.4);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(6%, 113%);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(6%, 223%);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(81%, 80%);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(-108%, 113%);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(-108%, 223%);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(26%, 80%);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(-222%, 113%);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(-222%, 223%);
  }
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(1) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(-29%, 80%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(6%, -55%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(6%, 55%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(81%, 0%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(-108%, -55%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(-108%, 55%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(26%, 0%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(-222%, -55%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(-222%, 55%);
  }
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(2) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(-29%, 0%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(6%, -223%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(6%, -113%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(1).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(1) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(81%, -80%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(-108%, -223%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(-108%, -113%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(2).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(2) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(26%, -80%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(3),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(3) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1);
    transform: scale(1) translate(-222%, -223%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(2),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(2) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
    transform: scale(1) translate(-222%, -113%);
  }
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(3).box-browser-active-box--active .box-browser-active-box-shadow:nth-child(1),
  .Grid-row:nth-child(3) .box-browser-active-box:nth-child(3) .box-browser-active-box--active:hover .box-browser-active-box-shadow:nth-child(1) {
    transition: all 0.2s cubic-bezier(0.7, 0, 0.78, 1) 0.2s;
    transform: scale(2.1) translate(-29%, -80%);
  }
  .box-browser {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f5f5f5;
    transform: scale(1.2);
    transition: none;
    padding-top: 5rem;
  }
  .box-browser-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background-color: #eee;
    display: flex;
    padding: 1rem;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .box-browser-content {
      overflow-y: scroll;
      width: 100%;
      height: 100%;
  }
  
  .box-browser-close {
    font-size: 3rem;
    opacity: 0.8;
    cursor: pointer;
    color: #2E2E3A
  }
  .box-browser-close:hover {
    opacity: 1;
  }
  
  .box-browser--active {
    z-index: 100;
    display: block;
    background: rgba(255,255,255,0.8);
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.7, 0, 0.78, 1) 0.1s;
  }
  
  .box-browser--active .box-browser-close {
    display: block;
  }
  
  .box-browser-box-select {
      cursor: pointer;
      transition: transform 0.3s;
      box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }
  
  .box-browser-box-select:hover {
      transform: translate(0, -0.2rem);
  }
  
  .box-browser-box-select::after {
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .box-browser-box-select:hover::after {
    opacity: 1;
  }
  
  
  .small-screen-only-text {
    display: none;
  }


/* Screen resolution amended styles */
@media only screen and (max-width: 1170px) {
    /* Switch to center alignment as below res now vertical stacked */
    .quill-row-summary-bar {
        justify-content: center;
        align-items: center;
    }
    .multi-stats-bar {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    .hero-panel-thin {
        margin-top: 94px;
    }
    .homepage-banner-title {
        font-size: 1.5rem;
    }
    .homepage-banner-block p {
        font-size: 1rem;
    }
    .quill-icons-example {
        width: 250px;
    }
}

@media only screen and (max-width: 991px) {
    
    /* Move to reduced nav bar and center on smaller resolutions */
    .jump-to-badge-absolute {
        position: absolute;
        top: -2.1rem;
        left: calc(50% - 32px);
        display: none;
    }
    .hero-panel-thin {
        margin-top: 86px;
    }
    .search-help-col {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
        margin-bottom: 1rem;
    }
    .text-panel-icon {
        max-width: 120px;
    }
    .navbar-nav.quick-icons {
        display: none;
    }
    .quill-mobile-text-links {
        display: inline;
    }
    .locations-intro {
        display: none;
    }
    .small-screen-only-text {
        display: flex;
    }
}

@media only screen and (max-width: 768px) {
    .small-panel-row {
        flex-wrap: nowrap;
    }
    .small-panel-row img {
        margin-left: auto;
    }
    .homepage-banner-block {
        width: 100%;
    }
    .quill-icons-example {
        width: 200px;
        bottom: -20px;
    }
    .card-body {
        padding-left: 3rem;
    }
    .quill-footer-content {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .quill-error-image {
        max-width: 250px;
    }
}

/* Styling change animations */

@keyframes iconColourChange {
    from {
        color: #FFF
    }
    to {
        color: #c66e4e;
    }
}

@keyframes iconBorderChange {
    from {
        border: 3px solid #c66e4e;
    }
    to {
        border: 2px solid #c66e4e;
    }
}

@keyframes backgroundDarken {
    from {
        background-color: rgba(46,46,58,0.6);
        color:#FFF;
    }
    to {
        background-color: rgba(255,255,255,0.8);
        color:#c66e4e;
    }
}

@keyframes backgroundTransToOrange {
    from {
        background-color: transparent;
    }
    to {
        background-color: #c66e4e;
    }
}

@keyframes buttonLinkChange {
    from {
        border-color: #FFF;
    }
    to {
        border-color: #c66e4e;
    }
}

@keyframes associationBoxChange {
    from {
        color: #2E2E3A;
        background-color: #CACACA;
    }
    to {
        color: #FFF;
        background-color: #2E2E3A;
    }
}

  #body, #body * {
    transition: all 0.25s;
  }
  .quill-custom-tabs-outer-wrap {
    position: relative;
    /*padding: 20px 30px 20px 30px; */
    padding: 15px 10px 10px 10px;
    box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.25);
    width: calc(100% - 2rem);
    margin: 0rem 1rem 0rem 1rem;
    background: #722b3e;
    border-radius: 0.4rem;
  }

  .quill-custom-tabs-outer-wrap.quill-text-breakdown {
    background: #4b6043;
  }

  .quill-custom-tabs-outer-wrap .quill-custom-tabs {
    border-bottom: 0;
    /*margin: 0 -50px -50px 20px; */
    margin: 0 -20px 10px;
    background: #303030;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    flex-wrap: nowrap !important;
  }

  .quill-custom-tabs-outer-wrap .quill-custom-tabs::-webkit-scrollbar {
    display: none;
  }

  .quill-custom-tabs-outer-wrap .quill-custom-tabs li {
    width: auto;
    white-space: nowrap;
    flex: 1;
  }

  .quill-custom-tabs-outer-wrap .quill-custom-tabs li a {
    border-top: 1px solid #FFF;
    border-radius: 0;
    cursor: pointer;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 2px solid #c66e4e;
    border-left: 1px solid #47475a;
    border-right: 1px solid #191920;
  }

  .quill-custom-tabs-outer-wrap .tab-content .tab-pane {
    background-color: #FFF;
    padding: 10px;
    border-radius: 0.4rem;
  }

  .quill-custom-tabs-outer-wrap .quill-custom-tabs li a:hover {
    background: #ddd;
    color: #303030;
  }

  .quill-custom-tabs-outer-wrap .quill-custom-tabs li.active a {
    background: #fff;
    color: #3D5A68;
  }

  .quill-custom-tabs-outer-wrap .tab-content {
    overflow: hidden !important;
  }

  .quill-scroll-hint {
    position: absolute;
    background-color: rgba(255,255,255,0.8)!important;
  }

  .quill-scroll-hint-tabs {
    top: -10px;
    right: -10px;
  }

  .quill-scroll-hint-text {
    bottom: -15px;
    right: calc(50% - 140px);
    position: sticky;
    /* background-color: rgba(255,255,255,0.95)!important; */
    background-color: rgb(137, 207, 240,0.9)!important;
    padding: 0.5rem 1rem;
  }