/* Add here all your CSS customizations */

h1 {font-size: 2.5em; margin-bottom: 30px;}
h2 {font-size: 2em; line-height: 1.3em; margin-top: 40px;}
h3 {font-size: 1.5em; margin-top: 40px; margin-bottom: 20px; color: #0e0e0e; text-transform: none;}

img {max-width: 100%; height: auto;}

.frame-default ol {
	list-style-position: outside;
	padding-left: 18px;
}

#session_popup_inner {
    background-color: #fff;
}

#session_popup_inner .frame {
    padding: 20px;
}

#session_popup_inner p:last-of-type {
    margin-bottom: 0;
}

.frame-default ol li {margin-bottom: 20px;}

.frame-default table, .frame-default table td {border: 0px none;}

.home-intro {background-color: #073b8d;}

iframe {
    max-width: 100%;
}

.contenttable tr {
    vertical-align: baseline;
}

.contenttable td {
    padding-right: 10px;
    padding-left: 10px;
}

/* LOGO */
#header .logo {vertical-align: bottom;}
#header .logo-sticky-active {vertical-align: middle;}
#header .logo-sticky-active img {margin-top: 10px;}

/* MENU */
#header nav ul.nav-main li a {padding: 10px;}
#header nav .fa.fa-caret-down {display: none;}

/* SUCHE */
div.search .btn {padding:7px 12px;}
.input-group-btn {position: inherit;}
#tx_indexedsearch td {padding: 3px;}

/* SPRACHMENÜ */
ul.social-icons {margin-top: 0; margin-right: -4px;}
body.sticky-menu-active #header .social-icons {margin-top: 6px;}
ul.social-icons li {padding: 0 5px;}
.social-icons img:hover {opacity: 0.8;}


/* SUBPAGE-HEADER */
.page-top {background-color: #073b8d; margin-bottom: 2px; border-top-color: #fff; color: #c1c1c1;}
.breadcrumb a {color: #f19012;}
section.page-top h2 {border-bottom-color: #f19012;}


/* SLIDER */
.slider-container {height: auto; max-height: 500px;}
.theme-default .nivoSlider {background-color: #073b8d; margin-bottom: 0;}
.subpage-slider {margin-bottom: 30px;}



/* 4 BOXEN */
.featured-boxes.blue .box-content {border-top-color: #073b8d;}
.featured-boxes h1 {
	color: #073a8d;
	font-size: 1em;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 18px;
    margin: 30px 0 14px;
    text-transform: none;
}


/* PERSONENBOXEN */
.personenboxen .frame-type-textpic {
	width: calc(25% - 3px);
	display: inline-block;
	vertical-align: top;
	/* float: left; */
	min-height: 350px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    
    margin-bottom: 30px;
    margin-top: 45px;
    
    
}
.personenboxen .frame-type-textpic .ce-textpic {
	padding: 30px 30px 10px;
	text-align: center;
	
	background: linear-gradient(to bottom, white 1%, #f9f9f9 98%) repeat scroll 0 0 transparent;
    border-bottom: 1px solid #dfdfdf;
    border-left: 1px solid #ececec;
    border-radius: 8px;
    border-right: 1px solid #ececec;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    min-height: 300px;
    position: relative;
    text-align: center;
    z-index: 1;
    border-top: 4px solid #073b8d;
}



/* FLAGGEN BOXEN */
.language-boxes .box-content {border-top-color: #ea8800;}
.language-boxes h1 {
	display: table;
	height: 3.4em;
	margin: 0 auto 20px auto;
	font-size: 1.3em;
	font-weight: 400;
	line-height: 1.7em;
}
.language-boxes h1 span {
	display: table-cell;
	vertical-align: middle;
}
.language-boxes img {margin-bottom: 25px;}
.language-boxes a {text-decoration: none; font-weight: normal; color: #777777;}
.language-boxes a:hover {text-decoration: none; font-weight: normal; color: #000;}


/* ZITAT */
.home-intro p {max-width: none; font-size: 1.1em; padding-top: 10px;}
.home-intro p span {color: #fff; font-size: 0.6em; display: inline; padding-left: 15px;}

/* NEWS */
/* .home-news {margin-top: 100px;} */
.home-news {margin-top: 30px;}
.home-news .post-image img {max-width: 100%; height: auto;}

.home-news .post-meta {padding-top: 5px;}

.pagination-lg > li:first-child {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    margin-left: 0;
}

.pagination-lg li > span {color: #777777;}
.pagination-lg li > span:hover {color: #777777; background-color: #fff;}

.news-single-img img {max-width: 100%; height: auto;}

.news-img-wrap img {
    width: 100%;
}


/* FORMULAR */
.powermail_fieldset {margin-left: -15px; margin-right: -15px;}
.powermail_fieldwrap {padding: 0 15px;}
.tx-powermail label a {text-decoration: underline;}
.powermail_fieldwrap {
    margin-bottom: 10px;
}
.powermail_input, .powermail_textarea {
	background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 250px;
	max-width: 100%;
    width: 100%;
}
.powermail_textarea {
    height: 200px;
	width: 100%;
	max-width: 100%;
}
.powermail_submit {
	background-color: #073b8d;
    border-color: #073b8d !important;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    width: auto;
}


/* GALERIEN */

/* "Zeigen Alben 1 bis x von x" ausblenden
.tx-yag-pager {display: none;}*/
.tx-yag-lightbox-permalink {display: none;}
.tx-yag-lightbox-leftcolumn h4 {color: #fff;}
.tx-yag-gallery-thumb-outerframe, .tx-yag-album-thumb-outerframe {width: 50%;}



/* TERMINE */
.columYear {
    color: #073b8d;
    font-size: 20px;
    font-weight: bold;
}
.columYear,
.columPrevious,
.columNext {padding-bottom: 15px !important;}
.linked_today_nolink {background-color: #f19012 !important; color: #fff !important;}
.newsCalendar_listBody, .newsCalendar_listItem  {padding: 0 !important;}
.newsCalendar_listHeader {display: none;}
.linked_day {
	background-color: #073b8d !important;
	border: 0px none !important;
}
.rcMenuItemText {background-color: #fff !important; color: #000 !important;}
.rcMenuItem, .rcMenuItemHover {background-color: #fff !important; border: 0px none !important; padding-left: 20px !important;}
#rcRightContextTable td {text-decoration: none !important; cursor: default !important;}
.newsCalendar_listItem {padding-bottom: 5px !important;}


/* Modal */

.modal {
    background: #0006;
    font-size: 16px;
    word-break: break-word;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-character: "-";
    hyphenate-character: "-";
}

.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.modal-content {
    width: 100%;
}

.modal-body {
    position: relative;
}

.modalclose {
    background: transparent;
    border: none;
    font-size: 3rem;
    padding: 0;
    position: absolute;
    top: 10px;
    right: 15px;
}

.imagemodal .modal-body {
    padding: 0;
}

.imagemodal .modalclose {
    top: 15px;
    right: 20px;
    color: #fff;
    text-shadow: 0 0 10px #000;
}

.pull-right {
    float: none !Important;
}

#cookieman-modal [data-toggle=collapse]:after {
    content: "\f106";
    font: normal normal normal 14px/1 FontAwesome;
}

#cookieman-modal [data-toggle=collapse].collapsed:after {
    content: "\f107";
    font: normal normal normal 14px/1 FontAwesome;
}

#cookieman-settings [data-toggle=collapse]:after {
    margin-top: 5px;
}

.btn-default {
    background-color: #073a8d20;
}


/* FOOTER */
#footer {
	background-color: #073b8d;
	border-top: 0px none;
	color: #fff;
	font-weight: 100;
}
#footer p {color: #fff;}
#footer ul {
	list-style: none;
	padding: 0;
}
#footer div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {margin-bottom: 0;}
/* #footer .footer-copyright p {color: #fff;} */
#footer .footer-copyright nav {padding-top: 5px;}

#footer .contactblock ul {
	list-style: none outside none;
    margin: 0;
    padding: 0;
}

#footer .contactblock ul li {margin-bottom: 10px;}

#footer .contactblock ul i {
	display: block;
    float: left;
    font-size: 1.2em;
    margin: 7px 8px 10px 0;
    position: relative;
    text-align: center;
    top: -2px;
    width: 16px;
}

#footerleiste .ce-textpic {display: flex; align-items: center;}
#footerleiste .copyright img {margin-right: 20px;}


#footer .facebooklink {
    text-align: end;
    font-size: 3rem;
}

#footerleiste .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#footer .footer-copyright nav ul li:last-of-type {
    padding-right: 0;
}



/* NEWS */
.more-link {float: right;}
.more-link a {
	background-color: #073a8d;
    border-color: #073a8d !important;
    border-radius: 3px;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    font-size: 12px;
    line-height: 1.5;
    padding: 1px 5px;
    cursor: pointer;
    display: inline-block;
    -moz-user-select: none;
    background-image: none;
    font-weight: normal;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.more-link a:hover {background-color: #0844a5; text-decoration: none;}

.news-single-backlink {margin-top: 20px;}
.news-single-item h1 {margin-top: 20px; margin-bottom: 20px;}
.news-single-item h2 {margin-top: 0;}

.home-news h2 {margin-top: 0;}

.add_images {margin-bottom: 20px;}
.add_images img {margin-right: 10px;}

.ce-gallery figure {display: block;}
.ce-gallery figcaption {display: block; text-align: center;}
.headerimage .ce-gallery {margin-bottom: 0; width: 100%; }
.headerimage .ce-gallery .ce-column, .headerimage .ce-gallery .ce-column figure, .headerimage .ce-gallery .ce-column figure img {width: 100%;}

.tx-genericgallery-pi1 > .row > div {margin-bottom: 30px;}
.tx-genericgallery-pi1 .f3-widget-paginator {margin-top: 50px;}

.news-single h1 {margin-bottom: 10px;}
.news-single h2 {margin-top: 0; margin-bottom: 20px;}
.news-single .header-image {margin-bottom: 30px;}
.news-single .header-image img {width: 100%;}
.news-single .news-img-wrap {margin-top: 30px;}
.news-single .news-img-wrap > .row > div {margin-bottom: 30px;}
.news-single .news-footer {margin-top: 30px;}
.news-single .news-footer .row > div:last-of-type {text-align: right;}
.news-single .news-backlink-wrap {margin-top: 10px !important;}
.shariff .orientation-horizontal {display: block !important;}
.news-single .shariff .share_text {display: none !important;}
.shariff li, .shariff li a {height: 40px !important; line-height: 40px !important; width: 40px !important; text-align: center;}
.shariff .orientation-horizontal li {float: none !important; margin-bottom: 0 !important; display: inline-block;}
.shariff .orientation-horizontal.button-style-standard li {min-width: unset !important;; max-width: unset !important; flex: unset !important;}


/* Anpassungen Calendarize 2020-11-23 */
.calendarize .month-header {display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 1.5em; margin-bottom: 20px;}
.calendarize .month-header .month {color: #073b8d; font-weight: bold; }
.calendarize table {text-align: center;}
.calendarize table th {text-align: center;}
.calendarize table, .calendarize table td {border: 1px solid #ddd;}
.calendarize .table > thead > tr > th {border-bottom: 0;}
.calendarize .table > tbody > tr > td {padding: 0;}
.calendarize .table > tbody > tr > td.not-current-month {opacity: 0.6;}
.calendarize .table > tbody > tr > td.hasEvents {background-color: rgba(7,59,141,0.1);}
.calendarize .table .day {background-color: rgba(0,0,0,0.05); color: #999; padding: 5px;}
.calendarize table ul.events {list-style: none; padding: 10px; margin: 0; word-wrap: break-word; font-size: 0.9em; line-height: 22px;}
.calendarize table ul.events li + li {border-top: 1px solid #ddd; margin-top: 10px; padding-top:10px;}

/* DCEs */

.row.downloaditem { padding:20px; }
.row.downloaditem.odd{ background-color:#f7f7f7; }
.row.downloaditem h3{ /*font-size:1.4rem;*/ margin-bottom:5px; margin-top:0px; }
.row.downloaditem span{ display:block; /*color:#444;*/ font-weight:300; font-size:14px; margin-top:0; }
.row.downloaditem .btn{ /*color:#ffffff !important;*/ margin-top:8px; display: block; }
.row.downloaditem .btn:hover{ /*color:#ffffff !important;*/ }
.row.downloaditem .btn span{ display:block; font-size:0.9rem; font-style:italic; text-transform:uppercase; /*color:#ffffff;*/ font-weight:light; }
.row.downloaditem .fas{ padding:0 10px 0 20px; }
.row.downloaditem .fas:first-child{ padding-left:0px; }

/* Gallery */

.c-gallery .c-gallery__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.c-gallery .c-gallery__figure {
    margin-bottom: 30px;
}

/* RESPONSIVE */

@media (max-width: 575px) {
    .modal-footer .btn, .modal-footer .btn + .btn {
        width: 100%;
        margin-bottom: 5px;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 1200px) {
	#header nav ul.nav-main li a {padding: 10px 5px !important; font-size: 10px;}
	.personenboxen img {width: 100%; height: auto;}
}
@media (min-width: 992px) {
    .powermail_fieldwrap.layout2 {width: 50%; float: left;}
    .calendarize .month-header .month {color: #073b8d; font-weight: bold; font-size: 24px;}
    .calendarize .table > thead > tr > th {border-bottom: 0; width: 14.2857%;}
    .calendarize .table > tbody > tr > td .no-events {height: 44px;}
    #languagemenuMobile {display: none;}
    #footerblock .row {display: flex; align-items: flex-end;}
}
@media (max-width: 991px) {
	.home-news .post-image {margin-bottom: 20px;}
    .personenboxen .frame-type-textpic {width: calc(50% - 3px);}
	#header nav ul.nav-main li a {font-size: 12px;}
	#header nav ul.nav-main li.dropdown:hover > a {margin-bottom: 0;}
	.btn-responsive-nav, #header .nav-main-collapse {background-color: #073a8d;}
	#header .nav-main ul li {border-bottom: 1px solid rgba(255, 255, 255, 0.2);}
	#header nav .fa.fa-caret-down {display: block; float:right; font-size: 20px;}
	#header nav .dropdown .dropdown-menu li:first-of-type a {padding-top: 0 !important;}

    .calendarize .table {display: block;}
    .calendarize .table thead {display: none}
    .calendarize .table > tbody {display: block;}
    .calendarize .table tr {display: block;}
    .calendarize .table td {position: relative; padding-left: 53% !important; display: block;}
    .calendarize .table td::before {content: attr(data-title); text-transform: uppercase; position: absolute; top: 15px; left: 15px; width: 45%; padding-right: 10px; transform: translateY(-50%);}
    .calendarize .table td.not-current-month {display: none;}

    .news-img-wrap img {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .news-single .news-backlink-wrap {margin-top: 0; margin-bottom: 20px; text-align: center;}
    .news-single .news-footer .row > div:last-of-type {text-align: center;}

}

@media (max-width: 480px) {
	.pagination-lg > li > a, .pagination-lg > li > span {padding: 5px 12px;}
    .personenboxen .frame-type-textpic {width: 100%;}
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { top:0; }



.subpage-slider {display: none;}
#content.subpage {padding-top: 30px;}

@media (min-width: 768px) and (max-width: 1199px) {
    .c-gallery .c-gallery__image {
        height: 450px;
    }
}





