html, body {
  height: 100%;
}

.text-white {
  color: white;
}

.flex-grow {
  flex-grow: 1
}

.btn-digi {
  border-color: #9E1894;
  color: #9E1894;
}

.btn-digi:hover {
  background: #9E1894;
}

.bg-light-gray {
  background: #f5f5f5;
}

.breadcrumb {
  background-color: #f5f5f5;
}

.header-underline {
  border-bottom: 1px solid #ccc;
}

.header-special {
    color: #9E1894;
}

.figure-caption-text-larger {
  font-size: 100%;
}

.figure-badge {
  position: absolute;
  z-index: 1005;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.fluid-img-container {
  position: relative;
  width: 100%;
  height: 0;
}

.fluid-img-container > img {
  width: 100%;
}

/* .no-access {
    position: relative;
}

.authenticated .no-access:after {
    content: '\1F512';
    line-height: 1em;
    padding: 5px;
    position: absolute;
    bottom:0;
    right:0;
    color: white;
    background: rgba(0,0,0,0.7);
} */

.ie-only {
    display: none;
}

.is-ie .ie-only {
    display: block !important;
}

.spread-image {
  -webkit-transition: -webkit-transform 200ms ease-in-out;
  transition: -webkit-transform 200ms ease-in-out;
  -o-transition: transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out, -webkit-transform 200ms ease-in-out;
  z-index: 1000;
  position: relative;
}
body:not(.bookmark-delete-mode) .spread-image:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
  z-index: 1001;
}

.richieAdContainer {
  background: white;
}

.shadowed-image {
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
          box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.b-lazy {
  -webkit-transition: opacity 300ms ease-in-out;
       -o-transition: opacity 300ms ease-in-out;
          transition: opacity 300ms ease-in-out;
           max-width: 100%;
             opacity: 0;
  min-height: 1px;
}

.b-lazy.b-loaded {
  opacity: 1;
}
.spinner {
  position: absolute;
  z-index: 100;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 100%;
  display:none;
}

.loading > .spinner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.spinner > div {
  width: 10px;
  height: 10px;
  background-color: #777;
  margin: 0 2px;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

/** header **/

.header {
    background: #F6BA84;
    width: 100%;
}

.header .header-menu a.icon img {
    height: 26px;
}

.header-menu a.icon:last-child {
    margin-right: 0 !important;
}

.header-menu-sm {
    font-size: 90%;
}

/** banner **/

.banner {
    width: 100%;
    max-height: 400px;
}

@media (max-width: 768px) {
    .banner {
       max-height: 500px;
    }
}

/** bookmark deletion **/


.bookmark-delete-mode .enable-bookmark-delete-mode,
.disable-bookmark-delete-mode,
.commit-bookmark-deletions,
.bookmark-deletion-alert
 {
  display: none;
}

.enable-bookmark-delete-mode,
.bookmark-delete-mode .disable-bookmark-delete-mode,
.bookmark-delete-mode .commit-bookmark-deletions,
.bookmark-delete-mode .bookmark-deletion-alert {
  display: inline-block;
}

.bookmark-link .spread-image {
  position: relative;
}

.bookmark-delete-mode .bookmark-link img {
  opacity: 0.5;
}

.bookmark-delete-mode .bookmark-link.selected-for-deletion img {
  opacity: 1.0;
}

.selection-container {
  display: inline-block;
  position: relative;
}

.bookmark-delete-mode .bookmark-link.selected-for-deletion .spread-image .selection-container::after {
  content: '';
  position: absolute;
  background-color: rgba(0,0,0,0.6);
  background-image: url(../img/checkmark.png);
  background-repeat: no-repeat;
  background-position: center;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index: 2000;
}

.richieAdContainer {
  background-color: transparent !important;
}

/** card radio button **/

.card-radio-button > input {
  visibility: hidden;
  -webkit-appearance:none;
     -moz-appearance:none;
          appearance:none;
}

.card-radio-button > input + label > .card {
  transition: opacity 0.3s ease-in-out;
}

.card-radio-button > input:not(:checked) + label > .card:not(.current):not(.extra) {
  background-color: white !important;
  color: black !important;
}

.selection .card-radio-button > input:not(:checked) + label > .card:not(.current):not(.extra) {
  opacity: 0.5;
}

.card-radio-button > input:active + label > .card,
.card-radio-button > input:checked + label > .card {
  opacity: 1.0;
  color: white;
}

.card-radio-button .selected {
  display: none;
}

.card-radio-button > input:checked + label .selected {
  display: inline-block !important;
}

.card-radio-button > input:checked + label .not-selected {
  display: none;
}

/** notification message **/

.notification-message {
  display: none; /* hidden as default */
}

.notification-message .content {
    padding-right: 3rem;
}

.notification-message.alert-dismissible {
    padding-right: inherit;
}

.notification-message .buttons > button {
    min-width: 100px;
}

/** search **/
.searchPagination .page-link {
  min-width: 44px;
  text-align: center;
}

.searchPagination .active > .page-link {
  background-color: #9E1894;
  border-color: #9E1894;
}

@media (max-width: 768px) {
  .text-truncate-lt-md {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
