/***********************
*  Site Specific CSS   *
************************/

/* @imports
--------------*/
@import url("http://cdn.myld.com.au/1/css/fontawesome/4.0.3/css/font-awesome.css");
@import url('http://cdn.myld.com.au/1/js/plugins/smartCaptcha/smartCaptcha-v1.0.min.css');
@import url('http://cdn.myld.com.au/1/js/fancybox2/jquery.fancybox.css');
@import url('http://cdn.myld.com.au/1/js/fancybox2/helpers/jquery.fancybox-thumbs.css');
@import url('http://cdn.myld.com.au/1/js/plugins/PhotoSwipe/photoswipe.min.css');

/* @font-faces
--------------*/
@font-face{
   font-family: 'Open Sans';
   src:   url(http://cdn.myld.com.au/1/fonts/OpenSans/opensans-semibold-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/OpenSans/opensans-semibold-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/OpenSans/opensans-semibold-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/OpenSans/opensans-semibold-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/OpenSans/opensans-semibold-webfont.svg#open_sanssemibold) format('svg');
   font-weight:600;
   font-style:normal;
}

@font-face{
   font-family: 'Ubuntu';
   src:   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-r-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-r-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-r-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-r-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-r-webfont.svg#ubunturegular) format('svg');
   font-weight:400;
   font-style:normal;
}

@font-face{
   font-family: 'Ubuntu';
   src:   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-m-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-m-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-m-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-m-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-m-webfont.svg#ubuntumedium) format('svg');
   font-weight:500;
   font-style:normal;
}

@font-face{
   font-family: 'Ubuntu';
   src:   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-b-webfont.eot);
   src:   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-b-webfont.eot?#iefix) format('embedded-opentype'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-b-webfont.woff) format('woff'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-b-webfont.ttf) format('truetype'),
   url(http://cdn.myld.com.au/1/fonts/Ubuntu/ubuntu-b-webfont.svg#ubuntubold) format('svg');
   font-weight:700;
   font-style:normal;
}

/* @general styles
-----------------*/
::selection {
  background:#162080;
	color:#fff;
}

a {
	color:#162080;
	text-decoration:none;
}

a:hover {
	color:inherit;
	text-decoration:none;
}

body {
	background:#fff;
	color:#4e4e4e;
	font-family: 'Ubuntu';
	font-weight:400;
	font-style:normal;
	font-size:14px;
	line-height:20px;
}

.negMargin {
	margin-left:-15px;
	margin-right:-15px;
}

#header {
	position:relative;
	left:auto;
	top:auto;
	z-index:1;
	width:auto;
	background:rgba(234,234,234,0.85);
	margin-left:-15px;
	margin-right:-15px;
}

#logo {
	padding-top:10px;
	padding-bottom:10px;
	margin-bottom:0;
}

#menu {
	display:none;
}

.navbar {
	min-height:0;
	margin-bottom:0;
}

.navbar .nav {
	margin:0;
}

.navbar .nav>li {
	float:left;
	vertical-align:middle;
}

.navbar-nav>li>a {
	color:#4e4e4e;
	font-family: 'Ubuntu';
	font-weight:400;
	font-style:normal;
	font-size:14px;
	text-transform:uppercase;
	letter-spacing:0.02em;
	line-height:14px;
	white-space:nowrap;
	padding:31px 0 30px;
	position:relative;
	display:block;
	background:transparent;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.navbar-nav>li:nth-child(4)>a {
	padding-top:24px;
	padding-bottom:23px;
}

.nav>li>a:hover, .nav>li>a:focus, .nav>li.active>a {
	color:#0e1a8b;
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iI2U4ZThlOCIgc3RvcC1vcGFjaXR5PSIwLjQ1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYWQ4ZDUiIHN0b3Atb3BhY2l0eT0iMC40NSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(232,232,232,0.45) 1%, rgba(218,216,213,0.45) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(232,232,232,0.45)), color-stop(100%,rgba(218,216,213,0.45))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(232,232,232,0.45) 1%,rgba(218,216,213,0.45) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(232,232,232,0.45) 1%,rgba(218,216,213,0.45) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(232,232,232,0.45) 1%,rgba(218,216,213,0.45) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(232,232,232,0.45) 1%,rgba(218,216,213,0.45) 100%); /* W3C */
}

.navbar-nav>li>a:after {
	opacity:0;
	content:"";
	position:absolute;
	width:100%;
	height:5px;
	left:0;
	bottom:-5px;
	pointer-events:none;
	background:rgba(14,26,139,0.85);
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.nav>li>a:hover:after, .nav>li>a:focus:after, .nav>li.active>a:after {
	opacity:1;
}

#slider {
	position:relative;
	height:650px;
}

#slider:after {
	content:"";
	position:absolute;
	width:100%;
	height:130px;
	left:0;
	bottom:0;
	pointer-events:none;
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_e7990d40d0.png) center bottom no-repeat;
}

#introLarge {
	position:relative;
}

#introSmall {
	margin-top:40px;
}

#intro {
	color:#fff;
	font-family: 'Ubuntu';
	font-weight:400;
	font-style:normal;
	font-size:14px;
	line-height:normal;
	position:relative;
	width:auto;
	right:auto;
	top:auto;
	padding:25px 15px 10px;
	background:rgba(71,85,161,0.8);
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

#intro h1 {
	color:#fff;
	font-family: 'Ubuntu';
	font-weight:700;
	font-style:normal;
	font-size:30px;
	text-transform:uppercase;
	letter-spacing:0.02em;
	line-height:23px;
	margin:0 0 28px 0;
}

body#home #intro h1 {
	font-size:20px;
}

#intro p {
	margin-bottom:20px;
}

#intro a {
	color:#fff;
	font-weight:700;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#intro a:hover {
	opacity:0.6;
}

#intro:after {
	content:"";
	position:absolute;
	width:100%;
	height:53px;
	left:0;
	bottom:-53px;
	pointer-events:none;
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_8683beaac6.png) center top no-repeat;
	background-size:100% 53px;
}

#fbFeed {
	margin-top:30px;
}

.divider {
	position:relative;
}

.divider:after {
	content:"";
	position:absolute;
	width:100%;
	height:33px;
	left:0;
	bottom:0;
	pointer-events:none;
	z-index:1;
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_78ce299f8f.png) center bottom no-repeat;
}

#content {
	margin-top:80px;
	padding-bottom:85px;
}

.contentBox {
	margin-bottom:60px;
}

.contentBox:last-child {
	margin-bottom:0;
}

.contentBox h2 {
	color:#162080;
	font-family: 'Ubuntu';
	font-weight:500;
	font-style:normal;
	font-size:24px;
	text-transform:uppercase;
	letter-spacing:0.05em;
	line-height:24px;
	margin:0 0 12px 0;
}

.contentBox p {
	margin-bottom:20px;
}

.contentImage {
	margin-bottom:30px;
}

.contentImage img {
	display:inline-block;
}

#tabNavi {
	background:#1f2785;
	padding:25px 0 35px;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
}

#tabNavi h3 {
	color:#fff;
	font-family: 'Ubuntu';
	font-weight:700;
	font-style:normal;
	font-size:15px;
	text-transform:uppercase;
	letter-spacing:0.05em;
	line-height:23px;
	margin:0 0 20px 0;
	padding:0 15px;
}

#tabNav {
	margin:0;
	padding:0;
	list-style-type:none;
}

#tabNav li a {
	display:block;
	color:#e0e0e0;
	font-family: 'Ubuntu';
	font-weight:500;
	font-style:normal;
	font-size:15px;
	text-transform:uppercase;
	letter-spacing:0.02em;
	line-height:23px;
	padding:6px 15px;
	background:transparent;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
}

#tabNav li a:hover, #tabNav li.active a {
	background-color:#4755a1;
}

.tab-content {
	padding-top:40px;
}

#homeThumbs {
	margin-top:90px;
	padding-bottom:75px;
}

.ht {
	margin-bottom:40px;
}

.ht:last-child {
	margin-bottom:0;
}

.homeThumb {
	position:relative;
	max-width:255px;
	margin-left:auto;
	margin-right:auto;
}

.htImage {
	position:relative;
}

.htImage:before {
	content:"";
	position:absolute;
	width:100%;
	height:115px;
	left:0;
	top:55px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.ht:first-child .htImage:before {
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_c1b031f855.png) center top no-repeat;
}

.ht:nth-child(2) .htImage:before {
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_33e2ec9590.png) center top no-repeat;
}

.ht:nth-child(3) .htImage:before {
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_fd1405726f.png) center top no-repeat;
}

.ht:last-child .htImage:before {
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_61fcafc41c.png) center top no-repeat;
}

.homeThumb h3 {
	position:absolute;
	width:100%;
	left:0;
	bottom:35px;
	color:#fff;
	font-family: 'Ubuntu';
	font-weight:500;
	font-style:normal;
	font-size:20px;
	text-transform:uppercase;
	letter-spacing:0.02em;
	line-height:normal;
	margin:0 0 0 0;
	padding:0 15px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#homeThumbs a:hover .htImage:before,
#homeThumbs a:hover .homeThumb h3 {
	opacity:0;
}

.ht:nth-child(2) .homeThumb h3 {
	bottom:23px;
}

.htText {
	opacity:1;
	position:relative;
	width:auto;
	height:auto;
	left:auto;
	top:auto;
	padding-top:15px;
	padding-bottom:15px;
	background:rgba(71,85,161,0.5);
	border:solid 3px #fff;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	color:#fff;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#homeThumbs a:hover .htText {
	opacity:1;
}

.htText p {
	padding-left:15px;
	padding-right:15px;
	position:relative;
  top: auto;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#slogan {
	margin-top:55px;
}

#slogan h1 {
	color:#162080;
	font-family: 'Ubuntu';
	font-weight:500;
	font-style:normal;
	font-size:24px;
	text-transform:uppercase;
	letter-spacing:0.05em;
	line-height:24px;
	margin:0 0 0 0;
}

#slogan h1 {
	font-weight:700;
}

#footer1 {
	color:#363636;
	font-family: 'Ubuntu';
	font-weight:400;
	font-style:normal;
	font-size:14px;
	line-height:18px;
	padding-top:75px;
	padding-bottom:85px;
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_4c5433058b.png) center top no-repeat;
	background-size:cover;
}

#footerLogo {
	padding-top:65px;
}

#synopsis {
	padding-top:21px;
	color:#595959;
	font-size:13px;
	letter-spacing:0.06em;
	line-height:normal;
}

#footerContact address {
	margin-bottom:12px;
	padding-left:27px;
	line-height:18px;
}
#footerContact address:last-child {
	margin-bottom:0;
}

.footerPhone {
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_7f66d36a2b.png) left center no-repeat;
}

.footerMail {
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_8d6197abc0.png) left center no-repeat;
}

.footerAddress {
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_0c0d0c1e38.png) left center no-repeat;
}

.footerHours {
	background:url(http://cdn.myld.com.au/2/962/preece-tiling_e7e5de2a18.png) left center no-repeat;
}

#footerContact address span {
	font-weight:500;
}

#footerContact a {
	color:#363636;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#footerContact a:hover {
	color:#999;
}

#footer2 {
	padding-top:20px;
	padding-bottom:12px;
	background:#4755a1
}

#footerSocial .socialmedia:last-child {
	margin-left:32px;
}

#footerBrand {
	padding-top:2px;
}

#copyright {
	color:#fff;
	font-family: 'Open Sans';
	font-weight:600;
	font-style:normal;
	font-size:13px;
	letter-spacing:0.06em;
	line-height:20px;
	margin-top:4px;
}

#map-canvas {
	height:200px;
}

ul, ol {
	margin:0 0 10px -18px;
}

dt, dd, ul li, ol li {
	line-height:inherit;
}

dd {
	margin-left:0;
	margin-bottom:10px;
}

.break {
	word-break:break-all;
}

label, input, button, select, textarea {
	font-family:inherit !important;
	font-size:inherit !important;
	font-weight:inherit !important;
	line-height:inherit !important;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	border-radius:0 !important;
	-webkit-border-radius:0 !important;
	-moz-border-radius:0 !important;
	background:#f2f2f2 !important;
	border:1px solid #d9d9d9;
}

.btn {
	background:#162080;
	border-radius:0 !important;
	-webkit-border-radius:0 !important;
	-moz-border-radius:0 !important;
	border:1px solid #d9d9d9;
	color:#fff;
	box-shadow:none;
	text-shadow:none !important;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.btn:hover {
	color:#162080;
	background:#fff;
}

#schema, .schema-address {
	display:none;
}

p:last-child,
p.last {
	margin-bottom:0 !important;
}

.besideMe {
	display:inline-block;
}

a.fancybox.thumbnail {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a.fancybox.thumbnail:hover {
	opacity:0.6;
	filter: alpha(opacity=60);
	border-color:#ddd;
}

.firefox .isotope,
.firefox .item {
	max-width:100%;
	margin-left:auto;
	margin-right:auto;
}

.responsive-video {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 60px; overflow: hidden;
	margin-bottom:30px;
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* @media queries
-----------------*/
@media (min-width: 1200px) {
	.container {
		width:1140px;
	}
	
	#tabNavi h3,
	#tabNav li a {
		padding-left:30px;
		padding-right:30px;
	}
}

@media (min-width: 992px) {
	#map-canvas {
		height:420px;
	}
	
	#menu {
		display:block;
	}

	#intro {
		position:absolute;
		width:600px;
		right:0;
		top:120px;
		padding:25px 30px 10px;
	}
	
	#slider:after {
		background-size:100% 130px;
	}

	.homeThumb h3 br {
		display:block;
	}

	#header {
		position:absolute;
		left:0;
		top:0;
		width:100%;
		margin-left:0;
		margin-right:0;
	}

	#logo {
		padding-top:25px;
		padding-bottom:0;
		margin-bottom:-21px;
	}
	
	#homeThumbs {
		margin-top:0;
	}

	.htText {
		opacity:0;
		position:absolute;
		width:100%;
		height:100%;
		left:0;
		top:0;
		padding-top:0;
		padding-bottom:0;
	}

	.htText p {
		position:absolute;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
	}
	
	.ht {
		margin-top:-80px;
		margin-bottom:0;
	}

	body#tiling-services .contentBox:first-child {
		margin-top:-80px;
	}
	
	#content {
		margin-top:20px;
	}
	
	body#tiling-services #content {
		margin-top:0;
	}
	
	.tab-content {
		padding-top:80px;
	}
}

@media (max-width: 991px) { /*beginning of default fixed menu bar*/ }

@media (min-width: 768px) {
	#fbFeed {
		margin-top:0;
	}
	
	.contentImage {
		margin-bottom:0;
	}
	
	.responsive-video {
		margin-bottom:0;
	}
}

@media (max-width: 767px) {
	.contactInfo {
		margin-top:50px;
	}
}

@media (max-width: 568px) {...}

@media (max-width: 480px) {...}

@media (min-width: 768px) and (max-width: 991px) {
	#map-canvas {
		height:320px;
	}
	
	.htText {
		min-height:116px;
	}
	
	.ht:nth-child(3) {
		margin-bottom:0;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.navbar-nav>li>a {
		letter-spacing:-0.06em;
	}
	
	.htImage:before {
		top:20px;
	}
}

/* Device specific media queries ----------- */
/* Tablets */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {...}

/* iPads (landscape) */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
	.htText {
		opacity:1;
		position:relative;
		width:auto;
		height:auto;
		left:auto;
		top:auto;
		padding-top:15px;
		padding-bottom:15px;
	}

	.htText p {
		position:relative;
		top: auto;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
	}
}

/* iPads (portrait) */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {...}

/* iPhone */
@media only screen  
and (max-device-width : 568px) {...}