/*Search Results*/

/*GENERAL*/
.hide-modal-content {
    display: none;
}

/*Focus border for the image link for search results*/
.search-results .column .article-item:focus-within {
    border: 3px solid #003e87;
}

/*IE Fallback*/
.search-results .article-item > a:focus {
    border: 3px solid #003e87 !important;
}

/*DEFAULT TEMPLATE*/

.profile-container {
    display: flex;
    flex-wrap: wrap;
}

.search-results {
    width: 17%;
    max-width: 180px;
    min-width: 150px;
    margin-right: 10px;
    margin-bottom: 20px;
}

.search-results .column.description {
    background-color: #fff;
    padding: 10px;
    cursor: pointer;
    border: solid 1px #f0f0f0;
    box-shadow: 2px 2px 5px #e6e6e6;
    border-top: none;
    min-height: 170px;
    line-height: 1;
}

.search-results a {
    text-decoration: none;
}
/*new*/
.search-results .read-more-link  {color:#ffffff;}
.search-results .read-more-link:hover {color:#ffffff;}
.sr-only {
      border: 0;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }

.search-results .column.description a {
    text-decoration: none;
    position: absolute;
    bottom: 10px;
}

.search-results .column.description a {
    background: none;
    padding: 0;
    font-weight: 600;
    font-family: "Open Sans";
    cursor: pointer;
    text-align: left;
    display: block;
}
/*end newe*/

.search-results .column.description h3 {
    font-weight: 600;
    padding: 0;
    margin: 0;
    min-height: 45px;
    border-bottom: 3px solid #003e87;
    position: relative;
}

.search-results .column.description button {
    text-decoration: none;
    position: absolute;
    bottom: 10px;
}

.search-results .column.description h4 {
    padding: 0;
    margin: 10px 0 0;
}

.search-results .column.description p {
    padding: 0;
    margin: 0;
}

.search-results .summary {
    height: 100px;
    position: relative;
}

.search-results .column.description .company {
    color: #003e87;
    font-weight: 600;
    position: absolute;
    bottom: 0;
}

/*MODAL PROFILE TEMPLATE*/
.profile-content-wrap h3 {
    margin-top: 0px;
}

.profile-modal-img-wrap {
    text-align: left;
    margin: 15px;
}

.alignleft {
    float: left;
}

.profile-modal-img-wrap img {
    width: 100%;
}

.profile-content-wrap {
    text-align: left;
}

.profile-content-wrap img {
    margin-right: 15px;
}

.profile-content-wrap .wpb_wrapper .wpb_row {
    padding: 20px;
}

.profile-content-wrap .wpb_single_image,
.profile-content-wrap .wpb_text_column {
    margin-bottom: 0;
}

.management-team-profile-header {
    color: #fff;
    padding: 20px;
    background-color: #003e87;
    border-radius: 5px 5px 0 0;
}

/*Pagination*/
.pagination-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 150px;
    margin: 25px;
    display: flex;
}

.pagination-wrapper .page-numbers {
    color: #3f3f3f !important;
    display: block;
    width: auto;
    float: left;
    margin: 4px 4px 4px 0;
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid grey;
    align-items: center;
    display: flex;
}

.pagination-wrapper .current {
    font-weight: 700;
    border: 1px solid #3f3f3f;
    background-color: #A4D65E;
}

.pagination-wrapper .page-numbers:hover {
    background: #A4D65E;
    text-decoration: none;
    font-weight: 700;
}

/*End Pagination*/


/*Hover with animated Border*/
.article-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    opacity: 0;
    visibility: hidden;
}

.article-content img {
    display: block;
    margin: 0 auto;
    position: relative;
    top: 8px;
}

.article-content {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
}

.article-content:hover {
    text-decoration: underline;
    cursor: pointer;
}

.search-results button {
    background: none;
    border: none;
    padding: 0;
    font-weight: 600;
    font-family: "Open Sans";
    cursor: pointer;
    outline: inherit;
    text-align: left;
    display: block;
}
.search-results button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 62, 135, 0.8);
}
.article-item:hover .article-content, .search-results:hover .article-content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.2s;
}

.article-item {
    position: relative;
    background-color: #003e87;
    overflow: hidden;
    margin: 1px;
    box-sizing: border-box;
}

.article-item:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    box-sizing: border-box;
    transition: 0.5s;
    transform: scaleX(0);
    opacity: 0;
    z-index: 1;
}

.article-item:hover:before, .search-results:hover .article-item:before {
    transform: scaleX(1);
    opacity: 1;
}

.article-item:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    box-sizing: border-box;
    transition: 0.5s;
    transform: scaleY(0);
    opacity: 0;
    z-index: 1;
}

.article-item:hover:after, .search-results:hover .article-item:after {
    transform: scaleY(1);
    opacity: 1;
}

.article-img img {
    height: 270px;
    position: relative;
    left: 50%;
    transform: translateX(-50%) scale(1.02);
    transition: 0.5s;
    width: 100%;
    object-fit: cover;
    margin-bottom: -10px;
}

.article-item:hover .article-img img, .search-results:hover .article-img img {
    opacity: 0.2;
}

@media (max-width: 750px) {
    .search-results {
        width: 100%;
        max-width: 375px;
        min-width: 100px;
        margin-right: 0px;
    }

    .profile-container {
        justify-content: center;
    }

    .article-img img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 450px) {
    .search-results {
        max-width: 275px;
    }
}
