@charset "UTF-8";

/*
    BiN Diagonal 2027
    Stefan Onderka
    https://onderka.com
*/


@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/open-sans-v44-latin-800.woff2') format('woff2');
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 17px;
    font-weight: 300;
    overflow-x: hidden;
    color: white;
    background-color: #2C353C;
    line-height: 1.25;
}

a,
a:hover,
a:visited,
a:active {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #FFCC00;
    text-decoration-thickness: 2px;
    transition: all 0.3s ease;
}

a:hover {
    /* color: #FFCC00; */
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #ffffff;
}

.nav-link,
.nav-link:hover {
    text-decoration: none;
}

a.btn,
a.btn-primary {
    background-color: #FFCC00;
    color: #323232;
    border: 0;
}

a.btn:hover,
a.btn-primary:hover {
    background-color: #ffffff;
    color: #323232;
    border: 0;
}

ul {
    padding: 0;
    margin: 0 0 1em 2em;
}

blockquote {
    padding: 0;
    margin: 0 0 1em 2em;
}

button:focus {
    outline: none;
}

p {
    line-height: 1.25;
    hyphens: auto;
    margin: 0 0 1em 0;
}

.prev-next {
    margin-top: 2em;
}

.post-meta {
    padding: 0;
    margin: 0 0 12px 0;
    font-size: 75%;
}

.tm-logo { margin-right: 20px; }
.tm-slogan { font-size: 0.8rem; }

img {
    max-width: 100%;
}

b, strong {
    font-weight: 700;
}

/* Navigation */

ul.navbar-nav {
    margin: 0;
    line-height: 1.0;
}

.navbar-toggler {
    padding: 8px 15px;
    border: 0;
    border-radius: 0;
    transform: skewX(-15deg);
    background-color: rgba( 0, 0, 0, 0.66 );
    color: white;
}

.navbar-toggler i { transform: skewX(15deg); }

.navbar-expand-lg {
    padding-left: 0;
    padding-right: 0;
}

.navbar-expand-lg .navbar-nav .nav-link { padding: 0; }

.navbar-expand-lg .navbar-nav .tm-nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    padding-bottom: 30px;
}

.tm-nav-link {
    text-align: center;
}

.nav-item:before {
    position: relative;
    left: 45%;
    top: -10px;
    font-family: "FontAwesome";
    content: "\f078";
    color: #ffcc00;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
    padding: 0 4px;
    border: 0;
    line-height: 1.0;
}

.nav-item:last-child {
    margin-right: 0;
}

/* TNT Search */

.tntsearch-results em {
    font-style: normal;
    background-color: rgba(255, 255, 51, 0.5) !important;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 0 4px;
}

.tntsearch-form .form-input {
    padding: 8px;
    padding-inline-start: 8px !important;
}

.form-control:focus,
textarea:focus,
input:focus {
    border-bottom-color: #ffcc00;
}

.route {
    font-size: 75%;
    line-height: 1.0;
    width: 100%;
}

.center {
    text-align: center;
    align-items: center;
    display: block;
    float: center;
    margin: 0 auto;
    clear: both;
}

img .center {
    text-align: center;
    align-items: center;
    float: center;
    margin: 0 auto;
    width: 100%;
}

h2.post-title {
    width: 100%;
}

/* Buttons */

button {
    border: 0;
    background: transparent;
}

/* Fehlerseite */

.glitch {
    transform: rotate( 0deg );
    animation: glitch-rotate 2s infinite linear;
}

@-moz-keyframes glitch-rotate {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}

@-webkit-keyframes glitch-rotate {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

@keyframes glitch-rotate {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

/* Footer */

.bin-footer {
    border-top: 1px solid rgba( 255, 255, 255, 0.5 );
    margin-top: 1em;
    padding-top: 2em !important;
}

/* Steuerung Hintergrundbilder */

#bg-control {
    position: fixed;
    left: -10px;
    top: 150px;
}

#bg-control li {
    display: block;
    height: 12px;
    width: 12px;
    cursor: pointer;
}

.tm-bg-control-icon i {
    display: block;
    color: #fff;
    padding: 0 4px 4px 4px;
    margin: 8px 0;
    text-shadow: 0 0 20px rgba( 0, 0 ,0, 0.9 );
}

/* Bilder */

.tm-content img:not(.noborder) {
    border-radius: 10px;
    border: 3px solid #000;
    box-shadow: 0 0 20px rgba( 0, 0 ,0, 0.9 );
}

.noborder {
    border: 0;
    box-shadow: none;
}

.maxwidth25 {
    max-width: 25%;
}

.maxwidth33 {
    max-width: 33%;
}

.maxwidth50 {
    max-width: 50%;
}

.maxwidth75 {
    max-width: 75%;
}

.maxwidth100 {
    max-width: 100%;
}

/* Bilder-Galerie */

.image_gallery {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 49%;
    gap: 12px 4px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
}

.image_gallery_link {
    flex-grow: 0;
    max-width: 45%;
}

.gallery_image,
.post-content img,
.post-content p a img,
.container p a img,
.container p img {
    display: block;
    align-items: center;
    float: center;
    margin: 0 auto;
    clear: both;
    border-radius: 10px;
    border: 3px solid #000;
    box-shadow: 0 0 20px rgba( 0, 0 ,0, 0.9 );
}

figcaption {
    text-align: center;
    font-size: 75%;
    margin: 4px 0 0 0;
    background: #000;
    border-radius: 10px;
    border: 0;
    padding: 3px 0;
    box-shadow: 0 0 20px rgba( 0, 0 ,0, 0.9 );
}

.blue {
    color: #33CCFF;
}

.small {
    font-size: 74%;
}

/* Lightbox-Overrides */

.sl-close {
    color: #ff0000 !important;
}

.sl-counter {
    font-size: 1.5rem !important;
}

/* Page Background */

.tm-bg {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1000;
}

.tm-bg-left,
.tm-bg-right {
    position: relative;
    width: 50%;
    height: 100%;
}

.tm-bg-right {
    /* Rechts abgedunkelt */
    background-color: rgba( 0, 0, 0, 0.66 );
}

.tm-bg-left {
    /* Diagonale, halb abgedunkelt */
    border-right: 230px solid rgba( 0, 0, 0, 0.66 );
    border-top: 100vh solid transparent;
}

.tm-bg-controls-wrapper {
    display: inline-block;
    margin-left: -150px;
}

.tm-bg-control {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: rgba( 255, 255, 255, 0.5);
    margin: 6px;
    cursor: pointer;
    box-shadow: 3px 3px 4px rgba( 0, 0, 0, 0.5 );
}

.tm-bg-control.active,
.tm-bg-control:hover {
    background-color: #FFCC00;
}

.tm-container {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
}

.tm-row { display: flex; }

.tm-col-left {
    width: 50%;
    height: 100%;
    padding-left: 40px;  
    padding-right: 40px;
}

.tm-col-right {
    width: 50%;
    padding-left: 70px;
    padding-right: 70px;
}

.tm-content {
    max-width: 660px;
    margin-top: 50px;
    padding-right: 0px;
}

.tm-about { max-width: 525px; }

/*
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(255,255,255,.8);
    box-shadow: 0 0 1px rgba(255,255,255,.8);
}
*/

.tm-content-title {
    font-size: 2rem;
}

hr { border-top: 1px solid white; }

.btn {
    padding: 10px 25px;
    border-radius: 0;
    font-size: 1.0rem;
    line-height: 1;
}

.btn-big {
    padding: 9px 40px;
    font-size: 1.2rem;
}

.tm-site-footer {
    padding: 40px 0 20px;
    max-width: 660px;
    font-size: 0.95rem;
}

.tm-col-footer { padding-left: 0; }
.tm-text-link { color: white; }

/* Service */
.tm-service-text { max-width: 365px; }
.tm-service-img { margin-right: 25px; }
.tm-service-img-r { margin-left: 25px; }

/* Contact */
.form-control,
textarea {    
    color: white;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding: 10px 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.form-control:focus {
    color: white;
    background-color: transparent;    
    box-shadow: none;
    border-color: #ffcc00;
    outline: none;
}

.mb-85 { margin-bottom: 85px; }
.tm-contact-main { max-width: 690px; }

.tm-contact {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.form-control::-webkit-input-placeholder { color: white; } /* Edge */
.form-control:-ms-input-placeholder { color: white; } /* Internet Explorer 10-11 */
.form-control::placeholder { color: white; }

/* Custom & Branding */

h1,
h2,
h3,
h4,
h5 {
    margin-top: 1em;
    font-weight: 800;
}

.mb-5,
.my-5 {
    margin-bottom: 2rem !important;
}

#logo-l-t {
    width: 128px;
    height: 128px;
    margin-right: 12px;
    filter: drop-shadow( 3px 3px 4px rgba( 0, 0, 0, 0.5 ) );
}

.tm-sitename {
    padding: 0;
    margin: 0;
    line-height: 1.00;
    text-shadow: 3px 3px 4px rgba( 0, 0, 0, 0.5 ), -3px 3px 4px rgba( 0, 0, 0, 0.5 ), -3px -3px 4px rgba( 0, 0, 0, 0.5 ), 3px -3px 4px rgba( 0, 0, 0, 0.5 );
}

.tm-slogon {
    padding-left: 3px;
    text-shadow: 3px 3px 4px rgba( 0, 0, 0, 0.5 ), -3px 3px 4px rgba( 0, 0, 0, 0.5 ), -3px -3px 4px rgba( 0, 0, 0, 0.5 ), 3px -3px 4px rgba( 0, 0, 0, 0.5 );
}

@media (max-width: 1200px) {
    .nav-item {
        margin-right: 30px;
        border-bottom: 1px solid #646464;
    }

    .tm-page-right {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 992px) {
    .nav-item:before {
        display: none;
    }
    .tm-nav {
        position: absolute;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        top: 44px;
        right: 4px;
    }

    .navbar-expand-lg .navbar-nav .tm-nav-link {
        color: white;
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .nav-item { margin-right: 0; }

    .nav-item.active .tm-nav-link,
    .nav-item:hover .tm-nav-link {
        /* color: #9CC; */
    }

    .tm-content { margin-top: 20px; }
    .tm-site-footer { padding-top: 40px; }
    .tm-col-left { width: 40%; }

    .tm-col-right {
        width: 60%;
        padding-left: 100px;
        padding-right: 30px;
    }
    
    .tm-col-footer { padding-left: 0; }
}

@media (max-width: 768px) {
    .tm-row { flex-direction: column; }

    .tm-col-left,
    .tm-col-right,
    .tm-bg-left,
    .tm-bg-right {
        width: 100%;
    }

    #tm-main-nav {
        position: fixed;
        top: 50px;
        right: 40px;
        padding-bottom: 0;
    }  
    
    .tm-bg { flex-direction: column; }

    .tm-bg-left {
        height: 200px;
        /* Diagonale */
        border-bottom: 50px solid rgba( 0, 0, 0, 0.66 );
        border-right: 0;
        border-top: 0;
    }

    .tm-bg-right { 
        /* height: calc( 100% - 200px );  */
    }

    .tm-bg-controls-wrapper {
        margin-left: 0;
        margin-top: 50px;
    }

    .tm-content {
        max-height: none;
        margin-top: 40px;
    }

    .tm-col-right {
        padding-top: 40px;
        padding-left: 30px;
    }

    .tm-col-footer {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 460px) {
    .tm-logo { margin-right: 15px; }
    .tm-sitename { font-size: 1.8rem; }
    .tm-slogon { font-size: 0.8rem; }
}

@media (max-width: 450px), (min-width: 768px) and (max-width: 830px), (min-width: 993px) and (max-width: 1040px) {
    .tm-service-media { flex-direction: column; }
    .tm-service-media-img-l { flex-direction: column-reverse; }
    .tm-service-text { margin-top: 20px; }
    .tm-service-img { margin-right: 0; }
    .tm-service-img-r { margin-left: 0; }
}