/* Custom Research Plugin Styles */
.filter_loop {
    margin-bottom: 20px;
    text-align: left;
}

.filter_loop h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #3e1869;
    font-family: 'Encode Sans', sans-serif;
    text-transform: uppercase;
}

.post_list {
    list-style: none;
    padding-left: 0 !important;
    margin-left:0;
}

.post_item {
    margin-bottom: 20px;
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    padding: 0;
}

.post_item:not(:last-child) {
    border-bottom: 1px solid #3e1869;
}

.post_title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #3e1869;
}

.post_excerpt {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333333;
}

.post_link {
    display: inline-block;
    font-size: 16px;
    color: #3e1869;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    transition: color 0.3s ease;
    padding: 10px 20px;
    background-color: #ffffff;
    border: 2px solid #3e1869;
    border-radius: 4px;
}

.post_link:hover {
    color: #ffffff;
    background-color: #3e1869;
}

/* Custom Research Plugin Additional Styles */
.post_item {
    background-color: #ffffff;
    border: none;
    padding: 0 0 20px;
}

.post_title {
    color: #3e1869;
}

.filter_loop h3,
.post_title {
    font-family: 'Encode Sans', sans-serif;
}

.post_excerpt {
    font-family: 'Open Sans', sans-serif;
}

.research_loop {max-width:900px;margin:0 auto;display:block;}

.research-database-item {
     margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dotted;
}

.research-database-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.research-database-item p {
  margin: 0;
  line-height: 1.5;
}

.research-database-item p.contact-name {
  display: inline-block;
}

.research-database-item p.more-information {
  display: inline-block;
}

.research-database-item p.website_link {
	display: inline-block;
}

.research-database-tooltip {
  position: relative;
  display: inline-block;
  color: #3e1869;
  text-decoration: none;
  cursor: help;
}

.research-database-tooltip:before {
  content: attr(data-tooltip);
    position: absolute;
    bottom: 25px;
    left: 0;
    transform: translateX(0%);
    padding: 5px 10px;
    background-color: #3e1869;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    width: 400px;
}

.research-database-tooltip:hover:before {
  visibility: visible;
  opacity: 1;
}

.find_my_fund .filters {
	padding:30px 40px 40px;
	background: linear-gradient(90deg, #3e1869 0%, #6b2d67 100%);
	margin-bottom:30px;
}
.filter_contain {position:relative;}
.filter_contain:before {
	    content: '';
    background: url(../../assets/images/stripes-dark-tile.png);
    background-repeat: repeat-x;
    height: 90px;
    bottom: 0;
    width: 100%;
    z-index: 0;
    position: absolute;
    background-size: 35px auto;
    opacity: .6;
}
.find_my_fund .filters h2 {
	margin-top: 0;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
	font-family: 'EncodeSansNormal-Bold';
    letter-spacing: .025em;
}
.find_my_fund .facetwp-facet.facetwp-type-search {
    padding-bottom: 15px;
    width:100%;
    font-size:18px;
        max-width: 1140px;
    margin: 0 auto;
    display: block;
    float: none;
    max-width:800px;
}
.find_my_fund .facetwp-facet.facetwp-type-search .facetwp-input-wrap {display:block;}
.find_my_fund .facetwp-facet input.facetwp-search {
	width:100%;
	border: none;
    padding: 10px 30px 10px 10px;
}


.find_my_fund .facetwp-facet.facetwp-type-fselect {margin-bottom:8px;}
.find_my_fund .facetwp-facet.facetwp-facet-date {margin-bottom:25px;}

.find_my_fund .col-sm-5ths .facetwp-facet,
.find_my_fund .col-sm-5ths .fs-label-wrap {width:100%;margin:5px 0;}
.find_my_fund .fs-label-wrap .fs-label {
	padding: 9px 22px 7px 8px;
    font-size: 17px;
}
.find_my_fund .facetwp-type-fselect .fs-wrap, 
.find_my_fund .facetwp-type-fselect .fs-dropdown {width:100%;}
.find_my_fund .facetwp-type-fselect .fs-option .fs-option-label {font-size:15px;}

.find_my_fund .search-button {
	margin-top:20px;
	display:none;
}
.find_my_fund .search-button.foo {display:block;}
.find_my_fund .search-button .btn{
	width: 100px;
    float: right;
    margin-right: 15px;
    background: #333D47;
    border-color:#333D47;
    color: #fff;
}
.find_my_fund .search-button .btn:before {
	background: #333D47;
	border-color:#333D47;
}

.search_box button {background:#94795D;}
.search_box button:hover {background:#004851;}
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths,
.col-sm-4 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.col-sm-4 {
    flex: 0 0 auto;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
    .col-sm-3 {
        width: 33.33%;
    }
    .search_box .facetwp-date {width:30%;}
    .find_my_fund .facetwp-facet.facetwp-type-search {padding-bottom: 30px;}
    .find_my_fund .col-sm-5ths .facetwp-facet,
	.find_my_fund .col-sm-5ths .fs-label-wrap {margin:0;} 
	.btn-primary.btn_new.Grey.show_filters {display:none;}
	.drop_filters.collapse {display: flex !important;flex-wrap: wrap;}
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
    .search_box .facetwp-date {width:15%;}
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

/* Modal Styles */
#infoModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
#infoModal .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 600px;
    border-radius: 6px;
    position: relative;
}
#infoModal .close {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
}
