/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author:  Gary Young
   ========================================================================== */
/*#about, #work, #contact { display: none; }*/
#home, #about, #work, #contact { width: 100%; height: 100%; float: left; position: relative;}
.cloud { width: 95%; margin: 20px auto; padding: 10px; position: relative;}
.background { position:absolute; top:0px; left:0px;width:100%;height:100%; background-color:#fff; z-index:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter: alpha(opacity=50);opacity:.5; -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; }
.main {
    padding-top: 20px;
    position: relative;
    z-index: 2;
    clear: both;
    font-family: arial, sans-serif;
    font-size: 20px;
}
.main ul {
    font-size: 20px;
    width: 45%;
}
.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}
@font-face {
	font-family: 'Conv_Weston';
	src: url('fonts/Weston.eot');
	src: local('☺'), url('fonts/Weston.ttf') format('truetype'), url('fonts/Weston.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
nav ul {
    position: relative;
    list-style-type: none;
    margin: auto;
}
nav ul li {
    z-index: 9;
    position: relative;
    list-style-type: none;
    display: block;
    width: auto;
    padding: 4px 10px;
    float: left;
}
nav ul li a {
    z-index: 9;
    cursor: pointer;
    -webkit-cursor: pointer;
}

#blob {
/*    border-right: 1px solid #0059ec;
    border-left: 1px solid #0059ec;
*/    
    position: absolute;
    z-index: 8;
    top: 0;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
/*    -moz-box-shadow: 2px 3px 10px #011331;
    -webkit-box-shadow: 2px 3px 10px #011331;
*/
}

blockquote {    
    padding: 0 4px 0 50px;
    font-style: italic;
    margin: 0;
    background: transparent url(../img/blockquote.png) no-repeat 25px 10px;
    clear: both;
    max-width: 1000px;
}

blockquote div { margin: 0; padding: 16px 10px; }
blockquote div span { position: relative; display: inline; left: 4px; top: 14px; font-style: italic; font-size: 16px; white-space: nowrap;}

span.usa-flag { width: 15; height: 13px; background: transparent url(../img/usa-flag.png) no-repeat; display: inline; padding-left: 35px; }
span.australia-flag { width: 15; height: 13px; background: transparent url(../img/australia-flag.png) no-repeat; display: inline; padding-left: 35px; }
span.denmark-flag { width: 15; height: 13px; background: transparent url(../img/denmark-flag.png) no-repeat; display: inline; padding-left: 35px; }
span.thailand-flag { width: 15; height: 13px; background: transparent url(../img/thailand-flag.png) no-repeat; display: inline; padding-left: 35px; }


/* Gallery styles */

#project-gallery{
	/* CSS3 Box Shadow */
	-moz-box-shadow:0 0 3px #AAAAAA;
	-webkit-box-shadow:0 0 3px #AAAAAA;
	box-shadow:0 0 3px #AAAAAA;
	
	/* CSS3 Rounded Corners */
	
	-moz-border-radius-bottomleft:4px;
	-webkit-border-bottom-left-radius:4px;
	border-bottom-left-radius:4px;
	
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-right-radius:4px;
	
	border:1px solid white;
	
	background:url(../img/project_slides/panel.jpg) repeat-x bottom center #ffffff;
	
	/* The width of the gallery */
	width:920px;
	overflow:hidden;
	margin: 20px auto;
}

#project-slides{
	/* This is the slide area */
	height:400px;
	
	/* jQuery changes the width later on to the sum of the widths of all the slides. */
	width:920px;
	overflow:hidden;
}

.slide{
	float:left;
}

#project-menu{
	/* This is the container for the thumbnails */
	height:45px;
	text-align: center;
}

#project-menu ul{
    margin: 0 auto;
    padding: 0px;
    width: 250px;
    float: none;
    font-size: 0;
}

#project-menu li{
	/* Every thumbnail is a li element */
	width:60px;
	display:block;
	float: left;
	list-style:none;
	height:45px;
	overflow:hidden;
	padding: 0;
	margin: 0;
}

#contact .main { padding: 0 0 20px 40px; }

div.big_at {
    position: absolute;    
    width: 192px;
    height: 238px;
    top: 80px;
    right: 20%;
    background: transparent url(../img/contactus.png);
}

#mapPane { 
    overflow: auto;
    width: 80%;
    height: 400px;
    background-color: #FDFDFD;
    display: none;
}

#overlay {
    /* stretch the overlay by attaching all four corners */
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    /* use any background color you like; rgba would be nice, but older IE will ignore it*/
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=50);
    z-index: 999;
    display: none;
}

#loading {
    width: 50px;
    height: 57px;
    position: absolute;
    top: 50%;
    left: 50%;
    /* the image is 50x57, so we use negative margins of 1/2 that size to center it*/
    margin: -28px 0 0 -25px; 
}

div.input-line { padding: 10px 0; }

#project-menu li.inact:hover{
	/* The inactive state, highlighted on mouse over */
	background:url(../img/project_slides/pic_bg.png) repeat;
}

#project-menu li.act, #project-menu li.act:hover{
	/* The active state of the thumb */
	background:url(../img/project_slides/active_bg.png) no-repeat;
}

#project-menu li.act a{
	cursor:default;
}

#project-menu .fbar{
	/* The left-most vertical bar, next to the first thumbnail */
    width: 2px;
    background: url(../img/project_slides/divider.png) no-repeat right;
    display: inline-block;
    list-style: none;
    height: 45px;
    overflow: hidden;
    padding: -20px 0;
    padding: 0;
    margin: 0;
    display: block;
    float: left;
}



#project-menu li a{
	display:block;
	background:url(../img/project_slides/divider.png) no-repeat right;
	height:35px;
	padding-top:10px;
}

a img{
	border:none;
}



/*body { background: url(../img/woodfloor.jpg); }*/
body { background: #1F3D6F url("../img/sunny_clouds_sky.jpg") fixed; }
header { width: 100%; margin: 0 auto; z-index: 9; position: relative; }
header .titles { width: 320px; float: left; }
header h1 {
    text-indent: -8000px;
    display: block;
    height: 84px;
    background: transparent url(../img/nexsys_logo.png) no-repeat;
    float: left;
    width: 320px;
    padding: 0;
    margin: 0;
}
header h2 {
    text-indent: -8000px;
    display: block;
    width: 320px;
    height: 48px;
    background: transparent url(../img/wedothehardstuff.png) no-repeat;
    float: left;
    margin: 0;
    padding: 0;
}
#contact .main input, #contact .main textarea { color: #888; }

nav { font-family: helvetica, arial, sans-serif; font-size: 34px; font-weight: bold; position: absolute; right: 5%; top: 30px; margin: 38px 0; clear: both; z-index: 9;}
nav a, nav a:hover, nav a:visited { text-decoration: none; color: #3B78D7; text-shadow: 2px 2px 2px #333; z-index: 9; }
nav li.selected a { color: #fff; }
.horz-line {
    clear: both;
    width: 100%;
    height: 2px;
    /* webkit */
    background-image: -webkit-linear-gradient(left,rgba(50,50,50,0.4), rgba(80,80,80,0));
    /* Mozilla */
    background-image: -moz-linear-gradient(left, rgba(50,50,50,0.4), rgba(80,80,80,0));

    # IE
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#32323266',EndColorStr='#50505000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#32323266',EndColorStr='#50505000')";
    zoom: 1;

}
footer { clear: both; width: 100%; padding-top: 0px; position: relative; z-index: 3; }
footer a { float: right; display: block; padding: 10px; }
footer p { float: left; display: block; }
.main ul {
    float: left;
    font-size: 20px;
    width: 80%;
    list-style-image: url(../img/Green_Star.png);
}
.main ul li {
    padding: 4px;

}

/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ==|== media queries ====================================================== */



@media only screen and (min-width: 660px) {
    ul.lavalamp li { display: inline; width: auto; }
    .main {
        padding-top: 20px;
        position: relative;
        z-index: 2;
        clear: both;
        font-family: arial, sans-serif;
        font-size: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .main ul { width: 46%; }
    #id-my-setup { background: transparent url(../img/mysetup.png) no-repeat; width: 380px; height: 256px; float: right; margin: 96px 30px 0; }
    nav { float: right; clear: none; margin: 60px 40px 0; z-index: 9; }

    header .titles { padding: 26px 10px; }
}

.ie8 ul.lavalamp li { display: inline; width: auto; }
.ie8 .main ul { width: 40%; display: block; float: left; }
.ie8 #id-my-setup { background: transparent url(../img/mysetup.png) no-repeat; width: 380px; height: 256px; float: right; margin: 96px 30px 0; }
.ie8 nav { float: right; clear: none; margin: 60px 0 0; }
.ie8 .titles { padding: 26px 10px; }

/* ==|== print styles ======================================================= */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoi
      
      
