html {
  font-size: 100%; /* Default browser 16px */
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%; 
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: border-box;
  overflow-x: hidden;
}
body {
  margin: 0; 
  font-size: 0.875rem; 
  line-height: 1.6;
  color: #333;
  background-color: #ffffff; /* Fallback for when there is no custom background color defined. */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  font-family: Helvetica, Arial, sans-serif;
}
body.toggled{overflow:hidden;}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body:not(.pid22):not(.pid849) .back {
    display: none;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#mainnav ol, #mainnav ul, #site-navigation ul {
   padding-left: 2rem !important;
}

.kaderdefault {
    font-size: 20px;
    
}

.pagination {padding-left: 12px;}


form h2 {
    font-size: 1.3rem;
}

#carouselExampleCaptions{overflow:hidden;}
.carousel-indicators{bottom:20px;}
.carousel-item img{    
    object-fit: cover;
    max-width: 100%;
}

.ce-gallery figcaption {
    display: block;
}

.contact .details p {
    line-height: 1em;
}

[class^="col-"]{position: relative;}
h1,
.h1 {
  font-size: 36px;
}
h2,
.h2 {
  font-size: 30px;
}
h3,
.h3 {
  font-size: 24px;
}
h4,
.h4 {
  font-size: 18px;
}
h5,
.h5 {
  font-size: 14px;
}
h6,
.h6 {
  font-size: 12px;
}
.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img {
    display: block;
    max-width: 100%;
    height: auto;
}
.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}


/*

#ac-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("images/pop-bg.png") repeat top left transparent;
    z-index: 1001;
}
#popup {
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 18px;
    -moz-border-radius: 18px;
    -webkit-border-radius: 18px;
    height: 361px;
    margin: 5% auto;
    position: relative;
    width: 597px;
}
*/
a{text-decoration:none;}
a:focus, a:hover {text-decoration: underline;}

.parsley-error { background: #ffc6c6; }

.nop-padding p {margin: 0!important; }

.clearfixright:after{content:"";display:block;clear:right;height:0;visibility:hidden;}

.tx-cal-controller .scrolltime {height: 548px; position: absolute;/*overflow-y:hidden;*/}
.tx-cal-controller .gridcontainer {height: 607px;}
.weekview .tx-cal-controller .gridcontainer {height: 534px;}

.ce-bodytext {
    /* overflow-x: auto; */
}

.ce-gallery img{max-width:100%; height:auto;}
img.japrev { max-width: 100%; }

table {
    width: 100%;
}

.tx-jamtgkurs tr:hover {
    background: #efefef;
}

#c3145 table, #c3147 table, #c3162 table,#c3163 table{width:100% !important;table-layout:auto !important;display:table;}
#c3145 table td,#c3162 table td {width:12.5% !important;}
#c3147,#c3163 {display:none;}
#c3147 table td, #c3163 table td {width:50% !important;padding: 2px 15px !important;}

ul.powermail_message.powermail_message_error {
    background: red;
    color: white;
    border: 5px solid #b90000;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 90px;
}

.pid1649 .layout3 .powermail_fieldwrap {
    display: flex;
    flex-direction: row-reverse;
    float: left;
}

.pid1649 .layout3 .powermail_fieldwrap_type_radio label.powermail_label {
    width: auto !important;
    float: none;
    line-height: 1rem;
}

.pid1649 .layout3 .powermail_fieldwrap_type_radio > .powermail_field {
    line-height: 1rem;
}

.pid1649 .layout3 .powermail_fieldwrap_type_radio > .powermail_field .radio {
    margin: 0;
}

.pid1649 .layout3 input[type=radio]{margin-top:2px;}


div.sportartenspalten {
   /*Standard-Definition*/
   column-count: 4;
   column-gap: 50px;

   /*Definition für FireFox*/
   -moz-column-count: 4;
   -moz-column-gap: 50px;

   /*Definition für Safari*/
   -webkit-column-count: 4;
   -webkit-column-gap: 50px;
}


a, a:hover, a:active, a:focus{cursor:pointer;color: #952735;}

.mediaelement-video, .boxed > div > a {
   display:block;
   position: relative;
   /*padding-bottom: 56.25%;
   padding-top: 0;
   height: 220px;*/
   overflow: hidden;
}
iframe{max-width:100%;}
.mediaelement-video iframe, .boxed iframe {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
video{width:100%;}


.h3, h3 {font-size: 22px;}
#sidemenu .h3, #sidemenu h3 {font-size: 18px;}
.label-info {background-color: #0D4244;}


.cebild:not(footer .cebild) {width: 350px;}



.thumbnail.newsbild.imagezoom {max-width: 350px;clear:both;margin-bottom:10px;}
.newssliderimage {max-width: 800px !important;}
.pull-right{margin-left:20px;}
iframe.tabelle{width:100% !important}
footer {background: #2d2d2d; color: #fff; min-height:250px; margin-top:15px; padding-bottom:30px;}
#footer {margin-top: 15px;}
#footertop {background: #952735; color: #fff; border-bottom: 1px solid #fff;}
#footertop h2 {font-family: 'Varela Round', sans-serif;margin:10px;color: #3f3f3f;}

/* #footertop a {cursor: pointer; color: #ffffff;}*/

#footertop {
    background: #ececec;
    color: #fff;
    /*border-bottom: 1px solid #ffffff;*/
    border-top: 2px solid #952735;
}

#footerbottom {
    text-align: center;
    border-top: 1px solid white;
    padding-top: 15px;
    margin-top: 15px;
}

#footer li {list-style:none;}
#footer ul {padding:0;}
#footer header * {font-size: 1.5em;}

#footer{font-size:13px;}
#footer a, #footer a:hover, #footer a:active, #footer a:focus {color: lightblue;}
#footerbottom a, #footer a:hover, #footer a:active, #footer a:focus {color: lightblue;}

#header-emblem{position:absolute;max-height:100%;top:10px;bottom:10px;right:50px;text-align:right; }
#header-emblem h2{font-family: 'Varela Round', sans-serif;font-size:35px;float:right;text-shadow:0 0 30px #000;font-weight:700;color:#fff;margin-right:10px;}
#header-emblem img{max-height:100%;float:right;height:96px;}

#header-title{position:absolute;max-height:100%;bottom:0;left:50px;width:calc( 100% - 100px );text-align:left;}
#header-title h2{font-size:35px;float:left;text-shadow:0 0 30px #000;font-weight:700;color:#fff;margin-right:10px;}
#header-title h2 a{color: #fff;}

#header-meinemtg a.button.nl {z-index: 99;position: fixed;top: 45%;right: -51px;visibility: visible;transform: rotate(90deg);padding: 20px 25px;font-size: 1.25em;}

#menu-hauptmenue{position:relative;}
#menu-hauptmenue a.searchbutton{position: static;top: 0;margin-right: 5.5vw;float:right;padding: 0px 15px;cursor: pointer;display:block;line-height:48px;color:#fff !important;text-decoration:none;}
#menu-hauptmenue span.searchbutton, .menumobile span.searchbutton {font-weight: 600;display: inline-block;color: #fff;height: 48px;padding-left: 5px;}
.searchbutton i.fa.fa-search {
    font-size: 1.4em;
}

.menumobile .mainnav.toggled-on a.searchbutton, body.toggled .menumobile a.searchbutton{display:none !important;}
.menumobile a.button.nl {left: 60px;position: absolute;}
a.button.nl:hover{color: #952735 !important;}

/***************** Powermail *****************
 *********************************************/
.powermail_check_outer{width:470px!important;}
.powermail_fieldwrap.powermail_fieldwrap_type_radio.layout2 > label {margin-bottom: 2em;}
.powermail_fieldwrap_type_radio label.powermail_label {width: 188px !important;float: left;}
.powermail_fieldwrap_type_radio label {float: left; margin-right: 20px;}
select#powermail_field_kurse {height: 500px;}
.tx-powermail *{box-sizing:border-box;}
button{font-size:inherit;}
fieldset.powermail_fieldset{clear:left;border:1px solid #bbb;padding:10px;margin:0 0 20px 0;background:#eee;}
legend.powermail_legend{color:#bbb;float:right;margin:3px 0 10px 0;font-size:200%;white-space:normal;}
.powermail_fieldwrap.powermail_fieldwrap_type_select,.powermail_fieldwrap.powermail_fieldwrap_type_input{margin:0 0 0.5em 0;clear:both;overflow:hidden;}
.tx-powermail{color:#444;}
.powermail_input,.powermail_select,.powermail_textarea,.powermail_date{width:100%;padding:5px;margin:0;border:1px solid #bbb;color:#444;float:right;font-size:inherit;}
.powermail_fieldwrap{margin:0 0 0.5em 0;clear:both;overflow:hidden;}
a.btn.btn-warning,a.btn.btn-primary.pull-right{background-color:#aaa;display:inline-block;padding:5px 30px;text-decoration:none;color:white;border:1px solid #bbb;font-weight:bold;}
a.btn.btn-primary.pull-right{background-color:#1E5799;float:right;}
.powermail_fieldwrap.powermail_tab_navigation{margin-top:2em;}
input.powermail_submit.btn.btn-primary{margin:5px 0 0 0;padding:5px 20px;color:white;font-weight:bold;cursor:pointer;background-color:#1E5799;border:1px solid #eee;float:right;width:400px;font-size:inherit;}
a.maskbtn{margin:1em 0;padding-left: 2em;padding-right: 2em;}

/***************** Powermail *****************
 *********************END*********************/


/***************** MASK Elements *****************
 *************************************************/
 
/*.jaaccordion header {display: none;}*/
.flex-container:after {content: "";display: block;clear: both;}
.flex-container {display: flex;flex-wrap: wrap;}
.flex-item {padding-right: 20px;padding-bottom: 40px;flex: 0 0 20%;}
.flexitem > a.modallink{display:block;width:100%;height:100%}

.flex-container .flex-item .ce-gallery {height: 270px;overflow: hidden;}
.flex-container.col1 .flex-item {width: 100%;padding: 5px 3.8px;}
.flex-container.col1 .flex-item .ce-gallery {width: auto;height: auto;}
.flex-container.col1 .ce-textpic.ce-left.ce-intext {display: flex;}
.flex-container.col1 .ce-textpic.ce-left.ce-intext .ce-bodytext {margin:auto 0;}

.flex-container.team h2, .flex-container.team .maskmail {flex: 0 0 100%;}
.flex-container.team .flex-item{flex: 0 0 192px;width:192px;position: relative;padding:0;}
.flex-container.team .flex-item > span {position: absolute;top: 8px;right: 11px;font-size: 2.3em;font-weight: bold;}
.flex-container.team .flex-item .details{background: #EBEBEB;min-height: 79px;color: #2a2a2a;padding: 5px;text-align: center;margin-top: -1px;border-top: 2px solid #952735;}
.flex-container.team > a{border:2px solid #EBEBEB;margin:5px;background: #EBEBEB;}
.flex-container.team > a:hover,.flex-container.team > a:focus,.flex-container.team > a:active{text-decoration:none;outline:0 none;}
.flex-container.team .pic {background: #fff;}

.contact .flex-container.team > a {
    border: 0 none;
    background: 0 none;
    margin: 0;
    margin-bottom: 50px;
}
.contact .flex-container.team .details {
  padding: 10px;
 	text-align: center;
  line-height:2.2em;
}
.contact .flex-container.team .pic {
 	text-align: center;
}

.contact .flex-container.team .details p.h3 {
    margin-top: 1px;
}


.flexcards-wrap-mtg1 .flexcard2 {
    box-shadow: 0 0 10px #cccccc;
    height: 100%;
    flex-direction: column;
    margin: 5px;
    padding-top: 10px;
}



.flexcards-wrap-mtg1 .flex-item {
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 0;
  -webkit-flex: 3 1 10%;
  -ms-flex: 3 1 10%;
  flex: 3 1 10%;
  box-sizing: border-box;
}
.flexcards-wrap-mtg1 img, .flexcards-wrap-mtg2 img{max-width:100%;height:auto;}

.flexcards-wrap-mtg1 .col-xs-12 > .content {
    padding:  5px 10px;
    border-top: 1px solid #952735;
}

.flexcards-wrap-mtg1 .col-xs-12 {margin-bottom: 50px;}

.flexcards-wrap-mtg1 .col-xs-12 > .content a {
    margin-top: -1em;
    display: block;
}

.flexcards-wrap-mtg1 .col-xs-12 > a img {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}


.flexcards-wrap-mtg1 .col-xs-12 > h2, .flexcards-wrap-mtg1 .col-sm-12 .content{padding:10px;margin:0;}
.flexcards-wrap-mtg1 .col-xs-12 > h2 {margin: 0;padding: 15px 10px;line-height: 13px;font-size: 15px;text-transform: uppercase;color:#952735;font-weight:bold;
background: rgba(227,227,227,1);
background: -moz-linear-gradient(top, rgba(227,227,227,1) 0%, rgba(219,219,219,1) 50%, rgba(222,222,222,1) 51%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(227,227,227,1)), color-stop(50%, rgba(219,219,219,1)), color-stop(51%, rgba(222,222,222,1)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(top, rgba(227,227,227,1) 0%, rgba(219,219,219,1) 50%, rgba(222,222,222,1) 51%, rgba(255,255,255,1) 100%);
background: -o-linear-gradient(top, rgba(227,227,227,1) 0%, rgba(219,219,219,1) 50%, rgba(222,222,222,1) 51%, rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(top, rgba(227,227,227,1) 0%, rgba(219,219,219,1) 50%, rgba(222,222,222,1) 51%, rgba(255,255,255,1) 100%);
background: linear-gradient(to bottom, rgba(227,227,227,1) 0%, rgba(219,219,219,1) 50%, rgba(222,222,222,1) 51%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#ffffff', GradientType=0 );
}

/* das war bei alle flexcards-wrap-mtg mit drinn: .col-xs-12.col-md-4.col-lg-3 */
.flexcards-wrap-mtg1 .flex-container {
    box-shadow: 0 0 10px #cccccc;
    height: 100%;
    flex-direction: column;
}
.flexcards-wrap-mtg1  .flex-container:hover {
    box-shadow: 0 0 20px #aaa;
    transition: 0.5s ease box-shadow;
}

.flexcards-wrap-mtg1 .flex-container h2, .flexcards-wrap-mtg1 .flex-container .content {
    padding: 1rem;
}

.flexcards-wrap-mtg1 .flex-container h2 {
    font-size: 1.4em;
    margin: 0;
    width: 100%;
}

.flexcards-wrap-mtg1 .flex-container h2 a {
    display: block;
}

.frame-type-menu_categorized_pages ul {display: flex;flex-wrap: wrap;padding: 0;}
.frame-type-menu_categorized_pages li {list-style-type: none;flex: 0 0 33%;}


table.rot-weiss.new th {
    text-align: left;
    background: #e8e8e8;
}

.rot-weiss table{border-collapse:collapse;}
.rot-weiss th,.rot-weiss td{font-size:1em;padding:3px 4px 2px 7px;text-align:left;}
.rot-weiss th{font-size:1.1em;padding-top:5px;padding-bottom:4px;background-color:#952735;color:#ffffff;text-align:center;}
.rot-weiss tr:nth-of-type(even) td{color:#000000;background-color:#f2f2f2;;}
.rot-weiss th h3,.rot-weiss th h2{color:#ffffff;}
table.rot-weiss-gruen{border-collapse:collapse;}
table.rot-weiss-gruen td, table.rot-weiss-gruen th, .javolleyballed .table td, .javolleyballed .table th {font-size: 1em;padding: 3px 0px 2px 5px !important;text-align: left;border: 0 none !important;border-bottom: 1px solid #f2f2f2 !important;}
table.tagesplan{width:100%;}
table.tagesplan td:first-of-type{width:130px;}
table tr.kopf-rot td{font-size:1.1em;padding-top:5px;padding-bottom:4px;background-color:#952735;color:#ffffff;text-align:center;}
table tr.rose{background:#FAD4D4;}
table tr td.rot {background: #FF0000;}
td.hellgruen-schwarz{color:#000000;background-color:lightgreen;text-align:center !important;padding:0 !important;}
td.gelb-rot{color:red;background-color:yellow;text-align:center !important;padding:0 !important;}
body > .content .col-lg-8.col-md-7.col-sm-7 div.frame > div:not(.tx-cal-controller) tr:nth-child(even):not(.rot-weiss){background: #f2f2f2 !important;}
body > .content .col-lg-8.col-md-7.col-sm-7 div.frame > div:not(.tx-cal-controller) div:not(.tx-cal-controller) tr:nth-child(odd):not(.rot-weiss){background: #fff !important;}

table.rot-weiss.new th,table.rot-weiss.new td {
    color: #333;
}
table.trainingszeiten .stopp {position: absolute;top: 8%;transform: rotate(-7deg);left: 1%;color: #ff0000;font-size: 1em;font-weight:bold;z-index: 0;opacity: 0.5;border:1px solid #f00;padding:2px;border-radius:5px;}
table.trainingszeiten td{vertical-align:text-top;}
table.rot-weiss.trainingszeiten tbody tr td{background-color:#ffffff;}
table.rot-weiss.trainingszeiten > tbody > tr:nth-of-type(even) td{color:#000000;background-color:#f2f2f2;}

.belegung table{width:100%;margin-bottom:50px;display:table !important;}
.belegung thead tr{font-size:1.1em;padding-top:5px;padding-bottom:4px;background-color:#952735;color:#ffffff;text-align:center;}
.belegung table td{width:20%;vertical-align:top;}
.belegung table td:first-of-type{width:20%;}
.belegung.col-lg-4:nth-of-type(3n+1){clear:left;}
.belegung th, .belegung td {padding: 5px 1%;}
.belegung thead th:first-of-type {padding-left: 10px;}
.belegung thead th:last-of-type {padding-right: 10px;}

span.mannschaft {display: inline-block;width: 125px;font-weight: bold;height: 20px;}
img.mannschaftsbild {max-width: 100%;height: auto;}

a.trainingszeiten_ort{word-wrap: break-word;hyphens: auto;}
/***************** MASK Elements *****************
 ***********************END***********************/



/***************** Buttons *****************
 *******************************************/
.button, .button-download, .button-email {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration:none;
  background: #942633;
  color: #fff;
 
}

.button:before {content: "\f25a";display: inline;font-family: 'FontAwesome';margin-right:0.5em;}
.button:hover,.button:active,.button:focus {background: #999;border: 1px solid #999;color: #942633;text-decoration:none;}

.button-download:before {content: "\f019";display: inline;font-family: 'FontAwesome';margin-right:0.5em;}
.button-download:hover,.button-download:active,.button-download:focus {background: #999;border: 1px solid #999;color: #942633;text-decoration:none;}

.button-email:before {content: "\f0e0";display: inline;font-family: 'FontAwesome';margin-right:0.5em;}
.button-email:hover,.button-email:active,.button-email:focus {background: #999;border: 1px solid #999;color: #942633;text-decoration:none;}
/***************** Buttons *****************
 ********************END********************/



/***************** CalBase *****************
 *******************************************/

.tx-cal-controller .dayview,.tx-cal-controller .weekview{border-left:5px solid #f2f2f2;}
.tx-cal-controller .gridcontainer{border-top:10px solid #f2f2f2;}
.tx-cal-controller .gridcontainertop{background-color:#f2f2f2;border-bottom:10px solid #f2f2f2;}
.tx-cal-controller .gridcontainertop .daynames td, .tx-cal-controller .gridcontainertop .daynames th, th.dummy{background-color:#f2f2f2;}
.tx-cal-controller .scrolltime .timetable .times, .tx-cal-controller .month-small th, .tx-cal-controller .month-medium th, .tx-cal-controller .month-large th{background-color:#f9f9f9;}
.tx-cal-controller .gridcontainertop td{height:auto;}
.tx-cal-controller .gridcontainertop .dayname{font-size:16px;padding-top:16px;display:block;}
.tx-cal-controller .today-button{display:none;}
.tx-cal-controller td.day.weekday4.withEventDay a.url{font-weight: bold;}

/***************** CalBase *****************
 ********************END********************/





/********************* Modal-Boxen ********************
 ****************** Lightbox-Content *****************/
body.modal-open {overflow: hidden;}
.fancybox-wrap {margin: 35px;max-width: calc(100% - 70px);}
.fancybox-wrap *{max-width:100%;height:auto;}
.fb-dialog .pic {text-align: left;float:left;padding-right: 1em;padding-bottom:1em;}
.fb-dialog .details .label {width: 115px;display: block; float:left; color: initial;font-size: 0.875rem;text-align: left;font-weight: initial;padding: 4px 0 0;vertical-align:top;}
.fb-dialog .details .data {display: block;float: left;width: calc(100% - 115px);}
.fb-dialog .details > div {clear: both;}
.fb-dialog .details{float: right;width: calc(100% - 540px);margin-bottom:0;}
.fb-dialog .freitext{margin-top:0;}
.fb-dialog .fb-footer{clear:both;}
.fancybox-close-small{height:40px !important;}

.fb-dialog .positionen p {/* display: inline-block; */ margin: 0; }


@media (min-width: 993px){
  .fb-dialog {width: 900px;margin: 30px auto;}
}

/******************** Modal-Boxen ********************
 ************************ END ***********************/


/***************** Volleyball *****************
 ****************** Tabellen *****************/

.javolleyballed .invisible {visibility:visible;}
.javolleyballed .label {color: #000;}
.javolleyballed .tooltip {opacity: 100; font-size: 14px; z-index: 99;}
.javolleyballed h2{font-size:22px;}
.javolleyballed h3{font-size:16px;}
.javolleyballed td, .javolleyballed th{padding:0;}
.javolleyballed table{font-size:14px;width:100%;}
.javolleyballed table{width:100%;border-collapse:collapse;}
.javolleyballed table td{font-size:1em;border:1px solid #98bf21;padding:3px 7px 2px 7px;text-align:center;}
.javolleyballed table th{font-size:1.1em;padding:3px 7px 2px 7px;background-color:#952735;color:#ffffff;border:1px solid #98bf21 !important;}
.javolleyballed table tr:nth-of-type(odd) td{color:#000000;background-color:#FAD4D4 !important;}
.javolleyballed{padding:0;}
.javolleyballed .table-condensed > thead > tr > th,.javolleyballed .table-condensed > tbody > tr > th,.javolleyballed .table-condensed > tfoot > tr > th,.javolleyballed .table-condensed > thead > tr > td,.javolleyballed .table-condensed > tbody > tr > td,.javolleyballed .table-condensed > tfoot > tr > td{padding:5px;line-height:inherit;vertical-align:middle;}
.javolleyballed .table-hover > tbody > tr:hover, .javolleyballed .table-hover > tbody > tr.active:hover > td, .javolleyballed .table > thead > tr > td.active,.javolleyballed .table > tbody > tr > td.active,.javolleyballed .table > tfoot > tr > td.active,.javolleyballed .table > thead > tr > th.active,.javolleyballed .table > tbody > tr > th.active,.javolleyballed .table > tfoot > tr > th.active,.javolleyballed .table > thead > tr.active > td,.javolleyballed .table > tbody > tr.active > td,.javolleyballed .table > tfoot > tr.active > td,.javolleyballed .table > thead > tr.active > th,.javolleyballed .table > tbody > tr.active > th,.table > tfoot > tr.active > th{background-color:transparent;}

.javolleyballed .ergebnisse th:last-child {width: 130px;}
.javolleyballed td:nth-child(1) {width: 73px;padding: 0;}
.javolleyballed .ergebnisse td:nth-child(2),.ergebnisse td:nth-child(3) {width: 165px;}
.javolleyballed .ergebnisse td:nth-child(4) {width: 203px;}
.javolleyballed .spielplan th:nth-child(2),.vorschau th:nth-child(2) {width: 70px;}
.javolleyballed .spielplan th:nth-child(3),.vorschau th:nth-child(3),.javolleyballed .spielplan th:nth-child(4),.vorschau th:nth-child(4) {width: 240px;}

/***************** Volleyball *****************
 ******************** END ********************/



/*************** jasimplegallery **************
 **********************************************/
.jasimplefoldergallery .gallerylist > .folder {
    width: 205px;
    border: 0 none;
    border-radius: 5px;
    box-shadow: 3px 3px 10px #ccc;
    padding: 12px !important;
    margin: 0 2px 9px;
    box-sizing: border-box;   
}
.jasimplefoldergallery .gallerylist > .folder > a, 
.jasimplefoldergallery .gallerylist .title a,
.jasimplefoldergallery .gallerylist > .folder .counter {
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
}
.jasimplefoldergallery .gallerylist > .folder .counter {
  position: relative;
  transform: initial;
  width: 100%;
  top: initial;
  right: initial;
}
.jasimplefoldergallery .gallerylist > .folder .title a{
    color: #952735;
    font-weight: initial
}
.jasimplefoldergallery .gallerylist > .folder .title {
  	width: 100%;
  	height: auto !important;
    font-size: 14px;
    height: 2em;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  	font-weight: initial;
}
.jasimplefoldergallery .imagelist > a {
    width: 205px;
    border: 0 none;
    box-shadow: 3px 3px 10px #ccc;
        padding: 12px !important;
    margin: 0 2px 9px;
    box-sizing: border-box;
    padding: 5px;
    float: left;
    margin: 5px;
}
/*************** jasimplegallery **************
 ******************** END *********************/


/***************** Sonstiges *****************
 *********************************************/
#mainnav > ul > li > a {padding: 15px 1.2vw;}
#mainnav > ul, #mainnav ul.megamenu {max-width: 100%;}
/*#mainnav ul li {transition: 3s;}*/
#site-navigation {background: #952735;}
#site-navigation #menu-hauptmenue > li > a {color: #fff;}
/*#mainnav > ul > li:hover {background: rgba(255,255,255,0.3);}*/
#mainnav > ul > li > a:focus {background: #952735;color: #fff;text-decoration: none;outline: none;}
#mainnav ul.megamenu ul li a:hover {color: #952735;}


.menu-toggle, .menu-toggle:active, .menu-toggle:focus, .menu-toggle:hover{background:#952735;}
.menu-toggle {text-align: left;}
.menu-toggle button{color:#fff;font-size:18px;}
.menumobile{display:none;color:#fff;text-align:right;margin: 15px;}

.jumbotron {padding-top: 0px;padding-bottom: 0px;margin-bottom: 0px;color: inherit;background-color: #eee;position:relative;}
.jumbotron > img {width: 100%;height: auto;}
.jumbotron > a > img {width: 100%;height: auto;}
.fixed{position: fixed;top:68px; left:0;width: 100%;}
.fixed.toggled-on {height: calc( 100vh - 68px );overflow: auto;}
.fixedbottom {padding-top: 48px;}


#sidemenu .menu-hauptmenue-container:before{content:"";left:0;width:100%;height:100%;position:absolute;top:0;opacity:0.15;z-index:-1;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#bbbbbb+0,bbbbbb+50,777777+51,777777+100 */
  background: #bbbbbb; /* Old browsers */
  background: -moz-linear-gradient(-55deg, #bbbbbb 0%, #bbbbbb 50%, #777777 51%, #777777 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-55deg, #bbbbbb 0%,#bbbbbb 50%,#777777 51%,#777777 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(125deg, #bbbbbb 0%,#bbbbbb 50%,#777777 51%,#777777 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bbbbbb', endColorstr='#777777',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#sidemenu .menu-hauptmenue-container{position:relative}
#sidemenu > div{border-top:2px solid #952735;padding:0 20px;margin:0 -15px;}
#sidemenu > div:last-child {padding-bottom: 1px;}
#sidemenu > div:after{content:"";background:#fff;height:20px;width:calc(100% + 40px);display:block;position:relative;margin:20px -20px 0;}
#sidemenu > div:last-of-type:after{height:0;margin-bottom:20px;}
#sidemenu .h2, #sidemenu h2 {font-size: 25px;}

.kalendertable{width:100%;}
td.hasevents {position:relative}
td.hasevents:hover > div.dayevents {display: block !important;position: absolute;z-index: 9;background: #952735;padding: 5px 10px !important;color: #fff;text-align: left;font-size: 0.8em;}
td.hasevents:hover > div:before {content: "";display: block;width: 0;height: 0;border-left: 8px solid transparent;border-right: 8px solid transparent;border-bottom: 8px solid #952735;margin-bottom: 5px;margin-top: -13px;margin-left: -10px;}
td.hasevents:hover > div a {color: #fff;padding: 5px;display: inline-block;white-space: nowrap;word-wrap: normal;}

td.hasevents.day4:hover > div.dayevents,
td.hasevents.day5:hover > div.dayevents,
td.hasevents.day6:hover > div.dayevents,
td.hasevents.day7:hover > div.dayevents {
    right: 0;
}
td.hasevents.day4:hover > div:before,
td.hasevents.day5:hover > div:before,
td.hasevents.day6:hover > div:before,
td.hasevents.day7:hover > div:before {
    position: absolute;right: 27px;right: 1vw;
}

.jacal-eventlist {display: flex;flex-wrap: nowrap;}
.dayevents .jacal-eventlist-icon, .dayevents .jacal-eventlist-singleevent{display:inline-block;}
.dayevents .jacal-eventlist-icon i.fa {padding: 5px 0;line-height: 1rem;}

.newssliderimage {position: relative;}
.jaslider .articletype-0.topnews{position:absolute;bottom:20px;width:65%;background:rgba(255,255,255,0.9);right:20px;padding:0 20p}
.jaslider .articletype-0.topnews * {font-size: 1rem !important;}

.slick-slide img {
    height: auto;
    width: auto;
    min-width: 100%;
}

.card>a {
    /*height: 200px;*/
    overflow: hidden;
}

.card-body {
  height: 120px;
  text-decoration: none;
  color: initial;
}
.card a:hover {
  text-decoration: none;
  color: initial;
}
.card:hover{
  background: #e2e2e2;
}

.card-body .button {position: absolute;bottom: 1em;right: 1em;}
.card {width: 96% !important;margin: 0 2%;}

.news-list-card-slider2 .tns-item .card-body h3 {
    font-size: 1em;
  margin-bottom:.5em;
  margin-top:0;
}

/* Termine */
.panel-group .card {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    border-color: #ddd;
    margin: 5px 0 15px;
    padding: 12px;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
    background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
}
.panel-group .card-body {
    height: auto;
}
/* Accordion */
.panel-group.jaaccordion .card {
    padding: 0;
}
.panel-group .card-body {
    background: #fff;
}

.slick-prev:before, .slick-next:before {
    color: #181818;
    font-size: 2.5rem;
}
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
}
.slick-prev {
    left: -40px;
}
.slick-next {
    right: -40px;
}



.carousel-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
background: rgb(0,0,0);
background: -webkit-linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0) 20%, rgba(45,45,45,0.8519782913165266) 55%, rgba(45,45,45,0.8463760504201681) 100%);
background: -moz-linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0) 20%, rgba(45,45,45,0.8519782913165266) 55%, rgba(45,45,45,0.8463760504201681) 100%);
background: -o-linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0) 20%, rgba(45,45,45,0.8519782913165266) 55%, rgba(45,45,45,0.8463760504201681) 100%);
background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0) 20%, rgba(45,45,45,0.6519782913165266) 55%, rgba(45,45,45,0.6463760504201681) 100%);
  z-index: 9;
}

.carousel-item * {
    z-index: 14;
}

.carousel-item h5 {
    font-size: 2.5em;
    font-weight: 700;
}

.carousel-caption {
    bottom: 5.25em;
    text-align:left;
}
.carousel-indicators, .carousel-control-next, .carousel-control-prev {
    z-index: 14;
}


#sidemenu .input-row{position:relative;}
#sidemenu #tx_indexedsearch #tx-indexedsearch-searchbox-button-submit {background: 0 none;border: 0;box-shadow: 0 0 0;position: absolute;top: 0;right: 0;}
#sidemenu ul.metanav {list-style-type: none;margin: 0;padding: 0;}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {background-color: #952735;border-color: #952735;color:#fff;}
.pagination>li>a, .pagination>li>span{color: #952735;}
.pagination li>* {
    position: relative;
    /*display: block;*/
    padding: 0.375rem 0.75rem;
    color: #0d6efd;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}



.news.news-single span.news-list-status{font-size: 1.5em;color:#f00;}

.news .panel-group .row {
    position: relative;
    overflow: hidden;
    margin-top: -10px;
    margin-bottom: -10px;
    padding: 10px 0;
}
.news .panel-group span.news-list-status {
    position: absolute;
    right: -27px;
    bottom: 16px;
    transform: rotate(-45deg);
    background: #f00;
    padding-left: 30px;
    padding-right: 20px;
    color: white;
    padding-bottom: 3px;
}

.newsbild {max-width: 30%; clear:both;}

.ja-news-warp .thumbnail.pull-right.newsbild:nth-of-type(2) {
    margin-top: 1em !important;
}


ul.nav.nav-sidebar.category-menu-view li ul {
  padding:0;
  margin:0 0 50px;
}

ul.nav.nav-sidebar.category-menu-view li ul li {
  display: inline-block;
  margin: 5px;
}
/*
ul.nav.nav-sidebar.category-menu-view li ul li:first-child{
  margin-left:0;
}

ul.nav.nav-sidebar.category-menu-view li ul li:last-child{
  margin-right:0;
}
*/
ul.nav.nav-sidebar.category-menu-view li a {
  display:inline-block;
  padding: 10px 25px;
  color: #fff;
	background: #952735;
	text-decoration:none;
}

ul.nav.nav-sidebar.category-menu-view li ul li a:hover, ul.nav.nav-sidebar.category-menu-view li ul li a.active {
	background: #2d2d2d;
	text-decoration:none;
}



ul.tx-indexedsearch-browsebox{list-style:none;display:flex;flex-wrap:wrap;margin:25px;padding:0;}
ul.tx-indexedsearch-browsebox li{flex:auto;margin-right:10px;padding:5px 10px;text-align:center;}
ul.tx-indexedsearch-browsebox li a{display:block;width:100%;height:100%;}
ul.tx-indexedsearch-browsebox li.tx-indexedsearch-browselist-currentPage a{color:#fff;cursor:default;text-decoration:none;}
ul.tx-indexedsearch-browsebox li.tx-indexedsearch-browselist-currentPage{background:#952735;}
.tx-indexedsearch-info dt,.tx-indexedsearch-info dd{display:inline-block;}
.tx-indexedsearch-info dd:after{content:" | ";}
.tx-indexedsearch-info dd:last-child:after{content:" ";}
.tx-indexedsearch-res{background:#eee;border-top:2px solid #952735;padding:0 25px;}


.row.news-list-item.boxed {display: flex;flex-wrap: wrap;}
.boxed .col-xs-12{margin-bottom:25px;}
.boxed .col-xs-12 img{max-width:100%;}
.boxed .col-xs-12 .extra{margin-top:0.2em;color:#999;display:inline;}
.boxed .col-xs-12 span.label.label-info{margin-right:.5em;}
.extra.time > div {display: inline-block;}
.extra.time > div > span.glyphicon {margin-right: 4px;}

.boxed .col-xs-12 h3 {font-size:1.2em;margin-top:.5em;margin-bottom:0.2em;font-weight:bold;}
.boxed .col-xs-12 h3 a{color:#3f3f3f;}
.boxed .col-xs-12 h3 a:hover{color:#952735;text-decoration:none;}
.boxed .col-xs-12 .label {
    display: inline-block;
    padding: .3em .6em .4em;
    margin-top: -0.2em;
}
.boxed .page-navigation {flex: 1 100%;}
  .frame-layout-200{display:block;}
  .frame-layout-300{display:none;}

/***************** Sonstiges *****************
 *********************END*********************/


/*=====================================
=                News                 =
=====================================*/
.news-list-view .col-md-9 .articletype-0 .topnews , .col-lg-8 .news-list-view .row.news-list-item {margin-bottom: 30px;}
.news-list-view .row.news-list-item > div.col-md-3 {max-height: 209px;overflow: hidden;margin-bottom: 20px;}
.news-list-view .col-md-9 .articletype-0 h3 {margin-top: 0;}
.news-list-item img.img-responsivee {max-width: 100%;height: auto;}

h4.eventtitle{margin-top:0;margin-bottom:0;}
.news-menu-view .panel {margin-bottom: 10px;}
.news-menu-view .panel-body {padding: 10px;}
h2.eventmonth{font-size:1.5em;}
h4.eventtitleterminliste{margin-top:0;margin-bottom:0;float:left;width:300px;}
.eventitem .footer{display:flex;flex-wrap:wrap;}
.eventitem .footer > *{flex:0 0 50%;}

/*Accordion image \f13a */
#accordion .panel.panel-default .panel-title > a, .jaaccordion .panel.panel-default .panel-title > a{text-decoration:none;color:#952735;display:block;margin:-10px 0;padding:10px 0;}
#accordion .panel.panel-default .panel-title > a:before, .jaaccordion .panel.panel-default .panel-title > a:before{content:"\f138";font-family:"FontAwesome";padding-right:5px;display:inline-block;vertical-align:top;}
#accordion .panel.panel-default .panel-title > a.collapsed, .jaaccordion .panel.panel-default .panel-title > a.collapsed{color:inherit;}
#accordion .panel.panel-default .panel-title > a.collapsed:before, .jaaccordion .panel.panel-default .panel-title > a.collapsed:before{content:"\f138";}
#accordion .panel.panel-default .panel-title > a:hover, .jaaccordion .panel.panel-default .panel-title > a:hover{color:#952735;}
#accordion .panel.panel-default .panel-title .title, .jaaccordion .panel.panel-default .panel-title .title{display:inline-block;width:calc(100% - 20px);padding-left:10px;}
#accordion .panel.panel-default .panel-title .noicon, .jaaccordion .panel.panel-default .panel-title .noicon{width:18.72px;display:inline-bloc}
#accordion .panel.panel-default .panel-heading, .jaaccordion .panel.panel-default .panel-heading {min-height: 43px;}

/*=====================================
=           Media Queries             =
=====================================*/

/*
@media (min-width: 992px) {
.col-lg-7 {
    width: calc(100% - 17% - 350px);
}
.col-lg-3 {
    width: 350px;
}
}*/

@media (min-width: 992px) {
	li.shariff-button.whatsapp { display: none; }
	li.shariff-button.telegram { display: none; }
  #mainnav {padding-top:24px;}
  .menuheight {height: 80px;position:fixed;background: #2d2d2d;width:100%;z-index:9;}
  body > .jumbotron {height: 80px;}
  #mainnav > ul > li > a {font-size: 1em;}
  .fixed {top: 55px;}
  .menu-hauptmenue-container.visible-xs.visible-sm.hidden-md.hidden-lg {
    display: block !important;
    height: 50px;
  }

  .menu-hauptmenue-container.visible-xs.visible-sm.hidden-md.hidden-lg ul li.menu-item {
      display: none;
  }
  .menu-hauptmenue-container li.menu-item.menu-item-has-children:after {
    content: "+";
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 25px;
    z-index: -1;
  }

  .menu-hauptmenue-container li.menu-item.menu-item-has-children > a {
      display: block;
  }

  .menu-hauptmenue-container li.menu-item.menu-item-has-children {
      position: relative;
  }
  .menu-hauptmenue-container li.menu-item.current-menu-item.menu-item-has-children:after {
      content: "-";
  }
}

@media (min-width: 1200px) {

  #mainnav {padding-top:48px;}
  #mainnav > ul > li > a {font-size: 1.0em;line-height: 2em;}
  .fixed {top: 68px;}
  .menuheight {height: 116px;position:fixed;background: #2d2d2d;width:100%;z-index:10;}
  body > .jumbotron {height: 116px;}
}

@media (min-width: 1400px) {
  #mainnav > ul > li > a {font-size: 1.2em;}
}

@media (max-width: 1400px) {
	img.japrev { max-width: 300px; }
}

@media (max-width: 1199px) {
	img.japrev { max-width: 300px; }
  .megamenu li {padding: 5px 20px;}
  .tx-cal-controller .year-table td.year-month{display:block;width:100%;}
  .tx-cal-controller .year-table table tbody > tr{width:100%;display:inline-table;}
  .tx-cal-controller .year-table tbody{width:100%;display:block;}
  .tx-cal-controller .year-table tr{display:inline-table;width:100%;}
}

/*
@media (min-width:768px) and (max-width: 1199px) {
  .ce-intext.ce-right .ce-gallery, .pull-right{float:none;width:100%;}
}
*/

.fancybox-caption-wrap, .fancybox-infobar, .fancybox-toolbar {
    /*visibility: visible;
    opacity: 1;*/
    text-align: center;
}

.fancybox-caption {
    padding: 30px 0;
    border-top: 1px solid hsla(0,0%,100%,.4);
    font-size: 25px;
    color: #fff;
    background: #000000ab;
}


@media (max-width: 991px) {
	#header-meinemtg {display:none;}
	#c3147,#c3163 {display:block;}
	#c3145,#c3162 {display:none;}
	img.japrev { max-width: 300px; }
  #menu-hauptmenue a.searchbutton{display:none;}
  #header-emblem {display:none;}
  #header-title {display:none;}
  .fixedtop{padding-top:48px;}
  .jumbotron {float: left;margin-top: 48px;max-width:100%;overflow:hidden;}
  .jumbotron img.img-responsive {max-width: none;max-height: 150px;width: auto;margin-left: 50%;transform: translateX(-50%);}
  .jumbotron img.img-responsive {max-height: none;max-width: 100%;}
  #site-navigation{position:fixed;}
  #site-navigation.toggled-on{height: calc( 100vh - 68px );overflow: auto;}
  .menumobile{display:block;}
  .mmenu .menumobile{padding-bottom:5em;}
  .menumobile i.fa.fa-bars {width:auto;float:left;}
  .menumobile i.fa.fa-bars:after {content: "Hauptmenü";padding-left:0.5em;display: inline-block;font-size: 18px;font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;  }
  #mainnav > ul {max-height:0;overflow:hidden;}
  #mainnav .menumobile > ul{max-height:0;overflow:hidden;text-align:left;padding:0;margin:0;clear:both;display:none;}
  #mainnav .menumobile > ul.toggled-on {max-height:15000px;overflow:hidden;padding:20px 0;display:block;}
  #mainnav .logo, #mainnav .title{float:right;}
  .logo {width: 136px;text-align: center;}
  .h1, h1 {font-size: 28px;}
  .h2, h2 {font-size: 25px;}
  i.fa.fa-bars {width: 40px;height: 40px;font-size: 25px;line-height: 40px;text-align: center;}
  .title {width: calc( 100% - 140px );text-align: center;}
  .imagezoom {width: 100%; max-width: 100%;}
  .fb-dialog{width:500px;}
  .fb-dialog .pic, .fb-dialog .details{float:none;width:100%;padding-right:0;}
  #main{padding-top:71px;}
  #sidemenu{display:none;}

}


@media (max-width: 768px) {
	img.japrev { max-width: 100%; width: 100%;}
  .ce-intext.ce-right .ce-gallery, .pull-right, .pull-left{float:none!important;width:100%;margin-left:0;max-width:100%;}
  .shariff{position:fixed;bottom:-10px;width:100%;background:#952735;z-index:9;left:0;padding:0px;}
  li.shariff-button{margin-right:0 !important;max-width:none !important;}
  .boxed .col-sm-12{width:100%;}
	.ce-left .ce-gallery, .ce-column {
    float: none;
	}
  .flexcards-wrap-mtg1.contact {
    max-width: 78vw;
    margin: auto;
  }
  .ja-news-warp .thumbnail.newsbild.imagezoom {
    max-width: initial !important;
    margin-bottom: 3em;
  }
  
}
    
}

@media (max-width: 691px) {
	img.japrev { max-width: 100%; width: 100%;}
	.cebild {width: 100%;}
  html.calactive, body.calactive{overflow:hidden !important;}
  td.hasevents .dayevents{display:none !important;}
  td.hasevents > div a{color:#fff !important;}
  td.hasevents:hover > div.dayevents{display:none !important;}
  td.hasevents div.dayevents.active{position:fixed !important;top:0;left:0;right:0;bottom:0;z-index:999 !important;background:rgba(0,0,0,.9) !important;display:block !important;}
  .dayevents.active > div{margin-left:5%;font-size:18px;}
  .dayevents.active > div:first-child{margin-top:35%;margin-left:5%;}
  td.hasevents .dayevents.active:before{content:"\f00d";display:block;color:#333;position:absolute;right:0px;top:0px;z-index:999;font-size:36px;border:0 none;margin:0;width:50px;height:50px;background:#fff;line-height:50px;text-align:center;font-family:fontawesome;}
  td.hasevents.day4:hover > div:before, td.hasevents.day5:hover > div:before, td.hasevents.day6:hover > div:before, td.hasevents.day7:hover > div:before {right: 0;  }
  .ce-intext.ce-right .ce-gallery, .pull-right{float:none;width:100%;}
  .fb-dialog .pic, .fb-dialog .details{float:none;width:100%;}
  .fb-dialog .details{padding-left:0;margin-top:25px;}


  .col-lg-8 div.frame > div:not(.tx-cal-controller) table, .fb-dialog table{
    position:relative;
    margin-bottom: 0;
    overflow: hidden;
    overflow-x: auto;
    display: block;
    position: relative;
  }

  .col-lg-8 div.frame > div:not(.tx-cal-controller) table:before, .fb-dialog table:before {
      content: "Ggf. nach links/rechts scrollen um den Inhalt vollständig zu sehen";
      display:block;
      position:absolute;
      top:0;
      bottom:0;
      left:0;
      right:0;
      background:rgba(0,0,0,0.7);
      color:#fff;
      text-align:center;
      white-space:normal;
      padding:50px;
      font-size:1.1em;
  }
  .col-lg-8 div.frame > div:not(.tx-cal-controller) table:after, .fb-dialog table:after {
      content:"X";
      display:block;
      position:absolute;
      top:2px;
      right:2px;
      width:40px;
      height:40px;
      text-align:center;
      padding: 10px;
      background:#fff;
      font-weight:bold;
      z-index:99;
      cursor:pointer;
  }
  .col-lg-8 div.frame > div:not(.tx-cal-controller) table.hidenotice:before, .col-lg-8 div.frame > div:not(.tx-cal-controller) table.hidenotice:after, .fb-dialog table.hidenotice:before, .fb-dialog table.hidenotice:after{display:none;}
  .frame-layout-200{display:none;}
  .frame-layout-300{display:block}
  .carousel-caption {
    bottom: 3rem;
    width: 75%;
  }

  .carousel-caption h5 {
      font-size: 1.2rem;
  }
  .carousel-caption p {display:none;}
}



@media only screen and (min-width: 360px) {
.shariff .orientation-horizontal.button-style-icon-count li, .shariff .orientation-horizontal.button-style-standard li {
    min-width: 40px;
}
}

@media only screen and (max-width: 1300px){
    #mainnav > ul, .main-navigation ul.nav-menu {margin-left:0;padding-left:0;}
}

@media only screen and (min-width: 769px){
  .newsbild img.img-responsive.pull-right.img-fluid {
    /*max-height: 233px;*/
    width: auto;
  }
	
}