@charset "utf-8";
/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
	width:100%;
}

/*
	Dreamweaver Fluid Grid Properties
	----------------------------------
	dw-num-cols-mobile:		5;
	dw-num-cols-tablet:		8;
	dw-num-cols-desktop:	12;
	dw-gutter-percentage:	25;
	
	Inspiration from "Responsive Web Design" by Ethan Marcotte 
	http://www.alistapart.com/articles/responsive-web-design
	
	and Golden Grid System by Joni Korpi
	http://goldengridsystem.com/
*/

/* Mobile Layout: 449px and below. */


.gridContainer {
	margin-left: auto;
	margin-right: auto;
}
#wrapper {
	clear: both;
	margin: 0;
	padding:0;
	display: block;
}
#header {
	clear: both;
	margin-left:auto;
	margin-right:auto;
	width: 100%;
	display: block;
	
	position:absolute;
	top: 160px;
}
.self_portrait {
	display:none;
}
#desktoplogo {display:none;}
#logo {
	clear: both;
	text-align:center;
	width:100%;
	display: block;
	margin:0 auto 0 auto;
}

#logo_img {
	width:100%;
	min-width:300px;
	position:absolute;
	z-index:2;
}
nav {position:relative;}
nav a{display:block;}
#content {
	clear:both;
	padding: 0;
	margin:0;
	display:block;
	
	width:100%;
	min-width:300px;
		
	position: absolute;
	z-index: 250;
	top:320px;
}
#text {
	margin: 0 auto;
	width:75%; 
	max-width:400px;
	color:#000;
}
#left-side {
	clear: none;
	float: left;
	margin-left: 4.1666%;
	width: 100%;
	display: block;
}
#middle {
	clear: none;
	float: left;	
	margin-left: 4.1666%;
	width: 100%;
	display: block;}
	
#right-side {
	clear: none;
	float: left;
	margin-left: 4.1666%;
	width: 100%;
	display: block;
	padding-left:20px;
}
.basic {display:none;}
.elink {display:inline;}

/*==============================
Background Animation
http://jasonlau.biz/home/css/parallax-effect-using-only-css-with-no-javascript
================================*/
.background {
    position: fixed;
    z-index: 1;
    margin: 0 auto 0 auto !important;
    padding: 0 0 0 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    background-image: url(../img/background.png);
    background-repeat: repeat;
    opacity:0.7;
    filter:alpha(opacity=70);
}
.foreground {
    position: fixed;
    z-index: 3;
    margin: 0 auto 0 auto !important;
    padding: 0 0 0 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    background-image: url(../img/foreground.png);
    background-repeat: repeat;
    opacity:0.5;
    filter:alpha(opacity=50);
}
.front{
	position:relative;
    z-index: 5;
}

/* Tablet Layout: 450px to 749px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 450px) {
.gridContainer {
}
#wrapper {
	clear: both;
	margin: 0;
	padding:0;
	display: block;
}
#header {
	clear: both;
	width:100%;	
	
	position:relative;
	top:70px;

}
#desktoplogo {display:none;}
#logo {
	width:80%;
	clear:none;
	
	z-index:1;
}

.self_portrait {
	display:none;}
	
#logo_img {
	clear:none;
	display:block;
	margin:0 auto 0 auto;
	
	width:100%;
	
	position:relative;
	z-index:2;}
nav {position:fixed;} 
nav a{display:inline;}
#content {
	padding: 0;
	width:100%;
	position: absolute;
	z-index: 250;
	top:140%;
}
#text {
	margin: 0 auto;
	width:55%; 
	max-width:400px;
	color:#000;
	padding:20px;
}
#left-side {
	clear: none;
	float: left;
	margin-left: 4.1666%;
	width: 100%;
	display: block;
}
#middle{
	clear: none;
	float: left;
	margin-left: 4.1666%;
	width: 100%;
	display: block;
}
#right-side {
	clear: none;
	float: left;
	margin-left: 4.1666%;
	width: 100%;
	display: block;
	padding-left:60px;
}
.basic {display:none;}
.elink {display:inline;}
/*==============================
Background Animation
http://jasonlau.biz/home/css/parallax-effect-using-only-css-with-no-javascript
================================*/
.background {
    position: fixed;
    z-index: 1;
    margin: 0 auto 0 auto !important;
    padding: 0 0 0 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    background-image: url(../img/background.png);
    background-repeat: repeat;
    opacity:0.7;
    filter:alpha(opacity=70);
}
.foreground {
    position: fixed;
    z-index: 3;
    margin: 0 auto 0 auto !important;
    padding: 0 0 0 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    background-image: url(../img/foreground.png);
    background-repeat: repeat;
    opacity:0.5;
    filter:alpha(opacity=50);
}
.front{
	position:relative;
    z-index: 5;
}

}

/* Desktop Layout: 750px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 750px) {
.gridContainer {
	margin:0;
	padding:0;
}
#wrapper {
	clear: both;
	margin: 0;
	padding:0;
	display: block;
	width:100%
}
#header {
	clear: both;
	width:100%;	
	
	position:relative;
	top:75px;
}
#otherlogo {display:none;}
#desktoplogo {display:block;}
#logo {
	width:60%;
	clear:none;
	
	z-index:1;
}

.self_portrait {
	clear:none;
	display:block;
	padding:0;
	
	width: 202px;
	height: 250px;
	
	position:absolute;
	z-index:2;}
	
#logo_img {
	clear:none;
	display:block;
	
	padding:0 0 0 150px;
	
	width:70%;
	min-width:420px;
	max-width:600px;
	
	position:relative;
	z-index:2;}
nav {position:fixed;} 
nav a{display:inline;}
#content {
	padding:0;
	min-width:700px;
	position: absolute;
	z-index: 250;
	top:305px;
}
#text {
	margin: 0 auto;
	width:100%; 
	max-width:1200px;
	color:#000;
	
	padding:10px;
}
#left-side {
	clear: none;
	float: left;
	width: 30%;
	display: block;
}
#middle {
	clear: none; 
	float:left; 
	width:25%; 
	display: block;
	margin-left: 4.1666%;}
	
#right-side {
	clear: none;
	float: left;
	width: 10%;
	display: block;
	margin-left: 4.1666%;
}
#right-side img {min-width:100px}
#externalinks { top:-50px;}

/*==============================
Background Animation
http://jasonlau.biz/home/css/parallax-effect-using-only-css-with-no-javascript
================================*/

@-webkit-keyframes animate_background {
  0% {
    background-position: 0 1000px;
  }
  100% {
    background-position: 0 0;
  }
}
@-moz-keyframes animate_background {
  0% {
    background-position: 0 1000px;
  }
  100% {
    background-position: 0 0;
  }
}
@-ms-keyframes animate_background {
  0% {
    background-position: 0 1000px;
  }
  100% {
    background-position: 0 0;
  }
}
@-o-keyframes animate_background {
  0% {
    background-position: 0 1000px;
  }
  100% {
    background-position: 0 0;
  }
}
@keyframes animate_background {
  0% {
    background-position: 0 1000px;
  }
  100% {
    background-position: 0 0;
  }
}

.background {
    position: fixed;
    z-index: 1;
    margin: 0 auto 0 auto !important;
    padding: 0 0 0 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    background-image: url(../img/background.png);
    background-repeat: repeat;
    -webkit-animation: animate_background  550s linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation: animate_background 550s linear;
    -moz-animation-iteration-count: infinite;
    -ms-animation: animate_background 550s linear;
    -ms-animation-iteration-count: infinite;
    -o-animation: animate_background 550s linear;
    -o-animation-iteration-count: infinite;
    animation: animate_background 550s linear;
    animation-iteration-count: infinite;
    opacity:0.7;
    filter:alpha(opacity=70);
}


@-webkit-keyframes animate_foreground {
  0% {
    background-position: -500px 1000px;
  }
  100% {
    background-position: -500px 0;
  }
}
@-moz-keyframes animate_foreground {
  0% {
    background-position: -500px 1000px;
  }
  100% {
    background-position: -500px 0;
  }
}
@-ms-keyframes animate_foreground {
  0% {
    background-position: -500px 1000px;
  }
  100% {
    background-position: -500px 0;
  }
}
@-o-keyframes animate_foreground {
  0% {
    background-position: -500px 1000px;
  }
  100% {
    background-position: -500px 0;
  }
}
@keyframes animate_foreground {
  0% {
    background-position: -500px 1000px;
  }
  100% {
    background-position: -500px 0;
  }
}

.foreground {
    position: fixed;
    z-index: 3;
    margin: 0 auto 0 auto !important;
    padding: 0 0 0 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    background-image: url(../img/foreground.png);
    background-repeat: repeat;
    -webkit-animation: animate_foreground 350s  linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation: animate_foreground 350s  linear;
    -moz-animation-iteration-count: infinite;
    -ms-animation: animate_foreground 350s  linear;
    -ms-animation-iteration-count: infinite;
    -o-animation: animate_foreground 350s  linear;
    -o-animation-iteration-count: infinite;
    animation: animate_foreground 350s linear;
    animation-iteration-count: infinite;
    opacity:0.5;
    filter:alpha(opacity=50);
}


.front{
	position:relative;
    z-index: 5;
}
}