.quote {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.quote blockquote {
  font-size: 17px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;  /* Show max 6 lines */
  -webkit-box-orient: vertical;
  color: white;
  text-shadow: 0 0 1px black;
}


#contentMiddle .bgpic {
  height: 355px !important;
}

#tab2 {
  justify-content: flex-end ! IMPORTANT;
}

#tabMiddle {
  position: relative;
}

.overflowShow {
  overflow: visible;
  z-index: 99;
}

.tab-content {
  position: relative;
  z-index: 0;
}

a.removeTopic:hover {
  text-decoration: none;
}



.vs-circle {
  position: absolute;
  background: #ffffff;
  border-radius: 100%;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008080;
  font-size: 28px;
  border: 2px solid #008080;
  font-style: italic;
  font-weight: 700;
  font-family: arial;
  width: 100px;
  height: 100px;

}





#tabMiddle:hover {
  border-color: transparent;
}

a#tabMiddle {
  border-top: 2px solid #118a5f !important;
  border-bottom: 2px solid #118a5f !important;
  border-left: 0px;
  border-right: 0px;
  border-radius: 0;
}

.tabNum[tabnum="1"] {
  border-right: 0px;
}

.tabNum[tabnum="2"] {
  border-left: 0px;
}

#tab1 {
  padding: 6px 35px 5px 23px;
  justify-content: center !important;
}

#tab2 {
  padding: 6px 26px 5px 35px;
  justify-content: center !important;
}


.tabNum {
  border: 2px solid #008080;
}

.tabNum[tabnum="1"] {
  margin-right: -15px;
}

.tabNum[tabnum="2"] {
  margin-left: -15px;
}

.tabNum[tabnum="1"],
.tabNum[tabnum="1"] a {
  border-radius: 10px 0 0 0 !important;
}

.tabNum[tabnum="2"],
.tabNum[tabnum="2"] a {
  border-radius: 0 10px 0 0 !important;
}

.tabNum a.active,
#tabMiddle.active .vs-circle {
  background-color: #008080 !important;
  color: #fff !important;
}

.tabNum a {
  font-weight: 700;
  color: #008080 !important;
}

.montage_wrap {
  padding: 20px 10px !important;
}

.tab_uptext {
  padding: 0 10px;
}

.stimulus_montage>.container {
  margin: 10px 0px;
  padding: 0px 10px;
}

.filter-by-category {
  margin: 0 10px;
  padding: 0;
}

.filter-by-category .btn:nth-child(1) {
  margin-left: -4px;
}

input#searchResults {
  margin-top: 5px;
}

#searchResults>div.active {
  background-color: #ebebeb;
}

div#searchResults:has(div) {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 7px 10px;
}

div#searchResults>div {
  margin-bottom: 3px;
  cursor: pointer;
}

div#searchResults>div:hover {
  background-color: #f0f0f0;
}

.footer-links-wrap a,
.footer-links-wrap a:visited,
.list-unstyled.social a {
  color: #444;
}


.btn-group.filter-options {
  margin: 3px 8px;
}



@media screen and (max-width: 767px) {

  .stimulus_montage>.container {
    padding: 0px 0px;
  }



  .full-width {
    display: block !important;
    margin: 0 auto !important;
  }


  li.nav-item.tabNum {
    font-size: 13px;
  }


  .social {
    text-align: center;
    margin-top: 20px;
  }


  .footer-links-wrap>div {
    width: 50%;
    text-align: center;
  }

  div#content-wrapper {
    min-width: 100vw;
  }

  #accordionSidebar {
    transition: transform 0.5s ease;
    transform: translate(0px, 0px);
  }


  .collapsed #accordionSidebar {
    display: none;

  }





  .container-1000 {
    max-width: 100% !important;
  }




  .container.filters-container {
    margin: 0;
  }

  .container.grid-container {
    margin-top: 16px;
  }

  .filters-group {

    padding-top: 10px !important;
  }

  p.filter-label {
    margin-left: 21px;
  }

  .filters-group-wrap {
    width: 100%;
  }

  .btn-group.filter-options {
    display: flex;
  }





  .picture-item__details,
  .picture-item__description {
    font-size: 0.875em;
    padding: 0.625em;
  }

  .picture-item__description {
    padding-right: 0.875em;
    padding-bottom: 1.25em;
  }

  .picture-item--h2 {
    height: auto;
  }
}
























/* Small reset */
*,
::before,
::after {
  box-sizing: border-box;
}

body {
  color: #34495e;
}

figure {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

a,
a:visited {
  color: #3498db;
}

a:hover {
  text-decoration: underline;
}

a:active {
  color: #2ecc71;
}

p {
  margin: 1em 0;
  line-height: 1.4;
}

/*
  Shuffle needs either relative or absolute positioning on the container
  It will set it for you, but it'll cause another style recalculation and layout.
  AKA worse performance - so just set it here
 */
.my-shuffle-container {
  position: relative;
  overflow: hidden;
}

.my-sizer-element {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.picture-item {
  height: 220px;
  margin-top: 24px;
}

.picture-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@supports ((-o-object-fit: cover) or (object-fit: cover)) {
  .picture-item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: center;
  }
}

.picture-item--h2 {
  height: 464px;
  /* 2x the height + 1 gutter */
}

.picture-item__inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #191919;
}

.full-box-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wiki-link {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.picture-item__details {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
}

.picture-item__description {
  width: 100%;
  padding: 0 2em 1em 1em;
  margin: 0;
}

.picture-item__title {
  margin-right: 4px;
}

.picture-item__tags {
  flex-shrink: 1;
  text-align: right;
  margin: 0;
}


.picture-item--overlay .picture-item__details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);*/
  color: white;
  overflow: hidden;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.61) 15%, rgba(0, 0, 0, 0.48) 49%, rgba(0, 0, 0, 0.28) 70%, rgba(0, 0, 0, 0.17) 79%, rgba(0, 0, 0, 0) 100%);
}

.picture-item--overlay .picture-item__description {
  display: none;
}


.stimulus_montage,
.polyContainer {
  width: 100%;
  max-width: 500px;
}


.stimulus_montage {
  margin: 0 auto;
}

@media screen and (min-width: 840px) {

  .stimulus_montage,
  .polyContainer {
    width: 100%;
    max-width: 600px;
  }
}

@media screen and (min-width: 940px) {

  .stimulus_montage,
  .polyContainer {
    width: 100%;
    max-width: 700px;
  }
}

@media screen and (min-width: 1040px) {

  .stimulus_montage,
  .polyContainer {
    width: 100%;
    max-width: 800px;
  }
}

.picture-item--overlay a {
  color: white;
  text-shadow: 0 0 1px black;
}

@media screen and (max-width: 767px) {

  .stimulus_montage {

    max-width: 97%;
  }

  .polyContainer {
    width: 97%;
  }

  .vs-circle {
    height: 75px;
    width: 75px;
  }



  .picture-item__details,
  .picture-item__description {
    font-size: 0.875em;
    padding: 0.625em;
  }

  .picture-item__description {
    padding-right: 0.875em;
    padding-bottom: 1.25em;
  }

  .picture-item--h2 {
    height: auto;
  }
}

.filter-label {
  display: block;
  padding: 0;
  margin-top: 0;
  margin-bottom: 4px;
  color: #95a5a6;
}

.filters-group {
  padding: 0;
  margin: 0 0 4px;
  border: 0;
}

@media screen and (min-width: 768px) {
  .filters-group-wrap {
    display: flex;
    justify-content: space-between;
  }
}

.btn-group:after,
.btn-group:before {
  content: " ";
  display: table;
}

.btn-group:after {
  clear: both;
}

.btn-group .btn {
  float: left;
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: 3px 0 0 3px;
}

.btn-group .btn:not(:first-child) {
  margin-left: -1px;
}

.btn-group .btn:last-child {
  border-radius: 0 3px 3px 0;
}

.btn-group label.btn input[type=radio] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.btn {
  display: inline-block;
  padding: 0.75em 0.8em;
  text-align: center;
  border-radius: 3px;
  border: 1px solid #34495e;
  color: #34495e;
  font-size: 1rem;
  background-color: rgba(52, 73, 94, 0);
  transition: 0.2s ease-out;
  cursor: pointer;
  -webkit-appearance: none;
}

@media (-moz-touch-enabled: 0),
(pointer: fine) {
  .btn:hover {
    color: #fff;
    text-decoration: none;
    background-color: #34495e;
  }
}

.btn:focus {
  outline-width: 0;
  box-shadow: 0 0 0 2px rgba(52, 73, 94, 0.4);
}

.btn.active,
.btn:active {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
  color: #fff;
  background-color: #34495e;
}

.btn:focus.active {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(52, 73, 94, 0.4);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  color: #34495e;
  background-color: rgba(52, 73, 94, 0);
}

.btn--primary {
  color: #3498db;
  border-color: #3498db;
  background-color: rgba(52, 152, 219, 0);
}

@media (-moz-touch-enabled: 0),
(pointer: fine) {
  .btn--primary:hover {
    background-color: #3498db;
  }
}

.btn--primary:focus {
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.4);
}

.btn--primary.active,
.btn--primary:active {
  background-color: #3498db;
}

.btn--primary:focus.active {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(52, 152, 219, 0.4);
}

.btn--primary:disabled {
  color: #3498db;
  background-color: rgba(52, 152, 219, 0);
}

@media screen and (max-width: 767px) {
  .btn {
    font-size: 0.875rem;
  }
}

.textfield {
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  border: 2px solid #95a5a6;
  border-radius: 4px;
  padding: 0.5em;
  font-size: 1rem;
  color: #34495e;
  transition: 0.15s;
}

.textfield:-ms-input-placeholder {
  color: #95a5a6;
  -ms-transition: 0.15s;
  transition: 0.15s;
}

.textfield::-moz-placeholder {
  color: #95a5a6;
  -moz-transition: 0.15s;
  transition: 0.15s;
}

.textfield::placeholder {
  color: #95a5a6;
  transition: 0.15s;
}

.textfield:hover {
  outline-width: 0;
  color: #5d6d77;
  border-color: #5d6d77;
}

.textfield:hover:-ms-input-placeholder {
  color: #5d6d77;
}

.textfield:hover::-moz-placeholder {
  color: #5d6d77;
}

.textfield:hover::placeholder {
  color: #5d6d77;
}

.textfield:focus {
  outline-width: 0;
  border-color: #34495e;
}

.textfield:focus:-ms-input-placeholder {
  color: #34495e;
}

.textfield:focus::-moz-placeholder {
  color: #34495e;
}

.textfield:focus::placeholder {
  color: #34495e;
}

.container {
  padding-left: 3.5%;
  padding-right: 3.5%;
}

.container:after,
.container:before {
  content: " ";
  display: table;
}

.container:after {
  clear: both;
}

.row {
  margin-left: auto;
  margin-right: auto;
}

.row:after,
.row:before {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

.row .row {
  margin-left: -8px;
  margin-right: -8px;
}

/* Ensure images take up the same space when they load */
/* https://vestride.github.io/Shuffle/images */
.aspect {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
}

.aspect__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.aspect--16x9 {
  padding-bottom: 56.25%;
}

.col-1\@xs,
.col-2\@xs,
.col-3\@xs,
.col-4\@xs,
.col-5\@xs,
.col-6\@xs,
.col-1\@sm,
.col-2\@sm,
.col-3\@sm,
.col-4\@sm,
.col-5\@sm,
.col-6\@sm,
.col-7\@sm,
.col-8\@sm,
.col-9\@sm,
.col-10\@sm,
.col-11\@sm,
.col-12\@sm,
.col-1\@md,
.col-2\@md,
.col-3\@md,
.col-4\@md,
.col-5\@md,
.col-6\@md,
.col-7\@md,
.col-8\@md,
.col-9\@md,
.col-10\@md,
.col-11\@md,
.col-12\@md {
  position: relative;
  box-sizing: border-box;
  min-height: 1px;
  padding-left: 8px;
  padding-right: 8px;
}

.col-1\@xs,
.col-2\@xs,
.col-3\@xs,
.col-4\@xs,
.col-5\@xs,
.col-6\@xs {
  float: left;
}

.col-1\@xs {
  width: 16.66667%;
}

.col-2\@xs {
  width: 33.33333%;
}

.col-3\@xs {
  width: 50%;
}

.col-4\@xs {
  width: 66.66667%;
}

.col-5\@xs {
  width: 83.33333%;
}

.col-6\@xs {
  width: 100%;
}

@media screen and (min-width: 768px) {

  .col-1\@sm,
  .col-2\@sm,
  .col-3\@sm,
  .col-4\@sm,
  .col-5\@sm,
  .col-6\@sm,
  .col-7\@sm,
  .col-8\@sm,
  .col-9\@sm,
  .col-10\@sm,
  .col-11\@sm,
  .col-12\@sm {
    float: left;
  }

  .col-1\@sm {
    width: 8.33333%;
  }

  .col-2\@sm {
    width: 16.66667%;
  }

  .col-3\@sm {
    width: 25%;
  }

  .col-4\@sm {
    width: 33.33333%;
  }

  .col-5\@sm {
    width: 41.66667%;
  }

  .col-6\@sm {
    width: 50%;
  }

  .col-7\@sm {
    width: 58.33333%;
  }

  .col-8\@sm {
    width: 66.66667%;
  }

  .col-9\@sm {
    width: 75%;
  }

  .col-10\@sm {
    width: 83.33333%;
  }

  .col-11\@sm {
    width: 91.66667%;
  }

  .col-12\@sm {
    width: 100%;
  }

  .container {
    padding-left: 7%;
    padding-right: 7%;
  }

  .row {
    max-width: 1200px;
  }
}

@media screen and (min-width: 1024px) {

  .col-1\@md,
  .col-2\@md,
  .col-3\@md,
  .col-4\@md,
  .col-5\@md,
  .col-6\@md,
  .col-7\@md,
  .col-8\@md,
  .col-9\@md,
  .col-10\@md,
  .col-11\@md,
  .col-12\@md {
    float: left;
  }

  .col-1\@md {
    width: 8.33333%;
  }

  .col-2\@md {
    width: 16.66667%;
  }

  .col-3\@md {
    width: 25%;
  }

  .col-4\@md {
    width: 33.33333%;
  }

  .col-5\@md {
    width: 41.66667%;
  }

  .col-6\@md {
    width: 50%;
  }

  .col-7\@md {
    width: 58.33333%;
  }

  .col-8\@md {
    width: 66.66667%;
  }

  .col-9\@md {
    width: 75%;
  }

  .col-10\@md {
    width: 83.33333%;
  }

  .col-11\@md {
    width: 91.66667%;
  }

  .col-12\@md {
    width: 100%;
  }
}

.backImage {
  object-fit: cover !important;
  object-position: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120% !important;
  height: auto !important;
  min-height: 120% !important;
  filter: blur(5px);
  aspect-ratio: attr(width) / attr(height);
}

.frontImage {
  position: absolute;
  font-size: 18px;
}


.nav-tabs {
  container-type: inline-size;
  container-name: navtabs;
}

.tabNum[tabnum="1"] .removeTopic {
  margin-left: 4px;
}

.tabNum[tabnum="2"] .removeTopic {
  margin-right: 6px;
  right: 0;
}

.nav-item:has(.nav-link.active) .removeTopic i {
  color: #fff;
}

.removeTopic {
  display: flex;
  align-items: center;
  margin-left: 4px;
  position: absolute;
  height: 100%;
}

.nav.nav-tabs {
  flex-wrap: nowrap;
}

.tabNum>.nav-link {
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noPadding {
  padding-right: 2px !important;
  padding-left: 3px !important;
}


.removeTopic {
  font-size: 17px;
}

@media (min-width:768px) {
  .share_cube {
    display: inline-block;
    background: #008080;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 74px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;

  }
}

@media (max-width:768px) {
  .share_cube {
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 25px;
    color: #d1d3e2;
  }
}

.width100 {
  width: 100%;
  padding: 0 5px;
}

.topbarsearch {
  margin: 0;
}

.topbarsearch .searchResults {
  position: absolute;
  top: 53px;
  width: 481px;
  z-index: 99999;
  background-color: #fff;
}


.loader {
  width: 18px;
  margin: 7px 20px 1px 20px;

  height: 18px;
  border: 2px solid #656565;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.topbarsearch .loader {
  margin: 7px 20px;
}



@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}