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

Main styling

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

html * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'ProximaNova-Regular', sans-serif; font-size: 14px; color: #FFF;}

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

Fonts

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

.nav-collapse, .nav-collapse ul { font-family: 'ProximaNova-Regular', sans-serif; font-size: 1em; font-weight: 600; letter-spacing: 2px; list-style: none; width: 100%; float: left; }
.nav-collapse ul a:hover {color: #9fa2a3; -webkit-transition: all 1s; -moz-transition: all 1s; -ms-transition: all 1s; -o-transition: all 1s; transition: all 1s; }
.nav-collapse li { float: left; width: 100%; }
@media screen and (min-width: 40em) { .nav-collapse li { width: 25%; *width: 24.9%; /* IE7 Hack */ _width: 19%; /* IE6 Hack */ } }
.nav-collapse a { color: #fff; text-decoration: none; width: 100%; padding: 0.7em 1em; float: left; text-transform: uppercase; }
@media screen and (min-width: 40em) { .nav-collapse a { margin: 0; padding: 1em; float: left; text-align: center; border-bottom: 0; } }
.nav-collapse ul ul a { background: #ca3716; padding-left: 2em; }
.nav-toggle { position: fixed; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; text-decoration: none; text-indent: -999px; position: relative; overflow: hidden; width: 70px; height: 55px; float: right; padding: 0; margin: 0; }
.nav-toggle:before { color: #FFF; font-family: "responsivenav", sans-serif; font-style: normal; font-weight: normal; font-variant: normal; font-size: 72px; text-transform: none; position: absolute; content: "≡"; text-indent: 0; text-align: center; line-height: 55px; speak: none; width: 100%; top: 0; left: 0; }
.nav-toggle.active::before { font-size: 32px; content:"x"; }

@font-face {
  font-family: "responsivenav";
  src:url("fonts/responsivenav.eot");
  src:url("fonts/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("fonts/responsivenav.ttf") format("truetype"),
    url("fonts/responsivenav.woff") format("woff"),
    url("fonts/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ProximaNova-Bold';
  src: url('fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),  url('fonts/ProximaNova-Bold.woff') format('woff'), url('fonts/ProximaNova-Bold.ttf')  format('truetype'), url('fonts/ProximaNova-Bold.svg#ProximaNova-Bold') format('svg');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'ProximaNova-Regular';
  src: url('fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),  url('fonts/ProximaNova-Regular.woff') format('woff'), url('fonts/ProximaNova-Regular.ttf')  format('truetype'), url('/fonts/ProximaNova-Regular.svg#ProximaNova-Regular') format('svg');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'MuseoSans-300';
  src: url('fonts/MuseoSans-300.eot?#iefix') format('embedded-opentype'),  url('fonts/MuseoSans-300.otf')  format('opentype'),
       url('fonts/MuseoSans-300.woff') format('woff'), url('fonts/MuseoSans-300.ttf')  format('truetype'), url('fonts/MuseoSans-300.svg#MuseoSans-300') format('svg');
  font-weight: normal;
  font-style: normal;
}

h1 { font-size: 2.625em; font-weight: 300; letter-spacing: 2px; }
h2 { font-size: 1.750em; font-weight: 300; letter-spacing: 2px; text-align: center; padding-bottom: 35px; }
h3 { font-size: 1.575em; font-weight: 300; letter-spacing: 2px; }
h4 { font-size: 1.1em; font-weight: 300; letter-spacing: 2px; }

.logo h1 {font-size: 1.5em;}

.tagline h1 { margin-bottom: 60px; }
.tagline h2 { font-family: 'MuseoSans-300', sans-serif; font-weight: 300; font-size: 3em; color:#FFF; margin: 60px 0 120px 0; letter-spacing: 1px; }

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) { h1 { font-size: 2.625em; } h2 { font-size: 1.250em; } h3 { font-size: 1.375em; } h4 { font-size: 0.875em; } .tagline h2 { font-size: 1.8em; } .aboutme p { font-size: 0em;} ul#sociallinks li { margin: 0 0 20px 0; } }
.projectpadding {margin-bottom: 20px;}
.aboutme h2 { color: #2c3e50; }
.aboutme p { font-family: 'MuseoSans-300', sans-serif; font-size: 1.5em; font-weight: 300; color: #9fa2a3; text-align: center; }
.aboutme h2, .mywork h2, .footer h2 { overflow: hidden; text-align: center; }
.aboutme h2:before, .aboutme h2:after, .footer h2:before, .footer h2:after { background-color: #e57d25; }
.mywork h2:before, .mywork h2:after { background-color: #FFF; }
.aboutme h2:before, .mywork h2:before, .footer h2:before, 
.aboutme h2:after, .mywork h2:after, .footer h2:after { content: ""; display: inline-block; height: 2px; position: relative; vertical-align: middle; width: 8%; }
.aboutme h2:before, .mywork h2:before, .footer h2:before { right: 15px; margin-left: -50%; }
.aboutme h2:after, .mywork h2:after, .footer h2:after { left: 15px; margin-right: -50%; }

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

Primary style

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

.background { background: url(../images/background.jpg) center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; text-align: center; margin-bottom: 35px; min-height: 850px !important; }
.padding { padding-top:50px; }
.paddingbot { padding-bottom: 30px; }

/*ul#navigation { font-family: 'ProximaNova-Regular', sans-serif; font-size: 1em; font-weight: 600; padding-top: 8px; text-align: center; letter-spacing: 2px; }
ul#navigation li { display: inline; text-transform: uppercase; padding: 0; margin: 0 0 0 35px; }
ul#navigation a { text-decoration: none; color: #FFF; padding-bottom: 4px; margin: 0 0 0px 0; }
ul#navigation a:hover { border-bottom: 2px #e57d25 solid; padding-bottom: 12px; }*/
hr { border: none; color: #f00; background-color: #e57d25; height: 1px; width: 15%; }
.arrow { margin-top: 50px; }

.whaticando { /*float: left;*/  word-wrap: break-word; color: #FFF; padding: 20px; margin-right: 30px; border: 2px solid #fff; text-decoration: none; letter-spacing: 2px; font-size: 1.125em; width: 200px; text-align: center; }
.whaticando a { color: #FFF; text-decoration: none; }
.whaticando:hover { background-color: #FFF; color: #e57d25; -moz-transition: all 1s; -ms-transition: all 1s; -o-transition: all 1s; transition: all 1s; }

.whatido p { text-align: center; }
.whatido h3 { color: #e47c25; text-align: center; font-size: 1.8em; }

.project { /*float: left;*/ word-wrap: break-word; color: #FFF; padding: 20px; text-decoration: none; border: 2px solid #e47c25; letter-spacing: 2px; font-size: 1.125em; width: 200px; background-color:#e47c25; text-align: center; }
.project a { color: #FFF; text-decoration: none; }
.project:hover { color: #2C3E50; -moz-transition: all 1s; -ms-transition: all 1s; -o-transition: all 1s; transition: all 1s; }
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) { /*.project { margin-right: 0px; margin-top: 300px; padding-top: 300px; width: 150px; background-color:red;}*/ }

.mywork { background-color: #e57d25; }
.mywork p {font-family: 'ProximaNova-Regular', sans-serif;}
.mywork img { display: block; width: 100%; }
.viewproject { font-family: 'ProximaNova-Regular'; font-size: 0.875em; font-weight: 300; color: #FFF; text-transform: uppercase; background-color: #2c3e50; padding: 15px 13px; text-decoration: none; letter-spacing: 2px; }
.viewproject a { color: #FFF; text-decoration: none; }
.viewproject:hover { color: #E57D25; -moz-transition: all 1s; -ms-transition: all 1s; -o-transition: all 1s; transition: all 1s; }

.footer { background: url(../images/footerbackground.jpg) no-repeat center center; width: 100%; float: left; text-align: center; padding-bottom: 10px; }
ul#sociallinks { padding: 30px 0 0 0; }
ul#sociallinks li { display: inline; text-transform: uppercase; margin: 0 25px 0 0;}

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

Timeline

-------------------------------- */
.timeline-container { width: 100%; max-width: 1170px; margin: 0 auto; }
.timeline-container::after {
  content: ''; display: table; clear: both; }

#cd-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 3px;
  background: #9fa2a3;
}
@media only screen and (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.cd-timeline-img img {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -12px;
}
.cd-timeline-img.cd-picture {
  background-color: #e57d25;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
    width: 30px;
    height: 30px;
    left: 50%;
    margin-left: -16px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  border-radius: 0.5em;
  padding: 1em;
}

.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h3 {
  color: #2c3e50;
  text-transform:uppercase;
  font-size: 1.3em;
  font-family: "Proxima Nova", sans-serif;
  text-align: center;
  font-weight: 600;
  letter-spacing: 2px;
}

.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  display: inline-block;
}

.cd-timeline-content p {
  letter-spacing: 1px;
  margin: 0.8em 0;
  line-height: 1.4;
}

.cd-timeline-content .cd-date {
  float: left;
  padding: 0.2em 0;
}

@media only screen and (min-width: 768px) {
  .cd-timeline-content h2 {
    font-size: 1.25em;
  }
  .cd-timeline-content p {
    font-size: 1.175em;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
    font-family: "Proxima Nova", sans-serif;
    font-weight: 600;
    font-size: 0.875em;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    margin-left: 0;
    padding: 0em;
    width: 45%;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: white;
  }
  .cd-timeline-content .cd-read-more {
    float: left;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 1px;
    font-size: 1em;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: white;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cssanimations .cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}

@media only screen and (min-width: 1170px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}