/*
Theme Name:     Newspaper 7 Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        7.7c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Roboto+Condensed:300,400,700|Roboto:100,300,400,500');

/* Header - Top Menu */
.td-container.td-header-row.td-header-top-menu {
    height: 40px;
}
.td-header-menu-wrap.td-affix {
    width: auto;
}
.top-bar-style-1 .td-header-sp-top-menu {
    line-height: 40px;
    font-size: 12px;
}
.td-weather-top-widget .td-weather-header .td-weather-city {
    font-size: 12px;
}
.td-weather-top-widget {
    margin: 0 16px;
}
.museum-status {
    display: inline-block;
    margin-right: 16px;
    text-transform: uppercase;
    font-weight: bold;
}
.museum-status > span {
    color: black;
    background: #ece4b6;
    padding: 3px 8px;
    border-radius: 4px;
}
.fourty-years {
    display: block;
    float: right;
    height: 40px;
    font-size: 20px;
    background: #000;
    padding: 0 15px;
    font-family: 'Open Sans', 'Roboto', Arial;
}
.fourty-years > .small-logo,
.fourty-years > .punchline {
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
}
.fourty-years > .small-logo > img {
    vertical-align: sub;
}
/* Sticky menu */
.td-main-menu-logo.td-logo-in-header.td-logo-sticky {
    margin-left: 15px;
}
/* Header - Logos */
.td-header-style-1 .td-header-header .td-header-sp-logo {
    width: 185px;
    padding: 0;
    margin: 0;
    display: flex;
    height: auto;
    max-height: unset;
}
.td-header-style-1 .td-header-header .td-header-sp-logo img {
    max-height: unset;
    margin-left: 0;
    margin-right: 0;
}
/* Header - Logos container background */
.td-container.td-header-row.td-header-header {
    background: #fff url('/wp-content/themes/Newspaper-child/assets/img/logo-watermark.png');
    background-repeat: no-repeat;
    background-position: center right;
    display: flex;
    height: 233px; 
}
/* Header - Europeana logos */
/* JMG - Text */
.td-header-rec-wrap h1.hero {
    font-weight: bold;
    margin-left: 20px;
    font-family: 'Roboto Condensed';
    font-size: 40px;
    margin-bottom: 5px;
}
.td-header-rec-wrap span.gold {
    color: #9c8c57;
    margin-left: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 25px;
}
.td-header-rec-wrap {
    position: relative;
    display: table;
    height: 230px;
    width: 100%;
}
.td-header-rec-wrap .left-part,
.td-header-rec-wrap .right-part {
    position: relative;
    display: flex; 
    height: 100%;
}
.td-header-rec-wrap .left-part {
    vertical-align: top;
}
.td-header-rec-wrap .right-part {
    vertical-align: middle;
    text-align: right;
}
.td-header-style-1 .td-header-header .td-header-sp-recs {
    display: flex;
    margin: 0;
}
.td-header-sp-recs img {
    position: relative;
    margin-top: 15px;
}
/* Don't break menu in two rows */
.td-header-main-menu {
    padding-right: 15px;
}
.museum-artifacts-sidebar .td-block-title > * {
    background: black;
    font-size: 14px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    padding: 0px 10px;
}
.museum-artifacts-sidebar .td-block-title {
    letter-spacing: 0;
    border-bottom: 2px solid black;
}

/* --- TOP BAR STYLES --- */
.td_data_time {
    margin-left: 15px;
}

.td-container.td-header-row.td-header-top-menu {
    background-color: #d7b949 !important;
}

/* --- ARTIFACTS MAIN MENU --- */
.td-header-gradient:before {
    display: none;
}
.td-header-wrap .td-header-menu-wrap-full {
    background-color: #ece4b5 !important;
}
.sf-menu > .current-menu-item > a:after,
.sf-menu > .current-menu-ancestor > a:after,
.sf-menu > .current-category-ancestor > a:after,
.sf-menu > li:hover > a:after,
.sf-menu > .sfHover > a:after,
.td_block_mega_menu .td-next-prev-wrap a:hover,
.td-mega-span .td-post-category:hover,
.td-header-wrap .black-menu .sf-menu > li > a:hover,
.td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a,
.td-header-wrap .black-menu .sf-menu > .sfHover > a,
.header-search-wrap .td-drop-down-search:after,
.header-search-wrap .td-drop-down-search .btn:hover,
.td-header-wrap .black-menu .sf-menu > .current-menu-item > a,
.td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a,
.td-header-wrap .black-menu .sf-menu > .current-category-ancestor > a {
    background-color: transparent !important;
}
.td-header-wrap .header-search-wrap .td-icon-search {
    background: #000000;
    color: #ffffff !important;
    font-size: 1.5rem;
}
.category-nav {
    float: right;
    font-size: 13px;
    margin-right: 5px;
}
.category-nav > a {
    color: black;
    font-weight: normal;
    text-decoration: underline;
}

/* --- ARTIFACTS HOME STYLES --- */
.search-top,
.search-home {
    float: right;
    margin-bottom: 20px;
}
.search-home {
    width: 100%;
    display: block;
    background-color: #f4f3f3;
    margin-top: 24px;
    padding: 20px 80px;
}
.search-home input[type="text"] {
    border-color: #b0b0b0;
}
@media screen and (max-width: 768px) {
    .search-top,
    .search-home  {
        width: 100%;
        margin: 20px 0;
    }
}
.search-top .td-search-form-widget .wpb_button,
.search-top .td-search-form-widget .td-widget-search-input,
.search-home .td-search-form-widget .wpb_button,
.search-home .td-search-form-widget .td-widget-search-input {
    height: 40px;
}
.search-top .td-search-form-widget .wpb_button,
.search-home .td-search-form-widget .wpb_button {
    line-height: 1.25;
}
.search-top .td-search-form-widget .td-widget-search-input,
.search-home .td-search-form-widget .td-widget-search-input {
    font-size: 16px;
}
button.searchbtn-dark {
    background: #000000;
    color: #ffffff;
    font-size: 1.5rem;
    outline: none;
}

/* --- ARTIFACTS MENU SIDEBAR --- */
.artifacts-menu.sidebar > h4.title {
    background-color: #000;
    text-align: center;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}
ul.artifacts-categories {
    list-style-type: none;
    list-style: none;
    padding-left: 0;
}
ul.artifacts-categories > li.category {
    margin: 5px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #eeeeef;
}
li.category:hover > a,
li.category.selected > a {
    color: #c36a34;
    text-decoration: underline;
}
li.category > a {
    color: #666666;
    font-weight: 500;
}

/* --- ARTIFACTS MAIN CONTAINER --- */
.artifacts-listing .td-pb-row {
    margin-left: -15px;
    margin-right: -15px;
}

.artifacts-listing .td-pb-row [class*="td-pb-span"] {
    padding-left: 15px;
    padding-right: 15px;
}

.artifacts-container > h4.title {
    background-color: #eeeeef;
    text-align: left;
    color: #000000;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* --- SINGLE ARTIFACT ON LISTING --- */
.artifacts-listing .single-artifact {
    margin: 15px 0;
    padding: 0;
}

.single-artifact .container {
    width: 100%;
    min-height: 250px;
    height: auto;
    border: 1px solid #eeeeef;
}

.artifacts-listing .single-artifact img {
    height: 175px;
    width: auto;
    margin: 1em auto;
    display: block;
}

.single-artifact h5.title {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: capitalize;
}

/* --- ARTIFACTS PAGINATION --- */
.artifacts-pagination {
    padding: 10px 0;
    margin-top: 10px;
    text-align: right;
}
.artifacts-pagination > a.page-numbers,
.artifacts-pagination > span.page-numbers.current {
    display: inline-block;
    padding: 0 10px 0 5px;
    border-right: 1px solid #000000;
    font-size: 14px;
    color: #000000;
}
.artifacts-pagination > span.page-numbers.current {
    background: transparent;
    color: #000000;
    font-weight: bold;
}
.artifacts-pagination > a:last-child {
    border-right: none;
}
/* Search page - Results */
.td-ss-main-content {
    margin-top: 20px;
}
/* Homepage - Slick slider */
.recent-artifacts {
    margin: 0 35px;
}
.slick-list.draggable {
    border: 1px solid #ccc;
}
.slick-slide {
    margin: 0 35px !important;
}
.slick-list {
    margin: 0 -35px !important;
}
.slick-prev {
    left: -35px !important;
}
.slick-next {
    right: -25px !important;
}
.slick-prev, .slick-next {
    top: 50% !important;
    height: 40px !important;
    z-index: 9999999 !important;
}
.slick-prev:before, .slick-next:before {
    font-family: 'newspaper' !important;
    font-size: 30px !important;
    line-height: 0 !important;
    font-weight: 100 !important;
    opacity: 1 !important;
    color: #ccc !important;
}
.slick-prev:before {
    content: '\e80c' !important;
}
.slick-next:before {
    content: '\e80d' !important;
}
.slider-artifact {
    padding-top: 15px;
    padding-bottom: 10px;
}
.slider-artifact span.title {
    text-align: center;
    color: black;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Mobile artifacts menu */
select.artifacts-mobile {
    display: none;
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: white;
    outline: none;
}
/* Single Artifact - Template */
.single-artifact-container .featured-image {
    margin-bottom: 15px;
}
.single-artifact .contents-container > h4.title span {
    background-color: #d36f30;
    display: inline-block;
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Open sans', sans-serif;
    padding: 0 10px;
}
.single-artifact .contents-container > h4.title {
    margin-top: 0;
    border-bottom: 2px solid #d36f30;
}
.single-artifact .item {
    margin: 5px 0px;
}
.single-artifact .item p {
    margin-bottom: 10px;
}
.featured-image .td-icon-search {
    position: absolute;
    top: 0;
    right: 0;
    background: #d9d8d8;
    color: white;
    font-size: 25px;
    padding: 5px 10px;
}
.single-artifact .img-container {
    border: 1px solid #ccc;
    position: relative;
    margin-left: 1px;
    padding: 10px;
    text-align: center;
}
/* Footer */
.td-footer-wrapper {
    background: transparent;
    margin-top: 35px;
    padding-top: 0;
    padding-bottom: 0;
}
.td-footer-wrapper a {
    color: #111;
}
.td-footer-wrapper.td-container-wrap {
    padding-top: 0;
    padding-bottom: 0;
}
.td-footer-bottom-full {
    padding: 15px 0 0 0;
}
.footer-images {
    text-align: center;
}
.footer-images img {
    padding: 0 10px;
}
.img-row-second {
    margin-top: 20px;
}
.td-sub-footer-container {
    background-color: #d7b949;
    min-height: 40px;
    color: #000;
    font-size: 12px;
    font-family: 'Open Sans', arial, sans-serif;
}
.footer-bottom-right-corner {
    background: url('/wp-content/themes/Newspaper-child/assets/img/footer-jmg-logo.png');
    background-repeat: no-repeat;
    background-position: 50% top;
    color: #111;
}
.footer-bottom-right-corner .content {
    float: right;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
}
ul#menu-footer-menu,
ul#menu-footer-menu-en {
    list-style: none;
    display: inline-block;
    width: 360px;
    max-width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 0 20px 5px 0;
    margin-bottom: 5px;
    margin-top: 0;
    padding-top: 25%;
}
ul#menu-footer-menu > li,
ul#menu-footer-menu-en > li {
    display: inline-block;
    margin-right: 15px;
}
.footer-bottom-right-corner .content a,
ul#menu-footer-menu li > a,
ul#menu-footer-menu-en li > a {
    color: #111;
}
.footer-bottom-right-corner .content a:hover,
ul#menu-footer-menu li > a:hover,
ul#menu-footer-menu-en li > a:hover {
    color: #fc833a;
    text-decoration: underline;
}
p.contact-info {
    margin-top: 15px;
    font-size: 13px;
}
p.contact-info > span {
    display: block;
}
p.contact-info > a {
    color: #111;
}
.td-sub-footer-menu .fourty-years {
    padding: 0 20px;
    color: #fff;
}
.td-sub-footer-copy {
    line-height: 40px;
    margin: 0;
}
/* Scroll to top button */
.td-scroll-up {
    background-color: #b99f3f;
}
.td-scroll-up {
    border: 2px solid #000;
    width: 45px;
    height: 42px;
}
/**
 * Footer tripadvisor
 */
#CDSWIDFRR {
    margin: 0 !important;
}
#CDSWIDFRR .top-background.green {
    height: 70px;
}
/**
 * Search fix
 */
.header-search-wrap .td-aj-search-results .td-module-thumb {
    position: relative;
    float: left;
    margin-bottom: 10px;
}
@media screen and (max-width: 1024px) {
    .td-sub-footer-menu > .fourty-years { display: none; }
    .td-pb-span.td-sub-footer-copy { width: 100%; text-align: center; }
    ul.footer-menu { padding-top: 40%; }
    .footer-bottom-right-corner { background-size: contain; }
}
/* Responsive styles */
@media screen and (max-width: 768px) {
    select.artifacts-mobile { display: block; }
    ul.artifacts-categories { display: none; }
    #back-to-main-site { display: none; }
    .td-header-wrap .td-header-menu-wrap-full { background-color: transparent !important; }
    .td_module_16 .td-excerpt { display: block; }
    .td-header-menu-wrap.td-affix { width: calc(100% - 20px); }
    .td-header-style-1 .td-header-sp-logo { height: 230px; }
    /* footer */
    .td-main-content-wrap { overflow: hidden; }
    .footer-bottom-right-corner .content { float: none; text-align: center; }
    ul.footer-menu { padding-top: 150px; }
    .td-sub-footer-copy { line-height: 30px; }
    .td-pb-span6.footer-images { display: none; }
}

@media screen and (max-width: 540px) {
    .td-header-rec-wrap .right-part { display: none; }
    .td-header-style-1 .td-header-sp-logo a.td-main-logo { display: none; }
    .td-header-rec-wrap, .td-header-style-1 .td-header-sp-recs { width: 100%; height: 175px; }
    .td-header-rec-wrap h1.hero { margin-left: 0; font-size: 38px; margin-bottom: 10px; }
    .td-header-rec-wrap { height: auto; }
    .td-container.td-header-row.td-header-header { 
        background-position: top center;
        background-size: cover;
    }
    .td-header-rec-wrap .left-part { vertical-align: middle; text-align: center; }
    .artifacts-pagination { text-align: center; }
    .artifacts-pagination > a.page-numbers,
    .artifacts-pagination > span.page-numbers.current { padding: 0 20px 0 15px; font-size: 18px; }
    .artifacts-listing .td-pb-row { margin: 0; }
    .search-top, .search-home { padding: 0; }
    .td_module_16 .td-excerpt { display: block; }
    .td-header-menu-wrap.td-affix { width: calc(100% - 20px); }
    ul.footer-menu { padding: 150px 0 10px 0; }
    .td-header-rec-wrap span.gold { margin-left: 0; font-size: 22px; }
    .td-banner-wrap-full.td-logo-wrap-full.td-container {
        width: 100%;
        padding: 0;
    }
    .td-header-menu-wrap-full.td-container,
    .single_template_8 .td-header-wrap.td-header-style-1 {
        width: 100%;
        background: white !important;
    }
    .single_template_8 .td-header-wrap .td-container {
        width: 100%;
    }
    .td-container.td-header-row.td-header-header {
        display: block;
    }
}
@media screen and (max-width: 425px) {
    .rfbwp-shelf .rfbwp-shelf-book {
        margin: 10px;
        width: 80% !important;
        height: 250px !important;
    }
}
@media screen and (max-width: 1024px) {
    .fourty-years { display: none; }
}
@media screen and (max-width: 540px) {
    .td-wpml .td-header-sp-top-menu .td_data_time { display: none; }
}
#bwg_container1_0 {
    border: 1px solid #909090;
}
#bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_container_0 {
    right: -1px;
    border-left: 1px solid #909090;
}
#bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_left_0,
#bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_right_0 {
    width: calc(100% + 1px);
}
.td-footer-bottom-full-custom {
    padding: 25px 0 0 0;
    border-top: 1px solid #ddd;
}
.td-sub-footer-copy a {
    color: #000;
    font-weight: bold;
}
.td-sub-footer-copy a:hover {
    text-decoration: underline;
}
.td-header-sp-top-menu .td-block-missing-settings {
    float: left;
}
.td-header-wrap .td-drop-down-search {
    top: 50px;
}
.td-trending-now-wrapper {
    padding: 0 24px;
}
.td-trending-now-wrapper .td-next-prev-wrap {
    right: 24px;
}
