
#select {padding-top: 20px;}
#select h2.headline {color:#8d1a1f;margin-bottom:30px;}

#select .quicklink {display: flex;justify-content: space-between;}
#select .quicklink a.to-overview {padding-left: 10px;display: flex;}
#select .quicklink a.to-overview span.btn-2021-red-arrow {width: 20px;right: 0;transition: all 0.5s;transform: rotate(180deg);}
#select .quicklink a.to-overview:hover span.btn-2021-red-arrow {right: 10px;}
#select .quicklink a.reset-btn span {margin-left: 10px;transition: all 0.5s;}
#select .quicklink a.reset-btn:hover span {margin-left: 10px;transform: rotate(180deg);}

#select .sections {display: flex;justify-content: space-between;margin: 30px 0;}
#select .sections .section-filter {width:40%;display: flex;flex-direction: row;align-items: center;justify-content: space-between;}
#select .sections .section-filter .select {position: relative;}
#select .sections .section-filter .select.select-year {width: 35%;}
#select .sections .section-filter .select.select-category {width: 60%;}
#select .sections .section-filter .select i{position: absolute;pointer-events: none;}
#select .sections .section-filter .select i:before {content: '';position: absolute;right: 20px;top: 13px;background: transparent;width: 10px;height: 10px;border-top: 2px solid #8d1a1f;border-left: 2px solid #8d1a1f; transform: rotate(-135deg);}
#select .sections .section-filter select {width: 100%;border: 1px solid #fff;border-radius: 0;height: 42px;display: inline-block;padding-right: 0; font-size: 16px;color: #8d1a1f; padding-left: 17px; border: 1px solid #8d1a1f; -webkit-appearance: none;cursor: pointer;}
#select .sections .section-filter select:focus,
#select .sections .section-filter select:active{outline: none;}

#select .sections .section-filter .find-btn {font-size: 22px;cursor: pointer;color: #8d1a1f;transition: all 0.5s;}
#select .sections .section-filter .find-btn:hover {scale: 1.2;}

#select .sections .section-search {width:30%;display: flex;align-items: center;justify-content: flex-end; position: relative;}
#select .sections .section-search .search-input {width: 100%;border: 1px solid #8d1a1f;position: relative;}
#select .sections .section-search .search-input input {width: 90%;display: block;border: none;height: 40px;font-size: 16px;color: #8d1a1f;text-indent: 15px;}
#select .sections .section-search .search-input input::placeholder {color: #8d1a1f;opacity: .5; }
#select .sections .section-search .search-btn {font-size: 21px;cursor: pointer;color: #8d1a1f;position: absolute;right: 10px;top: 10px;}
#select .sections .section-search .message{position: absolute;bottom: -16px;right: 0;color: #8d1a1f;font-size: 10px;font-family: 'Helvetica-Bold';display:none;}

/* Change autocomplete styles in WebKit */
#select .sections .section-search .search-input input:-webkit-autofill,
#select .sections .section-search .search-input input:-webkit-autofill:hover, 
#select .sections .section-search .search-input input:-webkit-autofill:focus {-webkit-text-fill-color: #8d1a1f;-webkit-box-shadow: 0 0 0px 1000px #fff inset;}

#select .result-number {margin-bottom: 30px;}

.results {display: flex;justify-content: space-between;flex-wrap: wrap;align-content: flex-start;}
.results .result-div{width: 49%;margin-bottom:25px;background-color: #eee;}
.results .result {display: flex;justify-content: space-between;flex-wrap: wrap;padding:20px;}
.results .result:hover {box-shadow: 0 0 20px 0 rgb(0 0 0 / 50%);}
.results .result:active, 
.results .result:focus, 
.results .result:visited, 
.results .result:active:focus {display: flex;}

.results .result .result-picture {width:30%;overflow: hidden;}
.results .result .result-picture img{transition: all 0.5s;}
.results .result .result-content {width:65%;}
.results .result .result-content .meta {color: #999;margin-bottom: 15px;text-transform: uppercase;font-family: 'Helvetica-Bold';letter-spacing:0.5px;font-size: 1.4rem;line-height: 18px;}
.results .result .result-content .meta .year{margin-right:30px;}
.results .result .result-content .meta .glyphicon {margin-right:5px;}
.results .result .result-content .title {
	text-overflow: ellipsis;overflow: hidden;display: inline-block;-webkit-line-clamp: 2;-webkit-box-orient: vertical;
	background-image: linear-gradient(to right,#8d1a1f,#8d1a1f 50%,#8d1a1f 50%);background-size: 200% 100%;background-position: 100%;position: relative;-webkit-background-clip: text;-webkit-text-fill-color: transparent;transition: all 0.5s ease-in-out;
}
.results .result .result-content .title:before {content: '';background: #8d1a1f;display: inline-block;position: absolute;bottom:0;left: 0;width: 0;height: 2px;transition: all 0.5s ease-in-out;}
.results .result .result-content .subtitle {color: #999;text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
.results .result .result-content .desc {text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 4;-webkit-box-orient: vertical;}
.results .result .result-content em {background: #ccc;font-style: normal;-webkit-text-fill-color: #8d1a1f;}
.results .result .result-content>div{margin-bottom:10px;}
.results .result .result-content>div:last-of-type{margin-bottom:0;}

.results .result .result-content .read-btn span.btn-2021-red-arrow {width: 25px;right: 10px;transition: all 0.5s;}
.results .result:hover .result-content span.btn-2021-red-arrow {right: 0;}
.results .result:hover .result-picture img{transform: scale(1.1,1.1);}

.results .result:hover .result-content .title {background-position: 0;}
.results .result:hover .result-content .title::before {width:100%;}

.pagination {margin-top: 0;}

@media (max-width: 768px) {
	#select .sections .section-filter {width: 60%;}
	.results .result-div {margin-bottom: 16px;}
	.results .result .result-picture {width: 100%;margin-bottom: 20px;display: flex;justify-content: center;}
	.results .result .result-picture img {width: 70%;}
	.results .result .result-content {width: 100%;}
}

@media (max-width: 576px) {
	#select .sections {flex-direction: column;}
	#select .sections .section-filter {width: 100%;margin-bottom: 10px;}
	#select .sections .section-search {width: 100%;}
	#select .sections .section-filter .select.select-year {width: 30%;}
	#select .sections .section-filter .select.select-category {width: 65%;}
	
	.results .result-div {width: 100%;}	
	.results .result .result-content .desc {-webkit-line-clamp: 3;}
	.results .result .result-content .title {text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;}
	
	
}