// Colours
$yellow: #fcc41c;
$charcoal: #393737;
$grey: #747577;
$silver: #e4e6e9;
$bodycopy: #3a3a3a;

// Buttons
a.button, .reply a, #searchsubmit, #prevLink a, #nextLink a, a.more-link, a.read-more, #submit, input[type="submit"], #comments #respond input#submit, .container .gform_wrapper input.button, #wrapper #infinite-handle span, .page-banner .more-link,
input[type="image"] {
	background-color: $yellow;
	border-radius: 4px;
	color: $charcoal !important;
	font-family: Karla;
	font-size: 0.9rem;
	padding: 10px 20px;
	
	&:hover {
		background: darken($yellow, 5%);
		border: none;
		box-shadow: none;
		color: #fff !important;
		text-shadow: none !important;
	}
}

input[type="image"] { 
	height: 16px;
}

// Links
a, a:link, a:visited {
	color: $charcoal;
	
	&:hover,
	&:focus {
		background: $yellow;
		color: #fff;
		text-decoration: none;
	}
}

// Headings
h1 {
	font-weight: 700;
	color: $grey;
}

.wf-active h1,
.wf-active .headline {
	font-size: 2.8em;
}

.wf-active h2 {
	font-size: 2.6em;
}

.portfolio-entry-title,.wf-active h2 {
	font-size: 1.6em;
}

.wf-active h3 {
	font-size: 2.4em;
}

.wf-active h4 {
	font-size: 1.9em;
}

.wf-active h4 {
	font-size: 1.6em;
}

.wf-active .title {
	font-size: 1.1em;
}

// Navigation
#navigation {
	font-size: .9em;
}

.page-banner a:link {
	color: #fff;
	
	&:hover,
	&:focus {
		background: none;
		color: $silver;
	}
}

.light-header-text #navigation .menu li.current-menu-ancestor a, .light-header-text #navigation .menu li.current_page_ancestor a, .light-header-text #navigation .menu .current_page_item a, .light-header-text #navigation .menu .current_page_ancestor a, .light-header-text #navigation .menu .current-menu-item a, .light-header-text #navigation .menu .current-cat a {
	color: $silver;
}

#wrapper #navigation .menu li li a, #wrapper #navigation .menu li li a:link, #wrapper #navigation .menu li li a:visited {
	color: $charcoal;
}

// Mobile menu 
.mobile-menu a {
	color: $silver;
	
	&:hover,
	&:focus {
		background: $silver;
		color: $charcoal;
	}
}

// Front page customisations.
.text-white {
	h1, h2 {
		line-height: 1;
		margin: 0;
		padding: 0;
	}

	h2 {
		margin-bottom: 20px;
	}

	h4, h5 {
		margin: 0;
		padding: 0 0 10px;
		color: $silver !important;
	text-transform: uppercase;
	font-size: 1.25rem !important;
	letter-spacing:1px;
		text-shadow: 1px 1px 1px #000;
	}

 p {
	color: #fff !important;
	font-size: 1.2em;
	max-width: 550px;
	}
}


.row p {
		text-align: left !important;
}

p.btn-align-center {
	text-align: center !important;
	margin: 0 auto;
}

.homepage .page-banner:first-child .article {
		margin-top: 0px;
}

// Page headings 
.banner-content .headline.img-headline::after {
	display: none;
}

.headline.text-center {
	text-align: left !important;
}

// This is the post date and author block on single post pages.
.entry {
	display: none;
}

// Hide categories as well, since they're all uncategorised
.post-meta {
	display: none;
}

.post-navigation {
	margin-top: 40px;
}

// Drop cap
.content-holder > p:first-child::first-letter {
	  color: $yellow;
    font-family: montserrat;
    font-size: 3.5em;
    font-weight: 600;
    text-shadow: none;
    padding: 11px 6px 0 0;
}

// Hide carousel metadata
.jp-carousel-info {
	display: none;
}

// Tighten up spacing on one page.
#page-66 .portfolio-featured-image + .portfolio-entry-title {
  margin-top: 5px;
}


// Sidebar
.widget .title {
	color: $grey;
	font-size: 1.6em;
	text-transform: none;
	letter-spacing:0
}

.widget li,
.widget li:last-child {
	border-color: $silver;
}

.widget li a {
	color: $charcoal;
	display: block;
	text-decoration: none;
	
	&:hover {
		border: 0;
		background: $yellow;
	}
}

// Footer
.footer-widgets {
	.widget .title {
		color: $silver;
	}
}

.footer-information {
	background: #fff;
}

.footer a,
.footer-information a:link {
	color: $charcoal;
	
	&:focus,
	&:hover {
		background-color: $yellow;
		text-decoration: none
	}
}

.home-search .social-icons li a,
.social-icons li a,
.footer .social-icons li a{
	border-radius: 50%;
	border: 1px solid $silver;
	color: $grey;
	
	&:hover {
		color: $charcoal;
		border-color: $yellow;
		background-color: $yellow;
	}
}

// Header
#header .row {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	align-items: center;
	height: 280px;
}

@media screen and (min-width: 1144px){
	#header .row {
		justify-content: center;
	}
}

#header .left-position,
#header .right-position {
	transform: none;
	position: relative !important;
	top: auto;
	width: auto;
	flex: 0 1 auto;
}

#header .logo-holder {
	position: absolute !important;
	left: 0;
	width: auto;
	transform: none;
}

// Media Queries
@media (max-width: 1024px) {
  .homepage .page-banner:first-child .article {
    margin-top: 0;
  }
}

@media (max-width: 500px) {
  .homepage .page-content {
    padding: 0;
  }
}

//Decrease logo size on all pages except home on smaller screens
@media (max-width: 500px) {
	#header .site-logo-link {
		max-width: 160px;
	}
}

// remove shadow on button text
.button,.text-white h5 {
	text-shadow: none;
}

//Border/box around some links
a.linkbox {
 border:2px solid black;
 padding: 5px;
}