/*
Theme Name: VQ Basis
Theme URI: https://btsa.de/wp_themes/vq_basis
Author: BTSA
Author URI: http://btsa.de/
Description: Voland & Quist Basic Theme
Version: 2.1.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: translation-ready
Text Domain: vq_basis
*/

html {
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}
.screen-reader-text
{
    display: none;
}

p {
    hyphens: auto;
}

blockquote {
    margin: 2em 0;
}
blockquote p
{
    margin-bottom: .5em;
    font-style: italic;
}
blockquote cite 
{
    font-style: normal;
}
figcaption 
{
    font-size: .8em;
    padding: .5em 1em;
}

#page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#global-search {
    background-color: rgba(0,0,0,.05);
}

#global-search form {
    justify-content: center;
}

#global-search .form-group {
    margin-bottom: 0;
}

.navbar-brand img {
    max-height: 1.2em;
    width: auto;
}
.navbar-brand .page-name {
    font-size: inherit;
}



.widget-area .widget-container {
    padding: .5em 0;
}
.widget-area ul {
    list-style: none;  
    padding: 0;
    margin-bottom: 0;
}
.widget_recent_entries li {
    margin: 1em auto;
}
.widget_recent_entries .post-date {
    display: block;
    font-size: .85em;
}

.widgets-flex {
    justify-content: center;
}

.form-newsletter {
    max-width: 90%;
    width: 320px;
    margin: 0 auto;
}
.mc4wp-response {
    margin: 1em;
}

#page-main {
    flex-grow: 2;
}

#page-footer {
    font-size: .8rem;
}
#page-footer .menu-item a {
    color: inherit;
}
#page-footer .social-icon {
    font-size: 1.2rem;
}
#page-footer .widget-title {
    font-size: 1.2rem;
}
#page-footer #menu-social-media-links .menu-item {
    display: inline-block;
}

/* SINGLE ENTRY  */

.single-post article header {
    text-align: center;
    margin: 2em 0;
}
.single-post article .wp-post-image {
    margin: 0 auto;
    display: block;
}
.single-post article figure.wp-block-image {
    background-color: rgba(0,0,0,.05);
}
.single-post article figcaption {
    background-color: rgba(255,255,255,.6);
    font-size: .75em;
    line-height: 1.2;
    margin: 0;
}
.single-post article figcaption:empty {
    background: transparent;
}

.page-template-pagetemplate-fw article > :not(.content-filter) {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1140px;
}

.content-filter {
    padding: 1rem 15px;
    margin-bottom: 1.5rem;
}
.content-filter .nav-pills .nav-item {
    padding: 1px
}
.content-filter .nav-pills .nav-item .nav-link:not(.active) {
    background-color: rgba(255,255,255,.7);
    color: inherit;
}

.entry-header {
    text-align: center;
}

.entry-title a {
    color: inherit;
}
.entry-header .entry-title {
    margin-bottom: 1em;
}

.entry-header .featured-media {
    margin-top: 2em;
    margin-bottom: 2em;
}

article > section {
    padding-top: 3em;
    padding-bottom: 3em;
}
.entry-content > * {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25em;
}
.entry-content  iframe {
    max-width: 100%;
}
.entry-content > iframe {
    display: block;
    width: 100%;
}
.entry-content iframe[src*='youtube'] {

}
.entry-content p a
{
    color: inherit;
    text-decoration: underline;
}

@media ( min-width: 768px ) {
    .entry-content {
        font-size: 1.25rem;
    }
    form {
        font-size: 1rem;
    }

    .w-slim,
    .entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
        max-width: 46rem;
        width: calc(100% - 4rem);
    
    }
}

/* tabbed content */

section.tabbed {
    padding-top: 0;
    padding-bottom: 0;
}

section.tabbed .tab-navi .nav-link {
    color: inherit;
}

section.tabbed .tab-navi .nav-link.active,
section.tabbed .tab-content
{
    background-color: rgba(255,255,255,0.4);
}

/* POSTS LIST */

.posts-list > article {
    margin-top: 1em;
    margin-bottom: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
}
.posts-list > article .wp-post-image {
    width: 100%;
}

/* POSTS GRID */

.posts-grid { 
    padding: 0;
}
.posts-grid .grid-item {
    /* background-color: #fff; */
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    padding: 0;
}
.grid-item article {
    display: block;
    position: relative;
}
.portrait-grid .grid-item article {
    background-color: #ccc;
}
.posts-grid .grid-item .wp-post-image {
    width: 100%;
    height: auto;
}
.grid-item.card .wp-post-image {
    mix-blend-mode: multiply;
    /* filter: grayscale(100%); */
}
.grid-item.card .wp-post-image.placeholder {
    padding-top: 100%;
}
.card-columns .card-body {
    break-inside: avoid;
}

.grid-item.card .entry-title{
    /* 
    background: rgba(0,0,0,0.7);
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    */
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    font-size: .8em;;
    letter-spacing: .1em;
    font-weight: 400;
    line-height: 1.1em;
    padding: 1.5em 1em;
    text-align: center;
    /*
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
    */
    color: #fff;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.posts-grid .grid-item:hover  .wp-post-image,
.posts-grid .grid-item.current-post .wp-post-image
{
    mix-blend-mode: normal;
}

.card.grid-item {
    border: none;
}

.card-bordered {
    border: 1em solid rgba(255,255,255,.5);
}

/*
.card-columns {
    -moz-column-gap: 15px;
    column-gap: 15px;
}
.card-columns .card {
    margin-bottom: 15px;
}
*/

.masonry-columns .grid-item{
    margin-bottom: 1vw;
}
.masonry-columns .gutter-sizer{
    width: 1vw;
}


/***** Image Grid ******/

.img-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    list-style: none;
    padding: 0 5px;
}
.img-grid > .grid-item, 
.img-grid > .placeholder 
{
    margin: 0 5px 10px 5px;
}
.img-grid > .grid-item {
    position: relative;
    overflow: hidden;
}

.img-grid > .grid-item > a {
    display: block;
    cursor: pointer;
    color: inherit;
}

.img-grid > .grid-item > img {
    position: absolute;
    vertical-align: bottom;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-grid > .placeholder
{
    flex-grow: 1000;
    flex-basis: 240px;
    height: auto;
    margin-bottom: 0;
}

.img-grid > .grid-item .post-meta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2em;
    background: #fff;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    opacity: 0;
}

.img-grid > .grid-item .post-meta >:first-child {
    margin-top: 0;
}

.img-grid > .grid-item a:hover .post-meta,
.img-grid > .grid-item a.active .post-meta
{
    opacity: 1;
}

/* post-navigation */

.posts-navigation .nav-links,
.post-navigation .nav-links 
{
    display: flex;
}
.posts-navigation .nav-links >*,
.post-navigation .nav-links >* 
{
    flex-grow: 1;
    padding: .5em 1em;
}
.posts-navigation .nav-links .nav-next,
.post-navigation .nav-links .nav-next 
{
    text-align: right;
}
.posts-navigation .nav-links a,
.post-navigation .nav-links a 
{
    color: inherit;
}

/* wp_pub_base */

.bw_mult,
.wp_pub_base_author .entry-header .featured-media img{
    filter: grayscale(100%) contrast(90%) brightness(120%);
    mix-blend-mode: multiply;
    width: auto;
}
.wp_pub_base_author .entry-header .featured-media img{
    max-height: 60vh;
}

.wp_pub_base_author .wp_pub_base_work .wp-post-image
{
    width: 100%;
}


.work-cover .wp-post-image {
    box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.2), 
                0 4px 25px 0px rgba(0, 0, 0, 0.12), 
                0 8px 10px -5px rgba(0, 0, 0, 0.2)
    ;
}

.wp_pub_base_work .work-editions a {
    color: inherit;
}

.wp_pub_base_work .entry-header .wp-post-image {
    width: 50%;
    max-width: 300px;
    margin: 1.3em auto;
}

.wp_pub_base_work .entry-main .wp-post-image {
    display: block;
    width: 50%;
    max-width: 300px;
    margin: 1.3em auto 3rem auto;
}
.wp_pub_base_work .work-author:not(:last-child):after
{
    content: ',';
}
.wp_pub_base_work .work-products .product-grid .list-group-item article {
    position: relative;
    padding-bottom: 2.5rem;
    height: 100%;
}
.wp_pub_base_work .work-products .list-group-item .btn-block:not(.btn-cart){
    margin-top: .25rem;
}

.wp_pub_base_work .work-products .product-grid .list-group-item .btn-cart 
{
    position: absolute;
    bottom: 0;
    left: 0;
}
.wp_pub_base_work .work-products .list-group-item .entry-header 
{
    font-weight: 600;
    font-size: .875rem;
    text-align: left;
    line-height: 1em;
    margin-bottom: .3em;
}
.wp_pub_base_work .wp_pub_base_product .entry-title
{
    display: none;
}
.wp_pub_base_work .wp_pub_base_product .product-excerpt
{
    line-height: 1.1em;
    opacity: .8;
}
.posts-list .work-products .product-description {
    display: none;
}
.work-products .list-group-item {
    /*
    background-color: rgba(255,255,255,.7);
    border: none;
    */
    background: rgba(0,0,0,0.05);
    border-color: transparent;
    margin-bottom: 1px;
    margin-left: 1px;
    padding: 1em;
}


#frontpage-sidebar .widget-area .widget-container {
    padding: 0 0;
}
#frontpage-sidebar .widget-area a:hover {
    text-decoration: none;
}

#frontpage-sidebar,
.wppb_featured_works_list {
    text-align: center;
}

#frontpage-sidebar .widget-area .wp_pub_base_featured_widget {
    padding: 0;
}

#blog-sidebar a {
    color: inherit;
}


.dropdown-cart {
    width: 320px;
    max-width: 100vw;
}
.dropdown-cart .dropdown-item{
    white-space: initial;
}

.paypal-checkout {
    width: 300px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.cart-fs .work-cover {
	max-width: 5em;
}

.issuuembed {width: 100% !important;}



/* vam cal */

/* VAM SHOWS LIST */
 
    .vam_shows_list.calendar_inline {
        display: block;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show {
        display: block;
        background-color: rgba(255,255,255, .5);
        margin-bottom: 1em;
        padding: 10px 15px;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show:hover {
        background-color: rgba(255,255,255, 1);
    }
    
    .vam_shows_list.calendar_inline .vam_kalender_show >*
    {
        display: block;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_acts, 
    .vam_shows_list.calendar_inline .vam_kalender_show .date,
    .vam_shows_list.calendar_inline .vam_kalender_show .place,
    .vam_shows_list.calendar_inline .vam_kalender_show .ticketlink
    {
        font-weight: 700;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_act:not(:last-child):after
    {
        content: ', ';
    }
    
    .vam_show_work img {
        margin: .5em 0;
        box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.2), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
    }
 
/* SM */

@media ( min-width: 576px ) {
    .wp_pub_base_work .work-products .product-grid .list-group-item
    {
        flex: 0 0 300px;
    }
    
    .masonry-columns .grid-item {
        width: 49.5%;
    }


}


/* MD */
@media ( min-width: 768px ) {
    .vam_shows_list.calendar_inline {
        display: table;
        width: 100%;
        padding-left: 0;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show {
        display: table-row;
        padding-bottom: 0;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show >*
    {
        border-top: 3px solid #fef1f8;
        display: table-cell;
        padding: .75rem;
        vertical-align: top;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show:first-child >*
    {
        border-top: none;
    }
    
    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_acts > *,
    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_place_venue > *
    {
        display: block;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_act:not(:last-child):after
    {
        content: '';
    }

    .vam_show_work img {
        max-width: initial;
        width: auto;
        max-height: 4em;
        margin: 0;
    }

    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_time,
    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_datetime
    {
        text-align: right;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_datetime >*
    {
        display: block;
    }
    .vam_shows_list.calendar_inline .vam_kalender_show .vam_show_tickets
    {
        text-align:right;
    }


    .wppb_featured_works_list .wp_pub_base_work .entry-header .wp-post-image {
        width: 100%;
    }
    .wppb_featured_works_list .wp_pub_base_work:nth-child(even) .entry-header {
        order: 2;
    }
}


@media ( max-width: 991.9px ) {
    #page-header .nav-cart .dropdown-menu {
        position: absolute;
    }
    #page-header .nav-cart-empty {
        width: 56px;
        height: 40px;
        display: block;
    }
    #page-header .navbar-toggler {
        order: -1;
    }
    #page-header .navbar-collapse {
        order: 4;
        text-align: center;
    }
    #page-header .navbar-brand {
        flex-grow: 5;
        text-align: center;
        margin-right: 0;
    }
    .posts-list .wp_pub_base_work .work-products .list-group {
        flex-direction: row;
        flex-wrap: wrap !important;
        margin-top: .5em;
        margin-bottom: 1em;
    }
    .posts-list .wp_pub_base_work .work-products .list-group-item
    {
        flex: 1 0 220px;
    }
}
@media ( min-width: 992px ) {
    html {
        font-size: 18px;
    }

    body.home .navbar-expand-lg > .container, 
    body.home .navbar-expand-lg > .container-fluid, 
    body.home .navbar-expand-lg > .container-lg, 
    body.home .navbar-expand-lg > .container-md, 
    body.home .navbar-expand-lg > .container-sm, 
    body.home .navbar-expand-lg > .container-xl 
    {
        flex-wrap: wrap;
        justify-content: center;
    }
    body.home .navbar-brand {
        flex-basis: 100%;
        width: 100%;
        display: block;
        margin-right: 0;
        text-align: center;
        font-size: 2em;
        padding: 3em 0;
    }
    body.home .navbar-collapse {
        flex-grow: 0;
    }
    body.home .navbar-brand img {
        max-height: 1.55em;
    }

    .text-lg-big {
        font-size: 1.25em;
    }
    
    #page-footer .menu-item {
        display: inline-block;
        margin-right: 8px;
    }
    
    .masonry-columns .grid-item {
        width: 24.25%;
    }
}


@media ( min-width: 1480px ) {
    
    .wp_pub_base_work .entry-main {
        display:flex;
        justify-content: center;
    }
    .wp_pub_base_work .entry-main .wp-post-image {
        margin: 0 auto 3rem auto;
        width: 65%;
    }
    .wp_pub_base_work .entry-main > .info {
        flex: 0 0 50rem;
    }
    .wp_pub_base_work .entry-main > :first-child,
    .wp_pub_base_work .entry-main > :last-child
    {
        flex-grow: 2;
        flex-basis: 300px;
    }
    .wp_pub_base_work .work-products .product-grid .list-group-item article {
        padding-bottom: 0;
    }
    .wp_pub_base_work .work-products .product-grid .list-group-item .btn-cart {
        position: relative;
    }

}




/* VQ custom styles */

.wp_pub_base_work.wp_pub_base_work_tag-neuerscheinungen .col-img 
{
    position: relative;
}

.wp_pub_base_work.wp_pub_base_work_tag-neuerscheinungen > .row > .work-cover ::before {
    content: 'NEU';
    position: absolute;
    display: block;
    top: 1em;
    left: 10px;
    font-size: .8em;
    letter-spacing: .1em;
    font-weight: 700;
    line-height: 1em;
    color: #000;
    background-color: #fff;
    padding: .2em .35em;
    box-shadow: 1px 1px 4px -2px rgba(0, 0, 0, 0.4);
}

