/********************************************

	title: styles.css
	
	description: styles of jpilantrose.com
	
	last updated: 6/03/2012
	
*********************************************/

html {
	font-size: 62.5%;
}

body {
	margin: 0; padding: 0;
	font-size: 16px;
	background: #fff;
	opacity: 0;
}

img, embed, object,video {
	width: 100%;
}

.container {
	margin: 0 auto; padding: 0;
	width: 90%; /*-- 850px ---*/
}

p {
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	letter-spacing: 1px;
	font-weight: 300;
	color: #818181;
	font-size: 1em; /* 12/16 */
}

a, a img { outline: none; border: none; }

a {
	text-decoration: none;
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	color: #ea8419;	
	font-weight: 300;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0;
}

.gray {
	color: #818181;
}

.orange {
	color: #ea8419;
}

.blue {
	color: #0b374c;
}

button, a.button, input.button {
	background: none;
	border: solid 1px #ea8419;
	padding: 1.4rem 3rem;
	height: auto;
	color: #0b374c;
	font-family: "quatro-slab",serif;
        -webkit-transition: background 0.2s linear;
        -moz-transition: background 0.2s linear;
        -ms-transition: background 0.2s linear;
        -o-transition: background 0.2s linear;
        transition: background 0.2s linear;
}


a.button:hover, input.button:hover {
	background: #ea8419;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.clear {
	clear: both;
}

.right {
	float: right;
}

.update {
	color: #cccccc;
	font-style: italics;
}

/* header styles */

#header {
	margin: 0 0; /* 20px/850px */
	padding: 15px .625% 5px .625%; /* 5px/800px */
	width: 100%; /* 800px/850px */
	position: fixed;
	background: #fff;
	top: 0;
	z-index: 2000;
}

#header h1 {
	margin: 0 0 5px 2%; padding: 0;
	width: 40%; /* 320px/850px */
	font-size: 2.5em;
	text-transform: uppercase;
	font-family: "quatro-slab",serif;
	color: #818181;
	display: inline-block;
}

#header h1 a {
	width: 100%; /* 320px/320 */
	display: block;
	font-size: 1em;
	text-transform: uppercase;
	font-family: "quatro-slab",serif;
}

#header h1 a:hover {
	text-decoration: none;
}

#header h1 span {
	margin-left: 2%;
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	text-transform: uppercase;
	font-size: .5em;
}

#header p {
	margin: 26px 2% 0 0; padding: 0;
	width: 55%; /* 300px/850px */
	font-size: 1em; /* 13/16 */
	color: #a6a6a6;
	float: right;
	text-align: right;
}

#header a {
	color: #a6a6a6;
}


/* nav styles */

#nav {
	margin: 32px 0 0 .58%; /* 5px/850px */
	padding: 0 0 0 1.4%;
	width: 15.5%; /* 132px/850px */
	float: left;
}

#nav.sticky div {
	position: fixed;
	top: 80px;
}

#nav h2 {
	margin: 18px 0 0 2.4%; /* 20px/850px */
	font-family: "quatro-slab",serif;
	text-transform: uppercase;
	font-weight: 300;
	font-size: 1.2em; /* 14/16 */ 
	color: #0b374c;
	letter-spacing: 1px;
}

#nav h2 a {
	font-family: "quatro-slab",serif;
	text-transform: uppercase;
	font-weight: 300;
	font-size: 1em; /* 14/16 */ 
	color: #0b374c;
	letter-spacing: 1px;

}


/* hero */

#hero {
	width: 100%;
	height: 60vh;
	min-height: 480px;
	text-align: center;
	background: #ea8419;
}

#hero h1 {
	padding-top: 15vh;
	margin: 0;
	color: #fff;
	font-size: 4em;
	text-transform: uppercase;
	font-family: "quatro-slab",serif;
}

#hero p {
	margin: 10px auto 20px;
	max-width: 640px;
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	font-weight: 500;
	color: #fff;
	font-size: 1.5em; /* 12/16 */
	text-shadow: 1px 1px 1px #ea8419;
	letter-spacing: 1px;
}

#hero button, #hero a.button {
	margin-top: 10px;
	border: solid 1px #fff;
	color: #fff;
	font-size: 1.2em;
	text-shadow: 1px 1px 1px #ea8419;
	background: rgba(255,255,255,.1);
	display: inline-block;
}

#hero a.button:hover {
	background: #ea8419;
	color: #fff;
	text-decoration: none;
}

#hero .cycle-slideshow {
	list-style-type: none;
	width: 100%;
	height: 60vh;
	margin: 0; padding: 0;
	position: relative;
}

#hero .cycle-slideshow .slide {
	width: 100%;
	height: 60vh;
	min-height: 480px;
}


.slide1,.slide2,.slide3,.slide4,.slide5 {
  position: absolute;
	width: 100%;
	height: 60vh;
	min-height: 480px;
}
.slide1 {
  background: url('../images/hero1.png')no-repeat center;
      background-size: cover;
	background-attachment: fixed;
    animation:fade 36s infinite;
-webkit-animation:fade 36s infinite;

} 
.slide2 {
  background: url('../images/hero2.png')no-repeat center;
      background-size: cover;
	background-attachment: fixed;
    animation:fade2 36s infinite;
-webkit-animation:fade2 36s infinite;
}
.slide3 {
    background: url('../images/hero3.png')no-repeat center;
      background-size: cover;
	background-attachment: fixed;
    animation:fade3 36s infinite;
-webkit-animation:fade3 36s infinite;
}
.slide4 {
    background: url('../images/hero4.png')no-repeat center;
      background-size: cover;
	background-attachment: fixed;
    animation:fade4 36s infinite;
-webkit-animation:fade4 36s infinite;
}
.slide5 {
    background: url('../images/hero5.png')no-repeat center;
      background-size: cover;
	background-attachment: fixed;
    animation:fade5 36s infinite;
-webkit-animation:fade5 36s infinite;
}
@keyframes fade
{
  0%   {opacity:1}
  20% { opacity: 0}
  40% { opacity: 0}
  60% { opacity: 0}
  80% { opacity: 0}
  100% { opacity: 1}
}
@keyframes fade2
{
  0%   {opacity:0}
  20% { opacity: 1}
  40% { opacity: 0}
  60% { opacity: 0}
  80% { opacity: 0}
  100% { opacity: 0}
}
@keyframes fade3
{
  0%   {opacity:0}
  20% { opacity: 0}
  40% { opacity: 1}
  60% { opacity: 0}
  80% { opacity: 0}
  100% { opacity: 0}
}
@keyframes fade4
{
  0%   {opacity:0}
  20% { opacity: 0}
  40% { opacity: 0}
  60% { opacity: 1}
  80% { opacity: 0}
  100% { opacity: 0}
}
@keyframes fade5
{
  0%   {opacity:0}
  20% { opacity: 0}
  40% { opacity: 0}
  60% { opacity: 0}
  80% { opacity: 1}
  100% { opacity: 0}
}


/* subnav styles */

.project, .other {
	margin: 0 0 20px 0;
	padding: 20px 0 20px 0;
	width: 100%; /* 770px/850px */
	float: left;
	border-bottom: solid 1px #cccccc;
}

.other {
	border: none;
	padding-top: 0;
}

.project p, .project h3 {
	margin: 0 0 10px 0; 
	padding: 0 .96% 0; /* 5/520 */
	float: left;
	width: 48%;
}

.project p.right { text-align: right; float: right; }

.other_col {
	margin: 0 2% 0 0;
	width: 46%; 
	float: left;
	margin-left: 5px; 
}

.other .other_col p {
	width: 100%;
}

#content .other h3 a {
	font-size: 1em;
	font-family: "quatro-slab",serif;
	text-transform: uppercase;
	font-weight: 300;
	color: #0b374c;
}

.subnav {
	margin: 0 2% 0 0;
	width: 40%;
	float: left;
	text-align: center;
}

.subnav a {
	margin: 0 0 5px 0;
	padding: 0 0 0 0;
	width: 100%; 
	color: #818181;
	font-size: .6875em; /* 11/16 */
	line-height: 1.631631em; /* 18/11 **/
	float: left;
}

.subnav a:hover {
	text-decoration: none;
	color: #ea8419;
}

/* content styles */

#content {
	margin: 30px 0 0 45px; padding: 0;
	float: left;
	text-align: left;
}

.content_sub {
	width: 61.1%; /* 520/850 */
}

.content_full {
	margin: 0 0 0 1.1%; /* 10/850 */
	width: 72.9%; /* 620/850 */
}

#content h2 {
	font-size: 1.4em; /* 18/16 */
	/*font-family: "franklin-gothic-urw", helvetica, arial, sans-serif; */
	font-family: "quatro-slab",serif;	
	text-transform: uppercase;
	font-weight: 300;
	color: #ea8419;		
}

#content h3 {
	font-size: 1.2em; /*14/16 */
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	font-weight: 300;
	color: #0b374c;
	letter-spacing: 1px;
}

#content p {
	margin: 0 0 10px 0;
	padding: 0 .96% 0; /* 5/520 */
	line-height: 1.5em; /* 20/16 */
}

#content form p {
	margin: 0 0 0 0; padding: 0;
}

#content ul {
	margin: 0; padding: 0;
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	font-weight: 300;
	color: #818181;
	font-size: .75em; /* 12/16 */
}

#content ul li {
	margin: 10px 0 0 2.4%; /* 12/520 */
	padding: 0;
	line-height: 1.666667em; /* 20/12 */
}

#content img {
	margin: 0 10px 0 0
}

#content .fancybox img {
	margin-bottom: 20px;
}

#banner {
	margin: 10px 0;
	padding: 20px 0;
	height: 120px; 
	background: #ea8419;
}

#banner h2 {
	color: #fff;
	font-family: "quatro-slab",serif;	
	text-transform: uppercase;
	font-weight: 300;
	font-size: 2.3em;
	line-height: 120px;
	vertical-align: middle;
	margin-left: 2%;
}

#banner h2 span {
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	font-weight: 300;
	font-size: .5em;
	vertical-align: bottom;
	text-transform: none;
}

/* fadein */

@-webkit-keyframes fadeIn {
	0% {
    	opacity: 0;
    }
    100% {
		opacity: 1;
	}
}
         
@keyframes fadeIn {
    0% {
		opacity: 0;
	}
    100% {
		opacity: 1;
    }
}
  
.fadeIn, .fadeInNow {
	opacity: 0;
}
         
.fadeIn.in-view, .fadeInNow, #banner {
  	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
	animation-duration: 1000ms;
	-webkit-animation-duration: 1000ms;
	-webkit-animation-fill-mode: both;
    animation-fill-mode: both;
	-webkit-animation-delay: 500ms;
	animation-delay: 500ms;
}


/* footer styles */

#footer {
	margin: 40px 0 0 0; padding: 0 3% 0 3%;
	width: 100%;
	height: 60px;
	float: right;
}

#footer p {
	padding: 0;
	font-size: .725em; /* 10/16 */
	line-height: 1.7em; /* 15/10 */
	text-align: right;
}

hr {
	display: none;
}

form {
}

input, textarea, select {
	padding: 5px;
	width: 100%;
	height: 30px;
	font-size: 1.2em;
	border: solid 1px #c1c1c1;
}

select {
	padding: 5px 0;
}

textarea {
	height: 120px;
}

picture.bio_pic {
	margin: 0 12px 4px 0;
	width: 40%;
	float: left;
}

img.linkedin {
	width: 20px;
}

.no-border {
	border: none !important;
}

/*---- Portfolio ---*/

.da-thumbs {
	list-style: none;
	width: 100%;
	position: relative;
	margin: 20px auto;
	padding: 0;
	display: inline-block;
}
.da-thumbs li {
	float: none;
	margin: 0 5px 1%;
	position: relative;
	width: 45%;
	display: inline-block;
	vertical-align: middle;
}
.da-thumbs li a,
.da-thumbs li a img {
	display: block;
	position: relative;
}
.da-thumbs li a {
	overflow: hidden;
}
.da-thumbs li a div {
	position: absolute;
	background: #333;
	background: rgba(75,75,75,0.7);
	width: 100%;
	height: 100%;
}
.da-thumbs li a div span {
	display: block;
	padding: 10px 0;
	margin: 40px 20px 20px 20px;
	font-weight: normal;
	color: rgba(255,255,255,0.9);
}

.da-thumbs li a div span h4 {
	margin: 0 0 20px 0; padding: 0;
	color: #fff;
	font-size: 2.5em;
	line-height: 1em;
	text-transform: uppercase;
	font-family: "quatro-slab",serif;
}

.da-thumbs li a div span p {
	margin: 0; padding: 0;
	color: #fff;
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	font-weight: 400;
	font-size: 1.4em;
}


/*--- Responsive styles ---*/

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

#header h1 {
	width: 30%;
}

#header h1 span {
	display: none;
}

#header p {
	width: 65%;
}

.da-thumbs li a div span h4 {
	margin: 0 0 20px 0; padding: 0;
	color: #fff;
	font-size: 2.2em;
	line-height: 1em;
	text-transform: uppercase;
	font-family: "quatro-slab",serif;
}

.da-thumbs li a div span p {
	margin: 0; padding: 0;
	color: #fff;
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	font-weight: 400;
	font-size: 1.1em;
}

}

@media screen and (max-width: 840px), only screen and (max-device-width: 480px) {

#header {
	height: 80px;
}

#header h1 {
	margin: 0 0 5px 0; padding: 0;
	height: 50px;
	width: 100%; /* 320px/850px */
	float: none;
	text-align: center
}

#header h1 a {
	height: 50px;
	width: 100%; /* 320px/320 */
	display: block;
}

#header h1 span {
	display: none;
}

#header p {
	margin: 0; padding: 0;
	width: 100%;
	font-size: .8125em; /* 13/16 */
	color: #a6a6a6;
	line-height: 1.4em; /* 70/13 */ 
	float: left;
	text-align: center;
}

#banner {
	margin-top: 40px;
}

#nav {
	margin: 0 0 8px; /* 20px/850px */
	padding: 2px 0; /* 5px/800px */
	width: 100%; /* 800px/850px */
	text-align: center;
}

#nav.sticky div {
	top: 92px;
	left: 0;
	background: #fff;
	display: inline-block;
	width: 100%;
	height: auto;
	z-index: 2000;
}

#nav h2 {
	margin: 8px 5px;
	padding: 0 5px;
	display: inline-block;
}

#nav ul {
	margin-top: 3px;
	width: 80%;
	float: left;
}

#nav ul li {
	float: left;
}

#content {
	margin: 0 0 0 2.4%; /* 20px/850px */
	padding: 2px .625% 2px .625%; /* 5px/800px */
	width: 94.1%; /* 800px/850px */
}

#content h2.home {
	display: none;
}

#content h3 {
	margin: 0 0 5px 0;
}


#content ul {
	margin-left: 1%;
}

#content.content_full a img {
	margin-bottom: 15px;
}

.project, .other {
	margin-bottom: 5px;
	padding-top: 10px;
	border-bottom: solid 1px #cccccc;
	border-top: none;
}

hr  {
	margin: 0 0 0 2.4%; /* 20px/850px */
	padding: 2px .625% 2px .625%; /* 5px/800px */
	width: 94.1%; /* 800px/850px */
	display: block;
	border: none;
	border-top: solid 1px #cccccc;
	float: left;
}

}

@media only screen and (max-width: 590px), only screen and (max-device-width: 480px) {

body {
	margin: 0; padding: 0;
	background: #fff;
}

html {
	margin: 0; padding: 0;
}

.container {
	margin: 0; padding: 0;
	width: 100%; /*-- 850px ---*/
}

#header {
	position: relative;
	height: 100px;
}

#header h1 {
	margin-top: 0;
}

#banner {
	margin-top: 0;
	height: auto;
} 

#banner h2 {
	margin: 0;
	text-align: center;
	width: 100%;
	line-height: 1em;
	font-size: 1.8em;
}

#banner h2 span {
	display: none;
}

#hero {
	min-height: 350px;	
}

#hero h1 {
	padding-top: 5vh;
	font-size: 2.2em;
}

#hero p {
	font-size: 1.2em;
}

#hero .cycle-slideshow .slide, .slide1, .slide2, .slide3, .slide4, .slide5 {
	min-height: 350px;
}

#nav {
	height: auto;
}

#nav.sticky div {
	top: 0;
}

#nav ul {
	margin-top: 3px;
	text-align: center;
	width: 94.1%;
}

#nav ul li a {
	font-family: "franklin-gothic-urw", helvetica, arial, sans-serif;
	font-size: .95em; /* 14/16 */ 
	color: #ea8419;
	font-weight: 500;
}

.subnav {
	margin: 0;
	width: 100%;
}

.subnav a {
	width: 100%;
	color: #fff;
}

.subnav a:hover {
	color: #fff;
}

#content h2 {
	margin: 5px 0 3px 0;
}

#content.content_full .subnav a img, #content.content_full .subnav a picture {
	margin-bottom: -4px;
	width: 100%;
}

#content p {
	padding: 0;
}

#content .project p, .project h2, .project h3 {
	margin: 0 0 10px 0; 
	padding: 0;
	float: left;
	width: 100%;
}

#content ul {
	margin-left: 1%;
}

#content .project p strong a {
	margin-top: -10px;
	font-size: 1.25em;
}

.other_col { 
	margin-left: 0;
	/*width: 100%; */
}

#content .other_col p { 
	padding-left: 0;
	padding-right: 5%;
	/*width: 100%; */
}

picture.bio_pic {
	margin: 0 4px 0;
	width: 100%;
	float: none;
}

.da-thumbs li {
	width: 96%;
}

}