﻿/*default-tags---------------------*/
html {
    height: 100%;
    position: relative;
    margin: 0px;
}

body {
    height: 100%;
    font-family: 'Source Sans Pro';
    font-size: 18px;
    color: black;
    background-size: cover;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

a {
    color: #157CC8;
    text-decoration: underline;
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

.tablenopadding td {
    padding: 0px 0px 0px 4px;
    margin: 0px;
}


.highlight {
    background-color: #ffff99;
}


.selectedlink {
    font-size: 28px;
    font-weight: normal !important;
}



.stategreen {
    background-color: #e8efdc;
    border-left: 5px solid #789546;
}

.stateyellow {
    background-color: #fff5cc;
    border-left: 5px solid #ffcc00
}

.statered {
}

/*menu----------------------------*/
#menu a {
    font-size: 36px;
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.headerlogo {
    padding: 6px;
    height: 35px;
    image-rendering: -webkit-optimize-contrast;
}

.headerbereich1 {
    z-index: 999;
    background-color: #366092;
    text-align: left;
    width: 100%;
    text-align: left;
    color: white;
    border-bottom: 1px solid #999999;
}

.headerbereich2 {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    box-shadow: 0 19px 38px rgba(0,0,0,0.0), 0 15px 12px rgba(0,0,0,0.22);
    z-index: 998;
    background-color: #366092;
    padding: 10px 0px 10px 0px;
    color: white;
}

#headline {
    text-transform: uppercase;
    font-size: 50px;
    padding-left: 10px;
    margin: 0px;
    font-weight: normal;
    line-height: 0.9;
    cursor:pointer;
}

#subtitle {
    font-size: 18px;
    padding-left: 10px;
    margin: 0px;
    font-weight: normal;
}

.headline {
    font-family: 'Source Sans Pro';
    font-size: 34px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 0px;
}

.headline2 {
    font-size: 22px;
    position: relative;
    top: -5px;
    color: #789546;
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: normal;
}

.headerpicture {
    margin-left: -10px;
    margin-right: -10px;
    margin-top: 55px;
}

.footerbereich {
    background-color: #e4e8de;
    float: left;
    width: 100%;
}
/* ----------------------- */

select.racelinkarchive {
    font-family: 'Source Sans Pro';
    font-size: 18px;
    border: 1px;
    outline: 1px;
    color: #157CC8;
    text-decoration: underline;
}

img.racelinkicon {
    position: relative;
    top: 2px;
}

.iconimage {
    float: left;
    margin-right: 30px;
    margin-top: 40px;
}

.infotext {
    text-align: left;
    width: calc(100% - 160px);
    float: left;
}

.infotitel {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
    color: #5a5a5a;
    text-align: left;
    margin-bottom: 20px;
}

.servicepic200 {
    max-width: 200px;
}

.servicepic300 {
    max-width: 300px;
}

.servicepic600 {
    max-width: 600px;
}


.maintitel {
    font-family: Catamaran, sans-serif;
    font-style: italiC;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #76923c;
    padding: 8px;
    margin-top: 30px;
    text-align: center;
}

.tmbutton {
    border-radius: 8px;
    padding: 10px;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    margin: 3px 0;
    line-height: 1.2em;
    position: relative;
    font-weight: bold;
    text-align: center;
    max-width: 100%;
    background-color: #789546;
    color: #FFFFFF;
}

/*  ------------ */

.arrow_box {
    position: relative;
    background: #76923c;
    margin-top: 40px;
    margin-bottom: 80px;
    margin-left: -10px;
    margin-right: -10px;
}

    .arrow_box:after {
        top: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .arrow_box:after {
        border-top-color: #76923c;
        border-width: 30px;
        margin-left: -30px;
    }

.space {
    padding: 40px;
    clear: both;
}
/*---------------------------- */
a.fancybox img {
    border: 1px solid #BBB;
    border-radius: 16px;
    -o-transform: scale(1,1);
    -ms-transform: scale(1,1);
    -moz-transform: scale(1,1);
    -webkit-transform: scale(1,1);
    transform: scale(1,1);
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

a.fancyboxNB img {
    border: 0px;
}

a.fancybox:hover img {
    position: relative;
    z-index: 999;
    -o-transform: scale(1.03,1.03);
    -ms-transform: scale(1.03,1.03);
    -moz-transform: scale(1.03,1.03);
    -webkit-transform: scale(1.03,1.03);
    transform: scale(1.03,1.03);
}

.serviceBox {
    position: relative;
    width: 250px;
    padding: 20px;
    float: left;
    margin: 10px;
}

.serviceIcon {
    height: 70px;
    margin-bottom: 15px;
}

.serviceIconText {
    height: 100px;
    margin-bottom: 15px;
}

.serviceTitle {
    font-weight: bold;
    margin-bottom: 15px;
}

.serviceLink {
    background: url(favicon.ico);
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 20px;
}

.serviceTextColum {
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
}


/*---------------------------- */
.box {
    position: relative;
    border: 1px solid #BBB;
    background: #EEE;
    padding: 20px;
    float: left;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

    .ribbon span {
        font-size: 10px;
        font-weight: bold;
        color: #FFF;
        text-transform: uppercase;
        text-align: center;
        line-height: 20px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        width: 100px;
        display: block;
        background: #79A70A;
        background: linear-gradient(#9BC90D 0%, #79A70A 100%);
        box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
        position: absolute;
        top: 19px;
        right: -21px;
    }

        .ribbon span::before {
            content: "";
            position: absolute;
            left: 0px;
            top: 100%;
            z-index: -1;
            border-left: 3px solid #79A70A;
            border-right: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #79A70A;
        }

        .ribbon span::after {
            content: "";
            position: absolute;
            right: 0px;
            top: 100%;
            z-index: -1;
            border-left: 3px solid transparent;
            border-right: 3px solid #79A70A;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #79A70A;
        }



.hrdivider {
    margin: 40px 0px 40px 0px;
    border: 0;
    height: 2px;
    background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

/*cards----------------------------*/
.card-1 {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.card-2 {
    border-radius: 2px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card-3 {
    border-radius: 2px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.card-4 {
    border-radius: 2px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.card-5 {
    border-radius: 2px;
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}


/*tooltip--------------------*/
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        background-color: #e6e6e6;
        color: black;
        text-align: center;
        border-radius: 4px;
        border: 1px solid grey;
        padding: 5px;
        position: absolute;
        left: -150px;
        top: 10px;
        z-index: 1;
        font-size: 12px;
        font-weight: normal;
        font-style: normal;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }


/*fonts---------------------*/
.defaulttext {
    font-family: 'Source Sans Pro';
    font-size: 18px;
    color: black;
}

.mydefaultfont {
    font-family: 'Source Sans Pro';
}

.fontsize36 {
    font-size: 36px;
}

.fontsize26 {
    font-size: 26px;
}

.fontsize18 {
    font-size: 18px;
}

.fontsize14 {
    font-size: 14px;
}

.fontsize12 {
    font-size: 12px;
}

.fontsize10 {
    font-size: 10px;
}

.fontsize8 {
    font-size: 8px;
}

.fontbold {
    font-weight: bold;
}

.fontupper {
    text-transform: uppercase;
}



/*links---------------------*/
.mydefaultlink {
    font-family: 'Source Sans Pro';
    font-size: 18px;
    color: #157CC8;
}

.linkdetail {
    /*font-size: 18px;*/
    color: #157CC8;
    text-decoration: underline;
    cursor: pointer;
}

.gotolink {
    font-size: 14px;
    color: #157CC8;
    text-decoration: underline;
    cursor: pointer;
    margin-right: 2px;
    white-space: nowrap;
}

.gototitle {
    font-size: 14px;
    margin-right: 4px;
    white-space: nowrap;
}


/*size---------------------*/
.minheight500 {
    min-height: 500px;
}

.width100pc {
    width: 100%;
}

.width20 {
    width: 20px;
}

.height100pc {
    height: 100%;
}

.height100pc-100 {
    height: calc(100% - 100px);
}






/*alignments---------------------*/
.halignleft {
    text-align: left;
}

.halignright {
    text-align: right;
}

.haligncenter {
    text-align: center;
}

.valignmiddle {
    vertical-align: middle;
}

.valigntop {
    vertical-align: top;
}


/*alignments---------------------*/
.pagerlink {
    font-size: 18px;
}

.pagerlinkselected {
    font-weight: bold;
    font-size: 18px;
}

#pager {
    margin-top: 10px;
    padding-left: 0px;
    font-size: 12px;
}




/*tables---------------------*/
.bordercollapse {
    border-collapse: collapse;
}






/*colors---------------------*/
.bgtmblue {
    background-color: #366092;
}

.bgwhite {
    background-color: white;
}

.bggrey {
    background-color: grey;
}

.bglightgrey {
    background-color: lightgrey;
}

.bglightgrey2 {
    background-color: #f2f2f2;
}

.white {
    color: white;
}

.black {
    color: black;
}

.grey {
    color: grey;
}



/*dividers---------------------*/
.divider {
    margin: 0 auto 0 auto;
    width: 100px;
    height: 50px;
}

.divcenter {
    margin: 0 auto 0 auto;
}

.nowrap {
    white-space: nowrap;
}





/*paddings---------------------*/
.padding0 {
    padding: 0px;
}

.padding2 {
    padding: 2px;
}

.padding4 {
    padding: 4px;
}

.padding6 {
    padding: 6px;
}

.padding8 {
    padding: 8px;
}

.padding10 {
    padding: 10px;
}

.paddingtop5 {
    padding-top: 5px;
}

.paddingtop10 {
    padding-top: 10px;
}

.paddingtop20 {
    padding-top: 20px;
}

.paddingtop50 {
    padding-top: 50px;
}

.paddingbottom20 {
    padding-bottom: 20px;
}

.paddingleft20 {
    padding-left: 20px;
}

.paddingright10 {
    padding-right: 10px;
}


/*margins---------------------*/
.margintop100 {
    margin-top: 100px;
}

.margintop50 {
    margin-top: 50px;
}

.margintop20 {
    margin-top: 20px;
}

.marginbottom20 {
    margin-bottom: 20px;
}

.margin0auto {
    margin: 0 auto;
}


/*borders---------------------*/
.borderbottomgrey {
    border-bottom: 1px solid grey;
}

.borderbottomlightgrey {
    border-bottom: 1px solid lightgrey;
}

.bordertoplightgrey {
    border-top: 1px solid lightgrey;
}

/*links---------------------*/
.pointer {
    cursor: pointer;
}



/*menu---------------------*/
#menu {
    position: fixed;
    top: 0px;
    width: 200px;
}

/*imagepopup---------------------*/
#imagepopup {
    position: absolute;
    top: 0px;
}

/*visibility---------------------*/
.displaynone {
    display: none;
}


/*elements---------------------*/
.searchandfilterinput {
    background-color: white;
    border: 1px solid lightgrey;
    font-size: 18px;
    width: 250px;
    padding: 10px;
    box-sizing: content-box;
    background-color: white;
    border-radius: 0px;
}

#searchpanel {
    background-color: #e6e6e6;
    padding: 10px;
}

.searchpanel2 {
    background-color: #e6e6e6;
    padding: 10px;
    margin: 20px 0px 20px 0px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.searchhelptext2 {
    font-size: 14px;
}

#buttonsearch {
    border: 1px solid grey;
    font-size: 18px;
    height: 35px;
}


/*defaulttable---------------------*/
.defaulttable table {
    border-collapse: collapse;
}

.defaulttable td {
    border-bottom: 1px solid lightgray;
    padding: 2px 5px 2px 5px;
    vertical-align: top;
}

.defaulttable th {
    border-bottom: 1px solid lightgray;
    padding: 2px 5px 2px 5px;
    vertical-align: top;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.defaulttable tr:hover {
    background-color: lightgray;
    cursor: default;
}

.defaulttable tr:last-child td {
    border-bottom: 1px solid transparent;
}

.nohover {
    background-color: transparent !important;
}




/*body-width---------------*/
body {
    width: 100%;
    margin: 0px auto;
}

@media all and (min-width: 800px) {
    body {
        width: 800px;
    }
}

@media all and (min-width: 900px) {
    body {
        width: 90%;
        max-width: 1000px;
    }
}



/*popup*/
#popup {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #DDDDDD;
    border: 1px solid lightgray;
    display: none;
    overflow: auto;
}

#popup2 {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #DDDDDD;
    border: 1px solid lightgray;
    display: none;
    overflow: auto;
}


#popupheader {
    width: 100%;
    background-color: #366092;
    color: white;
}

#popuptitle {
    font-size: 30px;
    font-weight: bold;
    /*padding: 10px 0px 10px 0px;*/
}

#popupclose {
    text-align: right;
    padding: 10px 10px 10px 0px;
    text-decoration: underline;
    cursor: pointer;
}

#popupdata {
    padding: 10px;
}

/* Andere Screen grössen */

/*popup-size*/
@media all and (min-width: 500px) {
    #popup {
        width: 500px;
        left: 50%;
        margin-left: -250px;
    }
}

@media all and (min-height: 850px) {
    #popup {
        height: 850px;
        top: 50%;
        margin-top: -425px;
    }
}

/*popup2-size*/
@media all and (min-width: 800px) {
    #popup2 {
        max-width: 800px;
        left: 50%;
        margin-left: -400px;
    }
}

@media all and (min-height: 950px) {
    #popup2 {
        height: 950px;
        top: 50%;
        margin-top: -475px;
    }
}

@media all and (max-width: 630px) {
    .searchandfilterinput {
        width: calc(100% - 20px);
    }
}


/*responsive-columns*/
.responsive2columns {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
}

.avoidcolumn {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

@media screen and (min-width: 660px) {
    .responsive2columns {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
    }
}

@media screen and (max-width: 660px) {
    .serviceTextColum {
        column-count: 1;
        -moz-column-count: 1;
        -webkit-column-count: 1;
    }


    .umbruch {
        break-after: avoid;
        break-before: avoid;
    }
}

@media screen and (max-width: 480px) {
    .infotext {
        width: 100%;
        min-width: 0px;
    }

    .headerpicture {
        display: none;
    }

    .umbruch {
        break-after: avoid;
        break-before: avoid;
    }


    .iconimage {
        float: none;
        margin-top: 5px;
        text-align: center;
    }

    .infotitel {
        text-align: center;
    }

    .servicepic200 {
        max-width: 100%;
    }

    .servicepic300 {
        max-width: 100%;
    }

    .servicepic600 {
        max-width: 100%;
    }

    .serviceIcon {
        height: 50px;
    }

    .serviceIconText {
        visibility: none;
    }
}












/*EVENT-INFO NEU*/
.tmxx-event {
    background-color: #f2f2f2;
    margin: 0px 0px 20px 0px;
    min-height: 105px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-left: 5px solid #366092;
    font-size: 18px;
}

.tmxx-event-image {
    width: 150px;
    height: 105px;
    object-fit: cover;
    object-position: 50% 40%;
    display: block;
    float: left;
    padding-left: 5px;
}

.tmxx-event-info {
    display: inline-block;
    padding: 0px 5px 10px 10px;
}

.tmxx-event-name {
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.tmxx-event-city {
    font-size: 16px;
}

.tmxx-event-date {
    font-size: 16px;
}

.tmxx-event-icons {
    display: inline-block;
    position: relative;
    top: 4px;
}

.tmxx-event-icon {
}

.tmxx-event-links {
}

.tmxx-event-link {
    padding-right: 8px;
}



.tmxx-event-lb-upcoming {
    border-left: 5px solid darkseagreen;
}

.tmxx-event-lb-current {
    border-left: 5px solid gold;
}

.tmxx-event-lb-past {
    border-left: 5px solid dodgerblue;
}

.tmxx-event-lb-cancelled {
    border-left: 5px solid lightcoral;
}


.tmxx-event-color-upcoming {
    color: darkseagreen;
}

.tmxx-event-color-current {
    color: gold;
}

.tmxx-event-color-past {
    color: dodgerblue;
}

.tmxx-event-color-cancelled {
    color: lightcoral;
}


.tmxx-event-legende {
    font-size: 12px;
    display: inline-block;
    padding-right: 10px;
    padding-left: 2px;
}

@media screen and (max-width: 600px) {
    .tmxx-event-image {
        width: calc(100% - 5px);
    }

    .tmxx-event-info {
        padding-top: 10px;
    }
}


/*HEADER RESPONSIVE*/
@media screen and (max-width: 1000px) {
    #headline {
        font-size: 45px;
    }
}

@media screen and (max-width: 900px) {
    #headline {
        font-size: 45px;
    }
}

@media screen and (max-width: 800px) {
    #headline {
        font-size: 38px;
    }
}

@media screen and (max-width: 700px) {
    #headline {
        font-size: 33px;
    }
}


@media screen and (max-width: 600px) {
    #headline {
        font-size: 28px;
    }

    .headerlogo {
        height: 25px;
        padding: 4px 2px 2px 6px;
    }

    #imenu {
        height: 35px;
		position:relative;
		top:3px;
    }
}


/*POPUPMODAL*/
/* The Modal (background) */
#popupmodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content/Box */
#popupmodalcontainer {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width:800px;
}

/* The Close Button */
#popupmodalclose {
    color: #aaa;
    float: right;
    font-size: 50px;
    font-weight: bold;
    position:relative;
    top:-20px;
}

    #popupmodalclose:hover,
    #popupmodalclose:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }