body {
    overflow-x: unset !important;
}

a.js-tag {
    display: none !important;
}

.banner-main-wrapper .main-cta-btn {
    border: 2px solid #0099cc;
    color: #0099cc;
    font-size: 20px;
    cursor: pointer;
}

.banner-main-wrapper .main-cta-btn:hover {
    background: #0099cc;
    border: 2px solid #0099cc;
}

.leaflet-control-attribution.leaflet-control {
    display: none;
}

.leaflet-popup-content {
    min-width: 300px;
}

a.leaflet-control-zoom-in {
    background: #0099cc;
    color: white;
}


a.leaflet-control-zoom-out {
    background: #0099cc;
    color: white;
}

a.leaflet-control-zoom-in:hover {
    text-decoration: none;
}


a.leaflet-control-zoom-out:hover {
    text-decoration: none;
}

.leaflet-control-resetview a .leaflet-control-resetview-icon{
	background: #0099cc;
}

label.control-label.option {
	margin-left:20px;
	margin-top:21px;
	padding: 0px 0px 0px 0px;
}

input.project-tags.form-checkbox {
  float:left;
}

input[type="checkbox"] {
    accent-color: #0099cc;
}

.map-container .views-row {
	border-bottom: 1px dotted #ddd;
}

.views-field-title {
	font-size: 16px;
}

.views-field-title a {
    font-weight: 700;
    color: black;
}

.views-field.views-field-field-country-list span {
    display: flex;
}

.views-field-field-country-list {
	font-style:italic;
}

.views-field.views-field-field-country-list {
    margin-bottom: 10px;
}

.views-field.views-field-field-topic {
    margin-bottom: 10px;
}

.views-field-field-topic a {
  display: inline-block;       /* ensures padding applies cleanly */
  background-color: #000;      /* solid black background */
  color: #fff;                 /* white text */
  padding: 6px;                /* 5px on all sides */
  font-weight: 700;            /* bold font */
  text-decoration: none;       /* remove underline */
  border-radius: 0;            /* optional: keep square edges */
  font-size: .75rem;
}

.views-field-field-topic a:hover{
	background: #0099cc;
	color: white;
}


.views-field-field-tags .field-content {
  display: flex;            /* lay out links in a row */
  flex-wrap: wrap;          /* allow wrapping if too many tags */
  gap: 5px;                 /* space between tags (replaces margin-right) */
}

body:not(.path-frontpage) .main-header-container{
    background: linear-gradient(45deg, #9b216c 0%, #ff2e5b 100%) !important;
}

.prize-map-view {
    display: flex;
    flex-direction: row-reverse;
    width: fit-content;
}

.attachment.attachment-before {
    padding: 20px 15px;
}

.views-exposed-form {
    position: absolute;
    background: white;
    z-index: 5;
    padding: 25px;
    top: 17%;
    width: 95% !important;
    height: fit-content;
    border-radius: 20px;
    left: 50%;
    transition: all ease 2s;
    transform: translateX(-50%);
    box-shadow: rgba(0, 0, 0, 0.5) 1px 1px 48px 21px;
    display: none;
}

.views-row{
		padding: 7px 0px;
}
.form--inline.form-inline.clearfix {
    padding-top: 25px;
}

.buttonclose {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px 40px;
    font-weight: 500;
    cursor: pointer;
}


.form-item {
    display: inline-block;
}


label{
	font-weight: bold;
  padding: 15px 0;
}

input {
    background-color: #0099cc;
    color: white;
    margin-top: 25px;
}

.pre-footer{
	margin-top: unset !important;
}


/* Leaflet Overrides */

.leaflet-container {
    height: 100% !important;
    min-height: 100vh;
    width: 65vw;
}

.marker-cluster-small {
    background-color: #0099cc;
}

.marker-cluster-small div {
    background-color: #0099cc;
}

.marker-cluster-medium {
    background-color: #0099cc;
}

.marker-cluster-medium div {
    background-color: #0099cc;
}


.marker-cluster span {
    color: white;
}

/* Tag Button Style */

.views-field.views-field-field-tags .field-content a {
  display: inline-block;    /* allows padding and margin to apply properly */
  padding: 3px 4px 2px 3.5px;             /* space inside the tag */
  border: 1px solid #000;   /* black border */
  font-size: 11px;
  color: #000;              /* text color */
  text-decoration: none;    /* no underline */
  border-radius: 0;         /* optional: square corners */
}


.views-field.views-field-field-tags .field-content a:hover{
	border-color: #0099cc;
	color: #0099cc;
}

.project-tags .fieldset-wrapper {
    height: 150px;
    width: 100%;
    border: solid 1px #dee2e6;
    border-radius: 6px;
    overflow-y: scroll;
    padding: 0px 10px;
}

.project-tags .form-item {
    display: inline-block !important;
    width: 32%;
    vertical-align: top;
}

.project-tags .form-item label{
	  display: block;
}

.project-tags span.fieldset-legend {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.42857143;
    display: inline-block;
    padding: 15px 0px;
}

.project-tags legend{
	margin-bottom: unset;
}

.bef-exposed-form .form--inline > .form-item{
	float: none;
}

.views-field-field-tags h2{
	display: none;

}

.views-field-field-country-list h2{
	display: none;
}

.views-field.views-field-field-tags .field-content > div {
    display: inline-block;
}

@media (min-width: 1140px){
	
.views-exposed-form {
  width: 1140px !important;
}

.project-tags .fieldset-wrapper{
	width: 100%;
}

.project-tags .form-item {
    width: 24% !important;
}
}

@media (max-width: 991px){

.views-exposed-form {
    top: 10%
}

.project-tags .form-item {
    width: 49% !important;
}
}

@media (max-width: 600px){
	
.views-exposed-form .form-item{
	width: 49%;
}

.form-item-title{
	width: 100% !important;
}

.project-tags{
	width: unset !important;
}
}

/* Intro */

.database-intro {
	  position: fixed;
	  left: 0;
    z-index: 7;
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    height: 100%;
    width: 100vw;
    display: none;
}

.database-intro-inner {
    margin-top: 25px;
}

.database-intro-inner.container {
    width: 700px;
}

.database-intro h2 {
    font-weight: bold;
    font-size: 55px;
    line-height: 1.2;
    margin-bottom:26px;
}

.database-intro p {
		font-size: 22px;
		margin-bottom:26px;
}


.close-button {
    position: absolute;
    right: 0;
    font-size: 24px;
    padding: 20px;
    top: 0;
    color: black;
    font-weight: 700;
    cursor: pointer;
    margin: 0 20px;
}

.close-button:hover{
	color: #0099cc;
}


.database-intro .main-cta-btn {
    border: 2px solid black;
    background: none;
    color: black;
    text-transform: uppercase;
    border-radius: 0;
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    font-family: acumin-pro-condensed, sans-serif;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 4px;
    transition: 0.2s;
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

.banner-main-wrapper .main-cta-btn:hover {
    background: #0099cc;
    border: 2px solid #0099cc;
    color: white;
    transition: 0.2s;
    text-decoration: none;
}


/* Tag Filter */

span.value-container {
    border: solid 2px #0099cc;
    height: fit-content;
    display: inline-block;
    margin-bottom: 7px;
}

.views-filters-summary .value {
		border: none !important;
    border-radius: unset !important;
    margin-bottom: unset !important;
    vertical-align: middle;
    color: #0099cc;
}

.views-filters-summary a.remove-filter {
    color: white;
    border: unset !important;
    border-radius: unset !important;
    background: #0099cc;
    margin-left: unset;
    height: inherit;
    display: inline-block;
}


.views-filters-summary a.remove-filter:hover {
	color: white;

}

/* Pagination */

.pagination a {
    color: #0099cc !important;
}

.pagination a:hover {
    text-decoration: none !important;
}

.pagination .active a {
    color: white !important;
    background: #0099cc;
    border-color: #0099cc;
}


/* Adjust Font Size of Search Filters Button */


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

.banner-main-wrapper .main-cta-btn{
	font-size: 16px;

}
}


/* Mobile Display */


@media (max-width: 768px){

.leaflet-container {
    display: none;
}

.database-intro-inner.container {
    width: 100%;
}

.database-intro h2 {
    font-size: 28px;
}

.database-intro p {
		font-size: 14px;
}
}

/* Pagination */

.pager-nav{
	display: none;
}