/*
	Theme Name: Trades
	Description: Custom WordPress theme for Trades Pty Ltd
	Version: 1.0
	Author: Divine Creative Agency
	Author URI: http://divinecreative.com.au/
	Tags: HTML5, CSS3

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* main theme colour green #bed73d */

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
    font-family: 'Duru Sans', sans-serif;
    color: #282829;
    font-size: 0.8vw;
	overflow-x: hidden;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: #525252;
	text-decoration:none;
}
a:hover {
	color:#000;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/* landing page - coming soon etc */
.landing-page .header, .landing-page aside, .landing-page .wrapper .image-buttons, .landing-page .footer {
    display: none;
}
.landing-page main {
    width: 18vw;
    margin: 34vh auto;
}

/* wrapper */
.wrapper {
    width: 100%;
    position: relative;
    margin: 0 auto;
    /*background-image: url(./img/trace-single.png);
    background-repeat: no-repeat;
    background-position: top center;*/
}
/* header */
/* header */
.header {
    width: 79%;
    margin: 0 auto;
}
	/* logo */
	.logo {
		width: 39%;
		float: left;
		padding-top: 0.9%;
		padding-bottom: 2.1%;
	}
	.logo-img {
		width: 78%;
		float: left;
	}
	/* tagline */
	.tagline {
		width: 40%;
		float: left;
		padding-top: 3%;
	}
	/* phone */
	.phone {
    width: 20%;
    float: right;
    padding-top: 3%;
	}
.nav {
    float: right;
    width: 61%;
    padding-top: 1.7%;
    text-align: left;
}
.wrapper.home-buts {
    background-color: #DF2C91;
    padding: 42px 0;
}
.category-buttons {
    margin: 1vw 15% 0;
    overflow: auto;
}
	.category-buttons a {
		width: 48%;
		display: block;
		float: left;
		text-align: center;
		margin: 0.5vw;
	}
	.category-buttons a:hover {
    opacity: 0.9;
}
.container {
    padding: 3% 17.2% 2%;
    overflow: auto;
    margin-top: 1.2%;
}
	.main {
		float: right;
		max-width: 50%;
		padding: 0 3%;
	}
	.main h3 {
    font-size: 0.8vw;
    font-weight: bold;
    margin-bottom: -3%;
	}
	.main p {
    line-height: 1.5em;
}
	/* sidebar */
	.sidebar {
    float: left;
}
.sidebar ul {
    list-style: none;
    text-transform: uppercase;
    padding: 0;
}
.sidebar li {
    border-bottom: 1px solid black;
    margin-bottom: 13%;
}
.sidebar-widget {
    padding-bottom: 7%;
}
.sidebar-widget {
    padding-bottom: 7%;
}

.featured-post a h4 {
    position: absolute;
    color: #fff;
    bottom: 0;
    margin: 0 0 -1.2% 0;
    font-size: 0.6vw;
    text-shadow: 1px 3px 3px rgba(150, 150, 150, 1);
    text-transform: uppercase;
}

.featured-post a {
    position: relative;
    margin-bottom: 13%;
    display: block;
}
	.sidebar.dc-page-template  {
		max-width: 50%;
		float: left;
	}
		.content-button {
			margin-left: -1.5%;
			margin-bottom: 6%;
		}
		.enews-form {
			width: 94%;
			background-color: #8B8B8A;
			padding: 6%;
			-webkit-border-radius: 15px;
			-moz-border-radius: 15px;
			border-radius: 15px;
		}
			.enews-form p.line1 {
				color: #fff;
				text-transform: uppercase;
				font-size: 1vw;
				font-weight: bold;
				line-height: normal;
				margin: 0;
			}
			.enews-form p.line2 {
				color: #000;
				text-transform: uppercase;
				font-size: 1.2vw;
				font-weight: bold;
				line-height: 1.6;
				margin: 0;
			}
			.enews-form span input {
				border: none;
				background-color: rgb(255, 236, 247);
				height: 2.2vw;
				padding: 0 0 0 3%;
				font-size: 1em;
				color: #000;
			}

			.enews-form span.your-name input {
				width: 31%;
				margin-right: 4%;
			}
			.enews-form span.your-email input {
				width: 62%;
			}
			.enews-form input.wpcf7-form-control.wpcf7-submit {
				background-color: transparent;
				border: none;
				font-size: 1.2vw;
				font-weight: bold;
				float: right;
				padding: 3% 0 20%;
			}

	.sidebar {

	}
/* footer */
.footer {
    clear: both;
    background-color: #1b1b1c;
    color: #fff;
    overflow: auto;
    padding: 3.5% 17% 3% 17%;
    font-size: 0.7vw;
}
.footer .logo {
    width: 53%;
    float: left;
    padding-top: 1.8%;
}

.footer p {
    line-height: 1.7;
}
.footer p.copyright {
    line-height: 1.5;
}

.footer p.copyright a {
    color: #DF2C91;
}

.contact-widget {
    float: left;
    width: 29%;
}

.contact-widget a {
    color: #fff;
}

.social {
    float: left;
    width: 18%;
    text-align: center;
}

.social img {
    margin-right: 6%;
}
/*------------------------------------*\
    POSTS - INDEX
\*------------------------------------*/
.main.blog {
    float: left;
    padding: 0;
    max-width: 77%;
    padding-right: 7%;
    margin-top: 1%;
}
.main.blog.index h1 {
    display: none;
}
.main.blog a {
position: relative;
	}

.main.blog a h2 {
    position: absolute;
    color: #fff;
    bottom: 0;
    margin: 0 0 -1.2% 0;
    font-size: 3vw;
text-shadow: 1px 3px 3px rgba(150, 150, 150, 1);
}
.main.blog h3 {
    margin-top: 4%;
    font-size: 0.77vw;
    margin-bottom: 2.5%;
}
/*------------------------------------*\
    POSTS - LOOP
\*------------------------------------*/

article.post {
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    margin-bottom: 5%;
}
.dc-excerpt {
    margin: 4% 0 3%;
    line-height: 2.9vh;
}
/*------------------------------------*\
    POSTS - SINGLE
\*------------------------------------*/
.single-feature {
    position: relative;
}
.single .main.blog h1 {
    position: absolute;
    color: #fff;
    bottom: 0;
    margin: 0 0 -1.2% 0;
    font-size: 3vw;
text-shadow: 1px 3px 3px rgba(150, 150, 150, 1);
}

p.wp-caption-text {
    font-size: 0.7vw;
}
.wp-caption img {
    margin-top: 4%;
}

main.main.blog.single article {
    border: none;
}
.gallery img {
    height: auto;
    border: none !important;
    padding: 3% 5% 3% 0;
}
/*------------------------------------*\
    PAGES - HOME
\*------------------------------------*/

.page-template-page-home .container {
    background-color: #6B6B6B;
}
.page-template-page-home h1, 
.page-template-page-home h2, 
.page-template-page-home p,
.page-template-page-home li {
color: #fff;
}
div.wpcf7-validation-errors {
    border: 2px solid #FFFFFF;
}
/*------------------------------------*\
    PAGES - ABOUT
\*------------------------------------*/

/*------------------------------------*\
    PAGES - SERVICES
\*------------------------------------*/

/*------------------------------------*\
    PAGES - CONTACT
\*------------------------------------*/

/*------------------------------------*\
    PAGES - DEFAULT
\*------------------------------------*/

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/
.current_page_item a {
    color: #000
}
.tagline {
    color: #bed73d;
    font-size: 1.05vw;
    line-height: normal;
}
.phone {
    text-align: right;
	line-height: normal;
}
	.dc-contactus {
		font-size: 1vw;
	}
	.dc-number {
		font-size: 1.3vw;
		font-weight: bold;
	}
.nav {
    text-transform: uppercase;
    font-size: 1.1vw;
}
	.nav ul {
		margin: 0;
		padding: 0;
	}
	.nav ul li:first-child {
		padding-left: 0;
	}
.nav ul li {
    list-style: none;
    display: inline;
    padding-left: 3vw;	
	position: relative;
}
nav.nav a {
    color: #a8aaad;
}

	.nav ul li a:hover {
		color: #026839;
	}
	.nav ul.sub-menu {    
	display: none;
	}
	.header li:hover ul {
	display: block;
	position: absolute;
	text-align: left;
	background-color: #fff;
	/* margin-left: -12px; */
	padding: 10px;
	width: 250px;
	z-index: 99;
	left: 2vw;
	}
	.header li ul li:first-child {
		padding: 8px;    
		border-left: 0;
		}
		.header li ul li:last-child {
		padding: 8px;    
		border-right: 0;
		}
		.header li ul li {
		padding: 8px;
		border-right: 0;
		display: block;
		}
		.header li li.current-menu-item a {
    color: #E65FAB;
}
h1 {
    font-size: 1.6vw;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 0;
	margin-bottom: 2.5%;
}
h2 {
    letter-spacing: 0.07vw;
    font-size: 0.9vw;
    text-transform: uppercase;
}
blockquote {
    margin: 0;
}
a.theme-button {
    background-color: #bed73d;
    padding: 0.5% 2%;
    font-size: 1.3vw;
    text-transform: uppercase;
    font-weight: bold;
    -webkit-border-bottom-right-radius: 0.7vw;
    -moz-border-radius-bottomright: 0.7vw;
    border-bottom-right-radius: 0.7vw;
    -webkit-box-shadow: 4px 4px 9px 1px rgba(0,0,0,1);
    -moz-box-shadow: 4px 4px 9px 1px rgba(0,0,0,1);
    box-shadow: 4px 4px 9px 1px rgba(0,0,0,1);
	color: #000;
}
h3 {
    font-size: 1vw;
    text-transform: uppercase;
}
.dc-copy {
    padding: 6% 11% 7% 7%;
    font-size: 1vw;
    font-style: italic;
    line-height: 1.5em;
}
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

/*.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}*/

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
.mobile-only {display: none !important;}