/* Buttons */


a.button.nav, a.button.submit {
    background: rgb(237, 27, 35);
    border: 1px solid rgb(237, 27, 35);
    color: rgb(255, 255, 255);
    display: inline-block;
    padding: 0.5rem;
    text-align: center;
}

a.button.nav {
    display: block;
}

a.button.nav {
    flex-grow: 1;
    font-size: 24px;
}

a.button.nav:hover, .monat-cell.is-selected a, a.button.submit:hover {
    background: rgb(255, 255, 255);
    color: rgb(237, 27, 35);
}

a.button.submit {
    font-size: 14px;
    font-weight: bold;
}





/* Ohne Label */

a.button {border: 0px solid red;}

a.button>span {
    background: rgb(237, 27, 35);
    line-height: 100%;
    font-weight: bold;
    padding: 0.15rem 0.5rem;
}

a.button>span:after {
    content: "\f054";
    color: rgb(255, 255, 255);
    font-family: 'fontAwesome';
    font-size: 14px;
}

a.button.suche>span:after {
    content: "\f002";
}


/* Mit Label */

a.button.label:not(.red) {
    float: right;
}

.back_box a.button.label {
    float: none;
    display: block;
    text-align: right;
}

a.button.label>span {
    background: rgb(255, 255, 255);
    font-weight: inherit;
    padding: 0.25rem 0.5rem;
}

a.button.label:hover>span:nth-child(1) {
    color: rgb(237, 27, 35);
}

a.button.label>span:after {
    content: "";
}

a.button.label>span+span {
    background: rgb(237, 27, 35);
    font-weight: bold;
    padding: 0.35rem;
    padding: 0.15rem 0.5rem;
}

a.button.label>span+span:after {
    content: "\f054";
    color: rgb(255, 255, 255);
    font-family: 'fontAwesome';
    font-size: 14px;
}


/* Mit Sonder-Label */

a.button.label.red {
    width: 100%; display:flex;
}

a.button.label.red>span {
    background: rgb(255, 255, 255);
    color: rgb(237, 27, 35);
    font-weight: bold;
/*    font-size: 12px;  */
    padding: 0.25rem 0.5rem;
    border: 1px solid rgb(237, 27, 35);
    flex-grow: 1;
}

a.button.label.red>span:after {
    content: "";
}

a.button.label.red>span+span {
    background: rgb(237, 27, 35);
    font-weight: bold;
    padding: 0.35rem;
    flex-grow: 0;
}

a.button.label.red>span+span:after {
    content: "\f054";
    color: rgb(255, 255, 255);
    font-family: 'fontAwesome';
    font-size: 14px;
}


/* Back-Button Box */

.back_box {
    margin-top: 4rem;
    display: inline-block;
    float: right;
}

.back_box a:hover span:nth-child(1) {
    color: rgb(237, 27, 31);
}


/* Ausnahme */

.ctn_kwr_themen.boxed .button.label.red span {
    line-height: 140%;
}

.ctn_kwr_themen.boxed .button.label.red span>span {
    color: rgb(88, 89, 91);
}


/* Button Action */

.button.action {
    margin: 1rem 0;
    border: 1px solid rgb(177, 180, 182);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    padding: 0.5rem;
    text-align: center;
}

.button.action:hover {
    background: rgb(237, 27, 35);
    border: 1px solid rgb(237, 27, 35);
    color: rgb(255, 255, 255);
    cursor: pointer;
}


.transition {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.transition.medium {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}


/* --------------------------------------
	# Monats-Anzeige
---------------------------------------*/

.monats-navi {
    height: 4rem;
    margin-bottom: 1rem;
}

.monats-navi.is-hidden{
  opacity: 0;
}

.monat-cell {
    width: 24%;
    margin-right: 10px;
}

.flickity-viewport {
    margin: auto;
}

.flickity-page-dots {
    display: none;
}

@media only screen and (max-width:480px){
  .monats-navi{
    max-width:80%;
    margin: auto;
  }
}

/* Navigation */

.flickity-prev-next-button {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: #333;
}

.flickity-prev-next-button:hover {
    background: rgb(237, 27, 35);
}


/* arrow color */

.flickity-prev-next-button .arrow {
    fill: white;
}

.flickity-prev-next-button.no-svg {
    color: white;
}


/* position outside */

.flickity-prev-next-button.previous {
    left: -40px!important;
}

.flickity-prev-next-button.next {
    right: -40px!important;
}


/* --------------------------------------
	# Grid
	---------------------------------------*/


/* Termine */

#grid_termine .grid_item, #grid_termine_past .grid_item,  #grid_termine_present .grid_item {
    width: 32.5%;
    min-height: 450px;
    float: left;
    margin-bottom: .75rem;
    overflow: hidden;
}

#grid_termine_past, #grid_termine_present {
    margin-top: 2rem;
}

#grid_termine_past .grid_item {
    padding-top: 0;
}

#grid_termine_present .grid_item {
    padding-top: 0;
}

.label_past {
    background: rgba(88, 89, 91, .5);
    color: rgb(255, 255, 255);
    text-align: center;
    position: relative;
    margin-top: 0rem;
    margin-bottom: .4rem;
    margin-left: -.5rem;
    padding: 0.25rem;
    font-size: 13px;
    width: 110%;
}

.label_present {
    background: rgba(225, 34, 16, 0.7);
    color: rgb(255, 255, 255);
    text-align: center;
    position: relative;
    margin-top: 0rem;
    margin-bottom: .4rem;
    margin-left: -.5rem;
    padding: 0.25rem;
    font-size: 13px;
    width: 110%;
}


.monats-navi .monat-cell>a>div {
    font-size: 20px!important;
}

#grid_termine .gutter_sizer, #grid_termine_past .gutter_sizer, #grid_termine_present .gutter_sizer {
    width: 1%;
}

@media only screen and (max-width:900px) {
    #grid_termine .grid_item, #grid_termine_past .grid_item,  #grid_termine_present .grid_item {
        width: 49%;
    }
    .monats-navi .monat-cell {
        width: 32%;
    }
    .monats-navi .monat-cell>a>div {
        font-size: 18px!important;
    }
}

@media only screen and (max-width: 640px) {
    .monats-navi .monat-cell {
        width: 49%;
    }
}

@media only screen and (max-width:580px) {
    #grid_termine .grid_item, #grid_termine_past .grid_item, #grid_termine_present .grid_item {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .monats-navi .monat-cell {
        width: 100%;
    }
}


/* und Meldungen */



.ctn_kwr_termine .ctn_grid .grid_item,
.ctn_kwr_meldungen .ctn_grid .grid_item {
    border: 1px solid rgb(177, 180, 182);
    padding: .5rem;
    position: relative;
}

´



.ctn_kwr_termine .ctn_grid .grid_item h3,
.ctn_kwr_termine .ctn_grid .grid_item h4,
.ctn_kwr_termine .ctn_grid .grid_item p,
.ctn_kwr_termine .ctn_grid .grid_item .button {
    padding: 0 0.5rem;
}

.ctn_kwr_termine .ctn_grid .grid_item a.button {
    float: right;
    margin: 1.5rem 0 0.25rem 0;
}

.ctn_kwr_termine .grid_item, .ctn_kwr_meldungen .grid_item {
    flex-direction: column;
}

.ctn_kwr_termine .grid_item .ctn_img,
.ctn_kwr_meldungen .grid_item .ctn_img {
    flex-shrink: 0;
}

.ctn_kwr_termine .grid_item .ctn_main,
.ctn_kwr_meldungen .grid_item .ctn_main {
    flex-grow: 1;
}

.ctn_kwr_termine .grid_item .button,
.ctn_kwr_meldungen .grid_item .button {
    align-self: flex-end;
}

.kwr_meldungen .ctn_button {
    padding-top: 2rem;
}

.ctn_kwr_meldungen .ctn_grid .grid_item {
    background: rgba(0, 0, 0, .05);
    border: none;
}

.grid_item h3 {
    line-height: 120%;
}

.grid_item h3+h4 {
    color: rgb(237, 35, 27);
    font-size: 17px;
    font-weight: normal;
    line-height: 140%;
    margin-bottom: 0.75rem;
}

/* damit die Headlines der Termine und Meldungen nicht als Link markiert werden (nachträglich ergänzt) */
.grid_item a{
  text-decoration: none;
}



/* --------------------------------------
	# Termine-Detailseite
---------------------------------------*/

.kwr_termine .image {
    width: 30%;
}

.kwr_termine .main {
    padding: 0 2rem;
    width: 48%;
}

.kwr_termine .eckdaten {
    width: 22%;
}

.kwr_termine .eckdaten .inner {
    background-color: rgb(237, 237, 238);
    padding: 1rem;
}

.kwr_termine .eckdaten .inner>div {
    margin-bottom: 0.5rem;
}

.kwr_termine .eckdaten a {
    font-size: 0.9em;
}

.single-kwr_termine h2 {
    color: rgb(237, 27, 35);
    font-size: 18px;
    margin-bottom: 1.25em;
}

.single-kwr_termine h3 {
    color: rgb(88, 89, 91);
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 0;
    margin-top: 0;
}

.single-kwr_termine h3+p {
    margin-top: 0;
  /*  line-height: 130%; */
}

.kwr_termine .eckdaten .fb-share {
    text-align: right;margin-top:20px;
}


/* --------------------------------------
	# Meldungen-Detailseite
---------------------------------------*/

.kwr_meldungen .inner .image {
    width: 33%;
    margin-right: 4%;
}

.kwr_meldungen .inner .main {
    width: 63%;
}

.single .kwr_meldungen h2 {
    color: rgb(237, 27, 35);
    font-size: 18px;
    margin-bottom: 1.25em;
}

.single .kwr_meldungen h3 {
    color: rgb(88, 89, 91);
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 0;
    margin-top: 0;
}

.ctn_kwr_meldungen h3+h4 {
    color: rgb(88, 89, 91);
    font-weight: bold;
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 0.75rem;
}




/* Navigationspunkt ausblenden, wenn kein Inhalt (über class im Menu) */

.nav_box .inaktiv {
    display: none;
}

@media only screen and (max-width:768px) {
    .ctn_ps_subpage .inner .flex, .ctn_rus_subpage .inner .flex {
        flex-direction: column-reverse;
    }
    .ctn_ps_subpage .inner .ctn_main, .ctn_rus_subpage .inner .ctn_main {
        width: 100%;
    }
    .ctn_ps_subpage .inner .ctn_subnav, .ctn_rus_subpage .inner .ctn_subnav {
        padding-top: 4rem;
        width: 80%;
        max-width: 80%;
        margin: auto;
    }
}


/* --------------------------------------
	# Flip-Boxen
	---------------------------------------*/

.grid_item.flipbox {
    position: relative;
}

.grid_item.flipbox:hover {
    cursor: help;
}

.grid_item.flipbox .front {
    border: 1px solid rgb(237, 237, 238);
    height: inherit;
    width: 100%;
    position: absolute;
    background: rgb(255, 255, 255);
    top: 0;
    padding: 0.75rem;
    z-index: 88;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -ms-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid_item.flipbox .back {
    border: 1px solid rgb(237, 237, 238);
    height: inherit;
    width: 100%;
    position: absolute;
    top: 0;
    padding: 0.75rem;
    text-align: center;
    z-index: 89;
    -webkit-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid_item.flipbox .back.flex, .grid_item.flipbox .front.flex {
    -ms-align-items: center;
    align-items: center;
}

.grid_item .back>.inner {
    width: 100%;
    text-align: center;
}

.grid_item.flipbox p {
    line-height: 130%;
    font-size: 12px;
}

.grid_item.flipbox a {
    border-bottom: none;
    font-weight: normal;
}

.grid_item.flipbox a:after {
    content: "";
}

.grid_item.flipbox:hover .front, .grid_item.flipbox:active .front {
    z-index: 900;
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.grid_item.flipbox:hover .back, .grid_item.flipbox:active .back {
    z-index: 1000;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -ms-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
}




/* --------------------------------------
	# Sonstiges
	---------------------------------------*/

::-moz-selection {
    background: rgba(237, 27, 35, 1);
    color: rgba(255, 255, 255, 1);
}

::selection {
    background: rgba(237, 27, 35, 1);
    color: rgba(255, 255, 255, 1);
}

.transition {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.transition.medium {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.featured .featured_label {
    width: 0;
    height: 0;
    border-top: 60px solid rgb(237, 27, 35);
    border-right: 60px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
}


/* doch nicht */

.featured_label {
    display: none;
}

.quadrat {
    width: 20px;
    height: 20px;
    background: rgb(237, 27, 35);
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

.hg_grau {
    background: rgb(237, 237, 238);
}

button:focus {
    outline: none;
}


/* ---------------------------------------
# Slider
----------------------------------------*/


/*
.fullscreen_slider, .fullscreen_slider .royalSlider, .fullscreen_slider .rsOverflow {
    height: calc(80vh - 5rem)!important;
    min-height: 450px;
}
*/

.rsUni .rsSlide {
    background: rgb(237, 237, 238)!important;
}



@media screen and (min-width:960px) and (min-height:660px) {
  .royalSlider {
      height: 550px !important;
  }
}

@media screen and (min-width:960px) and (min-height:1000px) {
    .royalSlider {
        height: 680px !important;
    }
}
@media screen and (min-width: 0px) and (max-width: 800px) {
  .royalSlider {
    height: 350px !important;
  }
}


@media(max-width:570px){
	.rsContent {
		position: relative;
	}
	.rsImg {
		right: -50px;
		margin-left: 0;
	    position: absolute;
	}
}

/* ---------------------------------------
# Header Subpages
----------------------------------------*/

.img.subpage {
    height: 450px;
}

@media only screen and (max-width:959px){
  .img.subpage {
      height: 350px;
  }
}

@media only screen and (max-width:800px){
  .img.subpage {
      height: 300px;
  }
}

header .main {
    background: rgba(0, 0, 0, .05);
}


/* --------------------------------------
	# Bereich: Postgraduate Studies
---------------------------------------*/

.nav_box {
    background-color: #f4f5f5;
    width: 33%;
    margin-left: 3.5%;
}

.nav_box:nth-child(1) {
    margin-left: 0;
}

.nav_box h3 {
    background: rgb(237, 27, 35);
    color: rgb(255, 255, 255);
    padding: 1rem;
}

.description_box {
    padding: 1rem;
}

.nav_box ul {
    list-style-type: none;
    padding-left: 0;
}

.nav_box ul li {
    text-align: right;
    padding-right: 10%;
}

.nav_box ul li a {
    text-decoration: none;
    font-size: 14px;
    color: rgb(88, 89, 91);
}

.nav_box ul li a span {
    background: rgb(237, 27, 35);
    line-height: 100%;
    font-weight: bold;
    padding: 0.15rem 0.5rem;
    margin-left: 1rem;
}

.nav_box ul li a span:after {
    content: "\f054";
    color: rgb(255, 255, 255);
    font-family: 'fontAwesome';
    font-size: 14px;
}

.nav_box ul li:hover a {
    color: rgb(237, 27, 35);
}

.nav_box .trenner.dunkel {
    background: rgb(88, 89, 91);
}

.nav_box .trenner.dunkel svg polygon {
    fill: #f4f5f5!important;
}

@media only screen and (max-width:768px) {
    .ctn_nav_box {
        display: block;
    }
    .nav_box {
        margin-left: 0;
        width: 100%;
    }
    .ctn_nav_box .nav_box ul {
        padding-bottom: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .ctn_ps_subpage .inner .ctn_subnav, .ctn_rus_subpage .inner .ctn_subnav {
        width: 100%;
        max-width: 100%;
    }
}


/* --------------------------------------
	# Media Queries
	---------------------------------------*/

body.page-template-template-startseite #grid_termine_past {
    display: none;
}

.mobile-info {
    display: none;
}

.mobile-info h2 {
    background: rgb(237, 27, 35);
    color: rgb(255, 255, 255);
    padding: 1rem;
    width: 104%;
    margin-left: -2%;
    margin-bottom: 0;
}

.mobile-info h3 {
    border: 1px solid rgb(88, 89, 91);
    border-top: none;
    padding: 0.75rem 1rem;
    width: 104%;
    margin-left: -2%;
    margin-top: 0;
    margin-bottom: 2rem;
}

@media only screen and (min-width:1025px) {
    /* KWR-Termine und KWR-Meldungen */
    .ctn_kwr_meldungen .ctn_grid .grid_item, .ctn_kwr_preview .ctn_grid .grid_item {
        width: 32%;
        margin: 0 2% 14px 0;
    }
    .ctn_kwr_meldungen .ctn_grid .grid_item:nth-child(3n), .ctn_kwr_preview .ctn_grid .grid_item:nth-child(3n) {
        margin-right: 0;
    }
    /* Standort-Infos */
    .ctn_kwr_standort .ctn_grid .grid_item,
    .ctn_kwr_socialfeed .ctn_grid .grid_item {
        width: 49%;
        margin: 0 2% 14px 0;
    }


    .ctn_kwr_standort .ctn_grid .grid_item:nth-child(2),
    .ctn_kwr_socialfeed .ctn_grid .grid_item:nth-child(2) {
        margin-right: 0;
    }
    /* KWR-Mitglieder */
    .ctn_kwr_mitglieder .ctn_grid .grid_item {
        width: 24%;
        height: 120px;
        margin: 0 0 1rem 0;
    }
    /* Footer: KWR-Themen */
    .ctn_kwr_themen .ctn_grid .grid_item {
        margin-right: 2%;
    }
    .ctn_kwr_themen .ctn_grid .grid_item:nth-child(3) {
        margin-right: 0;
    }
    /* Footer: Meta */
    .ctn_meta .ctn_grid .grid_item {
        margin-right: 2%;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) {
        margin-right: 0;
    }
    .nav_overlay.is-active {
        display: none;
    }
}

@media only screen and (min-width:769px) and (max-width:1024px) {
    /* Logo */
    #logo {
        top: 1.6rem;
    }
    #logo img {
        width: 160px;
    }
    /* Hauptnavigation */
    nav#mainNav .inner ul.nav li {
        margin: 0 1.4rem;
    }
    /* KWR-Termine und Meldungen */
    .ctn_kwr_meldungen .ctn_grid .grid_item, .ctn_kwr_preview .ctn_grid .grid_item {
        width: 32%;
        margin: 0 2% 14px 0;
    }
    .ctn_kwr_meldungen .ctn_grid .grid_item:nth-child(3n), .ctn_kwr_preview .ctn_grid .grid_item:nth-child(3n) {
        margin-right: 0%;
    }
    /* Standort-Infos */
    .ctn_kwr_standort .ctn_grid .grid_item,
    .ctn_kwr_socialfeed .ctn_grid .grid_item {
        width: 49%;
        margin: 0 2% 14px 0;
    }
    .ctn_kwr_standort .ctn_grid .grid_item:nth-child(2),
    .ctn_kwr_socialfeed .ctn_grid .grid_item:nth-child(2) {
        margin-right: 0;
    }
    /* KWR-Mitglieder */
    .ctn_kwr_mitglieder .ctn_grid .grid_item {
        width: 32.5%;
        max-width: 300px;
        height: 160px;
        margin: 0 0 1rem 0;
    }
    /* Footer: KWR-Themen */
    .ctn_kwr_themen .ctn_grid .grid_item {
        margin-right: 2%;
    }
    .ctn_kwr_themen .ctn_grid .grid_item:nth-child(3) {
        margin-right: 0;
    }
    /* Footer: Meta */
    .ctn_meta .ctn_grid .grid_item {
        margin-right: 2%;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) {
        margin-right: 0;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) {
        flex-direction: column;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3)>div {
        width: 100%;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) .form_newsletter {
        margin-top: 2%;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) .form_newsletter>* {
        width: 100%;
    }
    .nav_overlay.is-active {
        display: none;
    }
}

@media only screen and (min-width:960px) and (max-width:1024px) {
    #mainNav h1 {
        font-size: 45px;
    }
    h2 {
        font-size: 18px!important;
    }
}

@media only screen and (min-width:769px) and (max-width:959px) {
    /* Logo */
    #logo {
        top: 1.55rem;
    }
    #mainNav h1 {
        font-size: 35px;
    }
    h2 {
        font-size: 18px!important;
    }
}

@media only screen and (min-width:481px) and (max-width:768px) {
    /* Logo */
    #logo {
        top: 2.2rem;
    }
    #logo img {
        width: 130px;
    }
    /* Hauptnavigation */
    #mainNav h1 {
        margin-bottom: 0;
        padding-bottom: 2.5rem;
    }
    #mainNav h1+* {
        margin-top: 0;
    }
    #mainNav h1 {
        font-size: 27px;
    }
    h2 {
        font-size: 17px!important;
    }
    /* KWR-Termine und KWR-Meldungen */
    .ctn_kwr_meldungen .ctn_grid .grid_item, .ctn_kwr_preview .ctn_grid .grid_item {
        width: 49%;
        margin: 0 2% 14px 0;
    }
    .ctn_kwr_meldungen .ctn_grid .grid_item:nth-child(2n), .ctn_kwr_preview .ctn_grid .grid_item:nth-child(2n) {
        margin-right: 0%;
    }
    /* Standort-Infos */
    .ctn_kwr_standort .ctn_grid .grid_item,
    .ctn_kwr_socialfeed .ctn_grid .grid_item {
        width: 100%;
        margin: 0 0 2% 0;
    }
    /* MQ Inhalte */
    .kwr_termine>.boxed>.inner, .kwr_meldungen.boxed>.inner {
        max-width: 90%;
        margin: auto;
        padding: 0 3%!important;
    }
    .kwr_termine article>.boxed>.inner, article .kwr_meldungen.boxed>.inner {
        padding: 0;
        margin: 0!important;
        max-width: 100%!important;
    }
    .kwr_termine article>.boxed>.inner .main, article .kwr_meldungen.boxed>.inner .main {
        padding: 0 2%!important;
    }
    .kwr_termine .eckdaten {
        width: 100%!important;
        max-width: 100%!important;
        padding: 2rem 2%!important;
    }
    .kwr_termine a.button.label, .kwr_meldungen a.button.label {
        margin-right: 2%;
        margin-top: 2rem;
    }
    /* KWR-Mitglieder */
    .ctn_kwr_mitglieder .ctn_grid .grid_item {
        width: 49%;
        max-width: 380px;
        height: 170px;
        margin: 0 0 1rem 0;
    }
    /* Footer: KWR-Themen */
    .ctn_kwr_themen .ctn_grid {
        display: block;
    }
    .ctn_kwr_themen .ctn_grid .grid_item {
        width: 480px;
        max-width: 100%;
        margin: auto;
        margin-bottom: 1rem;
    }
    /* Footer: Meta */
    .ctn_meta .ctn_grid {
        flex-wrap: wrap;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(1) {
        margin-right: 2%;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) {
        margin-top: 2%;
        width: 100%;
    }
}
/* Teaser Boxen: Unterzeile rausnehmen */
@media only screen and (min-width:769px) and (max-width: 860px){
  .ctn_kwr_standort .ctn_grid .grid_item .teaser p{
    display: none;
  }
}

@media only screen and (max-width: 400px){
  .ctn_kwr_standort .ctn_grid .grid_item .teaser p{
    display: none;
  }
}

/* /Teaser Boxen */

@media only screen and (max-width: 768px) {
    nav#mainNav .inner ul.nav li a {
        min-height: inherit;
    }
    .mobile-info {
        display: block;
    }
}

@media only screen and (max-width: 640px) {
    #mainNav h1 {
        font-size: 20px;
        padding-bottom: 2.5rem;
    }
    h2 {
        font-size: 18px!important;
    }
    .back_box a {
        margin-top: 1rem!important;
    }
    .back_box a>span {
        font-size: 16px;
    }
}

@media only screen and (max-width:480px) {
    header>.pre {
        height: 3.4rem!important;
    }
    #logo img {
        width: 100px;
    }
    .back_box {
        margin-top: 0;
    }
    .back_box a>span {
        font-size: 13px;
    }
    .back_box a {
        margin-top: 0!important;
    }
    /* Hauptnavigation */
    #mainNav h1 {
        font-size: 18px;
        margin-bottom: 0;
        padding-bottom: 2.5rem;
    }
    h2 {
        font-size: 15px!important;
    }
    #mainNav h1+* {
        margin-top: 0;
    }
    /* KWR-Termine und Meldungen */
    .ctn_kwr_termine .ctn_grid .grid_item, .ctn_kwr_meldungen .ctn_grid .grid_item, .ctn_kwr_preview .ctn_grid .grid_item {
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px 0;
    }
    /* KWR-Mitglieder */
    .ctn_kwr_mitglieder .ctn_grid .grid_item {
        width: 100%;
        max-width: 480px;
        height: 200px;
        margin: 0 0 1rem 0;
    }
    /* MQ Inhalte */
    .kwr_termine>.boxed, .kwr_meldungen.boxed {
        padding-top: 0;
    }
    .kwr_termine>.boxed>.inner, .kwr_meldungen.boxed>.inner {
        max-width: 90%;
        margin: auto;
        padding: 0 3%!important;
    }
    .kwr_termine article>.boxed>.inner, article .kwr_meldungen.boxed>.inner {
        padding: 0;
        margin: 0!important;
        max-width: 100%!important;
    }
    .kwr_termine article>.boxed>.inner .main, article .kwr_meldungen.boxed>.inner .main {
        padding: 0 2%!important;
    }
    .kwr_termine .eckdaten {
        width: 100%!important;
        max-width: 100%!important;
        padding: 2rem 2%!important;
    }
    .kwr_termine a.button.label, .kwr_meldungen a.button.label {
        margin-right: 2%;
        margin-top: 2rem;
    }
    /* Footer: KWR-Themen */
    .ctn_kwr_themen .ctn_grid {
        display: block;
    }
    .ctn_kwr_themen .ctn_grid .grid_item {
        width: 480px;
        max-width: 100%;
        margin: auto;
        margin-bottom: 1rem;
    }
    /* Footer: Meta */
    .ctn_meta .ctn_grid {
        flex-direction: column;
    }
    .ctn_meta .ctn_grid .grid_item {
        margin-bottom: 2%;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) {
        width: 100%;
        flex-direction: column;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3)>div {
        width: 100%;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) .form_newsletter {
        margin-top: 2%;
    }
    .ctn_meta .ctn_grid .grid_item:nth-child(3) .form_newsletter>* {
        width: 100%;
    }
}


/* mobile Navigation */

@media only screen and (max-width: 768px) {
    #mainNav .menu-hauptnavigation-container, #mainNav .menu-hauptnavigation_en-container {
        visibility: hidden;
        position: relative;
        opacity: 0;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
        z-index: 9999999;
    }
    #mainNav.is-active .menu-hauptnavigation-container, #mainNav.is-active .menu-hauptnavigation_en-container {
        visibility: visible;
        opacity: 1;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }
    #mainNav #main {
        position: absolute;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, .95);
        border: 1px solid rgb(237, 27, 35);
        padding-bottom: 1rem;
    }
    #mainNav #main>li {
        margin: 1rem 0 0 0;
        font-weight: bold;
        font-size: 1rem;
    }
    #mainNav #main>li a {}
    #mainNav #main li>div {
        display: none!important;
    }
    #mainNav #main li .sub-menu {
        display: block;
        margin: 0;
        position: relative;
        background: transparent;
        border: none;
    }
    .mobileNavBtn {
        display: block;
    }
    /* Termine Detailseite  */
    .kwr_termine .boxed .inner {
        display: block;
    }
    .kwr_termine .boxed .inner>div {
        width: 100%;
    }
    .kwr_termine .boxed .inner .eckdaten {
        width: 400px;
        max-width: 100%;
        margin: 2rem auto;
    }
    .kwr_termine .boxed .inner .image {
        margin-bottom: 2rem;
    }
    /* Meldungen Detailseite */
    .kwr_meldungen .inner {
        display: block;
    }
    .kwr_meldungen .inner>div {
        width: 100%;
    }
    .kwr_meldungen .inner .main {
        padding: 0 2rem;
        width: 100%;
    }
    .kwr_meldungen .inner .image {
        margin-bottom: 2rem;
        width: 100%;
    }
    .wpcf7 {
      width: 100%;
    }
}



/* TINY STUFF */

.fa-facebook-official {
	color: rgb(177, 180, 182);
}

.ctn_kwr_themen span+span{
  display: none;
}

@media only screen and (max-width:480px){
  .ctn_kwr_themen .grid_item span span{
    display: none;
  }
}

/* --------------------------------------
	Finale Schriftanpassung
  (hier gesammelt, um besser reagieren zu können)
---------------------------------------*/

@media only screen and (min-width: 1025px){
  #mainNav h1{
    font-size: 2.8rem;
  }
  .ctn_kwr_termine h2,
  .ctn_kwr_termine h2 a{
    font-size: 1.25rem;
    line-height: 140%;
  }
}

@media only screen and (max-width: 1024px){
  #mainNav h1{
    font-size: 2.8rem;
  }
  .ctn_kwr_termine h2,
  .ctn_kwr_termine h2 a{
    font-size: 1.25rem;
    line-height: 140%;
  }

}

@media only screen and (max-width: 768px){
  #post-13713 .subcat { display: none !important; }
  #mainNav h1{
    font-size: 1.75rem;
    line-height: 2.4rem;
    display: inline-block;
  }
  .ctn_kwr_termine h2,
  .ctn_kwr_termine h2 a{
    font-size: 1.25rem;
    line-height: 140%;
  }

  a.button.label>span{
    font-size: 1rem;
    font-weight: bold;
  }
  a.button.label>span+span{
    line-height: 17px;
  }
}


/* Ergänzung 20.03.2021 Walter Hupfeld 
 * 			 24.03.2021 Carsten Peters
 */

.artikel-datum { margin-left:9px; font-size:10px; margin-bottom: 0.5em;}
.subcat { height: 27em; }
.subcatbtn { width: 220px; height: 60px; display: block; float: left; border: #ec1b24 solid 1px; line-height: 20px; margin: 10px; cursor: pointer; position: relative; }
.subcatbtn > span { width: 160px; display: inline-block; display: relative; padding: 10px; color: #ec1b24; }
.subcatbtn > span+span { padding: 0; }
.subcatbtn > span+span:after {
    content: "\f39a";
    color: #fff;
    font-family: 'fontAwesome';
    font-size: 32px;
	padding: 20px 5px 0 15px;
	width: 40px;
	height: 40px;
	position: absolute;
	right: 0; 
	top: 50%; 
	margin-top: -30px;
	background-color: #ec1b24;
}
#kku-kunst-kultur-musik-2 > span+span:after {
	content: "\f001";
}
#kku-medizin-biologie > span+span:after {
	content: "\f610";
}
#kku-architektur-bauen > span+span:after {
	content: "\f1ad";
}
#kku-computer-medien > span+span:after {
	content: "\f108";
}
#kku-laender-religion-sprachen > span+span:after {
	content: "\f024";
}
#kku-mathe-physik-chemie > span+span:after {
	content: "\f5d2";
}
#kku-mensch-gesellschaft > span+span:after {
	content: "\f0c0";
}
#kku-recht-politik > span+span:after {
	content: "\f516";
}
#kku-sport > span+span:after {
	content: "\f70c";
}
#kku-technik-raumfahrt > span+span:after {
	content: "\f135";
}
#kku-umwelt-klima-energie > span+span:after {
	content: "\f7a2";
}
#kku-wirtschaft-geld > span+span:after {
	content: "\f51e";
}
.cat-active  { background-color: #ec1b24;  }
.cat-active span { color: #fff; }

.cat-over { background-color: #ec1b24; }
.cat-over span { color: #fff; }
