/*
Theme Name: TFFF
Theme URI: http://italicsbold.com.au/
Author: Italics Bold
Author URI: http://italicsbold.com.au/
Version: 1.0.0
Text Domain: TFFF
*/





/*--------------------------------------------------------------
Normalize v3.0.3
--------------------------------------------------------------*/
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}





/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/
html {
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
}

*, *:before, *:after {
	-webkit-box-sizing: inherit; 
	-moz-box-sizing: inherit; 
	box-sizing: inherit;
}

body {
	background: #fff;
	color: #555;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

/*hr {
	background: #ddd;
	border: 0;
	height: 1px;
	margin: 0 0 20px;
}*/

hr {
    border : 0;
    height : 1px;
    background : url('images/hr.png') 50% 0 repeat-x;
    margin : 0 0 20px;
}

ul,
ol {
	margin: 0 0 20px 20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0 0 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 20px 20px;
}

img {
	height: auto;
	max-width: 100%;
}

table {
	margin: 0 0 20px;
	width: 100%;
}

p {
	margin: 0 0 20px;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
	max-width: 100%;
	overflow: auto;
	padding: 20px;
}

embed,
iframe,
object {
	max-width: 100%;
}





/*--------------------------------------------------------------
Clear
--------------------------------------------------------------*/
.clear:before,
.clear:after {
	content: "";
	display: table;
}

.clear:after {
	clear: both;
}

.clear {
    *zoom: 1;
}





/*--------------------------------------------------------------
Titles
--------------------------------------------------------------*/
h1, h2, h3, h4 {
	font-family: 'Roboto Slab', serif;
	font-weight: 700;
	margin: 0 0 20px;
	color: #a12d2d;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
	color: #999;
}

h3 {
	font-size: 18px;
}

h4 {
	font-size: 16px;
}





/*--------------------------------------------------------------
Links
--------------------------------------------------------------*/
a {
	color: #000;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #333;
}





/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	outline: none;
	display: inline-block;
	padding: 10px 20px;
	background: #eee;
	border: 1px solid #eee;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #ddd;
	border: 1px solid #ddd;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	outline: none;
	display: inline-block;
	width: 100%;
	background: #fff;
	padding: 10px;
	border: 1px solid #eee;
}

input[type="search"] {
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	box-sizing: border-box;	
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	border: 1px solid #ddd;
}





/*--------------------------------------------------------------
Transition
--------------------------------------------------------------*/
.transition, a, input, button, textarea {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}





/*--------------------------------------------------------------
Wordpress
--------------------------------------------------------------*/
/* Menus */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 20px;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* Alignments */
.alignleft {
	display: inline;
	float: left;
	margin-right: 20px;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Widgets */
.widget {
	margin: 0 0 20px;
}

.widget select {
	max-width: 100%;
}

/* Comments */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Captions */
.wp-caption {
	margin-bottom: 20px;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 10px 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries */
.gallery {
	margin-bottom: 20px;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33.33%; }
.gallery-columns-4 .gallery-item { max-width: 25%; }
.gallery-columns-5 .gallery-item { max-width: 20%; }
.gallery-columns-6 .gallery-item { max-width: 16.66%; }
.gallery-columns-7 .gallery-item { max-width: 14.28%; }
.gallery-columns-8 .gallery-item { max-width: 12.5%; }
.gallery-columns-9 .gallery-item { max-width: 11.11%; }

.gallery-caption {
	display: block;
}





/*--------------------------------------------------------------
General
--------------------------------------------------------------*/
.container {
	max-width: 1040px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.intro-text {
  color: #a12d2d;
  font-size: 18px;
  padding: 10px 0;
}

.page-template-page-projects .site-main { padding-top:0}





/*--------------------------------------------------------------
Header
--------------------------------------------------------------*/
.site-header {
	background: #a12d2d;
	padding: 15px 0;
	text-align:left;
}

.site-header .container{
	text-align: center;
}

.site-logo {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
}

.site-logo a,
.site-logo img {
	display: block;
}

.header-text {
	font-family: 'Roboto Slab', serif;
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	font-size: 36px;
	padding: 5px 0 5px 20px;
	margin-left: 20px;
	border-left: 1px solid rgba(0,0,0,0.3);
	font-weight: 300;
}

.header-text strong{
	font-weight: 400;
}


@media screen and (max-width: 711px) {
	.site-header {
		text-align: center;
	}
	.site-logo{
		display: block;
	}
	.site-logo img{
		margin:0 auto 15px auto;
	}
	.header-text {
		border-left: 0px solid rgba(0,0,0,0.3);
		padding: 5px 0;
		font-size: 25px;
	}
}


/*--------------------------------------------------------------
Banner
--------------------------------------------------------------*/
.site-banner {
	position: relative;
	height: auto;
	background-position: top center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.site-banner img{
	width:100%;
	display:block;
}

.home .site-banner {
	/*height: 600px;*/
}

.banner-overlay {
	width: 100%;
	padding:0;
	background: -moz-linear-gradient(top,  rgba(255,255,255,0.7) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.7)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.home-banner-overlay{
	background: rgba(170,170,170,.25)!important;
}

.banner-overlay .container{
	padding:20px;
	position: relative;
}

.home-banner-overlay .container .home-banner-button{
	position: absolute;
	top:50%;
	margin-top: -19px;
	right:0;
	background: #a12d2d;
	color: #ffffff;
	border-radius: 25px;
	padding:0 25px;
	height: 38px;
	line-height: 38px;
	font-weight: 300;
}

.home-banner-overlay .container .home-banner-button:hover{
	background:#7E2727;
}

.banner-title {
  color: #000;
  font-family: "Roboto Slab",serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
}

.banner-subtitle {
	
}

.banner-overlay hr {
	background: #i;
	margin: 0;
}

@media screen and (max-width: 890px) {
	.home-banner-overlay .container .home-banner-button{
		position: relative;
		display: inline-block;
		margin-top:15px;
	}
}

@media screen and (max-width: 711px) {
	.site-banner{
		/*height: 350px;*/
	}
	.home .site-banner {
		/*height:400px;*/
	}
}


/*--------------------------------------------------------------
Navigation
--------------------------------------------------------------*/
.main-navigation {
	display: block;
	background: rgba(0,0,0,0.8);
	clear:both;
	position: relative;
	z-index: 99;
}

.main-navigation .navigation-toggle {
	display: none;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-align: left;
	display:none;
}

.main-navigation li {
	display: inline-block;
	position: relative;
	width:100%;
}

.main-navigation li a {
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	padding: 10px 20px;
	color: #fff;
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
	background: #7E2727;
}

.main-navigation li.current-menu-item a {
	position: relative;
}

.main-navigation li.current-menu-item a:before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -6px;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #a12d2d;
	display: none;
}

.main-navigation ul ul {
	position: absolute;
	top: 20px;
	left: -999px;
	z-index: 1;
}

.main-navigation ul li:hover ul {
	left: 0;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle{
	margin:0 auto;
	background: #000;
	color:#fff;
	border:0;
}

.menu-toggle:hover{
	border:0;
	background:#333;
}

@media screen and (min-width: 711px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
		text-align: center
	}
	.main-navigation li{
		width: auto;
	}
	.main-navigation li.current-menu-item a:before {
		display: block;
	}
}


/*--------------------------------------------------------------
Main
--------------------------------------------------------------*/
.site-main {
	padding: 20px 0 100px 0;
}

.home .site-main {
	
}


@media (max-width: 1199px){
	.site-main {
		padding: 20px 0 50px 0;
	}
}

/* Content */
.content-area {

}

/* Sidebar */
.widget-area {

}

/* Overview */
.key-figures {
	margin-bottom: 30px;
}

.key-figures > div {
	float: left;
	width: 32%;
	margin-left: 2%;
	border: 1px solid #eee;
	background-repeat: no-repeat;
	margin-bottom: 20px;
	height: 220px;
	padding: 0 30px;
}

.key-figures > div:nth-child(3n+1){
	margin-left: 0;
}

.key-figures > div.key-figure-one {
	color: #9A2B2B;
	border-bottom: 2px solid #9A2B2B;
	margin-left: 0;
}

.key-figures > div.key-figure-two {
	color: #D26A39;
	border-bottom: 2px solid #D26A39;
}

.key-figures > div.key-figure-three {
	color: #659750;
	border-bottom: 2px solid #659750;
}

.key-figures > div.key-figure-three img {
	max-width: 80px;
}

.key-figures > div.key-figure-four {
	color: #B28500;
	border-bottom: 2px solid #B28500;
	margin-left: 0;
}

.key-figures > div.key-figure-five {
	color: #77401B;
	border-bottom: 2px solid #77401B;
}

.key-figures > div.key-figure-six {
	color: #8E3E80;
	border-bottom: 2px solid #8E3E80;
}

.key-figure-inner {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.key-figure-title {
	font-family: 'Roboto Slab', serif;
	font-size: 60px;
	font-weight: 700;
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	line-height: 1;
}

.key-figures img {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
}

.key-figure-subtitle {
	font-size: 18px;
	font-weight: 700;
	margin-top: 10px;
}


@media screen and (max-width: 930px) {
	.key-figure-subtitle {
		font-size: 16px;
	}
	.key-figure-title {
		font-size: 42px;
	}
	.key-figures img {
		max-width:70px;
	}
}

@media screen and (max-width: 700px) {
	.key-figures > div{
		width:48%;
		margin-left:2%!important;
	}
	.key-figures > div:nth-child(2n+1){
		margin-left: 0!important;
	}
	.key-figures img {
		max-width:70px;
	}
	.key-figure-subtitle {
		font-size: 16px;
	}
	.key-figure-title {
		font-size: 50px;
	}
}

@media screen and (max-width: 540px) {
	.key-figures > div{
		width:100%;
		margin:0 0 20px 0;
	}
	.key-figures img {
		max-width:100%;
	}
}


/*--------------------------------------------------------------
Financials
--------------------------------------------------------------*/
table{}

table th,
table td{
	padding: 10px 15px!important;
}

table thead th{
	border-bottom: 2px solid #a12d2d!important;
	text-align: left;
	background-color: #fff!important;
}

tbody tr:nth-child(even) {
   background-color: #f3f3f3!important;
}

.tablepress tbody td, .tablepress tfoot th{
	border:0!important;
}

/*--------------------------------------------------------------
Projects
--------------------------------------------------------------*/
.content-area .main-content .feature-image-holder{
	max-width: 350px;
	float:right;
	margin:0 0 20px 20px;
	padding:5px 5px 5px 5px;
	border: 1px solid #eee;
	font-size:12px;
}

.content-area .main-content .feature-image-holder img{
	width:100%;
}

.content-area .main-content h2{
	margin-bottom: 0;
}

.content-area .main-content h1{
	margin-top: 0;
}

#project-map.acf-map{
    width: 100%;
    height: 550px;
    border: 8px solid #fff;
    opacity: 0;
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

#project-map .gmap-thumb{
	float: right;
	width:40%;
	margin-right: 3%;
}

#project-map .gmap-thumb img{
	display: block;
	height: auto;
	max-width: 100%;
	margin: 20px auto;
}

#project-map .gmap-content{
	float:left;
	width:57%;
}

#project-map .gmap-content h4,
#project-map .gmap-content-full h4,
#project-map .gmap-content h5,
#project-map .gmap-content-full h5{
	margin: 0;
}

#project-map .gmap-content-full{
	width:100%;
	float:left;
}

.project-list .project-item{
	margin-bottom: 35px;
	position: relative;
}

.project-list .project-item .project-titles{
	font-family:  Arial, Helvetica, sans-serif;
	margin-bottom: 5px;
	color:#000;
	display:inline-block;
	clear:both;
	width: 70%;
	font-size:16px;
	font-weight:600;
}

.project-list .project-item .project-titles a{
	color:#a12d2d;
}

.project-list .project-item  span{
	float:left;
}

.project-list .project-item .project-content a,
#project-map .gmap-content a,
#project-map .gmap-content-full a{
	color: #a12d2d;
}

.project-list .project-item .project-amount{
	float:right;
	position: absolute;
	top:0;
	right:0;
	font-size: 16px;
}


@media screen and (max-width: 750px) {
	.content-area .main-content .feature-image-holder{
		max-width: 100%;
		float:none;
		margin-left:0;
		text-align: center
	}
}

@media screen and (max-width: 720px) {
	.project-list .project-item .project-amount{
		position: relative;
		float:none;
		margin-bottom:10px;
	}
	.project-list .project-item .project-titles{
		width:100%;
	}
}

/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
.site-footer {
	position: relative;
	height: auto;
	background: url('images/footer-bg-grad.jpg') repeat-x top left;
	padding:10px 20px 30px 20px;

}

.site-footer:before {
    background: url(images/footer-top-bg.png) no-repeat center bottom;
    content: '';
    height: 142px;
    width: 100%;
    position: absolute;
    left: 0;
    top: -138px;
    z-index: 9;
}

.footer-inner {
	position: relative;
	height: 100%;
}

.site-info {
	color: rgba(255,255,255,0.5);
	font-size: 10px;
}

@media (max-width: 1199px){
	.site-footer:before {
    	background-size: contain;	
	}
}



#tablepress-1 .column-2, #tablepress-1 .column-3 { text-align:right !important}


@media screen and (max-width: 640px) {
.header-text {
	margin:0;
	font-size:20px
	}
	
	.site-banner {
		/*height: 440px;*/
	}
	
	.home .site-banner {
	  /*height: 570px;*/
	}
	
}


/*--------------------------------------------------------------
Case Study Images
--------------------------------------------------------------*/

.case-images {
    max-width: 33%;
    float: right;
    margin: 20px 0 10px 20px;
}

.case-image {
    padding: 10px;
    border: solid 1px #ddd;
    margin-bottom: 10px;
}

.case-image img { margin-bottom:10px; width:100%}



.second-initiative .project-item { margin-bottom:10px}