*{
    box-sizing: border-box;
}

#MyGcseWrapper *{
    box-sizing: content-box;
}

/*Um alte Browser die Sachen richtig anzeigen zu lassen
  Support-Krempel*/
header, section, footer, aside, nav, main, article, figure {
    display: block;
}

/*Groessen-Definitionen: Website in 12 Spalten unterteilt:
  Die einzelnen Klassen geben jeweils an, wie breit ein Element mit dieser Klasse ist.*/
 /* For mobile phones: */
[class*="col-"] {
    width: 100%;
	float: left;
}
@media only screen and (min-width: 600px) {
    /* For tablets: */
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}


.row:after {
    content: "";
    clear: both;
    display: block;
}


/*
Verdana
Helvetica
Tahoma

Geneva
*/


/*remove space around body*/
body{
	padding: 0;
	margin: 0;
	font-family: Helvetica, Arial, sans-serif;
	background-color: #f5f5f5;
	color: black;
}

body, input, textarea, select, button, i{font-size: 11pt;}


/*icons*/
i.tiny   {font-size: 100%;}
i.small  {font-size: 200%;}
i.medium {font-size: 400%;}
i.large  {font-size: 600%;}

i.faSmall{font-size: 154%;}
i.buttonSize{font-size: 127%;}
i.closeInfoBox{font-size: 105%;}


a{
	color: #0050B6;
	text-decoration: none;
	cursor: pointer;
}

a:hover, a:active{
	text-decoration: underline;
}

a:active{
	color: #002c66;
}

.bigWrapper{
	max-width: 1080px;
	background-color: #f5f5f5;
}

@media only screen and (min-width: 1080px) {
    .bigWrapper, div.headNavDiv{
		margin: auto;
	}
}










/*header, nav und footer*/
div.headNavDiv{
	width: 100%;
	background-color: white;
	box-shadow: 0px 1px 4px 0px rgba(175,175,175,0.5);
	text-align: center;
}

section{
	box-shadow: 0px 1px 4px 0px rgba(175,175,175,0.5);
}

footer{box-shadow: 0px 1px 4px 0px rgba(175,175,175,0.5);}









/*header*/
header{
	width: 100%;
	text-align: center;
	color: black;
	padding: 10px;
	background-color: white;
}

header a{
	display: block;
	text-decoration:none;
}


header, nav, #dropdownBar{
	max-width: 1280px;
	margin: 0 auto 0 auto;
}














/*footer*/
footer {
	width: 100%;
	font-size: 80%;
	text-align: center;
	background-color: white;
	line-height: 200%;
}


/*footer::before{
	content: "";
	display: block;
	height: 1px;
	clear: both;
	margin: 0px;
	margin-top: 10px;
	background: #909090;
}*/

#footerParagraph{
	padding: 10px;
	vertical-align: middle;
}

#impressumFooterSpan{}
#nutzungsbedingungenFooterSpan{display: none;}
#datenschutzFooterSpan{}
#agbFooterSpan{display: none;}
.footerSpan{}











/*navigation bar*/
nav, .dropdownMenuClass{
	width: 100%;
	font-size: 115%;
	background-color: white;
	color: black;
	border: none;
	z-index: 7;
}
.dropdownMenuClass{
	font-size: 105%;
	display: none;
	padding-top: 11px;
	text-align: left;
}

.floatRight{
	float: right;
}

#overflowMenuDiv{
	text-align: right;
}

@media only screen and (max-width: 600px) {
	.dropdownMenuClass, #overflowMenuDiv{
		text-align: center;
	}
}


nav a, .dropdownMenuClass a{
	float: left;
	display: block;
	cursor: pointer;
	text-decoration: none;
	background-color: inherit;
	color: inherit;
	padding: 8px 10px 5px 10px;
	border-bottom: 3px solid white;
}

.currentlyDroppedDown{
	border-color: rgba(50,50,50,0.5);
}

.dropdownMenuClass a{
	display: inline-block;
	float:none;
}

nav a:hover, nav a:active,
.dropdownMenuClass a:hover, .dropdownMenuClass a:active{
	border-color: #0050B6;
	text-decoration: none;
}

a.navNoScriptLink{
	float: none;
	display: inline;
	padding: 0;
	margin: 0;
	border: 0;
	color: #0050B6;
}

a.navNoScriptLink:hover, a.navNoScriptLink:active{
	padding: 0;
	border-bottom: none;
	text-decoration: underline;
}

#webanwendungenNoJavaScriptMessage{
	color: red;
}






#dropdownBar{
	display:none;
}


div#dropdownSuche{
	display: none;
	padding: 10px;
	background-color: white;
}

#searchForm{
	text-align: center;
}

#searchInput{
	font-family: Helvetica, Arial, sans-serif;
	max-width: 500px;
	height: 26px;
	margin:0;
	vertical-align: middle;
	border: 1px solid #666;
	border-radius: 4px;
	background-color: white;
	color: black;
}
#searchInput:hover, #searchInput:active{
	border: 1px solid black;
}
#searchSubmit{
	text-align: center;
	font-family: Helvetica, Arial, sans-serif;
	cursor: pointer;
	height: 26px;
	width: 70px;
	padding:0;
	margin:0;
	border: 1px solid #0050B6;
	border-radius: 4px;
	background-color: #0050B6;
	color: white;
	vertical-align: middle;
}
#searchSubmit:hover, #searchSubmit:active{
	background-color: #0066CC;
	border: 1px solid #0066CC;
}


#styleForm{
	text-align: center;
}

.styleChangeMenuGroup{
	display: inline-block;
	padding: 2px 10px 6px 0px;
}

.styleChangeMenuButtonGroup{
	display: inline-block;
	padding: 2px 0px 6px 0px;
}















/*allgemein*/
.typewriterStyle{
	font-family: "Courier New", "Lucida Console", monospace;
}

ul.noBullets{
	list-style-type: none;
}

.floatleft{float: left;}
.floatright{float: right;}
.clear{clear:both;}
.clearfix {
    overflow: auto;
}

.articleInfo{
	margin: 0px 0px 5px 0px;
	color: #555;
}

section{
	padding: 5px 15px 5px 15px;
	margin: 10px 0px 10px 0px;
	line-height: 145%;
	background-color: white;
}
/*
section:not(:first-child) h1{
	padding-bottom: 10px;
}*/

section h1, section h2, section h3, section h4{
	color: #104170;
}
section h1,section h2{
	padding: 10px 0px 5px 0px;
	margin: 0;
}
h1{font-size: 230%; line-height: 115%; font-weight: normal;}
h2{font-size: 190%; line-height: 115%; font-weight: normal;}
h3{font-size: 130%; line-height: 115%; font-weight: normal;}
section article h3{margin-bottom: 7px;}
h4{font-size: 110%; line-height: 115% font-weight: normal;}

.headingLink{
	color: inherit;
	font-weight: normal;
	background-color: inherit;
	text-decoration: none;
}

a.boldLink{
	color: #0050B6;
	font-weight: bold;
	background-color: inherit;
	text-decoration: none;
}

.headingLink:hover, .headingLink:active,
a.boldLink:hover, a.boldLink:active{
	text-decoration: underline;
}

article{
	padding: 0px 0px 0px 0px;
}

article:last-child {
	padding-bottom: 10px;
}

article#MyGcseWrapper:last-child, article.noBottomPadding:last-child {
	padding-bottom: 0px;
}



/*alle articles direkt nach h1s*/
h1 + article{
	margin-top: 15px;
}

h1 + article.noheadingParagraph{
	margin-top: 0px;
}


/*
section:not(:last-child)::after{
	content: "";
	display: block;
	height: 2px;
	width: 100%;
	margin-top: 25px;
	margin-bottom: 25px;
	background: #DDD;
}*/

section article:not(:last-child)::after{
	content: "";
	display: block;
	height: 1px;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: #DDD;
}

.listContainingFormulas li{
	padding: 4px 0px 4px 0px;
}

.listContainingFormulas li:first-child{
	padding: 0px 0px 4px 0px;
}

.listContainingFormulas li:last-child{
	padding: 4px 0px 0px 0px;
}








/*INFO BOXES*/
.withInfo{
	display: inline-block;
	border: 1px solid black;
	background-color: white;
	color: black;
	padding: 2px 9px 3px 9px;
	margin-left: 10px;
	cursor: pointer;
}

.infoBox{
	display: none;
	position: fixed;
	top: 20%;
	left: 50%;
	margin-left: -190px;
	border: 1px solid black;
	box-shadow: 0px 0px 1000px 2000px rgba(0,0,0,0.7);
	color: black;
	background-color: white;
	z-index: 1470;
	width: 380px;
	padding: 15px;
	font-size: 95.24%;
}

.infoBox a{
	color: #0050B6;
	display: inline;
	text-decoration: none;
	padding: 0;
	border: 0;
	margin: 0;
}

.infoBox a:hover, .infoBox a:active{
	display: inline;
	text-decoration: underline;
	padding: 0;
	border: 0;
	margin: 0;
}


.infoTitle{
	position: relative;
	width: 400px;
	left: -26px;
	text-align: center;
	margin: 10px 0px 10px 0px;
	background-color: #6EC1EE;
	padding: 1px 0px 1px 0px;
}

.infoTitle i{
	position: absolute;
	top: 2px;
	right: 2px;
	background-color: inherit;
}

.infoTitle i:hover, .infoTitle i:active{
	color: red;
	cursor: pointer;
}

.theInfo{
	text-align: left;
	background-color: white;
	border: 0;
	padding: 5px 10px 5px 10px;
}






/*FORMS*/
.tableform{display: table;padding-left: 15px;}
.tableform p{display: table-row;}
.tableform label{display: table-cell;padding-right: 5px;}
.tableform input{display: table-cell;}
.tableform button{display: table-cell;margin-left: 10px;}

.alignedToTableform{padding-left: 15px;}

textarea{max-width:98%;}

.shortInputs input{
	width: 50px;
}
#roundToNDigits{width: 40px;}

.einstellungenIndented{padding: 5px 0px 0px 25px;}
.einstellungenBlock:not(:last-child){padding: 0px 0px 15px 0px; margin: 0px;}
.einstellungenTableform{padding-top: 3px; margin-left: 10px;}
.einstellungenABitOfSpaceAfter{margin-bottom: 5px;}

.facebookParagraph{display: none;}

#contactForm{
	line-height: 200%;
}

.binomParameterInput{width: 25px;}
.binomLongParameterInput{width: 34px;}
.allgemeinProduktParameterInput{width: 40px;}
#binomAufgabentextDiv, #feedbackBinomDiv{padding: 10px 0px 10px 10px;}
.binomUebenDiv{
	padding: 10px 0px 10px 10px;
	display: none;
}
#binomAufgabentextDiv{line-height: 180%;}

table#formenQuadratischerGleichungen, table#formenQuadratischerFunktionen{
	padding: 7px 15px 7px 15px;
}
table#formenQuadratischerGleichungen tr:not(:first-child) td,
table#formenQuadratischerFunktionen tr:not(:first-child) td{
	padding-top: 7px;
}
table#formenQuadratischerGleichungen tr td:nth-child(2){
	text-align: right;
	padding-left: 10px;
}
table#formenQuadratischerFunktionen tr td:nth-child(2){
	padding-left: 10px;
}



#textareaLGS{
	width:100%;
}

@media only screen and (min-width: 600px){
	#textareaLGS{
		width:initial;
	}
}


.grafischeWebanwendungInputForm input{
	width: 155px;
}
.grafischeWebanwendungInputForm {
	padding-left: 0px;
}
span.spanCell{
	display: table-cell;
}


#fehlerMeldung{display: none;}




/*beispiel-erzeugen-forms*/
#optionsToggleMenu{
	line-height: 170%;
	padding-bottom: 15px;
}















/*JSXGraph*/
.jxgbox, .sliderBox{
	border: 1px solid black;
	border-radius: 5px;
}
.sliderBox{
	width:500px;
	height:100px;
}
#direktEingabe{margin: 5px 5px 15px 5px;}
#sliderBoxes{margin: 5px 0px 5px 0px;}

.controlsBox{padding: 5px 0px 0px 5px;}
.controlsBox button{margin-left: 5px;}
.controlsBox table{padding: 5px 0px 5px 5px;}
.controlsBox table td:not(:first-child){padding-left:15px;}

.standardControlsButtonBox{padding: 5px;}
.standardControlsButtonBox button{width: 300px; text-align:center;}

#oldFunctionsOL{max-height:170px; overflow:auto;}

.inlineBlock{display:inline-block;}



/*Tables*/
.fancyTabular{
	border-collapse: collapse;
	margin: 10px 0px 10px 0px;
}
.fancyTabular, .fancyTabular th, .fancyTabular tr, .fancyTabular td{
	border: 1px solid black;
}
.fancyTabular th, .fancyTabular tr, .fancyTabular td{
	padding: 5px;
}
.fancyTabular th{background-color: rgb(0, 102, 204);color:white;}
.fancyTabular tr:nth-child(odd){background-color: #f2f2f2;}
.fancyTabular tr:hover{}

table.withMathJax th, table.withMathJax tr, table.withMathJax td{
	padding: 7px;
}











/*Shop*/

.shopItemPicDiv{
	float:left;
}
.shopClearBothHack{clear:both;}

h3.shopItemName{
	margin-bottom: 2px;
}

/*
section h1, section h2, section h3, section h4{
	color: #104170;
}
section h1,section h2{
	padding: 10px 0px 5px 0px;
	margin: 0;
}
h1{font-size: 230%; line-height: 115%; font-weight: normal;}
h2{font-size: 190%; line-height: 115%; font-weight: normal;}
h3{font-size: 130%; line-height: 115%; font-weight: normal;}
section article h3{margin-bottom: 7px;}

a{
	color: #0050B6;
	text-decoration: none;
	cursor: pointer;
}

a:hover, a:active{
	text-decoration: underline;
}

a:active{
	color: #002c66;
}*/

.shopItemUntertitel{
	margin: 0px 0px 0px 0px;
	color: #555;
	font-size: 85%;
}

.shopItemPicDiv{
	padding: 0px 25px 0px 0px;
	margin: 0;
	text-align: center;
	box-sizing: content-box;
}

.shopItemWrapper{
	padding-left: 10px;
}

.shopItemPicture{
}

a.buyShopItemAtAmazon{
	color: black;
	background-color: #f1c65b;
	padding: 7px 12px 7px 12px;
	border-radius: 5px;
	line-height:250%;
}

a.buyShopItemAtAmazon:hover, a.buyShopItemAtAmazon:active{
	text-decoration: none;
	color: black;
	background-color: #ebae14;
}






/*Google Custom Search*/
.gsc-input, .gsc-search-button{
	line-height: 100%;
}





/*new Header*/

/*
#headerSchriftzug{
	font-size:300%;
}
span.SinusAlphaBlue{
	color: #0050B6;
}

#headerPlaceholder{
	background-image: url("websiteBanner.svg");
	background-repeat: no-repeat;
	background-position: center top;
	height: 100px;
}*/

#websiteBannerIMG{
	height: 125px;
}










.aspectRatio1to1OuterBox{
	position: relative;
	width:50%;
}

.aspectRatio1to1OuterBox:before{
	content:"";
	display:block;
	padding-top:100%;
}

.aspectRatioInnerBox{
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	width:100%;
	height:100%
}





/*Modifiers*/

.noPadding{padding:0;}








#formularZuruecksetzenButton{display:none;}


#WebBuchNavTab.noJSnavBarItem,
#VideosNavTab.noJSnavBarItem,
#LernmaterialienNavTab.noJSnavBarItem,
#ShopNavTab.noJSnavBarItem,
#KontaktNavTab.noJSnavBarItem,
#FAQNavTab.noJSnavBarItem{
	display:none;
}

/*(alt) 366 437 597 674 810 899 + 4px kulanz*/
/*410 481 641 700 777 913 1002 + 4px kulanz*/

@media only screen and (min-width: 414px) {
	#WebBuchNavTab.noJSnavBarItem{
		display: inline-block;
	}
}


@media only screen and (min-width: 485px) {
	#VideosNavTab.noJSnavBarItem{
		display: inline-block;
	}
}


@media only screen and (min-width: 645px) {
	#LernmaterialienNavTab.noJSnavBarItem{
		display: inline-block;
	}
}


@media only screen and (min-width: 704px) {
	#ShopNavTab.noJSnavBarItem{
		display: inline-block;
	}
}


@media only screen and (min-width: 781px) {
	#KontaktNavTab.noJSnavBarItem{
		display: inline-block;
	}
}


@media only screen and (min-width: 917px) {
	#FAQNavTab.noJSnavBarItem{
		display: inline-block;
	}
}
