/*
Theme Name: Total Drilling Services
Theme URI:
Description:
Author: Josh Miller
Author URL: www.joshmiller.com.au
Version: 1.0
Tags:
*/

body{
	font: 62.5% 'Lucida Sans Unicode', 'Lucida Grande', 'Helvetica', Arial, san-serif;
	color: #3F3F3F;
	text-align: center;
	background: #393939 url(../wsimages/body.jpg) repeat-x top center;
	text-rendering: optimizeLegibility;
	padding-bottom: 80px;
}

#wrapper{
	width: 100%;
	min-width: 960px;
	text-align: left;
}

#content{
	background: #fff;
	width: 960px;
	margin: 0 auto 20px auto;
	position: relative;
}

#content.gallery{
	margin-top: -24px;
}

#header, #content-inner, #portfolio-inner, #contact-inner{
	width: 960px;
	margin: 0 auto;
}



/* @group HEADERS, ANCHORS */

/* GLOBAL HEADERS, ANCHORS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

h1{
	font-family: "Helvetica Neue", Helvetica, "Trebuchet MS", Arial, sans-serif;
}

.copy h1{
	margin-bottom: 1em;
	font-size: 2em;
	color: #545850;
	text-transform: uppercase;
}

.copy h1 a:link, .copy h1 a:visited, .copy h1 a:active{
	color: #333;
	text-decoration: none;
	border: none;
}

.copy h1 a:hover{
}

h2, h3, h4, h5{
	font-family: "Lucida Sans", "Lucida Grande", "Trebuchet MS", Arial, sans-serif;
}

h2 strong, h3 strong{
	font-weight: bold;
}

h2 strong canvas, h3 strong canvas{
	margin-top: .8%;
}

.copy h2{
	margin-bottom: 1em;
	color: #333;
	background: none;
}

.sidebar h2{
	color: #fff;
	font-weight: 100;
}

.page.copy h2.welcome{
	padding: 24px 20px 28px;
	width: 600px;
	color: #fff;
	background: #000;
	border-top: #4d4d4d 1px solid;
	border-bottom: #4d4d4d 1px solid;
}

.page.copy h2.welcome strong{
	font-size: 1.08em;
	font-weight: bold;
	text-transform: uppercase;
}

.page.copy h2.heading, .page-wide.copy h2.heading{
	padding: 14px 20px 20px;
	width: 600px;
	color: #fff;
	background: #000;
	border-top: #4d4d4d 1px solid;
	border-bottom: #4d4d4d 1px solid;
	text-transform: uppercase;
	margin-bottom: 0;
	font-weight: 100;
}

.copy h2{
	font-size: 2em;
}

.page.copy h2, .page-wide.copy h2{
	font-size: 2em;
}

.page-inner{
	padding: 20px;
	clear: both;
}

.page-inner.docs{
	clear: both;
}

.page-inner.docs .document{
	padding: 0 0 20px;
	clear: both;
}

.page-inner.docs .document ul, .page.copy ul#staff-docs{
	list-style: none;
	padding: 0;
	margin: 0;
}

.page-inner.docs .document ul li, .page.copy ul#staff-docs li{
	float: left;
	padding-left: 0;
}

.page-inner p{
}

.page-inner img{
	background: #c9c9c9;
	padding: 5px;
	border-radius: 3px;
}

.page-inner.homepage p:first-child{
	font-size: 1.5em;
	float: none;
	width: 100%;
}

.page-inner.homepage p:nth-child(2){
	-webkit-column-count: 2;
	-webkit-column-gap: 40px;
}

.page-narrow{
	padding: 20px;
	width: 280px;
	float: left;
}

.page-two-narrow{
	padding: 0 20px 0 0;
	width: 280px;
	float: left;
}

.copy h2 a:link, .copy h2 a:visited, .copy h2 a:active{
	color: #333;
	text-decoration: none;
	background: none;
	font-weight: normal;
}

.copy h2.heading a:link, .copy h2.heading a:visited, .copy h2.heading a:active{
	color: #FFF;
}


.copy h2 a:hover{
	color: #333;
}

h3, .ddfm legend{
	margin-bottom: 1em;
	font-size: 1.4em;
	color: #333;
	background: none;
}

.ddfmerrors{
	color: #ff0033;
	font-size: 1.8em;
	margin-bottom: .8em;
}

.ddfmwrap .errorlist{
	color: #999;
	font-size: 1.3em;
}

.copy h3{
}

.copy h3 a:link, .copy h3 a:visited, .copy h3 a:active{
	color: #333;
	text-decoration: none;
	background: none;
	font-weight: normal;
}

.copy h3 a:hover{
	color: #999;
}

.copy h3 span.the-time{
	font-size: .8em;
	color: #ccc;
	font-weight: normal;
}

.copy h4{
	font-size: 1.3em;
	color: #ccc;
	font-weight: normal;
}

.copy h4 a:link, .copy h4 a:visited, .copy h4 a:active{
	color: #016A88;
	text-decoration: none;
	background: none;
	font-weight: bold;
}

.copy h4 a:hover{
	color: #333;
}

.copy p, .copy blockquote, .copy pre, .trim, .copy address{
	margin-bottom: 1.3em;
	font-size: 1.3em;
	line-height: 1.6em;
}

.sidebar-page.copy p{
	margin-bottom: .4em;
}

.sidebar-page.copy p a:link, .sidebar-page.copy p a:visited{
	text-decoration: underline;
	background: url("../wsimages/arrow.gif") no-repeat center right;
	padding-right: 16px;
	font-weight: 200;
}

.copy a:link, .copy a:visited, .copy a:active{
	font-weight: bold;
	color: #EE6B00;
	text-decoration: none;
	border: none;
}

.copy a:link, .copy a:visited, .copy a:active{
	font-weight: bold;
	color: #EE6B00;
	text-decoration: none;
	border: none;
}


.copy a:hover{
	color: #333;
}

.copy blockquote{
	font-size: 1.1em;
	padding: 0 15px;
	font-style: italic;
}

.copy img{

}

.copy img.left{
	float: left;
	display: inline;
	margin: 10px;
}

.copy img[align $='left']{
	float: left;
	display: inline;
	margin: 10px;
}

.copy img.right{
	float: right;
	display: inline;
	margin: 10px;
}

.copy img[align $='right']{
	float: right;
	display: inline;
	margin: 10px;
}

/* @end */
/* @group LIST */

.page.copy ul{
	font-size: 1.3em;
	list-style: disc;
	line-height: 1.3em;
	margin: 0 0 15px 26px;
}

.page.copy ul li ul{
	font-size: 1em;
	margin: 10px 0 10px 10px;
	list-style-type: circle;
}

.page.copy ol{
	font-size: 1.3em;
	list-style-type: decimal;
	line-height: 1.3em;
	margin: 0 0 15px 26px;
}

.page.copy ol li ol{
	font-size: 1em;
	margin: 10px 0 10px 10px;
	list-style-type: lower-alpha;
}

.page.copy li{
	margin-bottom: 10px;
	padding-left: 5px;
}

#wp_page_numbers ul{
	font-size: 1em;
}

/* @end */
/* @group HEADER */

/* HEADER
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

#header{
	height: 63px;
	font-size: 1.5em;
	margin: 14px auto 10px auto;
}

#logo{
	float: left;
}

#header #logo a{
	display: block;
	height: 0;
	overflow: hidden;
	padding: 47px 0 0;
	text-decoration: none;
}

#header #logo h1{
	overflow: hidden;
	width: 208px;
	height: 70px;
	background: url("../wsimages/new_logo.png") no-repeat 0 0;
	display: block;
}

#header-address{
	float: right;
	text-align: right;
}

#header-address h3{
	font-weight: 100;
	color: #fff;
	font-size: 1.3em;
	margin-bottom: 0;
}

#header-address h2{
	font-weight: 400;
	color: #fff;
	font-size: 1.6em;
}

#header-contact{
}

#header-contact h3{
	float: right;
	font-weight: 100;
	color: #fff;
	font-size: 1em;
	margin-bottom: 0;
	width: 444px;
	text-align: right;
}

#header-contact h3 strong{
	font-weight: bold;
}

.menu-main-container{
	float: right;
}

/* @end */
/* @group CONTENT BLOCKS */

/* CONTENT-BLOCKS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

#content-inner{
	background: url('../wsimages/sidebar_bg.png') repeat-y top right;
	float: left;
	width: 960px;
	margin: 0 auto;
}

#content-inner.page-wide{
	background: #fff;
}

.page{
	width: 640px;
	float: left;
}

#content-inner .sidebar{
	width: 320px;
	padding: 0;
	background: #EF6B00;
}

#content-inner .sidebar .news-item{
	padding: 10px 20px;
}

#sign-up{
	padding: 0 20px 20px 20px;
	position: relative;
}

#sign-up input.email-input{
	background: url('../wsimages/sign_up.png') no-repeat top center;
	width: 261px;
	height: 14px;
	padding: 10px;
	color: #ccc;
	border: none;
	font-size: 1.3em;
}

#sign-up #go-sign-up{
	background:url('../wsimages/go.png') no-repeat 0 0;
	float: right;
	position: absolute;
	bottom: 23px;
	right: 22px;
	width:37px;
	height:28px;
	display:block;
	border:none;
	text-indent:-9999em;
	cursor:pointer;
}

#sign-up #go-sign-up:hover{
	background-position: 0 -28px;
}

#sign-up #go-sign-up:active{
	background-position: 0 -56px;
}

.page-wide{
	border-right: none;
	width: 100%;
}

#slideshow-container{
	background: url('../wsimages/slider_shadow.png') no-repeat bottom center;
	position: relative;
	width: 960px;
	height: 322px;
	overflow: hidden;
	margin: 0 auto;
}

#slider{
	background: #000;
	height: 280px;
}

.slideshow-items{
}

#slideshow-container .slideshow-item img{
	width: 960px;
	height: inherit;
}

#home-blurb{
	font-family: "Helvetica Neue", Helvetica, "Trebuchet MS", Arial, sans-serif;
	background: url("../wsimages/darken.png") repeat top left;
	width: 270px;
	padding: 0 20px;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	z-index: 10;
	text-align: center;
	line-height: 2.8em;
	height: 330px;
}

.sidebar{
	float: left;
	width: 310px;
	padding: 0;
}

.sidebar.copy ul, .sidebar.copy ul li{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#latest-news .rss-icon{
	width: 15px;
	height: 16px;
	float: right;
	margin: 4px 20px 0 20px;
}

.sidebar.copy ul li h2{
	padding: 20px;
	font-size: 1.6em;
	margin: 0;
}

#latest-news{
	padding: 20px 0 0;
}

#latest-news h2{
	border-bottom: #D34900 1px solid;
	padding-top: 0;
}

#latest-news h2 a:link, #latest-news h2 a:hover, #latest-news h2 a:active, #latest-news h2 a:visited{
	color: #fff;
	font-weight: 100;
}

#latest-news-items{
	padding: 20px 20px 0;
	background: #F78326;
	border-top: #F99C51 1px solid;
	border-bottom: #D75817 1px solid;
}

#latest-news-items li{
	margin-bottom: 20px;
}

#latest-news-items li div p{
	margin-bottom: 10px;
}

#latest-news-items li h4, #latest-news-items li h4 a:link, #latest-news-items li h4 a:visited{
	font-weight: bold;
	color: #212121;
	margin-bottom: 20px;
}

#latest-news-items li h4 span{
	font-weight: normal;
	color: #B85200;
}

#latest-news-items li a{
	color: #fff;
}

#footer{
	width: 100%;
	background: #000;
	color: #fff;
	padding: 25px 0;
	margin-bottom: 25px;
}

#footer img{
	background: none;
	border: none;
	padding: 0;
	color: #fff;
	font-size: 1.3em;
}

#footer .copy a:link, #footer .copy a:visited, #footer .copy a:active{
	color: #fff;
}

#footer .copy .link-block ul li{
	font-size: 1.2em;
	margin-bottom: 14px;
}

.titan-spot{
	margin: 0 auto;
	text-align: center;
	color: #fff;
}

.titan-spot img{
	vertical-align: middle;
}

.titan-spot.copy a:link, .titan-spot.copy a:hover, .titan-spot.copy a:active, .titan-spot.copy a:visited{
	color: #fff;
}

.link-block{
	float: left;
	
}

.link-block ul{
	list-style: none;
	padding: 0;
	margin: 0 40px 0 0;
}

.link-block ul li{
	list-style: none;
	padding: 0;
}

#footer #site-generator{
	text-align: right;
}

#footer #site-info{
	text-align: left;
}

#footer{

}

#footer-inner{
	width: 960px;
	margin: 0 auto;
	position: relative;
}

.copy ul.gallery-items{
	padding: 0;
	margin: 10px 0;
	list-style: none;
	overflow: hidden;
}

.gallery-items li.gallery-item{
	list-style: none;
	float: left;
	background: #fff url('../wsimages/image_bg.png') no-repeat top left;
	padding: 5px;
	margin: 10px 20px;
	position: relative;
	height: 130px;
	width: 190px;
}

ul#home-gallery-items{
	padding: 10px 0 10px 0;
	margin: 0;
	list-style: none;
	overflow: hidden;
}

.home-gallery-item, .page.copy .home-gallery-item{
	list-style: none;
	margin: 0;
	background: url("../wsimages/thumb_bg.png") no-repeat center center;
	padding: 10px 5px 5px;
	float: left;
	margin: 10px 20px;
}

.page-wide.copy .gallery .gallery-item .gallery-icon{
	height: 100px;
	padding: 12px;
	float: left;
}

.page-wide.copy .gallery .gallery-item .gallery-icon img{
	border: none;
	padding: 0;
}

.gallery-items li.gallery-item .project-overlay{
	position: absolute;
	bottom: 9px;
	left: 5px;
	right: 5px;
	padding: 10px;
	background: #000;
	opacity: .8;
	font-weight: bold;
}

.news-item{
	width: 280px;
	margin-right: 20px;
	margin-bottom: 20px;
	height: 160px;
	background: url("../wsimages/dotted_hor.gif") repeat-x bottom left;
}

.page.copy .news-item p a{
}

.news-item img.attachment-thumbnail{
	float: left;
	margin-right: 10px;
	border: none;
	padding: 0 10px 10px 0;
}

#wp_page_numbers{
	float: left;
	width: 100%;
}

#wp_page_numbers ul{
	margin: 0;
}

#wp_page_numbers ul li{
	float: left;
	list-style: none;
	margin: 0 4px 0 0;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background: #000;
	color: #fff;
	border: #333 1px solid;
	text-transform: uppercase;
	font-size: 1.3em;
	padding: 0;
}

#wp_page_numbers ul li.active_page{
	background: #F0740F;
	border: none;
}

#wp_page_numbers ul li a, #wp_page_numbers ul li.space{
	display: block;
	padding: 2px 6px 1px 6px;
	font-size: 1.4em;
	line-height: 1.6em;
}

#wp_page_numbers ul li a{
	color: #fff;
}

#wp_page_numbers ul li.active_page a{
	color: #000;
	padding: 3px 7px 2px 7px;
}

#wp_page_numbers.gallery_numbers{
	width: auto;
	float: right;
	margin: 14px 10px 0;
}

#wp_page_numbers.gallery_numbers ul{
	margin: 0;
}

.project_numbers{
	position:absolute; top: 14px; right: 10px;
}

#page-navigation{
	width: 140px;
}

#page-navigation .page-old, #page-navigation .page-new{
	width: 49%;
	margin: 10px 0;
}

.ddfmwrap{
}

.ddfmwrap .ddfm legend{
	padding-bottom: .8em;
}

.fmtext, .fmselect, .fmtextarea, .fmverify,
.gform_wrapper .gfield input, 
.gform_wrapper .gfield textarea, 
.gform_wrapper .gfield file
{
	border: #ccc 1px solid;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	padding:  3px;
}

.fmtext, .fmselect, .fmtextarea{
	width: 100%;	
}


.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
    font-size: 14px!important;
}

.ddfmwrap .ddfm .fieldwrap img{
	border: none;
	padding: 0;
	float: left;
	margin-right: 10px;
}

.ddsg-wrapper div{
	display: none;
}

#ivc {
	width: 100%;
	background: #000 url("../wsimages/video_bg.jpg") no-repeat top center;
	padding-bottom: 20px;
}
	#ivc h2 a{
		color:#fff;
	}

#ivc #video-container video{
}

#video-embed{
	padding: 5px;
	background: url("../wsimages/embed_bg.png") no-repeat top left;
	margin: 0 auto;
	width: 270px;
	height: 150px;
}

.gallery-header{
	width: 100%;
	background: #000;
}



/* @end */
/* @group MISCELLANEOUS */

/* MISCELLANEOUS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.clear{
	clear: both;
	line-height: 1;
	margin: 0;
	padding: 0;
}

.left, .alignleft{
	float: left;
	display: inline;
}

.right, .alignright{
	float: right;

}

.alignright{
	margin: 0 0 20px 20px;
}

.alignleft{
	margin: 0 20px 20px 0;
}

#box div .copy a.post-edit-link, a.post-edit-link{

}

#box div .copy a.post-edit-link:hover, a.post-edit-link:hover{
	padding-top: 7px;
}

.menu-sub-container{
	width: 100%;
	background: #000 url('../wsimages/nav_bg.png') repeat-x top left;
	border-top: #404040 1px solid;
	border-bottom: #4D4D4D 1px solid;
	margin-bottom: 20px;
	overflow: hidden;
}

#menu-sub{
	position: relative;
	height: 48px;
	width: 960px;
	text-align: center;
	background: url('../wsimages/nav.jpg') no-repeat top center;
	margin: 0 auto;
	overflow: hidden;
	display: table;
	table-layout: auto;
}

#menu-main li{
	float: left;
	list-style: none;
	font-size: 1.1em;
	text-transform: uppercase;
	padding: 0 0 10px 20px;
}

#menu-main li.current-menu-item a:link, #menu-main li.current-menu-item a:visited{
	color: #F0740F;
}

#menu-main li a:link, #menu-main li a:visited, #menu-main li a:active{
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

#menu-sub li.current-menu-item{
	background: #000 url('../wsimages/current_bg.png') no-repeat top left;
}

#menu-sub li{
	list-style: none;
	font-size: 1.24em;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	background: url('../wsimages/nav_seperator.png') no-repeat top left;
	display: table-cell;
	*float: left;
}

#menu-sub:after{
	width: 2px;
	height: 48px;
	background: url('../wsimages/nav_seperator.png') no-repeat top right;
	right:  0;
	position: absolute;
	display: visible;
	content: "";
}

#menu-sub li a:link, #menu-sub li a:visited, #menu-sub li a:active{
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	padding: 16px;
	width: auto;
	display: block;
	text-align: center;
}

#menu-sub li.page_item:hover a{
	color: #fff;
}

#menu-sub li.current_page_item a{
	color: #FFF;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}

#nav:hover li.current_page_item a{
	color: #93D8F9;
	text-shadow: none;
}

#menu-sub li a:hover, #menu-sub li a:active, #menu-sub li a:visited {
	border: none;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}

#nav-below{
	width: 180px;
	margin: 0 auto;
	text-transform: capitalize;
	text-align: center;
}

#nav-below p{
	position: relative;
}

hr{
	margin-bottom: 20px;
	border: none;
	display: block;
	height: 1px;
	background: #eee;
	clear: both;
}

table{
	font-size: 1.3em;
}

td{
	padding: 6px 12px 6px 0;
}

tr{
	border-bottom: 1px #eee solid;
}

/* @end */
/* @group FILE ICONS */

/* FILE ICONS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.page.copy #staff-docs .document ul li a, .page.copy ul#staff-docs li.single-document a{
	list-style: none;
	display: inline-block;
	padding-left: 36px;
	padding-right: 10px;
	line-height: 32px;
}

.page.copy #staff-docs a[href$='.pdf'] {
	background:transparent url(../wsimages/pdficon.png) center left no-repeat;
}

.page.copy #staff-docs a[href$='.xls'], .page.copy #staff-docs a[href$='.csv'], .page.copy #staff-docs a[href$='.xlt'], .page.copy #staff-docs a[href$='.xlw'] {
	background:transparent url(../wsimages/excelicon.png) center left no-repeat;
}

.page.copy #staff-docs a[href$='.ppt'], .page.copy #staff-docs a[href$='.pps'] {
	background:transparent url(../wsimages/ppticon.png) center left no-repeat;
}

.page.copy #staff-docs a[href$='.doc'], .page.copy #staff-docs a[href$='.rtf'], .page.copy #staff-docs a[href$='.txt'], .page.copy #staff-docs a[href$='.wps'] {
	background:transparent url(../wsimages/wordicon.png) center left no-repeat;
}

.page.copy #staff-docs a[href$='.zip'], .page.copy #staff-docs a[href$='.gzip'], .page.copy #staff-docs a[href$='.rar'] {
	background:transparent url(../wsimages/archiveicon.png) center left no-repeat;
}

.page.copy #staff-docs a[href$='.png'], .page.copy #staff-docs a[href$='.gif'], .page.copy #staff-docs a[href$='.jpg'], .page.copy #staff-docs a[href$='.bmp'] {
	background:transparent url(../wsimages/imageicon.png) center left no-repeat;
}

.page.copy #staff-docs #staff-docs-catagories{
	list-style: none;
	padding: 0;
	margin: 0;
}

.page.copy #staff-docs #staff-docs-catagories li{
	float: left;
	margin-right: 20px;
	padding: 0;
}

.page.copy #staff-docs #staff-docs-catagories li.cat-item a{
	padding: 4px 8px;
	border-radius: 15px;
	color: #fff;
	background: #EE6B00;
	font-size: 80%;
}

#login-button{
	padding-top: 32px;
	background: url(../wsimages/login.png) top right no-repeat;
	height: 0;
	width: 123px;
	overflow: hidden;
	position: relative;
	display: block;
	float: right;
}

#login-button:hover{
	background-position: right -32px;
}

#login-button:active{
	background-position: right -64px;
}

#footer #loginform{
	position: absolute;
	right: 0;
	top: 72px;
	display: none;
	background: #333;
	padding: 20px 10px 10px;
	width: 300px;
	background: #333 url(../wsimages/login_bg.png) no-repeat top left;
}


#loginform input#user_pass, #loginform input#user_login{
	border: #ccc 1px solid;
	padding: 3px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#loginform label{
	width: 120px;
	float: left;
	display: block;
	margin-right: 10px;
	text-align: right;
}

.video-js-box{
	//width:768px;
	margin: 0 auto!important;
}
/* @end */