/*
Theme Name: Tri-Data Theem
Author: Tri-Data
Author URI: https://tridata.de/
Description: Tri-Data Theme,  a child theme for TT2.
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.6
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo-child
Template: twentytwentytwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two Child WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two Child is distributed under the terms of the GNU GPL.
*/

body {
    --wp--custom--spacing--outer: 0;
}

.td-header > div {
    margin: 0 !important;
}

.td-header nav > button {
    margin-left: auto;
    margin-right: 0;
}

.td-header-part {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #454545;
}

.td-main {
    margin-top: 0;
    position: relative;
}

.velofree-sticker {
    position: sticky;
    display: inline-block;
    top: 50%;
    z-index: 0;
    padding: 10px;
    width: auto;
    height: 50px;
    background: #E3000F;
    color: #fff;
    text-align: right;
    font-size: 0.8em;
    font-weight: bold;
}
.velofree-sticker a{
	color: #fff !important;
	text-decoration: none;
	
}

.velofree-sticker::after {

    position: absolute;
    background-image: url("/wp-content/themes/tdtheme/assets/images/velo-API-banner.svg");
    top: 0;
    left: -34px;
    -moz-transform: scaleY(-1) scaleX(-1);
    -o-transform: scaleY(-1) scaleX(-1);
    -webkit-transform: scaleY(-1) scaleX(-1);
    transform: scaleY(-1) scaleX(-1);
    -ms-filter: "FlipH FlipV";
    content: "";
    width: 70px;
    height: 100%;
    background-repeat: no-repeat;
    z-index: -1;

}

.velofree-sticker-container {
    display: none;
    position: absolute;
    top: 100px;
    text-align: right;
    right: 0;
    max-width: 100%;
    height: calc(100% + 180px);
    z-index: 9999;
}

@media (min-width: 992px) {
    .velofree-sticker-container {
        display: inline-block;
    }
}
.wp-block-image.aligncenter, .wp-block-image .aligncenter, .wp-block-image.alignleft, .wp-block-image .alignleft, .wp-block-image.alignright, .wp-block-image .alignright {
	display: block;
}