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

body
{
	background-image: url(../images/backgroundtexture.png);
	background-color: #f9f9f9;
	color: #2d2d2d;
}

.wrapper
{
	margin: auto;
	width: 70%;
	height: auto;
}

#top
{
	height: 10px;
}

#logo
{
	margin-top: 5%;
	text-decoration: none;
}

#logoimage
{
	width: 27px;
	padding-right: 10px;
	float: left;
}

#logotitle
{
	float: left;
	font-family: Cookie, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 215%;
	text-shadow: 0 1px 1px #FFF;
}

#logotitle a
{
	color: #2d2d2d;
	text-decoration: none;
}

nav
{
	width: 500px;
	display: block;
	height: 10px;
}

nav ul li
{
	display: block;
	width: 25%;
	float: left;
	text-align: center;
}

nav ul li a
{
	font-family: Lato, Helvetica, Arial, sans-serif;
	width: 90%;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 400;
	line-height: 250%;
	display: block;
	color: #2d2d2d;
}

nav ul li a:hover
{
	color: #5337E5;
}

nav ul li p
{
	font-family: Lato, Helvetica, Arial, sans-serif;
	width: 90%;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 400;
	line-height: 250%;
	display: block;
	color: #5337E5;
}

hr
{
	height: 1px;
	width: 100%;
	background-color: #2d2d2d;
	margin: 1% 0;
}

header
{
	width: 100%;
}

header h1
{
	font-family: Lato, Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 140%;
	font-weight: normal;
	letter-spacing: 1px;
	margin-bottom: 1%;
}

header h1 span
{
	color: #5337E5;
	text-shadow: 0 1px 1px #dadada;
}

header h2
{
	font-family: Lato, Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 100%;
	font-weight: normal;
}

#slideshow
{
	width: 100%;
	margin-top: 2%;
}

.clearfix
{
	float: none;
	clear: both;
}

.left
{
	margin-top: 1%;
	width: 48%;
	float: left;
	margin-bottom: 1%;
}

.left h3
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
	font-weight: normal;
	text-align: center;
	color: #5337E5;
	margin-bottom: 5%;
	text-shadow: 0 1px 1px #dadada;
}

.left p
{
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 140%;
}

.left p a
{
	color: #5337E5;
	text-decoration: none;
}

.right
{
	margin-top: 1%;
	width: 48%;
	float: right;
	margin-bottom: 1%;
}

.right h3
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
	font-weight: normal;
	text-align: center;
	color: #5337E5;
	margin-bottom: 5%;
	text-shadow: 0 1px 1px #dadada;
}

.right p
{
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 140%;
}

.right p a
{
	color: #5337E5;
	text-decoration: none;
}

#work
{
	width: 1000px;
	margin: 3% auto 3% auto;
}

.item
{
	border-radius: 15px;
	width: 180px;
	height: 185px;
	background-color: #FFF;
	margin: 10px;
	float: left;
	-webkit-box-shadow: 0 1px 3px #c3c3c3;
	-moz-box-shadow: 0 1px 3px #c3c3c3;
	box-shadow: 0 1px 3px #c3c3c3;
	overflow: hidden;
	-webkit-transition: box-shadow 0.2s ease-in-out;
	-moz-transition: box-shadow 0.2s ease-in-out;
	-o-transition: box-shadow 0.2s ease-in-out;
	-ms-transition: box-shadow 0.2s ease-in-out;
	transition: box-shadow 0.2s ease-in-out;
}

.item:hover
{
	-webkit-box-shadow: 0 0 8px #5337E5, 0 0 8px #5337E5;
	-moz-box-shadow: 0 0 8px #5337E5, 0 0 8px #5337E5;
	box-shadow: 0 0 8px #5337E5, 0 0 8px #5337E5;
}


.item img
{
	display: block;
	width: 100%;
	-webkit-box-shadow: 0 2px 1px #c3c3c3;
	-moz-box-shadow: 0 2px 1px #c3c3c3;
	box-shadow: 0 2px 1px #c3c3c3;
	border-radius: 15px 15px 0 0;
	opacity: 0.8;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.item img:hover
{
	opacity: 1;
}

.item h3
{
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 90%;
	font-weight: normal;
	padding: 6px 0 3px 4px;
	color: #2d2d2d;
	text-decoration: none;
}

.item h3 a
{
	text-decoration: none;
	color: #2d2d2d;
}

.item p
{
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 70%;
	font-weight: normal;
	padding: 0 0 0 8px;
	color: #5337E5;
	text-decoration: none;
}

#bottom h3
{
	margin: 4% 0 3% 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 120%;
	font-weight: normal;
	text-align: center;
	color: #5337E5;
	text-shadow: 0 1px 1px #c1c1c1;
}


footer
{
	width: 100%;
	padding: 10px 0;
	background-color: #2d2d2d;
}

.icon
{
	float: right;
	width: 32px;
	margin: 5px 0 2px 4%;
	opacity: 0.85;
}

.icon:hover
{
	opacity: 1;
}

.social
{
	color: #5337E5;
}

.left h4
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
	font-weight: normal;
	color: #5337E5;
	margin-bottom: 10px;
}

#formwrap
{
	width: 100%;
}

.formstyle
{
	border: 1px solid #ccc;
	color: #000;
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 14px;
	width: 95%;
	background-color: rgba(255,255,255,1);
	background-image: url(../images/backgroundtexture.png);
	margin-bottom: 10px;
	opacity: 0.9;
	padding: 3px;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	border-radius: 2px;
}

.formstyletwo
{
	color: #FFF;
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 15px;
	text-align: left;
	width: 20%;
	background-color: #2d2d2d;
	border: 0px;
}

.formstyletwo:hover
{
	color: #5337E5;
	cursor: pointer;
}

textarea
{
	border: 1px solid #ccc;
	color: #000;
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 14px;
	width: 95%;
	height: 80px;
	background-color: rgba(255,255,255,1);
	background-image: url(../images/backgroundtexture.png);
	margin-bottom: 10px;
	border-radius: 2px;
	padding: 3px;
	opacity: 0.9;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

input:focus, input.focused, textarea:focus, textarea.focused
{
	color: #3e3e3e;
	opacity: 1;
}

#error
{
	color: #FF7471;
	float: left;
	font-family: Regular, Arial, Helvetica, sans-serif, "Helvetica Neue Light";
	font-size: 15px;
}

#error ul
{
	list-style-type: none;
	padding-top: 5px;
}

::selection
{
	background: #5337E5;
	color: #FFF;
}
::-moz-selection
{
	background: #5337E5;
	color: #FFF;
}


@media only screen and (max-width: 1279px)
{
	.wrapper
	{
		width: 90%;
	}

}

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

	#work
	{
		width: 900px;
	}

	.item
	{
		width: 164px;
		height: 170px;
		margin: 8px;
	}
}

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

	#work
	{
		width: 750px;
	}

	.item
	{
		width: 136px;
		height: 144px;
		margin: 7px;
	}

	.item h3
	{
		font-size: 90%;
	}

	.item p
	{
		font-size: 60%;
	}
}

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

	#work
	{
		width: 650px;
	}

	.item
	{
		width: 116px;
		height: 121px;
		margin: 7px;
	}

	.item h3
	{
		font-size: 75%;
	}

	.item p
	{
		font-size: 40%;
	}
}

@media only screen and (max-width: 860px)
{
	header h1
	{
		font-size: 110%;
	}

	header h2
	{
		font-size: 80%;
	}
}

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

	#logo
	{
		width: 150px;
		display: block;
		margin: auto;
		margin-bottom: 5%;
	}

	nav
	{
		width: 100%;
	}

	header h1
	{
		font-size: 100%;
		margin-bottom: 5%;
	}

	header h2
	{
		font-size: 60%;
	}

	.left
	{
		width: 100%;
	}

	.right
	{
		width: 100%;
	}

	#work
	{
		width: 460px;
	}

	.item
	{
		width: 210px;
		height: 215px;
		margin: 10px;
	}

	.item h3
	{
		font-size: 130%;
	}

	.item p
	{
		font-size: 90%;
	}
}

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

	#work
	{
		width: 300px;
	}

	.item
	{
		width: 136px;
		height: 140px;
		margin: 7px;
	}

	.item h3
	{
		font-size: 75%;
	}

	.item p
	{
		font-size: 40%;
	}
}
