body {
    color: #000;
}

/* 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: #fcc41c;
	border-radius: 4px;
	color: #393737 !important;
	font-family: Karla;
	font-size: 0.9rem;
	padding: 10px 20px;
	
	&:hover {
		background: darken(#fcc41c, 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: #393737;
	
	&:hover,
	&:focus {
		background: #fcc41c;
		color: #fff;
		text-decoration: none;
	}
}

/* Headings */
h1 {
	font-weight: 700;
	color: #000;
}

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

#header .nav-left, #header .nav-right {
    flex-basis: auto;
}

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

.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: #e4e6e9;
}

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

/* Mobile menu */
.mobile-menu a {
	color: #e4e6e9;
	
	&:hover,
	&:focus {
		background: #e4e6e9;
		color: #393737;
	}
}

/* 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: #e4e6e9 !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: #fcc41c;
    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: #393737;
	font-size: 1.6em;
	text-transform: none;
	letter-spacing:0
}

.widget li,
.widget li:last-child {
	border-color: #e4e6e9;
}

.widget li a {
	color: #393737;
	display: block;
	text-decoration: none;
	
	&:hover {
		border: 0;
		background: #fcc41c;
	}
}

/* Footer */
.footer-widgets {
	.widget .title {
		color: #e4e6e9;
	}
}

.footer-information {
	background: #fff;
}

.footer a,
.footer-information a:link {
	color: #393737;
	
	&:focus,
	&:hover {
		background-color: #fcc41c;
		text-decoration: none
	}
}

.home-search .social-icons li a,
.social-icons li a,
.footer .social-icons li a{
	border-radius: 50%;
	border: 1px solid #e4e6e9;
	color: #747577;
	
	&:hover {
		color: #393737;
		border-color: #fcc41c;
		background-color: #fcc41c;
	}
}

/* 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;
}

/* hide serach that appeared zd-11484325 */

.row.home-search {
    display: none !important;
}

/* 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;
}
