:root {
  --cassiopeia-color-primary:#3A4BBD;
  --cassiopeia-color-link: #3A4BBD;
  --cassiopeia-color-hover: #9e2b30;
  --ghh-petrol: #99C4C7; 
  
	}


/*                                                      ### Toolbar ### */
/* --fd-primary-500: #bd1d1d !important; klappt nicht */
#fd .fd-toolbar__link.is-composer {
  background-color: #bd1d1d !important;
  }


/*                                                      ### ConverseKit ### */
/* Farben werden im Backend festgelegt */

/*                                                      ### header ### */

.container-header{
  background-color:white;
  background-image:none;
  box-shadow:1px 2px 4px rgba(0,3,5,0.5);
}
.container-header .nav-item {
  color:#9e2b30;
}
.container-header .nav-item:hover {
   color:var(--cassiopeia-color-link);
}
.container-header .current.active{
  border-bottom:1px solid var(--cassiopeia-color-link);
  color:var(--cassiopeia-color-link);
}
.container-header .navbar-toggler {
    border: 1px solid #fff;
    color: var(--cassiopeia-color-link);
    cursor: pointer;
}
/*                                                      ### menu-items ### */
/* Korrektur falscher breakpoints  */
@media (min-width: 768px) and (max-width:991.98px)  {
	.container-header .mod-menu {
        -webkit-box-flex: 1;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 1 1 0%;
        flex: 1 1 0%;
        -ms-flex-direction: row;
        flex-direction: row;
	}

  	.container-header .mod-menu > li + li {
        margin-left: 1em;
	}


}

/*                                                      ### language-switcher ### */

.mod-languages {
	align-self: center;
	margin-right: 1em;
}
.navbar-expand-md  {
	flex-grow:1;
	/* flex-wrap: nowrap; */
}

/*                                                      ### Footer ### */

.footer {
	background-color:#878787;
	background-image:none;
}

.footer .grid-child {
	padding: .5rem .5em;
	display: block;
}

.container-footer .footer-row {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;

}


.container-footer .nav  {
	flex-wrap:nowrap; /*  important!  */
	margin-top: 1em;
	margin-bottom: 1em;
}


.container-footer .footer-column-left  {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-basis:50%;
    flex-wrap:nowrap;
    
}

.container-footer .footer-column-right  {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-basis:50%;
    flex-wrap:nowrap;
    
}

.container-footer .footer-column-right .logo {
    display: flex; /* for svg this only works if size is declared and no view-box is defined (Affinity Designer options "Ansichtsbox festlegen") */
	align-items: center;
    flex-basis:100%;
    margin-left: 0.5em;
    background-color:white;
    max-height:100px;

}

.container-footer .footer-column-right .logo img  {
	width:100%;
	padding: 0.5em;
}


.container-footer .footer-column-left .mod-menu {
	
	flex-direction:row;
	align-items: center;
	
	
}

.container-footer .footer-column-left .mod-menu li {
    margin-right: 0.5em;
    margin-left: 0.5em;
	flex-basis:100%;
}


.container-footer .zrnds-logo-bg  {
	background-color: white;
	border-radius: 8px;
}


@media (min-width: 992px) {
	.container-footer .footer-row  {
		flex-direction: row;
    }
	.container-footer .footer-column-left  {
		justify-content: flex-start;	
	}

	.container-footer .footer-column-right  {
		justify-content: flex-end;	
	}

}



/*                                                      ### Quick login form ### */

#es form[data-registermini-form]	{

}
div#es label[for=terms-es-fields-287] {

}

div#es .es-login-box__msg	{
	background-color: rgba(0,0,0,0.5);
	border-radius:10px;
}

div#es .es-login-box__msg-title {
	text-shadow: none;
}

div#es .es-login-box__msg-desc {

	font-size:14.5px;
	text-shadow: none;
	font-weight: bold;
}

div#es label[for=terms-es-fields-287] {
	font-weight:bold;
	font-size:14.5px;
}

div#es div[data-field-287] .es-fields-error-note {
	font-weight:bold;
	font-size:13px;

}

div#es label[for=terms-es-fields-287] a {
	color: #cce6ff;
	text-decoration: underline;
}

/* Allgemeine Nutzungsbedingungen-link */
#es .o-checkbox label a {
	font-weight:bold !important;
	color: #70c9ff !important;
	}

/* Fehlermeldungen deutlicher */
#es .es-fields-error-note {
    color: #fff !important;
	background-color: #fc595b;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
}

div#es .o-form-control	{
	color:#000;
	}


div#es .o-form-control::-moz-placeholder,
div#es .o-input-group__addon::-moz-placeholder,
div#es .form-control::-moz-placeholder,
div#es .data-field-textarea textarea::-moz-placeholder  {
  color: #666; /* #BFC8D2 */;
  opacity: 1;
}
div#es .o-form-control:-ms-input-placeholder,
div#es .o-input-group__addon:-ms-input-placeholder,
div#es .form-control:-ms-input-placeholder,
div#es .data-field-textarea textarea:-ms-input-placeholder {
 color: #666; /* #BFC8D2 */;
}
div#es .o-form-control::-webkit-input-placeholder,
div#es .o-input-group__addon::-webkit-input-placeholder,
div#es .form-control::-webkit-input-placeholder,
div#es .data-field-textarea textarea::-webkit-input-placeholder {
  color: #666; /* #BFC8D2 */;
}


/*                                                      ### timeline ### */
/*    Schriften bei farbigem BG nicht mehr fett und zentriert darstellen */

/* editor */
#es div[class*='es-story--bg-'] .es-story-textfield {
	font-size: inherit !important;
	line-height: inherit !important;
	font-weight: inherit !important;
}

/* display */
#es .es-stream div[class*='es-story--bg-'].es-stream-content {
  line-height: inherit !important;
  min-height: inherit !important;
  text-align: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}



/*
#es .es-stream-list > li + li {
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid #e1e1e1;
}
*/

#es .es-stream-list > li,
#es .es-stream-list > li + li {
  border: 1px solid var(--ghh-petrol) !important;
  border-radius: 5px !important;
  padding: 5px !important;
}