.flex-container {
    display: -webkit-flex;
    display: flex;  
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    text-align: center;
}

.flex-container > * {
    padding: 15px;
    -webkit-flex: 1 100%;
    flex: 1 100%;
}

div.container {
    width: 100%;
    border: 1px solid gray;
	background-color: #ffffff;
}


header {
    padding: 1em;
    color: #c8c372;
    background-color: #1E4D2B;
    clear: left;
    text-align: center;
}

footer {
    padding: 1em;
    color: #1E4D2B;
    background-color: white;
    clear: left;
    text-align: right;
	font-size: 50%;
	font-family: Helvetica;
}

nav {
    margin: 0;
	text-align: center;
    padding: 1em;
	font-family: Helvetica;
}

nav ul {
    list-style-type: none;
    padding: 0;
}
   
nav ul a {
    text-decoration: none;
}

article {
/*    margin-left: 170px;*/
    border-left: none;
    padding: 1em;
    overflow: hidden;
	font-family: Helvetica;
}

A:link {
	 color: #1E4D2B;
	Text-Decoration : None ;
	font-family: Helvetica;
	margin: 2em;
}
A:visited{ 
	color: #1E4D2B;
	Text-Decoration : None ;
	font-family: Helvetica;
}
A:hover{
	color: #1E4D2B;
	Text-Decoration: None ;
	font-family: Helvetica;
}
A:active{ 
	color: #1E4D2B;
	Text-Decoration : None ;
	font-family: Helvetica;
}

a span {
    color: #c8c372;
	Text-Decoration: None;
}

A:link IMG { border: none; }
A:visited IMG { border: none; }
A:active IMG{ border: none; }

.ui-content {
	background: #FFFFFF;
}

/* affects header */
.ui-bar-c {  
	background-color: #1E4D2B;
	color: white;
	font-family: Helvetica;
	Text-Decoration: None;
	
}

.ui-page-theme-c {
    font-weight: bold;
    background-color: #1E4D2B;
}
/*
#mypage .ui-header {
    background: #1E4D2B;
	font-family: Helvetica;
	text-decoration: None;
}

#mypage .ui-header a {
		color : #FFFFFF;
}
*/

#algepanel, #datapanel {
    padding: 50px;
    display: none;
}
#mypage .ui-page {
    background: #FFFFFF;
}

