:root {
  --vbegruen: #76b725ff;
  --vbeblau: #093057ff;
  --vbegrau: #abb6c8ff;
  --vbehellgrau: #f5f5f5;
}

header, #content, #fuss > div {
    width:100%;
}

img.adressaten, img.location {
    float: left; 
    margin:-0.1em 0.8em 3em 0;
}
img.location {
    margin:-0.1em 1.3em 0 0.5em;
}

.nomargin {margin-left:0px;margin-right:0px;}

div.table { 
    display: table; 
    border-collapse:collapse; 
    width: 100%;
}
div.tr { 
    display:table-row; 
}
div.td {
    display:table-cell;
    padding:0px 3px;
}

.widthfix { width: 1.8em; }
    
div.kachel_doppelt {
    font-size:0.9em;
}

div.kachel_doppelt td.datum {
    vertical-align:top;
}

div.kachel_doppelt td.datum > div {
    width: 2em;
    padding: 0.2em;
    text-align: center;
    background-color: #F1F3F4;
    margin: 0em 0.4em;
}

div.kachel_doppelt > div.ktermin {
    width:85%;
    float: left;
    margin: 1.3em 0 0 0.8em;
}

div.typeos {
    background-color: #01A9DB;
}

div.type {
    background-color: grey;
}

div.type, div.typeos {
    color: white;
    font-weight:bold;
    text-align:center;
    font-size:11px;
    padding: 0.2em 0.2em 0.3em 0.2em;
}

div.typet {
    float:left; padding: 0.2em 0.5em 0.2em 0.5em; margin-right: 0.8em;
}

/*
div.tE {
    background-color:#EE1C25;
}

div.tM {
    background-color:#008C50;    
}

div.tW {
    background-color:#129EDA;    
}

div.tS {
    background-color:#818284;    
}

div.tLER {
    background-color:#FFCB06;    
}
*/

div.bw {
    background-color:#f00;
}

#panel, #flip {
    padding: 5px;
    text-align: center;
    background-color: #e5eecc;
    border: solid 1px #c3c3c3;
}

#panel {
    padding: 50px;
    display: none;
}
#hiddendiv{
    height:120px;
    width:120px;
    background-color:red;
}

.typeliste{
    width:3em;
    padding: 0.3em 0.2em 0.3em 0.2em;
    margin-right: 0.8em;
    float:left;
}

div.tl div.t {
    width: 3em;
    padding:2px 0px 0px 2px;
}

div.entf {
    float:right;
    text-align:right;
}

#menu li a:link, #menu li a:visited { text-decoration: none; color: #FFF;display:block; }

#menu li.active, #menu li a:hover  {
    color:  #7AC142; 
    background-color:#FFFFFF;
}

div.h1 { 
/*    border:1px solid green; */
    float:right;
    min-width:40%;
    margin-top:40px;
    color: #83B81A;background-color:white;
}

div.h1 h1 { font-size: 60px;font-family: Verdana,Arial,Helvetica,sans-serif; }


a.termine:link, a.termine:visited, a.termine:hover {font-family: Arial,sans-serif; color: #1C9048;text-decoration: none;}

/*pagination CSS*/

#container .pagination ul {
    margin-top: 0px;
    margin-bottom:0px;
}

#container .pagination ul li.inactive,
#container .pagination ul li.inactive:hover{
    background-color:#ededed;
    color:#bababa;
    border:1px solid #bababa;
    cursor: default;
}

#container .pagination ul li.cur{
    color:#fff;background-color:#7AC142;
}

#container .data ul li{
    list-style: none;
    font-family: verdana;
    margin: 0;
    color: #000;
    padding:0;
}

#container .pagination{
    padding-top:0.5rem;
    padding-bottom:0.5rem;
    margin-bottom:0.5rem;
    background-color:#FFFFFF;
    clear:both;
}

#container .pagination ul li{
    list-style: none;
    float: left;
    border: 1px solid #7AC142;
    padding: 5px 10px 3px 10px;
    margin: 0.5em;
    font-family: arial;
    font-size: 12px;
    color: #7AC142;
    font-weight: bold;
    background-color: #FFF;
}

#container .pagination ul li:hover{
    color: #FFF;
    background-color: #7AC142;
    cursor: pointer;
}

input.go_button {
    background-color:#f2f2f2;
    border:1px solid #7AC142;
    color:#cc0000;
    padding:2px 6px 2px 6px;
    cursor:pointer;
}

div.gotodiv {
    margin: 0.5rem 5px 0px 20px;
    float:right;
    width:80px;
    text-align:right;
}

span.total
{
    margin:0.4rem 0 0 1rem; float:left; font-family:arial; font-size:0.9em; color:#999;
}

div.tl i {
    font-weight:normal;
}

div.tl b {
    font-style: italic;
}

div.tl > div {
    display:flex;
    flex-wrap: wrap;
    width:100%;
}

div.tl > div > div {
    background-color:white;
    flex: 1 1 auto;
}

div.tl > div > div.t {
    flex: 0 0 3rem;
}

div.tl div.ttitel {
    order:10;
    flex: 1 1 100%;
    font-weight:bold;
    padding-left: 3.7rem;
    margin-bottom:3px;
}

div.tl div.tdatum {
    flex: 1 1 30%;
}

div.tl div.tort {
    flex: 1 1 40%;
}

#katziel, #vonbis {
    width:21rem;
/*    border:1px solid blue; */
    float:right;
    text-align:right;
}

@media (min-width: 44rem){

    #katziel, #vonbis {
/*        border-color:red;  */
        float:left;
        text-align:left;
    }
    #entfernung {
        clear:none;
    }
}

@media (min-width: 52rem){
    div.kacheln {
        display: -ms-grid;
        -ms-grid-columns: auto auto;
        -ms-grid-rows: auto auto auto;
        display: grid;
        grid-template-columns: auto auto;
    }

    div.kacheln > div.Bildungswerk {
        -ms-grid-row: 3; 
        -ms-grid-column: 2;
    }

    div.kacheln > div.Arnsberg {
        -ms-grid-row: 1; 
        -ms-grid-column: 1;
    }

    div.kacheln > div.Detmold {
        -ms-grid-row: 1; 
        -ms-grid-column: 2;
    }

    div.kacheln > div.Düsseldorf {
        -ms-grid-row: 2; 
        -ms-grid-column: 1;
    }

    div.kacheln > div.Köln {
        -ms-grid-row: 2; 
        -ms-grid-column: 2;
    }

    div.kacheln > div.Münster {
        -ms-grid-row: 3; 
        -ms-grid-column: 1;
    }

    div.kacheln > div.kachel_doppelt {
        margin-bottom:0px;
        margin: 5px;
    }

    div.tl {
        display:table;
        border-collapse:collapse;
        width:100%;
        padding: 0.8em;
        margin-top:4px;
    }

    div.tl div.ttitel {
        padding-left: 0.1rem;
    }

    div.tl div.tdatum {
        max-width: 13rem;
        width: 13rem;
    }

    div.tl > div {
        display:table-row; 
    }

    div.tl > div > div {
        display:table-cell;
        vertical-align: top;
        padding: 5px;
        border-bottom: 1px solid silver;
        padding-top: 0.8em;
    }

    div.tl div.t {
        padding:0.8em 5px 5px 5px;
    }

    div.schnellsuche, #container {
        margin:0px 5px;
    }
}

@media (min-width:85rem){
    header, #content, #fuss > div {
        width:75%;
        margin:auto;
        min-width:85rem;
    }
    #content {
        margin:1rem auto;
    }
}

/* aus changeit.css: */

.main {  font-family: Arial, Helvetica, sans-serif; font-size: 1em; line-height: 130%; color: #000000}
.klein {  font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 105%; color: #000000}
.ueberschrift { font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 140%; color: #000000 ; font-weight: bolder}
.sehrklein, div.zurueck { font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 100%; color: #000000 }
.mittel { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 130%; color: #000000 }
a:link { text-decoration:none; color:var(--vbegruen) }
a:active { text-decoration:none; color:var(--vbegruen) }
a:hover { text-decoration:none; color:var(--vbegruen) }
a:visited { text-decoration:none; color:var(--vbegruen) }
.inthedark { display:none; }

div.calender {margin:1em; float: left; background:#FFF; }
div.calender {border:1px solid black;padding-bottom:20px;} 
div.calender div.after,.calender div.before{color:silver;background:#FFF;} 

div.calender > div.day {float:left;text-align:center;background:#CCCCCC;} 
div.calender > div.day.headline {font-weight:bold;background:#FFFFFF;color:black;font-weight: bold;} 

div.calender > div.day.current, div.calender > div.day.current a.calendar_current:link {
    font-weight:bold;background:#2B23D2;color:white;
    text-decoration: none;
}

div.calender > div.day.event {font-weight:normal;color:white;} 
.clear {clear:both;}

a.calendar:link, a.calendar:visited { font-family: Arial,sans-serif;color: #2B23D2; text-decoration: none;}

a.calendar_current:link, a.calendar_current:visited, a.calendar_current:hover {
    font-family: Arial,sans-serif;font-size: 11px;color: black;
}

a.multi:link, a.multi:hover, a.multi:visited { color: #D2232B; }

#content {
    color:black;
    background-color:#E7ECEB;
    padding:1rem;
}

div.minical { width:196px; font-size: 11px; }
div.minical > div.day {  width:28px;height:20px;line-height:20px; }

div.bigcal { width: 21rem; }
div.bigcal > div.day { width: 3rem; height: 1.8rem; font-size: 1em; }

table.termin {
    clear:both;
    border-width:0px;
    border-collapse: separate;
    box-sizing: border-box;
    border-spacing:10px 10px;
}

table.termin th {
    text-align: left;
    vertical-align:top;
}

table.termin th, table.termin td {
    padding: 3px;
}

div.count {
    margin-bottom: 0.5rem;
}

div.schnellsuche select, div.schnellsuche input {
    margin: 0.25rem 0.1rem;
}

button.formbuttons, input.formbuttons {
    cursor:pointer;
}

