/*
Theme Name:     Newspaper 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:        9.0f
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/


/* custom css theme panel */

.td-slide-on-2-columns .td-doubleSlider-1 .td-slide-galery-figure {
    height: auto !important;
    max-height: 420px !important;
}

.post_td_gallery,
.td-gallery-slide-top,
.td-doubleSlider-2 {
    background-color: transparent !important;
}

.td-gallery-slide-top {
    color: #000 !important;
}

.td-doubleSlider-1 .td-slide-item .td-slide-caption {
    text-align: center !important;
}

.td-gallery-slide-copywrite {
    font-size: 15px !important;
    line-height: 1.2 !important;
    width: 100% !important;
    min-height: 45px !important;
}

.td-doubleSlider-1 .td-slide-item .td-slide-galery-figure img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
}

.td-slide-caption>span {
    display: none !important;
}

.mfp-title>div {
    display: none !important;
}


/* Customize Logo */

.td-header-style-1 .td-header-sp-logo {
    margin: 28px 9px 9px 0 !important;
    padding: 0 !important;
}

.td-header-style-1 .td-header-sp-logo img {
    margin: 0;
}

.vc_column_text h1 {
    margin-top: 0;
}


/* Customize Top Bar */

.td-header-wrap .td-header-top-menu-full,
.td-header-wrap .top-header-menu .sub-menu {
    line-height: 31px;
    background-color: #000 !important;
}

.td-header-top-menu-full,
.td-header-menu-wrap.td-header-gradien,
.td-header-menu-wrap-full,
.td-banner-wrap-full.td-logo-wrap-full {
    width: 100%;
    width: 100vw;
    max-width: 1164px !important;
    margin: 0 auto !important;
}

.body-td-affix .td-header-top-menu-full {
    position: fixed;
    right: 0;
    left: 0;
    margin: 0 !important;
    transform: translate(calc(calc(calc(100vw / 2) - 50%) - 8.5px), 0);
}

.td-header-menu-wrap.td-header-gradient.td-affix {
    top: 30px !important;
}

.top-header-menu>li>a {
    font-size: 13px;
    line-height: 31px !important;
}


/* Color Autosalong Genf 2016 in red */

.sf-menu>li.menu-item-1948>a {
    color: #bf0000;
}


/* Customize top menu */

.top-bar-style-2 .td-header-sp-top-menu {
    float: left !important;
    margin-left: 10px;
}

.top-header-menu>#menu-right a {
    font-size: 13px !important;
    font-weight: bold;
    line-height: 31px !important;
}

@media (min-width: 1180px) {
    .top-header-menu>#menu-right {
        position: absolute !important;
        top: 2px !important;
        right: 48px;
        text-align: right;
    }
    .top-header-menu>#menu-right>#shopping-cart {}
}

#menu-td-header-1 #menu-right {
    display: none;
}


/* Customize Footer */

.td-footer-wrapper {
    max-width: 1164px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 0;
}

h3.white {
    color: #fff;
}

.custom-footer {
    margin-top: 20px;
}

.custom-footer .widget,
.custom-footer .td-footer-info,
.custom-footer .footer-logo-wrap {
    margin-bottom: 10px;
}

.td-social-style-2 .td-social-icon-wrap {
    margin: 5px 23.5px 5px 0;
}


/* Customize Home */

.wpb_row,
.wpb_content_element {
    margin-bottom: 50px;
}

.page .vc_custom_1453911952825 {
    margin-bottom: 42px !important;
}

.page-id-2075 .vc_custom_1453911952825 {
    margin-bottom: 40px !important;
}

.home.page-id-392 .wpb_heading {
    margin-bottom: 27px !important;
}

.page img.vc_single_image-img.attachment-medium {
    width: auto;
    height: 385px;
}


/* Get rid of read more */

.home .td-read-more {
    display: none;
}


/* Hide meta info for products */

.product_meta {
    display: none;
}


/* Custom Tabs in shop (namespace-class: full-tab) */

@media (min-width: 1180px) {
    .vc_tta-container .vc_tta-tab {
        width: 33.333333%;
    }
    .vc_tta-container .full-tab.vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab>a {
        padding: 15px 81.63px 15px 45px !important;
    }
}


/* react to changed row count of products */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 30.75%;
}


/* Customize Brand Sidebar */

.wpb_wrapper .widget .block-title,
.wpb_wrapper .widget .block-title>span {
    border-color: #222;
    background-color: #222;
}

.widget.widget_tag_cloud {
    margin-top: 25px;
}


/* No border on iframe */

iframe {
    border: 0 !important;
}

html>body>.advads-track {
    display: none;
}

.dn {
    display: none !important;
}


/* custom responsive css from theme panel (Advanced CSS) */

@media (min-width: 1141px) {
    /* Sticky topbar */
    .td-banner-wrap-full {
        margin-top: 32px;
    }
    .td-header-menu-wrap.td-affix {
        top: 35px !important;
    }
    .admin-bar .td-header-menu-wrap.td-affix {
        top: 62px !important;
    }
    .body-td-affix.admin-bar .td-header-top-menu-full {
        top: 32px !important;
    }
    /*.td-content-wrap{
margin-top:75px;
}*/
    .td-banner-wrap-full {
        margin-top: 0;
    }
}


/* Change size and font of image subtitle */

body .wp-caption-text {
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    line-height: 16px;
    color: #222;
}

.td-single-image- a {
    height: 200px !important;
    background-size: contain !important;
}


/* Style catalogue */

.page-id-8675 .vc_column {
    width: 50%;
    flex: 1;
}


/* Style mein-abo */

.page-id-3137 .td-pb-row,
.page-id-8675 .td-pb-row,
.page-id-3138 .td-pb-row,
.page-id-3135 .td-pb-row,
.page-id-3123 .td-pb-row,
.page-id-3108 .td-pb-row,
.page-id-8679 .td-pb-row,
.page-id-9253 .td-pb-row,
.page-id-9250 .td-pb-row,
.page-id-9249 .td-pb-row,
.page-id-9243 .td-pb-row {
    display: flex;
}

.page-id-3137 .vc_column:first-child,
.page-id-3138 .vc_column:first-child,
.page-id-3135 .vc_column:first-child,
.page-id-3123 .vc_column:first-child,
.page-id-3108 .vc_column:first-child,
.page-id-8679 .vc_column:first-child,
.page-id-9253 .vc_column:first-child,
.page-id-9250 .vc_column:first-child,
.page-id-9249 .vc_column:first-child,
.page-id-9243 .vc_column:first-child {
    width: 33%;
    padding-left: 0;
}

.page-id-3137 .vc_column,
.page-id-3138 .vc_column,
.page-id-3135 .vc_column,
.page-id-3123 .vc_column,
.page-id-3108 .vc_column,
.page-id-8679 .vc_column,
.page-id-9253 .vc_column,
.page-id-9250 .vc_column,
.page-id-9249 .vc_column,
.page-id-9243 .vc_column {
    width: 65%;
    padding-left: 2%;
}

div.vc_custom_1455698519295 {
    background-color: #e0001a !important;
}

.td_module_6 {
    overflow: hidden;
    margin-bottom: 26px;
    padding-bottom: 0;
}

.td_module_2 .td-module-image .td-module-thumb {
    overflow: hidden;
    height: 160px;
}

.td-header-menu-wrap.td-affix {
    width: 1164px;
}


/* Milan's changes */

.wpb_single_image a,
.wpb_single_image img {
    width: auto !important;
    /* height: 200px !important; */
    background-size: contain !important;
    min-width: 320px !important;
}

.wpb_single_image.wpb_content_element h2 {
    display: none;
}

body.automobilrevue #menu-right #log-in-out-link a:before {
    content: '[DE]';
}

body.automobilrevue #menu-right #log-in-out-link:last-child a:before {
    content: '[FR]';
    font-weight: normal;
}

body.revueautomobile #menu-right #log-in-out-link a:before {
    content: '[DE]';
    font-weight: normal;
}

body.revueautomobile #menu-right #log-in-out-link:last-child a:before {
    content: '[FR]';
    font-weight: bold;
}

#menu-right #log-in-out-link a svg {
    display: none;
}

.td_block_template_1 .block-title {
    font-size: 16px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 26px;
    line-height: 31px;
    text-align: left;
    background: transparent;
    display: inline-block;
}

.td_block_template_1 .block-title span {
    background-color: #000;
    color: #fff;
    padding: 0 12px;
    position: relative;
}

.td_block_template_1 .block-title span::before {
    content: '';
    position: absolute;
    top: 150%;
    left: 10px;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #000 transparent transparent transparent;
}

body.home .smart-rider-video-inner .td_block_video_embed {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home .smart-rider-video-inner .wpb_video_wrapper,
body.home .smart-rider-video-inner .td_block_text_with_title {
    background: #000;
    margin-bottom: 0;
}

body.home .smart-rider-video-inner .td_block_text_with_title {
    padding: 10px;
}

body.home .smart-rider-video-inner .td_block_text_with_title p {
    margin-bottom: 0;
    color: #fff;
}
/* 
.levi-iframe, 
.desni-iframe {
    position: fixed;
    z-index: 1;
    top: 0;
    width: 50%;
    height: 100%;
}

.levi-iframe {
    left: 0;
}

.desni-iframe {
    right: 0;
}

.desni-iframe iframe {
    float: right;
    height: 100%;
}

.desni-iframe iframe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.linkwrap {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.blocker {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, .5);
}

.linkwrap iframe {
    z-index: 2;
}

.td-header-menu-wrap-full {
    max-width: 1060px !important;
} */

.desktop-only {
    display: none;
}
/* 
#td-outer-wrap {
    margin-right: 500px;
    z-index: 2;
    position: absolute;
    top: 0;
    padding: 0 20px;
    background: #fff;
} */

/* 
@media screen and (min-width: 1200px) {
    .td-container-wrap,
    .td-header-top-menu-full,
    .td-header-menu-wrap.td-header-gradien,
    .td-header-menu-wrap-full,
    .td-banner-wrap-full.td-logo-wrap-full {
        margin-left: 100px !important;
        max-width: 1264px !important;
    }
    #td-outer-wrap {
        max-width: 1364px;
    }
    .mobile-only {
        display: none !important;
    }
    .desktop-only {
        display: block;
    }
} */


/* 
.desni-iframe a {
    display: block;
    width: 100%;
    height: 100%;
    background: url('https://cdn.revueautomobile.ch/ar-images-production/2021/10/AV-SUISSE_VHS-Powerfuel_Automobil-Revue_Banner_160x600px_fr.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
} */

/* body.home .tdc-content-wrap> :first-child {
    display: none !important;
} */

#jplus-pilot {
    max-width: 1100px;
    margin: 0 auto 20px;
    /* display: none; */
}


.sidebar-td-ad-block {
    width: 324px;
    height: 648px;
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px !important;
}

.sidebar-td-ad-block iframe {
    width: 500px;
    height: 1000px;
    border: 0;
    transform: scale(0.65);
    transform-origin: 0 0;
}
