.headerbg {
	position: fixed;
	z-index: 999;
	background-color: #E7E4D3;
	width: 100%;
	height: 110px;
}
.lightgreybg {
	background-color: #F1EFE2;
}
.mediumgreybg {
	background-color: #C0C0C0;
}
.darkgreybg {
	background-color: #797979;
}
.lightbluebg {
	background-color: #EBF4FA;
}
.mediumbluebg {
	background-color: #BBD9EE;
}
.darkbluebg {
	background-color: #206BA4;
}
.blackbg {
	background-color: #000;
}
.whitebg {
	background-color: #FFF;
}
#formerror {
	display: none;
}
.error {
	color: #800000;
}
.noerror {
	color: #828D54;
}
.padbox {
	padding: 20px;
}
.padtopbottom {
	padding-top: 20px;
	padding-bottom: 20px;
}
.padleftright {
	padding-left: 20px;
	padding-right: 20px;
}
.logo {
	display: block;
	float: left;
	background-repeat: no-repeat;
	background-image: url(../images/logo-small.png);
	margin-right: 20px;
	width: 70px;
	height: 70px;
}
.logo:hover {
	background-image: url(../images/logo-small-over.png);
}
.logo a {
	display: block;
	width: 70px;
	height: 70px;
}
.logo a span {
	display: none;
}
#mainnav {
	display: block;
	float: left;
	width: 100%;
	max-width: 200px;
	margin-top: 12px;
}
#mainnav ul li {
	display: inline-block;
	float: left;
	width: 98px;
	margin: 1px;
}
#mainnav ul li a {
	display: block;
	height: 22px;
	text-align: center;
	padding-top: 2px;
	color: #FFF;
	background-color: #206BA4;
	text-decoration: none;
}
#mainnav ul li a:hover {
	color: #454545;
	background-color: #FAFAF5;
	text-decoration: none;
}
#mainnav ul li a.selected {
	color: #454545;
	background-color: #CFCFBC;
	text-decoration: none;
}
.telephone {
	display: block;
	float: right;
}
.email {
	display: block;
	float: right;
	clear: right;
	margin-top: 6px;
}
.email a {
	color: #000;
	text-decoration: none;
	font-size: 24px;
}
.email a:hover {
	text-decoration: underline;
}
a[href^=tel], a[href^=tel]:hover  {
	color: #000;
	text-decoration: none;
	font-size: 24px;
	cursor: default;
}
main {
	padding-top: 10px;
}
.logo360 {
	text-align: right;
}
.logo360 img {
	max-width: 186px;
}
.workbutton {
	display: inline-block;
	float: left;
	width: 23%;
	margin: 1%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	-webkit-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	-o-transition: all 0.15s linear;
	-ms-transition: all 0.15s linear;
	transition: all 0.15s linear;
}
.workbutton:hover {
	background-size: 105% 105%;
	cursor: pointer;
}
.workbutton img {
	opacity: 0;
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	-o-transition: all 0.1s linear;
	-ms-transition: all 0.1s linear;
	transition: all 0.1s linear;
}
.workbutton img:hover {
	opacity: 1;
	webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	-o-transform: rotate(360deg);
    transform: rotate(360deg);
}
.sociable-dogs {
	background-image: url(../images/work/sociable-dogs/button.jpg);
}
.marco-island {
	background-image: url(../images/work/marco-island/button.jpg);
}
.plotter-supplies {
	background-image: url(../images/work/plotter-supplies/button.jpg);
}
.sasha-david {
	background-image: url(../images/work/sasha-david/button.jpg);
}
.brium {
	background-image: url(../images/work/brium/button.jpg);
}
.natforwords {
	background-image: url(../images/work/natforwords/button.jpg);
}

@media only screen and (max-width: 767px) {
.workbutton {
	width: 31.3%;
	margin: 1%;
}
}

/* Main width */

@media only screen and (max-width: 540px) {
.logo {
	float: right;
	background-size: 50px 50px;
	margin-right: 12px;
	width: 50px;
	height: 50px;
}
.logo a {
	display: block;
	width: 50px;
	height: 50px;
}
.telephone {
	clear: both;
	padding-top: 12px;
}
.email {
	float: left;
	clear: left;
	padding-top: 12px;
}
.email a {
	font-size: 18px;
}
a[href^=tel], a[href^=tel]:hover  {
	font-size: 18px;
	cursor: pointer;
}
#mainnav {
	margin-top: 2px;
}
.padbox {
	padding: 12px;
}
.padtopbottom {
	padding-top: 12px;
	padding-bottom: 12px;
}
.padleftright {
	padding-left: 12px;
	padding-right: 12px;
}
.logo360 {
	text-align: center;
}
.workbutton {
	width: 46%;
	margin: 2%;
}
}

@media only screen and (max-width: 479px) {
}
