@import url(https://fonts.googleapis.com/css?family=Open+Sans);

body { 
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}

/* STRUCTURE */

#pagewrap {
	padding: 5px;
	width: 94%;
	margin: 20px auto;
}
header {
	height: 100px;
	padding: 0 15px;
	background-image: url("../images/DaSimage1.jpg");
}
#content {
	width: 20%;
	float: left;
	padding: 5px 15px;
}

#middle {
	width: 50%; /* Account for margins + border values */
	height: auto;
	float: left;
	padding: 5px 15px;
	margin: 0px 5px 5px 5px;
	overflow-y: visible; 
}

#sidebar {
	width: 20%;
	padding: 5px 15px;
	float: left;
}
footer {
	clear: both;
	padding: 0 15px;
}

:root{
	--strFontFace:       'Open Sans', sans-serif;
	--strTextColor:      #191970;
	--strTitleColor:     #000000;

	--strFuncLightColor: #ffffff;
	--strFuncShadeColor: #7f7f7f;
	--strLinkColor:      #ffffFF;
	--strVLinkColor:     #ffffff;
	
	--strNavBarColor:    #000000;
	--strNavLightColor:  #7f7f7f;
	--strNavShadeColor:  #000000;
	--strNavTextColor:   #ffffff;
	
	--strPageBGColor:    #FFFFFF;
	--strExBGColor:      #FFFFFF;
}

.FuncButton {
	border-style: solid;
	border-radius: 0.5em;
	padding: 0.5em;
	min-width: 3em;

	border-left-color: var(--strFuncLightColor);
	border-top-color: var(--strFuncLightColor);
	border-right-color: var(--strFuncShadeColor);
	border-bottom-color: var(--strFuncShadeColor);
	color: var(--strTextColor);
	background-color: var(--strExBGColor);

	border-width: 1pt;
	cursor: pointer;	
	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor);
}

.FuncButton:active {
	box-shadow: none;
}

.FuncButton:hover{
	color: var(--strExBGColor);
	background-color: var(--strTextColor);
}

.responsive-img {
  max-width: 100%;
  height: auto; 
}
/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#pagewrap {
		width: 94%;
	}
	#content {
		width: 41%;
		padding: 1% 4%;
	}
	#middle {
		width: 41%;
		padding: 1% 4%;
		margin: 0px 0px 5px 5px;
		float: right;
	}
	
	#sidebar {
		clear: both;
		padding: 1% 4%;
		width: auto;
		float: right;
	}

	header, footer {
		padding: 1% 4%;
	}
}

a.main:link, a:visited {
    background-color: #4682b4;
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    display: block;
	border-left: 12px solid #191970;
	border-right: 2px solid #191970;

}


a.main:hover, a:active {
    background-color: #87ceeb;
}

a.unit:link, a.unit:visited {
    background-color: #22aaee;
    color: white;
    padding: 8px 10px;
    text-align: center;
    text-decoration: none;
    display: block;
	border-left: 12px solid #191970;
	border-right: 2px solid #191970;

}

a.unit:hover, a:active {
    background-color: #33ccff;
}

a.norm:link, a.norm:visited {
    background-color: #ffffff;
    color: blue;
    padding: 2px 2px;
    text-align: center;
    text-decoration: none;

}

a.text:link a.text:visited {
    background-color: white;
    color: blue;
    padding: 8px 10px;
    text-align: left;
    text-decoration: none;
    display: block;

}

ul {
  list-style-type: none;
}
/* for 700px or less */
@media screen and (max-width: 600px) {

	#content {
		width: auto;
		float: none;
	}
	
	#middle {
		width: auto;
		float: none;
		margin-left: 0px;
	}
	
	#sidebar {
		width: auto;
		float: none;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	header {
		height: auto;
	}
	h1 {
		font-size: 2em;
	}
	#sidebar {
		display: none;
	}

}


#content {
	background: #f8f8f8;
}
#sidebar {
	background: #f0efef;
}
header, #content, #middle, #sidebar {
	margin-bottom: 5px;
}

#pagewrap, header, #content;, #middle, #sidebar, footer {
	border: solid 1px #ccc;
}

	ul li {
	padding: 1%;
}

#floatMenu {
    position:absolute;
    top:150px;
    left:50%;
    margin-left:235px;
    width:200px;
}
