/*FONTS*/
@import url("//fonts.googleapis.com/css?family=Nunito+Sans:300,600");

/*BODY*/
.ck-content {
    font-size: 100%;
}
.ck-content {
    font-family: 'Muli', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.875;
    color: #333;
}

/* Aligments */
.align-center { text-align: center }
.align-left { text-align: left }
.align-right { text-align: right }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }

/******************************************************
 * Headings
 ******************************************************/
.ck-content h1, .ck-content h2, .ck-content h3, .ck-content h4, .ck-content h5, .ck-content h6,
.ck-content .heading--h1, .ck-content .heading--h2, .ck-content .heading--h3, .ck-content .heading--h4, .ck-content .heading--h5, .ck-content .heading--h6 {
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: .5em;
	margin-top: 1em;
}

.ck-content h1 a, .ck-content h2 a, .ck-content h3 a, .ck-content h4 a, .ck-content h5 a,
.ck-content .heading--h1 a, .ck-content .heading--h2 a, .ck-content .heading--h3 a, .ck-content .heading--h4 a, .ck-content .heading--h5 a, .ck-content .heading--h6 a {
    color: inherit;
}

.ck-content h1,
.ck-content .heading--h1 {
    font-size: 2.5em;
    line-height: 1.25;
    font-weight: 400;
    font-family: "Nimbus Sans", sans-serif;
}


.ck-content h2,
.ck-content .heading--h2 {
    font-size: 2.25em;
    line-height: 1.25;
    font-weight: 400;
    font-family: "Nimbus Sans", sans-serif;
}

.ck-content p + h2, .ck-content p + .heading--h2,
.ck-content ul + h2, .ck-content ul + .heading--h2,
.ck-content ol + h2, .ck-content ol + .heading--h2 {
	margin-top: 1.25em;
}

.ck-content h3,
.ck-content .heading--h3 {
    font-size: 1.5em;
    line-height: 1.35;
    font-weight: 400;
    font-family: "Nimbus Sans", sans-serif;
}

.ck-content p + h3, .ck-content p + .heading--h3,
.ck-content ul + h3, .ck-content ul + .heading--h3,
.ck-content ol + h3, .ck-content ol + .heading--h3 {
	margin-top: 1.5em;
}

.ck-content h4,
.ck-content .heading--h4 {
    font-size: 1.35em;
    line-height: 1.45;
    font-weight: 400;
    font-family: "Nimbus Sans", sans-serif;
}

.ck-content h4 + p, .ck-content .heading--h4 + p {
	margin-top: .5em;
}

.ck-content h5,
.ck-content .heading--h5 {
    font-size: 1.125em;
    line-height: 1.5;
    font-weight: 600;
    font-family: "Nimbus Sans", sans-serif;
}

.ck-content h5 + p, .ck-content .heading--h5 + p {
	margin-top: .25em;
}

.ck-content h6,
.ck-content .heading--h6 {
  font-size: 1em;
  line-height: 1.5;
  font-weight: 600;
  font-family: "Nimbus Sans", sans-serif;
}

.ck-content h6 + p,
.ck-content .heading--h6 + p {
  margin-top: 0.25em;
}

/******************************************************
 * Paragraphs, Text Styles
 ******************************************************/
.ck-content p,
.ck-content .paragraph {}

.ck-content .text-center + .table {
    margin: auto;
}

.ck-content .factred {
	font-size: 3.33em;
	color: #e2001a;
	font-weight: bold;
	line-height: 1.1;
	padding-top: 0.25em;
}

.ck-content .factred--smaller {
	font-size: 2.2em;
	color: #e2001a;
	font-weight: bold;
	line-height: 1.35;
	padding-top: 0.25em;
}

/******************************************************
 * Links
 ******************************************************/
.ck-content a, .link {
    color: #e2001a;
	text-decoration: none;
    position: relative;
}

.ck-content a:before, .ck-content .link:before {
	content: "";
	display: block;
	position: absolute;
	bottom: -0.05em;
	left: 0;
	transform: scaleX(0);
	width: 100%;
	border-top: 1px solid;
	transition: transform 0.3s ease;
	cursor: pointer;
}

.ck-content a:hover:before, .ck-content .link:hover:before {
    transform: scaleX(1);
}

.link--arrow:before,
.anchor:before,
.navigation__link:before,
.navigation-meta__link:before,
.header__logo-link:before,
.mobilenav__logo__link::before,
.button:before,
.totop-button:before,
.gallery__link:before,
.files__link:before,
.files__size:before,
.navigation-pagination__link:before,
h1 a:before, h2 a:before, h3 a:before/*, h4 a:before, h5 a:before*/ {
    content: none;
}

.ck-content .link--arrow::after {
     content: "";
     display: inline-block;
     height: 1em;
     width: 2em;
     background-image: url(/fileadmin/t8_jetpack/theme/images/icons/sgb-arrow-red.svg);
     background-size: contain;
     background-position: center;
     background-repeat: no-repeat;
     margin-left: 0.75em;
     transition: transform 0.2s ease-in-out;
     margin-bottom: -0.15em;
 }
.ck-content .link--arrow:hover::after {
     transform: translateX(0.25em);
 }


.ck-content .link--icon--external {
    color: inherit;
}
.ck-content .link--icon--external::before {
    width: calc(100% - 2em);
}
.ck-content .link--icon--external::after {
    content: "\f08e";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    margin-left: 1em;
}

/******************************************************
 * hr, Trenner
 ******************************************************/

.ck-content hr {
	border: 0;
	border-top:	1px solid rgba(74, 74, 74, 0.35);
	margin-top: 2em;
	margin-bottom: 1.5em;
}

/******************************************************
 * Buttons
 * Info: Kategorie-Button, DropDown, Submit
 ******************************************************/
.ck-content .button {
	font-size: 0.875em;
	font-weight: 600;
	letter-spacing: 0.028em;
	/*text-transform: lowercase;*/
	text-decoration: none;
	color: #333;
	text-align: center #333;
	border: 1px solid;
	border-radius: 0;
	padding: 0.75em 1.5em 0.75em;
	background-color: transparent;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	text-transform: uppercase;
	letter-spacing: 0.125em;
}

.ck-content .button:hover,
.ck-content .button:focus,
.ck-content .button--active {
    color: #fff;
    background-color: #333;
}
.ck-content .button--red {
    background-color: #ed1c24;
    border:3px solid #ed1c24;
    color: #fff;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    font-size: 0.95em;
}
.ck-content .button--red:hover,
.ck-content .button--red:focus{
    color: #ed1c24;
    background-color: transparent;
    border-color: #ed1c24;
}

.ck-content p .button {
	margin-top: 1.5em;
}


/******************************************************
* Lists
******************************************************/
/* RTE Dropdowns */
.ck-content ul, .ck-content ol {
	padding-left: 1.25em;
}

.ck-content ul:first-child,
.ck-content ol:first-child {
    margin-top: 0;
}

.ck-content ul {
	list-style: none;
	padding: 0;
}

.ck-content ul li {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0.45em 0;
    line-height: 1.65;
}

.ck-content ul li::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #333;
    color: inherit;
    margin-left: 0.2em;
    margin-right: 0.85em;
    margin-top: 0.7em;
    flex: none;
}

/**
 * Zurücksetzen der Überschriftengrössen für DropDown-Feld "Format" (zweites von links)
 * Grund: Texte in DropDown-Menü sonst zu gross und abgeschnitten, Überschriftenbezeichnung nicht vollständig lesbar.
 */
.cke_panel_listItem h1,
.cke_panel_listItem h2,
.cke_panel_listItem h3,
.cke_panel_listItem h4,
.cke_panel_listItem h5,
.cke_panel_listItem p,
.cke_panel_listItem * {
    font: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    border: none;
    padding: 0;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.cke_panel_grouptitle {
    font-family: inherit;
    font-weight: bold;
}


/*
 * Hide unavailable styles
 */
.ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled {
    display: none;
}
