
/* ------ NOTES----------------------------------------------------------

Master Screen Style for Elabs, http://www.elabs.se.

--------- CONTENTS ------------------------------------------------------------

1: BODY OCH UNIVERSAL RESET
2: NAVIGATION
3: PAGE STRUCTURE
4: GLOBALS
5: SLIDER
6: MISC

---------------------------------------------------------------------------- */




/* 1: BODY OCH UNIVERAL RESET
============================================================================ */

body {
	margin: 0;
	padding: 0;
	background: #1a1a1a;
	color: #646464;
  font: 15px/160% Calibri, "Helvetica Neue", Arial, "Bitstream Vera Sans", sans-serif;
  font-size-adjust: 0.5;
  text-align: center;
  -webkit-font-smoothing: antialiased;
	}
 
/* Reset margin and padding for all elements */

* {margin: 0; padding: 0;}


/* 2: NAVIGATION
============================================================================ */

#nav-main {list-style: none; float: left;}
#nav-main li {
  display: inline;
  float: left;
  font-size: 14px;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size-adjust: none;
  }
#nav-main li a {
  display: block;
  margin-top: 0;
  padding: 30px 10px 10px;
  border: none;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
	background: url(/images/nav-hover.png) center -70px no-repeat;
	-webkit-transition: background-position 4.3s linear;
	-moz-transition: background-position 4.3s linear;
	-o-transition: background-position 4.3s linear;
  }
#nav-main li a:hover {
  color: #fff;
	background-position: center 0;
	-webkit-transition: background-position 0.3s linear;
	-moz-transition: background-position 0.3s linear;  
  -o-transition: background-position 0.3s linear;
  }


/* 3: PAGE STRUCTURE
============================================================================ */

/* Containers and columns */

.wrapper {width: 940px; margin: 0 auto; text-align: left;}

.full {float: left; width: 940px; margin: 0 0 40px;}

.column {float: left; margin-right: 20px;}

.two {width: 140px;}
.three {width: 220px;}
.four {width: 300px;}
.five {width: 380px;}
.six {width: 460px;}
.eight {width: 620px;}

.about {width: 280px;}

.last {margin-right: 0;}

/* Header */

#header {
  float: left;
  width: 100%;
  background: #1a1a1a;
  text-shadow: 0 1px 1px #000;
  }
#header .wrapper {width: 960px;}
#header h1 {
  float: left;
  clear: left;
	height: 27px;
	width: 319px;
	margin: 34px 0 30px 10px;
	padding: 0;
  background: url(/images/hello.png) no-repeat;
	text-indent: -99999px;
	}
#header .intro, #header .blog-text {
  float: left;
  clear: left;
  width: 680px;
  padding: 0 0 180px 10px;
  color: #989898;
  font-size: 20px;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size-adjust: none;
	line-height: 140%;
  }
#header .blog-text {padding: 25px 0 28px 10px;}
#header .blog-text a {font-weight: normal !important;}

#logo {
  float: right;
  margin: 30px 10px 30px 0;
  width: 86px;
  color: #fff;
  }
#logo span, #logo a {
  display: block;
  width: 86px;
  height: 86px;
  border: none;
	-webkit-transform: rotate(0deg) scale(1.0);
  -moz-transform: rotate(0deg) scale(1.0);
	-webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  }
#logo span, #logo a {background: url(/images/logo.png) no-repeat;}
#logo span:hover, #logo a:hover {
	-webkit-transition: all 1.6s ease-in-out;
	-moz-transition-duration: 1.6s;
	-webkit-transform: rotate(360deg) scale(1.0);
	-moz-transform: rotate(360deg) scale(1.0);
  }
#logo img {display: block; width: 0; border: none;}

/* Start page */

#from-twitter {display: table; margin: 20px auto;}
#from-twitter .tweet {
  float: left;
  height: 60px;
  background: url(/images/bg-twitter.png) top left no-repeat;
  font-style: italic;
  }
#from-twitter .tweet .message {
  float: left;
  height: 35px;
  margin: 0 0 0 50px;
  padding: 4px 10px 0 5px;
  background: url(/images/bg-twitter-right.png) top right no-repeat;
  }
#from-twitter a:link, #from-twitter a:visited {background: none;}
#from-twitter a:hover {background: #32abc9;}
#from-twitter .tweet-date {display: none;}
#from-twitter:hover .tweet-date {display: inline;}
#from-twitter .tweet-date a {
  float: right;
  clear: left;
  margin-right: 10px;
  padding: 0 .2em;
  font-weight: normal;
  font-size: 14px;
  }
#from-twitter .tweet-date a:hover {color: #fff;}

#people {float: right; width: 640px;}
#people li {
  display: inline;
  float: left;
  width: 140px;
  margin: 0 0 30px 20px;
  }
#people {list-style: none; line-height: 120%;}
#people img {margin: 0 0 5px;}
#people p {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size-adjust: none;
  font-size: 12px;
  }
#people .fn {
  font-size: 13px;
  font-family: "Helvetica Neue", Arial, "Bitstream Vera Sans", sans-serif;
  font-size-adjust: none;
  }
#people .role {
  margin: 0 0 1em;
  color: #999;
  font-size: 10px;
  text-transform: uppercase;
  }
#people .twitter, #people .mail {font-size: 11px;}
#people a:link, #people a:visited {background: none;}
#people a:hover {background: #32abc9;}

.date {
  padding-left: 22px;
  color: #bbb;
  background: url(/images/icon-clock.png) center left no-repeat;
  }

.map {
  min-height: 204px;
  background: url(/images/map.png) top right no-repeat;
  }
.map p {line-height: 140%;}
.map .address {margin: 3px 0 120px 0;}

.partners {list-style: none; line-height: 140%;}
.partners li {margin: 0 0 .7em;}
.partners img {margin-top: 10px;}

.uforia img {float: left; margin: 0 20px 0 10px;}

#content {
  float: left;
  width: 100%;
  padding: 0 0 40px;
  background: #fff;
  }
#content a {padding: 0 .2em;}

#newsletter-signup input.text {
  float: left;
  clear: left;
  width: 185px;
  margin-right: 10px;
  }
#newsletter-signup .fineprint {
  float: left;
  clear: both;
  margin-top: 10px;
  color: #999;
  font-size: 13px;
  line-height: 120%;
  }

/* Blog */

.section {margin-top: 40px;}

.article {float: left; width: 620px; line-height: 160%;}

.aside {float: right; width: 220px;}
.aside .style-guide {margin-top: 50px; color: #999;}

.post {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 160%;
  }
.post h1 {line-height: normal;}
.post .caption {
  font-size: 12px;
  color: #999;
  font-family: "Helvetica Neue", Arial, sans-serif;
  }
.post img {margin: 0.5em 0;}
.post img.right {float: right; margin: 0 0 20px 30px;}
.post img.left {float: left; margin: 0 30px 20px 0;}
.post img.border {border: 4px solid #ccc;}

.post-meta {
  list-style: none outside;
  padding: 34px 0;
  float: left;
  width: 100%;
  font-size: 14px;
  }
.post-meta li {
  padding: 0.5em 0;
  border-bottom: 1px solid #ddd;
  }
.post-meta li:last-child {border: none;}
.post-meta .published {
  padding-left: 22px;
  background: url(/images/icon-clock.png) 0 10px no-repeat;
  }
.post-meta .published:first-letter {text-transform: uppercase;}
.post-meta .author {
  padding-left: 22px;
  background: url(/images/icon-user.png) 0 10px no-repeat;
  }
.post-meta .tags {
  padding-left: 22px;
  background: url(/images/icon-tag.png) 0 10px no-repeat;
  }
.post-meta .comments {
  padding-left: 22px;
  background: url(/images/icon-comment.png) 0 10px no-repeat;
  }
.post-meta .twitter {
  padding-left: 22px;
  background: url(/images/icon-twitter-gray.png) 0 10px no-repeat;
  }
.post-meta .mail {
  padding-left: 22px;
  background: url(/images/icon-mail.png) 0 10px no-repeat;
  }
.post-meta .tags a {text-transform: lowercase; margin: 0 2px;}
.post-meta a {border: none;}
.post h2, .post h3 {
  margin: 0 0 12px;
  padding: 0;
  color: #3b4648;
  background: none;
  text-transform: none;
  font-size: 24px;
  font-weight: bold;
  font-family: Calibri, "Helvetica Neue", Arial, sans-serif;
  }
.post h3 {font-size: 20px;}
.post p + h2 {margin-top: 1em;}
.post p + h3 {margin-top: 1.2em;}
.post ul {list-style: square inside; margin: 0 0 1em;}
.post ol {list-style: decimal inside; margin: 0 0 1em;}
.post dl {margin: 0 0 1em;}
.post dt {width: 80px; text-align: left;}
.post dd {width: 540px; margin-bottom: 0;}

p.comment {
  padding-left: 24px;
  background: url(/images/icon-comment.png) center left no-repeat;
  }

#comments {float: left; width: 620px; margin: 0 0 30px;}
#comments .comment-list {list-style: none; margin-bottom: 30px; font-size: 15px;}
#comments .comment-list li {
	margin: 1.5em 0 0;
	padding: 1.5em 0 0 0;
	border-top: 1px solid #ddd;
	}	
#comments .comment-list p {
	padding-left: 80px;
	margin: 1em 0 0;
	line-height: 160%;
	}
#comments .avatar {float: left;}
#comments .avatar img {border: 3px solid #ddd;}
#comments .meta {padding-left: 20px; color: #999; font-size: 14px;}
#comments .meta cite {
  margin-right: 5px;
  color: #545454;
  font-style: normal;
  font-weight: bold;
  }
#comments .anchor {
  float: right;
  margin-top: -3px;
  font-size: 26px;
  font-family: "Helvetica Neue", Arial, sans-serif;
	font-size-adjust: none;
  }
#comments .anchor a {color: #ddd; background: none;}
#comments .anchor a:hover {color: #32abc9; border: none;}

#comment-form input.text {width: 400px;}
#comment-form textarea.text {width: 620px; height: 180px;}

.pagination {text-align: center;}
.pagination .prev_page {float: left;}
.pagination .next_page {float: right;}
.pagination span, .pagination a {margin: 0 2px;}

/* Footer */

#footer {
  float: left;
  width: 100%;
  padding: 30px 0;
  color: #fff;
  font-size: 13px;
  }
#footer .logo {float: left; margin: 0 27px 0 8px;}
#footer p {float: left; margin: 3px 0 0; line-height: 150%;}
#footer .social-media {float: right; margin: 8px 0 0;}
#footer .social-media img {margin-left: 20px;}
#footer a {background: none;}

/* Flash notice */

#flash {
  background-color: #59983c;
  clear: both;
  color: #fff;
  font-size: 16px;
  padding: 5px 15px;
  }
#flash p {
  width: auto;
  margin: 0;
  padding: 0 0 0 22px;
  }

#errorExplanation {margin-top: 1em;}
#errorExplanation h2 {color: #c00;}
#errorExplanation ul {list-style: disc inside;}

/* Admin */

.post-new, .add {
  float: right;
  margin: -32px 0 0;
  padding-left: 22px;
  background: url(/images/icon-add.png) center left no-repeat;
  }
.add {float: left; margin: 1.5em 0;}

#posts {
  width: 940px;
  margin: 40px 0 60px;
  border-collapse: collapse;
  }
#posts tr {border-bottom: 1px solid #ddd;}
#posts tr:last-child {border: none;}
#posts td {float: left; padding: 15px 0 15px 30px; margin: 0;}
#posts td.published {
  display: block;
  padding: 20px 0 10px 60px;
  color: #3b4648;
  text-align: center;
  }
#posts .pub-month {
  display: block;
  color: #3b4648;
  font-size: 14px;
  text-transform: uppercase;
  }
#posts .pub-date {display: block; font-size: 32px; font-weight: bold;}
#posts .post-details {width: 620px;}
#posts h3 {margin: 0 0 0.2em; padding: 0;}
#posts p {margin: 0; padding: 0;}
#posts .post-tags {
  margin-top: 10px;
  padding-left: 22px;
  color: #999;
  background: url(/images/icon-tag.png) center left no-repeat;
  }

.options {list-style: none; float: right; padding: 0;}
.options li {margin: 0 0 4px;}
.options .edit {
  padding-left: 22px;
  background: url(/images/icon-edit.png) left center no-repeat;
  }
.options .delete {
  padding-left: 22px;
  background: url(/images/icon-cross.png) left center no-repeat;
  }
.options .view {
  padding-left: 22px;
  background: url(/images/icon-magnifier.png) left center no-repeat;
  }
.options .back {
  padding-left: 22px;
  background: url(/images/icon-back.png) left center no-repeat;
  }

.inline {display: inline; float: left;}
.inline li {display: inline; float: left; margin-right: 15px;}

.admin {margin-top: 1em;}
.admin textarea, .admin input[type="text"] {width: 620px;}
.admin textarea {height: 320px;}
.admin select {margin: 0 5px 10px 0;}

#pictures {float: left; clear: both;}


/* 4: GLOBALS
============================================================================ */

p {margin: 0 0 1em;}

h1, h2 {
  margin: 0 0 12px;
  padding: 0;
  color: #3b4648;
  font-size: 32px;
  font-weight: bold;
  font-family: Calibri, "Helvetica Neue", Arial, sans-serif;
  }
h2 {font-size: 20px;}
h1 a:link, h1 a:visited, h2 a:link, h2 a:visited {
  padding: 0 !important;
  background: none !important;
  color: #3b4648 !important;
  -webkit-text-stroke: 1px transparent !important;
  }
h1 a:hover, h2 a:hover {color: #32abc9 !important;}

h3 {
  display: block;
  padding: 15px 0 20px;
  color: #bbb;
  background: url(/images/divider-dottedborder.png) top left repeat-x;
  font-size: 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
	font-size-adjust: none;
  text-transform: uppercase;
  }

em.highlight {background: #ffb; font-style: normal;}

blockquote {padding: 0.5em 0; color: #708c98;}
blockquote p {
	padding: 0 20px !important;
	border-left: 3px solid #ddd;
	font: italic 18px Cambria, Palatino, Georgia, serif;
	line-height: 160%;
	}

pre {
  width: 960px;
  margin: .5em 0 1.5em;
  overflow-x: auto;
  }

code {
	color: #cc86cc;
	font-family: Monaco, "Courier New", Courier, mono;
	font-size: 13px;
	}		

kbd {
	margin: 0 1px;
	padding: 1px 3px;
	border: 1px solid #b3e2ef;
	background-color: #effaff;
	font: normal 13px Monaco, "Courier New", Courier, mono;
	}
	
abbr, acronym {
	padding: 1px 0;
	border-bottom: 1px dotted #bbb;
	text-transform: uppercase;
	font-size: 90%;
	letter-spacing: 0.1em;
	cursor: help;
	}

sup {line-height: 0; font-size: 80%;}

/* Links */

a:link, a:visited {
  color: #32abc9;
  text-decoration: none;
	background-color: rgba(0, 0, 0, .05);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	font-weight: bold;
	}
a:hover {color: #fff; background-color: #32abc9;}

a {outline: none;}

a {
	-webkit-transition-duration: .33s;
	-webkit-transition-property: color, background;
	-moz-transition-duration: .33s;
	-moz-transition-property: color, background-color;
	-o-transition-duration: .33s;
	-o-transition-property: color, background-color;  
  }
  
a.img {background: none;}

/* Lists */

dt {
  float: left;
  font-weight: bold;
  padding: 0;
  text-align: right;
  width: 100px;
  }

dd {margin: 0 0 0.5em;}

/* Buttons */

.btn {
  display: block;
  float: left;
  height: 27px;
  padding-right: 18px;
  padding-left: 0 !important;
  border: none !important;
  background: transparent url(/images/btn-right.png) top right no-repeat;
  color: #fff !important;
  font-size: 11px;
  font-style: italic;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Times New Roman", Georgia, sans-serif;
  overflow: hidden;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
  -webkit-text-stroke: 0 transparent;
  }
.btn span {
  background: transparent url(/images/btn-left.png) top left no-repeat;
  display: block;
  padding: 0 8px 0 10px !important;
  line-height: 27px;
  cursor: pointer;
  }
.btn:hover {
  background-position: bottom right;
  background-color: transparent;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none; 
  }
.btn:hover span {background-position: bottom left;}

/* Images */

img {border: none;}

/* Forms */

form {float: left; margin: 0 0 1em;}
form p {margin: 0;}

fieldset {border: none;}
 
label {
  display: block;
  margin: 0 0 2px;
  font-weight: bold;
  }
label span {margin-left: 3px; color: #999; font-weight: normal;}
 
input[type="text"], input[type="password"], textarea {
  width: 368px;
  margin-bottom: 10px;
  padding: 5px;
  color: #777;
  border: 1px solid #ccc;
  background: #fafafa;
  font-family: Monaco, "Courier New", Courier, mono;
  font-size: 12px;
  }
textarea {height: 80px;}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  border: 1px solid #32abc9;
  background: #fff;
  outline: none;
  -webkit-box-shadow: rgba(82, 168, 236, 0.4) 0px 0px 10px;
  -moz-box-shadow: rgba(82, 168, 236, 0.4) 0px 0px 10px;
  -o-box-shadow: rgba(82, 168, 236, 0.4) 0px 0px 10px;
  }

          
/* 5: SLIDER
============================================================================ */

#slider {
  float: left;
  width: 100%;
  padding: 40px 0 0;
  background: #fff;
  }
#slider .wrapper {width: 960px;}
#slider p a {padding: 0 .2em;}

.coda-slider-wrapper {
  clear: both;
  position: relative;
  margin: -210px 0 0;
  overflow: auto;
  }

.details {
  float: left;
  width: 940px;
  margin: -7px 10px 0;
  background: url(/images/divider-dottedborder.png) top left repeat-x;
  }
.details .work {float: left; margin-top: 15px;}
.details .visit {float: right; margin-top: 15px;}

.coda-slider {float: left; overflow: hidden; position: relative;}
.coda-slider .panel {display: block; float: left; text-align: center;}
.coda-slider .panel-container {position: relative;}

.coda-slider-wrapper.arrows .coda-slider,
.coda-slider-wrapper.arrows .coda-slider .panel {
  width: 960px;
  }

.coda-nav-left a, coda-nav-right a {
  position: absolute;
  top: 200px;
  left: 10px;
  width: 12px;
  height: 20px;
  background: url(/images/arrow-left.png) center left no-repeat;
  text-indent: -99999px;
  z-index: 10000;
  }
.coda-nav-right a {
  position: absolute;
  top: 200px;
  right: 10px;
  width: 12px;
  height: 20px;
  background: url(/images/arrow-right.png) center right no-repeat;
  text-indent: -99999px;
  z-index: 10000;
  }
.coda-nav-left, .coda-nav-right {float: left;}
.coda-nav-left a, .coda-nav-right a {display: block; text-align: center; text-decoration: none;}

.coda-nav {float: left; margin-top: -31px;}
.coda-nav ul {
  clear: both;
  display: block;
  margin: 0 auto auto;
  overflow: hidden;
  }
.coda-nav ul li {display: inline;}
.coda-nav ul li a {
  display: block;
  float: left;
  width: 9px;
  height: 9px;
  margin: 0 0 0 6px;
  background: url(/images/indicator.png) center left no-repeat;
  text-indent: -99999px;
  text-decoration: none;
  }
.coda-nav ul li a.current {
  background: url(/images/indicator-active.png) center left no-repeat;
  }

/* Use this to keep the slider content contained in a box when JS is disabled */

.coda-slider-no-js .coda-slider {
  height: 200px;
  overflow: auto !important;
  padding-right: 20px;
  }

/* Preloader */

.coda-slider p.loading {padding: 20px; text-align: center;}


/* 6: MISC
============================================================================ */

/* hr */

.hr, .hr-big {
	height: 1px;
	margin: 30px 0;
	border-bottom: 1px solid #ddd;
	font-size: 1px;
	line-height: 1px;
	}
.hr-big {
	height: 5px;
	margin: 30px 0;
  background: url(/images/divider-dottedborder.png) top left repeat-x;
	font-size: 5px;
	line-height: 5px;
	}
.hr hr, .hr-big hr {display: none;}

/* Clear floats */

.clearall {
	display: block;
	clear: both;
	height: 1px;
	margin: 0;
	font-size: 1px;
	line-height: 1px;
	}

.hide {display: none;}