@font-face {
	font-family: Muli-Light;
	src: url('fonts/Muli/Muli-Light.ttf');
}

@font-face {
	font-family: Muli-Regular;
	src: url('fonts/Muli/Muli-Regular.ttf');
}

html, body{
	margin: 0px;
	padding: 0px;
	height: 100%;
}
::selection {
	background: #F68812; /* Opera, Safari, Chrome */
	color: #FFFFFF;
	text-shadow: none;
	}
::-moz-selection {
	background: #F68812; /* Firefox */
	color: #FFFFFF;
	text-shadow: none;
}


#site-container{
	min-height: 100%;
	width: 100%;
	position: relative;
}
#site-content{
	padding-bottom: 40pt;
}

#footer{
	position: absolute;
	bottom: 0px;
	width: 100%;
	background: rgb(255, 255, 255);
	border-top: 1px solid rgb(223,223,223);
	
	font-family: 'Avenir', 'Muli-Light', Arial, Helvetica, sans-serif;
}
#footer-content{
	display: block;
	padding: 0 8px;
	height: 100%;
	max-width: 512pt;
	margin: 0 auto;
	line-height: 30pt;
}
#footer-content a{
	right: 0;
	float: right;
	color: #B9B9B9;
}
#footer-content a:hover{
	color: #a0a0a0;
}
#footer-content a:active{
	color: #808080;
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    zoom: 1;
}

/* Basic Styles */
body {
	/*Previous Version*/
    background-color: rgb(242,242,242);
	/*background: #FFFFFF;*/
    
    margin:0px;
}

h1, h2, h3, h4, h5, h6 {
	color: #000;
	font-family: Helvetica,Arial;
	font-weight: bold;
	/*text-shadow: 0 1px 0 #fff;*/
}
h1, h2{
	padding-bottom: 5px;
}
h2 {
	font-size: 36px;
	letter-spacing: -1px;
}

/*Header Design*/
#header{
	min-width: 100%;
	width: 100%;
	height: auto;
	margin-top: 30px;
	
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	
	cursor: default;
}
#header .text{
	display: inline;
	min-height: 100px;
	height: auto;
	float: left;
	overflow: hidden;
}
#header .text h1, #header .text h3{
    margin-top: 5pt;
    margin-bottom: 0;
}
#header .text h1{
    color: #F68812;
}
#header .text h3{
    color: #1770C1;
}
#header .logo{
	width:160px;
	height: 100px;
	display: block;
	float: right;
	
	background: url("icons/logo.svg");
	background-size: contain;
	-webkit-background-size: contain;
	-moz-background-size: contain;
	
	background-repeat: no-repeat;
	background-position: center center;
}


#page-wrap{
	max-width:512pt;
	padding:40px 36px;
	margin: 0 auto;
	background-color: #FFF;
	border: 1px solid rgb(223,223,223);

}
#page-wrap .content{
	font-family: 'Avenir', Muli-Regular, Arial, Helvetica, sans-serif;
}
#page-wrap .content a{
	color: #165D9F;
	font-weight: 500;
}
#page-wrap .content a:hover{
	color: #1770C1;
}
#page-wrap .content a:active{
	color: #F68812;
}
#page-wrap .content .link{
	color: #165D9F;
	font-weight: 500;
}
#page-wrap .content .quote{
	font-style:inherit;
    text-align:center;
    width: 100%;
    display: block;
    background-color: rgb(242,242,242);
	
}
#page-wrap .content .full-width-pic{
	width:100%;
	padding-bottom: 5px;
}
#page-wrap .content .full-width-pic img{
	max-width:100%;
}
#page-wrap .content .sub-pic{
	margin: 0;
	padding: 0;
}

hr{
	width: 100%;
	height: 1px;
	background: #dfdfdf;
	margin: 30px 0;
	display: block;
	border: none;
	clear: both;
}
#Map {
	width: 100%;
	min-height: 450px;
	height: auto;
	overflow: hidden;
}


/*draw the rainbow border to div*/
#border{
    display:none;
}
#warning-noscript{
    min-height: 22px;
    width: 100%;	
    top:0;
    left:0;
    display: block;
    background-color:rgba(174, 0, 0, 0.85);
    font-family: 'Avenir', Muli-Regular, Arial, Helvetica, sans-serif;
    font-weight: 500;
    text-align: center;
    line-height:22px;
    color: rgb(255,255,255);
}

#nav {
	width: 100%;
	position: fixed;
	z-index:5;
    top: 0;
    left: 0;
	font-size: 11pt;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;
}
#nav #nav_c{
	background: #165D9F;
	width: 100%;
}
#nav #nav_c ul {
	padding: 0;
	margin: 0 auto;
	width: 600px;
	height: 40px;
    border-left: 1px solid #1B3C69;
    border-right: 1px solid #1B3C69;
}
#nav #nav_c li {
	display: inline;
	float: left;
}
#nav #nav_c a {
	color: #fff;
	display: inline-block;
	width: 100px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #283744;
}
#nav #nav_c li a {
    border-right: 1px solid #1B3C69;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
#nav #nav_c li:last-child a {
	border-right: 0;
}
#nav #nav_c li.active-item a {
    background-color: #1770C1;
}
#nav #nav_c a:hover{
    background-color: #0F5393;
}
#nav #nav_c a:focus {
    background-color: #1770C1;
}
#nav #nav_c a:active {
    background-color: #1770C1;
}
#nav a#pull {
	display: none;
}

#ns_a{
	color: #FFFFFF;
    padding-left: 4px;
    padding-right: 4px;
	display: inline-block;
	width: auto !important;
	font-family: inherit;
	font-weight: inherit;
	text-align: inherit;
	text-decoration: underline !important;
	line-height: inherit;
	text-shadow: none !important;
}
#ns_a:hover{
    background-color: rgba(100, 10, 0, 0.2);
}
#ns_a:focus{
    background-color: rgba(255, 50, 20, 0.2);
}
#ns_a:active{
    background-color: rgba(255, 50, 20, 0.2);
}

/*Alt_style for dt in spektrum.html*/
dt.active-tab{
    background-color: rgb(240,240,240) !important;
    color: #165D9F !important;

	border-top: 1px solid rgb(223,223,223) !important;
	border-left: 1px solid rgb(223,223,223) !important;
	border-right: 1px solid rgb(223,223,223) !important;
}

dt{
    cursor: default !important;
}

/*Alt_style for portrait_image in praxis.html*/
#pic_portrait {
    width: 220px;
    float: right;
    border: 1px solid rgb(223,223,223);
    font-style: normal;
    
    margin-left: 10px;
    margin-bottom: 10px;
}

#pic_portrait img {
    width: 100%;
    max-width: 100%;
    display: block;
}


/*Styles for screen 520px and lower*/
@media screen and (max-width: 520pt) {
	#header .logo{
		float: none;
		margin: 0 auto;
	}
    
    #nav { 
  		height: auto;
  		position: fixed;
  		z-index:5;
    	top: 0;
    	left: 0;
  	}
  	#nav #nav_c ul {
  		width: 100%;
  		display: block;
  		height: auto;
  		
  		border-left: none;
		border-right: none;
  	}
  	#nav #nav_c li {
  		width: 33.333%;
  		float: left;
  		position: relative;
  	}
  	#nav #nav_c li a {
		border-bottom: 1px solid #1B3C69;
		border-right: 1px solid #1B3C69;
	}
  	#nav #nav_c a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
  	
	#page-wrap{
		max-width: 600px; 
		margin: 105px auto 0px auto;
		padding: 20px 18px;
	}
	
	#ns_a{
	width: 50pt;
	text-indent: 0px !important;
}
