/*
Theme Name: Jordan Leigh
Author: 27DIGITAL
Author URI: https://27digital.co.uk/
*/

/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
	font-family: "aktiv-grotesk",sans-serif;
}

html {
	font-size: 100%;
	overflow-y: scroll; /* -- Scrollbar always activated to prevent jumping of content if scrollbar is activated -- */
	-webkit-font-smoothing: antialiased; /* -- Helps to render fonts correctly on all browsers and computers, stops differences you often see between Macs and PC's -- */
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	position: relative;
	min-height: 100%;
}

body {
    font-size: 14px;
    background: #fff;
    line-height: 1.4;
    color: #555;
    font-weight: 300;
    font-family: "aktiv-grotesk",sans-serif;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

strong {
	font-weight: 500;
}

a, a:visited {
    text-decoration: none;
}

a:hover {
}

p {
	
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	color: #555;
}

/* HEADER */

header {
	padding-top: 20px;
	padding-bottom: 40px;
}

body.home header {
	padding-bottom: 20px;
}

header .mobile-logo {
	width: 150px;
	height: 47px;
	margin: 0 auto;
}

header .mobile-logo img {
	width: 100%;
}

header .navbar {
	border-radius: 0;
	margin: 0;
	border: 0;
}

header .navbar-header {
	position: absolute;
	top: 0;
	right: 0
}

header .navbar-toggle {
	z-index: 40;
	background: transparent url(media/images/menu-toggle.png) no-repeat;
	margin: 0;
	border: 0;
	width: 35px;
	height: 35px;
	border-radius: 0;
	float: none;
}

header .navbar-collapse {
	border: 0;
	padding: 0;
	box-shadow: none;
}

header ul.navbar-nav {
	width: 100%;
	border: 0;
	position: relative;
	z-index: 30;
	margin: 0;
	margin-top: 20px;
}
			
header ul.navbar-nav li {
	
}

header ul.navbar-nav li#menu-logo {
	display: none;
}

header ul.navbar-nav li a {
	color: #555;
	text-transform: uppercase;
	font-size: 18px;
	padding: 10px 0;
	outline: none;
}

header ul.navbar-nav li a:hover {
	background: #fff;
}

header ul.navbar-nav li.current-menu-item a {
	background: #fff;
	color: #555;
}

header ul.navbar-nav li a:active {
	background: #fff;
	color: #555;
}

header ul.navbar-nav li a:focus {
	background: #fff;
	color: #555;
}

/* FOOTER */

footer {
	padding: 15px 0;
	font-size: 14px;
}

footer ul.footer-menu {
	list-style: none;
	padding-left: 0;
}

footer ul.footer-menu li {
	display: inline-block;
}

footer ul.footer-menu li a {
	color: #555;
}

footer ul.footer-menu li a:after {
	content: "|";
	display: inline-block;
	padding: 0 7px;
}

footer ul.footer-menu li:last-child a:after {
	content: "";
}

/* HOMEPAGE */

.slideshow-container {
	
}

.slideshow-container .cycle-slideshow {
	height: 100%;
}

.slideshow-container .cycle-slideshow .slide-image {
	height: 100%;
	background-size: cover;
	background-position: center center;
	width: 100%;
}

/* PORTFOLIO */

#isotope-container {
	margin-top: 25px;
	margin-bottom: 25px;
}

#isotope-container article {
	position: relative;
	width: 100%;
	margin-bottom: 25px;
}
	
#isotope-container article .post-link {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	height: 100%;
	z-index: 10;
}

#isotope-container article .portfolio-image {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top -30px center;
	height: 200px;
}

.filter-options {
	list-style: none;
	padding-left: 0;
	margin-top: 25px;
	margin-bottom: 10px;
}

.cat-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	background: rgba(0,0,0,0.2);
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	font-size: 25px;
}

.filter-options li {
	display: inline-block;
}

.filter-options li a {
	padding: 5px 20px;
	display: block;
	border: 1px solid #ccc;
	margin-right: 10px;
	font-size: 16px;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	background: #333;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.filter-options li a.inactive {
	background: #fff;
	color: #555;
}

/* VIDEOS */

article.video {
	margin-bottom: 30px;
}

article.video h2 {
	font-size: 20px;
	font-weight: 400;
	
}

article.video .video-thumbnail {
	height: 200px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	position: relative;
}

article.video .video-thumbnail a.play {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url(media/images/play-btn.png) center center no-repeat;
	cursor: pointer;
}

article.video p {
	margin-bottom: 0;
	margin-top: 10px;
}

/* CV */

.cv {
	margin-top: 40px;
}

.cv h3 {
	margin: 0;
	margin-bottom: 15px;
	font-size: 20px;
}

a.download {
	outline: none;
	border: 1px solid #ccc;
	background: white;
	height: 40px;
	padding: 10px 30px;
	margin-bottom: 15px;
	text-transform: uppercase;
	display: block;
	text-align: center;
}

.cv p {
	margin-bottom: 30px;
}

.side-image {
	width: 100%;
}

/* CONTACT */

.contact-form {
	margin-top: 25px;
}

.contact-form input {
	width: 100%;
	height: 40px;
	padding: 5px 10px;
	border: 1px solid #ccc;
	margin-bottom: 15px;
	outline: none;
}

.contact-form textarea {
	width: 100%;
	padding: 5px 10px;
	border: 1px solid #ccc;
	margin-bottom: 15px;
	outline: none;
}

.contact-form button {
	outline: none;
	border: 1px solid #ccc;
	background: white;
	height: 40px;
	padding: 5px 30px;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.contact-form div.wpcf7-validation-errors {
	border: 0;
	margin: 0;
	padding: 0;
	padding-left: 15px;
}

.contact-form input.wpcf7-not-valid {
	border: 1px solid red;
}

.contact-form span.wpcf7-not-valid-tip {
	display: none !important;
}

@media (min-width: 768px) {
	
	body {
		margin-bottom: 50px;
	}

	header {
		position: relative;
		z-index: 20;
	}
	
	#isotope-container article .portfolio-image {
		height: 250px;
	}
	
	.copy {
		text-align: right;
	}
	
	header .navbar {
		
	}
	
	header .navbar-collapse {
		
	}
	
	header ul.navbar-nav {
		text-align: center;
		margin-top: 0;
	}
		
	header ul.navbar-nav li {
		float: none;
		display: inline-block;
		vertical-align: top;
	}
	
	header ul.navbar-nav li#menu-logo {
		display: inline-block;
	}
	
	header ul.navbar-nav li#menu-logo a {
		display: block;
		position: relative;
		z-index: 10;
		width: 200px;
		padding: 0;
		height: 62px;
		background: url(media/images/logo.png) no-repeat;
	}
	
	header ul.navbar-nav li a {
		padding-top: 44px;
		padding-bottom: 0;
		margin-left: 20px;
		margin-right: 20px;
		font-size: 14px;
	}
	
	

	header ul.navbar-nav li.current-menu-item a:after {
		position: absolute;
		bottom: -8px;
		left: 0;
		width: 100%;
		height: 3px;
		background: #ddd;
		content: "";
	}
				
	header ul.navbar-nav li.current-menu-item a {
		
	}
	
	/* FOOTER */
	
	footer {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 50px;
	}
	
	/* PORTFOLIO */
	
	#isotope-container article {
		width: 31.33%;
		margin-left: 1%;
		margin-right: 1%;
	}
	
	#isotope-container article.category .portfolio-image {
		height: 200px;
	}
	
	

}

@media (min-width: 992px) {
	
	header ul.navbar-nav li a {
		margin-left: 45px;
		margin-right: 45px;
		font-size: 16px;
	}
	
	/* VIDEOS */
	
	article.video .video-thumbnail {
		height: 250px;
	}
	
}

@media (min-width: 1200px) {
					
	header ul.navbar-nav li a {
		margin-left: 60px;
		margin-right: 60px;
	}

}
