.filter-group {
    width: 49%;
	position:relative;
}

.filter-group button.filter-button {
	line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 1rem 30px;
    position: relative;
    z-index: 2;
    text-align: right;
    font-size: 20px;
    font-family: "Open Sans";
    width: 100% !important;
    color: #003da5;
    font-weight: 700;
    cursor: pointer;
}

form#sfp-filter-form {
    max-width: 790px;
    margin: -257px auto 0;
}
.story-pagination {
    text-align: center;
    margin: 1rem auto;
}

.story-pagination .page-numbers {
    align-items: center;
    padding: 5px 12px;
    border-radius: 2px;
    background-color: #f0f9fd;
    color: #003da5;
    margin-right: 6px;
    transition: all .5s;
}

.story-pagination .page-numbers.dots {
    background-color: transparent;
    color: #1e4899;
}
.story-pagination .page-numbers.current {
    background-color: #003da5;
    color: #fff;
}
.story-pagination .page-numbers:hover {
	background-color: #003da5;
    color: #fff;
}

.story-pagination .page-numbers.dots:hover {
    background-color: transparent;
}

.filter-group .filter-dropdown {
    background-color: #c4e7f5;
    box-shadow: 0 0 .6rem 0 rgba(0, 0, 0, .25);
    border-radius: .4rem;
    min-width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(.1rem);
    z-index: 99;
    transition-property: opacity, visibility;
    transition-duration: .15s;
    opacity: 0;
    visibility: hidden;
}

.filter-group:hover  .filter-dropdown {
    opacity: 1;
    visibility: visible;
}

.filter-group .filter-dropdown .filter-group {
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 20px 30px;
    width: 100%;
    font-size: 18px;
}

.filter-group .filter-dropdown .filter-group li {list-style-type: none;}

.filter-group .filter-dropdown .filter-group ul {
    padding: 0;
    margin: 0;
}

div#sfp-filter-results {
    padding-top: 85px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
}

.filter-group.search-bar {
    width: 100%;
    max-width: 681px;
    margin: 0 auto;
	margin-bottom: 20px;
}

.filter-group.search-bar input#storybank-keyword {
    background-color: #fff;
    border: none;
    outline: none;
}

.filter-group.taxonomy-list {
	display: inline-block;
	
}

.filter-group.topics {
    display: inline-block;
}

form#sfp-filter-form .filter-group.taxonomy-list button:after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 26px;
    padding-left: 14px;
    line-height: 14px;
    vertical-align: middle;
}
.filter-group.topics button.filter-button {
    text-align: center;
}

button.submit {
    font-family: 'Roboto Condensed';
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    max-width: 207px;
    margin: 0 auto;
    display: block;
    border: none;
    background-color: #003da5;
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    text-transform: uppercase;
	margin-top: 20px;
}

.story-items {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 15px;
}

.story-items .story-item {
    width: 25%;
    flex-shrink: 0;
    flex-grow: 0;
    margin: 0;
    padding: 0 .8rem;
    margin-top: 1.6rem;
}

.story-items .story-item .story-image {
    overflow: hidden;
    height: 227px;
    min-height: 227px;
}

.story-items .story-item img {
    width: 100%;
    min-height: 100%;
}

.story-items .story-item .story-content {
    padding: 15px;
}

.story-items .story-item .story-content .story-meta {
    margin-bottom: 5px;
    line-height: 19px;
}
.story-items .story-item .story-content .story-tag {
    margin-top: 14px;
}

.story-items .story-item .story-content .story-meta span {
    color: #383838;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

.story-items .story-item .story-content .story-title p {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 25px;
    text-transform: capitalize;
    font-weight: 600;
}
.story-items .story-item .story-image .image-label {
    position: absolute;
    padding: 10px 16px;
}

.story-items .story-item .story-image .image-label p {
    margin-bottom: 0;
    text-transform: uppercase;
    background-color: #003da5;
    color: #fff;
    padding: 2px 11px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 2px;
    line-height: 16px;
}
.story-items .story-item .story-content .story-tag span {
    color: #6d7278;
    font-size: 14px;
    margin-top: 1em;
}
.story-items .story-item article.story-card {
    background: #fafbfb;
    box-shadow: 0 0 .6rem 0 rgba(0, 0, 0, .25);
    border-radius: .3rem;
    max-width: 60rem;
    margin: 0 auto;
    height: 100%;
}

.filter-dropdown.taxonomy-filter-list {
    width: 600px;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper ul.filter-tabs {
    width: 40%;
    list-style-type: none;
    margin: 0;
    padding: 20px;
    padding-right: 0;
    background-color: #e6ecf6;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper .filter-tab-panels {
    width: 60%;
    padding: 20px;
    padding-left: 15px;
    background-color: #fff;
    padding-right: 10px;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper .filter-panel-body {
    display: none;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper .filter-panel-body ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper  .filter-panel-body.actvie {
    display: block;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper ul.filter-tabs li.filter-tab-button {
    color: #1e4899;
    border: 0;
    padding: .5rem 0;
    background: 0;
    line-height: 1;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
	position:relative;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper ul.filter-tabs li.filter-tab-button.active:after {
   content: "\f105";
   font-family: "Font Awesome 5 Free";
   font-weight: 900;
   font-size: 17px;
   position: absolute;
   right: 20px;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper input.filter-checkbox {
    width: 20px;
    margin: 0;
    height: 20px;
    margin-right: 5px;
    position: relative;
}


.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper .filter-tab-panels li label {
    line-height: 30px;
    font-size: 15px;
}
.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper .filter-panel-body.active {
    display: block;
}

.filter-group.topics input.filter-checkbox {
    width: 20px;
    margin: 0;
    height: 20px;
    margin-right: 5px;
    position: relative;
}

.filter-dropdown.taxonomy-filter-list .filter-tabs-wrapper ul.filter-tabs li.filter-tab-button:hover {
    color: #000;
}

@media(max-width:767px) {
	.story-items .story-item {
		width: 100%;
	}
	form#sfp-filter-form {
		width: 100%;
		margin: 0 auto 0;
		padding: 0 50px;
		padding-bottom: 40px;
		background-color: #7dcbeb;
	}

	.filter-group {
		width: 100%;
	}

	.filter-group.topics button.filter-button {
		text-align: center;
	}

	div#sfp-filter-results {
		padding-top: 0;
	}

	.story-items {
		padding: 0px 15px;
	}
	
}