.page-covid19-covid-19-vaccine-and-treatment-database .full-width-body {
	padding: 2rem 0;
	background: white;
}
.page-covid19-covid-19-vaccine-and-treatment-database .full-width-body::before {
	display: table;
	content: " ";
}
#filters-toggle {
	display: none;
}
/* .view-filters {
	display: block;
}
.view-filters__inner {
	margin-top: 2rem;
} */
.trials-header {
	display: block;
	margin-top: 27rem;
	padding: 2.4rem 1rem;
}
.trials-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
}
.view-covid-19-vaccine-and-treatment-database h1 {
	font-size: 28px;
	font-weight: 500;
	line-height: 28px;
	text-align: center;
}
.trials-exposed-form-widgets .trials__filter-title {
	display: block;
	position: absolute;
	font-size: 14px;
	font-weight: 300;
	line-height: 14px;
	background: white;
	color: #828282;
	padding: 0 0.5rem;
	top: -0.8rem;
	left: calc(50% - 11.5rem);
}
.trials-exposed-form-widgets {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 10rem;
	border: 1px solid #F2F2F2;
	padding: 1.4rem;
}
.trials-exposed-form-widgets .views-exposed-widget.views-submit-button {
	display: none;
}
.trials-exposed-form-widgets .views-exposed-widget {
	flex: 0 0 auto;
	margin-left: 1.6rem;
}
#edit-field-c19trial-type-value-wrapper {
	flex: 0 0 37.6rem;
}

.bef-checkboxes .highlight {
	background-color: inherit;
	margin: 0;
	padding: 0;
	clear: none;
}

.bef-checkboxes {
	display: flex;
	width: 37.6rem;
	justify-content: space-between;
}
.form-item.form-type-bef-checkbox {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	padding: 1.6rem;
	font-size: 21px;
	font-weight: 500;
	line-height: 21px;
	color: white;
	text-transform: uppercase;
	flex: 0 0 20rem;
	justify-content: center;
}

.form-item.form-type-bef-checkbox label {
  padding: 0;
  margin: 0 0.8rem 0 0;
  font-family: 'gotham_htfmedium';
}
.form-item.form-type-bef-checkbox input {
	padding: 0;
	margin: 0;
	height: 24px;
	width: 24px;
	max-height: 24px;
	max-width: 24px;
	border: 2px solid #FFF;
	-webkit-appearance: none;
	position: relative;
}

.form-item.form-type-bef-checkbox input:active,
.form-item.form-type-bef-checkbox input:checked:active {
    width: inherit;
}

.form-item.form-type-bef-checkbox input:checked {
	color: #fff;
}
.form-item.form-type-bef-checkbox input:checked::after {
	content: 'X';
	font-size: 18px;
	position: absolute;
	top: 1px;
	left: 3px;
	color: #fff;
	font-weight: bold;
}


.form-item.form-type-bef-checkbox.form-item-edit-field-c19trial-type-value-vaccine {
    background: #2AC940;
    width: 16rem;
    flex: 0 0 16rem;
}
.form-item.form-type-bef-checkbox.form-item-edit-field-c19trial-type-value-treatment {
    background: #39F;
    width: 20rem;
    flex: 0 0 20rem;
}



.trials-exposed-form-widgets select.form-select {
	border-radius: 5px;
	border: 2px solid #BDBDBD;
	box-sizing: border-box;
	height: 54px;
	width: 100%;
	-webkit-appearance: none;
	z-index: 1;
	position: relative;
	background: transparent;
	color: #BDBDBD;
	font-size: 21px;
	font-weight: 500;
	line-height: 21px;
	text-transform: uppercase;
	padding-right: 5rem;
	padding-left: 1rem;
}
.form-item.form-type-select {
  position: relative;
}
.form-item.form-type-select.form-item-field-c19trial-status-value::after,
.form-item.form-type-select.form-item-field-c19trial-country-value::after {
	display: block;
	content: '';
	position: absolute;
	right: 1.6rem;
	top: 1.6rem;
	width: 16px;
	height: 20px;
	background-image: url('https://www.science.org.au/sites/all/themes/simpleclean/images/grey-down-caret.png');
	background-repeat: no-repeat;
	background-size: contain;
}
#edit-field-c19trial-status-value-wrapper,
#edit-field-c19trial-country-value-wrapper {
	flex: 0 0 33rem;
}


.scroll-button {
	height: 12rem;
	display: none;
	position: absolute;
	padding: 6.5rem 2rem 0 2rem;
	background: transparent;
	font-size: 50px;
}
.scroll-button.scroll-button--right {
  right: 0;
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 33%); 
}
.scroll-button.scroll-button--left {
  left: 48rem;
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,1) 66%, rgba(255,255,255,0) 100%); 
}
.scroll-button.scroll-button--left img {
  transform: rotate(180deg);
}
.scroll-button.active {
	cursor: pointer;
	display: inline-block;
	z-index: 13;
}
.trials-grid {
  position: relative;
  font-family: 'gotham_htflight';
	overflow: hidden;
	border-right: 1px solid #f2f2f2;
}
.trials-grid__header {
	display: grid;
	grid-template: auto / 48rem 606rem;
	position: relative;
}
.trials-grid__header.shadowed {
	z-index: 12;
	box-shadow: 0rem 1rem 1rem 0px rgba(0,0,0,0.1);
}
.candidate__name {
	grid-row: 1 / 3;
	border: 1px solid #f2f2f2;
	border-bottom: none;
	display: flex;
	justify-content: center;
	align-items: center;
	background: white;
	z-index: 1;
	font-size: 21px;
	font-weight: 500;
	line-height: 21px;
	text-transform: uppercase;
}
.timeline {
	display: grid;
	grid-template: 12rem / repeat(5, 121.1rem);
	grid-column: 2 / 3;
	background: #f2f2f2;
	grid-gap: 1px;
	transition: all 0.4s ease-in-out;
	border-right: 1px solid #f2f2f2;
}
.timeline__year {
	display: grid;
	grid-template: 4rem 8rem / 121.1rem;
	background: white;
}

.timeline__year--2020 div:first-child {
	grid-column: 1 / 13;
	grid-row: 1 / 2;
}
.timeline__year-number {
	font-size: 1.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: 1px solid #f2f2f2;
}
.timeline__month {
	grid-row: 2 / 3;
	grid-column: 1 / 13;
	display: grid;
	grid-template: auto / repeat(12, 10rem);
	background: #F2F2F2;
	grid-gap: 1px;
}
.timeline__month span {
	background: white;
	text-align: center;
	text-transform: uppercase;
	border-top: 1px solid #f2f2f2;
	color: #4F4F4F;
	font-size: 21px;
	font-weight: 500;
	line-height: 21px;
	display: flex;
	align-items: center;
	justify-content: center;
}


.candidate__rows {
	max-height: 100vh;
	overflow-y: scroll;
	overflow-x: hidden;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.candidate__rows::-webkit-scrollbar {
display: none;
}

/* Hide scrollbar for IE and Edge */
.candidate__rows {
-ms-overflow-style: none;
scrollbar-width: none; /* Firefox 64 */
} 


.candidate {
	display: grid;
	grid-template: auto / 48rem 242.4rem;
}
.candidate__details {
	border: 1px solid #f2f2f2;
	display: grid;
	grid-template: 1fr / 2.8rem 7.2rem 1fr;
	grid-gap: 2.7rem;
	align-items: center;
	justify-items: center;
	z-index: 11;
	background: white;
	padding: 0 2.4rem;
}
.candidate__details {
	border-top: 1px solid #f2f2f2;
	border-bottom: 1px solid #f2f2f2;
}
.candidate__flag img {
	max-width: 7.2rem;
}

.candidate__details.shadowed {
	box-shadow: 0rem 1rem 1rem 0px rgba(0,0,0,0.1);
}
.candidate__details div:last-child {
	justify-self: left;
}
.candidate__details,
.candidate__project-timeline {
	border-top: 1px solid #f2f2f2;
	border-bottom: 1px solid #f2f2f2;
}
.candidate__title {
	display: block;
    font-size: 21px;
  font-weight: 500;
  line-height: 21px;
  color: #333;
}
.candidate__caret {
	transition: all 0.4s ease;
}
.candidate__caret.active {
	transform: rotate(180deg);
}
.candidate__dev {
	display: block;
	font-size: 14px;
    line-height: 14px;
    margin-top: 8px;
}
.duration {
    position: relative;
    grid-row: 1 / 2;
	display: block;
	min-height: 4rem;
	min-width: 1rem;
	background: #FF5F58;
	border-radius: 5rem;
	align-self: center;
}
.duration__elapsed {
	position: absolute;
	left: 0;
	background: black;
	width: 50%;
	height: 100%;
	border-radius: 5rem;
}
.duration__elapsed-legend,
.duration-legend {
	position: absolute;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 500;
	line-height: 14px;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
    z-index: 10;
    display: none;
}
.duration-legend {
	top: calc(100% + 0.5rem);
}
.duration__elapsed-legend {
	bottom: calc(100% + 0.5rem);
	left: 0;
}
.arrow-down {
	width: 0;
	height: 0;
	border-left: 0.5rem solid transparent;
	border-right: 0.5rem solid transparent;
	border-top: 0.5rem solid transparent;
	position: absolute;
	top: 100%;
	left: calc(50% - 0.5rem);
}
.arrow-up {
	width: 0;
	height: 0;
	border-left: 0.5rem solid transparent;
	border-right: 0.5rem solid transparent;
	border-bottom: 0.5rem solid transparent;
	position: absolute;
	bottom: 100%;
	left: calc(50% - 0.5rem);
}
.candidate--vaccine .duration .duration-legend .arrow-up {
    border-bottom-color: rgba(42,201,64,0.2);
}
.candidate--vaccine .duration .duration__elapsed-legend .arrow-down {
    border-top-color: #2AC940;
}
.candidate--vaccine .duration,
.candidate--vaccine .duration .duration-legend {
    background: rgba(42,201,64,0.2);
}
.candidate--vaccine .duration .duration__elapsed,
.candidate--vaccine .duration .duration__elapsed .duration__elapsed-legend {
    background: #2AC940;
    color: white;
}
.candidate--treatment .duration {
    background: rgba(51,153,255,0.2);
}
.candidate--treatment .duration .duration__elapsed {
    background: #39F;
}
.candidate__timeline-grid {
	grid-row: 1 / 2;
	grid-column: 1 / 61;
	background: #F2F2F2;
	display: grid;
	grid-template: 1fr / repeat(60, 10rem);
	grid-gap: 1px;
	min-height: 14.4rem;
	transition: all 0.4s ease-in-out;
}
.candidate__timeline-grid-box {
	background: white;
}
.candidate__project-timeline {
	display: grid;
	grid-template: auto / repeat(60, 10rem);
	grid-gap: 1px;
	transition: all 0.4s ease-in-out;
	border-right: 1px solid #f2f2f2;
}
.duration.start--march-2020 {
	grid-column-start: 3;
}
.duration.end--march-2021 {
	grid-column-end: 16;
}
.candidate__header-spacer {
	border-right: 1px solid #f2f2f2;
	border-left: 1px solid #f2f2f2;
}
.candidate__information {
	grid-column: 1 / 3;
	display: none;
	padding: 2rem 1rem;
	max-width: calc(100vw - 5rem);
  z-index: 2;
}

.views-row-last .candidate__header-spacer,
.views-row-last .candidate__information {
  border-bottom: 1px solid #f2f2f2;
}

.candidate__information-header {
	display: grid;
	grid-template: auto / repeat(6, 1fr);
	grid-gap: 1rem;
	margin-bottom: 2rem;
}
.candidate__information-body {
	display: grid;
	grid-template: auto / repeat(3, 1fr);
	grid-gap: 1rem;
}
.candidate__information-body h4 {
	margin-bottom: 1rem;
}

.candidate__phase span {
	display: inline-block;
	border: 1px solid #828282;
	border-radius: 5rem;
	padding: 1.6rem 3.2rem;
	color: #828282;
	font-size: 21px;
	font-weight: 500;
	line-height: 21px;
  text-transform: uppercase;
}


@media screen and (max-width: 1440px) {
    .trials-exposed-form-widgets {
        height: 15rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    .trials-exposed-form-widgets h1 {
        flex: 1 0 100%;
        text-align: center;
    }
}

@media screen and (min-width: 1441px) {
    .candidate__information {
        grid-column: 2 / 3;
        max-width: calc(100vw - 55rem);
    }

}

@media screen and (max-width: 1023px) {
	.trials-header {
		padding: 0;
		/* margin-top: 41rem; */
	}
	.trials-header__inner {
		display: block;
	}
	.trials-header__inner h1 {
		padding: 0;
		max-width: 75%;
		margin: 0 auto 2rem;
		font-size: 2rem;
		line-height: 2rem;
	}
	#filters-toggle {
		display: block;
		width: 100%;
		text-align: center;
		border-top: 2px solid #c2c2c2;
		border-bottom: 2px solid #c2c2c2;
		padding: 1rem 0;
		text-transform: uppercase;
		font-size: 18px;
		color: #c2c2c2;
		font-weight: 700;
	}
	.filters__caret {
		margin-left: 1rem;
		transition: all 0.6s ease-in-out;
	}
	.filters-active #filters-toggle .filters__caret {
		transform: rotate(180deg);
	}
	/* .view-filters {
		height:0;
		opacity: 0;
		transition: all 0.6s ease-in-out;
	}
	.filters-active .view-filters {
		height: 28rem;
		opacity: 1;
	} */

	.form-item.form-type-bef-checkbox.form-item-edit-field-c19trial-type-value-vaccine {
		margin-bottom: 1rem;
	}

	.form-item.form-type-bef-checkbox.form-item-edit-field-c19trial-type-value-treatment,
	.form-item.form-type-bef-checkbox.form-item-edit-field-c19trial-type-value-vaccine {
		flex: 1 1 100%;
		width: auto;
	}
	
	.form-item.form-type-bef-checkbox.form-item-edit-field-c19trial-type-value-vaccine.highlight,
	.form-item.form-type-bef-checkbox.form-item-edit-field-c19trial-type-value-treatment.highlight {
		flex: 1 1 100%;
	}
	
	/* .bef-checkboxes {
		flex-direction: column;
		justify-content: space-between;
		align-items: stretch;
		width: auto;
	} */
	
	.trials-exposed-form-widgets {
		height: auto;
	}
	#edit-field-c19trial-type-value-wrapper {
		flex: 1 1 100%;
		margin: 0 0 1rem;
	}
	#edit-field-c19trial-status-value-wrapper, #edit-field-c19trial-country-value-wrapper {
		flex: 1 1 100%;
		margin: 0 0 1rem;
	}
  

	.trials-grid__header {
		display: none;
		grid-template: 1fr / 1fr;
	}


	.candidate__project-timeline {
		display: none;
	}

	.candidate {
		grid-template: 1fr / 1fr;
	}

	.candidate__details {
		grid-template: 1fr / 1fr 4fr 10fr;
		grid-gap: 1rem;
		padding: 2rem;
	}
	.scroll-button,
	.scroll-button.scroll-button--left,
	.scroll-button.scroll-button--right,
	.scroll-button.active,
	.scroll-button.scroll-button--left.active,
	.scroll-button.scroll-button--right.active {
		display: none !important;
	}

	.candidate__information-header {
		grid-template: auto / 1fr;
	}

	.candidate__information-body {
		grid-template: auto / 1fr;
	}
}


@media screen and (min-width: 2000px) {
	.trials-header__inner {
		flex-direction: row;
		justify-content: space-around;
	}
}