
/* WCAG 2.4.3: Tastaturnavigation – Bootstrap Dropdown (click, not hover) */
#mainmenu li:hover > ul {
    display: none;
}
#mainmenu .dropdown-menu.show {
    display: block;
}
#mainmenu .dropdown-menu {
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
#mainmenu .dropdown-toggle::after {
    display: none;
}
#mainmenu .nav-parent-link > a {
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
/* Icon for 2nd-level items that have a 3rd level */
#mainmenu .dropdown-menu .has-children {
    position: relative;
    padding-right: 24px;
}
#mainmenu .dropdown-menu .has-children::after {
    font-family: FontAwesome;
    content: "\f054";
    font-size: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* 3rd level: fly out to the right */
#mainmenu .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
}

/* WCAG 2.4.11: Fokus-Indikatoren für Tastaturnavigation */
*:focus-visible {
    outline: 3px solid #005FCC !important;
    outline-offset: 2px !important;
}

/* WCAG 2.4.1: Skip-Navigation */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    display: inline-block;
    padding: 8px 16px;
    background: #005FCC;
    color: #FFFFFF;
    font-weight: bold;
    z-index: 9999;
}

/*basics*/
body{
	/*color:#212529;*/
	color:#444;
	font-size:16px;
}
footer{
	margin-top:20px;
}

.tiny-border, .small-border{
	display:none;
	background-color:transparent;
}
.btn-primary{
	background-color: #447AAB;
	border-radius: 10px;
	border-color: unset;
	font-weight: bold;
	min-width: 250px;
}
p.text-center .btn-primary{
	width: 100%;
}
.fullwidthbanner-container{
    margin-bottom: 30px;
}

/*navi*/

#logo{
	max-width: 100%;
}
header .header-top {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 5px;
	gap: 15px;
}
header .login, header .search {
	font-weight: bold;
}
header .search {
	.btn {
		min-width: auto;
	}
}

form.header-logoff{
	display:inline;
	margin-left:15px;
}
header .login a{
	color: #0072bc;
}

#mainmenu-container{
	 margin-top:10px;
 }
#mainmenu{
	font-size: 15px;
}
#mainmenu li ul{
	width: 210px;
}

#mainmenu li li a{
	padding-top: 0;
	padding-bottom: 0;
	font-size: 13px;
}
@media (max-width: 992px) {
	#mainmenu li ul ul {
		left: 30px;
	}
	header .login{
		display:none;
	}
	#logo{
		position:absolute;
		width:240px;
	}
}
@media (min-width: 993px) {
	header{
		height:100px;
	}
}
@media (max-width: 1200px) {
	section#subheader {
		padding-top: 0;
	}
	#subheader .overlay{
		padding:15px 0;
	}
}
#subheader .overlay h1{
	margin-bottom:0;
}
#subheader .overlay .container .row .col-md-12{
	margin-bottom:0;
}


/*bundesvorstand*/
.team-profile h3{
	font-size:18px;
}

/*sektionen*/
div.sektionHeader{
	width:calc(100% - 0);
	min-height: 70px;
	border: 1px solid black;
	/*box-shadow: 5px 5px grey;*/
	padding:10px;
}
div.sektionHeader h1{
	color: #154375;
	text-transform: inherit;
	font-weight: bold;
	margin-bottom: 0;
	text-align: center;
}
@media only screen and (min-width: 768px) {
	div.sektionHeader{
		background-image: url("../Images/gsp-logo-mit-schrift.png");
		background-size: auto 65px;
		background-repeat: no-repeat;
		/*background-position-x: 25px;*/
		background-position-x: calc(100% - 20px);
	}
	div.sektionHeader h1{
		margin-left: 20px;
		width: calc(100% - 270px);
	}
}

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

ul.menu.layout1{
	list-style-type: none;
}
ul.menu.layout1 li{
	margin: 5px 0 0 -40px;
	margin: 5px 0 0 -40px;
}
figcaption{
	font-size: 85%;
	font-style: italic;
}

/*videos*/
iframe.img-fluid{
	max-width:600px;
	max-height:350px;
	min-height:250px;
	width:100%;
}
@media only screen and (min-width: 1224px) {
	iframe.img-fluid{
		min-height:350px;
	}
}

/*icons*/
.gsp-icon{
	margin:5px;
	font-family: inherit;
}
td .gsp-icon{
	font-size:0;
}
.gsp-icon::before{
	font-size:40px;
	margin-right:10px;
	font-family: 'FontAwesome';
}
td .gsp-icon::before{
	margin-right:0;
}
i.fa-youtube{
	color:red;
}

/*ttaddress*/
div.tt_address_list{
	margin-top: 15px;
}
.tt_address_list div.col-md-8{
	padding-top: 10px;
}
.tt_address_list p{
	margin-bottom: 0;
}
.tt_address_list p.position{
	background-color: #447AAB;
	color: white;
	font-weight: bold;
	padding: 0 10px;
	margin-bottom: 15px;
}
.tt_address_list p.title, .tt_address_list p.name {
	font-size:110%;
	color:black;
}
.tt_address_list address{
	margin-bottom: 3px;
}
.tt_address_list .addressContact{
	 padding: 5px 0 0 25px;
 }
.tt_address_list address span{
	display:inline;
}

/*news*/
div.news-text-wrap{
    margin-top:15px;
}
div.news-img-wrap .outer{
    margin:auto;
	margin-top:30px;
}
div.news-img-wrap .outer:first-child{
	margin-top:0;
}
p.news-img-caption{
    font-size: 85%;
    font-style: italic;
    line-height: 110%;
}
div.news-item.item > div.desc > a > h3{
	color: #0072bc;
}
div.news-comment-info{
	margin-top:15px;
	color:black;
	margin-bottom:0;
}
.news-item .desc{
	margin-top:10px;
}
/*provisorisch für News Listen Startseite*/
div#c317 .col-md-12, div#c1606 .col-md-12{
	padding-left:5px;
	padding-right:5px;
	min-height: 78px;
}

/*comments*/
.comments-container{
    margin: 60px 0 15px;
	max-width:100%;
}
#writeComment{
     margin: 0 0 15px;
 }
.comment-box .comment-head span{
    float:none;
    color:inherit;
    font-size:inherit;
    position:static;
}
.comment-box .comment-date{
    line-height: inherit;
}
.comments-list .comment-box{
	width: 100%;
}
.reply-list li::before{
	background:transparent;
}

/*femanager*/
.tx-femanager .bg-danger{
	background-color: inherit !important;
	border: 2px #CC0000 solid;
	color: #CC0000;
}

.xxtx-femanager .error{
	display: block;
	width: 100%;
	color: inherit;
	font-size: inherit;
	margin-bottom: inherit;
}

/*suche*/
ul.tx-indexedsearch-browsebox{
	padding-left: 0;
}
ul.tx-indexedsearch-browsebox > li{
	display:inline-block;
	padding: 0 10px;
}

/*powermail*/
@media only screen and (min-width: 1224px) {
	fieldset.powermail_fieldset.drittel-Spalte {
		width: 360px;
		display: inline-block;
	}
}
.powermail_fieldwrap {
	margin: 0;
}
.powermail_fieldwrap.klein{
	font-size: 80%;
}
.powermail_form{
	background-color: #ddd;
	padding: 1.5rem;
}
.powermail_form .drittel-spalte legend{
	font-size: inherit;
	font-weight: bold;
}
.powermail_form label{
	color: black;
	margin-bottom: 0;
}
#powermail_captchaimage{
	min-width: 350px;
	margin-top: 0.75rem;
}

.powermail_field {
	margin-bottom: 0.75rem;
}

.powermail-errors-list {
	padding: 0;
	color: #CC0000;
	font-size: 0.85em;
}
.powermail-errors-list li {
	list-style-type: none;
}

.news-item .post-details {
    color: #595959;
}

h2 span {
    color: #767676;
}

/* WCAG 1.4.3: KW3 – #subheader h1 span #ddd on variable image bg → white + text-shadow */
#subheader h1 span {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* WCAG 1.4.3: KW4/KW5 – white text on semi-transparent/transparent bg → dark backing
   rgba(0,0,0,0.65) guarantees white ≥ 4.5:1 on any underlying color (worst case white: 7.0:1) */
.btn-border-light,
a.btn-border-slider {
    background: rgba(0, 0, 0, 0.65);
    border-color: #fff;
}

/* WCAG 1.4.11: KW6 – .box-icon-small i white icon without background → #447AAB gives 4.55:1 */
.box-icon-small i {
    background-color: #447AAB;
}

div .twitter-timeline{
	border: #333 solid 1px;
}

#memberModal{
	top: 150px;
}
#memberModal .modal-dialog{
	max-width: 280px;
}
#memberModal .modal-content{
	background-color:transparent;
	border: 0;
}
#memberModal .modal-content img{
	width: 260px
}
#memberModal .modal-content button.close{
	color: red;
	font-size: 4rem;
	margin-bottom: -50px;
}

.tx-solr-autosuggest {
	width: 100%;
}

.tx-solr-autosuggest { border: 1px solid #CCC; background: #FFF; overflow: auto; }
.tx-solr-autosuggest strong { font-weight: bolder; color: #0072bc; }
.tx-solr-autosuggest .autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.tx-solr-autosuggest .autocomplete-selected { background: #F1E0B6; }
.tx-solr-autosuggest .autocomplete-group { padding: 10px 5px; }
.tx-solr-autosuggest .autocomplete-group strong { display: block; border-bottom: 1px solid #999; }

/* Twitter widget */
.twitter-widget {
    max-width: 500px;
    border: 1px solid #cfd9de;
    border-radius: 12px;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f1419;
    overflow: hidden;
	padding: 0;
}
.twitter-widget__header {
    padding: 12px 16px;
    border-bottom: 1px solid #eff3f4;
    font-weight: 700;
    font-size: 15px;
}
.twitter-widget__header-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.twitter-widget__header-link:hover {
    text-decoration: underline;
}
.twitter-widget__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.twitter-widget__item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eff3f4;
}
.twitter-widget__item:last-child {
    border-bottom: 0;
}
.twitter-widget__item:hover {
    background: #f7f9f9;
}
.twitter-widget__avatar {
    flex: 0 0 auto;
    display: block;
}
.twitter-widget__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: block;
}
.twitter-widget__body {
    flex: 1 1 auto;
    min-width: 0;
}
.twitter-widget__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    font-size: 14px;
    line-height: 1.3;
}
.twitter-widget__author-name {
    color: #0f1419;
    font-weight: 700;
    text-decoration: none;
}
.twitter-widget__author-name:hover {
    text-decoration: underline;
}
.twitter-widget__author-handle,
.twitter-widget__time,
.twitter-widget__sep {
    color: #536471;
    text-decoration: none;
}
.twitter-widget__author-handle:hover,
.twitter-widget__time:hover {
    text-decoration: underline;
}
.twitter-widget__text {
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 1.4;
    color: #0f1419;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.twitter-widget__footer {
    padding: 12px 16px;
    border-top: 1px solid #eff3f4;
    font-size: 14px;
}
.twitter-widget__footer a {
    color: #fff;
    text-decoration: none;
}
.twitter-widget__footer a:hover {
    text-decoration: underline;
}
.twitter-widget__empty {
    color: #fff;
    font-style: italic;
}
