

body { 
  font-family: 'Arial','Orienta','Open Sans', sans-serif;
  color: black;
  font-size: 18px;
  background-color:#dfeff2;
	/*background:url("images/light-blue-background.jpg");
        background-repeat: no-repeat;
        background-size: cover    */

}

.submitbutton {
    background-color: #141314;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 28px;  
}

.forminput {
	padding: 7px 5px; 
	line-height: 12px;
}

/* STRUCTURE */

#pagewrap {
	padding: 5px;
	/*width: 1200px;*/
        width:90%;
	margin: 20px auto;
}
.header {
	text-align: center;
	padding: 0 15px;
	/*background:url("images/background-gradient.jpg");
        background-repeat: no-repeat;
        background-size: cover;       For flexibility 
	height: 100px;
	padding: 0 15px;*/
}





/* center of page */
#content {
	width: 60%; /* Account for margins + border values */
	float: left;
	padding: 5px 15px;
	margin: 0px 5px 5px 5px;
	text-align: left;
}
/* left of page */
#sidebarl {
	width: 15%;
	padding: 5px 15px;
	float: left;
}
/* right of page */
#sidebarr {
	width: 15%;
	padding: 5px 15px;
	float: left;
}
footer {
	clear: both;
	padding: 0 15px;
}

#navigation li {

	display: block;
	list-style: none; 
	margin-bottom: 20px;
  	text-align: left;	
	background-color: #F3F5F8;
}
form {
	font-weight:bold;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#pagewrap {
		width: 96%;
	}
	
	#content {
		width: 41%;
		padding: 1% 4%;
		margin: 0px 0px 5px 5px;
		float: right;
	}
	
	#sidebarl {
		clear: both;
		padding: 1% 2%;
		width: auto;
		float: none;
	}
	#sidebarr {
		clear: both;
		padding: 1% 2%;
		width: auto;
		float: none;
	}

	header, mfooter {
		padding: 1% 4%;
	}
}

/* for 600px or less */
@media screen and (max-width: 750px) {

	#menu {
		width: auto;
		float: none;
	}
	
	#content {
		width: auto;
		float: none;
		margin-left: 0px;
	}
	
	#sidebarl {
		width: auto;
		float: none;
	}
	#sidebarr {
		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, #menu,  #content {
	background: #f0efef;
}
*/
header, #menu, #content, #sidebar {
	margin-bottom: 5px;
}

header h1 {
	font-size: 120%;
}

/* #pagewrap, header, #content, #content, #sidebar, footer {
	border: solid 1px #ccc;
}*/
.nav>li{position:relative;display:inline-block}
.nav>li>a{position:relative;display:block;padding:10px 15px}
.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}

.list1 {
	border-bottom: 1px solid black;
	background-color: #fcfdff;
}

.list2 {
	border-bottom: 1px solid black;
	background-color: #eaebed;
}


.centeredbold {
    text-align: center;
    font-weight: bold;
}

.subimg img {
 	height: 27%;
	width: 27% ;
	
}

.oneline {
    display: inline;
    margin-bottom: 10%;
}

.emaill {
    width: 25%;
    float: left;
    vertical-align: top;
}

.fixed-ratio-resize { /* basic responsive img */
        float: left;
	max-width: 80%;
	height: auto;
	width: auto\9; /* IE8 */
}
#content {
	text-align: left;
}


.mynavlist {
    
    display: block;
    margin: 0 auto 6px 55px;
/*    position: absolute;
    top: 120px;
    z-index: 9999;*/
}
.mynavlist ul {
    font-size: 18px;
    list-style: none;
    margin: 0 0 0 -0.8125em;
    padding-left: 0;
}
.mynavlist li {
    position: relative;
    padding-left: 11px;
    margin:0 0 3px 0;
}
.mynavlist a {
    background: #0f84e8; /* Show a solid color for older browsers */
    color: #eee;
    display: block;
    line-height: 3.333em;
    padding: 0 10px 0 20px;
    text-decoration: none;
}
.mynavlist ul ul {
    display: none;
    float: left;
    margin: 0;
    position: absolute;
    /*top: 10;
    left: 100%;
    width: 188px;
    z-index: 99999;
    opacity: 0.70;*/
    margin-left: -7px;
}
.mynavlist ul ul ul {
    left: 100%;
    top: 0;
}
.mynavlist ul ul a {
    background: #0f84e8;
    font-size: 13px;
    font-weight: normal;
    height: auto;
    line-height: 1.4em;
    padding: 10px 10px;
    width: 168px;
}
.mynavlist li:hover > a,
.mynavlist ul ul :hover > a,
.mynavlist a:focus {
    background: #efefef;
}
.mynavlist li:hover > a,
.mynavlist a:focus {
    background: #f9f9f9; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
    background: -o-linear-gradient(#f9f9f9, #e5e5e5);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
    background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
    color: #373737;
}
.mynavlist ul li:hover > ul {
    display: block;
}
.mynavlist .current-menu-item > a,
.mynavlist .current-menu-ancestor > a,
.mynavlist .current_page_item > a,
.mynavlist .current_page_ancestor > a {
    font-weight: bold;
}

