﻿/*
Theme Name: A2B Aberdeen
Theme URI: http://a2baberdeen.co.uk
Description: A theme by <a href="http://www.hedleyenterprises.co.uk">hedley enterprises</a>.
Version: 1
Author: hedley enterprises
Author URI: http://www.hedleyenterprises.co.uk

*/
body {
	font-size:12pt;
	font-family: 'Lato', sans-serif;
	margin:0;
	padding:0;
	color: #585A56;
}
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; }


/* Default Styles */

.container {
	width: 1200px;
	margin: auto;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
.c {
	clear:both;
}
h1, h2, h3, h4, .logo {
	font-weight: 300;
}
p {
	line-height:1.9em;
}
img {
	border-style: none;
}
.center {
	text-align:center;
}
.absol {
	position:relative;
}
.line {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #dfdfdf;
}
.blue {
	background-color: #39393d;
	color:#fff;
}
.half {
	width: 48%;
}

/* Padding and Margins */
.pad {
	padding: 30px 0;
}
.down {
	margin-top:20px;
}
.drop {
	margin-top: 40px;
}
.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;
}

/* Header */
header {
	position: relative;
	/*height: 100vh;*/
	color: #fff;
}
.feature {
	z-index: -9999;
	background: rgba(0, 0, 0, 1);
}
.feature img {
	width: 100%;
	height: auto;
	opacity: 0.6;
}
.logonav {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 10;
}
.logo {
	color: #fff;
	font-size: 42px;
}
.social {
	position: absolute;
	top: 30px;
	z-index: 20;
	right: 30px;
}
.videocontainer {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
}
video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -10;
}
.topbar {
	height: 20px;
	background-color: #000;
}
.button {
    margin-top: 60px;
}
.button a {
    border: solid thin #fff;
    padding: 10px;
    text-decoration: none;
    color: #fff;
}

.giftvouchers {
	background-color: #191D4C;
	color: #fff;
	text-align: center;
	padding: 10px 5px;
	border-bottom: solid medium #fff;
}
.giftvouchers a {
	color: #fff;
	text-decoration: none;
}
.giftvouchers a:hover {
	text-decoration: underline;
}

/* Navigation */

nav {
	margin: auto;
}
ul#nav {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	display: flex;
	flex-wrap: nowrap;

}
#nav li {
	float: left;
	flex-grow: 1;
	width: 25%;
}
#nav li a {
	display: block;
	padding: 20px;
	color: #fff;
	text-decoration: none;
	text-align: center;
}

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



/* Icons */

.icons {
	width:22px;
	height:22px;
	margin-bottom: 5px;
}
.icons img {
	width: 100%;
	height: auto;
}
.youtube:hover {
	background: #c61800;
}
.twitter:hover {
	background: #4099ff;
}
.facebook:hover {
	background: #4966b6;
}
.twitter:hover, .mobile:hover {
	background: #0066CC;
}
.display {
	display: none;
}
.recentcomments {
	background-color: rgba(0,0,0,0.1);
	text-align: center;
	padding: 10px 0 20px 0;
}

/* Gallery */

.gallery, .grid {
	display: flex;
	flex-wrap: wrap;
}
.gallery-item {
	float: left;
	width: 20%;
	flex-grow: 1;
	margin: 5px;
}
.gallery-item img, .link img, .show img, .collage img, .leftcol img {
	width: 100%;
	height: auto;
}
.gallery-item img:hover {
	opacity: 0.6;
}
.collage {
	flex-grow: 1;
}
.big {
	flex-basis: 300px;
}

/* Main Body */
.links {
	display: flex;
	flex-wrap: wrap;
}
.link {
	flex-grow: 1;
	width: 30%;
	position: relative;
	overflow: hidden;
	margin: 2px;
}
.linktxt {
	position: absolute;
	height: auto;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 5px;
	bottom: 5px;
}
.showcase {
	margin-top: 60px;
}
.showcase h2 {
	font-size: 30pt;
	margin-bottom: 5px;
	color: #54678F;
}
.show {
	flex-grow: 1;
	width: 30%;
	position: relative;
	margin: 10px;
}
.showpic {

	overflow: hidden;
}
.show h3 {
	margin-bottom: 5px;
	font-size: 15pt;
}
.show p {
	margin: 15px 0;
}
.intro {
    padding: 20px 0;
}
.half h3 {
	font-size: 25pt;
}
.leftcol, .contactdetails {
	width: 30%;
}
.rightcol, .contactform {
	width: 68%;
}
.fbcomments {
	margin-top: 50px;
}
td {
	padding: 5px 0;
}
.name {
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
}
.email {
	width: 100%;
	padding: 10px;
}
.contactform form input {
	width: 48%;
	padding: 15px 0;
	margin-bottom: 10px;
	flex-grow: 1;
	float: 1;
	display: inline-block;
}
.contactform form textarea {
	width: 97%;
	padding: 15px 0;
	margin-bottom: 10px;
	flex-grow: 1;
	float: 1;
	display: inline-block;
}
.copyright {
	padding: 20px 0;
	font-size: 8pt;
}
.copyright a {
	color: #fff;
	text-decoration: none;
}
.copyright a:hover {
	text-decoration: underline;
}

/**
 * BxSlider v4.0 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2012
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/
ul.bxslider {
	margin:0;
	padding:0;
	list-style: none;
}
.bx-wrapper {
	position: relative;
	margin: 0;
	padding: 0;
	*zoom: 1;
	z-index: -1;
}

.bx-wrapper img {
	width: 105%;
	display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	left: 0;
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	/*position: absolute;
	bottom: -30px;
	width: 100%;
	z-index:97;*/
	display: none;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(img/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-weight: bold;
	color: #666;
	padding-top: -20px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: -50px 5px 5px 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(img/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(img/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 97;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(img/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(img/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}
.view-container-border {
	background-color: #fff!important;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	display: block;
	font-size: .85em;
	padding: 10px;
}



/*

	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%;
}

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

.feature img {
	width: 200%;
}
}

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

	header {
		/*height: 50vh;*/
		overflow: hidden;
	}
	.show {
		width: 38%;
	}
	.leftcol, .rightcol, .contactform, .contactdetails {
		float: left;
		width: 100%;
	}
}


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

.logonav img {
	width: 50%;
}
.logonav {
	width: 100%;
}
.feature img {
	width: 300%;
	margin-left: -200px;
}
.icons {
	width: 32px;
	height: 32px;
	margin-bottom: 5px;
	float: left;
	margin-left: 15px;
}
.display {
	display: block;
}
.half {
	width: 100%;
	float: left;
	margin-bottom: 10px;
}

}

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

	.show {
		width: 100%;
	}
	.showpic {
		height: 400px;
		overflow: hidden;
	}
	.ndisplay {
		display: none;
	}
}

@media screen and (max-height: 390px) {

.logonav img {
	width: 50%;
}
.logonav {
	width: 100%;
}
.logonav {
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 10;
}
.feature img {
	width: 300%;
	margin-left: -200px;
}
.show {
	width: 100%;
}
.showpic {
	height: 400px;
	overflow: hidden;
}
.ndisplay{
	display: none;
}
}
