*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
	min-height:100%;
}
body {
	height:100vh;
	min-height:100vh;
	background-color:rgba(0, 0, 90,0.2);
	margin:0;
}

/* input[type=checkbox] { */
/* Make checkbox bigger*/
  /* transform: scale(2);  */
/* } */

.bluetext {
	color: #0730B4;
}


.container {	
	background-color: rgb(250, 250, 250); 
    width: 90%;
	min-height:100%;
	margin:auto;
	 /* make banner come below menu bar*/
	color:black;
}

header {
	position:absolute;
	top: 50px;
	left:5%;
	right: 5%;
	margin: 0px 0px 0px 0px;
	padding-top:0px;
	padding-bottom:0px;
	padding-left:20px;
    background-color: black; /* For browsers that do not support gradients */
  	background: linear-gradient(to bottom, black, rgba(0,0,80,0.75));  
   	/* clear: left; */
    text-align: left;
}

header h1 {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	padding-bottom:0px;
	margin: 38px 0px 4px 0;
	color:rgb(255,255,255);
}

menubar{
	display: block;
    margin: auto;
	margin-bottom:47px;
	font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; 
	padding-left: 0px;
    overflow: hidden;
	position: fixed;
	top: 0;
	width:100%;
	height:auto;
    background-color: rgba(0,0,80,0.7);
	/!border-top: 4px solid rgba(0,0,180,0.7);/!
}


menu {
	padding:0;
	margin:auto;
	width: 90%;
	
}

menu-item {
    	float: left;
}

menu-item a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 16px 20px;
    text-decoration: none;
}

menu-item a:hover {
    background-color: black;
}
.currentpage {
	background-color: black;
}
article {
	/* font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; */
	/* font-family: Avant Garde,Avantgarde,Century Gothic,CenturyGothic,AppleGothic,sans-serif; */
	/* font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;  */
	/* font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif;  */
	font-family: Candara,Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif; 
	position:relative;
    margin: 135px 0% 10% 10%;
    padding-right: 17%;
	border: 0px solid rgb(0,0,180);
    overflow: hidden;
	background-color:rgba(240,240,240,0);
}




.BallsContainer {
	/* font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; */
	/* font-family: Avant Garde,Avantgarde,Century Gothic,CenturyGothic,AppleGothic,sans-serif; */
	/* font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;  */
	/* font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif;  */
	font-family: Candara,Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif; 
	display: flex;
    margin: 100px 0% 0% 5%;
	padding:0;
	flex-direction: row;
    flex-wrap: wrap;
}
.BallsCanvas {
	width: 70% ;
	margin: 0% 0% 0% 0%;
}
.BallsControls {
	width: 20%;
	margin: 0% 0% 2% 2%;
	
}

button.BallsControls {
	background-color: #999999;
	padding: 2px;
	width: 100%;
	height: 60px;
	}
	
.btn {
	display: block;
	background: rgba(0,0,80,0.7);
	-webkit-border-radius: 4;
	-moz-border-radius: 4;
	border-radius: 4px;
	font-family: "Roboto Slab", serif;
	font-size: 20px;
	text-align: center;
	color: #ffffff;
	padding: 10px 20px 10px 20px;
	text-decoration: none;
	margin:5px 5px;
  
}

.btn:hover {
  background: rgba(0,0,80,0.75);
  text-decoration: none;
}


/* CUSTOM CHECKBOX STYLE: */

.CheckboxGeneralSettings {
 /* HIDE THE REAL CHECKBOX*/
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.CheckboxGeneralSettings + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  user-select: none;
}

input.fancyCheckbox + label {
  padding: 2px;
  width: 100%;
  height: 60px;
}

input.fancyCheckbox + label:before,
input.fancyCheckbox + label:after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  color: #fff;
  font-family: "Roboto Slab", serif;
  font-size: 20px;
  text-align: center;
  line-height: 60px;
}
input.fancyCheckbox + label:before {
  background-color: rgba(153, 153, 153,0.9);
  content: attr(data-off);
  transition: transform 0.5s;
  backface-visibility: hidden;
}
input.fancyCheckbox + label:after {
  background-color: rgba(71, 209, 71,0.9);
  content: attr(data-on);
  transition: transform 0.5s;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}
input.fancyCheckbox:checked + label:before {
  transform: rotateY(180deg);
}
input.fancyCheckbox:checked + label:after {
  transform: rotateY(0deg);
}
input.fancyCheckbox + label:hover {
  background-color: rgba(153, 153, 153,1);
}
input.fancyCheckbox + label:hover:after {
  background-color: rgba(71, 209, 71,1);
}


img.home {
	float: right;
	width: 23%;
    margin: 125px 25px auto auto;
    padding-right: 0px;
}

@media only screen and (max-width: 628px) {
    
	.container {	
	background-color: rgb(250, 250, 250); 
    width: 100%;
	min-height:100%;
	margin:auto;
}
	menu {
		padding:0;
		margin:auto;
		width: 90%;
	}
	
	header {
		position:absolute;
		top: 100px;
		left:0%;
		right: 0%;
		margin: 0px 0px 0px 0px;
		padding-top:0px;
		padding-bottom:0px;
		padding-left:20px;
		background-color: black; /* For browsers that do not support gradients */
		background: linear-gradient(to bottom, black, rgba(0,0,80,0.75));  
		/* clear: left; */
		text-align: left;
	}

header h1 {
	
	padding-bottom:0px;
	margin: 38px 0px 4px 0;
	color:rgb(255,255,255);
}
	
	
	img.home {
	float:none;
	display:block;
	margin-left:auto;
	margin-right:auto;
	padding-top:100px;
	width: 75%;
}
	
	.BallsCanvas {
		display:block;
		text-align:center;
		width: 95% ; 

	}
	.BallsControls {
		width: 100%;
		margin: 0% 5% 0% 0%;
	}
	
	article {
		margin: 185px 5% 5% 5%;
		padding-right: 0%;
	}
}



@media screen and (min-width: 0px) and (max-width: 800px) {
  EinsteinQuote{ display:none; }  /* hide it on smaller screen */
}
@media screen and (min-width: 801px) {
  EinsteinQuote{ display: block; float:right; color:white; margin:0px  margin-top:0px; margin-bottom:0px; padding:20px; padding-top:25px; padding-right:40px}   /* show it on larger screens */
}