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

}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, h1, h2, h3, h4, h5, h6
{
    display: block;
}

h1, h2, h3, h4, h5, h6
{
}
h1
{
	font-size: 20pt;
	margin-bottom:15px;
}
h2
{
    font-size: 15pt;
    margin-bottom:5px;
    margin-top:5px;
}
h3
{
	font-size:14pt;
}
h4 {
    font-weight: bold;
	margin-bottom: 15px;
}
html, body
{
	height: 100%;
}

body
{
    font-family: Arial, Sans-Serif;
   background-image: url("images/background.png");
	border-top: solid 4px #272425;
	margin-top: -1px;
    font-size: 13pt;
  min-height: 850px;
}

p
{
    margin: 0 0 20px 0;
}

html
{
    overflow-y: scroll;
}

a
{
    cursor: pointer;
    text-decoration: none;
    color: #dedede;

}

a:hover, a:active
{
    color: #000;
}

a img
{
    border: none;
}
#contentwrapper img[align="left"] {
    margin-right: 20px;
    margin-bottom: 20px;
}
#contentwrapper img[align="right"] {
    margin-left: 20px;
    margin-bottom: 20px;
}
a.pagelink:link { color: #e21350; text-decoration: none; }

a.pagelink:visited { color: #e21350; text-decoration: none; }

a.pagelink:active { color: #000; text-decoration: none; }

a.pagelink:hover { color: #000; text-decoration: none; }

header
{	background-color: #FFFFFF;
	border-bottom: solid 1px #DDDDDD;
	height:150px;
	
}

header  
{ overflow-x:none; 
	padding-top: 15px; 
	min-width: 1000px; 

	}
	
	
header section 

{   max-width:1000px; 
	margin:auto; 
	overflow:none;
}


#logo
{	
	background-color: #ffffff;
	float:left; 
	margin-left:25px;
	padding:0px 12px 0px 15px;
}

header #social-media {
	text-align: right;
	float: right;
}

header #social-media img {
	display: inline-block;
	margin-left: 5px;
}
header #social-media img:hover {
	opacity: 0.8;
}

header nav {
	 float:right; 
	 background-color:#D80053; 
	 width:100%; 
	 max-width:642px; 
	 margin-top: 20px;
}
header nav ul {
	margin:0;
	float:right;
}
header nav ul li {
	display:inline-block; margin-left:20px;
}

header nav ul li a {
	display:block; 
	height:30px; 
	color:white; 
	text-decoration:none; 
	text-align:center; 
	padding: 14px 10px 0;
	line-height: 15px;
}
header nav ul li a:hover {
	color:#272425;
}
header section {
	overflow:visible;
}

header nav:before
{
	background-color:#D80053;
	content: " ";
    height: 44px;
    margin-left: -2330px;
    position: absolute;
    width: 2000px;
    z-index: 0;
    border:none;
    outline:none;
}
#navigationtop
{
	height:100px;
	width:100px;
}

/* ----- Slideshow ------- */
#slideframe
{
	background:#FFF;
	border-top:solid 3px #231f20;
	border-bottom:solid 3px #231f20;
	width:1000px;
	height:377px;
	margin-bottom:30px;
}

#slideshowcontainer 
{
	width:1000px;
	margin: 0px auto;
	margin-bottom:30px;
  height: 380px;
}
.slides_container>div
{
  width:1000px;
  height: 380px;
}
.slides_container img{
	width:996px;
	height:373px;
	margin:2px;
}
.pagination
{
  float: right;
  list-style: none;
  background: url(images/slides/markerbackground.png);
  padding-left: 63px;
  position: absolute;
  z-index: 99;
  width: 178px;
  height:20;
  margin-top: -25px;
  left: 50%;
  margin-left: -121.5px; /* Half of width */
}

.pagination li a
{
	height: 23px;
	width: 23px;
  display: block;
  color: transparent;
  float: left;
  background:url(images/slides/unactiveslide.png);

}
.pagination li.current a
{
	height:23px;
	width:23px;
  background:url(images/slides/activeslide.png)
}


/* ----- Content --------*/

#container
{
	min-height: 100%;
margin-bottom: -141px;
position: relative;
}

#contentbg
{
	width:100%;
	height: auto;
}

#contentwrapper
{
	width: 1000px;
	/*---height:100%;----*/
	margin: 0 auto;
	padding-top: 30px;
	padding-bottom:30px;
}
#whitewrapper
{	
	border:solid 1px #DDDDDD;
	width: 960px;
	/*---height:100%;----*/
    padding: 20px;
	background-color: #fff;
	margin: 0px auto;
	overflow: auto;

}
#contactwhitewrapper
{	
	border:solid 1px #DDDDDD;
	width: 960px;
	/*--- height:100%; ----*/
    padding: 20px;
	background-color: #fff;
	margin: 0px auto;

}
#whitecontent
{	background-color:#fff;
	width:100%;
	height:100%;
}

/* ----- Portfolio --------*/
.porttitle
{
	height:100%;
	width:960px;
}
.portfoliophoto
{
	width:300px;
	height:300px;
	padding: 10px 10px 10px 10px;
	display:block;
	float:left;
}



/*-----Case Studies-----*/


.casestudy
{
	padding:10px 0px 10px 5px;
	margin-bottom: 20px;
	clear: both;
	border-bottom: 1px solid #d6d6d6;
}

/*
.studytext {
	width: 600px;
}
.studytext.right {
	float: right;
}
.studytext.left {
	float: left;
}
*/

.casestudyphoto
{ 
  margin: 0 0 20px 0;
}
.casestudyphoto.left
{ 
  float: left;
  margin-right: 20px;
}
.casestudyphoto.right
{ 
  float: right;
  margin-left: 20px;
}
  
  .casestudy
	margin-left:50px;
	}
	
	  .studytext li
{ 
	margin-left:300px;
	}
	
/* ----- Footer --------*/
#footer
{
height: 141px;
position: relative;
}

.clearfooter {
	height: 1px;
	clear: both;
}

#footerbg
{
	background-image:url(images/footerback.png);
	height: 141px;
	position: relative;
	
}

#footerwrapper
{
	width:1000px;
	margin: 0 auto;
}

#navigationbottom
{
	float:left;
	text-align: center;
	font-size:11pt;
	width:500px;
	margin: 0px auto;
	margin-top:58px;
}
#navigationbottom .nav
{
	list-style-type:none;
	width:500px;
}

#navigationbottom .nav ul
{
	list-style-type:none;
	width:500px;
}
#navigationbottom .nav li
{
		margin: 5px;
		display:inline;
}
#footerwrapper a:hover
{
	color: #D80053;
	}
#greylogo
{
	width: 25%;
	float:left;
	margin-top:31px;
}
#greylogo img
{
	float:right;
}
#info {
	width:25%;
	margin-top:27px;
	float:left;
	color:#f3f3f3;
}

#designedby
{
width: 100%;
text-align: center;
margin: 0 auto;
padding-bottom:4px;
font-size:8pt;
color:rgba(222, 222, 222, 0.33);
}
#designedby a
{
	color:rgba(222, 222, 222, 0.33)
}

.clear {
    clear: both;
}

/* ----- Contact ----- */

#contactphoto
{
	width:550px;
	height:420px;
display:block;
float:right;
margin-right:20px;

}

form.contact
{
  padding: 22px 0 0 22px;
  height:450px;
  width:300px;
  display:block;
  float:left;
}
form.contact label
{
  font-family: Arial, sans-serif;
  font-size: 0.8em;
  font-weight: bold;
}
form.contact input[type="text"]
{
  height: 18px;
  width: 220px;
}
form.contact textarea
{
  height: 120px;
  width: 310px;
}
form.contact input[type="text"], form.contact textarea
{
  font-family: Arial, Verdana, sans-serif;
  font-size: 0.8em;
  line-height: 140%;
  color: black;
  padding: 3px;
  border: 1px solid #999;
  margin-bottom: 18px;
}
form.contact input[type="submit"]
{
  width: 100px;
  height: 30px;
  padding-left: 0px;
  padding: 3px 6px 3px 3px;
  color:#EBEBEB;
  background-color: #424143;
  border: none;
  cursor: pointer;

}
form.contact input[type="submit"]:hover {
	border: none;
     background: #4F4F50;
	 color:#EBEBEB;
	 }

form.contact label.error
{
  color: #D80053;
  display: none;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  height: 18px;
  bottom: 0;
}
/* --- End Contact --- */

/* Homepage */
    .affiliate-logos {
        border-top: 1px solid #d5d5d5;
        padding-top: 20px;
        text-align: center;
    }
    .affiliate-logos img {
        vertical-align: middle;
    }
    .affiliate-logos a {
        width: 40%;
        margin-top: 10px;
        display: inline-block;
        text-align: center;
    }