body {
	padding:0px; /* Need to set body margin and padding to get consistency between browsers. */
	font-family: 'Open Sans', sans-serif;
	font-weight: normal;
	color: rgb(40,40,40);
	margin: 0 auto;
	border-top: 120px  solid #fff; /* should be same color as header background color */
}


#headerband {
    border-bottom: 1px solid #ccc;
	box-shadow: 0 0px 8px rgba(0,0,0,0.25);
}


#interested .secbody {
	max-width: 1100px;
	margin: 0 auto;
	padding-top: 2rem;
}




#logo {
    list-style: none;
	display: flex;
    flex-flow: row wrap;
    align-items: end; /* it doesn't makes sense, but 'end' is more centered than 'center' */
	padding: 0 0 0 1rem ;
}

#logo h2,
ul#navitems.standard li a{
	color: #323c5d;
}


ul#navitems.standard li a{
	font-size:1.4rem;
	font-weight:normal;
	text-transform : lowercase;
}


ul#navitems.standard li:hover, ul#navitems.standard li ul li:hover {		
	background-color:#a1acd0;
}	

#flashboard {
	color:#fff;
	background-color:#000;

	margin:1rem 0 0 0;
	padding: 2rem;

	display:flex;
	flex-flow: row nowrap;
	align-items: center;
}

#flashboard h2 {
	font-size:4rem;
    margin:0.5em 0 1em 0;
}


#logodiv {
	width:30%;
	text-align:center;
	padding:0 3%;
}

#logodiv > img {
	width:100%;
}


#msgsdiv {
	width:70%;
}


@media screen and (max-width: 640px) {

#logo {
	align-items:center;
}

#logo h2 {
	font-size:1.5rem;
}

#logo img {
	height:30px;
}

#flashboard {
	display:block;
}
#logodiv {
	width:100%;
	padding:0;
}
#msgsdiv {
	width:100%;
}

}



#messages {
	margin: 0 auto;
	text-align:center;	
    overflow: hidden;
	width: 100%;
	display:table;
	padding:0;
}


#messages  li  {
	display:none;
	font-size:1.5rem;
	color:#eee;
	text-align:center;
}


/* Fading animation */
.msganimate {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: msganimate;
}

.msganimate:hover {
    animation-play-state: paused;
}



@-webkit-keyframes msganimate {
  0% {opacity: 0} 
  100% {opacity: 1}
}

@keyframes msganimate {
  0% {opacity: 0} 
  25% {opacity: 1} 
  75% {opacity: 1} 
  100% {opacity: 0}

}

#msgdots {
	display:block;
	text-align:center;
	padding-left:5%;
}

/* The dots/bullets/indicators */
.msgdot {
	height: 10px;
	width: 10px;
	margin: 0 2px;
	border-radius: 50%;
	display: inline-block;
	border: 1px solid #444;
	transition: background-color 0.6s ease;
}

.msgdot-active {
  background-color: #aaa;
}

#references .secbody {
	max-width:1100px;
}


#references h3 {
	font-size:1.2rem;
	font-weight:normal;
	font-style:normal;
}

#references h4 {
	font-size:1rem;
	font-weight:normal;
	font-style:italic;
	margin: 0 0 0 2em;
}

