@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/scsbd___-webfont.woff2') format('woff2'),
         url('../fonts/scsbd___-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/scsbdit_-webfont.woff2') format('woff2'),
         url('../fonts/scsbdit_-webfont.woff') format('woff');
    font-weight: bold italic;
    font-style: normal;

}

@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/scsrg___-webfont.woff2') format('woff2'),
         url('../fonts/scsrg___-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* open-sans-600 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/open-sans-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }


.clearfix {
	clear: both;
}

.modal-body {
	overflow-x: scroll;
}

.scrollToTop{
	width: 200px; 
	padding: 5px; 
	font-size: 14px;
	text-align:center; 
	background: whitesmoke;
	color: rgba(62, 61, 64, 1.00);
	text-decoration: none;
	position:fixed;
	background-color: #eee;
    border: 1px solid #ddd;
	margin: 0px 0 0 -100px;
    left: 50%;
	bottom: 0;
	display:none;
	z-index: 100;
	border-radius: 2px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	transition: .2s all;
}
.scrollToTop:hover{
	text-decoration:none;
}

.modal-dialog {
	width: calc(100% - 20px);
}

@media (min-width: 768px) {
	.modal-dialog {
		max-width: 1000px !important;
	}
	.modal-small {
		max-width: 300px !important;
	}
}

@media screen and (max-width: 480px) {
	.scrollToTop{
		width: 100% !important; 
		font-size: 13px;
		border-radius: 0;
		padding: 8px; 
		margin: 0px 0 0 0 !important;
		left: 0 !important;
	}
}

body {
  padding-top: 30px;
  padding-bottom: 20px;
  color: rgba(62, 61, 64, 1.00);
  font-family: 'Scala Sans', Arial, sans-serif;
}

.ui-widget { 
  color: rgba(62, 61, 64, 1.00);
  font-family: 'Scala Sans', Arial, sans-serif;
}

a {
	color: rgba(146, 199, 186, 1);
	transition: .2s all;
}

a:hover {
	color: rgba(146, 199, 186, .8);
}

h4 {
	padding-top: 0;
	margin-top: 0;
	padding-bottom: 10px;
}

.highlight {
	font-weight: bold;
}

.regelVerb {
	padding-top: 8px;
	padding-bottom: 8px;
	border-top: 1px solid #ddd;
	color: rgba(62, 61, 64, 1.00) !important;
}
.regelVerb a {
	color: rgba(62, 61, 64, 1.00) !important;
}

.contentRow {
	padding-left: 8px !important;
}

tr td,
.search-content .row {
	padding-top: 8px;
	padding-bottom: 8px;
	border-top: 1px solid #ddd;
	transition: .2s all;
}

tr:hover td,
.search-content .row:hover, .search-content .row:nth-child(odd):hover {
	background-color: rgba(146, 199, 186, .25);
}

tr:nth-child(odd) td,
.search-content .row:nth-child(odd) {
	background-color: rgba(62, 61, 64, .035);
}

tr td a,
.search-content .row a {
	color: rgba(62, 61, 64, 1.00) !important;
	cursor: pointer !important;
}

.form-control:focus {
	border-color: rgba(62, 61, 64, .5) !important;
}

.search-header {
	font-weight: bold;
	font-size: 15px !important;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd !important;
	border-top: none !important;
	background-color: #fff !important;
	margin-top: -3px;
}

.main-cat {
	background-color: #fff !important;
	font-weight: bold;
	font-size: 15px;
	padding-top: 8px !important;
	padding-bottom: 8px;
	border: none !important;
}

.cat-header {
	background-color: rgba(146, 199, 186, 1) !important;
	font-weight: bold;
	font-size: 15px;
	padding-top: 7px;
	padding-bottom: 7px;
	color: rgba(62, 61, 64, 1.00);
}

.list-cat-list {
	
}

.list-cat-wrapper {
	display: none;
}

.list-cat-wrapper--open {
	display: block;
	margin-bottom: 20px;
}

.list-cat-toggle {
	font-weight: bold;
	font-size: 16px;
	padding: 12px 0;
	margin: 10px -15px 0 -15px;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
	position: relative;
	transition: .2s all;
}

.list-cat-toggle:hover {
	opacity: .65;
}

.list-cat-toggle::after {
	content: " ";
	position: absolute;
	right: 10px;
	top: 22px;
	border: solid transparent;
	height: 0;
	width: 0;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-top-color: #aaa;
	border-width: 6px;
}

.list-cat-toggle--active::after {
	top: 14px;
	transform: rotate(-180deg);
}

.list-cat-toggle:first-child {
	margin-top: 0;
}

.list-cat-sub-toggle {
	font-weight: bold;
	font-size: 16px;
	padding: 12px 15px 12px 30px;
	margin: 0 -15px;
	border-bottom: 1px solid #ddd;
	background-color: #f8f8f8;
	cursor: pointer;
	position: relative;
	transition: .2s all;
}

.list-cat-sub-toggle:hover {
	opacity: .65;
}

.list-cat-sub-toggle::after {
	content: " ";
	position: absolute;
	right: 10px;
	top: 22px;
	border: solid transparent;
	height: 0;
	width: 0;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-top-color: #aaa;
	border-width: 6px;
}

.list-cat-sub-toggle--active::after {
	top: 14px;
	transform: rotate(-180deg);
}

.list-cat-sub-list {
	display: none;
	padding: 15px 0 15px 15px;
}

.list-cat-sub-list--open {
	display: block;
}

.open-more-results {
	margin: 25px 0 15px 0;
	width: 200px;
}

.open-hidden-results {
	position: absolute; 
	right: 10px;
}

br[class*="spacer"] {
    display: block;
    content: " ";
}
.spacer-sm {
    margin-bottom: 10px;
    line-height: 10px;
}
.spacer-md {
    margin-bottom: 20px;
    line-height: 20px;
}
.spacer-lg {
    margin-bottom: 40px;
    line-height: 40px;
}
.spacer-xl {
    margin-bottom: 80px;
    line-height: 80px;
}

ul.numbered li {
	list-style: decimal;
	padding-bottom: 10px;
}

ul li {
	padding-top: 5px;
}

ul li ul {
	padding-top: 10px;
}

ul li ul li {
	list-style: lower-alpha !important;
	padding-bottom: 10px;
}

.header,
.marketing,
.footer {
  background-color: #fff !important;
  padding-right: 15px;
  padding-left: 15px;
}

.header {
  /*border-bottom: 1px solid #e5e5e5;*/
}

.header-sponsor-text {
	font: 13px 'Open Sans', sans-serif;
	text-transform: uppercase;
	margin-top:0px;
}

.header-info {
	font-size: 9px;
	line-height: 13px;
	margin-top: -5px;
	color: #888;
	font-weight: bold;
}

.brand {
	padding-bottom: 5px;
}

.nav {
	margin-top: -10px;
	text-align: right !important;
}

.nav li {
	right: 0;
}

.nav>li>a {
	position: relative;
	display: block;
	padding: 10px 0 10px 35px !important;
	transition: .2s all;
}
.nav>li:first-child>a {
	padding-left: 15px !important;
}

.nav li a:hover {
	background: none;
}


.header h3 {
  padding-bottom: 19px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

.btn-link {
	color: rgba(146, 199, 186, 1) !important;
	transition: .2s all;
}

.btn-link:hover {
	color: rgba(146, 199, 186, .8) !important;
}

.btn-info {
    color:rgba(255, 255, 255, 1.00) !important;
    background-color: rgba(62, 61, 64, 1.00) !important;
  	border-color: rgba(62, 61, 64, 1.00) !important;
	transition: .2s all;
}

.btn-info:hover {
	background-color: rgba(62, 61, 64, .8) !important;
  	border-color: rgba(62, 61, 64, .8) !important;
}

.btn-primary {
  color: rgba(255, 255, 255, 1.00);
  background-color: rgba(62, 61, 64, 1.00) !important;
  	border-color: rgba(62, 61, 64, 1.00) !important;

  outline: none;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  transition: .2s all;
}

.btn-primary:hover {
	background-color: rgba(62, 61, 64, .8) !important;
  	border-color: rgba(62, 61, 64, .8) !important;
}

.btn-primary:focus {
	outline: none !important;
	color: #fff !important;
	background-color: rgba(62, 61, 64, 1.00) !important;
  	border-color: rgba(62, 61, 64, 1.00) !important;
}

.btn-primary:active {
	color: #fff !important;
	background-color: rgba(146, 199, 186, 1) !important;
	border-color: rgba(146, 199, 186, 1) !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.open .dropdown-toggle.btn-default,
.btn-default.active,
.btn-default.active:hover {
	color: rgba(255, 255, 255, 1.00) !important;
	background-color: rgba(62, 61, 64, 1.00) !important;
	border-color: rgba(62, 61, 64, 1.00) !important;
  
  outline: none;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  transition: .2s all;
}

.btn-default:focus {
	outline: none !important;
	color: rgba(255, 255, 255, 1.00) !important;
  	background-color: rgba(62, 61, 64, 1.00) !important;
  	border-color: rgba(62, 61, 64, 1.00) !important;
}

.btn-default:active {
	color: rgba(255, 255, 255, 1.00) !important;
  	background-color: rgba(62, 61, 64, 1.00) !important;
  	border-color: rgba(62, 61, 64, 1.00) !important;
}

.form-control {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.menu-in-jumbotron li {
	padding-left: 10px;
	padding-right: 10px;
}

.menu {
	font-size: 95%;
}

.footer {
  font-size: 90%;
  margin: 40px 0;
  padding-top: 20px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

.footer a {
  color: #777;
}

.footer .list-inline>li {
	display: inline-block;
	padding-left: 15px;
	padding-right: 15px;
}

.footer .list-inline>li:last-child{
	display: inline-block;
	padding-left: 15px;
	padding-right: 0;
}

@media (min-width: 768px) {
.container {
    max-width: 1024px;
}
}

.container-narrow > hr {
  margin: 30px 0;
}

.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  padding: 26px 0 26px 0;
  padding-left: 35px !important;
  padding-right: 35px !important;
  margin-bottom: 20px;
  margin-top: -5px;
  background-color:  rgba(146, 199, 186, 1);
}

.jumbotron a {
	transition: .2s all;
	color:	rgba(62, 61, 64, 1.00)
}

.jumbotron hr {
	margin-top: 30px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #f2f2f2;
}

.jumbotron .menu-in-jumbotron li {
	font-size: 15px;
}

.jumbotron .intro-welcome {
	font-size: 18px;
	color: white;
	margin-top: -10px;
}

.jumbotron .intro-welcome a {
	color: white;
	transition: .2s all;
}

.jumbotron .intro-welcome a:hover {
	opacity: 0.8;
}

.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

@media screen and (min-width: 768px) {
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  .header {
    margin-bottom: 30px;
  }
  .jumbotron {
    border-bottom: 0;
  }
}
.smt-cookie-note {
    border-top: 2px solid rgba(146, 199, 186, 1) !important;
}

.smt-cookie-note .inner .left .text a {
    color: #60605e !important;
}

.smt-cookie-note .inner .right .button {
    background: rgba(146, 199, 186, 1) !important;
}

/* Remove focus outline on click, keep it for keyboard navigation */
button:focus,
.btn:focus,
.btn-link:focus,
a:focus,
[data-toggle="modal"]:focus,
[data-dismiss="modal"]:focus {
	outline: none !important;
	box-shadow: none !important;
}

/* Show outline only when navigating with keyboard (accessibility) */
button:focus-visible,
.btn:focus-visible,
.btn-link:focus-visible,
a:focus-visible,
[data-toggle="modal"]:focus-visible,
[data-dismiss="modal"]:focus-visible {
	outline: 2px solid rgba(146, 199, 186, 1) !important;
	outline-offset: 2px;
}

/* Grammatik Page Styles */
.grammatik-container {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.grammatik-sidebar {
	width: 300px;
	flex-shrink: 0;
	border-right: 1px solid #ddd;
	padding-right: 20px;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
	position: sticky;
	top: 20px;
}

.grammatik-content {
	flex: 1;
	min-width: 0;
}

.chapter-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 10px;
	cursor: pointer;
	border-left: 3px solid transparent;
	border-bottom: 1px solid #eee;
	transition: .2s all;
	min-height: 48px;
	text-decoration: none;
	color: rgba(62, 61, 64, 1.00);
}

.chapter-header:hover {
	background-color: rgba(146, 199, 186, 0.08);
	border-left-color: rgba(146, 199, 186, 0.3);
}

.chapter-header.active {
	background-color: rgba(146, 199, 186, 0.25);
	border-left-color: rgba(146, 199, 186, 1);
	font-weight: bold;
}

.chapter-toggle {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 10px;
	padding: 8px;
	flex-shrink: 0;
	position: relative;
	cursor: pointer;
}

.chapter-toggle::after {
	content: "";
	border: solid rgba(62, 61, 64, 0.6);
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(-45deg);
	transition: transform 0.2s;
}

.chapter-toggle.expanded::after {
	transform: rotate(45deg);
}

.chapter-title {
	flex: 1;
	line-height: 1.2;
	margin-right: 10px;
}

.chapter-header {
	font-size: 15px;
}

.chapter-header.level-0 {
	font-weight: bold;
}

.chapter-header.level-1 {
	padding-left: 20px;
}

.chapter-header.level-1 .chapter-toggle {
	margin-left: 0;
}

.chapter-header.level-2 {
	padding-left: 35px;
}

.chapter-children {
	display: none;
}

.chapter-children.expanded {
	display: block;
}

.content-display {
	min-height: 400px;
}

.content-display h1 {
	color: rgba(62, 61, 64, 1.00);
	margin-top: 0;
	padding-bottom: 12px;
	border-bottom: 2px solid rgba(146, 199, 186, 1);
	margin-bottom: 20px;
	font-size: 28px;
}

.content-display h2 {
	color: rgba(62, 61, 64, 1.00);
	margin-top: 25px;
	margin-bottom: 15px;
	font-size: 24px;
}

.content-display h3 {
	color: rgba(62, 61, 64, 1.00);
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 20px;
}

.content-display p {
	margin-bottom: 15px;
	line-height: 1.6;
}

.content-display ul,
.content-display ol {
	margin-bottom: 15px;
	line-height: 1.6;
	padding-left: 30px;
}

.content-display ul li {
	list-style-type: disc;
	padding-top: 3px;
	padding-bottom: 3px;
}

.content-display ol li {
	list-style-type: decimal;
	padding-top: 3px;
	padding-bottom: 3px;
}

.content-display code {
	background-color: rgba(62, 61, 64, 0.05);
	padding: 2px 6px;
	border-radius: 3px;
	font-family: monospace;
	font-size: 0.9em;
}

.content-display img {
	max-width: 100%;
	height: auto;
	margin: 15px 0;
	border-radius: 4px;
}

.content-display a {
	color: rgba(146, 199, 186, 1);
	text-decoration: underline;
}

.content-display a:hover {
	color: rgba(146, 199, 186, .8);
}

.loading-message {
	text-align: center;
	padding: 40px;
	color: #999;
	font-style: italic;
}

@media (max-width: 768px) {
	.grammatik-container {
		flex-direction: column;
	}

	.grammatik-sidebar {
		width: 100%;
		max-height: 300px;
		border-right: none;
		border-bottom: 1px solid #ddd;
		padding-right: 0;
		padding-bottom: 20px;
		position: static;
	}
}