/* ================================================================
Resource Library
================================================================ */

.resource-library {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin: 1em 0;
}

.button-link {
  border: none;
  font-family: 'sharp-sans-bold';
  color: #026dba;
  background: transparent;
  margin: 1em 0;
  text-transform: uppercase;
  font-size: 12px;
}

.button-link:after {
  content: "\2192";
  margin-left: 0.5em;
  display: inline-block;
  font-size: 11px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  border: 1px solid #026dba;
  color: #026dba;
}

.button-download {
  display: inline-block;
  border: 1px solid #026dba;
  border-radius: 50%;
  color: #026dba;
  background: transparent;
  margin: 1em 0;
  width: 42px;
  height: 42px;
  text-align: center;
  font-size: 12px;
  transition: all ease-in 0.5s;
}
.resource-link-card {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    padding-bottom: 50px;
    width: 100%;
}
.resource-link-card:hover,
.resource-link-card:focus {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}
.resource-link-card:hover .button-download, .resource-link-card:focus .button-download,
.button-download:hover, .button-download:focus {
    color: #ffffff;
    background: #026dba;
}

.button-download svg {
  width: 18px;
  height: 100%;
  vertical-align: middle;
  fill: #026dba;
  transition: all ease-in 0.5s;
}

.resource-link-card:hover .button-download svg,
.resource-link-card:focus .button-download svg,
.button-download:hover svg, .button-download:focus svg {
    fill: #ffffff;
}

.resource-item {
  display:flex;
  flex-flow: column;
  margin: 1em;
  border: 1px solid #949599;
  width: 100%;
  text-align: center;
}

.resource-image{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
    height: 250px;
}

.resource-content {
  position: relative;
  padding: 2em;
  margin-bottom: 40px;
}
.resource-link-card .resource-content {
    margin-bottom: 0px;
}

.resource-content:before {
    right: 0;
    content: "";
    position: absolute;
    left: 0;
    top: -14px;
    width: 2em;
    margin: auto;
    height: 0;
    border-left: 1em solid transparent;
    border-right: 1em solid transparent;
    border-bottom: 1em solid #fff;
    clear: both;
}

    .resource-content h3 {
        font-family: "sharp-sans-medium", sans-serif;
        font-size: 20px;
        padding: 15px 0px 15px 0px;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        margin-top: 0;
        color:rgb(51,51,51);
    }

.resource-type {
    text-transform: uppercase;
    font-weight: normal;
    font-family: "sharp-sans-bold", sans-serif;
    color: #333;
}
.resource-action{
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: -20px;
}
@media(min-width: 48em) {
  .resource-item {
    width: 42%;
  }
}

@media(min-width: 72em) {
  .resource-item {
    width: 30%;
  }
}

/* Resource Modal */
.resource-modal .close {
  opacity: 1;
  border: 1px solid #026dba;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  font-size: unset;
  text-align: center;
}


.resource-modal .close svg {
  width: 20px;
  display: inline-block;
  height: 26px;
  fill: #026dba;
  opacity: 1;
  vertical-align: bottom;
  text-align: center;
}

.modal-header {
  padding: 25px 45px;
  font-size: 24px;
  color: #026dba;
  border-bottom: none;
}

.modal-footer {
  padding: 0;
}

.modal-download {
  vertical-align: middle;
  display: block !important;
  padding: 15px 30px;
  background-color: #337ab7;
  color: #ffffff;
  text-transform: uppercase;
  text-align: left;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
}

.modal-download:hover, .modal-download:focus {
  color: #ffffff;
  background-color: #286090;
  text-decoration: none;
}


.modal-download svg {
  width: 20px;
  vertical-align: bottom;
  height: 20px;
  fill: #ffffff;
  float: right;
}

.modal-related-products {
  display: block !important;
  padding: 0 30px;
  list-style: none;
}

.modal-related-products li {
  display: inline-block;
  border-bottom: 1px solid #d4d4d4;
  list-style-type: none;
  margin: 0 1em;
  width: 45%;

}

.modal-related-products li h3{
  font-size: 16px;
  margin: 0;
  padding: 0.5em 0;
}

.modal-related-products li:last-child {
  border-bottom: none;
}

 /*-----------------------------*/
/*Resource Filters*/

.resource-filters {
  margin: 2em 0;
  text-align: center;
}

.filter-wrap {
position: relative;
display: inline-block;
vertical-align: top;
margin: 0.9em 1em 1em 1em;
}

.filterDropdown + div {
position: absolute;
left: 0;
width: 100%;
z-index: 1;  
}

.clear-filter {
display: inline-block;
text-decoration: none !important;
padding: 0.9em 1.8em !important;
line-height: 0.9em !important;
}

.filterDropdown {
border: 1px solid #949599;
border-radius: 1.5em;
color: #949599;
display: inline-block;
font-size: 12px;
font-weight: normal;
letter-spacing: 2px;
line-height: 1em;
padding: 0.8em 1.7em;
text-transform: uppercase;
text-decoration: none;
background-color: #fff;
}

.filterDropdown.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
}

.filterDropdown.activated {
background-color: #20b3e6;
border-color: #20b3e6;
color: #fff;
text-decoration: none;
}
.filterDropdown:hover, .filterDropdown:focus {
background-color: #20b3e6;
border-color: #20b3e6;
color: #fff;
text-decoration: none;
}

.filterDropdown:hover svg, .filterDropdown:focus svg{
fill: #ffffff;
stroke: #ffffff;
}

.filterDropdown svg {
width: 16px;
height: 16px;
fill: #949599;
stroke: #949599;
vertical-align: middle;
margin-left: 5px;
}

.resource-filter-wrapper {
list-style: none;
display: inline-block;
width: 100%;
border: 1px solid #949599;
border-top: 0;
border-bottom-left-radius: 1.5em;
border-bottom-right-radius: 1.5em;
background-color: #ffffff;
text-align: left;
}
.resource-filter-wrapper ul{
width: 100%;
}
/* .resource-filter-wrapper li.item{
background-color:#20b3e6; 
} */
.resource-filter-wrapper .resource-library {
display: inline-block;
margin: 0;
}

.resource-filter-wrapper ul {
list-style: none;
padding: 0;
}

.resource-filter-wrapper .filter-button {
border: 0;
width: 100%;
background: transparent;
padding: 0.5em 1em;
text-align: left;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 2px;
}

.resource-filter-wrapper .filter-button.activated{
background-color: #20b3e6;
color:#fff;
}

.selected-filters {
display: flex;
}

ul.filter-list {
list-style: none;
margin: 1% 2% 0%;
padding: 0;
}