/*
THEME NAME: Rocket Sites
DESCRIPTION: Bespoke WP theme
VERSION: 1.0
AUTHOR: <a href="http://www.rocketsites.co.uk/">Rocket Sites Ltd</a>
*/

/* - - RESET - - */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,sub,sup,tt,var,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,* {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

*,
*:focus {
	outline: none;
}

a {
	text-decoration: none;
	color: inherit;
}

body {
	font-family: 'Alegreya Sans', sans-serif;
	color: #333;
	background: #f7f7f7;
	font-size: 100%;
	line-height: 1.6em;
	padding-top: 100px;
	-webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
	font-size: 1.2em;
}

h1 {
	margin-bottom: 20px;
}

.smaller {
	font-size: 0.9em;
}

.larger {
	font-size: 1.4em;
	line-height: 1.4em;
}

.largest {
	font-size: 2.2em;
}

.mahoosive {
	font-size: 4em;
	line-height: 1em;
}

img {
	height: auto;
	display: block;
}

img.fw {
	width: 100%;
}

img.mw {
	max-width: 100%;
}

.smooth,
#footer p a {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.rel {
	position: relative;
}

p {
	margin: 0 0 20px;
}

.body_content ul {
	margin: 0 0 20px 40px;
}

input[type="submit"] {
	-webkit-appearance: none;
	border-radius: 0;
}

/* - - GRID - - */
[class*='col-'] {
	float: left;
	padding-left: 20px;
}

.flip [class*='col-'] {
	float: right;
}

.clear:after,
.centerColumn:after {
	content: "";
	display: table;
	clear: both;
}

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

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.col-1-6 {
	width: 16.6667%;
}

.col-1-5 {
	width: 20%;
}

.col-1-4 {
	width: 25%;
}

.col-1-3 {
	width: 33.3333%;
}

.col-1-2 {
	width: 50%;
}

.col-2-3 {
	width: 66.66%;
}

.col-3-4 {
	width: 75%;
}

.col-4-5 {
	width: 80%;
}

.inner {
	max-width: 1200px;
	padding: 0 20px;
	margin: 0 auto;
}

.narrow {
	max-width: 900px;
	padding: 0 20px;
	margin: 0 auto;
}

.narrow {
	max-width: 900px;
	padding: 0 20px;
	margin: 0 auto;
}

.mt10 {
	margin-top: 10px;
}

.mt20 {
	margin-top: 20px;
}

.mb20 {
	margin-bottom: 20px;
}

.mb40 {
	margin-bottom: 40px;
}

.blackbg,
#hero {
	background: #242424;
}

.darkbg {
	background: #0b2a4a;
}

.lightbg {
	background: #327E9A;
}

.transbg {
	background: rgb(58, 151, 181);
	background: rgba(58, 151, 181, 0.8);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#993a97b5, endColorstr=#993a97b5);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#993a97b5, endColorstr=#993a97b5)";
}

.tac {
	text-align: center;
}

.tar {
	text-align: right;
}

.tal {
	text-align: left;
}

.white {
	color: #ffffff;
}

strong,
.bold {
	font-weight: bold;
}

.uppercase {
	text-transform: uppercase;
}

.flex {
	display: flex;
	align-items: center;
}

/* - - HEADER - - */
#header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.55);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.55);
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.55);
}

#header,
#header .flex,
#menu ul li a,
#squeeze_phone {
	height: 100px;
}

#menu ul li a,
#squeeze_phone {
	line-height: 90px;
}

#header .flex {
	align-items: stretch;
}

#header img {
	margin: 14px 0 0;
	height: 70px;
}

#menu {
	float: right;
}

#menu ul {
	list-style: none;
}

#menu ul li {
	margin-left: 30px;
	display: inline;
}

#menu ul li:first-of-type {
	margin-left: 0;
}

#menu ul li a {
	display: inline-block;
	color: #fff;
	border-top: 5px solid #242424;
}

#menu ul li.current_page_item a,
#menu ul li.current_page_parent a,
#menu ul li.current-page-ancestor a {
	border-top: 5px solid #3a97b5;
}

#menu ul li a:hover {
	border-top: 5px solid #717171;
}

body.single-portfolio #menu ul li#menu-item-45 a {
	border-top: 5px solid #242424;
}

body.single-portfolio #menu-item-48 a {
	border-top: 5px solid #3a97b5;
}

#menu_toggle,
#menu_call {
	display: none;
	position: absolute;
	right: 20px;
	top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

#menu_call {
	left: 20px;
	right: auto;
}

#menu_call span {
	display: none;
}

#mobile_menu {
	position: absolute;
	top: 65px;
	right: -100%;
	width: 100%;
	min-height: 100vh;
	background: rgba(36, 36, 36, 0.8);
	font-size: 1.3em;
	padding: 25px 0;
	z-index: 5;
}

#mobile_menu.visible {
	right: 0;
}

#mobile_menu li {
	width: 100%;
	float: none;
	padding: 15px 0;
	list-style: none;
}

#mobile_menu li a {
	display: block;
	color: #fff;
	text-align: right;
	padding-right: 20px;
}

/* - - FOOTER - - */
#footer {
	padding: 60px 0 30px;
}

#footer p {
	margin: 0px;
}

p#copyright {
	margin: 40px 0 0;
	color: #9d9d9d;
}

#footer p a:hover {
	padding-left: 2px;
}

/* - - HOME PAGE - - */
#hero {
	position: relative;
}

#hero img {
	width: 100%;
	display: block;
}

#hero p {
	margin-bottom: 0;
}

#overlay {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 0;
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	-ms-transform: translateY(-55%);
	-webkit-transform: translateY(-55%);
	-moz-transform: translateY(-55%);
	-o-transform: translateY(-55%);
	transform: translateY(-55%);
}

#overlay h1 {
	margin: 0 0 10px;
}

#push {
	top: -50px;
	position: relative;
}

.pushthis {
	background: white;
	padding: 20px 20px 50px;
	-webkit-box-shadow: 0px -5px 40px -8px rgba(0, 0, 0, 0.6);
	-moz-box-shadow: 0px -5px 40px -8px rgba(0, 0, 0, 0.6);
	box-shadow: 0px -5px 40px -8px rgba(0, 0, 0, 0.6);
}

#extrahigh {
	margin-top: -25px;
}

.pushthis h2,
.pushthis h3,
.pushthis h4 {
	margin: 0 0 10px;
}

.pushthis a.button {
	margin-bottom: 5px;
}

.pushthis a.fom {
	color: #0b2a4a;
}

.pushthis .cta {
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0 20px 10px;
}

#welcome {
	margin: 30px auto 100px;
	width: 80%;
}

#welcome .divider {
	margin: 0 auto 50px;
}

#welcome h5 {
	margin: 0px;
}

#welcome .col-1-2 {
	margin-top: 20px;
}

#goodpals {
	background: #fff;
	padding: 20px 0;
	margin: 60px 0;
	-webkit-box-shadow: 0px 0px 22px -4px rgba(0, 0, 0, 0.6);
	-moz-box-shadow: 0px 0px 22px -4px rgba(0, 0, 0, 0.6);
	box-shadow: 0px 0px 22px -4px rgba(0, 0, 0, 0.6);
}

a.button,
input.button {
	background: #327E9A;
	padding: 10px 20px;
	display: block;
	color: #ffffff;
	font-weight: bold;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	cursor: pointer;
}

.button.smooth:hover {
	background: #20708a;
}

#latestwork {
	margin-left: -2px;
}

.workwrap {
	background: #3a97b5;
	width: 25%;
	overflow: hidden;
	float: left;
	-webkit-box-shadow: inset 0px 0px 124px 14px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: inset 0px 0px 124px 14px rgba(0, 0, 0, 0.75);
	box-shadow: inset 0px 0px 124px 14px rgba(0, 0, 0, 0.75);
	border-left: 2px solid #fff;
}

.workwrap img {
	opacity: 0.6;
	filter: alpha(opacity=60);
	-webkit-transform: scale(1.2) rotate(-6deg);
	transform: scale(1.2) rotate(-6deg);
}

.workwrap:hover img {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: scale(1.4) rotate(0deg);
	transform: scale(1.4) rotate(0deg);
}

.workwrap i {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.8);
	opacity: 0;
}

.workwrap:hover i {
	opacity: 1;
}

.divider {
	border-bottom: 2px solid #333;
	margin: 0 auto;
	width: 25%;
}

.divider span {
	background: #f7f7f7;
	padding: 10px;
	transform: translateY(30px);
	display: inline-block;
}

@-webkit-keyframes wobble {
	0% {
		-webkit-transform: rotate(-45deg);
	}

	20% {
		-webkit-transform: rotate(-25deg);
	}

	50% {
		-webkit-transform: rotate(-65deg);
	}

	100% {
		-webkit-transform: rotate(-45deg);
	}
}

.divider i {
	-webkit-animation: wobble 5s infinite;
}

#geeky {
	overflow: hidden;
	margin: 2px 0 0;
}

#geeky img#launch {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#airborne h6 {
	margin: 60px 0 15px;
}

#airborne .clear {
	border-right: 1px solid #d4d4d4;
}

.geeky {
	float: left;
	width: 25%;
	background: #fff;
	padding: 20px;
	border-top: 1px solid #d4d4d4;
	border-left: 1px solid #d4d4d4;
}

.geeky img {
	border: 1px solid #d4d4d4;
	padding: 10px;
	margin: 0 auto 10px;
}

.geeky p {
	margin: 5px 0 0;
}

.geeky p:last-of-type a {
	color: #327E9A;
}

/* - - SQUEEEEEEZE - - */
#sp_intro {
	margin-top: 50px;
}

#sp_intro h1 {
	margin-bottom: 20px;
}

#sp_intro .button {
	max-width: 300px;
	margin: 20px auto 0;
	padding: 15px;
}

#sp_reviews,
#sp_features {
	padding: 50px 0 0;
}

#sp_reviews p,
#sp_features p {
	margin: 10px auto 50px;
	max-width: 80%;
}

#sp_features {
	padding: 60px 0 40px;
}

#sp_features h4 {
	margin-top: 20px;
}

#sp_form {
	width: 100%;
	margin: 0 auto;
	max-width: 600px;
	padding: 60px 20px;
}

#sp_form input[type="text"],
#sp_form input[type="email"] {
	width: 100%;
	padding: 6px;
	border: 1px solid #ccc;
}

#sp_form input[type="text"].wpcf7-not-valid,
#sp_form input[type="email"].wpcf7-not-valid {
	border: 1px solid red;
}

#sp_form input[type="submit"] {
	width: 100%;
	padding: 10px;
	margin: 5px 0 0;
	text-align: center;
	background: #3a97b5;
	border: 1px solid #3a97b5;
	cursor: pointer;
	font-weight: bold;
	color: #ffffff;
}

img.ajax-loader {
	display: none !important;
}

@media screen and (max-width:1040px) {
	#sp_intro {
		width: 100%;
		margin-top: 5px;
	}
}

/* - - PORTFOLIO - - */
.portfolio {
	border-bottom: 1px solid #e4e3e3;
	background: #fff;
	padding: 60px 0;
}

.portfolio:last-of-type {
	border-bottom: none;
}

.portfolio.odd {
	background: #f1f0f0;
}

.portfolio .col-1-3 {
	min-height: 1px;
}

.portfolio h5 {
	margin: 0 0 10px;
}

.portfolio p {
	max-width: 70%;
}

.portfolio a.button {
	display: inline-block;
	width: auto;
}

.portfolio .col-1-3 img {
	position: absolute;
	right: 0;
	top: -40px;
}

.portfolio.odd p,
.portfolio.odd a.button {
	float: right;
}

.portfolio.odd .col-1-3 img {
	position: absolute;
	right: auto;
	left: 20px;
}

.portfolio:hover .col-1-3 img {
	top: -50px;
}

.portfolio .col-1-3 img:hover {
	top: -70px;
}

.portfolio .asset {
	position: absolute;
	right: 0;
	bottom: -60px;
	opacity: 0.2;
	filter: alpha(opacity=20);
}

.portfolio.odd .asset {
	right: auto;
	left: 0;
}

.portfolio:hover .asset {
	opacity: 0.7;
	filter: alpha(opacity=70);
}

.portfolio .service_icon {
	margin-right: 50px;
}

.portfolio.odd .service_icon {
	margin-left: 50px;
}

#portfolio_intro {
	padding: 60px 0 70px;
}

#portfolio_intro p:first-of-type {
	margin: 0 0 10px;
}

#portfolio_main h2 {
	margin: 60px 0 10px;
}

ul#skills li {
	list-style: none;
	display: inline;
	margin: 10px 5px;
}

#spotlight {
	background: #E8E8E8;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}

#spotlight p {
	float: right;
	width: 75%;
}

#spotlight h3 {
	margin: 80px 0 10px;
}

#spotlight img {
	margin-top: -80px;
}

#portfolio_cta {
	padding: 100px 0;
}

#portfolio_cta h4 {
	margin: 0 0 10px;
}

#portfolio_main p a,
#portfolio_cta p a {
	text-decoration: underline;
}

#portfolio_cta .narrow {
	max-width: 650px;
}

#downer {
	width: 100%;
	position: absolute;
	left: 0;
	top: 20px;
}

@-webkit-keyframes downy {

	0%,
	20%,
	50%,
	80%,
	100% {
		-webkit-transform: translateY(0);
	}

	40% {
		-webkit-transform: translateY(-8px);
	}

	60% {
		-webkit-transform: translateY(-4px);
	}
}

#downer i {
	-webkit-animation: downy 1s;
	opacity: 0.5;
	filter: alpha(opacity=50);
}

#downer i:hover {
	opacity: 0.8;
	filter: alpha(opacity=80);
}

/* - - SINGLE SERVICE - - */
#service_main p:last-of-type {
	font-size: 1.4em;
	line-height: 1.25em;
	text-align: center;
	font-weight: bold;
	margin: 40px 0 50px;
}

#geeky a.button {
	width: auto;
	display: inline-block;
	margin-bottom: 50px;
}

@media screen and (min-width:800px) {
	.slide-from-left {
		transform: translateX(0px);
	}

	.slide-from-right {
		transform: translateX(0px);
	}

	.from-left {
		transform: translateX(-600px);
		animation: come-in 0.8s ease forwards;
	}

	.from-right {
		transform: translateX(600px);
		animation: come-in 0.8s ease forwards;
	}

	@keyframes come-in {
		to {
			transform: translateX(0);
		}
	}
}


/* - - CONTACT US - - */
#contact_badges {
	margin: 60px auto 40px;
}

#contact_badges .lightbg:hover,
input.wpcf7-submit:hover {
	background: #2e829c;
}

#contact_form {
	margin-top: 40px;
}

#contact_form input[type="text"],
#contact_form input[type="email"],
#contact_form textarea,
#create_zc_page input[type="text"],
#create_zc_page input[type="email"],
#facebook_token input[type="text"] {
	width: 100%;
	padding: 5px;
	border: 1px solid #ccc;
}

.badge {
	width: 80px;
	height: 80px;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	margin: 0 auto 10px;
}

.badge i {
	display: block;
	width: 80px;
	height: 80px;
	line-height: 80px;
}

input.wpcf7-submit {
	margin: 20px auto 60px;
}

div.wpcf7-response-output {
	margin: 0 0 40px;
	text-align: center;
}

div.wpcf7-validation-errors {
	background: #c60707;
	color: #fff;
	border: 1px solid #c60707;
}

div.wpcf7-mail-sent-ok {
	color: green;
	border: 1px solid green;
}

#contact_form input[type="text"].wpcf7-not-valid,
#contact_form input[type="email"].wpcf7-not-valid,
#contact_form textarea.wpcf7-not-valid {
	border: 1px solid #c60707;
}

.wpcf7-not-valid-tip {
	display: none !important;
}

/* - - ZC PAGE GENERATOR - - */
#create_zc_page {
	margin: 0 0 80px;
}

#create_zc_page input[type="submit"],
#create_zc_page_result a {
	margin: 0 auto;
	display: inline-block;
}

#create_zc_page_result {
	display: none;
	margin: 0 0 80px;
}

.format ul {
	margin: 0 0 20px 40px;
}

#create_zc_page .smaller {
	color: #3a97b5;
	text-decoration: underline;
}

/* - - BLOG - - */
.widget {
	border: 1px solid #e4e3e3;
	background: #fff;
	padding: 20px;
	margin: 0 0 20px;
	list-style: none;
}

.widget ul li {
	list-style: disc;
	margin: 5px 0 0 20px;
}

.single_post {
	border-bottom: 1px solid #e4e3e3;
	margin: 0 0 40px;
	padding: 0 0 19px;
}

/* - - ROYAL MAIL API - - */
#rm_api {
	margin: 100px auto;
}

#rm_api + .inner .button {
	max-width: 200px;
	margin: 0 auto;
}

/* - - PARISH COUNCIL - - */
#pc_price {
	font-size: 2.8em;
	margin: 30px 0 10px !important;
}

#pc_price_line {
	margin-bottom: 20px !important;
}


@media screen and (max-width:1200px) {
	#pc_price {
		font-size: 2.2em;
		margin: 20px 0 10px !important;
	}

	#pc_price_line {
		margin-bottom: 10px !important;
	}
}

@media screen and (max-width:950px) {
	#menu ul li {
		margin-left: 15px;
	}

	#spotlight h3 {
		margin: 40px 0 10px;
	}

	#spotlight p {
		float: none;
		width: 100%;
	}
}

@media screen and (max-width:840px) {
	#spotlight h3 {
		margin: 20px 0 5px;
	}
}

@media screen and (max-width:800px) {
	body {
		padding-top: 65px;
	}

	#wrapper {
		opacity: 100;
		filter: alpha(opacity=100);
		overflow: hidden;
	}

	.nomob,
	.pace {
		display: none;
	}

	.fwm,
	#welcome {
		width: 100%;
	}

	.hwm {
		width: 50%;
	}

	.divider {
		width: 75%;
	}

	.mahoosive {
		font-size: 1.6em;
		line-height: 1em;
	}

	#header .col-1-3 {
		text-align: center;
	}

	#header,
	#header .flex,
	#squeeze_phone {
		height: 65px;
	}

	#squeeze_phone {
		line-height: 65px;
	}

	#header img {
		margin: 12px auto 0;
		height: 40px;
	}

	#menu_toggle,
	#menu_call {
		display: block;
	}

	#footer {
		text-align: center;
		padding: 40px 0 20px;
	}

	#footer p:not(.bold) {
		margin-top: 5px;
	}

	#footer .col-1-4 {
		margin-bottom: 40px;
	}

	p#copyright {
		margin: 0;
	}

	#overlay {
		text-align: center;
	}

	#overlay h1 {
		margin: 0;
	}

	#hero img:not(body.single-portfolio #hero img) {
		opacity: 0.4;
	}

	#hero #overlay.hp_only .inner {
		padding-left: 60px;
		padding-right: 60px;
	}

	#push {
		top: 0;
	}

	#extrahigh {
		margin-top: 20px;
	}

	.pushthis {
		margin: 20px 0 0;
		min-height: 1px !important;
		padding: 20px;
		-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
		-moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
		box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
	}

	.pushthis .cta {
		position: static;
		bottom: auto;
		left: auto;
		padding: 0;
	}

	.pushthis a.fom {
		margin-top: 10px;
		display: block;
	}

	#welcome {
		margin: 60px auto;
		width: 100%;
	}

	.workwrap {
		border-top: 2px solid #fff;
	}

	.workwrap i {
		opacity: 1;
	}

	#geeky img#launch {
		min-height: 100%;
		height: 100%;
		width: auto;
		max-width: none;
		min-width: 100%;
	}

	#portfolio_intro {
		padding: 60px 0 20px;
	}

	#portfolio_main {
		text-align: center;
	}

	#portfolio_main h2 {
		margin-top: 40px;
	}

	#portfolio_main img {
		margin: 40px auto 0;
	}

	.portfolio {
		padding: 40px 0 0;
	}

	.portfolio,
	.portfolio * {
		text-align: center;
	}

	.portfolio.odd p,
	.portfolio.odd a.button {
		float: none;
	}

	.portfolio p {
		max-width: 100%;
	}

	.portfolio img {
		position: static !important;
		left: auto;
		right: auto;
		top: auto;
		margin: 30px auto -240px;
	}

	#spotlight .tar {
		text-align: center;
	}

	#spotlight p {
		float: none;
		width: 100%;
	}

	#spotlight h3 {
		margin: 60px 0 10px;
	}

	#spotlight img {
		margin-top: 20px;
	}

	#portfolio_cta {
		padding: 60px 0;
	}

	#portfolio_cta a:first-of-type {
		margin-bottom: 20px;
	}

	ul#skills li {
		width: 100%;
		display: block;
		margin: 5px 0 0;
	}

	.service_height {
		padding-bottom: 50px;
	}

	#cheese {
		width: 50%;
	}

	#hero.sp_hero img {
		position: absolute;
		top: 50%;
		left: 0;
		-ms-transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		transform: translateY(-50%);
		text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.8);
		min-height: 100%;
		min-width: 100%;
		max-width: none;
		width: auto;
	}

	#overlay.sp_overlay {
		padding: 60px 20px;
		position: static;
		-ms-transform: translateY(0);
	    -webkit-transform: translateY(0);
	    -moz-transform: translateY(0);
	    -o-transform: translateY(0);
	    transform: translateY(0);
	}

}