/*
 Theme Name:   Matlock Child
 Theme URI:    matlockstone.com
 Description:  Matlock Child Theme
 Author:       Matlock Stone
 Author URI:   -
 Template:     Matlock
 Version:      1.0.0

*/

body, p, span, blockquote, h1, h2, h3, h4, h5, h6 { font-family: 'Roboto Condensed', sans-serif; color:#564702; }
p { font-weight: 300; }
strong, b { font-weight: 400; }
body { color: #564702; }

/* HELPER CLASSES */
.mts {margin-top: 16px !important;}
.mbs { margin-bottom: 16px !important; }
.mbn { margin-bottom:0 !important; }

/* Set Site Colours */
.page, .archive, .single-bf_work {background-color: #F2DE7D;}
.page-title, .archive-title { color: #564702; text-transform: uppercase;}
a { color: #fff; }

/* WORK */
.portfolio-content h1 { line-height:1 !important;  color: #564702; text-transform: uppercase; margin-top:40px;}
.portfolio-nav { background: #312100; }
.portfolio-nav h5, .portfolio-nav .work_type_tag a { color: #fff; }
.portfolio-nav .portfolio-nav-bock:hover h5, .portfolio-nav .portfolio-nav-bock:hover .work_type_tag a{color: #ffd60c;}
.portfolio-nav .arrow-left, .portfolio-nav .arrow-right {     filter: invert(100%);
    -webkit-filter: invert(100%); }


.row {
	max-width: 1200px;
}

.bc-nav {
	background-color: #2f2105 !important;
}

.logo h1 {
	color: #ffd600;
}

.menu li a, .portfolio-synopsis li, .text-footer {
	font-family: 'Roboto Condensed', sans-serif;
}

.text-footer {
	font-weight: 300;
	font-size: 0.8rem;
}

/* -------- HOME ------------- */
.page.home { padding:0; }
.home .page-title-wrapper { padding-bottom:0; }
.home .row.page-wrapper {
	padding:0;
	max-width:none;
}

.heroBg {
	background-image: url('img/heroBg-crop.jpg');
	background-size: cover;
	background-position: 50% 40%;
	position: relative;
	height: 750px;
	animation: HeroFloat 6s linear infinite;
}

@keyframes HeroFloat {
  0% {
	background-position: 50% 40%;
  }
  50% {
	background-position: 50% 55%;
  }
  100% {
	background-position: 50% 40%;
  }
}

.hero-inner-wrapper {
    position: absolute;
    margin: auto;
    width: 50%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-content-wrapper {
    position: absolute;
    bottom: 0;
    text-align: center;
}

.hero-inner-wrapper .scroll-down {
	top: 30px;
	left: 0;
}

.hero-inner-wrapper .scroll-down .fa-arrow-circle-down {
	color: #fff;
}


.hero-innerSection {
	position: absolute;
	width: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -45%);
	text-align: center;
}

.hero-inner-wrapper p {
	color: #fff;
	font-size: 1.2em;
	font-weight: 100;
}

.heroLogo {
	width: 35%;
	position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.portfolio-filters { background:#312100; width:100%; margin:0; padding:0 10px; text-align: center;}
.home .page-title {line-height:1 !important;}
.portfolio-filters li.active{ background-color: transparent;  }
.portfolio-filters li { border:0; margin:0 !important; padding:10px !important; font-size:16px; font-family: 'Roboto Condensed'; display: inline-block; float: none;}
.portfolio-filters .btn { box-shadow:none; color:#ffd600; }
.portfolio-filters .btn:hover { border:0; color:#fff; }
.portfolio-filters .btn:hover:after { width:0; }
.grid figcaption span { font-family: 'Roboto Condensed', sans-serif; color:#fff; }
.grid figure:hover img{
	filter: initial;
	-webkit-filter:initial;
}
@media screen and (max-width:804px) {
	.logo-home { padding-top: 10px; }
}
@media screen and (min-width:805px) {
	.logo-home { padding-top:20px; }
}
.intro.home { font-size:16px; }
.grid figure:hover .shadow {
	opacity:0;
	filter:alpha(opacity=0);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
#og-grid .full-row {
	margin:0;
}
.no-touch .cs-style-4 figure:hover img, .cs-style-4 figure.cs-hover img {
	opacity:1;
	-webkit-transform: initial; 
    -moz-transform: initial;
    -ms-transform: initial;
    transform: 0;
}
#og-grid {
	padding:0;
	margin-bottom:0;
	font-size: 0;
}
#og-grid h2 {
	text-transform: uppercase;
	font-family: 'Roboto Condensed';
	font-size:1.25rem;
	line-height:1;
}
.no-touch .cs-style-4 figure:hover figcaption, .cs-style-4 figure.cs-hover figcaption { width:100%; }
.shadow, .grid figure img {
	transition: all ease .3s;
}
.cs-style-4 figcaption { background: rgba(86, 71, 2, 0.75); padding:10px;  }
.grid figcaption a { background: transparent; color: #fff; padding: 5px 10px; margin-top:0 !important; font-weight:bold; border:2px solid #fff;}

/* -------- ABOUT ------------- */
.about-bg {
	background: url('img/about-bg.jpg') top left no-repeat;
	background-size: contain;
}

.about-bg .page {
	background-color: transparent;
	padding: 100px 0 80px;
}

.about-bg h1 {
	text-transform: uppercase;
}

.about-bg article.page {
	padding: 60px 0 100px;
}

.mini-logo-wrapper {
	text-align: center;
}

.mini-logo {
	float: left;
	width: 90px;
	height: 90px;
	margin-right: 1.5em;
}

.clearboth {
	clear: both;
}

.mini-logo2 {
	width: 168px;
} 

.header-logo {
	width: 368px;
}


.contact-wrapper {
	background-color: #2f2105;
	color: #fff;
	text-align: center;
	padding: 3em 0;
}

.contact-wrapper h2 {
	color: #fff;
	font-size: 1.5em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 2em;
}

.contact-info h4, .contact-info p {
	color: #fff;
}

.contact-info h4 {
	font-weight: 400;
	text-transform: uppercase;
}

.contact-info h6 {
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
}

.contact-info a:hover {
    color: #ffd600;
}


.about-banner {
	width: 100%;
}

/* -------- MEDIA ARCHIVE ------------- */
.archive-title {
	font-size: 100px;
    line-height: normal!important;
    position: relative;
    z-index: 1;
    margin: 40px 0px 60px;
}

.archive-media-single {
	margin-bottom: 2em;
}

.media-trivial {
	text-align: right;
}

.media-trivial h4, .media-trivial h5 {
	text-transform: uppercase;
}

.media-trivial .trivial-header {
	border-right: 2px solid #564702;
	padding: 0 1em 1.5em 0;
	margin-bottom: 1.5em;
}

.trivial-header h3 {
	font-size: 24px;
}

.media-trivial .trivial-body {
	list-style: none;
	border-right: 2px solid #564702;
	padding: 0 1em 0.2em 0;
	margin: 1.5em 0;
}

.trivial-body-content {
	margin-bottom: 1.25rem;
}

.trivial-body-content h5, .trivial-body-content p {
	margin: 0;
}

.trivial-body-content p {
	font-size: 0.9rem;
}

.trivial-logo img {
	width: 80%;
}

.media-content, .media-content ul, li.media-content-single {
	height: 100%;
}

.media-content-single {
	position: relative;
}

[class*="block-grid-"]>li {
	padding-bottom: 0;
	margin-bottom: 1.875rem;
}

.media-contentInfo {
	padding: 0 0 0.5rem 1.2rem;
}

.media-content-single a .media-contentInfo {
	position: absolute;
	bottom: 0;
}

.media-contentInfo h5, .media-contentInfo p {
	color: #FFD600;
	margin: 0;
}

/* When lightbox opens */
.clearing-blackout .media-contentInfo {
	display: none;
}

/* -------- PORTFOLIO ------------- */
.single-bf_work .stretch .wpb_wrapper.vc_figure, .single-bf_work .stretch .wpb_single_image .vc_single_image-wrapper, .single-bf_work .stretch .wpb_single_image img{
	max-width:none;
	width:100%;
}
.nav-next h5, .nav-prev h5 { font-size:1.5rem; font-weight:bold; line-height:1;}

#single-portfolio {
	margin-top: 2em;
	margin-bottom: 2em;
}

.portfolio-trivial {
	text-align: right;
}

#trivial-role {
    margin-bottom: 3em;
    padding-bottom: 0;
    padding-right: 0.5em;
    border-right-width: 0.5em;
}

.portfolio-trivial, .portfolio-synopsis-wrapper {
	padding-top: 35%;
}

.portfolio-trivial h4, .portfolio-trivial h5 {
	text-transform: uppercase;
}

.portfolio-trivial .trivial-header, .portfolio-trivial .trivial-body {
	border-right: 2px solid #564702;
	padding-right: 1em;
}

.portfolio-trivial .trivial-header {
	min-height: 80px
}

.portfolio-trivial .trivial-logo {
	margin: 2em 0;
}

.portfolio-trivial .trivial-body {
	list-style: none;
	margin: 1.5em 0;
	padding-bottom: 10px;
	/* min-height: 398px; */
}

.portfolio-synopsis {
	border-left: 2px solid #564702;
	padding: 0 1.5em;
	max-height: 575px;
	overflow-y: auto;
	margin-bottom: 3rem;
}

.portfolio-synopsis h2 {
	text-transform: uppercase;
}

.portfolio-synopsis p, .portfolio-synopsis li {
	font-size: 0.9rem;
	font-weight: 300;
}

.portfolio-status .innerStatus > * {
	font-size: 0.9rem;
	font-weight: 300;
}

.owl-carousel .owl-stage {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.scroll-down {
	top: 100px;
	left: 43%;
    /* transform: translate(-50%, -50%); */
	padding: 28px;
    line-height: 100%;
    border-radius: 50%;
    border: none;
    cursor: auto;
    background: transparent;
    color: #fff;
    font-size: 36px;
    transition: color 0.2s ease-in-out;
    animation-duration: 3.8s;
    animation-iteration-count: infinite !important;
}

.scroll-down:hover, .scroll-down:focus {
	background: transparent;
	outline: none;
}

.fa-arrow-circle-down {
	color: #564702;
}

.mini-logo-2 {
	width: 50px;
	height: 50px;
	position: absolute;
	bottom: 43px;
}

.portfolio-status {
	margin: 2em 0;
}

.portfolio-status h5 {
	font-size: 20px;
}

.work_type_tag {
    color: #fff;
}

/* ---- Modal ------- */
#mediaModal {
	background-color: #333;
	height: auto;
	text-align: center;
}

#mediaModal img {
    width: 95%;
}

/* ---- FOOTER ------- */
#footer { background-color: #F2DE7D; }

/* BIG SCREEN SETTINGS */
@media screen and (min-width:1024px){
	#og-grid h2 {
		font-size:2.7rem;
		line-height:1;
	}
	.shadow {
	background-color: #b39e3a;
    background-blend-mode: multiply;
    opacity: .5;
    filter: alpha(opacity=50);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    z-index: 100;
	}
	.grid figure img { 
	width:100%; 
	max-width:none;
	-webkit-filter:grayscale(100%);
    filter: gray; /* IE6-9 */
	}
	.no-touch .cs-style-4 figure:hover figcaption, .cs-style-4 figure.cs-hover figcaption { width:40%; padding:3rem; }
	.nav-next h5, .nav-prev h5 { font-size:2.5rem;}
	.grid figcaption a { margin-top:25px !important; }
} /* end big screen settings */

/* Mobile  */
@media only screen and (max-width: 599px) {
	/* Home page */
	.heroBg {
		background-size: 280%;
		background-position: 52% 40%;
		height: 600px;
		/* animation: HeroFloat 6s linear infinite; */
	}

	@keyframes HeroFloat {
	  0% {
		background-position: 50% 40%;
	  }
	  50% {
		background-position: 50% 20%;
	  }
	  100% {
		background-position: 50% 40%;
	  }
	}
	
	.hero-inner-wrapper {
		width: 80%;
	}

	.heroLogo {
		width: 55%;
	}
	
	.hero-inner-wrapper p {
		font-size: 1em;
	}

	/* Single Portfolio page */
	.scroll-down {
		display: none;
	}

	/* About page */
	.about-bg .page {
		padding: 160px 0 80px;
	}

	.about-bg h1 {
		font-size: 1.3em;
	}

	.about-bg article.page {
		padding: 30px 0;
	}

	.about-bg article p {
		font-size: 0.9em;
	}

	.mini-logo2 {
		width: 30px;
		height: 30px;
	}

	.contact-wrapper {
		padding: 2em 0 0 0;
	}

	.contact-wrapper h2 {
		font-size: 1.1em;
	}

	.contact-info h4, .contact-info p {
		font-size: 0.9em;
	} 

	.contact-info h6, .contact-info p {
		font-size: 0.1em;
		color: #fff; 
		padding: 2em 0 0 0;


	}

	.contact-info p {
		margin-bottom: 2em;
	}

	/* Press page */
	.archive > .archive {
		padding: 0;
	}

	.mini-logo {
		width: 60px;
		height: 60px;
	}

	.archive-title {
		font-size: 3em;
	}

	.media-trivial .trivial-header {
		margin-bottom: 0;
		border: none;
	}

	.media-trivial .trivial-logo {
		display: none;
	}
	
	#mediaModal img {
	    width: 100%;
	    margin-top: 2.5em;
	}
}
/* end of Mobile */

/* privacy */
#cookiePopup {
	position: relative;
	display: none;
	width: 100%;
	height: auto;
	background-color: #f6f6f6;
	z-index: 103;
	color: #564702;
	font-family: 'Roboto Condensed', sans-serif;
	padding: 0 60px;
	position: relative;
}
#cookiePopup.active {
	display: block;
}
#cookiePopup .wrapper{
	width: 100%;
	display: flex;
	padding: 20px;
	margin: 0 auto;
	position: relative;
}
#cookiePopup p.desc {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.58;
	margin:15px auto 15px 0;
	background: none;
	padding-right: 200px;
}
#cookiePopup button{
	outline:none;
	background-color: #ffd600;
	color: #564702;
	border: none;

	min-width: 100px;
	margin-left: 40px;
	border-radius: .5px;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 12px;
	font-weight: 700;
	font-style: normal;
	font-stretch: normal;
	line-height: 1.17;
	letter-spacing: normal;
	text-align: center;

	position: absolute;
	right: 0;
	margin-right: 40px;
}
@media screen and (max-width:804px) {
	#cookiePopup .wrapper{
		flex-direction: column;
	}
	#cookiePopup p.desc {
		width: 100%;
		padding: 0;
		text-align: center;
	} 
	#cookiePopup button {
		width: 100%;
		position: unset;
		clear: left;
		margin: 0 auto;
	}
}