.block-facetedBrowsePreview table .resource-link img, .faceted-browse-page #section-content table .resource-link img {
  height: auto !important;
}

.block-facetedBrowsePreview table .resource-link, .faceted-browse-page #section-content table .resource-link {
  flex-wrap: nowrap;
}

.faceted-results img {
  max-width: 3rem !important;
}

#main-content {
    min-height: 25vw;
}

.metadata .value.resource .resource-link {
  display: initial;
}

.resource-name {
    display: inline-block;
    width: 100%;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    position: relative;
    transition: width 0.3s ease;
    padding-left: 5px;
}

.resource-name:hover {
    width: auto;
   min-width: 100%;
   white-space: wrap;
    background-color: white; /* Optional: to make the expanded text more readable */
    z-index: 10; /* To ensure it appears above other content */
}


@media (min-width: 1200px) {
  .main-header__top-bar {
    display: none !important;
  }
}
.collapsible {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.collapsible.active {
    max-height: fit-content; /* Or a value large enough to fit the content */
}

.main-footer__top img {
  height: auto !important;
  border-radius: 0 !important;
}

.contact-form {
   margin-left: 5%;
   width: 40%;
}
.main-footer {
  width: 100%;
  position: relative;
  left: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.faceted-browse-page #container {
  line-height: 1rem !important;
}

.faceted-browse-page #facets legend {
  font-size: 1rem;
}

.browse-controls {
  padding-bottom: 0px;
}
 .faceted-browse-page #section-sidebar {
    width: 20%;
    z-index: auto !important;
  }
.faceted-browse-page .facets-container {
  margin-top: 105px !important;
}
.faceted-browse-page #section-sidebar fieldset {
  margin-top: 23px;
}
.faceted-browse-page #container {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}

@media (min-width: 768px) {
  #advanced-search .half {
    flex-basis: calc(50% - 13px) !important;
  }

select {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: block;
  margin-bottom: 8px;
  padding: 10px 15px;
  border-radius: 22px;
  line-height: 1.4;
  text-overflow: ellipsis;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: initial;
  background-color: #e9e9ed;
  background-image: url("../../themes/lively/asset/img/arrow-down-blue.svg");
  background-position: calc(100% - 15px) center;
  background-size: 18px;
  background-repeat: no-repeat;
  border: 1px solid #ccc;
  color: #666;
  outline: none; /* Remove the default outline */
  appearance: none; /* Remove the default select arrow */
  cursor: pointer;
  min-width: 120px;
}

select:focus {
  border-color: #5897fb;
  box-shadow: 0 0 5px rgba(0,0,0,.3);
 border-radius: 22px;
}

select:disabled {
  opacity: 0.5;
  cursor: default;
}






#advanced-search .inputs select {
  margin:.25rem .25rem .25rem 0;
  min-width: 120px;
}

/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com

Version 1.8.7
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2018 Harvest http://getharvest.com

MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
*/

.chosen-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: block;
  margin-bottom: 8px;
  padding: 0px 0px;
  border-radius: 22px;
  line-height: 1.4;
  text-overflow: ellipsis;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
 font-size: initial;
background-color: #e9e9ed;
background-image: url("../../themes/lively/asset/img/arrow-down-blue.svg");
background-position: calc(100% - 15px) center;
background-size: 18px;
background-repeat: no-repeat;
}

.chosen-container * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.chosen-container .chosen-drop {
  position: absolute;
  top: 100%;
  z-index: 1010;
  width: 100%;
  border: 1px solid #ccc;
  border-top: 0;
  background: #fff;
  -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
  box-shadow: 0 4px 5px rgba(0,0,0,.15);
  clip: rect(0,0,0,0);
  -webkit-clip-path: inset(100% 100%);
  clip-path: inset(100% 100%);
  border-radius: 0 0 22px 22px;
}

.chosen-container.chosen-with-drop .chosen-drop {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
}

.chosen-container a {
  cursor: pointer;
}

.chosen-container .chosen-single .group-name,
.chosen-container .search-choice .group-name {
  margin-right: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 400;
  color: #999;
}

.chosen-container .chosen-single .group-name:after,
.chosen-container .search-choice .group-name:after {
  content: ":";
  padding-left: 2px;
  vertical-align: top;
}

.chosen-container-single .chosen-single {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 10px 15px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 22px;
  color: #666;
background-image: url("../../themes/lively/asset/img/arrow-down-blue.svg");
background-position: calc(100% - 15px) center;
background-size: 18px;
background-repeat: no-repeat;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.chosen-container-single .chosen-default {
  color: #999;
}

.chosen-container-single .chosen-single span {
  display: block;
  overflow: hidden;
  margin-right: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chosen-container-single .chosen-single-with-deselect span {
  margin-right: 38px;
}

.chosen-container-single .chosen-single abbr {
  position: absolute;
  top: 6px;
  right: 26px;
  display: block;
  width: 12px;
  height: 12px;
  background: url(chosen-sprite.png) -42px 1px no-repeat;
  font-size: 1px;
}

.chosen-container-single .chosen-single abbr:hover {
  background-position: -42px -10px;
}

.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
  background-position: -42px -10px;
}

.chosen-container-single .chosen-single div {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 18px;
  height: 100%;
}

.chosen-container-single .chosen-single div b {
  display: block;
  width: 100%;
  height: 100%;
  background: url(chosen-sprite.png) no-repeat 0 2px;
}

.chosen-container-single .chosen-search {
  position: relative;
  z-index: 1010;
  margin: 0;
  padding: 3px 4px;
  white-space: nowrap;
}

.chosen-container-single .chosen-search input[type=text] {
  margin: 1px 0;
  padding: 4px 20px 4px 5px;
  width: 100%;
  height: auto;
  outline: 0;
  border: 1px solid #ccc;
  background: url(chosen-sprite.png) no-repeat 100% -20px;
  font-size: 1em;
  font-family: sans-serif;
  line-height: normal;
  border-radius: 0;
}

.chosen-container-single .chosen-drop {
  margin-top: -1px;
  border-radius: 0 0 22px 22px;
  background-clip: padding-box;
}

.chosen-container-single.chosen-container-single-nosearch .chosen-search {
  position: absolute;
  clip: rect(0,0,0,0);
  -webkit-clip-path: inset(100% 100%);
  clip-path: inset(100% 100%);
}

.chosen-container .chosen-results {
  color: #444;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0 4px 4px 0;
  padding: 0 0 0 4px;
  max-height: 240px;
  -webkit-overflow-scrolling: touch;
}

.chosen-container .chosen-results li {
  display: none;
  margin: 0;
  padding: 5px 6px;
  list-style: none;
  line-height: 1.4;
  word-wrap: break-word;
  -webkit-touch-callout: none;
}

.chosen-container .chosen-results li.active-result {
  display: list-item;
  cursor: pointer;
}

.chosen-container .chosen-results li.disabled-result {
  display: list-item;
  color: #ccc;
  cursor: default;
}

.chosen-container .chosen-results li.highlighted {
  background-color: #36864f;
 background-image: linear-gradient(#36864f 20%, #1c6c35 90%);
  color: #fff;
 border-radius: 22px;
}

.chosen-container .chosen-results li.no-results {
  color: #777;
  display: list-item;
  background: #f4f4f4;
}

.chosen-container .chosen-results li.group-result {
  display: list-item;
  font-weight: 700;
  cursor: default;
}

.chosen-container .chosen-results li.group-option {
  padding-left: 15px;
}

.chosen-container .chosen-results li em {
  font-style: normal;
  text-decoration: underline;
}

.chosen-container-multi .chosen-choices {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0 5px;
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  cursor: text;
}

.chosen-container-multi .chosen-choices li {
  float: left;
  list-style: none;
}

.chosen-container-multi .chosen-choices li.search-field {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
  margin: 1px 0;
  padding: 0;
  height: 25px;
  outline: 0;
  border: 0 !important;
  background: 0 0 !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #999;
  font-size: 100%;
  font-family: sans-serif;
  line-height: normal;
  border-radius: 0;
  width: 25px;
}

.chosen-container-multi .chosen-choices li.search-choice {
  position: relative;
  margin: 3px 5px 3px 0;
  padding: 3px 20px 3px 5px;
  border: 1px solid #ccc;
  max-width: 100%;
  border-radius: 22px;
  background-color: #eee;
  //background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  background-size: 100% 19px;
  background-repeat: repeat-x;
  background-clip: padding-box;
  -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0,0,0,.05);
  box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0,0,0,.05);
  color: #333;
  line-height: 13px;
  cursor: default;
}

.chosen-container-multi .chosen-choices li.search-choice span {
  word-wrap: break-word;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  position: absolute;
  top: 4px;
  right: 3px;
  display: block;
  width: 12px;
  height: 12px;
  background: url(chosen-sprite.png) -42px 1px no-repeat;
  font-size: 1px;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
  background-position: -42px -10px;
}

.chosen-container-multi .chosen-choices li.search-choice-disabled {
  padding-right: 5px;
  border: 1px solid #ccc;
  background-color: #e4e4e4;
  //background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  color: #666;
}

.chosen-container-multi .chosen-choices li.search-choice-focus {
  background: #d4d4d4;
}

.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
  background-position: -42px -10px;
}

.chosen-container-multi .chosen-results {
  margin: 0;
  padding: 0;
}

.chosen-container-multi .chosen-drop .result-selected {
  display: list-item;
  color: #ccc;
  cursor: default;
}

.chosen-container-active .chosen-single {
  border: 1px solid #5897fb;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.chosen-container-active.chosen-with-drop .chosen-single {
  border: 1px solid #ccc;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background-image: url("../../themes/lively/asset/img/arrow-down-blue.svg");
background-position: calc(100% - 15px) center;
background-size: 18px;
background-repeat: no-repeat;
  box-shadow: 0 1px 0 #fff inset;
}

.chosen-container-active.chosen-with-drop .chosen-single div {
  border-left: none;
  background-image: url("../../themes/lively/asset/img/arrow-down-blue.svg");
background-position: calc(100% - 15px) center;
background-size: 18px;
background-repeat: no-repeat;
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
  background-position: -18px 2px;
}

.chosen-container-active .chosen-choices {
  border: 1px solid #5897fb;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.chosen-container-active .chosen-choices li.search-field input[type=text] {
  color: #222 !important;
}

.chosen-disabled {
  opacity: .5 !important;
  cursor: default;
}

.chosen-disabled .chosen-single {
  cursor: default;
}

.chosen-disabled .chosen-choices .search-choice .search-choice-close {
  cursor: default;
}

.chosen-rtl {
  text-align: right;
}

.chosen-rtl .chosen-single {
  overflow: visible;
  padding: 0 8px 0 0;
}

.chosen-rtl .chosen-single span {
  margin-right: 0;
  margin-left: 26px;
  direction: rtl;
}

.chosen-rtl .chosen-single-with-deselect span {
  margin-left: 38px;
}

.chosen-rtl .chosen-single div {
  right: auto;
  left: 3px;
}

.chosen-rtl .chosen-single abbr {
  right: auto;
  left: 26px;
}

.chosen-rtl .chosen-choices li {
  float: right;
}

.chosen-rtl .chosen-choices li.search-field input[type=text] {
  direction: rtl;
}

.chosen-rtl .chosen-choices li.search-choice {
  margin: 3px 5px 3px 0;
  padding: 3px 5px 3px 19px;
}

.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
  right: auto;
  left: 4px;
}

.chosen-rtl.chosen-container-single .chosen-results {
  margin: 0 0 4px 4px;
  padding: 0 4px 0 0;
}

.chosen-rtl .chosen-results li.group-option {
  padding-right: 15px;
  padding-left: 0;
}

.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
  border-right: none;
}

.chosen-rtl .chosen-search input[type=text] {
  padding: 4px 5px 4px 20px;
  background: url(chosen-sprite.png) no-repeat -30px -20px;
  direction: rtl;
}

.chosen-rtl.chosen-container-single .chosen-single div b {
  background-position: 6px 2px;
}

.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
  background-position: -12px 2px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
  .chosen-container .chosen-results-scroll-down span,
  .chosen-container .chosen-results-scroll-up span,
  .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
  .chosen-container-single .chosen-search input[type=text],
  .chosen-container-single .chosen-single abbr,
  .chosen-container-single .chosen-single div b,
  .chosen-rtl .chosen-search input[type=text] {
    background-image: url(chosen-sprite@2x.png) !important;
    background-size: 52px 37px !important;
    background-repeat: no-repeat !important;
  }
}
/**
 * Manage the improvements of the standard advanced search.
 *
 * Adapted from application/asset/sass/_screen.scss and application/asset/sass/advanced-search-form.scss.
 */
@media screen {
    #advanced-search .item-set-select-type + .chosen-container,
    #advanced-search .item-set-select + .chosen-container,
    #advanced-search #property-queries .inputs > .value .joiner + .chosen-container,
    #advanced-search #datetime-queries .inputs > .value .joiner + .chosen-container,
    #advanced-search #property-queries.multi-value .value:first-child .chosen-container:first-of-type,
    #advanced-search .inputs > .value .value-fields .chosen-container {
        display: block;
        margin-bottom: 8px;
        padding: 0px 0px;
        border-radius: 22px;
        line-height: 1.4;
        text-overflow: ellipsis;
        max-width: initial;
        width: 100%;
        transition: border-color 0.3s, box-shadow 0.3s;

        
        &:focus {
            border-color: $color__blue;
            box-shadow: 0 0 0 3px rgba($color__blue, 0.2);
            outline: none;
        }
    }
    
    /* Specific styles for .chosen-container */
    .chosen-container .chosen-single {
        border-radius: 22px;
        padding: 10px 15px;
        line-height: 1.4;
        width: 100%;
    }
    
    .chosen-container .chosen-single div b {
        background: none;
    }
    
    .chosen-container .chosen-drop {
        border-radius: 0 0 22px 22px;
        border: 1px solid #ccc;
        border-top: none;
    }
    
    .chosen-container .chosen-results li {
        padding: 10px 15px;
    }
    
    #advanced-search .item-set-select-type + .chosen-container {
        margin: .25rem .25rem 0 0;
    }
    
    #advanced-search .item-set-select + .chosen-container {
        margin: .25rem .25rem 0 0;
    }
    
    #advanced-search #datetime-queries .value {
        align-items: baseline;
        gap: 0.25rem;
    }
    
    #advanced-search #property-queries .query-text:disabled,
    #advanced-search #property-queries .chosen-disabled,
    #advanced-search #property-queries.multi-value .value:first-child .joiner:first-of-type,
    #advanced-search #datetime-queries .query-text:disabled,
    #advanced-search #datetime-queries.multi-value .value:first-child .joiner:first-of-type,
    #advanced-search #datetime-queries.multi-value .value:first-child .chosen-container:first-of-type {
       display: none;
    }
    
    #advanced-search .inputs .chosen-choices li.search-choice span {
        padding: 4px;
    }

    #advanced-search #property-queries .chosen-container-multi .chosen-choices .search-choice {
        max-width: 24em;
    }

    #advanced-search #property-queries .query-form-element {
        display: none;
    }
    
    #advanced-search #property-queries .query-text.hide {
        display: none;
    }

    #advanced-search #property-queries .inputs > .value {
        display: flex;
        flex-direction: column;
        gap: .25rem 0;
    }
    
    #advanced-search .inputs > .value .value-fields {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        gap: .25rem;
    }
    
    #advanced-search .inputs > .value .value-fields .query-text {
        flex: 1;
    }

    #advanced-search .inputs > .value .sub-query {
        width: 100%;
    }
    
    #advanced-search .inputs > .value .sub-query .query-display {
        min-height: 35px;
    }
    
    #advanced-search .inputs > .value .sub-query .query-form-element {
        flex: 1;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .sidebar #advanced-search .item-set-select-type,
    .sidebar #advanced-search .item-set-select-type + .chosen-container {
        margin: 0 0 .25rem 0;
        max-width: fit-content;
    }
    
    .sidebar #advanced-search .item-set-select,
    .sidebar #advanced-search .item-set-select + .chosen-container {
        margin: 0 0 .25rem 0;
        max-width: initial;
    }

    .sidebar #advanced-search .inputs > .value .value-fields {
        flex-direction: column;
        align-items: initial;
    }
    
    .sidebar #advanced-search .inputs > .value .value-fields > * {
        margin: 0;
    }
    
    .sidebar #advanced-search .inputs label.type-radio,
    .sidebar #advanced-search #mapping-geographic-location .inputs label {
        margin: auto;
        padding: initial;
    }
    
    .sidebar #advanced-search .inputs label.type-radio::after,
    .sidebar #advanced-search #mapping-geographic-location .inputs label::after {
        background: initial;
    }
}




.selection-link-noguest {
    pointer-events: none; 
    cursor: default; 
    opacity: 0.5;
}

.voting-link-noguest {
    pointer-events: none; 
    cursor: default; 
    opacity: 0.5;
}


.resources-linked {
    .resource__thumbnail {
       img {
            width: 200px;
            height: 100%;
            object-fit: contain;
            }
    }
}

.resource-grid {
    .resource__thumbnail {
            line-height: 1;
            height: 100%;
            margin: 10px 0 0 10px;

            @media (min-width: $md) {
                height: 50%;
                flex-shrink: 0;
                margin: 10px 0 -15px 10px;
            }

            img {
                max-height: 167px;
                object-fit: contain;
                height: 100%;
                width: 200px;
            }
        }
    }
}

.container {
    max-width: 100%;
}
.main-header {
    background-image: url('../../themes/lively/asset//img/berd-green-waves-white-bg.svg');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}

.main-header__site-title img {
    max-height: 135px;
    width: auto;
}

@media (min-width: 1024px) {
    .main-header__site-title img {
        max-height: 135px;
    }
}

.main-footer__top {
    gap: 0px;
}

.main-footer__top > div:last-child {
    padding-bottom: 50px;
}

@media (min-width: 1024px) {
    .main-footer__top {
        padding-top: 50px;
    }
}

img {
    max-width: 100%;
}

#main-content img {
    height: 200px;
    border-radius: 20px 0;
}

.main-scrolldown-button {
    padding: 20px;
    line-height: 1;
    margin-left: auto;
    margin-right: 20px;
    order: 1;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 70%);
    position: relative;

    @media (min-width: $xl) {
        margin-left: 0;
        margin-right: 0;
        order: initial;
    }
} 

.main-index-search {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    background-color: $color__white;

    &.visible {
        display: flex;
    }
        
    form {
        display: flex;
        width: 100%;
        margin-bottom: 15px;
    }

    input {
        padding-right: 46px;
        margin-bottom: 0;
        margin-right: -46px;
        width: 100%;
    }

    button {
        color: $color__white;
        padding: 10px 15px;
        border-radius: 0 22px 22px 0;
    }
    
    &__advanced-search {
        display: flex;
        align-items: center;
        text-decoration: none;
    
        &::after {
            @include font-awesome;
            content: "\f0a9" !important;
            display: inline-block;
            font-weight: 600;
            font-size: 1.2rem;
            margin-left: 5px; 
        }
    }
}

.metadata {
    dl {
		// display: grid;
		background-color: #e3e3e3;
		padding: 1em;
                border-radius: 0 20px;
		margin: 1em auto;
        //margin-top: 0;
        //margin-bottom: 2rem;

        &:last-child {
            margin-bottom: 0;
        }

        > .property {
            // margin-bottom: 1.25rem;
        }
    }

    .value.resource {
        img {
            display: none;
        }
    }
}

.metadata dl.item-sets {
    background-color: #ffffff;
}

.selection-list div.description {
    display: none;
}

.voting-list div.description {
    display: none;
}

body.item.resource.show div#main-content {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.main-header {
    border-top: 0;
}

.selection-list .selection-delete::before {
    content: "🗑";
    color: #aaaaaa;
    position: absolute;
    left: 38%;
    text-indent: 0;
}

.selection-list .selection-delete {
    text-indent: -9999px; 
    position: relative;
}


@media screen {
    .selection .resource-link {
        display: initial;
    }

    .selection .resource-link img {
        height: 100% !important;
        width: 120px;
    }

    body.selection.browse ul.resource-list .resource {
        overflow: initial;
         //display: ruby-base-container;
        display: block ruby;
         border: none;
    }

    .selection-button.selected {
        color: #36864f;
    }

.voting-list .voting-delete::before {
    content: "🗑";
    color: #aaaaaa;
    position: absolute;
    left: 38%;
    text-indent: 0;
}

.voting-list .voting-delete {
    text-indent: -9999px; 
    position: relative;
}


@media screen {
    .voting .resource-link {
        display: initial;
    }

    .voting .resource-link img {
        height: 100% !important;
        width: 120px;
    }

    body.voting.browse ul.resource-list .resource {
        overflow: initial;
        //display: ruby-base-container;
        display: block ruby;
        border: none;
    }

    .voting-button.selected {
        color: #36864f;
    }

    .main-header__top-bar {
        display: none;
    }

    #home-hero-content {
        top: 50%;
        left: 30%;
        position: relative;
        width: 40%;
    }

    #home-hero-content #searchbar {
        align-items: center;
        margin-bottom: 1em;
    }

    #browse-button {
        width: 20%;
        text-align: center;
        background-color: #00a2db;
        color: #F9F8F4;
        text-transform: uppercase;
        font-weight: 600;
        height: 48px;
        padding: 8px .75em;
        border-radius: 4px;
        box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.30);
    }

    #browse-button:hover {
        background-color: #23c6ff;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    }

    #strapline {
        padding: .75em 1.5em;
        text-align: center;
        color: #F9F8F4;
    }

    ul#home-promo {
        list-style: none;
        margin-bottom: 1em;
        padding: 0;
        width: 60%;
        height: 40%;
        left: 20%;
        position: relative;
        display: flex;
        justify-content: space-between;
    }

    .promo-item {
        min-height: 15vw;
        width: 50%;
        display: block;
        position: relative;
    }

    .promo-block {
        position: relative;
        height: 100%;
        width: 90%;
        background-position: center center;
        background-size: contain;
        background-blend-mode: hard-light;
        opacity: .7;
    }

    .promo-block > a {
        position: absolute;
        height: 100%;
        width: 100%;
        overflow: hidden;
        display: block;
    }

    .promo-block:hover {
        opacity: 1;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    }

    .category-flag {
        background-color: #ffffff85;
        color: #2C4C6B;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 20px;
        display: block;
        padding: 0.4em 0.8em;
        position: absolute;
        z-index: 2;
        top: 5%;
        right: 0;
    }

    .category-flag a:hover {
        text-decoration: none;
        color: #2C4C6B;
    }

    #home-users {
        padding: 0 3.38983% 30px;
    }

    #home-users h3 {
        text-align: center;
        font-style: italic;
        font-weight: 400;
    }

    .row {
        margin-bottom: 2em;
    }

    .column {
        width: 90%;
    }

    .row-column-item {
        height: 100%;
        text-align: center;
        padding: 0 2rem 2rem 2rem;
        width: 100%;
    }

    .row-column-item h4 {
        font-weight: 400;
        color: #B86565;
    }
}

/* If using SCSS/Sass, make sure to include the mixin definition correctly */
@mixin container {
    max-width: 100%;
}