/*! normalize.css v2.0.1 | MIT License | git.io/normalize */

article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:700;}dfn{font-style:italic;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em;}pre{white-space:pre-wrap;word-wrap:break-word;}q{quotes:\201C \201D \2018 \2019;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-.5em;}sub{bottom:-.25em;}img{border:0;}svg:not(:root){overflow:hidden;}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,html input[type=button],/* 1 */
input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;}button[disabled],input[disabled]{cursor:default;}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0;}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-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}body,figure{margin:0;}legend,button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}

/*** @CORE ***/


body {
  font-size:100%;
  line-height:1.5;
  font-family:'Open Sans';
  color:#999;
  background: url(../images/bg.png);
  font-weight:300;
}

a {
  color:#5db0d7;
  text-decoration:none;
}

.fakeanchor {
  color:#5db0d7;
}

a:hover {
  text-decoration:underline;
}

.wrapper {
  width:373px;
  margin:1% auto;
  text-align:center;
  max-width: 90%;
}

.wrapper img {
  max-width:100%;
}

.projects .wrapper {
  width:50%;
  text-align:left;
  padding:2em 3em 4em;
  background: url(../images/card-bg.png);
  border-radius: 1em;
  border:1px solid #ddd;
}

/*** @TYPOGRAPHY ***/

/***
Formula for Vertical Rythym 

Find a number divisible
by base number larger than
font size px. 

This number is in pixels,
to be divided by 16, then
by the font-size in em.

You get line-height.

***/

h1,h2,h3,h4,h5,h6,
ul,ol,dl,p,address,figure,pre,fieldset,table,hr, .island,.media{
  margin-bottom:24px;
  margin-bottom:1.5rem;
}

h1,.alpha{
  font-size:2em;      /* 32px */
  line-height:1.5;    /* 48px */
}
h2{
  font-size:1.5em;    /* 24px */
  line-height:1;      /* 24px */
}
h3{
  font-size:1.25em;   /* 20px */
  line-height:1.2;    /* 24px */
}
h4{
  font-size:1.125em;    /* 18px */
  line-height:1.333;    /* 24px */
}
h5{
  font-weight:bold;
}
h5,
h6{
  font-size:1em;      /* 16px */
  line-height:1.5;    /* 24px */
}

li ul {
  height:0;
  margin-left:.5em;
  opacity:0;

  -webkit-transition: all 1s ease .5s;
  -moz-transition: all 1s ease .5s;
  -o-transition: all 1s ease .5s;
  -ms-transition: all 1s ease .5s;
  transition: all 1s ease .5s;

  list-style: circle inside !important;
  
}

li ul li:before {
  content:'' !important;
}

li:hover ul {
  height:auto;
  opacity:1;
}

ul {
  text-align:left;
}

/*** @HEADER ***/

.branding {
  width:373px;
  max-width:90%;

  margin: 0 auto;

  background: url(../images/card-bg.png);
  border-radius:0 0 1em 1em;
  padding-bottom:.75em;
  border:1px solid #ddd;
  border-top:none;
}

.logo h1{
  margin:0;
  text-align:center;
  font-weight:300 !important;
  color:#666;
}

.branding nav li {
  display:inline;
  list-style:none;
}

.branding nav ul {
  text-align:center;
  margin:0;
  padding:0;
}

.branding nav {
  text-align:center;
}

/*** @CARD ***/

.card-content {
  margin-top:-6px;
  border:1px solid #ddd;
  border-top:none;
  border-radius: 0 0 36px 36px;
  padding: 1em 1em 0;
  background: url(../images/card-bg.png);
}

.card-content p + p {
  margin-bottom:.75em;
}

.card-content > div {
  margin-bottom: 48px;
  margin-bottom: 3em;
  margin-bottom: 3rem;
}

.card-content .fakeanchor {
  margin-bottom:0;
}


/*** @NAME ***/

.name {
  font-size:2.5em;
  line-height:1.2em;
  margin-top:-.3em;
  color:#666;
  margin-bottom:.3em;
}

.tagline {
  font-style:italic;
}

/*** @THIRDBLOCK ***/

.third-block {
  overflow:hidden;
}

/*** @DROPDOWNS ***/

.dropdowns {
  float:left;
  width:80%;
}

.dropdowns ul {
  margin:0;
  list-style:none;
  padding-left:.75em;
}

.dropdowns li {
  margin-bottom:1.5em;
}

.dropdowns > ul li:before {
  content: "\002B \0020";
}

.dropdowns li ul {
  font-size:.75em;
  line-height:2em;
}

.dropdowns li ul li {
  margin-bottom:0;
}

li:hover .drop-edu {
  height:30px;
}

li:hover .drop-sof {
  height: 140px;
}

li:hover .drop-ski {
  height:320px;
}

/*** @SOCIAL ***/

.social {
  color:#ddd;
  width:15%;
  float:right;
  text-align:right;
  opacity:.5;
}

.social div {
  display:block;
  margin-bottom:0;
}

.social a:hover {
  text-decoration:none;
}

/*** @LINKS ***/

.links {
  margin-bottom:1.5em;
  font-style:italic;
}

/*** @NAV ***/

.card-content nav {
  font-size:2em;
  padding-bottom: .5em;
}


/*** @PROJECTS ***/

.proj-item {
  width:100%;
  overflow:hidden;
  margin-bottom:3em;
}

.proj-item img {
  width:48%; 
  float:left;
}

.proj-item .proj-info {
  width:48%;
  float:right;
}

.proj-info h3 {
  margin-top:0;
  font-weight:300;
}

.proj-info a{
  text-decoration:underline;
}

.proj-info a:hover {
  text-decoration:none;
}

/*** @PROJECTPAGE ***/

.projectpage h2 {
  font-weight:300;
  text-align:center;
  font-size:3em;
  line-height:1.2em;
  margin-top:0;
}

#slider {
  overflow:hidden;
  height:auto;
}

#gallery {
  display:none;
}

#slider-content {
  width:2000%;

  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

#slider-content img {
  float:left;
  width:auto;
}

/*** @FOOTER ***/

.colophon {
  font-size:.75em;
  opacity:.5;
  margin-top:4em;
}

@media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {

  .projects .wrapper {
    width:90%;
  }

  .branding {
    margin: 0 auto;
    position:static;
  }

}
