* {
	margin:0px;
	padding:0px;
	
}


a {
	text-decoration:none;
}

p, .work_example_title h3, .work_link h4, .contact_info h3, .contact_info h3 a, nav ul li {
	font-family:Courier;
	font-size: 14px;
	
}


body {
	position:relative;
	background-color:black;
	color:white;
}

/* background images */

.cb-slideshow,
.cb-slideshow:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0; 
}
.cb-slideshow:after { 
    content: '';
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.4+0,0.4+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.4) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#66000000',GradientType=0 ); /* IE6-9 */
background-size: cover;
}

.home-slideshow:after{
	display: none !important;
}

.cb-slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 36s linear infinite 0s;
    -moz-animation: imageAnimation 36s linear infinite 0s;
    -o-animation: imageAnimation 36s linear infinite 0s;
    -ms-animation: imageAnimation 36s linear infinite 0s;
    animation: imageAnimation 36s linear infinite 0s; 
}

.cb-slideshow li:nth-child(1) span { 
    background-image: url(../images/slideshow/1.jpg) 
}
.cb-slideshow li:nth-child(2) span { 
    background-image: url(../images/slideshow/2.jpg);
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) span { 
    background-image: url(../images/slideshow/3.jpg);
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) span { 
    background-image: url(../images/slideshow/4.jpg);
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) span { 
    background-image: url(../images/slideshow/5.jpg);
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s; 
}
.cb-slideshow li:nth-child(6) span { 
    background-image: url(../images/slideshow/6.jpg);
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s; 
}
.cb-slideshow li:nth-child(7) div { 
    -webkit-animation-delay: 36s;
    -moz-animation-delay: 36s;
    -o-animation-delay: 36s;
    -ms-animation-delay: 36s;
    animation-delay: 36s; 
}
.cb-slideshow li:nth-child(8) div { 
    -webkit-animation-delay: 42s;
    -moz-animation-delay: 42s;
    -o-animation-delay: 42s;
    -ms-animation-delay: 42s;
    animation-delay: 42s; 
}
.cb-slideshow li:nth-child(9) div { 
    -webkit-animation-delay: 48s;
    -moz-animation-delay: 48s;
    -o-animation-delay: 48s;
    -ms-animation-delay: 48s;
    animation-delay: 48s; 
}

/* Animation for the slideshow images */
@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -webkit-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    8% { opacity: 1;
         animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
/* Show at least something when animations not supported */
.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}

.background_image {
	width:100%;
	height:950px;
	position:absolute;
	top:0px;
	left:0px;
	z-index:-100;
	
}

.mobile_background_image {
	display:none;
}

.show_image {
	z-index:2;
	
}

.wrapper {
	z-index:3;
}


.hidden_image {
	z-index:1;
	
}

.showing_image {
	z-index:2;
	
}



.homepage_wrapper {
	position:absolute;
	left:13.72%;
	
}

.darker_background_image {
	opacity: 0.5;
	
}


.wrapper {
    width: 1200px;
    margin: auto;
    position: absolute;
    left: 13.5%;
}


/* header */

header {
	padding-top:40px;
	
}

.logo {
	width: 432px;
	float:left;
}

.logo img {
	width: 441px;
	
	
}



header h1 {
	font-size: 60px;
	font-family:Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
	
}

.sam_name {
	font-family:Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
	color:#9fdd3e;
	
}

.riley_name {
	margin-left: -27px;
	color:#82b136;
}

header h2 {
	font-size:48px;
	margin-top: -16px;
	color:#c4ceb4;
	
}

nav {
	float:right;
	margin-top: 29px;
	margin-right: -43px;
	
}

nav ul li {
	float:left;
	list-style:none;
	margin-right: 102px;
	
}

nav ul li a {
	text-decoration:none;
	font-size:24px;
	text-transform:lowercase;
	color:#d0d7c2;
	
	
}



nav ul li a img {
	height: 21px;
width: 72px;

}

.contact_menu_image {
	height: 21px;
width: 92px;
	
}





/* about page */


.about_main {
	width: 981px;
	height:580px;
	opacity:.1;
	/*background-color:white;*/
	position:absolute;
	top: 253px;
	left: 12.7%;


	
}

.about_text {
	position:absolute;
	top: 253px;
opacity: 1;
width: 981px;
height: 500px;
color: #d0d7c2;
left: 12.7%;
	
}


.about_text p  {
	margin-bottom: 45px;
	font-size:16px;
	line-height: 25px;
	
}


/* work page */


.main {
	clear:both;
	
}

.work_main {
	margin-top: 160px;
	
}

.work_link_area {
	margin-left: 150px;
	margin-top: 200px;
	
}

.work_link {
	width: 309px;
float: left;
margin-left: 20px;
margin-bottom: 10px;
	
}

.work_link h4 {
	margin-bottom:5px;
	font-weight: 500;
	color:#d0d7c2;
	
}

.work_picture {
	width: 309px;
height: 167px;
background-color: white;
-webkit-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
-moz-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
background-color:black;
}

.work_picture img {
	width:100%;
	height:100%;
	-moz-transition-property:opacity;
	-moz-transition-duration:.5s;
	-moz-transition-timing-function:ease;
	-webkit-transition-property:opacity;
	-webkit-transition-duration:.5s;
	-webkit-transition-timing-function:ease;
	-o-transition-property:opacity;
	-o-transition-duration:.5s;
	-o-transition-timing-function:ease;
	-ms-transition-property:opacity;
	-ms-transition-duration:.5s;
	-ms-transition-timing-function:ease;
	
}

.work_picture a img:hover {
	opacity:.6;
	
	
}



/* work example rules */

.work_example_main {
	margin-top: 143px;
	
}

.work_example_title {
	color:#82b136;
	
}

.work_example_title h3 {
	font-size:14px;

	
}

.work_hide_text_button {
	width:100%;
	
}

.hide_text_button {
	margin-top: 18px;
	float:left;
	margin-left: -31px;
	width: 18px;
	
}

.hide_text_button:hover {
	cursor:pointer;
	
}

iframe {
	margin-top: 20px;
	
}



.work_example_text {
	width: 152px;
	float:left;
	margin-top: 15px;
	
}

.work_example_video {
	float:left;
	width: 952px;
	margin-left: 20px;
	
}


.work_example_info {
	margin-top:10px;
	
}

.work_example_info p {
	color:#d0d7c2;
	
}


/* contact page */


 
 .contact_info {
	 text-align:center;
	position: absolute;
top: 425px;
left: 32%;
	 
 }
 
 .contact_info h3, .contact_info h3 a {
	 color:#d0d7c2;
	 text-decoration:none;
	 font-size:24px;
	 margin-bottom:10px;
	 font-weight: 100;
	 
 }
 
 
 .contact_info h3 a:hover {
	 text-decoration:underline;
	 
 }




/*==================================================================


MEDIA QUERIES
====================================================================== */


/* computer media queries */

@media screen and (max-width:1416px) {
	
	.wrapper {
    left: 6.5%;
}
	
	
}

@media screen and (max-width:1355px) {
	
.wrapper {
    width: 1155px;
	
}

}

@media screen and (max-width:1307px) {
	
nav {
    margin-right: -8px;
}

nav ul li {
    margin-right: 48px;
}

}



@media screen and (max-width:1259px) {
	
	.wrapper {
    width: 1081px;
}
	
	
	
}

@media screen and (max-width:1188px) {
	
	.wrapper {
    width: 1005px;
}
	
	
}

/* work page */


@media screen and (max-width:1262px) {
	
.work_link_area {
    margin-left: 23px;
}
	
}

@media screen and (max-width:1192px) {
	
.work_link_area {
    margin-left: -13px;
}
}


/* work example page */


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

	
	.work_example_text {
    width: 96%;
	margin-left: 6px;
}

.work_example_image {
	height: 1183px;
	
}

iframe {
    margin-left: -14px;
	width: 1034px;
	height: 591px;
}
	
	
}

@media screen and (max-width:1197px) {
	
	iframe {
    width: 959px;
}
	
}

/* about page */

@media screen and (max-width:1262px) {
	
.about_text {
    width: 1033px;
    left: 0.7%;
}
}

@media screen and (max-width:1186px) {
	
.about_text {
    width: 964px;
}
}
















/* IPAD MEDIA QUERIES */


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 

.background_image {
	position:fixed;
	width:1400px;
	height:1250px;
	top:0px;
	
}



/* homepage  */
.homepage_wrapper {
	width:855px;
	left:6.4%;

	
}

.background_image {
	height:1230px;
	
}

nav {
    margin-right: 10px;
}



/* work page */

.work_background_image {
	width:1400px;
	height:1650px;
	
}


.wrapper {
	width:855px;
	
}

nav {
	margin-right:-50px;
	
}


.work_link_area {
    margin-left: 100px;
	margin-top:50px;
}

.work_main {
	height:1500px;
	
}

/* about page */

.about_main {
	width:823px;
	height:580px;
	opacity:.1;
	/*background-color:white;*/
	position:absolute;
	top: 403px;
	left: 1%;


	
}

.about_text {
	position:absolute;
	top: 403px;
opacity: 1;
width: 823px;
height: 500px;
color: #d0d7c2;
left: 1%;	
}

.about_text p {
	font-size:20px;
	
}

/* work example page */

.work_link_area {
    margin-left: -20px;
}

.work_link {
    width: 415px;
    float: left;
    margin-left: 20px;
    margin-bottom: 10px;
}

.work_picture {
    width: 415px;
    height: 267px;
    background-color: white;
-webkit-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
-moz-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
	border:1px solid black;
	background-color: black;
}

.work_picture a img {
	border:1px solid black;
   
}




.work_example_text {
    width: 95%;
	position: absolute;
	top: 730px;
	left:-5px;
}

.work_example_video {
    float: left;
    width: 552px;
    margin-left: 20px;
}

.hide_text_button {
	position: absolute;
	top: 690px;
	left:3.5%;
	margin-bottom:20px;
	
}


.work_example_title h3 {
	font-size:20px;
	
}

.work_example_info p {
	line-height:22px;
	font-size:20px;
	
}

iframe {
	width:850px;
	height:485px;
	margin-left:-20px;
	
	
}

.ikea_video {
	width:850px;
	height:474px;
	
}


/* contact page */

.contact_info {
    text-align: center;
    position: absolute;
    top: 569px;
    left: 22%;
}





}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) { 

.background_image {
	position:fixed;
	width:1000px;
	height:1250px;
	top:0px;
	
}



/* homepage  */


.homepage_wrapper {
	width:855px;
	left:6.4%;

	
}
.background_image {
	height:675px;
	
}

nav {
    margin-right: 10px;
}

.wrapper {
	width:855px;
	
}

nav {
	margin-right:-50px;
	
}

/* work page */

.work_background_image {
	height:860px;
	
}

.work_wrapper {
	height:860px;
	
}


.work_picture a img {
	border:1px solid black;
   
}


.work_link_area {
    margin-left: -10px;
	margin-top:150px;
}

.work_link {
    width: 265px;
    float: left;
    margin-left: 20px;
    margin-bottom: 10px;
}

.work_picture {
    width: 265px;
-webkit-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
-moz-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
    height: 167px;
}

.work_picture a img {
	border:1px solid black;
   
}

.work_main {
	margin-bottom:50px;
	margin-top:50px;
	height:600px;
	
}

.work_background_image {
	height:1200px;
	
}

.work_example_text {
    width: 98%;
	position: absolute;
	top: 700px;
	padding-bottom:60px;
	margin-left:0px;
}

.work_example_video {
    float: left;
    width: 552px;
    margin-left: 20px;
}


.hide_text_button {
	position: absolute;
	top: 660px;
	left:3.5%;
	margin-bottom:20px;
	
}

iframe {
	width:850px;
	height:485px;
	margin-left:-20px;
	
	
}

/* about page */

.about_main {
	width:823px;
	height:580px;
	opacity:.1;
	/*background-color:white;*/
	position:absolute;
	top: 203px;
	left: 1%;


	
}

.about_text {
	position:absolute;
	top: 203px;
opacity: 1;
width: 823px;
height: 500px;
color: #d0d7c2;
left: 1%;
	
}

.about_text p {
	margin-bottom:15px;
	
}

.about_background_image {
	height:785px;
	
}

/* work example page */

.work_example_text {
    width: 98%;
	position: absolute;
	top: 700px;
	padding-bottom:60px;
}

.work_example_video {
    float: left;
    width: 552px;
    margin-left: 20px;
	margin-top:-30px;
}

.hide_text_button {
	position: absolute;
	top: 660px;
	left:3.5%;
	margin-bottom:20px;
	
}

iframe {
	width:850px;
	height:485px;
	margin-left:-20px;
	
	
}

.ikea_video {
	width:850px;
	height:474px;
	
}

.work_example_background_image {
	height:1000px;
	
}


/* contact page */

.contact_info {
    text-align: center;
    position: absolute;
    top: 369px;
    left: 23%;
}


}


@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) { 

.background_image {
	position:fixed;
	width:1400px;
	height:1500px;
	top:0px;
	
}



/* homepage  */
.homepage_wrapper {
	width:855px;
	left:6.4%;

	
}

.mobile_showing_image {
	position:fixed;
	
}

nav {
    margin-right: -30px;
	margin-top:45px;
}

nav ul li {
    margin-right: 30px;

}

nav ul li a {
	font-size:30px;
   

}


/* work page */

.work_background_image {
	height:1650px;
	
}


.wrapper {
	width:855px;
	
}

nav {
	margin-right:-30px;
	
}


.work_link_area {
    margin-left: 100px;
	margin-top:50px;
}

.work_link {
    width: 759px;
    float: left;
    margin-left: -90px;
    margin-bottom: 50px;
}

.work_picture {
    width: 849px;
    height: 467px;
    background-color: white;
-webkit-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
-moz-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
}

.work_picture a img {
	border:1px solid black;
   
}





/* about page */

.about_main {
	width:823px;
	height:580px;
	opacity:.1;
	/*background-color:white;*/
	position:absolute;
	top: 253px;
	left: 1%;


	
}

.about_text {
	position:absolute;
	top: 253px;
opacity: 1;
width: 823px;
height: 500px;
left: 1%;
font-size:32px;
	
}

.about_text p {
font-size:30px;
line-height:35px;
	
}

/* work example page */

.work_example_text {
    width: 98%;
	position: absolute;
	top: 740px;
	left:-5px;
}

.work_example_video {
    float: left;
    width: 552px;
    margin-left: 20px;
}

.hide_text_button {
	position: absolute;
	top: 700px;
	left:4%;
	
}

iframe {
	width:850px;
	height:485px;
	margin-left:-20px;
	
	
}




/* contact page */

.contact_info {
    text-align: center;
    position: absolute;
    top: 700px;
    left: 10%;
	font-size:26px;
}

.contact_info h3 a {
	font-size:36px;
	
}




}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : landscape) { 

.background_image {
	position:fixed;
	width:1000px;
	height:450px;
	top:0px;
	
}



/* homepage  */
.homepage_wrapper {
	width:855px;
	left:6.4%;

	
}


nav {
    margin-right: -30px;
}

nav ul li {
    margin-right: 30px;
}

nav ul li a {
	font-size:26px;
  
}


/* work page */

.work_background_image {
	height:5200px;
	
}

.work_link {
    width: 759px;
    float: left;
    margin-left: -90px;
    margin-bottom: 50px;
}

.work_picture {
    width: 849px;
    height: 467px;
-webkit-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
-moz-box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.54);
}

.work_picture a img {
	border:1px solid black;
   
}


.wrapper {
	width:855px;
	
}

nav {
	margin-right:-30px;
	
}


.work_link_area {
    margin-left: 100px;
	margin-top:50px;
}

/* about page */

.about_background_image {
	height:835px;
	
}


.about_main {
	width:823px;
	height:580px;
	opacity:.1;
	/*background-color:white;*/
	position:absolute;
	top: 253px;
	left: 2%;


	
}

.about_text {
	position:absolute;
	top: 253px;
opacity: 1;
width: 823px;
height: 500px;
left: 2%;
	
}

.about_text p {
font-size:26px;
line-height:35px;
	
}

/* work example page */

.work_example_main {
	height:900px;
	
}

.work_example_image {
	height: 1450px;
	
}


.work_example_background_image {
	height:1260px;
	
}


.work_example_text {
    width: 98%;
	position: absolute;
	top: 740px;
	left:-5px;
}

.work_example_video {
    float: left;
    width: 552px;
    margin-left: 20px;
}

.hide_text_button {
	position: absolute;
	top: 695px;
	left:4%;
	
}

iframe {
	width:850px;
	height:485px;
	margin-left:-20px;
	
	
}

/* contact page */

.contact_info {
    text-align: center;
    position: absolute;
    top: 269px;
    left: 24%;
}

.contact_background_image {
	height:700px;
	
}


.contact_info h3 a {
	font-size:26px;
	
}








}










