﻿/*
Theme Name: PA Buckie
Theme URI: http://premierautomatics.co.uk
Description: WordPress theme built by <a href="http://www.hedleyenterprises.co.uk">hedley enterprises</a>. Web design starts with a coffee and a chat...
Version: 3
Author: hedley enterprises
Author URI: http://hedleyenterprises.co.uk

*/
body {
	font-size:13pt;
	font-family: 'Lato', sans-serif;
	margin:0;
	padding:0;
  color: #272727;
	background-color: #fff;
}
p::selection, h1::selection, h2::selection, h3::selection { background-color: #320101; color: #fff;}
p::-moz-selection, h1::-moz-selection, h2::-moz-selection, h3::-moz-selection { background-color: #320101; color: #fff; }


/* -------------------- General Styles -------------------- */

.container {
	width: 80%;
	margin: auto;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
.c {
	clear:both;
}
p {
	line-height:1.6em;
}
img {
	border-style: none;
}
.center, .hcentre h2 {
	text-align:center;
}
.absol {
	position:relative;
}
.line {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #dfdfdf;
}
h1,h2,h3 {
	font-weight: normal;
}
h2 {
	font-size: calc(1em + 1vw);
}
.ndi, .ndis, .nd, .n {
	opacity: 1;
	transition: all 0.5s ease-in-out;
}
.display {
	opacity: 1;
}
hr {
	width: 200px;
	margin: 10px auto;
	border: solid thin #272727;
}
/* -------------------- Padding and Margins -------------------- */

.down {
	margin-top:100px;
}
.pad {
	padding: 100px 0;
}
.bottom {
	margin-bottom: 40px;
}
.move {
	margin-top: 60px;
	margin-bottom: 60px;
}
.alignright {
	float:right;
	padding-left: 20px;
	padding-bottom: 20px;
}
.alignleft {
	float:left;
	padding-right: 20px;
	padding-bottom: 20px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.left {
	margin-left: 0;
	margin-right: 0;
}
/* -------------------- Colours -------------------- */
.black {
	color: #fff;
	background-color: #272727;
}
.white {
	color: #fff;
}
.grey {
	color: #fff;
  background-color: #272727;
}
.lgrey {
	background-color: #eaeaea;
}
.redish {
	color: #c40516;
	font-weight: 700;
}
.red, .button {
	color: #fff;
	background-color: #5D0C13;
}
.button:hover {
	background-image: linear-gradient( to right, #c50516, #f13245, #e7252e );
}
/* -------------------- Header -------------------- */
header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background-color: #272727;
}
.feature {
	height: 100vh;
	width: 100%;
	overflow: hidden;
	background-image: url('images/background-red.jpg');
	background-position: center center;
	background-size: cover;
	border-bottom: solid medium #fff;
	background-attachment: fixed;
	background-color: #BB3529;
}
.slogan {
	color: #fff;
	text-align: center;
	/* text-shadow: 0 0 10px #272727; */
	/* background: rgba(0, 0, 0, 0.5);*/
	width: 40%;
	margin: auto;
	padding: 50px;
	box-sizing: border-box;

}
.slogan h1, .bold, .half h2, .about h2, .half h3, .title h1 {
	margin: 0;
}
.slogan h1, .title h1 {
	font-size: calc(1em + 2vw);
}
.title p {
	width: 50%;
}
.slogan p {
	font-size: 14pt;
	margin-top: 5px;
}
.logo {
	width: 300px;
}
.logo img {
	width: 100%;
	margin: 20px 0;
}

.bold {
	font-weight: 700;
}
.top-contact {
	/* right: 20px; */
	text-align: right;
	/* top: 20px; */
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	margin: auto;
	/* align-self: center; */
	position: absolute;
	background-color: white;
}
.big {
	font-size: 20pt;
}
.top-contact a {
	color: #272727;
	text-decoration: none;
}
.contact {
	align-self: center;
}
.title {
	width: 80%;
	margin: 30px auto;
	color: #fff;
	align-self: center;
	padding-top: 150px;
}
.social {
	display: none;
}
.intro {
	width: 80%;
	margin: 240px auto;
	text-align: center;
}
.intro h2 {
	font-size: calc(1em + 1.7vw);
}
/* -------------------- Welcome -------------------- */
.welcome {
	align-self: center;
	background-color: #fff;
	color: #272727;
	background-image: url('images/jukebox-premier.jpg');
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 100vh;
	background-attachment: fixed;
	background-size: contain;
}
.welcome h1, .half h1 {
	font-size: calc(1em + 2vw);
	margin: 0;
}
.welcome p {
	margin-bottom: 30px;
}

.welcome ul {
	margin: 0 0 20px 0;
	padding: 20px;
}
.welcome li {
	margin-bottom: 10px;
}
.welcomepic {
	max-height: 200px;
	overflow: hidden;
}
.welcomepic img {
	width: 100%;
}
.half {
	width: 50%;
	box-sizing: border-box;
}
.txt {
	padding: 50px;
	align-self: center;
}
.button {
	width: 200px;
	text-align: center;
	transition all 0.5s ease-in-out;
}
.button a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px;
}
/* -------------------- Services -------------------- */
.service i {
	font-size: 40pt;
	width: 100%;
}
.service h3 {
	width: 100%;
}
.service ul {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.service li {
	width: 46%;
	color: #272727;
	flex-grow: 1;
	flex-wrap: wrap;
	text-align: center;
	border: solid thin #e5e5e5;
	margin: 10px 10px 10px 0;
	padding: 20px;
	box-sizing: border-box;
}
.service li:hover {
	box-shadow: 0 0 20px #e5e5e5;
}
.service-image {
	width: 40%;
}
.service-image img {
	width: 100%;
}
.service-text {
	width: 60%;
	align-self: center;
	box-sizing: border-box;
	padding: 50px;
}
.o {
	order: -1;
}
.red h3 {
	font-size: calc(1em + 1vw);
	margin: 0;
}
/* -------------------- specialising -------------------- */

.specialising {
	padding: 150px 0;
	width: 60%;
	margin: auto;
	color: #fff;
}

/* -------------------- Service Descriptions -------------------- */
.serviced {
	width: 50%;
	flex-grow: 1;
	color: #111;
}
.serviced img {
	width: 100%;
}
.serviced a {
	color: #111;
	font-weight: 900;
}
.serviced a:hover {
	color: #272727;
	text-decoration: underline;
}
.hidden {
	overflow: hidden;
}
.textblock {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 300px;
	box-sizing: border-box;
	padding: 30px;
}
.split {
	width: 50%;
	box-sizing: border-box;
	margin-bottom: -5px;
}
.events:hover {
	background-color: #e5e5e5;
}


/* -------------------- Navigation -------------------- */
.navigation {
	flex-grow: 1;
}
.subtoggle, .subsidebar, .toggle, #subsidebartoggler {
		display:none;
}
nav {
	text-align: right;
	background-color: #fff;
}
ul#nav {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}
#nav li {
	float: left;
	flex-grow: 1;
}
#nav li a {
	display: block;
	padding: 20px;
	color: #272727;
	text-decoration: none;
	text-align: center;
}

#nav li a:hover {
	color: #CBA66C;
}

/* -------------------- Drop-Down -------------------- */
nav ul ul {
	display: none;
}
nav ul li:hover > ul {
	display: block;
}
nav ul {
	list-style: none;
	position: relative;
	display: inline-table;
	margin: 5px;
}
nav ul:after {
	content: ""; clear: both; display: block;
}
nav ul li {
	float: left;
}
nav ul li:hover {
	background-color: #272727;
}
nav ul li:hover a {
	color: #fff;
}
nav ul li a {
	display: block;
	padding: 10px;
	color: #272727;
	text-decoration: none;
}
nav ul ul {
	background: #283169; border-radius: 0px; padding: 0;
	position: absolute; top: 100%;
}
nav ul ul li {
	float: none;
	border-top: 1px solid #6b727c;
	border-bottom: 1px solid #575f6a; position: relative;
}
nav ul ul li a {
	padding: 10px;
	color: #272727;
}
nav ul ul li a:hover {
	background: #3C4D69;
	color: #DAC021;
}
nav ul ul ul {
	position: absolute; left: 100%; top:0;
}
.current-menu-item a, .page_item a, .current_page_item a {
	background-color: #a08c76 !important;
	color: #fff !important;
}

/* -------------------- Service Information -------------------- */
.servicelinks {
  width: 30%;
	border-right: solid thin #fff;
  padding-bottom: 30px;
	background-color: #272727;
}
.serviceinfo {
  width: 65%;
  padding: 0 30px;
  align-self: center;
}
.servicelinks, .serviceinfo {
  box-sizing: border-box;
}
.servicelinks p {
  padding: 30px;
}
.servicelinks ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.servicelinks li a {
  display: block;
  padding: 20px 30px;
	color: #fff;
	text-decoration: none;
}
.servicelinks li a:hover {
	background-color: #D42D2D;
}
.serviceinfo h2 {
  font-size: calc(1em + 1.7vw);
  margin-bottom: 0;
}
.serviceinfo .gallery-item {
	width: 20%;
	flex-grow: 0;
}
/* -------------------- Tabs -------------------- */

ul.tabs li.current a, #tabselect{
	background:#ef3e33;
	}

.tab-listing{
	clear: both;
	padding: 20px;
	margin: 0 0 40px 0;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-color: #e5e5e5;
	border-bottom-color: #e5e5e5;
}

/* -------------------- Icons -------------------- */

.icons {
	width:62px;
	height:62px;
	margin-left: 5px;
	margin-top:20px;
}
.icons img {
	width: 100%;
	height: auto;
}
.youtube {
	background: #c61800;
}
.twitter {
	background: #4099ff;
}
.facebook {
	background: #4966b6;
}
.twitter:hover, .facebook:hover {
	background: #0066CC;
}


/* -------------------- Testimonials -------------------- */
.bx-controls-direction {
	/* display: flex; */
	margin-top: 30px;
	text-align: left;
}
.bx-prev {
	margin-right: 10px;
}
.bx-controls-direction a {
	color: #272727;
	text-decoration: none;
}
.bx-controls-direction a:hover {
	color: #f8c225;
}

.bx-default-pager {
	display: flex;
}
.bx-pager-item {
	display: none;
}
.bx-pager-link {
	padding: 5px;
	align-items: center;
}

/* -------------------- Gallery -------------------- */

.gallery, .grid, .links, footer {
	display: flex;
	flex-wrap: wrap;
}
.grow {
	flex-grow: 1;
}
.space {
	justify-content: space-between;
}
.gallery-item {
	float: left;
	width: 10%;
	flex-grow: 1;
	margin: 5px;
}
.gallery-item img, .half img {
	width: 100%;
	height: auto;
	transition: all 0.5s ease-in-out;
}
.half img {
	filter: grayscale(1);
}
.half img:hover {
	filter: grayscale(0);
}
.gallery-item img:hover {
	opacity: 0.6;
}

.link {
	flex-grow: 1;
	width: 10%;
	position: relative;
	overflow: hidden;
	margin: 10px;
	padding-bottom: 40px;
	transition: all 0.5s ease-in-out;
}
.link a {
	color: #272727;
	text-decoration: none;
}
.link a:hover {
	color: #033b6a;
}
.half img, .fin img, .prices img, .link img, .banner img {
	width: 100%;
	height: auto;
}
.showcase {
	background-color: #fff;
}
/* -------------------- Google maps -------------------- */
.googlemap p {
	margin: 0
}
.googlemap iframe, .googlemaps iframe {
	width: 100%;
}
.googlemaps iframe {
	border: none;
	margin-top: 5px;
}
.googlemap {
	transition: all 0.5s ease-in-out;
}

.googlemap iframe {
	border: none;
}

/* -------------------- Video -------------------- */

.videocontainer {
	width: 100%;
	height: 98vh;
	overflow: hidden;
	position: relative;
	display: flex;
}
.videocontainer img {
width: 100%;
}
.videocontainerin {
	width: 100%;
	height: 58vh;
	overflow: hidden;
	position: relative;
}
video {
	position: absolute;
	top: 49%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
}
.video-responsive {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed,
.video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* -------------------- Footer -------------------- */
footer {
	color: #fff;
	padding: 30px;
}
footer a, .copyright a {
	color: #fff;
	text-decoration: none;
}
footer a:hover, .copyright a:hover {
	color: #c40516;
}
.f {
	flex-grow: 1;
	align-self: center;
}
.f ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.f li {
	line-height: 1.6em;
}
.f i {
	font-size: 20pt;
	margin: 0 5px;
}
.copyright {
	background-color: #0f0f0f;
	padding: 10px 35px;
	color: #fff;
	font-size: 8pt;
	text-align: center;
}
.name, .email, .message, .interested {
	width: 90%;
}
.name, .email, .message, .interested {
	padding: 10px;
	margin-bottom: 10px;
	color: #fff;
	background-color: #888888;
	border: none;
	transition: all 0.5s ease-in-out;
	box-sizing: border-box;
}

.name:focus, .email:focus, .message:focus, .interested:focus {
		background-color: #fff;
		color: #151515;
}
.contact-form-details {
	align-self: center;
	padding: 20px;
}
/*

	Author:				hedleyenterprises.co.uk - web design starts with a coffee and a chat...
	Description:	CSS Stylesheet for mobile devices


*/
@media screen and (max-width: 1100px) {

	.container {
		width: 95%;
	}
	.title, .title p {
	width: 90%;
}

}

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

	.half {
		width: 100%;
	}
	.contact-form-details {
	padding: 0;
}
	.p {
		order: -1;
	}
	.gallery-item {
	width: 30%;
}
.welcome {
	height: 50vh;
}
}

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

.servicelinks {
	width: 100%;
	padding-bottom: 0;
	border-right: none;
	border-bottom: solid thin #fff;
	padding-bottom: 30px;
}
.serviceinfo {
width: 100%;
padding: 30px;
align-self: center;
}

.servicelinks ul {
	display: flex;
	flex-wrap: wrap;
}
.servicelinks li {
	text-align: center;
	flex-grow: 1;
	width: auto;
}
}

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

.service li {
	width: 100%;
}
.contact {
	display: none;
}
.logo {
	width: 100%;
}
.logo img {
	width: 300px;
}
.top-contact {
	text-align: center;
}
.social {
	margin: 10px auto;
	width: 200px;
	display: block;
}
.social ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.social li {
	flex-grow: 1;
	text-align: center;
}
.social i {
  color: #212931;
}
.social i:hover {
	color: #e5e5e5;
}
.serviceinfo .gallery-item {
	width: 40%;
	flex-grow: 1;
}
}
@media screen and (max-height: 400px) {
	.feature {
		height: 150vh;
	}
	.title {
	margin: 80px auto;
}
}
@media screen and (max-width: 380px) {

.feature {
	height: 150vh;
}
