/*
Theme Name: Stark Child V2
Author: Andrew Miller & Rutuparn Pawar
Author URI: https://dev.am/
Description: Stark Center Child Theme V2
Template: galleria-metropolia
Theme URI:
Version: 1.0.0
*/

@import "collections-page.css";

.slider-no-img .cmsmasters_img_rollover_wrap {
    display: none
}

.stark-no-img figure.cmsmasters_img_wrap {
    display: none;
}

.slider-no-img .cmsmasters_slider_post_img_wrap {
    display: none;
}

.profiles.opened-article .share_posts {
    display: none;
}

ul {
    list-style-type: none;
}

#finding-aids li {
    margin: 21px 0;
}

.findingaid-meta {
    display: none;
    background-color: white;
    width: 100%;
}


.finding-aid-opts {
    margin-top: 14px;
}

.finding-aid-opts a {
    padding: 10px;
    cursor: pointer;
}

#ajax-search-container {
    margin: 24px 24px 10px 24px;
}

#ajax-search-container input {
    width: 100%;
}


#ajax-search-container input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.ajax-search-container-foot,
.searchwp-live-search-instructions {
    display: none;
}

.searchwp-live-search-results-showing {
    padding-top: 24px;
}

.nopad,
.nopad>.owl-carousel {
    padding: 0 !important;
}

.homepage-news-slider .cmsmasters_slider_post_content {
    height: 60px;
}

.homepage-news-slider .owl-controls .owl-buttons {
    text-align: center;
}

.homepage-search {
    width: 100%;
}

.cmsmasters_icon_list_items.cmsmasters_icon_list_type_block .cmsmasters_icon_list_item {
    padding-bottom: 20px;
}

.cmsmasters_img_rollover_wrap.preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.cmsmasters_img_rollover_wrap.preloader img.full-width {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%
}


/* Recent Posts shortcode */

.stark-recent-post .stark-post-title {
    margin-bottom: 12px;
}

.stark-recent-post .stark-post-thumb {
    width: 150px;
    min-width: 150px;
    padding: 0 10px;
}

.stark-recent-post .stark-post-thumb img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.stark-recent-post .stark-post-date {
    margin-bottom: 0;
}

.stark-recent-post {
    display: none;
}

.stark-post-date,
.stark-post-type {
    animation-delay: 300ms;
}

.stark-post-excerpt {
    animation-delay: 600ms
}

.stark-posts-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.stark-posts-nav .stark-btn {
    cursor: pointer;
    padding: 10px 30px;
}

.stark-recent-post.stark-active-slide {
    display: flex;
    transition: opacity;
    flex-direction: row;
}

.stark-post-img {
    margin-bottom: 24px;
}

.stark-recent-posts .cmsmasters_button.cmsmasters_but_bg_hover {
    background: none;
}

.stark-recent-posts .cmsmasters_button.cmsmasters_but_bg_hover:hover {
    background-color: #4c4c4c;
}

.middle_content {
    padding-top: 60px;
}

/*
    Dynamic first row top padding
 */

@media screen and (max-height: 700px) {
    .headline_aligner {
        min-height: 300px;
    }

    /* 
    .middle_inner > .content_wrap:first-child + .cmsmasters_row .cmsmasters_row_outer_parent {
        padding-top: 60px !important;
    } */

    .middle_content {
        padding-top: 40px;
    }

}

@media screen and (max-height: 550px) {
    .headline_aligner {
        min-height: 200px;
    }

    /*     .middle_inner > .content_wrap:first-child + .cmsmasters_row .cmsmasters_row_outer_parent {
        padding-top: 40px !important;
    }
 */
    .middle_content {
        padding-top: 20px !important;
    }
}

@media screen and (max-height: 400px) {
    .headline_aligner {
        min-height: 150px;
    }
}

/*.header_mid .logo_wrap .logo img {*/
/*    max-height: none;*/
/*}*/


@media only screen and (max-width: 768px) {
    #header .header_mid .logo_wrap {
        margin-bottom: 0;
    }

    #header .header_mid .header_mid_inner {
        padding-top: 0;
    }

    #page:not(.enable_header_bottom) #header .header_mid .header_mid_inner_cont>div a {
        padding: 12px 0;
    }

}

@media only screen and (max-width: 1024px) {
    .header_top {
        display: none;
        overflow: hidden;
        clear: both;
    }
}

/*
Search
 */

.ais-Snippet-highlighted,
.ais-Highlight-highlighted {
    background-color: rgba(255, 255, 0, 0.3);
}

.cmsmasters_archive_type .cmsmasters_archive_item_img_wrap.algolia-result-img {
    min-width: 130px;
    margin: auto 20px auto 0;
}

.cmsmasters_archive_type .cmsmasters_archive_item_info {
    padding: 0;
}

.cmsmasters_archive_item_title,
.cmsmasters_archive_item_title a {
    font-size: 20px;
    line-height: 26px;
    margin: 6px 0;
}

.cmsmasters_archive_item_title a:hover {
    text-decoration: underline;
}

.cmsmasters_archive_type .cmsmasters_archive_item_content {
    padding: 0;
}

.cmsmasters_archive_type.condensed .cmsmasters_archive_item_date_wrap {
    display: none;
}

.cmsmasters_archive_type.condensed {
    padding-top: 30px;
}

.cmsmasters_archive_type.condensed .cmsmasters_archive_item_img_wrap.algolia-result-img {
    min-width: 90px;
    margin: auto 10px auto 0;
}

:focus {
    outline: 3px solid;
}

.ais-RefinementList-labelText {
    margin-right: 5px;
}

.ais-RefinementList-item {
    line-height: 14px;
    padding: 0;
}

.ais-RefinementList-item::before {
    content: '';
}

.full-search-container {
    display: flex;
    flex-direction: row;
}

#full-search-results {
    flex-grow: 3;
    padding: 10px 0 20px 30px;
}

.ais-Pagination-item::before {
    content: '';
}

.ais-Pagination-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

ul li.ais-Pagination-item:first-child {
    padding-top: 10px;
}

.ais-SearchBox-input {
    width: 100%;
    margin: 20px 0;
}

#full-search-filters {
    width: 250px;
    min-width: 200px;
}

.sr-more {
    text-align: center;
    margin: 40px 0 0 0;
}

.sr-more-btn {
    transform: scale(1.2);
}


/*.preloader .full-width {*/
/*    object-fit: cover;*/
/*    height:auto;*/
/*}*/


/* Search Button in Header */

#menu-item-18280 {
    border-left: 1px solid rgba(255, 255, 255, 0.17);
    margin-left: 10px;
    padding-left: 10px;
    cursor: pointer;
}

nav>div>ul #header-search-form>ul {
    visibility: hidden;
    opacity: 0;
    margin: 20px 0 0;
}

nav>div>ul.search-visible #header-search-form>ul {
    margin: 1px 0 0;
    visibility: visible;
    opacity: 1;
    width: 100%;
}

#menu-item-18280 .nav_title::before {
    font-size: 17px;
    width: 17px;
    height: 17px;
}

#header-search-form {
    position: absolute;
    top: 0;
    right: 0;
    left: -25px;
    opacity: 0.01;
    pointer-events: none;
    bottom: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

#header-search-results {
    padding: 0 30px 30px 30px;
}


#header-search-results .entry-content,
#header-search-results .cmsmasters_archive_item_category,
#header-search-results .cmsmasters_archive_item_user_name,
#header-search-results .cmsmasters_archive_item_type::before {
    display: none;
}

#header-search-results .cmsmasters_button {
    padding: 10px 30px;
}

#header-search-results .cmsmasters_archive_item_type {
    pointer-events: none;
}

#header-search-results .cmsmasters_archive_type.condensed .cmsmasters_archive_item_img_wrap.algolia-result-img {
    min-width: 50px;
}

#header-search-form .ais-SearchBox-form {
    position: absolute;
    top: 0;
    left: 0;
    right: 80px;
    bottom: 0;
}

#header-search-form input {
    margin: 0;
    background-color: rgba(0, 0, 0, 0.15);
    border: none;
    padding-left: 40px;
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: none;
    -webkit-box-shadow: none;
}

#header-search-form .h-search-input,
#hide-header-search {
    font-family: 'Karla', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    font-size: 13px;
    line-height: 26px;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#header-search-form #hide-header-search {
    position: absolute;
    right: 0;
    width: 80px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    bottom: 0;
    top: 0;
}

#hide-header-search:hover {
    color: white;
}

#header-search-form input::placeholder {
    color: #FFF;
}

#navigation.search-visible #header-search-form {
    opacity: 1;
    pointer-events: all;
}

#header-search-form .cmsmasters-icon-search-1 {
    position: absolute;
    top: 50%;
    margin-top: -14px;
    font-size: 20px;
    left: 6px;
}

#navigation>li {
    transition: opacity 0.3s ease;
}

#navigation.search-visible>li:not(#header-search-form) {
    opacity: 0;
}

/* Footer Widget Title*/
.footer-widgettitle {
    font-size: 1.3em;
    font-weight: 950;
}

/*
Digital Books
 */

.stark-digital-books {
    display: flex;
}

.stark-digital-books .stark-digital-book {
    flex-grow: 1;
    margin: 5px;
    cursor: pointer;
}


/* Search Result customizations */

.search-result-type-collection .cmsmasters_archive_item_date_wrap {
    display: none;
}

/* Staff Pick shortcode */

.stark-staff-pick {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
}

.stark-staff-pick .stark-post-img img {
    max-height: 120px;
    width: auto;
}

.stark-staff-pick .stark-post-title {
    cursor: pointer;
}

.stark-staff-pick .staff-pick-img {
    align-self: center;
    cursor: pointer;
}

.stark-staff-pick p {
    margin-bottom: 0;
    padding-bottom: 0;
    cursor: pointer;
}

.staff-pick-full {
    display: none;
    color: #fefefe;
    font-size: 16px;
    line-height: 20px;
    padding: 24px;
}

.staff-pick-full-title {
    font-size: 24px;
    margin: 20px 0;
}

.staff-pick-full-img img {
    max-height: 300px !important;
    width: auto !important;
    margin: 20px auto;
    display: block;
}


.staff-pick-author {
    float: left;
    width: 100%;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: bold;
}

.staff-pick-author img {
    float: left;
    max-width: 75px;
    border-radius: 5px;
    margin-right: 12px;
    max-height: 75px;
}

.staff-pick-role {
    color: #eee;
    font-size: 14px;
    font-style: italic;
}

.staff-pick-author a {
    color: #fff;
    text-decoration: underline;
}

.stark-staff-pick .stark-post-title {
    margin-bottom: 0
}

.staff-pick-content {
    padding-left: 25px;
}


/* Homepage Search */

#homepage-search {
    display: flex;
    flex-direction: row;
}

#homepage-search input {
    flex-grow: 1;
    margin-right: 20px;
}

#homepage-search button {
    width: 120px
}


/* Header modifications */

.stark_breadcrumbs+.cmsmasters_breadcrumbs {
    display: none;
}

.single-collection .cmsmasters_breadcrumbs.stark_breadcrumbs,
.single-project .cmsmasters_breadcrumbs.stark_breadcrumbs {
    display: block;
}

/* ilightbox modifications */
.ilightbox-holder .ilightbox-container .ilightbox-caption {
    font-size: 20px;
}



/* Homepage blog - image to the left */
.stark-blog-image-left figure.cmsmasters_img_wrap {
    float: left;
    max-width: 200px;
    margin-top: 47px;
    margin-right: 24px;
}

/* Video Header */
.video-header-container {
    overflow: hidden;
    position: relative;
}

.stark-video-background-div {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.stark-video-background-div .stark-video-background {
    height: 100%;
    width: 204.8vh;
    min-width: 100%;
    min-height: 78.828125vw;

    z-index: 1;
    position: absolute;
    left: 50%;
    top: 50%;

    filter: grayscale(60%);
    -webkit-filter: grayscale(60%);
    
    transform: translate(-50%, -50%);
}

/* Button bar */
.stark-hide-profile-text .cmsmasters_profile_content.entry-content {
    display: none;
}

.stark-hide-profile-text .cmsmasters_profile_horizontal .cmsmasters_profile_header .cmsmasters_profile_subtitle {
    margin: 0 0 12px 0;
}

.stark-button-bar {
    text-align: center;
}

.stark-button-bar .button {
    margin: 0 20px;
}

body a {
    text-decoration: underline;
}

body .button,
h2 a,
h3 a,
h1 a,
.button_wrap a,
body .cmsmasters_button,
.meta_wrap a,
.cmsmasters_post_cont_info_meta a {
    text-decoration: none;
}


/* Label like H2*/
.starkcenter-label-like-h2 {
    display: block;
    font-size: 2em;
    line-height: 2.75rem;
    margin-bottom: 5px;
}

/* H2 level headings morphed as H3*/
.starkcenter-h2-like-h3 {
    display: block;
    font-size: 1.4em;
    line-height: 2.75rem;
}

/*Label like heading*/
.starkcenter-label-like-h3 {
    display: block;
    font-size: 1.4em;
}

.starkcenter-label-like-h4 {
    display: block;
    font-size: 1em;
}

.starkcenter-label-like-h5 {
    display: block;
    font-size: 0.8em;
}

.starkcenter-label-like-h6 {
    display: block;
    font-size: 0.6em;
}

/* Profile heading */
.starkcenter-profile-header-link-like-h3 {
    font-family: 'Muli', Arial, Helvetica, 'Nimbus Sans L', sans-serif !important;
    font-size: 1.4em;
    margin: 0;
}

.starkcenter-profile-sub-header-label-like-h5 {
    font-size: 0.8em;
    margin: 0;
    text-transform: uppercase;
}

/* Footer: Bottom sidebar widget headings as label */
.starkcenter-footer-label-like-h3 {
    display: block;
    font-size: 1.4em;
    margin: 0;
}

/* Default paragraph justification: uniform */
.entry-content {
    text-align: justify;
}

/* Remove underline from hyperlink*/
.remove-underline {
    text-decoration: none;
}