/*
-----------------------------------------------
Typesetting for ....
Author:   Timothy Whalin
Date:     7 Dec 2011

http://modularscale.com/scale/?px1=12&px2=16&ra1=1.618&ra2=0
12px @ 1:1.618
16px @ 1:1.618

-----------------------------------------------
Colors:

Primary color: 0A304E
Secondary color: 4B86B2

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


/* master styles
--------------------------------------------- */
body, html {
    height:100%;
    /* max-height:1070px;
    overflow-y:scroll; */
}

body {
    font-size:20px;
    line-height:1.4em;
    font-family:'proxima-nova', 'Helvetica', 'Avenir', 'Arial', sans-serif;
    font-weight: normal;
    font-style: normal;
    color:#FFFFFF;
    background:#141414;
}

body:before {
    content:'';
    position:fixed;
    top:0;
    left:0;
    height:100%;
    width:10px;
    background:#E55D16;
    z-index:2;
}

h1 {
    font-size:3em;
    line-height:1em;
    margin-bottom:1em;
    max-width: 550px;
}

p {
    margin-bottom:1em;
    max-width: 700px;
    text-shadow: 0px 3px 9px rgba(20,20,20,0.5), 0px 1px 2px rgba(20,20,20,0.3);
}

.content h1 {
    font-size:1.5em;
    line-height:1.5em;
}

.content p:last-child {
    padding-bottom:4em;
}

a, a:visited {
    color:#00A4B4;
    font-weight:600;
    cursor: pointer;
}

a:hover {
    color:#00A4B4;
}

::-moz-selection {
  color: #fff;
  background: #00A4B4;
}

::selection {
  color: #fff;
  background: #00A4B4;
}

/* fonts
--------------------------------------------- */
@font-face {
    font-family: 'proxima-nova';
    src: url('../fonts/ProximaNova-Light.ttf')  format('truetype');
    font-style:normal;font-weight:400;
}

@font-face {
    font-family: 'proxima-nova';
    src: url('../fonts/ProximaNova-Sbold.ttf')  format('truetype');
    font-style:normal;font-weight:600;
}

@font-face {
    font-family: 'proxima-nova';
    src: url('../fonts/ProximaNova-Bold.ttf')  format('truetype');
    font-style:normal;font-weight:700;
}


/* page structure
-------------------------------------------- */
.bg {
    position:fixed;
    bottom:0px;
    right:0px;
    height:100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index:-1;
    min-height:100%;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.bg img {
    height:100%;
    min-width: 100%;
    max-height:1070px;
    min-height: 900px;
}


#inline-pic {
    width:100%;
    display:none;
    margin-bottom: 2em;
    float:right;
    width:44%;
    padding: 6px;
    margin:0px 0px 30px 4%;
}

.content {
    position:relative;
    padding:100px 50% 0px 80px;
    max-width:700px;
    z-index:1;
}

.content-container {
    max-width:1500px;
    position:relative;
    margin:0 auto;
    min-height:100%;
    z-index:100;
}




/* triangles
-------------------------------------------- */
.hoverZone {
    position:fixed;
    z-index:1;
    top:0;
    left:0;
    height:100%;
    width:200px;
}
.triangles {
    position:fixed;
    top:0;
    left:0;
    z-index:0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.triangles * {
    left:-50%;
    position:absolute;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg);
    -moz-transition: 2s;
    -webkit-transition: 2s;
    -o-transition: 2s;
    transition: 2s;
}

#tr1 {
    background:#00A4B4;
    width:270px;
    height:270px;
    top:-114px;
    left:-135px;
    opacity:0.4;
}

#tr2 {
    background:#E55D16;
    width:290px;
    height:290px;
    top:69px;
    left:-145px;
    opacity:0.55;
}

#tr3 {
    background:#FFC400;
    width:500px;
    height:500px;
    top:183px;
    left:-250px;
    opacity:0.4;
}

.hoverZone:hover + .triangles #tr1 {
    top:200px;
}

.hoverZone:hover + .triangles #tr2 {
    top:-50px;
}

.hoverZone:hover + .triangles #tr3 {
    width:600px;
    height:600px;
    top:100px;
    left:-300px;
}





/* First Site
-------------------------------------------- */
.first-site {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(20,20,20,0.9);
    z-index:999;
    padding:10px;
    overflow: hidden;
    cursor: zoom-out;
    -moz-transition:  all 0.3s ease-in-out;
    -webkit-transition: all .3s  ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity:0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
     box-sizing: border-box;
}

.first-site img {
    display:block;
    margin: 0 auto;
    position:relative;
    top:53%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    max-height:100%;
    max-width:100%;
    -moz-transition:  all 0.4s ease-in-out;
    -webkit-transition: all .4s  ease-in-out;
    transition: all 0.4s ease-in-out;
}


body:not(.modal-open) .first-site {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

body.modal-open {
    overflow: hidden;
}
.modal-open .first-site {
    opacity:1;
}

.modal-open .first-site img {
    top:50%;
}



/* animation
--------------------------------------------- */
.ltrans p, .ltrans h1 {
    -moz-transition:opacity all 700ms ease-in-out;
    -webkit-transition:opacity all 700ms  ease-in-out;
    -o-transition:opacity all 700ms ease-in-out;
    transition: all 700ms ease-in-out;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(15px);
    -ms-filter: blur(5px);
    filter: blur(5px);
    opacity: 0;
    -webkit-transform: scale(0.97);
    -moz-transform: scale(0.97);
    -o-transform: scale(0.97);
    -ms-transform: scale(0.97);
    transform: scale(0.97);
}

.ltrans .loading p, .ltrans .loading h1 {
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -ms-filter: blur(0px);
    filter: blur(0px);
    opacity:1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.content h1 {
    transition-delay: 0ms;
}

.content p:nth-child(3), .triangles #tr1 {
    transition-delay: 250ms;
}

.content p:nth-child(4), .triangles #tr2 {
    transition-delay: 500ms;
}

.content p:nth-child(5), .triangles #tr3 {
    transition-delay: 700ms;
}

.content p:nth-child(6) {
    transition-delay: 850ms;
}

.ltrans .triangles * {
    -moz-transition:  all 0.6s ease-in-out;
    -webkit-transition: all .6s  ease-in-out;
    transition: all 0.6s ease-in-out;
    opacity: 0 !important;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
    left:-80%;
}

.ltrans .loading .triangles * {
    opacity:0.4 !important;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    left:-50%;
}

.ltrans .hoverZone {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}



/* footer
--------------------------------------------- */








/*
-----------------------------------------------
CSS Cheat Sheet for most used Lines

-moz-transition: 1s;
-webkit-transition: 1s;
-o-transition: 1s;

white-space:nowrap;

-moz-text-overflow: ellipsis;
-webkit-text-overflow: ellipsis;
text-overflow: ellipsis;

-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;

-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius:5 px;

-moz-box-shadow: 0px 1px 1px rgba(255,255,255,0.15);
-webkit-box-shadow: 0px 1px 1px rgba(255,255,255,0.15);
box-shadow: 0px 1px 1px rgba(255,255,255,0.15);

---Creates Bullet Point before ---
:not(:first-child):before {
content:"\2022";
color:#5b5b5b;
padding: 0px 7px;
}

@media screen and (max-width: 1280px) { }

Applies to Mobile Phone only:
@media screen and (max-device-width: 480px) {

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