﻿/*
Theme Name: Buckie Classic Car Show
Theme URI: https://buckieclassiccarshow.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: 4
Author: <strong>hedley</strong> enterprises
Author URI: https://hedleyenterprises.co.uk

*/
:root {
	--main-color: #151515;
	--green: #92C758;
	--yellow: #EDC450;
    --red: #9D0934;
    --lgrey: #E5E5E5;
    --grey: #F3F2F1;
    --black: rgba(0, 0, 0, 0.2);
}

body {
	font-size:12pt;
    font-family: 'Poppins', sans-serif;
	margin:0;
	padding:0;
    color: var(--main-color);
}
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: 95%;
    max-width: 1200px;
    margin-left: auto;
	margin-right: auto;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
.c {
	clear:both;
}
a {
  text-decoration: none;
}
h1 {
   font-size: 2rem;
}
h1, h2, h3, .bold {
	font-weight: 700;
}
p {
	line-height:1.6em;
}
img {
	border-style: none;
}
.center {
	text-align:center;
}
.absol {
	position:relative;
}
.line {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: var(--lgrey);
}
.places-to-stay iframe {
	border: none;
	width: 100%;
	height: 50vh;
}

/* -------------------- Padding and Margins -------------------- */
.down {
	margin-top:10em;
}
.dwn {
	margin-bottom: 5em;
}
.dwnt {
	margin-top: 5em;
}
.drop {
	margin-top: 5em;
	margin-bottom: 5em;
}
.move {
	margin-top: -100px;
}
.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;
}
.leftcol, .rightcol {
	width: 100%;
}
.leftcol {
	margin-bottom: 2em;
}
/* -------------------- Background Colours -------------------- */
.event-date, .social-icons {
    background-color: var(--grey);
}
.location-directions {
    background-color: var(--grey);
}
.car-background {
	background-image: url('images/Sketch2.jpg');
	background-position: left;
	background-repeat: no-repeat;
}
.Banner {
	height: 50vh;
	background-size: cover;
	background-position: center;
}
/* -------------------- Hyperlinks -------------------- */
/* -------------------- Header -------------------- */
header {
	width: 100%;
    margin: auto;
    display: grid;
	grid-template-columns: 1fr 1fr;
	position: relative;
}
.event-date {
    padding-left: 20px;
	grid-column: 1/-1;
	font-size: 10pt;
}
.location-directions input {
	width: 80%;
	border: none;
	background-color: var(--lgrey);
	padding: 20px;
	box-sizing: border-box;
}
.location-directions input:hover {
	background-color: var(--yellow);
}
.location-directions .gobutton {
	width: 20%;
	border: none;
	background-color: var(--lgrey);
	padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}
.notice {
    padding: 5px;
    text-align: center;
    color: var(--lgrey);
    background-color: var(--red);
}
.notice p {
    margin: 0;
    padding: 5px;
}
.linedrop {
	display: block;
}
/* -------------------- Header Video -------------------- */
.home .feature {
	height: 90vh;
	background-color: #000;
}
/* .inner .feature {
	height: 60vh;
	background-size: cover;
	background-position: center;
} */
.inner .feature {
	padding: 3em 0;
	background-color: var(--green);
	background-size: cover;
	background-position: center;
}
.news .feature {
	padding: 3em 0;
	background-color: var(--red);
}
.feature {
    width: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
}
.feature video {
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
    z-index: -10;
    opacity: 0.8;
}
.logo {
	align-self: center;
	color: var(--lgrey);
	text-align: center;
}
.logo p {
    margin: 0;
}
.big {
	font-size: 1.5rem;
	font-weight: 700;
}
.medium {
    font-size: 1rem;
}
.countdown {
    margin-top: 3em;
}
.coundown li {
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 1em;
    text-transform: uppercase;
}
.countdown li span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}
.count-reg {
	width: 95%;
	max-width: 600px;
	margin: 2em auto;
	text-align: center;
}
.location-directions {
	display: none;
}
.social-icons {
	display: flex;
	justify-content: center;
	font-size: 20pt;
	grid-column: 1/-1;
}
.social-icons ul {
	align-self: center;
}
.social-icons li {
	margin: 0 10px;
}
.social-icons li a {
	color: var(--main-color);
}
.social-icons li a:hover, .allow {
	color: var(--red);
}
/* -------------------- unordered list -------------------- */
.social-icons ul, .navigation nav ul, .countdown ul, .sponsor-list ul, footer ul, .register-selection-option ul  {
    list-style: none;
    margin: 0;
    padding: 0;
}
.social-icons ul, .navigation nav ul, .countdown ul, .register-selection-option ul {
    display: flex;
}
.countdown ul {
	justify-content: space-between;
	width: 90%;
	margin: auto;
}
.register-selection-option ul, ul.tabs {
	flex-wrap: wrap;
}
.register-selection-option li {
	flex-grow: 1;
	margin: 10px;
	text-align: center;
}
.tabs {
	width: 90%;
	justify-content: center;
	max-width: 800px;
}
.tabs a {
	border-bottom: solid thin var(--green);
	display: block;
	padding-bottom: 0.5em;
	color: var(--main-color);
}
.register-selection-option .current a {
	color: var(--red);
}
.register-selection-option {
	display: flex;
	justify-content: center;
	margin-bottom: 2em;
}
/* -------------------- Mobile Logo -------------------- */
/* -------------------- Navigation -------------------- */
.navigation {
    display: none;
    grid-column: 1 / -1;
    padding: 10px 0;
}
nav li a {
	color: var(--main-color);
}
.navigation nav li a:hover {
	color: var(--red);
}
.navigation nav li {
    padding: 10px;
}
.current_page_item a, .registration .reg-nav a, .contactpage .cont-nav a {
	color: var(--red);
	font-weight: bold;
}
/* -------------------- Navigation Mobile -------------------- */
.navigation-mobile {
	width: 0;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
.mainmenu {
	width: 100%;
	padding-top: 5em;
}
.mainmenu a {
	color: var(--main-color);
}
.mainmenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 20pt;
}
/* -------------------- Hamburger Icon -------------------- */
#Rectangle_27, #Rectangle_28, #Rectangle_29,
#Rectangle_30, #Rectangle_31, #Rectangle_32 {
	transition: all 0.5s ease-in-out;
}
#Rectangle_27 {
	transition: all 0.5s ease-in-out;
	transform: translate(334px, 30px);
}
#open-menu:hover #Rectangle_27 {
	transform: translate(332px, 30px);
}
#Rectangle_28 {
	transition: all 0.5s ease-in-out;
	transform: translate(334px, 36px);
}
#open-menu:hover #Rectangle_28 {
	transform: translate(326px, 36px);
}
#Rectangle_29 {
	transform: translate(334px, 42px);
}
#open-menu:hover #Rectangle_29 {
	transform: translate(316px, 42px);
}
#navoverlay {
	background-color: var(--lgrey);
}

.mobile {
	display: none;
	opacity: 0;
}
.close-btn {
	display: block;
}
.menu-btn {
	cursor: pointer;
	width: 38px;
	position: absolute;
	right: 1em;
	top: 1em;
}
.mobile {
	position: fixed;
	padding: 2em;
	width: calc(100vw - 4em);
	height: calc(100vh - 4em);
	z-index: 200;
	top: 0;
}
.close-btn {
	width: 28px;
	cursor: pointer;
	position: absolute;
	right: 2.2em;
	top: 1.5em;
}
.show-menu {
	opacity: 1;
	display: block;
}
ul.sub-menu {
	display:none;
}
.slideDown {
  display: block;
}
.menu-contents {
	display: flex;
	flex-wrap: wrap;
	height: 100vh;
}
.nav {
	font-size: 1.5rem;
}
.nav ul, .contact-nav ul, .social-nav ul {
	flex-wrap: wrap;
}
.nav li, .contact-nav li, .social-nav li {
	width: 100%;
	margin-left: 0;
	margin-bottom: 15px;
}
.nav, .contact-nav, .social-nav {
	align-self: center;
	width: 100%;
}
.nav, .contact-nav {
	margin-bottom: 20px;
}
.nav li a, .contact-nav li a {
	color: var(--main-color);
}
/* -------------------- Page Title / CTA -------------------- */
.nomargin h1,
.nomargin h2,
.nomargin p {
    margin: 0;
}
/* -------------------- Box Selections -------------------- */
.box-flex {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	height: auto;
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	margin-top: -50px;
}
.box-selection {
	width: 80%;
	flex: 0 0 auto;
	background-color: #ffffff;
	padding: 20px;
	box-sizing: border-box;
	border-radius: 10px;
    border: solid 1px var(--grey);
	z-index: 1;
	margin-right: 20px;
	display: grid;
}
.box-selection:nth-child(1):hover {
    background-color: var(--green);
	border: solid 1px var(--green);
	color: var(--grey);
}
.box-selection:nth-child(2):hover {
    background-color: var(--red);
    border: solid 1px var(--red);
    color: var(--grey);
}
.box-selection:nth-child(3):hover {
    background-color: var(--yellow);
	border: solid 1px var(--yellow);
	color: var(--grey);
}
.box-selection:hover {
    box-shadow: 0 0 1em var(--black);
}
.box-selection h2, .box-selection p {
    margin: 0;
}
.box-selection-image {
	text-align: center;
	min-height: 167px;
	display: grid;
	justify-content: center;
	margin-bottom: 2em;
}
.box-selection-image img,
.box-selection-image svg {
	align-self: center;
}
.box-selection-image img {
	width: 100%;
}
.box-selection-image a {
	display: inline-flex;
}
.box-selection .button {
	margin-top: 2em;
	align-self: flex-end;
}
.box-selection:hover .button a {
	background-color: var(--main-color);
}
.welcome h1,
.welcome p {
    color: var(--yellow);
}
.welcome h1 {
    font-size: 4rem;
}
.half {
    width: 95%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
/* -------------------- Sponsor Listings -------------------- */
.sponsors-listing {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}
.sponsor-list-image {
	background-size: cover;
	min-height: 400px;
	background-position: center;
}
/* -------------------- Volunteer -------------------- */
.volunteer-background {
	background-color: var(--green);
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: 90%;
}
.volunteer {
	display: grid;
	grid-template-columns: 1fr;
}
.volunteer-title, .volunteer-button {
	align-self: center;
}
.volunteer-title h3 {
	color: var(--red);
	font-size: 2rem;
}
.volunteer-button {
	text-align: center;
}
tbody {
	width: 100%;
}
.hed {
	width: 100%;
	display: flex;
}
.hed td {
	text-align: left;
	display: inline-block;
	padding: 10px;
	flex-grow: 1;
	width: 200px;
}
.hed th {
	width: 200px;
	display: inline-block;
	flex-grow: 1;
}
.hed tr {
	background-color: var(--grey);
	display: flex;
	width: 100%;
	justify-content: space-between;
	margin-bottom: 10px;
}
.hed tr:hover {
	box-shadow: 0 0 1em var(--black);
}
.hed tr:nth-child(odd) {
	background-color: var(--lgrey);
}

.content .highlighted{
	background:#fde26d;
}
  
.content .marker{
	position:absolute;
	left:-50px;
	background:#463233;
	height:8px;
	width:40px;
  }
/* -------------------- Steps -------------------- */

.steps {
	width: 100%;
}
.steps-description {
    display: flex;
    width: 100%;
    padding: 10px;
	flex-grow: 1;
	border-radius: 10px 10px 0 0;
}
.steps-description:hover {
	background-color: white;
	color: var(--main-color);
}
.steps-description h2, .steps-description p {
	align-self: center;
}
.steps-description h2 {
    font-size: 4rem;
    margin: 0;
    color: var(--yellow);
}
.steps-description p {
    padding-left: 20px;
}
/* -------------------- Club Listing Results -------------------- */

.club-name {
	padding: 10px;
	background-color: var(--green);
	color: #fff;
	border-radius: 10px 10px 0 0;
}
.club-entries ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}
.club-entries li {
	width: 20%;
	flex-grow: 1;
	padding: 10px;
}
.club-entries > div {
	width: 30%;
	flex-grow: 1;
	line-height: 1.9em;
}
.club-entries {
	padding: 10px;
	background-color: var(--grey);
	border-radius: 0 0 10px 10px;
}
/* -------------------- Booking Form -------------------- */

.wpcf7-submit {
	width: 60%;
	cursor: pointer;
}
.wpcf7-submit:hover {
	background-color: #272727;
	color: #fff;
}
.bookingform input, .bookingform select, .bookingform textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	margin-bottom: 5px;
	border: solid thin #dfdfdf;
}
.bookingform input:focus, .bookingform select:focus, .bookingform textarea:focus {
	background-color: #dfdfdf;
}
.bookingform hr {
	width: 100px;
	margin: 20px auto;
	border: solid thin #fff;
}
/* -------------------- Gallery / Banner -------------------- */
.gallery, .grid, .links {
	display: flex;
	flex-wrap: wrap;
}
.space {
	justify-content: space-between;
}
.gallery-item {
	float: left;
	width: 20%;
	flex-grow: 1;
	margin: 5px;
}
.gallery-item img {
	width: 100%;
	height: auto;
}
.gallery-item img:hover {
	opacity: 0.6;
}

.blog:nth-child(1) {
	width: 100%;
	text-decoration: underline;
}
.news-item-long {
	margin-bottom: 5em;
	border-bottom: solid thin var(--yellow);
	padding-bottom: 1em;
}
.news-item {
	width: 46%;
	flex-grow: 1;
	margin-right: 20px;
	margin-bottom: 5em;
}
.news-item-pic {
	height: 250px;
	background-size: cover;
	background-position: center;
}
.news-item-pic a {
	display: flex;
	height: 100%;
	width: 100%;
	color: var(--lgrey);
}
.news-link {
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	background-color: var(--black);
	opacity: 0;
}
.news-link:hover {
	opacity: 1;
}
.news-link p {
	align-self: center;
}
/* -------------------- Register -------------------- */
.register-option {
	margin: 10px;
	flex-grow: 1;
}
.register-option a {
	background-color: var(--red);
	display: block;
	padding: 20px;
	border-radius: 10px;
	color: var(--grey);
}
.register-option a:hover {
	background-color: var(--green);
	box-shadow: 0 0 1em var(--black);
}
/* -------------------- Button -------------------- */
.button a {
	padding: 10px 15px;
	display: block;
	text-align: center;
	border-radius: 10px;
}
.box-selection .button a {
	color: var(--green);
	border: solid 1px var(--green);
}
.news-item-long .button a {
	color: var(--main-color);
	display: inline-block;
	border: solid 1px var(--green);
}
.volunteer-button a {
	padding: 15px 20px;
	color: var(--white);
	font-weight: 700;
	border-radius: 10px;
	display: inline-block;
}
.volunteer-button a {
	background-color: var(--yellow);
	width: 290px;
}
.button a:hover {
  background-color: #272727;
}
.box-selection:hover .button a {
	color: var(--lgrey);
	border: solid thin var(--grey);
}

/* -------------------- Footer -------------------- */
footer {
	display: grid;
	grid-template-columns: 1fr;
	width: 95%;
	max-width: 1200px;
	margin: 10em auto 0 auto;
	gap: 30px;
}
footer a {
	color: var(--main-color);
}
footer a:hover {
	color: var(--red);
}
.footer-logo img {
	max-width: 250px;
}
.fb-like {
	align-self: center;
}
.copyright {
	grid-column: 1 /-1;
	font-size: 10pt;
	border-top: solid 1px var(--lgrey);
}

/*

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


*/

/* -------------------- 800 -------------------- */

@media all and (min-width: 50em) {
header {
    grid-template-columns: 2fr 1fr 200px;
}
.box-flex {
	margin-top: -100px;
}
.big {
	font-size: 3rem;
}
.medium {
	font-size: 2rem;
}
.event-date {
	grid-column: 1;
	font-size: 12pt;
}
.sponsors-listing, .volunteer {
	grid-template-columns: 1fr 1fr 1fr;
}
.location-directions {
	display: initial;
}
.social-icons {
	grid-column: 3;
}
.steps-description {
    width: 30%;
}
/* -------------------- Navigation -------------------- */
.navigation {
    display: flex;
    justify-content: center;
}
.menu-btn {
	display: none;
}
.navigation-mobile {
	display: none;
}
.linedrop {
	display: initial;
}
}


/* -------------------- 1200 -------------------- */

@media all and (min-width: 75em) {
footer {
	grid-template-columns: repeat(4, 1fr);
}
.box-selection {
	width: 30%;
	margin-right: 0;
}
.leftcol {
	width: 70%;
}
.rightcol {
	width: 25%;
}
}

/*

	Author:				hedleyenterprises.co.uk - web design starts with a coffee and a chat...
	Description:	CSS Stylesheet for Desktop Devices with bigger screens


*/


@media all and (min-width: 1900px) {

}


/* @media (prefers-color-scheme: dark) {
  body {
    background-color: black;
    color: white;
  }
} */
